(function(){

if (!window.qx) window.qx = {};

qx.$$start = new Date();
  
if (!window.qxsettings) qxsettings = {};
var settings = {"qx.application":"Agrammon.Application","qx.theme":"qx.theme.Modern","qx.version":"1.2-pre"};
for (var k in settings) qxsettings[k] = settings[k];

if (!window.qxvariants) qxvariants = {};
var variants = {"qx.debug":"off"};
for (var k in variants) qxvariants[k] = variants[k];

if (!qx.$$libraries) qx.$$libraries = {};
var libinfo = {"Agrammon":{"resourceUri":"resource","sourceUri":"script","version":"branches/qx"},"Agrammon.Lib":{"resourceUri":"resource","sourceUri":"script","version":"trunk"},"__out__":{"sourceUri":"script"},"qx":{"resourceUri":"resource","sourceUri":"script","version":"1.2-pre"}};
for (var k in libinfo) qx.$$libraries[k] = libinfo[k];

qx.$$resources = {};
qx.$$translations = {};
qx.$$locales = {};
qx.$$packageData = {};

qx.$$loader = {
  parts : {"boot":[0]},
  uris : [["__out__:Agrammon.js"]],
  urisBefore : [],
  packageHashes : {"0":"4114e3a00005"},
  boot : "boot",
  closureParts : {},
  bootIsInline : true,
  
  decodeUris : function(compressedUris)
  {
    var libs = qx.$$libraries;
    var uris = [];
    for (var i=0; i<compressedUris.length; i++)
    {
      var uri = compressedUris[i].split(":");
      var euri;
      if (uri.length==2 && uri[0] in libs) {
        var prefix = libs[uri[0]].sourceUri;
        euri = prefix + "/" + uri[1];
      } else {
        euri = compressedUris[i];
      }
      
      uris.push(euri);
    }
    return uris;      
  }
};  

function loadScript(uri, callback) {
  var elem = document.createElement("script");
  elem.charset = "utf-8";
  elem.src = uri;
  elem.onreadystatechange = elem.onload = function()
  {
    if (!this.readyState || this.readyState == "loaded" || this.readyState == "complete")
    {
      elem.onreadystatechange = elem.onload = null;
      callback();
    }
  };
  var head = document.getElementsByTagName("head")[0];
  head.appendChild(elem);
}

var isWebkit = /AppleWebKit\/([^ ]+)/.test(navigator.userAgent);

function loadScriptList(list, callback) {
  if (list.length == 0) {
    callback();
    return;
  }
  loadScript(list.shift(), function() {
    if (isWebkit) {
      // force asynchronous load
      // Safari fails with an "maximum recursion depth exceeded" error if it is
      // called sync.      
      window.setTimeout(function() {
        loadScriptList(list, callback);
      }, 0);
    } else {
      loadScriptList(list, callback);
    }
  });
}

var fireContentLoadedEvent = function() {
  qx.$$domReady = true;
  document.removeEventListener('DOMContentLoaded', fireContentLoadedEvent, false);
};
if (document.addEventListener) {
  document.addEventListener('DOMContentLoaded', fireContentLoadedEvent, false);
}

qx.$$loader.importPackageData = function (dataMap) {
  if (dataMap["resources"]){
    var resMap = dataMap["resources"];
    for (var k in resMap) qx.$$resources[k] = resMap[k];
  }
  if (dataMap["locales"]){
    var locMap = dataMap["locales"];
    var qxlocs = qx.$$locales;
    for (var lang in locMap){
      if (!qxlocs[lang]) qxlocs[lang] = locMap[lang];
      else 
        for (var k in locMap[lang]) qxlocs[lang][k] = locMap[lang][k];
    }
  }
  if (dataMap["translations"]){
    var trMap   = dataMap["translations"];
    var qxtrans = qx.$$translations;
    for (var lang in trMap){
      if (!qxtrans[lang]) qxtrans[lang] = trMap[lang];
      else 
        for (var k in trMap[lang]) qxtrans[lang][k] = trMap[lang][k];
    }
  }
}

qx.$$loader.signalStartup = function () 
{
  qx.$$loader.scriptLoaded = true;
  if (window.qx && qx.event && qx.event.handler && qx.event.handler.Application) qx.event.handler.Application.onScriptLoaded();
}

qx.$$loader.init = function(){
  var l=qx.$$loader;
  if (l.urisBefore.length>0){
    loadScriptList(l.urisBefore, function(){return;});
  }
  var bootPackageHash=l.packageHashes[l.parts[l.boot][0]];
  if (l.bootIsInline){
    l.importPackageData(qx.$$packageData[bootPackageHash]);
    l.signalStartup();
  } else {
    loadScriptList(l.decodeUris(l.uris[l.parts[l.boot]]), function(){
      // Opera needs this extra time to parse the scripts
      window.setTimeout(function(){
        l.importPackageData(qx.$$packageData[bootPackageHash] || {});
        l.signalStartup();
      }, 0);
    });
  }
}
})();

qx.$$packageData['4114e3a00005']={"locales":{"C":{"alternateQuotationEnd":"’","alternateQuotationStart":"‘","cldr_am":"AM","cldr_date_format_full":"EEEE, MMMM d, y","cldr_date_format_long":"MMMM d, y","cldr_date_format_medium":"MMM d, y","cldr_date_format_short":"M/d/yy","cldr_date_time_format_EEEd":"d EEE","cldr_date_time_format_Hm":"H:mm","cldr_date_time_format_Hms":"H:mm:ss","cldr_date_time_format_M":"L","cldr_date_time_format_MEd":"E, M/d","cldr_date_time_format_MMM":"LLL","cldr_date_time_format_MMMEd":"E, MMM d","cldr_date_time_format_MMMMEd":"E, MMMM d","cldr_date_time_format_MMMMd":"MMMM d","cldr_date_time_format_MMMd":"MMM d","cldr_date_time_format_Md":"M/d","cldr_date_time_format_d":"d","cldr_date_time_format_hm":"h:mm a","cldr_date_time_format_ms":"mm:ss","cldr_date_time_format_y":"y","cldr_date_time_format_yM":"M/yyyy","cldr_date_time_format_yMEd":"EEE, M/d/yyyy","cldr_date_time_format_yMMM":"MMM y","cldr_date_time_format_yMMMEd":"EEE, MMM d, y","cldr_date_time_format_yMMMM":"MMMM y","cldr_date_time_format_yQ":"Q yyyy","cldr_date_time_format_yQQQ":"QQQ y","cldr_day_format_abbreviated_fri":"Fri","cldr_day_format_abbreviated_mon":"Mon","cldr_day_format_abbreviated_sat":"Sat","cldr_day_format_abbreviated_sun":"Sun","cldr_day_format_abbreviated_thu":"Thu","cldr_day_format_abbreviated_tue":"Tue","cldr_day_format_abbreviated_wed":"Wed","cldr_day_format_narrow_fri":"F","cldr_day_format_narrow_mon":"M","cldr_day_format_narrow_sat":"S","cldr_day_format_narrow_sun":"S","cldr_day_format_narrow_thu":"T","cldr_day_format_narrow_tue":"T","cldr_day_format_narrow_wed":"W","cldr_day_format_wide_fri":"Friday","cldr_day_format_wide_mon":"Monday","cldr_day_format_wide_sat":"Saturday","cldr_day_format_wide_sun":"Sunday","cldr_day_format_wide_thu":"Thursday","cldr_day_format_wide_tue":"Tuesday","cldr_day_format_wide_wed":"Wednesday","cldr_day_stand-alone_abbreviated_fri":"Fri","cldr_day_stand-alone_abbreviated_mon":"Mon","cldr_day_stand-alone_abbreviated_sat":"Sat","cldr_day_stand-alone_abbreviated_sun":"Sun","cldr_day_stand-alone_abbreviated_thu":"Thu","cldr_day_stand-alone_abbreviated_tue":"Tue","cldr_day_stand-alone_abbreviated_wed":"Wed","cldr_day_stand-alone_narrow_fri":"F","cldr_day_stand-alone_narrow_mon":"M","cldr_day_stand-alone_narrow_sat":"S","cldr_day_stand-alone_narrow_sun":"S","cldr_day_stand-alone_narrow_thu":"T","cldr_day_stand-alone_narrow_tue":"T","cldr_day_stand-alone_narrow_wed":"W","cldr_day_stand-alone_wide_fri":"Friday","cldr_day_stand-alone_wide_mon":"Monday","cldr_day_stand-alone_wide_sat":"Saturday","cldr_day_stand-alone_wide_sun":"Sunday","cldr_day_stand-alone_wide_thu":"Thursday","cldr_day_stand-alone_wide_tue":"Tuesday","cldr_day_stand-alone_wide_wed":"Wednesday","cldr_month_format_abbreviated_1":"Jan","cldr_month_format_abbreviated_10":"Oct","cldr_month_format_abbreviated_11":"Nov","cldr_month_format_abbreviated_12":"Dec","cldr_month_format_abbreviated_2":"Feb","cldr_month_format_abbreviated_3":"Mar","cldr_month_format_abbreviated_4":"Apr","cldr_month_format_abbreviated_5":"May","cldr_month_format_abbreviated_6":"Jun","cldr_month_format_abbreviated_7":"Jul","cldr_month_format_abbreviated_8":"Aug","cldr_month_format_abbreviated_9":"Sep","cldr_month_format_wide_1":"January","cldr_month_format_wide_10":"October","cldr_month_format_wide_11":"November","cldr_month_format_wide_12":"December","cldr_month_format_wide_2":"February","cldr_month_format_wide_3":"March","cldr_month_format_wide_4":"April","cldr_month_format_wide_5":"May","cldr_month_format_wide_6":"June","cldr_month_format_wide_7":"July","cldr_month_format_wide_8":"August","cldr_month_format_wide_9":"September","cldr_month_stand-alone_narrow_1":"J","cldr_month_stand-alone_narrow_10":"O","cldr_month_stand-alone_narrow_11":"N","cldr_month_stand-alone_narrow_12":"D","cldr_month_stand-alone_narrow_2":"F","cldr_month_stand-alone_narrow_3":"M","cldr_month_stand-alone_narrow_4":"A","cldr_month_stand-alone_narrow_5":"M","cldr_month_stand-alone_narrow_6":"J","cldr_month_stand-alone_narrow_7":"J","cldr_month_stand-alone_narrow_8":"A","cldr_month_stand-alone_narrow_9":"S","cldr_number_decimal_separator":".","cldr_number_group_separator":",","cldr_number_percent_format":"#,##0%","cldr_pm":"PM","cldr_time_format_full":"h:mm:ss a zzzz","cldr_time_format_long":"h:mm:ss a z","cldr_time_format_medium":"h:mm:ss a","cldr_time_format_short":"h:mm a","quotationEnd":"”","quotationStart":"“"},"de":{"alternateQuotationEnd":"‘","alternateQuotationStart":"‚","cldr_am":"vorm.","cldr_date_format_full":"EEEE, d. MMMM y","cldr_date_format_long":"d. MMMM y","cldr_date_format_medium":"dd.MM.yyyy","cldr_date_format_short":"dd.MM.yy","cldr_date_time_format_EEEd":"d. EEE","cldr_date_time_format_Ed":"E d.","cldr_date_time_format_H":"H","cldr_date_time_format_HHmm":"HH:mm","cldr_date_time_format_HHmmss":"HH:mm:ss","cldr_date_time_format_Hm":"H:mm","cldr_date_time_format_M":"L","cldr_date_time_format_MEd":"E, d.M.","cldr_date_time_format_MMM":"LLL","cldr_date_time_format_MMMEd":"E d. MMM","cldr_date_time_format_MMMMEd":"E d. MMMM","cldr_date_time_format_MMMMd":"d. MMMM","cldr_date_time_format_MMMMdd":"dd. MMMM","cldr_date_time_format_MMMd":"d. MMM","cldr_date_time_format_MMd":"d.MM.","cldr_date_time_format_MMdd":"dd.MM.","cldr_date_time_format_Md":"d.M.","cldr_date_time_format_d":"d","cldr_date_time_format_mmss":"mm:ss","cldr_date_time_format_ms":"mm:ss","cldr_date_time_format_y":"y","cldr_date_time_format_yM":"yyyy-M","cldr_date_time_format_yMEd":"EEE, yyyy-M-d","cldr_date_time_format_yMMM":"MMM y","cldr_date_time_format_yMMMEd":"EEE, d. MMM y","cldr_date_time_format_yMMMM":"MMMM y","cldr_date_time_format_yQ":"Q yyyy","cldr_date_time_format_yQQQ":"QQQ y","cldr_date_time_format_yyMM":"MM.yy","cldr_date_time_format_yyMMM":"MMM yy","cldr_date_time_format_yyMMdd":"dd.MM.yy","cldr_date_time_format_yyQ":"Q yy","cldr_date_time_format_yyQQQQ":"QQQQ yy","cldr_date_time_format_yyyy":"y","cldr_date_time_format_yyyyMMMM":"MMMM y","cldr_day_format_abbreviated_fri":"Fr.","cldr_day_format_abbreviated_mon":"Mo.","cldr_day_format_abbreviated_sat":"Sa.","cldr_day_format_abbreviated_sun":"So.","cldr_day_format_abbreviated_thu":"Do.","cldr_day_format_abbreviated_tue":"Di.","cldr_day_format_abbreviated_wed":"Mi.","cldr_day_format_narrow_fri":"F","cldr_day_format_narrow_mon":"M","cldr_day_format_narrow_sat":"S","cldr_day_format_narrow_sun":"S","cldr_day_format_narrow_thu":"D","cldr_day_format_narrow_tue":"D","cldr_day_format_narrow_wed":"M","cldr_day_format_wide_fri":"Freitag","cldr_day_format_wide_mon":"Montag","cldr_day_format_wide_sat":"Samstag","cldr_day_format_wide_sun":"Sonntag","cldr_day_format_wide_thu":"Donnerstag","cldr_day_format_wide_tue":"Dienstag","cldr_day_format_wide_wed":"Mittwoch","cldr_day_stand-alone_abbreviated_fri":"Fr.","cldr_day_stand-alone_abbreviated_mon":"Mo.","cldr_day_stand-alone_abbreviated_sat":"Sa.","cldr_day_stand-alone_abbreviated_sun":"So.","cldr_day_stand-alone_abbreviated_thu":"Do.","cldr_day_stand-alone_abbreviated_tue":"Di.","cldr_day_stand-alone_abbreviated_wed":"Mi.","cldr_day_stand-alone_narrow_fri":"F","cldr_day_stand-alone_narrow_mon":"M","cldr_day_stand-alone_narrow_sat":"S","cldr_day_stand-alone_narrow_sun":"S","cldr_day_stand-alone_narrow_thu":"D","cldr_day_stand-alone_narrow_tue":"D","cldr_day_stand-alone_narrow_wed":"M","cldr_day_stand-alone_wide_fri":"Freitag","cldr_day_stand-alone_wide_mon":"Montag","cldr_day_stand-alone_wide_sat":"Samstag","cldr_day_stand-alone_wide_sun":"Sonntag","cldr_day_stand-alone_wide_thu":"Donnerstag","cldr_day_stand-alone_wide_tue":"Dienstag","cldr_day_stand-alone_wide_wed":"Mittwoch","cldr_month_format_abbreviated_1":"Jan","cldr_month_format_abbreviated_10":"Okt","cldr_month_format_abbreviated_11":"Nov","cldr_month_format_abbreviated_12":"Dez","cldr_month_format_abbreviated_2":"Feb","cldr_month_format_abbreviated_3":"Mär","cldr_month_format_abbreviated_4":"Apr","cldr_month_format_abbreviated_5":"Mai","cldr_month_format_abbreviated_6":"Jun","cldr_month_format_abbreviated_7":"Jul","cldr_month_format_abbreviated_8":"Aug","cldr_month_format_abbreviated_9":"Sep","cldr_month_format_wide_1":"Januar","cldr_month_format_wide_10":"Oktober","cldr_month_format_wide_11":"November","cldr_month_format_wide_12":"Dezember","cldr_month_format_wide_2":"Februar","cldr_month_format_wide_3":"März","cldr_month_format_wide_4":"April","cldr_month_format_wide_5":"Mai","cldr_month_format_wide_6":"Juni","cldr_month_format_wide_7":"Juli","cldr_month_format_wide_8":"August","cldr_month_format_wide_9":"September","cldr_month_stand-alone_abbreviated_10":"Okt","cldr_month_stand-alone_abbreviated_11":"Nov","cldr_month_stand-alone_abbreviated_12":"Dez","cldr_month_stand-alone_abbreviated_3":"Mär","cldr_month_stand-alone_abbreviated_7":"Jul","cldr_month_stand-alone_abbreviated_8":"Aug","cldr_month_stand-alone_abbreviated_9":"Sep","cldr_month_stand-alone_narrow_1":"J","cldr_month_stand-alone_narrow_10":"O","cldr_month_stand-alone_narrow_11":"N","cldr_month_stand-alone_narrow_12":"D","cldr_month_stand-alone_narrow_2":"F","cldr_month_stand-alone_narrow_3":"M","cldr_month_stand-alone_narrow_4":"A","cldr_month_stand-alone_narrow_5":"M","cldr_month_stand-alone_narrow_6":"J","cldr_month_stand-alone_narrow_7":"J","cldr_month_stand-alone_narrow_8":"A","cldr_month_stand-alone_narrow_9":"S","cldr_number_decimal_separator":",","cldr_number_group_separator":".","cldr_number_percent_format":"#,##0 %","cldr_pm":"nachm.","cldr_time_format_full":"HH:mm:ss zzzz","cldr_time_format_long":"HH:mm:ss z","cldr_time_format_medium":"HH:mm:ss","cldr_time_format_short":"HH:mm","quotationEnd":"“","quotationStart":"„"},"en":{"alternateQuotationEnd":"’","alternateQuotationStart":"‘","cldr_am":"AM","cldr_date_format_full":"EEEE, MMMM d, y","cldr_date_format_long":"MMMM d, y","cldr_date_format_medium":"MMM d, y","cldr_date_format_short":"M/d/yy","cldr_date_time_format_EEEd":"d EEE","cldr_date_time_format_Hm":"H:mm","cldr_date_time_format_Hms":"H:mm:ss","cldr_date_time_format_M":"L","cldr_date_time_format_MEd":"E, M/d","cldr_date_time_format_MMM":"LLL","cldr_date_time_format_MMMEd":"E, MMM d","cldr_date_time_format_MMMMEd":"E, MMMM d","cldr_date_time_format_MMMMd":"MMMM d","cldr_date_time_format_MMMd":"MMM d","cldr_date_time_format_Md":"M/d","cldr_date_time_format_d":"d","cldr_date_time_format_hm":"h:mm a","cldr_date_time_format_ms":"mm:ss","cldr_date_time_format_y":"y","cldr_date_time_format_yM":"M/yyyy","cldr_date_time_format_yMEd":"EEE, M/d/yyyy","cldr_date_time_format_yMMM":"MMM y","cldr_date_time_format_yMMMEd":"EEE, MMM d, y","cldr_date_time_format_yMMMM":"MMMM y","cldr_date_time_format_yQ":"Q yyyy","cldr_date_time_format_yQQQ":"QQQ y","cldr_day_format_abbreviated_fri":"Fri","cldr_day_format_abbreviated_mon":"Mon","cldr_day_format_abbreviated_sat":"Sat","cldr_day_format_abbreviated_sun":"Sun","cldr_day_format_abbreviated_thu":"Thu","cldr_day_format_abbreviated_tue":"Tue","cldr_day_format_abbreviated_wed":"Wed","cldr_day_format_narrow_fri":"F","cldr_day_format_narrow_mon":"M","cldr_day_format_narrow_sat":"S","cldr_day_format_narrow_sun":"S","cldr_day_format_narrow_thu":"T","cldr_day_format_narrow_tue":"T","cldr_day_format_narrow_wed":"W","cldr_day_format_wide_fri":"Friday","cldr_day_format_wide_mon":"Monday","cldr_day_format_wide_sat":"Saturday","cldr_day_format_wide_sun":"Sunday","cldr_day_format_wide_thu":"Thursday","cldr_day_format_wide_tue":"Tuesday","cldr_day_format_wide_wed":"Wednesday","cldr_day_stand-alone_abbreviated_fri":"Fri","cldr_day_stand-alone_abbreviated_mon":"Mon","cldr_day_stand-alone_abbreviated_sat":"Sat","cldr_day_stand-alone_abbreviated_sun":"Sun","cldr_day_stand-alone_abbreviated_thu":"Thu","cldr_day_stand-alone_abbreviated_tue":"Tue","cldr_day_stand-alone_abbreviated_wed":"Wed","cldr_day_stand-alone_narrow_fri":"F","cldr_day_stand-alone_narrow_mon":"M","cldr_day_stand-alone_narrow_sat":"S","cldr_day_stand-alone_narrow_sun":"S","cldr_day_stand-alone_narrow_thu":"T","cldr_day_stand-alone_narrow_tue":"T","cldr_day_stand-alone_narrow_wed":"W","cldr_day_stand-alone_wide_fri":"Friday","cldr_day_stand-alone_wide_mon":"Monday","cldr_day_stand-alone_wide_sat":"Saturday","cldr_day_stand-alone_wide_sun":"Sunday","cldr_day_stand-alone_wide_thu":"Thursday","cldr_day_stand-alone_wide_tue":"Tuesday","cldr_day_stand-alone_wide_wed":"Wednesday","cldr_month_format_abbreviated_1":"Jan","cldr_month_format_abbreviated_10":"Oct","cldr_month_format_abbreviated_11":"Nov","cldr_month_format_abbreviated_12":"Dec","cldr_month_format_abbreviated_2":"Feb","cldr_month_format_abbreviated_3":"Mar","cldr_month_format_abbreviated_4":"Apr","cldr_month_format_abbreviated_5":"May","cldr_month_format_abbreviated_6":"Jun","cldr_month_format_abbreviated_7":"Jul","cldr_month_format_abbreviated_8":"Aug","cldr_month_format_abbreviated_9":"Sep","cldr_month_format_wide_1":"January","cldr_month_format_wide_10":"October","cldr_month_format_wide_11":"November","cldr_month_format_wide_12":"December","cldr_month_format_wide_2":"February","cldr_month_format_wide_3":"March","cldr_month_format_wide_4":"April","cldr_month_format_wide_5":"May","cldr_month_format_wide_6":"June","cldr_month_format_wide_7":"July","cldr_month_format_wide_8":"August","cldr_month_format_wide_9":"September","cldr_month_stand-alone_narrow_1":"J","cldr_month_stand-alone_narrow_10":"O","cldr_month_stand-alone_narrow_11":"N","cldr_month_stand-alone_narrow_12":"D","cldr_month_stand-alone_narrow_2":"F","cldr_month_stand-alone_narrow_3":"M","cldr_month_stand-alone_narrow_4":"A","cldr_month_stand-alone_narrow_5":"M","cldr_month_stand-alone_narrow_6":"J","cldr_month_stand-alone_narrow_7":"J","cldr_month_stand-alone_narrow_8":"A","cldr_month_stand-alone_narrow_9":"S","cldr_number_decimal_separator":".","cldr_number_group_separator":",","cldr_number_percent_format":"#,##0%","cldr_pm":"PM","cldr_time_format_full":"h:mm:ss a zzzz","cldr_time_format_long":"h:mm:ss a z","cldr_time_format_medium":"h:mm:ss a","cldr_time_format_short":"h:mm a","quotationEnd":"”","quotationStart":"“"},"fr":{"alternateQuotationEnd":"”","alternateQuotationStart":"“","cldr_am":"AM","cldr_date_format_full":"EEEE d MMMM y","cldr_date_format_long":"d MMMM y","cldr_date_format_medium":"d MMM y","cldr_date_format_short":"dd/MM/yy","cldr_date_time_format_EEEd":"d EEE","cldr_date_time_format_HHmm":"HH:mm","cldr_date_time_format_HHmmss":"HH:mm:ss","cldr_date_time_format_Hm":"H:mm","cldr_date_time_format_M":"L","cldr_date_time_format_MEd":"E d/M","cldr_date_time_format_MMM":"LLL","cldr_date_time_format_MMMEd":"E d MMM","cldr_date_time_format_MMMMEd":"E d MMMM","cldr_date_time_format_MMMMd":"d MMMM","cldr_date_time_format_MMMd":"d MMM","cldr_date_time_format_MMMdd":"dd MMM","cldr_date_time_format_MMd":"d/MM","cldr_date_time_format_MMdd":"dd/MM","cldr_date_time_format_Md":"d/M","cldr_date_time_format_d":"d","cldr_date_time_format_mmss":"mm:ss","cldr_date_time_format_ms":"mm:ss","cldr_date_time_format_y":"y","cldr_date_time_format_yM":"M/yyyy","cldr_date_time_format_yMEd":"EEE d/M/yyyy","cldr_date_time_format_yMMM":"MMM y","cldr_date_time_format_yMMMEd":"EEE d MMM y","cldr_date_time_format_yMMMM":"MMMM y","cldr_date_time_format_yQ":"'T'Q y","cldr_date_time_format_yQQQ":"QQQ y","cldr_date_time_format_yyMM":"MM/yy","cldr_date_time_format_yyMMM":"MMM yy","cldr_date_time_format_yyMMMEEEd":"EEE d MMM yy","cldr_date_time_format_yyMMMd":"d MMM yy","cldr_date_time_format_yyQ":"'T'Q yy","cldr_date_time_format_yyQQQQ":"QQQQ yy","cldr_date_time_format_yyyyMMMM":"MMMM y","cldr_day_format_abbreviated_fri":"ven.","cldr_day_format_abbreviated_mon":"lun.","cldr_day_format_abbreviated_sat":"sam.","cldr_day_format_abbreviated_sun":"dim.","cldr_day_format_abbreviated_thu":"jeu.","cldr_day_format_abbreviated_tue":"mar.","cldr_day_format_abbreviated_wed":"mer.","cldr_day_format_narrow_fri":"V","cldr_day_format_narrow_mon":"L","cldr_day_format_narrow_sat":"S","cldr_day_format_narrow_sun":"D","cldr_day_format_narrow_thu":"J","cldr_day_format_narrow_tue":"M","cldr_day_format_narrow_wed":"M","cldr_day_format_wide_fri":"vendredi","cldr_day_format_wide_mon":"lundi","cldr_day_format_wide_sat":"samedi","cldr_day_format_wide_sun":"dimanche","cldr_day_format_wide_thu":"jeudi","cldr_day_format_wide_tue":"mardi","cldr_day_format_wide_wed":"mercredi","cldr_day_stand-alone_abbreviated_fri":"ven.","cldr_day_stand-alone_abbreviated_mon":"lun.","cldr_day_stand-alone_abbreviated_sat":"sam.","cldr_day_stand-alone_abbreviated_sun":"dim.","cldr_day_stand-alone_abbreviated_thu":"jeu.","cldr_day_stand-alone_abbreviated_tue":"mar.","cldr_day_stand-alone_abbreviated_wed":"mer.","cldr_day_stand-alone_narrow_fri":"V","cldr_day_stand-alone_narrow_mon":"L","cldr_day_stand-alone_narrow_sat":"S","cldr_day_stand-alone_narrow_sun":"D","cldr_day_stand-alone_narrow_thu":"J","cldr_day_stand-alone_narrow_tue":"M","cldr_day_stand-alone_narrow_wed":"M","cldr_day_stand-alone_wide_fri":"vendredi","cldr_day_stand-alone_wide_mon":"lundi","cldr_day_stand-alone_wide_sat":"samedi","cldr_day_stand-alone_wide_sun":"dimanche","cldr_day_stand-alone_wide_thu":"jeudi","cldr_day_stand-alone_wide_tue":"mardi","cldr_day_stand-alone_wide_wed":"mercredi","cldr_month_format_abbreviated_1":"janv.","cldr_month_format_abbreviated_10":"oct.","cldr_month_format_abbreviated_11":"nov.","cldr_month_format_abbreviated_12":"déc.","cldr_month_format_abbreviated_2":"févr.","cldr_month_format_abbreviated_3":"mars","cldr_month_format_abbreviated_4":"avr.","cldr_month_format_abbreviated_5":"mai","cldr_month_format_abbreviated_6":"juin","cldr_month_format_abbreviated_7":"juil.","cldr_month_format_abbreviated_8":"août","cldr_month_format_abbreviated_9":"sept.","cldr_month_format_wide_1":"janvier","cldr_month_format_wide_10":"octobre","cldr_month_format_wide_11":"novembre","cldr_month_format_wide_12":"décembre","cldr_month_format_wide_2":"février","cldr_month_format_wide_3":"mars","cldr_month_format_wide_4":"avril","cldr_month_format_wide_5":"mai","cldr_month_format_wide_6":"juin","cldr_month_format_wide_7":"juillet","cldr_month_format_wide_8":"août","cldr_month_format_wide_9":"septembre","cldr_month_stand-alone_narrow_1":"J","cldr_month_stand-alone_narrow_10":"O","cldr_month_stand-alone_narrow_11":"N","cldr_month_stand-alone_narrow_12":"D","cldr_month_stand-alone_narrow_2":"F","cldr_month_stand-alone_narrow_3":"M","cldr_month_stand-alone_narrow_4":"A","cldr_month_stand-alone_narrow_5":"M","cldr_month_stand-alone_narrow_6":"J","cldr_month_stand-alone_narrow_7":"J","cldr_month_stand-alone_narrow_8":"A","cldr_month_stand-alone_narrow_9":"S","cldr_number_decimal_separator":",","cldr_number_group_separator":" ","cldr_number_percent_format":"#,##0 %","cldr_pm":"PM","cldr_time_format_full":"HH:mm:ss zzzz","cldr_time_format_long":"HH:mm:ss z","cldr_time_format_medium":"HH:mm:ss","cldr_time_format_short":"HH:mm","quotationEnd":"»","quotationStart":"«"}},"resources":{"Agrammon/Lib/test.png":[32,32,"png","Agrammon.Lib"],"Agrammon/accessories-text-editor.png":[16,16,"png","Agrammon"],"Agrammon/dialog-ok.png":[16,16,"png","Agrammon"],"Agrammon/document-close.png":[16,16,"png","Agrammon"],"Agrammon/empty-circle.png":[18,18,"png","Agrammon"],"Agrammon/green-circle.png":[18,18,"png","Agrammon"],"Agrammon/green-dot.png":[18,18,"png","Agrammon"],"Agrammon/grey-dot.png":[18,18,"png","Agrammon"],"Agrammon/help-about.png":[16,16,"png","Agrammon"],"Agrammon/info.png":[480,480,"png","Agrammon"],"Agrammon/info_ts.png":[16,16,"png","Agrammon"],"Agrammon/nh3-r.png":[22,16,"png","Agrammon"],"Agrammon/nh3-rotate.gif":[25,25,"gif","Agrammon"],"Agrammon/nh3.png":[22,16,"png","Agrammon"],"Agrammon/office-database.png":[16,16,"png","Agrammon"],"Agrammon/orig/accessories-text-editor.png":[16,16,"png","Agrammon"],"Agrammon/orig/ajax-loader.gif":[220,19,"gif","Agrammon"],"Agrammon/orig/dialog-ok.png":[16,16,"png","Agrammon"],"Agrammon/orig/document-close.png":[16,16,"png","Agrammon"],"Agrammon/orig/empty-circle.gif":[18,18,"gif","Agrammon"],"Agrammon/orig/green-circle.gif":[18,18,"gif","Agrammon"],"Agrammon/orig/green-dot.gif":[18,18,"gif","Agrammon"],"Agrammon/orig/grey-dot.gif":[18,18,"gif","Agrammon"],"Agrammon/orig/help-about.png":[16,16,"png","Agrammon"],"Agrammon/orig/info.png":[16,16,"png","Agrammon"],"Agrammon/orig/info2.png":[14,14,"png","Agrammon"],"Agrammon/orig/info3.png":[16,16,"png","Agrammon"],"Agrammon/orig/nh3-r.gif":[22,16,"gif","Agrammon"],"Agrammon/orig/nh3-rotate.gif":[25,25,"gif","Agrammon"],"Agrammon/orig/nh3.gif":[22,16,"gif","Agrammon"],"Agrammon/orig/red-circle.gif":[18,18,"gif","Agrammon"],"Agrammon/orig/red-dot.gif":[18,18,"gif","Agrammon"],"Agrammon/read-only.png":[32,32,"jpeg","Agrammon"],"Agrammon/read-only_ts.png":[16,16,"png","Agrammon"],"Agrammon/red-circle.png":[18,18,"png","Agrammon"],"Agrammon/red-dot.png":[18,18,"png","Agrammon"],"Agrammon/tags.png":[91,91,"jpeg","Agrammon"],"Agrammon/tags_ts.png":[16,16,"png","Agrammon"],"qx/decoration/Modern/app-header.png":[110,20,"png","qx"],"qx/decoration/Modern/arrows-combined.png":[87,8,"png","qx"],"qx/decoration/Modern/arrows/down-invert.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-74,0],"qx/decoration/Modern/arrows/down-small-invert.png":[5,3,"png","qx","qx/decoration/Modern/arrows-combined.png",-69,0],"qx/decoration/Modern/arrows/down-small.png":[5,3,"png","qx","qx/decoration/Modern/arrows-combined.png",-49,0],"qx/decoration/Modern/arrows/down.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-20,0],"qx/decoration/Modern/arrows/forward.png":[10,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-59,0],"qx/decoration/Modern/arrows/left-invert.png":[5,8,"png","qx","qx/decoration/Modern/arrows-combined.png",0,0],"qx/decoration/Modern/arrows/left.png":[5,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-44,0],"qx/decoration/Modern/arrows/rewind.png":[10,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-10,0],"qx/decoration/Modern/arrows/right-invert.png":[5,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-5,0],"qx/decoration/Modern/arrows/right.png":[5,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-54,0],"qx/decoration/Modern/arrows/up-invert.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-28,0],"qx/decoration/Modern/arrows/up-small.png":[5,3,"png","qx","qx/decoration/Modern/arrows-combined.png",-82,0],"qx/decoration/Modern/arrows/up.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-36,0],"qx/decoration/Modern/button-lr-combined.png":[72,52,"png","qx"],"qx/decoration/Modern/button-tb-combined.png":[4,216,"png","qx"],"qx/decoration/Modern/checkradio-combined.png":[504,14,"png","qx"],"qx/decoration/Modern/colorselector-combined.gif":[46,11,"gif","qx"],"qx/decoration/Modern/colorselector/brightness-field.png":[19,256,"png","qx"],"qx/decoration/Modern/colorselector/brightness-handle.gif":[35,11,"gif","qx","qx/decoration/Modern/colorselector-combined.gif",0,0],"qx/decoration/Modern/colorselector/huesaturation-field.jpg":[256,256,"jpeg","qx"],"qx/decoration/Modern/colorselector/huesaturation-handle.gif":[11,11,"gif","qx","qx/decoration/Modern/colorselector-combined.gif",-35,0],"qx/decoration/Modern/cursors-combined.gif":[71,20,"gif","qx"],"qx/decoration/Modern/cursors/alias.gif":[19,15,"gif","qx","qx/decoration/Modern/cursors-combined.gif",-52,0],"qx/decoration/Modern/cursors/copy.gif":[19,15,"gif","qx","qx/decoration/Modern/cursors-combined.gif",-33,0],"qx/decoration/Modern/cursors/move.gif":[13,9,"gif","qx","qx/decoration/Modern/cursors-combined.gif",-20,0],"qx/decoration/Modern/cursors/nodrop.gif":[20,20,"gif","qx","qx/decoration/Modern/cursors-combined.gif",0,0],"qx/decoration/Modern/form/button-b.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-72],"qx/decoration/Modern/form/button-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-204],"qx/decoration/Modern/form/button-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-188],"qx/decoration/Modern/form/button-c.png":[40,52,"png","qx"],"qx/decoration/Modern/form/button-checked-b.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-36],"qx/decoration/Modern/form/button-checked-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-84],"qx/decoration/Modern/form/button-checked-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-184],"qx/decoration/Modern/form/button-checked-c.png":[40,52,"png","qx"],"qx/decoration/Modern/form/button-checked-focused-b.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-156],"qx/decoration/Modern/form/button-checked-focused-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-208],"qx/decoration/Modern/form/button-checked-focused-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-160],"qx/decoration/Modern/form/button-checked-focused-c.png":[40,52,"png","qx"],"qx/decoration/Modern/form/button-checked-focused-l.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-40,0],"qx/decoration/Modern/form/button-checked-focused-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-32,0],"qx/decoration/Modern/form/button-checked-focused-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-28],"qx/decoration/Modern/form/button-checked-focused-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-24],"qx/decoration/Modern/form/button-checked-focused-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-48],"qx/decoration/Modern/form/button-checked-focused.png":[80,60,"png","qx"],"qx/decoration/Modern/form/button-checked-l.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-16,0],"qx/decoration/Modern/form/button-checked-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-60,0],"qx/decoration/Modern/form/button-checked-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-140],"qx/decoration/Modern/form/button-checked-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-56],"qx/decoration/Modern/form/button-checked-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-112],"qx/decoration/Modern/form/button-checked.png":[80,60,"png","qx"],"qx/decoration/Modern/form/button-disabled-b.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-40],"qx/decoration/Modern/form/button-disabled-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-136],"qx/decoration/Modern/form/button-disabled-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-16],"qx/decoration/Modern/form/button-disabled-c.png":[40,52,"png","qx"],"qx/decoration/Modern/form/button-disabled-l.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-68,0],"qx/decoration/Modern/form/button-disabled-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-4,0],"qx/decoration/Modern/form/button-disabled-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-116],"qx/decoration/Modern/form/button-disabled-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-168],"qx/decoration/Modern/form/button-disabled-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-60],"qx/decoration/Modern/form/button-disabled.png":[80,60,"png","qx"],"qx/decoration/Modern/form/button-focused-b.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-68],"qx/decoration/Modern/form/button-focused-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-144],"qx/decoration/Modern/form/button-focused-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-8],"qx/decoration/Modern/form/button-focused-c.png":[40,52,"png","qx"],"qx/decoration/Modern/form/button-focused-l.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-24,0],"qx/decoration/Modern/form/button-focused-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-44,0],"qx/decoration/Modern/form/button-focused-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-192],"qx/decoration/Modern/form/button-focused-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-148],"qx/decoration/Modern/form/button-focused-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-104],"qx/decoration/Modern/form/button-focused.png":[80,60,"png","qx"],"qx/decoration/Modern/form/button-hovered-b.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-108],"qx/decoration/Modern/form/button-hovered-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-32],"qx/decoration/Modern/form/button-hovered-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-128],"qx/decoration/Modern/form/button-hovered-c.png":[40,52,"png","qx"],"qx/decoration/Modern/form/button-hovered-l.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-20,0],"qx/decoration/Modern/form/button-hovered-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-48,0],"qx/decoration/Modern/form/button-hovered-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-44],"qx/decoration/Modern/form/button-hovered-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-76],"qx/decoration/Modern/form/button-hovered-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-88],"qx/decoration/Modern/form/button-hovered.png":[80,60,"png","qx"],"qx/decoration/Modern/form/button-l.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-56,0],"qx/decoration/Modern/form/button-preselected-b.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-124],"qx/decoration/Modern/form/button-preselected-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-176],"qx/decoration/Modern/form/button-preselected-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-200],"qx/decoration/Modern/form/button-preselected-c.png":[40,52,"png","qx"],"qx/decoration/Modern/form/button-preselected-focused-b.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,0],"qx/decoration/Modern/form/button-preselected-focused-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-4],"qx/decoration/Modern/form/button-preselected-focused-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-152],"qx/decoration/Modern/form/button-preselected-focused-c.png":[40,52,"png","qx"],"qx/decoration/Modern/form/button-preselected-focused-l.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-28,0],"qx/decoration/Modern/form/button-preselected-focused-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-36,0],"qx/decoration/Modern/form/button-preselected-focused-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-196],"qx/decoration/Modern/form/button-preselected-focused-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-164],"qx/decoration/Modern/form/button-preselected-focused-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-212],"qx/decoration/Modern/form/button-preselected-focused.png":[80,60,"png","qx"],"qx/decoration/Modern/form/button-preselected-l.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-8,0],"qx/decoration/Modern/form/button-preselected-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-64,0],"qx/decoration/Modern/form/button-preselected-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-96],"qx/decoration/Modern/form/button-preselected-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-80],"qx/decoration/Modern/form/button-preselected-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-132],"qx/decoration/Modern/form/button-preselected.png":[80,60,"png","qx"],"qx/decoration/Modern/form/button-pressed-b.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-12],"qx/decoration/Modern/form/button-pressed-bl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-52],"qx/decoration/Modern/form/button-pressed-br.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-20],"qx/decoration/Modern/form/button-pressed-c.png":[40,52,"png","qx"],"qx/decoration/Modern/form/button-pressed-l.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-52,0],"qx/decoration/Modern/form/button-pressed-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",-12,0],"qx/decoration/Modern/form/button-pressed-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-100],"qx/decoration/Modern/form/button-pressed-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-172],"qx/decoration/Modern/form/button-pressed-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-64],"qx/decoration/Modern/form/button-pressed.png":[80,60,"png","qx"],"qx/decoration/Modern/form/button-r.png":[4,52,"png","qx","qx/decoration/Modern/button-lr-combined.png",0,0],"qx/decoration/Modern/form/button-t.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-92],"qx/decoration/Modern/form/button-tl.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-120],"qx/decoration/Modern/form/button-tr.png":[4,4,"png","qx","qx/decoration/Modern/button-tb-combined.png",0,-180],"qx/decoration/Modern/form/button.png":[80,60,"png","qx"],"qx/decoration/Modern/form/checkbox-checked-disabled.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-126,0],"qx/decoration/Modern/form/checkbox-checked-focused-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-322,0],"qx/decoration/Modern/form/checkbox-checked-focused.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-294,0],"qx/decoration/Modern/form/checkbox-checked-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-364,0],"qx/decoration/Modern/form/checkbox-checked-hovered.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-490,0],"qx/decoration/Modern/form/checkbox-checked-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-224,0],"qx/decoration/Modern/form/checkbox-checked-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-378,0],"qx/decoration/Modern/form/checkbox-checked-pressed.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-84,0],"qx/decoration/Modern/form/checkbox-checked.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-182,0],"qx/decoration/Modern/form/checkbox-disabled.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-42,0],"qx/decoration/Modern/form/checkbox-focused-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-392,0],"qx/decoration/Modern/form/checkbox-focused.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-210,0],"qx/decoration/Modern/form/checkbox-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-14,0],"qx/decoration/Modern/form/checkbox-hovered.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-238,0],"qx/decoration/Modern/form/checkbox-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-462,0],"qx/decoration/Modern/form/checkbox-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-112,0],"qx/decoration/Modern/form/checkbox-pressed.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-448,0],"qx/decoration/Modern/form/checkbox.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-140,0],"qx/decoration/Modern/form/input-focused.png":[40,12,"png","qx"],"qx/decoration/Modern/form/input.png":[84,12,"png","qx"],"qx/decoration/Modern/form/radiobutton-checked-disabled.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-196,0],"qx/decoration/Modern/form/radiobutton-checked-focused-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-168,0],"qx/decoration/Modern/form/radiobutton-checked-focused.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-98,0],"qx/decoration/Modern/form/radiobutton-checked-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-308,0],"qx/decoration/Modern/form/radiobutton-checked-hovered.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-406,0],"qx/decoration/Modern/form/radiobutton-checked-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-28,0],"qx/decoration/Modern/form/radiobutton-checked-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-350,0],"qx/decoration/Modern/form/radiobutton-checked-pressed.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-266,0],"qx/decoration/Modern/form/radiobutton-checked.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-252,0],"qx/decoration/Modern/form/radiobutton-disabled.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-336,0],"qx/decoration/Modern/form/radiobutton-focused-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-476,0],"qx/decoration/Modern/form/radiobutton-focused.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-420,0],"qx/decoration/Modern/form/radiobutton-hovered-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-56,0],"qx/decoration/Modern/form/radiobutton-hovered.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",0,0],"qx/decoration/Modern/form/radiobutton-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-154,0],"qx/decoration/Modern/form/radiobutton-pressed-invalid.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-434,0],"qx/decoration/Modern/form/radiobutton-pressed.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-280,0],"qx/decoration/Modern/form/radiobutton.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-70,0],"qx/decoration/Modern/form/tooltip-error-arrow.png":[11,14,"png","qx"],"qx/decoration/Modern/form/tooltip-error-b.png":[6,6,"png","qx","qx/decoration/Modern/tooltip-error-tb-combined.png",0,-30],"qx/decoration/Modern/form/tooltip-error-bl.png":[6,6,"png","qx","qx/decoration/Modern/tooltip-error-tb-combined.png",0,-24],"qx/decoration/Modern/form/tooltip-error-br.png":[6,6,"png","qx","qx/decoration/Modern/tooltip-error-tb-combined.png",0,0],"qx/decoration/Modern/form/tooltip-error-c.png":[40,18,"png","qx"],"qx/decoration/Modern/form/tooltip-error-l.png":[6,18,"png","qx","qx/decoration/Modern/tooltip-error-lr-combined.png",-6,0],"qx/decoration/Modern/form/tooltip-error-r.png":[6,18,"png","qx","qx/decoration/Modern/tooltip-error-lr-combined.png",0,0],"qx/decoration/Modern/form/tooltip-error-t.png":[6,6,"png","qx","qx/decoration/Modern/tooltip-error-tb-combined.png",0,-6],"qx/decoration/Modern/form/tooltip-error-tl.png":[6,6,"png","qx","qx/decoration/Modern/tooltip-error-tb-combined.png",0,-18],"qx/decoration/Modern/form/tooltip-error-tr.png":[6,6,"png","qx","qx/decoration/Modern/tooltip-error-tb-combined.png",0,-12],"qx/decoration/Modern/form/tooltip-error.png":[127,30,"png","qx"],"qx/decoration/Modern/groupbox-lr-combined.png":[8,51,"png","qx"],"qx/decoration/Modern/groupbox-tb-combined.png":[4,24,"png","qx"],"qx/decoration/Modern/groupbox/groupbox-b.png":[4,4,"png","qx","qx/decoration/Modern/groupbox-tb-combined.png",0,-12],"qx/decoration/Modern/groupbox/groupbox-bl.png":[4,4,"png","qx","qx/decoration/Modern/groupbox-tb-combined.png",0,-16],"qx/decoration/Modern/groupbox/groupbox-br.png":[4,4,"png","qx","qx/decoration/Modern/groupbox-tb-combined.png",0,-8],"qx/decoration/Modern/groupbox/groupbox-c.png":[40,51,"png","qx"],"qx/decoration/Modern/groupbox/groupbox-l.png":[4,51,"png","qx","qx/decoration/Modern/groupbox-lr-combined.png",-4,0],"qx/decoration/Modern/groupbox/groupbox-r.png":[4,51,"png","qx","qx/decoration/Modern/groupbox-lr-combined.png",0,0],"qx/decoration/Modern/groupbox/groupbox-t.png":[4,4,"png","qx","qx/decoration/Modern/groupbox-tb-combined.png",0,-4],"qx/decoration/Modern/groupbox/groupbox-tl.png":[4,4,"png","qx","qx/decoration/Modern/groupbox-tb-combined.png",0,0],"qx/decoration/Modern/groupbox/groupbox-tr.png":[4,4,"png","qx","qx/decoration/Modern/groupbox-tb-combined.png",0,-20],"qx/decoration/Modern/groupbox/groupbox.png":[255,59,"png","qx"],"qx/decoration/Modern/menu-background-combined.png":[80,49,"png","qx"],"qx/decoration/Modern/menu-checkradio-combined.gif":[64,7,"gif","qx"],"qx/decoration/Modern/menu/background.png":[40,49,"png","qx","qx/decoration/Modern/menu-background-combined.png",-40,0],"qx/decoration/Modern/menu/bar-background.png":[40,20,"png","qx","qx/decoration/Modern/menu-background-combined.png",0,0],"qx/decoration/Modern/menu/checkbox-invert.gif":[16,7,"gif","qx","qx/decoration/Modern/menu-checkradio-combined.gif",-16,0],"qx/decoration/Modern/menu/checkbox.gif":[16,7,"gif","qx","qx/decoration/Modern/menu-checkradio-combined.gif",-48,0],"qx/decoration/Modern/menu/radiobutton-invert.gif":[16,5,"gif","qx","qx/decoration/Modern/menu-checkradio-combined.gif",-32,0],"qx/decoration/Modern/menu/radiobutton.gif":[16,5,"gif","qx","qx/decoration/Modern/menu-checkradio-combined.gif",0,0],"qx/decoration/Modern/pane-lr-combined.png":[12,238,"png","qx"],"qx/decoration/Modern/pane-tb-combined.png":[6,36,"png","qx"],"qx/decoration/Modern/pane/pane-b.png":[6,6,"png","qx","qx/decoration/Modern/pane-tb-combined.png",0,-30],"qx/decoration/Modern/pane/pane-bl.png":[6,6,"png","qx","qx/decoration/Modern/pane-tb-combined.png",0,-18],"qx/decoration/Modern/pane/pane-br.png":[6,6,"png","qx","qx/decoration/Modern/pane-tb-combined.png",0,-12],"qx/decoration/Modern/pane/pane-c.png":[40,238,"png","qx"],"qx/decoration/Modern/pane/pane-l.png":[6,238,"png","qx","qx/decoration/Modern/pane-lr-combined.png",0,0],"qx/decoration/Modern/pane/pane-r.png":[6,238,"png","qx","qx/decoration/Modern/pane-lr-combined.png",-6,0],"qx/decoration/Modern/pane/pane-t.png":[6,6,"png","qx","qx/decoration/Modern/pane-tb-combined.png",0,0],"qx/decoration/Modern/pane/pane-tl.png":[6,6,"png","qx","qx/decoration/Modern/pane-tb-combined.png",0,-24],"qx/decoration/Modern/pane/pane-tr.png":[6,6,"png","qx","qx/decoration/Modern/pane-tb-combined.png",0,-6],"qx/decoration/Modern/pane/pane.png":[185,250,"png","qx"],"qx/decoration/Modern/scrollbar-combined.png":[54,12,"png","qx"],"qx/decoration/Modern/scrollbar/scrollbar-bg-horizontal.png":[76,15,"png","qx"],"qx/decoration/Modern/scrollbar/scrollbar-bg-pressed-horizontal.png":[19,10,"png","qx"],"qx/decoration/Modern/scrollbar/scrollbar-bg-pressed-vertical.png":[10,19,"png","qx"],"qx/decoration/Modern/scrollbar/scrollbar-bg-vertical.png":[15,76,"png","qx"],"qx/decoration/Modern/scrollbar/scrollbar-button-bg-horizontal.png":[12,10,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-34,0],"qx/decoration/Modern/scrollbar/scrollbar-button-bg-vertical.png":[10,12,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-6,0],"qx/decoration/Modern/scrollbar/scrollbar-down.png":[6,4,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-28,0],"qx/decoration/Modern/scrollbar/scrollbar-left.png":[4,6,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-50,0],"qx/decoration/Modern/scrollbar/scrollbar-right.png":[4,6,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-46,0],"qx/decoration/Modern/scrollbar/scrollbar-up.png":[6,4,"png","qx","qx/decoration/Modern/scrollbar-combined.png",0,0],"qx/decoration/Modern/scrollbar/slider-knob-background.png":[12,10,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-16,0],"qx/decoration/Modern/selection.png":[110,20,"png","qx"],"qx/decoration/Modern/shadow-lr-combined.png":[30,382,"png","qx"],"qx/decoration/Modern/shadow-small-lr-combined.png":[10,136,"png","qx"],"qx/decoration/Modern/shadow-small-tb-combined.png":[5,30,"png","qx"],"qx/decoration/Modern/shadow-tb-combined.png":[15,90,"png","qx"],"qx/decoration/Modern/shadow/shadow-b.png":[15,15,"png","qx","qx/decoration/Modern/shadow-tb-combined.png",0,-30],"qx/decoration/Modern/shadow/shadow-bl.png":[15,15,"png","qx","qx/decoration/Modern/shadow-tb-combined.png",0,-15],"qx/decoration/Modern/shadow/shadow-br.png":[15,15,"png","qx","qx/decoration/Modern/shadow-tb-combined.png",0,-45],"qx/decoration/Modern/shadow/shadow-c.png":[40,382,"png","qx"],"qx/decoration/Modern/shadow/shadow-l.png":[15,382,"png","qx","qx/decoration/Modern/shadow-lr-combined.png",0,0],"qx/decoration/Modern/shadow/shadow-r.png":[15,382,"png","qx","qx/decoration/Modern/shadow-lr-combined.png",-15,0],"qx/decoration/Modern/shadow/shadow-small-b.png":[5,5,"png","qx","qx/decoration/Modern/shadow-small-tb-combined.png",0,-20],"qx/decoration/Modern/shadow/shadow-small-bl.png":[5,5,"png","qx","qx/decoration/Modern/shadow-small-tb-combined.png",0,-15],"qx/decoration/Modern/shadow/shadow-small-br.png":[5,5,"png","qx","qx/decoration/Modern/shadow-small-tb-combined.png",0,-10],"qx/decoration/Modern/shadow/shadow-small-c.png":[40,136,"png","qx"],"qx/decoration/Modern/shadow/shadow-small-l.png":[5,136,"png","qx","qx/decoration/Modern/shadow-small-lr-combined.png",0,0],"qx/decoration/Modern/shadow/shadow-small-r.png":[5,136,"png","qx","qx/decoration/Modern/shadow-small-lr-combined.png",-5,0],"qx/decoration/Modern/shadow/shadow-small-t.png":[5,5,"png","qx","qx/decoration/Modern/shadow-small-tb-combined.png",0,-5],"qx/decoration/Modern/shadow/shadow-small-tl.png":[5,5,"png","qx","qx/decoration/Modern/shadow-small-tb-combined.png",0,0],"qx/decoration/Modern/shadow/shadow-small-tr.png":[5,5,"png","qx","qx/decoration/Modern/shadow-small-tb-combined.png",0,-25],"qx/decoration/Modern/shadow/shadow-small.png":[114,146,"png","qx"],"qx/decoration/Modern/shadow/shadow-t.png":[15,15,"png","qx","qx/decoration/Modern/shadow-tb-combined.png",0,-60],"qx/decoration/Modern/shadow/shadow-tl.png":[15,15,"png","qx","qx/decoration/Modern/shadow-tb-combined.png",0,-75],"qx/decoration/Modern/shadow/shadow-tr.png":[15,15,"png","qx","qx/decoration/Modern/shadow-tb-combined.png",0,0],"qx/decoration/Modern/shadow/shadow.png":[381,412,"png","qx"],"qx/decoration/Modern/splitpane-knobs-combined.png":[8,9,"png","qx"],"qx/decoration/Modern/splitpane/knob-horizontal.png":[1,8,"png","qx","qx/decoration/Modern/splitpane-knobs-combined.png",0,-1],"qx/decoration/Modern/splitpane/knob-vertical.png":[8,1,"png","qx","qx/decoration/Modern/splitpane-knobs-combined.png",0,0],"qx/decoration/Modern/table-combined.png":[94,18,"png","qx"],"qx/decoration/Modern/table/ascending.png":[8,5,"png","qx","qx/decoration/Modern/table-combined.png",0,0],"qx/decoration/Modern/table/boolean-false.png":[14,14,"png","qx","qx/decoration/Modern/table-combined.png",-80,0],"qx/decoration/Modern/table/boolean-true.png":[14,14,"png","qx","qx/decoration/Modern/table-combined.png",-26,0],"qx/decoration/Modern/table/descending.png":[8,5,"png","qx","qx/decoration/Modern/table-combined.png",-18,0],"qx/decoration/Modern/table/header-cell.png":[40,18,"png","qx","qx/decoration/Modern/table-combined.png",-40,0],"qx/decoration/Modern/table/select-column-order.png":[10,9,"png","qx","qx/decoration/Modern/table-combined.png",-8,0],"qx/decoration/Modern/tabview-button-bottom-active-lr-combined.png":[10,14,"png","qx"],"qx/decoration/Modern/tabview-button-bottom-active-tb-combined.png":[5,30,"png","qx"],"qx/decoration/Modern/tabview-button-bottom-inactive-b-combined.png":[3,9,"png","qx"],"qx/decoration/Modern/tabview-button-bottom-inactive-lr-combined.png":[6,15,"png","qx"],"qx/decoration/Modern/tabview-button-bottom-inactive-t-combined.png":[3,9,"png","qx"],"qx/decoration/Modern/tabview-button-left-active-lr-combined.png":[10,37,"png","qx"],"qx/decoration/Modern/tabview-button-left-active-tb-combined.png":[5,30,"png","qx"],"qx/decoration/Modern/tabview-button-left-inactive-b-combined.png":[3,9,"png","qx"],"qx/decoration/Modern/tabview-button-left-inactive-lr-combined.png":[6,39,"png","qx"],"qx/decoration/Modern/tabview-button-left-inactive-t-combined.png":[3,9,"png","qx"],"qx/decoration/Modern/tabview-button-right-active-lr-combined.png":[10,37,"png","qx"],"qx/decoration/Modern/tabview-button-right-active-tb-combined.png":[5,30,"png","qx"],"qx/decoration/Modern/tabview-button-right-inactive-b-combined.png":[3,9,"png","qx"],"qx/decoration/Modern/tabview-button-right-inactive-lr-combined.png":[6,39,"png","qx"],"qx/decoration/Modern/tabview-button-right-inactive-t-combined.png":[3,9,"png","qx"],"qx/decoration/Modern/tabview-button-top-active-lr-combined.png":[10,12,"png","qx"],"qx/decoration/Modern/tabview-button-top-active-tb-combined.png":[5,30,"png","qx"],"qx/decoration/Modern/tabview-button-top-inactive-b-combined.png":[3,9,"png","qx"],"qx/decoration/Modern/tabview-button-top-inactive-lr-combined.png":[6,15,"png","qx"],"qx/decoration/Modern/tabview-button-top-inactive-t-combined.png":[3,9,"png","qx"],"qx/decoration/Modern/tabview-pane-lr-combined.png":[60,2,"png","qx"],"qx/decoration/Modern/tabview-pane-tb-combined.png":[30,180,"png","qx"],"qx/decoration/Modern/tabview/tab-button-bottom-active-b.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-bottom-active-tb-combined.png",0,-10],"qx/decoration/Modern/tabview/tab-button-bottom-active-bl.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-bottom-active-tb-combined.png",0,-15],"qx/decoration/Modern/tabview/tab-button-bottom-active-br.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-bottom-active-tb-combined.png",0,-5],"qx/decoration/Modern/tabview/tab-button-bottom-active-c.png":[40,14,"png","qx"],"qx/decoration/Modern/tabview/tab-button-bottom-active-l.png":[5,14,"png","qx","qx/decoration/Modern/tabview-button-bottom-active-lr-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-bottom-active-r.png":[5,14,"png","qx","qx/decoration/Modern/tabview-button-bottom-active-lr-combined.png",-5,0],"qx/decoration/Modern/tabview/tab-button-bottom-active-t.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-bottom-active-tb-combined.png",0,-20],"qx/decoration/Modern/tabview/tab-button-bottom-active-tl.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-bottom-active-tb-combined.png",0,-25],"qx/decoration/Modern/tabview/tab-button-bottom-active-tr.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-bottom-active-tb-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-bottom-active.png":[49,24,"png","qx"],"qx/decoration/Modern/tabview/tab-button-bottom-inactive-b.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-bottom-inactive-b-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-bottom-inactive-bl.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-bottom-inactive-b-combined.png",0,-6],"qx/decoration/Modern/tabview/tab-button-bottom-inactive-br.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-bottom-inactive-b-combined.png",0,-3],"qx/decoration/Modern/tabview/tab-button-bottom-inactive-c.png":[40,15,"png","qx"],"qx/decoration/Modern/tabview/tab-button-bottom-inactive-l.png":[3,15,"png","qx","qx/decoration/Modern/tabview-button-bottom-inactive-lr-combined.png",-3,0],"qx/decoration/Modern/tabview/tab-button-bottom-inactive-r.png":[3,15,"png","qx","qx/decoration/Modern/tabview-button-bottom-inactive-lr-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-bottom-inactive-t.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-bottom-inactive-t-combined.png",0,-3],"qx/decoration/Modern/tabview/tab-button-bottom-inactive-tl.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-bottom-inactive-t-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-bottom-inactive-tr.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-bottom-inactive-t-combined.png",0,-6],"qx/decoration/Modern/tabview/tab-button-bottom-inactive.png":[45,21,"png","qx"],"qx/decoration/Modern/tabview/tab-button-left-active-b.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-left-active-tb-combined.png",0,-5],"qx/decoration/Modern/tabview/tab-button-left-active-bl.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-left-active-tb-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-left-active-br.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-left-active-tb-combined.png",0,-25],"qx/decoration/Modern/tabview/tab-button-left-active-c.png":[40,37,"png","qx"],"qx/decoration/Modern/tabview/tab-button-left-active-l.png":[5,37,"png","qx","qx/decoration/Modern/tabview-button-left-active-lr-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-left-active-r.png":[5,37,"png","qx","qx/decoration/Modern/tabview-button-left-active-lr-combined.png",-5,0],"qx/decoration/Modern/tabview/tab-button-left-active-t.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-left-active-tb-combined.png",0,-15],"qx/decoration/Modern/tabview/tab-button-left-active-tl.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-left-active-tb-combined.png",0,-10],"qx/decoration/Modern/tabview/tab-button-left-active-tr.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-left-active-tb-combined.png",0,-20],"qx/decoration/Modern/tabview/tab-button-left-active.png":[22,47,"png","qx"],"qx/decoration/Modern/tabview/tab-button-left-inactive-b.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-left-inactive-b-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-left-inactive-bl.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-left-inactive-b-combined.png",0,-6],"qx/decoration/Modern/tabview/tab-button-left-inactive-br.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-left-inactive-b-combined.png",0,-3],"qx/decoration/Modern/tabview/tab-button-left-inactive-c.png":[40,39,"png","qx"],"qx/decoration/Modern/tabview/tab-button-left-inactive-l.png":[3,39,"png","qx","qx/decoration/Modern/tabview-button-left-inactive-lr-combined.png",-3,0],"qx/decoration/Modern/tabview/tab-button-left-inactive-r.png":[3,39,"png","qx","qx/decoration/Modern/tabview-button-left-inactive-lr-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-left-inactive-t.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-left-inactive-t-combined.png",0,-3],"qx/decoration/Modern/tabview/tab-button-left-inactive-tl.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-left-inactive-t-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-left-inactive-tr.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-left-inactive-t-combined.png",0,-6],"qx/decoration/Modern/tabview/tab-button-left-inactive.png":[20,45,"png","qx"],"qx/decoration/Modern/tabview/tab-button-right-active-b.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-right-active-tb-combined.png",0,-25],"qx/decoration/Modern/tabview/tab-button-right-active-bl.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-right-active-tb-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-right-active-br.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-right-active-tb-combined.png",0,-20],"qx/decoration/Modern/tabview/tab-button-right-active-c.png":[40,37,"png","qx"],"qx/decoration/Modern/tabview/tab-button-right-active-l.png":[5,37,"png","qx","qx/decoration/Modern/tabview-button-right-active-lr-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-right-active-r.png":[5,37,"png","qx","qx/decoration/Modern/tabview-button-right-active-lr-combined.png",-5,0],"qx/decoration/Modern/tabview/tab-button-right-active-t.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-right-active-tb-combined.png",0,-5],"qx/decoration/Modern/tabview/tab-button-right-active-tl.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-right-active-tb-combined.png",0,-15],"qx/decoration/Modern/tabview/tab-button-right-active-tr.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-right-active-tb-combined.png",0,-10],"qx/decoration/Modern/tabview/tab-button-right-active.png":[22,47,"png","qx"],"qx/decoration/Modern/tabview/tab-button-right-inactive-b.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-right-inactive-b-combined.png",0,-3],"qx/decoration/Modern/tabview/tab-button-right-inactive-bl.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-right-inactive-b-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-right-inactive-br.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-right-inactive-b-combined.png",0,-6],"qx/decoration/Modern/tabview/tab-button-right-inactive-c.png":[40,39,"png","qx"],"qx/decoration/Modern/tabview/tab-button-right-inactive-l.png":[3,39,"png","qx","qx/decoration/Modern/tabview-button-right-inactive-lr-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-right-inactive-r.png":[3,39,"png","qx","qx/decoration/Modern/tabview-button-right-inactive-lr-combined.png",-3,0],"qx/decoration/Modern/tabview/tab-button-right-inactive-t.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-right-inactive-t-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-right-inactive-tl.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-right-inactive-t-combined.png",0,-3],"qx/decoration/Modern/tabview/tab-button-right-inactive-tr.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-right-inactive-t-combined.png",0,-6],"qx/decoration/Modern/tabview/tab-button-right-inactive.png":[20,45,"png","qx"],"qx/decoration/Modern/tabview/tab-button-top-active-b.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-top-active-tb-combined.png",0,-20],"qx/decoration/Modern/tabview/tab-button-top-active-bl.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-top-active-tb-combined.png",0,-15],"qx/decoration/Modern/tabview/tab-button-top-active-br.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-top-active-tb-combined.png",0,-10],"qx/decoration/Modern/tabview/tab-button-top-active-c.png":[40,14,"png","qx"],"qx/decoration/Modern/tabview/tab-button-top-active-l.png":[5,12,"png","qx","qx/decoration/Modern/tabview-button-top-active-lr-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-top-active-r.png":[5,12,"png","qx","qx/decoration/Modern/tabview-button-top-active-lr-combined.png",-5,0],"qx/decoration/Modern/tabview/tab-button-top-active-t.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-top-active-tb-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-top-active-tl.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-top-active-tb-combined.png",0,-25],"qx/decoration/Modern/tabview/tab-button-top-active-tr.png":[5,5,"png","qx","qx/decoration/Modern/tabview-button-top-active-tb-combined.png",0,-5],"qx/decoration/Modern/tabview/tab-button-top-active.png":[48,22,"png","qx"],"qx/decoration/Modern/tabview/tab-button-top-inactive-b.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-top-inactive-b-combined.png",0,-6],"qx/decoration/Modern/tabview/tab-button-top-inactive-bl.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-top-inactive-b-combined.png",0,-3],"qx/decoration/Modern/tabview/tab-button-top-inactive-br.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-top-inactive-b-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-top-inactive-c.png":[40,15,"png","qx"],"qx/decoration/Modern/tabview/tab-button-top-inactive-l.png":[3,15,"png","qx","qx/decoration/Modern/tabview-button-top-inactive-lr-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-top-inactive-r.png":[3,15,"png","qx","qx/decoration/Modern/tabview-button-top-inactive-lr-combined.png",-3,0],"qx/decoration/Modern/tabview/tab-button-top-inactive-t.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-top-inactive-t-combined.png",0,-3],"qx/decoration/Modern/tabview/tab-button-top-inactive-tl.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-top-inactive-t-combined.png",0,0],"qx/decoration/Modern/tabview/tab-button-top-inactive-tr.png":[3,3,"png","qx","qx/decoration/Modern/tabview-button-top-inactive-t-combined.png",0,-6],"qx/decoration/Modern/tabview/tab-button-top-inactive.png":[45,21,"png","qx"],"qx/decoration/Modern/tabview/tabview-pane-b.png":[30,30,"png","qx","qx/decoration/Modern/tabview-pane-tb-combined.png",0,-60],"qx/decoration/Modern/tabview/tabview-pane-bl.png":[30,30,"png","qx","qx/decoration/Modern/tabview-pane-tb-combined.png",0,0],"qx/decoration/Modern/tabview/tabview-pane-br.png":[30,30,"png","qx","qx/decoration/Modern/tabview-pane-tb-combined.png",0,-120],"qx/decoration/Modern/tabview/tabview-pane-c.png":[40,120,"png","qx"],"qx/decoration/Modern/tabview/tabview-pane-l.png":[30,2,"png","qx","qx/decoration/Modern/tabview-pane-lr-combined.png",0,0],"qx/decoration/Modern/tabview/tabview-pane-r.png":[30,2,"png","qx","qx/decoration/Modern/tabview-pane-lr-combined.png",-30,0],"qx/decoration/Modern/tabview/tabview-pane-t.png":[30,30,"png","qx","qx/decoration/Modern/tabview-pane-tb-combined.png",0,-150],"qx/decoration/Modern/tabview/tabview-pane-tl.png":[30,30,"png","qx","qx/decoration/Modern/tabview-pane-tb-combined.png",0,-30],"qx/decoration/Modern/tabview/tabview-pane-tr.png":[30,30,"png","qx","qx/decoration/Modern/tabview-pane-tb-combined.png",0,-90],"qx/decoration/Modern/tabview/tabview-pane.png":[185,250,"png","qx"],"qx/decoration/Modern/toolbar-combined.png":[80,130,"png","qx"],"qx/decoration/Modern/toolbar/toolbar-gradient-blue.png":[40,130,"png","qx","qx/decoration/Modern/toolbar-combined.png",-40,0],"qx/decoration/Modern/toolbar/toolbar-gradient.png":[40,130,"png","qx","qx/decoration/Modern/toolbar-combined.png",0,0],"qx/decoration/Modern/toolbar/toolbar-handle-knob.gif":[1,8,"gif","qx"],"qx/decoration/Modern/toolbar/toolbar-part.gif":[7,1,"gif","qx"],"qx/decoration/Modern/tooltip-error-lr-combined.png":[12,18,"png","qx"],"qx/decoration/Modern/tooltip-error-tb-combined.png":[6,36,"png","qx"],"qx/decoration/Modern/tree-combined.png":[32,8,"png","qx"],"qx/decoration/Modern/tree/closed-selected.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",-24,0],"qx/decoration/Modern/tree/closed.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",-16,0],"qx/decoration/Modern/tree/open-selected.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",-8,0],"qx/decoration/Modern/tree/open.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",0,0],"qx/decoration/Modern/window-captionbar-buttons-combined.png":[108,9,"png","qx"],"qx/decoration/Modern/window-captionbar-lr-active-combined.png":[12,9,"png","qx"],"qx/decoration/Modern/window-captionbar-lr-inactive-combined.png":[12,9,"png","qx"],"qx/decoration/Modern/window-captionbar-tb-active-combined.png":[6,36,"png","qx"],"qx/decoration/Modern/window-captionbar-tb-inactive-combined.png":[6,36,"png","qx"],"qx/decoration/Modern/window-statusbar-lr-combined.png":[8,7,"png","qx"],"qx/decoration/Modern/window-statusbar-tb-combined.png":[4,24,"png","qx"],"qx/decoration/Modern/window/captionbar-active-b.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-active-combined.png",0,-18],"qx/decoration/Modern/window/captionbar-active-bl.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-active-combined.png",0,-24],"qx/decoration/Modern/window/captionbar-active-br.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-active-combined.png",0,-12],"qx/decoration/Modern/window/captionbar-active-c.png":[40,9,"png","qx"],"qx/decoration/Modern/window/captionbar-active-l.png":[6,9,"png","qx","qx/decoration/Modern/window-captionbar-lr-active-combined.png",-6,0],"qx/decoration/Modern/window/captionbar-active-r.png":[6,9,"png","qx","qx/decoration/Modern/window-captionbar-lr-active-combined.png",0,0],"qx/decoration/Modern/window/captionbar-active-t.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-active-combined.png",0,-6],"qx/decoration/Modern/window/captionbar-active-tl.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-active-combined.png",0,0],"qx/decoration/Modern/window/captionbar-active-tr.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-active-combined.png",0,-30],"qx/decoration/Modern/window/captionbar-active.png":[69,21,"png","qx"],"qx/decoration/Modern/window/captionbar-inactive-b.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-inactive-combined.png",0,-24],"qx/decoration/Modern/window/captionbar-inactive-bl.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-inactive-combined.png",0,-6],"qx/decoration/Modern/window/captionbar-inactive-br.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-inactive-combined.png",0,-30],"qx/decoration/Modern/window/captionbar-inactive-c.png":[40,9,"png","qx"],"qx/decoration/Modern/window/captionbar-inactive-l.png":[6,9,"png","qx","qx/decoration/Modern/window-captionbar-lr-inactive-combined.png",0,0],"qx/decoration/Modern/window/captionbar-inactive-r.png":[6,9,"png","qx","qx/decoration/Modern/window-captionbar-lr-inactive-combined.png",-6,0],"qx/decoration/Modern/window/captionbar-inactive-t.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-inactive-combined.png",0,0],"qx/decoration/Modern/window/captionbar-inactive-tl.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-inactive-combined.png",0,-12],"qx/decoration/Modern/window/captionbar-inactive-tr.png":[6,6,"png","qx","qx/decoration/Modern/window-captionbar-tb-inactive-combined.png",0,-18],"qx/decoration/Modern/window/captionbar-inactive.png":[69,21,"png","qx"],"qx/decoration/Modern/window/close-active-hovered.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-27,0],"qx/decoration/Modern/window/close-active.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-9,0],"qx/decoration/Modern/window/close-inactive.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-90,0],"qx/decoration/Modern/window/maximize-active-hovered.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-18,0],"qx/decoration/Modern/window/maximize-active.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-81,0],"qx/decoration/Modern/window/maximize-inactive.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-54,0],"qx/decoration/Modern/window/minimize-active-hovered.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-63,0],"qx/decoration/Modern/window/minimize-active.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-72,0],"qx/decoration/Modern/window/minimize-inactive.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-36,0],"qx/decoration/Modern/window/restore-active-hovered.png":[9,8,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",0,0],"qx/decoration/Modern/window/restore-active.png":[9,8,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-99,0],"qx/decoration/Modern/window/restore-inactive.png":[9,8,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-45,0],"qx/decoration/Modern/window/statusbar-b.png":[4,4,"png","qx","qx/decoration/Modern/window-statusbar-tb-combined.png",0,-16],"qx/decoration/Modern/window/statusbar-bl.png":[4,4,"png","qx","qx/decoration/Modern/window-statusbar-tb-combined.png",0,-20],"qx/decoration/Modern/window/statusbar-br.png":[4,4,"png","qx","qx/decoration/Modern/window-statusbar-tb-combined.png",0,-4],"qx/decoration/Modern/window/statusbar-c.png":[40,7,"png","qx"],"qx/decoration/Modern/window/statusbar-l.png":[4,7,"png","qx","qx/decoration/Modern/window-statusbar-lr-combined.png",-4,0],"qx/decoration/Modern/window/statusbar-r.png":[4,7,"png","qx","qx/decoration/Modern/window-statusbar-lr-combined.png",0,0],"qx/decoration/Modern/window/statusbar-t.png":[4,4,"png","qx","qx/decoration/Modern/window-statusbar-tb-combined.png",0,0],"qx/decoration/Modern/window/statusbar-tl.png":[4,4,"png","qx","qx/decoration/Modern/window-statusbar-tb-combined.png",0,-8],"qx/decoration/Modern/window/statusbar-tr.png":[4,4,"png","qx","qx/decoration/Modern/window-statusbar-tb-combined.png",0,-12],"qx/decoration/Modern/window/statusbar.png":[369,15,"png","qx"],"qx/icon/Tango/16/actions/dialog-cancel.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/dialog-close.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/dialog-ok.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/document-new.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/document-save-as.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/go-next.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/go-previous.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/help-faq.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/view-refresh.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/window-close.png":[16,16,"png","qx"],"qx/icon/Tango/16/apps/office-calendar.png":[16,16,"png","qx"],"qx/icon/Tango/16/apps/office-spreadsheet.png":[16,16,"png","qx"],"qx/icon/Tango/16/apps/utilities-archiver.png":[16,16,"png","qx"],"qx/icon/Tango/16/apps/utilities-color-chooser.png":[16,16,"png","qx"],"qx/icon/Tango/16/apps/utilities-statistics.png":[16,16,"png","qx"],"qx/icon/Tango/16/apps/utilities-text-editor.png":[16,16,"png","qx"],"qx/icon/Tango/16/mimetypes/office-document.png":[16,16,"png","qx"],"qx/icon/Tango/16/places/folder-open.png":[16,16,"png","qx"],"qx/icon/Tango/16/places/folder.png":[16,16,"png","qx"],"qx/icon/Tango/16/status/dialog-information.png":[16,16,"png","qx"],"qx/icon/Tango/22/mimetypes/office-document.png":[22,22,"png","qx"],"qx/icon/Tango/22/places/folder-open.png":[22,22,"png","qx"],"qx/icon/Tango/22/places/folder.png":[22,22,"png","qx"],"qx/icon/Tango/32/mimetypes/office-document.png":[32,32,"png","qx"],"qx/icon/Tango/32/places/folder-open.png":[32,32,"png","qx"],"qx/icon/Tango/32/places/folder.png":[32,32,"png","qx"],"qx/icon/Tango/32/status/dialog-error.png":[32,32,"png","qx"],"qx/static/blank.gif":[1,1,"gif","qx"]},"translations":{"C":{},"de":{" button":"Knopfes","%1 does not fit %2.":"%1 passt nicht zu %2.","%1 is not a color! %2":"%1 ist keine Farbe! %2","%1 is not a number.":"%1 ist keine Nummer.","%1 is not a string.":"%1 ist keine Zeichenkette.","%1 is not an url.":"%1 ist keine URL.","%1 is not in %2":"%1 ist nicht in %2","%1 is not in the range from [%2, %3].":"%1 liegt nicht im Intervall [%2, %3].","%1 of %2 rows":"%1 von %2 Zeilen","%1 rows":"%1 Zeilen","'%1' is not an email address.":"'%1' ist keine Emailadresse.","About":"Über","Account created.":"Konto erstellt.","Activate Account":"Konto aktivieren","Activate new account":"Konto neu aktivieren","Active tags":"Aktive Marker","Add instance":"Kategorie hinzufügen","Agrammon is not supported on Internet Explorer below version 7":"Agrammon wird nicht unterstützt auf Internet Explorer unterhalb Version 7","An activation key will be sent to you by eMail after pressing the":"Ein Aktivierungsschlüssel wird Ihnen per eMail zugeschickt nach drücken des","Authentication error":"Anmeldung fehlgeschlagen","Available tags":"Verfügbare Marker","Cancel":"Abbrechen","Change":"Änderung","Change Log":"Letzte Änderungen","Change password":"Passwort ändern","Changing password for ":"Passwort ändern für ","Check instance":"Kategorie prüfen","Choose table: ":"Tabelle auswählen","Clear reference":"Referenz löschen","Clear reference dataset":"Referenzdatensatz löschen","Clone dataset":"Datensatz kopieren","Cloning dataset":"Datensatz duplizieren","Close":"Schliessen","Confirm password":"Passwort bestätigen","Connect":"Verbinden","Connect to dataset":"Mit Datensatz verbinden","Copy+Connect":"Kopieren und Verbinden","Create":"Erstellen","Create Account":"Konto erstellen","Create New Account":"Neues Konto erstellen","Create PDF":"PDF Report","Create new account":"Neues Konto erstellen","Create new dataset":"Neuen (leeren) Datensatz anlegen","Created by OETIKER+PARTNER AG. Copyright 2010":"Erstellt von OETIKER+PARTNER AG. Copyright 2010","Creating new dataset":"Neuen Datensatz erstellen","Creating new tag":"Neuen Tag anlegen","Ctrl-Click on selected table rows removes selection":"Strg-Klick auf ausgewählte Zeilen entfernt die Auswahl","Current password":"Altes Passwort","Dataset":"Datensatz","Dataset name":"Datensatz","Dataset: ":"Datensatz: ","Datasets of":"Datensätze von","Delete":"Löschen","Delete instance":"Kategorie löschen","Deleting datasets from database":"Datensätze aus Datenbank löschen","Deleting tags from database":"Marker werden aus Datenbank gelöscht","Documentation":"Dokumentation","Doubleclick to edit":"Doppelklicken zur Eingabe","Duplicate instance":"Kategorie duplizieren","Duplicate instances not allowed":"Doppelte Kategorien nicht erlaubt","Edit":"Editieren","Eingabe-Parameter":"Eingabe-Parameter","Einzelbetriebsmodell":"Single farm model","Enter key below to activate your account":"Geben Sie den Schlüssel ein, um Ihr Konto zu aktivieren.","Enter key below to re-activate your account":"Geben Sie den Schlüssel ein, um Ihr Konto zu re-aktivieren.","Error":"Fehler","File":"Datei","Filter on dataset name":"Filter auf den Datensatz Namen","Filter on tag name":"Filter auf Marker Name","First name (optional)":"Vorname (optional)","Graphical Results":"Resultate als Grafik","Help":"Hilfe","Help func":"Hilfefunktion","Help text currently only available in German":" ","Help undefined":"Hilfe nicht definiert","Hide tags":"Marker ausblenden","Incremental filter on dataset name":"Inkrementeller Filter auf den Datensatz-Namen","Incremental filter on tag name":"Inkrementeller Filter auf Marker Name","Info":"Info","Input":"Eingabe","Input Parameter":"Eingabe-Parameter","Input value must be between":"Eingabewert muss im Bereich sein zwischen","Input value must equal or greater than":"Eingabewert muss gleich oder grösser sein als","Input value must equal or less than":"Eingabewert muss gleich oder kleiner sein als","Input value must greater than":"Eingabewert muss grösser sein als","Input value must less than":"Eingabewert muss kleiner sein als","Input value must match":"Eingabewert muss passen auf","Invalid input":"Ungültige Eingabe","Invalid username or password":"Ungültiger Benutzername oder Passwort","Key (sent by eMail)":"Schlüssel (geschickt per eMail)","Last change":"Zuletzt geändert am","Last name (optional)":"Nachname (optional)","Latest news":"Letzte Neuigkeiten","Login":"Anmelden","Login with new account":"Anmelden mit neuem Konto","Logout":"Abmelden","Manage datasets":"Datensätze verwalten","Model Version":"Modell Version","Module":"Modul","New":"Neu","New dataset name":"Neuer Datensatz","New password (at least 6 characters)":"Neues Passwort (mindestens 6 Zeichen)","New tag name":"Neuer Tag Name","No log messages.":"Kein Log-Nachrichten.","Open in Excel":"Mit Excel öffnen","Options":"Optionen","Order":"Sortierung","Organisation (optional)":"Organisation (optional)","Parameter validation":"Parameter Gültigkeit","Parameters":"Parameter","Paramètre d'entrée":"Eingabe-Parameter","Password":"Passwort","Password (minimum 6 characters)":"Passwort (mindestens 6 Zeichen)","Password change failed, please try again.":"Die Passwort nicht geändert. Bitte nochmals probieren.","Password changed successfully.":"Passwort geändert.","Password must have at least 6 characters.":"Das Passwort muss mindestens 6 Zeichen lang sein.","Passwords did not match. Please try again.":"Die Passwort-Eingaben stimmen nicht überein. Bitte nochmals probieren.","Passwords must be equal.":"Die Passwort-Eingaben müssen identisch sein.","Please authenticate yourself":"Bitte melden Sie sich an","Please connect to a dataset before changing parameters.":"Bitte zuerst mit einem Datensatz verbinden.","Print":"Druck","Re-activate Account":"Konto re-aktivieren","Re-activate account":"Konto re-aktivieren","Read-only":"schreibgeschützt","Really delete selected available tags from database?":"Die ausgewählten verfügbaren Marker wirklich aus der Datenbank löschen?","Really delete selected datasets from database?":"Die ausgewählten Datensätze wirklich aus der Datenbank löschen?","Reference":"Referenz","Reference: ":"Referenz: ","Rename":"Umbenennen","Rename dataset":"Datensatz umbenennen","Rename instance":"Kategorie umbenennen","Rename tag":"Marker umbennen","Repeat Password":"Passwort wiederholen","Reset Password":"Passwort neu setzen","Reset column widths":"Spaltenbreite zurücksetzen","Reset password":"Passwort zurücksetzen","Sample datasets":"Beispiel-Datensätze","Select":"Auswählen","Set language ...":"Sprache wählen ...","Set reference":"Reference setzen","Set reference dataset":"Referenzdatensatz setzen","Show log":"Log anzeigen","Show tags":"Marker einblenden","Simulation log":"Simulations-Log","Tabular Results":"Resultate als Tabelle","Tag":"Marker","Tags":"Marker","The following messages have been published since your last login on ":"Die folgenden Informationen wurden publiziert seit Ihrer letzten Benutzung am ","This field is required":"Dieses Feld ist erforderlich","Type: floating point number":"Typ: beliebige Zahl","Type: integer":"Typ: ganzzahliger Wert","Type: number between 0 and 100":"Typ: Zahl zwischen 0 und 100","Unit":"Einheit","Unknown validator function":"Unbekannte Validierungsfunktion","User: ":"Benuzter: ","Username":"Benutzername","Value":"Wert","Variable":"Variable","already exists":"existiert bereits.","and":"und","dataset":"Datensatz","datasets":"Datensätze","deleted":"gelöscht","doesn't match":"passt nicht auf","eMail (will be your username)":"eMail (wird Ihr Benutzername sein)","eMail (your username)":"eMail (Ihr Benutzername)","is not a valid floating point number":"ist kein gültiger Zahlenwert","key_full_Alt":"Alt","key_full_Apps":"Kontextmenü","key_full_Backspace":"Rücktaste","key_full_CapsLock":"Feststelltaste","key_full_Control":"Steuerung","key_full_Delete":"Entfernen","key_full_Down":"Pfeil runter","key_full_End":"Ende","key_full_Enter":"Enter","key_full_Escape":"Escape","key_full_Home":"Position 1","key_full_Insert":"Einfügen","key_full_Left":"Pfeil links","key_full_Meta":"Meta","key_full_NumLock":"NumLock","key_full_PageDown":"Bild runter ","key_full_PageUp":"Bild hoch","key_full_Pause":"Pause","key_full_PrintScreen":"Drucken","key_full_Right":"Pfeil rechts","key_full_Scroll":"Rollen","key_full_Shift":"Umschalttaste","key_full_Space":"Leertaste","key_full_Tab":"Tabulator","key_full_Up":"Pfeil hoch","key_full_Win":"Windowstaste","key_short_Alt":"Alt","key_short_Apps":"Kontext","key_short_Backspace":"Rück","key_short_CapsLock":"Feststell","key_short_Control":"Strg","key_short_Delete":"Entf","key_short_Down":"Runter","key_short_End":"Ende","key_short_Enter":"Enter","key_short_Escape":"Esc","key_short_Home":"Pos1","key_short_Insert":"Einfg","key_short_Left":"Links","key_short_Meta":"Meta","key_short_NumLock":"Num","key_short_PageDown":"Bild runter","key_short_PageUp":"Bild hoch","key_short_Pause":"Pause","key_short_PrintScreen":"Druck","key_short_Right":"Rechts ","key_short_Scroll":"Rollen","key_short_Shift":"Umschalt","key_short_Space":"Leer","key_short_Tab":"Tab","key_short_Up":"Hoch","key_short_Win":"Win","not between":"nicht zwischen","not bigger than":"nicht grösser als","not equal or bigger than":"nicht grösser gleich als","not equal or less than":"nicht kleiner gleich als","not less than":"nicht kleiner als","one of one row":"Eine von einer Zeile","one row":"Eine Zeile","renamed to":"umbenannt in"},"en":{"Please authenticate yourself":"Please authenticate yourself"},"fr":{" button":"bouton","%1 does not fit %2.":"%1 ne correspond pas à %2.","%1 is not a color! %2":"%1 n'est pas une couleur ! %2","%1 is not a number.":"%1 n'est pas un chiffre.","%1 is not a string.":"%1 n'est pas une chaîne de caractères.","%1 is not an url.":"%1 n'est pas un URL.","%1 is not in %2":"%1 n'est pas dans %2","%1 is not in the range from [%2, %3].":"%1 n'est pas dans l'intervalle [%2, %3].","%1 of %2 rows":"ligne %1 de %2","%1 rows":"%1 lignes","'%1' is not an email address.":"'%1'n'est pas une adresse email.","About":"A propos de","Account created.":"Compte créé","Activate Account":"Activer le compte","Activate new account":"Activer un nouveau compte","Add instance":"Ajouter une catégorie","Agrammon is not supported on Internet Explorer below version 7":"Agrammon n'est pas compatible avec une version d'Internet Explorer inférieure à 7","An activation key will be sent to you by eMail after pressing the":"Une clé d'activation va vous être envoyée par email en cliquant sur ce","Cancel":"Annuler","Change":"Changer","Change Log":"Changer de Log","Change password":"Modifier le mot de passe","Changing password for ":"Change le mot de passe pour ","Check instance":"Contrôler une catégorie","Choose table: ":"Choisir un tableau","Clear reference dataset":"Effacer les données de référence","Clone dataset":"Copier les données","Cloning dataset":"Copie les données","Close":"Fermer","Confirm password":"Confirmer le mot de passe","Connect":"Relier","Connect to dataset":"Se relier aux données","Create Account":"Créer un compte","Create New Account":"Créer un nouveau compte","Create PDF":"Créer un PDF","Create new account":"Créer un nouveau compte","Create new dataset":"Créer un nouveau set de données","Current password":"Mot de passe actuel","Dataset":"Données","Dataset name":"Nom des données","Datasets of":"Données de","Delete":"Effacer","Delete instance":"Effacer une catégorie","Documentation":"Documentation","Doubleclick to edit":"Double-cliquez pour éditer","Duplicate instance":"Copier une catégorie","Edit":"Editer","Eingabe-Parameter":"Paramètre d'entrée","Enter key below to activate your account":"Entrer la clé ci-dessous pour activer votre compte","Enter key below to re-activate your account":"Entrer la clé ci-dessous pour réactiver votre compte","File":"Fichier","First name (optional)":"Prénom (facultatif)","Graphical Results":"Résultats graphiques","Help":"Aide","Info":"Info","Input":"Entrée","Input Parameter":"Paramètre d'entrée","Key (sent by eMail)":"Clé (envoyée par e-mail)","Last change":"Dernière modification","Last name (optional)":"Nom (facultatif)","Login":"Entrer","Login with new account":"Entrer avec un nouveau compte","Logout":"Déconnexion","Manage datasets":"Gérer les données","Model Version":"Version du modèle","Module":"Module","New dataset name":"Nom du nouveau set de données","New password (at least 6 characters)":"Nouveau mot de passe (au moins 6 caractères)","Open in Excel":"Ouvrir sous Excel","Options":"Options","Order":"Trier","Organisation (optional)":"Organisation (facultatif)","Parameters":"Paramètres","Paramètre d'entrée":"Paramètre d'entrée","Password":"Mot de passe","Password (minimum 6 characters)":"Mot de passe (min. 6 caractères)","Password change failed, please try again.":"La modification n'a pas fonctionné, veuillez réessayer","Password changed successfully.":"Le mot de passe a été modifié","Passwords did not match. Please try again.":"Les mots de passe ne correspondent pas. Veuillez réessayer.","Please authenticate yourself":"Veuillez s'il vous plaît vous identifier","Please connect to a dataset before changing parameters.":"Veuillez vous relier à un set de données avant de modifier les paramètres","Print":"Imprimer","Re-activate Account":"Réactiver le compte","Re-activate account":"Réactiver le compte","Read-only":"Lecture seule","Reference":"Référence","Rename":"Renommer","Rename dataset":"Renommer les données","Rename instance":"Renommer une catégorie","Repeat Password":"Répétez votre mot de passe","Reset Password":"Changer de mot de passe","Reset column widths":"Réinitialiser la largeur des colonnes","Reset password":"Changer de mot de passe","Select":"Sélectionner","Set language ...":"Sélectionner la langue","Set reference dataset":"Ajouter les données de référence","Tabular Results":"Résultats sous forme de tableau","This field is required":"ce champ est requis","Unit":"Unité","Username":"Nom d'utilisateur","Value":"Valeur","Variable":"Variable","eMail (will be your username)":"e-mail (sera votre nom d'utilisateur)","eMail (your username)":"e-mail (votre nom d'utilisateur)","key_full_Alt":"Alternative","key_full_Apps":"Application","key_full_Backspace":"Effacement arrière","key_full_CapsLock":"Verrouillage des Majuscule","key_full_Control":"Contrôle","key_full_Delete":"Suppression","key_full_Down":"Bas","key_full_End":"Fin","key_full_Enter":"Entrée","key_full_Escape":"Échappement","key_full_Home":"Origine","key_full_Insert":"Insertion","key_full_Left":"Gauche","key_full_Meta":"Meta","key_full_NumLock":"Verouillage Numérique","key_full_PageDown":"Page Suivante","key_full_PageUp":"Page Précédente","key_full_Pause":"Pause","key_full_PrintScreen":"Impression de l'écran","key_full_Right":"Droite","key_full_Scroll":"Arrêt défilement","key_full_Shift":"Majuscules","key_full_Space":"Espace","key_full_Tab":"Tabulation","key_full_Up":"Haut","key_full_Win":"Windows","key_short_Alt":"Alt","key_short_Apps":"App.","key_short_Backspace":"Effacement Arrière","key_short_CapsLock":"Verr. Maj.","key_short_Control":"Ctrl","key_short_Delete":"Supp.","key_short_Down":"Bas","key_short_End":"Fin","key_short_Enter":"Entrée","key_short_Escape":"Echap.","key_short_Home":"Orig.","key_short_Insert":"Ins.","key_short_Left":"Gauche","key_short_Meta":"Meta","key_short_NumLock":"Verr. Num.","key_short_PageDown":"Pg Suiv.","key_short_PageUp":"Pg Préc.","key_short_Pause":"Pause","key_short_PrintScreen":"Imp. Écran","key_short_Right":"Droite","key_short_Scroll":"Arrêt Défil","key_short_Shift":"Maj","key_short_Space":"Espace","key_short_Tab":"Tab","key_short_Up":"Haut","key_short_Win":"Win","one of one row":"ligne une de une","one row":"une ligne","renamed to":"Renommé en"}}};
(function(){var ba="toString",Y=".",X="default",W="Object",V='"',U="Array",T="()",S="String",R="Function",Q=".prototype",bz="function",by="Boolean",bx="Error",bw="constructor",bv="warn",bu="hasOwnProperty",bt="string",bs="toLocaleString",br="RegExp",bq='\", "',bh="info",bi="BROKEN_IE",bf="isPrototypeOf",bg="Date",bd="",be="qx.Bootstrap",bb="]",bc="Class",bj="error",bk="[Class ",bm="valueOf",bl="Number",bo="count",bn="debug",bp="ES5";
if(!window.qx){window.qx={};
}qx.Bootstrap={genericToString:function(){return bk+this.classname+bb;
},createNamespace:function(name,bN){var bP=name.split(Y);
var parent=window;
var bO=bP[0];

for(var i=0,bQ=bP.length-1;i<bQ;i++,bO=bP[i]){if(!parent[bO]){parent=parent[bO]={};
}else{parent=parent[bO];
}}parent[bO]=bN;
return bO;
},setDisplayName:function(p,q,name){p.displayName=q+Y+name+T;
},setDisplayNames:function(C,D){for(var name in C){var E=C[name];

if(E instanceof Function){E.displayName=D+Y+name+T;
}}},define:function(name,cc){if(!cc){var cc={statics:{}};
}var ch;
var cf=null;
qx.Bootstrap.setDisplayNames(cc.statics,name);

if(cc.members||cc.extend){qx.Bootstrap.setDisplayNames(cc.members,name+Q);
ch=cc.construct||new Function;

if(cc.extend){this.extendClass(ch,ch,cc.extend,name,cg);
}var cd=cc.statics||{};
for(var i=0,ci=qx.Bootstrap.getKeys(cd),l=ci.length;i<l;i++){var cj=ci[i];
ch[cj]=cd[cj];
}cf=ch.prototype;
var ce=cc.members||{};
for(var i=0,ci=qx.Bootstrap.getKeys(ce),l=ci.length;i<l;i++){var cj=ci[i];
cf[cj]=ce[cj];
}}else{ch=cc.statics||{};
}var cg=this.createNamespace(name,ch);
ch.name=ch.classname=name;
ch.basename=cg;
ch.$$type=bc;
if(!ch.hasOwnProperty(ba)){ch.toString=this.genericToString;
}if(cc.defer){cc.defer(ch,cf);
}qx.Bootstrap.$$registry[name]=cc.statics;
return ch;
}};
qx.Bootstrap.define(be,{statics:{LOADSTART:qx.$$start||new Date(),createNamespace:qx.Bootstrap.createNamespace,define:qx.Bootstrap.define,setDisplayName:qx.Bootstrap.setDisplayName,setDisplayNames:qx.Bootstrap.setDisplayNames,genericToString:qx.Bootstrap.genericToString,extendClass:function(t,u,v,name,w){var z=v.prototype;
var y=new Function;
y.prototype=z;
var x=new y;
t.prototype=x;
x.name=x.classname=name;
x.basename=w;
u.base=t.superclass=v;
u.self=t.constructor=x.constructor=t;
},getByName:function(name){return qx.Bootstrap.$$registry[name];
},$$registry:{},objectGetLength:({"count":function(bG){return bG.__count__;
},"default":function(bX){var length=0;

for(var bY in bX){length++;
}return length;
}})[(({}).__count__==0)?bo:X],objectMergeWith:function(f,g,h){if(h===undefined){h=true;
}
for(var j in g){if(h||f[j]===undefined){f[j]=g[j];
}}return f;
},__a:[bf,bu,bs,ba,bm,bw],getKeys:({"ES5":Object.keys,"BROKEN_IE":function(bB){var bC=[];

for(var bF in bB){bC.push(bF);
}var bD=qx.Bootstrap.__a;
var bE=Object.prototype.hasOwnProperty;

for(var i=0,a=bD,l=a.length;i<l;i++){if(bE.call(bB,a[i])){bC.push(a[i]);
}}return bC;
},"default":function(I){var J=[];

for(var K in I){J.push(K);
}return J;
}})[typeof (Object.keys)==
bz?bp:
(function(){for(var F in {toString:1}){return F;
}})()!==ba?bi:X],getKeysAsString:function(ca){var cb=qx.Bootstrap.getKeys(ca);

if(cb.length==0){return bd;
}return V+cb.join(bq)+V;
},__b:{"[object String]":S,"[object Array]":U,"[object Object]":W,"[object RegExp]":br,"[object Number]":bl,"[object Boolean]":by,"[object Date]":bg,"[object Function]":R,"[object Error]":bx},bind:function(c,self,d){var e=Array.prototype.slice.call(arguments,2,arguments.length);
return function(){var bA=Array.prototype.slice.call(arguments,0,arguments.length);
return c.apply(self,e.concat(bA));
};
},firstUp:function(N){return N.charAt(0).toUpperCase()+N.substr(1);
},firstLow:function(bV){return bV.charAt(0).toLowerCase()+bV.substr(1);
},getClass:function(bL){var bM=Object.prototype.toString.call(bL);
return (qx.Bootstrap.__b[bM]||bM.slice(8,-1));
},isString:function(r){return (r!==null&&(typeof r===bt||qx.Bootstrap.getClass(r)==S||r instanceof String||(!!r&&!!r.$$isString)));
},isArray:function(G){return (G!==null&&(G instanceof Array||(G&&qx.data&&qx.data.IListData&&qx.Bootstrap.hasInterface(G.constructor,qx.data.IListData))||qx.Bootstrap.getClass(G)==U||(!!G&&!!G.$$isArray)));
},isObject:function(L){return (L!==undefined&&L!==null&&qx.Bootstrap.getClass(L)==W);
},isFunction:function(b){return qx.Bootstrap.getClass(b)==R;
},classIsDefined:function(name){return qx.Bootstrap.getByName(name)!==undefined;
},getPropertyDefinition:function(M,name){while(M){if(M.$$properties&&M.$$properties[name]){return M.$$properties[name];
}M=M.superclass;
}return null;
},hasProperty:function(H,name){return !!qx.Bootstrap.getPropertyDefinition(H,name);
},getEventType:function(s,name){var s=s.constructor;

while(s.superclass){if(s.$$events&&s.$$events[name]!==undefined){return s.$$events[name];
}s=s.superclass;
}return null;
},supportsEvent:function(bW,name){return !!qx.Bootstrap.getEventType(bW,name);
},getByInterface:function(bS,bT){var bU,i,l;

while(bS){if(bS.$$implements){bU=bS.$$flatImplements;

for(i=0,l=bU.length;i<l;i++){if(bU[i]===bT){return bS;
}}}bS=bS.superclass;
}return null;
},hasInterface:function(n,o){return !!qx.Bootstrap.getByInterface(n,o);
},getMixins:function(O){var P=[];

while(O){if(O.$$includes){P.push.apply(P,O.$$flatIncludes);
}O=O.superclass;
}return P;
},$$logs:[],debug:function(A,B){qx.Bootstrap.$$logs.push([bn,arguments]);
},info:function(bJ,bK){qx.Bootstrap.$$logs.push([bh,arguments]);
},warn:function(k,m){qx.Bootstrap.$$logs.push([bv,arguments]);
},error:function(bH,bI){qx.Bootstrap.$$logs.push([bj,arguments]);
},trace:function(bR){}}});
})();
(function(){var n="qx.allowUrlSettings",m="&",l="qx.core.Setting",k="qx.allowUrlVariants",j="qx.propertyDebugLevel",h="qxsetting",g=":",f=".";
qx.Bootstrap.define(l,{statics:{__c:{},define:function(s,t){if(t===undefined){throw new Error('Default value of setting "'+s+'" must be defined!');
}
if(!this.__c[s]){this.__c[s]={};
}else if(this.__c[s].defaultValue!==undefined){throw new Error('Setting "'+s+'" is already defined!');
}this.__c[s].defaultValue=t;
},get:function(o){var p=this.__c[o];

if(p===undefined){throw new Error('Setting "'+o+'" is not defined.');
}
if(p.value!==undefined){return p.value;
}return p.defaultValue;
},set:function(d,e){if((d.split(f)).length<2){throw new Error('Malformed settings key "'+d+'". Must be following the schema "namespace.key".');
}
if(!this.__c[d]){this.__c[d]={};
}this.__c[d].value=e;
},__d:function(){if(window.qxsettings){for(var q in window.qxsettings){this.set(q,window.qxsettings[q]);
}window.qxsettings=undefined;

try{delete window.qxsettings;
}catch(c){}this.__e();
}},__e:function(){if(this.get(n)!=true){return;
}var b=document.location.search.slice(1).split(m);

for(var i=0;i<b.length;i++){var a=b[i].split(g);

if(a.length!=3||a[0]!=h){continue;
}this.set(a[1],decodeURIComponent(a[2]));
}}},defer:function(r){r.define(n,false);
r.define(k,false);
r.define(j,0);
r.__d();
}});
})();
(function(){var q="function",p="Boolean",o="qx.Interface",n="]",m="toggle",k="Interface",j="is",h="[Interface ";
qx.Bootstrap.define(o,{statics:{define:function(name,D){if(D){if(D.extend&&!(D.extend instanceof Array)){D.extend=[D.extend];
}{};
var E=D.statics?D.statics:{};
if(D.extend){E.$$extends=D.extend;
}
if(D.properties){E.$$properties=D.properties;
}
if(D.members){E.$$members=D.members;
}
if(D.events){E.$$events=D.events;
}}else{var E={};
}E.$$type=k;
E.name=name;
E.toString=this.genericToString;
E.basename=qx.Bootstrap.createNamespace(name,E);
qx.Interface.$$registry[name]=E;
return E;
},getByName:function(name){return this.$$registry[name];
},isDefined:function(name){return this.getByName(name)!==undefined;
},getTotalNumber:function(){return qx.Bootstrap.objectGetLength(this.$$registry);
},flatten:function(B){if(!B){return [];
}var C=B.concat();

for(var i=0,l=B.length;i<l;i++){if(B[i].$$extends){C.push.apply(C,this.flatten(B[i].$$extends));
}}return C;
},__f:function(F,G,H,I){var M=H.$$members;

if(M){for(var L in M){if(qx.Bootstrap.isFunction(M[L])){var K=this.__g(G,L);
var J=K||qx.Bootstrap.isFunction(F[L]);

if(!J){throw new Error('Implementation of method "'+L+'" is missing in class "'+G.classname+'" required by interface "'+H.name+'"');
}var N=I===true&&!K&&!qx.Bootstrap.hasInterface(G,H);

if(N){F[L]=this.__j(H,F[L],L,M[L]);
}}else{if(typeof F[L]===undefined){if(typeof F[L]!==q){throw new Error('Implementation of member "'+L+'" is missing in class "'+G.classname+'" required by interface "'+H.name+'"');
}}}}}},__g:function(r,s){var w=s.match(/^(is|toggle|get|set|reset)(.*)$/);

if(!w){return false;
}var t=qx.Bootstrap.firstLow(w[2]);
var u=qx.Bootstrap.getPropertyDefinition(r,t);

if(!u){return false;
}var v=w[0]==j||w[0]==m;

if(v){return qx.Bootstrap.getPropertyDefinition(r,t).check==p;
}return true;
},__h:function(O,P){if(P.$$properties){for(var Q in P.$$properties){if(!qx.Bootstrap.getPropertyDefinition(O,Q)){throw new Error('The property "'+Q+'" is not supported by Class "'+O.classname+'"!');
}}}},__i:function(a,b){if(b.$$events){for(var c in b.$$events){if(!qx.Bootstrap.supportsEvent(a,c)){throw new Error('The event "'+c+'" is not supported by Class "'+a.classname+'"!');
}}}},assertObject:function(x,y){var A=x.constructor;
this.__f(x,A,y,false);
this.__h(A,y);
this.__i(A,y);
var z=y.$$extends;

if(z){for(var i=0,l=z.length;i<l;i++){this.assertObject(x,z[i]);
}}},assert:function(d,e,f){this.__f(d.prototype,d,e,f);
this.__h(d,e);
this.__i(d,e);
var g=e.$$extends;

if(g){for(var i=0,l=g.length;i<l;i++){this.assert(d,g[i],f);
}}},genericToString:function(){return h+this.name+n;
},$$registry:{},__j:function(){},__k:null,__l:function(){}}});
})();
(function(){var j="qx.Mixin",h=".prototype",g="constructor",f="[Mixin ",e="]",d="destruct",c="Mixin";
qx.Bootstrap.define(j,{statics:{define:function(name,w){if(w){if(w.include&&!(w.include instanceof Array)){w.include=[w.include];
}{};
var y=w.statics?w.statics:{};
qx.Bootstrap.setDisplayNames(y,name);

for(var x in y){if(y[x] instanceof Function){y[x].$$mixin=y;
}}if(w.construct){y.$$constructor=w.construct;
qx.Bootstrap.setDisplayName(w.construct,name,g);
}
if(w.include){y.$$includes=w.include;
}
if(w.properties){y.$$properties=w.properties;
}
if(w.members){y.$$members=w.members;
qx.Bootstrap.setDisplayNames(w.members,name+h);
}
for(var x in y.$$members){if(y.$$members[x] instanceof Function){y.$$members[x].$$mixin=y;
}}
if(w.events){y.$$events=w.events;
}
if(w.destruct){y.$$destructor=w.destruct;
qx.Bootstrap.setDisplayName(w.destruct,name,d);
}}else{var y={};
}y.$$type=c;
y.name=name;
y.toString=this.genericToString;
y.basename=qx.Bootstrap.createNamespace(name,y);
this.$$registry[name]=y;
return y;
},checkCompatibility:function(o){var r=this.flatten(o);
var s=r.length;

if(s<2){return true;
}var v={};
var u={};
var t={};
var q;

for(var i=0;i<s;i++){q=r[i];

for(var p in q.events){if(t[p]){throw new Error('Conflict between mixin "'+q.name+'" and "'+t[p]+'" in member "'+p+'"!');
}t[p]=q.name;
}
for(var p in q.properties){if(v[p]){throw new Error('Conflict between mixin "'+q.name+'" and "'+v[p]+'" in property "'+p+'"!');
}v[p]=q.name;
}
for(var p in q.members){if(u[p]){throw new Error('Conflict between mixin "'+q.name+'" and "'+u[p]+'" in member "'+p+'"!');
}u[p]=q.name;
}}return true;
},isCompatible:function(k,m){var n=qx.Bootstrap.getMixins(m);
n.push(k);
return qx.Mixin.checkCompatibility(n);
},getByName:function(name){return this.$$registry[name];
},isDefined:function(name){return this.getByName(name)!==undefined;
},getTotalNumber:function(){return qx.Bootstrap.objectGetLength(this.$$registry);
},flatten:function(a){if(!a){return [];
}var b=a.concat();

for(var i=0,l=a.length;i<l;i++){if(a[i].$$includes){b.push.apply(b,this.flatten(a[i].$$includes));
}}return b;
},genericToString:function(){return f+this.name+e;
},$$registry:{},__m:null,__n:function(){}}});
})();
(function(){var de=';',dd="boolean",dc='return this.',db="string",da="",cY="setThemed",cX='!==undefined)',cW="this.",cV="set",cU="resetThemed",cJ="setRuntime",cI="init",cH='else if(this.',cG="resetRuntime",cF="reset",cE="();",cD='else ',cC='if(this.',cB="return this.",cA="get",dl=";",dm="(a[",dj=' of an instance of ',dk="refresh",dh=' is not (yet) ready!");',di="]);",df='qx.lang.Type.isString(value) && qx.util.ColorUtil.isValidPropertyValue(value)',dg='value !== null && qx.theme.manager.Font.getInstance().isDynamic(value)',dn='value !== null && value.nodeType === 9 && value.documentElement',dp='value !== null && value.$$type === "Mixin"',cN='return init;',cM='var init=this.',cP='value !== null && value.nodeType === 1 && value.attributes',cO="var parent = this.getLayoutParent();",cR="Error in property ",cQ="property",cT='qx.core.Assert.assertInstance(value, Date, msg) || true',cS="if (!parent) return;",cL=" in method ",cK='qx.core.Assert.assertInstance(value, Error, msg) || true',bA='Undefined value is not allowed!',bB="inherit",bC='Is invalid!',bD="MSIE 6.0",bE="': ",bF=" of class ",bG='value !== null && value.nodeType !== undefined',bH='value !== null && qx.theme.manager.Decoration.getInstance().isValidPropertyValue(value)',bI='qx.core.Assert.assertPositiveInteger(value, msg) || true',bJ='if(init==qx.core.Property.$$inherit)init=null;',dt='value !== null && value.$$type === "Interface"',ds='var inherit=prop.$$inherit;',dr="var value = parent.",dq="$$useinit_",dx="(value);",dw=".",dv="$$runtime_",du='Requires exactly one argument!',dz="$$user_",dy='qx.core.Assert.assertArray(value, msg) || true',cj='qx.core.Assert.assertPositiveNumber(value, msg) || true',ck=".prototype",ch="Boolean",ci='return value;',cn='if(init==qx.core.Property.$$inherit)throw new Error("Inheritable property ',co='Does not allow any arguments!',cl="()",cm="var a=arguments[0] instanceof Array?arguments[0]:arguments;",cf='value !== null && value.$$type === "Theme"',cg="())",bR='return null;',bQ='qx.core.Assert.assertObject(value, msg) || true',bT='qx.core.Assert.assertString(value, msg) || true',bS="if (value===undefined) value = parent.",bN='value !== null && value.$$type === "Class"',bM='qx.core.Assert.assertFunction(value, msg) || true',bP="on",bO="object",bL="$$init_",bK="$$theme_",ct='qx.core.Assert.assertMap(value, msg) || true',cu="qx.aspects",cv='qx.core.Assert.assertNumber(value, msg) || true',cw='Null value is not allowed!',cp='qx.core.Assert.assertInteger(value, msg) || true',cq="value",cr="rv:1.8.1",cs="shorthand",cx='qx.core.Assert.assertInstance(value, RegExp, msg) || true',cy='value !== null && value.type !== undefined',cc='value !== null && value.document',cb='throw new Error("Property ',ca="(!this.",bY='qx.core.Assert.assertBoolean(value, msg) || true',bX="toggle",bW="$$inherit_",bV=" with incoming value '",bU="a=qx.lang.Array.fromShortHand(qx.lang.Array.fromArguments(a));",ce="qx.core.Property",cd="is",cz='Could not change or apply init value after constructing phase!';
qx.Bootstrap.define(ce,{statics:{__o:{"Boolean":bY,"String":bT,"Number":cv,"Integer":cp,"PositiveNumber":cj,"PositiveInteger":bI,"Error":cK,"RegExp":cx,"Object":bQ,"Array":dy,"Map":ct,"Function":bM,"Date":cT,"Node":bG,"Element":cP,"Document":dn,"Window":cc,"Event":cy,"Class":bN,"Mixin":dp,"Interface":dt,"Theme":cf,"Color":df,"Decorator":bH,"Font":dg},__p:{"Node":true,"Element":true,"Document":true,"Window":true,"Event":true},$$inherit:bB,$$store:{runtime:{},user:{},theme:{},inherit:{},init:{},useinit:{}},$$method:{get:{},set:{},reset:{},init:{},refresh:{},setRuntime:{},resetRuntime:{},setThemed:{},resetThemed:{}},$$allowedKeys:{name:db,dispose:dd,dereference:dd,inheritable:dd,nullable:dd,themeable:dd,refine:dd,init:null,apply:db,event:db,check:null,transform:db,deferredInit:dd,validate:null},$$allowedGroupKeys:{name:db,group:bO,mode:db,themeable:dd},$$inheritable:{},__q:function(dA){var dB=this.__r(dA);

if(!dB.length){var dC=qx.lang.Function.empty;
}else{dC=this.__s(dB);
}dA.prototype.$$refreshInheritables=dC;
},__r:function(m){var o=[];

while(m){var n=m.$$properties;

if(n){for(var name in this.$$inheritable){if(n[name]&&n[name].inheritable){o.push(name);
}}}m=m.superclass;
}return o;
},__s:function(bv){var bz=this.$$store.inherit;
var by=this.$$store.init;
var bx=this.$$method.refresh;
var bw=[cO,cS];

for(var i=0,l=bv.length;i<l;i++){var name=bv[i];
bw.push(dr,bz[name],dl,bS,by[name],dl,cW,bx[name],dx);
}return new Function(bw.join(da));
},refresh:function(u){{};
u.$$refreshInheritables();
},attachRefreshInheritables:function(S){S.prototype.$$refreshInheritables=function(){qx.core.Property.__q(S);
return this.$$refreshInheritables();
};
},attachMethods:function(p,name,q){q.group?this.__t(p,q,name):this.__u(p,q,name);
},__t:function(dD,dE,name){var dL=qx.Bootstrap.firstUp(name);
var dK=dD.prototype;
var dM=dE.themeable===true;
{};
var dN=[];
var dH=[];

if(dM){var dF=[];
var dJ=[];
}var dI=cm;
dN.push(dI);

if(dM){dF.push(dI);
}
if(dE.mode==cs){var dG=bU;
dN.push(dG);

if(dM){dF.push(dG);
}}
for(var i=0,a=dE.group,l=a.length;i<l;i++){{};
dN.push(cW,this.$$method.set[a[i]],dm,i,di);
dH.push(cW,this.$$method.reset[a[i]],cE);

if(dM){{};
dF.push(cW,this.$$method.setThemed[a[i]],dm,i,di);
dJ.push(cW,this.$$method.resetThemed[a[i]],cE);
}}this.$$method.set[name]=cV+dL;
dK[this.$$method.set[name]]=new Function(dN.join(da));
this.$$method.reset[name]=cF+dL;
dK[this.$$method.reset[name]]=new Function(dH.join(da));

if(dM){this.$$method.setThemed[name]=cY+dL;
dK[this.$$method.setThemed[name]]=new Function(dF.join(da));
this.$$method.resetThemed[name]=cU+dL;
dK[this.$$method.resetThemed[name]]=new Function(dJ.join(da));
}},__u:function(dW,dX,name){var ea=qx.Bootstrap.firstUp(name);
var ec=dW.prototype;
{};
{};
if(dX.dereference===undefined&&typeof dX.check===db){dX.dereference=this.__v(dX.check);
}var eb=this.$$method;
var dY=this.$$store;
dY.runtime[name]=dv+name;
dY.user[name]=dz+name;
dY.theme[name]=bK+name;
dY.init[name]=bL+name;
dY.inherit[name]=bW+name;
dY.useinit[name]=dq+name;
eb.get[name]=cA+ea;
ec[eb.get[name]]=function(){return qx.core.Property.executeOptimizedGetter(this,dW,name,cA);
};
eb.set[name]=cV+ea;
ec[eb.set[name]]=function(R){return qx.core.Property.executeOptimizedSetter(this,dW,name,cV,arguments);
};
eb.reset[name]=cF+ea;
ec[eb.reset[name]]=function(){return qx.core.Property.executeOptimizedSetter(this,dW,name,cF);
};

if(dX.inheritable||dX.apply||dX.event||dX.deferredInit){eb.init[name]=cI+ea;
ec[eb.init[name]]=function(v){return qx.core.Property.executeOptimizedSetter(this,dW,name,cI,arguments);
};
}
if(dX.inheritable){eb.refresh[name]=dk+ea;
ec[eb.refresh[name]]=function(bu){return qx.core.Property.executeOptimizedSetter(this,dW,name,dk,arguments);
};
}eb.setRuntime[name]=cJ+ea;
ec[eb.setRuntime[name]]=function(dS){return qx.core.Property.executeOptimizedSetter(this,dW,name,cJ,arguments);
};
eb.resetRuntime[name]=cG+ea;
ec[eb.resetRuntime[name]]=function(){return qx.core.Property.executeOptimizedSetter(this,dW,name,cG);
};

if(dX.themeable){eb.setThemed[name]=cY+ea;
ec[eb.setThemed[name]]=function(Q){return qx.core.Property.executeOptimizedSetter(this,dW,name,cY,arguments);
};
eb.resetThemed[name]=cU+ea;
ec[eb.resetThemed[name]]=function(){return qx.core.Property.executeOptimizedSetter(this,dW,name,cU);
};
}
if(dX.check===ch){ec[bX+ea]=new Function(cB+eb.set[name]+ca+eb.get[name]+cg);
ec[cd+ea]=new Function(cB+eb.get[name]+cl);
}},__v:function(V){return !!this.__p[V];
},__w:function(bt){return this.__p[bt]||qx.Bootstrap.classIsDefined(bt)||(qx.Interface&&qx.Interface.isDefined(bt));
},__x:{0:cz,1:du,2:bA,3:co,4:cw,5:bC},error:function(ba,bb,bc,bd,be){var bf=ba.constructor.classname;
var bg=cR+bc+bF+bf+cL+this.$$method[bd][bc]+bV+be+bE;
throw new Error(bg+(this.__x[bb]||"Unknown reason: "+bb));
},__y:function(A,B,name,C,D,E){var F=this.$$method[C][name];
{B[F]=new Function(cq,D.join(da));
};
if(qx.core.Variant.isSet(cu,bP)){B[F]=qx.core.Aspect.wrap(A.classname+dw+F,B[F],cQ);
}qx.Bootstrap.setDisplayName(B[F],A.classname+ck,F);
if(E===undefined){return A[F]();
}else{return A[F](E[0]);
}},executeOptimizedGetter:function(bm,bn,name,bo){var bq=bn.$$properties[name];
var bs=bn.prototype;
var bp=[];
var br=this.$$store;
bp.push(cC,br.runtime[name],cX);
bp.push(dc,br.runtime[name],de);

if(bq.inheritable){bp.push(cH,br.inherit[name],cX);
bp.push(dc,br.inherit[name],de);
bp.push(cD);
}bp.push(cC,br.user[name],cX);
bp.push(dc,br.user[name],de);

if(bq.themeable){bp.push(cH,br.theme[name],cX);
bp.push(dc,br.theme[name],de);
}
if(bq.deferredInit&&bq.init===undefined){bp.push(cH,br.init[name],cX);
bp.push(dc,br.init[name],de);
}bp.push(cD);

if(bq.init!==undefined){if(bq.inheritable){bp.push(cM,br.init[name],de);

if(bq.nullable){bp.push(bJ);
}else if(bq.init!==undefined){bp.push(dc,br.init[name],de);
}else{bp.push(cn,name,dj,bn.classname,dh);
}bp.push(cN);
}else{bp.push(dc,br.init[name],de);
}}else if(bq.inheritable||bq.nullable){bp.push(bR);
}else{bp.push(cb,name,dj,bn.classname,dh);
}return this.__y(bm,bs,name,bo,bp);
},executeOptimizedSetter:function(G,H,name,I,J){var O=H.$$properties[name];
var N=H.prototype;
var L=[];
var K=I===cV||I===cY||I===cJ||(I===cI&&O.init===undefined);
var M=O.apply||O.event||O.inheritable;
var P=this.__z(I,name);
this.__A(L,O,name,I,K);

if(K){this.__B(L,H,O,name);
}
if(M){this.__C(L,K,P,I);
}
if(O.inheritable){L.push(ds);
}{};

if(!M){this.__E(L,name,I,K);
}else{this.__F(L,O,name,I,K);
}
if(O.inheritable){this.__G(L,O,name,I);
}else if(M){this.__H(L,O,name,I);
}
if(M){this.__I(L,O,name);
if(O.inheritable&&N._getChildren){this.__J(L,name);
}}if(K){L.push(ci);
}return this.__y(G,N,name,I,L,J);
},__z:function(T,name){if(T===cJ||T===cG){var U=this.$$store.runtime[name];
}else if(T===cY||T===cU){U=this.$$store.theme[name];
}else if(T===cI){U=this.$$store.init[name];
}else{U=this.$$store.user[name];
}return U;
},__A:function(b,c,name,d,e){{if(!c.nullable||c.check||c.inheritable){b.push('var prop=qx.core.Property;');
}if(d==="set"){b.push('if(value===undefined)prop.error(this,2,"',name,'","',d,'",value);');
}};
},__B:function(h,j,k,name){if(k.transform){h.push('value=this.',k.transform,'(value);');
}if(k.validate){if(typeof k.validate==="string"){h.push('this.',k.validate,'(value);');
}else if(k.validate instanceof Function){h.push(j.classname,'.$$properties.',name);
h.push('.validate.call(this, value);');
}}},__C:function(bh,bi,bj,bk){var bl=(bk==="reset"||bk==="resetThemed"||bk==="resetRuntime");

if(bi){bh.push('if(this.',bj,'===value)return value;');
}else if(bl){bh.push('if(this.',bj,'===undefined)return;');
}},__D:undefined,__E:function(dO,name,dP,dQ){if(dP==="setRuntime"){dO.push('this.',this.$$store.runtime[name],'=value;');
}else if(dP==="resetRuntime"){dO.push('if(this.',this.$$store.runtime[name],'!==undefined)');
dO.push('delete this.',this.$$store.runtime[name],';');
}else if(dP==="set"){dO.push('this.',this.$$store.user[name],'=value;');
}else if(dP==="reset"){dO.push('if(this.',this.$$store.user[name],'!==undefined)');
dO.push('delete this.',this.$$store.user[name],';');
}else if(dP==="setThemed"){dO.push('this.',this.$$store.theme[name],'=value;');
}else if(dP==="resetThemed"){dO.push('if(this.',this.$$store.theme[name],'!==undefined)');
dO.push('delete this.',this.$$store.theme[name],';');
}else if(dP==="init"&&dQ){dO.push('this.',this.$$store.init[name],'=value;');
}},__F:function(w,x,name,y,z){if(x.inheritable){w.push('var computed, old=this.',this.$$store.inherit[name],';');
}else{w.push('var computed, old;');
}w.push('if(this.',this.$$store.runtime[name],'!==undefined){');

if(y==="setRuntime"){w.push('computed=this.',this.$$store.runtime[name],'=value;');
}else if(y==="resetRuntime"){w.push('delete this.',this.$$store.runtime[name],';');
w.push('if(this.',this.$$store.user[name],'!==undefined)');
w.push('computed=this.',this.$$store.user[name],';');
w.push('else if(this.',this.$$store.theme[name],'!==undefined)');
w.push('computed=this.',this.$$store.theme[name],';');
w.push('else if(this.',this.$$store.init[name],'!==undefined){');
w.push('computed=this.',this.$$store.init[name],';');
w.push('this.',this.$$store.useinit[name],'=true;');
w.push('}');
}else{w.push('old=computed=this.',this.$$store.runtime[name],';');
if(y==="set"){w.push('this.',this.$$store.user[name],'=value;');
}else if(y==="reset"){w.push('delete this.',this.$$store.user[name],';');
}else if(y==="setThemed"){w.push('this.',this.$$store.theme[name],'=value;');
}else if(y==="resetThemed"){w.push('delete this.',this.$$store.theme[name],';');
}else if(y==="init"&&z){w.push('this.',this.$$store.init[name],'=value;');
}}w.push('}');
w.push('else if(this.',this.$$store.user[name],'!==undefined){');

if(y==="set"){if(!x.inheritable){w.push('old=this.',this.$$store.user[name],';');
}w.push('computed=this.',this.$$store.user[name],'=value;');
}else if(y==="reset"){if(!x.inheritable){w.push('old=this.',this.$$store.user[name],';');
}w.push('delete this.',this.$$store.user[name],';');
w.push('if(this.',this.$$store.runtime[name],'!==undefined)');
w.push('computed=this.',this.$$store.runtime[name],';');
w.push('if(this.',this.$$store.theme[name],'!==undefined)');
w.push('computed=this.',this.$$store.theme[name],';');
w.push('else if(this.',this.$$store.init[name],'!==undefined){');
w.push('computed=this.',this.$$store.init[name],';');
w.push('this.',this.$$store.useinit[name],'=true;');
w.push('}');
}else{if(y==="setRuntime"){w.push('computed=this.',this.$$store.runtime[name],'=value;');
}else if(x.inheritable){w.push('computed=this.',this.$$store.user[name],';');
}else{w.push('old=computed=this.',this.$$store.user[name],';');
}if(y==="setThemed"){w.push('this.',this.$$store.theme[name],'=value;');
}else if(y==="resetThemed"){w.push('delete this.',this.$$store.theme[name],';');
}else if(y==="init"&&z){w.push('this.',this.$$store.init[name],'=value;');
}}w.push('}');
if(x.themeable){w.push('else if(this.',this.$$store.theme[name],'!==undefined){');

if(!x.inheritable){w.push('old=this.',this.$$store.theme[name],';');
}
if(y==="setRuntime"){w.push('computed=this.',this.$$store.runtime[name],'=value;');
}else if(y==="set"){w.push('computed=this.',this.$$store.user[name],'=value;');
}else if(y==="setThemed"){w.push('computed=this.',this.$$store.theme[name],'=value;');
}else if(y==="resetThemed"){w.push('delete this.',this.$$store.theme[name],';');
w.push('if(this.',this.$$store.init[name],'!==undefined){');
w.push('computed=this.',this.$$store.init[name],';');
w.push('this.',this.$$store.useinit[name],'=true;');
w.push('}');
}else if(y==="init"){if(z){w.push('this.',this.$$store.init[name],'=value;');
}w.push('computed=this.',this.$$store.theme[name],';');
}else if(y==="refresh"){w.push('computed=this.',this.$$store.theme[name],';');
}w.push('}');
}w.push('else if(this.',this.$$store.useinit[name],'){');

if(!x.inheritable){w.push('old=this.',this.$$store.init[name],';');
}
if(y==="init"){if(z){w.push('computed=this.',this.$$store.init[name],'=value;');
}else{w.push('computed=this.',this.$$store.init[name],';');
}}else if(y==="set"||y==="setRuntime"||y==="setThemed"||y==="refresh"){w.push('delete this.',this.$$store.useinit[name],';');

if(y==="setRuntime"){w.push('computed=this.',this.$$store.runtime[name],'=value;');
}else if(y==="set"){w.push('computed=this.',this.$$store.user[name],'=value;');
}else if(y==="setThemed"){w.push('computed=this.',this.$$store.theme[name],'=value;');
}else if(y==="refresh"){w.push('computed=this.',this.$$store.init[name],';');
}}w.push('}');
if(y==="set"||y==="setRuntime"||y==="setThemed"||y==="init"){w.push('else{');

if(y==="setRuntime"){w.push('computed=this.',this.$$store.runtime[name],'=value;');
}else if(y==="set"){w.push('computed=this.',this.$$store.user[name],'=value;');
}else if(y==="setThemed"){w.push('computed=this.',this.$$store.theme[name],'=value;');
}else if(y==="init"){if(z){w.push('computed=this.',this.$$store.init[name],'=value;');
}else{w.push('computed=this.',this.$$store.init[name],';');
}w.push('this.',this.$$store.useinit[name],'=true;');
}w.push('}');
}},__G:function(dT,dU,name,dV){dT.push('if(computed===undefined||computed===inherit){');

if(dV==="refresh"){dT.push('computed=value;');
}else{dT.push('var pa=this.getLayoutParent();if(pa)computed=pa.',this.$$store.inherit[name],';');
}dT.push('if((computed===undefined||computed===inherit)&&');
dT.push('this.',this.$$store.init[name],'!==undefined&&');
dT.push('this.',this.$$store.init[name],'!==inherit){');
dT.push('computed=this.',this.$$store.init[name],';');
dT.push('this.',this.$$store.useinit[name],'=true;');
dT.push('}else{');
dT.push('delete this.',this.$$store.useinit[name],';}');
dT.push('}');
dT.push('if(old===computed)return value;');
dT.push('if(computed===inherit){');
dT.push('computed=undefined;delete this.',this.$$store.inherit[name],';');
dT.push('}');
dT.push('else if(computed===undefined)');
dT.push('delete this.',this.$$store.inherit[name],';');
dT.push('else this.',this.$$store.inherit[name],'=computed;');
dT.push('var backup=computed;');
if(dU.init!==undefined&&dV!=="init"){dT.push('if(old===undefined)old=this.',this.$$store.init[name],";");
}else{dT.push('if(old===undefined)old=null;');
}dT.push('if(computed===undefined||computed==inherit)computed=null;');
},__H:function(W,X,name,Y){if(Y!=="set"&&Y!=="setRuntime"&&Y!=="setThemed"){W.push('if(computed===undefined)computed=null;');
}W.push('if(old===computed)return value;');
if(X.init!==undefined&&Y!=="init"){W.push('if(old===undefined)old=this.',this.$$store.init[name],";");
}else{W.push('if(old===undefined)old=null;');
}},__I:function(f,g,name){if(g.apply){f.push('this.',g.apply,'(computed, old, "',name,'");');
}if(g.event){f.push("var reg=qx.event.Registration;","if(reg.hasListener(this, '",g.event,"')){","reg.fireEvent(this, '",g.event,"', qx.event.type.Data, [computed, old]",")}");
}},__J:function(dR,name){dR.push('var a=this._getChildren();if(a)for(var i=0,l=a.length;i<l;i++){');
dR.push('if(a[i].',this.$$method.refresh[name],')a[i].',this.$$method.refresh[name],'(backup);');
dR.push('}');
}},defer:function(r){var t=navigator.userAgent.indexOf(bD)!=-1;
var s=navigator.userAgent.indexOf(cr)!=-1;
if(t||s){r.__v=r.__w;
}}});
})();
(function(){var h="qx.bom.client.Engine";
qx.Bootstrap.define(h,{statics:{NAME:"",FULLVERSION:"0.0.0",VERSION:0.0,OPERA:false,WEBKIT:false,GECKO:false,MSHTML:false,UNKNOWN_ENGINE:false,UNKNOWN_VERSION:false,DOCUMENT_MODE:null,__K:function(){var a="unknown";
var e="0.0.0";
var d=window.navigator.userAgent;
var g=false;
var c=false;

if(window.opera&&Object.prototype.toString.call(window.opera)=="[object Opera]"){a="opera";
this.OPERA=true;
if(/Opera[\s\/]([0-9]+)\.([0-9])([0-9]*)/.test(d)){e=RegExp.$1+"."+RegExp.$2;

if(RegExp.$3!=""){e+="."+RegExp.$3;
}}else{c=true;
e="9.6.0";
}}else if(window.navigator.userAgent.indexOf("AppleWebKit/")!=-1){a="webkit";
this.WEBKIT=true;

if(/AppleWebKit\/([^ ]+)/.test(d)){e=RegExp.$1;
var f=RegExp("[^\\.0-9]").exec(e);

if(f){e=e.slice(0,f.index);
}}else{c=true;
e="525.26";
}}else if(window.controllers&&window.navigator.product==="Gecko"){a="gecko";
this.GECKO=true;
if(/rv\:([^\);]+)(\)|;)/.test(d)){e=RegExp.$1;
}else{c=true;
e="1.9.0.0";
}}else if(window.navigator.cpuClass&&/MSIE\s+([^\);]+)(\)|;)/.test(d)){a="mshtml";
e=RegExp.$1;

if(document.documentMode){this.DOCUMENT_MODE=document.documentMode;
}if(e<8&&/Trident\/([^\);]+)(\)|;)/.test(d)){if(RegExp.$1==="4.0"){e="8.0";
}}this.MSHTML=true;
}else{var b=window.qxFail;

if(b&&typeof b==="function"){var a=b();

if(a.NAME&&a.FULLVERSION){a=a.NAME;
this[a.toUpperCase()]=true;
e=a.FULLVERSION;
}}else{g=true;
c=true;
e="1.9.0.0";
a="gecko";
this.GECKO=true;
qx.Bootstrap.warn("Unsupported client: "+d+"! Assumed gecko version 1.9.0.0 (Firefox 3.0).");
}}this.UNKNOWN_ENGINE=g;
this.UNKNOWN_VERSION=c;
this.NAME=a;
this.FULLVERSION=e;
this.VERSION=parseFloat(e);
}},defer:function(i){i.__K();
}});
})();
(function(){var x="on",w="off",u="|",t="default",s="gecko",r="qx.aspects",q="$",p="qx.debug",o="qx.dynlocale",n="webkit",j="opera",m="qx.client",k="qx.core.Variant",h="mshtml";
qx.Bootstrap.define(k,{statics:{__L:{},__M:{},compilerIsSet:function(){return true;
},define:function(B,C,D){{};

if(!this.__L[B]){this.__L[B]={};
}else{}this.__L[B].allowedValues=C;
this.__L[B].defaultValue=D;
},get:function(z){var A=this.__L[z];
{};

if(A.value!==undefined){return A.value;
}return A.defaultValue;
},__N:function(){if(window.qxvariants){for(var y in qxvariants){{};

if(!this.__L[y]){this.__L[y]={};
}this.__L[y].value=qxvariants[y];
}window.qxvariants=undefined;

try{delete window.qxvariants;
}catch(a){}this.__O(this.__L);
}},__O:function(){if(qx.core.Setting.get("qx.allowUrlVariants")!=true){return;
}var e=document.location.search.slice(1).split("&");

for(var i=0;i<e.length;i++){var f=e[i].split(":");

if(f.length!=3||f[0]!="qxvariant"){continue;
}var g=f[1];

if(!this.__L[g]){this.__L[g]={};
}this.__L[g].value=decodeURIComponent(f[2]);
}},select:function(b,c){{};

for(var d in c){if(this.isSet(b,d)){return c[d];
}}
if(c[t]!==undefined){return c[t];
}{};
},isSet:function(E,F){var G=E+q+F;

if(this.__M[G]!==undefined){return this.__M[G];
}var I=false;
if(F.indexOf(u)<0){I=this.get(E)===F;
}else{var H=F.split(u);

for(var i=0,l=H.length;i<l;i++){if(this.get(E)===H[i]){I=true;
break;
}}}this.__M[G]=I;
return I;
},__P:function(v){return typeof v==="object"&&v!==null&&v instanceof Array;
},__Q:function(v){return typeof v==="object"&&v!==null&&!(v instanceof Array);
},__R:function(J,K){for(var i=0,l=J.length;i<l;i++){if(J[i]==K){return true;
}}return false;
}},defer:function(L){L.define(m,[s,h,j,n],qx.bom.client.Engine.NAME);
L.define(p,[x,w],x);
L.define(r,[x,w],w);
L.define(o,[x,w],x);
L.__N();
}});
})();
(function(){var d="qx.core.Aspect",c="before",b="*",a="static";
qx.Bootstrap.define(d,{statics:{__S:[],wrap:function(f,g,h){var n=[];
var j=[];
var m=this.__S;
var l;

for(var i=0;i<m.length;i++){l=m[i];

if((l.type==null||h==l.type||l.type==b)&&(l.name==null||f.match(l.name))){l.pos==-1?n.push(l.fcn):j.push(l.fcn);
}}
if(n.length===0&&j.length===0){return g;
}var k=function(){for(var i=0;i<n.length;i++){n[i].call(this,f,g,h,arguments);
}var e=g.apply(this,arguments);

for(var i=0;i<j.length;i++){j[i].call(this,f,g,h,arguments,e);
}return e;
};

if(h!==a){k.self=g.self;
k.base=g.base;
}g.wrapper=k;
k.original=g;
return k;
},addAdvice:function(o,p,q,name){this.__S.push({fcn:o,pos:p===c?-1:1,type:q,name:name});
}}});
})();
(function(){var bN="qx.aspects",bM="on",bL=".",bK="static",bJ="[Class ",bI="]",bH="$$init_",bG="constructor",bF="member",bE=".prototype",bB="extend",bD="qx.Class",bC="qx.event.type.Data";
qx.Bootstrap.define(bD,{statics:{define:function(name,z){if(!z){var z={};
}if(z.include&&!(z.include instanceof Array)){z.include=[z.include];
}if(z.implement&&!(z.implement instanceof Array)){z.implement=[z.implement];
}var A=false;

if(!z.hasOwnProperty(bB)&&!z.type){z.type=bK;
A=true;
}{};
var B=this.__X(name,z.type,z.extend,z.statics,z.construct,z.destruct,z.include);
if(z.extend){if(z.properties){this.__ba(B,z.properties,true);
}if(z.members){this.__bc(B,z.members,true,true,false);
}if(z.events){this.__Y(B,z.events,true);
}if(z.include){for(var i=0,l=z.include.length;i<l;i++){this.__bg(B,z.include[i],false);
}}}if(z.settings){for(var C in z.settings){qx.core.Setting.define(C,z.settings[C]);
}}if(z.variants){for(var C in z.variants){qx.core.Variant.define(C,z.variants[C].allowedValues,z.variants[C].defaultValue);
}}if(z.implement){for(var i=0,l=z.implement.length;i<l;i++){this.__be(B,z.implement[i]);
}}{};
if(z.defer){z.defer.self=B;
z.defer(B,B.prototype,{add:function(name,u){var v={};
v[name]=u;
qx.Class.__ba(B,v,true);
}});
}return B;
},undefine:function(name){delete this.$$registry[name];
var bo=name.split(bL);
var bq=[window];

for(var i=0;i<bo.length;i++){bq.push(bq[i][bo[i]]);
}for(var i=bq.length-1;i>=1;i--){var bp=bq[i];
var parent=bq[i-1];

if(qx.Bootstrap.isFunction(bp)||qx.Bootstrap.objectGetLength(bp)===0){delete parent[bo[i-1]];
}else{break;
}}},isDefined:qx.Bootstrap.classIsDefined,getTotalNumber:function(){return qx.Bootstrap.objectGetLength(this.$$registry);
},getByName:qx.Bootstrap.getByName,include:function(p,q){{};
qx.Class.__bg(p,q,false);
},patch:function(bm,bn){{};
qx.Class.__bg(bm,bn,true);
},isSubClassOf:function(cb,cc){if(!cb){return false;
}
if(cb==cc){return true;
}
if(cb.prototype instanceof cc){return true;
}return false;
},getPropertyDefinition:qx.Bootstrap.getPropertyDefinition,getProperties:function(D){var E=[];

while(D){if(D.$$properties){E.push.apply(E,qx.Bootstrap.getKeys(D.$$properties));
}D=D.superclass;
}return E;
},getByProperty:function(bl,name){while(bl){if(bl.$$properties&&bl.$$properties[name]){return bl;
}bl=bl.superclass;
}return null;
},hasProperty:qx.Bootstrap.hasProperty,getEventType:qx.Bootstrap.getEventType,supportsEvent:qx.Bootstrap.supportsEvent,hasOwnMixin:function(b,c){return b.$$includes&&b.$$includes.indexOf(c)!==-1;
},getByMixin:function(X,Y){var ba,i,l;

while(X){if(X.$$includes){ba=X.$$flatIncludes;

for(i=0,l=ba.length;i<l;i++){if(ba[i]===Y){return X;
}}}X=X.superclass;
}return null;
},getMixins:qx.Bootstrap.getMixins,hasMixin:function(V,W){return !!this.getByMixin(V,W);
},hasOwnInterface:function(N,O){return N.$$implements&&N.$$implements.indexOf(O)!==-1;
},getByInterface:qx.Bootstrap.getByInterface,getInterfaces:function(P){var Q=[];

while(P){if(P.$$implements){Q.push.apply(Q,P.$$flatImplements);
}P=P.superclass;
}return Q;
},hasInterface:qx.Bootstrap.hasInterface,implementsInterface:function(r,s){var t=r.constructor;

if(this.hasInterface(t,s)){return true;
}
try{qx.Interface.assertObject(r,s);
return true;
}catch(y){}
try{qx.Interface.assert(t,s,false);
return true;
}catch(e){}return false;
},getInstance:function(){if(!this.$$instance){this.$$allowconstruct=true;
this.$$instance=new this;
delete this.$$allowconstruct;
}return this.$$instance;
},genericToString:function(){return bJ+this.classname+bI;
},$$registry:qx.Bootstrap.$$registry,__T:null,__U:null,__V:function(){},__W:function(){},__X:function(name,br,bs,bt,bu,bv,bw){var bz;

if(!bs&&qx.core.Variant.isSet("qx.aspects","off")){bz=bt||{};
qx.Bootstrap.setDisplayNames(bz,name);
}else{var bz={};

if(bs){if(!bu){bu=this.__bh();
}
if(this.__bj(bs,bw)){bz=this.__bk(bu,name,br);
}else{bz=bu;
}if(br==="singleton"){bz.getInstance=this.getInstance;
}qx.Bootstrap.setDisplayName(bu,name,"constructor");
}if(bt){qx.Bootstrap.setDisplayNames(bt,name);
var bA;

for(var i=0,a=qx.Bootstrap.getKeys(bt),l=a.length;i<l;i++){bA=a[i];
var bx=bt[bA];

if(qx.core.Variant.isSet("qx.aspects","on")){if(bx instanceof Function){bx=qx.core.Aspect.wrap(name+"."+bA,bx,"static");
}bz[bA]=bx;
}else{bz[bA]=bx;
}}}}var by=qx.Bootstrap.createNamespace(name,bz);
bz.name=bz.classname=name;
bz.basename=by;
bz.$$type="Class";

if(br){bz.$$classtype=br;
}if(!bz.hasOwnProperty("toString")){bz.toString=this.genericToString;
}
if(bs){qx.Bootstrap.extendClass(bz,bu,bs,name,by);
if(bv){if(qx.core.Variant.isSet("qx.aspects","on")){bv=qx.core.Aspect.wrap(name,bv,"destructor");
}bz.$$destructor=bv;
qx.Bootstrap.setDisplayName(bv,name,"destruct");
}}this.$$registry[name]=bz;
return bz;
},__Y:function(R,S,T){var U,U;
{};

if(R.$$events){for(var U in S){R.$$events[U]=S[U];
}}else{R.$$events=S;
}},__ba:function(I,J,K){var L;

if(K===undefined){K=false;
}var M=I.prototype;

for(var name in J){L=J[name];
{};
L.name=name;
if(!L.refine){if(I.$$properties===undefined){I.$$properties={};
}I.$$properties[name]=L;
}if(L.init!==undefined){I.prototype[bH+name]=L.init;
}if(L.event!==undefined){var event={};
event[L.event]=bC;
this.__Y(I,event,K);
}if(L.inheritable){qx.core.Property.$$inheritable[name]=true;

if(!M.$$refreshInheritables){qx.core.Property.attachRefreshInheritables(I);
}}
if(!L.refine){qx.core.Property.attachMethods(I,name,L);
}}},__bb:null,__bc:function(f,g,h,j,k){var m=f.prototype;
var o,n;
qx.Bootstrap.setDisplayNames(g,f.classname+bE);

for(var i=0,a=qx.Bootstrap.getKeys(g),l=a.length;i<l;i++){o=a[i];
n=g[o];
{};
if(j!==false&&n instanceof Function&&n.$$type==null){if(k==true){n=this.__bd(n,m[o]);
}else{if(m[o]){n.base=m[o];
}n.self=f;
}
if(qx.core.Variant.isSet(bN,bM)){n=qx.core.Aspect.wrap(f.classname+bL+o,n,bF);
}}m[o]=n;
}},__bd:function(bO,bP){if(bP){return function(){var x=bO.base;
bO.base=bP;
var w=bO.apply(this,arguments);
bO.base=x;
return w;
};
}else{return bO;
}},__be:function(bi,bj){{};
var bk=qx.Interface.flatten([bj]);

if(bi.$$implements){bi.$$implements.push(bj);
bi.$$flatImplements.push.apply(bi.$$flatImplements,bk);
}else{bi.$$implements=[bj];
bi.$$flatImplements=bk;
}},__bf:function(bQ){var name=bQ.classname;
var bR=this.__bk(bQ,name,bQ.$$classtype);
for(var i=0,a=qx.Bootstrap.getKeys(bQ),l=a.length;i<l;i++){bS=a[i];

if(bQ.hasOwnProperty(bS)){bR[bS]=bQ[bS];
}}bR.prototype=bQ.prototype;
var bU=bQ.prototype;

for(var i=0,a=qx.Bootstrap.getKeys(bU),l=a.length;i<l;i++){bS=a[i];

if(bU.hasOwnProperty(bS)){var bV=bU[bS];

if(bV.self==bQ){bV.self=bR;
}}}for(var bS in this.$$registry){var bT=this.$$registry[bS];

if(!bT){continue;
}
if(bT.base==bQ){bT.base=bR;
}
if(bT.superclass==bQ){bT.superclass=bR;
}
if(bT.$$original){if(bT.$$original.base==bQ){bT.$$original.base=bR;
}
if(bT.$$original.superclass==bQ){bT.$$original.superclass=bR;
}}}qx.Bootstrap.createNamespace(name,bR);
this.$$registry[name]=bR;
return bR;
},__bg:function(cd,ce,cf){{};

if(this.hasMixin(cd,ce)){return;
}var ci=cd.$$original;

if(ce.$$constructor&&!ci){cd=this.__bf(cd);
}var ch=qx.Mixin.flatten([ce]);
var cg;

for(var i=0,l=ch.length;i<l;i++){cg=ch[i];
if(cg.$$events){this.__Y(cd,cg.$$events,cf);
}if(cg.$$properties){this.__ba(cd,cg.$$properties,cf);
}if(cg.$$members){this.__bc(cd,cg.$$members,cf,cf,cf);
}}if(cd.$$includes){cd.$$includes.push(ce);
cd.$$flatIncludes.push.apply(cd.$$flatIncludes,ch);
}else{cd.$$includes=[ce];
cd.$$flatIncludes=ch;
}},__bh:function(){function d(){d.base.apply(this,arguments);
}return d;
},__bi:function(){return function(){};
},__bj:function(bW,bX){{};
if(bW&&bW.$$includes){var bY=bW.$$flatIncludes;

for(var i=0,l=bY.length;i<l;i++){if(bY[i].$$constructor){return true;
}}}if(bX){var ca=qx.Mixin.flatten(bX);

for(var i=0,l=ca.length;i<l;i++){if(ca[i].$$constructor){return true;
}}}return false;
},__bk:function(bb,name,bc){var be=function(){var bh=be;
{};
var bg=bh.$$original.apply(this,arguments);
if(bh.$$includes){var bf=bh.$$flatIncludes;

for(var i=0,l=bf.length;i<l;i++){if(bf[i].$$constructor){bf[i].$$constructor.apply(this,arguments);
}}}{};
return bg;
};

if(qx.core.Variant.isSet(bN,bM)){var bd=qx.core.Aspect.wrap(name,be,bG);
be.$$original=bb;
be.constructor=bd;
be=bd;
}be.$$original=bb;
bb.wrapper=be;
return be;
}},defer:function(){if(qx.core.Variant.isSet(bN,bM)){for(var F in qx.Bootstrap.$$registry){var G=qx.Bootstrap.$$registry[F];

for(var H in G){if(G[H] instanceof Function){G[H]=qx.core.Aspect.wrap(F+bL+H,G[H],bK);
}}}}}});
})();
(function(){var v="qx.client",u="on",t="function",s="mousedown",r="qx.bom.Event",q="return;",p="mouseover",o="HTMLEvents";
qx.Class.define(r,{statics:{addNativeListener:qx.core.Variant.select(v,{"mshtml":function(f,g,h){f.attachEvent(u+g,h);
},"default":function(l,m,n){l.addEventListener(m,n,false);
}}),removeNativeListener:qx.core.Variant.select(v,{"mshtml":function(i,j,k){try{i.detachEvent(u+j,k);
}catch(e){if(e.number!==-2146828218){throw e;
}}},"default":function(C,D,E){C.removeEventListener(D,E,false);
}}),getTarget:function(e){return e.target||e.srcElement;
},getRelatedTarget:qx.core.Variant.select(v,{"mshtml":function(e){if(e.type===p){return e.fromEvent;
}else{return e.toElement;
}},"gecko":function(e){try{e.relatedTarget&&e.relatedTarget.nodeType;
}catch(e){return null;
}return e.relatedTarget;
},"default":function(e){return e.relatedTarget;
}}),preventDefault:qx.core.Variant.select(v,{"gecko":function(e){if(qx.bom.client.Engine.VERSION>=1.9&&e.type==s&&e.button==2){return;
}e.preventDefault();
if(qx.bom.client.Engine.VERSION<1.9){try{e.keyCode=0;
}catch(z){}}},"mshtml":function(e){try{e.keyCode=0;
}catch(F){}e.returnValue=false;
},"default":function(e){e.preventDefault();
}}),stopPropagation:function(e){if(e.stopPropagation){e.stopPropagation();
}e.cancelBubble=true;
},fire:function(w,x){if(document.createEventObject){var y=document.createEventObject();
return w.fireEvent(u+x,y);
}else{var y=document.createEvent(o);
y.initEvent(x,true,true);
return !w.dispatchEvent(y);
}},supportsEvent:qx.core.Variant.select(v,{"webkit":function(A,B){return A.hasOwnProperty(u+B);
},"default":function(a,b){var c=u+b;
var d=(c in a);

if(!d){d=typeof a[c]==t;

if(!d&&a.setAttribute){a.setAttribute(c,q);
d=typeof a[c]==t;
a.removeAttribute(c);
}}return d;
}})}});
})();
(function(){var bF="|bubble",bE="|capture",bD="|",bC="",bB="_",bA="unload",bz="UNKNOWN_",by="__bq",bx="c",bw="DOM_",bt="WIN_",bv="__bp",bu="capture",bs="qx.event.Manager",br="QX_";
qx.Class.define(bs,{extend:Object,construct:function(cv,cw){this.__bl=cv;
this.__bm=qx.core.ObjectRegistry.toHashCode(cv);
this.__bn=cw;
if(cv.qx!==qx){var self=this;
qx.bom.Event.addNativeListener(cv,bA,qx.event.GlobalError.observeMethod(function(){qx.bom.Event.removeNativeListener(cv,bA,arguments.callee);
self.dispose();
}));
}this.__bo={};
this.__bp={};
this.__bq={};
this.__br={};
},statics:{__bs:0,getNextUniqueId:function(){return (this.__bs++)+bC;
}},members:{__bn:null,__bo:null,__bq:null,__bt:null,__bp:null,__br:null,__bl:null,__bm:null,getWindow:function(){return this.__bl;
},getWindowId:function(){return this.__bm;
},getHandler:function(bo){var bp=this.__bp[bo.classname];

if(bp){return bp;
}return this.__bp[bo.classname]=new bo(this);
},getDispatcher:function(E){var F=this.__bq[E.classname];

if(F){return F;
}return this.__bq[E.classname]=new E(this,this.__bn);
},getListeners:function(x,y,z){var A=x.$$hash||qx.core.ObjectRegistry.toHashCode(x);
var C=this.__bo[A];

if(!C){return null;
}var D=y+(z?bE:bF);
var B=C[D];
return B?B.concat():null;
},serializeListeners:function(bG){var bN=bG.$$hash||qx.core.ObjectRegistry.toHashCode(bG);
var bP=this.__bo[bN];
var bL=[];

if(bP){var bJ,bO,bH,bK,bM;

for(var bI in bP){bJ=bI.indexOf(bD);
bO=bI.substring(0,bJ);
bH=bI.charAt(bJ+1)==bx;
bK=bP[bI];

for(var i=0,l=bK.length;i<l;i++){bM=bK[i];
bL.push({self:bM.context,handler:bM.handler,type:bO,capture:bH});
}}}return bL;
},toggleAttachedEvents:function(cx,cy){var cD=cx.$$hash||qx.core.ObjectRegistry.toHashCode(cx);
var cF=this.__bo[cD];

if(cF){var cA,cE,cz,cB;

for(var cC in cF){cA=cC.indexOf(bD);
cE=cC.substring(0,cA);
cz=cC.charCodeAt(cA+1)===99;
cB=cF[cC];

if(cy){this.__bu(cx,cE,cz);
}else{this.__bv(cx,cE,cz);
}}}},hasListener:function(bQ,bR,bS){{};
var bT=bQ.$$hash||qx.core.ObjectRegistry.toHashCode(bQ);
var bV=this.__bo[bT];

if(!bV){return false;
}var bW=bR+(bS?bE:bF);
var bU=bV[bW];
return bU&&bU.length>0;
},importListeners:function(cf,cg){{};
var cm=cf.$$hash||qx.core.ObjectRegistry.toHashCode(cf);
var cn=this.__bo[cm]={};
var cj=qx.event.Manager;

for(var ch in cg){var ck=cg[ch];
var cl=ck.type+(ck.capture?bE:bF);
var ci=cn[cl];

if(!ci){ci=cn[cl]=[];
this.__bu(cf,ck.type,ck.capture);
}ci.push({handler:ck.listener,context:ck.self,unique:ck.unique||(cj.__bs++)+bC});
}},addListener:function(m,n,o,self,p){var t;
{};
var u=m.$$hash||qx.core.ObjectRegistry.toHashCode(m);
var w=this.__bo[u];

if(!w){w=this.__bo[u]={};
}var s=n+(p?bE:bF);
var r=w[s];

if(!r){r=w[s]=[];
}if(r.length===0){this.__bu(m,n,p);
}var v=(qx.event.Manager.__bs++)+bC;
var q={handler:o,context:self,unique:v};
r.push(q);
return s+bD+v;
},findHandler:function(K,L){var V=false,O=false,W=false;
var U;

if(K.nodeType===1){V=true;
U=bw+K.tagName.toLowerCase()+bB+L;
}else if(K==this.__bl){O=true;
U=bt+L;
}else if(K.classname){W=true;
U=br+K.classname+bB+L;
}else{U=bz+K+bB+L;
}var Q=this.__br;

if(Q[U]){return Q[U];
}var T=this.__bn.getHandlers();
var P=qx.event.IEventHandler;
var R,S,N,M;

for(var i=0,l=T.length;i<l;i++){R=T[i];
N=R.SUPPORTED_TYPES;

if(N&&!N[L]){continue;
}M=R.TARGET_CHECK;

if(M){if(!V&&M===P.TARGET_DOMNODE){continue;
}else if(!O&&M===P.TARGET_WINDOW){continue;
}else if(!W&&M===P.TARGET_OBJECT){continue;
}}S=this.getHandler(T[i]);

if(R.IGNORE_CAN_HANDLE||S.canHandleEvent(K,L)){Q[U]=S;
return S;
}}return null;
},__bu:function(G,H,I){var J=this.findHandler(G,H);

if(J){J.registerEvent(G,H,I);
return;
}{};
},removeListener:function(a,b,c,self,d){var h;
{};
var j=a.$$hash||qx.core.ObjectRegistry.toHashCode(a);
var k=this.__bo[j];

if(!k){return false;
}var e=b+(d?bE:bF);
var f=k[e];

if(!f){return false;
}var g;

for(var i=0,l=f.length;i<l;i++){g=f[i];

if(g.handler===c&&g.context===self){qx.lang.Array.removeAt(f,i);

if(f.length==0){this.__bv(a,b,d);
}return true;
}}return false;
},removeListenerById:function(bc,bd){var bj;
{};
var bh=bd.split(bD);
var bm=bh[0];
var be=bh[1].charCodeAt(0)==99;
var bl=bh[2];
var bk=bc.$$hash||qx.core.ObjectRegistry.toHashCode(bc);
var bn=this.__bo[bk];

if(!bn){return false;
}var bi=bm+(be?bE:bF);
var bg=bn[bi];

if(!bg){return false;
}var bf;

for(var i=0,l=bg.length;i<l;i++){bf=bg[i];

if(bf.unique===bl){qx.lang.Array.removeAt(bg,i);

if(bg.length==0){this.__bv(bc,bm,be);
}return true;
}}return false;
},removeAllListeners:function(bX){var cc=bX.$$hash||qx.core.ObjectRegistry.toHashCode(bX);
var ce=this.__bo[cc];

if(!ce){return false;
}var ca,cd,bY;

for(var cb in ce){if(ce[cb].length>0){ca=cb.split(bD);
cd=ca[0];
bY=ca[1]===bu;
this.__bv(bX,cd,bY);
}}delete this.__bo[cc];
return true;
},deleteAllListeners:function(bq){delete this.__bo[bq];
},__bv:function(X,Y,ba){var bb=this.findHandler(X,Y);

if(bb){bb.unregisterEvent(X,Y,ba);
return;
}{};
},dispatchEvent:function(co,event){var ct;
{};
var cu=event.getType();

if(!event.getBubbles()&&!this.hasListener(co,cu)){qx.event.Pool.getInstance().poolObject(event);
return true;
}
if(!event.getTarget()){event.setTarget(co);
}var cs=this.__bn.getDispatchers();
var cr;
var cq=false;

for(var i=0,l=cs.length;i<l;i++){cr=this.getDispatcher(cs[i]);
if(cr.canDispatchEvent(co,event,cu)){cr.dispatchEvent(co,event,cu);
cq=true;
break;
}}
if(!cq){{};
return true;
}var cp=event.getDefaultPrevented();
qx.event.Pool.getInstance().poolObject(event);
return !cp;
},dispose:function(){this.__bn.removeManager(this);
qx.util.DisposeUtil.disposeMap(this,bv);
qx.util.DisposeUtil.disposeMap(this,by);
this.__bo=this.__bl=this.__bt=null;
this.__bn=this.__br=null;
}}});
})();
(function(){var h="qx.dom.Node",g="qx.client",f="";
qx.Class.define(h,{statics:{ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12,getDocument:function(j){return j.nodeType===
this.DOCUMENT?j:
j.ownerDocument||j.document;
},getWindow:qx.core.Variant.select(g,{"mshtml":function(m){if(m.nodeType==null){return m;
}if(m.nodeType!==this.DOCUMENT){m=m.ownerDocument;
}return m.parentWindow;
},"default":function(n){if(n.nodeType==null){return n;
}if(n.nodeType!==this.DOCUMENT){n=n.ownerDocument;
}return n.defaultView;
}}),getDocumentElement:function(t){return this.getDocument(t).documentElement;
},getBodyElement:function(q){return this.getDocument(q).body;
},isNode:function(o){return !!(o&&o.nodeType!=null);
},isElement:function(e){return !!(e&&e.nodeType===this.ELEMENT);
},isDocument:function(s){return !!(s&&s.nodeType===this.DOCUMENT);
},isText:function(b){return !!(b&&b.nodeType===this.TEXT);
},isWindow:function(p){return !!(p&&p.history&&p.location&&p.document);
},isNodeName:function(k,l){if(!l||!k||!k.nodeName){return false;
}return l.toLowerCase()==qx.dom.Node.getName(k);
},getName:function(r){if(!r||!r.nodeName){return null;
}return r.nodeName.toLowerCase();
},getText:function(c){if(!c||!c.nodeType){return null;
}
switch(c.nodeType){case 1:var i,a=[],d=c.childNodes,length=d.length;

for(i=0;i<length;i++){a[i]=this.getText(d[i]);
}return a.join(f);
case 2:return c.nodeValue;
break;
case 3:return c.nodeValue;
break;
}return null;
}}});
})();
(function(){var W="mshtml",V="qx.client",U="[object Array]",T="qx.lang.Array",S="qx",R="number",Q="string";
qx.Class.define(T,{statics:{toArray:function(f,g){return this.cast(f,Array,g);
},cast:function(b,c,d){if(b.constructor===c){return b;
}
if(qx.Class.hasInterface(b,qx.data.IListData)){var b=b.toArray();
}var e=new c;
if(qx.core.Variant.isSet(V,W)){if(b.item){for(var i=d||0,l=b.length;i<l;i++){e.push(b[i]);
}return e;
}}if(Object.prototype.toString.call(b)===U&&d==null){e.push.apply(e,b);
}else{e.push.apply(e,Array.prototype.slice.call(b,d||0));
}return e;
},fromArguments:function(L,M){return Array.prototype.slice.call(L,M||0);
},fromCollection:function(bp){if(qx.core.Variant.isSet(V,W)){if(bp.item){var bq=[];

for(var i=0,l=bp.length;i<l;i++){bq[i]=bp[i];
}return bq;
}}return Array.prototype.slice.call(bp,0);
},fromShortHand:function(bh){var bj=bh.length;
var bi=qx.lang.Array.clone(bh);
switch(bj){case 1:bi[1]=bi[2]=bi[3]=bi[0];
break;
case 2:bi[2]=bi[0];
case 3:bi[3]=bi[1];
}return bi;
},clone:function(bd){return bd.concat();
},insertAt:function(bk,bl,i){bk.splice(i,0,bl);
return bk;
},insertBefore:function(k,m,n){var i=k.indexOf(n);

if(i==-1){k.push(m);
}else{k.splice(i,0,m);
}return k;
},insertAfter:function(r,s,t){var i=r.indexOf(t);

if(i==-1||i==(r.length-1)){r.push(s);
}else{r.splice(i+1,0,s);
}return r;
},removeAt:function(a,i){return a.splice(i,1)[0];
},removeAll:function(P){P.length=0;
return this;
},append:function(H,I){{};
Array.prototype.push.apply(H,I);
return H;
},exclude:function(Y,ba){{};

for(var i=0,bc=ba.length,bb;i<bc;i++){bb=Y.indexOf(ba[i]);

if(bb!=-1){Y.splice(bb,1);
}}return Y;
},remove:function(N,O){var i=N.indexOf(O);

if(i!=-1){N.splice(i,1);
return O;
}},contains:function(h,j){return h.indexOf(j)!==-1;
},equals:function(p,q){var length=p.length;

if(length!==q.length){return false;
}
for(var i=0;i<length;i++){if(p[i]!==q[i]){return false;
}}return true;
},sum:function(J){var K=0;

for(var i=0,l=J.length;i<l;i++){K+=J[i];
}return K;
},max:function(bm){{};
var i,bo=bm.length,bn=bm[0];

for(i=1;i<bo;i++){if(bm[i]>bn){bn=bm[i];
}}return bn===undefined?null:bn;
},min:function(be){{};
var i,bg=be.length,bf=be[0];

for(i=1;i<bg;i++){if(be[i]<bf){bf=be[i];
}}return bf===undefined?null:bf;
},unique:function(u){var E=[],w={},z={},B={};
var A,v=0;
var F=S+qx.lang.Date.now();
var x=false,D=false,G=false;
for(var i=0,C=u.length;i<C;i++){A=u[i];
if(A===null){if(!x){x=true;
E.push(A);
}}else if(A===undefined){}else if(A===false){if(!D){D=true;
E.push(A);
}}else if(A===true){if(!G){G=true;
E.push(A);
}}else if(typeof A===Q){if(!w[A]){w[A]=1;
E.push(A);
}}else if(typeof A===R){if(!z[A]){z[A]=1;
E.push(A);
}}else{y=A[F];

if(y==null){y=A[F]=v++;
}
if(!B[y]){B[y]=A;
E.push(A);
}}}for(var y in B){try{delete B[y][F];
}catch(X){try{B[y][F]=null;
}catch(o){throw new Error("Cannot clean-up map entry doneObjects["+y+"]["+F+"]");
}}}return E;
}}});
})();
(function(){var x="()",w=".",v=".prototype.",u='anonymous()',t="qx.lang.Function",s=".constructor()";
qx.Class.define(t,{statics:{getCaller:function(j){return j.caller?j.caller.callee:j.callee.caller;
},getName:function(f){if(f.displayName){return f.displayName;
}
if(f.$$original||f.wrapper||f.classname){return f.classname+s;
}
if(f.$$mixin){for(var h in f.$$mixin.$$members){if(f.$$mixin.$$members[h]==f){return f.$$mixin.name+v+h+x;
}}for(var h in f.$$mixin){if(f.$$mixin[h]==f){return f.$$mixin.name+w+h+x;
}}}
if(f.self){var i=f.self.constructor;

if(i){for(var h in i.prototype){if(i.prototype[h]==f){return i.classname+v+h+x;
}}for(var h in i){if(i[h]==f){return i.classname+w+h+x;
}}}}var g=f.toString().match(/function\s*(\w*)\s*\(.*/);

if(g&&g.length>=1&&g[1]){return g[1]+x;
}return u;
},globalEval:function(G){if(window.execScript){return window.execScript(G);
}else{return eval.call(window,G);
}},empty:function(){},returnTrue:function(){return true;
},returnFalse:function(){return false;
},returnNull:function(){return null;
},returnThis:function(){return this;
},returnZero:function(){return 0;
},create:function(E,F){{};
if(!F){return E;
}if(!(F.self||F.args||F.delay!=null||F.periodical!=null||F.attempt)){return E;
}return function(event){{};
var p=qx.lang.Array.fromArguments(arguments);
if(F.args){p=F.args.concat(p);
}
if(F.delay||F.periodical){var o=qx.event.GlobalError.observeMethod(function(){return E.apply(F.self||this,p);
});

if(F.delay){return window.setTimeout(o,F.delay);
}
if(F.periodical){return window.setInterval(o,F.periodical);
}}else if(F.attempt){var q=false;

try{q=E.apply(F.self||this,p);
}catch(H){}return q;
}else{return E.apply(F.self||this,p);
}};
},bind:function(m,self,n){return this.create(m,{self:self,args:arguments.length>2?qx.lang.Array.fromArguments(arguments,2):null});
},curry:function(a,b){return this.create(a,{args:arguments.length>1?qx.lang.Array.fromArguments(arguments,1):null});
},listener:function(y,self,z){if(arguments.length<3){return function(event){return y.call(self||this,event||window.event);
};
}else{var A=qx.lang.Array.fromArguments(arguments,2);
return function(event){var r=[event||window.event];
r.push.apply(r,A);
y.apply(self||this,r);
};
}},attempt:function(k,self,l){return this.create(k,{self:self,attempt:true,args:arguments.length>2?qx.lang.Array.fromArguments(arguments,2):null})();
},delay:function(B,C,self,D){return this.create(B,{delay:C,self:self,args:arguments.length>3?qx.lang.Array.fromArguments(arguments,3):null})();
},periodical:function(c,d,self,e){return this.create(c,{periodical:d,self:self,args:arguments.length>3?qx.lang.Array.fromArguments(arguments,3):null})();
}}});
})();
(function(){var h="qx.event.Registration";
qx.Class.define(h,{statics:{__bw:{},getManager:function(n){if(n==null){{};
n=window;
}else if(n.nodeType){n=qx.dom.Node.getWindow(n);
}else if(!qx.dom.Node.isWindow(n)){n=window;
}var p=n.$$hash||qx.core.ObjectRegistry.toHashCode(n);
var o=this.__bw[p];

if(!o){o=new qx.event.Manager(n,this);
this.__bw[p]=o;
}return o;
},removeManager:function(N){var O=N.getWindowId();
delete this.__bw[O];
},addListener:function(d,e,f,self,g){return this.getManager(d).addListener(d,e,f,self,g);
},removeListener:function(j,k,l,self,m){return this.getManager(j).removeListener(j,k,l,self,m);
},removeListenerById:function(P,Q){return this.getManager(P).removeListenerById(P,Q);
},removeAllListeners:function(c){return this.getManager(c).removeAllListeners(c);
},deleteAllListeners:function(q){var r=q.$$hash;

if(r){this.getManager(q).deleteAllListeners(r);
}},hasListener:function(s,t,u){return this.getManager(s).hasListener(s,t,u);
},serializeListeners:function(i){return this.getManager(i).serializeListeners(i);
},createEvent:function(D,E,F){{};
if(E==null){E=qx.event.type.Event;
}var G=qx.event.Pool.getInstance().getObject(E);
F?G.init.apply(G,F):G.init();
if(D){G.setType(D);
}return G;
},dispatchEvent:function(C,event){return this.getManager(C).dispatchEvent(C,event);
},fireEvent:function(v,w,x,y){var z;
{};
var A=this.createEvent(w,x||null,y);
return this.getManager(v).dispatchEvent(v,A);
},fireNonBubblingEvent:function(H,I,J,K){{};
var L=this.getManager(H);

if(!L.hasListener(H,I,false)){return true;
}var M=this.createEvent(I,J||null,K);
return L.dispatchEvent(H,M);
},PRIORITY_FIRST:-32000,PRIORITY_NORMAL:0,PRIORITY_LAST:32000,__bx:[],addHandler:function(B){{};
this.__bx.push(B);
this.__bx.sort(function(a,b){return a.PRIORITY-b.PRIORITY;
});
},getHandlers:function(){return this.__bx;
},__by:[],addDispatcher:function(R,S){{};
this.__by.push(R);
this.__by.sort(function(a,b){return a.PRIORITY-b.PRIORITY;
});
},getDispatchers:function(){return this.__by;
}}});
})();
(function(){var f="$$hash",e="",d="qx.core.ObjectRegistry";
qx.Class.define(d,{statics:{inShutDown:false,__bz:{},__bA:0,__bB:[],register:function(w){var z=this.__bz;

if(!z){return;
}var y=w.$$hash;

if(y==null){var x=this.__bB;

if(x.length>0){y=x.pop();
}else{y=(this.__bA++)+e;
}w.$$hash=y;
}{};
z[y]=w;
},unregister:function(j){var k=j.$$hash;

if(k==null){return;
}var m=this.__bz;

if(m&&m[k]){delete m[k];
this.__bB.push(k);
}try{delete j.$$hash;
}catch(A){if(j.removeAttribute){j.removeAttribute(f);
}}},toHashCode:function(t){{};
var v=t.$$hash;

if(v!=null){return v;
}var u=this.__bB;

if(u.length>0){v=u.pop();
}else{v=(this.__bA++)+e;
}return t.$$hash=v;
},clearHashCode:function(g){{};
var h=g.$$hash;

if(h!=null){this.__bB.push(h);
try{delete g.$$hash;
}catch(o){if(g.removeAttribute){g.removeAttribute(f);
}}}},fromHashCode:function(c){return this.__bz[c]||null;
},shutdown:function(){this.inShutDown=true;
var q=this.__bz;
var s=[];

for(var r in q){s.push(r);
}s.sort(function(a,b){return parseInt(b)-parseInt(a);
});
var p,i=0,l=s.length;

while(true){try{for(;i<l;i++){r=s[i];
p=q[r];

if(p&&p.dispose){p.dispose();
}}}catch(n){qx.Bootstrap.error(this,"Could not dispose object "+p.toString()+": "+n);

if(i!==l){i++;
continue;
}}break;
}qx.Bootstrap.debug(this,"Disposed "+l+" objects");
delete this.__bz;
},getRegistry:function(){return this.__bz;
}}});
})();
(function(){var f="qx.data.MBinding";
qx.Mixin.define(f,{members:{bind:function(a,b,c,d){return qx.data.SingleValueBinding.bind(this,a,b,c,d);
},removeBinding:function(e){qx.data.SingleValueBinding.removeBindingFromObject(this,e);
},removeAllBindings:function(){qx.data.SingleValueBinding.removeAllBindingsForObject(this);
},getBindings:function(){return qx.data.SingleValueBinding.getAllBindingsForObject(this);
}}});
})();
(function(){var C=":",B="qx.client",A="anonymous",z="...",y="qx.dev.StackTrace",x="",w="\n",v="/source/class/",u=".";
qx.Class.define(y,{statics:{getStackTrace:qx.core.Variant.select(B,{"gecko":function(){try{throw new Error();
}catch(H){var P=this.getStackTraceFromError(H);
qx.lang.Array.removeAt(P,0);
var N=this.getStackTraceFromCaller(arguments);
var L=N.length>P.length?N:P;

for(var i=0;i<Math.min(N.length,P.length);i++){var M=N[i];

if(M.indexOf(A)>=0){continue;
}var T=M.split(C);

if(T.length!=2){continue;
}var R=T[0];
var K=T[1];
var J=P[i];
var U=J.split(C);
var Q=U[0];
var I=U[1];

if(qx.Class.getByName(Q)){var O=Q;
}else{O=R;
}var S=O+C;

if(K){S+=K+C;
}S+=I;
L[i]=S;
}return L;
}},"mshtml|webkit":function(){return this.getStackTraceFromCaller(arguments);
},"opera":function(){var E;

try{E.bar();
}catch(G){var F=this.getStackTraceFromError(G);
qx.lang.Array.removeAt(F,0);
return F;
}return [];
}}),getStackTraceFromCaller:qx.core.Variant.select(B,{"opera":function(V){return [];
},"default":function(W){var bc=[];
var bb=qx.lang.Function.getCaller(W);
var X={};

while(bb){var Y=qx.lang.Function.getName(bb);
bc.push(Y);

try{bb=bb.caller;
}catch(m){break;
}
if(!bb){break;
}var ba=qx.core.ObjectRegistry.toHashCode(bb);

if(X[ba]){bc.push(z);
break;
}X[ba]=bb;
}return bc;
}}),getStackTraceFromError:qx.core.Variant.select(B,{"gecko":function(n){if(!n.stack){return [];
}var t=/@(.+):(\d+)$/gm;
var o;
var p=[];

while((o=t.exec(n.stack))!=null){var q=o[1];
var s=o[2];
var r=this.__bC(q);
p.push(r+C+s);
}return p;
},"webkit":function(D){if(D.sourceURL&&D.line){return [this.__bC(D.sourceURL)+C+D.line];
}else{return [];
}},"opera":function(e){if(e.message.indexOf("Backtrace:")<0){return [];
}var g=[];
var h=qx.lang.String.trim(e.message.split("Backtrace:")[1]);
var j=h.split(w);

for(var i=0;i<j.length;i++){var f=j[i].match(/\s*Line ([0-9]+) of.* (\S.*)/);

if(f&&f.length>=2){var l=f[1];
var k=this.__bC(f[2]);
g.push(k+C+l);
}}return g;
},"default":function(){return [];
}}),__bC:function(a){var d=v;
var b=a.indexOf(d);
var c=(b==-1)?a:a.substring(b+d.length).replace(/\//g,u).replace(/\.js$/,x);
return c;
}}});
})();
(function(){var f="qx.log.appender.RingBuffer";
qx.Class.define(f,{extend:Object,construct:function(e){this.__bD=[];
this.setMaxMessages(e||50);
},members:{__bE:0,__bD:null,__bF:50,setMaxMessages:function(g){this.__bF=g;
this.clearHistory();
},getMaxMessages:function(){return this.__bF;
},process:function(h){var i=this.getMaxMessages();

if(this.__bD.length<i){this.__bD.push(h);
}else{this.__bD[this.__bE++]=h;

if(this.__bE>=i){this.__bE=0;
}}},getAllLogEvents:function(){return this.retrieveLogEvents(this.getMaxMessages());
},retrieveLogEvents:function(a){if(a>this.__bD.length){a=this.__bD.length;
}
if(this.__bD.length==this.getMaxMessages()){var c=this.__bE-1;
}else{c=this.__bD.length-1;
}var b=c-a+1;

if(b<0){b+=this.__bD.length;
}var d;

if(b<=c){d=this.__bD.slice(b,c+1);
}else{d=this.__bD.slice(b,this.__bD.length).concat(this.__bD.slice(0,c+1));
}return d;
},clearHistory:function(){this.__bD=[];
this.__bE=0;
}}});
})();
(function(){var be="node",bd="error",bc="...(+",bb="array",ba=")",Y="info",X="instance",W="string",V="null",U="class",bz="number",by="stringify",bx="]",bw="unknown",bv="function",bu="boolean",bt="debug",bs="map",br="undefined",bq="qx.log.Logger",bl=")}",bm="#",bj="warn",bk="document",bh="{...(",bi="[",bf="text[",bg="[...(",bn="\n",bo=")]",bp="object";
qx.Class.define(bq,{statics:{__bG:bt,setLevel:function(a){this.__bG=a;
},getLevel:function(){return this.__bG;
},setTreshold:function(bA){this.__bJ.setMaxMessages(bA);
},getTreshold:function(){return this.__bJ.getMaxMessages();
},__bH:{},__bI:0,register:function(P){if(P.$$id){return;
}var Q=this.__bI++;
this.__bH[Q]=P;
P.$$id=Q;
var R=this.__bJ.getAllLogEvents();

for(var i=0,l=R.length;i<l;i++){P.process(R[i]);
}},unregister:function(f){var g=f.$$id;

if(g==null){return;
}delete this.__bH[g];
delete f.$$id;
},debug:function(N,O){qx.log.Logger.__bL(bt,arguments);
},info:function(K,L){qx.log.Logger.__bL(Y,arguments);
},warn:function(d,e){qx.log.Logger.__bL(bj,arguments);
},error:function(bB,bC){qx.log.Logger.__bL(bd,arguments);
},trace:function(M){qx.log.Logger.__bL(Y,[M,qx.dev.StackTrace.getStackTrace().join(bn)]);
},deprecatedMethodWarning:function(s,t){var u;
{};
},deprecatedClassWarning:function(bD,bE){var bF;
{};
},deprecatedEventWarning:function(v,event,w){var x;
{};
},deprecatedMixinWarning:function(H,I){var J;
{};
},deprecatedConstantWarning:function(y,z,A){var self,B;
{};
},deprecateMethodOverriding:function(C,D,E,F){var G;
{};
},clear:function(){this.__bJ.clearHistory();
},__bJ:new qx.log.appender.RingBuffer(50),__bK:{debug:0,info:1,warn:2,error:3},__bL:function(bG,bH){var bM=this.__bK;

if(bM[bG]<bM[this.__bG]){return;
}var bJ=bH.length<2?null:bH[0];
var bL=bJ?1:0;
var bI=[];

for(var i=bL,l=bH.length;i<l;i++){bI.push(this.__bN(bH[i],true));
}var bN=new Date;
var bO={time:bN,offset:bN-qx.Bootstrap.LOADSTART,level:bG,items:bI,win:window};
if(bJ){if(bJ instanceof qx.core.Object){bO.object=bJ.$$hash;
}else if(bJ.$$type){bO.clazz=bJ;
}}this.__bJ.process(bO);
var bP=this.__bH;

for(var bK in bP){bP[bK].process(bO);
}},__bM:function(b){if(b===undefined){return br;
}else if(b===null){return V;
}
if(b.$$type){return U;
}var c=typeof b;

if(c===bv||c==W||c===bz||c===bu){return c;
}else if(c===bp){if(b.nodeType){return be;
}else if(b.classname){return X;
}else if(b instanceof Array){return bb;
}else if(b instanceof Error){return bd;
}else{return bs;
}}
if(b.toString){return by;
}return bw;
},__bN:function(h,j){var r=this.__bM(h);
var n=bw;
var m=[];

switch(r){case V:case br:n=r;
break;
case W:case bz:case bu:n=h;
break;
case be:if(h.nodeType===9){n=bk;
}else if(h.nodeType===3){n=bf+h.nodeValue+bx;
}else if(h.nodeType===1){n=h.nodeName.toLowerCase();

if(h.id){n+=bm+h.id;
}}else{n=be;
}break;
case bv:n=qx.lang.Function.getName(h)||r;
break;
case X:n=h.basename+bi+h.$$hash+bx;
break;
case U:case by:n=h.toString();
break;
case bd:m=qx.dev.StackTrace.getStackTraceFromError(h);
n=h.toString();
break;
case bb:if(j){n=[];

for(var i=0,l=h.length;i<l;i++){if(n.length>20){n.push(bc+(l-i)+ba);
break;
}n.push(this.__bN(h[i],false));
}}else{n=bg+h.length+bo;
}break;
case bs:if(j){var k;
var q=[];

for(var p in h){q.push(p);
}q.sort();
n=[];

for(var i=0,l=q.length;i<l;i++){if(n.length>20){n.push(bc+(l-i)+ba);
break;
}p=q[i];
k=this.__bN(h[p],false);
k.key=p;
n.push(k);
}}else{var o=0;

for(var p in h){o++;
}n=bh+o+bl;
}break;
}return {type:r,text:n,trace:m};
}},defer:function(S){var T=qx.Bootstrap.$$logs;

for(var i=0;i<T.length;i++){this.__bL(T[i][0],T[i][1]);
}qx.Bootstrap.debug=S.debug;
qx.Bootstrap.info=S.info;
qx.Bootstrap.warn=S.warn;
qx.Bootstrap.error=S.error;
qx.Bootstrap.trace=S.trace;
}});
})();
(function(){var A="set",z="get",y="reset",x="MSIE 6.0",w="qx.core.Object",v="]",u="rv:1.8.1",t="[",s="$$user_",r="Object";
qx.Class.define(w,{extend:Object,include:[qx.data.MBinding],construct:function(){qx.core.ObjectRegistry.register(this);
},statics:{$$type:r},members:{toHashCode:function(){return this.$$hash;
},toString:function(){return this.classname+t+this.$$hash+v;
},base:function(bF,bG){{};

if(arguments.length===1){return bF.callee.base.call(this);
}else{return bF.callee.base.apply(this,Array.prototype.slice.call(arguments,1));
}},self:function(X){return X.callee.self;
},clone:function(){var ba=this.constructor;
var Y=new ba;
var bc=qx.Class.getProperties(ba);
var bb=qx.core.Property.$$store.user;
var bd=qx.core.Property.$$method.set;
var name;
for(var i=0,l=bc.length;i<l;i++){name=bc[i];

if(this.hasOwnProperty(bb[name])){Y[bd[name]](this[bb[name]]);
}}return Y;
},set:function(D,E){var G=qx.core.Property.$$method.set;

if(qx.Bootstrap.isString(D)){if(!this[G[D]]){if(this[A+qx.Bootstrap.firstUp(D)]!=undefined){this[A+qx.Bootstrap.firstUp(D)](E);
return;
}{};
}return this[G[D]](E);
}else{for(var F in D){if(!this[G[F]]){if(this[A+qx.Bootstrap.firstUp(F)]!=undefined){this[A+qx.Bootstrap.firstUp(F)](D[F]);
continue;
}{};
}this[G[F]](D[F]);
}return this;
}},get:function(bn){var bo=qx.core.Property.$$method.get;

if(!this[bo[bn]]){if(this[z+qx.Bootstrap.firstUp(bn)]!=undefined){return this[z+qx.Bootstrap.firstUp(bn)]();
}{};
}return this[bo[bn]]();
},reset:function(o){var p=qx.core.Property.$$method.reset;

if(!this[p[o]]){if(this[y+qx.Bootstrap.firstUp(o)]!=undefined){this[y+qx.Bootstrap.firstUp(o)]();
return;
}{};
}this[p[o]]();
},__bO:qx.event.Registration,addListener:function(j,k,self,m){if(!this.$$disposed){return this.__bO.addListener(this,j,k,self,m);
}return null;
},addListenerOnce:function(bz,bA,self,bB){var bC=function(e){bA.call(self||this,e);
this.removeListener(bz,bC,this,bB);
};
return this.addListener(bz,bC,this,bB);
},removeListener:function(I,J,self,K){if(!this.$$disposed){return this.__bO.removeListener(this,I,J,self,K);
}return false;
},removeListenerById:function(O){if(!this.$$disposed){return this.__bO.removeListenerById(this,O);
}return false;
},hasListener:function(B,C){return this.__bO.hasListener(this,B,C);
},dispatchEvent:function(bH){if(!this.$$disposed){return this.__bO.dispatchEvent(this,bH);
}return true;
},fireEvent:function(L,M,N){if(!this.$$disposed){return this.__bO.fireEvent(this,L,M,N);
}return true;
},fireNonBubblingEvent:function(bk,bl,bm){if(!this.$$disposed){return this.__bO.fireNonBubblingEvent(this,bk,bl,bm);
}return true;
},fireDataEvent:function(b,c,d,f){if(!this.$$disposed){if(d===undefined){d=null;
}return this.__bO.fireNonBubblingEvent(this,b,qx.event.type.Data,[c,d,!!f]);
}return true;
},__bP:null,setUserData:function(V,W){if(!this.__bP){this.__bP={};
}this.__bP[V]=W;
},getUserData:function(g){if(!this.__bP){return null;
}var h=this.__bP[g];
return h===undefined?null:h;
},__bQ:qx.log.Logger,debug:function(U){this.__bQ.debug(this,U);
},info:function(a){this.__bQ.info(this,a);
},warn:function(n){this.__bQ.warn(this,n);
},error:function(bD){this.__bQ.error(this,bD);
},trace:function(){this.__bQ.trace(this);
},isDisposed:function(){return this.$$disposed||false;
},dispose:function(){var bi,bg,bf,bj;
if(this.$$disposed){return;
}this.$$disposed=true;
this.$$instance=null;
this.$$allowconstruct=null;
{};
var bh=this.constructor;
var be;

while(bh.superclass){if(bh.$$destructor){bh.$$destructor.call(this);
}if(bh.$$includes){be=bh.$$flatIncludes;

for(var i=0,l=be.length;i<l;i++){if(be[i].$$destructor){be[i].$$destructor.call(this);
}}}bh=bh.superclass;
}if(this.__bR){this.__bR();
}{};
},__bR:null,__bS:function(){var bE=qx.Class.getProperties(this.constructor);

for(var i=0,l=bE.length;i<l;i++){delete this[s+bE[i]];
}},_disposeFields:function(bp){qx.Bootstrap.warn("Don't use '_disposeFields' - instead assign directly to 'null'");
qx.util.DisposeUtil.disposeFields(this,arguments);
},_disposeObjects:function(T){qx.util.DisposeUtil.disposeObjects(this,arguments);
},_disposeSingletonObjects:function(by){qx.util.DisposeUtil.disposeObjects(this,arguments,true);
},_disposeArray:function(H){qx.util.DisposeUtil.disposeArray(this,H);
},_disposeMap:function(q){qx.util.DisposeUtil.disposeMap(this,q);
}},settings:{"qx.disposerDebugLevel":0},defer:function(P,Q){{};
var S=navigator.userAgent.indexOf(x)!=-1;
var R=navigator.userAgent.indexOf(u)!=-1;
if(S||R){Q.__bR=Q.__bS;
}},destruct:function(){if(!qx.core.ObjectRegistry.inShutDown){qx.event.Registration.removeAllListeners(this);
}else{qx.event.Registration.deleteAllListeners(this);
}qx.core.ObjectRegistry.unregister(this);
this.__bP=null;
var bs=this.constructor;
var bw;
var bx=qx.core.Property.$$store;
var bu=bx.user;
var bv=bx.theme;
var bq=bx.inherit;
var bt=bx.useinit;
var br=bx.init;

while(bs){bw=bs.$$properties;

if(bw){for(var name in bw){if(bw[name].dispose||bw[name].dereference){this[bu[name]]=this[bv[name]]=this[bq[name]]=this[bt[name]]=this[br[name]]=undefined;
}}}bs=bs.superclass;
}}});
})();
(function(){var c="qx.event.IEventHandler";
qx.Interface.define(c,{statics:{TARGET_DOMNODE:1,TARGET_WINDOW:2,TARGET_OBJECT:3},members:{canHandleEvent:function(a,b){},registerEvent:function(d,e,f){},unregisterEvent:function(g,h,i){}}});
})();
(function(){var g="qx.globalErrorHandling",f="on",d="qx.event.GlobalError";
qx.Bootstrap.define(d,{statics:{setErrorHandler:function(i,j){this.__bT=i||null;
this.__bU=j||window;

if(qx.core.Setting.get(g)===f){if(i&&window.onerror){var k=qx.Bootstrap.bind(this.__bW,this);

if(this.__bV==null){this.__bV=window.onerror;
}var self=this;
window.onerror=function(e){self.__bV(e);
k(e);
};
}
if(i&&!window.onerror){window.onerror=qx.Bootstrap.bind(this.__bW,this);
}if(this.__bT==null){if(this.__bV!=null){window.onerror=this.__bV;
this.__bV=null;
}else{window.onerror=null;
}}}},__bW:function(a,b,c){if(this.__bT){this.handleError(new qx.core.WindowError(a,b,c));
return true;
}},observeMethod:function(h){if(qx.core.Setting.get(g)===f){var self=this;
return function(){if(!self.__bT){return h.apply(this,arguments);
}
try{return h.apply(this,arguments);
}catch(m){self.handleError(new qx.core.GlobalError(m,arguments));
}};
}else{return h;
}},handleError:function(l){if(this.__bT){this.__bT.call(this.__bU,l);
}}},defer:function(n){qx.core.Setting.define(g,f);
n.setErrorHandler(null,null);
}});
})();
(function(){var r="ready",q="qx.client",p="mshtml",o="load",n="unload",m="qx.event.handler.Application",l="complete",k="gecko|opera|webkit",j="left",i="DOMContentLoaded",h="shutdown";
qx.Class.define(m,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(t){qx.core.Object.call(this);
this._window=t.getWindow();
this.__bX=false;
this.__bY=false;
this._initObserver();
qx.event.handler.Application.$$instance=this;
},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{ready:1,shutdown:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:true,onScriptLoaded:function(){var s=qx.event.handler.Application.$$instance;

if(s){s.__cc();
}}},members:{canHandleEvent:function(f,g){},registerEvent:function(u,v,w){},unregisterEvent:function(b,c,d){},__ca:null,__bX:null,__bY:null,__cb:null,__cc:function(){if(!this.__ca&&this.__bX&&qx.$$loader.scriptLoaded){if(qx.core.Variant.isSet(q,p)){if(qx.event.Registration.hasListener(this._window,r)){this.__ca=true;
qx.event.Registration.fireEvent(this._window,r);
}}else{this.__ca=true;
qx.event.Registration.fireEvent(this._window,r);
}}},isApplicationReady:function(){return this.__ca;
},_initObserver:function(){if(qx.$$domReady||document.readyState==l||document.readyState==r){this.__bX=true;
this.__cc();
}else{this._onNativeLoadWrapped=qx.lang.Function.bind(this._onNativeLoad,this);

if(qx.core.Variant.isSet(q,k)){qx.bom.Event.addNativeListener(this._window,i,this._onNativeLoadWrapped);
}else if(qx.core.Variant.isSet(q,p)){var self=this;
var x=function(){try{document.documentElement.doScroll(j);

if(document.body){self._onNativeLoadWrapped();
}}catch(y){window.setTimeout(x,100);
}};
x();
}qx.bom.Event.addNativeListener(this._window,o,this._onNativeLoadWrapped);
}this._onNativeUnloadWrapped=qx.lang.Function.bind(this._onNativeUnload,this);
qx.bom.Event.addNativeListener(this._window,n,this._onNativeUnloadWrapped);
},_stopObserver:function(){if(this._onNativeLoadWrapped){qx.bom.Event.removeNativeListener(this._window,o,this._onNativeLoadWrapped);
}qx.bom.Event.removeNativeListener(this._window,n,this._onNativeUnloadWrapped);
this._onNativeLoadWrapped=null;
this._onNativeUnloadWrapped=null;
},_onNativeLoad:qx.event.GlobalError.observeMethod(function(){this.__bX=true;
this.__cc();
}),_onNativeUnload:qx.event.GlobalError.observeMethod(function(){if(!this.__cb){this.__cb=true;

try{qx.event.Registration.fireEvent(this._window,h);
}catch(e){throw e;
}finally{qx.core.ObjectRegistry.shutdown();
}}})},destruct:function(){this._stopObserver();
this._window=null;
},defer:function(a){qx.event.Registration.addHandler(a);
}});
})();
(function(){var b="qx.event.handler.Window";
qx.Class.define(b,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(a){qx.core.Object.call(this);
this._manager=a;
this._window=a.getWindow();
this._initWindowObserver();
},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{error:1,load:1,beforeunload:1,unload:1,resize:1,scroll:1,beforeshutdown:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:true},members:{canHandleEvent:function(c,d){},registerEvent:function(m,n,o){},unregisterEvent:function(s,t,u){},_initWindowObserver:function(){this._onNativeWrapper=qx.lang.Function.listener(this._onNative,this);
var q=qx.event.handler.Window.SUPPORTED_TYPES;

for(var p in q){qx.bom.Event.addNativeListener(this._window,p,this._onNativeWrapper);
}},_stopWindowObserver:function(){var g=qx.event.handler.Window.SUPPORTED_TYPES;

for(var f in g){qx.bom.Event.removeNativeListener(this._window,f,this._onNativeWrapper);
}},_onNative:qx.event.GlobalError.observeMethod(function(e){if(this.isDisposed()){return;
}var i=this._window;

try{var l=i.document;
}catch(e){return ;
}var j=l.documentElement;
var h=e.target||e.srcElement;

if(h==null||h===i||h===l||h===j){var event=qx.event.Registration.createEvent(e.type,qx.event.type.Native,[e,i]);
qx.event.Registration.dispatchEvent(i,event);
var k=event.getReturnValue();

if(k!=null){e.returnValue=k;
return k;
}}})},destruct:function(){this._stopWindowObserver();
this._manager=this._window=null;
},defer:function(r){qx.event.Registration.addHandler(r);
}});
})();
(function(){var c="qx.event.IEventDispatcher";
qx.Interface.define(c,{members:{canDispatchEvent:function(a,event,b){this.assertInstance(event,qx.event.type.Event);
this.assertString(b);
},dispatchEvent:function(d,event,e){this.assertInstance(event,qx.event.type.Event);
this.assertString(e);
}}});
})();
(function(){var k="qx.event.dispatch.Direct";
qx.Class.define(k,{extend:qx.core.Object,implement:qx.event.IEventDispatcher,construct:function(j){this._manager=j;
},statics:{PRIORITY:qx.event.Registration.PRIORITY_LAST},members:{canDispatchEvent:function(a,event,b){return !event.getBubbles();
},dispatchEvent:function(c,event,d){var g,e;
{};
event.setEventPhase(qx.event.type.Event.AT_TARGET);
var h=this._manager.getListeners(c,d,false);

if(h){for(var i=0,l=h.length;i<l;i++){var f=h[i].context||c;
h[i].handler.call(f,event);
}}}},defer:function(m){qx.event.Registration.addDispatcher(m);
}});
})();
(function(){var j="ready",i="qx.application",h="beforeunload",g="qx.core.Init",f="shutdown";
qx.Class.define(g,{statics:{getApplication:function(){return this.__cd||null;
},ready:function(){if(this.__cd){return;
}
if(qx.bom.client.Engine.UNKNOWN_ENGINE){qx.log.Logger.warn("Could not detect engine!");
}
if(qx.bom.client.Engine.UNKNOWN_VERSION){qx.log.Logger.warn("Could not detect the version of the engine!");
}
if(qx.bom.client.Platform.UNKNOWN_PLATFORM){qx.log.Logger.warn("Could not detect platform!");
}
if(qx.bom.client.System.UNKNOWN_SYSTEM){qx.log.Logger.warn("Could not detect system!");
}qx.log.Logger.debug(this,"Load runtime: "+(new Date-qx.Bootstrap.LOADSTART)+"ms");
var c=qx.core.Setting.get(i);
var d=qx.Class.getByName(c);

if(d){this.__cd=new d;
var b=new Date;
this.__cd.main();
qx.log.Logger.debug(this,"Main runtime: "+(new Date-b)+"ms");
var b=new Date;
this.__cd.finalize();
qx.log.Logger.debug(this,"Finalize runtime: "+(new Date-b)+"ms");
}else{qx.log.Logger.warn("Missing application class: "+c);
}},__ce:function(e){var k=this.__cd;

if(k){e.setReturnValue(k.close());
}},__cf:function(){var a=this.__cd;

if(a){a.terminate();
}}},defer:function(l){qx.event.Registration.addListener(window,j,l.ready,l);
qx.event.Registration.addListener(window,f,l.__cf,l);
qx.event.Registration.addListener(window,h,l.__ce,l);
}});
})();
(function(){var a="qx.application.IApplication";
qx.Interface.define(a,{members:{main:function(){},finalize:function(){},close:function(){},terminate:function(){}}});
})();
(function(){var g="qx.locale.MTranslation";
qx.Mixin.define(g,{members:{tr:function(m,n){var o=qx.locale.Manager;

if(o){return o.tr.apply(o,arguments);
}throw new Error("To enable localization please include qx.locale.Manager into your build!");
},trn:function(h,i,j,k){var l=qx.locale.Manager;

if(l){return l.trn.apply(l,arguments);
}throw new Error("To enable localization please include qx.locale.Manager into your build!");
},trc:function(a,b,c){var d=qx.locale.Manager;

if(d){return d.trc.apply(d,arguments);
}throw new Error("To enable localization please include qx.locale.Manager into your build!");
},marktr:function(e){var f=qx.locale.Manager;

if(f){return f.marktr.apply(f,arguments);
}throw new Error("To enable localization please include qx.locale.Manager into your build!");
}}});
})();
(function(){var b="abstract",a="qx.application.AbstractGui";
qx.Class.define(a,{type:b,extend:qx.core.Object,implement:[qx.application.IApplication],include:qx.locale.MTranslation,members:{__cg:null,_createRootWidget:function(){throw new Error("Abstract method call");
},getRoot:function(){return this.__cg;
},main:function(){qx.theme.manager.Meta.getInstance().initialize();
qx.ui.tooltip.Manager.getInstance();
this.__cg=this._createRootWidget();
},finalize:function(){this.render();
},render:function(){qx.ui.core.queue.Manager.flush();
},close:function(c){},terminate:function(){}},destruct:function(){this.__cg=null;
}});
})();
(function(){var a="qx.application.Standalone";
qx.Class.define(a,{extend:qx.application.AbstractGui,members:{_createRootWidget:function(){return new qx.ui.root.Application(document);
}}});
})();
(function(){var v='',u='-',t='auth',s='agrammon.main.logout',r='agrammon.FileMenu.openConnect',q='agrammon.info.setUser',p='agrammon.main.login',o='error',n='user',m='Microsoft Internet Explorer',S='Agrammon.Application',R='test12',Q="Created by OETIKER+PARTNER AG. Copyright 2010",P='16px bold sans-serif',O='agrammon.info.setDataset',N='logout',M="Please authenticate yourself",L='agrammon.DatasetCache.refresh',K="MSIE ([0-9]{1,}[\.0-9]{0,})",J='agrammon.NavBar.clearTree',C="Invalid username or password",D="#bfbfbf",A='last_login',B='http://it.oetiker.ch/',y='agrammon.input.select',z="Authentication error",w='Agrammon ',x='fritz.zaucker@oetiker.ch',E="Latest news",F='password',H="Einzelbetriebsmodell",G='#808080',I='news';
qx.Class.define(S,{extend:qx.application.Standalone,members:{main:function(){qx.application.Standalone.prototype.main.call(this);
var U=-1;

if(navigator.appName==m){var bg=navigator.userAgent;
var bb=new RegExp(K);

if(bb.exec(bg)!=null){U=parseFloat(RegExp.$1);
}}
if(U>0&&U<7){alert(this.tr("Agrammon is not supported on Internet Explorer below version 7"));
this.terminate();
}var be;
be=true;
{};
var V=this;
var bc=Agrammon.Lib.Server.getInstance();
this.rpc=bc;
qx.event.message.Bus.subscribe(s,this.__xx,this);
qx.event.message.Bus.subscribe(p,this.__xw,this);
var X=this.getRoot();
X.setBlockerColor(D);
X.setBlockerOpacity(0.5);
X.add(new Agrammon.Lib.Error());
X.add(new Agrammon.Lib.Help());
X.add(new Agrammon.Lib.Log());
var bf=new qx.ui.container.Composite(new qx.ui.layout.VBox());
this.main=bf;
bf.set({padding:5});
X.add(bf,{edge:0});
var Y=new qx.ui.basic.Label().set({value:w+this.tr(H),font:qx.bom.Font.fromString(P),textColor:G});
var bd=new Agrammon.ui.Input(bc);
var W=new Agrammon.Lib.InputOutput(bc,bd);
var T=new Agrammon.ui.NavMenu(W.getNavbar());
var ba=new Agrammon.Lib.MainMenu(bc,W,Y,T);
bf.add(ba);
bf.add(W,{flex:1});
bf.add(new Agrammon.Lib.Footer(this.tr(Q),B));
this.__xv=function(a,b,c){if(b==null){var g=a[n];
var h=a[A]+v;
var d=a[I];
if(d&&d!=v){var f=new Agrammon.Lib.News(V.tr(E),d,function(){f.close();
qx.event.message.Bus.dispatch(r);
},h);
}else{qx.event.message.Bus.dispatch(r);
}var i={name:u};
qx.event.message.Bus.dispatch(q,g);
qx.event.message.Bus.dispatch(L,g);
}else{qx.event.message.Bus.dispatch(o,[qx.locale.Manager.tr(z),qx.locale.Manager.tr(C),o,{msg:s,data:null}]);
}};

if(be&&bc.isTestMode()){qx.event.message.Bus.dispatch(p,{'user':x,'password':R});
}else{this.__xz();
}},__xv:null,close:function(e){qx.application.Standalone.prototype.close.call(this);
this.debug('Application.close()');
},terminate:function(e){qx.application.Standalone.prototype.terminate.call(this);
this.debug('Application.terminate()');
},__xw:function(j){var l=j.getData()[n];
var k=j.getData()[F];
this.rpc.callAsync(this.__xv,t,{user:l,password:k});
},__xx:function(){this.rpc.callAsync(this.__xy,t,{user:N,password:v});
qx.event.message.Bus.dispatch(J,null);
qx.event.message.Bus.dispatch(y);
this.__xz();
},__xy:function(bh,bi,bj){if(bi==null){qx.event.message.Bus.dispatch(q,u);
qx.event.message.Bus.dispatch(O,u);
}else{alert(bi);
}},__xz:function(){var bk=new Agrammon.Lib.Login(this.tr(M),this.rpc,this.rpc.getBaseUrl());
}},settings:{}});
})();
(function(){var b="qx.event.type.Event";
qx.Class.define(b,{extend:qx.core.Object,statics:{CAPTURING_PHASE:1,AT_TARGET:2,BUBBLING_PHASE:3},members:{init:function(l,m){{};
this._type=null;
this._target=null;
this._currentTarget=null;
this._relatedTarget=null;
this._originalTarget=null;
this._stopPropagation=false;
this._preventDefault=false;
this._bubbles=!!l;
this._cancelable=!!m;
this._timeStamp=(new Date()).getTime();
this._eventPhase=null;
return this;
},clone:function(c){if(c){var d=c;
}else{var d=qx.event.Pool.getInstance().getObject(this.constructor);
}d._type=this._type;
d._target=this._target;
d._currentTarget=this._currentTarget;
d._relatedTarget=this._relatedTarget;
d._originalTarget=this._originalTarget;
d._stopPropagation=this._stopPropagation;
d._bubbles=this._bubbles;
d._preventDefault=this._preventDefault;
d._cancelable=this._cancelable;
return d;
},stop:function(){if(this._bubbles){this.stopPropagation();
}
if(this._cancelable){this.preventDefault();
}},stopPropagation:function(){{};
this._stopPropagation=true;
},getPropagationStopped:function(){return !!this._stopPropagation;
},preventDefault:function(){{};
this._preventDefault=true;
},getDefaultPrevented:function(){return !!this._preventDefault;
},getType:function(){return this._type;
},setType:function(i){this._type=i;
},getEventPhase:function(){return this._eventPhase;
},setEventPhase:function(e){this._eventPhase=e;
},getTimeStamp:function(){return this._timeStamp;
},getTarget:function(){return this._target;
},setTarget:function(k){this._target=k;
},getCurrentTarget:function(){return this._currentTarget||this._target;
},setCurrentTarget:function(f){this._currentTarget=f;
},getRelatedTarget:function(){return this._relatedTarget;
},setRelatedTarget:function(g){this._relatedTarget=g;
},getOriginalTarget:function(){return this._originalTarget;
},setOriginalTarget:function(a){this._originalTarget=a;
},getBubbles:function(){return this._bubbles;
},setBubbles:function(h){this._bubbles=h;
},isCancelable:function(){return this._cancelable;
},setCancelable:function(j){this._cancelable=j;
}},destruct:function(){this._target=this._currentTarget=this._relatedTarget=this._originalTarget=null;
}});
})();
(function(){var c="qx.event.type.Data";
qx.Class.define(c,{extend:qx.event.type.Event,members:{__cm:null,__cn:null,init:function(d,e,f){qx.event.type.Event.prototype.init.call(this,false,f);
this.__cm=d;
this.__cn=e;
return this;
},clone:function(a){var b=qx.event.type.Event.prototype.clone.call(this,a);
b.__cm=this.__cm;
b.__cn=this.__cn;
return b;
},getData:function(){return this.__cm;
},getOldData:function(){return this.__cn;
}},destruct:function(){this.__cm=this.__cn=null;
}});
})();
(function(){var cK="get",cJ="",cI="[",cH="last",cG="change",cF="]",cE=".",cD="Number",cC="String",cB="set",da="deepBinding",cY="item",cX="reset",cW="' (",cV="Boolean",cU=").",cT=") to the object '",cS="Integer",cR="qx.data.SingleValueBinding",cQ="No event could be found for the property",cO="PositiveNumber",cP="Binding from '",cM="PositiveInteger",cN="Binding does not exist!",cL="Date";
qx.Class.define(cR,{statics:{DEBUG_ON:false,__co:{},bind:function(bq,br,bs,bt,bu){var bE=this.__cq(bq,br,bs,bt,bu);
var bz=br.split(cE);
var bw=this.__cx(bz);
var bD=[];
var bA=[];
var bB=[];
var bx=[];
var by=bq;
for(var i=0;i<bz.length;i++){if(bw[i]!==cJ){bx.push(cG);
}else{bx.push(this.__cs(by,bz[i]));
}bD[i]=by;
if(i==bz.length-1){if(bw[i]!==cJ){var bH=bw[i]===cH?by.length-1:bw[i];
var bv=by.getItem(bH);
this.__cw(bv,bs,bt,bu,bq);
bB[i]=this.__cy(by,bx[i],bs,bt,bu,bw[i]);
}else{if(bz[i]!=null&&by[cK+qx.lang.String.firstUp(bz[i])]!=null){var bv=by[cK+qx.lang.String.firstUp(bz[i])]();
this.__cw(bv,bs,bt,bu,bq);
}bB[i]=this.__cy(by,bx[i],bs,bt,bu);
}}else{var bF={index:i,propertyNames:bz,sources:bD,listenerIds:bB,arrayIndexValues:bw,targetObject:bs,targetPropertyChain:bt,options:bu,listeners:bA};
var bC=qx.lang.Function.bind(this.__cp,this,bF);
bA.push(bC);
bB[i]=by.addListener(bx[i],bC);
}if(by[cK+qx.lang.String.firstUp(bz[i])]==null){by=null;
}else if(bw[i]!==cJ){by=by[cK+qx.lang.String.firstUp(bz[i])](bw[i]);
}else{by=by[cK+qx.lang.String.firstUp(bz[i])]();
}
if(!by){break;
}}var bG={type:da,listenerIds:bB,sources:bD,targetListenerIds:bE.listenerIds,targets:bE.targets};
this.__cz(bG,bq,br,bs,bt);
return bG;
},__cp:function(I){if(I.options&&I.options.onUpdate){I.options.onUpdate(I.sources[I.index],I.targetObject);
}for(var j=I.index+1;j<I.propertyNames.length;j++){var M=I.sources[j];
I.sources[j]=null;

if(!M){continue;
}M.removeListenerById(I.listenerIds[j]);
}var M=I.sources[I.index];
for(var j=I.index+1;j<I.propertyNames.length;j++){if(I.arrayIndexValues[j-1]!==cJ){M=M[cK+qx.lang.String.firstUp(I.propertyNames[j-1])](I.arrayIndexValues[j-1]);
}else{M=M[cK+qx.lang.String.firstUp(I.propertyNames[j-1])]();
}I.sources[j]=M;
if(!M){this.__ct(I.targetObject,I.targetPropertyChain);
break;
}if(j==I.propertyNames.length-1){if(qx.Class.implementsInterface(M,qx.data.IListData)){var N=I.arrayIndexValues[j]===cH?M.length-1:I.arrayIndexValues[j];
var K=M.getItem(N);
this.__cw(K,I.targetObject,I.targetPropertyChain,I.options,I.sources[I.index]);
I.listenerIds[j]=this.__cy(M,cG,I.targetObject,I.targetPropertyChain,I.options,I.arrayIndexValues[j]);
}else{if(I.propertyNames[j]!=null&&M[cK+qx.lang.String.firstUp(I.propertyNames[j])]!=null){var K=M[cK+qx.lang.String.firstUp(I.propertyNames[j])]();
this.__cw(K,I.targetObject,I.targetPropertyChain,I.options,I.sources[I.index]);
}var L=this.__cs(M,I.propertyNames[j]);
I.listenerIds[j]=this.__cy(M,L,I.targetObject,I.targetPropertyChain,I.options);
}}else{if(I.listeners[j]==null){var J=qx.lang.Function.bind(this.__cp,this,I);
I.listeners.push(J);
}if(qx.Class.implementsInterface(M,qx.data.IListData)){var L=cG;
}else{var L=this.__cs(M,I.propertyNames[j]);
}I.listenerIds[j]=M.addListener(L,I.listeners[j]);
}}},__cq:function(bI,bJ,bK,bL,bM){var bQ=bL.split(cE);
var bO=this.__cx(bQ);
var bV=[];
var bU=[];
var bS=[];
var bR=[];
var bP=bK;
for(var i=0;i<bQ.length-1;i++){if(bO[i]!==cJ){bR.push(cG);
}else{try{bR.push(this.__cs(bP,bQ[i]));
}catch(e){break;
}}bV[i]=bP;
var bT=function(){for(var j=i+1;j<bQ.length-1;j++){var o=bV[j];
bV[j]=null;

if(!o){continue;
}o.removeListenerById(bS[j]);
}var o=bV[i];
for(var j=i+1;j<bQ.length-1;j++){var m=qx.lang.String.firstUp(bQ[j-1]);
if(bO[j-1]!==cJ){var p=bO[j-1]===cH?o.getLength()-1:bO[j-1];
o=o[cK+m](p);
}else{o=o[cK+m]();
}bV[j]=o;
if(bU[j]==null){bU.push(bT);
}if(qx.Class.implementsInterface(o,qx.data.IListData)){var n=cG;
}else{try{var n=qx.data.SingleValueBinding.__cs(o,bQ[j]);
}catch(e){break;
}}bS[j]=o.addListener(n,bU[j]);
}qx.data.SingleValueBinding.__cr(bI,bJ,bK,bL);
};
bU.push(bT);
bS[i]=bP.addListener(bR[i],bT);
var bN=qx.lang.String.firstUp(bQ[i]);
if(bP[cK+bN]==null){bP=null;
}else if(bO[i]!==cJ){bP=bP[cK+bN](bO[i]);
}else{bP=bP[cK+bN]();
}
if(!bP){break;
}}return {listenerIds:bS,targets:bV};
},__cr:function(y,z,A,B){var F=this.__cv(y,z);

if(F!=null){var H=z.substring(z.lastIndexOf(cE)+1,z.length);
if(H.charAt(H.length-1)==cF){var C=H.substring(H.lastIndexOf(cI)+1,H.length-1);
var E=H.substring(0,H.lastIndexOf(cI));
var G=F[cK+qx.lang.String.firstUp(E)]();

if(C==cH){C=G.length-1;
}
if(G!=null){var D=G.getItem(C);
}}else{var D=F[cK+qx.lang.String.firstUp(H)]();
}}this.__cu(A,B,D);
},__cs:function(c,d){var f=this.__cB(c,d);
if(f==null){if(qx.Class.supportsEvent(c.constructor,d)){f=d;
}else if(qx.Class.supportsEvent(c.constructor,cG+qx.lang.String.firstUp(d))){f=cG+qx.lang.String.firstUp(d);
}else{throw new qx.core.AssertionError(cQ,d);
}}return f;
},__ct:function(cd,ce){var cf=this.__cv(cd,ce);

if(cf!=null){var cg=ce.substring(ce.lastIndexOf(cE)+1,ce.length);
if(cg.charAt(cg.length-1)==cF){this.__cu(cd,ce,null);
return;
}if(cf[cX+qx.lang.String.firstUp(cg)]!=undefined){cf[cX+qx.lang.String.firstUp(cg)]();
}else{cf[cB+qx.lang.String.firstUp(cg)](null);
}}},__cu:function(bg,bh,bi){var bm=this.__cv(bg,bh);

if(bm!=null){var bn=bh.substring(bh.lastIndexOf(cE)+1,bh.length);
if(bn.charAt(bn.length-1)==cF){var bj=bn.substring(bn.lastIndexOf(cI)+1,bn.length-1);
var bl=bn.substring(0,bn.lastIndexOf(cI));
var bk=bm[cK+qx.lang.String.firstUp(bl)]();

if(bj==cH){bj=bk.length-1;
}
if(bk!=null){bk.setItem(bj,bi);
}}else{bm[cB+qx.lang.String.firstUp(bn)](bi);
}}},__cv:function(q,r){var u=r.split(cE);
var v=q;
for(var i=0;i<u.length-1;i++){try{var t=u[i];
if(t.indexOf(cF)==t.length-1){var s=t.substring(t.indexOf(cI)+1,t.length-1);
t=t.substring(0,t.indexOf(cI));
}v=v[cK+qx.lang.String.firstUp(t)]();

if(s!=null){if(s==cH){s=v.length-1;
}v=v.getItem(s);
s=null;
}}catch(cc){return null;
}}return v;
},__cw:function(ct,cu,cv,cw,cx){ct=this.__cA(ct,cu,cv,cw);
if(ct==null){this.__ct(cu,cv);
}if(ct!=undefined){try{this.__cu(cu,cv,ct);
if(cw&&cw.onUpdate){cw.onUpdate(cx,cu,ct);
}}catch(e){if(!(e instanceof qx.core.ValidationError)){throw e;
}
if(cw&&cw.onSetFail){cw.onSetFail(e);
}else{this.warn("Failed so set value "+ct+" on "+cu+". Error message: "+e);
}}}},__cx:function(cy){var cz=[];
for(var i=0;i<cy.length;i++){var name=cy[i];
if(qx.lang.String.endsWith(name,cF)){var cA=name.substring(name.indexOf(cI)+1,name.indexOf(cF));
if(name.indexOf(cF)!=name.length-1){throw new Error("Please use only one array at a time: "+name+" does not work.");
}
if(cA!==cH){if(cA==cJ||isNaN(parseInt(cA))){throw new Error("No number or 'last' value hast been given"+" in a array binding: "+name+" does not work.");
}}if(name.indexOf(cI)!=0){cy[i]=name.substring(0,name.indexOf(cI));
cz[i]=cJ;
cz[i+1]=cA;
cy.splice(i+1,0,cY);
i++;
}else{cz[i]=cA;
cy.splice(i,1,cY);
}}else{cz[i]=cJ;
}}return cz;
},__cy:function(W,X,Y,ba,bb,bc){var bd;
{};
var bf=function(g,e){if(g!==cJ){if(g===cH){g=W.length-1;
}var l=W.getItem(g);
if(l==undefined){qx.data.SingleValueBinding.__ct(Y,ba);
}var h=e.getData().start;
var k=e.getData().end;

if(g<h||g>k){return;
}}else{var l=e.getData();
}if(qx.data.SingleValueBinding.DEBUG_ON){qx.log.Logger.debug("Binding executed from "+W+" by "+X+" to "+Y+" ("+ba+")");
qx.log.Logger.debug("Data before conversion: "+l);
}l=qx.data.SingleValueBinding.__cA(l,Y,ba,bb);
if(qx.data.SingleValueBinding.DEBUG_ON){qx.log.Logger.debug("Data after conversion: "+l);
}try{if(l!=undefined){qx.data.SingleValueBinding.__cu(Y,ba,l);
}else{qx.data.SingleValueBinding.__ct(Y,ba);
}if(bb&&bb.onUpdate){bb.onUpdate(W,Y,l);
}}catch(e){if(!(e instanceof qx.core.ValidationError)){throw e;
}
if(bb&&bb.onSetFail){bb.onSetFail(e);
}else{this.warn("Failed so set value "+l+" on "+Y+". Error message: "+e);
}}};
if(!bc){bc=cJ;
}bf=qx.lang.Function.bind(bf,W,bc);
var be=W.addListener(X,bf);
return be;
},__cz:function(bW,bX,bY,ca,cb){if(this.__co[bX.toHashCode()]===undefined){this.__co[bX.toHashCode()]=[];
}this.__co[bX.toHashCode()].push([bW,bX,bY,ca,cb]);
},__cA:function(ch,ci,cj,ck){if(ck&&ck.converter){var cm;

if(ci.getModel){cm=ci.getModel();
}return ck.converter(ch,cm);
}else{var co=this.__cv(ci,cj);
var cp=cj.substring(cj.lastIndexOf(cE)+1,cj.length);
if(co==null){return ch;
}var cn=qx.Class.getPropertyDefinition(co.constructor,cp);
var cl=cn==null?cJ:cn.check;
return this.__cC(ch,cl);
}},__cB:function(P,Q){var R=qx.Class.getPropertyDefinition(P.constructor,Q);

if(R==null){return null;
}return R.event;
},__cC:function(cq,cr){var cs=qx.lang.Type.getClass(cq);
if((cs==cD||cs==cC)&&(cr==cS||cr==cM)){cq=parseInt(cq);
}if((cs==cV||cs==cD||cs==cL)&&cr==cC){cq=cq+cJ;
}if((cs==cD||cs==cC)&&(cr==cD||cr==cO)){cq=parseFloat(cq);
}return cq;
},removeBindingFromObject:function(db,dc){if(dc.type==da){for(var i=0;i<dc.sources.length;i++){if(dc.sources[i]){dc.sources[i].removeListenerById(dc.listenerIds[i]);
}}for(var i=0;i<dc.targets.length;i++){if(dc.targets[i]){dc.targets[i].removeListenerById(dc.targetListenerIds[i]);
}}}else{db.removeListenerById(dc);
}var dd=this.__co[db.toHashCode()];
if(dd!=undefined){for(var i=0;i<dd.length;i++){if(dd[i][0]==dc){qx.lang.Array.remove(dd,dd[i]);
return;
}}}throw new Error("Binding could not be found!");
},removeAllBindingsForObject:function(a){{};
var b=this.__co[a.toHashCode()];

if(b!=undefined){for(var i=b.length-1;i>=0;i--){this.removeBindingFromObject(a,b[i][0]);
}}},getAllBindingsForObject:function(O){if(this.__co[O.toHashCode()]===undefined){this.__co[O.toHashCode()]=[];
}return this.__co[O.toHashCode()];
},removeAllBindings:function(){for(var x in this.__co){var w=qx.core.ObjectRegistry.fromHashCode(x);
if(w==null){delete this.__co[x];
continue;
}this.removeAllBindingsForObject(w);
}this.__co={};
},getAllBindings:function(){return this.__co;
},showBindingInLog:function(S,T){var V;
for(var i=0;i<this.__co[S.toHashCode()].length;i++){if(this.__co[S.toHashCode()][i][0]==T){V=this.__co[S.toHashCode()][i];
break;
}}
if(V===undefined){var U=cN;
}else{var U=cP+V[1]+cW+V[2]+cT+V[3]+cW+V[4]+cU;
}qx.log.Logger.debug(U);
},showAllBindingsInLog:function(){for(var bp in this.__co){var bo=qx.core.ObjectRegistry.fromHashCode(bp);

for(var i=0;i<this.__co[bp].length;i++){this.showBindingInLog(bo,this.__co[bp][i][0]);
}}}}});
})();
(function(){var P="",O="g",N="0",M='\\$1',L="%",K='-',J="qx.lang.String",I=' ',H='\n',G="undefined";
qx.Class.define(J,{statics:{camelCase:function(b){return b.replace(/\-([a-z])/g,function(c,d){return d.toUpperCase();
});
},hyphenate:function(a){return a.replace(/[A-Z]/g,function(Q){return (K+Q.charAt(0).toLowerCase());
});
},capitalize:function(o){return o.replace(/\b[a-z]/g,function(y){return y.toUpperCase();
});
},clean:function(h){return this.trim(h.replace(/\s+/g,I));
},trimLeft:function(F){return F.replace(/^\s+/,P);
},trimRight:function(p){return p.replace(/\s+$/,P);
},trim:function(B){return B.replace(/^\s+|\s+$/g,P);
},startsWith:function(z,A){return z.indexOf(A)===0;
},endsWith:function(q,r){return q.substring(q.length-r.length,q.length)===r;
},repeat:function(f,g){return f.length>0?new Array(g+1).join(f):P;
},pad:function(l,length,m){var n=length-l.length;

if(n>0){if(typeof m===G){m=N;
}return this.repeat(m,n)+l;
}else{return l;
}},firstUp:qx.Bootstrap.firstUp,firstLow:qx.Bootstrap.firstLow,contains:function(w,x){return w.indexOf(x)!=-1;
},format:function(C,D){var E=C;

for(var i=0;i<D.length;i++){E=E.replace(new RegExp(L+(i+1),O),D[i]);
}return E;
},escapeRegexpChars:function(j){return j.replace(/([.*+?^${}()|[\]\/\\])/g,M);
},toArray:function(e){return e.split(/\B|\b/g);
},stripTags:function(k){return k.replace(/<\/?[^>]+>/gi,P);
},stripScripts:function(s,t){var v=P;
var u=s.replace(/<script[^>]*>([\s\S]*?)<\/script>/gi,function(){v+=arguments[1]+H;
return P;
});

if(t===true){qx.lang.Function.globalEval(v);
}return u;
}}});
})();
(function(){var i="qx.event.type.Data",h="qx.event.type.Event",g="qx.data.IListData";
qx.Interface.define(g,{events:{"change":i,"changeLength":h},members:{getItem:function(j){},setItem:function(d,e){},splice:function(a,b,c){},contains:function(f){},getLength:function(){},toArray:function(){}}});
})();
(function(){var a="qx.lang.Date";
qx.Class.define(a,{statics:{now:function(){return +new Date;
}}});
})();
(function(){var b="",a="qx.core.WindowError";
qx.Bootstrap.define(a,{extend:Error,construct:function(c,d,e){Error.call(this,c);
this.__cD=c;
this.__cE=d||b;
this.__cF=e===undefined?-1:e;
},members:{__cD:null,__cE:null,__cF:null,toString:function(){return this.__cD;
},getUri:function(){return this.__cE;
},getLineNumber:function(){return this.__cF;
}}});
})();
(function(){var b="GlobalError: ",a="qx.core.GlobalError";
qx.Bootstrap.define(a,{extend:Error,construct:function(c,d){{};
this.__cG=b+(c&&c.message?c.message:c);
Error.call(this,this.__cG);
this.__cH=d;
this.__cI=c;
},members:{__cI:null,__cH:null,__cG:null,toString:function(){return this.__cG;
},getArguments:function(){return this.__cH;
},getSourceException:function(){return this.__cI;
}},destruct:function(){this.__cI=null;
this.__cH=null;
this.__cG=null;
}});
})();
(function(){var c=": ",b="qx.type.BaseError",a="";
qx.Class.define(b,{extend:Error,construct:function(d,e){Error.call(this,e);
this.__cJ=d||a;
this.message=e||qx.type.BaseError.DEFAULTMESSAGE;
},statics:{DEFAULTMESSAGE:"error"},members:{__cJ:null,message:null,getComment:function(){return this.__cJ;
},toString:function(){return this.__cJ+c+this.message;
}}});
})();
(function(){var a="qx.core.AssertionError";
qx.Class.define(a,{extend:qx.type.BaseError,construct:function(b,c){qx.type.BaseError.call(this,b,c);
this.__cK=qx.dev.StackTrace.getStackTrace();
},members:{__cK:null,getStackTrace:function(){return this.__cK;
}}});
})();
(function(){var a="qx.core.ValidationError";
qx.Class.define(a,{extend:qx.type.BaseError});
})();
(function(){var i="qx.lang.Type",h="Error",g="RegExp",f="Date",e="Number",d="Boolean";
qx.Class.define(i,{statics:{getClass:qx.Bootstrap.getClass,isString:qx.Bootstrap.isString,isArray:qx.Bootstrap.isArray,isObject:qx.Bootstrap.isObject,isFunction:qx.Bootstrap.isFunction,isRegExp:function(k){return this.getClass(k)==g;
},isNumber:function(c){return (c!==null&&(this.getClass(c)==e||c instanceof Number));
},isBoolean:function(j){return (j!==null&&(this.getClass(j)==d||j instanceof Boolean));
},isDate:function(b){return (b!==null&&(this.getClass(b)==f||b instanceof Date));
},isError:function(a){return (a!==null&&(this.getClass(a)==h||a instanceof Error));
}}});
})();
(function(){var m="qx.util.ObjectPool",k="Integer";
qx.Class.define(m,{extend:qx.core.Object,construct:function(n){qx.core.Object.call(this);
this.__cL={};

if(n!=null){this.setSize(n);
}},properties:{size:{check:k,init:Infinity}},members:{__cL:null,getObject:function(g){if(this.$$disposed){return new g;
}
if(!g){throw new Error("Class needs to be defined!");
}var h=null;
var j=this.__cL[g.classname];

if(j){h=j.pop();
}
if(h){h.$$pooled=false;
}else{h=new g;
}return h;
},poolObject:function(d){if(!this.__cL){return;
}var e=d.classname;
var f=this.__cL[e];

if(d.$$pooled){throw new Error("Object is already pooled: "+d);
}
if(!f){this.__cL[e]=f=[];
}if(f.length>this.getSize()){if(d.destroy){d.destroy();
}else{d.dispose();
}return;
}d.$$pooled=true;
f.push(d);
}},destruct:function(){var c=this.__cL;
var a,b,i,l;

for(a in c){b=c[a];

for(i=0,l=b.length;i<l;i++){b[i].dispose();
}}delete this.__cL;
}});
})();
(function(){var b="singleton",a="qx.event.Pool";
qx.Class.define(a,{extend:qx.util.ObjectPool,type:b,construct:function(){qx.util.ObjectPool.call(this,30);
}});
})();
(function(){var a="qx.util.DisposeUtil";
qx.Class.define(a,{statics:{disposeFields:function(b,c){qx.Bootstrap.warn("Don't use 'disposeFields' - instead assign directly to 'null'");

for(var i=0,l=c.length;i<l;i++){var name=c[i];

if(b[name]==null||!b.hasOwnProperty(name)){continue;
}b[name]=null;
}},disposeObjects:function(n,o,p){var name;

for(var i=0,l=o.length;i<l;i++){name=o[i];

if(n[name]==null||!n.hasOwnProperty(name)){continue;
}
if(!qx.core.ObjectRegistry.inShutDown){if(n[name].dispose){if(!p&&n[name].constructor.$$instance){throw new Error("The object stored in key "+name+" is a singleton! Please use disposeSingleton instead.");
}else{n[name].dispose();
}}else{throw new Error("Has no disposable object under key: "+name+"!");
}}n[name]=null;
}},disposeArray:function(q,r){var t=q[r];

if(!t){return;
}if(qx.core.ObjectRegistry.inShutDown){q[r]=null;
return;
}try{var s;

for(var i=t.length-1;i>=0;i--){s=t[i];

if(s){s.dispose();
}}}catch(d){throw new Error("The array field: "+r+" of object: "+q+" has non disposable entries: "+d);
}t.length=0;
q[r]=null;
},disposeMap:function(e,f){var g=e[f];

if(!g){return;
}if(qx.core.ObjectRegistry.inShutDown){e[f]=null;
return;
}try{for(var h in g){if(g.hasOwnProperty(h)){g[h].dispose();
}}}catch(u){throw new Error("The map field: "+f+" of object: "+e+" has non disposable entries: "+u);
}e[f]=null;
},disposeTriggeredBy:function(j,k){var m=k.dispose;
k.dispose=function(){m.call(k);
j.dispose();
};
}}});
})();
(function(){var e="qx.event.handler.Object";
qx.Class.define(e,{extend:qx.core.Object,implement:qx.event.IEventHandler,statics:{PRIORITY:qx.event.Registration.PRIORITY_LAST,SUPPORTED_TYPES:null,TARGET_CHECK:qx.event.IEventHandler.TARGET_OBJECT,IGNORE_CAN_HANDLE:false},members:{canHandleEvent:function(i,j){return qx.Class.supportsEvent(i.constructor,j);
},registerEvent:function(f,g,h){},unregisterEvent:function(a,b,c){}},defer:function(d){qx.event.Registration.addHandler(d);
}});
})();
(function(){var b="CSS1Compat",a="qx.bom.client.Feature";
qx.Class.define(a,{statics:{STANDARD_MODE:false,QUIRKS_MODE:false,CONTENT_BOX:false,BORDER_BOX:false,SVG:false,CANVAS:!!window.CanvasRenderingContext2D,VML:false,XPATH:!!document.evaluate,AIR:navigator.userAgent.indexOf("adobeair")!==-1,GEARS:!!(window.google&&window.google.gears),SSL:window.location.protocol==="https:",ECMA_OBJECT_COUNT:(({}).__count__==0),CSS_POINTER_EVENTS:"pointerEvents" in document.documentElement.style,HTML5_CLASSLIST:(document.documentElement.classList&&qx.Bootstrap.getClass(document.documentElement.classList)==="DOMTokenList"),__cM:function(){this.QUIRKS_MODE=this.__cN();
this.STANDARD_MODE=!this.QUIRKS_MODE;
this.CONTENT_BOX=!qx.bom.client.Engine.MSHTML||this.STANDARD_MODE;
this.BORDER_BOX=!this.CONTENT_BOX;
this.SVG=document.implementation&&document.implementation.hasFeature&&(document.implementation.hasFeature("org.w3c.dom.svg","1.0")||document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1"));
this.VML=qx.bom.client.Engine.MSHTML;
},__cN:function(){if(qx.bom.client.Engine.MSHTML&&qx.bom.client.Engine.VERSION>=8){return qx.bom.client.Engine.DOCUMENT_MODE===5;
}else{return document.compatMode!==b;
}}},defer:function(c){c.__cM();
}});
})();
(function(){var r="qx.lang.Object";
qx.Class.define(r,{statics:{empty:function(s){{};

for(var t in s){if(s.hasOwnProperty(t)){delete s[t];
}}},isEmpty:(qx.bom.client.Feature.ECMA_OBJECT_COUNT)?
function(z){{};
return z.__count__===0;
}:
function(m){{};

for(var n in m){return false;
}return true;
},hasMinLength:(qx.bom.client.Feature.ECMA_OBJECT_COUNT)?
function(u,v){{};
return u.__count__>=v;
}:
function(o,p){{};

if(p<=0){return true;
}var length=0;

for(var q in o){if((++length)>=p){return true;
}}return false;
},getLength:qx.Bootstrap.objectGetLength,getKeys:qx.Bootstrap.getKeys,getKeysAsString:qx.Bootstrap.getKeysAsString,getValues:function(A){{};
var C=[];
var B=this.getKeys(A);

for(var i=0,l=B.length;i<l;i++){C.push(A[B[i]]);
}return C;
},mergeWith:qx.Bootstrap.objectMergeWith,carefullyMergeWith:function(I,J){{};
return qx.lang.Object.mergeWith(I,J,false);
},merge:function(D,E){{};
var F=arguments.length;

for(var i=1;i<F;i++){qx.lang.Object.mergeWith(D,arguments[i]);
}return D;
},clone:function(h){{};
var j={};

for(var k in h){j[k]=h[k];
}return j;
},invert:function(w){{};
var x={};

for(var y in w){x[w[y].toString()]=y;
}return x;
},getKeyFromValue:function(c,d){{};

for(var e in c){if(c.hasOwnProperty(e)&&c[e]===d){return e;
}}return null;
},contains:function(f,g){{};
return this.getKeyFromValue(f,g)!==null;
},select:function(G,H){{};
return H[G];
},fromArray:function(a){{};
var b={};

for(var i=0,l=a.length;i<l;i++){{};
b[a[i].toString()]=true;
}return b;
}}});
})();
(function(){var s="emulated",r="native",q='"',p="qx.lang.Core",o="\\\\",n="\\\"",m="[object Error]";
qx.Class.define(p,{statics:{errorToString:qx.lang.Object.select((!Error.prototype.toString||Error.prototype.toString()==m)?s:r,{"native":Error.prototype.toString,"emulated":function(){return this.message;
}}),arrayIndexOf:qx.lang.Object.select(Array.prototype.indexOf?r:s,{"native":Array.prototype.indexOf,"emulated":function(v,w){if(w==null){w=0;
}else if(w<0){w=Math.max(0,this.length+w);
}
for(var i=w;i<this.length;i++){if(this[i]===v){return i;
}}return -1;
}}),arrayLastIndexOf:qx.lang.Object.select(Array.prototype.lastIndexOf?r:s,{"native":Array.prototype.lastIndexOf,"emulated":function(t,u){if(u==null){u=this.length-1;
}else if(u<0){u=Math.max(0,this.length+u);
}
for(var i=u;i>=0;i--){if(this[i]===t){return i;
}}return -1;
}}),arrayForEach:qx.lang.Object.select(Array.prototype.forEach?r:s,{"native":Array.prototype.forEach,"emulated":function(h,j){var l=this.length;

for(var i=0;i<l;i++){var k=this[i];

if(k!==undefined){h.call(j||window,k,i,this);
}}}}),arrayFilter:qx.lang.Object.select(Array.prototype.filter?r:s,{"native":Array.prototype.filter,"emulated":function(a,b){var c=[];
var l=this.length;

for(var i=0;i<l;i++){var d=this[i];

if(d!==undefined){if(a.call(b||window,d,i,this)){c.push(this[i]);
}}}return c;
}}),arrayMap:qx.lang.Object.select(Array.prototype.map?r:s,{"native":Array.prototype.map,"emulated":function(A,B){var C=[];
var l=this.length;

for(var i=0;i<l;i++){var D=this[i];

if(D!==undefined){C[i]=A.call(B||window,D,i,this);
}}return C;
}}),arraySome:qx.lang.Object.select(Array.prototype.some?r:s,{"native":Array.prototype.some,"emulated":function(x,y){var l=this.length;

for(var i=0;i<l;i++){var z=this[i];

if(z!==undefined){if(x.call(y||window,z,i,this)){return true;
}}}return false;
}}),arrayEvery:qx.lang.Object.select(Array.prototype.every?r:s,{"native":Array.prototype.every,"emulated":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 false;
}}}return true;
}}),stringQuote:qx.lang.Object.select(String.prototype.quote?r:s,{"native":String.prototype.quote,"emulated":function(){return q+this.replace(/\\/g,o).replace(/\"/g,n)+q;
}})}});
Error.prototype.toString=qx.lang.Core.errorToString;
Array.prototype.indexOf=qx.lang.Core.arrayIndexOf;
Array.prototype.lastIndexOf=qx.lang.Core.arrayLastIndexOf;
Array.prototype.forEach=qx.lang.Core.arrayForEach;
Array.prototype.filter=qx.lang.Core.arrayFilter;
Array.prototype.map=qx.lang.Core.arrayMap;
Array.prototype.some=qx.lang.Core.arraySome;
Array.prototype.every=qx.lang.Core.arrayEvery;
String.prototype.quote=qx.lang.Core.stringQuote;
})();
(function(){var r="indexOf",q="lastIndexOf",p="slice",o="concat",n="join",m="toLocaleUpperCase",k="shift",j="substr",h="filter",g="unshift",O="match",N="quote",M="qx.lang.Generics",L="localeCompare",K="sort",J="some",I="charAt",H="split",G="substring",F="pop",z="toUpperCase",A="replace",x="push",y="charCodeAt",v="every",w="reverse",t="search",u="forEach",B="map",C="toLowerCase",E="splice",D="toLocaleLowerCase";
qx.Class.define(M,{statics:{__cO:{"Array":[n,w,K,x,F,k,g,E,o,p,r,q,u,B,h,J,v],"String":[N,G,C,z,I,y,r,q,D,m,L,O,t,A,H,j,o,p]},__cP:function(P,Q){return function(s){return P.prototype[Q].apply(s,Array.prototype.slice.call(arguments,1));
};
},__cQ:function(){var b=qx.lang.Generics.__cO;

for(var f in b){var d=window[f];
var c=b[f];

for(var i=0,l=c.length;i<l;i++){var e=c[i];

if(!d[e]){d[e]=qx.lang.Generics.__cP(d,e);
}}}}},defer:function(a){a.__cQ();
}});
})();
(function(){var a="qx.event.type.Native";
qx.Class.define(a,{extend:qx.event.type.Event,members:{init:function(h,i,j,k,l){qx.event.type.Event.prototype.init.call(this,k,l);
this._target=i||qx.bom.Event.getTarget(h);
this._relatedTarget=j||qx.bom.Event.getRelatedTarget(h);

if(h.timeStamp){this._timeStamp=h.timeStamp;
}this._native=h;
this._returnValue=null;
return this;
},clone:function(c){var d=qx.event.type.Event.prototype.clone.call(this,c);
var e={};
d._native=this._cloneNativeEvent(this._native,e);
d._returnValue=this._returnValue;
return d;
},_cloneNativeEvent:function(f,g){g.preventDefault=qx.lang.Function.empty;
return g;
},preventDefault:function(){qx.event.type.Event.prototype.preventDefault.call(this);
qx.bom.Event.preventDefault(this._native);
},getNativeEvent:function(){return this._native;
},setReturnValue:function(b){this._returnValue=b;
},getReturnValue:function(){return this._returnValue;
}},destruct:function(){this._native=this._returnValue=null;
}});
})();
(function(){var m="iPod",l="Win32",k="",j="Win64",i="Linux",h="BSD",g="Macintosh",f="iPhone",e="Windows",d="qx.bom.client.Platform",a="X11",c="MacIntel",b="MacPPC";
qx.Class.define(d,{statics:{NAME:"",WIN:false,MAC:false,UNIX:false,UNKNOWN_PLATFORM:false,__cR:function(){var o=navigator.platform;
if(o==null||o===k){o=navigator.userAgent;
}
if(o.indexOf(e)!=-1||o.indexOf(l)!=-1||o.indexOf(j)!=-1){this.WIN=true;
this.NAME="win";
}else if(o.indexOf(g)!=-1||o.indexOf(b)!=-1||o.indexOf(c)!=-1||o.indexOf(m)!=-1||o.indexOf(f)!=-1){this.MAC=true;
this.NAME="mac";
}else if(o.indexOf(a)!=-1||o.indexOf(i)!=-1||o.indexOf(h)!=-1){this.UNIX=true;
this.NAME="unix";
}else{this.UNKNOWN_PLATFORM=true;
this.WIN=true;
this.NAME="win";
}}},defer:function(n){n.__cR();
}});
})();
(function(){var n="win98",m="osx2",l="osx0",k="osx4",j="win95",i="win2000",h="osx1",g="osx5",f="osx3",e="Windows NT 5.01",L=")",K="winxp",J="freebsd",I="sunos",H="SV1",G="|",F="nintendods",E="winnt4",D="wince",C="winme",u="os9",v="\.",s="osx",t="linux",q="netbsd",r="winvista",o="openbsd",p="(",w="win2003",x="symbian",z="win7",y="g",B="qx.bom.client.System",A=" Mobile/";
qx.Class.define(B,{statics:{NAME:"",SP1:false,SP2:false,WIN95:false,WIN98:false,WINME:false,WINNT4:false,WIN2000:false,WINXP:false,WIN2003:false,WINVISTA:false,WIN7:false,WINCE:false,LINUX:false,SUNOS:false,FREEBSD:false,NETBSD:false,OPENBSD:false,OSX:false,OS9:false,SYMBIAN:false,NINTENDODS:false,PSP:false,IPHONE:false,UNKNOWN_SYSTEM:false,__cS:{"Windows NT 6.1":z,"Windows NT 6.0":r,"Windows NT 5.2":w,"Windows NT 5.1":K,"Windows NT 5.0":i,"Windows 2000":i,"Windows NT 4.0":E,"Win 9x 4.90":C,"Windows CE":D,"Windows 98":n,"Win98":n,"Windows 95":j,"Win95":j,"Linux":t,"FreeBSD":J,"NetBSD":q,"OpenBSD":o,"SunOS":I,"Symbian System":x,"Nitro":F,"PSP":"sonypsp","Mac OS X 10_5":g,"Mac OS X 10.5":g,"Mac OS X 10_4":k,"Mac OS X 10.4":k,"Mac OS X 10_3":f,"Mac OS X 10.3":f,"Mac OS X 10_2":m,"Mac OS X 10.2":m,"Mac OS X 10_1":h,"Mac OS X 10.1":h,"Mac OS X 10_0":l,"Mac OS X 10.0":l,"Mac OS X":s,"Mac OS 9":u},__cT:function(){var c=navigator.userAgent;
var b=[];

for(var a in this.__cS){b.push(a);
}var d=new RegExp(p+b.join(G).replace(/\./g,v)+L,y);

if(!d.test(c)){this.UNKNOWN_SYSTEM=true;

if(!qx.bom.client.Platform.UNKNOWN_PLATFORM){if(qx.bom.client.Platform.UNIX){this.NAME="linux";
this.LINUX=true;
}else if(qx.bom.client.Platform.MAC){this.NAME="osx5";
this.OSX=true;
}else{this.NAME="winxp";
this.WINXP=true;
}}else{this.NAME="winxp";
this.WINXP=true;
}return;
}
if(qx.bom.client.Engine.WEBKIT&&RegExp(A).test(navigator.userAgent)){this.IPHONE=true;
this.NAME="iphone";
}else{this.NAME=this.__cS[RegExp.$1];
this[this.NAME.toUpperCase()]=true;

if(qx.bom.client.Platform.WIN){if(c.indexOf(e)!==-1){this.SP1=true;
}else if(qx.bom.client.Engine.MSHTML&&c.indexOf(H)!==-1){this.SP2=true;
}}}}},defer:function(M){M.__cT();
}});
})();
(function(){var f="_applyTheme",e="qx.theme",d="qx.theme.manager.Meta",c="qx.theme.Modern",b="Theme",a="singleton";
qx.Class.define(d,{type:a,extend:qx.core.Object,properties:{theme:{check:b,nullable:true,apply:f}},members:{_applyTheme:function(g,h){var k=null;
var n=null;
var q=null;
var r=null;
var m=null;

if(g){k=g.meta.color||null;
n=g.meta.decoration||null;
q=g.meta.font||null;
r=g.meta.icon||null;
m=g.meta.appearance||null;
}var o=qx.theme.manager.Color.getInstance();
var p=qx.theme.manager.Decoration.getInstance();
var i=qx.theme.manager.Font.getInstance();
var l=qx.theme.manager.Icon.getInstance();
var j=qx.theme.manager.Appearance.getInstance();
o.setTheme(k);
p.setTheme(n);
i.setTheme(q);
l.setTheme(r);
j.setTheme(m);
},initialize:function(){var t=qx.core.Setting;
var s,u;
s=t.get(e);

if(s){u=qx.Theme.getByName(s);

if(!u){throw new Error("The theme to use is not available: "+s);
}this.setTheme(u);
}}},settings:{"qx.theme":c}});
})();
(function(){var e="qx.util.ValueManager",d="abstract";
qx.Class.define(e,{type:d,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
this._dynamic={};
},members:{_dynamic:null,resolveDynamic:function(c){return this._dynamic[c];
},isDynamic:function(f){return !!this._dynamic[f];
},resolve:function(b){if(b&&this._dynamic[b]){return this._dynamic[b];
}return b;
},_setDynamic:function(a){this._dynamic=a;
},_getDynamic:function(){return this._dynamic;
}},destruct:function(){this._dynamic=null;
}});
})();
(function(){var l="_applyTheme",k="qx.theme.manager.Color",j="Theme",i="changeTheme",h="string",g="singleton";
qx.Class.define(k,{type:g,extend:qx.util.ValueManager,properties:{theme:{check:j,nullable:true,apply:l,event:i}},members:{_applyTheme:function(a){var b={};

if(a){var c=a.colors;
var d=qx.util.ColorUtil;
var e;

for(var f in c){e=c[f];

if(typeof e===h){if(!d.isCssString(e)){throw new Error("Could not parse color: "+e);
}}else if(e instanceof Array){e=d.rgbToRgbString(e);
}else{throw new Error("Could not parse color: "+e);
}b[f]=e;
}}this._setDynamic(b);
},resolve:function(p){var s=this._dynamic;
var q=s[p];

if(q){return q;
}var r=this.getTheme();

if(r!==null&&r.colors[p]){return s[p]=r.colors[p];
}return p;
},isDynamic:function(m){var o=this._dynamic;

if(m&&(o[m]!==undefined)){return true;
}var n=this.getTheme();

if(n!==null&&m&&(n.colors[m]!==undefined)){o[m]=n.colors[m];
return true;
}return false;
}}});
})();
(function(){var L=",",K="rgb(",J=")",I="qx.theme.manager.Color",H="qx.util.ColorUtil";
qx.Class.define(H,{statics:{REGEXP:{hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,rgb:/^rgb\(\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*\)$/,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(j){return this.NAMED[j]!==undefined;
},isSystemColor:function(a){return this.SYSTEM[a]!==undefined;
},supportsThemes:function(){return qx.Class.isDefined(I);
},isThemedColor:function(k){if(!this.supportsThemes()){return false;
}return qx.theme.manager.Color.getInstance().isDynamic(k);
},stringToRgb:function(M){if(this.supportsThemes()&&this.isThemedColor(M)){var M=qx.theme.manager.Color.getInstance().resolveDynamic(M);
}
if(this.isNamedColor(M)){return this.NAMED[M];
}else if(this.isSystemColor(M)){throw new Error("Could not convert system colors to RGB: "+M);
}else if(this.isRgbString(M)){return this.__cU();
}else if(this.isHex3String(M)){return this.__cW();
}else if(this.isHex6String(M)){return this.__cX();
}throw new Error("Could not parse color: "+M);
},cssStringToRgb:function(c){if(this.isNamedColor(c)){return this.NAMED[c];
}else if(this.isSystemColor(c)){throw new Error("Could not convert system colors to RGB: "+c);
}else if(this.isRgbString(c)){return this.__cU();
}else if(this.isRgbaString(c)){return this.__cV();
}else if(this.isHex3String(c)){return this.__cW();
}else if(this.isHex6String(c)){return this.__cX();
}throw new Error("Could not parse color: "+c);
},stringToRgbString:function(E){return this.rgbToRgbString(this.stringToRgb(E));
},rgbToRgbString:function(l){return K+l[0]+L+l[1]+L+l[2]+J;
},rgbToHexString:function(bg){return (qx.lang.String.pad(bg[0].toString(16).toUpperCase(),2)+qx.lang.String.pad(bg[1].toString(16).toUpperCase(),2)+qx.lang.String.pad(bg[2].toString(16).toUpperCase(),2));
},isValidPropertyValue:function(bb){return this.isThemedColor(bb)||this.isNamedColor(bb)||this.isHex3String(bb)||this.isHex6String(bb)||this.isRgbString(bb);
},isCssString:function(N){return this.isSystemColor(N)||this.isNamedColor(N)||this.isHex3String(N)||this.isHex6String(N)||this.isRgbString(N);
},isHex3String:function(F){return this.REGEXP.hex3.test(F);
},isHex6String:function(bh){return this.REGEXP.hex6.test(bh);
},isRgbString:function(x){return this.REGEXP.rgb.test(x);
},isRgbaString:function(bi){return this.REGEXP.rgba.test(bi);
},__cU:function(){var h=parseInt(RegExp.$1,10);
var e=parseInt(RegExp.$2,10);
var d=parseInt(RegExp.$3,10);
return [h,e,d];
},__cV:function(){var be=parseInt(RegExp.$1,10);
var bd=parseInt(RegExp.$2,10);
var bc=parseInt(RegExp.$3,10);
return [be,bd,bc];
},__cW:function(){var A=parseInt(RegExp.$1,16)*17;
var z=parseInt(RegExp.$2,16)*17;
var y=parseInt(RegExp.$3,16)*17;
return [A,z,y];
},__cX:function(){var D=(parseInt(RegExp.$1,16)*16)+parseInt(RegExp.$2,16);
var C=(parseInt(RegExp.$3,16)*16)+parseInt(RegExp.$4,16);
var B=(parseInt(RegExp.$5,16)*16)+parseInt(RegExp.$6,16);
return [D,C,B];
},hex3StringToRgb:function(m){if(this.isHex3String(m)){return this.__cW(m);
}throw new Error("Invalid hex3 value: "+m);
},hex6StringToRgb:function(G){if(this.isHex6String(G)){return this.__cX(G);
}throw new Error("Invalid hex6 value: "+G);
},hexStringToRgb:function(bf){if(this.isHex3String(bf)){return this.__cW(bf);
}
if(this.isHex6String(bf)){return this.__cX(bf);
}throw new Error("Invalid hex value: "+bf);
},rgbToHsb:function(O){var Q,R,T;
var ba=O[0];
var W=O[1];
var P=O[2];
var Y=(ba>W)?ba:W;

if(P>Y){Y=P;
}var S=(ba<W)?ba:W;

if(P<S){S=P;
}T=Y/255.0;

if(Y!=0){R=(Y-S)/Y;
}else{R=0;
}
if(R==0){Q=0;
}else{var V=(Y-ba)/(Y-S);
var X=(Y-W)/(Y-S);
var U=(Y-P)/(Y-S);

if(ba==Y){Q=U-X;
}else if(W==Y){Q=2.0+V-U;
}else{Q=4.0+X-V;
}Q=Q/6.0;

if(Q<0){Q=Q+1.0;
}}return [Math.round(Q*360),Math.round(R*100),Math.round(T*100)];
},hsbToRgb:function(n){var i,f,p,q,t;
var o=n[0]/360;
var s=n[1]/100;
var u=n[2]/100;

if(o>=1.0){o%=1.0;
}
if(s>1.0){s=1.0;
}
if(u>1.0){u=1.0;
}var v=Math.floor(255*u);
var w={};

if(s==0.0){w.red=w.green=w.blue=v;
}else{o*=6.0;
i=Math.floor(o);
f=o-i;
p=Math.floor(v*(1.0-s));
q=Math.floor(v*(1.0-(s*f)));
t=Math.floor(v*(1.0-(s*(1.0-f))));

switch(i){case 0:w.red=v;
w.green=t;
w.blue=p;
break;
case 1:w.red=q;
w.green=v;
w.blue=p;
break;
case 2:w.red=p;
w.green=v;
w.blue=t;
break;
case 3:w.red=p;
w.green=q;
w.blue=v;
break;
case 4:w.red=t;
w.green=p;
w.blue=v;
break;
case 5:w.red=v;
w.green=p;
w.blue=q;
break;
}}return [w.red,w.green,w.blue];
},randomColor:function(){var r=Math.round(Math.random()*255);
var g=Math.round(Math.random()*255);
var b=Math.round(Math.random()*255);
return this.rgbToRgbString([r,g,b]);
}}});
})();
(function(){var h="object",g="_applyTheme",f="__cY",e="qx.theme.manager.Decoration",d="Theme",c="changeTheme",b="string",a="singleton";
qx.Class.define(e,{type:a,extend:qx.core.Object,properties:{theme:{check:d,nullable:true,apply:g,event:c}},members:{__cY:null,resolve:function(i){if(!i){return null;
}
if(typeof i===h){return i;
}var l=this.getTheme();

if(!l){return null;
}var l=this.getTheme();

if(!l){return null;
}var m=this.__cY;

if(!m){m=this.__cY={};
}var j=m[i];

if(j){return j;
}var k=l.decorations[i];

if(!k){return null;
}var n=k.decorator;

if(n==null){throw new Error("Missing definition of which decorator to use in entry: "+i+"!");
}return m[i]=(new n).set(k.style);
},isValidPropertyValue:function(u){if(typeof u===b){return this.isDynamic(u);
}else if(typeof u===h){var v=u.constructor;
return qx.Class.hasInterface(v,qx.ui.decoration.IDecorator);
}return false;
},isDynamic:function(s){if(!s){return false;
}var t=this.getTheme();

if(!t){return false;
}return !!t.decorations[s];
},_applyTheme:function(o,p){var r=qx.util.AliasManager.getInstance();

if(p){for(var q in p.aliases){r.remove(q);
}}
if(o){for(var q in o.aliases){r.add(q,o.aliases[q]);
}}
if(!o){this.__cY={};
}}},destruct:function(){this._disposeMap(f);
}});
})();
(function(){var d="qx.ui.decoration.IDecorator";
qx.Interface.define(d,{members:{getMarkup:function(){},resize:function(a,b,c){},tint:function(e,f){},getInsets:function(){}}});
})();
(function(){var u="/",t="0",s="qx/static",r="http://",q="https://",p="file://",o="qx.util.AliasManager",n="singleton",m=".",l="static";
qx.Class.define(o,{type:n,extend:qx.util.ValueManager,construct:function(){qx.util.ValueManager.call(this);
this.__da={};
this.add(l,s);
},members:{__da:null,_preprocess:function(d){var g=this._getDynamic();

if(g[d]===false){return d;
}else if(g[d]===undefined){if(d.charAt(0)===u||d.charAt(0)===m||d.indexOf(r)===0||d.indexOf(q)===t||d.indexOf(p)===0){g[d]=false;
return d;
}
if(this.__da[d]){return this.__da[d];
}var f=d.substring(0,d.indexOf(u));
var e=this.__da[f];

if(e!==undefined){g[d]=e+d.substring(f.length);
}}return d;
},add:function(h,i){this.__da[h]=i;
var k=this._getDynamic();
for(var j in k){if(j.substring(0,j.indexOf(u))===h){k[j]=i+j.substring(h.length);
}}},remove:function(c){delete this.__da[c];
},resolve:function(a){var b=this._getDynamic();

if(a!==null){a=this._preprocess(a);
}return b[a]||a;
}},destruct:function(){this.__da=null;
}});
})();
(function(){var k="qx.theme.manager.Font",j="Theme",i="changeTheme",h="_applyTheme",g="singleton";
qx.Class.define(k,{type:g,extend:qx.util.ValueManager,properties:{theme:{check:j,nullable:true,apply:h,event:i}},members:{resolveDynamic:function(p){var q=this._dynamic;
return p instanceof qx.bom.Font?p:q[p];
},resolve:function(l){var o=this._dynamic;
var m=o[l];

if(m){return m;
}var n=this.getTheme();

if(n!==null&&n.fonts[l]){return o[l]=(new qx.bom.Font).set(n.fonts[l]);
}return l;
},isDynamic:function(d){var f=this._dynamic;

if(d&&(d instanceof qx.bom.Font||f[d]!==undefined)){return true;
}var e=this.getTheme();

if(e!==null&&d&&e.fonts[d]){f[d]=(new qx.bom.Font).set(e.fonts[d]);
return true;
}return false;
},__db:function(a,b){if(a[b].include){var c=a[a[b].include];
a[b].include=null;
delete a[b].include;
a[b]=qx.lang.Object.mergeWith(a[b],c,false);
this.__db(a,b);
}},_applyTheme:function(r){var s=this._getDynamic();

for(var v in s){if(s[v].themed){s[v].dispose();
delete s[v];
}}
if(r){var t=r.fonts;
var u=qx.bom.Font;

for(var v in t){if(t[v].include&&t[t[v].include]){this.__db(t,v);
}s[v]=(new u).set(t[v]);
s[v].themed=true;
}}this._setDynamic(s);
}}});
})();
(function(){var x="",w="underline",v="Boolean",u="px",t='"',s="italic",r="normal",q="bold",p="_applyItalic",o="_applyBold",J="Integer",I="_applyFamily",H="_applyLineHeight",G="Array",F="overline",E="line-through",D="qx.bom.Font",C="Number",B="_applyDecoration",A=" ",y="_applySize",z=",";
qx.Class.define(D,{extend:qx.core.Object,construct:function(K,L){qx.core.Object.call(this);

if(K!==undefined){this.setSize(K);
}
if(L!==undefined){this.setFamily(L);
}},statics:{fromString:function(h){var n=new qx.bom.Font();
var k=h.split(/\s+/);
var name=[];
var m;

for(var i=0;i<k.length;i++){switch(m=k[i]){case q:n.setBold(true);
break;
case s:n.setItalic(true);
break;
case w:n.setDecoration(w);
break;
default:var j=parseInt(m,10);

if(j==m||qx.lang.String.contains(m,u)){n.setSize(j);
}else{name.push(m);
}break;
}}
if(name.length>0){n.setFamily(name);
}return n;
},fromConfig:function(f){var g=new qx.bom.Font;
g.set(f);
return g;
},__dc:{fontFamily:x,fontSize:x,fontWeight:x,fontStyle:x,textDecoration:x,lineHeight:1.2},getDefaultStyles:function(){return this.__dc;
}},properties:{size:{check:J,nullable:true,apply:y},lineHeight:{check:C,nullable:true,apply:H},family:{check:G,nullable:true,apply:I},bold:{check:v,nullable:true,apply:o},italic:{check:v,nullable:true,apply:p},decoration:{check:[w,E,F],nullable:true,apply:B}},members:{__dd:null,__de:null,__df:null,__dg:null,__dh:null,__di:null,_applySize:function(O,P){this.__dd=O===null?null:O+u;
},_applyLineHeight:function(Q,R){this.__di=Q===null?null:Q;
},_applyFamily:function(c,d){var e=x;

for(var i=0,l=c.length;i<l;i++){if(c[i].indexOf(A)>0){e+=t+c[i]+t;
}else{e+=c[i];
}
if(i!==l-1){e+=z;
}}this.__de=e;
},_applyBold:function(a,b){this.__df=a===null?null:a?q:r;
},_applyItalic:function(S,T){this.__dg=S===null?null:S?s:r;
},_applyDecoration:function(M,N){this.__dh=M===null?null:M;
},getStyles:function(){return {fontFamily:this.__de,fontSize:this.__dd,fontWeight:this.__df,fontStyle:this.__dg,textDecoration:this.__dh,lineHeight:this.__di};
}}});
})();
(function(){var e="qx.theme.manager.Icon",d="Theme",c="changeTheme",b="_applyTheme",a="singleton";
qx.Class.define(e,{type:a,extend:qx.core.Object,properties:{theme:{check:d,nullable:true,apply:b,event:c}},members:{_applyTheme:function(f,g){var i=qx.util.AliasManager.getInstance();

if(g){for(var h in g.aliases){i.remove(h);
}}
if(f){for(var h in f.aliases){i.add(h,f.aliases[h]);
}}}}});
})();
(function(){var h="string",g="_applyTheme",f="qx.theme.manager.Appearance",e=":",d="Theme",c="changeTheme",b="/",a="singleton";
qx.Class.define(f,{type:a,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
this.__dj={};
this.__dk={};
},properties:{theme:{check:d,nullable:true,event:c,apply:g}},members:{__dl:{},__dj:null,__dk:null,_applyTheme:function(K,L){this.__dk={};
this.__dj={};
},__dm:function(i,j,k){var o=j.appearances;
var r=o[i];

if(!r){var s=b;
var l=[];
var q=i.split(s);
var p;

while(!r&&q.length>0){l.unshift(q.pop());
var m=q.join(s);
r=o[m];

if(r){p=r.alias||r;

if(typeof p===h){var n=p+s+l.join(s);
return this.__dm(n,j,k);
}}}if(k!=null){return this.__dm(k,j);
}return null;
}else if(typeof r===h){return this.__dm(r,j,k);
}else if(r.include&&!r.style){return this.__dm(r.include,j,k);
}return i;
},styleFrom:function(t,u,v,w){if(!v){v=this.getTheme();
}var C=this.__dk;
var x=C[t];

if(!x){x=C[t]=this.__dm(t,v,w);
}var H=v.appearances[x];

if(!H){this.warn("Missing appearance: "+t);
return null;
}if(!H.style){return null;
}var I=x;

if(u){var J=H.$$bits;

if(!J){J=H.$$bits={};
H.$$length=0;
}var A=0;

for(var D in u){if(!u[D]){continue;
}
if(J[D]==null){J[D]=1<<H.$$length++;
}A+=J[D];
}if(A>0){I+=e+A;
}}var B=this.__dj;

if(B[I]!==undefined){return B[I];
}if(!u){u=this.__dl;
}var F;
if(H.include||H.base){var z=H.style(u);
var y;

if(H.include){y=this.styleFrom(H.include,u,v,w);
}F={};
if(H.base){var E=this.styleFrom(x,u,H.base,w);

if(H.include){for(var G in E){if(!y.hasOwnProperty(G)&&!z.hasOwnProperty(G)){F[G]=E[G];
}}}else{for(var G in E){if(!z.hasOwnProperty(G)){F[G]=E[G];
}}}}if(H.include){for(var G in y){if(!z.hasOwnProperty(G)){F[G]=y[G];
}}}for(var G in z){F[G]=z[G];
}}else{F=H.style(u);
}return B[I]=F||null;
}},destruct:function(){this.__dj=this.__dk=null;
}});
})();
(function(){var w="other",v="widgets",u="fonts",t="appearances",s="qx.Theme",r="]",q="[Theme ",p="colors",o="decorations",n="Theme",j="meta",m="borders",k="icons";
qx.Bootstrap.define(s,{statics:{define:function(name,x){if(!x){var x={};
}x.include=this.__dn(x.include);
x.patch=this.__dn(x.patch);
{};
var y={$$type:n,name:name,title:x.title,toString:this.genericToString};
if(x.extend){y.supertheme=x.extend;
}y.basename=qx.Bootstrap.createNamespace(name,y);
this.__dq(y,x);
this.__do(y,x);
this.$$registry[name]=y;
for(var i=0,a=x.include,l=a.length;i<l;i++){this.include(y,a[i]);
}
for(var i=0,a=x.patch,l=a.length;i<l;i++){this.patch(y,a[i]);
}},__dn:function(b){if(!b){return [];
}
if(qx.Bootstrap.isArray(b)){return b;
}else{return [b];
}},__do:function(z,A){var B=A.aliases||{};

if(A.extend&&A.extend.aliases){qx.Bootstrap.objectMergeWith(B,A.extend.aliases,false);
}z.aliases=B;
},getAll:function(){return this.$$registry;
},getByName:function(name){return this.$$registry[name];
},isDefined:function(name){return this.getByName(name)!==undefined;
},getTotalNumber:function(){return qx.Bootstrap.objectGetLength(this.$$registry);
},genericToString:function(){return q+this.name+r;
},__dp:function(I){for(var i=0,J=this.__dr,l=J.length;i<l;i++){if(I[J[i]]){return J[i];
}}},__dq:function(K,L){var O=this.__dp(L);
if(L.extend&&!O){O=L.extend.type;
}K.type=O||w;
if(!O){return;
}var Q=function(){};
if(L.extend){Q.prototype=new L.extend.$$clazz;
}var P=Q.prototype;
var N=L[O];
for(var M in N){P[M]=N[M];
if(P[M].base){{};
P[M].base=L.extend;
}}K.$$clazz=Q;
K[O]=new Q;
},$$registry:{},__dr:[p,m,o,u,k,v,t,j],__ds:null,__dt:null,__du:function(){},patch:function(C,D){var F=this.__dp(D);

if(F!==this.__dp(C)){throw new Error("The mixins '"+C.name+"' are not compatible '"+D.name+"'!");
}var E=D[F];
var G=C.$$clazz.prototype;

for(var H in E){G[H]=E[H];
}},include:function(c,d){var f=d.type;

if(f!==c.type){throw new Error("The mixins '"+c.name+"' are not compatible '"+d.name+"'!");
}var e=d[f];
var g=c.$$clazz.prototype;

for(var h in e){if(g[h]!==undefined){continue;
}g[h]=e[h];
}}}});
})();
(function(){var z="focusout",y="interval",x="mouseover",w="mouseout",v="mousemove",u="widget",t="__dv",s="qx.ui.tooltip.ToolTip",r="Boolean",q="_applyCurrent",n="qx.ui.tooltip.Manager",p="__dy",o="__dw",m="tooltip-error",l="singleton";
qx.Class.define(n,{type:l,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
qx.event.Registration.addListener(document.body,x,this.__dF,this,true);
this.__dv=new qx.event.Timer();
this.__dv.addListener(y,this.__dC,this);
this.__dw=new qx.event.Timer();
this.__dw.addListener(y,this.__dD,this);
this.__dx={left:0,top:0};
},properties:{current:{check:s,nullable:true,apply:q},showInvalidTooltips:{check:r,init:true}},members:{__dx:null,__dw:null,__dv:null,__dy:null,__dz:null,__dA:function(){if(!this.__dy){this.__dy=new qx.ui.tooltip.ToolTip().set({rich:true});
}return this.__dy;
},__dB:function(){if(!this.__dz){this.__dz=new qx.ui.tooltip.ToolTip().set({appearance:m});
this.__dz.syncAppearance();
}return this.__dz;
},_applyCurrent:function(h,i){if(i&&qx.ui.core.Widget.contains(i,h)){return;
}if(i){if(!i.isDisposed()){i.exclude();
}this.__dv.stop();
this.__dw.stop();
}var k=qx.event.Registration;
var j=document.body;
if(h){this.__dv.startWith(h.getShowTimeout());
k.addListener(j,w,this.__dG,this,true);
k.addListener(j,z,this.__dH,this,true);
k.addListener(j,v,this.__dE,this,true);
}else{k.removeListener(j,w,this.__dG,this,true);
k.removeListener(j,z,this.__dH,this,true);
k.removeListener(j,v,this.__dE,this,true);
}},__dC:function(e){var a=this.getCurrent();

if(a&&!a.isDisposed()){this.__dw.startWith(a.getHideTimeout());

if(a.getPlaceMethod()==u){a.placeToWidget(a.getOpener());
}else{a.placeToPoint(this.__dx);
}a.show();
}this.__dv.stop();
},__dD:function(e){var A=this.getCurrent();

if(A&&!A.isDisposed()){A.exclude();
}this.__dw.stop();
this.resetCurrent();
},__dE:function(e){var B=this.__dx;
B.left=e.getDocumentLeft();
B.top=e.getDocumentTop();
},__dF:function(e){var E=qx.ui.core.Widget.getWidgetByElement(e.getTarget());

if(!E){return;
}var F;
while(E!=null){var F=E.getToolTip();
var G=E.getToolTipText()||null;
var D=E.getToolTipIcon()||null;

if(qx.Class.hasInterface(E.constructor,qx.ui.form.IForm)&&!E.isValid()){var C=E.getInvalidMessage();
}
if(F||G||D||C){break;
}E=E.getLayoutParent();
}
if(!E){return;
}
if(E.isBlockToolTip()){return;
}if(C&&E.getEnabled()){if(!this.getShowInvalidTooltips()){return;
}var F=this.__dB().set({label:C});
}else if(!F){var F=this.__dA().set({label:G,icon:D});
}this.setCurrent(F);
F.setOpener(E);
},__dG:function(e){var d=qx.ui.core.Widget.getWidgetByElement(e.getTarget());

if(!d){return;
}var f=qx.ui.core.Widget.getWidgetByElement(e.getRelatedTarget());

if(!f){return;
}var g=this.getCurrent();
if(g&&(f==g||qx.ui.core.Widget.contains(g,f))){return;
}if(f&&d&&qx.ui.core.Widget.contains(d,f)){return;
}if(g&&!f){this.setCurrent(null);
}else{this.resetCurrent();
}},__dH:function(e){var b=qx.ui.core.Widget.getWidgetByElement(e.getTarget());

if(!b){return;
}var c=this.getCurrent();
if(c&&c==b.getToolTip()){this.setCurrent(null);
}}},destruct:function(){qx.event.Registration.removeListener(document.body,x,this.__dF,this,true);
this._disposeObjects(t,o,p);
this.__dx=null;
}});
})();
(function(){var n="interval",m="qx.event.Timer",l="_applyInterval",k="_applyEnabled",j="Boolean",i="qx.event.type.Event",h="Integer";
qx.Class.define(m,{extend:qx.core.Object,construct:function(a){qx.core.Object.call(this);
this.setEnabled(false);

if(a!=null){this.setInterval(a);
}var self=this;
this.__dI=function(){self._oninterval.call(self);
};
},events:{"interval":i},statics:{once:function(b,c,d){var f=new qx.event.Timer(d);
f.__dJ=b;
f.addListener(n,function(e){f.stop();
b.call(c,e);
f.dispose();
c=null;
},c);
f.start();
return f;
}},properties:{enabled:{init:true,check:j,apply:k},interval:{check:h,init:1000,apply:l}},members:{__dK:null,__dI:null,_applyInterval:function(q,r){if(this.getEnabled()){this.restart();
}},_applyEnabled:function(o,p){if(p){window.clearInterval(this.__dK);
this.__dK=null;
}else if(o){this.__dK=window.setInterval(this.__dI,this.getInterval());
}},start:function(){this.setEnabled(true);
},startWith:function(g){this.setInterval(g);
this.start();
},stop:function(){this.setEnabled(false);
},restart:function(){this.stop();
this.start();
},restartWith:function(s){this.stop();
this.startWith(s);
},_oninterval:qx.event.GlobalError.observeMethod(function(){if(this.$$disposed){return;
}
if(this.getEnabled()){this.fireEvent(n);
}})},destruct:function(){if(this.__dK){window.clearInterval(this.__dK);
}this.__dK=this.__dI=null;
}});
})();
(function(){var g="qx.ui.core.MChildrenHandling";
qx.Mixin.define(g,{members:{getChildren:function(){return this._getChildren();
},hasChildren:function(){return this._hasChildren();
},indexOf:function(l){return this._indexOf(l);
},add:function(e,f){this._add(e,f);
},addAt:function(i,j,k){this._addAt(i,j,k);
},addBefore:function(n,o,p){this._addBefore(n,o,p);
},addAfter:function(b,c,d){this._addAfter(b,c,d);
},remove:function(m){this._remove(m);
},removeAt:function(h){return this._removeAt(h);
},removeAll:function(){this._removeAll();
}},statics:{remap:function(a){a.getChildren=a._getChildren;
a.hasChildren=a._hasChildren;
a.indexOf=a._indexOf;
a.add=a._add;
a.addAt=a._addAt;
a.addBefore=a._addBefore;
a.addAfter=a._addAfter;
a.remove=a._remove;
a.removeAt=a._removeAt;
a.removeAll=a._removeAll;
}}});
})();
(function(){var b="qx.ui.core.MLayoutHandling";
qx.Mixin.define(b,{members:{setLayout:function(a){return this._setLayout(a);
},getLayout:function(){return this._getLayout();
}},statics:{remap:function(c){c.getLayout=c._getLayout;
c.setLayout=c._setLayout;
}}});
})();
(function(){var C="Integer",B="_applyDimension",A="Boolean",z="_applyStretching",y="_applyMargin",x="shorthand",w="_applyAlign",v="allowShrinkY",u="bottom",t="baseline",Q="marginBottom",P="qx.ui.core.LayoutItem",O="center",N="marginTop",M="allowGrowX",L="middle",K="marginLeft",J="allowShrinkX",I="top",H="right",F="marginRight",G="abstract",D="allowGrowY",E="left";
qx.Class.define(P,{type:G,extend:qx.core.Object,properties:{minWidth:{check:C,nullable:true,apply:B,init:null,themeable:true},width:{check:C,nullable:true,apply:B,init:null,themeable:true},maxWidth:{check:C,nullable:true,apply:B,init:null,themeable:true},minHeight:{check:C,nullable:true,apply:B,init:null,themeable:true},height:{check:C,nullable:true,apply:B,init:null,themeable:true},maxHeight:{check:C,nullable:true,apply:B,init:null,themeable:true},allowGrowX:{check:A,apply:z,init:true,themeable:true},allowShrinkX:{check:A,apply:z,init:true,themeable:true},allowGrowY:{check:A,apply:z,init:true,themeable:true},allowShrinkY:{check:A,apply:z,init:true,themeable:true},allowStretchX:{group:[M,J],mode:x,themeable:true},allowStretchY:{group:[D,v],mode:x,themeable:true},marginTop:{check:C,init:0,apply:y,themeable:true},marginRight:{check:C,init:0,apply:y,themeable:true},marginBottom:{check:C,init:0,apply:y,themeable:true},marginLeft:{check:C,init:0,apply:y,themeable:true},margin:{group:[N,F,Q,K],mode:x,themeable:true},alignX:{check:[E,O,H],nullable:true,apply:w,themeable:true},alignY:{check:[I,L,u,t],nullable:true,apply:w,themeable:true}},members:{__dL:null,__dM:null,__dN:null,__dO:null,__dP:null,__dQ:null,__dR:null,getBounds:function(){return this.__dQ||this.__dM||null;
},clearSeparators:function(){},renderSeparator:function(a,b){},renderLayout:function(h,top,i,j){var k;
{};
var l=null;

if(this.getHeight()==null&&this._hasHeightForWidth()){var l=this._getHeightForWidth(i);
}
if(l!=null&&l!==this.__dL){this.__dL=l;
qx.ui.core.queue.Layout.add(this);
return null;
}var n=this.__dM;

if(!n){n=this.__dM={};
}var m={};

if(h!==n.left||top!==n.top){m.position=true;
n.left=h;
n.top=top;
}
if(i!==n.width||j!==n.height){m.size=true;
n.width=i;
n.height=j;
}if(this.__dN){m.local=true;
delete this.__dN;
}
if(this.__dP){m.margin=true;
delete this.__dP;
}return m;
},isExcluded:function(){return false;
},hasValidLayout:function(){return !this.__dN;
},scheduleLayoutUpdate:function(){qx.ui.core.queue.Layout.add(this);
},invalidateLayoutCache:function(){this.__dN=true;
this.__dO=null;
},getSizeHint:function(f){var g=this.__dO;

if(g){return g;
}
if(f===false){return null;
}g=this.__dO=this._computeSizeHint();
if(this._hasHeightForWidth()&&this.__dL&&this.getHeight()==null){g.height=this.__dL;
}if(g.minWidth>g.width){g.width=g.minWidth;
}
if(g.maxWidth<g.width){g.width=g.maxWidth;
}
if(!this.getAllowGrowX()){g.maxWidth=g.width;
}
if(!this.getAllowShrinkX()){g.minWidth=g.width;
}if(g.minHeight>g.height){g.height=g.minHeight;
}
if(g.maxHeight<g.height){g.height=g.maxHeight;
}
if(!this.getAllowGrowY()){g.maxHeight=g.height;
}
if(!this.getAllowShrinkY()){g.minHeight=g.height;
}return g;
},_computeSizeHint:function(){var Y=this.getMinWidth()||0;
var V=this.getMinHeight()||0;
var ba=this.getWidth()||Y;
var X=this.getHeight()||V;
var U=this.getMaxWidth()||Infinity;
var W=this.getMaxHeight()||Infinity;
return {minWidth:Y,width:ba,maxWidth:U,minHeight:V,height:X,maxHeight:W};
},_hasHeightForWidth:function(){var R=this._getLayout();

if(R){return R.hasHeightForWidth();
}return false;
},_getHeightForWidth:function(S){var T=this._getLayout();

if(T&&T.hasHeightForWidth()){return T.getHeightForWidth(S);
}return null;
},_getLayout:function(){return null;
},_applyMargin:function(){this.__dP=true;
var parent=this.$$parent;

if(parent){parent.updateLayoutProperties();
}},_applyAlign:function(){var parent=this.$$parent;

if(parent){parent.updateLayoutProperties();
}},_applyDimension:function(){qx.ui.core.queue.Layout.add(this);
},_applyStretching:function(){qx.ui.core.queue.Layout.add(this);
},hasUserBounds:function(){return !!this.__dQ;
},setUserBounds:function(o,top,p,q){this.__dQ={left:o,top:top,width:p,height:q};
qx.ui.core.queue.Layout.add(this);
},resetUserBounds:function(){delete this.__dQ;
qx.ui.core.queue.Layout.add(this);
},__dS:{},setLayoutProperties:function(c){if(c==null){return;
}var d=this.__dR;

if(!d){d=this.__dR={};
}var parent=this.getLayoutParent();

if(parent){parent.updateLayoutProperties(c);
}for(var e in c){if(c[e]==null){delete d[e];
}else{d[e]=c[e];
}}},getLayoutProperties:function(){return this.__dR||this.__dS;
},clearLayoutProperties:function(){delete this.__dR;
},updateLayoutProperties:function(bb){var bc=this._getLayout();

if(bc){var bd;
{};
bc.invalidateChildrenCache();
}qx.ui.core.queue.Layout.add(this);
},getApplicationRoot:function(){return qx.core.Init.getApplication().getRoot();
},getLayoutParent:function(){return this.$$parent||null;
},setLayoutParent:function(parent){if(this.$$parent===parent){return;
}this.$$parent=parent||null;
qx.ui.core.queue.Visibility.add(this);
},isRootWidget:function(){return false;
},_getRoot:function(){var parent=this;

while(parent){if(parent.isRootWidget()){return parent;
}parent=parent.$$parent;
}return null;
},clone:function(){var r=qx.core.Object.prototype.clone.call(this);
var s=this.__dR;

if(s){r.__dR=qx.lang.Object.clone(s);
}return r;
}},destruct:function(){this.$$parent=this.$$subparent=this.__dR=this.__dM=this.__dQ=this.__dO=null;
}});
})();
(function(){var n="qx.ui.core.DecoratorFactory",m="$$nopool$$";
qx.Class.define(n,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
this.__dT={};
},statics:{MAX_SIZE:15,__dU:m},members:{__dT:null,getDecoratorElement:function(g){var l=qx.ui.core.DecoratorFactory;

if(qx.lang.Type.isString(g)){var j=g;
var i=qx.theme.manager.Decoration.getInstance().resolve(g);
}else{var j=l.__dU;
i=g;
}var k=this.__dT;

if(k[j]&&k[j].length>0){var h=k[j].pop();
}else{var h=this._createDecoratorElement(i,j);
}h.$$pooled=false;
return h;
},poolDecorator:function(c){if(!c||c.$$pooled){return;
}var f=qx.ui.core.DecoratorFactory;
var d=c.getId();

if(d==f.__dU){c.dispose();
return;
}var e=this.__dT;

if(!e[d]){e[d]=[];
}
if(e[d].length>f.MAX_SIZE){c.dispose();
}else{c.$$pooled=true;
e[d].push(c);
}},_createDecoratorElement:function(o,p){var q=new qx.html.Decorator(o,p);
{};
return q;
},toString:function(){return qx.core.Object.prototype.toString.call(this);
}},destruct:function(){if(!qx.core.ObjectRegistry.inShutDown){var b=this.__dT;

for(var a in b){qx.util.DisposeUtil.disposeArray(b,a);
}}this.__dT=null;
}});
})();
(function(){var fM="px",fL="Boolean",fK="qx.event.type.Mouse",fJ="qx.event.type.Drag",fI="visible",fH="qx.event.type.Focus",fG="on",fF="Integer",fE="excluded",fD="qx.event.type.Data",fp="_applyPadding",fo="qx.event.type.Event",fn="hidden",fm="contextmenu",fl="String",fk="tabIndex",fj="backgroundColor",fi="focused",fh="changeVisibility",fg="mshtml",fT="hovered",fU="qx.event.type.KeySequence",fR="qx.client",fS="absolute",fP="drag",fQ="div",fN="disabled",fO="move",fV="dragstart",fW="qx.dynlocale",fw="dragchange",fv="dragend",fy="resize",fx="Decorator",fA="zIndex",fz="opacity",fC="default",fB="Color",fu="changeToolTipText",ft="beforeContextmenuOpen",dV="_applyNativeContextMenu",dW="__ef",dX="_applyBackgroundColor",dY="_applyFocusable",ea="changeShadow",eb="__ej",ec="__ec",ed="qx.event.type.KeyInput",ee="createChildControl",ef="__eb",gb="Font",ga="_applyShadow",fY="_applyEnabled",fX="_applySelectable",gf="Number",ge="_applyKeepActive",gd="__ea",gc="_applyVisibility",gh="repeat",gg="qxDraggable",eF="syncAppearance",eG="paddingLeft",eD="_applyDroppable",eE="__eh",eJ="#",eK="qx.event.type.MouseWheel",eH="_applyCursor",eI="_applyDraggable",eB="changeTextColor",eC="$$widget",eo="changeContextMenu",en="paddingTop",eq="changeSelectable",ep="hideFocus",ej="none",ei="outline",em="_applyAppearance",ek="_applyOpacity",eh="url(",eg=")",eP="qx.ui.core.Widget",eQ="_applyFont",eR="cursor",eS="qxDroppable",eL="changeZIndex",eM="changeEnabled",eN="changeFont",eO="_applyDecorator",eT="_applyZIndex",eU="_applyTextColor",ey="qx.ui.menu.Menu",ex="_applyToolTipText",ew="true",ev="widget",eu="changeDecorator",et="__dV",es="_applyTabIndex",er="changeAppearance",eA="shorthand",ez="/",eV="",eW="_applyContextMenu",eX="paddingBottom",eY="__dW",fa="changeNativeContextMenu",fb="qx.ui.tooltip.ToolTip",fc="qxKeepActive",fd="_applyKeepFocus",fe="paddingRight",ff="changeBackgroundColor",fs="changeLocale",fr="qxKeepFocus",fq="qx/static/blank.gif";
qx.Class.define(eP,{extend:qx.ui.core.LayoutItem,include:[qx.locale.MTranslation],construct:function(){qx.ui.core.LayoutItem.call(this);
this.__dV=this._createContainerElement();
this.__dW=this.__ei();
this.__dV.add(this.__dW);
this.initFocusable();
this.initSelectable();
this.initNativeContextMenu();
},events:{appear:fo,disappear:fo,createChildControl:fD,resize:fD,move:fD,syncAppearance:fD,mousemove:fK,mouseover:fK,mouseout:fK,mousedown:fK,mouseup:fK,click:fK,dblclick:fK,contextmenu:fK,beforeContextmenuOpen:fK,mousewheel:eK,keyup:fU,keydown:fU,keypress:fU,keyinput:ed,focus:fH,blur:fH,focusin:fH,focusout:fH,activate:fH,deactivate:fH,capture:fo,losecapture:fo,drop:fJ,dragleave:fJ,dragover:fJ,drag:fJ,dragstart:fJ,dragend:fJ,dragchange:fJ,droprequest:fJ},properties:{paddingTop:{check:fF,init:0,apply:fp,themeable:true},paddingRight:{check:fF,init:0,apply:fp,themeable:true},paddingBottom:{check:fF,init:0,apply:fp,themeable:true},paddingLeft:{check:fF,init:0,apply:fp,themeable:true},padding:{group:[en,fe,eX,eG],mode:eA,themeable:true},zIndex:{nullable:true,init:null,apply:eT,event:eL,check:fF,themeable:true},decorator:{nullable:true,init:null,apply:eO,event:eu,check:fx,themeable:true},shadow:{nullable:true,init:null,apply:ga,event:ea,check:fx,themeable:true},backgroundColor:{nullable:true,check:fB,apply:dX,event:ff,themeable:true},textColor:{nullable:true,check:fB,apply:eU,event:eB,themeable:true,inheritable:true},font:{nullable:true,apply:eQ,check:gb,event:eN,themeable:true,inheritable:true,dereference:true},opacity:{check:gf,apply:ek,themeable:true,nullable:true,init:null},cursor:{check:fl,apply:eH,themeable:true,inheritable:true,nullable:true,init:null},toolTip:{check:fb,nullable:true},toolTipText:{check:fl,nullable:true,event:fu,apply:ex},toolTipIcon:{check:fl,nullable:true,event:fu},blockToolTip:{check:fL,init:false},visibility:{check:[fI,fn,fE],init:fI,apply:gc,event:fh},enabled:{init:true,check:fL,inheritable:true,apply:fY,event:eM},anonymous:{init:false,check:fL},tabIndex:{check:fF,nullable:true,apply:es},focusable:{check:fL,init:false,apply:dY},keepFocus:{check:fL,init:false,apply:fd},keepActive:{check:fL,init:false,apply:ge},draggable:{check:fL,init:false,apply:eI},droppable:{check:fL,init:false,apply:eD},selectable:{check:fL,init:false,event:eq,apply:fX},contextMenu:{check:ey,apply:eW,nullable:true,event:eo},nativeContextMenu:{check:fL,init:false,themeable:true,event:fa,apply:dV},appearance:{check:fl,init:ev,apply:em,event:er}},statics:{DEBUG:false,getWidgetByElement:function(bH){while(bH){var bI=bH.$$widget;
if(bI!=null){return qx.core.ObjectRegistry.fromHashCode(bI);
}try{bH=bH.parentNode;
}catch(e){return null;
}}return null;
},contains:function(parent,W){while(W){if(parent==W){return true;
}W=W.getLayoutParent();
}return false;
},__dX:new qx.ui.core.DecoratorFactory(),__dY:new qx.ui.core.DecoratorFactory()},members:{__dV:null,__dW:null,__ea:null,__eb:null,__ec:null,__ed:null,__ee:null,__ef:null,_getLayout:function(){return this.__ef;
},_setLayout:function(j){{};

if(this.__ef){this.__ef.connectToWidget(null);
}
if(j){j.connectToWidget(this);
}this.__ef=j;
qx.ui.core.queue.Layout.add(this);
},setLayoutParent:function(parent){if(this.$$parent===parent){return;
}var C=this.getContainerElement();

if(this.$$parent&&!this.$$parent.$$disposed){this.$$parent.getContentElement().remove(C);
}this.$$parent=parent||null;

if(parent&&!parent.$$disposed){this.$$parent.getContentElement().add(C);
}this.$$refreshInheritables();
qx.ui.core.queue.Visibility.add(this);
},_updateInsets:null,__eg:function(a,b){if(a==b){return false;
}
if(a==null||b==null){return true;
}var gO=qx.theme.manager.Decoration.getInstance();
var gQ=gO.resolve(a).getInsets();
var gP=gO.resolve(b).getInsets();

if(gQ.top!=gP.top||gQ.right!=gP.right||gQ.bottom!=gP.bottom||gQ.left!=gP.left){return true;
}return false;
},renderLayout:function(bY,top,ca,cb){var ck=qx.ui.core.LayoutItem.prototype.renderLayout.call(this,bY,top,ca,cb);
if(!ck){return;
}var cd=this.getContainerElement();
var content=this.getContentElement();
var ch=ck.size||this._updateInsets;
var cl=fM;
var ci={};
if(ck.position){ci.left=bY+cl;
ci.top=top+cl;
}if(ck.size){ci.width=ca+cl;
ci.height=cb+cl;
}
if(ck.position||ck.size){cd.setStyles(ci);
}
if(ch||ck.local||ck.margin){var cc=this.getInsets();
var innerWidth=ca-cc.left-cc.right;
var innerHeight=cb-cc.top-cc.bottom;
innerWidth=innerWidth<0?0:innerWidth;
innerHeight=innerHeight<0?0:innerHeight;
}var cf={};

if(this._updateInsets){cf.left=cc.left+cl;
cf.top=cc.top+cl;
}
if(ch){cf.width=innerWidth+cl;
cf.height=innerHeight+cl;
}
if(ch||this._updateInsets){content.setStyles(cf);
}
if(ck.size){var cj=this.__ec;

if(cj){cj.setStyles({width:ca+fM,height:cb+fM});
}}
if(ck.size||this._updateInsets){if(this.__ea){this.__ea.resize(ca,cb);
}}
if(ck.size){if(this.__eb){var cc=this.__eb.getInsets();
var cg=ca+cc.left+cc.right;
var ce=cb+cc.top+cc.bottom;
this.__eb.resize(cg,ce);
}}
if(ch||ck.local||ck.margin){if(this.__ef&&this.hasLayoutChildren()){this.__ef.renderLayout(innerWidth,innerHeight);
}else if(this.hasLayoutChildren()){throw new Error("At least one child in control "+this._findTopControl()+" requires a layout, but no one was defined!");
}}if(ck.position&&this.hasListener(fO)){this.fireDataEvent(fO,this.getBounds());
}
if(ck.size&&this.hasListener(fy)){this.fireDataEvent(fy,this.getBounds());
}delete this._updateInsets;
return ck;
},__eh:null,clearSeparators:function(){var v=this.__eh;

if(!v){return;
}var w=qx.ui.core.Widget.__dX;
var content=this.getContentElement();
var u;

for(var i=0,l=v.length;i<l;i++){u=v[i];
w.poolDecorator(u);
content.remove(u);
}v.length=0;
},renderSeparator:function(bS,bT){var bU=qx.ui.core.Widget.__dX.getDecoratorElement(bS);
this.getContentElement().add(bU);
bU.resize(bT.width,bT.height);
bU.setStyles({left:bT.left+fM,top:bT.top+fM});
if(!this.__eh){this.__eh=[bU];
}else{this.__eh.push(bU);
}},_computeSizeHint:function(){var K=this.getWidth();
var J=this.getMinWidth();
var F=this.getMaxWidth();
var I=this.getHeight();
var G=this.getMinHeight();
var H=this.getMaxHeight();
{};
var L=this._getContentHint();
var E=this.getInsets();
var N=E.left+E.right;
var M=E.top+E.bottom;

if(K==null){K=L.width+N;
}
if(I==null){I=L.height+M;
}
if(J==null){J=N;

if(L.minWidth!=null){J+=L.minWidth;
}}
if(G==null){G=M;

if(L.minHeight!=null){G+=L.minHeight;
}}
if(F==null){if(L.maxWidth==null){F=Infinity;
}else{F=L.maxWidth+N;
}}
if(H==null){if(L.maxHeight==null){H=Infinity;
}else{H=L.maxHeight+M;
}}return {width:K,minWidth:J,maxWidth:F,height:I,minHeight:G,maxHeight:H};
},invalidateLayoutCache:function(){qx.ui.core.LayoutItem.prototype.invalidateLayoutCache.call(this);

if(this.__ef){this.__ef.invalidateLayoutCache();
}},_getContentHint:function(){var bW=this.__ef;

if(bW){if(this.hasLayoutChildren()){var bV;
var bX=bW.getSizeHint();
{};
return bX;
}else{return {width:0,height:0};
}}else{return {width:100,height:50};
}},_getHeightForWidth:function(dx){var dB=this.getInsets();
var dE=dB.left+dB.right;
var dD=dB.top+dB.bottom;
var dC=dx-dE;
var dz=this._getLayout();

if(dz&&dz.hasHeightForWidth()){var dy=dz.getHeightForWidth(dx);
}else{dy=this._getContentHeightForWidth(dC);
}var dA=dy+dD;
return dA;
},_getContentHeightForWidth:function(gT){throw new Error("Abstract method call: _getContentHeightForWidth()!");
},getInsets:function(){var top=this.getPaddingTop();
var bd=this.getPaddingRight();
var bf=this.getPaddingBottom();
var be=this.getPaddingLeft();

if(this.__ea){var bc=this.__ea.getInsets();
{};
top+=bc.top;
bd+=bc.right;
bf+=bc.bottom;
be+=bc.left;
}return {"top":top,"right":bd,"bottom":bf,"left":be};
},getInnerSize:function(){var bb=this.getBounds();

if(!bb){return null;
}var ba=this.getInsets();
return {width:bb.width-ba.left-ba.right,height:bb.height-ba.top-ba.bottom};
},show:function(){this.setVisibility(fI);
},hide:function(){this.setVisibility(fn);
},exclude:function(){this.setVisibility(fE);
},isVisible:function(){return this.getVisibility()===fI;
},isHidden:function(){return this.getVisibility()!==fI;
},isExcluded:function(){return this.getVisibility()===fE;
},isSeeable:function(){var cH=this.getContainerElement().getDomElement();

if(cH){return cH.offsetWidth>0;
}var cG=this;

do{if(!cG.isVisible()){return false;
}
if(cG.isRootWidget()){return true;
}cG=cG.getLayoutParent();
}while(cG);
return false;
},_createContainerElement:function(){var gz={"$$widget":this.toHashCode()};
{};
var gy={zIndex:0,position:fS};
return new qx.html.Element(fQ,gy,gz);
},__ei:function(){var bu=this._createContentElement();
{};
bu.setStyles({"position":fS,"zIndex":10});
return bu;
},_createContentElement:function(){return new qx.html.Element(fQ,{overflowX:fn,overflowY:fn});
},getContainerElement:function(){return this.__dV;
},getContentElement:function(){return this.__dW;
},getDecoratorElement:function(){return this.__ea||null;
},getShadowElement:function(){return this.__eb||null;
},__ej:null,getLayoutChildren:function(){var gB=this.__ej;

if(!gB){return this.__ek;
}var gC;

for(var i=0,l=gB.length;i<l;i++){var gA=gB[i];

if(gA.hasUserBounds()||gA.isExcluded()){if(gC==null){gC=gB.concat();
}qx.lang.Array.remove(gC,gA);
}}return gC||gB;
},scheduleLayoutUpdate:function(){qx.ui.core.queue.Layout.add(this);
},invalidateLayoutChildren:function(){var dJ=this.__ef;

if(dJ){dJ.invalidateChildrenCache();
}qx.ui.core.queue.Layout.add(this);
},hasLayoutChildren:function(){var bJ=this.__ej;

if(!bJ){return false;
}var bK;

for(var i=0,l=bJ.length;i<l;i++){bK=bJ[i];

if(!bK.hasUserBounds()&&!bK.isExcluded()){return true;
}}return false;
},getChildrenContainer:function(){return this;
},__ek:[],_getChildren:function(){return this.__ej||this.__ek;
},_indexOf:function(gR){var gS=this.__ej;

if(!gS){return -1;
}return gS.indexOf(gR);
},_hasChildren:function(){var D=this.__ej;
return D!=null&&(!!D[0]);
},addChildrenToQueue:function(gW){var gX=this.__ej;

if(!gX){return;
}var gY;

for(var i=0,l=gX.length;i<l;i++){gY=gX[i];
gW[gY.$$hash]=gY;
gY.addChildrenToQueue(gW);
}},_add:function(Q,R){if(Q.getLayoutParent()==this){qx.lang.Array.remove(this.__ej,Q);
}
if(this.__ej){this.__ej.push(Q);
}else{this.__ej=[Q];
}this.__el(Q,R);
},_addAt:function(S,T,U){if(!this.__ej){this.__ej=[];
}if(S.getLayoutParent()==this){qx.lang.Array.remove(this.__ej,S);
}var V=this.__ej[T];

if(V===S){return S.setLayoutProperties(U);
}
if(V){qx.lang.Array.insertBefore(this.__ej,S,V);
}else{this.__ej.push(S);
}this.__el(S,U);
},_addBefore:function(bp,bq,br){{};

if(bp==bq){return;
}
if(!this.__ej){this.__ej=[];
}if(bp.getLayoutParent()==this){qx.lang.Array.remove(this.__ej,bp);
}qx.lang.Array.insertBefore(this.__ej,bp,bq);
this.__el(bp,br);
},_addAfter:function(du,dv,dw){{};

if(du==dv){return;
}
if(!this.__ej){this.__ej=[];
}if(du.getLayoutParent()==this){qx.lang.Array.remove(this.__ej,du);
}qx.lang.Array.insertAfter(this.__ej,du,dv);
this.__el(du,dw);
},_remove:function(cm){if(!this.__ej){throw new Error("This widget has no children!");
}qx.lang.Array.remove(this.__ej,cm);
this.__em(cm);
},_removeAt:function(bi){if(!this.__ej){throw new Error("This widget has no children!");
}var bj=this.__ej[bi];
qx.lang.Array.removeAt(this.__ej,bi);
this.__em(bj);
return bj;
},_removeAll:function(){if(!this.__ej){return;
}var cQ=this.__ej.concat();
this.__ej.length=0;

for(var i=cQ.length-1;i>=0;i--){this.__em(cQ[i]);
}qx.ui.core.queue.Layout.add(this);
},_afterAddChild:null,_afterRemoveChild:null,__el:function(gU,gV){{};
var parent=gU.getLayoutParent();

if(parent&&parent!=this){parent._remove(gU);
}gU.setLayoutParent(this);
if(gV){gU.setLayoutProperties(gV);
}else{this.updateLayoutProperties();
}if(this._afterAddChild){this._afterAddChild(gU);
}},__em:function(B){{};

if(B.getLayoutParent()!==this){throw new Error("Remove Error: "+B+" is not a child of this widget!");
}B.setLayoutParent(null);
if(this.__ef){this.__ef.invalidateChildrenCache();
}qx.ui.core.queue.Layout.add(this);
if(this._afterRemoveChild){this._afterRemoveChild(B);
}},capture:function(da){this.getContainerElement().capture(da);
},releaseCapture:function(){this.getContainerElement().releaseCapture();
},_applyPadding:function(bs,bt,name){this._updateInsets=true;
qx.ui.core.queue.Layout.add(this);
},_createProtectorElement:function(){if(this.__ec){return;
}var X=this.__ec=new qx.html.Element;
{};
X.setStyles({position:fS,top:0,left:0,zIndex:7});
var Y=this.getBounds();

if(Y){this.__ec.setStyles({width:Y.width+fM,height:Y.height+fM});
}if(qx.core.Variant.isSet(fR,fg)){X.setStyles({backgroundImage:eh+qx.util.ResourceManager.getInstance().toUri(fq)+eg,backgroundRepeat:gh});
}this.getContainerElement().add(X);
},_applyDecorator:function(cv,cw){{};
var cA=qx.ui.core.Widget.__dX;
var cy=this.getContainerElement();
if(!this.__ec&&!qx.bom.client.Feature.CSS_POINTER_EVENTS){this._createProtectorElement();
}if(cw){cy.remove(this.__ea);
cA.poolDecorator(this.__ea);
}if(cv){var cz=this.__ea=cA.getDecoratorElement(cv);
cz.setStyle(fA,5);
var cx=this.getBackgroundColor();
cz.tint(cx);
cy.add(cz);
}else{delete this.__ea;
this._applyBackgroundColor(this.getBackgroundColor());
}if(cv&&!cw&&cx){this.getContainerElement().setStyle(fj,null);
}if(this.__eg(cw,cv)){this._updateInsets=true;
qx.ui.core.queue.Layout.add(this);
}else if(cv){var cB=this.getBounds();

if(cB){cz.resize(cB.width,cB.height);
this.__ec&&
this.__ec.setStyles({width:cB.width+fM,height:cB.height+fM});
}}},_applyShadow:function(dK,dL){var dS=qx.ui.core.Widget.__dY;
var dN=this.getContainerElement();
if(dL){dN.remove(this.__eb);
dS.poolDecorator(this.__eb);
}if(dK){var dP=this.__eb=dS.getDecoratorElement(dK);
dN.add(dP);
var dR=dP.getInsets();
dP.setStyles({left:(-dR.left)+fM,top:(-dR.top)+fM});
var dQ=this.getBounds();

if(dQ){var dO=dQ.width+dR.left+dR.right;
var dM=dQ.height+dR.top+dR.bottom;
dP.resize(dO,dM);
}dP.tint(null);
}else{delete this.__eb;
}},_applyToolTipText:function(x,y){if(qx.core.Variant.isSet(fW,fG)){if(this.__ee){return;
}var z=qx.locale.Manager.getInstance();
this.__ee=z.addListener(fs,function(){if(x&&x.translate){this.setToolTipText(x.translate());
}},this);
}},_applyTextColor:function(cM,cN){},_applyZIndex:function(s,t){this.getContainerElement().setStyle(fA,s==null?0:s);
},_applyVisibility:function(cT,cU){var cV=this.getContainerElement();

if(cT===fI){cV.show();
}else{cV.hide();
}var parent=this.$$parent;

if(parent&&(cU==null||cT==null||cU===fE||cT===fE)){parent.invalidateLayoutChildren();
}qx.ui.core.queue.Visibility.add(this);
},_applyOpacity:function(f,g){this.getContainerElement().setStyle(fz,f==1?null:f);
if(qx.core.Variant.isSet(fR,fg)&&qx.bom.element.Decoration.isAlphaImageLoaderEnabled()){if(!qx.Class.isSubClassOf(this.getContentElement().constructor,qx.html.Image)){var h=(f==1||f==null)?null:0.99;
this.getContentElement().setStyle(fz,h);
}}},_applyCursor:function(cE,cF){if(cE==null&&!this.isSelectable()){cE=fC;
}this.getContainerElement().setStyle(eR,cE,qx.bom.client.Engine.OPERA);
},_applyBackgroundColor:function(gi,gj){var gk=this.getBackgroundColor();
var gm=this.getContainerElement();

if(this.__ea){this.__ea.tint(gk);
gm.setStyle(fj,null);
}else{var gl=qx.theme.manager.Color.getInstance().resolve(gk);
gm.setStyle(fj,gl);
}},_applyFont:function(di,dj){},__en:null,$$stateChanges:null,_forwardStates:null,hasState:function(gD){var gE=this.__en;
return gE&&gE[gD];
},addState:function(bL){var bM=this.__en;

if(!bM){bM=this.__en={};
}
if(bM[bL]){return;
}this.__en[bL]=true;
if(bL===fT){this.syncAppearance();
}else if(!qx.ui.core.queue.Visibility.isVisible(this)){this.$$stateChanges=true;
}else{qx.ui.core.queue.Appearance.add(this);
}var forward=this._forwardStates;
var bP=this.__eq;

if(forward&&forward[bL]&&bP){var bN;

for(var bO in bP){bN=bP[bO];

if(bN instanceof qx.ui.core.Widget){bP[bO].addState(bL);
}}}},removeState:function(db){var dc=this.__en;

if(!dc||!dc[db]){return;
}delete this.__en[db];
if(db===fT){this.syncAppearance();
}else if(!qx.ui.core.queue.Visibility.isVisible(this)){this.$$stateChanges=true;
}else{qx.ui.core.queue.Appearance.add(this);
}var forward=this._forwardStates;
var df=this.__eq;

if(forward&&forward[db]&&df){for(var de in df){var dd=df[de];

if(dd instanceof qx.ui.core.Widget){dd.removeState(db);
}}}},replaceState:function(gF,gG){var gH=this.__en;

if(!gH){gH=this.__en={};
}
if(!gH[gG]){gH[gG]=true;
}
if(gH[gF]){delete gH[gF];
}
if(!qx.ui.core.queue.Visibility.isVisible(this)){this.$$stateChanges=true;
}else{qx.ui.core.queue.Appearance.add(this);
}var forward=this._forwardStates;
var gK=this.__eq;

if(forward&&forward[gG]&&gK){for(var gJ in gK){var gI=gK[gJ];

if(gI instanceof qx.ui.core.Widget){gI.replaceState(gF,gG);
}}}},__eo:null,__ep:null,syncAppearance:function(){var bz=this.__en;
var by=this.__eo;
var bA=qx.theme.manager.Appearance.getInstance();
var bw=qx.core.Property.$$method.setThemed;
var bE=qx.core.Property.$$method.resetThemed;
if(this.__ep){delete this.__ep;
if(by){var bv=bA.styleFrom(by,bz,null,this.getAppearance());
if(bv){by=null;
}}}if(!by){var bx=this;
var bD=[];

do{bD.push(bx.$$subcontrol||bx.getAppearance());
}while(bx=bx.$$subparent);
by=this.__eo=bD.reverse().join(ez).replace(/#[0-9]+/g,eV);
}var bB=bA.styleFrom(by,bz,null,this.getAppearance());

if(bB){var bC;

if(bv){for(var bC in bv){if(bB[bC]===undefined){this[bE[bC]]();
}}}{};
for(var bC in bB){bB[bC]===undefined?this[bE[bC]]():this[bw[bC]](bB[bC]);
}}else if(bv){for(var bC in bv){this[bE[bC]]();
}}this.fireDataEvent(eF,this.__en);
},_applyAppearance:function(bF,bG){this.updateAppearance();
},checkAppearanceNeeds:function(){if(!this.__ed){qx.ui.core.queue.Appearance.add(this);
this.__ed=true;
}else if(this.$$stateChanges){qx.ui.core.queue.Appearance.add(this);
delete this.$$stateChanges;
}},updateAppearance:function(){this.__ep=true;
qx.ui.core.queue.Appearance.add(this);
var cr=this.__eq;

if(cr){var cp;

for(var cq in cr){cp=cr[cq];

if(cp instanceof qx.ui.core.Widget){cp.updateAppearance();
}}}},syncWidget:function(){},getEventTarget:function(){var dt=this;

while(dt.getAnonymous()){dt=dt.getLayoutParent();

if(!dt){return null;
}}return dt;
},getFocusTarget:function(){var cu=this;

if(!cu.getEnabled()){return null;
}
while(cu.getAnonymous()||!cu.getFocusable()){cu=cu.getLayoutParent();

if(!cu||!cu.getEnabled()){return null;
}}return cu;
},getFocusElement:function(){return this.getContainerElement();
},isTabable:function(){return (!!this.getContainerElement().getDomElement())&&this.isFocusable();
},_applyFocusable:function(gn,go){var gp=this.getFocusElement();
if(gn){var gq=this.getTabIndex();

if(gq==null){gq=1;
}gp.setAttribute(fk,gq);
if(qx.core.Variant.isSet(fR,fg)){gp.setAttribute(ep,ew);
}else{gp.setStyle(ei,ej);
}}else{if(gp.isNativelyFocusable()){gp.setAttribute(fk,-1);
}else if(go){gp.setAttribute(fk,null);
}}},_applyKeepFocus:function(bg){var bh=this.getFocusElement();
bh.setAttribute(fr,bg?fG:null);
},_applyKeepActive:function(dF){var dG=this.getContainerElement();
dG.setAttribute(fc,dF?fG:null);
},_applyTabIndex:function(cW){if(cW==null){cW=1;
}else if(cW<1||cW>32000){throw new Error("TabIndex property must be between 1 and 32000");
}
if(this.getFocusable()&&cW!=null){this.getFocusElement().setAttribute(fk,cW);
}},_applySelectable:function(dg,dh){if(dh!==null){this._applyCursor(this.getCursor());
}this.getContainerElement().setSelectable(dg);
this.getContentElement().setSelectable(dg);
},_applyEnabled:function(dT,dU){if(dT===false){this.addState(fN);
this.removeState(fT);
if(this.isFocusable()){this.removeState(fi);
this._applyFocusable(false,true);
}if(this.isDraggable()){this._applyDraggable(false,true);
}if(this.isDroppable()){this._applyDroppable(false,true);
}}else{this.removeState(fN);
if(this.isFocusable()){this._applyFocusable(true,false);
}if(this.isDraggable()){this._applyDraggable(true,false);
}if(this.isDroppable()){this._applyDroppable(true,false);
}}},_applyNativeContextMenu:function(dq,dr,name){},_applyContextMenu:function(cR,cS){if(cS){cS.removeState(fm);

if(cS.getOpener()==this){cS.resetOpener();
}
if(!cR){this.removeListener(fm,this._onContextMenuOpen);
cS.removeListener(fh,this._onBeforeContextMenuOpen,this);
}}
if(cR){cR.setOpener(this);
cR.addState(fm);

if(!cS){this.addListener(fm,this._onContextMenuOpen);
cR.addListener(fh,this._onBeforeContextMenuOpen,this);
}}},_onContextMenuOpen:function(e){this.getContextMenu().openAtMouse(e);
e.stop();
},_onBeforeContextMenuOpen:function(e){if(e.getData()==fI&&this.hasListener(ft)){this.fireDataEvent(ft,e);
}},_onStopEvent:function(e){e.stopPropagation();
},_applyDraggable:function(dn,dp){if(!this.isEnabled()&&dn===true){dn=false;
}qx.ui.core.DragDropCursor.getInstance();
if(dn){this.addListener(fV,this._onDragStart);
this.addListener(fP,this._onDrag);
this.addListener(fv,this._onDragEnd);
this.addListener(fw,this._onDragChange);
}else{this.removeListener(fV,this._onDragStart);
this.removeListener(fP,this._onDrag);
this.removeListener(fv,this._onDragEnd);
this.removeListener(fw,this._onDragChange);
}this.getContainerElement().setAttribute(gg,dn?fG:null);
},_applyDroppable:function(gw,gx){if(!this.isEnabled()&&gw===true){gw=false;
}this.getContainerElement().setAttribute(eS,gw?fG:null);
},_onDragStart:function(e){qx.ui.core.DragDropCursor.getInstance().placeToMouse(e);
this.getApplicationRoot().setGlobalCursor(fC);
},_onDrag:function(e){qx.ui.core.DragDropCursor.getInstance().placeToMouse(e);
},_onDragEnd:function(e){qx.ui.core.DragDropCursor.getInstance().moveTo(-1000,-1000);
this.getApplicationRoot().resetGlobalCursor();
},_onDragChange:function(e){var cC=qx.ui.core.DragDropCursor.getInstance();
var cD=e.getCurrentAction();
cD?cC.setAction(cD):cC.resetAction();
},visualizeFocus:function(){this.addState(fi);
},visualizeBlur:function(){this.removeState(fi);
},scrollChildIntoView:function(cI,cJ,cK,cL){this.scrollChildIntoViewX(cI,cJ,cL);
this.scrollChildIntoViewY(cI,cK,cL);
},scrollChildIntoViewX:function(dk,dl,dm){this.getContentElement().scrollChildIntoViewX(dk.getContainerElement(),dl,dm);
},scrollChildIntoViewY:function(gr,gs,gt){this.getContentElement().scrollChildIntoViewY(gr.getContainerElement(),gs,gt);
},focus:function(){if(this.isFocusable()){this.getFocusElement().focus();
}else{throw new Error("Widget is not focusable!");
}},blur:function(){if(this.isFocusable()){this.getFocusElement().blur();
}else{throw new Error("Widget is not focusable!");
}},activate:function(){this.getContainerElement().activate();
},deactivate:function(){this.getContainerElement().deactivate();
},tabFocus:function(){this.getFocusElement().focus();
},hasChildControl:function(A){if(!this.__eq){return false;
}return !!this.__eq[A];
},__eq:null,_getCreatedChildControls:function(){return this.__eq;
},getChildControl:function(gL,gM){if(!this.__eq){if(gM){return null;
}this.__eq={};
}var gN=this.__eq[gL];

if(gN){return gN;
}
if(gM===true){return null;
}return this._createChildControl(gL);
},_showChildControl:function(cO){var cP=this.getChildControl(cO);
cP.show();
return cP;
},_excludeChildControl:function(cn){var co=this.getChildControl(cn,true);

if(co){co.exclude();
}},_isChildControlVisible:function(dH){var dI=this.getChildControl(dH,true);

if(dI){return dI.isVisible();
}return false;
},_createChildControl:function(bk){if(!this.__eq){this.__eq={};
}else if(this.__eq[bk]){throw new Error("Child control '"+bk+"' already created!");
}var bo=bk.indexOf(eJ);

if(bo==-1){var bl=this._createChildControlImpl(bk);
}else{var bl=this._createChildControlImpl(bk.substring(0,bo));
}
if(!bl){throw new Error("Unsupported control: "+bk);
}bl.$$subcontrol=bk;
bl.$$subparent=this;
var bm=this.__en;
var forward=this._forwardStates;

if(bm&&forward&&bl instanceof qx.ui.core.Widget){for(var bn in bm){if(forward[bn]){bl.addState(bn);
}}}this.fireDataEvent(ee,bl);
return this.__eq[bk]=bl;
},_createChildControlImpl:function(ds){return null;
},_disposeChildControls:function(){var o=this.__eq;

if(!o){return;
}var m=qx.ui.core.Widget;

for(var n in o){var k=o[n];

if(!m.contains(this,k)){k.destroy();
}else{k.dispose();
}}delete this.__eq;
},_findTopControl:function(){var r=this;

while(r){if(!r.$$subparent){return r;
}r=r.$$subparent;
}return null;
},getContainerLocation:function(bQ){var bR=this.getContainerElement().getDomElement();
return bR?qx.bom.element.Location.get(bR,bQ):null;
},getContentLocation:function(O){var P=this.getContentElement().getDomElement();
return P?qx.bom.element.Location.get(P,O):null;
},setDomLeft:function(p){var q=this.getContainerElement().getDomElement();

if(q){q.style.left=p+fM;
}else{throw new Error("DOM element is not yet created!");
}},setDomTop:function(c){var d=this.getContainerElement().getDomElement();

if(d){d.style.top=c+fM;
}else{throw new Error("DOM element is not yet created!");
}},setDomPosition:function(cX,top){var cY=this.getContainerElement().getDomElement();

if(cY){cY.style.left=cX+fM;
cY.style.top=top+fM;
}else{throw new Error("DOM element is not yet created!");
}},destroy:function(){if(this.$$disposed){return;
}var parent=this.$$parent;

if(parent){parent._remove(this);
}qx.ui.core.queue.Dispose.add(this);
},clone:function(){var cs=qx.ui.core.LayoutItem.prototype.clone.call(this);

if(this.getChildren){var ct=this.getChildren();

for(var i=0,l=ct.length;i<l;i++){cs.add(ct[i].clone());
}}return cs;
}},destruct:function(){if(!qx.core.ObjectRegistry.inShutDown){if(qx.core.Variant.isSet(fW,fG)){if(this.__ee){qx.locale.Manager.getInstance().removeListenerById(this.__ee);
}}this.getContainerElement().setAttribute(eC,null,true);
this._disposeChildControls();
qx.ui.core.queue.Appearance.remove(this);
qx.ui.core.queue.Layout.remove(this);
qx.ui.core.queue.Visibility.remove(this);
qx.ui.core.queue.Widget.remove(this);
}if(!qx.core.ObjectRegistry.inShutDown){var gv=qx.ui.core.Widget;
var gu=this.getContainerElement();

if(this.__ea){gu.remove(this.__ea);
gv.__dX.poolDecorator(this.__ea);
}
if(this.__eb){gu.remove(this.__eb);
gv.__dY.poolDecorator(this.__eb);
}this.clearSeparators();
this.__ea=this.__eb=this.__eh=null;
}else{this._disposeArray(eE);
this._disposeObjects(gd,ef);
}this._disposeArray(eb);
this.__en=this.__eq=null;
this._disposeObjects(dW,et,eY,ec);
}});
})();
(function(){var g="qx.event.type.Data",f="qx.ui.container.Composite",e="addChildWidget",d="removeChildWidget";
qx.Class.define(f,{extend:qx.ui.core.Widget,include:[qx.ui.core.MChildrenHandling,qx.ui.core.MLayoutHandling],construct:function(h){qx.ui.core.Widget.call(this);

if(h!=null){this._setLayout(h);
}},events:{addChildWidget:g,removeChildWidget:g},members:{_afterAddChild:function(i){this.fireNonBubblingEvent(e,qx.event.type.Data,[i]);
},_afterRemoveChild:function(a){this.fireNonBubblingEvent(d,qx.event.type.Data,[a]);
}},defer:function(b,c){qx.ui.core.MChildrenHandling.remap(c);
qx.ui.core.MLayoutHandling.remap(c);
}});
})();
(function(){var j="keep-align",i="Integer",h="interval",g="direct",f="disappear",e="best-fit",d="mouse",c="bottom-left",b="Boolean",a="bottom-right",x="widget",w="qx.ui.core.MPlacement",v="left-top",u="offsetRight",t="shorthand",s="offsetLeft",r="top-left",q="appear",p="offsetBottom",o="top-right",m="offsetTop",n="right-bottom",k="right-top",l="left-bottom";
qx.Mixin.define(w,{properties:{position:{check:[r,o,c,a,v,l,k,n],init:c,themeable:true},placeMethod:{check:[x,d],init:d,themeable:true},domMove:{check:b,init:false},placementModeX:{check:[g,j,e],init:j,themeable:true},placementModeY:{check:[g,j,e],init:j,themeable:true},offsetLeft:{check:i,init:0,themeable:true},offsetTop:{check:i,init:0,themeable:true},offsetRight:{check:i,init:0,themeable:true},offsetBottom:{check:i,init:0,themeable:true},offset:{group:[m,u,p,s],mode:t,themeable:true}},members:{__er:null,__es:null,__et:null,getLayoutLocation:function(O){var R,Q,S,top;
Q=O.getBounds();
S=Q.left;
top=Q.top;
var T=Q;
O=O.getLayoutParent();

while(O&&!O.isRootWidget()){Q=O.getBounds();
S+=Q.left;
top+=Q.top;
R=O.getInsets();
S+=R.left;
top+=R.top;
O=O.getLayoutParent();
}if(O.isRootWidget()){var P=O.getContainerLocation();

if(P){S+=P.left;
top+=P.top;
}}return {left:S,top:top,right:S+T.width,bottom:top+T.height};
},moveTo:function(F,top){if(this.getDomMove()){this.setDomPosition(F,top);
}else{this.setLayoutProperties({left:F,top:top});
}},placeToWidget:function(I,J){if(J){this.__eu();
this.__er=qx.lang.Function.bind(this.placeToWidget,this,I,false);
qx.event.Idle.getInstance().addListener(h,this.__er);
this.__et=function(){this.__eu();
};
this.addListener(f,this.__et,this);
}var K=I.getContainerLocation()||this.getLayoutLocation(I);
this.__ew(K);
},__eu:function(){if(this.__er){qx.event.Idle.getInstance().removeListener(h,this.__er);
this.__er=null;
}
if(this.__et){this.removeListener(f,this.__et,this);
this.__et=null;
}},placeToMouse:function(event){var C=event.getDocumentLeft();
var top=event.getDocumentTop();
var B={left:C,top:top,right:C,bottom:top};
this.__ew(B);
},placeToElement:function(L,M){var location=qx.bom.element.Location.get(L);
var N={left:location.left,top:location.top,right:location.left+L.offsetWidth,bottom:location.top+L.offsetHeight};
if(M){this.__er=qx.lang.Function.bind(this.placeToElement,this,L,false);
qx.event.Idle.getInstance().addListener(h,this.__er);
this.addListener(f,function(){if(this.__er){qx.event.Idle.getInstance().removeListener(h,this.__er);
this.__er=null;
}},this);
}this.__ew(N);
},placeToPoint:function(G){var H={left:G.left,top:G.top,right:G.left,bottom:G.top};
this.__ew(H);
},_getPlacementOffsets:function(){return {left:this.getOffsetLeft(),top:this.getOffsetTop(),right:this.getOffsetRight(),bottom:this.getOffsetBottom()};
},__ev:function(W){var X=null;

if(this._computePlacementSize){var X=this._computePlacementSize();
}else if(this.isVisible()){var X=this.getBounds();
}
if(X==null){this.addListenerOnce(q,function(){this.__ev(W);
},this);
}else{W.call(this,X);
}},__ew:function(A){this.__ev(function(y){var z=qx.util.placement.Placement.compute(y,this.getLayoutParent().getBounds(),A,this._getPlacementOffsets(),this.getPosition(),this.getPlacementModeX(),this.getPlacementModeY());
this.moveTo(z.left,z.top);
});
},setSmart:function(U){{};
var V=U?j:g;
this.set({placementModeX:V,placementModeY:V});
},getSmart:function(){{};
var D=this.getPlacementModeX()==j?true:false;
var E=this.getPlacementModeY()==j?true:false;
return D&&E;
},resetSmart:function(){{};
this.resetPlacementModeX();
this.resetPlacementModeY();
},isSmart:function(){{};
return this.getSmart();
},toggleSmart:function(){{};
this.setSmart(!this.getSmart());
}},destruct:function(){this.__eu();
}});
})();
(function(){var e="qx.ui.popup.Popup",d="visible",c="excluded",b="popup",a="Boolean";
qx.Class.define(e,{extend:qx.ui.container.Composite,include:qx.ui.core.MPlacement,construct:function(f){qx.ui.container.Composite.call(this,f);
qx.core.Init.getApplication().getRoot().add(this);
this.initVisibility();
},properties:{appearance:{refine:true,init:b},visibility:{refine:true,init:c},autoHide:{check:a,init:true}},members:{_applyVisibility:function(g,h){qx.ui.container.Composite.prototype._applyVisibility.call(this,g,h);
var i=qx.ui.popup.Manager.getInstance();
g===d?i.add(this):i.remove(this);
}},destruct:function(){qx.ui.popup.Manager.getInstance().remove(this);
}});
})();
(function(){var r="atom",q="Integer",p="String",o="_applyRich",n="qx.ui.tooltip.ToolTip",m="_applyIcon",l="tooltip",k="qx.ui.core.Widget",j="mouseover",i="Boolean",h="_applyLabel";
qx.Class.define(n,{extend:qx.ui.popup.Popup,construct:function(u,v){qx.ui.popup.Popup.call(this);
this.setLayout(new qx.ui.layout.Grow);
this._createChildControl(r);
if(u!=null){this.setLabel(u);
}
if(v!=null){this.setIcon(v);
}this.addListener(j,this._onMouseOver,this);
},properties:{appearance:{refine:true,init:l},showTimeout:{check:q,init:700,themeable:true},hideTimeout:{check:q,init:4000,themeable:true},label:{check:p,nullable:true,apply:h},icon:{check:p,nullable:true,apply:m,themeable:true},rich:{check:i,init:false,apply:o},opener:{check:k,nullable:true}},members:{_createChildControlImpl:function(s){var t;

switch(s){case r:t=new qx.ui.basic.Atom;
this._add(t);
break;
}return t||qx.ui.popup.Popup.prototype._createChildControlImpl.call(this,s);
},_onMouseOver:function(e){this.hide();
},_applyIcon:function(d,f){var g=this.getChildControl(r);
d==null?g.resetIcon:g.setIcon(d);
},_applyLabel:function(a,b){var c=this.getChildControl(r);
a==null?c.resetLabel():c.setLabel(a);
},_applyRich:function(w,x){var y=this.getChildControl(r);
y.setRich(w);
}}});
})();
(function(){var l="qx.ui.core.queue.Layout",k="layout";
qx.Class.define(l,{statics:{__ex:{},remove:function(a){delete this.__ex[a.$$hash];
},add:function(w){this.__ex[w.$$hash]=w;
qx.ui.core.queue.Manager.scheduleFlush(k);
},flush:function(){var x=this.__eA();
for(var i=x.length-1;i>=0;i--){var y=x[i];
if(y.hasValidLayout()){continue;
}if(y.isRootWidget()&&!y.hasUserBounds()){var A=y.getSizeHint();
y.renderLayout(0,0,A.width,A.height);
}else{var z=y.getBounds();
y.renderLayout(z.left,z.top,z.width,z.height);
}}},getNestingLevel:function(m){var n=this.__ez;
var p=0;
var parent=m;
while(true){if(n[parent.$$hash]!=null){p+=n[parent.$$hash];
break;
}
if(!parent.$$parent){break;
}parent=parent.$$parent;
p+=1;
}var o=p;

while(m&&m!==parent){n[m.$$hash]=o--;
m=m.$$parent;
}return p;
},__ey:function(){var v=qx.ui.core.queue.Visibility;
this.__ez={};
var u=[];
var t=this.__ex;
var q,s;

for(var r in t){q=t[r];

if(v.isVisible(q)){s=this.getNestingLevel(q);
if(!u[s]){u[s]={};
}u[s][r]=q;
delete t[r];
}}return u;
},__eA:function(){var e=[];
var g=this.__ey();

for(var d=g.length-1;d>=0;d--){if(!g[d]){continue;
}
for(var c in g[d]){var b=g[d][c];
if(d==0||b.isRootWidget()||b.hasUserBounds()){e.push(b);
b.invalidateLayoutCache();
continue;
}var j=b.getSizeHint(false);

if(j){b.invalidateLayoutCache();
var f=b.getSizeHint();
var h=(!b.getBounds()||j.minWidth!==f.minWidth||j.width!==f.width||j.maxWidth!==f.maxWidth||j.minHeight!==f.minHeight||j.height!==f.height||j.maxHeight!==f.maxHeight);
}else{h=true;
}
if(h){var parent=b.getLayoutParent();

if(!g[d-1]){g[d-1]={};
}g[d-1][parent.$$hash]=parent;
}else{e.push(b);
}}}return e;
}}});
})();
(function(){var c="qx.event.handler.UserAction";
qx.Class.define(c,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(k){qx.core.Object.call(this);
this.__eB=k;
this.__eC=k.getWindow();
},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{useraction:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:true},members:{__eB:null,__eC:null,canHandleEvent:function(a,b){},registerEvent:function(h,i,j){},unregisterEvent:function(d,e,f){}},destruct:function(){this.__eB=this.__eC=null;
},defer:function(g){qx.event.Registration.addHandler(g);
}});
})();
(function(){var d="qx.util.DeferredCallManager",c="singleton";
qx.Class.define(d,{extend:qx.core.Object,type:c,construct:function(){this.__eD={};
this.__eE=qx.lang.Function.bind(this.__eI,this);
this.__eF=false;
},members:{__eG:null,__eH:null,__eD:null,__eF:null,__eE:null,schedule:function(a){if(this.__eG==null){this.__eG=window.setTimeout(this.__eE,0);
}var b=a.toHashCode();
if(this.__eH&&this.__eH[b]){return;
}this.__eD[b]=a;
this.__eF=true;
},cancel:function(g){var h=g.toHashCode();
if(this.__eH&&this.__eH[h]){this.__eH[h]=null;
return;
}delete this.__eD[h];
if(qx.lang.Object.isEmpty(this.__eD)&&this.__eG!=null){window.clearTimeout(this.__eG);
this.__eG=null;
}},__eI:qx.event.GlobalError.observeMethod(function(){this.__eG=null;
while(this.__eF){this.__eH=qx.lang.Object.clone(this.__eD);
this.__eD={};
this.__eF=false;

for(var f in this.__eH){var e=this.__eH[f];

if(e){this.__eH[f]=null;
e.call();
}}}this.__eH=null;
})},destruct:function(){if(this.__eG!=null){window.clearTimeout(this.__eG);
}this.__eE=this.__eD=null;
}});
})();
(function(){var e="qx.util.DeferredCall";
qx.Class.define(e,{extend:qx.core.Object,construct:function(c,d){qx.core.Object.call(this);
this.__eJ=c;
this.__eK=d||null;
this.__eL=qx.util.DeferredCallManager.getInstance();
},members:{__eJ:null,__eK:null,__eL:null,cancel:function(){this.__eL.cancel(this);
},schedule:function(){this.__eL.schedule(this);
},call:function(){this.__eK?this.__eJ.apply(this.__eK):this.__eJ();
}},destruct:function(a,b){this.cancel();
this.__eK=this.__eJ=this.__eL=null;
}});
})();
(function(){var W="element",V="qx.client",U="qxSelectable",T="off",S="on",R="div",Q="",P="mshtml",O="none",N="scroll",bp="text",bo="qx.html.Element",bn="|capture|",bm="activate",bl="blur",bk="deactivate",bj="capture",bi="userSelect",bh="__fj",bg="-moz-none",be="visible",bf="releaseCapture",bc="|bubble|",bd="tabIndex",ba="focus",bb="MozUserSelect",X="normal",Y="hidden";
qx.Class.define(bo,{extend:qx.core.Object,construct:function(dQ,dR,dS){qx.core.Object.call(this);
this.__eM=dQ||R;
this.__eN=dR||null;
this.__eO=dS||null;
},statics:{DEBUG:false,_modified:{},_visibility:{},_scroll:{},_actions:[],__eP:{},_scheduleFlush:function(cK){qx.html.Element.__fu.schedule();
},flush:function(){var de;
{};
var cU=this.__eQ();
var cT=cU.getFocus();

if(cT&&this.__eU(cT)){cU.blur(cT);
}var dl=cU.getActive();

if(dl&&this.__eU(dl)){qx.bom.Element.deactivate(dl);
}var cX=this.__eS();

if(cX&&this.__eU(cX)){qx.bom.Element.releaseCapture(cX);
}var df=[];
var dg=this._modified;

for(var dd in dg){de=dg[dd];
if(de.__fn()){if(de.__eV&&qx.dom.Hierarchy.isRendered(de.__eV)){df.push(de);
}else{{};
de.__fm();
}delete dg[dd];
}}
for(var i=0,l=df.length;i<l;i++){de=df[i];
{};
de.__fm();
}var da=this._visibility;

for(var dd in da){de=da[dd];
var dh=de.__eV;

if(!dh){delete da[dd];
continue;
}{};
if(!de.$$disposed){dh.style.display=de.__eY?Q:O;
if(qx.core.Variant.isSet(V,P)){if(!(document.documentMode>=8)){dh.style.visibility=de.__eY?be:Y;
}}}delete da[dd];
}var scroll=this._scroll;

for(var dd in scroll){de=scroll[dd];
var dm=de.__eV;

if(dm&&dm.offsetWidth){var cW=true;
if(de.__fc!=null){de.__eV.scrollLeft=de.__fc;
delete de.__fc;
}if(de.__fd!=null){de.__eV.scrollTop=de.__fd;
delete de.__fd;
}var di=de.__fa;

if(di!=null){var dc=di.element.getDomElement();

if(dc&&dc.offsetWidth){qx.bom.element.Scroll.intoViewX(dc,dm,di.align);
delete de.__fa;
}else{cW=false;
}}var dj=de.__fb;

if(dj!=null){var dc=dj.element.getDomElement();

if(dc&&dc.offsetWidth){qx.bom.element.Scroll.intoViewY(dc,dm,dj.align);
delete de.__fb;
}else{cW=false;
}}if(cW){delete scroll[dd];
}}}var cV={"releaseCapture":1,"blur":1,"deactivate":1};
for(var i=0;i<this._actions.length;i++){var dk=this._actions[i];
var dh=dk.element.__eV;

if(!dh||!cV[dk.type]&&!dk.element.__fn()){continue;
}var cY=dk.args;
cY.unshift(dh);
qx.bom.Element[dk.type].apply(qx.bom.Element,cY);
}this._actions=[];
for(var dd in this.__eP){var cS=this.__eP[dd];
var dm=cS.element.__eV;

if(dm){qx.bom.Selection.set(dm,cS.start,cS.end);
delete this.__eP[dd];
}}qx.event.handler.Appear.refresh();
},__eQ:function(){if(!this.__eR){var K=qx.event.Registration.getManager(window);
this.__eR=K.getHandler(qx.event.handler.Focus);
}return this.__eR;
},__eS:function(){if(!this.__eT){var cr=qx.event.Registration.getManager(window);
this.__eT=cr.getDispatcher(qx.event.dispatch.MouseCapture);
}return this.__eT.getCaptureElement();
},__eU:function(cm){var cn=qx.core.ObjectRegistry.fromHashCode(cm.$$element);
return cn&&!cn.__fn();
}},members:{__eM:null,__eV:null,__eW:false,__eX:true,__eY:true,__fa:null,__fb:null,__fc:null,__fd:null,__fe:null,__ff:null,__fg:null,__eN:null,__eO:null,__fh:null,__fi:null,__fj:null,__fk:null,__fl:null,_scheduleChildrenUpdate:function(){if(this.__fk){return;
}this.__fk=true;
qx.html.Element._modified[this.$$hash]=this;
qx.html.Element._scheduleFlush(W);
},_createDomElement:function(){return qx.bom.Element.create(this.__eM);
},__fm:function(){{};
var dX=this.__fj;

if(dX){var length=dX.length;
var dY;

for(var i=0;i<length;i++){dY=dX[i];

if(dY.__eY&&dY.__eX&&!dY.__eV){dY.__fm();
}}}
if(!this.__eV){this.__eV=this._createDomElement();
this.__eV.$$element=this.$$hash;
this._copyData(false);

if(dX&&length>0){this._insertChildren();
}}else{this._syncData();

if(this.__fk){this._syncChildren();
}}delete this.__fk;
},_insertChildren:function(){var bG=this.__fj;
var length=bG.length;
var bI;

if(length>2){var bH=document.createDocumentFragment();

for(var i=0;i<length;i++){bI=bG[i];

if(bI.__eV&&bI.__eX){bH.appendChild(bI.__eV);
}}this.__eV.appendChild(bH);
}else{var bH=this.__eV;

for(var i=0;i<length;i++){bI=bG[i];

if(bI.__eV&&bI.__eX){bH.appendChild(bI.__eV);
}}}},_syncChildren:function(){var by;
var bD=qx.core.ObjectRegistry;
var bu=this.__fj;
var bB=bu.length;
var bv;
var bz;
var bx=this.__eV;
var bA=bx.childNodes;
var bw=0;
var bC;
{};
for(var i=bA.length-1;i>=0;i--){bC=bA[i];
bz=bD.fromHashCode(bC.$$element);

if(!bz||!bz.__eX||bz.__fl!==this){bx.removeChild(bC);
{};
}}for(var i=0;i<bB;i++){bv=bu[i];
if(bv.__eX){bz=bv.__eV;
bC=bA[bw];

if(!bz){continue;
}if(bz!=bC){if(bC){bx.insertBefore(bz,bC);
}else{bx.appendChild(bz);
}{};
}bw++;
}}{};
},_copyData:function(dH){var dL=this.__eV;
var dK=this.__eO;

if(dK){var dI=qx.bom.element.Attribute;

for(var dM in dK){dI.set(dL,dM,dK[dM]);
}}var dK=this.__eN;

if(dK){var dJ=qx.bom.element.Style;

if(dH){dJ.setStyles(dL,dK);
}else{dJ.setCss(dL,dJ.compile(dK));
}}var dK=this.__fh;

if(dK){for(var dM in dK){this._applyProperty(dM,dK[dM]);
}}var dK=this.__fi;

if(dK){qx.event.Registration.getManager(dL).importListeners(dL,dK);
delete this.__fi;
}},_syncData:function(){var bW=this.__eV;
var bV=qx.bom.element.Attribute;
var bT=qx.bom.element.Style;
var bU=this.__ff;

if(bU){var ca=this.__eO;

if(ca){var bX;

for(var bY in bU){bX=ca[bY];

if(bX!==undefined){bV.set(bW,bY,bX);
}else{bV.reset(bW,bY);
}}}this.__ff=null;
}var bU=this.__fe;

if(bU){var ca=this.__eN;

if(ca){var bS={};

for(var bY in bU){bS[bY]=ca[bY];
}bT.setStyles(bW,bS);
}this.__fe=null;
}var bU=this.__fg;

if(bU){var ca=this.__fh;

if(ca){var bX;

for(var bY in bU){this._applyProperty(bY,ca[bY]);
}}this.__fg=null;
}},__fn:function(){var L=this;
while(L){if(L.__eW){return true;
}
if(!L.__eX||!L.__eY){return false;
}L=L.__fl;
}return false;
},__fo:function(B){if(B.__fl===this){throw new Error("Child is already in: "+B);
}
if(B.__eW){throw new Error("Root elements could not be inserted into other ones.");
}if(B.__fl){B.__fl.remove(B);
}B.__fl=this;
if(!this.__fj){this.__fj=[];
}if(this.__eV){this._scheduleChildrenUpdate();
}},__fp:function(d){if(d.__fl!==this){throw new Error("Has no child: "+d);
}if(this.__eV){this._scheduleChildrenUpdate();
}delete d.__fl;
},__fq:function(dn){if(dn.__fl!==this){throw new Error("Has no child: "+dn);
}if(this.__eV){this._scheduleChildrenUpdate();
}},getChildren:function(){return this.__fj||null;
},getChild:function(cb){var cc=this.__fj;
return cc&&cc[cb]||null;
},hasChildren:function(){var cd=this.__fj;
return cd&&cd[0]!==undefined;
},indexOf:function(cA){var cB=this.__fj;
return cB?cB.indexOf(cA):-1;
},hasChild:function(dq){var dr=this.__fj;
return dr&&dr.indexOf(dq)!==-1;
},add:function(p){if(arguments[1]){for(var i=0,l=arguments.length;i<l;i++){this.__fo(arguments[i]);
}this.__fj.push.apply(this.__fj,arguments);
}else{this.__fo(p);
this.__fj.push(p);
}return this;
},addAt:function(dU,dV){this.__fo(dU);
qx.lang.Array.insertAt(this.__fj,dU,dV);
return this;
},remove:function(cE){var cF=this.__fj;

if(!cF){return;
}
if(arguments[1]){var cG;

for(var i=0,l=arguments.length;i<l;i++){cG=arguments[i];
this.__fp(cG);
qx.lang.Array.remove(cF,cG);
}}else{this.__fp(cE);
qx.lang.Array.remove(cF,cE);
}return this;
},removeAt:function(bP){var bQ=this.__fj;

if(!bQ){throw new Error("Has no children!");
}var bR=bQ[bP];

if(!bR){throw new Error("Has no child at this position!");
}this.__fp(bR);
qx.lang.Array.removeAt(this.__fj,bP);
return this;
},removeAll:function(){var A=this.__fj;

if(A){for(var i=0,l=A.length;i<l;i++){this.__fp(A[i]);
}A.length=0;
}return this;
},getParent:function(){return this.__fl||null;
},insertInto:function(parent,bO){parent.__fo(this);

if(bO==null){parent.__fj.push(this);
}else{qx.lang.Array.insertAt(this.__fj,this,bO);
}return this;
},insertBefore:function(cC){var parent=cC.__fl;
parent.__fo(this);
qx.lang.Array.insertBefore(parent.__fj,this,cC);
return this;
},insertAfter:function(bs){var parent=bs.__fl;
parent.__fo(this);
qx.lang.Array.insertAfter(parent.__fj,this,bs);
return this;
},moveTo:function(cx){var parent=this.__fl;
parent.__fq(this);
var cy=parent.__fj.indexOf(this);

if(cy===cx){throw new Error("Could not move to same index!");
}else if(cy<cx){cx--;
}qx.lang.Array.removeAt(parent.__fj,cy);
qx.lang.Array.insertAt(parent.__fj,this,cx);
return this;
},moveBefore:function(dW){var parent=this.__fl;
return this.moveTo(parent.__fj.indexOf(dW));
},moveAfter:function(co){var parent=this.__fl;
return this.moveTo(parent.__fj.indexOf(co)+1);
},free:function(){var parent=this.__fl;

if(!parent){throw new Error("Has no parent to remove from.");
}
if(!parent.__fj){return;
}parent.__fp(this);
qx.lang.Array.remove(parent.__fj,this);
return this;
},getDomElement:function(){return this.__eV||null;
},getNodeName:function(){return this.__eM;
},setNodeName:function(name){this.__eM=name;
},setRoot:function(dD){this.__eW=dD;
},useMarkup:function(dN){if(this.__eV){throw new Error("Could not overwrite existing element!");
}if(qx.core.Variant.isSet(V,P)){var dO=document.createElement(R);
}else{var dO=qx.bom.Element.getHelperElement();
}dO.innerHTML=dN;
this.useElement(dO.firstChild);
return this.__eV;
},useElement:function(ds){if(this.__eV){throw new Error("Could not overwrite existing element!");
}this.__eV=ds;
this.__eV.$$element=this.$$hash;
this._copyData(true);
},isFocusable:function(){var cI=this.getAttribute(bd);

if(cI>=1){return true;
}var cH=qx.event.handler.Focus.FOCUSABLE_ELEMENTS;

if(cI>=0&&cH[this.__eM]){return true;
}return false;
},setSelectable:qx.core.Variant.select(V,{"webkit":function(cJ){this.setAttribute(U,cJ?S:T);
this.setStyle(bi,cJ?X:O);
},"gecko":function(bE){this.setAttribute(U,bE?S:T);
this.setStyle(bb,bE?bp:bg);
},"default":function(dP){this.setAttribute(U,dP?S:T);
}}),isNativelyFocusable:function(){return !!qx.event.handler.Focus.FOCUSABLE_ELEMENTS[this.__eM];
},include:function(){if(this.__eX){return;
}delete this.__eX;

if(this.__fl){this.__fl._scheduleChildrenUpdate();
}return this;
},exclude:function(){if(!this.__eX){return;
}this.__eX=false;

if(this.__fl){this.__fl._scheduleChildrenUpdate();
}return this;
},isIncluded:function(){return this.__eX===true;
},show:function(){if(this.__eY){return;
}
if(this.__eV){qx.html.Element._visibility[this.$$hash]=this;
qx.html.Element._scheduleFlush(W);
}if(this.__fl){this.__fl._scheduleChildrenUpdate();
}delete this.__eY;
},hide:function(){if(!this.__eY){return;
}
if(this.__eV){qx.html.Element._visibility[this.$$hash]=this;
qx.html.Element._scheduleFlush(W);
}this.__eY=false;
},isVisible:function(){return this.__eY===true;
},scrollChildIntoViewX:function(C,D,E){var F=this.__eV;
var G=C.getDomElement();

if(E!==false&&F&&F.offsetWidth&&G&&G.offsetWidth){qx.bom.element.Scroll.intoViewX(G,F,D);
}else{this.__fa={element:C,align:D};
qx.html.Element._scroll[this.$$hash]=this;
qx.html.Element._scheduleFlush(W);
}delete this.__fc;
},scrollChildIntoViewY:function(bJ,bK,bL){var bM=this.__eV;
var bN=bJ.getDomElement();

if(bL!==false&&bM&&bM.offsetWidth&&bN&&bN.offsetWidth){qx.bom.element.Scroll.intoViewY(bN,bM,bK);
}else{this.__fb={element:bJ,align:bK};
qx.html.Element._scroll[this.$$hash]=this;
qx.html.Element._scheduleFlush(W);
}delete this.__fd;
},scrollToX:function(x,w){var z=this.__eV;

if(w!==true&&z&&z.offsetWidth){z.scrollLeft=x;
}else{this.__fc=x;
qx.html.Element._scroll[this.$$hash]=this;
qx.html.Element._scheduleFlush(W);
}delete this.__fa;
},getScrollX:function(){var br=this.__eV;

if(br){return br.scrollLeft;
}return this.__fc||0;
},scrollToY:function(y,cQ){var cR=this.__eV;

if(cQ!==true&&cR&&cR.offsetWidth){cR.scrollTop=y;
}else{this.__fd=y;
qx.html.Element._scroll[this.$$hash]=this;
qx.html.Element._scheduleFlush(W);
}delete this.__fb;
},getScrollY:function(){var ce=this.__eV;

if(ce){return ce.scrollTop;
}return this.__fd||0;
},disableScrolling:function(){this.enableScrolling();
this.scrollToX(0);
this.scrollToY(0);
this.addListener(N,this.__fs,this);
},enableScrolling:function(){this.removeListener(N,this.__fs,this);
},__fr:null,__fs:function(e){if(!this.__fr){this.__fr=true;
this.__eV.scrollTop=0;
this.__eV.scrollLeft=0;
delete this.__fr;
}},getTextSelection:function(){var dT=this.__eV;

if(dT){return qx.bom.Selection.get(dT);
}return null;
},getTextSelectionLength:function(){var cM=this.__eV;

if(cM){return qx.bom.Selection.getLength(cM);
}return null;
},getTextSelectionStart:function(){var bF=this.__eV;

if(bF){return qx.bom.Selection.getStart(bF);
}return null;
},getTextSelectionEnd:function(){var cL=this.__eV;

if(cL){return qx.bom.Selection.getEnd(cL);
}return null;
},setTextSelection:function(a,b){var c=this.__eV;

if(c){qx.bom.Selection.set(c,a,b);
return;
}qx.html.Element.__eP[this.toHashCode()]={element:this,start:a,end:b};
qx.html.Element._scheduleFlush(W);
},clearTextSelection:function(){var bt=this.__eV;

if(bt){qx.bom.Selection.clear(bt);
}delete qx.html.Element.__eP[this.toHashCode()];
},__ft:function(H,I){var J=qx.html.Element._actions;
J.push({type:H,element:this,args:I||[]});
qx.html.Element._scheduleFlush(W);
},focus:function(){this.__ft(ba);
},blur:function(){this.__ft(bl);
},activate:function(){this.__ft(bm);
},deactivate:function(){this.__ft(bk);
},capture:function(bq){this.__ft(bj,[bq!==false]);
},releaseCapture:function(){this.__ft(bf);
},setStyle:function(dE,dF,dG){if(!this.__eN){this.__eN={};
}
if(this.__eN[dE]==dF){return;
}
if(dF==null){delete this.__eN[dE];
}else{this.__eN[dE]=dF;
}if(this.__eV){if(dG){qx.bom.element.Style.set(this.__eV,dE,dF);
return this;
}if(!this.__fe){this.__fe={};
}this.__fe[dE]=true;
qx.html.Element._modified[this.$$hash]=this;
qx.html.Element._scheduleFlush(W);
}return this;
},setStyles:function(cs,ct){var cu=qx.bom.element.Style;

if(!this.__eN){this.__eN={};
}
if(this.__eV){if(!this.__fe){this.__fe={};
}
for(var cw in cs){var cv=cs[cw];

if(this.__eN[cw]==cv){continue;
}
if(cv==null){delete this.__eN[cw];
}else{this.__eN[cw]=cv;
}if(ct){cu.set(this.__eV,cw,cv);
continue;
}this.__fe[cw]=true;
}qx.html.Element._modified[this.$$hash]=this;
qx.html.Element._scheduleFlush(W);
}else{for(var cw in cs){var cv=cs[cw];

if(this.__eN[cw]==cv){continue;
}
if(cv==null){delete this.__eN[cw];
}else{this.__eN[cw]=cv;
}}}return this;
},removeStyle:function(cp,cq){this.setStyle(cp,null,cq);
},getStyle:function(dp){return this.__eN?this.__eN[dp]:null;
},getAllStyles:function(){return this.__eN||null;
},setAttribute:function(dA,dB,dC){if(!this.__eO){this.__eO={};
}
if(this.__eO[dA]==dB){return;
}
if(dB==null){delete this.__eO[dA];
}else{this.__eO[dA]=dB;
}if(this.__eV){if(dC){qx.bom.element.Attribute.set(this.__eV,dA,dB);
return this;
}if(!this.__ff){this.__ff={};
}this.__ff[dA]=true;
qx.html.Element._modified[this.$$hash]=this;
qx.html.Element._scheduleFlush(W);
}return this;
},setAttributes:function(cg,ch){for(var ci in cg){this.setAttribute(ci,cg[ci],ch);
}return this;
},removeAttribute:function(ea,eb){this.setAttribute(ea,null,eb);
},getAttribute:function(cD){return this.__eO?this.__eO[cD]:null;
},_applyProperty:function(name,cf){},_setProperty:function(cj,ck,cl){if(!this.__fh){this.__fh={};
}
if(this.__fh[cj]==ck){return;
}
if(ck==null){delete this.__fh[cj];
}else{this.__fh[cj]=ck;
}if(this.__eV){if(cl){this._applyProperty(cj,ck);
return this;
}if(!this.__fg){this.__fg={};
}this.__fg[cj]=true;
qx.html.Element._modified[this.$$hash]=this;
qx.html.Element._scheduleFlush(W);
}return this;
},_removeProperty:function(m,n){this._setProperty(m,null,n);
},_getProperty:function(cN){var cO=this.__fh;

if(!cO){return null;
}var cP=cO[cN];
return cP==null?null:cP;
},addListener:function(q,r,self,s){var t;

if(this.$$disposed){return null;
}{};

if(this.__eV){return qx.event.Registration.addListener(this.__eV,q,r,self,s);
}
if(!this.__fi){this.__fi={};
}
if(s==null){s=false;
}var u=qx.event.Manager.getNextUniqueId();
var v=q+(s?bn:bc)+u;
this.__fi[v]={type:q,listener:r,self:self,capture:s,unique:u};
return v;
},removeListener:function(dt,du,self,dv){var dw;

if(this.$$disposed){return null;
}{};

if(this.__eV){qx.event.Registration.removeListener(this.__eV,dt,du,self,dv);
}else{var dy=this.__fi;
var dx;

if(dv==null){dv=false;
}
for(var dz in dy){dx=dy[dz];
if(dx.listener===du&&dx.self===self&&dx.capture===dv&&dx.type===dt){delete dy[dz];
break;
}}}return this;
},removeListenerById:function(o){if(this.$$disposed){return null;
}
if(this.__eV){qx.event.Registration.removeListenerById(this.__eV,o);
}else{delete this.__fi[o];
}return this;
},hasListener:function(f,g){if(this.$$disposed){return false;
}
if(this.__eV){return qx.event.Registration.hasListener(this.__eV,f,g);
}var j=this.__fi;
var h;

if(g==null){g=false;
}
for(var k in j){h=j[k];
if(h.capture===g&&h.type===f){return true;
}}return false;
}},defer:function(cz){cz.__fu=new qx.util.DeferredCall(cz.flush,cz);
},destruct:function(){var M=this.__eV;

if(M){qx.event.Registration.getManager(M).removeAllListeners(M);
M.$$element=Q;
}
if(!qx.core.ObjectRegistry.inShutDown){var parent=this.__fl;

if(parent&&!parent.$$disposed){parent.remove(this);
}}this._disposeArray(bh);
this.__eO=this.__eN=this.__fi=this.__fh=this.__ff=this.__fe=this.__fg=this.__eV=this.__fl=this.__fa=this.__fb=null;
}});
})();
(function(){var f="qx.ui.core.queue.Manager",d="useraction";
qx.Class.define(f,{statics:{__fv:false,__fw:{},__fx:0,MAX_RETRIES:10,scheduleFlush:function(c){var self=qx.ui.core.queue.Manager;
self.__fw[c]=true;

if(!self.__fv){self.__fA.schedule();
self.__fv=true;
}},flush:function(){var self=qx.ui.core.queue.Manager;
if(self.__fy){return;
}self.__fy=true;
self.__fA.cancel();
var h=self.__fw;
self.__fz(function(){while(h.visibility||h.widget||h.appearance||h.layout||h.element){if(h.widget){delete h.widget;
qx.ui.core.queue.Widget.flush();
}
if(h.visibility){delete h.visibility;
qx.ui.core.queue.Visibility.flush();
}
if(h.appearance){delete h.appearance;
qx.ui.core.queue.Appearance.flush();
}if(h.widget||h.visibility||h.appearance){continue;
}
if(h.layout){delete h.layout;
qx.ui.core.queue.Layout.flush();
}if(h.widget||h.visibility||h.appearance||h.layout){continue;
}
if(h.element){delete h.element;
qx.html.Element.flush();
}}},function(){self.__fv=false;
});
self.__fz(function(){if(h.dispose){delete h.dispose;
qx.ui.core.queue.Dispose.flush();
}},function(){self.__fy=false;
});
self.__fx=0;
},__fz:function(a,b){var self=qx.ui.core.queue.Manager;

try{a();
}catch(e){{};
self.__fv=false;
self.__fy=false;
self.__fx+=1;

if(self.__fx<=self.MAX_RETRIES){self.scheduleFlush();
}else{throw new Error("Fatal Error: Flush terminated "+(self.__fx-1)+" times in a row"+" due to exceptions in user code. The application has to be reloaded!");
}throw e;
}finally{b();
}}},defer:function(g){g.__fA=new qx.util.DeferredCall(g.flush);
qx.html.Element._scheduleFlush=g.scheduleFlush;
qx.event.Registration.addListener(window,d,g.flush);
}});
})();
(function(){var v="abstract",u="qx.event.dispatch.AbstractBubbling";
qx.Class.define(u,{extend:qx.core.Object,implement:qx.event.IEventDispatcher,type:v,construct:function(x){this._manager=x;
},members:{_getParent:function(w){throw new Error("Missing implementation");
},canDispatchEvent:function(s,event,t){return event.getBubbles();
},dispatchEvent:function(a,event,b){var parent=a;
var m=this._manager;
var h,q;
var f;
var l,o;
var n;
var p=[];
h=m.getListeners(a,b,true);
q=m.getListeners(a,b,false);

if(h){p.push(h);
}
if(q){p.push(q);
}var parent=this._getParent(a);
var d=[];
var c=[];
var e=[];
var k=[];
while(parent!=null){h=m.getListeners(parent,b,true);

if(h){e.push(h);
k.push(parent);
}q=m.getListeners(parent,b,false);

if(q){d.push(q);
c.push(parent);
}parent=this._getParent(parent);
}event.setEventPhase(qx.event.type.Event.CAPTURING_PHASE);

for(var i=e.length-1;i>=0;i--){n=k[i];
event.setCurrentTarget(n);
f=e[i];

for(var j=0,g=f.length;j<g;j++){l=f[j];
o=l.context||n;
l.handler.call(o,event);
}
if(event.getPropagationStopped()){return;
}}event.setEventPhase(qx.event.type.Event.AT_TARGET);
event.setCurrentTarget(a);

for(var i=0,r=p.length;i<r;i++){f=p[i];

for(var j=0,g=f.length;j<g;j++){l=f[j];
o=l.context||a;
l.handler.call(o,event);
}
if(event.getPropagationStopped()){return;
}}event.setEventPhase(qx.event.type.Event.BUBBLING_PHASE);

for(var i=0,r=d.length;i<r;i++){n=c[i];
event.setCurrentTarget(n);
f=d[i];

for(var j=0,g=f.length;j<g;j++){l=f[j];
o=l.context||n;
l.handler.call(o,event);
}
if(event.getPropagationStopped()){return;
}}}}});
})();
(function(){var a="qx.event.dispatch.DomBubbling";
qx.Class.define(a,{extend:qx.event.dispatch.AbstractBubbling,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL},members:{_getParent:function(b){return b.parentNode;
},canDispatchEvent:function(c,event,d){return c.nodeType!==undefined&&event.getBubbles();
}},defer:function(e){qx.event.Registration.addDispatcher(e);
}});
})();
(function(){var y="keydown",x="qx.client",w="keypress",v="NumLock",u="keyup",t="Enter",s="0",r="9",q="-",p="PageUp",bF="+",bE="PrintScreen",bD="gecko",bC="A",bB="Z",bA="Left",bz="F5",by="Down",bx="Up",bw="F11",F="F6",G="useraction",D="F3",E="keyinput",B="Insert",C="F8",z="End",A="/",N="Delete",O="*",bb="F1",W="F4",bj="Home",be="F2",bs="F12",bo="PageDown",S="F7",bv="F9",bu="F10",bt="Right",R="text",U="Escape",V="webkit",Y="5",bc="3",bf="Meta",bl="7",bq="CapsLock",H="input",I="Control",T="Space",bi="Tab",bh="Shift",bg="Pause",bn="Unidentified",bm="qx.event.handler.Keyboard",bd="mshtml",bk="mshtml|webkit",m="6",bp="off",J="Apps",K="4",X="Alt",n="2",o="Scroll",Q="1",L="8",M="Win",P="autoComplete",ba=",",br="Backspace";
qx.Class.define(bm,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(bG){qx.core.Object.call(this);
this.__fB=bG;
this.__fC=bG.getWindow();
if(qx.core.Variant.isSet(x,bD)){this.__fD=this.__fC;
}else{this.__fD=this.__fC.document.documentElement;
}this.__fE={};
this._initKeyObserver();
},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{keyup:1,keydown:1,keypress:1,keyinput:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:true,isValidKeyIdentifier:function(e){if(this._identifierToKeyCodeMap[e]){return true;
}
if(e.length!=1){return false;
}
if(e>=s&&e<=r){return true;
}
if(e>=bC&&e<=bB){return true;
}
switch(e){case bF:case q:case O:case A:return true;
default:return false;
}}},members:{__fF:null,__fB:null,__fC:null,__fD:null,__fE:null,__fG:null,__fH:null,__fI:null,canHandleEvent:function(ce,cf){},registerEvent:function(cB,cC,cD){},unregisterEvent:function(bH,bI,bJ){},_fireInputEvent:function(bQ,bR){var bS=this.__fJ();
if(bS&&bS.offsetWidth!=0){var event=qx.event.Registration.createEvent(E,qx.event.type.KeyInput,[bQ,bS,bR]);
this.__fB.dispatchEvent(bS,event);
}if(this.__fC){qx.event.Registration.fireEvent(this.__fC,G,qx.event.type.Data,[E]);
}},_fireSequenceEvent:function(cm,cn,co){var cp=this.__fJ();
var cq=cm.keyCode;
var event=qx.event.Registration.createEvent(cn,qx.event.type.KeySequence,[cm,cp,co]);
this.__fB.dispatchEvent(cp,event);
if(qx.core.Variant.isSet(x,bk)){if(cn==y&&event.getDefaultPrevented()){if(!this._isNonPrintableKeyCode(cq)&&!this._emulateKeyPress[cq]){this._fireSequenceEvent(cm,w,co);
}}}if(this.__fC){qx.event.Registration.fireEvent(this.__fC,G,qx.event.type.Data,[cn]);
}},__fJ:function(){var ck=this.__fB.getHandler(qx.event.handler.Focus);
var cl=ck.getActive();
if(!cl||cl.offsetWidth==0){cl=ck.getFocus();
}if(!cl||cl.offsetWidth==0){cl=this.__fB.getWindow().document.body;
}return cl;
},_initKeyObserver:function(){this.__fF=qx.lang.Function.listener(this.__fK,this);
this.__fI=qx.lang.Function.listener(this.__fM,this);
var Event=qx.bom.Event;
Event.addNativeListener(this.__fD,u,this.__fF);
Event.addNativeListener(this.__fD,y,this.__fF);
Event.addNativeListener(this.__fD,w,this.__fI);
},_stopKeyObserver:function(){var Event=qx.bom.Event;
Event.removeNativeListener(this.__fD,u,this.__fF);
Event.removeNativeListener(this.__fD,y,this.__fF);
Event.removeNativeListener(this.__fD,w,this.__fI);

for(var cc in (this.__fH||{})){var cb=this.__fH[cc];
Event.removeNativeListener(cb.target,w,cb.callback);
}delete (this.__fH);
},__fK:qx.event.GlobalError.observeMethod(qx.core.Variant.select(x,{"mshtml":function(cx){cx=window.event||cx;
var cA=cx.keyCode;
var cy=0;
var cz=cx.type;
if(!(this.__fE[cA]==y&&cz==y)){this._idealKeyHandler(cA,cy,cz,cx);
}if(cz==y){if(this._isNonPrintableKeyCode(cA)||this._emulateKeyPress[cA]){this._idealKeyHandler(cA,cy,w,cx);
}}this.__fE[cA]=cz;
},"gecko":function(cH){var cL=this._keyCodeFix[cH.keyCode]||cH.keyCode;
var cJ=0;
var cK=cH.type;
if(qx.bom.client.Platform.WIN){var cI=cL?this._keyCodeToIdentifier(cL):this._charCodeToIdentifier(cJ);

if(!(this.__fE[cI]==y&&cK==y)){this._idealKeyHandler(cL,cJ,cK,cH);
}this.__fE[cI]=cK;
}else{this._idealKeyHandler(cL,cJ,cK,cH);
}this.__fL(cH.target,cK,cL);
},"webkit":function(cg){var cj=0;
var ch=0;
var ci=cg.type;
if(qx.bom.client.Engine.VERSION<525.13){if(ci==u||ci==y){cj=this._charCode2KeyCode[cg.charCode]||cg.keyCode;
}else{if(this._charCode2KeyCode[cg.charCode]){cj=this._charCode2KeyCode[cg.charCode];
}else{ch=cg.charCode;
}}this._idealKeyHandler(cj,ch,ci,cg);
}else{cj=cg.keyCode;
if(!(this.__fE[cj]==y&&ci==y)){this._idealKeyHandler(cj,ch,ci,cg);
}if(ci==y){if(this._isNonPrintableKeyCode(cj)||this._emulateKeyPress[cj]){this._idealKeyHandler(cj,ch,w,cg);
}}this.__fE[cj]=ci;
}},"opera":function(bT){this.__fG=bT.keyCode;
this._idealKeyHandler(bT.keyCode,0,bT.type,bT);
}})),__fL:qx.core.Variant.select(x,{"gecko":function(bV,bW,bX){if(bW===y&&(bX==33||bX==34||bX==38||bX==40)&&bV.type==R&&bV.tagName.toLowerCase()===H&&bV.getAttribute(P)!==bp){if(!this.__fH){this.__fH={};
}var ca=qx.core.ObjectRegistry.toHashCode(bV);

if(this.__fH[ca]){return;
}var self=this;
this.__fH[ca]={target:bV,callback:function(bU){qx.bom.Event.stopPropagation(bU);
self.__fM(bU);
}};
var bY=qx.event.GlobalError.observeMethod(this.__fH[ca].callback);
qx.bom.Event.addNativeListener(bV,w,bY);
}},"default":null}),__fM:qx.event.GlobalError.observeMethod(qx.core.Variant.select(x,{"mshtml":function(bK){bK=window.event||bK;

if(this._charCode2KeyCode[bK.keyCode]){this._idealKeyHandler(this._charCode2KeyCode[bK.keyCode],0,bK.type,bK);
}else{this._idealKeyHandler(0,bK.keyCode,bK.type,bK);
}},"gecko":function(a){var d=this._keyCodeFix[a.keyCode]||a.keyCode;
var b=a.charCode;
var c=a.type;
this._idealKeyHandler(d,b,c,a);
},"webkit":function(i){if(qx.bom.client.Engine.VERSION<525.13){var l=0;
var j=0;
var k=i.type;

if(k==u||k==y){l=this._charCode2KeyCode[i.charCode]||i.keyCode;
}else{if(this._charCode2KeyCode[i.charCode]){l=this._charCode2KeyCode[i.charCode];
}else{j=i.charCode;
}}this._idealKeyHandler(l,j,k,i);
}else{if(this._charCode2KeyCode[i.keyCode]){this._idealKeyHandler(this._charCode2KeyCode[i.keyCode],0,i.type,i);
}else{this._idealKeyHandler(0,i.keyCode,i.type,i);
}}},"opera":function(f){var h=f.keyCode;
var g=f.type;
if(h!=this.__fG){this._idealKeyHandler(0,this.__fG,g,f);
}else{if(this._keyCodeToIdentifierMap[f.keyCode]){this._idealKeyHandler(f.keyCode,0,f.type,f);
}else{this._idealKeyHandler(0,f.keyCode,f.type,f);
}}}})),_idealKeyHandler:function(cr,cs,ct,cu){var cv;
if(cr||(!cr&&!cs)){cv=this._keyCodeToIdentifier(cr);
this._fireSequenceEvent(cu,ct,cv);
}else{cv=this._charCodeToIdentifier(cs);
this._fireSequenceEvent(cu,w,cv);
this._fireInputEvent(cu,cs);
}},_specialCharCodeMap:{8:br,9:bi,13:t,27:U,32:T},_emulateKeyPress:qx.core.Variant.select(x,{"mshtml":{8:true,9:true},"webkit":{8:true,9:true,27:true},"default":{}}),_keyCodeToIdentifierMap:{16:bh,17:I,18:X,20:bq,224:bf,37:bA,38:bx,39:bt,40:by,33:p,34:bo,35:z,36:bj,45:B,46:N,112:bb,113:be,114:D,115:W,116:bz,117:F,118:S,119:C,120:bv,121:bu,122:bw,123:bs,144:v,44:bE,145:o,19:bg,91:M,93:J},_numpadToCharCode:{96:s.charCodeAt(0),97:Q.charCodeAt(0),98:n.charCodeAt(0),99:bc.charCodeAt(0),100:K.charCodeAt(0),101:Y.charCodeAt(0),102:m.charCodeAt(0),103:bl.charCodeAt(0),104:L.charCodeAt(0),105:r.charCodeAt(0),106:O.charCodeAt(0),107:bF.charCodeAt(0),109:q.charCodeAt(0),110:ba.charCodeAt(0),111:A.charCodeAt(0)},_charCodeA:bC.charCodeAt(0),_charCodeZ:bB.charCodeAt(0),_charCode0:s.charCodeAt(0),_charCode9:r.charCodeAt(0),_isNonPrintableKeyCode:function(cw){return this._keyCodeToIdentifierMap[cw]?true:false;
},_isIdentifiableKeyCode:function(cE){if(cE>=this._charCodeA&&cE<=this._charCodeZ){return true;
}if(cE>=this._charCode0&&cE<=this._charCode9){return true;
}if(this._specialCharCodeMap[cE]){return true;
}if(this._numpadToCharCode[cE]){return true;
}if(this._isNonPrintableKeyCode(cE)){return true;
}return false;
},_keyCodeToIdentifier:function(cF){if(this._isIdentifiableKeyCode(cF)){var cG=this._numpadToCharCode[cF];

if(cG){return String.fromCharCode(cG);
}return (this._keyCodeToIdentifierMap[cF]||this._specialCharCodeMap[cF]||String.fromCharCode(cF));
}else{return bn;
}},_charCodeToIdentifier:function(bP){return this._specialCharCodeMap[bP]||String.fromCharCode(bP).toUpperCase();
},_identifierToKeyCode:function(cd){return qx.event.handler.Keyboard._identifierToKeyCodeMap[cd]||cd.charCodeAt(0);
}},destruct:function(){this._stopKeyObserver();
this.__fG=this.__fB=this.__fC=this.__fD=this.__fE=null;
},defer:function(bL,bM,bN){qx.event.Registration.addHandler(bL);
if(!bL._identifierToKeyCodeMap){bL._identifierToKeyCodeMap={};

for(var bO in bM._keyCodeToIdentifierMap){bL._identifierToKeyCodeMap[bM._keyCodeToIdentifierMap[bO]]=parseInt(bO,10);
}
for(var bO in bM._specialCharCodeMap){bL._identifierToKeyCodeMap[bM._specialCharCodeMap[bO]]=parseInt(bO,10);
}}
if(qx.core.Variant.isSet(x,bd)){bM._charCode2KeyCode={13:13,27:27};
}else if(qx.core.Variant.isSet(x,bD)){bM._keyCodeFix={12:bM._identifierToKeyCode(v)};
}else if(qx.core.Variant.isSet(x,V)){if(qx.bom.client.Engine.VERSION<525.13){bM._charCode2KeyCode={63289:bM._identifierToKeyCode(v),63276:bM._identifierToKeyCode(p),63277:bM._identifierToKeyCode(bo),63275:bM._identifierToKeyCode(z),63273:bM._identifierToKeyCode(bj),63234:bM._identifierToKeyCode(bA),63232:bM._identifierToKeyCode(bx),63235:bM._identifierToKeyCode(bt),63233:bM._identifierToKeyCode(by),63272:bM._identifierToKeyCode(N),63302:bM._identifierToKeyCode(B),63236:bM._identifierToKeyCode(bb),63237:bM._identifierToKeyCode(be),63238:bM._identifierToKeyCode(D),63239:bM._identifierToKeyCode(W),63240:bM._identifierToKeyCode(bz),63241:bM._identifierToKeyCode(F),63242:bM._identifierToKeyCode(S),63243:bM._identifierToKeyCode(C),63244:bM._identifierToKeyCode(bv),63245:bM._identifierToKeyCode(bu),63246:bM._identifierToKeyCode(bw),63247:bM._identifierToKeyCode(bs),63248:bM._identifierToKeyCode(bE),3:bM._identifierToKeyCode(t),12:bM._identifierToKeyCode(v),13:bM._identifierToKeyCode(t)};
}else{bM._charCode2KeyCode={13:13,27:27};
}}}});
})();
(function(){var v="qx.client",u="mouseup",t="click",s="mousedown",r="contextmenu",q="mousewheel",p="dblclick",o="mshtml",n="mouseover",m="mouseout",h="DOMMouseScroll",l="mousemove",k="on",g="mshtml|webkit|opera",f="useraction",j="gecko|webkit",i="qx.event.handler.Mouse";
qx.Class.define(i,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(W){qx.core.Object.call(this);
this.__fN=W;
this.__fO=W.getWindow();
this.__fP=this.__fO.document;
this._initButtonObserver();
this._initMoveObserver();
this._initWheelObserver();
},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{mousemove:1,mouseover:1,mouseout:1,mousedown:1,mouseup:1,click:1,dblclick:1,contextmenu:1,mousewheel:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:true},members:{__fQ:null,__fR:null,__fS:null,__fT:null,__fU:null,__fN:null,__fO:null,__fP:null,canHandleEvent:function(J,K){},registerEvent:qx.bom.client.System.IPHONE?
function(G,H,I){G[k+H]=qx.lang.Function.returnNull;
}:qx.lang.Function.returnNull,unregisterEvent:qx.bom.client.System.IPHONE?
function(x,y,z){x[k+y]=undefined;
}:qx.lang.Function.returnNull,__fV:function(A,B,C){if(!C){C=A.target||A.srcElement;
}if(C&&C.nodeType){qx.event.Registration.fireEvent(C,B||A.type,B==q?qx.event.type.MouseWheel:qx.event.type.Mouse,[A,C,null,true,true]);
}qx.event.Registration.fireEvent(this.__fO,f,qx.event.type.Data,[B||A.type]);
},_initButtonObserver:function(){this.__fQ=qx.lang.Function.listener(this._onButtonEvent,this);
var Event=qx.bom.Event;
Event.addNativeListener(this.__fP,s,this.__fQ);
Event.addNativeListener(this.__fP,u,this.__fQ);
Event.addNativeListener(this.__fP,t,this.__fQ);
Event.addNativeListener(this.__fP,p,this.__fQ);
Event.addNativeListener(this.__fP,r,this.__fQ);
},_initMoveObserver:function(){this.__fR=qx.lang.Function.listener(this._onMoveEvent,this);
var Event=qx.bom.Event;
Event.addNativeListener(this.__fP,l,this.__fR);
Event.addNativeListener(this.__fP,n,this.__fR);
Event.addNativeListener(this.__fP,m,this.__fR);
},_initWheelObserver:function(){this.__fS=qx.lang.Function.listener(this._onWheelEvent,this);
var Event=qx.bom.Event;
var U=qx.core.Variant.isSet(v,g)?q:h;
var V=qx.core.Variant.isSet(v,o)?this.__fP:this.__fO;
Event.addNativeListener(V,U,this.__fS);
},_stopButtonObserver:function(){var Event=qx.bom.Event;
Event.removeNativeListener(this.__fP,s,this.__fQ);
Event.removeNativeListener(this.__fP,u,this.__fQ);
Event.removeNativeListener(this.__fP,t,this.__fQ);
Event.removeNativeListener(this.__fP,p,this.__fQ);
Event.removeNativeListener(this.__fP,r,this.__fQ);
},_stopMoveObserver:function(){var Event=qx.bom.Event;
Event.removeNativeListener(this.__fP,l,this.__fR);
Event.removeNativeListener(this.__fP,n,this.__fR);
Event.removeNativeListener(this.__fP,m,this.__fR);
},_stopWheelObserver:function(){var Event=qx.bom.Event;
var P=qx.core.Variant.isSet(v,g)?q:h;
var Q=qx.core.Variant.isSet(v,o)?this.__fP:this.__fO;
Event.removeNativeListener(Q,P,this.__fS);
},_onMoveEvent:qx.event.GlobalError.observeMethod(function(w){this.__fV(w);
}),_onButtonEvent:qx.event.GlobalError.observeMethod(function(D){var E=D.type;
var F=D.target||D.srcElement;
if(qx.core.Variant.isSet(v,j)){if(F&&F.nodeType==3){F=F.parentNode;
}}
if(this.__fW){this.__fW(D,E,F);
}
if(this.__fY){this.__fY(D,E,F);
}this.__fV(D,E,F);

if(this.__fX){this.__fX(D,E,F);
}
if(this.__ga){this.__ga(D,E,F);
}this.__fT=E;
}),_onWheelEvent:qx.event.GlobalError.observeMethod(function(e){this.__fV(e,q);
}),__fW:qx.core.Variant.select(v,{"webkit":function(M,N,O){if(qx.bom.client.Engine.VERSION<530){if(N==r){this.__fV(M,u,O);
}}},"default":null}),__fX:qx.core.Variant.select(v,{"opera":function(X,Y,ba){if(Y==u&&X.button==2){this.__fV(X,r,ba);
}},"default":null}),__fY:qx.core.Variant.select(v,{"mshtml":function(R,S,T){if(S==u&&this.__fT==t){this.__fV(R,s,T);
}else if(S==p){this.__fV(R,t,T);
}},"default":null}),__ga:qx.core.Variant.select(v,{"mshtml":null,"default":function(a,b,c){switch(b){case s:this.__fU=c;
break;
case u:if(c!==this.__fU){var d=qx.dom.Hierarchy.getCommonParent(c,this.__fU);
this.__fV(a,t,d);
}}}})},destruct:function(){this._stopButtonObserver();
this._stopMoveObserver();
this._stopWheelObserver();
this.__fN=this.__fO=this.__fP=this.__fU=null;
},defer:function(L){qx.event.Registration.addHandler(L);
}});
})();
(function(){var d="qx.event.handler.Capture";
qx.Class.define(d,{extend:qx.core.Object,implement:qx.event.IEventHandler,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{capture:true,losecapture:true},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:true},members:{canHandleEvent:function(e,f){},registerEvent:function(a,b,c){},unregisterEvent:function(h,i,j){}},defer:function(g){qx.event.Registration.addHandler(g);
}});
})();
(function(){var y="alias",x="copy",w="blur",v="mouseout",u="keydown",t="Ctrl",s="Shift",r="mousemove",q="move",p="mouseover",O="Alt",N="keyup",M="mouseup",L="dragend",K="on",J="mousedown",I="qxDraggable",H="drag",G="drop",F="qxDroppable",D="qx.event.handler.DragDrop",E="droprequest",B="dragstart",C="dragchange",z="dragleave",A="dragover";
qx.Class.define(D,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(bf){qx.core.Object.call(this);
this.__gb=bf;
this.__gc=bf.getWindow().document.documentElement;
this.__gb.addListener(this.__gc,J,this._onMouseDown,this);
this.__go();
},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{dragstart:1,dragend:1,dragover:1,dragleave:1,drop:1,drag:1,dragchange:1,droprequest:1},IGNORE_CAN_HANDLE:true},members:{__gb:null,__gc:null,__gd:null,__ge:null,__gf:null,__gg:null,__gh:null,__gi:null,__gj:null,__gk:null,__gl:false,__gm:0,__gn:0,canHandleEvent:function(X,Y){},registerEvent:function(U,V,W){},unregisterEvent:function(c,d,f){},addType:function(T){this.__gf[T]=true;
},addAction:function(o){this.__gg[o]=true;
},supportsType:function(j){return !!this.__gf[j];
},supportsAction:function(i){return !!this.__gg[i];
},getData:function(l){if(!this.__gv||!this.__gd){throw new Error("This method must not be used outside the drop event listener!");
}
if(!this.__gf[l]){throw new Error("Unsupported data type: "+l+"!");
}
if(!this.__gi[l]){this.__gj=l;
this.__gq(E,this.__ge,this.__gd,false);
}
if(!this.__gi[l]){throw new Error("Please use a droprequest listener to the drag source to fill the manager with data!");
}return this.__gi[l]||null;
},getCurrentAction:function(){return this.__gk;
},addData:function(R,S){this.__gi[R]=S;
},getCurrentType:function(){return this.__gj;
},isSessionActive:function(){return this.__gl;
},__go:function(){this.__gf={};
this.__gg={};
this.__gh={};
this.__gi={};
},__gp:function(){if(this.__ge==null){return;
}var be=this.__gg;
var bc=this.__gh;
var bd=null;

if(this.__gv){if(bc.Shift&&bc.Ctrl&&be.alias){bd=y;
}else if(bc.Shift&&bc.Alt&&be.copy){bd=x;
}else if(bc.Shift&&be.move){bd=q;
}else if(bc.Alt&&be.alias){bd=y;
}else if(bc.Ctrl&&be.copy){bd=x;
}else if(be.move){bd=q;
}else if(be.copy){bd=x;
}else if(be.alias){bd=y;
}}
if(bd!=this.__gk){this.__gk=bd;
this.__gq(C,this.__ge,this.__gd,false);
}},__gq:function(bg,bh,bi,bj,bk){var bm=qx.event.Registration;
var bl=bm.createEvent(bg,qx.event.type.Drag,[bj,bk]);

if(bh!==bi){bl.setRelatedTarget(bi);
}return bm.dispatchEvent(bh,bl);
},__gr:function(a){while(a&&a.nodeType==1){if(a.getAttribute(I)==K){return a;
}a=a.parentNode;
}return null;
},__gs:function(ba){while(ba&&ba.nodeType==1){if(ba.getAttribute(F)==K){return ba;
}ba=ba.parentNode;
}return null;
},__gt:function(){this.__ge=null;
this.__gb.removeListener(this.__gc,r,this._onMouseMove,this,true);
this.__gb.removeListener(this.__gc,M,this._onMouseUp,this,true);
qx.event.Registration.removeListener(window,w,this._onWindowBlur,this);
this.__go();
},__gu:function(){if(this.__gl){this.__gb.removeListener(this.__gc,p,this._onMouseOver,this,true);
this.__gb.removeListener(this.__gc,v,this._onMouseOut,this,true);
this.__gb.removeListener(this.__gc,u,this._onKeyDown,this,true);
this.__gb.removeListener(this.__gc,N,this._onKeyUp,this,true);
this.__gq(L,this.__ge,this.__gd,false);
this.__gl=false;
}this.__gv=false;
this.__gd=null;
this.__gt();
},__gv:false,_onWindowBlur:function(e){this.__gu();
},_onKeyDown:function(e){var k=e.getKeyIdentifier();

switch(k){case O:case t:case s:if(!this.__gh[k]){this.__gh[k]=true;
this.__gp();
}}},_onKeyUp:function(e){var bb=e.getKeyIdentifier();

switch(bb){case O:case t:case s:if(this.__gh[bb]){this.__gh[bb]=false;
this.__gp();
}}},_onMouseDown:function(e){if(this.__gl){return;
}var Q=this.__gr(e.getTarget());

if(Q){this.__gm=e.getDocumentLeft();
this.__gn=e.getDocumentTop();
this.__ge=Q;
this.__gb.addListener(this.__gc,r,this._onMouseMove,this,true);
this.__gb.addListener(this.__gc,M,this._onMouseUp,this,true);
qx.event.Registration.addListener(window,w,this._onWindowBlur,this);
}},_onMouseUp:function(e){if(this.__gv){this.__gq(G,this.__gd,this.__ge,false,e);
}if(this.__gl){e.stopPropagation();
}this.__gu();
},_onMouseMove:function(e){if(this.__gl){if(!this.__gq(H,this.__ge,this.__gd,true,e)){this.__gu();
}}else{if(Math.abs(e.getDocumentLeft()-this.__gm)>3||Math.abs(e.getDocumentTop()-this.__gn)>3){if(this.__gq(B,this.__ge,this.__gd,true,e)){this.__gl=true;
this.__gb.addListener(this.__gc,p,this._onMouseOver,this,true);
this.__gb.addListener(this.__gc,v,this._onMouseOut,this,true);
this.__gb.addListener(this.__gc,u,this._onKeyDown,this,true);
this.__gb.addListener(this.__gc,N,this._onKeyUp,this,true);
var P=this.__gh;
P.Ctrl=e.isCtrlPressed();
P.Shift=e.isShiftPressed();
P.Alt=e.isAltPressed();
this.__gp();
}else{this.__gq(L,this.__ge,this.__gd,false);
this.__gt();
}}}},_onMouseOver:function(e){var g=e.getTarget();
var h=this.__gs(g);

if(h&&h!=this.__gd){this.__gv=this.__gq(A,h,this.__ge,true,e);
this.__gd=h;
this.__gp();
}},_onMouseOut:function(e){var n=this.__gs(e.getTarget());
var m=this.__gs(e.getRelatedTarget());

if(n&&n!==m&&n==this.__gd){this.__gq(z,this.__gd,m,false,e);
this.__gd=null;
this.__gv=false;
qx.event.Timer.once(this.__gp,this,0);
}}},destruct:function(){this.__ge=this.__gd=this.__gb=this.__gc=this.__gf=this.__gg=this.__gh=this.__gi=null;
},defer:function(b){qx.event.Registration.addHandler(b);
}});
})();
(function(){var d="-",c="qx.event.handler.Element";
qx.Class.define(c,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(z){qx.core.Object.call(this);
this._manager=z;
this._registeredEvents={};
},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{abort:true,scroll:true,select:true,reset:true,submit:true},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:true},members:{canHandleEvent:function(a,b){},registerEvent:function(e,f,g){var j=qx.core.ObjectRegistry.toHashCode(e);
var h=j+d+f;
var i=qx.lang.Function.listener(this._onNative,this,h);
qx.bom.Event.addNativeListener(e,f,i);
this._registeredEvents[h]={element:e,type:f,listener:i};
},unregisterEvent:function(s,t,u){var x=this._registeredEvents;

if(!x){return;
}var y=qx.core.ObjectRegistry.toHashCode(s);
var v=y+d+t;
var w=this._registeredEvents[v];

if(w){qx.bom.Event.removeNativeListener(s,t,w.listener);
}delete this._registeredEvents[v];
},_onNative:qx.event.GlobalError.observeMethod(function(l,m){var o=this._registeredEvents;

if(!o){return;
}var n=o[m];
qx.event.Registration.fireNonBubblingEvent(n.element,n.type,qx.event.type.Native,[l]);
})},destruct:function(){var p;
var q=this._registeredEvents;

for(var r in q){p=q[r];
qx.bom.Event.removeNativeListener(p.element,p.type,p.listener);
}this._manager=this._registeredEvents=null;
},defer:function(k){qx.event.Registration.addHandler(k);
}});
})();
(function(){var k="qx.event.handler.Appear",j="disappear",i="appear";
qx.Class.define(k,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(l){qx.core.Object.call(this);
this.__gw=l;
this.__gx={};
qx.event.handler.Appear.__gy[this.$$hash]=this;
},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{appear:true,disappear:true},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:true,__gy:{},refresh:function(){var w=this.__gy;

for(var x in w){w[x].refresh();
}}},members:{__gw:null,__gx:null,canHandleEvent:function(f,g){},registerEvent:function(m,n,o){var p=qx.core.ObjectRegistry.toHashCode(m)+n;
var q=this.__gx;

if(q&&!q[p]){q[p]=m;
m.$$displayed=m.offsetWidth>0;
}},unregisterEvent:function(a,b,c){var d=qx.core.ObjectRegistry.toHashCode(a)+b;
var e=this.__gx;

if(!e){return;
}
if(e[d]){delete e[d];
}},refresh:function(){var u=this.__gx;
var v;

for(var t in u){v=u[t];
var r=v.offsetWidth>0;

if((!!v.$$displayed)!==r){v.$$displayed=r;
var s=qx.event.Registration.createEvent(r?i:j);
this.__gw.dispatchEvent(v,s);
}}}},destruct:function(){this.__gw=this.__gx=null;
delete qx.event.handler.Appear.__gy[this.$$hash];
},defer:function(h){qx.event.Registration.addHandler(h);
}});
})();
(function(){var A="mshtml",z="",y="qx.client",x=">",w=" ",v="<",u="='",t="none",s="qx.bom.Element",r="' ",p="div",q="></";
qx.Class.define(s,{statics:{__gz:{"onload":true,"onpropertychange":true,"oninput":true,"onchange":true,"name":true,"type":true,"checked":true,"disabled":true},__gA:{},getHelperElement:function(B){if(!B){B=window;
}var D=B.location.href;

if(!qx.bom.Element.__gA[D]){var C=qx.bom.Element.__gA[D]=B.document.createElement(p);
if(qx.bom.client.Engine.WEBKIT){C.style.display=t;
B.document.body.appendChild(C);
}}return qx.bom.Element.__gA[D];
},create:function(name,a,b){if(!b){b=window;
}
if(!name){throw new Error("The tag name is missing!");
}var d=this.__gz;
var c=z;

for(var f in a){if(d[f]){c+=f+u+a[f]+r;
}}var g;
if(c!=z){if(qx.bom.client.Engine.MSHTML){g=b.document.createElement(v+name+w+c+x);
}else{var e=qx.bom.Element.getHelperElement(b);
e.innerHTML=v+name+w+c+q+name+x;
g=e.firstChild;
}}else{g=b.document.createElement(name);
}
for(var f in a){if(!d[f]){qx.bom.element.Attribute.set(g,f,a[f]);
}}return g;
},empty:function(O){return O.innerHTML=z;
},addListener:function(bc,bd,be,self,bf){return qx.event.Registration.addListener(bc,bd,be,self,bf);
},removeListener:function(I,J,K,self,L){return qx.event.Registration.removeListener(I,J,K,self,L);
},removeListenerById:function(M,N){return qx.event.Registration.removeListenerById(M,N);
},hasListener:function(E,F,G){return qx.event.Registration.hasListener(E,F,G);
},focus:function(o){qx.event.Registration.getManager(o).getHandler(qx.event.handler.Focus).focus(o);
},blur:function(n){qx.event.Registration.getManager(n).getHandler(qx.event.handler.Focus).blur(n);
},activate:function(bg){qx.event.Registration.getManager(bg).getHandler(qx.event.handler.Focus).activate(bg);
},deactivate:function(H){qx.event.Registration.getManager(H).getHandler(qx.event.handler.Focus).deactivate(H);
},capture:function(k,m){qx.event.Registration.getManager(k).getDispatcher(qx.event.dispatch.MouseCapture).activateCapture(k,m);
},releaseCapture:function(h){qx.event.Registration.getManager(h).getDispatcher(qx.event.dispatch.MouseCapture).releaseCapture(h);
},clone:function(P,Q){var T;

if(Q||(qx.core.Variant.isSet(y,A)&&!qx.xml.Document.isXmlDocument(P))){var X=qx.event.Registration.getManager(P);
var R=qx.dom.Hierarchy.getDescendants(P);
R.push(P);
}if(qx.core.Variant.isSet(y,A)){for(var i=0,l=R.length;i<l;i++){X.toggleAttachedEvents(R[i],false);
}}var T=P.cloneNode(true);
if(qx.core.Variant.isSet(y,A)){for(var i=0,l=R.length;i<l;i++){X.toggleAttachedEvents(R[i],true);
}}if(Q===true){var bb=qx.dom.Hierarchy.getDescendants(T);
bb.push(T);
var S,V,ba,U;

for(var i=0,Y=R.length;i<Y;i++){ba=R[i];
S=X.serializeListeners(ba);

if(S.length>0){V=bb[i];

for(var j=0,W=S.length;j<W;j++){U=S[j];
X.addListener(V,U.type,U.handler,U.self,U.capture);
}}}}return T;
}}});
})();
(function(){var e="qx.event.type.Dom";
qx.Class.define(e,{extend:qx.event.type.Native,statics:{SHIFT_MASK:1,CTRL_MASK:2,ALT_MASK:4,META_MASK:8},members:{_cloneNativeEvent:function(a,b){var b=qx.event.type.Native.prototype._cloneNativeEvent.call(this,a,b);
b.shiftKey=a.shiftKey;
b.ctrlKey=a.ctrlKey;
b.altKey=a.altKey;
b.metaKey=a.metaKey;
return b;
},getModifiers:function(){var d=0;
var c=this._native;

if(c.shiftKey){d|=qx.event.type.Dom.SHIFT_MASK;
}
if(c.ctrlKey){d|=qx.event.type.Dom.CTRL_MASK;
}
if(c.altKey){d|=qx.event.type.Dom.ALT_MASK;
}
if(c.metaKey){d|=qx.event.type.Dom.META_MASK;
}return d;
},isCtrlPressed:function(){return this._native.ctrlKey;
},isShiftPressed:function(){return this._native.shiftKey;
},isAltPressed:function(){return this._native.altKey;
},isMetaPressed:function(){return this._native.metaKey;
},isCtrlOrCommandPressed:function(){if(qx.bom.client.Platform.MAC){return this._native.metaKey;
}else{return this._native.ctrlKey;
}}}});
})();
(function(){var f="qx.event.type.KeyInput";
qx.Class.define(f,{extend:qx.event.type.Dom,members:{init:function(c,d,e){qx.event.type.Dom.prototype.init.call(this,c,d,null,true,true);
this._charCode=e;
return this;
},clone:function(a){var b=qx.event.type.Dom.prototype.clone.call(this,a);
b._charCode=this._charCode;
return b;
},getCharCode:function(){return this._charCode;
},getChar:function(){return String.fromCharCode(this._charCode);
}}});
})();
(function(){var a="qx.event.type.KeySequence";
qx.Class.define(a,{extend:qx.event.type.Dom,members:{init:function(d,e,f){qx.event.type.Dom.prototype.init.call(this,d,e,null,true,true);
this._identifier=f;
return this;
},clone:function(b){var c=qx.event.type.Dom.prototype.clone.call(this,b);
c._identifier=this._identifier;
return c;
},getKeyIdentifier:function(){return this._identifier;
}}});
})();
(function(){var B="qx.client",A="blur",z="focus",y="mousedown",x="on",w="mouseup",v="DOMFocusOut",u="DOMFocusIn",t="selectstart",s="onmousedown",V="onfocusout",U="onfocusin",T="onmouseup",S="onselectstart",R="draggesture",Q="qx.event.handler.Focus",P="_applyFocus",O="deactivate",N="textarea",M="_applyActive",I="input",J="focusin",G="qxSelectable",H="tabIndex",E="off",F="activate",C="mshtml",D="focusout",K="qxKeepFocus",L="qxKeepActive";
qx.Class.define(Q,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(bd){qx.core.Object.call(this);
this._manager=bd;
this._window=bd.getWindow();
this._document=this._window.document;
this._root=this._document.documentElement;
this._body=this._document.body;
this._initObserver();
},properties:{active:{apply:M,nullable:true},focus:{apply:P,nullable:true}},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{focus:1,blur:1,focusin:1,focusout:1,activate:1,deactivate:1},IGNORE_CAN_HANDLE:true,FOCUSABLE_ELEMENTS:qx.core.Variant.select("qx.client",{"mshtml|gecko":{a:1,body:1,button:1,frame:1,iframe:1,img:1,input:1,object:1,select:1,textarea:1},"opera|webkit":{button:1,input:1,select:1,textarea:1}})},members:{__gB:null,__gC:null,__gD:null,__gE:null,__gF:null,__gG:null,__gH:null,__gI:null,__gJ:null,__gK:null,canHandleEvent:function(k,l){},registerEvent:function(bE,bF,bG){},unregisterEvent:function(bA,bB,bC){},focus:function(bb){if(qx.core.Variant.isSet(B,C)){window.setTimeout(function(){try{bb.focus();
}catch(bg){}},0);
}else{try{bb.focus();
}catch(bI){}}this.setFocus(bb);
this.setActive(bb);
},activate:function(m){this.setActive(m);
},blur:function(bn){try{bn.blur();
}catch(c){}
if(this.getActive()===bn){this.resetActive();
}
if(this.getFocus()===bn){this.resetFocus();
}},deactivate:function(bc){if(this.getActive()===bc){this.resetActive();
}},tryActivate:function(h){var i=this.__ha(h);

if(i){this.setActive(i);
}},__gL:function(bh,bi,bj,bk){var bm=qx.event.Registration;
var bl=bm.createEvent(bj,qx.event.type.Focus,[bh,bi,bk]);
bm.dispatchEvent(bh,bl);
},_windowFocused:true,__gM:function(){if(this._windowFocused){this._windowFocused=false;
this.__gL(this._window,null,A,false);
}},__gN:function(){if(!this._windowFocused){this._windowFocused=true;
this.__gL(this._window,null,z,false);
}},_initObserver:qx.core.Variant.select(B,{"gecko":function(){this.__gB=qx.lang.Function.listener(this.__gT,this);
this.__gC=qx.lang.Function.listener(this.__gU,this);
this.__gD=qx.lang.Function.listener(this.__gS,this);
this.__gE=qx.lang.Function.listener(this.__gR,this);
this.__gF=qx.lang.Function.listener(this.__gO,this);
this._document.addEventListener(y,this.__gB,true);
this._document.addEventListener(w,this.__gC,true);
this._window.addEventListener(z,this.__gD,true);
this._window.addEventListener(A,this.__gE,true);
this._window.addEventListener(R,this.__gF,true);
},"mshtml":function(){this.__gB=qx.lang.Function.listener(this.__gT,this);
this.__gC=qx.lang.Function.listener(this.__gU,this);
this.__gH=qx.lang.Function.listener(this.__gP,this);
this.__gI=qx.lang.Function.listener(this.__gQ,this);
this.__gG=qx.lang.Function.listener(this.__gW,this);
this._document.attachEvent(s,this.__gB);
this._document.attachEvent(T,this.__gC);
this._document.attachEvent(U,this.__gH);
this._document.attachEvent(V,this.__gI);
this._document.attachEvent(S,this.__gG);
},"webkit":function(){this.__gB=qx.lang.Function.listener(this.__gT,this);
this.__gC=qx.lang.Function.listener(this.__gU,this);
this.__gI=qx.lang.Function.listener(this.__gQ,this);
this.__gD=qx.lang.Function.listener(this.__gS,this);
this.__gE=qx.lang.Function.listener(this.__gR,this);
this.__gG=qx.lang.Function.listener(this.__gW,this);
this._document.addEventListener(y,this.__gB,true);
this._document.addEventListener(w,this.__gC,true);
this._document.addEventListener(t,this.__gG,false);
this._window.addEventListener(v,this.__gI,true);
this._window.addEventListener(z,this.__gD,true);
this._window.addEventListener(A,this.__gE,true);
},"opera":function(){this.__gB=qx.lang.Function.listener(this.__gT,this);
this.__gC=qx.lang.Function.listener(this.__gU,this);
this.__gH=qx.lang.Function.listener(this.__gP,this);
this.__gI=qx.lang.Function.listener(this.__gQ,this);
this._document.addEventListener(y,this.__gB,true);
this._document.addEventListener(w,this.__gC,true);
this._window.addEventListener(u,this.__gH,true);
this._window.addEventListener(v,this.__gI,true);
}}),_stopObserver:qx.core.Variant.select(B,{"gecko":function(){this._document.removeEventListener(y,this.__gB,true);
this._document.removeEventListener(w,this.__gC,true);
this._window.removeEventListener(z,this.__gD,true);
this._window.removeEventListener(A,this.__gE,true);
this._window.removeEventListener(R,this.__gF,true);
},"mshtml":function(){qx.bom.Event.removeNativeListener(this._document,s,this.__gB);
qx.bom.Event.removeNativeListener(this._document,T,this.__gC);
qx.bom.Event.removeNativeListener(this._document,U,this.__gH);
qx.bom.Event.removeNativeListener(this._document,V,this.__gI);
qx.bom.Event.removeNativeListener(this._document,S,this.__gG);
},"webkit":function(){this._document.removeEventListener(y,this.__gB,true);
this._document.removeEventListener(t,this.__gG,false);
this._window.removeEventListener(u,this.__gH,true);
this._window.removeEventListener(v,this.__gI,true);
this._window.removeEventListener(z,this.__gD,true);
this._window.removeEventListener(A,this.__gE,true);
},"opera":function(){this._document.removeEventListener(y,this.__gB,true);
this._window.removeEventListener(u,this.__gH,true);
this._window.removeEventListener(v,this.__gI,true);
this._window.removeEventListener(z,this.__gD,true);
this._window.removeEventListener(A,this.__gE,true);
}}),__gO:qx.event.GlobalError.observeMethod(qx.core.Variant.select(B,{"gecko":function(e){if(!this.__hb(e.target)){qx.bom.Event.preventDefault(e);
}},"default":null})),__gP:qx.event.GlobalError.observeMethod(qx.core.Variant.select(B,{"mshtml":function(e){this.__gN();
var bw=e.srcElement;
var bv=this.__gY(bw);

if(bv){this.setFocus(bv);
}this.tryActivate(bw);
},"opera":function(e){var X=e.target;

if(X==this._document||X==this._window){this.__gN();

if(this.__gJ){this.setFocus(this.__gJ);
delete this.__gJ;
}
if(this.__gK){this.setActive(this.__gK);
delete this.__gK;
}}else{this.setFocus(X);
this.tryActivate(X);
if(!this.__hb(X)){X.selectionStart=0;
X.selectionEnd=0;
}}},"default":null})),__gQ:qx.event.GlobalError.observeMethod(qx.core.Variant.select(B,{"mshtml":function(e){if(!e.toElement){this.__gM();
this.resetFocus();
this.resetActive();
}},"webkit":function(e){var j=e.target;

if(j===this.getFocus()){this.resetFocus();
}
if(j===this.getActive()){this.resetActive();
}},"opera":function(e){var r=e.target;

if(r==this._document){this.__gM();
this.__gJ=this.getFocus();
this.__gK=this.getActive();
this.resetFocus();
this.resetActive();
}else{if(r===this.getFocus()){this.resetFocus();
}
if(r===this.getActive()){this.resetActive();
}}},"default":null})),__gR:qx.event.GlobalError.observeMethod(qx.core.Variant.select(B,{"gecko":function(e){if(e.target===this._window||e.target===this._document){this.__gM();
this.resetActive();
this.resetFocus();
}},"webkit":function(e){if(e.target===this._window||e.target===this._document){this.__gM();
this.__gJ=this.getFocus();
this.__gK=this.getActive();
this.resetActive();
this.resetFocus();
}},"default":null})),__gS:qx.event.GlobalError.observeMethod(qx.core.Variant.select(B,{"gecko":function(e){var bD=e.target;

if(bD===this._window||bD===this._document){this.__gN();
bD=this._body;
}this.setFocus(bD);
this.tryActivate(bD);
},"webkit":function(e){var W=e.target;

if(W===this._window||W===this._document){this.__gN();

if(this.__gJ){this.setFocus(this.__gJ);
delete this.__gJ;
}
if(this.__gK){this.setActive(this.__gK);
delete this.__gK;
}}else{this.setFocus(W);
this.tryActivate(W);
}},"default":null})),__gT:qx.event.GlobalError.observeMethod(qx.core.Variant.select(B,{"gecko":function(e){var q=this.__gY(e.target);

if(!q){qx.bom.Event.preventDefault(e);
}},"mshtml":function(e){var bp=e.srcElement;
var bo=this.__gY(bp);

if(bo){if(!this.__hb(bp)){bp.unselectable=x;
try{document.selection.empty();
}catch(e){}try{bo.focus();
}catch(e){}}}else{qx.bom.Event.preventDefault(e);
if(!this.__hb(bp)){bp.unselectable=x;
}}},"webkit":function(e){var bN=e.target;
var bM=this.__gY(bN);

if(bM){this.setFocus(bM);
}else{qx.bom.Event.preventDefault(e);
}},"opera":function(e){var g=e.target;
var d=this.__gY(g);

if(!this.__hb(g)){qx.bom.Event.preventDefault(e);
if(d){var f=this.getFocus();

if(f&&f.selectionEnd){f.selectionStart=0;
f.selectionEnd=0;
f.blur();
}if(d){this.setFocus(d);
}}}else if(d){this.setFocus(d);
}},"default":null})),__gU:qx.event.GlobalError.observeMethod(qx.core.Variant.select(B,{"mshtml":function(e){var bH=e.srcElement;

if(bH.unselectable){bH.unselectable=E;
}this.tryActivate(this.__gV(bH));
},"gecko":function(e){var be=e.target;

while(be&&be.offsetWidth===undefined){be=be.parentNode;
}
if(be){this.tryActivate(be);
}},"webkit|opera":function(e){this.tryActivate(this.__gV(e.target));
},"default":null})),__gV:qx.event.GlobalError.observeMethod(qx.core.Variant.select(B,{"mshtml|webkit":function(bJ){var bK=this.getFocus();

if(bK&&bJ!=bK&&(bK.nodeName.toLowerCase()===I||bK.nodeName.toLowerCase()===N)){bJ=bK;
}return bJ;
},"default":function(p){return p;
}})),__gW:qx.event.GlobalError.observeMethod(qx.core.Variant.select(B,{"mshtml|webkit":function(e){var bL=qx.bom.client.Engine.MSHTML?e.srcElement:e.target;

if(!this.__hb(bL)){qx.bom.Event.preventDefault(e);
}},"default":null})),__gX:function(bs){var bt=qx.bom.element.Attribute.get(bs,H);

if(bt>=1){return true;
}var bu=qx.event.handler.Focus.FOCUSABLE_ELEMENTS;

if(bt>=0&&bu[bs.tagName]){return true;
}return false;
},__gY:function(bf){while(bf&&bf.nodeType===1){if(bf.getAttribute(K)==x){return null;
}
if(this.__gX(bf)){return bf;
}bf=bf.parentNode;
}return this._body;
},__ha:function(bq){var br=bq;

while(bq&&bq.nodeType===1){if(bq.getAttribute(L)==x){return null;
}bq=bq.parentNode;
}return br;
},__hb:function(n){while(n&&n.nodeType===1){var o=n.getAttribute(G);

if(o!=null){return o===x;
}n=n.parentNode;
}return true;
},_applyActive:function(Y,ba){if(ba){this.__gL(ba,Y,O,true);
}
if(Y){this.__gL(Y,ba,F,true);
}},_applyFocus:function(a,b){if(b){this.__gL(b,a,D,true);
}
if(a){this.__gL(a,b,J,true);
}if(b){this.__gL(b,a,A,false);
}
if(a){this.__gL(a,b,z,false);
}}},destruct:function(){this._stopObserver();
this._manager=this._window=this._document=this._root=this._body=this.__hc=null;
},defer:function(bx){qx.event.Registration.addHandler(bx);
var by=bx.FOCUSABLE_ELEMENTS;

for(var bz in by){by[bz.toUpperCase()]=1;
}}});
})();
(function(){var a="qx.event.type.Focus";
qx.Class.define(a,{extend:qx.event.type.Event,members:{init:function(b,c,d){qx.event.type.Event.prototype.init.call(this,d,false);
this._target=b;
this._relatedTarget=c;
return this;
}}});
})();
(function(){var j="",i="undefined",h="qx.client",g="readOnly",f="accessKey",e="qx.bom.element.Attribute",d="rowSpan",c="vAlign",b="className",a="textContent",y="'",x="htmlFor",w="longDesc",v="cellSpacing",u="frameBorder",t="='",s="useMap",r="innerText",q="innerHTML",p="tabIndex",n="dateTime",o="maxLength",l="mshtml",m="cellPadding",k="colSpan";
qx.Class.define(e,{statics:{__hd:{names:{"class":b,"for":x,html:q,text:qx.core.Variant.isSet(h,l)?r:a,colspan:k,rowspan:d,valign:c,datetime:n,accesskey:f,tabindex:p,maxlength:o,readonly:g,longdesc:w,cellpadding:m,cellspacing:v,frameborder:u,usemap:s},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,disabled:1,checked:1,readOnly:1,multiple:1,selected:1,value:1,maxLength:1,className:1,innerHTML:1,innerText:1,textContent:1,htmlFor:1,tabIndex:1},qxProperties:{$$widget:1,$$html:1},propertyDefault:{disabled:false,checked:false,readOnly:false,multiple:false,selected:false,value:j,className:j,innerHTML:j,innerText:j,textContent:j,htmlFor:j,tabIndex:0,maxLength:qx.core.Variant.select(h,{"mshtml":2147483647,"webkit":524288,"default":-1})},removeableProperties:{disabled:1,multiple:1,maxLength:1},original:{href:1,src:1,type:1}},compile:function(J){var K=[];
var M=this.__hd.runtime;

for(var L in J){if(!M[L]){K.push(L,t,J[L],y);
}}return K.join(j);
},get:qx.core.Variant.select(h,{"mshtml":function(z,name){var B=this.__hd;
var A;
name=B.names[name]||name;
if(B.original[name]){A=z.getAttribute(name,2);
}else if(B.property[name]){A=z[name];

if(typeof B.propertyDefault[name]!==i&&A==B.propertyDefault[name]){if(typeof B.bools[name]===i){return null;
}else{return A;
}}}else{A=z.getAttribute(name);
}if(B.bools[name]){return !!A;
}return A;
},"default":function(C,name){var E=this.__hd;
var D;
name=E.names[name]||name;
if(E.property[name]){D=C[name];

if(typeof E.propertyDefault[name]!==i&&D==E.propertyDefault[name]){if(typeof E.bools[name]===i){return null;
}else{return D;
}}}else{D=C.getAttribute(name);
}if(E.bools[name]){return !!D;
}return D;
}}),set:function(F,name,G){var H=this.__hd;
name=H.names[name]||name;
if(H.bools[name]){G=!!G;
}if(H.property[name]&&(!(F[name]===undefined)||H.qxProperties[name])){if(G==null){if(H.removeableProperties[name]){F.removeAttribute(name);
return;
}else if(typeof H.propertyDefault[name]!==i){G=H.propertyDefault[name];
}}F[name]=G;
}else{if(G===true){F.setAttribute(name,name);
}else if(G===false||G===null){F.removeAttribute(name);
}else{F.setAttribute(name,G);
}}},reset:function(I,name){this.set(I,name,null);
}}});
})();
(function(){var l="left",k="right",j="middle",i="qx.client",h="dblclick",g="click",f="none",e="contextmenu",d="qx.event.type.Mouse";
qx.Class.define(d,{extend:qx.event.type.Dom,members:{init:function(m,n,o,p,q){qx.event.type.Dom.prototype.init.call(this,m,n,o,p,q);

if(!o){this._relatedTarget=qx.bom.Event.getRelatedTarget(m);
}return this;
},_cloneNativeEvent:function(b,c){var c=qx.event.type.Dom.prototype._cloneNativeEvent.call(this,b,c);
c.button=b.button;
c.clientX=b.clientX;
c.clientY=b.clientY;
c.pageX=b.pageX;
c.pageY=b.pageY;
c.screenX=b.screenX;
c.screenY=b.screenY;
c.wheelDelta=b.wheelDelta;
c.detail=b.detail;
c.srcElement=b.srcElement;
return c;
},__he:qx.core.Variant.select(i,{"mshtml":{1:l,2:k,4:j},"default":{0:l,2:k,1:j}}),stop:function(){this.stopPropagation();
},getButton:function(){switch(this._type){case g:case h:return l;
case e:return k;
default:return this.__he[this._native.button]||f;
}},isLeftPressed:function(){return this.getButton()===l;
},isMiddlePressed:function(){return this.getButton()===j;
},isRightPressed:function(){return this.getButton()===k;
},getRelatedTarget:function(){return this._relatedTarget;
},getViewportLeft:function(){return this._native.clientX;
},getViewportTop:function(){return this._native.clientY;
},getDocumentLeft:qx.core.Variant.select(i,{"mshtml":function(){var r=qx.dom.Node.getWindow(this._native.srcElement);
return this._native.clientX+qx.bom.Viewport.getScrollLeft(r);
},"default":function(){return this._native.pageX;
}}),getDocumentTop:qx.core.Variant.select(i,{"mshtml":function(){var a=qx.dom.Node.getWindow(this._native.srcElement);
return this._native.clientY+qx.bom.Viewport.getScrollTop(a);
},"default":function(){return this._native.pageY;
}}),getScreenLeft:function(){return this._native.screenX;
},getScreenTop:function(){return this._native.screenY;
}}});
})();
(function(){var c="qx.client",b="chrome",a="qx.event.type.MouseWheel";
qx.Class.define(a,{extend:qx.event.type.Mouse,members:{stop:function(){this.stopPropagation();
this.preventDefault();
},getWheelDelta:qx.core.Variant.select(c,{"default":function(){return -(this._native.wheelDelta/40);
},"gecko":function(){return this._native.detail;
},"webkit":function(){if(qx.bom.client.Browser.NAME==b){return -(this._native.wheelDelta/120);
}else{return -(this._native.wheelDelta/40);
}}})}});
})();
(function(){var i="qx.client",h="qx.bom.Viewport";
qx.Class.define(h,{statics:{getWidth:qx.core.Variant.select(i,{"opera":function(q){if(qx.bom.client.Engine.VERSION<9.5){return (q||window).document.body.clientWidth;
}else{var r=(q||window).document;
return qx.bom.Document.isStandardMode(q)?r.documentElement.clientWidth:r.body.clientWidth;
}},"webkit":function(s){if(qx.bom.client.Engine.VERSION<523.15){return (s||window).innerWidth;
}else{var t=(s||window).document;
return qx.bom.Document.isStandardMode(s)?t.documentElement.clientWidth:t.body.clientWidth;
}},"default":function(o){var p=(o||window).document;
return qx.bom.Document.isStandardMode(o)?p.documentElement.clientWidth:p.body.clientWidth;
}}),getHeight:qx.core.Variant.select(i,{"opera":function(d){if(qx.bom.client.Engine.VERSION<9.5){return (d||window).document.body.clientHeight;
}else{var e=(d||window).document;
return qx.bom.Document.isStandardMode(d)?e.documentElement.clientHeight:e.body.clientHeight;
}},"webkit":function(a){if(qx.bom.client.Engine.VERSION<523.15){return (a||window).innerHeight;
}else{var b=(a||window).document;
return qx.bom.Document.isStandardMode(a)?b.documentElement.clientHeight:b.body.clientHeight;
}},"default":function(l){var m=(l||window).document;
return qx.bom.Document.isStandardMode(l)?m.documentElement.clientHeight:m.body.clientHeight;
}}),getScrollLeft:qx.core.Variant.select(i,{"mshtml":function(j){var k=(j||window).document;
return k.documentElement.scrollLeft||k.body.scrollLeft;
},"default":function(n){return (n||window).pageXOffset;
}}),getScrollTop:qx.core.Variant.select(i,{"mshtml":function(f){var g=(f||window).document;
return g.documentElement.scrollTop||g.body.scrollTop;
},"default":function(c){return (c||window).pageYOffset;
}})}});
})();
(function(){var h="CSS1Compat",g="position:absolute;width:0;height:0;width:1",f="qx.bom.Document",e="1px",d="qx.client",c="div";
qx.Class.define(f,{statics:{isQuirksMode:qx.core.Variant.select(d,{"mshtml":function(a){if(qx.bom.client.Engine.VERSION>=8){return qx.bom.client.Engine.DOCUMENT_MODE===5;
}else{return (a||window).document.compatMode!==h;
}},"webkit":function(m){if(document.compatMode===undefined){var n=(m||window).document.createElement(c);
n.style.cssText=g;
return n.style.width===e?true:false;
}else{return (m||window).document.compatMode!==h;
}},"default":function(l){return (l||window).document.compatMode!==h;
}}),isStandardMode:function(b){return !this.isQuirksMode(b);
},getWidth:function(o){var p=(o||window).document;
var q=qx.bom.Viewport.getWidth(o);
var scroll=this.isStandardMode(o)?p.documentElement.scrollWidth:p.body.scrollWidth;
return Math.max(scroll,q);
},getHeight:function(i){var j=(i||window).document;
var k=qx.bom.Viewport.getHeight(i);
var scroll=this.isStandardMode(i)?j.documentElement.scrollHeight:j.body.scrollHeight;
return Math.max(scroll,k);
}}});
})();
(function(){var j="qx.client",i="ie",h="msie",g="android",f="operamini",e="mobile chrome",d=")(/| )([0-9]+\.[0-9])",c="iemobile",b="opera mobi",a="Mobile Safari",x="operamobile",w="mobile safari",v="IEMobile|Maxthon|MSIE",u="qx.bom.client.Browser",t="opera mini",s="(",r="opera",q="mshtml",p="Opera Mini|Opera Mobi|Opera",o="AdobeAIR|Titanium|Fluid|Chrome|Android|Epiphany|Konqueror|iCab|OmniWeb|Maxthon|Pre|Mobile Safari|Safari",m="webkit",n="5.0",k="prism|Fennec|Camino|Kmeleon|Galeon|Netscape|SeaMonkey|Firefox",l="Mobile/";
qx.Bootstrap.define(u,{statics:{UNKNOWN:true,NAME:"unknown",TITLE:"unknown 0.0",VERSION:0.0,FULLVERSION:"0.0.0",__hf:function(B){var C=navigator.userAgent;
var E=new RegExp(s+B+d);
var F=C.match(E);

if(!F){return;
}var name=F[1].toLowerCase();
var D=F[3];
if(C.match(/Version(\/| )([0-9]+\.[0-9])/)){D=RegExp.$2;
}
if(qx.core.Variant.isSet(j,m)){if(name===g){name=e;
}else if(C.indexOf(a)!==-1||C.indexOf(l)!==-1){name=w;
}}else if(qx.core.Variant.isSet(j,q)){if(name===h){name=i;
if(qx.bom.client.System.WINCE&&name===i){name=c;
D=n;
}}}else if(qx.core.Variant.isSet(j,r)){if(name===b){name=x;
}else if(name===t){name=f;
}}this.NAME=name;
this.FULLVERSION=D;
this.VERSION=parseFloat(D,10);
this.TITLE=name+" "+this.VERSION;
this.UNKNOWN=false;
}},defer:qx.core.Variant.select(j,{"webkit":function(z){z.__hf(o);
},"gecko":function(G){G.__hf(k);
},"mshtml":function(y){y.__hf(v);
},"opera":function(A){A.__hf(p);
}})});
})();
(function(){var h="qx.client",g="qx.dom.Hierarchy",f="previousSibling",e="*",d="nextSibling",c="parentNode";
qx.Class.define(g,{statics:{getNodeIndex:function(l){var m=0;

while(l&&(l=l.previousSibling)){m++;
}return m;
},getElementIndex:function(y){var z=0;
var A=qx.dom.Node.ELEMENT;

while(y&&(y=y.previousSibling)){if(y.nodeType==A){z++;
}}return z;
},getNextElementSibling:function(n){while(n&&(n=n.nextSibling)&&!qx.dom.Node.isElement(n)){continue;
}return n||null;
},getPreviousElementSibling:function(o){while(o&&(o=o.previousSibling)&&!qx.dom.Node.isElement(o)){continue;
}return o||null;
},contains:qx.core.Variant.select(h,{"webkit|mshtml|opera":function(B,C){if(qx.dom.Node.isDocument(B)){var D=qx.dom.Node.getDocument(C);
return B&&D==B;
}else if(qx.dom.Node.isDocument(C)){return false;
}else{return B.contains(C);
}},"gecko":function(q,r){return !!(q.compareDocumentPosition(r)&16);
},"default":function(U,V){while(V){if(U==V){return true;
}V=V.parentNode;
}return false;
}}),isRendered:function(L){if(!L.offsetParent){return false;
}var M=L.ownerDocument||L.document;
if(M.body.contains){return M.body.contains(L);
}if(M.compareDocumentPosition){return !!(M.compareDocumentPosition(L)&16);
}throw new Error("Missing support for isRendered()!");
},isDescendantOf:function(O,P){return this.contains(P,O);
},getCommonParent:qx.core.Variant.select(h,{"mshtml|opera":function(a,b){if(a===b){return a;
}
while(a&&qx.dom.Node.isElement(a)){if(a.contains(b)){return a;
}a=a.parentNode;
}return null;
},"default":function(F,G){if(F===G){return F;
}var H={};
var K=qx.core.ObjectRegistry;
var J,I;

while(F||G){if(F){J=K.toHashCode(F);

if(H[J]){return H[J];
}H[J]=F;
F=F.parentNode;
}
if(G){I=K.toHashCode(G);

if(H[I]){return H[I];
}H[I]=G;
G=G.parentNode;
}}return null;
}}),getAncestors:function(N){return this._recursivelyCollect(N,c);
},getChildElements:function(j){j=j.firstChild;

if(!j){return [];
}var k=this.getNextSiblings(j);

if(j.nodeType===1){k.unshift(j);
}return k;
},getDescendants:function(t){return qx.lang.Array.fromCollection(t.getElementsByTagName(e));
},getFirstDescendant:function(u){u=u.firstChild;

while(u&&u.nodeType!=1){u=u.nextSibling;
}return u;
},getLastDescendant:function(E){E=E.lastChild;

while(E&&E.nodeType!=1){E=E.previousSibling;
}return E;
},getPreviousSiblings:function(s){return this._recursivelyCollect(s,f);
},getNextSiblings:function(i){return this._recursivelyCollect(i,d);
},_recursivelyCollect:function(v,w){var x=[];

while(v=v[w]){if(v.nodeType==1){x.push(v);
}}return x;
},getSiblings:function(Q){return this.getPreviousSiblings(Q).reverse().concat(this.getNextSiblings(Q));
},isEmpty:function(p){p=p.firstChild;

while(p){if(p.nodeType===qx.dom.Node.ELEMENT||p.nodeType===qx.dom.Node.TEXT){return false;
}p=p.nextSibling;
}return true;
},cleanWhitespace:function(R){var S=R.firstChild;

while(S){var T=S.nextSibling;

if(S.nodeType==3&&!/\S/.test(S.nodeValue)){R.removeChild(S);
}S=T;
}}}});
})();
(function(){var j="qx.client",i="qx.event.type.Drag";
qx.Class.define(i,{extend:qx.event.type.Event,members:{init:function(c,d){qx.event.type.Event.prototype.init.call(this,true,c);

if(d){this._native=d.getNativeEvent()||null;
this._originalTarget=d.getTarget()||null;
}else{this._native=null;
this._originalTarget=null;
}return this;
},clone:function(f){var g=qx.event.type.Event.prototype.clone.call(this,f);
g._native=this._native;
return g;
},getDocumentLeft:qx.core.Variant.select(j,{"mshtml":function(){if(this._native==null){return 0;
}var b=qx.dom.Node.getWindow(this._native.srcElement);
return this._native.clientX+qx.bom.Viewport.getScrollLeft(b);
},"default":function(){if(this._native==null){return 0;
}return this._native.pageX;
}}),getDocumentTop:qx.core.Variant.select(j,{"mshtml":function(){if(this._native==null){return 0;
}var o=qx.dom.Node.getWindow(this._native.srcElement);
return this._native.clientY+qx.bom.Viewport.getScrollTop(o);
},"default":function(){if(this._native==null){return 0;
}return this._native.pageY;
}}),getManager:function(){return qx.event.Registration.getManager(this.getTarget()).getHandler(qx.event.handler.DragDrop);
},addType:function(m){this.getManager().addType(m);
},addAction:function(a){this.getManager().addAction(a);
},supportsType:function(h){return this.getManager().supportsType(h);
},supportsAction:function(n){return this.getManager().supportsAction(n);
},addData:function(k,l){this.getManager().addData(k,l);
},getData:function(e){return this.getManager().getData(e);
},getCurrentType:function(){return this.getManager().getCurrentType();
},getCurrentAction:function(){return this.getManager().getCurrentAction();
}}});
})();
(function(){var j="losecapture",i="qx.client",h="blur",g="focus",f="click",e="qx.event.dispatch.MouseCapture",d="capture",c="scroll";
qx.Class.define(e,{extend:qx.event.dispatch.AbstractBubbling,construct:function(k,l){qx.event.dispatch.AbstractBubbling.call(this,k);
this.__hg=k.getWindow();
this.__hh=l;
k.addListener(this.__hg,h,this.releaseCapture,this);
k.addListener(this.__hg,g,this.releaseCapture,this);
k.addListener(this.__hg,c,this.releaseCapture,this);
},statics:{PRIORITY:qx.event.Registration.PRIORITY_FIRST},members:{__hh:null,__hi:null,__hj:true,__hg:null,_getParent:function(u){return u.parentNode;
},canDispatchEvent:function(s,event,t){return (this.__hi&&this.__hk[t]);
},dispatchEvent:function(m,event,n){if(n==f){event.stopPropagation();
this.releaseCapture();
return;
}
if(this.__hj||!qx.dom.Hierarchy.contains(this.__hi,m)){m=this.__hi;
}qx.event.dispatch.AbstractBubbling.prototype.dispatchEvent.call(this,m,event,n);
},__hk:{"mouseup":1,"mousedown":1,"click":1,"dblclick":1,"mousemove":1,"mouseout":1,"mouseover":1},activateCapture:function(p,q){var q=q!==false;

if(this.__hi===p&&this.__hj==q){return;
}
if(this.__hi){this.releaseCapture();
}this.nativeSetCapture(p,q);

if(this.hasNativeCapture){var self=this;
qx.bom.Event.addNativeListener(p,j,function(){qx.bom.Event.removeNativeListener(p,j,arguments.callee);
self.releaseCapture();
});
}this.__hj=q;
this.__hi=p;
this.__hh.fireEvent(p,d,qx.event.type.Event,[true,false]);
},getCaptureElement:function(){return this.__hi;
},releaseCapture:function(){var o=this.__hi;

if(!o){return;
}this.__hi=null;
this.__hh.fireEvent(o,j,qx.event.type.Event,[true,false]);
this.nativeReleaseCapture(o);
},hasNativeCapture:qx.bom.client.Engine.MSHTML,nativeSetCapture:qx.core.Variant.select(i,{"mshtml":function(a,b){a.setCapture(b!==false);
},"default":qx.lang.Function.empty}),nativeReleaseCapture:qx.core.Variant.select(i,{"mshtml":function(v){v.releaseCapture();
},"default":qx.lang.Function.empty})},destruct:function(){this.__hi=this.__hg=this.__hh=null;
},defer:function(r){qx.event.Registration.addDispatcher(r);
}});
})();
(function(){var t="qx.client",s="",r="mshtml",q="'",p="SelectionLanguage",o="qx.xml.Document",n=" />",m="MSXML2.DOMDocument.3.0",k='<\?xml version="1.0" encoding="utf-8"?>\n<',j="MSXML2.XMLHTTP.3.0",e="MSXML2.XMLHTTP.6.0",h=" xmlns='",g="text/xml",d="XPath",c="MSXML2.DOMDocument.6.0",f="HTML";
qx.Class.define(o,{statics:{DOMDOC:null,XMLHTTP:null,isXmlDocument:function(b){if(b.nodeType===9){return b.documentElement.nodeName!==f;
}else if(b.ownerDocument){return this.isXmlDocument(b.ownerDocument);
}else{return false;
}},create:qx.core.Variant.select(t,{"mshtml":function(u,v){var w=new ActiveXObject(this.DOMDOC);
w.setProperty(p,d);

if(v){var x=k;
x+=v;

if(u){x+=h+u+q;
}x+=n;
w.loadXML(x);
}return w;
},"default":function(A,B){return document.implementation.createDocument(A||s,B||s,null);
}}),fromString:qx.core.Variant.select(t,{"mshtml":function(C){var D=qx.xml.Document.create();
D.loadXML(C);
return D;
},"default":function(y){var z=new DOMParser();
return z.parseFromString(y,g);
}})},defer:function(E){if(qx.core.Variant.isSet(t,r)){var F=[c,m];
var G=[e,j];

for(var i=0,l=F.length;i<l;i++){try{new ActiveXObject(F[i]);
new ActiveXObject(G[i]);
}catch(a){continue;
}E.DOMDOC=F[i];
E.XMLHTTP=G[i];
break;
}}}});
})();
(function(){var G="visible",F="scroll",E="borderBottomWidth",D="borderTopWidth",C="left",B="borderLeftWidth",A="bottom",z="top",y="right",x="qx.bom.element.Scroll",w="borderRightWidth";
qx.Class.define(x,{statics:{intoViewX:function(K,stop,L){var parent=K.parentNode;
var Q=qx.dom.Node.getDocument(K);
var M=Q.body;
var Y,W,T;
var bb,R,bc;
var U,bd,bg;
var be,O,X,N;
var S,bf,V;
var P=L===C;
var ba=L===y;
stop=stop?stop.parentNode:Q;
while(parent&&parent!=stop){if(parent.scrollWidth>parent.clientWidth&&(parent===M||qx.bom.element.Overflow.getY(parent)!=G)){if(parent===M){W=parent.scrollLeft;
T=W+qx.bom.Viewport.getWidth();
bb=qx.bom.Viewport.getWidth();
R=parent.clientWidth;
bc=parent.scrollWidth;
U=0;
bd=0;
bg=0;
}else{Y=qx.bom.element.Location.get(parent);
W=Y.left;
T=Y.right;
bb=parent.offsetWidth;
R=parent.clientWidth;
bc=parent.scrollWidth;
U=parseInt(qx.bom.element.Style.get(parent,B),10)||0;
bd=parseInt(qx.bom.element.Style.get(parent,w),10)||0;
bg=bb-R-U-bd;
}be=qx.bom.element.Location.get(K);
O=be.left;
X=be.right;
N=K.offsetWidth;
S=O-W-U;
bf=X-T+bd;
V=0;
if(P){V=S;
}else if(ba){V=bf+bg;
}else if(S<0||N>R){V=S;
}else if(bf>0){V=bf+bg;
}parent.scrollLeft+=V;
if(qx.bom.client.Engine.GECKO){qx.event.Registration.fireNonBubblingEvent(parent,F);
}}
if(parent===M){break;
}parent=parent.parentNode;
}},intoViewY:function(a,stop,b){var parent=a.parentNode;
var h=qx.dom.Node.getDocument(a);
var c=h.body;
var p,d,l;
var r,o,j;
var f,g,e;
var t,u,q,k;
var n,i,v;
var s=b===z;
var m=b===A;
stop=stop?stop.parentNode:h;
while(parent&&parent!=stop){if(parent.scrollHeight>parent.clientHeight&&(parent===c||qx.bom.element.Overflow.getY(parent)!=G)){if(parent===c){d=parent.scrollTop;
l=d+qx.bom.Viewport.getHeight();
r=qx.bom.Viewport.getHeight();
o=parent.clientHeight;
j=parent.scrollHeight;
f=0;
g=0;
e=0;
}else{p=qx.bom.element.Location.get(parent);
d=p.top;
l=p.bottom;
r=parent.offsetHeight;
o=parent.clientHeight;
j=parent.scrollHeight;
f=parseInt(qx.bom.element.Style.get(parent,D),10)||0;
g=parseInt(qx.bom.element.Style.get(parent,E),10)||0;
e=r-o-f-g;
}t=qx.bom.element.Location.get(a);
u=t.top;
q=t.bottom;
k=a.offsetHeight;
n=u-d-f;
i=q-l+g;
v=0;
if(s){v=n;
}else if(m){v=i+e;
}else if(n<0||k>o){v=n;
}else if(i>0){v=i+e;
}parent.scrollTop+=v;
if(qx.bom.client.Engine.GECKO){qx.event.Registration.fireNonBubblingEvent(parent,F);
}}
if(parent===c){break;
}parent=parent.parentNode;
}},intoView:function(H,stop,I,J){this.intoViewX(H,stop,I);
this.intoViewY(H,stop,J);
}}});
})();
(function(){var bM="",bL="qx.client",bK="hidden",bJ="-moz-scrollbars-none",bI="overflow",bH=";",bG="overflowY",bF=":",bE="overflowX",bD="overflow:",bY="none",bX="scroll",bW="borderLeftStyle",bV="borderRightStyle",bU="div",bT="borderRightWidth",bS="overflow-y",bR="borderLeftWidth",bQ="-moz-scrollbars-vertical",bP="100px",bN="qx.bom.element.Overflow",bO="overflow-x";
qx.Class.define(bN,{statics:{__hl:null,getScrollbarWidth:function(){if(this.__hl!==null){return this.__hl;
}var A=qx.bom.element.Style;
var C=function(bv,bw){return parseInt(A.get(bv,bw))||0;
};
var D=function(G){return (A.get(G,bV)==bY?0:C(G,bT));
};
var B=function(bu){return (A.get(bu,bW)==bY?0:C(bu,bR));
};
var F=qx.core.Variant.select(bL,{"mshtml":function(R){if(A.get(R,bG)==bK||R.clientWidth==0){return D(R);
}return Math.max(0,R.offsetWidth-R.clientLeft-R.clientWidth);
},"default":function(v){if(v.clientWidth==0){var w=A.get(v,bI);
var x=(w==bX||w==bQ?16:0);
return Math.max(0,D(v)+x);
}return Math.max(0,(v.offsetWidth-v.clientWidth-B(v)));
}});
var E=function(h){return F(h)-D(h);
};
var t=document.createElement(bU);
var s=t.style;
s.height=s.width=bP;
s.overflow=bX;
document.body.appendChild(t);
var c=E(t);
this.__hl=c?c:16;
document.body.removeChild(t);
return this.__hl;
},_compile:qx.core.Variant.select(bL,{"gecko":qx.bom.client.Engine.VERSION<
1.8?
function(bs,bt){if(bt==bK){bt=bJ;
}return bD+bt+bH;
}:
function(i,j){return i+bF+j+bH;
},"opera":qx.bom.client.Engine.VERSION<
9.5?
function(U,V){return bD+V+bH;
}:
function(W,X){return W+bF+X+bH;
},"default":function(H,I){return H+bF+I+bH;
}}),compileX:function(y){return this._compile(bO,y);
},compileY:function(q){return this._compile(bS,q);
},getX:qx.core.Variant.select(bL,{"gecko":qx.bom.client.Engine.VERSION<
1.8?
function(Y,ba){var bb=qx.bom.element.Style.get(Y,bI,ba,false);

if(bb===bJ){bb=bK;
}return bb;
}:
function(P,Q){return qx.bom.element.Style.get(P,bE,Q,false);
},"opera":qx.bom.client.Engine.VERSION<
9.5?
function(bx,by){return qx.bom.element.Style.get(bx,bI,by,false);
}:
function(bc,bd){return qx.bom.element.Style.get(bc,bE,bd,false);
},"default":function(bg,bh){return qx.bom.element.Style.get(bg,bE,bh,false);
}}),setX:qx.core.Variant.select(bL,{"gecko":qx.bom.client.Engine.VERSION<
1.8?
function(bk,bl){if(bl==bK){bl=bJ;
}bk.style.overflow=bl;
}:
function(r,u){r.style.overflowX=u;
},"opera":qx.bom.client.Engine.VERSION<
9.5?
function(f,g){f.style.overflow=g;
}:
function(N,O){N.style.overflowX=O;
},"default":function(d,e){d.style.overflowX=e;
}}),resetX:qx.core.Variant.select(bL,{"gecko":qx.bom.client.Engine.VERSION<
1.8?
function(bm){bm.style.overflow=bM;
}:
function(M){M.style.overflowX=bM;
},"opera":qx.bom.client.Engine.VERSION<
9.5?
function(bi,bj){bi.style.overflow=bM;
}:
function(n,o){n.style.overflowX=bM;
},"default":function(bn){bn.style.overflowX=bM;
}}),getY:qx.core.Variant.select(bL,{"gecko":qx.bom.client.Engine.VERSION<
1.8?
function(k,l){var m=qx.bom.element.Style.get(k,bI,l,false);

if(m===bJ){m=bK;
}return m;
}:
function(cc,cd){return qx.bom.element.Style.get(cc,bG,cd,false);
},"opera":qx.bom.client.Engine.VERSION<
9.5?
function(K,L){return qx.bom.element.Style.get(K,bI,L,false);
}:
function(S,T){return qx.bom.element.Style.get(S,bG,T,false);
},"default":function(ca,cb){return qx.bom.element.Style.get(ca,bG,cb,false);
}}),setY:qx.core.Variant.select(bL,{"gecko":qx.bom.client.Engine.VERSION<
1.8?
function(bo,bp){if(bp===bK){bp=bJ;
}bo.style.overflow=bp;
}:
function(bz,bA){bz.style.overflowY=bA;
},"opera":qx.bom.client.Engine.VERSION<
9.5?
function(be,bf){be.style.overflow=bf;
}:
function(bB,bC){bB.style.overflowY=bC;
},"default":function(a,b){a.style.overflowY=b;
}}),resetY:qx.core.Variant.select(bL,{"gecko":qx.bom.client.Engine.VERSION<
1.8?
function(J){J.style.overflow=bM;
}:
function(z){z.style.overflowY=bM;
},"opera":qx.bom.client.Engine.VERSION<
9.5?
function(bq,br){bq.style.overflow=bM;
}:
function(ce,cf){ce.style.overflowY=bM;
},"default":function(p){p.style.overflowY=bM;
}})}});
})();
(function(){var C="auto",B="px",A=",",z="clip:auto;",y="rect(",x=");",w="",v=")",u="qx.bom.element.Clip",t="string",q="rect(auto)",s="clip:rect(",r="clip",p="rect(auto,auto,auto,auto)";
qx.Class.define(u,{statics:{compile:function(a){if(!a){return z;
}var f=a.left;
var top=a.top;
var e=a.width;
var d=a.height;
var b,c;

if(f==null){b=(e==null?C:e+B);
f=C;
}else{b=(e==null?C:f+e+B);
f=f+B;
}
if(top==null){c=(d==null?C:d+B);
top=C;
}else{c=(d==null?C:top+d+B);
top=top+B;
}return s+top+A+b+A+c+A+f+x;
},get:function(g,h){var j=qx.bom.element.Style.get(g,r,h,false);
var o,top,m,l;
var i,k;

if(typeof j===t&&j!==C&&j!==w){j=qx.lang.String.trim(j);
if(/\((.*)\)/.test(j)){var n=RegExp.$1.split(A);
top=qx.lang.String.trim(n[0]);
i=qx.lang.String.trim(n[1]);
k=qx.lang.String.trim(n[2]);
o=qx.lang.String.trim(n[3]);
if(o===C){o=null;
}
if(top===C){top=null;
}
if(i===C){i=null;
}
if(k===C){k=null;
}if(top!=null){top=parseInt(top,10);
}
if(i!=null){i=parseInt(i,10);
}
if(k!=null){k=parseInt(k,10);
}
if(o!=null){o=parseInt(o,10);
}if(i!=null&&o!=null){m=i-o;
}else if(i!=null){m=i;
}
if(k!=null&&top!=null){l=k-top;
}else if(k!=null){l=k;
}}else{throw new Error("Could not parse clip string: "+j);
}}return {left:o||null,top:top||null,width:m||null,height:l||null};
},set:function(E,F){if(!F){E.style.clip=p;
return;
}var K=F.left;
var top=F.top;
var J=F.width;
var I=F.height;
var G,H;

if(K==null){G=(J==null?C:J+B);
K=C;
}else{G=(J==null?C:K+J+B);
K=K+B;
}
if(top==null){H=(I==null?C:I+B);
top=C;
}else{H=(I==null?C:top+I+B);
top=top+B;
}E.style.clip=y+top+A+G+A+H+A+K+v;
},reset:function(D){D.style.clip=qx.bom.client.Engine.MSHTML?q:C;
}}});
})();
(function(){var m="n-resize",l="e-resize",k="nw-resize",j="ne-resize",i="",h="cursor:",g="qx.client",f=";",e="qx.bom.element.Cursor",d="cursor",c="hand";
qx.Class.define(e,{statics:{__hm:qx.core.Variant.select(g,{"mshtml":{"cursor":c,"ew-resize":l,"ns-resize":m,"nesw-resize":j,"nwse-resize":k},"opera":{"col-resize":l,"row-resize":m,"ew-resize":l,"ns-resize":m,"nesw-resize":j,"nwse-resize":k},"default":{}}),compile:function(p){return h+(this.__hm[p]||p)+f;
},get:function(a,b){return qx.bom.element.Style.get(a,d,b,false);
},set:function(n,o){n.style.cursor=this.__hm[o]||o;
},reset:function(q){q.style.cursor=i;
}}});
})();
(function(){var w="",v="qx.client",u=";",t="filter",s="opacity:",r="opacity",q="MozOpacity",p=");",o=")",n="zoom:1;filter:alpha(opacity=",k="qx.bom.element.Opacity",m="alpha(opacity=",l="-moz-opacity:";
qx.Class.define(k,{statics:{compile:qx.core.Variant.select(v,{"mshtml":function(J){if(J>=1){return w;
}
if(J<0.00001){J=0;
}return n+(J*100)+p;
},"gecko":function(g){if(g==1){g=0.999999;
}
if(qx.bom.client.Engine.VERSION<1.7){return l+g+u;
}else{return s+g+u;
}},"default":function(x){if(x==1){return w;
}return s+x+u;
}}),set:qx.core.Variant.select(v,{"mshtml":function(A,B){var C=qx.bom.element.Style.get(A,t,qx.bom.element.Style.COMPUTED_MODE,false);
if(B>=1){A.style.filter=C.replace(/alpha\([^\)]*\)/gi,w);
return;
}
if(B<0.00001){B=0;
}if(!A.currentStyle||!A.currentStyle.hasLayout){A.style.zoom=1;
}A.style.filter=C.replace(/alpha\([^\)]*\)/gi,w)+m+B*100+o;
},"gecko":function(d,e){if(e==1){e=0.999999;
}
if(qx.bom.client.Engine.VERSION<1.7){d.style.MozOpacity=e;
}else{d.style.opacity=e;
}},"default":function(y,z){if(z==1){z=w;
}y.style.opacity=z;
}}),reset:qx.core.Variant.select(v,{"mshtml":function(D){var E=qx.bom.element.Style.get(D,t,qx.bom.element.Style.COMPUTED_MODE,false);
D.style.filter=E.replace(/alpha\([^\)]*\)/gi,w);
},"gecko":function(f){if(qx.bom.client.Engine.VERSION<1.7){f.style.MozOpacity=w;
}else{f.style.opacity=w;
}},"default":function(K){K.style.opacity=w;
}}),get:qx.core.Variant.select(v,{"mshtml":function(F,G){var H=qx.bom.element.Style.get(F,t,G,false);

if(H){var I=H.match(/alpha\(opacity=(.*)\)/);

if(I&&I[1]){return parseFloat(I[1])/100;
}}return 1.0;
},"gecko":function(a,b){var c=qx.bom.element.Style.get(a,qx.bom.client.Engine.VERSION<1.7?q:r,b,false);

if(c==0.999999){c=1.0;
}
if(c!=null){return parseFloat(c);
}return 1.0;
},"default":function(h,i){var j=qx.bom.element.Style.get(h,r,i,false);

if(j!=null){return parseFloat(j);
}return 1.0;
}})}});
})();
(function(){var t="qx.client",s="",r="boxSizing",q="box-sizing",p=":",o="border-box",n="qx.bom.element.BoxSizing",m="KhtmlBoxSizing",k="-moz-box-sizing",j="WebkitBoxSizing",f=";",h="-khtml-box-sizing",g="content-box",e="-webkit-box-sizing",d="MozBoxSizing";
qx.Class.define(n,{statics:{__hn:qx.core.Variant.select(t,{"mshtml":null,"webkit":[r,m,j],"gecko":[d],"opera":[r]}),__ho:qx.core.Variant.select(t,{"mshtml":null,"webkit":[q,h,e],"gecko":[k],"opera":[q]}),__hp:{tags:{button:true,select:true},types:{search:true,button:true,submit:true,reset:true,checkbox:true,radio:true}},__hq:function(B){var C=this.__hp;
return C.tags[B.tagName.toLowerCase()]||C.types[B.type];
},compile:qx.core.Variant.select(t,{"mshtml":function(u){{};
},"default":function(v){var x=this.__ho;
var w=s;

if(x){for(var i=0,l=x.length;i<l;i++){w+=x[i]+p+v+f;
}}return w;
}}),get:qx.core.Variant.select(t,{"mshtml":function(E){if(qx.bom.Document.isStandardMode(qx.dom.Node.getDocument(E))){if(!this.__hq(E)){return g;
}}return o;
},"default":function(y){var A=this.__hn;
var z;

if(A){for(var i=0,l=A.length;i<l;i++){z=qx.bom.element.Style.get(y,A[i],null,false);

if(z!=null&&z!==s){return z;
}}}return s;
}}),set:qx.core.Variant.select(t,{"mshtml":function(F,G){{};
},"default":function(a,b){var c=this.__hn;

if(c){for(var i=0,l=c.length;i<l;i++){a.style[c[i]]=b;
}}}}),reset:function(D){this.set(D,s);
}}});
})();
(function(){var P="",O="qx.client",N="userSelect",M="style",L="MozUserModify",K="px",J="float",I="borderImage",H="styleFloat",G="appearance",bj="pixelHeight",bi='Ms',bh=":",bg="cssFloat",bf="pixelTop",be="pixelLeft",bd='O',bc="qx.bom.element.Style",bb='Khtml',ba='string',W="pixelRight",X='Moz',U="pixelWidth",V="pixelBottom",S=";",T="textOverflow",Q="userModify",R='Webkit',Y="WebkitUserModify";
qx.Class.define(bc,{statics:{__hr:function(){var k=[G,N,T,I];
var p={};
var m=document.documentElement.style;
var q=[X,R,bb,bd,bi];

for(var i=0,l=k.length;i<l;i++){var r=k[i];
var n=r;

if(m[r]){p[n]=r;
continue;
}r=qx.lang.String.firstUp(r);

for(var j=0,s=q.length;j<s;j++){var o=q[j]+r;

if(typeof m[o]==ba){p[n]=o;
break;
}}}this.__hs=p;
this.__hs[Q]=qx.core.Variant.select(O,{"gecko":L,"webkit":Y,"default":N});
this.__ht={};

for(var n in p){this.__ht[n]=this.__hx(p[n]);
}this.__hs[J]=qx.core.Variant.select(O,{"mshtml":H,"default":bg});
},__hu:{width:U,height:bj,left:be,right:W,top:bf,bottom:V},__hv:{clip:qx.bom.element.Clip,cursor:qx.bom.element.Cursor,opacity:qx.bom.element.Opacity,boxSizing:qx.bom.element.BoxSizing,overflowX:{set:qx.lang.Function.bind(qx.bom.element.Overflow.setX,qx.bom.element.Overflow),get:qx.lang.Function.bind(qx.bom.element.Overflow.getX,qx.bom.element.Overflow),reset:qx.lang.Function.bind(qx.bom.element.Overflow.resetX,qx.bom.element.Overflow),compile:qx.lang.Function.bind(qx.bom.element.Overflow.compileX,qx.bom.element.Overflow)},overflowY:{set:qx.lang.Function.bind(qx.bom.element.Overflow.setY,qx.bom.element.Overflow),get:qx.lang.Function.bind(qx.bom.element.Overflow.getY,qx.bom.element.Overflow),reset:qx.lang.Function.bind(qx.bom.element.Overflow.resetY,qx.bom.element.Overflow),compile:qx.lang.Function.bind(qx.bom.element.Overflow.compileY,qx.bom.element.Overflow)}},compile:function(w){var y=[];
var A=this.__hv;
var z=this.__ht;
var name,x;

for(name in w){x=w[name];

if(x==null){continue;
}name=z[name]||name;
if(A[name]){y.push(A[name].compile(x));
}else{y.push(this.__hx(name),bh,x,S);
}}return y.join(P);
},__hw:{},__hx:function(t){var u=this.__hw;
var v=u[t];

if(!v){v=u[t]=qx.lang.String.hyphenate(t);
}return v;
},setCss:qx.core.Variant.select(O,{"mshtml":function(bm,bn){bm.style.cssText=bn;
},"default":function(bk,bl){bk.setAttribute(M,bl);
}}),getCss:qx.core.Variant.select(O,{"mshtml":function(bx){return bx.style.cssText.toLowerCase();
},"default":function(bD){return bD.getAttribute(M);
}}),isPropertySupported:function(bB){return (this.__hv[bB]||this.__hs[bB]||bB in document.documentElement.style);
},COMPUTED_MODE:1,CASCADED_MODE:2,LOCAL_MODE:3,set:function(by,name,bz,bA){{};
name=this.__hs[name]||name;
if(bA!==false&&this.__hv[name]){return this.__hv[name].set(by,bz);
}else{by.style[name]=bz!==null?bz:P;
}},setStyles:function(a,b,c){{};
var f=this.__hs;
var h=this.__hv;
var d=a.style;

for(var g in b){var e=b[g];
var name=f[g]||g;

if(e===undefined){if(c!==false&&h[name]){h[name].reset(a);
}else{d[name]=P;
}}else{if(c!==false&&h[name]){h[name].set(a,e);
}else{d[name]=e!==null?e:P;
}}}},reset:function(bo,name,bp){name=this.__hs[name]||name;
if(bp!==false&&this.__hv[name]){return this.__hv[name].reset(bo);
}else{bo.style[name]=P;
}},get:qx.core.Variant.select(O,{"mshtml":function(bq,name,br,bs){name=this.__hs[name]||name;
if(bs!==false&&this.__hv[name]){return this.__hv[name].get(bq,br);
}if(!bq.currentStyle){return bq.style[name]||P;
}switch(br){case this.LOCAL_MODE:return bq.style[name]||P;
case this.CASCADED_MODE:return bq.currentStyle[name]||P;
default:var bw=bq.currentStyle[name]||P;
if(/^-?[\.\d]+(px)?$/i.test(bw)){return bw;
}var bv=this.__hu[name];

if(bv){var bt=bq.style[name];
bq.style[name]=bw||0;
var bu=bq.style[bv]+K;
bq.style[name]=bt;
return bu;
}if(/^-?[\.\d]+(em|pt|%)?$/i.test(bw)){throw new Error("Untranslated computed property value: "+name+". Only pixel values work well across different clients.");
}return bw;
}},"default":function(B,name,C,D){name=this.__hs[name]||name;
if(D!==false&&this.__hv[name]){return this.__hv[name].get(B,C);
}switch(C){case this.LOCAL_MODE:return B.style[name]||P;
case this.CASCADED_MODE:if(B.currentStyle){return B.currentStyle[name]||P;
}throw new Error("Cascaded styles are not supported in this browser!");
default:var E=qx.dom.Node.getDocument(B);
var F=E.defaultView.getComputedStyle(B,null);
return F?F[name]:P;
}}})},defer:function(bC){bC.__hr();
}});
})();
(function(){var j="borderTopWidth",i="borderLeftWidth",h="marginTop",g="marginLeft",f="scroll",e="qx.client",d="border-box",c="borderBottomWidth",b="borderRightWidth",a="auto",y="padding",x="qx.bom.element.Location",w="paddingLeft",v="static",u="marginBottom",t="visible",s="BODY",r="paddingBottom",q="paddingTop",p="marginRight",n="position",o="margin",l="overflow",m="paddingRight",k="border";
qx.Class.define(x,{statics:{__hy:function(Q,R){return qx.bom.element.Style.get(Q,R,qx.bom.element.Style.COMPUTED_MODE,false);
},__hz:function(bm,bn){return parseInt(qx.bom.element.Style.get(bm,bn,qx.bom.element.Style.COMPUTED_MODE,false),10)||0;
},__hA:function(bF){var bI=0,top=0;
if(bF.getBoundingClientRect&&!qx.bom.client.Engine.OPERA){var bH=qx.dom.Node.getWindow(bF);
bI-=qx.bom.Viewport.getScrollLeft(bH);
top-=qx.bom.Viewport.getScrollTop(bH);
}else{var bG=qx.dom.Node.getDocument(bF).body;
bF=bF.parentNode;
while(bF&&bF!=bG){bI+=bF.scrollLeft;
top+=bF.scrollTop;
bF=bF.parentNode;
}}return {left:bI,top:top};
},__hB:qx.core.Variant.select(e,{"mshtml":function(z){var B=qx.dom.Node.getDocument(z);
var A=B.body;
var C=0;
var top=0;
C-=A.clientLeft+B.documentElement.clientLeft;
top-=A.clientTop+B.documentElement.clientTop;

if(qx.bom.client.Feature.STANDARD_MODE){C+=this.__hz(A,i);
top+=this.__hz(A,j);
}return {left:C,top:top};
},"webkit":function(M){var O=qx.dom.Node.getDocument(M);
var N=O.body;
var P=N.offsetLeft;
var top=N.offsetTop;
if(qx.bom.client.Engine.VERSION<530.17){P+=this.__hz(N,i);
top+=this.__hz(N,j);
}return {left:P,top:top};
},"gecko":function(bh){var bi=qx.dom.Node.getDocument(bh).body;
var bj=bi.offsetLeft;
var top=bi.offsetTop;
if(qx.bom.client.Engine.VERSION<1.9){bj+=this.__hz(bi,g);
top+=this.__hz(bi,h);
}if(qx.bom.element.BoxSizing.get(bi)!==d){bj+=this.__hz(bi,i);
top+=this.__hz(bi,j);
}return {left:bj,top:top};
},"default":function(D){var E=qx.dom.Node.getDocument(D).body;
var F=E.offsetLeft;
var top=E.offsetTop;
return {left:F,top:top};
}}),__hC:qx.core.Variant.select(e,{"mshtml|webkit":function(H){var J=qx.dom.Node.getDocument(H);
if(H.getBoundingClientRect){var K=H.getBoundingClientRect();
var L=K.left;
var top=K.top;
}else{var L=H.offsetLeft;
var top=H.offsetTop;
H=H.offsetParent;
var I=J.body;
while(H&&H!=I){L+=H.offsetLeft;
top+=H.offsetTop;
L+=this.__hz(H,i);
top+=this.__hz(H,j);
H=H.offsetParent;
}}return {left:L,top:top};
},"gecko":function(U){if(U.getBoundingClientRect){var X=U.getBoundingClientRect();
var Y=Math.round(X.left);
var top=Math.round(X.top);
}else{var Y=0;
var top=0;
var V=qx.dom.Node.getDocument(U).body;
var W=qx.bom.element.BoxSizing;

if(W.get(U)!==d){Y-=this.__hz(U,i);
top-=this.__hz(U,j);
}
while(U&&U!==V){Y+=U.offsetLeft;
top+=U.offsetTop;
if(W.get(U)!==d){Y+=this.__hz(U,i);
top+=this.__hz(U,j);
}if(U.parentNode&&this.__hy(U.parentNode,l)!=t){Y+=this.__hz(U.parentNode,i);
top+=this.__hz(U.parentNode,j);
}U=U.offsetParent;
}}return {left:Y,top:top};
},"default":function(bN){var bP=0;
var top=0;
var bO=qx.dom.Node.getDocument(bN).body;
while(bN&&bN!==bO){bP+=bN.offsetLeft;
top+=bN.offsetTop;
bN=bN.offsetParent;
}return {left:bP,top:top};
}}),get:function(bq,br){if(bq.tagName==s){var location=this.__hD(bq);
var by=location.left;
var top=location.top;
}else{var bs=this.__hB(bq);
var bx=this.__hC(bq);
var scroll=this.__hA(bq);
var by=bx.left+bs.left-scroll.left;
var top=bx.top+bs.top-scroll.top;
}var bt=by+bq.offsetWidth;
var bu=top+bq.offsetHeight;

if(br){if(br==y||br==f){var bv=qx.bom.element.Overflow.getX(bq);

if(bv==f||bv==a){bt+=bq.scrollWidth-bq.offsetWidth+this.__hz(bq,i)+this.__hz(bq,b);
}var bw=qx.bom.element.Overflow.getY(bq);

if(bw==f||bw==a){bu+=bq.scrollHeight-bq.offsetHeight+this.__hz(bq,j)+this.__hz(bq,c);
}}
switch(br){case y:by+=this.__hz(bq,w);
top+=this.__hz(bq,q);
bt-=this.__hz(bq,m);
bu-=this.__hz(bq,r);
case f:by-=bq.scrollLeft;
top-=bq.scrollTop;
bt-=bq.scrollLeft;
bu-=bq.scrollTop;
case k:by+=this.__hz(bq,i);
top+=this.__hz(bq,j);
bt-=this.__hz(bq,b);
bu-=this.__hz(bq,c);
break;
case o:by-=this.__hz(bq,g);
top-=this.__hz(bq,h);
bt+=this.__hz(bq,p);
bu+=this.__hz(bq,u);
break;
}}return {left:by,top:top,right:bt,bottom:bu};
},__hD:qx.core.Variant.select(e,{"default":function(bd){var top=bd.offsetTop+this.__hz(bd,h);
var be=bd.offsetLeft+this.__hz(bd,g);
return {left:be,top:top};
},"mshtml":function(bJ){var top=bJ.offsetTop;
var bK=bJ.offsetLeft;

if(!((qx.bom.client.Engine.VERSION<8||qx.bom.client.Engine.DOCUMENT_MODE<8)&&!qx.bom.client.Feature.QUIRKS_MODE)){top+=this.__hz(bJ,h);
bK+=this.__hz(bJ,g);
}return {left:bK,top:top};
},"gecko":function(bk){var top=bk.offsetTop+this.__hz(bk,h)+this.__hz(bk,i);
var bl=bk.offsetLeft+this.__hz(bk,g)+this.__hz(bk,j);
return {left:bl,top:top};
}}),getLeft:function(bo,bp){return this.get(bo,bp).left;
},getTop:function(bL,bM){return this.get(bL,bM).top;
},getRight:function(S,T){return this.get(S,T).right;
},getBottom:function(bf,bg){return this.get(bf,bg).bottom;
},getRelative:function(bz,bA,bB,bC){var bE=this.get(bz,bB);
var bD=this.get(bA,bC);
return {left:bE.left-bD.left,top:bE.top-bD.top,right:bE.right-bD.right,bottom:bE.bottom-bD.bottom};
},getPosition:function(G){return this.getRelative(G,this.getOffsetParent(G));
},getOffsetParent:function(ba){var bc=ba.offsetParent||document.body;
var bb=qx.bom.element.Style;

while(bc&&(!/^body|html$/i.test(bc.tagName)&&bb.get(bc,n)===v)){bc=bc.offsetParent;
}return bc;
}}});
})();
(function(){var x="qx.client",w="character",v="EndToEnd",u="input",t="textarea",s="StartToStart",r='character',q="qx.bom.Selection",p="button",o="#text",n="body";
qx.Class.define(q,{statics:{getSelectionObject:qx.core.Variant.select(x,{"mshtml":function(Q){return Q.selection;
},"default":function(bu){return qx.dom.Node.getWindow(bu).getSelection();
}}),get:qx.core.Variant.select(x,{"mshtml":function(bc){var bd=qx.bom.Range.get(qx.dom.Node.getDocument(bc));
return bd.text;
},"default":function(E){if(this.__hE(E)){return E.value.substring(E.selectionStart,E.selectionEnd);
}else{return this.getSelectionObject(qx.dom.Node.getDocument(E)).toString();
}}}),getLength:qx.core.Variant.select(x,{"mshtml":function(Y){var bb=this.get(Y);
var ba=qx.util.StringSplit.split(bb,/\r\n/);
return bb.length-(ba.length-1);
},"opera":function(y){var D,B,z;

if(this.__hE(y)){var C=y.selectionStart;
var A=y.selectionEnd;
D=y.value.substring(C,A);
B=A-C;
}else{D=qx.bom.Selection.get(y);
B=D.length;
}z=qx.util.StringSplit.split(D,/\r\n/);
return B-(z.length-1);
},"default":function(O){if(this.__hE(O)){return O.selectionEnd-O.selectionStart;
}else{return this.get(O).length;
}}}),getStart:qx.core.Variant.select(x,{"mshtml":function(bl){if(this.__hE(bl)){var bq=qx.bom.Range.get();
if(!bl.contains(bq.parentElement())){return -1;
}var br=qx.bom.Range.get(bl);
var bp=bl.value.length;
br.moveToBookmark(bq.getBookmark());
br.moveEnd(r,bp);
return bp-br.text.length;
}else{var br=qx.bom.Range.get(bl);
var bn=br.parentElement();
var bs=qx.bom.Range.get();
bs.moveToElementText(bn);
var bm=qx.bom.Range.get(qx.dom.Node.getBodyElement(bl));
bm.setEndPoint(s,br);
bm.setEndPoint(v,bs);
if(bs.compareEndPoints(s,bm)==0){return 0;
}var bo;
var bt=0;

while(true){bo=bm.moveStart(w,-1);
if(bs.compareEndPoints(s,bm)==0){break;
}if(bo==0){break;
}else{bt++;
}}return ++bt;
}},"gecko|webkit":function(bv){if(this.__hE(bv)){return bv.selectionStart;
}else{var bx=qx.dom.Node.getDocument(bv);
var bw=this.getSelectionObject(bx);
if(bw.anchorOffset<bw.focusOffset){return bw.anchorOffset;
}else{return bw.focusOffset;
}}},"default":function(by){if(this.__hE(by)){return by.selectionStart;
}else{return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(by)).anchorOffset;
}}}),getEnd:qx.core.Variant.select(x,{"mshtml":function(a){if(this.__hE(a)){var f=qx.bom.Range.get();
if(!a.contains(f.parentElement())){return -1;
}var g=qx.bom.Range.get(a);
var e=a.value.length;
g.moveToBookmark(f.getBookmark());
g.moveStart(r,-e);
return g.text.length;
}else{var g=qx.bom.Range.get(a);
var c=g.parentElement();
var h=qx.bom.Range.get();
h.moveToElementText(c);
var e=h.text.length;
var b=qx.bom.Range.get(qx.dom.Node.getBodyElement(a));
b.setEndPoint(v,g);
b.setEndPoint(s,h);
if(h.compareEndPoints(v,b)==0){return e-1;
}var d;
var i=0;

while(true){d=b.moveEnd(w,1);
if(h.compareEndPoints(v,b)==0){break;
}if(d==0){break;
}else{i++;
}}return e-(++i);
}},"gecko|webkit":function(k){if(this.__hE(k)){return k.selectionEnd;
}else{var m=qx.dom.Node.getDocument(k);
var l=this.getSelectionObject(m);
if(l.focusOffset>l.anchorOffset){return l.focusOffset;
}else{return l.anchorOffset;
}}},"default":function(P){if(this.__hE(P)){return P.selectionEnd;
}else{return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(P)).focusOffset;
}}}),__hE:function(be){return qx.dom.Node.isElement(be)&&(be.nodeName.toLowerCase()==u||be.nodeName.toLowerCase()==t);
},set:qx.core.Variant.select(x,{"mshtml":function(J,K,L){var M;
if(qx.dom.Node.isDocument(J)){J=J.body;
}
if(qx.dom.Node.isElement(J)||qx.dom.Node.isText(J)){switch(J.nodeName.toLowerCase()){case u:case t:case p:if(L===undefined){L=J.value.length;
}
if(K>=0&&K<=J.value.length&&L>=0&&L<=J.value.length){M=qx.bom.Range.get(J);
M.collapse(true);
M.moveStart(w,K);
M.moveEnd(w,L-K);
M.select();
return true;
}break;
case o:if(L===undefined){L=J.nodeValue.length;
}
if(K>=0&&K<=J.nodeValue.length&&L>=0&&L<=J.nodeValue.length){M=qx.bom.Range.get(qx.dom.Node.getBodyElement(J));
M.moveToElementText(J.parentNode);
M.collapse(true);
M.moveStart(w,K);
M.moveEnd(w,L-K);
M.select();
return true;
}break;
default:if(L===undefined){L=J.childNodes.length-1;
}if(J.childNodes[K]&&J.childNodes[L]){M=qx.bom.Range.get(qx.dom.Node.getBodyElement(J));
M.moveToElementText(J.childNodes[K]);
M.collapse(true);
var N=qx.bom.Range.get(qx.dom.Node.getBodyElement(J));
N.moveToElementText(J.childNodes[L]);
M.setEndPoint(v,N);
M.select();
return true;
}}}return false;
},"default":function(R,S,T){var X=R.nodeName.toLowerCase();

if(qx.dom.Node.isElement(R)&&(X==u||X==t)){if(T===undefined){T=R.value.length;
}if(S>=0&&S<=R.value.length&&T>=0&&T<=R.value.length){R.focus();
R.select();
R.setSelectionRange(S,T);
return true;
}}else{var V=false;
var W=qx.dom.Node.getWindow(R).getSelection();
var U=qx.bom.Range.get(R);
if(qx.dom.Node.isText(R)){if(T===undefined){T=R.length;
}
if(S>=0&&S<R.length&&T>=0&&T<=R.length){V=true;
}}else if(qx.dom.Node.isElement(R)){if(T===undefined){T=R.childNodes.length-1;
}
if(S>=0&&R.childNodes[S]&&T>=0&&R.childNodes[T]){V=true;
}}else if(qx.dom.Node.isDocument(R)){R=R.body;

if(T===undefined){T=R.childNodes.length-1;
}
if(S>=0&&R.childNodes[S]&&T>=0&&R.childNodes[T]){V=true;
}}
if(V){if(!W.isCollapsed){W.collapseToStart();
}U.setStart(R,S);
if(qx.dom.Node.isText(R)){U.setEnd(R,T);
}else{U.setEndAfter(R.childNodes[T]);
}if(W.rangeCount>0){W.removeAllRanges();
}W.addRange(U);
return true;
}}return false;
}}),setAll:function(j){return qx.bom.Selection.set(j,0);
},clear:qx.core.Variant.select(x,{"mshtml":function(F){var G=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(F));
var H=qx.bom.Range.get(F);
var parent=H.parentElement();
var I=qx.bom.Range.get(qx.dom.Node.getDocument(F));
if(parent==I.parentElement()&&parent==F){G.empty();
}},"default":function(bf){var bh=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bf));
var bj=bf.nodeName.toLowerCase();
if(qx.dom.Node.isElement(bf)&&(bj==u||bj==t)){bf.setSelectionRange(0,0);
qx.bom.Element.blur(bf);
}else if(qx.dom.Node.isDocument(bf)||bj==n){bh.collapse(bf.body?bf.body:bf,0);
}else{var bi=qx.bom.Range.get(bf);

if(!bi.collapsed){var bk;
var bg=bi.commonAncestorContainer;
if(qx.dom.Node.isElement(bf)&&qx.dom.Node.isText(bg)){bk=bg.parentNode;
}else{bk=bg;
}
if(bk==bf){bh.collapse(bf,0);
}}}}})}});
})();
(function(){var l="button",k="qx.bom.Range",j="text",i="password",h="file",g="submit",f="reset",e="textarea",d="input",c="hidden",a="qx.client",b="body";
qx.Class.define(k,{statics:{get:qx.core.Variant.select(a,{"mshtml":function(m){if(qx.dom.Node.isElement(m)){switch(m.nodeName.toLowerCase()){case d:switch(m.type){case j:case i:case c:case l:case f:case h:case g:return m.createTextRange();
break;
default:return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(m)).createRange();
}break;
case e:case b:case l:return m.createTextRange();
break;
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 f="",e="g",d="$",c="qx.util.StringSplit",b="\\$&",a="^";
qx.Class.define(c,{statics:{split:function(g,h,k){var n=f;
if(h===undefined){return [g.toString()];
}else if(h===null||h.constructor!==RegExp){h=new RegExp(String(h).replace(/[.*+?^${}()|[\]\/\\]/g,b),e);
}else{n=h.toString().replace(/^[\S\s]+\//,f);

if(!h.global){h=new RegExp(h.source,e+n);
}}var m=new RegExp(a+h.source+d,n);
if(k===undefined||+k<0){k=false;
}else{k=Math.floor(+k);

if(!k){return [];
}}var p,o=[],l=0,i=0;

while((k?i++<=k:true)&&(p=h.exec(g))){if((p[0].length===0)&&(h.lastIndex>p.index)){h.lastIndex--;
}
if(h.lastIndex>l){if(p.length>1){p[0].replace(m,function(){for(var j=1;j<arguments.length-2;j++){if(arguments[j]===undefined){p[j]=undefined;
}}});
}o=o.concat(g.substring(l,p.index),(p.index===g.length?[]:p.slice(1)));
l=h.lastIndex;
}
if(p[0].length===0){h.lastIndex++;
}}return (l===g.length)?(h.test(f)?o:o.concat(f)):(k?o:o.concat(g.substring(l)));
}}});
})();
(function(){var c="qx.ui.core.queue.Widget",b="widget";
qx.Class.define(c,{statics:{__hF:{},remove:function(a){delete this.__hF[a.$$hash];
},add:function(g){var h=this.__hF;

if(h[g.$$hash]){return;
}h[g.$$hash]=g;
qx.ui.core.queue.Manager.scheduleFlush(b);
},flush:function(){var d=this.__hF;
var f;

for(var e in d){f=d[e];
delete d[e];
f.syncWidget();
}for(var e in d){return;
}this.__hF={};
}}});
})();
(function(){var f="qx.ui.core.queue.Visibility",e="visibility";
qx.Class.define(f,{statics:{__hG:{},__hH:{},remove:function(g){var h=g.$$hash;
delete this.__hH[h];
delete this.__hG[h];
},isVisible:function(p){return this.__hH[p.$$hash]||false;
},__hI:function(a){var c=this.__hH;
var b=a.$$hash;
var d;
if(a.isExcluded()){d=false;
}else{var parent=a.$$parent;

if(parent){d=this.__hI(parent);
}else{d=a.isRootWidget();
}}return c[b]=d;
},add:function(n){var o=this.__hG;

if(o[n.$$hash]){return;
}o[n.$$hash]=n;
qx.ui.core.queue.Manager.scheduleFlush(e);
},flush:function(){var i=this.__hG;
var m=this.__hH;
for(var j in i){if(m[j]!=null){i[j].addChildrenToQueue(i);
}}var l={};

for(var j in i){l[j]=m[j];
m[j]=null;
}for(var j in i){var k=i[j];
delete i[j];
if(m[j]==null){this.__hI(k);
}if(m[j]&&m[j]!=l[j]){k.checkAppearanceNeeds();
}}this.__hG={};
}}});
})();
(function(){var c="appearance",b="qx.ui.core.queue.Appearance";
qx.Class.define(b,{statics:{__hJ:{},remove:function(a){delete this.__hJ[a.$$hash];
},add:function(d){var e=this.__hJ;

if(e[d.$$hash]){return;
}e[d.$$hash]=d;
qx.ui.core.queue.Manager.scheduleFlush(c);
},has:function(f){return !!this.__hJ[f.$$hash];
},flush:function(){var j=qx.ui.core.queue.Visibility;
var g=this.__hJ;
var i;

for(var h in g){i=g[h];
delete g[h];
if(j.isVisible(i)){i.syncAppearance();
}else{i.$$stateChanges=true;
}}}}});
})();
(function(){var b="dispose",a="qx.ui.core.queue.Dispose";
qx.Class.define(a,{statics:{__hK:{},add:function(f){var g=this.__hK;

if(g[f.$$hash]){return;
}g[f.$$hash]=f;
qx.ui.core.queue.Manager.scheduleFlush(b);
},flush:function(){var c=this.__hK;

for(var e in c){var d=c[e];
delete c[e];
d.dispose();
}for(var e in c){return;
}this.__hK={};
}}});
})();
(function(){var c="none",b="qx.html.Decorator",a="absolute";
qx.Class.define(b,{extend:qx.html.Element,construct:function(d,e){var f={position:a,top:0,left:0};

if(qx.bom.client.Feature.CSS_POINTER_EVENTS){f.pointerEvents=c;
}qx.html.Element.call(this,null,f);
this.__hL=d;
this.__hM=e||d.toHashCode();
this.useMarkup(d.getMarkup());
},members:{__hM:null,__hL:null,getId:function(){return this.__hM;
},getDecorator:function(){return this.__hL;
},resize:function(h,i){this.__hL.resize(this.getDomElement(),h,i);
},tint:function(g){this.__hL.tint(this.getDomElement(),g);
},getInsets:function(){return this.__hL.getInsets();
}},destruct:function(){this.__hL=null;
}});
})();
(function(){var r="blur",q="focus",p="input",o="load",n="qx.ui.core.EventHandler",m="activate";
qx.Class.define(n,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(){qx.core.Object.call(this);
this.__hN=qx.event.Registration.getManager(window);
},statics:{PRIORITY:qx.event.Registration.PRIORITY_FIRST,SUPPORTED_TYPES:{mousemove:1,mouseover:1,mouseout:1,mousedown:1,mouseup:1,click:1,dblclick:1,contextmenu:1,mousewheel:1,keyup:1,keydown:1,keypress:1,keyinput:1,capture:1,losecapture:1,focusin:1,focusout:1,focus:1,blur:1,activate:1,deactivate:1,appear:1,disappear:1,dragstart:1,dragend:1,dragover:1,dragleave:1,drop:1,drag:1,dragchange:1,droprequest:1},IGNORE_CAN_HANDLE:false},members:{__hN:null,__hO:{focusin:1,focusout:1,focus:1,blur:1},__hP:{mouseover:1,mouseout:1,appear:1,disappear:1},canHandleEvent:function(j,k){return j instanceof qx.ui.core.Widget;
},_dispatchEvent:function(s){var x=s.getTarget();
var w=qx.ui.core.Widget.getWidgetByElement(x);
var y=false;

while(w&&w.isAnonymous()){var y=true;
w=w.getLayoutParent();
}if(w&&y&&s.getType()==m){w.getContainerElement().activate();
}if(this.__hO[s.getType()]){w=w&&w.getFocusTarget();
if(!w){return;
}}if(s.getRelatedTarget){var F=s.getRelatedTarget();
var E=qx.ui.core.Widget.getWidgetByElement(F);

while(E&&E.isAnonymous()){E=E.getLayoutParent();
}
if(E){if(this.__hO[s.getType()]){E=E.getFocusTarget();
}if(E===w){return;
}}}var A=s.getCurrentTarget();
var C=qx.ui.core.Widget.getWidgetByElement(A);

if(!C||C.isAnonymous()){return;
}if(this.__hO[s.getType()]){C=C.getFocusTarget();
}var D=s.getType();

if(!C||!(C.isEnabled()||this.__hP[D])){return;
}var t=s.getEventPhase()==qx.event.type.Event.CAPTURING_PHASE;
var z=this.__hN.getListeners(C,D,t);

if(!z||z.length===0){return;
}var u=qx.event.Pool.getInstance().getObject(s.constructor);
s.clone(u);
u.setTarget(w);
u.setRelatedTarget(E||null);
u.setCurrentTarget(C);
var G=s.getOriginalTarget();

if(G){var v=qx.ui.core.Widget.getWidgetByElement(G);

while(v&&v.isAnonymous()){v=v.getLayoutParent();
}u.setOriginalTarget(v);
}else{u.setOriginalTarget(x);
}for(var i=0,l=z.length;i<l;i++){var B=z[i].context||C;
z[i].handler.call(B,u);
}if(u.getPropagationStopped()){s.stopPropagation();
}
if(u.getDefaultPrevented()){s.preventDefault();
}qx.event.Pool.getInstance().poolObject(u);
},registerEvent:function(a,b,c){var d;

if(b===q||b===r){d=a.getFocusElement();
}else if(b===o||b===p){d=a.getContentElement();
}else{d=a.getContainerElement();
}
if(d){d.addListener(b,this._dispatchEvent,this,c);
}},unregisterEvent:function(e,f,g){var h;

if(f===q||f===r){h=e.getFocusElement();
}else if(f===o||f===p){h=e.getContentElement();
}else{h=e.getContainerElement();
}
if(h){h.removeListener(f,this._dispatchEvent,this,g);
}}},destruct:function(){this.__hN=null;
},defer:function(H){qx.event.Registration.addHandler(H);
}});
})();
(function(){var q="/",p="mshtml",o="",n="qx.client",m="?",l="string",k="qx.util.ResourceManager",j="singleton";
qx.Class.define(k,{extend:qx.core.Object,type:j,statics:{__hQ:qx.$$resources||{},__hR:{}},members:{has:function(B){return !!this.self(arguments).__hQ[B];
},getData:function(i){return this.self(arguments).__hQ[i]||null;
},getImageWidth:function(t){var u=this.self(arguments).__hQ[t];
return u?u[0]:null;
},getImageHeight:function(r){var s=this.self(arguments).__hQ[r];
return s?s[1]:null;
},getImageFormat:function(c){var d=this.self(arguments).__hQ[c];
return d?d[2]:null;
},isClippedImage:function(a){var b=this.self(arguments).__hQ[a];
return b&&b.length>4;
},toUri:function(e){if(e==null){return e;
}var f=this.self(arguments).__hQ[e];

if(!f){return e;
}
if(typeof f===l){var h=f;
}else{var h=f[3];
if(!h){return e;
}}var g=o;

if(qx.core.Variant.isSet(n,p)&&qx.bom.client.Feature.SSL){g=this.self(arguments).__hR[h];
}return g+qx.$$libraries[h].resourceUri+q+e;
}},defer:function(v){if(qx.core.Variant.isSet(n,p)){if(qx.bom.client.Feature.SSL){for(var z in qx.$$libraries){var x;

if(qx.$$libraries[z].resourceUri){x=qx.$$libraries[z].resourceUri;
}else{v.__hR[z]=o;
continue;
}if(x.match(/^\/\//)!=null){v.__hR[z]=window.location.protocol;
}else if(x.match(/^\.\//)!=null){var w=document.URL;
v.__hR[z]=w.substring(0,w.lastIndexOf(q)+1);
}else if(x.match(/^http/)!=null){}else{var A=window.location.href.indexOf(m);
var y;

if(A==-1){y=window.location.href;
}else{y=window.location.href.substring(0,A);
}v.__hR[z]=y.substring(0,y.lastIndexOf(q)+1);
}}}}}});
})();
(function(){var c="qx.bom.client.Locale",b="-",a="";
qx.Class.define(c,{statics:{LOCALE:"",VARIANT:"",__hS:function(){var d=(navigator.userLanguage||navigator.language).toLowerCase();
var f=a;
var e=d.indexOf(b);

if(e!=-1){f=d.substr(e+1);
d=d.substr(0,e);
}this.LOCALE=d;
this.VARIANT=f;
}},defer:function(g){g.__hS();
}});
})();
(function(){var z="",y='indexOf',x='slice',w='concat',v='toLocaleLowerCase',u="qx.type.BaseString",t='match',s='toLocaleUpperCase',r='search',q='replace',j='toLowerCase',p='charCodeAt',n='split',h='substring',g='lastIndexOf',m='substr',k='toUpperCase',o='charAt';
qx.Class.define(u,{extend:Object,construct:function(c){var c=c||z;
this.__hT=c;
this.length=c.length;
},members:{$$isString:true,length:0,__hT:null,toString:function(){return this.__hT;
},charAt:null,valueOf:null,charCodeAt:null,concat:null,indexOf:null,lastIndexOf:null,match:null,replace:null,search:null,slice:null,split:null,substr:null,substring:null,toLowerCase:null,toUpperCase:null,toHashCode:function(){return qx.core.ObjectRegistry.toHashCode(this);
},toLocaleLowerCase:null,toLocaleUpperCase:null,base:function(a,b){return qx.core.Object.prototype.base.apply(this,arguments);
}},defer:function(d,e){{};
var f=[o,p,w,y,g,t,q,r,x,n,m,h,j,k,v,s];
e.valueOf=e.toString;

if(new d(z).valueOf()==null){delete e.valueOf;
}
for(var i=0,l=f.length;i<l;i++){e[f[i]]=String.prototype[f[i]];
}}});
})();
(function(){var a="qx.locale.LocalizedString";
qx.Class.define(a,{extend:qx.type.BaseString,construct:function(b,c,d){qx.type.BaseString.call(this,b);
this.__hU=c;
this.__hV=d;
},members:{__hU:null,__hV:null,translate:function(){return qx.locale.Manager.getInstance().translate(this.__hU,this.__hV);
}}});
})();
(function(){var N="_",M="",L="_applyLocale",K="changeLocale",J="C",I="qx.dynlocale",H="on",G="qx.locale.Manager",F="String",E="singleton";
qx.Class.define(G,{type:E,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
this.__hW=qx.$$translations||{};
this.__hX=qx.$$locales||{};
var bg=qx.bom.client.Locale;
var be=bg.LOCALE;
var bf=bg.VARIANT;

if(bf!==M){be+=N+bf;
}this.setLocale(be||this.__hY);
},statics:{tr:function(B,C){var D=qx.lang.Array.fromArguments(arguments);
D.splice(0,1);
return qx.locale.Manager.getInstance().translate(B,D);
},trn:function(a,b,c,d){var e=qx.lang.Array.fromArguments(arguments);
e.splice(0,3);
if(c!=1){return qx.locale.Manager.getInstance().translate(b,e);
}else{return qx.locale.Manager.getInstance().translate(a,e);
}},trc:function(f,g,h){var j=qx.lang.Array.fromArguments(arguments);
j.splice(0,2);
return qx.locale.Manager.getInstance().translate(g,j);
},marktr:function(bd){return bd;
}},properties:{locale:{check:F,nullable:true,apply:L,event:K}},members:{__hY:J,__ia:null,__ib:null,__hW:null,__hX:null,getLanguage:function(){return this.__ib;
},getTerritory:function(){return this.getLocale().split(N)[1]||M;
},getAvailableLocales:function(){var l=[];

for(var k in this.__hX){if(k!=this.__hY){l.push(k);
}}return l;
},__ic:function(m){var o;
var n=m.indexOf(N);

if(n==-1){o=m;
}else{o=m.substring(0,n);
}return o;
},_applyLocale:function(S,T){this.__ia=S;
this.__ib=this.__ic(S);
},addTranslation:function(O,P){var Q=this.__hW;

if(Q[O]){for(var R in P){Q[O][R]=P[R];
}}else{Q[O]=P;
}},addLocale:function(p,q){var r=this.__hX;

if(r[p]){for(var s in q){r[p][s]=q[s];
}}else{r[p]=q;
}},translate:function(U,V,W){var X=this.__hW;
return this.__id(X,U,V,W);
},localize:function(Y,ba,bb){var bc=this.__hX;
return this.__id(bc,Y,ba,bb);
},__id:function(t,u,v,w){var x;

if(!t){return u;
}
if(w){var z=this.__ic(w);
}else{w=this.__ia;
z=this.__ib;
}if(!x&&t[w]){x=t[w][u];
}if(!x&&t[z]){x=t[z][u];
}if(!x&&t[this.__hY]){x=t[this.__hY][u];
}
if(!x){x=u;
}
if(v.length>0){var y=[];

for(var i=0;i<v.length;i++){var A=v[i];

if(A&&A.translate){y[i]=A.translate();
}else{y[i]=A;
}}x=qx.lang.String.format(x,y);
}
if(qx.core.Variant.isSet(I,H)){x=new qx.locale.LocalizedString(x,u,v);
}return x;
}},destruct:function(){this.__hW=this.__hX=null;
}});
})();
(function(){var A="px",z="qx.client",y="div",x="img",w="",v="no-repeat",u="scale-x",t="mshtml",s="scale",r="scale-y",V="qx/icon",U="repeat",T=".png",S="crop",R="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='",Q='<div style="',P="repeat-y",O='<img src="',N="qx.bom.element.Decoration",M="', sizingMethod='",H="png",I="')",F='"></div>',G='"/>',D='" style="',E="none",B="webkit",C=" ",J="repeat-x",K="DXImageTransform.Microsoft.AlphaImageLoader",L="absolute";
qx.Class.define(N,{statics:{DEBUG:false,__ie:{},__if:qx.core.Variant.isSet(z,t),__ig:qx.core.Variant.select(z,{"mshtml":{"scale-x":true,"scale-y":true,"scale":true,"no-repeat":true},"default":null}),__ih:{"scale-x":x,"scale-y":x,"scale":x,"repeat":y,"no-repeat":y,"repeat-x":y,"repeat-y":y},update:function(a,b,c,d){var g=this.getTagName(c,b);

if(g!=a.tagName.toLowerCase()){throw new Error("Image modification not possible because elements could not be replaced at runtime anymore!");
}var h=this.getAttributes(b,c,d);

if(g===x){a.src=h.src;
}if(a.style.backgroundPosition!=w&&h.style.backgroundPosition===undefined){h.style.backgroundPosition=null;
}if(a.style.clip!=w&&h.style.clip===undefined){h.style.clip=null;
}var f=qx.bom.element.Style;
f.setStyles(a,h.style);
if(this.__if){try{a.filters[K].apply();
}catch(e){}}},create:function(W,X,Y){var ba=this.getTagName(X,W);
var bc=this.getAttributes(W,X,Y);
var bb=qx.bom.element.Style.compile(bc.style);

if(ba===x){return O+bc.src+D+bb+G;
}else{return Q+bb+F;
}},getTagName:function(i,j){if(qx.core.Variant.isSet(z,t)){if(j&&this.__if&&this.__ig[i]&&qx.lang.String.endsWith(j,T)){return y;
}}return this.__ih[i];
},getAttributes:function(bi,bj,bk){if(!bk){bk={};
}
if(!bk.position){bk.position=L;
}
if(qx.core.Variant.isSet(z,t)){bk.fontSize=0;
bk.lineHeight=0;
}else if(qx.core.Variant.isSet(z,B)){bk.WebkitUserDrag=E;
}var bm=qx.util.ResourceManager.getInstance().getImageFormat(bi)||qx.io.ImageLoader.getFormat(bi);
{};
var bl;
if(this.__if&&this.__ig[bj]&&bm===H){bl=this.__ik(bk,bj,bi);
}else{if(bj===s){bl=this.__il(bk,bj,bi);
}else if(bj===u||bj===r){bl=this.__im(bk,bj,bi);
}else{bl=this.__ip(bk,bj,bi);
}}return bl;
},__ii:function(be,bf,bh){if(be.width==null&&bf!=null){be.width=bf+A;
}
if(be.height==null&&bh!=null){be.height=bh+A;
}return be;
},__ij:function(bz){var bA=qx.util.ResourceManager.getInstance().getImageWidth(bz)||qx.io.ImageLoader.getWidth(bz);
var bB=qx.util.ResourceManager.getInstance().getImageHeight(bz)||qx.io.ImageLoader.getHeight(bz);
return {width:bA,height:bB};
},__ik:function(bT,bU,bV){var bY=this.__ij(bV);
bT=this.__ii(bT,bY.width,bY.height);
var bX=bU==v?S:s;
var bW=R+qx.util.ResourceManager.getInstance().toUri(bV)+M+bX+I;
bT.filter=bW;
bT.backgroundImage=bT.backgroundRepeat=w;
return {style:bT};
},__il:function(bG,bH,bI){var bJ=qx.util.ResourceManager.getInstance().toUri(bI);
var bK=this.__ij(bI);
bG=this.__ii(bG,bK.width,bK.height);
return {src:bJ,style:bG};
},__im:function(bL,bM,bN){var bR=qx.util.ResourceManager.getInstance();
var bQ=bR.isClippedImage(bN);
var bS=this.__ij(bN);

if(bQ){var bP=bR.getData(bN);
var bO=bR.toUri(bP[4]);

if(bM===u){bL=this.__in(bL,bP,bS.height);
}else{bL=this.__io(bL,bP,bS.width);
}return {src:bO,style:bL};
}else{{};

if(bM==u){bL.height=bS.height==null?null:bS.height+A;
}else if(bM==r){bL.width=bS.width==null?null:bS.width+A;
}var bO=bR.toUri(bN);
return {src:bO,style:bL};
}},__in:function(bn,bo,bp){var bq=qx.util.ResourceManager.getInstance().getImageHeight(bo[4]);
bn.clip={top:-bo[6],height:bp};
bn.height=bq+A;
if(bn.top!=null){bn.top=(parseInt(bn.top,10)+bo[6])+A;
}else if(bn.bottom!=null){bn.bottom=(parseInt(bn.bottom,10)+bp-bq-bo[6])+A;
}return bn;
},__io:function(bC,bD,bE){var bF=qx.util.ResourceManager.getInstance().getImageWidth(bD[4]);
bC.clip={left:-bD[5],width:bE};
bC.width=bF+A;
if(bC.left!=null){bC.left=(parseInt(bC.left,10)+bD[5])+A;
}else if(bC.right!=null){bC.right=(parseInt(bC.right,10)+bE-bF-bD[5])+A;
}return bC;
},__ip:function(br,bs,bt){var by=qx.util.ResourceManager.getInstance().isClippedImage(bt);
var bx=this.__ij(bt);
if(by&&bs!==U){var bw=qx.util.ResourceManager.getInstance().getData(bt);
var bv=qx.bom.element.Background.getStyles(bw[4],bs,bw[5],bw[6]);

for(var bu in bv){br[bu]=bv[bu];
}
if(bx.width!=null&&br.width==null&&(bs==P||bs===v)){br.width=bx.width+A;
}
if(bx.height!=null&&br.height==null&&(bs==J||bs===v)){br.height=bx.height+A;
}return {style:br};
}else{{};
br=this.__ii(br,bx.width,bx.height);
br=this.__iq(br,bt,bs);
return {style:br};
}},__iq:function(k,l,m){var top=null;
var q=null;

if(k.backgroundPosition){var n=k.backgroundPosition.split(C);
q=parseInt(n[0]);

if(isNaN(q)){q=n[0];
}top=parseInt(n[1]);

if(isNaN(top)){top=n[1];
}}var p=qx.bom.element.Background.getStyles(l,m,q,top);

for(var o in p){k[o]=p[o];
}if(k.filter){k.filter=w;
}return k;
},__ir:function(bd){if(this.DEBUG&&qx.util.ResourceManager.getInstance().has(bd)&&bd.indexOf(V)==-1){if(!this.__ie[bd]){qx.log.Logger.debug("Potential clipped image candidate: "+bd);
this.__ie[bd]=true;
}}},isAlphaImageLoaderEnabled:qx.core.Variant.select(z,{"mshtml":function(){return qx.bom.element.Decoration.__if;
},"default":function(){return false;
}})}});
})();
(function(){var t="qx.client",s="load",r="qx.io.ImageLoader";
qx.Bootstrap.define(r,{statics:{__is:{},__it:{width:null,height:null},__iu:/\.(png|gif|jpg|jpeg|bmp)\b/i,isLoaded:function(e){var f=this.__is[e];
return !!(f&&f.loaded);
},isFailed:function(p){var q=this.__is[p];
return !!(q&&q.failed);
},isLoading:function(v){var w=this.__is[v];
return !!(w&&w.loading);
},getFormat:function(E){var F=this.__is[E];
return F?F.format:null;
},getSize:function(a){var b=this.__is[a];
return b?
{width:b.width,height:b.height}:this.__it;
},getWidth:function(c){var d=this.__is[c];
return d?d.width:null;
},getHeight:function(x){var y=this.__is[x];
return y?y.height:null;
},load:function(g,h,j){var k=this.__is[g];

if(!k){k=this.__is[g]={};
}if(h&&!j){j=window;
}if(k.loaded||k.loading||k.failed){if(h){if(k.loading){k.callbacks.push(h,j);
}else{h.call(j,g,k);
}}}else{k.loading=true;
k.callbacks=[];

if(h){k.callbacks.push(h,j);
}var n=new Image();
var m=qx.lang.Function.listener(this.__iv,this,n,g);
n.onload=m;
n.onerror=m;
n.src=g;
}},__iv:qx.event.GlobalError.observeMethod(function(event,z,A){var B=this.__is[A];
if(event.type===s){B.loaded=true;
B.width=this.__iw(z);
B.height=this.__ix(z);
var C=this.__iu.exec(A);

if(C!=null){B.format=C[1];
}}else{B.failed=true;
}z.onload=z.onerror=null;
var D=B.callbacks;
delete B.loading;
delete B.callbacks;
for(var i=0,l=D.length;i<l;i+=2){D[i].call(D[i+1],A,B);
}}),__iw:qx.core.Variant.select(t,{"gecko":function(u){return u.naturalWidth;
},"default":function(H){return H.width;
}}),__ix:qx.core.Variant.select(t,{"gecko":function(o){return o.naturalHeight;
},"default":function(G){return G.height;
}})}});
})();
(function(){var s="number",r="0",q="px",p=";",o="background-image:url(",n=");",m="",l=")",k="background-repeat:",j=" ",g="qx.bom.element.Background",i="url(",h="background-position:";
qx.Class.define(g,{statics:{__iy:[o,null,n,h,null,p,k,null,p],__iz:{backgroundImage:null,backgroundPosition:null,backgroundRepeat:null},__iA:function(z,top){var A=qx.bom.client.Engine;

if(A.GECKO&&A.VERSION<1.9&&z==top&&typeof z==s){top+=0.01;
}
if(z){var B=(typeof z==s)?z+q:z;
}else{B=r;
}
if(top){var C=(typeof top==s)?top+q:top;
}else{C=r;
}return B+j+C;
},compile:function(D,E,F,top){var G=this.__iA(F,top);
var H=qx.util.ResourceManager.getInstance().toUri(D);
var I=this.__iy;
I[1]=H;
I[4]=G;
I[7]=E;
return I.join(m);
},getStyles:function(t,u,v,top){if(!t){return this.__iz;
}var w=this.__iA(v,top);
var x=qx.util.ResourceManager.getInstance().toUri(t);
var y={backgroundPosition:w,backgroundImage:i+x+l};

if(u!=null){y.backgroundRepeat=u;
}return y;
},set:function(a,b,c,d,top){var e=this.getStyles(b,c,d,top);

for(var f in e){a.style[f]=e[f];
}}}});
})();
(function(){var o="source",n="scale",m="no-repeat",l="qx.client",k="mshtml",j="webkit",i="backgroundImage",h="div",g="qx.html.Image",f="qx/static/blank.gif";
qx.Class.define(g,{extend:qx.html.Element,members:{_applyProperty:function(name,q){qx.html.Element.prototype._applyProperty.call(this,name,q);

if(name===o){var u=this.getDomElement();
var r=this.getAllStyles();

if(this.getNodeName()==h&&this.getStyle(i)){r.backgroundPosition=null;
r.backgroundRepeat=null;
}var s=this._getProperty(o);
var t=this._getProperty(n);
var v=t?n:m;
qx.bom.element.Decoration.update(u,s,v,r);
}},_createDomElement:function(){var c=this._getProperty(n);
var d=c?n:m;

if(qx.core.Variant.isSet(l,k)){var b=this._getProperty(o);
this.setNodeName(qx.bom.element.Decoration.getTagName(d,b));
}else{this.setNodeName(qx.bom.element.Decoration.getTagName(d));
}return qx.html.Element.prototype._createDomElement.call(this);
},_copyData:function(e){return qx.html.Element.prototype._copyData.call(this,true);
},setSource:function(p){this._setProperty(o,p);
return this;
},getSource:function(){return this._getProperty(o);
},resetSource:function(){if(qx.core.Variant.isSet(l,j)){this._setProperty(o,qx.util.ResourceManager.getInstance().toUri(f));
}else{this._removeProperty(o,true);
}return this;
},setScale:function(a){this._setProperty(n,a);
return this;
},getScale:function(){return this._getProperty(n);
}}});
})();
(function(){var s="nonScaled",r="scaled",q="alphaScaled",p=".png",o="replacement",n="hidden",m="div",l="__iB",k="Boolean",j="_applyScale",d="px",i="_applySource",g="-disabled.$1",c="img",b="changeSource",f="qx.client",e="String",h="image",a="qx.ui.basic.Image";
qx.Class.define(a,{extend:qx.ui.core.Widget,construct:function(t){this.__iB={};
qx.ui.core.Widget.call(this);

if(t){this.setSource(t);
}},properties:{source:{check:e,init:null,nullable:true,event:b,apply:i,themeable:true},scale:{check:k,init:false,themeable:true,apply:j},appearance:{refine:true,init:h},allowShrinkX:{refine:true,init:false},allowShrinkY:{refine:true,init:false},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false}},members:{__iC:null,__iD:null,__iE:null,__iB:null,getContentElement:function(){return this.__iI();
},_createContentElement:function(){return this.__iI();
},_getContentHint:function(){return {width:this.__iC||0,height:this.__iD||0};
},_applyEnabled:function(bg,bh){qx.ui.core.Widget.prototype._applyEnabled.call(this,bg,bh);

if(this.getSource()){this._styleSource();
}},_applySource:function(O){this._styleSource();
},_applyScale:function(H){this._styleSource();
},__iF:function(N){this.__iE=N;
},__iG:function(){if(this.__iE==null){var X=this.getSource();
var W=false;

if(X!=null){W=qx.lang.String.endsWith(X,p);
}
if(this.getScale()&&W&&qx.bom.element.Decoration.isAlphaImageLoaderEnabled()){this.__iE=q;
}else if(this.getScale()){this.__iE=r;
}else{this.__iE=s;
}}return this.__iE;
},__iH:function(A){var B;
var C;

if(A==q){B=true;
C=m;
}else if(A==s){B=false;
C=m;
}else{B=true;
C=c;
}var D=new qx.html.Image(C);
D.setScale(B);
D.setStyles({"overflowX":n,"overflowY":n});
return D;
},__iI:function(){var T=this.__iG();

if(this.__iB[T]==null){this.__iB[T]=this.__iH(T);
}return this.__iB[T];
},_styleSource:function(){var bi=qx.util.AliasManager.getInstance().resolve(this.getSource());

if(!bi){this.getContentElement().resetSource();
return;
}this.__iJ(bi);
if(qx.util.ResourceManager.getInstance().has(bi)){this.__iL(this.getContentElement(),bi);
}else if(qx.io.ImageLoader.isLoaded(bi)){this.__iM(this.getContentElement(),bi);
}else{this.__iN(this.getContentElement(),bi);
}},__iJ:qx.core.Variant.select(f,{"mshtml":function(E){var G=qx.bom.element.Decoration.isAlphaImageLoaderEnabled();
var F=qx.lang.String.endsWith(E,p);

if(G&&F){if(this.getScale()&&this.__iG()!=q){this.__iF(q);
}else if(!this.getScale()&&this.__iG()!=s){this.__iF(s);
}}else{if(this.getScale()&&this.__iG()!=r){this.__iF(r);
}else if(!this.getScale()&&this.__iG()!=s){this.__iF(s);
}}this.__iK(this.__iI());
},"default":function(P){if(this.getScale()&&this.__iG()!=r){this.__iF(r);
}else if(!this.getScale()&&this.__iG(s)){this.__iF(s);
}this.__iK(this.__iI());
}}),__iK:function(Y){var bc=this.getContainerElement();
var bd=bc.getChild(0);

if(bd!=Y){if(bd!=null){var bf=d;
var ba={};
var bb=this.getInnerSize();

if(bb!=null){ba.width=bb.width+bf;
ba.height=bb.height+bf;
}var be=this.getInsets();
ba.left=be.left+bf;
ba.top=be.top+bf;
ba.zIndex=10;
Y.setStyles(ba,true);
Y.setSelectable(this.getSelectable());
}bc.removeAt(0);
bc.addAt(Y,0);
}},__iL:function(w,x){var z=qx.util.ResourceManager.getInstance();
if(!this.getEnabled()){var y=x.replace(/\.([a-z]+)$/,g);

if(z.has(y)){x=y;
this.addState(o);
}else{this.removeState(o);
}}if(w.getSource()===x){return;
}w.setSource(x);
this.__iP(z.getImageWidth(x),z.getImageHeight(x));
},__iM:function(I,J){var L=qx.io.ImageLoader;
I.setSource(J);
var K=L.getWidth(J);
var M=L.getHeight(J);
this.__iP(K,M);
},__iN:function(Q,R){var self;
var S=qx.io.ImageLoader;
{};
if(!S.isFailed(R)){S.load(R,this.__iO,this);
}else{if(Q!=null){Q.resetSource();
}}},__iO:function(u,v){if(this.$$disposed===true){return;
}if(u!==qx.util.AliasManager.getInstance().resolve(this.getSource())){return;
}if(v.failed){this.warn("Image could not be loaded: "+u);
}this._styleSource();
},__iP:function(U,V){if(U!==this.__iC||V!==this.__iD){this.__iC=U;
this.__iD=V;
qx.ui.core.queue.Layout.add(this);
}}},destruct:function(){this._disposeMap(l);
}});
})();
(function(){var g="dragdrop-cursor",f="_applyAction",e="alias",d="qx.ui.core.DragDropCursor",c="move",b="singleton",a="copy";
qx.Class.define(d,{extend:qx.ui.basic.Image,include:qx.ui.core.MPlacement,type:b,construct:function(){qx.ui.basic.Image.call(this);
this.setZIndex(1e8);
this.setDomMove(true);
var j=this.getApplicationRoot();
j.add(this,{left:-1000,top:-1000});
},properties:{appearance:{refine:true,init:g},action:{check:[e,a,c],apply:f,nullable:true}},members:{_applyAction:function(h,i){if(i){this.removeState(i);
}
if(h){this.addState(h);
}}}});
})();
(function(){var g="interval",f="Number",e="_applyTimeoutInterval",d="qx.event.type.Event",c="qx.event.Idle",b="singleton";
qx.Class.define(c,{extend:qx.core.Object,type:b,construct:function(){qx.core.Object.call(this);
var h=new qx.event.Timer(this.getTimeoutInterval());
h.addListener(g,this._onInterval,this);
h.start();
this.__iQ=h;
},events:{"interval":d},properties:{timeoutInterval:{check:f,init:100,apply:e}},members:{__iQ:null,_applyTimeoutInterval:function(a){this.__iQ.setInterval(a);
},_onInterval:function(){this.fireEvent(g);
}},destruct:function(){if(this.__iQ){this.__iQ.stop();
}this.__iQ=null;
}});
})();
(function(){var I="top",H="right",G="bottom",F="left",E="align-start",D="qx.util.placement.AbstractAxis",C="edge-start",B="align-end",A="edge-end",z="-",w="best-fit",y="qx.util.placement.Placement",x="keep-align",v="direct",u='__iR';
qx.Class.define(y,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
this.__iR=new qx.util.placement.DirectAxis();
},properties:{axisX:{check:D},axisY:{check:D},edge:{check:[I,H,G,F],init:I},align:{check:[I,H,G,F],init:H}},statics:{__iS:null,compute:function(j,k,l,m,n,o,p){this.__iS=this.__iS||new qx.util.placement.Placement();
var s=n.split(z);
var r=s[0];
var q=s[1];
this.__iS.set({axisX:this.__iW(o),axisY:this.__iW(p),edge:r,align:q});
return this.__iS.compute(j,k,l,m);
},__iT:null,__iU:null,__iV:null,__iW:function(t){switch(t){case v:this.__iT=this.__iT||new qx.util.placement.DirectAxis();
return this.__iT;
case x:this.__iU=this.__iU||new qx.util.placement.KeepAlignAxis();
return this.__iU;
case w:this.__iV=this.__iV||new qx.util.placement.BestFitAxis();
return this.__iV;
default:throw new Error("Invalid 'mode' argument!'");
}}},members:{__iR:null,compute:function(c,d,e,f){{};
var g=this.getAxisX()||this.__iR;
var i=g.computeStart(c.width,{start:e.left,end:e.right},{start:f.left,end:f.right},d.width,this.__iX());
var h=this.getAxisY()||this.__iR;
var top=h.computeStart(c.height,{start:e.top,end:e.bottom},{start:f.top,end:f.bottom},d.height,this.__iY());
return {left:i,top:top};
},__iX:function(){var b=this.getEdge();
var a=this.getAlign();

if(b==F){return C;
}else if(b==H){return A;
}else if(a==F){return E;
}else if(a==H){return B;
}},__iY:function(){var K=this.getEdge();
var J=this.getAlign();

if(K==I){return C;
}else if(K==G){return A;
}else if(J==I){return E;
}else if(J==G){return B;
}}},destruct:function(){this._disposeObjects(u);
}});
})();
(function(){var e="edge-start",d="align-start",c="align-end",b="edge-end",a="qx.util.placement.AbstractAxis";
qx.Class.define(a,{extend:qx.core.Object,members:{computeStart:function(j,k,l,m,n){throw new Error("abstract method call!");
},_moveToEdgeAndAlign:function(f,g,h,i){switch(i){case e:return g.start-h.end-f;
case b:return g.end+h.start;
case d:return g.start+h.start;
case c:return g.end-h.end-f;
}},_isInRange:function(o,p,q){return o>=0&&o+p<=q;
}}});
})();
(function(){var f="qx.util.placement.DirectAxis";
qx.Class.define(f,{extend:qx.util.placement.AbstractAxis,members:{computeStart:function(a,b,c,d,e){return this._moveToEdgeAndAlign(a,b,c,e);
}}});
})();
(function(){var c="qx.util.placement.KeepAlignAxis",b="edge-start",a="edge-end";
qx.Class.define(c,{extend:qx.util.placement.AbstractAxis,members:{computeStart:function(d,e,f,g,h){var i=this._moveToEdgeAndAlign(d,e,f,h);
var j,k;

if(this._isInRange(i,d,g)){return i;
}
if(h==b||h==a){j=e.start-f.end;
k=e.end+f.start;
}else{j=e.end-f.end;
k=e.start+f.start;
}
if(j>g-k){i=j-d;
}else{i=k;
}return i;
}}});
})();
(function(){var a="qx.util.placement.BestFitAxis";
qx.Class.define(a,{extend:qx.util.placement.AbstractAxis,members:{computeStart:function(b,c,d,e,f){var g=this._moveToEdgeAndAlign(b,c,d,f);

if(this._isInRange(g,b,e)){return g;
}
if(g<0){g=Math.min(0,e-b);
}
if(g+b>e){g=Math.max(0,e-b);
}return g;
}}});
})();
(function(){var m="mousedown",l="blur",k="__ja",j="singleton",i="qx.ui.popup.Manager";
qx.Class.define(i,{type:j,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
this.__ja={};
qx.event.Registration.addListener(document.documentElement,m,this.__jc,this,true);
qx.bom.Element.addListener(window,l,this.hideAll,this);
},members:{__ja:null,add:function(f){{};
this.__ja[f.$$hash]=f;
this.__jb();
},remove:function(n){{};
var o=this.__ja;

if(o){delete o[n.$$hash];
this.__jb();
}},hideAll:function(){var h=this.__ja;

if(h){for(var g in h){h[g].exclude();
}}},__jb:function(){var r=1e7;
var q=this.__ja;

for(var p in q){q[p].setZIndex(r++);
}},__jc:function(e){var c=qx.ui.core.Widget.getWidgetByElement(e.getTarget());
var d=this.__ja;

for(var b in d){var a=d[b];

if(!a.getAutoHide()||c==a||qx.ui.core.Widget.contains(a,c)){continue;
}a.exclude();
}}},destruct:function(){qx.event.Registration.removeListener(document.documentElement,m,this.__jc,this,true);
this._disposeMap(k);
}});
})();
(function(){var d="abstract",c="qx.ui.layout.Abstract";
qx.Class.define(c,{type:d,extend:qx.core.Object,members:{__jd:null,_invalidChildrenCache:null,__je:null,invalidateLayoutCache:function(){this.__jd=null;
},renderLayout:function(f,g){this.warn("Missing renderLayout() implementation!");
},getSizeHint:function(){if(this.__jd){return this.__jd;
}return this.__jd=this._computeSizeHint();
},hasHeightForWidth:function(){return false;
},getHeightForWidth:function(a){this.warn("Missing getHeightForWidth() implementation!");
return null;
},_computeSizeHint:function(){return null;
},invalidateChildrenCache:function(){this._invalidChildrenCache=true;
},verifyLayoutProperty:null,_clearSeparators:function(){var b=this.__je;

if(b instanceof qx.ui.core.LayoutItem){b.clearSeparators();
}},_renderSeparator:function(h,i){this.__je.renderSeparator(h,i);
},connectToWidget:function(e){if(e&&this.__je){throw new Error("It is not possible to manually set the connected widget.");
}this.__je=e;
this.invalidateChildrenCache();
},_getWidget:function(){return this.__je;
},_applyLayoutChange:function(){if(this.__je){this.__je.scheduleLayoutUpdate();
}},_getLayoutChildren:function(){return this.__je.getLayoutChildren();
}},destruct:function(){this.__je=this.__jd=null;
}});
})();
(function(){var k="qx.ui.layout.Grow";
qx.Class.define(k,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:null,renderLayout:function(m,n){var r=this._getLayoutChildren();
var q,s,p,o;
for(var i=0,l=r.length;i<l;i++){q=r[i];
s=q.getSizeHint();
p=m;

if(p<s.minWidth){p=s.minWidth;
}else if(p>s.maxWidth){p=s.maxWidth;
}o=n;

if(o<s.minHeight){o=s.minHeight;
}else if(o>s.maxHeight){o=s.maxHeight;
}q.renderLayout(0,0,p,o);
}},_computeSizeHint:function(){var g=this._getLayoutChildren();
var e,j;
var h=0,f=0;
var d=0,b=0;
var a=Infinity,c=Infinity;
for(var i=0,l=g.length;i<l;i++){e=g[i];
j=e.getSizeHint();
h=Math.max(h,j.width);
f=Math.max(f,j.height);
d=Math.max(d,j.minWidth);
b=Math.max(b,j.minHeight);
a=Math.min(a,j.maxWidth);
c=Math.min(c,j.maxHeight);
}return {width:h,height:f,minWidth:d,minHeight:b,maxWidth:a,maxHeight:c};
}}});
})();
(function(){var q="label",p="icon",o="Boolean",n="both",m="String",l="left",k="changeGap",j="changeShow",i="bottom",h="_applyCenter",D="changeIcon",C="qx.ui.basic.Atom",B="changeLabel",A="Integer",z="_applyIconPosition",y="top",x="right",w="_applyRich",v="_applyIcon",u="_applyShow",s="_applyLabel",t="_applyGap",r="atom";
qx.Class.define(C,{extend:qx.ui.core.Widget,construct:function(E,F){{};
qx.ui.core.Widget.call(this);
this._setLayout(new qx.ui.layout.Atom());

if(E!=null){this.setLabel(E);
}
if(F!=null){this.setIcon(F);
}},properties:{appearance:{refine:true,init:r},label:{apply:s,nullable:true,check:m,event:B},rich:{check:o,init:false,apply:w},icon:{check:m,apply:v,nullable:true,themeable:true,event:D},gap:{check:A,nullable:false,event:k,apply:t,themeable:true,init:4},show:{init:n,check:[n,q,p],themeable:true,inheritable:true,apply:u,event:j},iconPosition:{init:l,check:[y,x,i,l],themeable:true,apply:z},center:{init:false,check:o,themeable:true,apply:h}},members:{_createChildControlImpl:function(f){var g;

switch(f){case q:g=new qx.ui.basic.Label(this.getLabel());
g.setAnonymous(true);
g.setRich(this.getRich());
this._add(g);

if(this.getLabel()==null||this.getShow()===p){g.exclude();
}break;
case p:g=new qx.ui.basic.Image(this.getIcon());
g.setAnonymous(true);
this._addAt(g,0);

if(this.getIcon()==null||this.getShow()===q){g.exclude();
}break;
}return g||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,f);
},_forwardStates:{focused:true,hovered:true},_handleLabel:function(){if(this.getLabel()==null||this.getShow()===p){this._excludeChildControl(q);
}else{this._showChildControl(q);
}},_handleIcon:function(){if(this.getIcon()==null||this.getShow()===q){this._excludeChildControl(p);
}else{this._showChildControl(p);
}},_applyLabel:function(N,O){var P=this.getChildControl(q,true);

if(P){P.setValue(N);
}this._handleLabel();
},_applyRich:function(G,H){var I=this.getChildControl(q,true);

if(I){I.setRich(G);
}},_applyIcon:function(c,d){var e=this.getChildControl(p,true);

if(e){e.setSource(c);
}this._handleIcon();
},_applyGap:function(L,M){this._getLayout().setGap(L);
},_applyShow:function(J,K){this._handleLabel();
this._handleIcon();
},_applyIconPosition:function(a,b){this._getLayout().setIconPosition(a);
},_applyCenter:function(Q,R){this._getLayout().setCenter(Q);
}}});
})();
(function(){var k="bottom",j="_applyLayoutChange",h="top",g="left",f="right",e="middle",d="center",c="qx.ui.layout.Atom",b="Integer",a="Boolean";
qx.Class.define(c,{extend:qx.ui.layout.Abstract,properties:{gap:{check:b,init:4,apply:j},iconPosition:{check:[g,h,f,k],init:g,apply:j},center:{check:a,init:false,apply:j}},members:{verifyLayoutProperty:null,renderLayout:function(w,x){var G=qx.ui.layout.Util;
var z=this.getIconPosition();
var C=this._getLayoutChildren();
var length=C.length;
var Q,top,P,A;
var L,F;
var J=this.getGap();
var O=this.getCenter();
if(z===k||z===f){var H=length-1;
var D=-1;
var B=-1;
}else{var H=0;
var D=length;
var B=1;
}if(z==h||z==k){if(O){var K=0;

for(var i=H;i!=D;i+=B){A=C[i].getSizeHint().height;

if(A>0){K+=A;

if(i!=H){K+=J;
}}}top=Math.round((x-K)/2);
}else{top=0;
}
for(var i=H;i!=D;i+=B){L=C[i];
F=L.getSizeHint();
P=Math.min(F.maxWidth,Math.max(w,F.minWidth));
A=F.height;
Q=G.computeHorizontalAlignOffset(d,P,w);
L.renderLayout(Q,top,P,A);
if(A>0){top+=A+J;
}}}else{var E=w;
var y=null;
var N=0;

for(var i=H;i!=D;i+=B){L=C[i];
P=L.getSizeHint().width;

if(P>0){if(!y&&L instanceof qx.ui.basic.Label){y=L;
}else{E-=P;
}N++;
}}
if(N>1){var M=(N-1)*J;
E-=M;
}
if(y){var F=y.getSizeHint();
var I=Math.max(F.minWidth,Math.min(E,F.maxWidth));
E-=I;
}
if(O&&E>0){Q=Math.round(E/2);
}else{Q=0;
}
for(var i=H;i!=D;i+=B){L=C[i];
F=L.getSizeHint();
A=Math.min(F.maxHeight,Math.max(x,F.minHeight));

if(L===y){P=I;
}else{P=F.width;
}top=G.computeVerticalAlignOffset(e,F.height,x);
L.renderLayout(Q,top,P,A);
if(P>0){Q+=P+J;
}}}},_computeSizeHint:function(){var v=this._getLayoutChildren();
var length=v.length;
var n,t;
if(length===1){var n=v[0].getSizeHint();
t={width:n.width,height:n.height,minWidth:n.minWidth,minHeight:n.minHeight};
}else{var r=0,s=0;
var o=0,q=0;
var p=this.getIconPosition();
var u=this.getGap();

if(p===h||p===k){var l=0;

for(var i=0;i<length;i++){n=v[i].getSizeHint();
s=Math.max(s,n.width);
r=Math.max(r,n.minWidth);
if(n.height>0){q+=n.height;
o+=n.minHeight;
l++;
}}
if(l>1){var m=(l-1)*u;
q+=m;
o+=m;
}}else{var l=0;

for(var i=0;i<length;i++){n=v[i].getSizeHint();
q=Math.max(q,n.height);
o=Math.max(o,n.minHeight);
if(n.width>0){s+=n.width;
r+=n.minWidth;
l++;
}}
if(l>1){var m=(l-1)*u;
s+=m;
r+=m;
}}t={minWidth:r,width:s,minHeight:o,height:q};
}return t;
}}});
})();
(function(){var G="middle",F="qx.ui.layout.Util",E="left",D="center",C="top",B="bottom",A="right";
qx.Class.define(F,{statics:{PERCENT_VALUE:/[0-9]+(?:\.[0-9]+)?%/,computeFlexOffsets:function(H,I,J){var L,P,K,Q;
var M=I>J;
var R=Math.abs(I-J);
var S,N;
var O={};

for(P in H){L=H[P];
O[P]={potential:M?L.max-L.value:L.value-L.min,flex:M?L.flex:1/L.flex,offset:0};
}while(R!=0){Q=Infinity;
K=0;

for(P in O){L=O[P];

if(L.potential>0){K+=L.flex;
Q=Math.min(Q,L.potential/L.flex);
}}if(K==0){break;
}Q=Math.min(R,Q*K)/K;
S=0;

for(P in O){L=O[P];

if(L.potential>0){N=Math.min(R,L.potential,Math.ceil(Q*L.flex));
S+=N-Q*L.flex;

if(S>=1){S-=1;
N-=1;
}L.potential-=N;

if(M){L.offset+=N;
}else{L.offset-=N;
}R-=N;
}}}return O;
},computeHorizontalAlignOffset:function(u,v,w,x,y){if(x==null){x=0;
}
if(y==null){y=0;
}var z=0;

switch(u){case E:z=x;
break;
case A:z=w-v-y;
break;
case D:z=Math.round((w-v)/2);
if(z<x){z=x;
}else if(z<y){z=Math.max(x,w-v-y);
}break;
}return z;
},computeVerticalAlignOffset:function(a,b,c,d,e){if(d==null){d=0;
}
if(e==null){e=0;
}var f=0;

switch(a){case C:f=d;
break;
case B:f=c-b-e;
break;
case G:f=Math.round((c-b)/2);
if(f<d){f=d;
}else if(f<e){f=Math.max(d,c-b-e);
}break;
}return f;
},collapseMargins:function(bm){var bn=0,bp=0;

for(var i=0,l=arguments.length;i<l;i++){var bo=arguments[i];

if(bo<0){bp=Math.min(bp,bo);
}else if(bo>0){bn=Math.max(bn,bo);
}}return bn+bp;
},computeHorizontalGaps:function(T,U,V){if(U==null){U=0;
}var W=0;

if(V){W+=T[0].getMarginLeft();

for(var i=1,l=T.length;i<l;i+=1){W+=this.collapseMargins(U,T[i-1].getMarginRight(),T[i].getMarginLeft());
}W+=T[l-1].getMarginRight();
}else{for(var i=1,l=T.length;i<l;i+=1){W+=T[i].getMarginLeft()+T[i].getMarginRight();
}W+=(U*(l-1));
}return W;
},computeVerticalGaps:function(g,h,j){if(h==null){h=0;
}var k=0;

if(j){k+=g[0].getMarginTop();

for(var i=1,l=g.length;i<l;i+=1){k+=this.collapseMargins(h,g[i-1].getMarginBottom(),g[i].getMarginTop());
}k+=g[l-1].getMarginBottom();
}else{for(var i=1,l=g.length;i<l;i+=1){k+=g[i].getMarginTop()+g[i].getMarginBottom();
}k+=(h*(l-1));
}return k;
},computeHorizontalSeparatorGaps:function(X,Y,ba){var bd=qx.theme.manager.Decoration.getInstance().resolve(ba);
var bc=bd.getInsets();
var bb=bc.left+bc.right;
var be=0;

for(var i=0,l=X.length;i<l;i++){var bf=X[i];
be+=bf.getMarginLeft()+bf.getMarginRight();
}be+=(Y+bb+Y)*(l-1);
return be;
},computeVerticalSeparatorGaps:function(m,n,o){var r=qx.theme.manager.Decoration.getInstance().resolve(o);
var q=r.getInsets();
var p=q.top+q.bottom;
var s=0;

for(var i=0,l=m.length;i<l;i++){var t=m[i];
s+=t.getMarginTop()+t.getMarginBottom();
}s+=(n+p+n)*(l-1);
return s;
},arrangeIdeals:function(bg,bh,bi,bj,bk,bl){if(bh<bg||bk<bj){if(bh<bg&&bk<bj){bh=bg;
bk=bj;
}else if(bh<bg){bk-=(bg-bh);
bh=bg;
if(bk<bj){bk=bj;
}}else if(bk<bj){bh-=(bj-bk);
bk=bj;
if(bh<bg){bh=bg;
}}}
if(bh>bi||bk>bl){if(bh>bi&&bk>bl){bh=bi;
bk=bl;
}else if(bh>bi){bk+=(bh-bi);
bh=bi;
if(bk>bl){bk=bl;
}}else if(bk>bl){bh+=(bk-bl);
bk=bl;
if(bh>bi){bh=bi;
}}}return {begin:bh,end:bk};
}}});
})();
(function(){var b="qx.event.type.Data",a="qx.ui.form.IStringForm";
qx.Interface.define(a,{events:{"changeValue":b},members:{setValue:function(c){return arguments.length==1;
},resetValue:function(){},getValue:function(){}}});
})();
(function(){var q="qx.dynlocale",p="text",o="Boolean",n="qx.client",m="color",l="userSelect",k="changeLocale",j="enabled",i="none",h="on",L="_applyTextAlign",K="qx.ui.core.Widget",J="gecko",I="changeTextAlign",H="_applyWrap",G="changeValue",F="changeContent",E="qx.ui.basic.Label",D="A",C="_applyValue",x="center",y="_applyBuddy",v="String",w="textAlign",t="right",u="changeRich",r="_applyRich",s="click",z="label",A="webkit",B="left";
qx.Class.define(E,{extend:qx.ui.core.Widget,implement:[qx.ui.form.IStringForm],construct:function(O){qx.ui.core.Widget.call(this);

if(O!=null){this.setValue(O);
}
if(qx.core.Variant.isSet(q,h)){qx.locale.Manager.getInstance().addListener(k,this._onChangeLocale,this);
}},properties:{rich:{check:o,init:false,event:u,apply:r},wrap:{check:o,init:true,apply:H},value:{check:v,apply:C,event:G,nullable:true},buddy:{check:K,apply:y,nullable:true,init:null},textAlign:{check:[B,x,t],nullable:true,themeable:true,apply:L,event:I},appearance:{refine:true,init:z},selectable:{refine:true,init:false},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false},allowShrinkY:{refine:true,init:false}},members:{__jf:null,__jg:null,__jh:null,__ji:null,_getContentHint:function(){if(this.__jg){this.__jj=this.__jk();
delete this.__jg;
}return {width:this.__jj.width,height:this.__jj.height};
},_hasHeightForWidth:function(){return this.getRich()&&this.getWrap();
},_applySelectable:function(bc){if(qx.core.Variant.isSet(n,J)){if(bc&&!this.isRich()){{};
return;
}}qx.ui.core.Widget.prototype._applySelectable.call(this,bc);
if(qx.core.Variant.isSet(n,A)){this.getContainerElement().setStyle(l,bc?p:i);
this.getContentElement().setStyle(l,bc?p:i);
}},_getContentHeightForWidth:function(bd){if(!this.getRich()&&!this.getWrap()){return null;
}return this.__jk(bd).height;
},_createContentElement:function(){return new qx.html.Label;
},_applyTextAlign:function(R,S){this.getContentElement().setStyle(w,R);
},_applyTextColor:function(M,N){if(M){this.getContentElement().setStyle(m,qx.theme.manager.Color.getInstance().resolve(M));
}else{this.getContentElement().removeStyle(m);
}},__jj:{width:0,height:0},_applyFont:function(T,U){var V;

if(T){this.__jf=qx.theme.manager.Font.getInstance().resolve(T);
V=this.__jf.getStyles();
}else{this.__jf=null;
V=qx.bom.Font.getDefaultStyles();
}this.getContentElement().setStyles(V);
this.__jg=true;
qx.ui.core.queue.Layout.add(this);
},__jk:function(a){var f=qx.bom.Label;
var c=this.getFont();
var b=c?this.__jf.getStyles():qx.bom.Font.getDefaultStyles();
var content=this.getValue()||D;
var d=this.getRich();
return d?f.getHtmlSize(content,b,a):f.getTextSize(content,b);
},_applyBuddy:function(W,X){if(X!=null){X.removeBinding(this.__jh);
this.__jh=null;
this.removeListenerById(this.__ji);
this.__ji=null;
}
if(W!=null){this.__jh=W.bind(j,this,j);
this.__ji=this.addListener(s,W.focus,W);
}},_applyRich:function(g){this.getContentElement().setRich(g);
this.__jg=true;
qx.ui.core.queue.Layout.add(this);
},_applyWrap:function(Y,ba){if(Y&&!this.isRich()){{};
}},_onChangeLocale:qx.core.Variant.select(q,{"on":function(e){var content=this.getValue();

if(content&&content.translate){this.setValue(content.translate());
}},"off":null}),_applyValue:function(P,Q){this.getContentElement().setValue(P);
this.__jg=true;
qx.ui.core.queue.Layout.add(this);
this.fireDataEvent(F,P,Q);
}},destruct:function(){if(qx.core.Variant.isSet(q,h)){qx.locale.Manager.getInstance().removeListener(k,this._onChangeLocale,this);
}if(this.__jh!=null){var bb=this.getBuddy();

if(bb!=null&&!bb.isDisposed()){bb.removeBinding(this.__jh);
}}this.__jf=this.__jh=null;
}});
})();
(function(){var i="value",h="Please use the getValue() method instead.",g="qx.html.Label",f="Please use the setValue() method instead.";
qx.Class.define(g,{extend:qx.html.Element,members:{__jl:null,_applyProperty:function(name,b){qx.html.Element.prototype._applyProperty.call(this,name,b);

if(name==i){var c=this.getDomElement();
qx.bom.Label.setValue(c,b);
}},_createDomElement:function(){var e=this.__jl;
var d=qx.bom.Label.create(this._content,e);
return d;
},_copyData:function(m){return qx.html.Element.prototype._copyData.call(this,true);
},setRich:function(j){var k=this.getDomElement();

if(k){throw new Error("The label mode cannot be modified after initial creation");
}j=!!j;

if(this.__jl==j){return;
}this.__jl=j;
return this;
},setValue:function(l){this._setProperty(i,l);
return this;
},getValue:function(){return this._getProperty(i);
},setContent:function(a){qx.log.Logger.deprecatedMethodWarning(arguments.callee,f);
return this.setValue(a);
},getContent:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,h);
return this.getValue();
}}});
})();
(function(){var r="qx.client",q="gecko",p="div",o="inherit",n="text",m="value",l="",k="hidden",j="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",i="nowrap",J="auto",I="0",H="ellipsis",G="normal",F="label",E="px",D="crop",C="end",B="100%",A="visible",y="qx.bom.Label",z="Please use the setValue() method instead.",w="opera",x="Please use the getValue() method instead.",u="block",v="none",s="-1000px",t="absolute";
qx.Class.define(y,{statics:{__jm:{fontFamily:1,fontSize:1,fontWeight:1,fontStyle:1,lineHeight:1},__jn:function(){var U=this.__jp(false);
document.body.insertBefore(U,document.body.firstChild);
return this._textElement=U;
},__jo:function(){var V=this.__jp(true);
document.body.insertBefore(V,document.body.firstChild);
return this._htmlElement=V;
},__jp:function(d){var e=qx.bom.Element.create(p);
var f=e.style;
f.width=f.height=J;
f.left=f.top=s;
f.visibility=k;
f.position=t;
f.overflow=A;

if(d){f.whiteSpace=G;
}else{f.whiteSpace=i;

if(qx.core.Variant.isSet(r,q)){var g=document.createElementNS(j,F);
var f=g.style;
f.padding=I;

for(var h in this.__jm){f[h]=o;
}e.appendChild(g);
}}return e;
},__jq:function(Q){var R={};

if(Q){R.whiteSpace=G;
}else if(qx.core.Variant.isSet(r,q)){R.display=u;
}else{R.overflow=k;
R.whiteSpace=i;
R.textOverflow=H;
R.userSelect=v;
if(qx.core.Variant.isSet(r,w)){R.OTextOverflow=H;
}}return R;
},create:function(content,K,L){if(!L){L=window;
}
if(K){var M=L.document.createElement(p);
M.useHtml=true;
}else if(qx.core.Variant.isSet(r,q)){var M=L.document.createElement(p);
var O=L.document.createElementNS(j,F);
var N=O.style;
N.cursor=o;
N.color=o;
N.overflow=k;
N.maxWidth=B;
N.padding=I;
for(var P in this.__jm){O.style[P]=o;
}O.setAttribute(D,C);
M.appendChild(O);
}else{var M=L.document.createElement(p);
qx.bom.element.Style.setStyles(M,this.__jq(K));
}
if(content){this.setValue(M,content);
}return M;
},setValue:function(S,T){T=T||l;

if(S.useHtml){S.innerHTML=T;
}else if(qx.core.Variant.isSet(r,q)){S.firstChild.setAttribute(m,T);
}else{qx.bom.element.Attribute.set(S,n,T);
}},getValue:function(c){if(c.useHtml){return c.innerHTML;
}else if(qx.core.Variant.isSet(r,q)){return c.firstChild.getAttribute(m)||l;
}else{return qx.bom.element.Attribute.get(c,n);
}},getHtmlSize:function(content,bg,bh){var bi=this._htmlElement||this.__jo();
bi.style.width=bh!==undefined?bh+E:J;
bi.innerHTML=content;
return this.__jr(bi,bg);
},getTextSize:function(W,X){var Y=this._textElement||this.__jn();

if(qx.core.Variant.isSet(r,q)){Y.firstChild.setAttribute(m,W);
}else{qx.bom.element.Attribute.set(Y,n,W);
}return this.__jr(Y,X);
},__jr:function(ba,bb){var bc=this.__jm;

if(!bb){bb={};
}
for(var bd in bc){ba.style[bd]=bb[bd]||l;
}var be=qx.bom.element.Dimension.getSize(ba);

if(qx.core.Variant.isSet(r,q)){if(!qx.bom.client.Platform.WIN){be.width++;
}}return be;
},setContent:function(a,b){qx.log.Logger.deprecatedMethodWarning(arguments.callee,z);
this.setValue(a,b);
},getContent:function(bf){qx.log.Logger.deprecatedMethodWarning(arguments.callee,x);
return this.getValue(bf);
}}});
})();
(function(){var x="0px",w="mshtml",v="qx.client",u="qx.bom.element.Dimension",t="paddingRight",s="paddingLeft",r="paddingTop",q="paddingBottom";
qx.Class.define(u,{statics:{getWidth:qx.core.Variant.select(v,{"gecko":function(A){if(A.getBoundingClientRect){var B=A.getBoundingClientRect();
return Math.round(B.right)-Math.round(B.left);
}else{return A.offsetWidth;
}},"default":function(p){return p.offsetWidth;
}}),getHeight:qx.core.Variant.select(v,{"gecko":function(y){if(y.getBoundingClientRect){var z=y.getBoundingClientRect();
return Math.round(z.bottom)-Math.round(z.top);
}else{return y.offsetHeight;
}},"default":function(D){return D.offsetHeight;
}}),getSize:function(C){return {width:this.getWidth(C),height:this.getHeight(C)};
},__js:{visible:true,hidden:true},getContentWidth:function(i){var k=qx.bom.element.Style;
var l=qx.bom.element.Overflow.getX(i);
var m=parseInt(k.get(i,s)||x,10);
var o=parseInt(k.get(i,t)||x,10);

if(this.__js[l]){return i.clientWidth-m-o;
}else{if(i.clientWidth>=i.scrollWidth){return Math.max(i.clientWidth,i.scrollWidth)-m-o;
}else{var n=i.scrollWidth-m;
var j=qx.bom.client.Engine;

if(j.NAME===w&&j.VERSION==6){n-=o;
}return n;
}}},getContentHeight:function(b){var d=qx.bom.element.Style;
var f=qx.bom.element.Overflow.getY(b);
var g=parseInt(d.get(b,r)||x,10);
var e=parseInt(d.get(b,q)||x,10);

if(this.__js[f]){return b.clientHeight-g-e;
}else{if(b.clientHeight>=b.scrollHeight){return Math.max(b.clientHeight,b.scrollHeight)-g-e;
}else{var h=b.scrollHeight-g;
var c=qx.bom.client.Engine;

if(c.NAME===w&&c.VERSION==6){h-=e;
}return h;
}}},getContentSize:function(a){return {width:this.getContentWidth(a),height:this.getContentHeight(a)};
}}});
})();
(function(){var c="qx.event.type.Data",b="qx.ui.form.IForm";
qx.Interface.define(b,{events:{"changeEnabled":c,"changeValid":c,"changeInvalidMessage":c,"changeRequired":c},members:{setEnabled:function(a){return arguments.length==1;
},getEnabled:function(){},setRequired:function(f){return arguments.length==1;
},getRequired:function(){},setValid:function(d){return arguments.length==1;
},getValid:function(){},setInvalidMessage:function(e){return arguments.length==1;
},getInvalidMessage:function(){}}});
})();
(function(){var j="Use 'getBlocker().getContentBlockerElement()' instead.",i="Use 'getBlocker().getBlockerElement()' instead.",h="_applyBlockerColor",g="Number",f="__jt",e="qx.ui.core.MBlocker",d="_applyBlockerOpacity",c="Color";
qx.Mixin.define(e,{construct:function(){this.__jt=new qx.ui.core.Blocker(this);
},properties:{blockerColor:{check:c,init:null,nullable:true,apply:h,themeable:true},blockerOpacity:{check:g,init:1,apply:d,themeable:true}},members:{__jt:null,_applyBlockerColor:function(a,b){this.__jt.setColor(a);
},_applyBlockerOpacity:function(l,m){this.__jt.setOpacity(l);
},block:function(){this.__jt.block();
},isBlocked:function(){return this.__jt.isBlocked();
},unblock:function(){this.__jt.unblock();
},forceUnblock:function(){this.__jt.forceUnblock();
},blockContent:function(k){this.__jt.blockContent(k);
},isContentBlocked:function(){return this.__jt.isContentBlocked();
},unblockContent:function(){this.__jt.unblockContent();
},forceUnblockContent:function(){this.__jt.forceUnblockContent();
},_getContentBlocker:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,j);
return this.__jt.getContentBlockerElement();
},_getBlocker:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,i);
return this.__jt.getBlockerElement();
},getBlocker:function(){return this.__jt;
}},destruct:function(){this._disposeObjects(f);
}});
})();
(function(){var i="qx.ui.window.Window",h="changeModal",g="changeVisibility",f="changeActive",d="_applyActiveWindow",c="__ju",b="__jv",a="qx.ui.window.MDesktop";
qx.Mixin.define(a,{properties:{activeWindow:{check:i,apply:d,init:null,nullable:true}},members:{__ju:null,__jv:null,getWindowManager:function(){if(!this.__jv){this.setWindowManager(new qx.ui.window.Window.DEFAULT_MANAGER_CLASS());
}return this.__jv;
},supportsMaximize:function(){return true;
},setWindowManager:function(o){if(this.__jv){this.__jv.setDesktop(null);
}o.setDesktop(this);
this.__jv=o;
},_onChangeActive:function(e){if(e.getData()){this.setActiveWindow(e.getTarget());
}else if(this.getActiveWindow()==e.getTarget()){this.setActiveWindow(null);
}},_applyActiveWindow:function(j,k){this.getWindowManager().changeActiveWindow(j,k);

if(j){j.setActive(true);
}
if(k){k.resetActive();
}},_onChangeModal:function(e){this.getWindowManager().updateStack();
},_onChangeVisibility:function(){this.getWindowManager().updateStack();
},_afterAddChild:function(p){if(qx.Class.isDefined(i)&&p instanceof qx.ui.window.Window){this._addWindow(p);
}},_addWindow:function(m){if(!qx.lang.Array.contains(this.getWindows(),m)){this.getWindows().push(m);
m.addListener(f,this._onChangeActive,this);
m.addListener(h,this._onChangeModal,this);
m.addListener(g,this._onChangeVisibility,this);
}
if(m.getActive()){this.setActiveWindow(m);
}this.getWindowManager().updateStack();
},_afterRemoveChild:function(l){if(qx.Class.isDefined(i)&&l instanceof qx.ui.window.Window){this._removeWindow(l);
}},_removeWindow:function(n){qx.lang.Array.remove(this.getWindows(),n);
n.removeListener(f,this._onChangeActive,this);
n.removeListener(h,this._onChangeModal,this);
n.removeListener(g,this._onChangeVisibility,this);
this.getWindowManager().updateStack();
},getWindows:function(){if(!this.__ju){this.__ju=[];
}return this.__ju;
}},destruct:function(){this._disposeArray(c);
this._disposeObjects(b);
}});
})();
(function(){var v="contextmenu",u="help",t="qx.client",s="changeGlobalCursor",r="abstract",q="Boolean",p="root",o="",n=" !important",m="_applyGlobalCursor",j="_applyNativeHelp",l=";",k="qx.ui.root.Abstract",i="String",h="*";
qx.Class.define(k,{type:r,extend:qx.ui.core.Widget,include:[qx.ui.core.MChildrenHandling,qx.ui.core.MBlocker,qx.ui.window.MDesktop],construct:function(){qx.ui.core.Widget.call(this);
qx.ui.core.FocusHandler.getInstance().addRoot(this);
qx.ui.core.queue.Visibility.add(this);
this.initNativeHelp();
},properties:{appearance:{refine:true,init:p},enabled:{refine:true,init:true},focusable:{refine:true,init:true},globalCursor:{check:i,nullable:true,themeable:true,apply:m,event:s},nativeContextMenu:{refine:true,init:false},nativeHelp:{check:q,init:false,apply:j}},members:{__jw:null,isRootWidget:function(){return true;
},getLayout:function(){return this._getLayout();
},_applyGlobalCursor:qx.core.Variant.select(t,{"mshtml":function(y,z){},"default":function(a,b){var c=qx.bom.Stylesheet;
var d=this.__jw;

if(!d){this.__jw=d=c.createElement();
}c.removeAllRules(d);

if(a){c.addRule(d,h,qx.bom.element.Cursor.compile(a).replace(l,o)+n);
}}}),_applyNativeContextMenu:function(w,x){if(w){this.removeListener(v,this._onNativeContextMenu,this,true);
}else{this.addListener(v,this._onNativeContextMenu,this,true);
}},_onNativeContextMenu:function(e){if(e.getTarget().getNativeContextMenu()){return;
}e.preventDefault();
},_applyNativeHelp:qx.core.Variant.select(t,{"mshtml":function(f,g){if(g===false){qx.bom.Event.removeNativeListener(document,u,qx.lang.Function.returnFalse);
}
if(f===false){qx.bom.Event.addNativeListener(document,u,qx.lang.Function.returnFalse);
}},"default":function(){}})},destruct:function(){this.__jw=null;
},defer:function(A,B){qx.ui.core.MChildrenHandling.remap(B);
}});
})();
(function(){var v="resize",u="position",t="0px",s="webkit",r="paddingLeft",q="$$widget",p="qx.ui.root.Application",o="hidden",n="qx.client",m="div",j="paddingTop",l="100%",k="absolute";
qx.Class.define(p,{extend:qx.ui.root.Abstract,construct:function(y){this.__jx=qx.dom.Node.getWindow(y);
this.__jy=y;
qx.ui.root.Abstract.call(this);
qx.event.Registration.addListener(this.__jx,v,this._onResize,this);
this._setLayout(new qx.ui.layout.Canvas());
qx.ui.core.queue.Layout.add(this);
qx.ui.core.FocusHandler.getInstance().connectTo(this);
this.getContentElement().disableScrolling();
},members:{__jx:null,__jy:null,_createContainerElement:function(){var d=this.__jy;
if(qx.core.Variant.isSet(n,s)){if(!d.body){alert("The application could not be started due to a missing body tag in the HTML file!");
}}var i=d.documentElement.style;
var f=d.body.style;
i.overflow=f.overflow=o;
i.padding=i.margin=f.padding=f.margin=t;
i.width=i.height=f.width=f.height=l;
var h=d.createElement(m);
d.body.appendChild(h);
var g=new qx.html.Root(h);
g.setStyle(u,k);
g.setAttribute(q,this.toHashCode());
return g;
},_onResize:function(e){qx.ui.core.queue.Layout.add(this);
},_computeSizeHint:function(){var z=qx.bom.Viewport.getWidth(this.__jx);
var A=qx.bom.Viewport.getHeight(this.__jx);
return {minWidth:z,width:z,maxWidth:z,minHeight:A,height:A,maxHeight:A};
},_applyPadding:function(w,x,name){if(w&&(name==j||name==r)){throw new Error("The root widget does not support 'left', or 'top' paddings!");
}qx.ui.root.Abstract.prototype._applyPadding.call(this,w,x,name);
},_applyDecorator:function(a,b){qx.ui.root.Abstract.prototype._applyDecorator.call(this,a,b);

if(!a){return;
}var c=this.getDecoratorElement().getInsets();

if(c.left||c.top){throw new Error("The root widget does not support decorators with 'left', or 'top' insets!");
}}},destruct:function(){this.__jx=this.__jy=null;
}});
})();
(function(){var I="zIndex",H="px",G="keydown",F="deactivate",E="This method is not needed anymore.",D="resize",C="keyup",B="keypress",A="backgroundColor",z="_applyOpacity",V="__jC",U="Use 'getBlockerElement' instead.",T="__jE",S="opacity",R="interval",Q="Tab",P="Color",O="qx.ui.root.Page",N="__jH",M="Use 'getContentBlockerElement' instead.",K="Number",L="qx.ui.core.Blocker",J="_applyColor";
qx.Class.define(L,{extend:qx.core.Object,construct:function(h){qx.core.Object.call(this);
this._widget=h;
this._isPageRoot=(qx.Class.isDefined(O)&&h instanceof qx.ui.root.Page);

if(this._isPageRoot){h.addListener(D,this.__jI,this);
}this.__jz=[];
this.__jA=[];
this.__jB=[];
},properties:{color:{check:P,init:null,nullable:true,apply:J,themeable:true},opacity:{check:K,init:1,apply:z,themeable:true}},members:{__jC:null,__jD:0,__jE:null,__jB:null,__jz:null,__jA:null,__jF:null,__jG:0,__jH:null,_isPageRoot:false,_widget:null,__jI:function(e){var l=e.getData();

if(this.isContentBlocked()){this.getContentBlockerElement().setStyles({width:l.width,height:l.height});
}
if(this.isBlocked()){this.getBlockerElement().setStyles({width:l.width,height:l.height});
}},_applyColor:function(t,u){var v=qx.theme.manager.Color.getInstance().resolve(t);
this.__jJ(A,v);
},_applyOpacity:function(o,p){this.__jJ(S,o);
},__jJ:function(c,d){var f=[];
this.__jC&&f.push(this.__jC);
this.__jE&&f.push(this.__jE);

for(var i=0;i<f.length;i++){f[i].setStyle(c,d);
}},_saveAndSetAnonymousState:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,E);
this.__jG+=1;

if(this.__jG==1){this.__jF=this._widget.getAnonymous();
this._widget.setAnonymous(true);
}},_restoreAnonymousState:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,E);
this.__jG-=1;

if(this.__jG==0){this._widget.setAnonymous(this.__jF);
}},_backupActiveWidget:function(){var n=qx.event.Registration.getManager(window).getHandler(qx.event.handler.Focus);
this.__jz.push(n.getActive());
this.__jA.push(n.getFocus());

if(this._widget.isFocusable()){this._widget.focus();
}},_restoreActiveWidget:function(){var y=this.__jz.length;

if(y>0){var x=this.__jz[y-1];

if(x){qx.bom.Element.activate(x);
}this.__jz.pop();
}var w=this.__jA.length;

if(w>0){var x=this.__jA[w-1];

if(x){qx.bom.Element.focus(this.__jA[w-1]);
}this.__jA.pop();
}},__jK:function(){return new qx.html.Blocker(this.getColor(),this.getOpacity());
},_getBlocker:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,U);
return this.getBlockerElement();
},getBlockerElement:function(){if(!this.__jC){this.__jC=this.__jK();
this.__jC.setStyle(I,15);
this._widget.getContainerElement().add(this.__jC);
this.__jC.exclude();
}return this.__jC;
},block:function(){this.__jD++;

if(this.__jD<2){this._backupActiveWidget();
var m=this.getBlockerElement();
m.include();
m.activate();
m.addListener(F,this.__jP,this);
m.addListener(B,this.__jO,this);
m.addListener(G,this.__jO,this);
m.addListener(C,this.__jO,this);
}},isBlocked:function(){return this.__jD>0;
},unblock:function(){if(!this.isBlocked()){return;
}this.__jD--;

if(this.__jD<1){this.__jL();
}},forceUnblock:function(){if(!this.isBlocked()){return;
}this.__jD=0;
this.__jL();
},__jL:function(){this._restoreActiveWidget();
var g=this.getBlockerElement();
g.removeListener(F,this.__jP,this);
g.removeListener(B,this.__jO,this);
g.removeListener(G,this.__jO,this);
g.removeListener(C,this.__jO,this);
g.exclude();
},_getContentBlocker:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,M);
return this.getContentBlockerElement();
},getContentBlockerElement:function(){if(!this.__jE){this.__jE=this.__jK();
this._widget.getContentElement().add(this.__jE);
this.__jE.exclude();
}return this.__jE;
},blockContent:function(a){var b=this.getContentBlockerElement();
b.setStyle(I,a);
this.__jB.push(a);

if(this.__jB.length<2){b.include();

if(this._isPageRoot){if(!this.__jH){this.__jH=new qx.event.Timer(300);
this.__jH.addListener(R,this.__jN,this);
}this.__jH.start();
this.__jN();
}}},isContentBlocked:function(){return this.__jB.length>0;
},unblockContent:function(){if(!this.isContentBlocked()){return;
}this.__jB.pop();
var j=this.__jB[this.__jB.length-1];
var k=this.getContentBlockerElement();
k.setStyle(I,j);

if(this.__jB.length<1){this.__jM();
}},forceUnblockContent:function(){if(!this.isContentBlocked()){return;
}this.__jB=[];
var s=this.getContentBlockerElement();
s.setStyle(I,null);
this.__jM();
},__jM:function(){this.getContentBlockerElement().exclude();

if(this._isPageRoot){this.__jH.stop();
}},__jN:function(){var q=this._widget.getContainerElement().getDomElement();
var r=qx.dom.Node.getDocument(q);
this.getContentBlockerElement().setStyles({height:r.documentElement.scrollHeight+H,width:r.documentElement.scrollWidth+H});
},__jO:function(e){if(e.getKeyIdentifier()==Q){e.stop();
}},__jP:function(){this.getBlockerElement().activate();
}},destruct:function(){if(this._isPageRoot){this._widget.removeListener(D,this.__jI,this);
}this._disposeObjects(T,V,N);
this.__jF=this.__jz=this.__jA=this._widget=this.__jB=null;
}});
})();
(function(){var l="cursor",k="100%",j="repeat",i="mousedown",h="url(",g=")",f="mouseout",d="qx.client",c="div",b="dblclick",x="mousewheel",w="qx.html.Blocker",v="mousemove",u="mouseover",t="appear",s="click",r="mshtml",q="mouseup",p="contextmenu",o="disappear",m="qx/static/blank.gif",n="absolute";
qx.Class.define(w,{extend:qx.html.Element,construct:function(y,z){var y=y?qx.theme.manager.Color.getInstance().resolve(y):null;
var A={position:n,width:k,height:k,opacity:z||0,backgroundColor:y};
if(qx.core.Variant.isSet(d,r)){A.backgroundImage=h+qx.util.ResourceManager.getInstance().toUri(m)+g;
A.backgroundRepeat=j;
}qx.html.Element.call(this,c,A);
this.addListener(i,this._stopPropagation,this);
this.addListener(q,this._stopPropagation,this);
this.addListener(s,this._stopPropagation,this);
this.addListener(b,this._stopPropagation,this);
this.addListener(v,this._stopPropagation,this);
this.addListener(u,this._stopPropagation,this);
this.addListener(f,this._stopPropagation,this);
this.addListener(x,this._stopPropagation,this);
this.addListener(p,this._stopPropagation,this);
this.addListener(t,this.__jQ,this);
this.addListener(o,this.__jQ,this);
},members:{_stopPropagation:function(e){e.stopPropagation();
},__jQ:function(){var a=this.getStyle(l);
this.setStyle(l,null,true);
this.setStyle(l,a,true);
}}});
})();
(function(){var J="keypress",I="focusout",H="activate",G="Tab",F="__jR",E="singleton",D="deactivate",C="focusin",B="qx.ui.core.FocusHandler";
qx.Class.define(B,{extend:qx.core.Object,type:E,construct:function(){qx.core.Object.call(this);
this.__jR={};
},members:{__jR:null,__jS:null,__jT:null,__jU:null,connectTo:function(K){K.addListener(J,this.__jV,this);
K.addListener(C,this._onFocusIn,this,true);
K.addListener(I,this._onFocusOut,this,true);
K.addListener(H,this._onActivate,this,true);
K.addListener(D,this._onDeactivate,this,true);
},addRoot:function(W){this.__jR[W.$$hash]=W;
},removeRoot:function(r){delete this.__jR[r.$$hash];
},getActiveWidget:function(){return this.__jS;
},isActive:function(b){return this.__jS==b;
},getFocusedWidget:function(){return this.__jT;
},isFocused:function(w){return this.__jT==w;
},isFocusRoot:function(bh){return !!this.__jR[bh.$$hash];
},_onActivate:function(e){var M=e.getTarget();
this.__jS=M;
var L=this.__jW(M);

if(L!=this.__jU){this.__jU=L;
}},_onDeactivate:function(e){var bi=e.getTarget();

if(this.__jS==bi){this.__jS=null;
}},_onFocusIn:function(e){var q=e.getTarget();

if(q!=this.__jT){this.__jT=q;
q.visualizeFocus();
}},_onFocusOut:function(e){var a=e.getTarget();

if(a==this.__jT){this.__jT=null;
a.visualizeBlur();
}},__jV:function(e){if(e.getKeyIdentifier()!=G){return;
}
if(!this.__jU){return;
}e.stopPropagation();
e.preventDefault();
var bf=this.__jT;

if(!e.isShiftPressed()){var bg=bf?this.__kb(bf):this.__jY();
}else{var bg=bf?this.__kc(bf):this.__ka();
}if(bg){bg.tabFocus();
}},__jW:function(N){var O=this.__jR;

while(N){if(O[N.$$hash]){return N;
}N=N.getLayoutParent();
}return null;
},__jX:function(c,d){if(c===d){return 0;
}var g=c.getTabIndex()||0;
var f=d.getTabIndex()||0;

if(g!=f){return g-f;
}var n=c.getContainerElement().getDomElement();
var m=d.getContainerElement().getDomElement();
var k=qx.bom.element.Location;
var j=k.get(n);
var h=k.get(m);
if(j.top!=h.top){return j.top-h.top;
}if(j.left!=h.left){return j.left-h.left;
}var o=c.getZIndex();
var p=d.getZIndex();

if(o!=p){return o-p;
}return 0;
},__jY:function(){return this.__kf(this.__jU,null);
},__ka:function(){return this.__kg(this.__jU,null);
},__kb:function(s){var t=this.__jU;

if(t==s){return this.__jY();
}
while(s&&s.getAnonymous()){s=s.getLayoutParent();
}
if(s==null){return [];
}var u=[];
this.__kd(t,s,u);
u.sort(this.__jX);
var v=u.length;
return v>0?u[0]:this.__jY();
},__kc:function(x){var y=this.__jU;

if(y==x){return this.__ka();
}
while(x&&x.getAnonymous()){x=x.getLayoutParent();
}
if(x==null){return [];
}var z=[];
this.__ke(y,x,z);
z.sort(this.__jX);
var A=z.length;
return A>0?z[A-1]:this.__ka();
},__kd:function(parent,bb,bc){var bd=parent.getLayoutChildren();
var be;

for(var i=0,l=bd.length;i<l;i++){be=bd[i];
if(!(be instanceof qx.ui.core.Widget)){continue;
}
if(!this.isFocusRoot(be)&&be.isEnabled()&&be.isVisible()){if(be.isTabable()&&this.__jX(bb,be)<0){bc.push(be);
}this.__kd(be,bb,bc);
}}},__ke:function(parent,P,Q){var R=parent.getLayoutChildren();
var S;

for(var i=0,l=R.length;i<l;i++){S=R[i];
if(!(S instanceof qx.ui.core.Widget)){continue;
}
if(!this.isFocusRoot(S)&&S.isEnabled()&&S.isVisible()){if(S.isTabable()&&this.__jX(P,S)>0){Q.push(S);
}this.__ke(S,P,Q);
}}},__kf:function(parent,T){var U=parent.getLayoutChildren();
var V;

for(var i=0,l=U.length;i<l;i++){V=U[i];
if(!(V instanceof qx.ui.core.Widget)){continue;
}if(!this.isFocusRoot(V)&&V.isEnabled()&&V.isVisible()){if(V.isTabable()){if(T==null||this.__jX(V,T)<0){T=V;
}}T=this.__kf(V,T);
}}return T;
},__kg:function(parent,X){var Y=parent.getLayoutChildren();
var ba;

for(var i=0,l=Y.length;i<l;i++){ba=Y[i];
if(!(ba instanceof qx.ui.core.Widget)){continue;
}if(!this.isFocusRoot(ba)&&ba.isEnabled()&&ba.isVisible()){if(ba.isTabable()){if(X==null||this.__jX(ba,X)>0){X=ba;
}}X=this.__kg(ba,X);
}}return X;
}},destruct:function(){this._disposeMap(F);
this.__jT=this.__jS=this.__jU=null;
}});
})();
(function(){var E="qx.client",D="head",C="text/css",B="stylesheet",A="}",z='@import "',y="{",x='";',w="qx.bom.Stylesheet",v="link",u="style";
qx.Class.define(w,{statics:{includeFile:function(L,M){if(!M){M=document;
}var N=M.createElement(v);
N.type=C;
N.rel=B;
N.href=qx.util.ResourceManager.getInstance().toUri(L);
var O=M.getElementsByTagName(D)[0];
O.appendChild(N);
},createElement:qx.core.Variant.select(E,{"mshtml":function(X){var Y=document.createStyleSheet();

if(X){Y.cssText=X;
}return Y;
},"default":function(P){var Q=document.createElement(u);
Q.type=C;

if(P){Q.appendChild(document.createTextNode(P));
}document.getElementsByTagName(D)[0].appendChild(Q);
return Q.sheet;
}}),addRule:qx.core.Variant.select(E,{"mshtml":function(U,V,W){U.addRule(V,W);
},"default":function(I,J,K){I.insertRule(J+y+K+A,I.cssRules.length);
}}),removeRule:qx.core.Variant.select(E,{"mshtml":function(bd,be){var bf=bd.rules;
var bg=bf.length;

for(var i=bg-1;i>=0;--i){if(bf[i].selectorText==be){bd.removeRule(i);
}}},"default":function(q,r){var s=q.cssRules;
var t=s.length;

for(var i=t-1;i>=0;--i){if(s[i].selectorText==r){q.deleteRule(i);
}}}}),removeAllRules:qx.core.Variant.select(E,{"mshtml":function(F){var G=F.rules;
var H=G.length;

for(var i=H-1;i>=0;i--){F.removeRule(i);
}},"default":function(l){var m=l.cssRules;
var n=m.length;

for(var i=n-1;i>=0;i--){l.deleteRule(i);
}}}),addImport:qx.core.Variant.select(E,{"mshtml":function(o,p){o.addImport(p);
},"default":function(e,f){e.insertRule(z+f+x,e.cssRules.length);
}}),removeImport:qx.core.Variant.select(E,{"mshtml":function(g,h){var j=g.imports;
var k=j.length;

for(var i=k-1;i>=0;i--){if(j[i].href==h){g.removeImport(i);
}}},"default":function(a,b){var c=a.cssRules;
var d=c.length;

for(var i=d-1;i>=0;i--){if(c[i].href==b){a.deleteRule(i);
}}}}),removeAllImports:qx.core.Variant.select(E,{"mshtml":function(ba){var bb=ba.imports;
var bc=bb.length;

for(var i=bc-1;i>=0;i--){ba.removeImport(i);
}},"default":function(R){var S=R.cssRules;
var T=S.length;

for(var i=T-1;i>=0;i--){if(S[i].type==S[i].IMPORT_RULE){R.deleteRule(i);
}}}})}});
})();
(function(){var b="number",a="qx.ui.layout.Canvas";
qx.Class.define(a,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:null,renderLayout:function(v,w){var H=this._getLayoutChildren();
var z,G,E;
var J,top,x,y,B,A;
var F,D,I,C;

for(var i=0,l=H.length;i<l;i++){z=H[i];
G=z.getSizeHint();
E=z.getLayoutProperties();
F=z.getMarginTop();
D=z.getMarginRight();
I=z.getMarginBottom();
C=z.getMarginLeft();
J=E.left!=null?E.left:E.edge;

if(qx.lang.Type.isString(J)){J=Math.round(parseFloat(J)*v/100);
}x=E.right!=null?E.right:E.edge;

if(qx.lang.Type.isString(x)){x=Math.round(parseFloat(x)*v/100);
}top=E.top!=null?E.top:E.edge;

if(qx.lang.Type.isString(top)){top=Math.round(parseFloat(top)*w/100);
}y=E.bottom!=null?E.bottom:E.edge;

if(qx.lang.Type.isString(y)){y=Math.round(parseFloat(y)*w/100);
}if(J!=null&&x!=null){B=v-J-x-C-D;
if(B<G.minWidth){B=G.minWidth;
}else if(B>G.maxWidth){B=G.maxWidth;
}J+=C;
}else{B=E.width;

if(B==null){B=G.width;
}else{B=Math.round(parseFloat(B)*v/100);
if(B<G.minWidth){B=G.minWidth;
}else if(B>G.maxWidth){B=G.maxWidth;
}}
if(x!=null){J=v-B-x-D-C;
}else if(J==null){J=C;
}else{J+=C;
}}if(top!=null&&y!=null){A=w-top-y-F-I;
if(A<G.minHeight){A=G.minHeight;
}else if(A>G.maxHeight){A=G.maxHeight;
}top+=F;
}else{A=E.height;

if(A==null){A=G.height;
}else{A=Math.round(parseFloat(A)*w/100);
if(A<G.minHeight){A=G.minHeight;
}else if(A>G.maxHeight){A=G.maxHeight;
}}
if(y!=null){top=w-A-y-I-F;
}else if(top==null){top=F;
}else{top+=F;
}}z.renderLayout(J,top,B,A);
}},_computeSizeHint:function(){var t=0,s=0;
var q=0,o=0;
var m,k;
var j,g;
var c=this._getLayoutChildren();
var f,r,e;
var u,top,d,h;

for(var i=0,l=c.length;i<l;i++){f=c[i];
r=f.getLayoutProperties();
e=f.getSizeHint();
var p=f.getMarginLeft()+f.getMarginRight();
var n=f.getMarginTop()+f.getMarginBottom();
m=e.width+p;
k=e.minWidth+p;
u=r.left!=null?r.left:r.edge;

if(u&&typeof u===b){m+=u;
k+=u;
}d=r.right!=null?r.right:r.edge;

if(d&&typeof d===b){m+=d;
k+=d;
}t=Math.max(t,m);
s=Math.max(s,k);
j=e.height+n;
g=e.minHeight+n;
top=r.top!=null?r.top:r.edge;

if(top&&typeof top===b){j+=top;
g+=top;
}h=r.bottom!=null?r.bottom:r.edge;

if(h&&typeof h===b){j+=h;
g+=h;
}q=Math.max(q,j);
o=Math.max(o,g);
}return {width:t,minWidth:s,height:q,minHeight:o};
}}});
})();
(function(){var a="qx.html.Root";
qx.Class.define(a,{extend:qx.html.Element,construct:function(c){qx.html.Element.call(this);

if(c!=null){this.useElement(c);
}},members:{useElement:function(b){qx.html.Element.prototype.useElement.call(this,b);
this.setRoot(true);
qx.html.Element._modified[this.$$hash]=this;
}}});
})();
(function(){var t=": ",s="qx.event.type.Event",r="failed",q="String",p="Boolean",o="application/json",n="aborted",m="completed",l="Content-Type",k="timeout",P=")",O="application/x-www-form-urlencoded",N="?instanceId=",M="Integer",L="Object",K="qx.io.remote.Rpc",J="error",I=" error ",H="Aborted",G="Local error ",A="refreshSession",B="Application error ",y="",z="Transport error ",w="(",x="/.qxrpc",u="Local time-out expired",v="POST",C="result",D="UNEXPECTED origin ",F="Server error ",E="id";
qx.Class.define(K,{extend:qx.core.Object,construct:function(X,Y){qx.core.Object.call(this);

if(X!==undefined){this.setUrl(X);
}
if(Y!=null){this.setServiceName(Y);
}
if(qx.core.ServerSettings){this.__kh=qx.core.ServerSettings.serverPathSuffix;
}},events:{"completed":s,"aborted":s,"failed":s,"timeout":s},statics:{origin:{server:1,application:2,transport:3,local:4},localError:{timeout:1,abort:2},makeServerURL:function(h){var j=null;

if(qx.core.ServerSettings){j=qx.core.ServerSettings.serverPathPrefix+x+qx.core.ServerSettings.serverPathSuffix;

if(h!=null){j+=N+h;
}}return j;
}},properties:{timeout:{check:M,nullable:true},crossDomain:{check:p,init:false},url:{check:q,nullable:true},serviceName:{check:q,nullable:true},serverData:{check:L,nullable:true},username:{check:q,nullable:true},password:{check:q,nullable:true},useBasicHttpAuth:{check:p,nullable:true}},members:{__ki:null,__kh:null,_callInternal:function(bh,bi,bj){var self=this;
var bv=(bi==0?0:1);
var bz=(bj?A:bh[bv]);
var bs=bh[0];
var bm=[];
var bq=this;

for(var i=bv+1;i<bh.length;++i){bm.push(bh[i]);
}var bn=new qx.io.remote.Request(this.getUrl(),v,o);
var bl={"service":(bj?null:this.getServiceName()),"method":bz,"id":bn.getSequenceNumber(),"params":bm};
var by=this.getServerData();

if(by!==null){bl.server_data=by;
}bn.setCrossDomain(this.getCrossDomain());

if(this.getUsername()){bn.setUseBasicHttpAuth(this.getUseBasicHttpAuth());
bn.setUsername(this.getUsername());
bn.setPassword(this.getPassword());
}bn.setTimeout(this.getTimeout());
var bt=null;
var bp=null;
var bk=null;
var bw=null;
var bo=function(a,b){switch(bi){case 0:break;
case 1:bs(bk,bt,bp);
break;
case 2:if(!bt){b.fireDataEvent(a,bw);
}else{bt.id=bp;

if(bh[0]){b.fireDataEvent(r,bt);
}else{b.fireDataEvent(a,bt);
}}}};
var br=function(bD){bD.toString=function(){switch(bD.origin){case qx.io.remote.Rpc.origin.server:return F+bD.code+t+bD.message;
case qx.io.remote.Rpc.origin.application:return B+bD.code+t+bD.message;
case qx.io.remote.Rpc.origin.transport:return z+bD.code+t+bD.message;
case qx.io.remote.Rpc.origin.local:return G+bD.code+t+bD.message;
default:return (D+bD.origin+I+bD.code+t+bD.message);
}};
};
var bx=function(c,d,e){var f=new Object();
f.origin=c;
f.code=d;
f.message=e;
br(f);
return f;
};
bn.addListener(r,function(R){var S=R.getStatusCode();
bt=bx(qx.io.remote.Rpc.origin.transport,S,qx.io.remote.Exchange.statusCodeToString(S));
bp=this.getSequenceNumber();
bo(r,bq);
});
bn.addListener(k,function(bA){this.debug("TIMEOUT OCCURRED");
bt=bx(qx.io.remote.Rpc.origin.local,qx.io.remote.Rpc.localError.timeout,u);
bp=this.getSequenceNumber();
bo(k,bq);
});
bn.addListener(n,function(g){bt=bx(qx.io.remote.Rpc.origin.local,qx.io.remote.Rpc.localError.abort,H);
bp=this.getSequenceNumber();
bo(n,bq);
});
bn.addListener(m,function(T){bw=T.getContent();
bp=bw[E];

if(bp!=this.getSequenceNumber()){this.warn("Received id ("+bp+") does not match requested id "+"("+this.getSequenceNumber()+")!");
}var V=m;
var W=bw[J];

if(W!=null){bk=null;
br(W);
bt=W;
V=r;
}else{bk=bw[C];

if(bj){bk=eval(w+bk+P);
var U=qx.core.ServerSettings.serverPathSuffix;

if(self.__kh!=U){self.__ki=self.__kh;
self.__kh=U;
}self.setUrl(self.fixUrl(self.getUrl()));
}}bo(V,bq);
});
bn.setData(qx.util.Json.stringify(bl));
bn.setAsynchronous(bi>0);

if(bn.getCrossDomain()){bn.setRequestHeader(l,O);
}else{bn.setRequestHeader(l,o);
}bn.send();

if(bi==0){if(bt!=null){var bu=new Error(bt.toString());
bu.rpcdetails=bt;
throw bu;
}return bk;
}else{return bn;
}},fixUrl:function(ba){if(this.__ki==null||this.__kh==null||this.__ki==y||this.__ki==this.__kh){return ba;
}var bb=ba.indexOf(this.__ki);

if(bb==-1){return ba;
}return (ba.substring(0,bb)+this.__kh+ba.substring(bb+this.__ki.length));
},callSync:function(Q){return this._callInternal(arguments,0);
},callAsync:function(bc,bd){return this._callInternal(arguments,1);
},callAsyncListeners:function(bB,bC){return this._callInternal(arguments,2);
},refreshSession:function(be){if(qx.core.ServerSettings&&qx.core.ServerSettings.serverPathSuffix){var bf=(new Date()).getTime()-qx.core.ServerSettings.lastSessionRefresh;

if(bf/1000>(qx.core.ServerSettings.sessionTimeoutInSeconds-30)){this._callInternal([be],1,true);
}else{be(true);
}}else{be(false);
}},abort:function(bg){bg.abort();
}}});
})();
(function(){var h='',g='jsonrpc.cgi',f='http://johan.oetiker.ch/~zaucker/agrammon/',e='Agrammon',d='Agrammon.Lib.Server',c="/",b='http://agrammon/',a="singleton";
qx.Class.define(d,{extend:qx.io.remote.Rpc,type:a,construct:function(){qx.io.remote.Rpc.call(this);
this.testMode=false;
this.baseUrl=this.__kj();
this.set({timeout:30000,url:g,serviceName:e});
if(document.location.host===h){this.testMode=true;
var j=h+document.location;

if(j.match(/Laptop/)&&!j.match(/VBOX/)){this.debug('Laptop');
this.baseUrl=b;
}else{this.baseUrl=f;
}this.setTimeout(30000);
this.setUrl(this.baseUrl+g);
this.setCrossDomain(true);
}this.setCrossDomain(true);
return this;
},members:{__kj:function(){var k=new String(document.location.href);
var l=k.lastIndexOf(c);
return k.substring(0,l+1);
},setLocalUrl:function(i){if(document.location.host===h){this.set({url:i+g,crossDomain:true});
}},isTestMode:function(){return this.testMode;
},getBaseUrl:function(){return this.baseUrl;
}}});
})();
(function(){var w="qx.event.type.Event",u="Boolean",t="queued",s="String",r="sending",q="receiving",p="aborted",o="failed",n="nocache",m="completed",bb="qx.io.remote.Response",ba="POST",Y="configured",X="timeout",W="GET",V="Pragma",U="no-url-params-on-post",T="no-cache",S="Cache-Control",R="Content-Type",D="text/plain",E="application/xml",B="application/json",C="text/html",z="application/x-www-form-urlencoded",A="qx.io.remote.Exchange",x="Integer",y="X-Qooxdoo-Response-Type",F="HEAD",G="qx.io.remote.Request",J="_applyResponseType",I="_applyState",L="text/javascript",K="changeState",N="PUT",M="_applyProhibitCaching",H="",Q="_applyMethod",P="DELETE",O="boolean";
qx.Class.define(G,{extend:qx.core.Object,construct:function(i,j,k){qx.core.Object.call(this);
this.__kk={};
this.__kl={};
this.__km={};
this.__kn={};

if(i!==undefined){this.setUrl(i);
}
if(j!==undefined){this.setMethod(j);
}
if(k!==undefined){this.setResponseType(k);
}this.setProhibitCaching(true);
this.__ko=++qx.io.remote.Request.__ko;
},events:{"created":w,"configured":w,"sending":w,"receiving":w,"completed":bb,"aborted":w,"failed":bb,"timeout":bb},statics:{__ko:0},properties:{url:{check:s,init:H},method:{check:[W,ba,N,F,P],apply:Q,init:W},asynchronous:{check:u,init:true},data:{check:s,nullable:true},username:{check:s,nullable:true},password:{check:s,nullable:true},state:{check:[Y,t,r,q,m,p,X,o],init:Y,apply:I,event:K},responseType:{check:[D,L,B,E,C],init:D,apply:J},timeout:{check:x,nullable:true},prohibitCaching:{check:function(v){return typeof v==O||v===U;
},init:true,apply:M},crossDomain:{check:u,init:false},fileUpload:{check:u,init:false},transport:{check:A,nullable:true},useBasicHttpAuth:{check:u,init:false}},members:{__kk:null,__kl:null,__km:null,__kn:null,__ko:null,send:function(){qx.io.remote.RequestQueue.getInstance().add(this);
},abort:function(){qx.io.remote.RequestQueue.getInstance().abort(this);
},reset:function(){switch(this.getState()){case r:case q:this.error("Aborting already sent request!");
case t:this.abort();
break;
}},isConfigured:function(){return this.getState()===Y;
},isQueued:function(){return this.getState()===t;
},isSending:function(){return this.getState()===r;
},isReceiving:function(){return this.getState()===q;
},isCompleted:function(){return this.getState()===m;
},isAborted:function(){return this.getState()===p;
},isTimeout:function(){return this.getState()===X;
},isFailed:function(){return this.getState()===o;
},__kp:function(e){var bc=e.clone();
bc.setTarget(this);
this.dispatchEvent(bc);
},_onqueued:function(e){this.setState(t);
this.__kp(e);
},_onsending:function(e){this.setState(r);
this.__kp(e);
},_onreceiving:function(e){this.setState(q);
this.__kp(e);
},_oncompleted:function(e){this.setState(m);
this.__kp(e);
this.dispose();
},_onaborted:function(e){this.setState(p);
this.__kp(e);
this.dispose();
},_ontimeout:function(e){this.setState(X);
this.__kp(e);
this.dispose();
},_onfailed:function(e){this.setState(o);
this.__kp(e);
this.dispose();
},_applyState:function(bp,bq){{};
},_applyProhibitCaching:function(d,f){if(!d){this.removeParameter(n);
this.removeRequestHeader(V);
this.removeRequestHeader(S);
return;
}if(d!==U||this.getMethod()!=ba){this.setParameter(n,new Date().valueOf());
}else{this.removeParameter(n);
}this.setRequestHeader(V,T);
this.setRequestHeader(S,T);
},_applyMethod:function(bh,bi){if(bh===ba){this.setRequestHeader(R,z);
}else{this.removeRequestHeader(R);
}var bj=this.getProhibitCaching();
this._applyProhibitCaching(bj,bj);
},_applyResponseType:function(g,h){this.setRequestHeader(y,g);
},setRequestHeader:function(a,b){this.__kk[a]=b;
},removeRequestHeader:function(bf){delete this.__kk[bf];
},getRequestHeader:function(bo){return this.__kk[bo]||null;
},getRequestHeaders:function(){return this.__kk;
},setParameter:function(br,bs,bt){if(bt){this.__km[br]=bs;
}else{this.__kl[br]=bs;
}},removeParameter:function(bk,bl){if(bl){delete this.__km[bk];
}else{delete this.__kl[bk];
}},getParameter:function(bd,be){if(be){return this.__km[bd]||null;
}else{return this.__kl[bd]||null;
}},getParameters:function(c){return (c?this.__km:this.__kl);
},setFormField:function(bm,bn){this.__kn[bm]=bn;
},removeFormField:function(bg){delete this.__kn[bg];
},getFormField:function(l){return this.__kn[l]||null;
},getFormFields:function(){return this.__kn;
},getSequenceNumber:function(){return this.__ko;
}},destruct:function(){this.setTransport(null);
this.__kk=this.__kl=this.__km=this.__kn=null;
}});
})();
(function(){var h=".",g="qx.bom.client.Transport";
qx.Class.define(g,{statics:{getMaxConcurrentRequestCount:function(){var f;
var a=qx.bom.client.Engine;
var e=a.FULLVERSION.split(h);
var c=0;
var b=0;
var d=0;
if(e[0]){c=e[0];
}if(e[1]){b=e[1];
}if(e[2]){d=e[2];
}if(window.maxConnectionsPerServer){f=window.maxConnectionsPerServer;
}else if(a.OPERA){f=8;
}else if(a.WEBKIT){f=4;
}else if(a.GECKO&&((c>1)||((c==1)&&(b>9))||((c==1)&&(b==9)&&(d>=1)))){f=6;
}else{f=2;
}return f;
}}});
})();
(function(){var z="Integer",y="aborted",x="_onaborted",w="_on",v="_applyEnabled",u="Boolean",t="sending",s="interval",r="__kt",q="failed",l="qx.io.remote.RequestQueue",p="timeout",o="completed",k="queued",j="__kr",n="receiving",m="singleton";
qx.Class.define(l,{type:m,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
this.__kq=[];
this.__kr=[];
this.__ks=0;
this.__kt=new qx.event.Timer(500);
this.__kt.addListener(s,this._oninterval,this);
},properties:{enabled:{init:true,check:u,apply:v},maxTotalRequests:{check:z,nullable:true},maxConcurrentRequests:{check:z,init:qx.bom.client.Transport.getMaxConcurrentRequestCount()},defaultTimeout:{check:z,init:5000}},members:{__kq:null,__kr:null,__ks:null,__kt:null,getRequestQueue:function(){return this.__kq;
},getActiveQueue:function(){return this.__kr;
},_debug:function(){var h;
{};
},_check:function(){this._debug();
if(this.__kr.length==0&&this.__kq.length==0){this.__kt.stop();
}if(!this.getEnabled()){return;
}if(this.__kq.length==0||(this.__kq[0].isAsynchronous()&&this.__kr.length>=this.getMaxConcurrentRequests())){return;
}if(this.getMaxTotalRequests()!=null&&this.__ks>=this.getMaxTotalRequests()){return;
}var B=this.__kq.shift();
var C=new qx.io.remote.Exchange(B);
this.__ks++;
this.__kr.push(C);
this._debug();
C.addListener(t,this._onsending,this);
C.addListener(n,this._onreceiving,this);
C.addListener(o,this._oncompleted,this);
C.addListener(y,this._oncompleted,this);
C.addListener(p,this._oncompleted,this);
C.addListener(q,this._oncompleted,this);
C._start=(new Date).valueOf();
C.send();
if(this.__kq.length>0){this._check();
}},_remove:function(A){qx.lang.Array.remove(this.__kr,A);
A.dispose();
this._check();
},__ku:0,_onsending:function(e){{};
e.getTarget().getRequest()._onsending(e);
},_onreceiving:function(e){e.getTarget().getRequest()._onreceiving(e);
},_oncompleted:function(e){{};
var N=e.getTarget().getRequest();
var M=w+e.getType();
try{if(N[M]){N[M](e);
}}catch(g){var L=qx.dev.StackTrace.getStackTraceFromError(g);
this.error("Request "+N+" handler "+M+" threw an error: "+g+"\nStack Trace:\n"+L);
try{if(N[x]){var event=qx.event.Registration.createEvent(y,qx.event.type.Event);
N[x](event);
}}catch(a){}}finally{this._remove(e.getTarget());
}},_oninterval:function(e){var J=this.__kr;

if(J.length==0){this.__kt.stop();
return;
}var E=(new Date).valueOf();
var H;
var F;
var I=this.getDefaultTimeout();
var G;
var D;

for(var i=J.length-1;i>=0;i--){H=J[i];
F=H.getRequest();

if(F.isAsynchronous()){G=F.getTimeout();
if(G==0){continue;
}
if(G==null){G=I;
}D=E-H._start;

if(D>G){this.warn("Timeout: transport "+H.toHashCode());
this.warn(D+"ms > "+G+"ms");
H.timeout();
}}}},_applyEnabled:function(b,c){if(b){this._check();
}this.__kt.setEnabled(b);
},add:function(K){K.setState(k);

if(K.isAsynchronous()){this.__kq.push(K);
}else{this.__kq.unshift(K);
}this._check();

if(this.getEnabled()){this.__kt.start();
}},abort:function(d){var f=d.getTransport();

if(f){f.abort();
}else if(qx.lang.Array.contains(this.__kq,d)){qx.lang.Array.remove(this.__kq,d);
}}},destruct:function(){this._disposeArray(j);
this._disposeObjects(r);
this.__kq=null;
}});
})();
(function(){var y="failed",x="sending",w="completed",v="receiving",u="aborted",t="timeout",s="qx.event.type.Event",r="Connection dropped",q="qx.io.remote.Response",p="configured",bv="=",bu="Proxy authentication required",bt="qx.io.remote.transport.Abstract",bs="MSHTML-specific HTTP status code",br="Not available",bq="Precondition failed",bp="Server error",bo="Moved temporarily",bn="&",bm="qx.io.remote.Exchange",F="Bad gateway",G="Gone",D="See other",E="Partial content",B="Server timeout",C="qx.io.remote.transport.Script",z="HTTP version not supported",A="Unauthorized",J="Multiple choices",K="Payment required",S="Not implemented",Q="Request-URL too large",bb="Length required",V="_applyState",bi="changeState",bg="Not modified",M="qx.io.remote.Request",bl="Connection closed by server",bk="Moved permanently",bj="_applyImplementation",L="Method not allowed",O="Forbidden",P="Use proxy",R="Ok",T="Not found",W="Not acceptable",bd="Request time-out",bh="Bad request",H="Conflict",I="No content",N="qx.io.remote.transport.XmlHttp",ba="qx.io.remote.transport.Iframe",Y="Request entity too large",X="Unknown status code",bf="Unsupported media type",be="Gateway time-out",U="created",bc="Out of resources",o="undefined";
qx.Class.define(bm,{extend:qx.core.Object,construct:function(bW){qx.core.Object.call(this);
this.setRequest(bW);
bW.setTransport(this);
},events:{"sending":s,"receiving":s,"completed":q,"aborted":s,"failed":q,"timeout":q},statics:{typesOrder:[N,ba,C],typesReady:false,typesAvailable:{},typesSupported:{},registerType:function(m,n){qx.io.remote.Exchange.typesAvailable[n]=m;
},initTypes:function(){if(qx.io.remote.Exchange.typesReady){return;
}
for(var bC in qx.io.remote.Exchange.typesAvailable){var bB=qx.io.remote.Exchange.typesAvailable[bC];

if(bB.isSupported()){qx.io.remote.Exchange.typesSupported[bC]=bB;
}}qx.io.remote.Exchange.typesReady=true;

if(qx.lang.Object.isEmpty(qx.io.remote.Exchange.typesSupported)){throw new Error("No supported transport types were found!");
}},canHandle:function(bE,bF,bG){if(!qx.lang.Array.contains(bE.handles.responseTypes,bG)){return false;
}
for(var bH in bF){if(!bE.handles[bH]){return false;
}}return true;
},_nativeMap:{0:U,1:p,2:x,3:v,4:w},wasSuccessful:function(bw,bx,by){if(by){switch(bw){case null:case 0:return true;
case -1:return bx<4;
default:return typeof bw===o;
}}else{switch(bw){case -1:{};
return bx<4;
case 200:case 304:return true;
case 201:case 202:case 203:case 204:case 205:return true;
case 206:{};
return bx!==4;
case 300:case 301:case 302:case 303:case 305:case 400:case 401:case 402:case 403:case 404:case 405:case 406:case 407:case 408:case 409:case 410:case 411:case 412:case 413:case 414:case 415:case 500:case 501:case 502:case 503:case 504:case 505:{};
return false;
case 12002:case 12007:case 12029:case 12030:case 12031:case 12152:case 13030:{};
return false;
default:if(bw>206&&bw<300){return true;
}qx.log.Logger.debug(this,"Unknown status code: "+bw+" ("+bx+")");
return false;
}}},statusCodeToString:function(bz){switch(bz){case -1:return br;
case 200:return R;
case 304:return bg;
case 206:return E;
case 204:return I;
case 300:return J;
case 301:return bk;
case 302:return bo;
case 303:return D;
case 305:return P;
case 400:return bh;
case 401:return A;
case 402:return K;
case 403:return O;
case 404:return T;
case 405:return L;
case 406:return W;
case 407:return bu;
case 408:return bd;
case 409:return H;
case 410:return G;
case 411:return bb;
case 412:return bq;
case 413:return Y;
case 414:return Q;
case 415:return bf;
case 500:return bp;
case 501:return S;
case 502:return F;
case 503:return bc;
case 504:return be;
case 505:return z;
case 12002:return B;
case 12029:return r;
case 12030:return r;
case 12031:return r;
case 12152:return bl;
case 13030:return bs;
default:return X;
}}},properties:{request:{check:M,nullable:true},implementation:{check:bt,nullable:true,apply:bj},state:{check:[p,x,v,w,u,t,y],init:p,event:bi,apply:V}},members:{send:function(){var bQ=this.getRequest();

if(!bQ){return this.error("Please attach a request object first");
}qx.io.remote.Exchange.initTypes();
var bO=qx.io.remote.Exchange.typesOrder;
var bN=qx.io.remote.Exchange.typesSupported;
var bS=bQ.getResponseType();
var bT={};

if(bQ.getAsynchronous()){bT.asynchronous=true;
}else{bT.synchronous=true;
}
if(bQ.getCrossDomain()){bT.crossDomain=true;
}
if(bQ.getFileUpload()){bT.fileUpload=true;
}for(var bR in bQ.getFormFields()){bT.programaticFormFields=true;
break;
}var bU,bP;

for(var i=0,l=bO.length;i<l;i++){bU=bN[bO[i]];

if(bU){if(!qx.io.remote.Exchange.canHandle(bU,bT,bS)){continue;
}
try{{};
bP=new bU;
this.setImplementation(bP);
bP.setUseBasicHttpAuth(bQ.getUseBasicHttpAuth());
bP.send();
return true;
}catch(bA){this.error("Request handler throws error");
this.error(bA);
return;
}}}this.error("There is no transport implementation available to handle this request: "+bQ);
},abort:function(){var k=this.getImplementation();

if(k){{};
k.abort();
}else{{};
this.setState(u);
}},timeout:function(){var bD=this.getImplementation();

if(bD){this.warn("Timeout: implementation "+bD.toHashCode());
bD.timeout();
}else{this.warn("Timeout: forcing state to timeout");
this.setState(t);
}this.__kv();
},__kv:function(){var bX=this.getRequest();

if(bX){bX.setTimeout(0);
}},_onsending:function(e){this.setState(x);
},_onreceiving:function(e){this.setState(v);
},_oncompleted:function(e){this.setState(w);
},_onabort:function(e){this.setState(u);
},_onfailed:function(e){this.setState(y);
},_ontimeout:function(e){this.setState(t);
},_applyImplementation:function(a,b){if(b){b.removeListener(x,this._onsending,this);
b.removeListener(v,this._onreceiving,this);
b.removeListener(w,this._oncompleted,this);
b.removeListener(u,this._onabort,this);
b.removeListener(t,this._ontimeout,this);
b.removeListener(y,this._onfailed,this);
}
if(a){var d=this.getRequest();
a.setUrl(d.getUrl());
a.setMethod(d.getMethod());
a.setAsynchronous(d.getAsynchronous());
a.setUsername(d.getUsername());
a.setPassword(d.getPassword());
a.setParameters(d.getParameters(false));
a.setFormFields(d.getFormFields());
a.setRequestHeaders(d.getRequestHeaders());
var h=d.getData();

if(h===null){var j=d.getParameters(true);
var g=[];

for(var c in j){var f=j[c];

if(f instanceof Array){for(var i=0;i<f.length;i++){g.push(encodeURIComponent(c)+bv+encodeURIComponent(f[i]));
}}else{g.push(encodeURIComponent(c)+bv+encodeURIComponent(f));
}}
if(g.length>0){a.setData(g.join(bn));
}}else{a.setData(h);
}a.setResponseType(d.getResponseType());
a.addListener(x,this._onsending,this);
a.addListener(v,this._onreceiving,this);
a.addListener(w,this._oncompleted,this);
a.addListener(u,this._onabort,this);
a.addListener(t,this._ontimeout,this);
a.addListener(y,this._onfailed,this);
}},_applyState:function(bI,bJ){{};

switch(bI){case x:this.fireEvent(x);
break;
case v:this.fireEvent(v);
break;
case w:case u:case t:case y:var bL=this.getImplementation();

if(!bL){break;
}this.__kv();

if(this.hasListener(bI)){var bM=qx.event.Registration.createEvent(bI,qx.io.remote.Response);

if(bI==w){var bK=bL.getResponseContent();
bM.setContent(bK);
if(bK===null){{};
bI=y;
}}else if(bI==y){bM.setContent(bL.getResponseContent());
}bM.setStatusCode(bL.getStatusCode());
bM.setResponseHeaders(bL.getResponseHeaders());
this.dispatchEvent(bM);
}this.setImplementation(null);
bL.dispose();
break;
}}},settings:{"qx.ioRemoteDebug":false,"qx.ioRemoteDebugData":false},destruct:function(){var bV=this.getImplementation();

if(bV){this.setImplementation(null);
bV.dispose();
}this.setRequest(null);
}});
})();
(function(){var u="qx.event.type.Event",t="String",s="failed",r="timeout",q="created",p="aborted",o="sending",n="configured",m="receiving",l="completed",g="Object",k="Boolean",j="abstract",f="_applyState",e="GET",i="changeState",h="qx.io.remote.transport.Abstract";
qx.Class.define(h,{type:j,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
this.setRequestHeaders({});
this.setParameters({});
this.setFormFields({});
},events:{"created":u,"configured":u,"sending":u,"receiving":u,"completed":u,"aborted":u,"failed":u,"timeout":u},properties:{url:{check:t,nullable:true},method:{check:t,nullable:true,init:e},asynchronous:{check:k,nullable:true,init:true},data:{check:t,nullable:true},username:{check:t,nullable:true},password:{check:t,nullable:true},state:{check:[q,n,o,m,l,p,r,s],init:q,event:i,apply:f},requestHeaders:{check:g,nullable:true},parameters:{check:g,nullable:true},formFields:{check:g,nullable:true},responseType:{check:t,nullable:true},useBasicHttpAuth:{check:k,nullable:true}},members:{send:function(){throw new Error("send is abstract");
},abort:function(){{};
this.setState(p);
},timeout:function(){{};
this.setState(r);
},failed:function(){{};
this.setState(s);
},setRequestHeader:function(c,d){throw new Error("setRequestHeader is abstract");
},getResponseHeader:function(v){throw new Error("getResponseHeader is abstract");
},getResponseHeaders:function(){throw new Error("getResponseHeaders is abstract");
},getStatusCode:function(){throw new Error("getStatusCode is abstract");
},getStatusText:function(){throw new Error("getStatusText is abstract");
},getResponseText:function(){throw new Error("getResponseText is abstract");
},getResponseXml:function(){throw new Error("getResponseXml is abstract");
},getFetchedLength:function(){throw new Error("getFetchedLength is abstract");
},_applyState:function(a,b){{};

switch(a){case q:this.fireEvent(q);
break;
case n:this.fireEvent(n);
break;
case o:this.fireEvent(o);
break;
case m:this.fireEvent(m);
break;
case l:this.fireEvent(l);
break;
case p:this.fireEvent(p);
break;
case s:this.fireEvent(s);
break;
case r:this.fireEvent(r);
break;
}return true;
}}});
})();
(function(){var bb="failed",ba="completed",Y="=",X="aborted",W="",V="sending",U="&",T="configured",S="timeout",R="application/xml",bw="qx.io.remote.transport.XmlHttp",bv="application/json",bu="text/html",bt="qx.client",bs="receiving",br="text/plain",bq="text/javascript",bp="?",bo="created",bn='Referer',bi='Basic ',bj="\n</pre>",bg="string",bh='Authorization',be="<pre>Could not execute json: \n",bf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bc=':',bd="parseerror",bk="file:",bl="webkit",bm="object";
qx.Class.define(bw,{extend:qx.io.remote.transport.Abstract,statics:{handles:{synchronous:true,asynchronous:true,crossDomain:false,fileUpload:false,programaticFormFields:false,responseTypes:[br,bq,bv,R,bu]},requestObjects:[],requestObjectCount:0,createRequestObject:qx.core.Variant.select(bt,{"default":function(){return new XMLHttpRequest;
},"mshtml":function(){if(window.ActiveXObject&&qx.xml.Document.XMLHTTP){return new ActiveXObject(qx.xml.Document.XMLHTTP);
}
if(window.XMLHttpRequest){return new XMLHttpRequest;
}}}),isSupported:function(){return !!this.createRequestObject();
}},members:{__kw:false,__kx:0,__ky:null,getRequest:function(){if(this.__ky===null){this.__ky=qx.io.remote.transport.XmlHttp.createRequestObject();
this.__ky.onreadystatechange=qx.lang.Function.bind(this._onreadystatechange,this);
}return this.__ky;
},send:function(){this.__kx=0;
var q=this.getRequest();
var m=this.getMethod();
var u=this.getAsynchronous();
var t=this.getUrl();
var o=(window.location.protocol===bk&&!(/^http(s){0,1}\:/.test(t)));
this.__kw=o;
var x=this.getParameters(false);
var v=[];

for(var n in x){var r=x[n];

if(r instanceof Array){for(var i=0;i<r.length;i++){v.push(encodeURIComponent(n)+Y+encodeURIComponent(r[i]));
}}else{v.push(encodeURIComponent(n)+Y+encodeURIComponent(r));
}}
if(v.length>0){t+=(t.indexOf(bp)>=0?U:bp)+v.join(U);
}if(this.getData()===null){var x=this.getParameters(true);
var v=[];

for(var n in x){var r=x[n];

if(r instanceof Array){for(var i=0;i<r.length;i++){v.push(encodeURIComponent(n)+Y+encodeURIComponent(r[i]));
}}else{v.push(encodeURIComponent(n)+Y+encodeURIComponent(r));
}}
if(v.length>0){this.setData(v.join(U));
}}var w=function(z){var E=bf;
var I=W;
var C,B,A;
var F,G,H,D;
var i=0;

do{C=z.charCodeAt(i++);
B=z.charCodeAt(i++);
A=z.charCodeAt(i++);
F=C>>2;
G=((C&3)<<4)|(B>>4);
H=((B&15)<<2)|(A>>6);
D=A&63;

if(isNaN(B)){H=D=64;
}else if(isNaN(A)){D=64;
}I+=E.charAt(F)+E.charAt(G)+E.charAt(H)+E.charAt(D);
}while(i<z.length);
return I;
};
try{if(this.getUsername()){if(this.getUseBasicHttpAuth()){q.open(m,t,u);
q.setRequestHeader(bh,bi+w(this.getUsername()+bc+this.getPassword()));
}else{q.open(m,t,u,this.getUsername(),this.getPassword());
}}else{q.open(m,t,u);
}}catch(bA){this.error("Failed with exception: "+bA);
this.failed();
return;
}if(!qx.core.Variant.isSet(bt,bl)){q.setRequestHeader(bn,window.location.href);
}var p=this.getRequestHeaders();

for(var n in p){q.setRequestHeader(n,p[n]);
}try{{};
q.send(this.getData());
}catch(bM){if(o){this.failedLocally();
}else{this.error("Failed to send data: "+bM,"send");
this.failed();
}return;
}if(!u){this._onreadystatechange();
}},failedLocally:function(){if(this.getState()===bb){return;
}this.warn("Could not load from file: "+this.getUrl());
this.failed();
},_onreadystatechange:qx.event.GlobalError.observeMethod(function(e){switch(this.getState()){case ba:case X:case bb:case S:{};
return;
}var a=this.getReadyState();

if(a==4){if(!qx.io.remote.Exchange.wasSuccessful(this.getStatusCode(),a,this.__kw)){if(this.getState()===T){this.setState(V);
}return this.failed();
}}while(this.__kx<a){this.setState(qx.io.remote.Exchange._nativeMap[++this.__kx]);
}}),getReadyState:function(){var J=null;

try{J=this.getRequest().readyState;
}catch(bF){}return J;
},setRequestHeader:function(j,k){this.getRequestHeaders()[j]=k;
},getResponseHeader:function(K){var L=null;

try{L=this.getRequest().getResponseHeader(K)||null;
}catch(bx){}return L;
},getStringResponseHeaders:function(){var c=null;

try{var b=this.getRequest().getAllResponseHeaders();

if(b){c=b;
}}catch(bK){}return c;
},getResponseHeaders:function(){var bD=this.getStringResponseHeaders();
var bE={};

if(bD){var bB=bD.split(/[\r\n]+/g);

for(var i=0,l=bB.length;i<l;i++){var bC=bB[i].match(/^([^:]+)\s*:\s*(.+)$/i);

if(bC){bE[bC[1]]=bC[2];
}}}return bE;
},getStatusCode:function(){var bO=-1;

try{bO=this.getRequest().status;
}catch(bQ){}return bO;
},getStatusText:function(){var bN=W;

try{bN=this.getRequest().statusText;
}catch(bz){}return bN;
},getResponseText:function(){var y=null;

try{y=this.getRequest().responseText;
}catch(bL){y=null;
}return y;
},getResponseXml:function(){var h=null;
var f=this.getStatusCode();
var g=this.getReadyState();

if(qx.io.remote.Exchange.wasSuccessful(f,g,this.__kw)){try{h=this.getRequest().responseXML;
}catch(bP){}}if(typeof h==bm&&h!=null){if(!h.documentElement){var s=String(this.getRequest().responseText).replace(/<\?xml[^\?]*\?>/,W);
h.loadXML(s);
}if(!h.documentElement){throw new Error("Missing Document Element!");
}
if(h.documentElement.tagName==bd){throw new Error("XML-File is not well-formed!");
}}else{throw new Error("Response was not a valid xml document ["+this.getRequest().responseText+"]");
}return h;
},getFetchedLength:function(){var O=this.getResponseText();
return typeof O==bg?O.length:0;
},getResponseContent:function(){var bH=this.getState();

if(bH!==ba&&bH!=bb){{};
return null;
}{};
var bJ=this.getResponseText();

if(bH==bb){{};
return bJ;
}
switch(this.getResponseType()){case br:case bu:{};
return bJ;
case bv:{};

try{if(bJ&&bJ.length>0){var bI=qx.util.Json.parse(bJ,false);
return (bI===0?0:(bI||null));
}else{return null;
}}catch(by){this.error("Could not execute json: ["+bJ+"]",by);
return be+bJ+bj;
}case bq:{};

try{if(bJ&&bJ.length>0){var bI=window.eval(bJ);
return (bI===0?0:(bI||null));
}else{return null;
}}catch(d){this.error("Could not execute javascript: ["+bJ+"]",d);
return null;
}case R:bJ=this.getResponseXml();
{};
return (bJ===0?0:(bJ||null));
default:this.warn("No valid responseType specified ("+this.getResponseType()+")!");
return null;
}},_applyState:function(M,N){{};

switch(M){case bo:this.fireEvent(bo);
break;
case T:this.fireEvent(T);
break;
case V:this.fireEvent(V);
break;
case bs:this.fireEvent(bs);
break;
case ba:this.fireEvent(ba);
break;
case bb:this.fireEvent(bb);
break;
case X:this.getRequest().abort();
this.fireEvent(X);
break;
case S:this.getRequest().abort();
this.fireEvent(S);
break;
}}},defer:function(P,Q){qx.io.remote.Exchange.registerType(qx.io.remote.transport.XmlHttp,bw);
},destruct:function(){var bG=this.getRequest();

if(bG){bG.onreadystatechange=qx.lang.Function.empty;
switch(bG.readyState){case 1:case 2:case 3:bG.abort();
}}this.__ky=null;
}});
})();
(function(){var G=",",F="",E="string",D="null",C='"',B="qx.jsonDebugging",A='\\u00',z="__kE",y="new Date(Date.UTC(",x='\\\\',bd="__kC",bc='\\f',bb="__kM",ba='\\"',Y="))",X="}",W='(',V=":",U="{",T='\\r',N='\\t',O="__kD",L="]",M="__kB",J="[",K="Use 'parse' instead!",H="__kL",I="qx.jsonEncodeUndefined",P='\\b',Q="qx.util.Json",S=')',R='\\n';
qx.Class.define(Q,{statics:{__kz:null,BEAUTIFYING_INDENT:"  ",BEAUTIFYING_LINE_END:"\n",__kA:{"function":M,"boolean":bd,"number":O,"string":z,"object":H,"undefined":bb},__kB:function(bw,bx){return String(bw);
},__kC:function(v,w){return String(v);
},__kD:function(br,bs){return isFinite(br)?String(br):D;
},__kE:function(bt,bu){var bv;

if(/["\\\x00-\x1f]/.test(bt)){bv=bt.replace(/([\x00-\x1f\\"])/g,qx.util.Json.__kG);
}else{bv=bt;
}return C+bv+C;
},__kF:{'\b':P,'\t':N,'\n':R,'\f':bc,'\r':T,'"':ba,'\\':x},__kG:function(a,b){var u=qx.util.Json.__kF[b];

if(u){return u;
}u=b.charCodeAt();
return A+Math.floor(u/16).toString(16)+(u%16).toString(16);
},__kH:function(f,g){var j=[],n=true,m,h;
var k=qx.util.Json.__kO;
j.push(J);

if(k){qx.util.Json.__kI+=qx.util.Json.BEAUTIFYING_INDENT;
j.push(qx.util.Json.__kI);
}
for(var i=0,l=f.length;i<l;i++){h=f[i];
m=this.__kA[typeof h];

if(m){h=this[m](h,i+F);

if(typeof h==E){if(!n){j.push(G);

if(k){j.push(qx.util.Json.__kI);
}}j.push(h);
n=false;
}}}
if(k){qx.util.Json.__kI=qx.util.Json.__kI.substring(0,qx.util.Json.__kI.length-qx.util.Json.BEAUTIFYING_INDENT.length);
j.push(qx.util.Json.__kI);
}j.push(L);
return j.join(F);
},__kJ:function(c,d){var e=c.getUTCFullYear()+G+c.getUTCMonth()+G+c.getUTCDate()+G+c.getUTCHours()+G+c.getUTCMinutes()+G+c.getUTCSeconds()+G+c.getUTCMilliseconds();
return y+e+Y;
},__kK:function(bk,bl){var bo=[],bq=true,bn,bm;
var bp=qx.util.Json.__kO;
bo.push(U);

if(bp){qx.util.Json.__kI+=qx.util.Json.BEAUTIFYING_INDENT;
bo.push(qx.util.Json.__kI);
}
for(var bl in bk){bm=bk[bl];
bn=this.__kA[typeof bm];

if(bn){bm=this[bn](bm,bl);

if(typeof bm==E){if(!bq){bo.push(G);

if(bp){bo.push(qx.util.Json.__kI);
}}bo.push(this.__kE(bl),V,bm);
bq=false;
}}}
if(bp){qx.util.Json.__kI=qx.util.Json.__kI.substring(0,qx.util.Json.__kI.length-qx.util.Json.BEAUTIFYING_INDENT.length);
bo.push(qx.util.Json.__kI);
}bo.push(X);
return bo.join(F);
},__kL:function(o,p){if(o){if(qx.lang.Type.isFunction(o.toJSON)&&o.toJSON!==this.__kz){return this.__kN(o.toJSON(p),p);
}else if(qx.lang.Type.isDate(o)){return this.__kJ(o,p);
}else if(qx.lang.Type.isArray(o)){return this.__kH(o,p);
}else if(qx.lang.Type.isObject(o)){return this.__kK(o,p);
}return F;
}return D;
},__kM:function(bi,bj){if(qx.core.Setting.get(I)){return D;
}},__kN:function(by,bz){return this[this.__kA[typeof by]](by,bz);
},stringify:function(q,r){this.__kO=r;
this.__kI=this.BEAUTIFYING_LINE_END;
var s=this.__kN(q,F);

if(typeof s!=E){s=null;
}if(qx.core.Setting.get(B)){qx.log.Logger.debug(this,"JSON request: "+s);
}return s;
},parse:function(bf,bg){if(bg===undefined){bg=true;
}
if(qx.core.Setting.get(B)){qx.log.Logger.debug(this,"JSON response: "+bf);
}
if(bg){if(/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(bf.replace(/"(\\.|[^"\\])*"/g,F))){throw new Error("Could not parse JSON string!");
}}
try{var bh=(bf&&bf.length>0)?eval(W+bf+S):null;
return bh;
}catch(t){throw new Error("Could not evaluate JSON string: "+t.message);
}},parseQx:function(be){qx.log.Logger.deprecatedMethodWarning(arguments.callee,K);
return qx.util.Json.parse(be,false);
}},settings:{"qx.jsonEncodeUndefined":true,"qx.jsonDebugging":false},defer:function(bA){bA.__kz=Date.prototype.toJSON;
}});
})();
(function(){var E="=",D="&",C="application/xml",B="application/json",A="text/html",z="qx.client",y="textarea",x="none",w="text/plain",v="text/javascript",Y="",X="completed",W="?",V="qx.io.remote.transport.Iframe",U="gecko",T="frame_",S="aborted",R="_data_",Q="pre",P="javascript:void(0)",L="sending",M="form",J="failed",K='<iframe name="',H="mshtml",I="form_",F='"></iframe>',G="iframe",N="timeout",O="qx/static/blank.gif";
qx.Class.define(V,{extend:qx.io.remote.transport.Abstract,construct:function(){qx.io.remote.transport.Abstract.call(this);
var g=(new Date).valueOf();
var h=T+g;
var j=I+g;
if(qx.core.Variant.isSet(z,H)){this.__kP=document.createElement(K+h+F);
}else{this.__kP=document.createElement(G);
}this.__kP.src=P;
this.__kP.id=this.__kP.name=h;
this.__kP.onload=qx.lang.Function.bind(this._onload,this);
this.__kP.style.display=x;
document.body.appendChild(this.__kP);
this.__kQ=document.createElement(M);
this.__kQ.target=h;
this.__kQ.id=this.__kQ.name=j;
this.__kQ.style.display=x;
document.body.appendChild(this.__kQ);
this.__kR=document.createElement(y);
this.__kR.id=this.__kR.name=R;
this.__kQ.appendChild(this.__kR);
this.__kP.onreadystatechange=qx.lang.Function.bind(this._onreadystatechange,this);
},statics:{handles:{synchronous:false,asynchronous:true,crossDomain:false,fileUpload:true,programaticFormFields:true,responseTypes:[w,v,B,C,A]},isSupported:function(){return true;
},_numericMap:{"uninitialized":1,"loading":2,"loaded":2,"interactive":3,"complete":4}},members:{__kR:null,__kS:0,__kQ:null,__kP:null,send:function(){var o=this.getMethod();
var q=this.getUrl();
var u=this.getParameters(false);
var t=[];

for(var p in u){var r=u[p];

if(r instanceof Array){for(var i=0;i<r.length;i++){t.push(encodeURIComponent(p)+E+encodeURIComponent(r[i]));
}}else{t.push(encodeURIComponent(p)+E+encodeURIComponent(r));
}}
if(t.length>0){q+=(q.indexOf(W)>=0?D:W)+t.join(D);
}if(this.getData()===null){var u=this.getParameters(true);
var t=[];

for(var p in u){var r=u[p];

if(r instanceof Array){for(var i=0;i<r.length;i++){t.push(encodeURIComponent(p)+E+encodeURIComponent(r[i]));
}}else{t.push(encodeURIComponent(p)+E+encodeURIComponent(r));
}}
if(t.length>0){this.setData(t.join(D));
}}var n=this.getFormFields();

for(var p in n){var s=document.createElement(y);
s.name=p;
s.appendChild(document.createTextNode(n[p]));
this.__kQ.appendChild(s);
}this.__kQ.action=q;
this.__kQ.method=o;
this.__kR.appendChild(document.createTextNode(this.getData()));
this.__kQ.submit();
this.setState(L);
},_onload:qx.event.GlobalError.observeMethod(function(e){if(this.__kQ.src){return;
}this._switchReadyState(qx.io.remote.transport.Iframe._numericMap.complete);
}),_onreadystatechange:qx.event.GlobalError.observeMethod(function(e){this._switchReadyState(qx.io.remote.transport.Iframe._numericMap[this.__kP.readyState]);
}),_switchReadyState:function(l){switch(this.getState()){case X:case S:case J:case N:this.warn("Ignore Ready State Change");
return;
}while(this.__kS<l){this.setState(qx.io.remote.Exchange._nativeMap[++this.__kS]);
}},setRequestHeader:function(bb,bc){},getResponseHeader:function(a){return null;
},getResponseHeaders:function(){return {};
},getStatusCode:function(){return 200;
},getStatusText:function(){return Y;
},getIframeWindow:function(){return qx.bom.Iframe.getWindow(this.__kP);
},getIframeDocument:function(){return qx.bom.Iframe.getDocument(this.__kP);
},getIframeBody:function(){return qx.bom.Iframe.getBody(this.__kP);
},getIframeTextContent:function(){var k=this.getIframeBody();

if(!k){return null;
}
if(!k.firstChild){return Y;
}if(k.firstChild.tagName&&k.firstChild.tagName.toLowerCase()==Q){return k.firstChild.innerHTML;
}else{return k.innerHTML;
}},getIframeHtmlContent:function(){var bd=this.getIframeBody();
return bd?bd.innerHTML:null;
},getFetchedLength:function(){return 0;
},getResponseContent:function(){if(this.getState()!==X){{};
return null;
}{};
var m=this.getIframeTextContent();

switch(this.getResponseType()){case w:{};
return m;
break;
case A:m=this.getIframeHtmlContent();
{};
return m;
break;
case B:m=this.getIframeHtmlContent();
{};

try{return m&&m.length>0?qx.util.Json.parse(m,false):null;
}catch(f){return this.error("Could not execute json: ("+m+")",f);
}case v:m=this.getIframeHtmlContent();
{};

try{return m&&m.length>0?window.eval(m):null;
}catch(ba){return this.error("Could not execute javascript: ("+m+")",ba);
}case C:m=this.getIframeDocument();
{};
return m;
default:this.warn("No valid responseType specified ("+this.getResponseType()+")!");
return null;
}}},defer:function(b,c,d){qx.io.remote.Exchange.registerType(qx.io.remote.transport.Iframe,V);
},destruct:function(){if(this.__kP){this.__kP.onload=null;
this.__kP.onreadystatechange=null;
if(qx.core.Variant.isSet(z,U)){this.__kP.src=qx.util.ResourceManager.getInstance().toUri(O);
}document.body.removeChild(this.__kP);
}
if(this.__kQ){document.body.removeChild(this.__kQ);
}this.__kP=this.__kQ=null;
}});
})();
(function(){var j="qx.event.handler.Iframe",i="load",h="iframe";
qx.Class.define(j,{extend:qx.core.Object,implement:qx.event.IEventHandler,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{load:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:false,onevent:qx.event.GlobalError.observeMethod(function(m){qx.event.Registration.fireEvent(m,i);
})},members:{canHandleEvent:function(k,l){return k.tagName.toLowerCase()===h;
},registerEvent:function(e,f,g){},unregisterEvent:function(b,c,d){}},defer:function(a){qx.event.Registration.addHandler(a);
}});
})();
(function(){var m="qx.client",l="webkit",k="body",j="iframe",i="qx.bom.Iframe";
qx.Class.define(i,{statics:{DEFAULT_ATTRIBUTES:{onload:"qx.event.handler.Iframe.onevent(this)",frameBorder:0,frameSpacing:0,marginWidth:0,marginHeight:0,hspace:0,vspace:0,border:0,allowTransparency:true},create:function(u,v){var u=u?qx.lang.Object.clone(u):{};
var w=qx.bom.Iframe.DEFAULT_ATTRIBUTES;

for(var x in w){if(u[x]==null){u[x]=w[x];
}}return qx.bom.Element.create(j,u,v);
},getWindow:qx.core.Variant.select(m,{"mshtml|gecko":function(f){try{return f.contentWindow;
}catch(q){return null;
}},"default":function(C){try{var D=this.getDocument(C);
return D?D.defaultView:null;
}catch(y){return null;
}}}),getDocument:qx.core.Variant.select(m,{"mshtml":function(c){try{var d=this.getWindow(c);
return d?d.document:null;
}catch(b){return null;
}},"default":function(t){try{return t.contentDocument;
}catch(s){return null;
}}}),getBody:function(g){try{var h=this.getDocument(g);
return h?h.getElementsByTagName(k)[0]:null;
}catch(r){return null;
}},setSource:function(z,A){try{if(this.getWindow(z)&&qx.dom.Hierarchy.isRendered(z)){try{if(qx.core.Variant.isSet(m,l)&&qx.bom.client.Platform.MAC){var B=this.getContentWindow();

if(B){B.stop();
}}this.getWindow(z).location.replace(A);
}catch(p){z.src=A;
}}else{z.src=A;
}}catch(e){qx.log.Logger.warn("Iframe source could not be set!");
}},queryCurrentUrl:function(n){var o=this.getDocument(n);

try{if(o&&o.location){return o.location.href;
}}catch(a){}return null;
}}});
})();
(function(){var t="&",s="=",r="?",q="application/json",p="completed",o="text/plain",n="text/javascript",m="qx.io.remote.transport.Script",l="",k="_ScriptTransport_data",e="script",j="timeout",h="_ScriptTransport_",d="_ScriptTransport_id",c="aborted",g="utf-8",f="failed";
qx.Class.define(m,{extend:qx.io.remote.transport.Abstract,construct:function(){qx.io.remote.transport.Abstract.call(this);
var u=++qx.io.remote.transport.Script.__kT;

if(u>=2000000000){qx.io.remote.transport.Script.__kT=u=1;
}this.__kU=null;
this.__kT=u;
},statics:{__kT:0,_instanceRegistry:{},ScriptTransport_PREFIX:h,ScriptTransport_ID_PARAM:d,ScriptTransport_DATA_PARAM:k,handles:{synchronous:false,asynchronous:true,crossDomain:true,fileUpload:false,programaticFormFields:false,responseTypes:[o,n,q]},isSupported:function(){return true;
},_numericMap:{"uninitialized":1,"loading":2,"loaded":2,"interactive":3,"complete":4},_requestFinished:qx.event.GlobalError.observeMethod(function(w,content){var x=qx.io.remote.transport.Script._instanceRegistry[w];

if(x==null){{};
}else{x._responseContent=content;
x._switchReadyState(qx.io.remote.transport.Script._numericMap.complete);
}})},members:{__kV:0,__kU:null,__kT:null,send:function(){var A=this.getUrl();
A+=(A.indexOf(r)>=0?t:r)+qx.io.remote.transport.Script.ScriptTransport_ID_PARAM+s+this.__kT;
var D=this.getParameters();
var C=[];

for(var z in D){if(z.indexOf(qx.io.remote.transport.Script.ScriptTransport_PREFIX)==0){this.error("Illegal parameter name. The following prefix is used internally by qooxdoo): "+qx.io.remote.transport.Script.ScriptTransport_PREFIX);
}var B=D[z];

if(B instanceof Array){for(var i=0;i<B.length;i++){C.push(encodeURIComponent(z)+s+encodeURIComponent(B[i]));
}}else{C.push(encodeURIComponent(z)+s+encodeURIComponent(B));
}}
if(C.length>0){A+=t+C.join(t);
}var y=this.getData();

if(y!=null){A+=t+qx.io.remote.transport.Script.ScriptTransport_DATA_PARAM+s+encodeURIComponent(y);
}qx.io.remote.transport.Script._instanceRegistry[this.__kT]=this;
this.__kU=document.createElement(e);
this.__kU.charset=g;
this.__kU.src=A;
{};
document.body.appendChild(this.__kU);
},_switchReadyState:function(a){switch(this.getState()){case p:case c:case f:case j:this.warn("Ignore Ready State Change");
return;
}while(this.__kV<a){this.setState(qx.io.remote.Exchange._nativeMap[++this.__kV]);
}},setRequestHeader:function(E,F){},getResponseHeader:function(b){return null;
},getResponseHeaders:function(){return {};
},getStatusCode:function(){return 200;
},getStatusText:function(){return l;
},getFetchedLength:function(){return 0;
},getResponseContent:function(){if(this.getState()!==p){{};
return null;
}{};

switch(this.getResponseType()){case o:case q:case n:{};
var v=this._responseContent;
return (v===0?0:(v||null));
default:this.warn("No valid responseType specified ("+this.getResponseType()+")!");
return null;
}}},defer:function(G,H,I){qx.io.remote.Exchange.registerType(qx.io.remote.transport.Script,m);
},destruct:function(){if(this.__kU){delete qx.io.remote.transport.Script._instanceRegistry[this.__kT];
document.body.removeChild(this.__kU);
}this.__kU=this._responseContent=null;
}});
})();
(function(){var c="Integer",b="Object",a="qx.io.remote.Response";
qx.Class.define(a,{extend:qx.event.type.Event,properties:{state:{check:c,nullable:true},statusCode:{check:c,nullable:true},content:{nullable:true},responseHeaders:{check:b,nullable:true}},members:{clone:function(f){var g=qx.event.type.Event.prototype.clone.call(this,f);
g.setType(this.getType());
g.setState(this.getState());
g.setStatusCode(this.getStatusCode());
g.setContent(this.getContent());
g.setResponseHeaders(this.getResponseHeaders());
return g;
},getResponseHeader:function(d){var e=this.getResponseHeaders();

if(e){return e[d]||null;
}return null;
}}});
})();
(function(){var p="function",o="qx.event.message.Bus",n="*",m="undefined",l="string",k="singleton";
qx.Class.define(o,{type:k,extend:qx.core.Object,statics:{getSubscriptions:function(){return this.getInstance().getSubscriptions();
},subscribe:function(q,r,s){return this.getInstance().subscribe(q,r,s);
},checkSubscription:function(g,h,j){return this.getInstance().checkSubscription(g,h,j);
},unsubscribe:function(x,y,z){return this.getInstance().unsubscribe(x,y,z);
},dispatch:function(L){return this.getInstance().dispatch.apply(this.getInstance(),arguments);
}},construct:function(){this.__kW={};
},members:{__kW:null,getSubscriptions:function(){return this.__kW;
},subscribe:function(H,I,J){if(!H||typeof I!=p){this.error("Invalid parameters! "+[H,I,J]);
return false;
}var K=this.getSubscriptions();

if(this.checkSubscription(H)){if(this.checkSubscription(H,I,J)){this.warn("Object method already subscribed to "+H);
return false;
}K[H].push({subscriber:I,context:J||null});
return true;
}else{K[H]=[{subscriber:I,context:J||null}];
return true;
}},checkSubscription:function(M,N,O){var P=this.getSubscriptions();

if(!P[M]||P[M].length===0){return false;
}
if(N){for(var i=0;i<P[M].length;i++){if(P[M][i].subscriber===N&&P[M][i].context===(O||null)){return true;
}}return false;
}return true;
},unsubscribe:function(a,b,c){var e=this.getSubscriptions();
var d=e[a];

if(d){if(!c){c=null;
}var i=d.length;
var f;

do{f=d[--i];

if(f.subscriber===b&&f.context===c){d.splice(i,1);

if(d.length===0){e[a]=null;
delete e[a];
}return true;
}}while(i);
}return false;
},dispatch:function(A){if(typeof A==l){var F=typeof arguments[1]!=m?arguments[1]:true;
A=new qx.event.message.Message(A,F);
}var B=this.getSubscriptions();
var C=A.getName();
var D=false;

for(var G in B){var E=G.indexOf(n);

if(E>-1){if(E===0||G.substr(0,E)===C.substr(0,E)){this.__kX(B[G],A);
D=true;
}}else{if(G===C){this.__kX(B[C],A);
D=true;
}}}return D;
},__kX:function(t,u){for(var i=0;i<t.length;i++){var v=t[i].subscriber;
var w=t[i].context;
if(w&&w.isDisposed){if(w.isDisposed()){t.splice(i,1);
i--;
}else{v.call(w,u);
}}else{v.call(w,u);
}}}}});
})();
(function(){var c="Object",b="qx.event.message.Message",a="String";
qx.Class.define(b,{extend:qx.core.Object,construct:function(name,d){qx.core.Object.call(this);

if(name!=null){this.setName(name);
}
if(d!=null){this.setData(d);
}},properties:{name:{check:a},data:{init:null,nullable:true},sender:{check:c}}});
})();
(function(){var o="indexOf",n="addAfter",m="add",l="addBefore",k="_",j="addAt",i="hasChildren",h="removeAt",g="removeAll",f="getChildren",d="remove",e="qx.ui.core.MRemoteChildrenHandling";
qx.Mixin.define(e,{members:{__kY:function(v,w,x,y){var z=this.getChildrenContainer();

if(z===this){v=k+v;
}return (z[v])(w,x,y);
},getChildren:function(){return this.__kY(f);
},hasChildren:function(){return this.__kY(i);
},add:function(t,u){return this.__kY(m,t,u);
},remove:function(s){return this.__kY(d,s);
},removeAll:function(){return this.__kY(g);
},indexOf:function(B){return this.__kY(o,B);
},addAt:function(a,b,c){this.__kY(j,a,b,c);
},addBefore:function(p,q,r){this.__kY(l,p,q,r);
},addAfter:function(C,D,E){this.__kY(n,C,D,E);
},removeAt:function(A){this.__kY(h,A);
}}});
})();
(function(){var a="qx.ui.core.MRemoteLayoutHandling";
qx.Mixin.define(a,{members:{setLayout:function(b){return this.getChildrenContainer().setLayout(b);
},getLayout:function(){return this.getChildrenContainer().getLayout();
}}});
})();
(function(){var k="Boolean",j="resize",i="mousedown",h="w-resize",g="sw-resize",f="n-resize",d="resizableRight",c="ne-resize",b="se-resize",a="Integer",z="e-resize",y="resizableLeft",x="mousemove",w="move",v="shorthand",u="maximized",t="nw-resize",s="mouseout",r="qx.ui.core.MResizable",q="mouseup",o="losecapture",p="resize-frame",m="resizableBottom",n="s-resize",l="resizableTop";
qx.Mixin.define(r,{construct:function(){this.addListener(i,this.__ll,this,true);
this.addListener(q,this.__lm,this);
this.addListener(x,this.__lo,this);
this.addListener(s,this.__lp,this);
this.addListener(o,this.__ln,this);
var C=this.getContainerElement().getDomElement();

if(C==null){C=window;
}this.__la=qx.event.Registration.getManager(C).getHandler(qx.event.handler.DragDrop);
},properties:{resizableTop:{check:k,init:true},resizableRight:{check:k,init:true},resizableBottom:{check:k,init:true},resizableLeft:{check:k,init:true},resizable:{group:[l,d,m,y],mode:v},resizeSensitivity:{check:a,init:5},useResizeFrame:{check:k,init:true}},members:{__la:null,__lb:null,__lc:null,__ld:null,__le:null,__lf:null,RESIZE_TOP:1,RESIZE_BOTTOM:2,RESIZE_LEFT:4,RESIZE_RIGHT:8,__lg:function(){var F=this.__lb;

if(!F){F=this.__lb=new qx.ui.core.Widget();
F.setAppearance(p);
F.exclude();
qx.core.Init.getApplication().getRoot().add(F);
}return F;
},__lh:function(){var B=this.__lf;
var A=this.__lg();
A.setUserBounds(B.left,B.top,B.width,B.height);
A.show();
A.setZIndex(this.getZIndex()+1);
},__li:function(e){var H=this.__lc;
var I=this.getSizeHint();
var K=this.__lf;
var G=K.width;
var J=K.height;
var M=K.left;
var top=K.top;
var L;

if((H&this.RESIZE_TOP)||(H&this.RESIZE_BOTTOM)){L=e.getDocumentTop()-this.__le;

if(H&this.RESIZE_TOP){J-=L;
}else{J+=L;
}
if(J<I.minHeight){J=I.minHeight;
}else if(J>I.maxHeight){J=I.maxHeight;
}
if(H&this.RESIZE_TOP){top+=K.height-J;
}}
if((H&this.RESIZE_LEFT)||(H&this.RESIZE_RIGHT)){L=e.getDocumentLeft()-this.__ld;

if(H&this.RESIZE_LEFT){G-=L;
}else{G+=L;
}
if(G<I.minWidth){G=I.minWidth;
}else if(G>I.maxWidth){G=I.maxWidth;
}
if(H&this.RESIZE_LEFT){M+=K.width-G;
}}return {viewportLeft:M,viewportTop:top,parentLeft:K.bounds.left+M-K.left,parentTop:K.bounds.top+top-K.top,width:G,height:J};
},__lj:{1:f,2:n,4:h,8:z,5:t,6:g,9:c,10:b},__lk:function(e){var P=this.getContentLocation();
var N=this.getResizeSensitivity();
var R=e.getDocumentLeft();
var Q=e.getDocumentTop();
var O=0;

if(this.getResizableTop()&&Math.abs(P.top-Q)<N){O+=this.RESIZE_TOP;
}else if(this.getResizableBottom()&&Math.abs(P.bottom-Q)<N){O+=this.RESIZE_BOTTOM;
}
if(this.getResizableLeft()&&Math.abs(P.left-R)<N){O+=this.RESIZE_LEFT;
}else if(this.getResizableRight()&&Math.abs(P.right-R)<N){O+=this.RESIZE_RIGHT;
}this.__lc=O;
},__ll:function(e){if(!this.__lc){return;
}this.addState(j);
this.__ld=e.getDocumentLeft();
this.__le=e.getDocumentTop();
var location=this.getContainerLocation();
var D=this.getBounds();
this.__lf={top:location.top,left:location.left,width:D.width,height:D.height,bounds:qx.lang.Object.clone(D)};
if(this.getUseResizeFrame()){this.__lh();
}this.capture();
e.stop();
},__lm:function(e){if(!this.hasState(j)){return;
}if(this.getUseResizeFrame()){this.__lg().exclude();
}var E=this.__li(e);
this.setWidth(E.width);
this.setHeight(E.height);
if(this.getResizableLeft()||this.getResizableTop()){this.setLayoutProperties({left:E.parentLeft,top:E.parentTop});
}this.__lc=0;
this.removeState(j);
this.resetCursor();
this.getApplicationRoot().resetGlobalCursor();
this.releaseCapture();
e.stopPropagation();
},__ln:function(e){if(!this.__lc){return;
}this.resetCursor();
this.getApplicationRoot().resetGlobalCursor();
this.removeState(w);
if(this.getUseResizeFrame()){this.__lg().exclude();
}},__lo:function(e){if(this.hasState(j)){var V=this.__li(e);
if(this.getUseResizeFrame()){var T=this.__lg();
T.setUserBounds(V.viewportLeft,V.viewportTop,V.width,V.height);
}else{this.setWidth(V.width);
this.setHeight(V.height);
if(this.getResizableLeft()||this.getResizableTop()){this.setLayoutProperties({left:V.parentLeft,top:V.parentTop});
}}e.stopPropagation();
}else if(!this.hasState(u)&&!this.__la.isSessionActive()){this.__lk(e);
var W=this.__lc;
var U=this.getApplicationRoot();

if(W){var S=this.__lj[W];
this.setCursor(S);
U.setGlobalCursor(S);
}else if(this.getCursor()){this.resetCursor();
U.resetGlobalCursor();
}}},__lp:function(e){if(this.getCursor()&&!this.hasState(j)){this.resetCursor();
this.getApplicationRoot().resetGlobalCursor();
}}},destruct:function(){if(this.__lb!=null&&!qx.core.ObjectRegistry.inShutDown){this.__lb.destroy();
this.__lb=null;
}this.__la=null;
}});
})();
(function(){var q="move",p="Boolean",o="__lr",n="mouseup",m="mousedown",l="__lq",k="losecapture",j="qx.ui.core.MMovable",i="mousemove",h="maximized",g="move-frame";
qx.Mixin.define(j,{properties:{movable:{check:p,init:true},useMoveFrame:{check:p,init:false}},members:{__lq:null,__lr:null,__ls:null,__lt:null,__lu:null,__lv:null,__lw:null,__lx:false,__ly:null,__lz:0,_activateMoveHandle:function(t){if(this.__lq){throw new Error("The move handle could not be redefined!");
}this.__lq=t;
t.addListener(m,this._onMoveMouseDown,this);
t.addListener(n,this._onMoveMouseUp,this);
t.addListener(i,this._onMoveMouseMove,this);
t.addListener(k,this.__lD,this);
},__lA:function(){var r=this.__lr;

if(!r){r=this.__lr=new qx.ui.core.Widget();
r.setAppearance(g);
r.exclude();
qx.core.Init.getApplication().getRoot().add(r);
}return r;
},__lB:function(){var location=this.getContainerLocation();
var y=this.getBounds();
var x=this.__lA();
x.setUserBounds(location.left,location.top,y.width,y.height);
x.show();
x.setZIndex(this.getZIndex()+1);
},__lC:function(e){var b=this.__ls;
var f=Math.max(b.left,Math.min(b.right,e.getDocumentLeft()));
var d=Math.max(b.top,Math.min(b.bottom,e.getDocumentTop()));
var a=this.__lt+f;
var c=this.__lu+d;
return {viewportLeft:a,viewportTop:c,parentLeft:a-this.__lv,parentTop:c-this.__lw};
},_onMoveMouseDown:function(e){if(!this.getMovable()||this.hasState(h)){return;
}var parent=this.getLayoutParent();
var v=parent.getContentLocation();
var w=parent.getBounds();
if(qx.Class.implementsInterface(parent,qx.ui.window.IDesktop)){if(!parent.isContentBlocked()){this.__lx=true;
this.__ly=parent.getBlockerColor();
this.__lz=parent.getBlockerOpacity();
parent.setBlockerColor(null);
parent.setBlockerOpacity(1);
parent.blockContent(this.getZIndex()-1);
}}this.__ls={left:v.left,top:v.top,right:v.left+w.width,bottom:v.top+w.height};
var u=this.getContainerLocation();
this.__lv=v.left;
this.__lw=v.top;
this.__lt=u.left-e.getDocumentLeft();
this.__lu=u.top-e.getDocumentTop();
this.addState(q);
this.__lq.capture();
if(this.getUseMoveFrame()){this.__lB();
}e.stop();
},_onMoveMouseMove:function(e){if(!this.hasState(q)){return;
}var s=this.__lC(e);

if(this.getUseMoveFrame()){this.__lA().setDomPosition(s.viewportLeft,s.viewportTop);
}else{this.setDomPosition(s.parentLeft,s.parentTop);
}e.stopPropagation();
},_onMoveMouseUp:function(e){if(!this.hasState(q)){return;
}this.removeState(q);
var parent=this.getLayoutParent();

if(qx.Class.implementsInterface(parent,qx.ui.window.IDesktop)){if(this.__lx){parent.unblockContent();
parent.setBlockerColor(this.__ly);
parent.setBlockerOpacity(this.__lz);
this.__ly=null;
this.__lz=0;
}}this.__lq.releaseCapture();
var z=this.__lC(e);
this.setLayoutProperties({left:z.parentLeft,top:z.parentTop});
if(this.getUseMoveFrame()){this.__lA().exclude();
}e.stopPropagation();
},__lD:function(e){if(!this.hasState(q)){return;
}this.removeState(q);
if(this.getUseMoveFrame()){this.__lA().exclude();
}}},destruct:function(){this._disposeObjects(o,l);
this.__ls=null;
}});
})();
(function(){var p="Integer",o="_applyContentPadding",n="resetPaddingRight",m="setPaddingBottom",l="resetPaddingTop",k="qx.ui.core.MContentPadding",j="resetPaddingLeft",i="setPaddingTop",h="setPaddingRight",g="resetPaddingBottom",c="contentPaddingLeft",f="setPaddingLeft",e="contentPaddingTop",b="shorthand",a="contentPaddingRight",d="contentPaddingBottom";
qx.Mixin.define(k,{properties:{contentPaddingTop:{check:p,init:0,apply:o,themeable:true},contentPaddingRight:{check:p,init:0,apply:o,themeable:true},contentPaddingBottom:{check:p,init:0,apply:o,themeable:true},contentPaddingLeft:{check:p,init:0,apply:o,themeable:true},contentPadding:{group:[e,a,d,c],mode:b,themeable:true}},members:{__lE:{contentPaddingTop:i,contentPaddingRight:h,contentPaddingBottom:m,contentPaddingLeft:f},__lF:{contentPaddingTop:l,contentPaddingRight:n,contentPaddingBottom:g,contentPaddingLeft:j},_applyContentPadding:function(q,r,name){var s=this._getContentPaddingTarget();

if(q==null){var t=this.__lF[name];
s[t]();
}else{var u=this.__lE[name];
s[u](q);
}}}});
})();
(function(){var a="qx.ui.window.IWindowManager";
qx.Interface.define(a,{members:{setDesktop:function(c){this.assertInterface(c,qx.ui.window.IDesktop);
},changeActiveWindow:function(e,f){},updateStack:function(){},bringToFront:function(b){this.assertInstance(b,qx.ui.window.Window);
},sendToBack:function(d){this.assertInstance(d,qx.ui.window.Window);
}}});
})();
(function(){var b="__lG",a="qx.ui.window.Manager";
qx.Class.define(a,{extend:qx.core.Object,implement:qx.ui.window.IWindowManager,members:{__lG:null,setDesktop:function(c){this.__lG=c;
this.updateStack();
},getDesktop:function(){return this.__lG;
},changeActiveWindow:function(q,r){if(q){this.bringToFront(q);
}},_minZIndex:1e5,updateStack:function(){qx.ui.core.queue.Widget.add(this);
},syncWidget:function(){this.__lG.forceUnblockContent();
var h=this.__lG.getWindows();
var m=this._minZIndex-1;
var k=false;
var j,g=null;

for(var i=0,l=h.length;i<l;i++){j=h[i];

if(!j.isVisible()){continue;
}m+=2;
j.setZIndex(m);
if(j.getModal()){this.__lG.blockContent(m-1);
}k=k||j.isActive();
g=j;
}
if(!k){this.__lG.setActiveWindow(g);
}},bringToFront:function(d){var e=this.__lG.getWindows();
var f=qx.lang.Array.remove(e,d);

if(f){e.push(d);
this.updateStack();
}},sendToBack:function(n){var o=this.__lG.getWindows();
var p=qx.lang.Array.remove(o,n);

if(p){o.unshift(n);
this.updateStack();
}}},destruct:function(){this._disposeObjects(b);
}});
})();
(function(){var A="Boolean",z="qx.event.type.Event",y="captionbar",x="_applyCaptionBarChange",w="maximize-button",v="restore-button",u="minimize-button",t="close-button",s="title",r="icon",bg="maximized",bf="execute",be="pane",bd="statusbar-text",bc="statusbar",bb="String",ba="normal",Y="active",X="beforeClose",W="beforeMinimize",H="mousedown",I="changeStatus",F="changeIcon",G="excluded",D="dblclick",E="_applyActive",B="beforeRestore",C="minimize",J="changeModal",K="_applyShowStatusbar",O="_applyStatus",N="qx.ui.window.Window",Q="changeCaption",P="focusout",S="beforeMaximize",R="maximize",M="restore",V="window",U="close",T="changeActive",L="minimized";
qx.Class.define(N,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MRemoteLayoutHandling,qx.ui.core.MResizable,qx.ui.core.MMovable,qx.ui.core.MContentPadding],construct:function(a,b){qx.ui.core.Widget.call(this);
this._setLayout(new qx.ui.layout.VBox());
this._createChildControl(y);
this._createChildControl(be);
if(b!=null){this.setIcon(b);
}
if(a!=null){this.setCaption(a);
}this._updateCaptionBar();
this.addListener(H,this._onWindowMouseDown,this,true);
this.addListener(P,this._onWindowFocusOut,this);
qx.core.Init.getApplication().getRoot().add(this);
this.initVisibility();
qx.ui.core.FocusHandler.getInstance().addRoot(this);
{};
},statics:{DEFAULT_MANAGER_CLASS:qx.ui.window.Manager},events:{"beforeClose":z,"close":z,"beforeMinimize":z,"minimize":z,"beforeMaximize":z,"maximize":z,"beforeRestore":z,"restore":z},properties:{appearance:{refine:true,init:V},visibility:{refine:true,init:G},focusable:{refine:true,init:true},active:{check:A,init:false,apply:E,event:T},modal:{check:A,init:false,event:J},caption:{apply:x,event:Q,nullable:true},icon:{check:bb,nullable:true,apply:x,event:F,themeable:true},status:{check:bb,nullable:true,apply:O,event:I},showClose:{check:A,init:true,apply:x,themeable:true},showMaximize:{check:A,init:true,apply:x,themeable:true},showMinimize:{check:A,init:true,apply:x,themeable:true},allowClose:{check:A,init:true,apply:x},allowMaximize:{check:A,init:true,apply:x},allowMinimize:{check:A,init:true,apply:x},showStatusbar:{check:A,init:false,apply:K}},members:{__lH:null,__lI:null,getChildrenContainer:function(){return this.getChildControl(be);
},_forwardStates:{active:true,maximized:true},setLayoutParent:function(parent){{};
qx.ui.core.Widget.prototype.setLayoutParent.call(this,parent);
},_createChildControlImpl:function(bh){var bi;

switch(bh){case bc:bi=new qx.ui.container.Composite(new qx.ui.layout.HBox());
this._add(bi);
bi.add(this.getChildControl(bd));
break;
case bd:bi=new qx.ui.basic.Label();
bi.setValue(this.getStatus());
break;
case be:bi=new qx.ui.container.Composite();
this._add(bi,{flex:1});
break;
case y:var bk=new qx.ui.layout.Grid();
bk.setRowFlex(0,1);
bk.setColumnFlex(1,1);
bi=new qx.ui.container.Composite(bk);
this._add(bi);
bi.addListener(D,this._onCaptionMouseDblClick,this);
this._activateMoveHandle(bi);
break;
case r:bi=new qx.ui.basic.Image(this.getIcon());
this.getChildControl(y).add(bi,{row:0,column:0});
break;
case s:bi=new qx.ui.basic.Label(this.getCaption());
bi.setWidth(0);
bi.setAllowGrowX(true);
var bj=this.getChildControl(y);
bj.add(bi,{row:0,column:1});
break;
case u:bi=new qx.ui.form.Button();
bi.setFocusable(false);
bi.addListener(bf,this._onMinimizeButtonClick,this);
this.getChildControl(y).add(bi,{row:0,column:2});
break;
case v:bi=new qx.ui.form.Button();
bi.setFocusable(false);
bi.addListener(bf,this._onRestoreButtonClick,this);
this.getChildControl(y).add(bi,{row:0,column:3});
break;
case w:bi=new qx.ui.form.Button();
bi.setFocusable(false);
bi.addListener(bf,this._onMaximizeButtonClick,this);
this.getChildControl(y).add(bi,{row:0,column:4});
break;
case t:bi=new qx.ui.form.Button();
bi.setFocusable(false);
bi.addListener(bf,this._onCloseButtonClick,this);
this.getChildControl(y).add(bi,{row:0,column:6});
break;
}return bi||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,bh);
},_updateCaptionBar:function(){var k;
var l=this.getIcon();

if(l){this.getChildControl(r).setSource(l);
this._showChildControl(r);
}else{this._excludeChildControl(r);
}var j=this.getCaption();

if(j){this.getChildControl(s).setValue(j);
this._showChildControl(s);
}else{this._excludeChildControl(s);
}
if(this.getShowMinimize()){this._showChildControl(u);
k=this.getChildControl(u);
this.getAllowMinimize()?k.resetEnabled():k.setEnabled(false);
}else{this._excludeChildControl(u);
}
if(this.getShowMaximize()){if(this.isMaximized()){this._showChildControl(v);
this._excludeChildControl(w);
}else{this._showChildControl(w);
this._excludeChildControl(v);
}k=this.getChildControl(w);
this.getAllowMaximize()?k.resetEnabled():k.setEnabled(false);
}else{this._excludeChildControl(w);
this._excludeChildControl(v);
}
if(this.getShowClose()){this._showChildControl(t);
k=this.getChildControl(t);
this.getAllowClose()?k.resetEnabled():k.setEnabled(false);
}else{this._excludeChildControl(t);
}},close:function(){if(!this.isVisible()){return;
}
if(this.fireNonBubblingEvent(X,qx.event.type.Event,[false,true])){this.hide();
this.fireEvent(U);
}},open:function(){this.show();
this.setActive(true);
this.focus();
},center:function(){var parent=this.getLayoutParent();

if(parent){var bm=parent.getBounds();

if(bm){var bn=this.getSizeHint();
var bl=Math.round((bm.width-bn.width)/2);
var top=Math.round((bm.height-bn.height)/2);

if(top<0){top=0;
}this.moveTo(bl,top);
return;
}}{};
},maximize:function(){if(this.isMaximized()){return;
}var parent=this.getLayoutParent();

if(parent!=null&&parent.supportsMaximize()){if(this.fireNonBubblingEvent(S,qx.event.type.Event,[false,true])){if(!this.isVisible()){this.open();
}var c=this.getLayoutProperties();
this.__lI=c.left===undefined?0:c.left;
this.__lH=c.top===undefined?0:c.top;
this.setLayoutProperties({left:null,top:null,edge:0});
this.addState(bg);
this._updateCaptionBar();
this.fireEvent(R);
}}},minimize:function(){if(!this.isVisible()){return;
}
if(this.fireNonBubblingEvent(W,qx.event.type.Event,[false,true])){var n=this.getLayoutProperties();
this.__lI=n.left===undefined?0:n.left;
this.__lH=n.top===undefined?0:n.top;
this.removeState(bg);
this.hide();
this.fireEvent(C);
}},restore:function(){if(this.getMode()===ba){return;
}
if(this.fireNonBubblingEvent(B,qx.event.type.Event,[false,true])){if(!this.isVisible()){this.open();
}var q=this.__lI;
var top=this.__lH;
this.setLayoutProperties({edge:null,left:q,top:top});
this.removeState(bg);
this._updateCaptionBar();
this.fireEvent(M);
}},moveTo:function(g,top){if(this.isMaximized()){return;
}this.setLayoutProperties({left:g,top:top});
},isMaximized:function(){return this.hasState(bg);
},getMode:function(){if(!this.isVisible()){return L;
}else{if(this.isMaximized()){return bg;
}else{return ba;
}}},_applyActive:function(d,f){if(f){this.removeState(Y);
}else{this.addState(Y);
}},_getContentPaddingTarget:function(){return this.getChildControl(be);
},_applyShowStatusbar:function(bo,bp){if(bo){this._showChildControl(bc);
}else{this._excludeChildControl(bc);
}},_applyCaptionBarChange:function(bt,bu){this._updateCaptionBar();
},_applyStatus:function(bq,br){var bs=this.getChildControl(bd,true);

if(bs){bs.setValue(bq);
}},_applyCaption:function(o,p){{};
this.getChildControl(s).setValue(o);
},_applyIcon:function(h,i){{};
this.getChildControl(r).setSource(h);
},_onWindowEventStop:function(e){e.stopPropagation();
},_onWindowMouseDown:function(e){this.setActive(true);
},_onWindowFocusOut:function(e){if(this.getModal()){return;
}var m=e.getRelatedTarget();

if(m!=null&&!qx.ui.core.Widget.contains(this,m)){this.setActive(false);
}},_onCaptionMouseDblClick:function(e){if(this.getAllowMaximize()){this.isMaximized()?this.restore():this.maximize();
}},_onMinimizeButtonClick:function(e){this.minimize();
this.getChildControl(u).reset();
},_onRestoreButtonClick:function(e){this.restore();
this.getChildControl(v).reset();
},_onMaximizeButtonClick:function(e){this.maximize();
this.getChildControl(w).reset();
},_onCloseButtonClick:function(e){this.close();
this.getChildControl(t).reset();
}}});
})();
(function(){var k='error',j='info',i='keydown',h="Agrammon.Lib.Error",g="icon/32/status/dialog-error.png",f="OK",d="icon/16/actions/dialog-ok.png",c="right",b='Enter',a="execute";
qx.Class.define(h,{extend:qx.ui.window.Window,construct:function(){qx.ui.window.Window.call(this);
this.set({modal:true,showMinimize:false,showMaximize:false,resizable:true,contentPadding:20,zIndex:10000});
this.setLayout(new qx.ui.layout.VBox(10));
var q=new qx.ui.basic.Atom(null,g);
q.setRich(true);
q.setGap(10);
q.setWidth(400);
this.add(q);
var n=new qx.ui.container.Composite;
n.setLayout(new qx.ui.layout.HBox(5,c));
this.add(n);
var p=new qx.ui.form.Button(f,d);
var o=this;
this.addListener(i,function(e){if(e.getKeyIdentifier()==b){p.execute();
}});
p.addListener(a,function(e){o.debug('that.__msg='+o.__xu);

if(o.__xu){o.debug('msg='+o.__xu.msg+', data='+o.__xu.data);
qx.event.message.Bus.dispatch(o.__xu.msg,o.__xu.data);
}o.close();
});
n.add(p);
qx.event.message.Bus.subscribe(k,function(m){var l=m.getData();
o.setCaption(l[0]);
q.setLabel(l[1]);

if(l[2]==j){q.setIcon(null);
}else{q.setIcon('icon/32/status/dialog-error.png');
o.setModal(true);
}o.__xu=l[3];
o.center();
o.open();
p.focus();
});
},members:{__xu:null}});
})();
(function(){var b="qx.ui.window.IDesktop";
qx.Interface.define(b,{members:{setWindowManager:function(c){this.assertInterface(c,qx.ui.window.IWindowManager);
},getWindows:function(){},supportsMaximize:function(){},blockContent:function(a){this.assertInteger(a);
},unblockContent:function(){},isContentBlocked:function(){}}});
})();
(function(){var w="_applyLayoutChange",v="top",u="left",t="middle",s="Decorator",r="center",q="_applyReversed",p="bottom",o="qx.ui.layout.VBox",n="Integer",k="right",m="Boolean";
qx.Class.define(o,{extend:qx.ui.layout.Abstract,construct:function(a,b,c){qx.ui.layout.Abstract.call(this);

if(a){this.setSpacing(a);
}
if(b){this.setAlignY(b);
}
if(c){this.setSeparator(c);
}},properties:{alignY:{check:[v,t,p],init:v,apply:w},alignX:{check:[u,r,k],init:u,apply:w},spacing:{check:n,init:0,apply:w},separator:{check:s,nullable:true,apply:w},reversed:{check:m,init:false,apply:q}},members:{__lJ:null,__lK:null,__lL:null,__lM:null,_applyReversed:function(){this._invalidChildrenCache=true;
this._applyLayoutChange();
},__lN:function(){var j=this._getLayoutChildren();
var length=j.length;
var e=false;
var d=this.__lJ&&this.__lJ.length!=length&&this.__lK&&this.__lJ;
var g;
var f=d?this.__lJ:new Array(length);
var h=d?this.__lK:new Array(length);
if(this.getReversed()){j=j.concat().reverse();
}for(var i=0;i<length;i++){g=j[i].getLayoutProperties();

if(g.height!=null){f[i]=parseFloat(g.height)/100;
}
if(g.flex!=null){h[i]=g.flex;
e=true;
}else{h[i]=0;
}}if(!d){this.__lJ=f;
this.__lK=h;
}this.__lL=e;
this.__lM=j;
delete this._invalidChildrenCache;
},verifyLayoutProperty:null,renderLayout:function(x,y){if(this._invalidChildrenCache){this.__lN();
}var F=this.__lM;
var length=F.length;
var P=qx.ui.layout.Util;
var O=this.getSpacing();
var S=this.getSeparator();

if(S){var C=P.computeVerticalSeparatorGaps(F,O,S);
}else{var C=P.computeVerticalGaps(F,O,true);
}var i,A,B,J;
var K=[];
var Q=C;

for(i=0;i<length;i+=1){J=this.__lJ[i];
B=J!=null?Math.floor((y-C)*J):F[i].getSizeHint().height;
K.push(B);
Q+=B;
}if(this.__lL&&Q!=y){var H={};
var N,R;

for(i=0;i<length;i+=1){N=this.__lK[i];

if(N>0){G=F[i].getSizeHint();
H[i]={min:G.minHeight,value:K[i],max:G.maxHeight,flex:N};
}}var D=P.computeFlexOffsets(H,y,Q);

for(i in D){R=D[i].offset;
K[i]+=R;
Q+=R;
}}var top=F[0].getMarginTop();
if(Q<y&&this.getAlignY()!=v){top=y-Q;

if(this.getAlignY()===t){top=Math.round(top/2);
}}var G,U,L,B,I,M,E;
this._clearSeparators();
if(S){var T=qx.theme.manager.Decoration.getInstance().resolve(S).getInsets();
var z=T.top+T.bottom;
}for(i=0;i<length;i+=1){A=F[i];
B=K[i];
G=A.getSizeHint();
M=A.getMarginLeft();
E=A.getMarginRight();
L=Math.max(G.minWidth,Math.min(x-M-E,G.maxWidth));
U=P.computeHorizontalAlignOffset(A.getAlignX()||this.getAlignX(),L,x,M,E);
if(i>0){if(S){top+=I+O;
this._renderSeparator(S,{top:top,left:0,height:z,width:x});
top+=z+O+A.getMarginTop();
}else{top+=P.collapseMargins(O,I,A.getMarginTop());
}}A.renderLayout(U,top,L,B);
top+=B;
I=A.getMarginBottom();
}},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__lN();
}var bc=qx.ui.layout.Util;
var bk=this.__lM;
var X=0,bb=0,ba=0;
var V=0,bd=0;
var bh,W,bj;
for(var i=0,l=bk.length;i<l;i+=1){bh=bk[i];
W=bh.getSizeHint();
bb+=W.height;
var bg=this.__lK[i];
var Y=this.__lJ[i];

if(bg){X+=W.minHeight;
}else if(Y){ba=Math.max(ba,Math.round(W.minHeight/Y));
}else{X+=W.height;
}bj=bh.getMarginLeft()+bh.getMarginRight();
if((W.width+bj)>bd){bd=W.width+bj;
}if((W.minWidth+bj)>V){V=W.minWidth+bj;
}}X+=ba;
var bf=this.getSpacing();
var bi=this.getSeparator();

if(bi){var be=bc.computeVerticalSeparatorGaps(bk,bf,bi);
}else{var be=bc.computeVerticalGaps(bk,bf,true);
}return {minHeight:X+be,height:bb+be,minWidth:V,width:bd};
}},destruct:function(){this.__lJ=this.__lK=this.__lM=null;
}});
})();
(function(){var w="_applyLayoutChange",v="left",u="center",t="top",s="Decorator",r="middle",q="_applyReversed",p="bottom",o="Boolean",n="right",k="Integer",m="qx.ui.layout.HBox";
qx.Class.define(m,{extend:qx.ui.layout.Abstract,construct:function(a,b,c){qx.ui.layout.Abstract.call(this);

if(a){this.setSpacing(a);
}
if(b){this.setAlignX(b);
}
if(c){this.setSeparator(c);
}},properties:{alignX:{check:[v,u,n],init:v,apply:w},alignY:{check:[t,r,p],init:t,apply:w},spacing:{check:k,init:0,apply:w},separator:{check:s,nullable:true,apply:w},reversed:{check:o,init:false,apply:q}},members:{__lO:null,__lP:null,__lQ:null,__lR:null,_applyReversed:function(){this._invalidChildrenCache=true;
this._applyLayoutChange();
},__lS:function(){var j=this._getLayoutChildren();
var length=j.length;
var f=false;
var d=this.__lO&&this.__lO.length!=length&&this.__lP&&this.__lO;
var g;
var e=d?this.__lO:new Array(length);
var h=d?this.__lP:new Array(length);
if(this.getReversed()){j=j.concat().reverse();
}for(var i=0;i<length;i++){g=j[i].getLayoutProperties();

if(g.width!=null){e[i]=parseFloat(g.width)/100;
}
if(g.flex!=null){h[i]=g.flex;
f=true;
}else{h[i]=0;
}}if(!d){this.__lO=e;
this.__lP=h;
}this.__lQ=f;
this.__lR=j;
delete this._invalidChildrenCache;
},verifyLayoutProperty:null,renderLayout:function(M,N){if(this._invalidChildrenCache){this.__lS();
}var T=this.__lR;
var length=T.length;
var bd=qx.ui.layout.Util;
var bc=this.getSpacing();
var bg=this.getSeparator();

if(bg){var Q=bd.computeHorizontalSeparatorGaps(T,bc,bg);
}else{var Q=bd.computeHorizontalGaps(T,bc,true);
}var i,O,ba,Y;
var bf=[];
var U=Q;

for(i=0;i<length;i+=1){Y=this.__lO[i];
ba=Y!=null?Math.floor((M-Q)*Y):T[i].getSizeHint().width;
bf.push(ba);
U+=ba;
}if(this.__lQ&&U!=M){var W={};
var bb,be;

for(i=0;i<length;i+=1){bb=this.__lP[i];

if(bb>0){V=T[i].getSizeHint();
W[i]={min:V.minWidth,value:bf[i],max:V.maxWidth,flex:bb};
}}var R=bd.computeFlexOffsets(W,M,U);

for(i in R){be=R[i].offset;
bf[i]+=be;
U+=be;
}}var bk=T[0].getMarginLeft();
if(U<M&&this.getAlignX()!=v){bk=M-U;

if(this.getAlignX()===u){bk=Math.round(bk/2);
}}var V,top,P,ba,S,bi,X;
var bc=this.getSpacing();
this._clearSeparators();
if(bg){var bh=qx.theme.manager.Decoration.getInstance().resolve(bg).getInsets();
var bj=bh.left+bh.right;
}for(i=0;i<length;i+=1){O=T[i];
ba=bf[i];
V=O.getSizeHint();
bi=O.getMarginTop();
X=O.getMarginBottom();
P=Math.max(V.minHeight,Math.min(N-bi-X,V.maxHeight));
top=bd.computeVerticalAlignOffset(O.getAlignY()||this.getAlignY(),P,N,bi,X);
if(i>0){if(bg){bk+=S+bc;
this._renderSeparator(bg,{left:bk,top:0,width:bj,height:N});
bk+=bj+bc+O.getMarginLeft();
}else{bk+=bd.collapseMargins(bc,S,O.getMarginLeft());
}}O.renderLayout(bk,top,ba,P);
bk+=ba;
S=O.getMarginRight();
}},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__lS();
}var D=qx.ui.layout.Util;
var L=this.__lR;
var x=0,E=0,B=0;
var A=0,C=0;
var I,y,K;
for(var i=0,l=L.length;i<l;i+=1){I=L[i];
y=I.getSizeHint();
E+=y.width;
var H=this.__lP[i];
var z=this.__lO[i];

if(H){x+=y.minWidth;
}else if(z){B=Math.max(B,Math.round(y.minWidth/z));
}else{x+=y.width;
}K=I.getMarginTop()+I.getMarginBottom();
if((y.height+K)>C){C=y.height+K;
}if((y.minHeight+K)>A){A=y.minHeight+K;
}}x+=B;
var G=this.getSpacing();
var J=this.getSeparator();

if(J){var F=D.computeHorizontalSeparatorGaps(L,G,J);
}else{var F=D.computeHorizontalGaps(L,G,true);
}return {minWidth:x+F,width:E+F,minHeight:A,height:C};
}},destruct:function(){this.__lO=this.__lP=this.__lR=null;
}});
})();
(function(){var dr="left",dq="top",dp="_applyLayoutChange",dn="hAlign",dm="flex",dl="vAlign",dk="Integer",dj="minWidth",di="width",dh="minHeight",de="qx.ui.layout.Grid",dg="height",df="maxHeight",dd="maxWidth";
qx.Class.define(de,{extend:qx.ui.layout.Abstract,construct:function(du,dv){qx.ui.layout.Abstract.call(this);
this.__lT=[];
this.__lU=[];

if(du){this.setSpacingX(du);
}
if(dv){this.setSpacingY(dv);
}},properties:{spacingX:{check:dk,init:0,apply:dp},spacingY:{check:dk,init:0,apply:dp}},members:{__lV:null,__lT:null,__lU:null,__lW:null,__lX:null,__lY:null,__ma:null,__mb:null,__mc:null,verifyLayoutProperty:null,__md:function(){var bi=[];
var bh=[];
var bj=[];
var bf=-1;
var be=-1;
var bl=this._getLayoutChildren();

for(var i=0,l=bl.length;i<l;i++){var bg=bl[i];
var bk=bg.getLayoutProperties();
var bm=bk.row;
var bd=bk.column;
bk.colSpan=bk.colSpan||1;
bk.rowSpan=bk.rowSpan||1;
if(bm==null||bd==null){throw new Error("The layout properties 'row' and 'column' of the child widget '"+bg+"' must be defined!");
}
if(bi[bm]&&bi[bm][bd]){throw new Error("Cannot add widget '"+bg+"'!. "+"There is already a widget '"+bi[bm][bd]+"' in this cell ("+bm+", "+bd+")");
}
for(var x=bd;x<bd+bk.colSpan;x++){for(var y=bm;y<bm+bk.rowSpan;y++){if(bi[y]==undefined){bi[y]=[];
}bi[y][x]=bg;
be=Math.max(be,x);
bf=Math.max(bf,y);
}}
if(bk.rowSpan>1){bj.push(bg);
}
if(bk.colSpan>1){bh.push(bg);
}}for(var y=0;y<=bf;y++){if(bi[y]==undefined){bi[y]=[];
}}this.__lV=bi;
this.__lW=bh;
this.__lX=bj;
this.__lY=bf;
this.__ma=be;
this.__mb=null;
this.__mc=null;
delete this._invalidChildrenCache;
},_setRowData:function(bB,bC,bD){var bE=this.__lT[bB];

if(!bE){this.__lT[bB]={};
this.__lT[bB][bC]=bD;
}else{bE[bC]=bD;
}},_setColumnData:function(p,q,r){var s=this.__lU[p];

if(!s){this.__lU[p]={};
this.__lU[p][q]=r;
}else{s[q]=r;
}},setSpacing:function(dc){this.setSpacingY(dc);
this.setSpacingX(dc);
return this;
},setColumnAlign:function(cK,cL,cM){{};
this._setColumnData(cK,dn,cL);
this._setColumnData(cK,dl,cM);
this._applyLayoutChange();
return this;
},getColumnAlign:function(bH){var bI=this.__lU[bH]||{};
return {vAlign:bI.vAlign||dq,hAlign:bI.hAlign||dr};
},setRowAlign:function(dF,dG,dH){{};
this._setRowData(dF,dn,dG);
this._setRowData(dF,dl,dH);
this._applyLayoutChange();
return this;
},getRowAlign:function(t){var u=this.__lT[t]||{};
return {vAlign:u.vAlign||dq,hAlign:u.hAlign||dr};
},getCellWidget:function(cv,cw){if(this._invalidChildrenCache){this.__md();
}var cv=this.__lV[cv]||{};
return cv[cw]||null;
},getRowCount:function(){if(this._invalidChildrenCache){this.__md();
}return this.__lY+1;
},getColumnCount:function(){if(this._invalidChildrenCache){this.__md();
}return this.__ma+1;
},getCellAlign:function(c,d){var m=dq;
var h=dr;
var k=this.__lT[c];
var f=this.__lU[d];
var e=this.__lV[c][d];

if(e){var g={vAlign:e.getAlignY(),hAlign:e.getAlignX()};
}else{g={};
}if(g.vAlign){m=g.vAlign;
}else if(k&&k.vAlign){m=k.vAlign;
}else if(f&&f.vAlign){m=f.vAlign;
}if(g.hAlign){h=g.hAlign;
}else if(f&&f.hAlign){h=f.hAlign;
}else if(k&&k.hAlign){h=k.hAlign;
}return {vAlign:m,hAlign:h};
},setColumnFlex:function(bY,ca){this._setColumnData(bY,dm,ca);
this._applyLayoutChange();
return this;
},getColumnFlex:function(dy){var dz=this.__lU[dy]||{};
return dz.flex!==undefined?dz.flex:0;
},setRowFlex:function(cI,cJ){this._setRowData(cI,dm,cJ);
this._applyLayoutChange();
return this;
},getRowFlex:function(cP){var cQ=this.__lT[cP]||{};
var cR=cQ.flex!==undefined?cQ.flex:0;
return cR;
},setColumnMaxWidth:function(cN,cO){this._setColumnData(cN,dd,cO);
this._applyLayoutChange();
return this;
},getColumnMaxWidth:function(bF){var bG=this.__lU[bF]||{};
return bG.maxWidth!==undefined?bG.maxWidth:Infinity;
},setColumnWidth:function(bW,bX){this._setColumnData(bW,di,bX);
this._applyLayoutChange();
return this;
},getColumnWidth:function(n){var o=this.__lU[n]||{};
return o.width!==undefined?o.width:null;
},setColumnMinWidth:function(a,b){this._setColumnData(a,dj,b);
this._applyLayoutChange();
return this;
},getColumnMinWidth:function(dK){var dL=this.__lU[dK]||{};
return dL.minWidth||0;
},setRowMaxHeight:function(dw,dx){this._setRowData(dw,df,dx);
this._applyLayoutChange();
return this;
},getRowMaxHeight:function(ds){var dt=this.__lT[ds]||{};
return dt.maxHeight||Infinity;
},setRowHeight:function(bJ,bK){this._setRowData(bJ,dg,bK);
this._applyLayoutChange();
return this;
},getRowHeight:function(cm){var cn=this.__lT[cm]||{};
return cn.height!==undefined?cn.height:null;
},setRowMinHeight:function(dI,dJ){this._setRowData(dI,dh,dJ);
this._applyLayoutChange();
return this;
},getRowMinHeight:function(cS){var cT=this.__lT[cS]||{};
return cT.minHeight||0;
},__me:function(dA){var dE=dA.getSizeHint();
var dD=dA.getMarginLeft()+dA.getMarginRight();
var dC=dA.getMarginTop()+dA.getMarginBottom();
var dB={height:dE.height+dC,width:dE.width+dD,minHeight:dE.minHeight+dC,minWidth:dE.minWidth+dD,maxHeight:dE.maxHeight+dC,maxWidth:dE.maxWidth+dD};
return dB;
},_fixHeightsRowSpan:function(bn){var by=this.getSpacingY();

for(var i=0,l=this.__lX.length;i<l;i++){var bq=this.__lX[i];
var bs=this.__me(bq);
var bt=bq.getLayoutProperties();
var bp=bt.row;
var bw=by*(bt.rowSpan-1);
var bo=bw;
var bv={};

for(var j=0;j<bt.rowSpan;j++){var bA=bt.row+j;
var br=bn[bA];
var bz=this.getRowFlex(bA);

if(bz>0){bv[bA]={min:br.minHeight,value:br.height,max:br.maxHeight,flex:bz};
}bw+=br.height;
bo+=br.minHeight;
}if(bw<bs.height){var bx=qx.ui.layout.Util.computeFlexOffsets(bv,bs.height,bw);

for(var j=0;j<bt.rowSpan;j++){var bu=bx[bp+j]?bx[bp+j].offset:0;
bn[bp+j].height+=bu;
}}if(bo<bs.minHeight){var bx=qx.ui.layout.Util.computeFlexOffsets(bv,bs.minHeight,bo);

for(var j=0;j<bt.rowSpan;j++){var bu=bx[bp+j]?bx[bp+j].offset:0;
bn[bp+j].minHeight+=bu;
}}}},_fixWidthsColSpan:function(dM){var dQ=this.getSpacingX();

for(var i=0,l=this.__lW.length;i<l;i++){var dN=this.__lW[i];
var dP=this.__me(dN);
var dS=dN.getLayoutProperties();
var dO=dS.column;
var dY=dQ*(dS.colSpan-1);
var dR=dY;
var dT={};
var dV;

for(var j=0;j<dS.colSpan;j++){var ea=dS.column+j;
var dX=dM[ea];
var dW=this.getColumnFlex(ea);
if(dW>0){dT[ea]={min:dX.minWidth,value:dX.width,max:dX.maxWidth,flex:dW};
}dY+=dX.width;
dR+=dX.minWidth;
}if(dY<dP.width){var dU=qx.ui.layout.Util.computeFlexOffsets(dT,dP.width,dY);

for(var j=0;j<dS.colSpan;j++){dV=dU[dO+j]?dU[dO+j].offset:0;
dM[dO+j].width+=dV;
}}if(dR<dP.minWidth){var dU=qx.ui.layout.Util.computeFlexOffsets(dT,dP.minWidth,dR);

for(var j=0;j<dS.colSpan;j++){dV=dU[dO+j]?dU[dO+j].offset:0;
dM[dO+j].minWidth+=dV;
}}}},_getRowHeights:function(){if(this.__mb!=null){return this.__mb;
}var bU=[];
var bN=this.__lY;
var bM=this.__ma;

for(var bV=0;bV<=bN;bV++){var bO=0;
var bQ=0;
var bP=0;

for(var bT=0;bT<=bM;bT++){var bL=this.__lV[bV][bT];

if(!bL){continue;
}var bR=bL.getLayoutProperties().rowSpan||0;

if(bR>1){continue;
}var bS=this.__me(bL);

if(this.getRowFlex(bV)>0){bO=Math.max(bO,bS.minHeight);
}else{bO=Math.max(bO,bS.height);
}bQ=Math.max(bQ,bS.height);
}var bO=Math.max(bO,this.getRowMinHeight(bV));
var bP=this.getRowMaxHeight(bV);

if(this.getRowHeight(bV)!==null){var bQ=this.getRowHeight(bV);
}else{var bQ=Math.max(bO,Math.min(bQ,bP));
}bU[bV]={minHeight:bO,height:bQ,maxHeight:bP};
}
if(this.__lX.length>0){this._fixHeightsRowSpan(bU);
}this.__mb=bU;
return bU;
},_getColWidths:function(){if(this.__mc!=null){return this.__mc;
}var cB=[];
var cy=this.__ma;
var cA=this.__lY;

for(var cG=0;cG<=cy;cG++){var cE=0;
var cD=0;
var cz=Infinity;

for(var cH=0;cH<=cA;cH++){var cx=this.__lV[cH][cG];

if(!cx){continue;
}var cC=cx.getLayoutProperties().colSpan||0;

if(cC>1){continue;
}var cF=this.__me(cx);

if(this.getColumnFlex(cG)>0){cD=Math.max(cD,cF.minWidth);
}else{cD=Math.max(cD,cF.width);
}cE=Math.max(cE,cF.width);
}var cD=Math.max(cD,this.getColumnMinWidth(cG));
var cz=this.getColumnMaxWidth(cG);

if(this.getColumnWidth(cG)!==null){var cE=this.getColumnWidth(cG);
}else{var cE=Math.max(cD,Math.min(cE,cz));
}cB[cG]={minWidth:cD,width:cE,maxWidth:cz};
}
if(this.__lW.length>0){this._fixWidthsColSpan(cB);
}this.__mc=cB;
return cB;
},_getColumnFlexOffsets:function(cU){var cV=this.getSizeHint();
var da=cU-cV.width;

if(da==0){return {};
}var cX=this._getColWidths();
var cW={};

for(var i=0,l=cX.length;i<l;i++){var db=cX[i];
var cY=this.getColumnFlex(i);

if((cY<=0)||(db.width==db.maxWidth&&da>0)||(db.width==db.minWidth&&da<0)){continue;
}cW[i]={min:db.minWidth,value:db.width,max:db.maxWidth,flex:cY};
}return qx.ui.layout.Util.computeFlexOffsets(cW,cU,cV.width);
},_getRowFlexOffsets:function(co){var cp=this.getSizeHint();
var cs=co-cp.height;

if(cs==0){return {};
}var ct=this._getRowHeights();
var cq={};

for(var i=0,l=ct.length;i<l;i++){var cu=ct[i];
var cr=this.getRowFlex(i);

if((cr<=0)||(cu.height==cu.maxHeight&&cs>0)||(cu.height==cu.minHeight&&cs<0)){continue;
}cq[i]={min:cu.minHeight,value:cu.height,max:cu.maxHeight,flex:cr};
}return qx.ui.layout.Util.computeFlexOffsets(cq,co,cp.height);
},renderLayout:function(v,w){if(this._invalidChildrenCache){this.__md();
}var M=qx.ui.layout.Util;
var A=this.getSpacingX();
var G=this.getSpacingY();
var R=this._getColWidths();
var Q=this._getColumnFlexOffsets(v);
var B=[];
var T=this.__ma;
var z=this.__lY;
var S;

for(var U=0;U<=T;U++){S=Q[U]?Q[U].offset:0;
B[U]=R[U].width+S;
}var J=this._getRowHeights();
var L=this._getRowFlexOffsets(w);
var bb=[];

for(var H=0;H<=z;H++){S=L[H]?L[H].offset:0;
bb[H]=J[H].height+S;
}var bc=0;

for(var U=0;U<=T;U++){var top=0;

for(var H=0;H<=z;H++){var O=this.__lV[H][U];
if(!O){top+=bb[H]+G;
continue;
}var C=O.getLayoutProperties();
if(C.row!==H||C.column!==U){top+=bb[H]+G;
continue;
}var ba=A*(C.colSpan-1);

for(var i=0;i<C.colSpan;i++){ba+=B[U+i];
}var P=G*(C.rowSpan-1);

for(var i=0;i<C.rowSpan;i++){P+=bb[H+i];
}var D=O.getSizeHint();
var X=O.getMarginTop();
var N=O.getMarginLeft();
var K=O.getMarginBottom();
var F=O.getMarginRight();
var I=Math.max(D.minWidth,Math.min(ba-N-F,D.maxWidth));
var Y=Math.max(D.minHeight,Math.min(P-X-K,D.maxHeight));
var V=this.getCellAlign(H,U);
var W=bc+M.computeHorizontalAlignOffset(V.hAlign,I,ba,N,F);
var E=top+M.computeVerticalAlignOffset(V.vAlign,Y,P,X,K);
O.renderLayout(W,E,I,Y);
top+=bb[H]+G;
}bc+=B[U]+A;
}},invalidateLayoutCache:function(){qx.ui.layout.Abstract.prototype.invalidateLayoutCache.call(this);
this.__mc=null;
this.__mb=null;
},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__md();
}var cf=this._getColWidths();
var ch=0,ci=0;

for(var i=0,l=cf.length;i<l;i++){var cj=cf[i];

if(this.getColumnFlex(i)>0){ch+=cj.minWidth;
}else{ch+=cj.width;
}ci+=cj.width;
}var ck=this._getRowHeights();
var cd=0,cg=0;

for(var i=0,l=ck.length;i<l;i++){var cl=ck[i];

if(this.getRowFlex(i)>0){cd+=cl.minHeight;
}else{cd+=cl.height;
}cg+=cl.height;
}var cc=this.getSpacingX()*(cf.length-1);
var cb=this.getSpacingY()*(ck.length-1);
var ce={minWidth:ch+cc,width:ci+cc,minHeight:cd+cb,height:cg+cb};
return ce;
}},destruct:function(){this.__lV=this.__lT=this.__lU=this.__lW=this.__lX=this.__mc=this.__mb=null;
}});
})();
(function(){var o="execute",n="toolTipText",m="icon",l="label",k="qx.ui.core.MExecutable",j="value",h="qx.event.type.Event",g="_applyCommand",f="enabled",d="menu",b="changeCommand",c="qx.ui.core.Command";
qx.Mixin.define(k,{events:{"execute":h},properties:{command:{check:c,apply:g,event:b,nullable:true}},members:{__mf:null,__mg:false,__mh:null,_bindableProperties:[f,l,m,n,j,d],execute:function(){var a=this.getCommand();

if(a){if(this.__mg){this.__mg=false;
}else{this.__mg=true;
a.execute(this);
}}this.fireEvent(o);
},__mi:function(e){if(this.__mg){this.__mg=false;
return;
}this.__mg=true;
this.execute();
},_applyCommand:function(p,q){if(q!=null){q.removeListenerById(this.__mh);
}
if(p!=null){this.__mh=p.addListener(o,this.__mi,this);
}var t=this.__mf;

if(t==null){this.__mf=t={};
}
for(var i=0;i<this._bindableProperties.length;i++){var s=this._bindableProperties[i];
if(q!=null&&t[s]!=null){q.removeBinding(t[s]);
t[s]=null;
}if(p!=null&&qx.Class.hasProperty(this.constructor,s)){var r=p.get(s);

if(r==null){var u=this.get(s);
}t[s]=p.bind(s,this,s);
if(u){this.set(s,u);
}}}}},destruct:function(){this.__mf=null;
}});
})();
(function(){var c="qx.ui.form.IExecutable",b="qx.event.type.Data";
qx.Interface.define(c,{events:{"execute":b},members:{setCommand:function(a){return arguments.length==1;
},getCommand:function(){},execute:function(){}}});
})();
(function(){var r="pressed",q="abandoned",p="hovered",o="Enter",n="Space",m="dblclick",l="qx.ui.form.Button",k="mouseup",j="mousedown",i="mouseover",f="mouseout",h="keydown",g="button",d="keyup";
qx.Class.define(l,{extend:qx.ui.basic.Atom,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],construct:function(a,b,c){qx.ui.basic.Atom.call(this,a,b);

if(c!=null){this.setCommand(c);
}this.addListener(i,this._onMouseOver);
this.addListener(f,this._onMouseOut);
this.addListener(j,this._onMouseDown);
this.addListener(k,this._onMouseUp);
this.addListener(h,this._onKeyDown);
this.addListener(d,this._onKeyUp);
this.addListener(m,this._onStopEvent);
},properties:{appearance:{refine:true,init:g},focusable:{refine:true,init:true}},members:{_forwardStates:{focused:true,hovered:true,pressed:true,disabled:true},press:function(){if(this.hasState(q)){return;
}this.addState(r);
},release:function(){if(this.hasState(r)){this.removeState(r);
}},reset:function(){this.removeState(r);
this.removeState(q);
this.removeState(p);
},_onMouseOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;
}
if(this.hasState(q)){this.removeState(q);
this.addState(r);
}this.addState(p);
},_onMouseOut:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;
}this.removeState(p);

if(this.hasState(r)){this.removeState(r);
this.addState(q);
}},_onMouseDown:function(e){if(!e.isLeftPressed()){return;
}e.stopPropagation();
this.capture();
this.removeState(q);
this.addState(r);
},_onMouseUp:function(e){this.releaseCapture();
var s=this.hasState(r);
var t=this.hasState(q);

if(s){this.removeState(r);
}
if(t){this.removeState(q);
}else{this.addState(p);

if(s){this.execute();
}}e.stopPropagation();
},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case o:case n:this.removeState(q);
this.addState(r);
e.stopPropagation();
}},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case o:case n:if(this.hasState(r)){this.removeState(q);
this.removeState(r);
this.execute();
e.stopPropagation();
}}}}});
})();
(function(){var s="white",r="auto",q="icon/16/actions/dialog-close.png",p='help',o='[]',n='keydown',m='Enter',l="Help undefined",k="pane",j="Close",g="right",i="Agrammon.Lib.Help",h="execute",f="icon/16/actions/help-faq.png";
qx.Class.define(i,{extend:qx.ui.window.Window,construct:function(){qx.ui.window.Window.call(this);
this.set({modal:false,showMinimize:true,showMaximize:true,resizable:true,contentPadding:10,allowGrowX:true,allowGrowY:true,icon:f});
this.getChildControl(k).setBackgroundColor(s);
this.setLayout(new qx.ui.layout.VBox(10));
var u=new qx.ui.container.Stack();
u.setMinWidth(500);
u.setMinHeight(250);
u.setAllowGrowX(true);
u.setAllowGrowY(true);
u.setBackgroundColor(s);
var w=new qx.ui.embed.Html();
w.setOverflow(r,r);
w.setPadding(10);
w.setBackgroundColor(s);
w.setAllowStretchX(true);
w.setAllowGrowY(true);
u.add(w,{flex:1});
this.add(u,{flex:1});
var t=new qx.ui.container.Composite;
t.setLayout(new qx.ui.layout.HBox(5,g));
this.add(t);
var v=new qx.ui.form.Button(j,q);
var x=this;
this.addListener(n,function(e){if(e.getKeyIdentifier()==m){v.execute();
}});
v.addListener(h,function(e){x.close();
});
t.add(v);
qx.event.message.Bus.subscribe(p,function(a){var d=a.getData();
var b=d.caption;
var c=d.helpText;
b=b.replace(/\[.+\]/,o);
x.setCaption(b);

if(c!=undefined&&c!=null){w.setHtml(c);
}else{w.setHtml(this.tr(l));
}x.center();
x.open();
v.focus();
});
},members:{}});
})();
(function(){var c="qx.ui.core.ISingleSelection",b="qx.event.type.Data";
qx.Interface.define(c,{events:{"changeSelection":b},members:{getSelection:function(){return true;
},setSelection:function(d){return arguments.length==1;
},resetSelection:function(){return true;
},isSelected:function(a){return arguments.length==1;
},isSelectionEmpty:function(){return true;
},getSelectables:function(){return true;
}}});
})();
(function(){var g="qx.ui.core.MSingleSelectionHandling",f="changeSelection",d="changeSelected",c="__mj",b="qx.event.type.Data";
qx.Mixin.define(g,{events:{"changeSelection":b},members:{__mj:null,getSelection:function(){var a=this.__mk().getSelected();

if(a){return [a];
}else{return [];
}},setSelection:function(h){if(!this.getEnabled()){this.warn("Setting the selection on disabled '"+this.classname+"' is deprecated: "+("The current behavior will change from doing nothing to selecting the given items."));
this.trace();
}
switch(h.length){case 0:this.resetSelection();
break;
case 1:this.__mk().setSelected(h[0]);
break;
default:throw new Error("Could only select one item, but the selection "+" array contains "+h.length+" items!");
}},resetSelection:function(){if(!this.getEnabled()){this.warn("Resetting the selection on disabled '"+this.classname+"' is deprecated: "+("The current behavior will change from doing nothing to reset the selection."));
this.trace();
}this.__mk().resetSelected();
},isSelected:function(i){return this.__mk().isSelected(i);
},isSelectionEmpty:function(){return this.__mk().isSelectionEmpty();
},getSelectables:function(){return this.__mk().getSelectables();
},_onChangeSelected:function(e){var m=e.getData();
var l=e.getOldData();
m==null?m=[]:m=[m];
l==null?l=[]:l=[l];
this.fireDataEvent(f,m,l);
},__mk:function(){if(this.__mj==null){var j=this;
this.__mj=new qx.ui.core.SingleSelectionManager({getItems:function(){return j._getItems();
},isItemSelectable:function(k){if(j._isItemSelectable){return j._isItemSelectable(k);
}else{return k.isEnabled()&&k.isVisible();
}}});
this.__mj.addListener(d,this._onChangeSelected,this);
}this.__mj.setAllowEmptySelection(this._isAllowEmptySelection());
return this.__mj;
}},destruct:function(){this._disposeObjects(c);
}});
})();
(function(){var n="_applyDynamic",m="changeSelection",k="Boolean",j="qx.ui.container.Stack";
qx.Class.define(j,{extend:qx.ui.core.Widget,implement:qx.ui.core.ISingleSelection,include:qx.ui.core.MSingleSelectionHandling,construct:function(){qx.ui.core.Widget.call(this);
this._setLayout(new qx.ui.layout.Grow);
this.addListener(m,this.__ml,this);
},properties:{dynamic:{check:k,init:false,apply:n}},members:{_applyDynamic:function(x){var z=this._getChildren();
var y=this.getSelection()[0];
var A;

for(var i=0,l=z.length;i<l;i++){A=z[i];

if(A!=y){if(x){z[i].exclude();
}else{z[i].hide();
}}}},_getItems:function(){return this.getChildren();
},_isAllowEmptySelection:function(){return true;
},_isItemSelectable:function(o){return o.isEnabled();
},__ml:function(e){var p=e.getOldData()[0];
var q=e.getData()[0];

if(p){if(this.isDynamic()){p.exclude();
}else{p.hide();
}}
if(q){q.show();
}},add:function(v){this._add(v);
var w=this.getSelection()[0];

if(!w){this.setSelection([v]);
}else if(w!==v){if(this.isDynamic()){v.exclude();
}else{v.hide();
}}},remove:function(a){this._remove(a);

if(this.getSelection()[0]===a){var b=this._getChildren()[0];

if(b){this.setSelection([b]);
}else{this.resetSelection();
}}},indexOf:function(c){return this._indexOf(c);
},getChildren:function(){return this._getChildren();
},previous:function(){var t=this.getSelection()[0];
var r=this._indexOf(t)-1;
var u=this._getChildren();

if(r<0){r=u.length-1;
}var s=u[r];
this.setSelection([s]);
},next:function(){var f=this.getSelection()[0];
var d=this._indexOf(f)+1;
var g=this._getChildren();
var h=g[d]||g[0];
this.setSelection([h]);
}}});
})();
(function(){var l="Boolean",k="qx.ui.core.SingleSelectionManager",j="__mo",h="__mn",g="changeSelected",f="__mm",e="qx.event.type.Data";
qx.Class.define(k,{extend:qx.core.Object,construct:function(n){qx.core.Object.call(this);
{};
this.__mm=n;
},events:{"changeSelected":e},properties:{allowEmptySelection:{check:l,init:true,apply:j}},members:{__mn:null,__mm:null,getSelected:function(){return this.__mn;
},setSelected:function(m){if(!this.__mq(m)){throw new Error("Could not select "+m+", because it is not a child element!");
}this.__mp(m);
},resetSelected:function(){this.__mp(null);
},isSelected:function(o){if(!this.__mq(o)){throw new Error("Could not check if "+o+" is selected,"+" because it is not a child element!");
}return this.__mn===o;
},isSelectionEmpty:function(){return this.__mn==null;
},getSelectables:function(){var c=this.__mm.getItems();
var d=[];

for(var i=0;i<c.length;i++){if(this.__mm.isItemSelectable(c[i])){d.push(c[i]);
}}return d;
},__mo:function(t,u){if(!t){this.__mp(this.__mn);
}},__mp:function(p){var s=this.__mn;
var r=p;

if(r!=null&&s===r){return;
}
if(!this.isAllowEmptySelection()&&r==null){var q=this.getSelectables()[0];

if(q){r=q;
}}this.__mn=r;
this.fireDataEvent(g,r,s);
},__mq:function(a){var b=this.__mm.getItems();

for(var i=0;i<b.length;i++){if(b[i]===a){return true;
}}return false;
}},destruct:function(){if(this.__mm.toHashCode){this._disposeObjects(f);
}else{this.__mm=null;
}this._disposeObjects(h);
}});
})();
(function(){var i="auto",h="overflowX",g="visible",f="hidden",e="scroll",d="overflowY",c="_applyOverflowX",b="_applyOverflowY",a="qx.ui.core.MNativeOverflow";
qx.Mixin.define(a,{properties:{overflowX:{check:[f,g,e,i],nullable:true,apply:c},overflowY:{check:[f,g,e,i],nullable:true,apply:b},overflow:{group:[h,d]}},members:{_applyOverflowX:function(j){this.getContentElement().setStyle(h,j);
},_applyOverflowY:function(k){this.getContentElement().setStyle(d,k);
}}});
})();
(function(){var s="none",r="text",q="",p="userSelect",o="color",n="String",m="0px",l="webkit",k="changeHtml",j="_applyCssClass",g="class",i="qx.ui.embed.Html",h="_applyHtml",f="qx.client",e="html";
qx.Class.define(i,{extend:qx.ui.core.Widget,include:[qx.ui.core.MNativeOverflow],construct:function(c){qx.ui.core.Widget.call(this);

if(c!=null){this.setHtml(c);
}},properties:{html:{check:n,apply:h,event:k,nullable:true},cssClass:{check:n,init:q,apply:j},selectable:{refine:true,init:true},focusable:{refine:true,init:true}},members:{getFocusElement:function(){return this.getContentElement();
},_applyHtml:function(w,x){var y=this.getContentElement();
y.setAttribute(e,w||q);
y.setStyles({"padding":m,"border":s});
},_applyCssClass:function(a,b){this.getContentElement().setAttribute(g,a);
},_applySelectable:function(d){qx.ui.core.Widget.prototype._applySelectable.call(this,d);
if(qx.core.Variant.isSet(f,l)){this.getContainerElement().setStyle(p,d?r:s);
this.getContentElement().setStyle(p,d?r:s);
}},_applyFont:function(t,u){var v=t?qx.theme.manager.Font.getInstance().resolve(t).getStyles():qx.bom.Font.getDefaultStyles();
this.getContentElement().setStyles(v);
},_applyTextColor:function(z,A){if(z){this.getContentElement().setStyle(o,qx.theme.manager.Color.getInstance().resolve(z));
}else{this.getContentElement().removeStyle(o);
}}}});
})();
(function(){var l='',k="white",j="auto",h='<dd>(',g='<dl>',f="Close",d="execute",c="icon/16/actions/dialog-close.png",b='<dt><b>',a='keydown',y='[]',x=')</dd>',w='Enter',v='msg',u='log',t="right",s="icon/16/actions/help-faq.png",r='</b></dt>',q="No log messages.",p="pane",n="Agrammon.Lib.Log",o='</dl>',m='var';
qx.Class.define(n,{extend:qx.ui.window.Window,construct:function(){qx.ui.window.Window.call(this);
this.set({modal:false,showMinimize:true,showMaximize:true,resizable:true,contentPadding:10,allowGrowX:true,allowGrowY:true,icon:s});
this.getChildControl(p).setBackgroundColor(k);
this.setLayout(new qx.ui.layout.VBox(10));
var A=new qx.ui.container.Stack();
A.setMinWidth(500);
A.setMinHeight(250);
A.setAllowGrowX(true);
A.setAllowGrowY(true);
A.setBackgroundColor(k);
var C=new qx.ui.embed.Html();
C.setOverflow(j,j);
C.setPadding(10);
C.setBackgroundColor(k);
C.setAllowStretchX(true);
C.setAllowGrowY(true);
A.add(C,{flex:1});
this.add(A,{flex:1});
var z=new qx.ui.container.Composite;
z.setLayout(new qx.ui.layout.HBox(5,t));
this.add(z);
var B=new qx.ui.form.Button(f,c);
var D=this;
this.addListener(a,function(e){if(e.getKeyIdentifier()==w){B.execute();
}});
B.addListener(d,function(e){D.close();
});
z.add(B);
qx.event.message.Bus.subscribe(u,function(E){var K=E.getData();
var J=K.caption;
var G=K.log;
var H=qx.locale.Manager.getInstance().getLocale();
H=H.replace(/_.+/,l);
var i,I=G.length;
var F=l;

for(i=0;i<I;i++){F+=b+G[i][v][H]+r;
F+=h+G[i][m]+x;
}J=J.replace(/\[.+\]/,y);
D.setCaption(J);

if(F!=undefined&&F!=null&&F!=l){C.setHtml(g+F+o);
}else{C.setHtml(D.tr(q));
}D.center();
D.open();
B.focus();
});
},members:{}});
})();
(function(){var q="button",p="",o="close",n="String",m="_applyIcon",l="page",k="qx.event.type.Event",j="_applyShowCloseButton",i="tabview-page",h="qx.ui.tabview.Page",f="_applyLabel",g="Boolean";
qx.Class.define(h,{extend:qx.ui.container.Composite,construct:function(d,e){qx.ui.container.Composite.call(this);
this._createChildControl(q);
if(d!=null){this.setLabel(d);
}
if(e!=null){this.setIcon(e);
}},events:{"close":k},properties:{appearance:{refine:true,init:i},label:{check:n,init:p,apply:f},icon:{check:n,init:p,apply:m},showCloseButton:{check:g,init:false,apply:j}},members:{_forwardStates:{barTop:1,barRight:1,barBottom:1,barLeft:1,firstTab:1,lastTab:1},_applyIcon:function(r,s){this.getChildControl(q).setIcon(r);
},_applyLabel:function(t,u){this.getChildControl(q).setLabel(t);
},_applyEnabled:function(a,b){qx.ui.container.Composite.prototype._applyEnabled.call(this,a,b);
var c=this.getChildControl(q);
a==null?c.resetEnabled():c.setEnabled(a);
},_createChildControlImpl:function(x){var y;

switch(x){case q:y=new qx.ui.tabview.TabButton;
y.setAllowGrowX(true);
y.setAllowGrowY(true);
y.setUserData(l,this);
y.addListener(o,this._onButtonClose,this);
break;
}return y||qx.ui.container.Composite.prototype._createChildControlImpl.call(this,x);
},_applyShowCloseButton:function(v,w){this.getChildControl(q).setShowCloseButton(v);
},_onButtonClose:function(){this.fireEvent(o);
},getButton:function(){return this.getChildControl(q);
}}});
})();
(function(){var n='-',m='white',l='name',k="horizontal",j='Agrammon.ui.Input',i='agrammon.inputEnabled',h="Input";
qx.Class.define(j,{extend:qx.ui.tabview.Page,construct:function(a){qx.ui.tabview.Page.call(this);
this.setLayout(new qx.ui.layout.VBox());
this.set({label:this.tr(h),backgroundColor:m,padding:0});
qx.event.message.Bus.subscribe(i,this.__xA,this);
var f=new Object;
f[l]=n;
var e=new Object;
e[l]=n;
var b=Agrammon.Lib.Info.getInstance(e,f);
var g=new Agrammon.ui.PropTable(a,b);
var c=new Agrammon.ui.NavBar(a,b,g);
this.navbar=c;
var d=new qx.ui.splitpane.Pane(k);
d.set({backgroundColor:m,padding:0});
d.add(c,0);
d.add(g,1);
this.add(d,{flex:1});
return this;
},members:{getNavbar:function(){return this.navbar;
},__xA:function(o){this.setEnabled(o.getData());
}}});
})();
(function(){var i="Boolean",h="invalid",g="qx.ui.form.MForm",f="_applyValid",e="",d="changeRequired",c="changeValid",b="changeInvalidMessage",a="String";
qx.Mixin.define(g,{properties:{valid:{check:i,init:true,apply:f,event:c},required:{check:i,init:false,event:d},invalidMessage:{check:a,init:e,event:b}},members:{_applyValid:function(j,k){j?this.removeState(h):this.addState(h);
}}});
})();
(function(){var b="changeModel",a="qx.ui.form.MModelProperty";
qx.Mixin.define(a,{properties:{model:{nullable:true,event:b}}});
})();
(function(){var c="qx.ui.form.IRadioItem",b="qx.event.type.Data";
qx.Interface.define(c,{events:{"changeValue":b},members:{setValue:function(a){},getValue:function(){},setGroup:function(d){this.assertInstance(d,qx.ui.form.RadioGroup);
},getGroup:function(){}}});
})();
(function(){var b="qx.ui.form.IBooleanForm",a="qx.event.type.Data";
qx.Interface.define(b,{events:{"changeValue":a},members:{setValue:function(c){return arguments.length==1;
},resetValue:function(){},getValue:function(){}}});
})();
(function(){var b="qx.ui.form.IModel",a="qx.event.type.Data";
qx.Interface.define(b,{events:{"changeModel":a},members:{setModel:function(c){},getModel:function(){},resetModel:function(){}}});
})();
(function(){var o="checked",n="keypress",m="Boolean",l="Right",k="_applyValue",j="changeValue",i="qx.ui.form.RadioButton",h="radiobutton",g="Left",f="qx.ui.form.RadioGroup",b="Down",d="_applyGroup",c="Up",a="execute";
qx.Class.define(i,{extend:qx.ui.form.Button,include:[qx.ui.form.MForm,qx.ui.form.MModelProperty],implement:[qx.ui.form.IRadioItem,qx.ui.form.IForm,qx.ui.form.IBooleanForm,qx.ui.form.IModel],construct:function(u){{};
qx.ui.form.Button.call(this,u);
this.addListener(a,this._onExecute);
this.addListener(n,this._onKeyPress);
},properties:{group:{check:f,nullable:true,apply:d},value:{check:m,nullable:true,event:j,apply:k,init:false},appearance:{refine:true,init:h},allowGrowX:{refine:true,init:false}},members:{_applyValue:function(p,q){p?this.addState(o):this.removeState(o);

if(p&&this.getFocusable()){this.focus();
}},_applyGroup:function(s,t){if(t){t.remove(this);
}
if(s){s.add(this);
}},_onExecute:function(e){this.setValue(true);
},_onKeyPress:function(e){var r=this.getGroup();

if(!r){return;
}
switch(e.getKeyIdentifier()){case g:case c:r.selectPrevious();
break;
case l:case b:r.selectNext();
break;
}}}});
})();
(function(){var w="close-button",v="middle",u="left",t="icon",s="label",r="right",q="click",p="Boolean",o="bottom",n="qx.ui.tabview.TabButton",k="center",m="_applyShowCloseButton",l="top",j="close",i="qx.event.type.Data";
qx.Class.define(n,{extend:qx.ui.form.RadioButton,implement:qx.ui.form.IRadioItem,construct:function(){qx.ui.form.RadioButton.call(this);
var x=new qx.ui.layout.Grid(2,0);
x.setRowAlign(0,u,v);
x.setColumnAlign(0,r,v);
this._getLayout().dispose();
this._setLayout(x);
this.initShowCloseButton();
},events:{"close":i},properties:{showCloseButton:{check:p,init:false,apply:m}},members:{_forwardStates:{focused:true,checked:true},_applyIconPosition:function(a,b){var c={icon:this.getChildControl(t),label:this.getChildControl(s),closeButton:this.getShowCloseButton()?this.getChildControl(w):null};
for(var d in c){if(c[d]){this._remove(c[d]);
}}
switch(a){case l:this._add(c.label,{row:3,column:2});
this._add(c.icon,{row:1,column:2});

if(c.closeButton){this._add(c.closeButton,{row:0,column:4});
}break;
case o:this._add(c.label,{row:1,column:2});
this._add(c.icon,{row:3,column:2});

if(c.closeButton){this._add(c.closeButton,{row:0,column:4});
}break;
case u:this._add(c.label,{row:0,column:2});
this._add(c.icon,{row:0,column:0});

if(c.closeButton){this._add(c.closeButton,{row:0,column:4});
}break;
case r:this._add(c.label,{row:0,column:0});
this._add(c.icon,{row:0,column:2});

if(c.closeButton){this._add(c.closeButton,{row:0,column:4});
}break;
}},_createChildControlImpl:function(g){var h;

switch(g){case s:var h=new qx.ui.basic.Label(this.getLabel());
h.setAnonymous(true);
this._add(h,{row:0,column:2});
this._getLayout().setColumnFlex(2,1);
break;
case t:h=new qx.ui.basic.Image(this.getIcon());
h.setAnonymous(true);
this._add(h,{row:0,column:0});
break;
case w:h=new qx.ui.form.Button();
h.addListener(q,this._onCloseButtonClick,this);
this._add(h,{row:0,column:4});

if(!this.getShowCloseButton()){h.exclude();
}break;
}return h||qx.ui.form.RadioButton.prototype._createChildControlImpl.call(this,g);
},_onCloseButtonClick:function(){this.fireDataEvent(j,this);
},_applyShowCloseButton:function(y,z){if(y){this._showChildControl(w);
}else{this._excludeChildControl(w);
}},_applyCenter:function(e){var f=this._getLayout();

if(e){f.setColumnAlign(2,k,v);
}else{f.setColumnAlign(2,u,v);
}}}});
})();
(function(){var a="qx.ui.form.IModelSelection";
qx.Interface.define(a,{members:{setModelSelection:function(b){},getModelSelection:function(){}}});
})();
(function(){var g="change",f="qx.event.type.Data",e="__ms",d="qx.ui.form.MModelSelection",c="changeSelection";
qx.Mixin.define(d,{construct:function(){this.__ms=new qx.data.Array();
this.__ms.addListener(g,this.__mv,this);
this.addListener(c,this.__mu,this);
},events:{changeModelSelection:f},members:{__ms:null,__mt:false,__mu:function(){if(this.__mt){return;
}var l=this.getSelection();
var h=[];

for(var i=0;i<l.length;i++){var m=l[i];
var k=m.getModel?m.getModel():null;

if(k!==null){h.push(k);
}}this.setModelSelection(h);
},__mv:function(){this.__mt=true;
var o=this.getSelectables();
var q=[];
var p=this.__ms.toArray();

for(var i=0;i<p.length;i++){var s=p[i];

for(var j=0;j<o.length;j++){var t=o[j];
var n=t.getModel?t.getModel():null;

if(s===n){q.push(t);
break;
}}}this.setSelection(q);
this.__mt=false;
var r=this.getSelection();

if(!qx.lang.Array.equals(r,q)){this.__mu();
}},getModelSelection:function(){return this.__ms;
},setModelSelection:function(a){if(!a){this.__ms.removeAll();
return;
}{};
a.unshift(this.__ms.getLength());
a.unshift(0);
var b=this.__ms.splice.apply(this.__ms,a);
b.dispose();
}},destruct:function(){this._disposeObjects(e);
}});
})();
(function(){var z="Boolean",y="changeValue",x="_applyAllowEmptySelection",w="_applyInvalidMessage",v="qx.ui.form.RadioGroup",u="_applyValid",t="",s="changeRequired",r="changeValid",q="changeEnabled",n="__mw",p="changeInvalidMessage",o="changeSelection",m="_applyEnabled",k="String";
qx.Class.define(v,{extend:qx.core.Object,implement:[qx.ui.core.ISingleSelection,qx.ui.form.IForm,qx.ui.form.IModelSelection],include:[qx.ui.core.MSingleSelectionHandling,qx.ui.form.MModelSelection],construct:function(A){qx.core.Object.call(this);
this.__mw=[];
this.addListener(o,this.__mx,this);

if(A!=null){this.add.apply(this,arguments);
}},properties:{enabled:{check:z,apply:m,event:q,init:true},wrap:{check:z,init:true},allowEmptySelection:{check:z,init:false,apply:x},valid:{check:z,init:true,apply:u,event:r},required:{check:z,init:false,event:s},invalidMessage:{check:k,init:t,event:p,apply:w}},members:{__mw:null,getItems:function(){return this.__mw;
},add:function(B){var C=this.__mw;
var D;

for(var i=0,l=arguments.length;i<l;i++){D=arguments[i];

if(qx.lang.Array.contains(C,D)){continue;
}D.addListener(y,this._onItemChangeChecked,this);
C.push(D);
D.setGroup(this);
if(D.getValue()){this.setSelection([D]);
}}if(!this.isAllowEmptySelection()&&C.length>0&&!this.getSelection()[0]){this.setSelection([C[0]]);
}},remove:function(a){var b=this.__mw;

if(qx.lang.Array.contains(b,a)){qx.lang.Array.remove(b,a);
if(a.getGroup()===this){a.resetGroup();
}a.removeListener(y,this._onItemChangeChecked,this);
if(a.getValue()){this.resetSelection();
}}},getChildren:function(){return this.__mw;
},_onItemChangeChecked:function(e){var E=e.getTarget();

if(E.getValue()){this.setSelection([E]);
}else if(this.getSelection()[0]==E){this.resetSelection();
}},_applyInvalidMessage:function(M,N){for(var i=0;i<this.__mw.length;i++){this.__mw[i].setInvalidMessage(M);
}},_applyValid:function(I,J){for(var i=0;i<this.__mw.length;i++){this.__mw[i].setValid(I);
}},_applyEnabled:function(g,h){var j=this.__mw;

if(g==null){for(var i=0,l=j.length;i<l;i++){j[i].resetEnabled();
}}else{for(var i=0,l=j.length;i<l;i++){j[i].setEnabled(g);
}}},_applyAllowEmptySelection:function(K,L){if(!K&&this.isSelectionEmpty()){this.resetSelection();
}},selectNext:function(){var F=this.getSelection()[0];
var H=this.__mw;
var G=H.indexOf(F);

if(G==-1){return;
}var i=0;
var length=H.length;
if(this.getWrap()){G=(G+1)%length;
}else{G=Math.min(G+1,length-1);
}
while(i<length&&!H[G].getEnabled()){G=(G+1)%length;
i++;
}this.setSelection([H[G]]);
},selectPrevious:function(){var c=this.getSelection()[0];
var f=this.__mw;
var d=f.indexOf(c);

if(d==-1){return;
}var i=0;
var length=f.length;
if(this.getWrap()){d=(d-1+length)%length;
}else{d=Math.max(d-1,0);
}
while(i<length&&!f[d].getEnabled()){d=(d-1+length)%length;
i++;
}this.setSelection([f[d]]);
},_getItems:function(){return this.getItems();
},_isAllowEmptySelection:function(){return this.isAllowEmptySelection();
},__mx:function(e){var P=e.getData()[0];
var O=e.getOldData()[0];

if(O){O.setValue(false);
}
if(P){P.setValue(true);
}}},destruct:function(){this._disposeArray(n);
}});
})();
(function(){var j="[",i="]",h=".",g="idBubble",f="changeBubble",d="qx.data.marshal.MEventBubbling",c="qx.event.type.Data";
qx.Mixin.define(d,{events:{"changeBubble":c},members:{_applyEventPropagation:function(a,b,name){this.fireDataEvent(f,{value:a,name:name,old:b});
this._registerEventChaining(a,b,name);
},_registerEventChaining:function(s,t,name){if((s instanceof qx.core.Object)&&qx.Class.hasMixin(s.constructor,qx.data.marshal.MEventBubbling)){var u=qx.lang.Function.bind(this.__my,this,name);
var v=s.addListener(f,u,this);
s.setUserData(g,v);
}if(t!=null&&t.getUserData&&t.getUserData(g)!=null){t.removeListenerById(t.getUserData(g));
}},__my:function(name,e){var r=e.getData();
var n=r.value;
var l=r.old;
if(qx.Class.hasInterface(e.getTarget().constructor,qx.data.IListData)){if(r.name.indexOf){var q=r.name.indexOf(h)!=-1?r.name.indexOf(h):r.name.length;
var o=r.name.indexOf(j)!=-1?r.name.indexOf(j):r.name.length;

if(q<o){var k=r.name.substring(0,q);
var p=r.name.substring(q+1,r.name.length);

if(p[0]!=j){p=h+p;
}var m=name+j+k+i+p;
}else if(o<q){var k=r.name.substring(0,o);
var p=r.name.substring(o,r.name.length);
var m=name+j+k+i+p;
}else{var m=name+j+r.name+i;
}}else{var m=name+j+r.name+i;
}}else{var m=name+h+r.name;
}this.fireDataEvent(f,{value:n,name:m,old:l});
}}});
})();
(function(){var o="change",n="add",m="remove",l="order",k="",j="qx.data.Array",h="?",g="changeBubble",f="qx.event.type.Event",e="number",c="changeLength",d="qx.event.type.Data";
qx.Class.define(j,{extend:qx.core.Object,include:qx.data.marshal.MEventBubbling,implement:[qx.data.IListData],construct:function(u){qx.core.Object.call(this);
if(u==undefined){this.__mz=[];
}else if(arguments.length>1){this.__mz=[];

for(var i=0;i<arguments.length;i++){this.__mz.push(arguments[i]);
}}else if(typeof u==e){this.__mz=new Array(u);
}else if(u instanceof Array){this.__mz=qx.lang.Array.clone(u);
}else{this.__mz=[];
throw new Error("Type of the parameter not supported!");
}for(var i=0;i<this.__mz.length;i++){this._applyEventPropagation(this.__mz[i],null,i);
}this.__mA();
},events:{"change":d,"changeLength":f},members:{__mz:null,concat:function(v){if(v){var w=this.__mz.concat(v);
}else{var w=this.__mz.concat();
}return new qx.data.Array(w);
},join:function(F){return this.__mz.join(F);
},pop:function(){var A=this.__mz.pop();
this.__mA();
this._applyEventPropagation(null,A,this.length-1);
this.fireDataEvent(o,{start:this.length-1,end:this.length-1,type:m,items:[A]},null);
return A;
},push:function(T){for(var i=0;i<arguments.length;i++){this.__mz.push(arguments[i]);
this.__mA();
this._applyEventPropagation(arguments[i],null,this.length-1);
this.fireDataEvent(o,{start:this.length-1,end:this.length-1,type:n,items:[arguments[i]]},null);
}return this.length;
},reverse:function(){this.__mz.reverse();
this.fireDataEvent(o,{start:0,end:this.length-1,type:l,items:null},null);
},shift:function(){var C=this.__mz.shift();
this.__mA();
this._applyEventPropagation(null,C);
this.fireDataEvent(o,{start:0,end:this.length-1,type:m,items:[C]},null);
return C;
},slice:function(a,b){return new qx.data.Array(this.__mz.slice(a,b));
},splice:function(Y,ba,bb){var bh=this.__mz.length;
var be=this.__mz.splice.apply(this.__mz,arguments);
if(this.__mz.length!=bh){this.__mA();
}var bf=ba>0;
var bc=arguments.length>2;
var bd=null;

if(bf||bc){if(this.__mz.length>bh){var bg=n;
}else if(this.__mz.length<bh){var bg=m;
bd=be;
}else{var bg=l;
}this.fireDataEvent(o,{start:Y,end:this.length-1,type:bg,items:bd},null);
}for(var i=2;i<arguments.length;i++){this._registerEventChaining(arguments[i],null,Y+i);
}this.fireDataEvent(g,{value:this,name:h,old:be});
for(var i=0;i<be.length;i++){this._applyEventPropagation(null,be[i],i);
}return (new qx.data.Array(be));
},sort:function(I){this.__mz.sort.apply(this.__mz,arguments);
this.fireDataEvent(o,{start:0,end:this.length-1,type:l,items:null},null);
},unshift:function(B){for(var i=arguments.length-1;i>=0;i--){this.__mz.unshift(arguments[i]);
this.__mA();
this._applyEventPropagation(arguments[i],null,0);
this.fireDataEvent(o,{start:0,end:this.length-1,type:n,items:[arguments[i]]},null);
}return this.length;
},toArray:function(){return this.__mz;
},getItem:function(E){return this.__mz[E];
},setItem:function(O,P){var Q=this.__mz[O];
this.__mz[O]=P;
this._applyEventPropagation(P,Q,O);
if(this.length!=this.__mz.length){this.__mA();
}this.fireDataEvent(o,{start:O,end:O,type:n,items:[P]},null);
},getLength:function(){return this.length;
},indexOf:function(r){return this.__mz.indexOf(r);
},toString:function(){if(this.__mz!=null){return this.__mz.toString();
}return k;
},contains:function(G){return this.__mz.indexOf(G)!==-1;
},copy:function(){return this.concat();
},insertAt:function(M,N){this.splice(M,0,N);
},insertBefore:function(x,y){var z=this.indexOf(x);

if(z==-1){this.push(y);
}else{this.splice(z,0,y);
}},insertAfter:function(V,W){var X=this.indexOf(V);

if(X==-1||X==(this.length-1)){this.push(W);
}else{this.splice(X+1,0,W);
}},removeAt:function(L){return this.splice(L,1)[0];
},removeAll:function(){for(var i=0;i<this.__mz.length;i++){this._applyEventPropagation(null,this.__mz[i],i);
}var S=this.getLength();
var R=this.__mz.concat();
this.__mz.length=0;
this.__mA();
this.fireDataEvent(o,{start:0,end:S-1,type:m,items:R},null);
},append:function(U){{};
for(var i=0;i<U.length;i++){this._applyEventPropagation(U[i],null,this.__mz.length+i);
}Array.prototype.push.apply(this.__mz,U);
this.__mA();
},remove:function(s){var t=this.indexOf(s);

if(t!=-1){this.splice(t,1);
return s;
}},equals:function(J){if(this.length!==J.length){return false;
}
for(var i=0;i<this.length;i++){if(this.getItem(i)!==J.getItem(i)){return false;
}}return true;
},sum:function(){var K=0;

for(var i=0;i<this.length;i++){K+=this.getItem(i);
}return K;
},max:function(){var D=this.getItem(0);

for(var i=1;i<this.length;i++){if(this.getItem(i)>D){D=this.getItem(i);
}}return D===undefined?null:D;
},min:function(){var H=this.getItem(0);

for(var i=1;i<this.length;i++){if(this.getItem(i)<H){H=this.getItem(i);
}}return H===undefined?null:H;
},forEach:function(p,q){for(var i=0;i<this.__mz.length;i++){p.call(q,this.__mz[i]);
}},__mA:function(){this.length=this.__mz.length;
this.fireEvent(c,qx.event.type.Event);
}},destruct:function(){for(var i=0;i<this.__mz.length;i++){this._applyEventPropagation(null,this.__mz[i],i);
}this.__mz=null;
}});
})();
(function(){var n='name',m='-',l=': ',k='agrammon.FileMenu.enableClone',j="Dataset",i='agrammon.info.setReferenceDataset',h="User",g='agrammon.info.setDataset',f='Agrammon.Lib.Info',e='agrammon.Reports.clear',b='agrammon.info.setUser',d="Reference",c='singleton';
qx.Class.define(f,{extend:qx.ui.container.Composite,type:c,construct:function(){qx.ui.container.Composite.call(this);
this.setLayout(new qx.ui.layout.VBox());
qx.event.message.Bus.subscribe(g,this.__mI,this);
qx.event.message.Bus.subscribe(i,this.__mJ,this);
qx.event.message.Bus.subscribe(b,this.__mH,this);
this.__mB=new Object;
this.__mC=new Object;
this.__mD=new Object;
this.__mC[n]=m;
this.__mE=new Agrammon.Lib.LabelValue(this.tr(j+l),m);
this.__mF=new Agrammon.Lib.LabelValue(this.tr(h+l),m);
this.__mG=new Agrammon.Lib.LabelValue(this.tr(d+l),m);
var o=new qx.ui.container.Composite(new qx.ui.layout.VBox());
var q=new qx.ui.container.Composite(new qx.ui.layout.HBox());
var p=new qx.ui.container.Composite(new qx.ui.layout.HBox());
o.set({paddingRight:10});
q.add(this.__mE);
q.add(new qx.ui.core.Spacer(20));
q.add(this.__mF);
p.add(this.__mG);
o.add(p);
o.add(q);
this.add(o);
return;
},members:{__mB:null,__mC:null,__mD:null,__mF:null,__mE:null,__mG:null,clearDatasetName:function(){this.__mB[n]=m;
this.__mE.setValue(m);
qx.event.message.Bus.dispatch(k,false);
return;
},setDatasetName:function(t){this.__mB[n]=t;
this.__mE.setValue(t);
qx.event.message.Bus.dispatch(k,true);
return;
},setReferenceDatasetName:function(v){this.__mC[n]=v;
this.__mG.setValue(v);
qx.event.message.Bus.dispatch(e);
return;
},getDatasetName:function(){return this.__mB[n];
},getRefDatasetName:function(){return this.__mC[n];
},setUserName:function(r){this.__mD[n]=r;
this.__mF.setValue(r);
return;
},getUserName:function(){return this.__mD[n];
},__mH:function(s){this.setUserName(s.getData());
},__mI:function(a){this.setDatasetName(a.getData());
},__mJ:function(u){this.setReferenceDatasetName(u.getData());
}}});
})();
(function(){var b='Agrammon.Lib.LabelValue',a='bold';
qx.Class.define(b,{extend:qx.ui.container.Composite,construct:function(d,e){qx.ui.container.Composite.call(this);
this.setLayout(new qx.ui.layout.HBox());
d=new qx.ui.basic.Label(d);
this.__mK=new qx.ui.basic.Label(e).set({font:a});
this.add(d);
this.add(this.__mK);
return this;
},members:{__mK:null,setValue:function(c){this.__mK.setValue(c);
return;
},getValue:function(){return this.__mK.getValue();
}}});
})();
(function(){var c="qx.ui.core.Spacer";
qx.Class.define(c,{extend:qx.ui.core.LayoutItem,construct:function(a,b){qx.ui.core.LayoutItem.call(this);
this.setWidth(a!=null?a:0);
this.setHeight(b!=null?b:0);
},members:{checkAppearanceNeeds:function(){},addChildrenToQueue:function(d){},destroy:function(){if(this.$$disposed){return;
}var parent=this.$$parent;

if(parent){parent._remove(this);
}qx.ui.core.queue.Dispose.add(this);
}}});
})();
(function(){var D='',C='1*',B="dataChanged",A="checkbox",z="options",y="Input Parameter",x="type",w='store_data',v='agrammon.Output.invalidate',u="Paramètre d'entrée",bm="Variable",bl="Please connect to a dataset before changing parameters.",bk='agrammon.PropTable.clear',bj="validator",bi="float",bh="Variable type",bg='value',bf="Meta",be='agrammon.PropTable.stop',bd="changeLocale",K='firstRow',L='***Select***',I="Doubleclick to edit",J="Error",G="editable",H='firstColumn',E="Help func",F='agrammon.PropTable.update',M='agrammon.PropTable.storeData',N="Eingabe-Parameter",U="Unit",S='*** Select ***',W='options',V="cellDblclick",Y="Help",X='error',P='help',bc="percent",bb="cellClick",ba="optionsLang",O='-',Q='Agrammon.ui.PropTable',R="integer",T='var';
qx.Class.define(Q,{extend:qx.ui.container.Composite,construct:function(bn,bo){qx.ui.container.Composite.call(this);
this.setLayout(new qx.ui.layout.VBox());
this.rpc=bn;
this.info=bo;
var bq=this;
this.currentFolder=null;
qx.locale.Manager.getInstance().addListener(bd,this.changeLanguage,this);
qx.event.message.Bus.subscribe(M,this.__xE,this);
qx.event.message.Bus.subscribe(F,this.__xF,this);
qx.event.message.Bus.subscribe(be,this.stopEditing,this);
qx.event.message.Bus.subscribe(bk,this.clear,this);
var bx=function(bV){var cb=bV.table.getTableModel().getRowData(bV.row)[7];

for(var bX in cb){switch(bX){case x:switch(cb.type){case A:return new Agrammon.Lib.FancyCellRendererBoolean;
case bi:case R:case bc:return new Agrammon.Lib.FancyCellRendererNumber;
default:alert('Unknown metaData.type='+cb.type);
}break;
case z:var ca=new Agrammon.Lib.FancyCellRendererReplace;
var bW={};
var i=0;
cb[W].forEach(function(bF){if(bF instanceof Array){var bG=qx.locale.Manager.getInstance().getLocale();
bG=bG.replace(/_.+/,D);
bW[cb.optionsLang[i][bG]]=bF[2];
i++;
}});
ca.setReplaceMap(bW);
ca.addReversedReplaceMap();
return ca;
}}bq.debug('Does this ever happen?');
var bY=new Agrammon.Lib.FancyCellRendererDefault();
bY.setUseAutoAlign(true);
return bY;
};
var bw=new qx.ui.table.cellrenderer.Dynamic(bx);
var bv=function(bH){var bO=bH.table.getTableModel().getRowData(bH.row)[7];
var bK=new Agrammon.Lib.FancyTextField;
var i,bL,bI,bN;

for(var bJ in bO){switch(bJ){case z:bL=bO.options.length;
bI=[];

for(i=0;i<bL;i++){var bM=qx.locale.Manager.getInstance().getLocale();
bM=bM.replace(/_.+/,D);
bI.push([bO.optionsLang[i][bM],bO.options[i][1],bO.options[i][2]]);
}bK=new qx.ui.table.celleditor.SelectBox();
bK.setListData(bI);
break;
case ba:break;
case x:switch(bO.type){case A:bK=new qx.ui.table.celleditor.CheckBox;
break;
}break;
case G:bK.setEditable(bO.editable==true);
break;
case bj:break;
default:alert("This should not happen: unknown metaData value: "+bJ);
break;
}bK.setValidationFunction((Agrammon.Lib.Validators.getFunction(bO.validator,bO.type)));
}return bK;
};
var bu=new qx.ui.table.celleditor.Dynamic(bv);
var br=new qx.ui.table.model.Simple();
br.setColumns([this.tr(bm),this.tr(y),this.tr(N),this.tr(u),this.tr(y),this.tr(I),this.tr(U),bf,bh,this.tr(Y),this.tr(E)]);
var bz={tableColumnModel:function(bP){return new qx.ui.table.columnmodel.Resize(bP);
}};
var bs=new qx.ui.table.Table(br,bz);
this.propertyEditor=bs;
br.addListener(B,this.__xC,this);
bs.setDataRowRenderer(new Agrammon.Lib.FancyRowRenderer());
br.setColumnEditable(5,true);
bs.set({columnVisibilityButtonVisible:true,keepFirstVisibleRowComplete:true,statusBarVisible:true,showCellFocusIndicator:true,focusable:true,padding:0});
bs.getDataRowRenderer().setHighlightFocusRow(true);
bs.getSelectionModel().setSelectionMode(qx.ui.table.selection.Model.SINGLE_SELECTION);
var bp=bs.getTableColumnModel();
bp.setColumnVisible(0,false);
bp.getBehavior().setWidth(0,100);
bp.getBehavior().setWidth(1,C);
bp.setColumnVisible(1,false);
bp.getBehavior().setWidth(2,C);
bp.setColumnVisible(2,false);
bp.getBehavior().setWidth(3,C);
bp.setColumnVisible(3,false);
bp.getBehavior().setWidth(4,C);
bp.setColumnVisible(4,true);
bp.getBehavior().setWidth(5,190);
bp.setDataCellRenderer(5,bw);
bp.setCellEditorFactory(5,bu);
bp.setColumnVisible(6,true);
bp.getBehavior().setWidth(6,100);
bp.setColumnVisible(7,false);
bp.setColumnVisible(8,false);
bp.setColumnVisible(9,true);
var by=new qx.ui.table.cellrenderer.Image(19,16);
bp.setDataCellRenderer(9,by);
bp.getBehavior().setWidth(9,40);
bp.getBehavior().setWidth(10,100);
bp.setColumnVisible(10,false);
var bt=function(e){var bB=this.info.getDatasetName();
var bE=e.getRow();
var bD=e.getColumn();
if(bE===null){this.debug('Click outside table rows');
bs.stopEditing();
bs.resetCellFocus();
return;
}
if(bD==5&&(!bB||bB==O)){qx.event.message.Bus.dispatch(X,[this.tr(J),this.tr(bl)]);
return ;
}var bC,bA;

if(bD==9){bC={caption:br.getValue(0,bE),helpText:(br.getValue(10,bE))()};
bA=new qx.event.message.Message(P,bC);
qx.event.message.Bus.dispatch(bA);
}else{bs.setFocusedCell(5,bE,true);
bs.startEditing();
}};
bs.addListener(V,bt,this);
bs.addListener(bb,bt,this);
this.add(bs,{flex:1});
return this;
},members:{__xB:{en:1,de:2,fr:3},setData:function(cc,cd){if(cc==null){}else{}var ci=new Array;
var i,j,ch;
var cf,cg;
cf=cd.length;

for(i=0;i<cf;i++){ch=new Array;

if(!cd[i].getName().match(/::ignore$/)){ch=cd[i].getRow();
ci.push(ch);
}}this.currentFolder=cc;
this.propertyEditor.stopEditing();
var ce=this.propertyEditor.getTableModel();
ce.removeListener(B,this.__xC,this);
ce.setData(ci);
ce.addListener(B,this.__xC,this);
qx.event.message.Bus.dispatch(v);
},__xC:function(e){if(!(e instanceof qx.event.type.Data)){return;
}var t=e.getData();
var s=t[H];
var n=t[K];

if(s==0&&n==0){return;
}var r=this.propertyEditor.getTableModel();
var o=r.getValue(0,n);
var q=r.getValue(s,n);
if(q!=null){q=D+q;

if(q.match(/en:(.+)/)){q=RegExp.$1;
}}var m=this.info.getUserName();
var p=this.info.getDatasetName()+D;
this.currentFolder.setData(o,q);
this.rpc.callAsync(this.__xD,w,{pers_email:m,dataset_name:p,data_var:o,data_val:q,data_row:n});
qx.event.message.Bus.dispatch(v);
},__xD:function(h,k,l){if(k==null){}else{alert(k);
}},__xE:function(a){var f=a.getData();
var c=f[T];
var g=f[bg];

if(g==S||g==L){return;
}var b=this.info.getUserName();
var d=this.info.getDatasetName();
this.rpc.callAsync(this.__xD,w,{pers_email:b,dataset_name:d,data_var:c,data_val:g,data_row:-1});
return;
},clear:function(){this.setData(null,new Array);
return ;
},stopEditing:function(){this.propertyEditor.stopEditing();
return;
},resetCellFocus:function(){this.propertyEditor.resetCellFocus();
return;
},__xF:function(){if(this.currentFolder!=null){this.setData(this.currentFolder,this.currentFolder.getDataset());
}},changeLanguage:function(){var bR=qx.locale.Manager.getInstance().getLocale();
bR=bR.replace(/_.+/,D);
var bT=this.propertyEditor.getTableModel();
var bU=bT.getData();
var bQ=this.__xB[bR];

if(bQ==undefined){alert('Unknown locale='+bR);
return;
}var i,bS=bU.length;

for(i=0;i<bS;i++){bU[i][4]=bU[i][bQ];
}bT.setData(bU);
this.debug('PropTable.changeLanguage(): switched '+bS+' variable names to '+bQ+'/'+bR);
return ;
}}});
})();
(function(){var a="qx.ui.table.ICellRenderer";
qx.Interface.define(a,{members:{createDataCellHtml:function(b,c){return true;
}}});
})();
(function(){var l="",k="px;",j=".qooxdoo-table-cell {",i="qooxdoo-table-cell",h='" ',g="nowrap",f="default",e="qx.client",d="}",c="width:",I=".qooxdoo-table-cell-right { text-align:right } ",H="0px 6px",G='<div class="',F="0px",E="height:",D="1px solid ",C=".qooxdoo-table-cell-bold { font-weight:bold } ",B="table-row-line",A='>',z="mshtml",s='</div>',t="ellipsis",q="content-box",r='left:',o="qx.ui.table.cellrenderer.Abstract",p='" style="',m="abstract",n="none",u="hidden",v="} ",x='px;',w=".qooxdoo-table-cell-italic { font-style:italic} ",y="absolute";
qx.Class.define(o,{type:m,implement:qx.ui.table.ICellRenderer,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
var L=qx.ui.table.cellrenderer.Abstract;

if(!L.__mQ){var N=qx.theme.manager.Color.getInstance();
L.__mQ=this.self(arguments);
var M=j+
qx.bom.element.Style.compile({position:y,top:F,overflow:u,whiteSpace:g,borderRight:D+N.resolve(B),padding:H,cursor:f,textOverflow:t,userSelect:n})+v+I+w+C;

if(!qx.core.Variant.isSet(e,z)){M+=j+qx.bom.element.BoxSizing.compile(q)+d;
}L.__mQ.stylesheet=qx.bom.Stylesheet.createElement(M);
}},members:{_insetX:6+6+1,_insetY:0,_getCellClass:function(J){return i;
},_getCellStyle:function(b){return b.style||l;
},_getCellAttributes:function(K){return l;
},_getContentHtml:function(a){return a.value||l;
},_getCellSizeStyle:function(O,P,Q,R){var S=l;

if(qx.bom.client.Feature.CONTENT_BOX){O-=Q;
P-=R;
}S+=c+Math.max(O,0)+k;
S+=E+Math.max(P,0)+k;
return S;
},createDataCellHtml:function(T,U){U.push(G,this._getCellClass(T),p,r,T.styleLeft,x,this._getCellSizeStyle(T.styleWidth,T.styleHeight,this._insetX,this._insetY),this._getCellStyle(T),h,this._getCellAttributes(T),A+this._getContentHtml(T),s);
}}});
})();
(function(){var w="px",v=".qooxdoo-table-cell-icon {",u="abstract",t="",s="qx.ui.table.cellrenderer.AbstractImage",r=" qooxdoo-table-cell-icon",q="<div></div>",p="'",o="no-repeat",n="}",h="  text-align:center;",m="inline-block",k="static",g="top",f="  padding-top:1px;",j="title='",i="string",l="-moz-inline-box";
qx.Class.define(s,{extend:qx.ui.table.cellrenderer.Abstract,type:u,construct:function(){qx.ui.table.cellrenderer.Abstract.call(this);
var z=this.self(arguments);

if(!z.stylesheet){z.stylesheet=qx.bom.Stylesheet.createElement(v+h+f+n);
}},members:{__mR:16,__mS:16,_insetY:2,__mT:null,_identifyImage:function(H){throw new Error("_identifyImage is abstract");
},_getImageInfos:function(c){var d=this._identifyImage(c);
if(d==null||typeof c==i){d={url:d,tooltip:null};
}
if(c.width&&c.height){var e={width:c.imageWidth,height:c.imageHeight};
}else{e=this.__mU(d.url);
}d.width=e.width;
d.height=e.height;
return d;
},__mU:function(A){var D=qx.util.ResourceManager.getInstance();
var C=qx.io.ImageLoader;
var B,E;
if(D.has(A)){B=D.getImageWidth(A);
E=D.getImageHeight(A);
}else if(C.isLoaded(A)){B=C.getWidth(A);
E=C.getHeight(A);
}else{B=this.__mR;
E=this.__mS;
}return {width:B,height:E};
},createDataCellHtml:function(x,y){this.__mT=this._getImageInfos(x);
return qx.ui.table.cellrenderer.Abstract.prototype.createDataCellHtml.call(this,x,y);
},_getCellClass:function(a){return qx.ui.table.cellrenderer.Abstract.prototype._getCellClass.call(this)+r;
},_getContentHtml:function(b){var content=q;
if(this.__mT.url){var content=qx.bom.element.Decoration.create(this.__mT.url,o,{width:this.__mT.width+w,height:this.__mT.height+w,display:qx.bom.client.Engine.GECKO&&qx.bom.client.Engine.VERSION<1.9?l:m,verticalAlign:g,position:k});
}return content;
},_getCellAttributes:function(F){var G=this.__mT.tooltip;

if(G){return j+G+p;
}else{return t;
}}},destruct:function(){this.__mT=null;
}});
})();
(function(){var i="String",h="_applyIconTrue",g="decoration/table/boolean-true.png",f="qx.ui.table.cellrenderer.Boolean",e=";padding-top:4px;",d="decoration/table/boolean-false.png",c="_applyIconFalse";
qx.Class.define(f,{extend:qx.ui.table.cellrenderer.AbstractImage,construct:function(){qx.ui.table.cellrenderer.AbstractImage.call(this);
this.__mV=qx.util.AliasManager.getInstance();
this.initIconTrue();
this.initIconFalse();
},properties:{iconTrue:{check:i,init:g,apply:h},iconFalse:{check:i,init:d,apply:c}},members:{__mW:null,__mX:false,__mV:null,_applyIconTrue:function(l){this.__mW=this.__mV.resolve(l);
},_applyIconFalse:function(a){this.__mX=this.__mV.resolve(a);
},_insetY:5,_getCellStyle:function(b){return qx.ui.table.cellrenderer.AbstractImage.prototype._getCellStyle.call(this,b)+e;
},_identifyImage:function(j){var k={imageWidth:11,imageHeight:11};

switch(j.value){case true:k.url=this.__mW;
break;
case false:k.url=this.__mX;
break;
default:k.url=null;
break;
}return k;
}},destruct:function(){this.__mV=null;
}});
})();
(function(){var i="#c5e1af",h="background-color:",g="#dff1d1",f="Agrammon.Lib.FancyCellRendererBoolean",e="#f1c6ca",d=";",c="#f1dfe1";
qx.Class.define(f,{extend:qx.ui.table.cellrenderer.Boolean,members:{_getCellStyle:function(a){var b;

if(a.value==null){b=(a.row%2==1?e:c);
}else{b=(a.row%2==1?i:g);
}return qx.ui.table.cellrenderer.Boolean.prototype._getCellStyle.call(this,a)+h+b+d;
}}});
})();
(function(){var b="qx.util.format.IFormat";
qx.Interface.define(b,{members:{format:function(a){},parse:function(c){}}});
})();
(function(){var u="",t="Number",s="-",r="0",q="String",p="changeNumberFormat",o='(',n="g",m="Boolean",l="$",e="NaN",k='([0-9]{1,3}(?:',h='{0,1}[0-9]{3}){0,})',d='\\d+){0,1}',c="qx.util.format.NumberFormat",g="Infinity",f="^",i=".",b="-Infinity",j='([-+]){0,1}';
qx.Class.define(c,{extend:qx.core.Object,implement:qx.util.format.IFormat,construct:function(a){qx.core.Object.call(this);
this.__mY=a;
},statics:{getIntegerInstance:function(){var v=qx.util.format.NumberFormat;

if(v._integerInstance==null){v._integerInstance=new v();
v._integerInstance.setMaximumFractionDigits(0);
}return v._integerInstance;
},getInstance:function(){if(!this._instance){this._instance=new this;
}return this._instance;
}},properties:{minimumIntegerDigits:{check:t,init:0},maximumIntegerDigits:{check:t,nullable:true},minimumFractionDigits:{check:t,init:0},maximumFractionDigits:{check:t,nullable:true},groupingUsed:{check:m,init:true},prefix:{check:q,init:u,event:p},postfix:{check:q,init:u,event:p}},members:{__mY:null,format:function(F){switch(F){case Infinity:return g;
case -Infinity:return b;
case NaN:return e;
}var J=(F<0);

if(J){F=-F;
}
if(this.getMaximumFractionDigits()!=null){var Q=Math.pow(10,this.getMaximumFractionDigits());
F=Math.round(F*Q)/Q;
}var P=String(Math.floor(F)).length;
var G=u+F;
var M=G.substring(0,P);

while(M.length<this.getMinimumIntegerDigits()){M=r+M;
}
if(this.getMaximumIntegerDigits()!=null&&M.length>this.getMaximumIntegerDigits()){M=M.substring(M.length-this.getMaximumIntegerDigits());
}var L=G.substring(P+1);

while(L.length<this.getMinimumFractionDigits()){L+=r;
}
if(this.getMaximumFractionDigits()!=null&&L.length>this.getMaximumFractionDigits()){L=L.substring(0,this.getMaximumFractionDigits());
}if(this.getGroupingUsed()){var I=M;
M=u;
var O;

for(O=I.length;O>3;O-=3){M=u+qx.locale.Number.getGroupSeparator(this.__mY)+I.substring(O-3,O)+M;
}M=I.substring(0,O)+M;
}var K=this.getPrefix()?this.getPrefix():u;
var H=this.getPostfix()?this.getPostfix():u;
var N=K+(J?s:u)+M;

if(L.length>0){N+=u+qx.locale.Number.getDecimalSeparator(this.__mY)+L;
}N+=H;
return N;
},parse:function(w){var B=qx.lang.String.escapeRegexpChars(qx.locale.Number.getGroupSeparator(this.__mY)+u);
var z=qx.lang.String.escapeRegexpChars(qx.locale.Number.getDecimalSeparator(this.__mY)+u);
var x=new RegExp(f+qx.lang.String.escapeRegexpChars(this.getPrefix())+j+k+B+h+o+z+d+qx.lang.String.escapeRegexpChars(this.getPostfix())+l);
var A=x.exec(w);

if(A==null){throw new Error("Number string '"+w+"' does not match the number format");
}var C=(A[1]==s);
var E=A[2];
var D=A[3];
E=E.replace(new RegExp(B,n),u);
var y=(C?s:u)+E;

if(D!=null&&D.length!=0){D=D.replace(new RegExp(z),u);
y+=i+D;
}return parseFloat(y);
}}});
})();
(function(){var h="",g="number",f="Boolean",e="qx.ui.table.cellrenderer.Default",d=" qooxdoo-table-cell-bold",c=" qooxdoo-table-cell-right",b=" qooxdoo-table-cell-italic",a="string";
qx.Class.define(e,{extend:qx.ui.table.cellrenderer.Abstract,statics:{STYLEFLAG_ALIGN_RIGHT:1,STYLEFLAG_BOLD:2,STYLEFLAG_ITALIC:4,_numberFormat:null},properties:{useAutoAlign:{check:f,init:true}},members:{_getStyleFlags:function(p){if(this.getUseAutoAlign()){if(typeof p.value==g){return qx.ui.table.cellrenderer.Default.STYLEFLAG_ALIGN_RIGHT;
}}return 0;
},_getCellClass:function(i){var j=qx.ui.table.cellrenderer.Abstract.prototype._getCellClass.call(this,i);

if(!j){return h;
}var k=this._getStyleFlags(i);

if(k&qx.ui.table.cellrenderer.Default.STYLEFLAG_ALIGN_RIGHT){j+=c;
}
if(k&qx.ui.table.cellrenderer.Default.STYLEFLAG_BOLD){j+=d;
}
if(k&qx.ui.table.cellrenderer.Default.STYLEFLAG_ITALIC){j+=b;
}return j;
},_getContentHtml:function(l){return qx.bom.String.escape(this._formatValue(l));
},_formatValue:function(m){var o=m.value;
var n;

if(o==null){return h;
}
if(typeof o==a){return o;
}else if(typeof o==g){if(!qx.ui.table.cellrenderer.Default._numberFormat){qx.ui.table.cellrenderer.Default._numberFormat=new qx.util.format.NumberFormat();
qx.ui.table.cellrenderer.Default._numberFormat.setMaximumFractionDigits(2);
}var n=qx.ui.table.cellrenderer.Default._numberFormat.format(o);
}else if(o instanceof Date){n=qx.util.format.DateFormat.getDateInstance().format(o);
}else{n=o;
}return n;
}}});
})();
(function(){var C="",B="==",A=">",z="between",y="<",x="regex",w="!between",v=">=",u="!=",t="<=",n="font-weight",s=";",q="text-align",m='g',l=":",p="qx.ui.table.cellrenderer.Conditional",o="color",r="font-style";
qx.Class.define(p,{extend:qx.ui.table.cellrenderer.Default,construct:function(M,N,O,P){qx.ui.table.cellrenderer.Default.call(this);
this.numericAllowed=[B,u,A,y,v,t];
this.betweenAllowed=[z,w];
this.conditions=[];
this.__na=M||C;
this.__nb=N||C;
this.__nc=O||C;
this.__nd=P||C;
},members:{__na:null,__nb:null,__nc:null,__nd:null,__ne:function(a,b){if(a[1]!=null){b[q]=a[1];
}
if(a[2]!=null){b[o]=a[2];
}
if(a[3]!=null){b[r]=a[3];
}
if(a[4]!=null){b[n]=a[4];
}},addNumericCondition:function(c,d,e,f,g,h,j){var k=null;

if(qx.lang.Array.contains(this.numericAllowed,c)){if(d!=null){k=[c,e,f,g,h,d,j];
}}
if(k!=null){this.conditions.push(k);
}else{throw new Error("Condition not recognized or value is null!");
}},addBetweenCondition:function(D,E,F,G,H,I,J,K){if(qx.lang.Array.contains(this.betweenAllowed,D)){if(E!=null&&F!=null){var L=[D,G,H,I,J,E,F,K];
}}
if(L!=null){this.conditions.push(L);
}else{throw new Error("Condition not recognized or value1/value2 is null!");
}},addRegex:function(Q,R,S,T,U,V){if(Q!=null){var W=[x,R,S,T,U,Q,V];
}
if(W!=null){this.conditions.push(W);
}else{throw new Error("regex cannot be null!");
}},_getCellStyle:function(X){if(!this.conditions.length){return X.style||C;
}var bd=X.table.getTableModel();
var i;
var bf;
var Y;
var bb={"text-align":this.__na,"color":this.__nb,"font-style":this.__nc,"font-weight":this.__nd};

for(i in this.conditions){bf=false;

if(qx.lang.Array.contains(this.numericAllowed,this.conditions[i][0])){if(this.conditions[i][6]==null){Y=X.value;
}else{Y=bd.getValueById(this.conditions[i][6],X.row);
}
switch(this.conditions[i][0]){case B:if(Y==this.conditions[i][5]){bf=true;
}break;
case u:if(Y!=this.conditions[i][5]){bf=true;
}break;
case A:if(Y>this.conditions[i][5]){bf=true;
}break;
case y:if(Y<this.conditions[i][5]){bf=true;
}break;
case v:if(Y>=this.conditions[i][5]){bf=true;
}break;
case t:if(Y<=this.conditions[i][5]){bf=true;
}break;
}}else if(qx.lang.Array.contains(this.betweenAllowed,this.conditions[i][0])){if(this.conditions[i][7]==null){Y=X.value;
}else{Y=bd.getValueById(this.conditions[i][7],X.row);
}
switch(this.conditions[i][0]){case z:if(Y>=this.conditions[i][5]&&Y<=this.conditions[i][6]){bf=true;
}break;
case w:if(Y<this.conditions[i][5]&&Y>this.conditions[i][6]){bf=true;
}break;
}}else if(this.conditions[i][0]==x){if(this.conditions[i][6]==null){Y=X.value;
}else{Y=bd.getValueById(this.conditions[i][6],X.row);
}var ba=new RegExp(this.conditions[i][5],m);
bf=ba.test(Y);
}if(bf==true){this.__ne(this.conditions[i],bb);
}}var be=[];

for(var bc in bb){if(bb[bc]){be.push(bc,l,bb[bc],s);
}}return be.join(C);
}},destruct:function(){this.numericAllowed=this.betweenAllowed=this.conditions=null;
}});
})();
(function(){var e="",d="qooxdoo-table-cell qooxdoo-table-cell-right",c="0",b="qx.util.format.NumberFormat",a="qx.ui.table.cellrenderer.Number";
qx.Class.define(a,{extend:qx.ui.table.cellrenderer.Conditional,properties:{numberFormat:{check:b,init:null,nullable:true}},members:{_getContentHtml:function(g){var h=this.getNumberFormat();

if(h){if(g.value||g.value==0){return h.format(g.value);
}else{return e;
}}else{return g.value==0?c:(g.value||e);
}},_getCellClass:function(f){return d;
}}});
})();
(function(){var j="",i="Agrammon.Lib.FancyCellRendererNumber",h="#c5e1af",g="0",f="#dff1d1",e="#f1c6ca",d='',c="background-color:",b=";",a="#f1dfe1";
qx.Class.define(i,{extend:qx.ui.table.cellrenderer.Number,members:{_getContentHtml:function(m){var n=this.getNumberFormat();

if(n){if(m.value||m.value==0){return n.format(m.value);
}else{return j;
}}else{return m.value==0?g:(m.value||j);
}},_getCellStyle:function(k){var l;

if(k.value===null||k.value===undefined||k.value===d){l=(k.row%2==1?e:a);
}else{l=(k.row%2==1?h:f);
}return qx.ui.table.cellrenderer.Number.prototype._getCellStyle.call(this,k)+c+l+b;
}}});
})();
(function(){var d="cldr_number_decimal_separator",c="cldr_number_percent_format",b="qx.locale.Number",a="cldr_number_group_separator";
qx.Class.define(b,{statics:{getDecimalSeparator:function(g){return qx.locale.Manager.getInstance().localize(d,[],g);
},getGroupSeparator:function(f){return qx.locale.Manager.getInstance().localize(a,[],f);
},getPercentFormat:function(e){return qx.locale.Manager.getInstance().localize(c,[],e);
}}});
})();
(function(){var j="",i="<br",h=" &nbsp;",g="<br>",f=" ",e="\n",d="qx.bom.String";
qx.Class.define(d,{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(k){return qx.util.StringEscape.escape(k,qx.bom.String.FROM_CHARCODE);
},unescape:function(m){return qx.util.StringEscape.unescape(m,qx.bom.String.TO_CHARCODE);
},fromText:function(l){return qx.bom.String.escape(l).replace(/(  |\n)/g,function(a){var b={"  ":h,"\n":g};
return b[a]||a;
});
},toText:function(q){return qx.bom.String.unescape(q.replace(/\s+|<([^>])+>/gi,function(c){if(c.indexOf(i)===0){return e;
}else if(c.length>0&&c.replace(/^\s*/,j).replace(/\s*$/,j)==j){return f;
}else{return j;
}}));
}},defer:function(n,o,p){n.FROM_CHARCODE=qx.lang.Object.invert(n.TO_CHARCODE);
}});
})();
(function(){var j=";",h="&",g='X',f="",e='#',d="&#",c="qx.util.StringEscape";
qx.Class.define(c,{statics:{escape:function(o,p){var r,t=f;

for(var i=0,l=o.length;i<l;i++){var s=o.charAt(i);
var q=s.charCodeAt(0);

if(p[q]){r=h+p[q]+j;
}else{if(q>0x7F){r=d+q+j;
}else{r=s;
}}t+=r;
}return t;
},unescape:function(a,b){return a.replace(/&[#\w]+;/gi,function(k){var m=k;
var k=k.substring(1,k.length-1);
var n=b[k];

if(n){m=String.fromCharCode(n);
}else{if(k.charAt(0)==e){if(k.charAt(1).toUpperCase()==g){n=k.substring(2);
if(n.match(/^[0-9A-Fa-f]+$/gi)){m=String.fromCharCode(parseInt(n,16));
}}else{n=k.substring(1);
if(n.match(/^\d+$/gi)){m=String.fromCharCode(parseInt(n,10));
}}}}return m;
});
}}});
})();
(function(){var dg="(\\d\\d?)",df="format",de="",dd="abbreviated",dc="wide",db="(",da=")",cY="|",cX="stand-alone",cW="wildcard",cL="default",cK="literal",cJ="'",cI="hour",cH="(\\d\\d?\\d?)",cG="ms",cF="narrow",cE="-",cD="quoted_literal",cC='a',dn="HH:mm:ss",dp="+",dl="HHmmss",dm="long",dj='z',dk="0",dh="sec",di="day",dq='Z',dr=" ",cP="min",cO="mm",cR="(\\d+)",cQ="h",cT="KK",cS='L',cV="Z",cU="(\\d\\d+)",cN="EEEE",cM="^",bD=":",bE='y',bF="K",bG="a",bH="([\\+\\-]\\d\\d:?\\d\\d)",bI="GMT",bJ="dd",bK="qx.util.format.DateFormat",bL="yyy",bM="H",dv="YYYY",du="y",dt="HH",ds="EE",dz='h',dy="S",dx='s',dw='A',dB="yyyyyy",dA="kk",cm="ss",cn='H',ck='S',cl="MMMM",cq='c',cr="d",co="([a-zA-Z]+)",cp='k',ci="m",cj='Y',bU='D',bT="yyyyy",bW='K',bV="hh",bQ="SSS",bP="MM",bS="yy",bR="(\\d\\d\\d\\d\\d\\d+)",bO="yyyy-MM-dd HH:mm:ss",bN="(\\d\\d\\d\\d\\d+)",cw="short",cx='d',cy="unkown",cz='m',cs="(\\d\\d\\d\\d)",ct="(\\d\\d\\d+)",cu="k",cv='M',cA="(\\d\\d\\d\\d+)",cB="SS",cf="MMM",ce="s",cd="M",cc='w',cb="EEE",ca="$",bY="?",bX='E',ch="z",cg="yyyy";
qx.Class.define(bK,{extend:qx.core.Object,implement:qx.util.format.IFormat,construct:function(R,S){qx.core.Object.call(this);

if(!S){this.__ng=qx.locale.Manager.getInstance().getLocale();
}else{this.__ng=S;
}
if(R!=null){this.__nh=R.toString();
}else{this.__nh=qx.locale.Date.getDateFormat(dm,this.__ng)+dr+qx.locale.Date.getDateTimeFormat(dl,dn,this.__ng);
}},statics:{getDateTimeInstance:function(){var G=qx.util.format.DateFormat;
var F=qx.locale.Date.getDateFormat(dm)+dr+qx.locale.Date.getDateTimeFormat(dl,dn);

if(G._dateInstance==null||G._dateInstance.__nh!=F){G._dateTimeInstance=new G();
}return G._dateTimeInstance;
},getDateInstance:function(){var P=qx.util.format.DateFormat;
var O=qx.locale.Date.getDateFormat(cw)+de;

if(P._dateInstance==null||P._dateInstance.__nh!=O){P._dateInstance=new P(O);
}return P._dateInstance;
},ASSUME_YEAR_2000_THRESHOLD:30,LOGGING_DATE_TIME__format:bO,AM_MARKER:"am",PM_MARKER:"pm",MEDIUM_TIMEZONE_NAMES:["GMT"],FULL_TIMEZONE_NAMES:["Greenwich Mean Time"]},members:{__ng:null,__nh:null,__ni:null,__nj:null,__nk:null,__nl:function(dR,dS){var dT=de+dR;

while(dT.length<dS){dT=dk+dT;
}return dT;
},__nm:function(C){var D=new Date(C.getTime());
var E=D.getDate();

while(D.getMonth()!=0){D.setDate(-1);
E+=D.getDate()+1;
}return E;
},__nn:function(B){return new Date(B.getTime()+(3-((B.getDay()+6)%7))*86400000);
},__no:function(v){var x=this.__nn(v);
var y=x.getFullYear();
var w=this.__nn(new Date(y,0,4));
return Math.floor(1.5+(x.getTime()-w.getTime())/86400000/7);
},format:function(a){if(a==null){return null;
}var g=qx.util.format.DateFormat;
var h=this.__ng;
var s=a.getFullYear();
var m=a.getMonth();
var u=a.getDate();
var b=a.getDay();
var n=a.getHours();
var j=a.getMinutes();
var o=a.getSeconds();
var q=a.getMilliseconds();
var t=a.getTimezoneOffset();
var e=t>0?1:-1;
var c=Math.floor(Math.abs(t)/60);
var k=Math.abs(t)%60;
this.__np();
var r=de;

for(var i=0;i<this.__nk.length;i++){var p=this.__nk[i];

if(p.type==cK){r+=p.text;
}else{var f=p.character;
var l=p.size;
var d=bY;

switch(f){case bE:case cj:if(l==2){d=this.__nl(s%100,2);
}else{d=s+de;

if(l>d.length){for(var i=d.length;i<l;i++){d=dk+d;
}}}break;
case bU:d=this.__nl(this.__nm(a),l);
break;
case cx:d=this.__nl(u,l);
break;
case cc:d=this.__nl(this.__no(a),l);
break;
case bX:if(l==2){d=qx.locale.Date.getDayName(cF,b,h,df);
}else if(l==3){d=qx.locale.Date.getDayName(dd,b,h,df);
}else if(l==4){d=qx.locale.Date.getDayName(dc,b,h,df);
}break;
case cq:if(l==2){d=qx.locale.Date.getDayName(cF,b,h,cX);
}else if(l==3){d=qx.locale.Date.getDayName(dd,b,h,cX);
}else if(l==4){d=qx.locale.Date.getDayName(dc,b,h,cX);
}break;
case cv:if(l==1||l==2){d=this.__nl(m+1,l);
}else if(l==3){d=qx.locale.Date.getMonthName(dd,m,h,df);
}else if(l==4){d=qx.locale.Date.getMonthName(dc,m,h,df);
}break;
case cS:if(l==1||l==2){d=this.__nl(m+1,l);
}else if(l==3){d=qx.locale.Date.getMonthName(dd,m,h,cX);
}else if(l==4){d=qx.locale.Date.getMonthName(dc,m,h,cX);
}break;
case cC:d=(n<12)?qx.locale.Date.getAmMarker(h):qx.locale.Date.getPmMarker(h);
break;
case cn:d=this.__nl(n,l);
break;
case cp:d=this.__nl((n==0)?24:n,l);
break;
case bW:d=this.__nl(n%12,l);
break;
case dz:d=this.__nl(((n%12)==0)?12:(n%12),l);
break;
case cz:d=this.__nl(j,l);
break;
case dx:d=this.__nl(o,l);
break;
case ck:d=this.__nl(q,l);
break;
case dj:if(l==1){d=bI+((e>0)?cE:dp)+this.__nl(Math.abs(c))+bD+this.__nl(k,2);
}else if(l==2){d=g.MEDIUM_TIMEZONE_NAMES[c];
}else if(l==3){d=g.FULL_TIMEZONE_NAMES[c];
}break;
case dq:d=((e>0)?cE:dp)+this.__nl(Math.abs(c),2)+this.__nl(k,2);
break;
}r+=d;
}}return r;
},parse:function(dK){this.__nq();
var dQ=this.__ni.regex.exec(dK);

if(dQ==null){throw new Error("Date string '"+dK+"' does not match the date format: "+this.__nh);
}var dL={year:1970,month:0,day:1,hour:0,ispm:false,min:0,sec:0,ms:0};
var dM=1;

for(var i=0;i<this.__ni.usedRules.length;i++){var dO=this.__ni.usedRules[i];
var dN=dQ[dM];

if(dO.field!=null){dL[dO.field]=parseInt(dN,10);
}else{dO.manipulator(dL,dN);
}dM+=(dO.groups==null)?1:dO.groups;
}var dP=new Date(dL.year,dL.month,dL.day,(dL.ispm)?(dL.hour+12):dL.hour,dL.min,dL.sec,dL.ms);

if(dL.month!=dP.getMonth()||dL.year!=dP.getFullYear()){throw new Error("Error parsing date '"+dK+"': the value for day or month is too large");
}return dP;
},__np:function(){if(this.__nk!=null){return;
}this.__nk=[];
var L;
var J=0;
var N=de;
var H=this.__nh;
var K=cL;
var i=0;

while(i<H.length){var M=H.charAt(i);

switch(K){case cD:if(M==cJ){if(i+1>=H.length){i++;
break;
}var I=H.charAt(i+1);

if(I==cJ){N+=M;
i++;
}else{i++;
K=cy;
}}else{N+=M;
i++;
}break;
case cW:if(M==L){J++;
i++;
}else{this.__nk.push({type:cW,character:L,size:J});
L=null;
J=0;
K=cL;
}break;
default:if((M>=cC&&M<=dj)||(M>=dw&&M<=dq)){L=M;
K=cW;
}else if(M==cJ){if(i+1>=H.length){N+=M;
i++;
break;
}var I=H.charAt(i+1);

if(I==cJ){N+=M;
i++;
}i++;
K=cD;
}else{K=cL;
}
if(K!=cL){if(N.length>0){this.__nk.push({type:cK,text:N});
N=de;
}}else{N+=M;
i++;
}break;
}}if(L!=null){this.__nk.push({type:cW,character:L,size:J});
}else if(N.length>0){this.__nk.push({type:cK,text:N});
}},__nq:function(){if(this.__ni!=null){return ;
}var W=this.__nh;
this.__nr();
this.__np();
var bd=[];
var Y=cM;

for(var U=0;U<this.__nk.length;U++){var be=this.__nk[U];

if(be.type==cK){Y+=qx.lang.String.escapeRegexpChars(be.text);
}else{var V=be.character;
var ba=be.size;
var X;

for(var bf=0;bf<this.__nj.length;bf++){var bb=this.__nj[bf];

if(V==bb.pattern.charAt(0)&&ba==bb.pattern.length){X=bb;
break;
}}if(X==null){var bc=de;

for(var i=0;i<ba;i++){bc+=V;
}throw new Error("Malformed date format: "+W+". Wildcard "+bc+" is not supported");
}else{bd.push(X);
Y+=X.regex;
}}}Y+=ca;
var T;

try{T=new RegExp(Y);
}catch(Q){throw new Error("Malformed date format: "+W);
}this.__ni={regex:T,"usedRules":bd,pattern:Y};
},__nr:function(){var bn=qx.util.format.DateFormat;
var bt=qx.lang.String;

if(this.__nj!=null){return ;
}var bo=this.__nj=[];
var bA=function(dG,dH){dH=parseInt(dH,10);

if(dH<bn.ASSUME_YEAR_2000_THRESHOLD){dH+=2000;
}else if(dH<100){dH+=1900;
}dG.year=dH;
};
var bu=function(dY,ea){dY.month=parseInt(ea,10)-1;
};
var br=function(z,A){z.ispm=(A==bn.PM_MARKER);
};
var bq=function(dU,dV){dU.hour=parseInt(dV,10)%24;
};
var bp=function(bB,bC){bB.hour=parseInt(bC,10)%12;
};
var bx=function(dI,dJ){return;
};
var bv=qx.locale.Date.getMonthNames(dd,this.__ng,df);

for(var i=0;i<bv.length;i++){bv[i]=bt.escapeRegexpChars(bv[i].toString());
}var bw=function(dC,dD){dD=bt.escapeRegexpChars(dD);
dC.month=bv.indexOf(dD);
};
var bk=qx.locale.Date.getMonthNames(dc,this.__ng,df);

for(var i=0;i<bk.length;i++){bk[i]=bt.escapeRegexpChars(bk[i].toString());
}var bj=function(dW,dX){dX=bt.escapeRegexpChars(dX);
dW.month=bk.indexOf(dX);
};
var bm=qx.locale.Date.getDayNames(cF,this.__ng,df);

for(var i=0;i<bm.length;i++){bm[i]=bt.escapeRegexpChars(bm[i].toString());
}var bi=function(dE,dF){dF=bt.escapeRegexpChars(dF);
dE.month=bm.indexOf(dF);
};
var by=qx.locale.Date.getDayNames(dd,this.__ng,df);

for(var i=0;i<by.length;i++){by[i]=bt.escapeRegexpChars(by[i].toString());
}var bs=function(eb,ec){ec=bt.escapeRegexpChars(ec);
eb.month=by.indexOf(ec);
};
var bz=qx.locale.Date.getDayNames(dc,this.__ng,df);

for(var i=0;i<bz.length;i++){bz[i]=bt.escapeRegexpChars(bz[i].toString());
}var bl=function(bg,bh){bh=bt.escapeRegexpChars(bh);
bg.month=bz.indexOf(bh);
};
bo.push({pattern:dv,regex:cs,manipulator:bA});
bo.push({pattern:du,regex:cR,manipulator:bA});
bo.push({pattern:bS,regex:cU,manipulator:bA});
bo.push({pattern:bL,regex:ct,manipulator:bA});
bo.push({pattern:cg,regex:cA,manipulator:bA});
bo.push({pattern:bT,regex:bN,manipulator:bA});
bo.push({pattern:dB,regex:bR,manipulator:bA});
bo.push({pattern:cd,regex:dg,manipulator:bu});
bo.push({pattern:bP,regex:dg,manipulator:bu});
bo.push({pattern:cf,regex:db+bv.join(cY)+da,manipulator:bw});
bo.push({pattern:cl,regex:db+bk.join(cY)+da,manipulator:bj});
bo.push({pattern:bJ,regex:dg,field:di});
bo.push({pattern:cr,regex:dg,field:di});
bo.push({pattern:ds,regex:db+bm.join(cY)+da,manipulator:bi});
bo.push({pattern:cb,regex:db+by.join(cY)+da,manipulator:bs});
bo.push({pattern:cN,regex:db+bz.join(cY)+da,manipulator:bl});
bo.push({pattern:bG,regex:db+bn.AM_MARKER+cY+bn.PM_MARKER+da,manipulator:br});
bo.push({pattern:dt,regex:dg,field:cI});
bo.push({pattern:bM,regex:dg,field:cI});
bo.push({pattern:dA,regex:dg,manipulator:bq});
bo.push({pattern:cu,regex:dg,manipulator:bq});
bo.push({pattern:cT,regex:dg,field:cI});
bo.push({pattern:bF,regex:dg,field:cI});
bo.push({pattern:bV,regex:dg,manipulator:bp});
bo.push({pattern:cQ,regex:dg,manipulator:bp});
bo.push({pattern:cO,regex:dg,field:cP});
bo.push({pattern:ci,regex:dg,field:cP});
bo.push({pattern:cm,regex:dg,field:dh});
bo.push({pattern:ce,regex:dg,field:dh});
bo.push({pattern:bQ,regex:cH,field:cG});
bo.push({pattern:cB,regex:cH,field:cG});
bo.push({pattern:dy,regex:cH,field:cG});
bo.push({pattern:cV,regex:bH,manipulator:bx});
bo.push({pattern:ch,regex:co,manipulator:bx});
}},destruct:function(){this.__nk=this.__ni=this.__nj=null;
}});
})();
(function(){var A="_",z="format",y="thu",x="sat",w="cldr_day_",v="cldr_month_",u="wed",t="fri",s="tue",r="mon",R="sun",Q="short",P="HH:mm",O="HHmmsszz",N="HHmm",M="HHmmss",L="cldr_date_format_",K="HH:mm:ss zz",J="full",I="cldr_pm",G="long",H="medium",E="cldr_am",F="qx.locale.Date",C="cldr_date_time_format_",D="cldr_time_format_",B="HH:mm:ss";
qx.Class.define(F,{statics:{__ns:qx.locale.Manager.getInstance(),getAmMarker:function(bn){return this.__ns.localize(E,[],bn);
},getPmMarker:function(q){return this.__ns.localize(I,[],q);
},getDayNames:function(length,bq,br){var br=br?br:z;
{};
var bt=[R,r,s,u,y,t,x];
var bu=[];

for(var i=0;i<bt.length;i++){var bs=w+br+A+length+A+bt[i];
bu.push(this.__ns.localize(bs,[],bq));
}return bu;
},getDayName:function(length,S,T,U){var U=U?U:z;
{};
var W=[R,r,s,u,y,t,x];
var V=w+U+A+length+A+W[S];
return this.__ns.localize(V,[],T);
},getMonthNames:function(length,X,Y){var Y=Y?Y:z;
{};
var bb=[];

for(var i=0;i<12;i++){var ba=v+Y+A+length+A+(i+1);
bb.push(this.__ns.localize(ba,[],X));
}return bb;
},getMonthName:function(length,m,n,o){var o=o?o:z;
{};
var p=v+o+A+length+A+(m+1);
return this.__ns.localize(p,[],n);
},getDateFormat:function(bc,bd){{};
var be=L+bc;
return this.__ns.localize(be,[],bd);
},getDateTimeFormat:function(bf,bg,bh){var bj=C+bf;
var bi=this.__ns.localize(bj,[],bh);

if(bi==bj){bi=bg;
}return bi;
},getTimeFormat:function(a,b){{};
var d=D+a;
var c=this.__ns.localize(d,[],b);

if(c!=d){return c;
}
switch(a){case Q:case H:return qx.locale.Date.getDateTimeFormat(N,P);
case G:return qx.locale.Date.getDateTimeFormat(M,B);
case J:return qx.locale.Date.getDateTimeFormat(O,K);
default:throw new Error("This case should never happen.");
}},getWeekStart:function(bv){var bw={"MV":5,"AE":6,"AF":6,"BH":6,"DJ":6,"DZ":6,"EG":6,"ER":6,"ET":6,"IQ":6,"IR":6,"JO":6,"KE":6,"KW":6,"LB":6,"LY":6,"MA":6,"OM":6,"QA":6,"SA":6,"SD":6,"SO":6,"TN":6,"YE":6,"AS":0,"AU":0,"AZ":0,"BW":0,"CA":0,"CN":0,"FO":0,"GE":0,"GL":0,"GU":0,"HK":0,"IE":0,"IL":0,"IS":0,"JM":0,"JP":0,"KG":0,"KR":0,"LA":0,"MH":0,"MN":0,"MO":0,"MP":0,"MT":0,"NZ":0,"PH":0,"PK":0,"SG":0,"TH":0,"TT":0,"TW":0,"UM":0,"US":0,"UZ":0,"VI":0,"ZA":0,"ZW":0,"MW":0,"NG":0,"TJ":0};
var bx=qx.locale.Date._getTerritory(bv);
return bw[bx]!=null?bw[bx]:1;
},getWeekendStart:function(j){var l={"EG":5,"IL":5,"SY":5,"IN":0,"AE":4,"BH":4,"DZ":4,"IQ":4,"JO":4,"KW":4,"LB":4,"LY":4,"MA":4,"OM":4,"QA":4,"SA":4,"SD":4,"TN":4,"YE":4};
var k=qx.locale.Date._getTerritory(j);
return l[k]!=null?l[k]:6;
},getWeekendEnd:function(bk){var bl={"AE":5,"BH":5,"DZ":5,"IQ":5,"JO":5,"KW":5,"LB":5,"LY":5,"MA":5,"OM":5,"QA":5,"SA":5,"SD":5,"TN":5,"YE":5,"AF":5,"IR":5,"EG":6,"IL":6,"SY":6};
var bm=qx.locale.Date._getTerritory(bk);
return bl[bm]!=null?bl[bm]:0;
},isWeekend:function(e,f){var h=qx.locale.Date.getWeekendStart(f);
var g=qx.locale.Date.getWeekendEnd(f);

if(g>h){return ((e>=h)&&(e<=g));
}else{return ((e>=h)||(e<=g));
}},_getTerritory:function(bo){if(bo){var bp=bo.split(A)[1]||bo;
}else{bp=this.__ns.getTerritory()||this.__ns.getLanguage();
}return bp.toUpperCase();
}}});
})();
(function(){var i="Function",h="undefined",g="qx.ui.table.cellrenderer.Replace",f="Object";
qx.Class.define(g,{extend:qx.ui.table.cellrenderer.Default,properties:{replaceMap:{check:f,nullable:true,init:null},replaceFunction:{check:i,nullable:true,init:null}},members:{_getContentHtml:function(a){var d=a.value;
var b=this.getReplaceMap();
var c=this.getReplaceFunction();
var e;
if(b){e=b[d];

if(typeof e!=h){a.value=e;
return qx.bom.String.escape(this._formatValue(a));
}}if(c){a.value=c(d);
}return qx.bom.String.escape(this._formatValue(a));
},addReversedReplaceMap:function(){var j=this.getReplaceMap();

for(var l in j){var k=j[l];
j[k]=l;
}return true;
}}});
})();
(function(){var h="#c5e1af",g="background-color:",f="#dff1d1",e="#f1c6ca",d="Agrammon.Lib.FancyCellRendererReplace",c=";",b="#f1dfe1",a='*** Select ***';
qx.Class.define(d,{extend:qx.ui.table.cellrenderer.Replace,members:{_getCellStyle:function(i){var j;

if(i.value==a){j=(i.row%2==1?e:b);
}else{j=(i.row%2==1?h:f);
}return qx.ui.table.cellrenderer.Replace.prototype._getCellStyle.call(this,i)+g+j+c;
}}});
})();
(function(){var l="",k="#c5e1af",j="background-color:",i="#dff1d1",h="#f1c6ca",g='',f=";",e="#f1dfe1",d="Agrammon.Lib.FancyCellRendererDefault",c="0fd";
qx.Class.define(d,{extend:qx.ui.table.cellrenderer.Default,members:{_getContentHtml:function(a){var b=this.getNumberFormat();
this.debug('value='+a.value);

if(b){if(a.value||a.value==0){return b.format(a.value);
}else{return l;
}}else{return a.value===0?c:(a.value||l);
}},_getCellStyle:function(m){var n;

if(m.value==null||m.value==undefined||m.value==g){n=(m.row%2==1?h:e);
}else{n=(m.row%2==1?k:i);
}return qx.ui.table.cellrenderer.Default.prototype._getCellStyle.call(this,m)+j+n+f;
}}});
})();
(function(){var f="Function",e="qx.ui.table.cellrenderer.Dynamic";
qx.Class.define(e,{extend:qx.ui.table.cellrenderer.Default,construct:function(g){qx.ui.table.cellrenderer.Default.call(this);

if(g){this.setCellRendererFactoryFunction(g);
}},properties:{cellRendererFactoryFunction:{check:f,nullable:true,init:null}},members:{createDataCellHtml:function(a,b){var d=this.getCellRendererFactoryFunction();

if(!d){throw new Error("No function provided! Aborting.");
}var c=d(a);
return c.createDataCellHtml(a,b);
}}});
})();
(function(){var b="qx.ui.table.ICellEditorFactory";
qx.Interface.define(b,{members:{createCellEditor:function(a){return true;
},getCellEditorValue:function(c){return true;
}}});
})();
(function(){var h="",g="Function",f="abstract",e="number",d="appear",c="qx.ui.table.celleditor.AbstractField";
qx.Class.define(c,{extend:qx.core.Object,implement:qx.ui.table.ICellEditorFactory,type:f,properties:{validationFunction:{check:g,nullable:true,init:null}},members:{_createEditor:function(){throw new Error("Abstract method call!");
},createCellEditor:function(a){var b=this._createEditor();
b.originalValue=a.value;

if(a.value===null||a.value===undefined){a.value=h;
}b.setValue(h+a.value);
b.addListener(d,function(){b.selectAllText();
});
return b;
},getCellEditorValue:function(i){var k=i.getValue();
var j=this.getValidationFunction();

if(j){k=j(k,i.originalValue);
}
if(typeof i.originalValue==e){k=parseFloat(k);
}return k;
}}});
})();
(function(){var c="number",b="Agrammon.Lib.FancyTextField",a="table-editor-textfield";
qx.Class.define(b,{extend:qx.ui.table.celleditor.AbstractField,members:{getCellEditorValue:function(d){var f=d.getValue();
var e=this.getValidationFunction();

if(e){f=e(f,d.originalValue);
}
if(typeof d.originalValue==c){if(f!=null){f=parseFloat(f);
}}return f;
},_createEditor:function(){var g=new qx.ui.form.TextField();
g.setAppearance(a);
return g;
}}});
})();
(function(){var k="showingPlaceholder",j="color",i="",h="none",g="qx.client",f="qx.dynlocale",d="Boolean",c="qx.event.type.Data",b="readonly",a="input",ba="focusin",Y="visibility",X="focusout",W="changeLocale",V="hidden",U="on",T="absolute",S="readOnly",R="text",Q="_applyTextAlign",r="px",s="RegExp",p=")",q="syncAppearance",n="changeValue",o="gecko",l="A",m="change",v="textAlign",w="focused",E="center",C="visible",I="disabled",G="url(",M="off",K="String",y="resize",P="qx.ui.form.AbstractField",O="transparent",N="spellcheck",x="false",A="right",B="PositiveInteger",D="mshtml",F="abstract",H="block",J="webkit",L="_applyReadOnly",t="_applyPlaceholder",u="left",z="qx/static/blank.gif";
qx.Class.define(P,{extend:qx.ui.core.Widget,implement:[qx.ui.form.IStringForm,qx.ui.form.IForm],include:[qx.ui.form.MForm],type:F,construct:function(bc){qx.ui.core.Widget.call(this);

if(bc!=null){this.setValue(bc);
}this.getContentElement().addListener(m,this._onChangeContent,this);
this.addListener(q,this._syncPlaceholder,this);
if(qx.core.Variant.isSet(f,U)){qx.locale.Manager.getInstance().addListener(W,this._onChangeLocale,this);
}},events:{"input":c,"changeValue":c},properties:{textAlign:{check:[u,E,A],nullable:true,themeable:true,apply:Q},readOnly:{check:d,apply:L,init:false},selectable:{refine:true,init:true},focusable:{refine:true,init:true},maxLength:{check:B,init:Infinity},liveUpdate:{check:d,init:false},placeholder:{check:K,nullable:true,apply:t},filter:{check:s,nullable:true,init:null}},members:{__nu:true,__nv:null,__nw:null,__nx:null,getFocusElement:function(){var bx=this.getContentElement();

if(bx){return bx;
}},_createInputElement:function(){return new qx.html.Input(R);
},renderLayout:function(bd,top,be,bf){var bg=this._updateInsets;
var bk=qx.ui.core.Widget.prototype.renderLayout.call(this,bd,top,be,bf);
if(!bk){return;
}var bi=bk.size||bg;
var bl=r;

if(bi||bk.local||bk.margin){var bh=this.getInsets();
var innerWidth=be-bh.left-bh.right;
var innerHeight=bf-bh.top-bh.bottom;
innerWidth=innerWidth<0?0:innerWidth;
innerHeight=innerHeight<0?0:innerHeight;
}var bj=this.getContentElement();

if(bg){this.__nA().setStyles({"left":bh.left+bl,"top":bh.top+bl});
}
if(bi){this.__nA().setStyles({"width":innerWidth+bl,"height":innerHeight+bl});
bj.setStyles({"width":innerWidth+bl,"height":innerHeight+bl});
}},_createContentElement:function(){var bA=this._createInputElement();
bA.setStyles({"border":h,"padding":0,"margin":0,"display":H,"background":O,"outline":h,"appearance":h,"position":T,"autoComplete":M});
bA.setSelectable(this.getSelectable());
bA.setEnabled(this.getEnabled());
bA.addListener(a,this._onHtmlInput,this);
if(qx.core.Variant.isSet(g,o)){bA.setAttribute(N,x);
}if(qx.core.Variant.isSet(g,J)){bA.setStyle(y,h);
}if(qx.core.Variant.isSet(g,D)){bA.setStyles({backgroundImage:G+qx.util.ResourceManager.getInstance().toUri(z)+p});
}return bA;
},_applyEnabled:function(bN,bO){qx.ui.core.Widget.prototype._applyEnabled.call(this,bN,bO);
this.getContentElement().setEnabled(bN);

if(bN){this._showPlaceholder();
}else{this._removePlaceholder();
}},__ny:{width:16,height:16},_getContentHint:function(){return {width:this.__ny.width*10,height:this.__ny.height||16};
},_applyFont:function(bm,bn){var bo;

if(bm){var bp=qx.theme.manager.Font.getInstance().resolve(bm);
bo=bp.getStyles();
}else{bo=qx.bom.Font.getDefaultStyles();
}this.getContentElement().setStyles(bo);
this.__nA().setStyles(bo);
if(bm){this.__ny=qx.bom.Label.getTextSize(l,bo);
}else{delete this.__ny;
}qx.ui.core.queue.Layout.add(this);
},_applyTextColor:function(bD,bE){if(bD){this.getContentElement().setStyle(j,qx.theme.manager.Color.getInstance().resolve(bD));
this.__nA().setStyle(j,qx.theme.manager.Color.getInstance().resolve(bD));
}else{this.getContentElement().removeStyle(j);
this.__nA().removeStyle(j);
}},tabFocus:function(){qx.ui.core.Widget.prototype.tabFocus.call(this);
this.selectAllText();
},_getTextSize:function(){return this.__ny;
},_onHtmlInput:function(e){var bI=e.getData();
var bH=true;
this.__nu=false;
if(this.getFilter()!=null){var bJ=i;
var bF=bI.search(this.getFilter());
var bG=bI;

while(bF>=0){bJ=bJ+(bG.charAt(bF));
bG=bG.substring(bF+1,bG.length);
bF=bG.search(this.getFilter());
}
if(bJ!=bI){bH=false;
bI=bJ;
this.getContentElement().setValue(bI);
}}if(bI.length>this.getMaxLength()){var bH=false;
this.getContentElement().setValue(bI.substr(0,this.getMaxLength()));
}if(bH){this.fireDataEvent(a,bI,this.__nx);
this.__nx=bI;
if(this.getLiveUpdate()){this.__nz(bI);
}}},__nz:function(bM){this.fireNonBubblingEvent(n,qx.event.type.Data,[bM,this.__nw]);
this.__nw=bM;
},setValue:function(bt){if(bt===null){if(this.__nu){return bt;
}bt=i;
this.__nu=true;
}else{this.__nu=false;
this._removePlaceholder();
}
if(qx.lang.Type.isString(bt)){var bv=this.getContentElement();

if(bt.length>this.getMaxLength()){bt=bt.substr(0,this.getMaxLength());
}
if(bv.getValue()!=bt){var bw=bv.getValue();
bv.setValue(bt);
var bu=this.__nu?null:bt;
this.__nw=bw;
this.__nz(bu);
}this._showPlaceholder();
return bt;
}throw new Error("Invalid value type: "+bt);
},getValue:function(){var bb=this.getContentElement().getValue();
return this.__nu?null:bb;
},resetValue:function(){this.setValue(null);
},_onChangeContent:function(e){this.__nu=e.getData()===null;
this.__nz(e.getData());
},getTextSelection:function(){return this.getContentElement().getTextSelection();
},getTextSelectionLength:function(){return this.getContentElement().getTextSelectionLength();
},getTextSelectionStart:function(){return this.getContentElement().getTextSelectionStart();
},getTextSelectionEnd:function(){return this.getContentElement().getTextSelectionEnd();
},setTextSelection:function(by,bz){this.getContentElement().setTextSelection(by,bz);
},clearTextSelection:function(){this.getContentElement().clearTextSelection();
},selectAllText:function(){this.setTextSelection(0);
},_showPlaceholder:function(){var bL=this.getValue()||i;
var bK=this.getPlaceholder();

if(bK!=null&&bL==i&&!this.hasState(w)&&!this.hasState(I)){if(this.hasState(k)){this._syncPlaceholder();
}else{this.addState(k);
}}},_removePlaceholder:function(){if(this.hasState(k)){this.__nA().setStyle(Y,V);
this.removeState(k);
}},_syncPlaceholder:function(){if(this.hasState(k)){this.__nA().setStyle(Y,C);
}},__nA:function(){if(this.__nv==null){this.__nv=new qx.html.Label();
this.__nv.setStyles({"visibility":V,"zIndex":6,"position":T});
this.getContainerElement().add(this.__nv);
}return this.__nv;
},_onChangeLocale:qx.core.Variant.select(f,{"on":function(e){var content=this.getPlaceholder();

if(content&&content.translate){this.setPlaceholder(content.translate());
}},"off":null}),_applyPlaceholder:function(bP,bQ){this.__nA().setValue(bP);

if(bP!=null){this.addListener(ba,this._removePlaceholder,this);
this.addListener(X,this._showPlaceholder,this);
this._showPlaceholder();
}else{this.removeListener(ba,this._removePlaceholder,this);
this.removeListener(X,this._showPlaceholder,this);
this._removePlaceholder();
}},_applyTextAlign:function(bB,bC){this.getContentElement().setStyle(v,bB);
},_applyReadOnly:function(bq,br){var bs=this.getContentElement();
bs.setAttribute(S,bq);

if(bq){this.addState(b);
this.setFocusable(false);
}else{this.removeState(b);
this.setFocusable(true);
}}},destruct:function(){this.__nv=null;

if(qx.core.Variant.isSet(f,U)){qx.locale.Manager.getInstance().removeListener(W,this._onChangeLocale,this);
}}});
})();
(function(){var b="qx.ui.form.TextField",a="textfield";
qx.Class.define(b,{extend:qx.ui.form.AbstractField,properties:{appearance:{refine:true,init:a},allowGrowY:{refine:true,init:false},allowShrinkY:{refine:true,init:false}}});
})();
(function(){var y="none",x="wrap",w="value",v="qx.client",u="textarea",t="off",s="on",r="qxSelectable",q="",p="webkit",l="input",o="qx.html.Input",n="select",k="disabled",j="read-only",m="userSelect";
qx.Class.define(o,{extend:qx.html.Element,construct:function(e,f,g){if(e===n||e===u){var h=e;
}else{h=l;
}qx.html.Element.call(this,h,f,g);
this.__nB=e;
},members:{__nB:null,__nC:null,__nD:null,_createDomElement:function(){return qx.bom.Input.create(this.__nB);
},_applyProperty:function(name,B){qx.html.Element.prototype._applyProperty.call(this,name,B);
var C=this.getDomElement();

if(name===w){qx.bom.Input.setValue(C,B);
}else if(name===x){qx.bom.Input.setWrap(C,B);
}},setEnabled:qx.core.Variant.select(v,{"webkit":function(A){this.__nD=A;

if(!A){this.setStyles({"userModify":j,"userSelect":y});
}else{this.setStyles({"userModify":null,"userSelect":this.__nC?null:y});
}},"default":function(a){this.setAttribute(k,a===false);
}}),setSelectable:qx.core.Variant.select(v,{"webkit":function(D){this.__nC=D;
this.setAttribute(r,D?s:t);
if(qx.core.Variant.isSet(v,p)){var E=this.__nD?D?null:y:y;
this.setStyle(m,E);
}},"default":function(z){this.setAttribute(r,z?s:t);
}}),setValue:function(c){var d=this.getDomElement();

if(d){if(d.value!=c){qx.bom.Input.setValue(d,c);
}}else{this._setProperty(w,c);
}return this;
},getValue:function(){var b=this.getDomElement();

if(b){return qx.bom.Input.getValue(b);
}return this._getProperty(w)||q;
},setWrap:function(i){if(this.__nB===u){this._setProperty(x,i);
}else{throw new Error("Text wrapping is only support by textareas!");
}return this;
},getWrap:function(){if(this.__nB===u){return this._getProperty(x);
}else{throw new Error("Text wrapping is only support by textareas!");
}}}});
})();
(function(){var N="change",M="input",L="qx.client",K="text",J="password",I="checkbox",H="radio",G="textarea",F="keypress",E="opera",y="propertychange",D="blur",B="keydown",x="keyup",w="select-multiple",A="checked",z="value",C="select",v="qx.event.handler.Input";
qx.Class.define(v,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(){qx.core.Object.call(this);
this._onChangeCheckedWrapper=qx.lang.Function.listener(this._onChangeChecked,this);
this._onChangeValueWrapper=qx.lang.Function.listener(this._onChangeValue,this);
this._onInputWrapper=qx.lang.Function.listener(this._onInput,this);
this._onPropertyWrapper=qx.lang.Function.listener(this._onProperty,this);
if(qx.core.Variant.isSet(L,E)){this._onKeyDownWrapper=qx.lang.Function.listener(this._onKeyDown,this);
this._onKeyUpWrapper=qx.lang.Function.listener(this._onKeyUp,this);
this._onBlurWrapper=qx.lang.Function.listener(this._onBlur,this);
}},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{input:1,change:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:false},members:{__nE:false,__nF:null,__nG:null,canHandleEvent:function(n,p){var q=n.tagName.toLowerCase();

if(p===M&&(q===M||q===G)){return true;
}
if(p===N&&(q===M||q===G||q===C)){return true;
}return false;
},registerEvent:qx.core.Variant.select(L,{"mshtml":function(V,W,X){if(!V.__nH){var Y=V.tagName.toLowerCase();
var ba=V.type;

if(ba===K||ba===J||Y===G||ba===I||ba===H){qx.bom.Event.addNativeListener(V,y,this._onPropertyWrapper);
}
if(ba!==I&&ba!==H){qx.bom.Event.addNativeListener(V,N,this._onChangeValueWrapper);
}
if(ba===K||ba===J){this._onKeyPressWrapped=qx.lang.Function.listener(this._onKeyPress,this,V);
qx.bom.Event.addNativeListener(V,F,this._onKeyPressWrapped);
}V.__nH=true;
}},"default":function(j,k,m){if(k===M){this.__nI(j);
}else if(k===N){if(j.type===H||j.type===I){qx.bom.Event.addNativeListener(j,N,this._onChangeCheckedWrapper);
}else{qx.bom.Event.addNativeListener(j,N,this._onChangeValueWrapper);
}if(qx.core.Variant.isSet(L,E)){if(j.type===K||j.type===J){this._onKeyPressWrapped=qx.lang.Function.listener(this._onKeyPress,this,j);
qx.bom.Event.addNativeListener(j,F,this._onKeyPressWrapped);
}}}}}),__nI:qx.core.Variant.select(L,{"mshtml":null,"webkit":function(P){var Q=P.tagName.toLowerCase();
if(qx.bom.client.Engine.VERSION<532&&Q==G){qx.bom.Event.addNativeListener(P,F,this._onInputWrapper);
}qx.bom.Event.addNativeListener(P,M,this._onInputWrapper);
},"opera":function(r){qx.bom.Event.addNativeListener(r,x,this._onKeyUpWrapper);
qx.bom.Event.addNativeListener(r,B,this._onKeyDownWrapper);
qx.bom.Event.addNativeListener(r,D,this._onBlurWrapper);
qx.bom.Event.addNativeListener(r,M,this._onInputWrapper);
},"default":function(bc){qx.bom.Event.addNativeListener(bc,M,this._onInputWrapper);
}}),unregisterEvent:qx.core.Variant.select(L,{"mshtml":function(a,b){if(a.__nH){var c=a.tagName.toLowerCase();
var d=a.type;

if(d===K||d===J||c===G||d===I||d===H){qx.bom.Event.removeNativeListener(a,y,this._onPropertyWrapper);
}
if(d!==I&&d!==H){qx.bom.Event.removeNativeListener(a,N,this._onChangeValueWrapper);
}
if(d===K||d===J){qx.bom.Event.removeNativeListener(a,F,this._onKeyPressWrapped);
}
try{delete a.__nH;
}catch(f){a.__nH=null;
}}},"default":function(T,U){if(U===M){this.__nI(T);
}else if(U===N){if(T.type===H||T.type===I){qx.bom.Event.removeNativeListener(T,N,this._onChangeCheckedWrapper);
}else{qx.bom.Event.removeNativeListener(T,N,this._onChangeValueWrapper);
}}
if(qx.core.Variant.isSet(L,E)){if(T.type===K||T.type===J){qx.bom.Event.removeNativeListener(T,F,this._onKeyPressWrapped);
}}}}),__nJ:qx.core.Variant.select(L,{"mshtml":null,"webkit":function(R){var S=R.tagName.toLowerCase();
if(qx.bom.client.Engine.VERSION<532&&S==G){qx.bom.Event.removeNativeListener(R,F,this._onInputWrapper);
}qx.bom.Event.removeNativeListener(R,M,this._onInputWrapper);
},"opera":function(bb){qx.bom.Event.removeNativeListener(bb,x,this._onKeyUpWrapper);
qx.bom.Event.removeNativeListener(bb,B,this._onKeyDownWrapper);
qx.bom.Event.removeNativeListener(bb,D,this._onBlurWrapper);
qx.bom.Event.removeNativeListener(bb,M,this._onInputWrapper);
},"default":function(O){qx.bom.Event.removeNativeListener(O,M,this._onInputWrapper);
}}),_onKeyPress:qx.core.Variant.select(L,{"mshtml|opera":function(e,be){if(e.keyCode===13){if(be.value!==this.__nG){this.__nG=be.value;
qx.event.Registration.fireEvent(be,N,qx.event.type.Data,[be.value]);
}}},"default":null}),_onKeyDown:qx.core.Variant.select(L,{"opera":function(e){if(e.keyCode===13){this.__nE=true;
}},"default":null}),_onKeyUp:qx.core.Variant.select(L,{"opera":function(e){if(e.keyCode===13){this.__nE=false;
}},"default":null}),_onBlur:qx.core.Variant.select(L,{"opera":function(e){if(this.__nF){window.clearTimeout(this.__nF);
}},"default":null}),_onInput:qx.event.GlobalError.observeMethod(function(e){var bf=e.target;
if(!this.__nE){if(qx.core.Variant.isSet(L,E)){this.__nF=window.setTimeout(function(){qx.event.Registration.fireEvent(bf,M,qx.event.type.Data,[bf.value]);
},0);
}else{qx.event.Registration.fireEvent(bf,M,qx.event.type.Data,[bf.value]);
}}}),_onChangeValue:qx.event.GlobalError.observeMethod(function(e){var h=e.target||e.srcElement;
var g=h.value;

if(h.type===w){var g=[];

for(var i=0,o=h.options,l=o.length;i<l;i++){if(o[i].selected){g.push(o[i].value);
}}}qx.event.Registration.fireEvent(h,N,qx.event.type.Data,[g]);
}),_onChangeChecked:qx.event.GlobalError.observeMethod(function(e){var s=e.target;

if(s.type===H){if(s.checked){qx.event.Registration.fireEvent(s,N,qx.event.type.Data,[s.value]);
}}else{qx.event.Registration.fireEvent(s,N,qx.event.type.Data,[s.checked]);
}}),_onProperty:qx.core.Variant.select(L,{"mshtml":qx.event.GlobalError.observeMethod(function(e){var t=e.target||e.srcElement;
var u=e.propertyName;

if(u===z&&(t.type===K||t.type===J||t.tagName.toLowerCase()===G)){if(!t.__inValueSet){qx.event.Registration.fireEvent(t,M,qx.event.type.Data,[t.value]);
}}else if(u===A){if(t.type===I){qx.event.Registration.fireEvent(t,N,qx.event.type.Data,[t.checked]);
}else if(t.checked){qx.event.Registration.fireEvent(t,N,qx.event.type.Data,[t.value]);
}}}),"default":function(){}})},defer:function(bd){qx.event.Registration.addHandler(bd);
}});
})();
(function(){var Q="",P="select",O="soft",N="off",M="qx.client",L="wrap",K="text",J="mshtml",I="number",H="checkbox",A="select-one",G="input",D="option",z="value",y="radio",C="qx.bom.Input",B="nowrap",E="textarea",x="auto",F="normal";
qx.Class.define(C,{statics:{__nK:{text:1,textarea:1,select:1,checkbox:1,radio:1,password:1,hidden:1,submit:1,image:1,file:1,search:1,reset:1,button:1},create:function(R,S,T){{};
var S=S?qx.lang.Object.clone(S):{};
var U;

if(R===E||R===P){U=R;
}else{U=G;
S.type=R;
}return qx.bom.Element.create(U,S,T);
},setValue:function(o,p){var u=o.nodeName.toLowerCase();
var r=o.type;
var Array=qx.lang.Array;
var v=qx.lang.Type;

if(typeof p===I){p+=Q;
}
if((r===H||r===y)){if(v.isArray(p)){o.checked=Array.contains(p,o.value);
}else{o.checked=o.value==p;
}}else if(u===P){var q=v.isArray(p);
var w=o.options;
var s,t;

for(var i=0,l=w.length;i<l;i++){s=w[i];
t=s.getAttribute(z);

if(t==null){t=s.text;
}s.selected=q?Array.contains(p,t):p==t;
}
if(q&&p.length==0){o.selectedIndex=-1;
}}else if(r===K&&qx.core.Variant.isSet(M,J)){o.__nL=true;
o.value=p;
o.__nL=null;
}else{o.value=p;
}},getValue:function(a){var g=a.nodeName.toLowerCase();

if(g===D){return (a.attributes.value||{}).specified?a.value:a.text;
}
if(g===P){var b=a.selectedIndex;
if(b<0){return null;
}var h=[];
var k=a.options;
var j=a.type==A;
var f=qx.bom.Input;
var e;
for(var i=j?b:0,d=j?b+1:k.length;i<d;i++){var c=k[i];

if(c.selected){e=f.getValue(c);
if(j){return e;
}h.push(e);
}}return h;
}else{return (a.value||Q).replace(/\r/g,Q);
}},setWrap:qx.core.Variant.select(M,{"mshtml":function(m,n){m.wrap=n?O:N;
},"gecko|webkit":function(X,Y){var bb=Y?O:N;
var ba=Y?Q:x;
X.setAttribute(L,bb);
X.style.overflow=ba;
},"default":function(V,W){V.style.whiteSpace=W?F:B;
}})}});
})();
(function(){var h="",g="row",f="Function",e="qx.ui.table.celleditor.SelectBox",d="number",c="table-editor-selectbox",b="appear",a="Array";
qx.Class.define(e,{extend:qx.core.Object,implement:qx.ui.table.ICellEditorFactory,properties:{validationFunction:{check:f,nullable:true,init:null},listData:{check:a,init:null,nullable:true}},members:{createCellEditor:function(o){var r=new qx.ui.form.SelectBox().set({appearance:c});
var s=o.value;
r.originalValue=s;
var v=o.table.getTableColumnModel().getDataCellRenderer(o.col);
var t=v._getContentHtml(o);

if(s!=t){s=t;
}if(s===null){s=h;
}var q=this.getListData();

if(q){var u;

for(var i=0,l=q.length;i<l;i++){var w=q[i];

if(w instanceof Array){u=new qx.ui.form.ListItem(w[0],w[1]);
u.setUserData(g,w[2]);
}else{u=new qx.ui.form.ListItem(w,null);
u.setUserData(g,w);
}r.add(u);
}}var p=r.getChildrenContainer().findItem(h+s);

if(p){r.setSelection([p]);
}else{r.resetSelection();
}r.addListener(b,function(){r.open();
});
return r;
},getCellEditorValue:function(j){var k=j.getSelection();
var n=h;

if(k&&k[0]){n=k[0].getUserData(g)||k[0].getLabel();
}var m=this.getValidationFunction();

if(m){n=m(n,j.originalValue);
}
if(typeof j.originalValue==d){n=parseFloat(n);
}return n;
}}});
})();
(function(){var D="popup",C="list",B="",A="mousewheel",z="resize",y="Function",x="blur",w="abstract",v="keypress",u="Number",n="changeSelection",t="PageUp",q="_applyMaxListHeight",l="PageDown",k="mouseup",p="Escape",o="changeVisibility",r="one",j="middle",s="qx.ui.form.AbstractSelectBox",m="mousedown";
qx.Class.define(s,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.form.MForm],implement:[qx.ui.form.IForm],type:w,construct:function(){qx.ui.core.Widget.call(this);
var d=new qx.ui.layout.HBox();
this._setLayout(d);
d.setAlignY(j);
this.addListener(v,this._onKeyPress);
this.addListener(x,this._onBlur,this);
var c=qx.core.Init.getApplication().getRoot();
c.addListener(A,this._onMousewheel,this,true);
this.addListener(z,this._onResize,this);
},properties:{focusable:{refine:true,init:true},width:{refine:true,init:120},maxListHeight:{check:u,apply:q,nullable:true,init:200},format:{check:y,init:function(M){return this._defaultFormat(M);
},nullable:true}},members:{_createChildControlImpl:function(h){var i;

switch(h){case C:i=new qx.ui.form.List().set({focusable:false,keepFocus:true,height:null,width:null,maxHeight:this.getMaxListHeight(),selectionMode:r,quickSelection:true});
i.addListener(n,this._onListChangeSelection,this);
i.addListener(m,this._onListMouseDown,this);
break;
case D:i=new qx.ui.popup.Popup(new qx.ui.layout.VBox);
i.setAutoHide(false);
i.setKeepActive(true);
i.addListener(k,this.close,this);
i.add(this.getChildControl(C));
i.addListener(o,this._onPopupChangeVisibility,this);
break;
}return i||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,h);
},_applyMaxListHeight:function(f,g){this.getChildControl(C).setMaxHeight(f);
},getChildrenContainer:function(){return this.getChildControl(C);
},open:function(){var L=this.getChildControl(D);
L.placeToWidget(this,true);
L.show();
},close:function(){this.getChildControl(D).hide();
},toggle:function(){var J=this.getChildControl(D).isVisible();

if(J){this.close();
}else{this.open();
}},_defaultFormat:function(E){var F=E?E.getLabel():B;
var G=E?E.getRich():false;

if(G){F=F.replace(/<[^>]+?>/g,B);
F=qx.bom.String.unescape(F);
}return F;
},_onBlur:function(e){this.close();
},_onKeyPress:function(e){var H=e.getKeyIdentifier();
var I=this.getChildControl(D);
if(I.isHidden()&&(H==l||H==t)){e.stopPropagation();
}else if(!I.isHidden()&&H==p){this.close();
e.stop();
}else{this.getChildControl(C).handleKeyPress(e);
}},_onMousewheel:function(e){var b=e.getTarget();
var a=this.getChildControl(D);

if(qx.ui.core.Widget.contains(a,b)){e.preventDefault();
}else{this.close();
}},_onResize:function(e){this.getChildControl(D).setMinWidth(e.getData().width);
},_onListChangeSelection:function(e){throw new Error("Abstract method: _onListChangeSelection()");
},_onListMouseDown:function(e){throw new Error("Abstract method: _onListMouseDown()");
},_onPopupChangeVisibility:function(e){throw new Error("Abstract method: _onPopupChangeVisibility()");
}},destruct:function(){var K=qx.core.Init.getApplication().getRoot();

if(K){K.removeListener(A,this._onMousewheel,this,true);
}}});
})();
(function(){var w="list",v="atom",u="pressed",t="abandoned",s="popup",r="hovered",q="changeLabel",p="changeIcon",o="arrow",n="",L="spacer",K="Enter",J="one",I="mouseout",H="Space",G="key",F="mousewheel",E="keyinput",D="changeSelection",C="quick",A="qx.ui.form.SelectBox",B="mouseover",y="selectbox",z="click",x=" ";
qx.Class.define(A,{extend:qx.ui.form.AbstractSelectBox,implement:[qx.ui.core.ISingleSelection,qx.ui.form.IModelSelection],include:[qx.ui.core.MSingleSelectionHandling,qx.ui.form.MModelSelection],construct:function(){qx.ui.form.AbstractSelectBox.call(this);
this._createChildControl(v);
this._createChildControl(L);
this._createChildControl(o);
this.addListener(B,this._onMouseOver,this);
this.addListener(I,this._onMouseOut,this);
this.addListener(z,this._onClick,this);
this.addListener(F,this._onMouseWheel,this);
this.addListener(E,this._onKeyInput,this);
this.addListener(D,this.__nN,this);
},properties:{appearance:{refine:true,init:y}},members:{__nM:null,_createChildControlImpl:function(be){var bf;

switch(be){case L:bf=new qx.ui.core.Spacer();
this._add(bf,{flex:1});
break;
case v:bf=new qx.ui.basic.Atom(x);
bf.setCenter(false);
bf.setAnonymous(true);
this._add(bf,{flex:1});
break;
case o:bf=new qx.ui.basic.Image();
bf.setAnonymous(true);
this._add(bf);
break;
}return bf||qx.ui.form.AbstractSelectBox.prototype._createChildControlImpl.call(this,be);
},_forwardStates:{focused:true},_getItems:function(){return this.getChildrenContainer().getChildren();
},_isAllowEmptySelection:function(){return this.getChildrenContainer().getSelectionMode()!==J;
},__nN:function(e){var U=e.getData()[0];
var T=this.getChildControl(w);

if(T.getSelection()[0]!=U){if(U){T.setSelection([U]);
}else{T.resetSelection();
}}this.__nO();
this.__nP();
},__nO:function(){var b=this.getChildControl(w).getSelection()[0];
var c=this.getChildControl(v);
var a=b?b.getIcon():n;
a==null?c.resetIcon():c.setIcon(a);
},__nP:function(){var g=this.getChildControl(w).getSelection()[0];
var h=this.getChildControl(v);
var f=g?g.getLabel():n;
var d=this.getFormat();

if(d!=null){f=d.call(this,g);
}if(f&&f.translate){f=f.translate();
}f==null?h.resetLabel():h.setLabel(f);
},_onMouseOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;
}
if(this.hasState(t)){this.removeState(t);
this.addState(u);
}this.addState(r);
},_onMouseOut:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;
}this.removeState(r);

if(this.hasState(u)){this.removeState(u);
this.addState(t);
}},_onClick:function(e){this.toggle();
},_onMouseWheel:function(e){if(this.getChildControl(s).isVisible()){return;
}var P=e.getWheelDelta()>0?1:-1;
var R=this.getSelectables();
var Q=this.getSelection()[0];

if(!Q){Q=R[0];
}var O=R.indexOf(Q)+P;
var S=R.length-1;
if(O<0){O=0;
}else if(O>=S){O=S;
}this.setSelection([R[O]]);
e.stopPropagation();
e.preventDefault();
},_onKeyPress:function(e){var M=e.getKeyIdentifier();

if(M==K||M==H){if(this.__nM){this.setSelection([this.__nM]);
this.__nM=null;
}this.toggle();
}else{qx.ui.form.AbstractSelectBox.prototype._onKeyPress.call(this,e);
}},_onKeyInput:function(e){var N=e.clone();
N.setTarget(this._list);
N.setBubbles(false);
this.getChildControl(w).dispatchEvent(N);
},_onListMouseDown:function(e){if(this.__nM){this.setSelection([this.__nM]);
this.__nM=null;
}},_onListChangeSelection:function(e){var i=e.getData();
var l=e.getOldData();
if(l&&l.length>0){l[0].removeListener(p,this.__nO,this);
l[0].removeListener(q,this.__nP,this);
}
if(i.length>0){var k=this.getChildControl(s);
var j=this.getChildControl(w);
var m=j.getSelectionContext();

if(k.isVisible()&&(m==C||m==G)){this.__nM=i[0];
}else{this.setSelection([i[0]]);
this.__nM=null;
}i[0].addListener(p,this.__nO,this);
i[0].addListener(q,this.__nP,this);
}else{this.resetSelection();
}},_onPopupChangeVisibility:function(e){var W=this.getChildControl(s);

if(!W.isVisible()){var Y=this.getChildControl(w);
if(Y.hasChildren()){Y.setSelection(this.getSelection());
}}else{var V=W.getLayoutLocation(this);
var bb=qx.bom.Viewport.getHeight();
var ba=V.top;
var bc=bb-V.bottom;
var X=ba>bc?ba:bc;
var bd=this.getMaxListHeight();
var Y=this.getChildControl(w);

if(bd==null||bd>X){Y.setMaxHeight(X);
}else if(bd<X){Y.setMaxHeight(bd);
}}}},destruct:function(){this.__nM=null;
}});
})();
(function(){var b="qx.nativeScrollBars",a="qx.ui.core.scroll.MScrollBarFactory";
qx.core.Setting.define(b,false);
qx.Mixin.define(a,{members:{_createScrollBar:function(c){if(qx.core.Setting.get(b)){return new qx.ui.core.scroll.NativeScrollBar(c);
}else{return new qx.ui.core.scroll.ScrollBar(c);
}}}});
})();
(function(){var v="scrollbar-y",u="scrollbar-x",t="pane",s="auto",r="corner",q="on",p="changeVisibility",o="scroll",n="_computeScrollbars",m="off",f="scrollY",l="qx.ui.core.scroll.AbstractScrollArea",i="abstract",c="update",b="scrollX",h="mousewheel",g="scrollbarY",j="scrollbarX",a="horizontal",k="scrollarea",d="vertical";
qx.Class.define(l,{extend:qx.ui.core.Widget,include:qx.ui.core.scroll.MScrollBarFactory,type:i,construct:function(){qx.ui.core.Widget.call(this);
var x=new qx.ui.layout.Grid();
x.setColumnFlex(0,1);
x.setRowFlex(0,1);
this._setLayout(x);
this.addListener(h,this._onMouseWheel,this);
},properties:{appearance:{refine:true,init:k},width:{refine:true,init:100},height:{refine:true,init:200},scrollbarX:{check:[s,q,m],init:s,themeable:true,apply:n},scrollbarY:{check:[s,q,m],init:s,themeable:true,apply:n},scrollbar:{group:[j,g]}},members:{_createChildControlImpl:function(C){var D;

switch(C){case t:D=new qx.ui.core.scroll.ScrollPane();
D.addListener(c,this._computeScrollbars,this);
D.addListener(b,this._onScrollPaneX,this);
D.addListener(f,this._onScrollPaneY,this);
this._add(D,{row:0,column:0});
break;
case u:D=this._createScrollBar(a);
D.setMinWidth(0);
D.exclude();
D.addListener(o,this._onScrollBarX,this);
D.addListener(p,this._onChangeScrollbarXVisibility,this);
this._add(D,{row:1,column:0});
break;
case v:D=this._createScrollBar(d);
D.setMinHeight(0);
D.exclude();
D.addListener(o,this._onScrollBarY,this);
D.addListener(p,this._onChangeScrollbarYVisibility,this);
this._add(D,{row:0,column:1});
break;
case r:D=new qx.ui.core.Widget();
D.setWidth(0);
D.setHeight(0);
D.exclude();
this._add(D,{row:1,column:1});
break;
}return D||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,C);
},getPaneSize:function(){return this.getChildControl(t).getInnerSize();
},getItemTop:function(X){return this.getChildControl(t).getItemTop(X);
},getItemBottom:function(z){return this.getChildControl(t).getItemBottom(z);
},getItemLeft:function(w){return this.getChildControl(t).getItemLeft(w);
},getItemRight:function(y){return this.getChildControl(t).getItemRight(y);
},scrollToX:function(B){qx.ui.core.queue.Manager.flush();
this.getChildControl(u).scrollTo(B);
},scrollByX:function(E){qx.ui.core.queue.Manager.flush();
this.getChildControl(u).scrollBy(E);
},getScrollX:function(){var ba=this.getChildControl(u,true);
return ba?ba.getPosition():0;
},scrollToY:function(W){qx.ui.core.queue.Manager.flush();
this.getChildControl(v).scrollTo(W);
},scrollByY:function(A){qx.ui.core.queue.Manager.flush();
this.getChildControl(v).scrollBy(A);
},getScrollY:function(){var Y=this.getChildControl(v,true);
return Y?Y.getPosition():0;
},_onScrollBarX:function(e){this.getChildControl(t).scrollToX(e.getData());
},_onScrollBarY:function(e){this.getChildControl(t).scrollToY(e.getData());
},_onScrollPaneX:function(e){this.scrollToX(e.getData());
},_onScrollPaneY:function(e){this.scrollToY(e.getData());
},_onMouseWheel:function(e){var G=this._isChildControlVisible(u);
var H=this._isChildControlVisible(v);
var F=(H)?this.getChildControl(v,true):(G?this.getChildControl(u,true):null);

if(F){F.scrollBySteps(e.getWheelDelta());
}e.stop();
},_onChangeScrollbarXVisibility:function(e){var I=this._isChildControlVisible(u);
var J=this._isChildControlVisible(v);

if(!I){this.scrollToX(0);
}I&&J?this._showChildControl(r):this._excludeChildControl(r);
},_onChangeScrollbarYVisibility:function(e){var U=this._isChildControlVisible(u);
var V=this._isChildControlVisible(v);

if(!V){this.scrollToY(0);
}U&&V?this._showChildControl(r):this._excludeChildControl(r);
},_computeScrollbars:function(){var Q=this.getChildControl(t);
var content=Q.getChildren()[0];

if(!content){this._excludeChildControl(u);
this._excludeChildControl(v);
return;
}var K=this.getInnerSize();
var P=Q.getInnerSize();
var N=Q.getScrollSize();
if(!P||!N){return;
}var R=this.getScrollbarX();
var S=this.getScrollbarY();

if(R===s&&S===s){var O=N.width>K.width;
var T=N.height>K.height;
if((O||T)&&!(O&&T)){if(O){T=N.height>P.height;
}else if(T){O=N.width>P.width;
}}}else{var O=R===q;
var T=S===q;
if(N.width>(O?P.width:K.width)&&R===s){O=true;
}
if(N.height>(O?P.height:K.height)&&S===s){T=true;
}}if(O){var M=this.getChildControl(u);
M.show();
M.setMaximum(Math.max(0,N.width-P.width));
M.setKnobFactor(P.width/N.width);
}else{this._excludeChildControl(u);
}
if(T){var L=this.getChildControl(v);
L.show();
L.setMaximum(Math.max(0,N.height-P.height));
L.setKnobFactor(P.height/N.height);
}else{this._excludeChildControl(v);
}}}});
})();
(function(){var b="qx.ui.core.IMultiSelection";
qx.Interface.define(b,{extend:qx.ui.core.ISingleSelection,members:{selectAll:function(){return true;
},addToSelection:function(c){return arguments.length==1;
},removeFromSelection:function(a){return arguments.length==1;
}}});
})();
(function(){var H="single",G="Boolean",F="one",E="changeSelection",D="mouseup",C="mousedown",B="__nQ",A="losecapture",z="multi",y="_applyQuickSelection",r="mouseover",x="_applySelectionMode",u="_applyDragSelection",q="qx.ui.core.MMultiSelectionHandling",p="removeItem",t="keypress",s="qx.event.type.Data",v="addItem",o="additive",w="mousemove";
qx.Mixin.define(q,{construct:function(){var j=this.SELECTION_MANAGER;
var h=this.__nQ=new j(this);
this.addListener(C,h.handleMouseDown,h);
this.addListener(D,h.handleMouseUp,h);
this.addListener(r,h.handleMouseOver,h);
this.addListener(w,h.handleMouseMove,h);
this.addListener(A,h.handleLoseCapture,h);
this.addListener(t,h.handleKeyPress,h);
this.addListener(v,h.handleAddItem,h);
this.addListener(p,h.handleRemoveItem,h);
h.addListener(E,this._onSelectionChange,this);
},events:{"changeSelection":s},properties:{selectionMode:{check:[H,z,o,F],init:H,apply:x},dragSelection:{check:G,init:false,apply:u},quickSelection:{check:G,init:false,apply:y}},members:{__nQ:null,selectAll:function(){if(!this.getEnabled()){this.warn("Setting the selection on disabled '"+this.classname+"' is deprecated: "+("The current behavior will change from doing nothing to selecting all items."));
this.trace();
}this.__nQ.selectAll();
},isSelected:function(n){if(!qx.ui.core.Widget.contains(this,n)){throw new Error("Could not test if "+n+" is selected, because it is not a child element!");
}return this.__nQ.isItemSelected(n);
},addToSelection:function(a){if(!this.getEnabled()){this.warn("Setting the selection on disabled '"+this.classname+"' is deprecated: "+("The current behavior will change from doing nothing to selecting the given items."));
this.trace();
}
if(!qx.ui.core.Widget.contains(this,a)){throw new Error("Could not add + "+a+" to selection, because it is not a child element!");
}this.__nQ.addItem(a);
},removeFromSelection:function(b){if(!this.getEnabled()){this.warn("Setting the selection on disabled '"+this.classname+"' is deprecated: "+("The current behavior will change from doing nothing to removing the given items."));
this.trace();
}
if(!qx.ui.core.Widget.contains(this,b)){throw new Error("Could not remove "+b+" from selection, because it is not a child element!");
}this.__nQ.removeItem(b);
},selectRange:function(I,J){if(!this.getEnabled()){this.warn("Setting the selection on disabled '"+this.classname+"' is deprecated: "+("The current behavior will change from doing nothing to selecting the given items."));
this.trace();
}this.__nQ.selectItemRange(I,J);
},resetSelection:function(){if(!this.getEnabled()){this.warn("Resetting the selection on disabled '"+this.classname+"' is deprecated: "+("The current behavior will change from doing nothing to resetting the selection."));
this.trace();
}this.__nQ.clearSelection();
},setSelection:function(c){if(!this.getEnabled()){this.warn("Setting the selection on disabled '"+this.classname+"' is deprecated: "+("The current behavior will change from doing nothing to selectiong the given items."));
this.trace();
}
for(var i=0;i<c.length;i++){if(!qx.ui.core.Widget.contains(this,c[i])){throw new Error("Could not select "+c[i]+", because it is not a child element!");
}}
if(c.length===0){this.resetSelection();
}else{var d=this.getSelection();

if(!qx.lang.Array.equals(d,c)){this.__nQ.replaceSelection(c);
}}},getSelection:function(){return this.__nQ.getSelection();
},getSortedSelection:function(){return this.__nQ.getSortedSelection();
},isSelectionEmpty:function(){return this.__nQ.isSelectionEmpty();
},getSelectionContext:function(){return this.__nQ.getSelectionContext();
},_getManager:function(){return this.__nQ;
},getSelectables:function(){return this.__nQ.getSelectables();
},invertSelection:function(){if(!this.getEnabled()){this.warn("Setting the selection on disabled '"+this.classname+"' is deprecated: "+("The current behavior will change from doing nothing to selecting the given items."));
this.trace();
}this.__nQ.invertSelection();
},_getLeadItem:function(){var m=this.__nQ.getMode();

if(m===H||m===F){return this.__nQ.getSelectedItem();
}else{return this.__nQ.getLeadItem();
}},_applySelectionMode:function(K,L){this.__nQ.setMode(K);
},_applyDragSelection:function(k,l){this.__nQ.setDrag(k);
},_applyQuickSelection:function(f,g){this.__nQ.setQuick(f);
},_onSelectionChange:function(e){this.fireDataEvent(E,e.getData());
}},destruct:function(){this._disposeObjects(B);
}});
})();
(function(){var J="one",I="single",H="selected",G="additive",F="multi",E="PageUp",D="under",C="Left",B="lead",A="Down",bi="Up",bh="Boolean",bg="PageDown",bf="anchor",be="End",bd="Home",bc="Right",bb="right",ba="click",Y="above",Q="left",R="Escape",O="A",P="Space",M="_applyMode",N="interval",K="changeSelection",L="qx.event.type.Data",S="quick",T="key",V="abstract",U="__nU",X="drag",W="qx.ui.core.selection.Abstract";
qx.Class.define(W,{type:V,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
this.__nR={};
},events:{"changeSelection":L},properties:{mode:{check:[I,F,G,J],init:I,apply:M},drag:{check:bh,init:false},quick:{check:bh,init:false}},members:{__nS:0,__nT:0,__nU:null,__nV:null,__nW:null,__nX:null,__nY:null,__oa:null,__ob:null,__oc:null,__od:null,__oe:null,__of:null,__og:null,__oh:null,__oi:null,__oj:null,__nR:null,__ok:null,__ol:null,getSelectionContext:function(){return this.__oi;
},selectAll:function(){var m=this.getMode();

if(m==I||m==J){throw new Error("Can not select all items in selection mode: "+m);
}this._selectAllItems();
this._fireChange();
},selectItem:function(cj){this._setSelectedItem(cj);
var ck=this.getMode();

if(ck!==I&&ck!==J){this._setLeadItem(cj);
this._setAnchorItem(cj);
}this._scrollItemIntoView(cj);
this._fireChange();
},addItem:function(cA){var cB=this.getMode();

if(cB===I||cB===J){this._setSelectedItem(cA);
}else{if(!this._getAnchorItem()){this._setAnchorItem(cA);
}this._setLeadItem(cA);
this._addToSelection(cA);
}this._scrollItemIntoView(cA);
this._fireChange();
},removeItem:function(cw){this._removeFromSelection(cw);

if(this.getMode()===J&&this.isSelectionEmpty()){var cx=this._getFirstSelectable();

if(cx){this.addItem(cx);
}if(cx==cw){return;
}}
if(this.getLeadItem()==cw){this._setLeadItem(null);
}
if(this._getAnchorItem()==cw){this._setAnchorItem(null);
}this._fireChange();
},selectItemRange:function(cC,cD){var cE=this.getMode();

if(cE==I||cE==J){throw new Error("Can not select multiple items in selection mode: "+cE);
}this._selectItemRange(cC,cD);
this._setAnchorItem(cC);
this._setLeadItem(cD);
this._scrollItemIntoView(cD);
this._fireChange();
},clearSelection:function(){if(this.getMode()==J){return;
}this._clearSelection();
this._setLeadItem(null);
this._setAnchorItem(null);
this._fireChange();
},replaceSelection:function(cf){var cg=this.getMode();

if(cg==J||cg===I){if(cf.length>1){throw new Error("Could not select more than one items in mode: "+cg+"!");
}
if(cf.length==1){this.selectItem(cf[0]);
}else{this.clearSelection();
}return;
}else{this._replaceMultiSelection(cf);
}},getSelectedItem:function(){var bW=this.getMode();

if(bW===I||bW===J){return this._getSelectedItem()||null;
}throw new Error("The method getSelectedItem() is only supported in 'single' and 'one' selection mode!");
},getSelection:function(){return qx.lang.Object.getValues(this.__nR);
},getSortedSelection:function(){var cz=this.getSelectables();
var cy=qx.lang.Object.getValues(this.__nR);
cy.sort(function(a,b){return cz.indexOf(a)-cz.indexOf(b);
});
return cy;
},isItemSelected:function(bj){var bk=this._selectableToHashCode(bj);
return this.__nR[bk]!==undefined;
},isSelectionEmpty:function(){return qx.lang.Object.isEmpty(this.__nR);
},invertSelection:function(){var bM=this.getMode();

if(bM===I||bM===J){throw new Error("The method invertSelection() is only supported in 'multi' and 'additive' selection mode!");
}var bL=this.getSelectables();

for(var i=0;i<bL.length;i++){this._toggleInSelection(bL[i]);
}this._fireChange();
},_setLeadItem:function(bY){var ca=this.__oj;

if(ca!==null){this._styleSelectable(ca,B,false);
}
if(bY!==null){this._styleSelectable(bY,B,true);
}this.__oj=bY;
},_getLeadItem:function(){{};
return this.getLeadItem();
},getLeadItem:function(){return this.__oj!==null?this.__oj:null;
},_setAnchorItem:function(cV){var cW=this.__ok;

if(cW){this._styleSelectable(cW,bf,false);
}
if(cV){this._styleSelectable(cV,bf,true);
}this.__ok=cV;
},_getAnchorItem:function(){return this.__ok!==null?this.__ok:null;
},_isSelectable:function(cu){throw new Error("Abstract method call: _isSelectable()");
},_getSelectableFromMouseEvent:function(event){var bS=event.getTarget();
return this._isSelectable(bS)?bS:null;
},_selectableToHashCode:function(bX){throw new Error("Abstract method call: _selectableToHashCode()");
},_styleSelectable:function(bs,bt,bu){throw new Error("Abstract method call: _styleSelectable()");
},_capture:function(){throw new Error("Abstract method call: _capture()");
},_releaseCapture:function(){throw new Error("Abstract method call: _releaseCapture()");
},_getLocation:function(){throw new Error("Abstract method call: _getLocation()");
},_getDimension:function(){throw new Error("Abstract method call: _getDimension()");
},_getSelectableLocationX:function(bv){throw new Error("Abstract method call: _getSelectableLocationX()");
},_getSelectableLocationY:function(by){throw new Error("Abstract method call: _getSelectableLocationY()");
},_getScroll:function(){throw new Error("Abstract method call: _getScroll()");
},_scrollBy:function(cb,cc){throw new Error("Abstract method call: _scrollBy()");
},_scrollItemIntoView:function(ci){throw new Error("Abstract method call: _scrollItemIntoView()");
},getSelectables:function(){throw new Error("Abstract method call: getSelectables()");
},_getSelectableRange:function(cp,cq){throw new Error("Abstract method call: _getSelectableRange()");
},_getFirstSelectable:function(){throw new Error("Abstract method call: _getFirstSelectable()");
},_getLastSelectable:function(){throw new Error("Abstract method call: _getLastSelectable()");
},_getRelatedSelectable:function(bQ,bR){throw new Error("Abstract method call: _getRelatedSelectable()");
},_getPage:function(bU,bV){throw new Error("Abstract method call: _getPage()");
},_applyMode:function(bN,bO){this._setLeadItem(null);
this._setAnchorItem(null);
this._clearSelection();
if(bN===J){var bP=this._getFirstSelectable();

if(bP){this._setSelectedItem(bP);
this._scrollItemIntoView(bP);
}}this._fireChange();
},handleMouseOver:function(event){if(!this.getQuick()){return;
}var bx=this.getMode();

if(bx!==J&&bx!==I){return;
}var bw=this._getSelectableFromMouseEvent(event);

if(bw===null){return;
}this._setSelectedItem(bw);
this._fireChange(S);
},handleMouseDown:function(event){var d=this._getSelectableFromMouseEvent(event);

if(d===null){return;
}var g=event.isCtrlPressed()||(qx.bom.client.Platform.MAC&&event.isMetaPressed());
var c=event.isShiftPressed();
if(this.isItemSelected(d)&&!c&&!g&&!this.getDrag()){this.__ol=d;
return;
}else{this.__ol=null;
}this._scrollItemIntoView(d);
switch(this.getMode()){case I:case J:this._setSelectedItem(d);
break;
case G:this._setLeadItem(d);
this._setAnchorItem(d);
this._toggleInSelection(d);
break;
case F:this._setLeadItem(d);
if(c){var f=this._getAnchorItem();

if(f===null){f=this._getFirstSelectable();
this._setAnchorItem(f);
}this._selectItemRange(f,d,g);
}else if(g){this._setAnchorItem(d);
this._toggleInSelection(d);
}else{this._setAnchorItem(d);
this._setSelectedItem(d);
}break;
}var h=this.getMode();

if(this.getDrag()&&h!==I&&h!==J&&!c&&!g){this.__nY=this._getLocation();
this.__nV=this._getScroll();
this.__oa=event.getDocumentLeft()+this.__nV.left;
this.__ob=event.getDocumentTop()+this.__nV.top;
this.__oc=true;
this._capture();
}this._fireChange(ba);
},handleMouseUp:function(event){var z=event.isCtrlPressed()||(qx.bom.client.Platform.MAC&&event.isMetaPressed());
var w=event.isShiftPressed();

if(!z&&!w&&this.__ol){var x=this._getSelectableFromMouseEvent(event);

if(x===null||!this.isItemSelected(x)){return;
}var y=this.getMode();

if(y===G){this._removeFromSelection(x);
}else{this._setSelectedItem(x);

if(this.getMode()===F){this._setLeadItem(x);
this._setAnchorItem(x);
}}}this._cleanup();
},handleLoseCapture:function(event){this._cleanup();
},handleMouseMove:function(event){if(!this.__oc){return;
}this.__od=event.getDocumentLeft();
this.__oe=event.getDocumentTop();
var bm=this.__od+this.__nV.left;

if(bm>this.__oa){this.__of=1;
}else if(bm<this.__oa){this.__of=-1;
}else{this.__of=0;
}var bl=this.__oe+this.__nV.top;

if(bl>this.__ob){this.__og=1;
}else if(bl<this.__ob){this.__og=-1;
}else{this.__og=0;
}var location=this.__nY;

if(this.__od<location.left){this.__nS=this.__od-location.left;
}else if(this.__od>location.right){this.__nS=this.__od-location.right;
}else{this.__nS=0;
}
if(this.__oe<location.top){this.__nT=this.__oe-location.top;
}else if(this.__oe>location.bottom){this.__nT=this.__oe-location.bottom;
}else{this.__nT=0;
}if(!this.__nU){this.__nU=new qx.event.Timer(100);
this.__nU.addListener(N,this._onInterval,this);
}this.__nU.start();
this._autoSelect();
event.stopPropagation();
},handleAddItem:function(e){var co=e.getData();

if(this.getMode()===J&&this.isSelectionEmpty()){this.addItem(co);
}},handleRemoveItem:function(e){this.removeItem(e.getData());
},_cleanup:function(){if(!this.getDrag()&&this.__oc){return;
}if(this.__oh){this._fireChange(ba);
}delete this.__oc;
delete this.__nW;
delete this.__nX;
this._releaseCapture();
if(this.__nU){this.__nU.stop();
}},_onInterval:function(e){this._scrollBy(this.__nS,this.__nT);
this.__nV=this._getScroll();
this._autoSelect();
},_autoSelect:function(){var bH=this._getDimension();
var bA=Math.max(0,Math.min(this.__od-this.__nY.left,bH.width))+this.__nV.left;
var bz=Math.max(0,Math.min(this.__oe-this.__nY.top,bH.height))+this.__nV.top;
if(this.__nW===bA&&this.__nX===bz){return;
}this.__nW=bA;
this.__nX=bz;
var bJ=this._getAnchorItem();
var bC=bJ;
var bF=this.__of;
var bI,bB;

while(bF!==0){bI=bF>0?this._getRelatedSelectable(bC,bb):this._getRelatedSelectable(bC,Q);
if(bI!==null){bB=this._getSelectableLocationX(bI);
if((bF>0&&bB.left<=bA)||(bF<0&&bB.right>=bA)){bC=bI;
continue;
}}break;
}var bG=this.__og;
var bE,bD;

while(bG!==0){bE=bG>0?this._getRelatedSelectable(bC,D):this._getRelatedSelectable(bC,Y);
if(bE!==null){bD=this._getSelectableLocationY(bE);
if((bG>0&&bD.top<=bz)||(bG<0&&bD.bottom>=bz)){bC=bE;
continue;
}}break;
}var bK=this.getMode();

if(bK===F){this._selectItemRange(bJ,bC);
}else if(bK===G){if(this.isItemSelected(bJ)){this._selectItemRange(bJ,bC,true);
}else{this._deselectItemRange(bJ,bC);
}this._setAnchorItem(bC);
}this._fireChange(X);
},__om:{Home:1,Down:1,Right:1,PageDown:1,End:1,Up:1,Left:1,PageUp:1},handleKeyPress:function(event){var s,r;
var u=event.getKeyIdentifier();
var t=this.getMode();
var o=event.isCtrlPressed()||(qx.bom.client.Platform.MAC&&event.isMetaPressed());
var p=event.isShiftPressed();
var q=false;

if(u===O&&o){if(t!==I&&t!==J){this._selectAllItems();
q=true;
}}else if(u===R){if(t!==I&&t!==J){this._clearSelection();
q=true;
}}else if(u===P){var n=this.getLeadItem();

if(n&&!p){if(o||t===G){this._toggleInSelection(n);
}else{this._setSelectedItem(n);
}q=true;
}}else if(this.__om[u]){q=true;

if(t===I||t==J){s=this._getSelectedItem();
}else{s=this.getLeadItem();
}
if(s!==null){switch(u){case bd:r=this._getFirstSelectable();
break;
case be:r=this._getLastSelectable();
break;
case bi:r=this._getRelatedSelectable(s,Y);
break;
case A:r=this._getRelatedSelectable(s,D);
break;
case C:r=this._getRelatedSelectable(s,Q);
break;
case bc:r=this._getRelatedSelectable(s,bb);
break;
case E:r=this._getPage(s,true);
break;
case bg:r=this._getPage(s,false);
break;
}}else{switch(u){case bd:case A:case bc:case bg:r=this._getFirstSelectable();
break;
case be:case bi:case C:case E:r=this._getLastSelectable();
break;
}}if(r!==null){switch(t){case I:case J:this._setSelectedItem(r);
break;
case G:this._setLeadItem(r);
break;
case F:if(p){var v=this._getAnchorItem();

if(v===null){this._setAnchorItem(v=this._getFirstSelectable());
}this._setLeadItem(r);
this._selectItemRange(v,r,o);
}else{this._setAnchorItem(r);
this._setLeadItem(r);

if(!o){this._setSelectedItem(r);
}}break;
}this._scrollItemIntoView(r);
}}
if(q){event.stop();
this._fireChange(T);
}},_selectAllItems:function(){var cv=this.getSelectables();

for(var i=0,l=cv.length;i<l;i++){this._addToSelection(cv[i]);
}},_clearSelection:function(){var cF=this.__nR;

for(var cG in cF){this._removeFromSelection(cF[cG]);
}this.__nR={};
},_selectItemRange:function(cH,cI,cJ){var cM=this._getSelectableRange(cH,cI);
if(!cJ){var cL=this.__nR;
var cN=this.__on(cM);

for(var cK in cL){if(!cN[cK]){this._removeFromSelection(cL[cK]);
}}}for(var i=0,l=cM.length;i<l;i++){this._addToSelection(cM[i]);
}},_deselectItemRange:function(cr,cs){var ct=this._getSelectableRange(cr,cs);

for(var i=0,l=ct.length;i<l;i++){this._removeFromSelection(ct[i]);
}},__on:function(bn){var bp={};
var bo;

for(var i=0,l=bn.length;i<l;i++){bo=bn[i];
bp[this._selectableToHashCode(bo)]=bo;
}return bp;
},_getSelectedItem:function(){for(var bT in this.__nR){return this.__nR[bT];
}return null;
},_setSelectedItem:function(cl){if(this._isSelectable(cl)){var cm=this.__nR;
var cn=this._selectableToHashCode(cl);

if(!cm[cn]||qx.lang.Object.hasMinLength(cm,2)){this._clearSelection();
this._addToSelection(cl);
}}},_addToSelection:function(cd){var ce=this._selectableToHashCode(cd);

if(!this.__nR[ce]&&this._isSelectable(cd)){this.__nR[ce]=cd;
this._styleSelectable(cd,H,true);
this.__oh=true;
}},_toggleInSelection:function(bq){var br=this._selectableToHashCode(bq);

if(!this.__nR[br]){this.__nR[br]=bq;
this._styleSelectable(bq,H,true);
}else{delete this.__nR[br];
this._styleSelectable(bq,H,false);
}this.__oh=true;
},_removeFromSelection:function(j){var k=this._selectableToHashCode(j);

if(this.__nR[k]!=null){delete this.__nR[k];
this._styleSelectable(j,H,false);
this.__oh=true;
}},_replaceMultiSelection:function(cO){var cR=false;
var cU,cT;
var cP={};

for(var i=0,l=cO.length;i<l;i++){cU=cO[i];

if(this._isSelectable(cU)){cT=this._selectableToHashCode(cU);
cP[cT]=cU;
}}var cQ=cU;
var cS=this.__nR;

for(var cT in cS){if(cP[cT]){delete cP[cT];
}else{cU=cS[cT];
delete cS[cT];
this._styleSelectable(cU,H,false);
cR=true;
}}for(var cT in cP){cU=cS[cT]=cP[cT];
this._styleSelectable(cU,H,true);
cR=true;
}if(!cR){return false;
}this._scrollItemIntoView(cQ);
this._setLeadItem(null);
this._setAnchorItem(null);
this.__oh=true;
this._fireChange();
},_fireChange:function(ch){if(this.__oh){this.__oi=ch||null;
this.fireDataEvent(K,this.getSelection());
delete this.__oh;
}}},destruct:function(){this._disposeObjects(U);
this.__nR=this.__ol=this.__ok=null;
this.__oj=null;
}});
})();
(function(){var J="vertical",I="under",H="above",G="qx.ui.core.selection.Widget",F="left",E="right";
qx.Class.define(G,{extend:qx.ui.core.selection.Abstract,construct:function(a){qx.ui.core.selection.Abstract.call(this);
this.__oo=a;
},members:{__oo:null,_isSelectable:function(t){return t.isEnabled()&&t.isVisible()&&t.getLayoutParent()===this.__oo;
},_selectableToHashCode:function(e){return e.$$hash;
},_styleSelectable:function(b,c,d){d?b.addState(c):b.removeState(c);
},_capture:function(){this.__oo.capture();
},_releaseCapture:function(){this.__oo.releaseCapture();
},_getWidget:function(){return this.__oo;
},_getLocation:function(){var m=this.__oo.getContentElement().getDomElement();
return m?qx.bom.element.Location.get(m):null;
},_getDimension:function(){return this.__oo.getInnerSize();
},_getSelectableLocationX:function(f){var g=f.getBounds();

if(g){return {left:g.left,right:g.left+g.width};
}},_getSelectableLocationY:function(N){var O=N.getBounds();

if(O){return {top:O.top,bottom:O.top+O.height};
}},_getScroll:function(){return {left:0,top:0};
},_scrollBy:function(u,v){},_scrollItemIntoView:function(w){this.__oo.scrollChildIntoView(w);
},getSelectables:function(){var j=this.__oo.getChildren();
var k=[];
var h;

for(var i=0,l=j.length;i<l;i++){h=j[i];

if(h.isEnabled()&&h.isVisible()){k.push(h);
}}return k;
},_getSelectableRange:function(x,y){if(x===y){return [x];
}var C=this.__oo.getChildren();
var z=[];
var B=false;
var A;

for(var i=0,l=C.length;i<l;i++){A=C[i];

if(A===x||A===y){if(B){z.push(A);
break;
}else{B=true;
}}
if(B&&A.isEnabled()&&A.isVisible()){z.push(A);
}}return z;
},_getFirstSelectable:function(){var K=this.__oo.getChildren();

for(var i=0,l=K.length;i<l;i++){if(K[i].isEnabled()&&K[i].isVisible()){return K[i];
}}return null;
},_getLastSelectable:function(){var D=this.__oo.getChildren();

for(var i=D.length-1;i>0;i--){if(D[i].isEnabled()&&D[i].isVisible()){return D[i];
}}return null;
},_getRelatedSelectable:function(n,o){var r=this.__oo.getOrientation()===J;
var q=this.__oo.getChildren();
var p=q.indexOf(n);
var s;

if((r&&o===H)||(!r&&o===F)){for(var i=p-1;i>=0;i--){s=q[i];

if(s.isEnabled()&&s.isVisible()){return s;
}}}else if((r&&o===I)||(!r&&o===E)){for(var i=p+1;i<q.length;i++){s=q[i];

if(s.isEnabled()&&s.isVisible()){return s;
}}}return null;
},_getPage:function(L,M){if(M){return this._getFirstSelectable();
}else{return this._getLastSelectable();
}}},destruct:function(){this.__oo=null;
}});
})();
(function(){var b="qx.ui.core.selection.ScrollArea";
qx.Class.define(b,{extend:qx.ui.core.selection.Widget,members:{_isSelectable:function(c){return (c.isEnabled()&&c.isVisible()&&c.getLayoutParent()===this._getWidget().getChildrenContainer());
},_getDimension:function(){return this._getWidget().getPaneSize();
},_getScroll:function(){var a=this._getWidget();
return {left:a.getScrollX(),top:a.getScrollY()};
},_scrollBy:function(q,r){var s=this._getWidget();
s.scrollByX(q);
s.scrollByY(r);
},_getPage:function(d,e){var j=this.getSelectables();
var length=j.length;
var m=j.indexOf(d);
if(m===-1){throw new Error("Invalid lead item: "+d);
}var f=this._getWidget();
var o=f.getScrollY();
var innerHeight=f.getInnerSize().height;
var top,h,n;

if(e){var l=o;
var i=m;
while(1){for(;i>=0;i--){top=f.getItemTop(j[i]);
if(top<l){n=i+1;
break;
}}if(n==null){var p=this._getFirstSelectable();
return p==d?null:p;
}if(n>=m){l-=innerHeight+o-f.getItemBottom(d);
n=null;
continue;
}return j[n];
}}else{var k=innerHeight+o;
var i=m;
while(1){for(;i<length;i++){h=f.getItemBottom(j[i]);
if(h>k){n=i-1;
break;
}}if(n==null){var g=this._getLastSelectable();
return g==d?null:g;
}if(n<=m){k+=f.getItemTop(d)-o;
n=null;
continue;
}return j[n];
}}}}});
})();
(function(){var t="horizontal",s="qx.event.type.Data",r="vertical",q="",p="qx.ui.form.List",o="Enter",n="one",m="addChildWidget",k="_applySpacing",j="Boolean",F="Integer",E="action",D="keyinput",C="addItem",B="removeChildWidget",A="_applyOrientation",z="single",y="keypress",x="list",w="__op",u="pane",v="removeItem";
qx.Class.define(p,{extend:qx.ui.core.scroll.AbstractScrollArea,implement:[qx.ui.core.IMultiSelection,qx.ui.form.IForm,qx.ui.form.IModelSelection],include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MMultiSelectionHandling,qx.ui.form.MForm,qx.ui.form.MModelSelection],construct:function(a){qx.ui.core.scroll.AbstractScrollArea.call(this);
this.__op=new qx.ui.container.Composite();
this.__op.addListener(m,this._onAddChild,this);
this.__op.addListener(B,this._onRemoveChild,this);
this.getChildControl(u).add(this.__op);
if(a){this.setOrientation(t);
}else{this.initOrientation();
}this.addListener(y,this._onKeyPress);
this.addListener(D,this._onKeyInput);
this.__oq=q;
},events:{addItem:s,removeItem:s},properties:{appearance:{refine:true,init:x},focusable:{refine:true,init:true},orientation:{check:[t,r],init:r,apply:A},spacing:{check:F,init:0,apply:k,themeable:true},enableInlineFind:{check:j,init:true}},members:{__oq:null,__or:null,__op:null,SELECTION_MANAGER:qx.ui.core.selection.ScrollArea,getChildrenContainer:function(){return this.__op;
},_onAddChild:function(e){this.fireDataEvent(C,e.getData());
},_onRemoveChild:function(e){this.fireDataEvent(v,e.getData());
},handleKeyPress:function(e){if(!this._onKeyPress(e)){this._getManager().handleKeyPress(e);
}},_applyOrientation:function(N,O){var P=N===t;
var Q=P?new qx.ui.layout.HBox():new qx.ui.layout.VBox();
var content=this.__op;
content.setLayout(Q);
content.setAllowGrowX(!P);
content.setAllowGrowY(P);
this._applySpacing(this.getSpacing());
},_applySpacing:function(G,H){this.__op.getLayout().setSpacing(G);
},_onKeyPress:function(e){if(e.getKeyIdentifier()==o&&!e.isAltPressed()){var b=this.getSelection();

for(var i=0;i<b.length;i++){b[i].fireEvent(E);
}return true;
}return false;
},_onKeyInput:function(e){if(!this.getEnableInlineFind()){return;
}var I=this.getSelectionMode();

if(!(I===z||I===n)){return;
}if(((new Date).valueOf()-this.__or)>1000){this.__oq=q;
}this.__oq+=e.getChar();
var J=this.findItemByLabelFuzzy(this.__oq);
if(J){this.setSelection([J]);
}this.__or=(new Date).valueOf();
},findItemByLabelFuzzy:function(K){K=K.toLowerCase();
var L=this.getChildren();
for(var i=0,l=L.length;i<l;i++){var M=L[i].getLabel();
if(M&&M.toLowerCase().indexOf(K)==0){return L[i];
}}return null;
},findItem:function(c,d){if(d!==false){c=c.toLowerCase();
}var f=this.getChildren();
var h;
for(var i=0,l=f.length;i<l;i++){h=f[i];
var g=h.getLabel();

if(g!=null){if(g.translate){g=g.translate();
}
if(d!==false){g=g.toLowerCase();
}
if(g.toString()==c.toString()){return h;
}}}return null;
}},destruct:function(){this._disposeObjects(w);
}});
})();
(function(){var b="qx.ui.core.scroll.IScrollBar",a="qx.event.type.Data";
qx.Interface.define(b,{events:{"scroll":a},properties:{orientation:{},maximum:{},position:{},knobFactor:{}},members:{scrollTo:function(c){this.assertNumber(c);
},scrollBy:function(d){this.assertNumber(d);
},scrollBySteps:function(e){this.assertNumber(e);
}}});
})();
(function(){var v="horizontal",u="px",t="scroll",s="vertical",r="-1px",q="qx.client",p="0",o="hidden",n="mousedown",m="qx.ui.core.scroll.NativeScrollBar",K="PositiveNumber",J="Integer",I="mousemove",H="_applyMaximum",G="_applyOrientation",F="appear",E="__ot",D="opera",C="PositiveInteger",B="mshtml",z="mouseup",A="Number",x="_applyPosition",y="scrollbar",w="native";
qx.Class.define(m,{extend:qx.ui.core.Widget,implement:qx.ui.core.scroll.IScrollBar,construct:function(R){qx.ui.core.Widget.call(this);
this.addState(w);
this.getContentElement().addListener(t,this._onScroll,this);
this.addListener(n,this._stopPropagation,this);
this.addListener(z,this._stopPropagation,this);
this.addListener(I,this._stopPropagation,this);

if(qx.core.Variant.isSet(q,D)){this.addListener(F,this._onAppear,this);
}this.getContentElement().add(this._getScrollPaneElement());
if(R!=null){this.setOrientation(R);
}else{this.initOrientation();
}},properties:{appearance:{refine:true,init:y},orientation:{check:[v,s],init:v,apply:G},maximum:{check:C,apply:H,init:100},position:{check:A,init:0,apply:x,event:t},singleStep:{check:J,init:20},knobFactor:{check:K,nullable:true}},members:{__os:null,__ot:null,_getScrollPaneElement:function(){if(!this.__ot){this.__ot=new qx.html.Element();
}return this.__ot;
},renderLayout:function(i,top,j,k){var l=qx.ui.core.Widget.prototype.renderLayout.call(this,i,top,j,k);
this._updateScrollBar();
return l;
},_getContentHint:function(){var c=qx.bom.element.Overflow.getScrollbarWidth();
return {width:this.__os?100:c,maxWidth:this.__os?null:c,minWidth:this.__os?null:c,height:this.__os?c:100,maxHeight:this.__os?c:null,minHeight:this.__os?c:null};
},_applyEnabled:function(V,W){qx.ui.core.Widget.prototype._applyEnabled.call(this,V,W);
this._updateScrollBar();
},_applyMaximum:function(a){this._updateScrollBar();
},_applyPosition:function(b){var content=this.getContentElement();

if(this.__os){content.scrollToX(b);
}else{content.scrollToY(b);
}},_applyOrientation:function(N,O){var P=this.__os=N===v;
this.set({allowGrowX:P,allowShrinkX:P,allowGrowY:!P,allowShrinkY:!P});

if(P){this.replaceState(s,v);
}else{this.replaceState(v,s);
}this.getContentElement().setStyles({overflowX:P?t:o,overflowY:P?o:t});
qx.ui.core.queue.Layout.add(this);
},_updateScrollBar:function(){var f=this.__os;
var g=this.getBounds();

if(!g){return;
}
if(this.isEnabled()){var h=f?g.width:g.height;
var d=this.getMaximum()+h;
}else{d=0;
}if(qx.core.Variant.isSet(q,B)){var g=this.getBounds();
this.getContentElement().setStyles({left:f?p:r,top:f?r:p,width:(f?g.width:g.width+1)+u,height:(f?g.height+1:g.height)+u});
}this._getScrollPaneElement().setStyles({left:0,top:0,width:(f?d:1)+u,height:(f?1:d)+u});
this.scrollTo(this.getPosition());
},scrollTo:function(U){this.setPosition(Math.max(0,Math.min(this.getMaximum(),U)));
},scrollBy:function(Q){this.scrollTo(this.getPosition()+Q);
},scrollBySteps:function(S){var T=this.getSingleStep();
this.scrollBy(S*T);
},_onScroll:function(e){var M=this.getContentElement();
var L=this.__os?M.getScrollX():M.getScrollY();
this.setPosition(L);
},_onAppear:function(e){this.scrollTo(this.getPosition());
},_stopPropagation:function(e){e.stopPropagation();
}},destruct:function(){this._disposeObjects(E);
}});
})();
(function(){var q="slider",p="horizontal",o="button-begin",n="vertical",m="button-end",l="Integer",k="execute",j="right",i="left",h="down",F="up",E="PositiveNumber",D="changeValue",C="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getMaximum()",B="_applyKnobFactor",A="knob",z="qx.ui.core.scroll.ScrollBar",y="resize",x="_applyOrientation",w="_applyPageStep",u="PositiveInteger",v="scroll",s="_applyPosition",t="scrollbar",r="_applyMaximum";
qx.Class.define(z,{extend:qx.ui.core.Widget,implement:qx.ui.core.scroll.IScrollBar,construct:function(L){qx.ui.core.Widget.call(this);
this._createChildControl(o);
this._createChildControl(q).addListener(y,this._onResizeSlider,this);
this._createChildControl(m);
if(L!=null){this.setOrientation(L);
}else{this.initOrientation();
}},properties:{appearance:{refine:true,init:t},orientation:{check:[p,n],init:p,apply:x},maximum:{check:u,apply:r,init:100},position:{check:C,init:0,apply:s,event:v},singleStep:{check:l,init:20},pageStep:{check:l,init:10,apply:w},knobFactor:{check:E,apply:B,nullable:true}},members:{__ou:2,_createChildControlImpl:function(H){var I;

switch(H){case q:I=new qx.ui.core.scroll.ScrollSlider();
I.setPageStep(100);
I.setFocusable(false);
I.addListener(D,this._onChangeSliderValue,this);
this._add(I,{flex:1});
break;
case o:I=new qx.ui.form.RepeatButton();
I.setFocusable(false);
I.addListener(k,this._onExecuteBegin,this);
this._add(I);
break;
case m:I=new qx.ui.form.RepeatButton();
I.setFocusable(false);
I.addListener(k,this._onExecuteEnd,this);
this._add(I);
break;
}return I||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,H);
},_applyMaximum:function(a){this.getChildControl(q).setMaximum(a);
},_applyPosition:function(b){this.getChildControl(q).setValue(b);
},_applyKnobFactor:function(K){this.getChildControl(q).setKnobFactor(K);
},_applyPageStep:function(G){this.getChildControl(q).setPageStep(G);
},_applyOrientation:function(N,O){var P=this._getLayout();

if(P){P.dispose();
}if(N===p){this._setLayout(new qx.ui.layout.HBox());
this.setAllowStretchX(true);
this.setAllowStretchY(false);
this.replaceState(n,p);
this.getChildControl(o).replaceState(F,i);
this.getChildControl(m).replaceState(h,j);
}else{this._setLayout(new qx.ui.layout.VBox());
this.setAllowStretchX(false);
this.setAllowStretchY(true);
this.replaceState(p,n);
this.getChildControl(o).replaceState(i,F);
this.getChildControl(m).replaceState(j,h);
}this.getChildControl(q).setOrientation(N);
},scrollTo:function(J){this.getChildControl(q).slideTo(J);
},scrollBy:function(M){this.getChildControl(q).slideBy(M);
},scrollBySteps:function(Q){var R=this.getSingleStep();
this.getChildControl(q).slideBy(Q*R);
},_onExecuteBegin:function(e){this.scrollBy(-this.getSingleStep());
},_onExecuteEnd:function(e){this.scrollBy(this.getSingleStep());
},_onChangeSliderValue:function(e){this.setPosition(e.getData());
},_onResizeSlider:function(e){var c=this.getChildControl(q).getChildControl(A);
var g=c.getSizeHint();
var d=false;
var f=this.getChildControl(q).getInnerSize();

if(this.getOrientation()==n){if(f.height<g.minHeight+this.__ou){d=true;
}}else{if(f.width<g.minWidth+this.__ou){d=true;
}}
if(d){c.exclude();
}else{c.show();
}}}});
})();
(function(){var b="qx.ui.form.INumberForm",a="qx.event.type.Data";
qx.Interface.define(b,{events:{"changeValue":a},members:{setValue:function(c){return arguments.length==1;
},resetValue:function(){},getValue:function(){}}});
})();
(function(){var c="qx.ui.form.IRange";
qx.Interface.define(c,{members:{setMinimum:function(d){return arguments.length==1;
},getMinimum:function(){},setMaximum:function(e){return arguments.length==1;
},getMaximum:function(){},setSingleStep:function(a){return arguments.length==1;
},getSingleStep:function(){},setPageStep:function(b){return arguments.length==1;
},getPageStep:function(){}}});
})();
(function(){var bn="knob",bm="horizontal",bl="vertical",bk="Integer",bj="hovered",bi="left",bh="top",bg="mouseup",bf="pressed",be="px",bX="mousemove",bW="resize",bV="slider",bU="mousedown",bT="PageUp",bS="mouseout",bR="changeValue",bQ="Left",bP="Down",bO="Up",bu="dblclick",bv="qx.ui.form.Slider",bs="PageDown",bt="mousewheel",bq="interval",br="_applyValue",bo="_applyKnobFactor",bp="End",bw="height",bx="Right",bE="width",bC="_applyOrientation",bI="Home",bG="mouseover",bK="floor",bJ="_applyMinimum",bz="click",bN="typeof value==='number'&&value>=this.getMinimum()&&value<=this.getMaximum()",bM="keypress",bL="ceil",by="losecapture",bA="contextmenu",bB="_applyMaximum",bD="Number",bF="changeMaximum",bH="changeMinimum";
qx.Class.define(bv,{extend:qx.ui.core.Widget,implement:[qx.ui.form.IForm,qx.ui.form.INumberForm,qx.ui.form.IRange],include:[qx.ui.form.MForm],construct:function(a){qx.ui.core.Widget.call(this);
this._setLayout(new qx.ui.layout.Canvas());
this.addListener(bM,this._onKeyPress);
this.addListener(bt,this._onMouseWheel);
this.addListener(bU,this._onMouseDown);
this.addListener(bg,this._onMouseUp);
this.addListener(by,this._onMouseUp);
this.addListener(bW,this._onUpdate);
this.addListener(bA,this._onStopEvent);
this.addListener(bz,this._onStopEvent);
this.addListener(bu,this._onStopEvent);
if(a!=null){this.setOrientation(a);
}else{this.initOrientation();
}},properties:{appearance:{refine:true,init:bV},focusable:{refine:true,init:true},orientation:{check:[bm,bl],init:bm,apply:bC},value:{check:bN,init:0,apply:br,event:bR,nullable:true},minimum:{check:bk,init:0,apply:bJ,event:bH},maximum:{check:bk,init:100,apply:bB,event:bF},singleStep:{check:bk,init:1},pageStep:{check:bk,init:10},knobFactor:{check:bD,apply:bo,nullable:true}},members:{__ov:null,__ow:null,__ox:null,__oy:null,__oz:null,__oA:null,__oB:null,__oC:null,__oD:null,_forwardStates:{invalid:true},_createChildControlImpl:function(b){var c;

switch(b){case bn:c=new qx.ui.core.Widget();
c.addListener(bW,this._onUpdate,this);
c.addListener(bG,this._onMouseOver);
c.addListener(bS,this._onMouseOut);
this._add(c);
break;
}return c||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,b);
},_onMouseOver:function(e){this.addState(bj);
},_onMouseOut:function(e){this.removeState(bj);
},_onMouseWheel:function(e){var Y=e.getWheelDelta()>0?1:-1;
this.slideBy(Y*this.getSingleStep());
e.stop();
},_onKeyPress:function(e){var l=this.getOrientation()===bm;
var k=l?bQ:bO;
var forward=l?bx:bP;

switch(e.getKeyIdentifier()){case forward:this.slideForward();
break;
case k:this.slideBack();
break;
case bs:this.slidePageForward();
break;
case bT:this.slidePageBack();
break;
case bI:this.slideToBegin();
break;
case bp:this.slideToEnd();
break;
default:return;
}e.stop();
},_onMouseDown:function(e){if(this.__oy){return;
}var D=this.__oF;
var B=this.getChildControl(bn);
var C=D?bi:bh;
var F=D?e.getDocumentLeft():e.getDocumentTop();
var G=this.__ov=qx.bom.element.Location.get(this.getContentElement().getDomElement())[C];
var E=this.__ow=qx.bom.element.Location.get(B.getContainerElement().getDomElement())[C];

if(e.getTarget()===B){this.__oy=true;
this.__oz=F+G-E;
B.addState(bf);
}else{this.__oA=true;
this.__oB=F<=E?-1:1;
this.__oG(e);
this._onInterval();
if(!this.__oD){this.__oD=new qx.event.Timer(100);
this.__oD.addListener(bq,this._onInterval,this);
}this.__oD.start();
}this.addListener(bX,this._onMouseMove);
this.capture();
e.stopPropagation();
},_onMouseUp:function(e){if(this.__oy){this.releaseCapture();
delete this.__oy;
delete this.__oz;
this.getChildControl(bn).removeState(bf);
if(e.getType()===bg){var r;
var s;
var q;

if(this.__oF){r=e.getDocumentLeft()-(this._valueToPosition(this.getValue())+this.__ov);
q=qx.bom.element.Location.get(this.getContentElement().getDomElement())[bh];
s=e.getDocumentTop()-(q+this.getChildControl(bn).getBounds().top);
}else{r=e.getDocumentTop()-(this._valueToPosition(this.getValue())+this.__ov);
q=qx.bom.element.Location.get(this.getContentElement().getDomElement())[bi];
s=e.getDocumentLeft()-(q+this.getChildControl(bn).getBounds().left);
}
if(s<0||s>this.__ox||r<0||r>this.__ox){this.getChildControl(bn).removeState(bj);
}}}else if(this.__oA){this.__oD.stop();
this.releaseCapture();
delete this.__oA;
delete this.__oB;
delete this.__oC;
}this.removeListener(bX,this._onMouseMove);
if(e.getType()===bg){e.stopPropagation();
}},_onMouseMove:function(e){if(this.__oy){var j=this.__oF?e.getDocumentLeft():e.getDocumentTop();
var i=j-this.__oz;
this.slideTo(this._positionToValue(i));
}else if(this.__oA){this.__oG(e);
}e.stopPropagation();
},_onInterval:function(e){var x=this.getValue()+(this.__oB*this.getPageStep());
if(x<this.getMinimum()){x=this.getMinimum();
}else if(x>this.getMaximum()){x=this.getMaximum();
}var y=this.__oB==-1;

if((y&&x<=this.__oC)||(!y&&x>=this.__oC)){x=this.__oC;
}this.slideTo(x);
},_onUpdate:function(e){var ca=this.getInnerSize();
var cb=this.getChildControl(bn).getBounds();
var bY=this.__oF?bE:bw;
this._updateKnobSize();
this.__oE=ca[bY]-cb[bY];
this.__ox=cb[bY];
this._updateKnobPosition();
},__oF:false,__oE:0,__oG:function(e){var J=this.__oF;
var Q=J?e.getDocumentLeft():e.getDocumentTop();
var S=this.__ov;
var K=this.__ow;
var U=this.__ox;
var R=Q-S;

if(Q>=K){R-=U;
}var O=this._positionToValue(R);
var L=this.getMinimum();
var M=this.getMaximum();

if(O<L){O=L;
}else if(O>M){O=M;
}else{var P=this.getValue();
var N=this.getPageStep();
var T=this.__oB<0?bK:bL;
O=P+(Math[T]((O-P)/N)*N);
}if(this.__oC==null||(this.__oB==-1&&O<=this.__oC)||(this.__oB==1&&O>=this.__oC)){this.__oC=O;
}},_positionToValue:function(d){var f=this.__oE;
if(f==null||f==0){return 0;
}var h=d/f;

if(h<0){h=0;
}else if(h>1){h=1;
}var g=this.getMaximum()-this.getMinimum();
return this.getMinimum()+Math.round(g*h);
},_valueToPosition:function(ba){var bb=this.__oE;

if(bb==null){return 0;
}var bc=this.getMaximum()-this.getMinimum();
if(bc==0){return 0;
}var ba=ba-this.getMinimum();
var bd=ba/bc;

if(bd<0){bd=0;
}else if(bd>1){bd=1;
}return Math.round(bb*bd);
},_updateKnobPosition:function(){this._setKnobPosition(this._valueToPosition(this.getValue()));
},_setKnobPosition:function(z){var A=this.getChildControl(bn).getContainerElement();

if(this.__oF){A.setStyle(bi,z+be,true);
}else{A.setStyle(bh,z+be,true);
}},_updateKnobSize:function(){var p=this.getKnobFactor();

if(p==null){return;
}var o=this.getInnerSize();

if(o==null){return;
}if(this.__oF){this.getChildControl(bn).setWidth(Math.round(p*o.width));
}else{this.getChildControl(bn).setHeight(Math.round(p*o.height));
}},slideToBegin:function(){this.slideTo(this.getMinimum());
},slideToEnd:function(){this.slideTo(this.getMaximum());
},slideForward:function(){this.slideBy(this.getSingleStep());
},slideBack:function(){this.slideBy(-this.getSingleStep());
},slidePageForward:function(){this.slideBy(this.getPageStep());
},slidePageBack:function(){this.slideBy(-this.getPageStep());
},slideBy:function(u){this.slideTo(this.getValue()+u);
},slideTo:function(t){if(t<this.getMinimum()){t=this.getMinimum();
}else if(t>this.getMaximum()){t=this.getMaximum();
}else{t=this.getMinimum()+Math.round((t-this.getMinimum())/this.getSingleStep())*this.getSingleStep();
}this.setValue(t);
},_applyOrientation:function(V,W){var X=this.getChildControl(bn);
this.__oF=V===bm;
if(this.__oF){this.removeState(bl);
X.removeState(bl);
this.addState(bm);
X.addState(bm);
X.setLayoutProperties({top:0,right:null,bottom:0});
}else{this.removeState(bm);
X.removeState(bm);
this.addState(bl);
X.addState(bl);
X.setLayoutProperties({right:0,bottom:null,left:0});
}this._updateKnobPosition();
},_applyKnobFactor:function(cc,cd){if(cc!=null){this._updateKnobSize();
}else{if(this.__oF){this.getChildControl(bn).resetWidth();
}else{this.getChildControl(bn).resetHeight();
}}},_applyValue:function(v,w){if(v!=null){this._updateKnobPosition();
}else{this.resetValue();
}},_applyMinimum:function(m,n){if(this.getValue()<m){this.setValue(m);
}this._updateKnobPosition();
},_applyMaximum:function(H,I){if(this.getValue()>H){this.setValue(H);
}this._updateKnobPosition();
}}});
})();
(function(){var c="mousewheel",b="qx.ui.core.scroll.ScrollSlider",a="keypress";
qx.Class.define(b,{extend:qx.ui.form.Slider,construct:function(d){qx.ui.form.Slider.call(this,d);
this.removeListener(a,this._onKeyPress);
this.removeListener(c,this._onMouseWheel);
}});
})();
(function(){var o="pressed",n="abandoned",m="Integer",l="hovered",k="qx.event.type.Event",j="Enter",i="Space",h="press",g="qx.ui.form.RepeatButton",f="release",b="interval",d="__oH",c="execute";
qx.Class.define(g,{extend:qx.ui.form.Button,construct:function(r,s){qx.ui.form.Button.call(this,r,s);
this.__oH=new qx.event.AcceleratingTimer();
this.__oH.addListener(b,this._onInterval,this);
},events:{"execute":k,"press":k,"release":k},properties:{interval:{check:m,init:100},firstInterval:{check:m,init:500},minTimer:{check:m,init:20},timerDecrease:{check:m,init:2}},members:{__oI:null,__oH:null,press:function(){if(this.isEnabled()){if(!this.hasState(o)){this.__oJ();
}this.removeState(n);
this.addState(o);
}},release:function(a){if(!this.isEnabled()){return;
}if(this.hasState(o)){if(!this.__oI){this.execute();
}}this.removeState(o);
this.removeState(n);
this.__oK();
},_applyEnabled:function(p,q){qx.ui.form.Button.prototype._applyEnabled.call(this,p,q);

if(!p){this.removeState(o);
this.removeState(n);
this.__oK();
}},_onMouseOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;
}
if(this.hasState(n)){this.removeState(n);
this.addState(o);
this.__oH.start();
}this.addState(l);
},_onMouseOut:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;
}this.removeState(l);

if(this.hasState(o)){this.removeState(o);
this.addState(n);
this.__oH.stop();
}},_onMouseDown:function(e){if(!e.isLeftPressed()){return;
}this.capture();
this.__oJ();
e.stopPropagation();
},_onMouseUp:function(e){this.releaseCapture();

if(!this.hasState(n)){this.addState(l);

if(this.hasState(o)&&!this.__oI){this.execute();
}}this.__oK();
e.stopPropagation();
},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case j:case i:if(this.hasState(o)){if(!this.__oI){this.execute();
}this.removeState(o);
this.removeState(n);
e.stopPropagation();
this.__oK();
}}},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case j:case i:this.removeState(n);
this.addState(o);
e.stopPropagation();
this.__oJ();
}},_onInterval:function(e){this.__oI=true;
this.fireEvent(c);
},__oJ:function(){this.fireEvent(h);
this.__oI=false;
this.__oH.set({interval:this.getInterval(),firstInterval:this.getFirstInterval(),minimum:this.getMinTimer(),decrease:this.getTimerDecrease()}).start();
this.removeState(n);
this.addState(o);
},__oK:function(){this.fireEvent(f);
this.__oH.stop();
this.removeState(n);
this.removeState(o);
}},destruct:function(){this._disposeObjects(d);
}});
})();
(function(){var e="Integer",d="interval",c="qx.event.type.Event",b="__oL",a="qx.event.AcceleratingTimer";
qx.Class.define(a,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
this.__oL=new qx.event.Timer(this.getInterval());
this.__oL.addListener(d,this._onInterval,this);
},events:{"interval":c},properties:{interval:{check:e,init:100},firstInterval:{check:e,init:500},minimum:{check:e,init:20},decrease:{check:e,init:2}},members:{__oL:null,__oM:null,start:function(){this.__oL.setInterval(this.getFirstInterval());
this.__oL.start();
},stop:function(){this.__oL.stop();
this.__oM=null;
},_onInterval:function(){this.__oL.stop();

if(this.__oM==null){this.__oM=this.getInterval();
}this.__oM=Math.max(this.getMinimum(),this.__oM-this.getDecrease());
this.__oL.setInterval(this.__oM);
this.__oL.start();
this.fireEvent(d);
}},destruct:function(){this._disposeObjects(b);
}});
})();
(function(){var p="resize",o="scrollY",n="update",m="scrollX",l="_applyScrollX",k="_applyScrollY",j="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getScrollMaxX()",i="appear",h="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getScrollMaxY()",g="qx.event.type.Event",d="qx.ui.core.scroll.ScrollPane",f="scroll";
qx.Class.define(d,{extend:qx.ui.core.Widget,construct:function(){qx.ui.core.Widget.call(this);
this.set({minWidth:0,minHeight:0});
this._setLayout(new qx.ui.layout.Grow());
this.addListener(p,this._onUpdate);
var u=this.getContentElement();
u.addListener(f,this._onScroll,this);
u.addListener(i,this._onAppear,this);
},events:{update:g},properties:{scrollX:{check:j,apply:l,event:m,init:0},scrollY:{check:h,apply:k,event:o,init:0}},members:{add:function(w){var z=this._getChildren()[0];

if(z){this._remove(z);
z.removeListener(p,this._onUpdate,this);
}
if(w){this._add(w);
w.addListener(p,this._onUpdate,this);
}},remove:function(H){if(H){this._remove(H);
H.removeListener(p,this._onUpdate,this);
}},getChildren:function(){return this._getChildren();
},_onUpdate:function(e){this.fireEvent(n);
},_onScroll:function(e){var G=this.getContentElement();
this.setScrollX(G.getScrollX());
this.setScrollY(G.getScrollY());
},_onAppear:function(e){var L=this.getContentElement();
var I=this.getScrollX();
var J=L.getScrollX();

if(I!=J){L.scrollToX(I);
}var M=this.getScrollY();
var K=L.getScrollY();

if(M!=K){L.scrollToY(M);
}},getItemTop:function(t){var top=0;

do{top+=t.getBounds().top;
t=t.getLayoutParent();
}while(t&&t!==this);
return top;
},getItemBottom:function(v){return this.getItemTop(v)+v.getBounds().height;
},getItemLeft:function(A){var B=0;
var parent;

do{B+=A.getBounds().left;
parent=A.getLayoutParent();

if(parent){B+=parent.getInsets().left;
}A=parent;
}while(A&&A!==this);
return B;
},getItemRight:function(q){return this.getItemLeft(q)+q.getBounds().width;
},getScrollSize:function(){return this.getChildren()[0].getBounds();
},getScrollMaxX:function(){var c=this.getInnerSize();
var b=this.getScrollSize();

if(c&&b){return Math.max(0,b.width-c.width);
}return 0;
},getScrollMaxY:function(){var s=this.getInnerSize();
var r=this.getScrollSize();

if(s&&r){return Math.max(0,r.height-s.height);
}return 0;
},scrollToX:function(E){var F=this.getScrollMaxX();

if(E<0){E=0;
}else if(E>F){E=F;
}this.setScrollX(E);
},scrollToY:function(C){var D=this.getScrollMaxY();

if(C<0){C=0;
}else if(C>D){C=D;
}this.setScrollY(C);
},scrollByX:function(x){this.scrollToX(this.getScrollX()+x);
},scrollByY:function(y){this.scrollToY(this.getScrollY()+y);
},_applyScrollX:function(N){this.getContentElement().scrollToX(N);
},_applyScrollY:function(a){this.getContentElement().scrollToY(a);
}}});
})();
(function(){var f="listitem",e="qx.ui.form.ListItem",d="qx.event.type.Event";
qx.Class.define(e,{extend:qx.ui.basic.Atom,implement:[qx.ui.form.IModel],include:[qx.ui.form.MModelProperty],construct:function(a,b,c){qx.ui.basic.Atom.call(this,a,b);

if(c!=null){this.setModel(c);
}},events:{"action":d},properties:{appearance:{refine:true,init:f}},members:{_forwardStates:{focused:true,hovered:true,selected:true,dragover:true}}});
})();
(function(){var i="keypress",h="Enter",g="qx.ui.table.celleditor.CheckBox",f="focus",d="center",c="keydown",b="middle",a="activate";
qx.Class.define(g,{extend:qx.core.Object,implement:qx.ui.table.ICellEditorFactory,members:{createCellEditor:function(j){var l=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:d,alignY:b})).set({focusable:true});
var k=new qx.ui.form.CheckBox().set({value:j.value});
l.add(k);
l.addListener(f,function(){k.focus();
});
l.addListener(a,function(){k.activate();
});
k.addListener(c,function(e){if(e.getKeyIdentifier()==h){var n=qx.event.Pool.getInstance().getObject(qx.event.type.KeySequence);
var o=l.getContainerElement().getDomElement();
n.init(e.getNativeEvent(),o,e.getKeyIdentifier());
n.setType(i);
qx.event.Registration.dispatchEvent(o,n);
}},this);
return l;
},getCellEditorValue:function(m){return m.getChildren()[0].getValue();
}}});
})();
(function(){var u="pressed",t="abandoned",s="hovered",r="checked",q="Space",p="Enter",o="mouseup",n="mousedown",m="Boolean",l="_applyValue",f="mouseover",k="mouseout",i="qx.ui.form.ToggleButton",d="keydown",c="changeValue",h="button",g="keyup",j="execute";
qx.Class.define(i,{extend:qx.ui.basic.Atom,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IBooleanForm,qx.ui.form.IExecutable],construct:function(v,w){qx.ui.basic.Atom.call(this,v,w);
this.addListener(f,this._onMouseOver);
this.addListener(k,this._onMouseOut);
this.addListener(n,this._onMouseDown);
this.addListener(o,this._onMouseUp);
this.addListener(d,this._onKeyDown);
this.addListener(g,this._onKeyUp);
this.addListener(j,this._onExecute,this);
},properties:{appearance:{refine:true,init:h},focusable:{refine:true,init:true},value:{check:m,nullable:true,event:c,apply:l,init:false}},members:{_applyValue:function(a,b){a?this.addState(r):this.removeState(r);
},_onExecute:function(e){this.toggleValue();
},_onMouseOver:function(e){if(e.getTarget()!==this){return;
}this.addState(s);

if(this.hasState(t)){this.removeState(t);
this.addState(u);
}},_onMouseOut:function(e){if(e.getTarget()!==this){return;
}this.removeState(s);

if(this.hasState(u)){if(!this.getValue()){this.removeState(u);
}this.addState(t);
}},_onMouseDown:function(e){if(!e.isLeftPressed()){return;
}this.capture();
this.removeState(t);
this.addState(u);
e.stopPropagation();
},_onMouseUp:function(e){this.releaseCapture();

if(this.hasState(t)){this.removeState(t);
}else if(this.hasState(u)){this.execute();
}this.removeState(u);
e.stopPropagation();
},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case p:case q:this.removeState(t);
this.addState(u);
e.stopPropagation();
}},_onKeyUp:function(e){if(!this.hasState(u)){return;
}
switch(e.getKeyIdentifier()){case p:case q:this.removeState(t);
this.execute();
this.removeState(u);
e.stopPropagation();
}}}});
})();
(function(){var b="checkbox",a="qx.ui.form.CheckBox";
qx.Class.define(a,{extend:qx.ui.form.ToggleButton,include:[qx.ui.form.MForm,qx.ui.form.MModelProperty],implement:[qx.ui.form.IForm,qx.ui.form.IModel],construct:function(c){{};
qx.ui.form.ToggleButton.call(this,c);
this.setValue(false);
},properties:{appearance:{refine:true,init:b},allowGrowX:{refine:true,init:false}}});
})();
(function(){var r=' ',q='',p='between',o="float",n='ge',m='gt',l='le',k="and",j="percent",h='lt',bc="Invalid input",bb='error',ba="integer",Y='match',X='</li>',W='<li>',V="Type: floating point number",U='<p><em>',T="' ",S="Input value must equal or less than",y='<ul>',z="Parameter validation",w="Type: integer",x='<p>',u="not less than",v='<p><b>',s=" '",t="Input value must match",A='</p>',B="Input value must less than",I='</em></p>',G="Type: number between 0 and 100",M="is not a valid floating point number",K="Help text currently only available in German",O='<br/>',N="not between",D="Input value must be between",R="Input value must equal or greater than",Q="not bigger than",P="Input value must greater than",C='</b></p>',E='</ul>',F="Agrammon.Lib.Validators",H="not equal or less than",J="doesn't match",L="not equal or bigger than";
qx.Class.define(F,{statics:{__oN:function(bw){return function(){var br=qx.locale.Manager.getInstance().getLocale();
br=br.replace(/_.+/,q);
return bw[br];
};
},__oO:function(name,bk){var bl;

switch(name){case m:bl=function(){return qx.locale.Manager.tr(P)+r+bk[0];
};
break;
case n:bl=function(){return qx.locale.Manager.tr(R)+r+bk[0];
};
break;
case h:bl=function(){return qx.locale.Manager.tr(B)+r+bk[0];
};
break;
case l:bl=function(){return qx.locale.Manager.tr(S)+r+bk[0];
};
break;
case p:bl=function(){return qx.locale.Manager.tr(D)+r+bk[0]+r+qx.locale.Manager.tr(k)+r+bk[1];
};
break;
case Y:bl=function(){return qx.locale.Manager.tr(t)+s+bk[0]+T;
};
break;
default:alert(qx.locale.Manager.tr("Unknown validator function")+' '+name);
break;
}return bl;
},__oP:function(name,bu){var bv;

switch(name){case m:bv=function(bs){if(!(bs>bu[0])){return bs+r+qx.locale.Manager.tr(Q)+r+bu[0];
}else{return q;
}};
break;
case n:bv=function(bt){if(!(bt>=bu[0])){return bt+r+qx.locale.Manager.tr(L)+r+bu[0];
}else{return q;
}};
break;
case h:bv=function(a){if(!(a<bu[0])){return a+r+qx.locale.Manager.tr(u)+r+bu[0];
}else{return q;
}};
break;
case l:bv=function(by){if(!(by<=bu[0])){return by+r+qx.locale.Manager.tr(H)+r+bu[0];
}else{return q;
}};
break;
case p:bv=function(bx){if(!(bx>=bu[0]&&bx<=bu[1])){return bx+r+qx.locale.Manager.tr(N)+r+bu[0]+r+qx.locale.Manager.tr(k)+r+bu[1];
}else{return q;
}};
break;
case Y:bv=function(bi){var bj=new RegExp(bu[0]);

if(!bi.match(bj)){return bi+r+qx.locale.Manager.tr(J)+r+bu[0];
}else{return q;
}};
break;
default:alert(qx.locale.Manager.tr("Unknown validator function")+' '+name);
break;
}return bv;
},getFunction:function(bo,bp){var bq=function(b,c){var d;

switch(bp){case ba:d=/^[+-]?[\d]+$/;
break;
case o:d=/^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/;
break;
case j:d=/^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/;
bo.splice(0,0,{name:p,args:[0,100]});
break;
}
if((b==null)||(b==q)){return null;
}
if(d!=undefined){if(!d.test(b)){qx.event.message.Bus.dispatch(bb,[qx.locale.Manager.tr(bc),b+r+qx.locale.Manager.tr(M)]);
return c;
}}
if(bo==undefined){return b;
}var i,f=bo.length;
var g=q,e;

for(i=0;i<f;i++){e=(Agrammon.Lib.Validators.__oP(bo[i].name,bo[i].args))(b);

if(e){g+=e+O;
}}
if(g==q){return b;
}else{qx.event.message.Bus.dispatch(bb,[qx.locale.Manager.tr(bc),g]);
return c;
}};
return bq;
},getHelpFunction:function(bd,be,bf){var bh;
var bg=function(){var bm=q;
var i,bn;

switch(be){case ba:bm=qx.locale.Manager.tr(w);
break;
case o:bm=qx.locale.Manager.tr(V);
break;
case j:bm=qx.locale.Manager.tr(G);
break;
}
if(bm){bm=W+bm+X;
}
if(bd!=undefined){bn=bd.length;

for(i=0;i<bn;i++){bm+=W+(Agrammon.Lib.Validators.__oO(bd[i].name,bd[i].args))()+X;
}}
if(bm){bm=v+qx.locale.Manager.tr(z)+C+y+bm+E;
}
if(bf.en!=undefined){bh=(Agrammon.Lib.Validators.__oN(bf))();
}else{bh=U+qx.locale.Manager.tr(K)+I+x+bh+A;
}return bh+bm;
};
return bg;
}}});
})();
(function(){var b="Function",a="qx.ui.table.celleditor.Dynamic";
qx.Class.define(a,{extend:qx.core.Object,implement:qx.ui.table.ICellEditorFactory,construct:function(i){qx.core.Object.call(this);

if(i){this.setCellEditorFactoryFunction(i);
}},properties:{cellEditorFactoryFunction:{check:b,nullable:true,init:null}},members:{__oQ:null,createCellEditor:function(f){var g=this.getCellEditorFactoryFunction();
{};
this.__oQ=g(f);
var h=this.__oQ.createCellEditor(f);
return h;
},getCellEditorValue:function(c){var d=this.getCellEditorFactoryFunction();
{};
var e=this.__oQ.getCellEditorValue(c);
return e;
}},destruct:function(){this.__oQ=null;
}});
})();
(function(){var q="qx.event.type.Data",p="EVENT_TYPE_DATA_CHANGED",o="qx.ui.table.ITableModel",n="New code should not use this. Instead, use the text string 'dataChanged' literally.",m="New code should not use this. Instead, use the text string 'metaDataChanged' literally.",l="qx.event.type.Event",k="EVENT_TYPE_META_DATA_CHANGED";
qx.Interface.define(o,{events:{"dataChanged":q,"metaDataChanged":l,"sorted":q},statics:{EVENT_TYPE_DATA_CHANGED:"dataChanged",EVENT_TYPE_META_DATA_CHANGED:"metaDataChanged"},members:{getRowCount:function(){},getRowData:function(h){},getColumnCount:function(){},getColumnId:function(A){},getColumnIndexById:function(i){},getColumnName:function(j){},isColumnEditable:function(z){},isColumnSortable:function(y){},sortByColumn:function(w,x){},getSortColumnIndex:function(){},isSortAscending:function(){},prefetchRows:function(r,s){},getValue:function(d,e){},getValueById:function(f,g){},setValue:function(a,b,c){},setValueById:function(t,u,v){}}});
qx.log.Logger.deprecatedConstantWarning(qx.ui.table.ITableModel,p,n);
qx.log.Logger.deprecatedConstantWarning(qx.ui.table.ITableModel,k,m);
})();
(function(){var u="metaDataChanged",t="qx.event.type.Data",s="qx.event.type.Event",r="abstract",q="qx.ui.table.model.Abstract";
qx.Class.define(q,{type:r,extend:qx.core.Object,implement:qx.ui.table.ITableModel,events:{"dataChanged":t,"metaDataChanged":s,"sorted":t},construct:function(){qx.core.Object.call(this);
this.__oR=[];
this.__oS=[];
this.__oT={};
},members:{__oR:null,__oS:null,__oT:null,__oU:null,getRowCount:function(){throw new Error("getRowCount is abstract");
},getRowData:function(b){return null;
},isColumnEditable:function(A){return false;
},isColumnSortable:function(v){return false;
},sortByColumn:function(B,C){},getSortColumnIndex:function(){return -1;
},isSortAscending:function(){return true;
},prefetchRows:function(j,k){},getValue:function(l,m){throw new Error("getValue is abstract");
},getValueById:function(e,f){return this.getValue(this.getColumnIndexById(e),f);
},setValue:function(D,E,F){throw new Error("setValue is abstract");
},setValueById:function(n,o,p){this.setValue(this.getColumnIndexById(n),o,p);
},getColumnCount:function(){return this.__oR.length;
},getColumnIndexById:function(g){return this.__oT[g];
},getColumnId:function(a){return this.__oR[a];
},getColumnName:function(h){return this.__oS[h];
},setColumnIds:function(d){this.__oR=d;
this.__oT={};

for(var i=0;i<d.length;i++){this.__oT[d[i]]=i;
}this.__oS=new Array(d.length);
if(!this.__oU){this.fireEvent(u);
}},setColumnNamesByIndex:function(c){if(this.__oR.length!=c.length){throw new Error("this.__columnIdArr and columnNameArr have different length: "+this.__oR.length+" != "+c.length);
}this.__oS=c;
this.fireEvent(u);
},setColumnNamesById:function(w){this.__oS=new Array(this.__oR.length);

for(var i=0;i<this.__oR.length;++i){this.__oS[i]=w[this.__oR[i]];
}},setColumns:function(x,y){var z=this.__oR.length==0||y;

if(y==null){if(this.__oR.length==0){y=x;
}else{y=this.__oR;
}}
if(y.length!=x.length){throw new Error("columnIdArr and columnNameArr have different length: "+y.length+" != "+x.length);
}
if(z){this.__oU=true;
this.setColumnIds(y);
this.__oU=false;
}this.setColumnNamesByIndex(x);
}},destruct:function(){this.__oR=this.__oS=this.__oT=null;
}});
})();
(function(){var r="dataChanged",q="metaDataChanged",p="qx.ui.table.model.Simple",o="Boolean",n="sorted";
qx.Class.define(p,{extend:qx.ui.table.model.Abstract,construct:function(){qx.ui.table.model.Abstract.call(this);
this.__oV=[];
this.__oW=-1;
this.__oX=[];
this.__oY=null;
},properties:{caseSensitiveSorting:{check:o,init:true}},statics:{_defaultSortComparatorAscending:function(y,z){var A=y[arguments.callee.columnIndex];
var B=z[arguments.callee.columnIndex];

if(qx.lang.Type.isNumber(A)&&qx.lang.Type.isNumber(B)){var C=isNaN(A)?isNaN(B)?0:1:isNaN(B)?-1:null;

if(C!=null){return C;
}}return (A>B)?1:((A==B)?0:-1);
},_defaultSortComparatorInsensitiveAscending:function(a,b){var c=(a[arguments.callee.columnIndex].toLowerCase?a[arguments.callee.columnIndex].toLowerCase():a[arguments.callee.columnIndex]);
var d=(b[arguments.callee.columnIndex].toLowerCase?b[arguments.callee.columnIndex].toLowerCase():b[arguments.callee.columnIndex]);

if(qx.lang.Type.isNumber(c)&&qx.lang.Type.isNumber(d)){var e=isNaN(c)?isNaN(d)?0:1:isNaN(d)?-1:null;

if(e!=null){return e;
}}return (c>d)?1:((c==d)?0:-1);
},_defaultSortComparatorDescending:function(H,I){var J=H[arguments.callee.columnIndex];
var K=I[arguments.callee.columnIndex];

if(qx.lang.Type.isNumber(J)&&qx.lang.Type.isNumber(K)){var L=isNaN(J)?isNaN(K)?0:1:isNaN(K)?-1:null;

if(L!=null){return L;
}}return (J<K)?1:((J==K)?0:-1);
},_defaultSortComparatorInsensitiveDescending:function(f,g){var h=(f[arguments.callee.columnIndex].toLowerCase?f[arguments.callee.columnIndex].toLowerCase():f[arguments.callee.columnIndex]);
var k=(g[arguments.callee.columnIndex].toLowerCase?g[arguments.callee.columnIndex].toLowerCase():g[arguments.callee.columnIndex]);

if(qx.lang.Type.isNumber(h)&&qx.lang.Type.isNumber(k)){var l=isNaN(h)?isNaN(k)?0:1:isNaN(k)?-1:null;

if(l!=null){return l;
}}return (h<k)?1:((h==k)?0:-1);
}},members:{__oV:null,__oY:null,__pa:null,__oX:null,__oW:null,__pb:null,getRowData:function(bp){var bq=this.__oV[bp];

if(bq==null||bq.originalData==null){return bq;
}else{return bq.originalData;
}},getRowDataAsMap:function(bg){var bi=this.__oV[bg];
var bh={};

for(var bj=0;bj<this.getColumnCount();bj++){bh[this.getColumnId(bj)]=bi[bj];
}return bh;
},getDataAsMapArray:function(){var bM=this.getRowCount();
var bL=[];

for(var i=0;i<bM;i++){bL.push(this.getRowDataAsMap(i));
}return bL;
},setEditable:function(br){this.__oY=[];

for(var bs=0;bs<this.getColumnCount();bs++){this.__oY[bs]=br;
}this.fireEvent(q);
},setColumnEditable:function(bt,bu){if(bu!=this.isColumnEditable(bt)){if(this.__oY==null){this.__oY=[];
}this.__oY[bt]=bu;
this.fireEvent(q);
}},isColumnEditable:function(m){return this.__oY?(this.__oY[m]==true):false;
},setColumnSortable:function(bN,bO){if(bO!=this.isColumnSortable(bN)){if(this.__pa==null){this.__pa=[];
}this.__pa[bN]=bO;
this.fireEvent(q);
}},isColumnSortable:function(bb){return (this.__pa?(this.__pa[bb]!==false):true);
},sortByColumn:function(bk,bl){var bo;
var bn=this.__oX[bk];

if(bn){bo=(bl?bn.ascending:bn.descending);
}else{if(this.getCaseSensitiveSorting()){bo=(bl?qx.ui.table.model.Simple._defaultSortComparatorAscending:qx.ui.table.model.Simple._defaultSortComparatorDescending);
}else{bo=(bl?qx.ui.table.model.Simple._defaultSortComparatorInsensitiveAscending:qx.ui.table.model.Simple._defaultSortComparatorInsensitiveDescending);
}}bo.columnIndex=bk;
this.__oV.sort(bo);
this.__oW=bk;
this.__pb=bl;
var bm={columnIndex:bk,ascending:bl};
this.fireDataEvent(n,bm);
this.fireEvent(q);
},setSortMethods:function(M,N){var O;

if(qx.lang.Type.isFunction(N)){O={ascending:N,descending:function(P,Q){return N(Q,P);
}};
}else{O=N;
}this.__oX[M]=O;
},getSortMethods:function(V){return this.__oX[V];
},clearSorting:function(){if(this.__oW!=-1){this.__oW=-1;
this.__pb=true;
this.fireEvent(q);
}},getSortColumnIndex:function(){return this.__oW;
},isSortAscending:function(){return this.__pb;
},getRowCount:function(){return this.__oV.length;
},getValue:function(by,bz){if(bz<0||bz>=this.__oV.length){throw new Error("this.__rowArr out of bounds: "+bz+" (0.."+this.__oV.length+")");
}return this.__oV[bz][by];
},setValue:function(W,X,Y){if(this.__oV[X][W]!=Y){this.__oV[X][W]=Y;
if(this.hasListener(r)){var ba={firstRow:X,lastRow:X,firstColumn:W,lastColumn:W};
this.fireDataEvent(r,ba);
}
if(W==this.__oW){this.clearSorting();
}}},setData:function(bE,bF){this.__oV=bE;
if(this.hasListener(r)){var bG={firstRow:0,lastRow:bE.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};
this.fireDataEvent(r,bG);
}
if(bF!==false){this.clearSorting();
}},getData:function(){return this.__oV;
},setDataAsMapArray:function(bv,bw,bx){this.setData(this._mapArray2RowArr(bv,bw),bx);
},addRows:function(D,E,F){if(E==null){E=this.__oV.length;
}D.splice(0,0,E,0);
Array.prototype.splice.apply(this.__oV,D);
var G={firstRow:E,lastRow:this.__oV.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};
this.fireDataEvent(r,G);

if(F!==false){this.clearSorting();
}},addRowsAsMapArray:function(bA,bB,bC,bD){this.addRows(this._mapArray2RowArr(bA,bC),bB,bD);
},setRows:function(R,S,T){if(S==null){S=0;
}R.splice(0,0,S,R.length);
Array.prototype.splice.apply(this.__oV,R);
var U={firstRow:S,lastRow:this.__oV.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};
this.fireDataEvent(r,U);

if(T!==false){this.clearSorting();
}},setRowsAsMapArray:function(bc,bd,be,bf){this.setRows(this._mapArray2RowArr(bc,be),bd,bf);
},removeRows:function(bH,bI,bJ){this.__oV.splice(bH,bI);
var bK={firstRow:bH,lastRow:this.__oV.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1,removeStart:bH,removeCount:bI};
this.fireDataEvent(r,bK);

if(bJ!==false){this.clearSorting();
}},_mapArray2RowArr:function(s,t){var x=s.length;
var u=this.getColumnCount();
var w=new Array(x);
var v;

for(var i=0;i<x;++i){v=[];

if(t){v.originalData=s[i];
}
for(var j=0;j<u;++j){v[j]=s[i][this.getColumnId(j)];
}w[i]=v;
}return w;
}},destruct:function(){this.__oV=this.__oY=this.__oX=this.__pa=null;
}});
})();
(function(){var a="qx.ui.table.IHeaderRenderer";
qx.Interface.define(a,{members:{createHeaderCell:function(d){return true;
},updateHeaderCell:function(b,c){return true;
}}});
})();
(function(){var b="qx.ui.table.headerrenderer.Default",a="String";
qx.Class.define(b,{extend:qx.core.Object,implement:qx.ui.table.IHeaderRenderer,statics:{STATE_SORTED:"sorted",STATE_SORTED_ASCENDING:"sortedAscending"},properties:{toolTip:{check:a,init:null,nullable:true}},members:{createHeaderCell:function(c){var d=new qx.ui.table.headerrenderer.HeaderCell();
this.updateHeaderCell(c,d);
return d;
},updateHeaderCell:function(e,f){var g=qx.ui.table.headerrenderer.Default;
if(e.name&&e.name.translate){f.setLabel(e.name.translate());
}else{f.setLabel(e.name);
}var h=f.getToolTip();

if(this.getToolTip()!=null){if(h==null){h=new qx.ui.tooltip.ToolTip(this.getToolTip());
f.setToolTip(h);
qx.util.DisposeUtil.disposeTriggeredBy(h,f);
}else{h.setLabel(this.getToolTip());
}}e.sorted?f.addState(g.STATE_SORTED):f.removeState(g.STATE_SORTED);
e.sortedAscending?f.addState(g.STATE_SORTED_ASCENDING):f.removeState(g.STATE_SORTED_ASCENDING);
}}});
})();
(function(){var d="number",c="qx.ui.table.celleditor.TextField",b="table-editor-textfield";
qx.Class.define(c,{extend:qx.ui.table.celleditor.AbstractField,members:{getCellEditorValue:function(e){var g=e.getValue();
var f=this.getValidationFunction();

if(f){g=f(g,e.originalValue);
}
if(typeof e.originalValue==d){if(g!=null){g=parseFloat(g);
}}return g;
},_createEditor:function(){var a=new qx.ui.form.TextField();
a.setAppearance(b);
return a;
}}});
})();
(function(){var l="qx.event.type.Data",k="visibilityChanged",j="orderChanged",h="visibilityChangedPre",g="__ph",f="widthChanged",e="qx.ui.table.columnmodel.Basic",d="__pj",c="__pi";
qx.Class.define(e,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
this.__pc=[];
this.__pd=[];
},events:{"widthChanged":l,"visibilityChangedPre":l,"visibilityChanged":l,"orderChanged":l},statics:{DEFAULT_WIDTH:100,DEFAULT_HEADER_RENDERER:qx.ui.table.headerrenderer.Default,DEFAULT_DATA_RENDERER:qx.ui.table.cellrenderer.Default,DEFAULT_EDITOR_FACTORY:qx.ui.table.celleditor.TextField},members:{__pe:null,__pf:null,__pd:null,__pc:null,__pg:null,__ph:null,__pi:null,__pj:null,init:function(M){{};
this.__pg=[];
var P=qx.ui.table.columnmodel.Basic.DEFAULT_WIDTH;
var Q=this.__ph||(this.__ph=new qx.ui.table.columnmodel.Basic.DEFAULT_HEADER_RENDERER());
var O=this.__pi||(this.__pi=new qx.ui.table.columnmodel.Basic.DEFAULT_DATA_RENDERER());
var N=this.__pj||(this.__pj=new qx.ui.table.columnmodel.Basic.DEFAULT_EDITOR_FACTORY());
this.__pc=[];
this.__pd=[];

for(var S=0;S<M;S++){this.__pg[S]={width:P,headerRenderer:Q,dataRenderer:O,editorFactory:N};
this.__pc[S]=S;
this.__pd[S]=S;
}this.__pf=null;

for(var S=0;S<M;S++){var R={col:S,visible:true};
this.fireDataEvent(h,R);
this.fireDataEvent(k,R);
}},getVisibleColumns:function(){return this.__pd!=null?this.__pd:[];
},setColumnWidth:function(G,H){{};
var J=this.__pg[G].width;

if(J!=H){this.__pg[G].width=H;
var I={col:G,newWidth:H,oldWidth:J};
this.fireDataEvent(f,I);
}},getColumnWidth:function(L){{};
return this.__pg[L].width;
},setHeaderCellRenderer:function(Y,ba){{};
var bb=this.__pg[Y].headerRenderer;

if(bb!==this.__ph){bb.dispose();
}this.__pg[Y].headerRenderer=ba;
},getHeaderCellRenderer:function(F){{};
return this.__pg[F].headerRenderer;
},setDataCellRenderer:function(T,U){{};
var V=this.__pg[T].dataRenderer;

if(V!==this.__pi){V.dispose();
}this.__pg[T].dataRenderer=U;
},getDataCellRenderer:function(D){{};
return this.__pg[D].dataRenderer;
},setCellEditorFactory:function(A,B){{};
var C=this.__pg[A].headerRenderer;

if(C!==this.__pj){C.dispose();
}this.__pg[A].editorFactory=B;
},getCellEditorFactory:function(W){{};
return this.__pg[W].editorFactory;
},_getColToXPosMap:function(){if(this.__pf==null){this.__pf={};

for(var be=0;be<this.__pc.length;be++){var bd=this.__pc[be];
this.__pf[bd]={overX:be};
}
for(var bc=0;bc<this.__pd.length;bc++){var bd=this.__pd[bc];
this.__pf[bd].visX=bc;
}}return this.__pf;
},getVisibleColumnCount:function(){return this.__pd!=null?this.__pd.length:0;
},getVisibleColumnAtX:function(b){{};
return this.__pd[b];
},getVisibleX:function(E){{};
return this._getColToXPosMap()[E].visX;
},getOverallColumnCount:function(){return this.__pc.length;
},getOverallColumnAtX:function(K){{};
return this.__pc[K];
},getOverallX:function(a){{};
return this._getColToXPosMap()[a].overX;
},isColumnVisible:function(X){{};
return (this._getColToXPosMap()[X].visX!=null);
},setColumnVisible:function(m,n){{};

if(n!=this.isColumnVisible(m)){if(n){var t=this._getColToXPosMap();
var q=t[m].overX;

if(q==null){throw new Error("Showing column failed: "+m+". The column is not added to this TablePaneModel.");
}var r;

for(var x=q+1;x<this.__pc.length;x++){var s=this.__pc[x];
var o=t[s].visX;

if(o!=null){r=o;
break;
}}if(r==null){r=this.__pd.length;
}this.__pd.splice(r,0,m);
}else{var p=this.getVisibleX(m);
this.__pd.splice(p,1);
}this.__pf=null;
if(!this.__pe){var u={col:m,visible:n};
this.fireDataEvent(h,u);
this.fireDataEvent(k,u);
}}},moveColumn:function(bf,bg){{};
this.__pe=true;
var bj=this.__pc[bf];
var bh=this.isColumnVisible(bj);

if(bh){this.setColumnVisible(bj,false);
}this.__pc.splice(bf,1);
this.__pc.splice(bg,0,bj);
this.__pf=null;

if(bh){this.setColumnVisible(bj,true);
}this.__pe=false;
var bi={col:bj,fromOverXPos:bf,toOverXPos:bg};
this.fireDataEvent(j,bi);
},setColumnsOrder:function(v){{};

if(v.length==this.__pc.length){this.__pe=true;
var z=new Array(v.length);

for(var w=0;w<this.__pc.length;w++){var y=this.isColumnVisible(w);
z[w]=y;

if(y){this.setColumnVisible(w,false);
}}this.__pc=qx.lang.Array.clone(v);
this.__pf=null;
for(var w=0;w<this.__pc.length;w++){if(z[w]){this.setColumnVisible(w,true);
}}this.__pe=false;
this.fireDataEvent(j);
}else{throw new Error("setColumnsOrder: Invalid number of column positions given, expected "+this.__pc.length+", got "+v.length);
}}},destruct:function(){for(var i=0;i<this.__pg.length;i++){this.__pg[i].headerRenderer.dispose();
this.__pg[i].dataRenderer.dispose();
this.__pg[i].editorFactory.dispose();
}this.__pc=this.__pd=this.__pg=this.__pf=null;
this._disposeObjects(g,c,d);
}});
})();
(function(){var t="appear",s="columnVisibilityMenuCreateEnd",r="tableWidthChanged",q="verticalScrollBarChanged",p="qx.ui.table.columnmodel.resizebehavior.Abstract",n="qx.ui.table.columnmodel.Resize",m="_applyBehavior",l="separator",k="visibilityChanged",j="Reset column widths",g="changeBehavior",i="user-button",h="widthChanged",f="execute";
qx.Class.define(n,{extend:qx.ui.table.columnmodel.Basic,include:qx.locale.MTranslation,construct:function(){qx.ui.table.columnmodel.Basic.call(this);
this.__pk=false;
this.__pl=false;
},properties:{behavior:{check:p,init:null,nullable:true,apply:m,event:g}},members:{__pl:null,__pk:null,__pm:null,_applyBehavior:function(u,v){if(v!=null){v.dispose();
v=null;
}u._setNumColumns(this.getOverallColumnCount());
u.setTableColumnModel(this);
},init:function(a,b){qx.ui.table.columnmodel.Basic.prototype.init.call(this,a);

if(this.__pm==null){this.__pm=b;
b.addListener(t,this._onappear,this);
b.addListener(r,this._onTableWidthChanged,this);
b.addListener(q,this._onverticalscrollbarchanged,this);
b.addListener(s,this._addResetColumnWidthButton,this);
this.addListener(h,this._oncolumnwidthchanged,this);
this.addListener(k,this._onvisibilitychanged,this);
}if(this.getBehavior()==null){this.setBehavior(new qx.ui.table.columnmodel.resizebehavior.Default());
}this.getBehavior()._setNumColumns(a);
},getTable:function(){return this.__pm;
},_addResetColumnWidthButton:function(event){var e=event.getData();
var d=e.columnButton;
var c=e.menu;
var o;
o=d.factory(l);
c.add(o);
o=d.factory(i,{text:this.tr(j)});
c.add(o);
o.addListener(f,this._onappear,this);
},_onappear:function(event){if(this.__pk){return ;
}this.__pk=true;
{};
this.getBehavior().onAppear(event,event.getType()!==t);
this.__pm._updateScrollerWidths();
this.__pm._updateScrollBarVisibility();
this.__pk=false;
this.__pl=true;
},_onTableWidthChanged:function(event){if(this.__pk||!this.__pl){return ;
}this.__pk=true;
{};
this.getBehavior().onTableWidthChanged(event);
this.__pk=false;
},_onverticalscrollbarchanged:function(event){if(this.__pk||!this.__pl){return ;
}this.__pk=true;
{};
this.getBehavior().onVerticalScrollBarChanged(event);
qx.event.Timer.once(function(){if(this.__pm&&!this.__pm.isDisposed()){this.__pm._updateScrollerWidths();
this.__pm._updateScrollBarVisibility();
}},this,0);
this.__pk=false;
},_oncolumnwidthchanged:function(event){if(this.__pk||!this.__pl){return ;
}this.__pk=true;
{};
this.getBehavior().onColumnWidthChanged(event);
this.__pk=false;
},_onvisibilitychanged:function(event){if(this.__pk||!this.__pl){return ;
}this.__pk=true;
{};
this.getBehavior().onVisibilityChanged(event);
this.__pk=false;
}},destruct:function(){this.__pm=null;
}});
})();
(function(){var k="icon",j="label",i="String",h="sort-icon",g="_applySortIcon",f="_applyIcon",e="table-header-cell",d="qx.ui.table.headerrenderer.HeaderCell",c="_applyLabel";
qx.Class.define(d,{extend:qx.ui.container.Composite,construct:function(){qx.ui.container.Composite.call(this);
var p=new qx.ui.layout.Grid();
p.setRowFlex(0,1);
p.setColumnFlex(1,1);
p.setColumnFlex(2,1);
this.setLayout(p);
},properties:{appearance:{refine:true,init:e},label:{check:i,init:null,nullable:true,apply:c},sortIcon:{check:i,init:null,nullable:true,apply:g,themeable:true},icon:{check:i,init:null,nullable:true,apply:f}},members:{_applyLabel:function(a,b){if(a){this._showChildControl(j).setValue(a);
}else{this._excludeChildControl(j);
}},_applySortIcon:function(q,r){if(q){this._showChildControl(h).setSource(q);
}else{this._excludeChildControl(h);
}},_applyIcon:function(l,m){if(l){this._showChildControl(k).setSource(l);
}else{this._excludeChildControl(k);
}},_createChildControlImpl:function(n){var o;

switch(n){case j:o=new qx.ui.basic.Label(this.getLabel()).set({anonymous:true,allowShrinkX:true});
this._add(o,{row:0,column:1});
break;
case h:o=new qx.ui.basic.Image(this.getSortIcon());
o.setAnonymous(true);
this._add(o,{row:0,column:2});
break;
case k:o=new qx.ui.basic.Image(this.getIcon()).set({anonymous:true,allowShrinkX:true});
this._add(o,{row:0,column:0});
break;
}return o||qx.ui.container.Composite.prototype._createChildControlImpl.call(this,n);
}}});
})();
(function(){var i="auto",h="string",g="number",f="*",e="qx.ui.core.ColumnData";
qx.Class.define(e,{extend:qx.ui.core.LayoutItem,construct:function(){qx.ui.core.LayoutItem.call(this);
this.setColumnWidth(i);
},members:{__pn:null,renderLayout:function(j,top,k,l){this.__pn=k;
},getComputedWidth:function(){return this.__pn;
},getFlex:function(){return this.getLayoutProperties().flex||0;
},setColumnWidth:function(a,b){var b=b||0;
var c=null;

if(typeof a==g){this.setWidth(a);
}else if(typeof a==h){if(a==i){b=1;
}else{var d=a.match(/^[0-9]+(?:\.[0-9]+)?([%\*])$/);

if(d){if(d[1]==f){b=parseFloat(a);
}else{c=a;
}}}}this.setLayoutProperties({flex:b,width:c});
}},settings:{"qx.tableResizeDebug":false}});
})();
(function(){var b="qx.ui.table.columnmodel.resizebehavior.Abstract",a="abstract";
qx.Class.define(b,{type:a,extend:qx.core.Object,members:{_setNumColumns:function(h){throw new Error("_setNumColumns is abstract");
},onAppear:function(event,i){throw new Error("onAppear is abstract");
},onTableWidthChanged:function(event){throw new Error("onTableWidthChanged is abstract");
},onVerticalScrollBarChanged:function(event){throw new Error("onVerticalScrollBarChanged is abstract");
},onColumnWidthChanged:function(event){throw new Error("onColumnWidthChanged is abstract");
},onVisibilityChanged:function(event){throw new Error("onVisibilityChanged is abstract");
},_getAvailableWidth:function(){var d=this.getTableColumnModel();
var g=d.getTable();
var c=g._getPaneScrollerArr();

if(!c[0]||!c[0].getLayoutParent().getBounds()){return null;
}var f=c[0].getLayoutParent().getBounds().width;
var e=c[c.length-1];
f-=e.getPaneInsetRight();
return f;
}}});
})();
(function(){var B="Function",A="Boolean",z="minWidth",y="width",x="qx.ui.table.columnmodel.Resize",w="qx.ui.table.columnmodel.resizebehavior.Default",v="__pp",u="__pq",t="maxWidth";
qx.Class.define(w,{extend:qx.ui.table.columnmodel.resizebehavior.Abstract,construct:function(){qx.ui.table.columnmodel.resizebehavior.Abstract.call(this);
this.__po=[];
this.__pp=new qx.ui.layout.HBox();
this.__pp.connectToWidget(this);
this.__pq=new qx.util.DeferredCall(this._computeColumnsFlexWidth,this);
},properties:{newResizeBehaviorColumnData:{check:B,init:function(p){return new qx.ui.core.ColumnData();
}},initializeWidthsOnEveryAppear:{check:A,init:false},tableColumnModel:{check:x}},members:{__pp:null,__pr:null,__po:null,__pq:null,__ps:false,setWidth:function(V,W,X){if(V>=this.__po.length){throw new Error("Column number out of range");
}this.__po[V].setColumnWidth(W,X);
this.__pq.schedule();
},setMinWidth:function(j,k){if(j>=this.__po.length){throw new Error("Column number out of range");
}this.__po[j].setMinWidth(k);
this.__pq.schedule();
},setMaxWidth:function(m,n){if(m>=this.__po.length){throw new Error("Column number out of range");
}this.__po[m].setMaxWidth(n);
this.__pq.schedule();
},set:function(q,r){for(var s in r){switch(s){case y:this.setWidth(q,r[s]);
break;
case z:this.setMinWidth(q,r[s]);
break;
case t:this.setMaxWidth(q,r[s]);
break;
default:throw new Error("Unknown property: "+s);
}}},onAppear:function(event,o){if(o===true||!this.__ps||this.getInitializeWidthsOnEveryAppear()){this._computeColumnsFlexWidth();
this.__ps=true;
}},onTableWidthChanged:function(event){this._computeColumnsFlexWidth();
},onVerticalScrollBarChanged:function(event){this._computeColumnsFlexWidth();
},onColumnWidthChanged:function(event){this._extendNextColumn(event);
},onVisibilityChanged:function(event){var N=event.getData();
if(N.visible){this._computeColumnsFlexWidth();
return;
}this._extendLastColumn(event);
},_setNumColumns:function(L){var M=this.__po;
if(L<=M.length){M.splice(L,M.length);
return;
}for(var i=M.length;i<L;i++){M[i]=this.getNewResizeBehaviorColumnData()();
M[i].columnNumber=i;
}},getLayoutChildren:function(){return this.__pr;
},_computeColumnsFlexWidth:function(){this.__pq.cancel();
var S=this._getAvailableWidth();

if(S===null){return;
}var O=this.getTableColumnModel();
var Q=O.getVisibleColumns();
var R=Q.length;
var P=this.__po;
var i,l;

if(R===0){return;
}var U=[];

for(i=0;i<R;i++){U.push(P[Q[i]]);
}this.__pr=U;
this.__pt();
this.__pp.renderLayout(S,100);
for(i=0,l=U.length;i<l;i++){var T=U[i].getComputedWidth();
O.setColumnWidth(Q[i],T);
}},__pt:function(){this.__pp.invalidateChildrenCache();
var K=this.__pr;

for(var i=0,l=K.length;i<l;i++){K[i].invalidateLayoutCache();
}},_extendNextColumn:function(event){var e=this.getTableColumnModel();
var h=event.getData();
var c=e.getVisibleColumns();
var b=this._getAvailableWidth();
var a=c.length;
if(h.newWidth>h.oldWidth){return ;
}var i;
var d;
var g=0;

for(i=0;i<a;i++){g+=e.getColumnWidth(c[i]);
}if(g<b){for(i=0;i<c.length;i++){if(c[i]==h.col){d=c[i+1];
break;
}}
if(d){var f=(b-(g-e.getColumnWidth(d)));
e.setColumnWidth(d,f);
}}},_extendLastColumn:function(event){var F=this.getTableColumnModel();
var J=event.getData();
if(J.visible){return;
}var E=F.getVisibleColumns();
if(E.length==0){return;
}var D=this._getAvailableWidth(F);
var C=E.length;
var i;
var H;
var I=0;

for(i=0;i<C;i++){I+=F.getColumnWidth(E[i]);
}if(I<D){H=E[E.length-1];
var G=(D-(I-F.getColumnWidth(H)));
F.setColumnWidth(H,G);
}},_getResizeColumnData:function(){return this.__po;
}},destruct:function(){this.__po=this.__pr=null;
this._disposeObjects(v,u);
}});
})();
(function(){var dm="column-button",dl="Function",dk="Boolean",dj="qx.event.type.Data",di="statusbar",dh="qx.ui.table.pane.CellEvent",dg="PageUp",df='"',de="changeLocale",dd="changeSelection",eA="qx.dynlocale",ez="__pE",ey="Enter",ex="metaDataChanged",ew="dataChanged",ev="on",eu="_applyStatusBarVisible",et="columnVisibilityMenuCreateStart",es="blur",er="qx.ui.table.Table",du="columnVisibilityMenuCreateEnd",dv="Use 'resetSelection' instead.",ds="verticalScrollBarChanged",dt="_applyMetaColumnCounts",dq="one of one row",dr="focus",dn="changeDataRowRenderer",dp="changeHeaderCellHeight",dC="Escape",dD="A",dS="changeSelectionModel",dO="Left",eb="Down",dV="Integer",en="_applyHeaderCellHeight",eh="visibilityChanged",dJ="qx.ui.table.ITableModel",eq="orderChanged",ep="_applySelectionModel",eo="__pC",dH="menu",dL="_applyAdditionalStatusBarText",dN="_applyFocusCellOnMouseMove",dQ="table",dT="_applyColumnVisibilityButtonVisible",dW="__pv",ed="changeTableModel",ej="qx.event.type.Event",dw="tableWidthChanged",dx="End",dK="Object",ea="__pu",dY="_applyShowCellFocusIndicator",dX="resize",ef="changeScrollY",ee="_applyTableModel",dU="menu-button",ec="_applyKeepFirstVisibleRowComplete",da="widthChanged",ei="Home",dy="_applyRowHeight",dz="F2",dP="appear",db="__pD",dc="Up",dG="%1 rows",dA="qx.ui.table.selection.Model",dB="one row",dF="PageDown",dR="%1 of %2 rows",el="keypress",ek="changeRowHeight",dM="Number",em="changeVisible",dI="qx.ui.table.IRowRenderer",eg="Right",dE="Space";
qx.Class.define(er,{extend:qx.ui.core.Widget,construct:function(cI,cJ){qx.ui.core.Widget.call(this);
if(!cJ){cJ={};
}
if(cJ.selectionManager){this.setNewSelectionManager(cJ.selectionManager);
}
if(cJ.selectionModel){this.setNewSelectionModel(cJ.selectionModel);
}
if(cJ.tableColumnModel){this.setNewTableColumnModel(cJ.tableColumnModel);
}
if(cJ.tablePane){this.setNewTablePane(cJ.tablePane);
}
if(cJ.tablePaneHeader){this.setNewTablePaneHeader(cJ.tablePaneHeader);
}
if(cJ.tablePaneScroller){this.setNewTablePaneScroller(cJ.tablePaneScroller);
}
if(cJ.tablePaneModel){this.setNewTablePaneModel(cJ.tablePaneModel);
}
if(cJ.columnMenu){this.setNewColumnMenu(cJ.columnMenu);
}this._setLayout(new qx.ui.layout.VBox());
this.__pu=new qx.ui.container.Composite(new qx.ui.layout.HBox());
this._add(this.__pu,{flex:1});
this.setDataRowRenderer(new qx.ui.table.rowrenderer.Default(this));
this.__pv=this.getNewSelectionManager()(this);
this.setSelectionModel(this.getNewSelectionModel()(this));
this.setTableModel(cI||this.getEmptyTableModel());
this.setMetaColumnCounts([-1]);
this.setTabIndex(1);
this.addListener(el,this._onKeyPress);
this.addListener(dr,this._onFocusChanged);
this.addListener(es,this._onFocusChanged);
var cK=new qx.ui.core.Widget().set({height:0});
this._add(cK);
cK.addListener(dX,this._onResize,this);
this.__pw=null;
this.__px=null;
if(qx.core.Variant.isSet(eA,ev)){qx.locale.Manager.getInstance().addListener(de,this._onChangeLocale,this);
}this.initStatusBarVisible();
},events:{"columnVisibilityMenuCreateStart":dj,"columnVisibilityMenuCreateEnd":dj,"tableWidthChanged":ej,"verticalScrollBarChanged":dj,"cellClick":dh,"cellDblclick":dh,"cellContextmenu":dh,"dataEdited":dj},statics:{__py:{cellClick:1,cellDblclick:1,cellContextmenu:1}},properties:{appearance:{refine:true,init:dQ},focusable:{refine:true,init:true},minWidth:{refine:true,init:50},selectable:{refine:true,init:false},selectionModel:{check:dA,apply:ep,event:dS},tableModel:{check:dJ,apply:ee,event:ed},rowHeight:{check:dM,init:20,apply:dy,event:ek},forceLineHeight:{check:dk,init:true},headerCellHeight:{check:dV,init:16,apply:en,event:dp,nullable:true},statusBarVisible:{check:dk,init:true,apply:eu},additionalStatusBarText:{nullable:true,init:null,apply:dL},columnVisibilityButtonVisible:{check:dk,init:true,apply:dT},metaColumnCounts:{check:dK,apply:dt},focusCellOnMouseMove:{check:dk,init:false,apply:dN},rowFocusChangeModifiesSelection:{check:dk,init:true},showCellFocusIndicator:{check:dk,init:true,apply:dY},keepFirstVisibleRowComplete:{check:dk,init:true,apply:ec},alwaysUpdateCells:{check:dk,init:false},dataRowRenderer:{check:dI,init:null,nullable:true,event:dn},modalCellEditorPreOpenFunction:{check:dl,init:null,nullable:true},newColumnMenu:{check:dl,init:function(){return new qx.ui.table.columnmenu.Button();
}},newSelectionManager:{check:dl,init:function(cc){return new qx.ui.table.selection.Manager(cc);
}},newSelectionModel:{check:dl,init:function(eT){return new qx.ui.table.selection.Model(eT);
}},newTableColumnModel:{check:dl,init:function(eB){return new qx.ui.table.columnmodel.Basic(eB);
}},newTablePane:{check:dl,init:function(co){return new qx.ui.table.pane.Pane(co);
}},newTablePaneHeader:{check:dl,init:function(cp){return new qx.ui.table.pane.Header(cp);
}},newTablePaneScroller:{check:dl,init:function(A){return new qx.ui.table.pane.Scroller(A);
}},newTablePaneModel:{check:dl,init:function(cq){return new qx.ui.table.pane.Model(cq);
}}},members:{__pw:null,__px:null,__pu:null,__pv:null,__pz:null,__pA:null,__pB:null,__pC:null,__pD:null,__pE:null,_createChildControlImpl:function(bo){var bp;

switch(bo){case di:bp=new qx.ui.basic.Label();
bp.set({allowGrowX:true});
this._add(bp);
break;
case dm:bp=this.getNewColumnMenu()();
bp.set({focusable:false});
var bq=bp.factory(dH,{table:this});
bq.addListener(dP,this._initColumnMenu,this);
break;
}return bp||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,bo);
},_applySelectionModel:function(eC,eD){this.__pv.setSelectionModel(eC);

if(eD!=null){eD.removeListener(dd,this._onSelectionChanged,this);
}eC.addListener(dd,this._onSelectionChanged,this);
},_applyRowHeight:function(j,k){var m=this._getPaneScrollerArr();

for(var i=0;i<m.length;i++){m[i].updateVerScrollBarMaximum();
}},_applyHeaderCellHeight:function(q,r){var s=this._getPaneScrollerArr();

for(var i=0;i<s.length;i++){s[i].getHeader().setHeight(q);
}},getEmptyTableModel:function(){if(!this.__pE){this.__pE=new qx.ui.table.model.Simple();
this.__pE.setColumns([]);
this.__pE.setData([]);
}return this.__pE;
},_applyTableModel:function(n,o){this.getTableColumnModel().init(n.getColumnCount(),this);

if(o!=null){o.removeListener(ex,this._onTableModelMetaDataChanged,this);
o.removeListener(ew,this._onTableModelDataChanged,this);
}n.addListener(ex,this._onTableModelMetaDataChanged,this);
n.addListener(ew,this._onTableModelDataChanged,this);
this._updateStatusBar();
this._updateTableData(0,n.getRowCount(),0,n.getColumnCount());
this._onTableModelMetaDataChanged();
},getTableColumnModel:function(){if(!this.__pD){var M=this.__pD=this.getNewTableColumnModel()(this);
M.addListener(eh,this._onColVisibilityChanged,this);
M.addListener(da,this._onColWidthChanged,this);
M.addListener(eq,this._onColOrderChanged,this);
var L=this.getTableModel();
M.init(L.getColumnCount(),this);
var J=this._getPaneScrollerArr();

for(var i=0;i<J.length;i++){var K=J[i];
var N=K.getTablePaneModel();
N.setTableColumnModel(M);
}}return this.__pD;
},_applyStatusBarVisible:function(eE,eF){if(eE){this._showChildControl(di);
}else{this._excludeChildControl(di);
}
if(eE){this._updateStatusBar();
}},_applyAdditionalStatusBarText:function(eM,eN){this.__pz=eM;
this._updateStatusBar();
},_applyColumnVisibilityButtonVisible:function(bj,bk){if(bj){this._showChildControl(dm);
}else{this._excludeChildControl(dm);
}},_applyMetaColumnCounts:function(by,bz){var bG=by;
var bA=this._getPaneScrollerArr();
var bE={};

if(by>bz){var bI=qx.event.Registration.getManager(bA[0]);

for(var bJ in qx.ui.table.Table.__py){bE[bJ]={};
bE[bJ].capture=bI.getListeners(bA[0],bJ,true);
bE[bJ].bubble=bI.getListeners(bA[0],bJ,false);
}}this._cleanUpMetaColumns(bG.length);
var bF=0;

for(var i=0;i<bA.length;i++){var bK=bA[i];
var bH=bK.getTablePaneModel();
bH.setFirstColumnX(bF);
bH.setMaxColumnCount(bG[i]);
bF+=bG[i];
}if(bG.length>bA.length){var bD=this.getTableColumnModel();

for(var i=bA.length;i<bG.length;i++){var bH=this.getNewTablePaneModel()(bD);
bH.setFirstColumnX(bF);
bH.setMaxColumnCount(bG[i]);
bF+=bG[i];
var bK=this.getNewTablePaneScroller()(this);
bK.setTablePaneModel(bH);
bK.addListener(ef,this._onScrollY,this);
for(bJ in qx.ui.table.Table.__py){if(!bE[bJ]){break;
}
if(bE[bJ].capture&&bE[bJ].capture.length>0){var bB=bE[bJ].capture;

for(var i=0;i<bB.length;i++){var bC=bB[i].context;

if(!bC){bC=this;
}else if(bC==bA[0]){bC=bK;
}bK.addListener(bJ,bB[i].handler,bC,true);
}}
if(bE[bJ].bubble&&bE[bJ].bubble.length>0){var bM=bE[bJ].bubble;

for(var i=0;i<bM.length;i++){var bC=bM[i].context;

if(!bC){bC=this;
}else if(bC==bA[0]){bC=bK;
}bK.addListener(bJ,bM[i].handler,bC,false);
}}}var bL=(i==bG.length-1)?1:0;
this.__pu.add(bK,{flex:bL});
bA=this._getPaneScrollerArr();
}}for(var i=0;i<bA.length;i++){var bK=bA[i];
var bN=(i==(bA.length-1));
bK.getHeader().setHeight(this.getHeaderCellHeight());
bK.setTopRightWidget(bN?this.getChildControl(dm):null);
}
if(!this.isColumnVisibilityButtonVisible()){this._excludeChildControl(dm);
}this._updateScrollerWidths();
this._updateScrollBarVisibility();
},_applyFocusCellOnMouseMove:function(W,X){var Y=this._getPaneScrollerArr();

for(var i=0;i<Y.length;i++){Y[i].setFocusCellOnMouseMove(W);
}},_applyShowCellFocusIndicator:function(bl,bm){var bn=this._getPaneScrollerArr();

for(var i=0;i<bn.length;i++){bn[i].setShowCellFocusIndicator(bl);
}},_applyKeepFirstVisibleRowComplete:function(bY,ca){var cb=this._getPaneScrollerArr();

for(var i=0;i<cb.length;i++){cb[i].onKeepFirstVisibleRowCompleteChanged();
}},getSelectionManager:function(){return this.__pv;
},_getPaneScrollerArr:function(){return this.__pu.getChildren();
},getPaneScroller:function(br){return this._getPaneScrollerArr()[br];
},_cleanUpMetaColumns:function(S){var T=this._getPaneScrollerArr();

if(T!=null){for(var i=T.length-1;i>=S;i--){T[i].destroy();
}}},_onChangeLocale:function(P){this.updateContent();
this._updateStatusBar();
},_onSelectionChanged:function(B){var C=this._getPaneScrollerArr();

for(var i=0;i<C.length;i++){C[i].onSelectionChanged();
}this._updateStatusBar();
},_onTableModelMetaDataChanged:function(cX){var cY=this._getPaneScrollerArr();

for(var i=0;i<cY.length;i++){cY[i].onTableModelMetaDataChanged();
}this._updateStatusBar();
},_onTableModelDataChanged:function(fa){var fb=fa.getData();
this._updateTableData(fb.firstRow,fb.lastRow,fb.firstColumn,fb.lastColumn,fb.removeStart,fb.removeCount);
},_updateTableData:function(cr,cs,ct,cu,cv,cw){var cx=this._getPaneScrollerArr();
if(cw){this.getSelectionModel().removeSelectionInterval(cv,cv+cw);
}
for(var i=0;i<cx.length;i++){cx[i].onTableModelDataChanged(cr,cs,ct,cu);
}var cy=this.getTableModel().getRowCount();

if(cy!=this.__pA){this.__pA=cy;
this._updateScrollBarVisibility();
this._updateStatusBar();
}},_onScrollY:function(cL){if(!this.__pB){this.__pB=true;
var cM=this._getPaneScrollerArr();

for(var i=0;i<cM.length;i++){cM[i].setScrollY(cL.getData());
}this.__pB=false;
}},_onKeyPress:function(cz){if(!this.getEnabled()){return;
}var cG=this.__px;
var cD=true;
var cH=cz.getKeyIdentifier();

if(this.isEditing()){if(cz.getModifiers()==0){switch(cH){case ey:this.stopEditing();
var cG=this.__px;
this.moveFocusedCell(0,1);

if(this.__px!=cG){cD=this.startEditing();
}break;
case dC:this.cancelEditing();
this.focus();
break;
default:cD=false;
break;
}}}else{if(cz.isCtrlPressed()){cD=true;

switch(cH){case dD:var cE=this.getTableModel().getRowCount();

if(cE>0){this.getSelectionModel().setSelectionInterval(0,cE-1);
}break;
default:cD=false;
break;
}}else{switch(cH){case dE:this.__pv.handleSelectKeyDown(this.__px,cz);
break;
case dz:case ey:this.startEditing();
cD=true;
break;
case ei:this.setFocusedCell(this.__pw,0,true);
break;
case dx:var cE=this.getTableModel().getRowCount();
this.setFocusedCell(this.__pw,cE-1,true);
break;
case dO:this.moveFocusedCell(-1,0);
break;
case eg:this.moveFocusedCell(1,0);
break;
case dc:this.moveFocusedCell(0,-1);
break;
case eb:this.moveFocusedCell(0,1);
break;
case dg:case dF:var cC=this.getPaneScroller(0);
var cF=cC.getTablePane();
var cE=cF.getVisibleRowCount()-1;
var cB=this.getRowHeight();
var cA=(cH==dg)?-1:1;
cC.setScrollY(cC.getScrollY()+cA*cE*cB);
this.moveFocusedCell(0,cA*cE);
break;
default:cD=false;
}}}
if(cG!=this.__px&&this.getRowFocusChangeModifiesSelection()){this.__pv.handleMoveKeyDown(this.__px,cz);
}
if(cD){cz.preventDefault();
cz.stopPropagation();
}},_onFocusChanged:function(D){var E=this._getPaneScrollerArr();

for(var i=0;i<E.length;i++){E[i].onFocusChanged();
}},_onColVisibilityChanged:function(bs){var bt=this._getPaneScrollerArr();

for(var i=0;i<bt.length;i++){bt[i].onColVisibilityChanged();
}var bu=bs.getData();

if(this.__pC!=null&&bu.col!=null&&bu.visible!=null){this.__pC[bu.col].setVisible(bu.visible);
}this._updateScrollerWidths();
this._updateScrollBarVisibility();
},_onColWidthChanged:function(cU){var cV=this._getPaneScrollerArr();

for(var i=0;i<cV.length;i++){var cW=cU.getData();
cV[i].setColumnWidth(cW.col,cW.newWidth);
}this._updateScrollerWidths();
this._updateScrollBarVisibility();
},_onColOrderChanged:function(t){var u=this._getPaneScrollerArr();

for(var i=0;i<u.length;i++){u[i].onColOrderChanged();
}this._updateScrollerWidths();
this._updateScrollBarVisibility();
},getTablePaneScrollerAtPageX:function(eR){var eS=this._getMetaColumnAtPageX(eR);
return (eS!=-1)?this.getPaneScroller(eS):null;
},setFocusedCell:function(eI,eJ,eK){if(!this.isEditing()&&(eI!=this.__pw||eJ!=this.__px)){if(eI===null){eI=0;
}this.__pw=eI;
this.__px=eJ;
var eL=this._getPaneScrollerArr();

for(var i=0;i<eL.length;i++){eL[i].setFocusedCell(eI,eJ);
}
if(eI!==null&&eK){this.scrollCellVisible(eI,eJ);
}}},resetSelection:function(){this.getSelectionModel().resetSelection();
},clearSelection:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,dv);
this.resetSelection();
},resetCellFocus:function(){this.setFocusedCell(null,null,false);
},getFocusedColumn:function(){return this.__pw;
},getFocusedRow:function(){return this.__px;
},highlightFocusedRow:function(b){this.getDataRowRenderer().setHighlightFocusRow(b);
},clearFocusedRowHighlight:function(){this.resetCellFocus();
var bX=this._getPaneScrollerArr();

for(var i=0;i<bX.length;i++){bX[i].onFocusChanged();
}},moveFocusedCell:function(cN,cO){var cS=this.__pw;
var cT=this.__px;

if(cS===null||cT===null){return;
}
if(cN!=0){var cR=this.getTableColumnModel();
var x=cR.getVisibleX(cS);
var cQ=cR.getVisibleColumnCount();
x=qx.lang.Number.limit(x+cN,0,cQ-1);
cS=cR.getVisibleColumnAtX(x);
}
if(cO!=0){var cP=this.getTableModel();
cT=qx.lang.Number.limit(cT+cO,0,cP.getRowCount()-1);
}this.setFocusedCell(cS,cT,true);
},scrollCellVisible:function(F,G){var H=this.getTableColumnModel();
var x=H.getVisibleX(F);
var I=this._getMetaColumnAtColumnX(x);

if(I!=-1){this.getPaneScroller(I).scrollCellVisible(F,G);
}},isEditing:function(){if(this.__pw!=null){var x=this.getTableColumnModel().getVisibleX(this.__pw);
var p=this._getMetaColumnAtColumnX(x);
return this.getPaneScroller(p).isEditing();
}return false;
},startEditing:function(){if(this.__pw!=null){var x=this.getTableColumnModel().getVisibleX(this.__pw);
var R=this._getMetaColumnAtColumnX(x);
var Q=this.getPaneScroller(R).startEditing();
return Q;
}return false;
},stopEditing:function(){if(this.__pw!=null){var x=this.getTableColumnModel().getVisibleX(this.__pw);
var c=this._getMetaColumnAtColumnX(x);
this.getPaneScroller(c).stopEditing();
}},cancelEditing:function(){if(this.__pw!=null){var x=this.getTableColumnModel().getVisibleX(this.__pw);
var bS=this._getMetaColumnAtColumnX(x);
this.getPaneScroller(bS).cancelEditing();
}},updateContent:function(){var a=this._getPaneScrollerArr();

for(var i=0;i<a.length;i++){a[i].getTablePane().updateContent();
}},blockHeaderElements:function(){var O=this._getPaneScrollerArr();

for(var i=0;i<O.length;i++){O[i].getHeader().getBlocker().blockContent(20);
}this.getChildControl(dm).getBlocker().blockContent(20);
},unblockHeaderElements:function(){var ba=this._getPaneScrollerArr();

for(var i=0;i<ba.length;i++){ba[i].getHeader().getBlocker().unblockContent();
}this.getChildControl(dm).getBlocker().unblockContent();
},_getMetaColumnAtPageX:function(bv){var bw=this._getPaneScrollerArr();

for(var i=0;i<bw.length;i++){var bx=bw[i].getContainerLocation();

if(bv>=bx.left&&bv<=bx.right){return i;
}}return -1;
},_getMetaColumnAtColumnX:function(bT){var bV=this.getMetaColumnCounts();
var bW=0;

for(var i=0;i<bV.length;i++){var bU=bV[i];
bW+=bU;

if(bU==-1||bT<bW){return i;
}}return -1;
},_updateStatusBar:function(){var v=this.getTableModel();

if(this.getStatusBarVisible()){var w=this.getSelectionModel().getSelectedCount();
var z=v.getRowCount();
var y;

if(z>=0){if(w==0){y=this.trn(dB,dG,z,z);
}else{y=this.trn(dq,dR,z,w,z);
}}
if(this.__pz){if(y){y+=this.__pz;
}else{y=this.__pz;
}}
if(y){this.getChildControl(di).setValue(y);
}}},_updateScrollerWidths:function(){var cd=this._getPaneScrollerArr();

for(var i=0;i<cd.length;i++){var cf=(i==(cd.length-1));
var cg=cd[i].getTablePaneModel().getTotalWidth();
cd[i].setPaneWidth(cg);
var ce=cf?1:0;
cd[i].setLayoutProperties({flex:ce});
}},_updateScrollBarVisibility:function(){if(!this.getBounds()){return;
}var be=qx.ui.table.pane.Scroller.HORIZONTAL_SCROLLBAR;
var bh=qx.ui.table.pane.Scroller.VERTICAL_SCROLLBAR;
var bb=this._getPaneScrollerArr();
var bd=false;
var bg=false;

for(var i=0;i<bb.length;i++){var bi=(i==(bb.length-1));
var bc=bb[i].getNeededScrollBars(bd,!bi);

if(bc&be){bd=true;
}
if(bi&&(bc&bh)){bg=true;
}}for(var i=0;i<bb.length;i++){var bi=(i==(bb.length-1));
var bf;
bb[i].setHorizontalScrollBarVisible(bd);
if(bi){bf=bb[i].getVerticalScrollBarVisible();
}bb[i].setVerticalScrollBarVisible(bi&&bg);
if(bi&&bg!=bf){this.fireDataEvent(ds,bg);
}}},_initColumnMenu:function(){var cj=this.getTableModel();
var ck=this.getTableColumnModel();
var cl=this.getChildControl(dm);
cl.empty();
var ci=cl.getMenu();
var cm={table:this,menu:ci,columnButton:cl};
this.fireDataEvent(et,cm);
this.__pC={};

for(var cn=0,l=cj.getColumnCount();cn<l;cn++){var ch=cl.factory(dU,{text:cj.getColumnName(cn),column:cn,bVisible:ck.isColumnVisible(cn)});
qx.core.Assert.assertInterface(ch,qx.ui.table.IColumnMenuItem);
ch.addListener(em,this._createColumnVisibilityCheckBoxHandler(cn),this);
this.__pC[cn]=ch;
}var cm={table:this,menu:ci,columnButton:cl};
this.fireDataEvent(du,cm);
},_createColumnVisibilityCheckBoxHandler:function(eQ){return function(eG){var eH=this.getTableColumnModel();
eH.setColumnVisible(eQ,eG.getData());
};
},setColumnWidth:function(eO,eP){this.getTableColumnModel().setColumnWidth(eO,eP);
},_onResize:function(){this.fireEvent(dw);
this._updateScrollerWidths();
this._updateScrollBarVisibility();
},addListener:function(eU,eV,self,eW){if(this.self(arguments).__py[eU]){var eY=[eU];

for(var i=0,eX=this._getPaneScrollerArr();i<eX.length;i++){eY.push(eX[i].addListener.apply(eX[i],arguments));
}return eY.join(df);
}else{return qx.ui.core.Widget.prototype.addListener.call(this,eU,eV,self,eW);
}},removeListener:function(bO,bP,self,bQ){if(this.self(arguments).__py[bO]){for(var i=0,bR=this._getPaneScrollerArr();i<bR.length;i++){bR[i].removeListener.apply(bR[i],arguments);
}}else{qx.ui.core.Widget.prototype.removeListener.call(this,bO,bP,self,bQ);
}},removeListenerById:function(d){var h=d.split(df);
var g=h.shift();

if(this.self(arguments).__py[g]){var f=true;

for(var i=0,e=this._getPaneScrollerArr();i<e.length;i++){f=e[i].removeListenerById.call(e[i],h[i])&&f;
}return f;
}else{return qx.ui.core.Widget.prototype.removeListenerById.call(this,d);
}},destroy:function(){this.getChildControl(dm).getMenu().destroy();
qx.ui.core.Widget.prototype.destroy.call(this);
}},destruct:function(){if(qx.core.Variant.isSet(eA,ev)){qx.locale.Manager.getInstance().removeListener(de,this._onChangeLocale,this);
}var V=this.getSelectionModel();

if(V){V.dispose();
}var U=this.getDataRowRenderer();

if(U){U.dispose();
}this._cleanUpMetaColumns(0);
this.getTableColumnModel().dispose();
this._disposeObjects(dW,ea,ez,ez,db);
this._disposeMap(eo);
}});
})();
(function(){var b="qx.ui.table.IRowRenderer";
qx.Interface.define(b,{members:{updateDataRowElement:function(c,d){},getRowHeightStyle:function(a){},createRowStyle:function(e){},getRowClass:function(f){}}});
})();
(function(){var u="",t="table-row-background-even",s="table-row-background-selected",r="table-row",q="background-color:",p="table-row-background-focused",o=';border-bottom: 1px solid ',n=';color:',m="table-row-selected",l="table-row-background-odd",e="default",k="table-row-background-focused-selected",h="qx.ui.table.rowrenderer.Default",d="table-row-line",c="'",g="height:",f=";",i="px;",b="1px solid ",j="Boolean";
qx.Class.define(h,{extend:qx.core.Object,implement:qx.ui.table.IRowRenderer,construct:function(){qx.core.Object.call(this);
this.__pF=u;
this.__pF={};
this.__pG={};
this._renderFont(qx.theme.manager.Font.getInstance().resolve(e));
var y=qx.theme.manager.Color.getInstance();
this.__pG.bgcolFocusedSelected=y.resolve(k);
this.__pG.bgcolFocused=y.resolve(p);
this.__pG.bgcolSelected=y.resolve(s);
this.__pG.bgcolEven=y.resolve(t);
this.__pG.bgcolOdd=y.resolve(l);
this.__pG.colSelected=y.resolve(m);
this.__pG.colNormal=y.resolve(r);
this.__pG.horLine=y.resolve(d);
},properties:{highlightFocusRow:{check:j,init:true}},members:{__pG:null,__pH:null,__pF:null,_insetY:1,_renderFont:function(z){if(z){this.__pH=z.getStyles();
this.__pF=qx.bom.element.Style.compile(this.__pH);
this.__pF=this.__pF.replace(/"/g,c);
}else{this.__pF=u;
this.__pH=qx.bom.Font.getDefaultStyles();
}},updateDataRowElement:function(A,B){var D=this.__pH;
var C=B.style;
qx.bom.element.Style.setStyles(B,D);

if(A.focusedRow&&this.getHighlightFocusRow()){C.backgroundColor=A.selected?this.__pG.bgcolFocusedSelected:this.__pG.bgcolFocused;
}else{if(A.selected){C.backgroundColor=this.__pG.bgcolSelected;
}else{C.backgroundColor=(A.row%2==0)?this.__pG.bgcolEven:this.__pG.bgcolOdd;
}}C.color=A.selected?this.__pG.colSelected:this.__pG.colNormal;
C.borderBottom=b+this.__pG.horLine;
},getRowHeightStyle:function(v){if(qx.bom.client.Feature.CONTENT_BOX){v-=this._insetY;
}return g+v+i;
},createRowStyle:function(w){var x=[];
x.push(f);
x.push(this.__pF);
x.push(q);

if(w.focusedRow&&this.getHighlightFocusRow()){x.push(w.selected?this.__pG.bgcolFocusedSelected:this.__pG.bgcolFocused);
}else{if(w.selected){x.push(this.__pG.bgcolSelected);
}else{x.push((w.row%2==0)?this.__pG.bgcolEven:this.__pG.bgcolOdd);
}}x.push(n);
x.push(w.selected?this.__pG.colSelected:this.__pG.colNormal);
x.push(o,this.__pG.horLine);
return x.join(u);
},getRowClass:function(a){return u;
}},destruct:function(){this.__pG=this.__pH=this.__pF=null;
}});
})();
(function(){var p="pressed",o="hovered",n="changeVisibility",m="qx.ui.menu.Menu",l="submenu",k="Enter",j="contextmenu",i="changeMenu",h="qx.ui.form.MenuButton",g="abandoned",f="_applyMenu";
qx.Class.define(h,{extend:qx.ui.form.Button,construct:function(q,r,s){qx.ui.form.Button.call(this,q,r);
if(s!=null){this.setMenu(s);
}},properties:{menu:{check:m,nullable:true,apply:f,event:i}},members:{_applyMenu:function(a,b){if(b){b.removeListener(n,this._onMenuChange,this);
b.resetOpener();
}
if(a){a.addListener(n,this._onMenuChange,this);
a.setOpener(this);
a.removeState(l);
a.removeState(j);
}},open:function(u){var v=this.getMenu();

if(v){qx.ui.menu.Manager.getInstance().hideAll();
v.setOpener(this);
v.open();
if(u){var w=v.getSelectables()[0];

if(w){v.setSelectedButton(w);
}}}},_onMenuChange:function(e){var t=this.getMenu();

if(t.isVisible()){this.addState(p);
}else{this.removeState(p);
}},_onMouseDown:function(e){var c=this.getMenu();

if(c){if(!c.isVisible()){this.open();
}else{c.exclude();
}e.stopPropagation();
}},_onMouseUp:function(e){qx.ui.form.Button.prototype._onMouseUp.call(this,e);
e.stopPropagation();
},_onMouseOver:function(e){this.addState(o);
},_onMouseOut:function(e){this.removeState(o);
},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case k:this.removeState(g);
this.addState(p);
var d=this.getMenu();

if(d){if(!d.isVisible()){this.open();
}else{d.exclude();
}}e.stopPropagation();
}},_onKeyUp:function(e){}},destruct:function(){if(this.getMenu()){if(!qx.core.ObjectRegistry.inShutDown){this.getMenu().destroy();
}}}});
})();
(function(){var a="qx.ui.table.IColumnMenuButton";
qx.Interface.define(a,{properties:{menu:{}},members:{factory:function(b,c){return true;
},empty:function(){return true;
}}});
})();
(function(){var f="menu-button",e="table-column-reset-button",d="separator",c="user-button",b="qx.ui.table.columnmenu.Button",a="menu";
qx.Class.define(b,{extend:qx.ui.form.MenuButton,implement:qx.ui.table.IColumnMenuButton,construct:function(){qx.ui.form.MenuButton.call(this);
this.__pI=new qx.ui.core.Blocker(this);
},members:{__pJ:null,__pI:null,factory:function(g,h){switch(g){case a:var j=new qx.ui.menu.Menu();
this.setMenu(j);
return j;
case f:var m=new qx.ui.table.columnmenu.MenuItem(h.text);
m.setVisible(h.bVisible);
this.getMenu().add(m);
return m;
case c:var k=new qx.ui.menu.Button(h.text);
k.set({appearance:e});
return k;
case d:return new qx.ui.menu.Separator();
default:throw new Error("Unrecognized factory request: "+g);
}},getBlocker:function(){return this.__pI;
},empty:function(){var n=this.getMenu();
var o=n.getChildren();

for(var i=0,l=o.length;i<l;i++){o[0].destroy();
}}},destruct:function(){this.__pI.dispose();
}});
})();
(function(){var U="keypress",T="interval",S="keydown",R="mousedown",Q="keyup",P="blur",O="Enter",N="__pM",M="__pK",L="Up",F="Escape",K="qx.ui.menu.Manager",I="Left",E="Down",D="Right",H="__pL",G="singleton",J="Space";
qx.Class.define(K,{type:G,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
this.__pK=[];
var bp=document.body;
var bq=qx.event.Registration;
bq.addListener(window.document.documentElement,R,this._onMouseDown,this,true);
bq.addListener(bp,S,this._onKeyUpDown,this,true);
bq.addListener(bp,Q,this._onKeyUpDown,this,true);
bq.addListener(bp,U,this._onKeyPress,this,true);
qx.bom.Element.addListener(window,P,this.hideAll,this);
this.__pL=new qx.event.Timer;
this.__pL.addListener(T,this._onOpenInterval,this);
this.__pM=new qx.event.Timer;
this.__pM.addListener(T,this._onCloseInterval,this);
},members:{__pN:null,__pO:null,__pL:null,__pM:null,__pK:null,_getChild:function(br,bs,bt,bu){var bv=br.getChildren();
var length=bv.length;
var bw;

for(var i=bs;i<length&&i>=0;i+=bt){bw=bv[i];

if(bw.isEnabled()&&!bw.isAnonymous()){return bw;
}}
if(bu){i=i==length?0:length-1;

for(;i!=bs;i+=bt){bw=bv[i];

if(bw.isEnabled()&&!bw.isAnonymous()){return bw;
}}}return null;
},_isInMenu:function(V){while(V){if(V instanceof qx.ui.menu.Menu){return true;
}V=V.getLayoutParent();
}return false;
},_getMenuButton:function(bo){while(bo){if(bo instanceof qx.ui.menu.AbstractButton){return bo;
}bo=bo.getLayoutParent();
}return null;
},add:function(g){{};
var h=this.__pK;
h.push(g);
g.setZIndex(1e6+h.length);
},remove:function(u){{};
var v=this.__pK;

if(v){qx.lang.Array.remove(v,u);
}},hideAll:function(){var bj=this.__pK;

if(bj){for(var i=bj.length-1;i>=0;i--){bj[i].exclude();
}}},getActiveMenu:function(){var bh=this.__pK;
return bh.length>0?bh[bh.length-1]:null;
},scheduleOpen:function(bn){this.cancelClose(bn);
if(bn.isVisible()){if(this.__pN){this.cancelOpen(this.__pN);
}}else if(this.__pN!=bn){this.__pN=bn;
this.__pL.restartWith(bn.getOpenInterval());
}},scheduleClose:function(bg){this.cancelOpen(bg);
if(!bg.isVisible()){if(this.__pO){this.cancelClose(this.__pO);
}}else if(this.__pO!=bg){this.__pO=bg;
this.__pM.restartWith(bg.getCloseInterval());
}},cancelOpen:function(j){if(this.__pN==j){this.__pL.stop();
this.__pN=null;
}},cancelClose:function(bi){if(this.__pO==bi){this.__pM.stop();
this.__pO=null;
}},_onOpenInterval:function(e){this.__pL.stop();
this.__pN.open();
this.__pN=null;
},_onCloseInterval:function(e){this.__pM.stop();
this.__pO.exclude();
this.__pO=null;
},_onMouseDown:function(e){var k=e.getTarget();
k=qx.ui.core.Widget.getWidgetByElement(k);
if(k==null){this.hideAll();
return;
}if(k.getMenu&&k.getMenu()&&k.getMenu().isVisible()){return;
}if(this.__pK.length>0&&!this._isInMenu(k)){this.hideAll();
}},__pP:{"Enter":1,"Space":1},__pQ:{"Escape":1,"Up":1,"Down":1,"Left":1,"Right":1},_onKeyUpDown:function(e){var s=this.getActiveMenu();

if(!s){return;
}var t=e.getKeyIdentifier();

if(this.__pQ[t]||(this.__pP[t]&&s.getSelectedButton())){e.stopPropagation();
}},_onKeyPress:function(e){var l=this.getActiveMenu();

if(!l){return;
}var m=e.getKeyIdentifier();
var o=this.__pQ[m];
var n=this.__pP[m];

if(o){switch(m){case L:this._onKeyPressUp(l);
break;
case E:this._onKeyPressDown(l);
break;
case I:this._onKeyPressLeft(l);
break;
case D:this._onKeyPressRight(l);
break;
case F:this.hideAll();
break;
}e.stopPropagation();
e.preventDefault();
}else if(n){var p=l.getSelectedButton();

if(p){switch(m){case O:this._onKeyPressEnter(l,p,e);
break;
case J:this._onKeyPressSpace(l,p,e);
break;
}e.stopPropagation();
e.preventDefault();
}}},_onKeyPressUp:function(a){var b=a.getSelectedButton();
var c=a.getChildren();
var f=b?a.indexOf(b)-1:c.length-1;
var d=this._getChild(a,f,-1,true);
if(d){a.setSelectedButton(d);
}else{a.resetSelectedButton();
}},_onKeyPressDown:function(w){var x=w.getSelectedButton();
var z=x?w.indexOf(x)+1:0;
var y=this._getChild(w,z,1,true);
if(y){w.setSelectedButton(y);
}else{w.resetSelectedButton();
}},_onKeyPressLeft:function(bx){var bC=bx.getOpener();

if(!bC){return;
}if(bC instanceof qx.ui.menu.Button){var bz=bC.getLayoutParent();
bz.resetOpenedButton();
bz.setSelectedButton(bC);
}else if(bC instanceof qx.ui.menubar.Button){var bB=bC.getMenuBar().getMenuButtons();
var by=bB.indexOf(bC);
if(by===-1){return;
}var bD=null;
var length=bB.length;

for(var i=1;i<=length;i++){var bA=bB[(by-i+length)%length];

if(bA.isEnabled()){bD=bA;
break;
}}
if(bD&&bD!=bC){bD.open(true);
}}},_onKeyPressRight:function(W){var Y=W.getSelectedButton();
if(Y){var X=Y.getMenu();

if(X){W.setOpenedButton(Y);
var bf=this._getChild(X,0,1);

if(bf){X.setSelectedButton(bf);
}return;
}}else if(!W.getOpenedButton()){var bf=this._getChild(W,0,1);

if(bf){W.setSelectedButton(bf);

if(bf.getMenu()){W.setOpenedButton(bf);
}return;
}}var bd=W.getOpener();
if(bd instanceof qx.ui.menu.Button&&Y){while(bd){bd=bd.getLayoutParent();

if(bd instanceof qx.ui.menu.Menu){bd=bd.getOpener();

if(bd instanceof qx.ui.menubar.Button){break;
}}else{break;
}}
if(!bd){return;
}}if(bd instanceof qx.ui.menubar.Button){var bc=bd.getMenuBar().getMenuButtons();
var ba=bc.indexOf(bd);
if(ba===-1){return;
}var be=null;
var length=bc.length;

for(var i=1;i<=length;i++){var bb=bc[(ba+i)%length];

if(bb.isEnabled()){be=bb;
break;
}}
if(be&&be!=bd){be.open(true);
}}},_onKeyPressEnter:function(A,B,e){if(B.hasListener(U)){var C=e.clone();
C.setBubbles(false);
C.setTarget(B);
B.dispatchEvent(C);
}this.hideAll();
},_onKeyPressSpace:function(bk,bl,e){if(bl.hasListener(U)){var bm=e.clone();
bm.setBubbles(false);
bm.setTarget(bl);
bl.dispatchEvent(bm);
}}},destruct:function(){var r=qx.event.Registration;
var q=document.body;
r.removeListener(window.document.documentElement,R,this._onMouseDown,this,true);
r.removeListener(q,S,this._onKeyUpDown,this,true);
r.removeListener(q,Q,this._onKeyUpDown,this,true);
r.removeListener(q,U,this._onKeyPress,this,true);
this._disposeObjects(H,N);
this._disposeArray(M);
}});
})();
(function(){var H="slidebar",G="Integer",F="resize",E="qx.ui.core.Widget",D="selected",C="visible",B="Boolean",A="mouseout",z="excluded",y="menu",W="_applySelectedButton",V="_applySpacingY",U="_blocker",T="_applyCloseInterval",S="_applyBlockerColor",R="_applyIconColumnWidth",Q="mouseover",P="_applyArrowColumnWidth",O="qx.ui.menu.Menu",N="Color",L="Number",M="_applyOpenInterval",J="_applySpacingX",K="_applyBlockerOpacity",I="_applyOpenedButton";
qx.Class.define(O,{extend:qx.ui.core.Widget,include:[qx.ui.core.MPlacement,qx.ui.core.MRemoteChildrenHandling],construct:function(){qx.ui.core.Widget.call(this);
this._setLayout(new qx.ui.menu.Layout);
var a=this.getApplicationRoot();
a.add(this);
this.addListener(Q,this._onMouseOver);
this.addListener(A,this._onMouseOut);
this.addListener(F,this._onResize,this);
a.addListener(F,this._onResize,this);
this._blocker=new qx.ui.core.Blocker(a);
this.initVisibility();
this.initKeepFocus();
this.initKeepActive();
},properties:{appearance:{refine:true,init:y},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false},visibility:{refine:true,init:z},keepFocus:{refine:true,init:true},keepActive:{refine:true,init:true},spacingX:{check:G,apply:J,init:0,themeable:true},spacingY:{check:G,apply:V,init:0,themeable:true},iconColumnWidth:{check:G,init:0,themeable:true,apply:R},arrowColumnWidth:{check:G,init:0,themeable:true,apply:P},blockerColor:{check:N,init:null,nullable:true,apply:S,themeable:true},blockerOpacity:{check:L,init:1,apply:K,themeable:true},selectedButton:{check:E,nullable:true,apply:W},openedButton:{check:E,nullable:true,apply:I},opener:{check:E,nullable:true},openInterval:{check:G,themeable:true,init:250,apply:M},closeInterval:{check:G,themeable:true,init:250,apply:T},blockBackground:{check:B,themeable:true,init:false}},members:{__pR:null,__pS:null,_blocker:null,open:function(){if(this.getOpener()!=null){this.placeToWidget(this.getOpener());
this.__pU();
this.show();
this._placementTarget=this.getOpener();
}else{this.warn("The menu instance needs a configured 'opener' widget!");
}},openAtMouse:function(e){this.placeToMouse(e);
this.__pU();
this.show();
this._placementTarget={left:e.getDocumentLeft(),top:e.getDocumentTop()};
},openAtPoint:function(X){this.placeToPoint(X);
this.__pU();
this.show();
this._placementTarget=X;
},addSeparator:function(){this.add(new qx.ui.menu.Separator);
},getColumnSizes:function(){return this._getMenuLayout().getColumnSizes();
},getSelectables:function(){var w=[];
var x=this.getChildren();

for(var i=0;i<x.length;i++){if(x[i].isEnabled()){w.push(x[i]);
}}return w;
},_applyIconColumnWidth:function(bj,bk){this._getMenuLayout().setIconColumnWidth(bj);
},_applyArrowColumnWidth:function(d,f){this._getMenuLayout().setArrowColumnWidth(d);
},_applySpacingX:function(bf,bg){this._getMenuLayout().setColumnSpacing(bf);
},_applySpacingY:function(bh,bi){this._getMenuLayout().setSpacing(bh);
},_applyVisibility:function(bb,bc){qx.ui.core.Widget.prototype._applyVisibility.call(this,bb,bc);
var bd=qx.ui.menu.Manager.getInstance();

if(bb===C){bd.add(this);
var be=this.getParentMenu();

if(be){be.setOpenedButton(this.getOpener());
}}else if(bc===C){bd.remove(this);
var be=this.getParentMenu();

if(be&&be.getOpenedButton()==this.getOpener()){be.resetOpenedButton();
}this.resetOpenedButton();
this.resetSelectedButton();
}this.__pT();
},__pT:function(){if(this.isVisible()){if(this.getBlockBackground()){var br=this.getZIndex();
this._blocker.blockContent(br-1);
}}else{if(this._blocker.isContentBlocked()){this._blocker.unblockContent();
}}},getParentMenu:function(){var bp=this.getOpener();

if(!bp||!(bp instanceof qx.ui.menu.AbstractButton)){return null;
}
while(bp&&!(bp instanceof qx.ui.menu.Menu)){bp=bp.getLayoutParent();
}return bp;
},_applySelectedButton:function(bn,bo){if(bo){bo.removeState(D);
}
if(bn){bn.addState(D);
}},_applyOpenedButton:function(b,c){if(c){c.getMenu().exclude();
}
if(b){b.getMenu().open();
}},_applyBlockerColor:function(Y,ba){this._blocker.setColor(Y);
},_applyBlockerOpacity:function(m,n){this._blocker.setOpacity(m);
},getChildrenContainer:function(){return this.getChildControl(H,true)||this;
},_createChildControlImpl:function(o){var p;

switch(o){case H:var p=new qx.ui.menu.MenuSlideBar();
var r=this._getLayout();
this._setLayout(new qx.ui.layout.Grow());
var q=p.getLayout();
p.setLayout(r);
q.dispose();
var s=qx.lang.Array.clone(this.getChildren());

for(var i=0;i<s.length;i++){p.add(s[i]);
}this.removeListener(F,this._onResize,this);
p.getChildrenContainer().addListener(F,this._onResize,this);
this._add(p);
break;
}return p||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,o);
},_getMenuLayout:function(){if(this.hasChildControl(H)){return this.getChildControl(H).getChildrenContainer().getLayout();
}else{return this._getLayout();
}},_getMenuBounds:function(){if(this.hasChildControl(H)){return this.getChildControl(H).getChildrenContainer().getBounds();
}else{return this.getBounds();
}},_computePlacementSize:function(){return this._getMenuBounds();
},__pU:function(){var u=this._getMenuBounds();

if(!u){this.addListenerOnce(F,this.__pU,this);
return;
}var t=this.getLayoutParent().getBounds().height;
var top=this.getLayoutProperties().top;
var v=this.getLayoutProperties().left;
if(top<0){this._assertSlideBar(function(){this.setHeight(u.height+top);
this.moveTo(v,0);
});
}else if(top+u.height>t){this._assertSlideBar(function(){this.setHeight(t-top);
});
}else{this.setHeight(null);
}},_assertSlideBar:function(bq){if(this.hasChildControl(H)){return bq.call(this);
}this.__pS=bq;
qx.ui.core.queue.Widget.add(this);
},syncWidget:function(){this.getChildControl(H);

if(this.__pS){this.__pS.call(this);
delete this.__pS;
}},_onResize:function(){if(this.isVisible()){var g=this._placementTarget;

if(!g){return;
}else if(g instanceof qx.ui.core.Widget){this.placeToWidget(g);
}else if(g.top!==undefined){this.placeToPoint(g);
}else{throw new Error("Unknown target: "+g);
}this.__pU();
}},_onMouseOver:function(e){var j=qx.ui.menu.Manager.getInstance();
j.cancelClose(this);
var k=e.getTarget();

if(k.isEnabled()&&k instanceof qx.ui.menu.AbstractButton){this.setSelectedButton(k);
var h=k.getMenu&&k.getMenu();

if(h){h.setOpener(k);
j.scheduleOpen(h);
this.__pR=h;
}else{var l=this.getOpenedButton();

if(l){j.scheduleClose(l.getMenu());
}
if(this.__pR){j.cancelOpen(this.__pR);
this.__pR=null;
}}}else if(!this.getOpenedButton()){this.resetSelectedButton();
}},_onMouseOut:function(e){var bl=qx.ui.menu.Manager.getInstance();
if(!qx.ui.core.Widget.contains(this,e.getRelatedTarget())){var bm=this.getOpenedButton();
bm?this.setSelectedButton(bm):this.resetSelectedButton();
if(bm){bl.cancelClose(bm.getMenu());
}if(this.__pR){bl.cancelOpen(this.__pR);
}}}},destruct:function(){if(!qx.core.ObjectRegistry.inShutDown){qx.ui.menu.Manager.getInstance().remove(this);
}this.getApplicationRoot().removeListener(F,this._onResize,this);
this._placementTarget=null;
this._disposeObjects(U);
}});
})();
(function(){var c="Integer",b="_applyLayoutChange",a="qx.ui.menu.Layout";
qx.Class.define(a,{extend:qx.ui.layout.VBox,properties:{columnSpacing:{check:c,init:0,apply:b},spanColumn:{check:c,init:1,nullable:true,apply:b},iconColumnWidth:{check:c,init:0,themeable:true,apply:b},arrowColumnWidth:{check:c,init:0,themeable:true,apply:b}},members:{__pV:null,_computeSizeHint:function(){var q=this._getLayoutChildren();
var o,g,j;
var e=this.getSpanColumn();
var h=this.__pV=[0,0,0,0];
var m=this.getColumnSpacing();
var k=0;
var f=0;
for(var i=0,l=q.length;i<l;i++){o=q[i];

if(o.isAnonymous()){continue;
}g=o.getChildrenSizes();

for(var n=0;n<g.length;n++){if(e!=null&&n==e&&g[e+1]==0){k=Math.max(k,g[n]);
}else{h[n]=Math.max(h[n],g[n]);
}}var d=q[i].getInsets();
f=Math.max(f,d.left+d.right);
}if(e!=null&&h[e]+m+h[e+1]<k){h[e]=k-h[e+1]-m;
}if(k==0){j=m*2;
}else{j=m*3;
}if(h[0]==0){h[0]=this.getIconColumnWidth();
}if(h[3]==0){h[3]=this.getArrowColumnWidth();
}var p=qx.ui.layout.VBox.prototype._computeSizeHint.call(this).height;
return {minHeight:p,height:p,width:qx.lang.Array.sum(h)+f+j};
},getColumnSizes:function(){return this.__pV||null;
}},destruct:function(){this.__pV=null;
}});
})();
(function(){var b="menu-separator",a="qx.ui.menu.Separator";
qx.Class.define(a,{extend:qx.ui.core.Widget,properties:{appearance:{refine:true,init:b},anonymous:{refine:true,init:true}}});
})();
(function(){var t="icon",s="label",r="arrow",q="shortcut",p="changeLocale",o="qx.dynlocale",n="submenu",m="on",l="String",k="qx.ui.menu.Menu",d="qx.ui.menu.AbstractButton",j="keypress",h="",c="_applyIcon",b="mouseup",g="abstract",f="_applyLabel",i="_applyMenu",a="changeCommand";
qx.Class.define(d,{extend:qx.ui.core.Widget,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],type:g,construct:function(){qx.ui.core.Widget.call(this);
this._setLayout(new qx.ui.menu.ButtonLayout);
this.addListener(b,this._onMouseUp);
this.addListener(j,this._onKeyPress);
this.addListener(a,this._onChangeCommand,this);
},properties:{blockToolTip:{refine:true,init:true},label:{check:l,apply:f,nullable:true},menu:{check:k,apply:i,nullable:true},icon:{check:l,apply:c,themeable:true,nullable:true}},members:{_createChildControlImpl:function(E){var F;

switch(E){case t:F=new qx.ui.basic.Image;
F.setAnonymous(true);
this._add(F,{column:0});
break;
case s:F=new qx.ui.basic.Label;
F.setAnonymous(true);
this._add(F,{column:1});
break;
case q:F=new qx.ui.basic.Label;
F.setAnonymous(true);
this._add(F,{column:2});
break;
case r:F=new qx.ui.basic.Image;
F.setAnonymous(true);
this._add(F,{column:3});
break;
}return F||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,E);
},_forwardStates:{selected:1},getChildrenSizes:function(){var u=0,v=0,w=0,A=0;

if(this._isChildControlVisible(t)){var B=this.getChildControl(t);
u=B.getMarginLeft()+B.getSizeHint().width+B.getMarginRight();
}
if(this._isChildControlVisible(s)){var y=this.getChildControl(s);
v=y.getMarginLeft()+y.getSizeHint().width+y.getMarginRight();
}
if(this._isChildControlVisible(q)){var x=this.getChildControl(q);
w=x.getMarginLeft()+x.getSizeHint().width+x.getMarginRight();
}
if(this._isChildControlVisible(r)){var z=this.getChildControl(r);
A=z.getMarginLeft()+z.getSizeHint().width+z.getMarginRight();
}return [u,v,w,A];
},_onMouseUp:function(e){},_onKeyPress:function(e){},_onChangeCommand:function(e){var M=e.getData();

if(qx.core.Variant.isSet(o,m)){var K=e.getOldData();

if(!K){qx.locale.Manager.getInstance().addListener(p,this._onChangeLocale,this);
}
if(!M){qx.locale.Manager.getInstance().removeListener(p,this._onChangeLocale,this);
}}var L=M!=null?M.toString():h;
this.getChildControl(q).setValue(L);
},_onChangeLocale:qx.core.Variant.select(o,{"on":function(e){var N=this.getCommand();

if(N!=null){this.getChildControl(q).setValue(N.toString());
}},"off":null}),_applyIcon:function(I,J){if(I){this._showChildControl(t).setSource(I);
}else{this._excludeChildControl(t);
}},_applyLabel:function(C,D){if(C){this._showChildControl(s).setValue(C);
}else{this._excludeChildControl(s);
}},_applyMenu:function(G,H){if(H){H.resetOpener();
H.removeState(n);
}
if(G){this._showChildControl(r);
G.setOpener(this);
G.addState(n);
}else{this._excludeChildControl(r);
}}},destruct:function(){if(this.getMenu()){if(!qx.core.ObjectRegistry.inShutDown){this.getMenu().destroy();
}}
if(qx.core.Variant.isSet(o,m)){qx.locale.Manager.getInstance().removeListener(p,this._onChangeLocale,this);
}}});
})();
(function(){var c="middle",b="qx.ui.menu.ButtonLayout",a="left";
qx.Class.define(b,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:null,renderLayout:function(j,k){var v=this._getLayoutChildren();
var u;
var n;
var o=[];

for(var i=0,l=v.length;i<l;i++){u=v[i];
n=u.getLayoutProperties().column;
o[n]=u;
}var t=this.__pW(v[0]);
var w=t.getColumnSizes();
var q=t.getSpacingX();
var p=qx.lang.Array.sum(w)+q*(w.length-1);

if(p<j){w[1]+=j-p;
}var x=0,top=0;
var r=qx.ui.layout.Util;

for(var i=0,l=w.length;i<l;i++){u=o[i];

if(u){var m=u.getSizeHint();
var top=r.computeVerticalAlignOffset(u.getAlignY()||c,m.height,k,0,0);
var s=r.computeHorizontalAlignOffset(u.getAlignX()||a,m.width,w[i],u.getMarginLeft(),u.getMarginRight());
u.renderLayout(x+s,top,m.width,m.height);
}x+=w[i]+q;
}},__pW:function(d){while(!(d instanceof qx.ui.menu.Menu)){d=d.getLayoutParent();
}return d;
},_computeSizeHint:function(){var g=this._getLayoutChildren();
var f=0;
var h=0;

for(var i=0,l=g.length;i<l;i++){var e=g[i].getSizeHint();
h+=e.width;
f=Math.max(f,e.height);
}return {width:h,height:f};
}}});
})();
(function(){var z="horizontal",y="scrollpane",x="vertical",w="button-backward",v="button-forward",u="content",t="execute",s="qx.ui.container.SlideBar",r="scrollY",q="removeChildWidget",m="scrollX",p="_applyOrientation",o="mousewheel",l="Integer",k="slidebar",n="update";
qx.Class.define(s,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MRemoteLayoutHandling],construct:function(A){qx.ui.core.Widget.call(this);
var B=this.getChildControl(y);
this._add(B,{flex:1});

if(A!=null){this.setOrientation(A);
}else{this.initOrientation();
}this.addListener(o,this._onMouseWheel,this);
},properties:{appearance:{refine:true,init:k},orientation:{check:[z,x],init:z,apply:p},scrollStep:{check:l,init:15,themeable:true}},members:{getChildrenContainer:function(){return this.getChildControl(u);
},_createChildControlImpl:function(a){var b;

switch(a){case v:b=new qx.ui.form.RepeatButton;
b.addListener(t,this._onExecuteForward,this);
b.setFocusable(false);
this._addAt(b,2);
break;
case w:b=new qx.ui.form.RepeatButton;
b.addListener(t,this._onExecuteBackward,this);
b.setFocusable(false);
this._addAt(b,0);
break;
case u:b=new qx.ui.container.Composite();
if(qx.bom.client.Engine.GECKO){b.addListener(q,this._onRemoveChild,this);
}this.getChildControl(y).add(b);
break;
case y:b=new qx.ui.core.scroll.ScrollPane();
b.addListener(n,this._onResize,this);
b.addListener(m,this._onScroll,this);
b.addListener(r,this._onScroll,this);
break;
}return b||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,a);
},_forwardStates:{barLeft:true,barTop:true,barRight:true,barBottom:true},scrollBy:function(i){var j=this.getChildControl(y);

if(this.getOrientation()===z){j.scrollByX(i);
}else{j.scrollByY(i);
}},scrollTo:function(C){var D=this.getChildControl(y);

if(this.getOrientation()===z){D.scrollToX(C);
}else{D.scrollToY(C);
}},_applyOrientation:function(c,d){var h=[this.getLayout(),this._getLayout()];
var g=this.getChildControl(v);
var f=this.getChildControl(w);
if(d==x){g.removeState(x);
f.removeState(x);
g.addState(z);
f.addState(z);
}else if(d==z){g.removeState(z);
f.removeState(z);
g.addState(x);
f.addState(x);
}
if(c==z){this._setLayout(new qx.ui.layout.HBox());
this.setLayout(new qx.ui.layout.HBox());
}else{this._setLayout(new qx.ui.layout.VBox());
this.setLayout(new qx.ui.layout.VBox());
}
if(h[0]){h[0].dispose();
}
if(h[1]){h[1].dispose();
}},_onMouseWheel:function(e){this.scrollBy(e.getWheelDelta()*this.getScrollStep());
e.stop();
},_onScroll:function(){this._updateArrowsEnabled();
},_onResize:function(e){var content=this.getChildControl(y).getChildren()[0];

if(!content){return;
}var H=this.getInnerSize();
var J=content.getBounds();
var I=(this.getOrientation()===z)?J.width>H.width:J.height>H.height;

if(I){this._showArrows();
this._updateArrowsEnabled();
}else{this._hideArrows();
}},_onExecuteBackward:function(){this.scrollBy(-this.getScrollStep());
},_onExecuteForward:function(){this.scrollBy(this.getScrollStep());
},_onRemoveChild:function(){qx.event.Timer.once(function(){this.scrollBy(this.getChildControl(y).getScrollX());
},this,50);
},_updateArrowsEnabled:function(){var F=this.getChildControl(y);

if(this.getOrientation()===z){var E=F.getScrollX();
var G=F.getScrollMaxX();
}else{var E=F.getScrollY();
var G=F.getScrollMaxY();
}this.getChildControl(w).setEnabled(E>0);
this.getChildControl(v).setEnabled(E<G);
},_showArrows:function(){this._showChildControl(v);
this._showChildControl(w);
},_hideArrows:function(){this._excludeChildControl(v);
this._excludeChildControl(w);
this.scrollTo(0);
}}});
})();
(function(){var f="execute",e="button-backward",d="vertical",c="button-forward",b="menu-slidebar",a="qx.ui.menu.MenuSlideBar";
qx.Class.define(a,{extend:qx.ui.container.SlideBar,construct:function(){qx.ui.container.SlideBar.call(this,d);
},properties:{appearance:{refine:true,init:b}},members:{_createChildControlImpl:function(g){var h;

switch(g){case c:h=new qx.ui.form.HoverButton();
h.addListener(f,this._onExecuteForward,this);
this._addAt(h,2);
break;
case e:h=new qx.ui.form.HoverButton();
h.addListener(f,this._onExecuteBackward,this);
this._addAt(h,0);
break;
}return h||qx.ui.container.SlideBar.prototype._createChildControlImpl.call(this,g);
}}});
})();
(function(){var k="Integer",j="hovered",i="hover-button",h="interval",g="mouseover",f="mouseout",d="__pX",c="qx.ui.form.HoverButton";
qx.Class.define(c,{extend:qx.ui.basic.Atom,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],construct:function(a,b){qx.ui.basic.Atom.call(this,a,b);
this.addListener(g,this._onMouseOver,this);
this.addListener(f,this._onMouseOut,this);
this.__pX=new qx.event.AcceleratingTimer();
this.__pX.addListener(h,this._onInterval,this);
},properties:{appearance:{refine:true,init:i},interval:{check:k,init:80},firstInterval:{check:k,init:200},minTimer:{check:k,init:20},timerDecrease:{check:k,init:2}},members:{__pX:null,_onMouseOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;
}this.__pX.set({interval:this.getInterval(),firstInterval:this.getFirstInterval(),minimum:this.getMinTimer(),decrease:this.getTimerDecrease()}).start();
this.addState(j);
},_onMouseOut:function(e){this.__pX.stop();
this.removeState(j);

if(!this.isEnabled()||e.getTarget()!==this){return;
}},_onInterval:function(){if(this.isEnabled()){this.execute();
}else{this.__pX.stop();
}}},destruct:function(){this._disposeObjects(d);
}});
})();
(function(){var b="qx.ui.menu.Button",a="menu-button";
qx.Class.define(b,{extend:qx.ui.menu.AbstractButton,construct:function(c,d,f,g){qx.ui.menu.AbstractButton.call(this);
if(c!=null){this.setLabel(c);
}
if(d!=null){this.setIcon(d);
}
if(f!=null){this.setCommand(f);
}
if(g!=null){this.setMenu(g);
}},properties:{appearance:{refine:true,init:a}},members:{_onMouseUp:function(e){if(e.isLeftPressed()){this.execute();
if(this.getMenu()){return;
}}qx.ui.menu.Manager.getInstance().hideAll();
},_onKeyPress:function(e){this.execute();
}}});
})();
(function(){var j="pressed",i="hovered",h="inherit",g="qx.ui.menubar.Button",f="keydown",d="menubar-button",c="keyup";
qx.Class.define(g,{extend:qx.ui.form.MenuButton,construct:function(l,m,n){qx.ui.form.MenuButton.call(this,l,m,n);
this.removeListener(f,this._onKeyDown);
this.removeListener(c,this._onKeyUp);
},properties:{appearance:{refine:true,init:d},show:{refine:true,init:h},focusable:{refine:true,init:false}},members:{getMenuBar:function(){var parent=this;

while(parent){if(parent instanceof qx.ui.toolbar.ToolBar){return parent;
}parent=parent.getLayoutParent();
}return null;
},open:function(b){qx.ui.form.MenuButton.prototype.open.call(this,b);
var menubar=this.getMenuBar();
menubar._setAllowMenuOpenHover(true);
},_onMenuChange:function(e){var a=this.getMenu();
var menubar=this.getMenuBar();

if(a.isVisible()){this.addState(j);
if(menubar){menubar.setOpenMenu(a);
}}else{this.removeState(j);
if(menubar&&menubar.getOpenMenu()==a){menubar.resetOpenMenu();
menubar._setAllowMenuOpenHover(false);
}}},_onMouseUp:function(e){qx.ui.form.MenuButton.prototype._onMouseUp.call(this,e);
var k=this.getMenu();

if(k&&k.isVisible()&&!this.hasState(j)){this.addState(j);
}},_onMouseOver:function(e){this.addState(i);
if(this.getMenu()){var menubar=this.getMenuBar();

if(menubar._isAllowMenuOpenHover()){qx.ui.menu.Manager.getInstance().hideAll();
menubar._setAllowMenuOpenHover(true);
if(this.isEnabled()){this.open();
}}}}}});
})();
(function(){var o="both",n="qx.ui.menu.Menu",m="_applySpacing",k="icon",j="label",h="changeShow",g="Integer",f="qx.ui.toolbar.ToolBar",e="toolbar",d="changeOpenMenu";
qx.Class.define(f,{extend:qx.ui.core.Widget,include:qx.ui.core.MChildrenHandling,construct:function(){qx.ui.core.Widget.call(this);
this._setLayout(new qx.ui.layout.HBox());
},properties:{appearance:{refine:true,init:e},openMenu:{check:n,event:d,nullable:true},show:{init:o,check:[o,j,k],inheritable:true,event:h},spacing:{nullable:true,check:g,themeable:true,apply:m}},members:{__pY:false,_setAllowMenuOpenHover:function(p){this.__pY=p;
},_isAllowMenuOpenHover:function(){return this.__pY;
},_applySpacing:function(a,b){var c=this._getLayout();
a==null?c.resetSpacing():c.setSpacing(a);
},addSpacer:function(){var q=new qx.ui.core.Spacer;
this._add(q,{flex:1});
return q;
},addSeparator:function(){this.add(new qx.ui.toolbar.Separator);
},getMenuButtons:function(){var s=this.getChildren();
var r=[];
var t;

for(var i=0,l=s.length;i<l;i++){t=s[i];

if(t instanceof qx.ui.menubar.Button){r.push(t);
}else if(t instanceof qx.ui.toolbar.Part){r.push.apply(r,t.getMenuButtons());
}}return r;
}}});
})();
(function(){var b="toolbar-separator",a="qx.ui.toolbar.Separator";
qx.Class.define(a,{extend:qx.ui.core.Widget,properties:{appearance:{refine:true,init:b},anonymous:{refine:true,init:true},width:{refine:true,init:0},height:{refine:true,init:0}}});
})();
(function(){var o="container",n="handle",m="both",k="Integer",j="middle",h="qx.ui.toolbar.Part",g="icon",f="label",e="changeShow",d="_applySpacing",c="toolbar/part";
qx.Class.define(h,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling],construct:function(){qx.ui.core.Widget.call(this);
this._setLayout(new qx.ui.layout.HBox);
this._createChildControl(n);
},properties:{appearance:{refine:true,init:c},show:{init:m,check:[m,f,g],inheritable:true,event:e},spacing:{nullable:true,check:k,themeable:true,apply:d}},members:{_createChildControlImpl:function(a){var b;

switch(a){case n:b=new qx.ui.basic.Image();
b.setAlignY(j);
this._add(b);
break;
case o:b=new qx.ui.toolbar.PartContainer;
this._add(b);
break;
}return b||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,a);
},getChildrenContainer:function(){return this.getChildControl(o);
},_applySpacing:function(p,q){var r=this.getChildControl(o).getLayout();
p==null?r.resetSpacing():r.setSpacing(p);
},addSeparator:function(){this.add(new qx.ui.toolbar.Separator);
},getMenuButtons:function(){var t=this.getChildren();
var s=[];
var u;

for(var i=0,l=t.length;i<l;i++){u=t[i];

if(u instanceof qx.ui.menubar.Button){s.push(u);
}}return s;
}}});
})();
(function(){var f="both",e="toolbar/part/container",d="icon",c="changeShow",b="qx.ui.toolbar.PartContainer",a="label";
qx.Class.define(b,{extend:qx.ui.container.Composite,construct:function(){qx.ui.container.Composite.call(this);
this._setLayout(new qx.ui.layout.HBox);
},properties:{appearance:{refine:true,init:e},show:{init:f,check:[f,a,d],inheritable:true,event:c}}});
})();
(function(){var h="checked",g="menu-checkbox",f="Boolean",d="_applyValue",c="changeValue",b="qx.ui.menu.CheckBox",a="execute";
qx.Class.define(b,{extend:qx.ui.menu.AbstractButton,implement:[qx.ui.form.IBooleanForm],construct:function(i,j){qx.ui.menu.AbstractButton.call(this);
if(i!=null){if(i.translate){this.setLabel(i.translate());
}else{this.setLabel(i);
}}
if(j!=null){this.setMenu(j);
}this.addListener(a,this._onExecute,this);
},properties:{appearance:{refine:true,init:g},value:{check:f,init:false,apply:d,event:c,nullable:true}},members:{_applyValue:function(k,l){k?this.addState(h):this.removeState(h);
},_onExecute:function(e){this.toggleValue();
},_onMouseUp:function(e){if(e.isLeftPressed()){this.execute();
}qx.ui.menu.Manager.getInstance().hideAll();
},_onKeyPress:function(e){this.execute();
}}});
})();
(function(){var b="qx.ui.table.IColumnMenuItem",a="qx.event.type.Data";
qx.Interface.define(b,{properties:{visible:{}},events:{changeVisible:a}});
})();
(function(){var f="changeVisible",d="qx.ui.table.columnmenu.MenuItem",c="_applyVisible",b="Boolean",a="changeValue";
qx.Class.define(d,{extend:qx.ui.menu.CheckBox,implement:qx.ui.table.IColumnMenuItem,properties:{visible:{check:b,init:true,apply:c,event:f}},construct:function(g){qx.ui.menu.CheckBox.call(this,g);
this.addListener(a,function(e){this.bInListener=true;
this.setVisible(e.getData());
this.bInListener=false;
});
},members:{__qa:false,_applyVisible:function(h,i){if(!this.bInListener){this.setValue(h);
}}}});
})();
(function(){var b="qx.ui.table.selection.Model",a="qx.ui.table.selection.Manager";
qx.Class.define(a,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
},properties:{selectionModel:{check:b}},members:{__qb:null,handleMouseDown:function(c,d){if(d.isLeftPressed()){var e=this.getSelectionModel();

if(!e.isSelectedIndex(c)){this._handleSelectEvent(c,d);
this.__qb=true;
}else{this.__qb=false;
}}else if(d.isRightPressed()&&d.getModifiers()==0){var e=this.getSelectionModel();

if(!e.isSelectedIndex(c)){e.setSelectionInterval(c,c);
}}},handleMouseUp:function(q,r){if(r.isLeftPressed()&&!this.__qb){this._handleSelectEvent(q,r);
}},handleClick:function(f,g){},handleSelectKeyDown:function(s,t){this._handleSelectEvent(s,t);
},handleMoveKeyDown:function(h,i){var k=this.getSelectionModel();

switch(i.getModifiers()){case 0:k.setSelectionInterval(h,h);
break;
case qx.event.type.Dom.SHIFT_MASK:var j=k.getAnchorSelectionIndex();

if(j==-1){k.setSelectionInterval(h,h);
}else{k.setSelectionInterval(j,h);
}break;
}},_handleSelectEvent:function(l,m){var p=this.getSelectionModel();
var n=p.getLeadSelectionIndex();
var o=p.getAnchorSelectionIndex();

if(m.isShiftPressed()){if(l!=n||p.isSelectionEmpty()){if(o==-1){o=l;
}
if(m.isCtrlOrCommandPressed()){p.addSelectionInterval(o,l);
}else{p.setSelectionInterval(o,l);
}}}else if(m.isCtrlOrCommandPressed()){if(p.isSelectedIndex(l)){p.removeSelectionInterval(l,l);
}else{p.addSelectionInterval(l,l);
}}else{p.setSelectionInterval(l,l);
}}}});
})();
(function(){var C="..",B="changeSelection",A="Use 'resetSelection' instead",z=" [",y="]",x="qx.event.type.Event",w="Ranges:",v="qx.ui.table.selection.Model",u="_applySelectionMode",t="Use '_resetSelection' instead.";
qx.Class.define(v,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
this.__qc=[];
this.__qd=-1;
this.__qe=-1;
this.hasBatchModeRefCount=0;
this.__qf=false;
},events:{"changeSelection":x},statics:{NO_SELECTION:1,SINGLE_SELECTION:2,SINGLE_INTERVAL_SELECTION:3,MULTIPLE_INTERVAL_SELECTION:4,MULTIPLE_INTERVAL_SELECTION_TOGGLE:5},properties:{selectionMode:{init:2,check:[1,2,3,4,5],apply:u}},members:{__qf:null,__qd:null,__qe:null,__qc:null,_applySelectionMode:function(a){this.resetSelection();
},setBatchMode:function(r){if(r){this.hasBatchModeRefCount+=1;
}else{if(this.hasBatchModeRefCount==0){throw new Error("Try to turn off batch mode althoug it was not turned on.");
}this.hasBatchModeRefCount-=1;

if(this.__qf){this.__qf=false;
this._fireChangeSelection();
}}return this.hasBatchMode();
},hasBatchMode:function(){return this.hasBatchModeRefCount>0;
},getAnchorSelectionIndex:function(){return this.__qd;
},_setAnchorSelectionIndex:function(F){this.__qd=F;
},getLeadSelectionIndex:function(){return this.__qe;
},_setLeadSelectionIndex:function(s){this.__qe=s;
},_getSelectedRangeArr:function(){return this.__qc;
},resetSelection:function(){if(!this.isSelectionEmpty()){this._resetSelection();
this._fireChangeSelection();
}},clearSelection:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,A);
this.resetSelection();
},isSelectionEmpty:function(){return this.__qc.length==0;
},getSelectedCount:function(){var E=0;

for(var i=0;i<this.__qc.length;i++){var D=this.__qc[i];
E+=D.maxIndex-D.minIndex+1;
}return E;
},isSelectedIndex:function(p){for(var i=0;i<this.__qc.length;i++){var q=this.__qc[i];

if(p>=q.minIndex&&p<=q.maxIndex){return true;
}}return false;
},getSelectedRanges:function(){var g=[];

for(var i=0;i<this.__qc.length;i++){g.push({minIndex:this.__qc[i].minIndex,maxIndex:this.__qc[i].maxIndex});
}return g;
},iterateSelection:function(b,c){for(var i=0;i<this.__qc.length;i++){for(var j=this.__qc[i].minIndex;j<=this.__qc[i].maxIndex;j++){b.call(c,j);
}}},setSelectionInterval:function(h,k){var l=this.self(arguments);

switch(this.getSelectionMode()){case l.NO_SELECTION:return;
case l.SINGLE_SELECTION:if(this.isSelectedIndex(k)){return;
}h=k;
break;
case l.MULTIPLE_INTERVAL_SELECTION_TOGGLE:this.setBatchMode(true);

try{for(var i=h;i<=k;i++){if(!this.isSelectedIndex(i)){this._addSelectionInterval(i,i);
}else{this.removeSelectionInterval(i,i);
}}}catch(e){throw e;
}finally{this.setBatchMode(false);
}this._fireChangeSelection();
return;
}this._resetSelection();
this._addSelectionInterval(h,k);
this._fireChangeSelection();
},addSelectionInterval:function(m,n){var o=qx.ui.table.selection.Model;

switch(this.getSelectionMode()){case o.NO_SELECTION:return;
case o.MULTIPLE_INTERVAL_SELECTION:case o.MULTIPLE_INTERVAL_SELECTION_TOGGLE:this._addSelectionInterval(m,n);
this._fireChangeSelection();
break;
default:this.setSelectionInterval(m,n);
break;
}},removeSelectionInterval:function(N,O){this.__qd=N;
this.__qe=O;
var P=Math.min(N,O);
var R=Math.max(N,O);
for(var i=0;i<this.__qc.length;i++){var T=this.__qc[i];

if(T.minIndex>R){break;
}else if(T.maxIndex>=P){var U=(T.minIndex>=P)&&(T.minIndex<=R);
var S=(T.maxIndex>=P)&&(T.maxIndex<=R);

if(U&&S){this.__qc.splice(i,1);
i--;
}else if(U){T.minIndex=R+1;
}else if(S){T.maxIndex=P-1;
}else{var Q={minIndex:R+1,maxIndex:T.maxIndex};
this.__qc.splice(i+1,0,Q);
T.maxIndex=P-1;
break;
}}}this._fireChangeSelection();
},_resetSelection:function(){this.__qc=[];
this.__qd=-1;
this.__qe=-1;
},_clearSelection:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,t);
this._resetSelection();
},_addSelectionInterval:function(G,H){this.__qd=G;
this.__qe=H;
var I=Math.min(G,H);
var K=Math.max(G,H);
var J=0;

for(;J<this.__qc.length;J++){var L=this.__qc[J];

if(L.minIndex>I){break;
}}this.__qc.splice(J,0,{minIndex:I,maxIndex:K});
var M=this.__qc[0];

for(var i=1;i<this.__qc.length;i++){var L=this.__qc[i];

if(M.maxIndex+1>=L.minIndex){M.maxIndex=Math.max(M.maxIndex,L.maxIndex);
this.__qc.splice(i,1);
i--;
}else{M=L;
}}},_dumpRanges:function(){var d=w;

for(var i=0;i<this.__qc.length;i++){var f=this.__qc[i];
d+=z+f.minIndex+C+f.maxIndex+y;
}this.debug(d);
},_fireChangeSelection:function(){if(this.hasBatchMode()){this.__qf=true;
}else{this.fireEvent(B);
}}},destruct:function(){this.__qc=null;
}});
})();
(function(){var J="",I="Number",H='</div>',G='" ',F="paneUpdated",E='<div>',D="</div>",C="overflow: hidden;",B="qx.event.type.Data",A="paneReloadsData",bc="div",bb='style="',ba="_applyMaxCacheLines",Y="qx.ui.table.pane.Pane",X="width: 100%;",W="qx.event.type.Event",V="_applyVisibleRowCount",U='>',T="line-height: ",S="appear",Q='class="',R="width:100%;",O="px;",P='<div ',M="'>",N="_applyFirstVisibleRow",K="<div style='",L=";position:relative;";
qx.Class.define(Y,{extend:qx.ui.core.Widget,construct:function(cy){qx.ui.core.Widget.call(this);
this.__qg=cy;
this.__qh=0;
this.__qi=0;
this.__qj=[];
},events:{"paneReloadsData":B,"paneUpdated":W},properties:{firstVisibleRow:{check:I,init:0,apply:N},visibleRowCount:{check:I,init:0,apply:V},maxCacheLines:{check:I,init:1000,apply:ba},allowShrinkX:{refine:true,init:false}},members:{__qi:null,__qh:null,__qg:null,__qk:null,__ql:null,__qm:null,__qj:null,__qn:0,_applyFirstVisibleRow:function(e,f){this.updateContent(false,e-f);
},_applyVisibleRowCount:function(t,u){this.updateContent(true);
},_getContentHint:function(){return {width:this.getPaneScroller().getTablePaneModel().getTotalWidth(),height:400};
},getPaneScroller:function(){return this.__qg;
},getTable:function(){return this.__qg.getTable();
},setFocusedCell:function(p,q,r){if(p!=this.__qm||q!=this.__ql){var s=this.__ql;
this.__qm=p;
this.__ql=q;
if(q!=s&&!r){if(s!==null){this.updateContent(false,null,s,true);
}
if(q!==null){this.updateContent(false,null,q,true);
}}}},onSelectionChanged:function(){this.updateContent(false,null,null,true);
},onFocusChanged:function(){this.updateContent(false,null,null,true);
},setColumnWidth:function(m,n){this.updateContent(true);
},onColOrderChanged:function(){this.updateContent(true);
},onPaneModelChanged:function(){this.updateContent(true);
},onTableModelDataChanged:function(bB,bC,bD,bE){this.__qo();
var bG=this.getFirstVisibleRow();
var bF=this.getVisibleRowCount();

if(bC==-1||bC>=bG&&bB<bG+bF){this.updateContent();
}},onTableModelMetaDataChanged:function(){this.updateContent(true);
},_applyMaxCacheLines:function(bH,bI){if(this.__qn>=bH&&bH!==-1){this.__qo();
}},__qo:function(){this.__qj=[];
this.__qn=0;
},__qp:function(v,w,z){if(!w&&!z&&this.__qj[v]){return this.__qj[v];
}else{return null;
}},__qq:function(g,h,j,k){var l=this.getMaxCacheLines();

if(!j&&!k&&!this.__qj[g]&&l>0){this._applyMaxCacheLines(l);
this.__qj[g]=h;
this.__qn+=1;
}},updateContent:function(a,b,c,d){if(a){this.__qo();
}if(b&&Math.abs(b)<=Math.min(10,this.getVisibleRowCount())){this._scrollContent(b);
}else if(d&&!this.getTable().getAlwaysUpdateCells()){this._updateRowStyles(c);
}else{this._updateAllRows();
}},_updateRowStyles:function(bq){var bu=this.getContentElement().getDomElement();

if(!bu||!bu.firstChild){this._updateAllRows();
return;
}var by=this.getTable();
var bs=by.getSelectionModel();
var bv=by.getTableModel();
var bz=by.getDataRowRenderer();
var bt=bu.firstChild.childNodes;
var bx={table:by};
var bA=this.getFirstVisibleRow();
var y=0;
var br=bt.length;

if(bq!=null){var bw=bq-bA;

if(bw>=0&&bw<br){bA=bq;
y=bw;
br=bw+1;
}else{return;
}}
for(;y<br;y++,bA++){bx.row=bA;
bx.selected=bs.isSelectedIndex(bA);
bx.focusedRow=(this.__ql==bA);
bx.rowData=bv.getRowData(bA);
bz.updateDataRowElement(bx,bt[y]);
}},_getRowsHtml:function(bJ,bK){var bQ=this.getTable();
var bT=bQ.getSelectionModel();
var bN=bQ.getTableModel();
var bO=bQ.getTableColumnModel();
var ci=this.getPaneScroller().getTablePaneModel();
var bY=bQ.getDataRowRenderer();
bN.prefetchRows(bJ,bJ+bK-1);
var cf=bQ.getRowHeight();
var ch=ci.getColumnCount();
var bP=0;
var bM=[];
for(var x=0;x<ch;x++){var ck=ci.getColumnAtX(x);
var bS=bO.getColumnWidth(ck);
bM.push({col:ck,xPos:x,editable:bN.isColumnEditable(ck),focusedCol:this.__qm==ck,styleLeft:bP,styleWidth:bS});
bP+=bS;
}var cj=[];
var cl=false;

for(var bR=bJ;bR<bJ+bK;bR++){var bU=bT.isSelectedIndex(bR);
var bX=(this.__ql==bR);
var cc=this.__qp(bR,bU,bX);

if(cc){cj.push(cc);
continue;
}var cb=[];
var ce={table:bQ};
ce.styleHeight=cf;
ce.row=bR;
ce.selected=bU;
ce.focusedRow=bX;
ce.rowData=bN.getRowData(bR);

if(!ce.rowData){cl=true;
}cb.push(P);
var bL=bY.getRowClass(ce);

if(bL){cb.push(Q,bL,G);
}var ca=bY.createRowStyle(ce);
ca+=L+bY.getRowHeightStyle(cf)+R;

if(ca){cb.push(bb,ca,G);
}cb.push(U);

for(var x=0;x<ch;x++){var bV=bM[x];

for(var cg in bV){ce[cg]=bV[cg];
}var ck=ce.col;
ce.value=bN.getValue(ck,bR);
var bW=bO.getDataCellRenderer(ck);
bW.createDataCellHtml(ce,cb);
}cb.push(H);
var cd=cb.join(J);
this.__qq(bR,cd,bU,bX);
cj.push(cd);
}this.fireDataEvent(A,cl);
return cj.join(J);
},_scrollContent:function(bd){var be=this.getContentElement().getDomElement();

if(!(be&&be.firstChild)){this._updateAllRows();
return;
}var bn=be.firstChild;
var bf=bn.childNodes;
var bl=this.getVisibleRowCount();
var bk=this.getFirstVisibleRow();
var bi=this.getTable().getTableModel();
var bo=0;
bo=bi.getRowCount();
if(bk+bl>bo){this._updateAllRows();
return;
}var bp=bd<0?bl+bd:0;
var bg=bd<0?0:bl-bd;

for(i=Math.abs(bd)-1;i>=0;i--){var bj=bf[bp];

try{bn.removeChild(bj);
}catch(o){break;
}}if(!this.__qk){this.__qk=document.createElement(bc);
}var bm=E;
bm+=this._getRowsHtml(bk+bg,Math.abs(bd));
bm+=H;
this.__qk.innerHTML=bm;
var bh=this.__qk.firstChild.childNodes;
if(bd>0){for(var i=bh.length-1;i>=0;i--){var bj=bh[0];
bn.appendChild(bj);
}}else{for(var i=bh.length-1;i>=0;i--){var bj=bh[bh.length-1];
bn.insertBefore(bj,bn.firstChild);
}}if(this.__ql!==null){this._updateRowStyles(this.__ql-bd);
this._updateRowStyles(this.__ql);
}this.fireEvent(F);
},_updateAllRows:function(){var cp=this.getContentElement().getDomElement();

if(!cp){this.addListenerOnce(S,arguments.callee,this);
return;
}var cv=this.getTable();
var cs=cv.getTableModel();
var cu=this.getPaneScroller().getTablePaneModel();
var ct=cu.getColumnCount();
var cm=cv.getRowHeight();
var cq=this.getFirstVisibleRow();
var cn=this.getVisibleRowCount();
var cw=cs.getRowCount();

if(cq+cn>cw){cn=Math.max(0,cw-cq);
}var co=cu.getTotalWidth();
var cr;
if(cn>0){cr=[K,X,(cv.getForceLineHeight()?T+cm+O:J),C,M,this._getRowsHtml(cq,cn),D];
}else{cr=[];
}var cx=cr.join(J);
cp.innerHTML=cx;
this.setWidth(co);
this.__qh=ct;
this.__qi=cn;
this.fireEvent(F);
}},destruct:function(){this.__qk=this.__qg=this.__qj=null;
}});
})();
(function(){var r="hovered",q="__qs",p="qx.ui.table.pane.Header";
qx.Class.define(p,{extend:qx.ui.core.Widget,construct:function(F){qx.ui.core.Widget.call(this);
this._setLayout(new qx.ui.layout.HBox());
this.__qr=new qx.ui.core.Blocker(this);
this.__qs=F;
},members:{__qs:null,__qt:null,__qu:null,__qr:null,getPaneScroller:function(){return this.__qs;
},getTable:function(){return this.__qs.getTable();
},getBlocker:function(){return this.__qr;
},onColOrderChanged:function(){this._updateContent(true);
},onPaneModelChanged:function(){this._updateContent(true);
},onTableModelMetaDataChanged:function(){this._updateContent();
},setColumnWidth:function(a,b){var c=this.getHeaderWidgetAtColumn(a);

if(c!=null){c.setWidth(b);
}},setMouseOverColumn:function(I){if(I!=this.__qu){if(this.__qu!=null){var J=this.getHeaderWidgetAtColumn(this.__qu);

if(J!=null){J.removeState(r);
}}
if(I!=null){this.getHeaderWidgetAtColumn(I).addState(r);
}this.__qu=I;
}},getHeaderWidgetAtColumn:function(n){var o=this.getPaneScroller().getTablePaneModel().getX(n);
return this._getChildren()[o];
},showColumnMoveFeedback:function(d,x){var h=this.getContainerLocation();

if(this.__qt==null){var e=this.getPaneScroller().getTablePaneModel().getX(d);
var g=this._getChildren()[e];
var i=this.getTable().getTableModel();
var k=this.getTable().getTableColumnModel();
var l={xPos:e,col:d,name:i.getColumnName(d)};
var j=k.getHeaderCellRenderer(d);
var f=j.createHeaderCell(l);
var m=g.getBounds();
f.setWidth(m.width);
f.setHeight(m.height);
f.setZIndex(1000000);
f.setOpacity(0.8);
f.setLayoutProperties({top:h.top});
this.getApplicationRoot().add(f);
this.__qt=f;
}this.__qt.setLayoutProperties({left:h.left+x});
this.__qt.show();
},hideColumnMoveFeedback:function(){if(this.__qt!=null){this.__qt.destroy();
this.__qt=null;
}},isShowingColumnMoveFeedback:function(){return this.__qt!=null;
},_updateContent:function(s){var y=this.getTable().getTableModel();
var B=this.getTable().getTableColumnModel();
var C=this.getPaneScroller().getTablePaneModel();
var E=this._getChildren();
var z=C.getColumnCount();
var t=y.getSortColumnIndex();
if(s){this._cleanUpCells();
}var u={};
u.sortedAscending=y.isSortAscending();

for(var x=0;x<z;x++){var w=C.getColumnAtX(x);

if(w===undefined){continue;
}var D=B.getColumnWidth(w);
var A=B.getHeaderCellRenderer(w);
u.xPos=x;
u.col=w;
u.name=y.getColumnName(w);
u.editable=y.isColumnEditable(w);
u.sorted=(w==t);
var v=E[x];
if(v==null){v=A.createHeaderCell(u);
v.set({width:D});
this._add(v);
}else{A.updateHeaderCell(u,v);
}}},_cleanUpCells:function(){var H=this._getChildren();

for(var x=H.length-1;x>=0;x--){var G=H[x];
G.destroy();
}}},destruct:function(){this.__qr.dispose();
this._disposeObjects(q);
}});
})();
(function(){var dd="Boolean",dc="resize-line",db="mousedown",da="qx.event.type.Data",cY="mouseup",cX="qx.ui.table.pane.CellEvent",cW="scroll",cV="focus-indicator",cU="excluded",cT="scrollbar-y",ec="visible",eb="mousemove",ea="header",dY="editing",dX="click",dW="modelChanged",dV="scrollbar-x",dU="cellClick",dT="pane",dS="__qB",dk="__qw",dl="mouseout",di="changeHorizontalScrollBarVisible",dj="__qz",dg="bottom",dh="_applyScrollTimeout",de="changeScrollX",df="_applyTablePaneModel",dp="Integer",dq="__qC",dy="dblclick",dw="dataEdited",dG="mousewheel",dB="interval",dO="__qD",dL="qx.ui.table.pane.Scroller",ds="_applyShowCellFocusIndicator",dR="resize",dQ="vertical",dP="changeScrollY",dr="appear",du="table-scroller",dv="beforeSort",dx="cellDblclick",dz="__qy",dC="__qE",dI="horizontal",dN="losecapture",dm="contextmenu",dn="__qx",dt="col-resize",dF="disappear",dE="_applyVerticalScrollBarVisible",dD="_applyHorizontalScrollBarVisible",dK="cellContextmenu",dJ="__qA",dA="close",dH="changeTablePaneModel",cS="qx.ui.table.pane.Model",dM="changeVerticalScrollBarVisible";
qx.Class.define(dL,{extend:qx.ui.core.Widget,include:qx.ui.core.scroll.MScrollBarFactory,construct:function(ci){qx.ui.core.Widget.call(this);
this.__qv=ci;
var cj=new qx.ui.layout.Grid();
cj.setColumnFlex(0,1);
cj.setRowFlex(1,1);
this._setLayout(cj);
this.__qw=this._showChildControl(dV);
this.__qx=this._showChildControl(cT);
this.__qy=this._showChildControl(ea);
this.__qz=this._showChildControl(dT);
this.__qA=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({minWidth:0});
this._add(this.__qA,{row:0,column:0,colSpan:2});
this.__qB=new qx.ui.table.pane.Clipper();
this.__qB.add(this.__qy);
this.__qB.addListener(dN,this._onChangeCaptureHeader,this);
this.__qB.addListener(eb,this._onMousemoveHeader,this);
this.__qB.addListener(db,this._onMousedownHeader,this);
this.__qB.addListener(cY,this._onMouseupHeader,this);
this.__qB.addListener(dX,this._onClickHeader,this);
this.__qA.add(this.__qB,{flex:1});
this.__qC=new qx.ui.table.pane.Clipper();
this.__qC.add(this.__qz);
this.__qC.addListener(dG,this._onMousewheel,this);
this.__qC.addListener(eb,this._onMousemovePane,this);
this.__qC.addListener(db,this._onMousedownPane,this);
this.__qC.addListener(cY,this._onMouseupPane,this);
this.__qC.addListener(dX,this._onClickPane,this);
this.__qC.addListener(dm,this._onContextMenu,this);
this.__qC.addListener(dy,this._onDblclickPane,this);
this.__qC.addListener(dR,this._onResizePane,this);
this._add(this.__qC,{row:1,column:0});
this.__qD=this.getChildControl(cV);
this.getChildControl(dc).hide();
this.addListener(dl,this._onMouseout,this);
this.addListener(dr,this._onAppear,this);
this.addListener(dF,this._onDisappear,this);
this.__qE=new qx.event.Timer();
this.__qE.addListener(dB,this._oninterval,this);
this.initScrollTimeout();
},statics:{MIN_COLUMN_WIDTH:10,RESIZE_REGION_RADIUS:5,CLICK_TOLERANCE:5,HORIZONTAL_SCROLLBAR:1,VERTICAL_SCROLLBAR:2},events:{"changeScrollY":da,"changeScrollX":da,"cellClick":cX,"cellDblclick":cX,"cellContextmenu":cX,"beforeSort":da},properties:{horizontalScrollBarVisible:{check:dd,init:true,apply:dD,event:di},verticalScrollBarVisible:{check:dd,init:true,apply:dE,event:dM},tablePaneModel:{check:cS,apply:df,event:dH},liveResize:{check:dd,init:false},focusCellOnMouseMove:{check:dd,init:false},selectBeforeFocus:{check:dd,init:false},showCellFocusIndicator:{check:dd,init:true,apply:ds},scrollTimeout:{check:dp,init:100,apply:dh},appearance:{refine:true,init:du}},members:{__qF:null,__qv:null,__qG:null,__qH:null,__qI:null,__qJ:null,__qK:null,__qL:null,__qM:null,__qN:null,__qO:null,__qP:null,__qQ:null,__qR:null,__qS:null,__qT:null,__qU:null,__qV:null,__qW:null,__qX:null,__qY:null,__ra:null,__qw:null,__qx:null,__qy:null,__qB:null,__qz:null,__qC:null,__qD:null,__qA:null,__qE:null,getPaneInsetRight:function(){var M=this.getTopRightWidget();
var N=M&&M.isVisible()&&M.getBounds()?M.getBounds().width:0;
var L=this.getVerticalScrollBarVisible()?this.getVerticalScrollBarWidth():0;
return Math.max(N,L);
},setPaneWidth:function(ct){if(this.isVerticalScrollBarVisible()){ct+=this.getPaneInsetRight();
}this.setWidth(ct);
},_createChildControlImpl:function(cg){var ch;

switch(cg){case ea:ch=(this.getTable().getNewTablePaneHeader())(this);
break;
case dT:ch=(this.getTable().getNewTablePane())(this);
break;
case cV:ch=new qx.ui.table.pane.FocusIndicator(this);
ch.setUserBounds(0,0,0,0);
ch.setZIndex(1000);
ch.addListener(cY,this._onMouseupFocusIndicator,this);
this.__qC.add(ch);
ch.exclude();
break;
case dc:ch=new qx.ui.core.Widget();
ch.setUserBounds(0,0,0,0);
ch.setZIndex(1000);
this.__qC.add(ch);
break;
case dV:ch=this._createScrollBar(dI).set({minWidth:0,alignY:dg});
ch.addListener(cW,this._onScrollX,this);
this._add(ch,{row:2,column:0});
break;
case cT:ch=this._createScrollBar(dQ);
ch.addListener(cW,this._onScrollY,this);
this._add(ch,{row:1,column:1});
break;
}return ch||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,cg);
},_applyHorizontalScrollBarVisible:function(ed,ee){this.__qw.setVisibility(ed?ec:cU);

if(!ed){this.setScrollY(0,true);
}},_applyVerticalScrollBarVisible:function(eW,eX){this.__qx.setVisibility(eW?ec:cU);

if(!eW){this.setScrollX(0);
}},_applyTablePaneModel:function(fb,fc){if(fc!=null){fc.removeListener(dW,this._onPaneModelChanged,this);
}fb.addListener(dW,this._onPaneModelChanged,this);
},_applyShowCellFocusIndicator:function(fu,fv){if(fu){this._updateFocusIndicator();
}else{if(this.__qD){this.__qD.hide();
}}},getScrollY:function(){return this.__qx.getPosition();
},setScrollY:function(scrollY,cu){this.__qx.scrollTo(scrollY);

if(cu){this._updateContent();
}},getScrollX:function(){return this.__qw.getPosition();
},setScrollX:function(scrollX){this.__qw.scrollTo(scrollX);
},getTable:function(){return this.__qv;
},onColVisibilityChanged:function(){this.updateHorScrollBarMaximum();
this._updateFocusIndicator();
},setColumnWidth:function(O,P){this.__qy.setColumnWidth(O,P);
this.__qz.setColumnWidth(O,P);
var Q=this.getTablePaneModel();
var x=Q.getX(O);

if(x!=-1){this.updateHorScrollBarMaximum();
this._updateFocusIndicator();
}},onColOrderChanged:function(){this.__qy.onColOrderChanged();
this.__qz.onColOrderChanged();
this.updateHorScrollBarMaximum();
},onTableModelDataChanged:function(en,eo,ep,eq){this.__qz.onTableModelDataChanged(en,eo,ep,eq);
var er=this.getTable().getTableModel().getRowCount();

if(er!=this.__qF){this.updateVerScrollBarMaximum();

if(this.getFocusedRow()>=er){if(er==0){this.setFocusedCell(null,null);
}else{this.setFocusedCell(this.getFocusedColumn(),er-1);
}}this.__qF=er;
}},onSelectionChanged:function(){this.__qz.onSelectionChanged();
},onFocusChanged:function(){this.__qz.onFocusChanged();
},onTableModelMetaDataChanged:function(){this.__qy.onTableModelMetaDataChanged();
this.__qz.onTableModelMetaDataChanged();
},_onPaneModelChanged:function(){this.__qy.onPaneModelChanged();
this.__qz.onPaneModelChanged();
},_onResizePane:function(){this.updateHorScrollBarMaximum();
this.updateVerScrollBarMaximum();
this._updateContent();
this.__qy._updateContent();
this.__qv._updateScrollBarVisibility();
},updateHorScrollBarMaximum:function(){var ez=this.__qC.getInnerSize();

if(!ez){return ;
}var ex=this.getTablePaneModel().getTotalWidth();
var ey=this.__qw;

if(ez.width<ex){var ew=Math.max(0,ex-ez.width);
ey.setMaximum(ew);
ey.setKnobFactor(ez.width/ex);
var eA=ey.getPosition();
ey.setPosition(Math.min(eA,ew));
}else{ey.setMaximum(0);
ey.setKnobFactor(1);
ey.setPosition(0);
}},updateVerScrollBarMaximum:function(){var eI=this.__qC.getInnerSize();

if(!eI){return ;
}var eG=this.getTable().getTableModel();
var eC=eG.getRowCount();

if(this.getTable().getKeepFirstVisibleRowComplete()){eC+=1;
}var eB=this.getTable().getRowHeight();
var eE=eC*eB;
var eH=this.__qx;

if(eI.height<eE){var eD=Math.max(0,eE-eI.height);
eH.setMaximum(eD);
eH.setKnobFactor(eI.height/eE);
var eF=eH.getPosition();
eH.setPosition(Math.min(eF,eD));
}else{eH.setMaximum(0);
eH.setKnobFactor(1);
eH.setPosition(0);
}},onKeepFirstVisibleRowCompleteChanged:function(){this.updateVerScrollBarMaximum();
this._updateContent();
},_onAppear:function(){this._startInterval(this.getScrollTimeout());
},_onDisappear:function(){this._stopInterval();
},_onScrollX:function(e){var K=e.getData();
this.fireDataEvent(de,K,e.getOldData());
this.__qB.scrollToX(K);
this.__qC.scrollToX(K);
},_onScrollY:function(e){this.fireDataEvent(dP,e.getData(),e.getOldData());
this._postponedUpdateContent();
},_onMousewheel:function(e){var bH=this.getTable();

if(!bH.getEnabled()){return;
}var bJ=qx.bom.client.Engine.GECKO?1:3;
var bI=this.__qx.getPosition()+((e.getWheelDelta()*bJ)*bH.getRowHeight());
this.__qx.scrollTo(bI);
if(this.__qT&&this.getFocusCellOnMouseMove()){this._focusCellAtPagePos(this.__qT,this.__qU);
}e.stop();
},__rb:function(h){var m=this.getTable();
var n=this.__qy.getHeaderWidgetAtColumn(this.__qO);
var i=n.getSizeHint().minWidth;
var k=Math.max(i,this.__qQ+h-this.__qP);

if(this.getLiveResize()){var j=m.getTableColumnModel();
j.setColumnWidth(this.__qO,k);
}else{this.__qy.setColumnWidth(this.__qO,k);
var l=this.getTablePaneModel();
this._showResizeLine(l.getColumnLeft(this.__qO)+k);
}this.__qP+=k-this.__qQ;
this.__qQ=k;
},__rc:function(H){var I=qx.ui.table.pane.Scroller.CLICK_TOLERANCE;

if(this.__qy.isShowingColumnMoveFeedback()||H>this.__qN+I||H<this.__qN-I){this.__qK+=H-this.__qN;
this.__qy.showColumnMoveFeedback(this.__qJ,this.__qK);
var J=this.__qv.getTablePaneScrollerAtPageX(H);

if(this.__qM&&this.__qM!=J){this.__qM.hideColumnMoveFeedback();
}
if(J!=null){this.__qL=J.showColumnMoveFeedback(H);
}else{this.__qL=null;
}this.__qM=J;
this.__qN=H;
}},_onMousemoveHeader:function(e){var bY=this.getTable();

if(!bY.getEnabled()){return;
}var ca=false;
var bS=null;
var bW=e.getDocumentLeft();
var bX=e.getDocumentTop();
this.__qT=bW;
this.__qU=bX;

if(this.__qO!=null){this.__rb(bW);
ca=true;
e.stopPropagation();
}else if(this.__qJ!=null){this.__rc(bW);
e.stopPropagation();
}else{var bT=this._getResizeColumnForPageX(bW);

if(bT!=-1){ca=true;
}else{var bV=bY.getTableModel();
var cb=this._getColumnForPageX(bW);

if(cb!=null&&bV.isColumnSortable(cb)){bS=cb;
}}}var bU=ca?dt:null;
this.getApplicationRoot().setGlobalCursor(bU);
this.setCursor(bU);
this.__qy.setMouseOverColumn(bS);
},_onMousemovePane:function(e){var bg=this.getTable();

if(!bg.getEnabled()){return;
}var bi=e.getDocumentLeft();
var bj=e.getDocumentTop();
this.__qT=bi;
this.__qU=bj;
var bh=this._getRowForPagePos(bi,bj);

if(bh!=null&&this._getColumnForPageX(bi)!=null){if(this.getFocusCellOnMouseMove()){this._focusCellAtPagePos(bi,bj);
}}this.__qy.setMouseOverColumn(null);
},_onMousedownHeader:function(e){if(!this.getTable().getEnabled()){return;
}var cd=e.getDocumentLeft();
var ce=this._getResizeColumnForPageX(cd);

if(ce!=-1){this._startResizeHeader(ce,cd);
e.stop();
}else{var cc=this._getColumnForPageX(cd);

if(cc!=null){this._startMoveHeader(cc,cd);
e.stop();
}}},_startResizeHeader:function(cO,cP){var cQ=this.getTable().getTableColumnModel();
this.__qO=cO;
this.__qP=cP;
this.__qQ=cQ.getColumnWidth(this.__qO);
this.__qB.capture();
},_startMoveHeader:function(fr,fs){this.__qJ=fr;
this.__qN=fs;
this.__qK=this.getTablePaneModel().getColumnLeft(fr);
this.__qB.capture();
},_onMousedownPane:function(e){var ek=this.getTable();

if(!ek.getEnabled()){return;
}
if(this.isEditing()){this.stopEditing();
}var eh=e.getDocumentLeft();
var ej=e.getDocumentTop();
var em=this._getRowForPagePos(eh,ej);
var el=this._getColumnForPageX(eh);

if(em!==null){this.__qR={row:em,col:el};
var ei=this.getSelectBeforeFocus();

if(ei){ek.getSelectionManager().handleMouseDown(em,e);
}if(!this.getFocusCellOnMouseMove()){this._focusCellAtPagePos(eh,ej);
}
if(!ei){ek.getSelectionManager().handleMouseDown(em,e);
}}},_onMouseupFocusIndicator:function(e){if(this.__qR&&!this.isEditing()&&this.__qD.getRow()==this.__qR.row&&this.__qD.getColumn()==this.__qR.col){this.__qR={};
this.fireEvent(dU,qx.ui.table.pane.CellEvent,[this,e,this.__qR.row,this.__qR.col],true);
}},_onChangeCaptureHeader:function(e){if(this.__qO!=null){this._stopResizeHeader();
}
if(this.__qJ!=null){this._stopMoveHeader();
}},_stopResizeHeader:function(){var ck=this.getTable().getTableColumnModel();
if(!this.getLiveResize()){this._hideResizeLine();
ck.setColumnWidth(this.__qO,this.__qQ);
}this.__qO=null;
this.__qB.releaseCapture();
this.getApplicationRoot().setGlobalCursor(null);
this.setCursor(null);
},_stopMoveHeader:function(){var W=this.getTable().getTableColumnModel();
var X=this.getTablePaneModel();
this.__qy.hideColumnMoveFeedback();

if(this.__qM){this.__qM.hideColumnMoveFeedback();
}
if(this.__qL!=null){var ba=X.getFirstColumnX()+X.getX(this.__qJ);
var V=this.__qL;

if(V!=ba&&V!=ba+1){var Y=W.getVisibleColumnAtX(ba);
var U=W.getVisibleColumnAtX(V);
var T=W.getOverallX(Y);
var S=(U!=null)?W.getOverallX(U):W.getOverallColumnCount();

if(S>T){S--;
}W.moveColumn(T,S);
}}this.__qJ=null;
this.__qL=null;
this.__qB.releaseCapture();
},_onMouseupPane:function(e){var eY=this.getTable();

if(!eY.getEnabled()){return;
}var fa=this._getRowForPagePos(e.getDocumentLeft(),e.getDocumentTop());

if(fa!=-1&&fa!=null&&this._getColumnForPageX(e.getDocumentLeft())!=null){eY.getSelectionManager().handleMouseUp(fa,e);
}},_onMouseupHeader:function(e){var bb=this.getTable();

if(!bb.getEnabled()){return;
}
if(this.__qO!=null){this._stopResizeHeader();
this.__qS=true;
e.stop();
}else if(this.__qJ!=null){this._stopMoveHeader();
e.stop();
}},_onClickHeader:function(e){if(this.__qS){this.__qS=false;
return;
}var cp=this.getTable();

if(!cp.getEnabled()){return;
}var cn=cp.getTableModel();
var co=e.getDocumentLeft();
var cm=this._getResizeColumnForPageX(co);

if(cm==-1){var cs=this._getColumnForPageX(co);

if(cs!=null&&cn.isColumnSortable(cs)){var cl=cn.getSortColumnIndex();
var cq=(cs!=cl)?true:!cn.isSortAscending();
var cr={column:cs,ascending:cq};

if(this.fireDataEvent(dv,cr)){cn.sortByColumn(cs,cq);
cp.getSelectionModel().resetSelection();
}}}e.stop();
},_onClickPane:function(e){var cJ=this.getTable();

if(!cJ.getEnabled()){return;
}var cM=e.getDocumentLeft();
var cN=e.getDocumentTop();
var cK=this._getRowForPagePos(cM,cN);
var cL=this._getColumnForPageX(cM);

if(cK!=null&&cL!=null){cJ.getSelectionManager().handleClick(cK,e);

if(this.__qD.isHidden()||(this.__qR&&!this.isEditing()&&cK==this.__qR.row&&cL==this.__qR.col)){this.__qR={};
this.fireEvent(dU,qx.ui.table.pane.CellEvent,[this,e,cK,cL],true);
}}},_onContextMenu:function(e){var d=e.getDocumentLeft();
var g=e.getDocumentTop();
var b=this._getRowForPagePos(d,g);
var c=this._getColumnForPageX(d);

if(this.__qD.isHidden()||(this.__qR&&b==this.__qR.row&&c==this.__qR.col)){this.__qR={};
this.fireEvent(dK,qx.ui.table.pane.CellEvent,[this,e,b,c],true);
var a=this.getTable().getContextMenu();

if(a){if(a.getChildren().length>0){a.openAtMouse(e);
}else{a.exclude();
}e.preventDefault();
}}},_onContextMenuOpen:function(e){},_onDblclickPane:function(e){var w=e.getDocumentLeft();
var y=e.getDocumentTop();
this._focusCellAtPagePos(w,y);
this.startEditing();
var v=this._getRowForPagePos(w,y);

if(v!=-1&&v!=null){this.fireEvent(dx,qx.ui.table.pane.CellEvent,[this,e,v],true);
}},_onMouseout:function(e){var cR=this.getTable();

if(!cR.getEnabled()){return;
}if(this.__qO==null){this.setCursor(null);
this.getApplicationRoot().setGlobalCursor(null);
}this.__qy.setMouseOverColumn(null);
},_showResizeLine:function(x){var cy=this._showChildControl(dc);
var cx=cy.getWidth();
var cz=this.__qC.getBounds();
cy.setUserBounds(x-Math.round(cx/2),0,cx,cz.height);
},_hideResizeLine:function(){this._excludeChildControl(dc);
},showColumnMoveFeedback:function(eJ){var eS=this.getTablePaneModel();
var eR=this.getTable().getTableColumnModel();
var eM=this.__qz.getContainerLocation().left;
var eQ=eS.getColumnCount();
var eN=0;
var eL=0;
var eV=eM;

for(var eK=0;eK<eQ;eK++){var eO=eS.getColumnAtX(eK);
var eT=eR.getColumnWidth(eO);

if(eJ<eV+eT/2){break;
}eV+=eT;
eN=eK+1;
eL=eV-eM;
}var eP=this.__qC.getContainerLocation().left;
var eU=this.__qC.getBounds().width;
var scrollX=eP-eM;
eL=qx.lang.Number.limit(eL,scrollX+2,scrollX+eU-1);
this._showResizeLine(eL);
return eS.getFirstColumnX()+eN;
},hideColumnMoveFeedback:function(){this._hideResizeLine();
},_focusCellAtPagePos:function(bc,bd){var bf=this._getRowForPagePos(bc,bd);

if(bf!=-1&&bf!=null){var be=this._getColumnForPageX(bc);
this.__qv.setFocusedCell(be,bf);
}},setFocusedCell:function(eu,ev){if(!this.isEditing()){this.__qz.setFocusedCell(eu,ev,this.__qH);
this.__qV=eu;
this.__qW=ev;
this._updateFocusIndicator();
}},getFocusedColumn:function(){return this.__qV;
},getFocusedRow:function(){return this.__qW;
},scrollCellVisible:function(fd,fe){var fo=this.getTablePaneModel();
var ff=fo.getX(fd);

if(ff!=-1){var fl=this.__qC.getInnerSize();

if(!fl){return;
}var fm=this.getTable().getTableColumnModel();
var fi=fo.getColumnLeft(fd);
var fp=fm.getColumnWidth(fd);
var fg=this.getTable().getRowHeight();
var fq=fe*fg;
var scrollX=this.getScrollX();
var scrollY=this.getScrollY();
var fn=Math.min(fi,fi+fp-fl.width);
var fk=fi;
this.setScrollX(Math.max(fn,Math.min(fk,scrollX)));
var fh=fq+fg-fl.height;

if(this.getTable().getKeepFirstVisibleRowComplete()){fh+=fg;
}var fj=fq;
this.setScrollY(Math.max(fh,Math.min(fj,scrollY)),true);
}},isEditing:function(){return this.__qX!=null;
},startEditing:function(){var D=this.getTable();
var B=D.getTableModel();
var F=this.__qV;

if(!this.isEditing()&&(F!=null)&&B.isColumnEditable(F)){var G=this.__qW;
var z=this.getTablePaneModel().getX(F);
var A=B.getValue(F,G);
D.blockHeaderElements();
this.__qY=D.getTableColumnModel().getCellEditorFactory(F);
var C={col:F,row:G,xPos:z,value:A,table:D};
this.__qX=this.__qY.createCellEditor(C);
if(this.__qX===null){return false;
}else if(this.__qX instanceof qx.ui.window.Window){this.__qX.setModal(true);
this.__qX.setShowClose(false);
this.__qX.addListener(dA,this._onCellEditorModalWindowClose,this);
var f=D.getModalCellEditorPreOpenFunction();

if(f!=null){f(this.__qX,C);
}this.__qX.open();
}else{var E=this.__qD.getInnerSize();
this.__qX.setUserBounds(0,0,E.width,E.height);
this.__qD.addListener(db,function(e){this.__qR={row:this.__qW,col:this.__qV};
e.stopPropagation();
},this);
this.__qD.add(this.__qX);
this.__qD.addState(dY);
this.__qD.setKeepActive(false);
this.__qX.focus();
this.__qX.activate();
}return true;
}return false;
},stopEditing:function(){this.flushEditor();
this.cancelEditing();
},flushEditor:function(){if(this.isEditing()){var eg=this.__qY.getCellEditorValue(this.__qX);
var ef=this.getTable().getTableModel().getValue(this.__qV,this.__qW);
this.getTable().getTableModel().setValue(this.__qV,this.__qW,eg);
this.__qv.focus();
this.__qv.fireDataEvent(dw,{row:this.__qW,col:this.__qV,oldValue:ef,value:eg});
}},cancelEditing:function(){if(this.isEditing()&&!this.__qX.pendingDispose){this.getTable().unblockHeaderElements();

if(this._cellEditorIsModalWindow){this.__qX.destroy();
this.__qX=null;
this.__qY=null;
this.__qX.pendingDispose=true;
}else{this.__qD.removeState(dY);
this.__qD.setKeepActive(true);
this.__qX.destroy();
this.__qX=null;
this.__qY=null;
}}},_onCellEditorModalWindowClose:function(e){this.stopEditing();
},_getColumnForPageX:function(o){var r=this.getTable().getTableColumnModel();
var s=this.getTablePaneModel();
var q=s.getColumnCount();
var u=this.__qy.getContainerLocation().left;

for(var x=0;x<q;x++){var p=s.getColumnAtX(x);
var t=r.getColumnWidth(p);
u+=t;

if(o<u){return p;
}}return null;
},_getResizeColumnForPageX:function(bz){var bD=this.getTable().getTableColumnModel();
var bE=this.getTablePaneModel();
var bC=bE.getColumnCount();
var bG=this.__qy.getContainerLocation().left;
var bA=qx.ui.table.pane.Scroller.RESIZE_REGION_RADIUS;

for(var x=0;x<bC;x++){var bB=bE.getColumnAtX(x);
var bF=bD.getColumnWidth(bB);
bG+=bF;

if(bz>=(bG-bA)&&bz<=(bG+bA)){return bB;
}}return -1;
},_getRowForPagePos:function(cA,cB){var cC=this.__qz.getContentLocation();

if(cA<cC.left||cA>cC.right){return null;
}
if(cB>=cC.top&&cB<=cC.bottom){var cD=this.getTable().getRowHeight();
var scrollY=this.__qx.getPosition();

if(this.getTable().getKeepFirstVisibleRowComplete()){scrollY=Math.floor(scrollY/cD)*cD;
}var cG=scrollY+cB-cC.top;
var cI=Math.floor(cG/cD);
var cH=this.getTable().getTableModel();
var cE=cH.getRowCount();
return (cI<cE)?cI:null;
}var cF=this.__qy.getContainerLocation();

if(cB>=cF.top&&cB<=cF.bottom&&cA<=cF.right){return -1;
}return null;
},setTopRightWidget:function(es){var et=this.__ra;

if(et!=null){this.__qA.remove(et);
}
if(es!=null){this.__qA.add(es);
}this.__ra=es;
},getTopRightWidget:function(){return this.__ra;
},getHeader:function(){return this.__qy;
},getTablePane:function(){return this.__qz;
},getVerticalScrollBarWidth:function(){var R=this.__qx;
return R.isVisible()?(R.getSizeHint().width||0):0;
},getNeededScrollBars:function(bl,bm){var bs=this.__qx.getSizeHint().width;
var bt=this.__qC.getInnerSize();
var bn=bt?bt.width:0;

if(this.getVerticalScrollBarVisible()){bn+=bs;
}var bw=bt?bt.height:0;

if(this.getHorizontalScrollBarVisible()){bw+=bs;
}var bq=this.getTable().getTableModel();
var bu=bq.getRowCount();
var bx=this.getTablePaneModel().getTotalWidth();
var bv=this.getTable().getRowHeight()*bu;
var bp=false;
var by=false;

if(bx>bn){bp=true;

if(bv>bw-bs){by=true;
}}else if(bv>bw){by=true;

if(!bm&&(bx>bn-bs)){bp=true;
}}var br=qx.ui.table.pane.Scroller.HORIZONTAL_SCROLLBAR;
var bo=qx.ui.table.pane.Scroller.VERTICAL_SCROLLBAR;
return ((bl||bp)?br:0)|((bm||!by)?0:bo);
},_applyScrollTimeout:function(cv,cw){this._startInterval(cv);
},_startInterval:function(bk){this.__qE.setInterval(bk);
this.__qE.start();
},_stopInterval:function(){this.__qE.stop();
},_postponedUpdateContent:function(){this._updateContent();
},_oninterval:qx.event.GlobalError.observeMethod(function(){if(this.__qH&&!this.__qz._layoutPending){this.__qH=false;
this._updateContent();
}}),_updateContent:function(){var bO=this.__qC.getInnerSize();

if(!bO){return;
}var bR=bO.height;
var scrollX=this.__qw.getPosition();
var scrollY=this.__qx.getPosition();
var bL=this.getTable().getRowHeight();
var bM=Math.floor(scrollY/bL);
var bQ=this.__qz.getFirstVisibleRow();
this.__qz.setFirstVisibleRow(bM);
var bN=Math.ceil(bR/bL);
var bK=0;
var bP=this.getTable().getKeepFirstVisibleRowComplete();

if(!bP){bN++;
bK=scrollY%bL;
}this.__qz.setVisibleRowCount(bN);

if(bM!=bQ){this._updateFocusIndicator();
}this.__qC.scrollToX(scrollX);
if(!bP){this.__qC.scrollToY(bK);
}},_updateFocusIndicator:function(){if(!this.getShowCellFocusIndicator()){return;
}var cf=this.getTable();

if(!cf.getEnabled()){return;
}this.__qD.moveToCell(this.__qV,this.__qW);
}},destruct:function(){this._stopInterval();
var ft=this.getTablePaneModel();

if(ft){ft.dispose();
}this.__qR=this.__ra=this.__qv=null;
this._disposeObjects(dk,dn,dS,dq,dO,dz,dj,dJ,dC);
}});
})();
(function(){var a="qx.ui.table.pane.Clipper";
qx.Class.define(a,{extend:qx.ui.container.Composite,construct:function(){qx.ui.container.Composite.call(this,new qx.ui.layout.Grow());
this.setMinWidth(0);
},members:{scrollToX:function(b){this.getContentElement().scrollToX(b,false);
},scrollToY:function(c){this.getContentElement().scrollToY(c,true);
}}});
})();
(function(){var p="Integer",o="Escape",n="keypress",m="Enter",l="excluded",k="qx.ui.table.pane.FocusIndicator";
qx.Class.define(k,{extend:qx.ui.container.Composite,construct:function(q){qx.ui.container.Composite.call(this);
this.__rd=q;
this.setKeepActive(true);
this.addListener(n,this._onKeyPress,this);
},properties:{visibility:{refine:true,init:l},row:{check:p,nullable:true},column:{check:p,nullable:true}},members:{__rd:null,_onKeyPress:function(e){var j=e.getKeyIdentifier();

if(j!==o&&j!==m){e.stopPropagation();
}},moveToCell:function(a,b){if(a==null){this.hide();
this.setRow(null);
this.setColumn(null);
}else{var c=this.__rd.getTablePaneModel().getX(a);

if(c==-1){this.hide();
this.setRow(null);
this.setColumn(null);
}else{var i=this.__rd.getTable();
var g=i.getTableColumnModel();
var h=this.__rd.getTablePaneModel();
var f=this.__rd.getTablePane().getFirstVisibleRow();
var d=i.getRowHeight();
this.setUserBounds(h.getColumnLeft(a)-2,(b-f)*d-2,g.getColumnWidth(a)+3,d+3);
this.show();
this.setRow(b);
this.setColumn(a);
}}}},destruct:function(){this.__rd=null;
}});
})();
(function(){var b="Integer",a="qx.ui.table.pane.CellEvent";
qx.Class.define(a,{extend:qx.event.type.Mouse,properties:{row:{check:b,nullable:true},column:{check:b,nullable:true}},members:{init:function(e,f,g,h){f.clone(this);
this.setBubbles(false);

if(g!=null){this.setRow(g);
}else{this.setRow(e._getRowForPagePos(this.getDocumentLeft(),this.getDocumentTop()));
}
if(h!=null){this.setColumn(h);
}else{this.setColumn(e._getColumnForPageX(this.getDocumentLeft()));
}},clone:function(c){var d=qx.event.type.Mouse.prototype.clone.call(this,c);
d.set({row:this.getRow(),column:this.getColumn()});
return d;
}}});
})();
(function(){var d="qx.lang.Number";
qx.Class.define(d,{statics:{isInRange:function(e,f,g){return e>=f&&e<=g;
},isBetweenRange:function(h,i,j){return h>i&&h<j;
},limit:function(a,b,c){if(c!=null&&a>c){return c;
}else if(b!=null&&a<b){return b;
}else{return a;
}}}});
})();
(function(){var j="Number",i="qx.event.type.Event",h="_applyFirstColumnX",g="Integer",f="qx.ui.table.pane.Model",e="_applyMaxColumnCount",d="visibilityChangedPre";
qx.Class.define(f,{extend:qx.core.Object,construct:function(m){qx.core.Object.call(this);
m.addListener(d,this._onColVisibilityChanged,this);
this.__re=m;
},events:{"modelChanged":i},statics:{EVENT_TYPE_MODEL_CHANGED:"modelChanged"},properties:{firstColumnX:{check:g,init:0,apply:h},maxColumnCount:{check:j,init:-1,apply:e}},members:{__rf:null,__re:null,_applyFirstColumnX:function(z,A){this.__rf=null;
this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);
},_applyMaxColumnCount:function(k,l){this.__rf=null;
this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);
},setTableColumnModel:function(y){this.__re=y;
this.__rf=null;
},_onColVisibilityChanged:function(s){this.__rf=null;
this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);
},getColumnCount:function(){if(this.__rf==null){var p=this.getFirstColumnX();
var r=this.getMaxColumnCount();
var q=this.__re.getVisibleColumnCount();

if(r==-1||(p+r)>q){this.__rf=q-p;
}else{this.__rf=r;
}}return this.__rf;
},getColumnAtX:function(n){var o=this.getFirstColumnX();
return this.__re.getVisibleColumnAtX(o+n);
},getX:function(B){var C=this.getFirstColumnX();
var D=this.getMaxColumnCount();
var x=this.__re.getVisibleX(B)-C;

if(x>=0&&(D==-1||x<D)){return x;
}else{return -1;
}},getColumnLeft:function(t){var w=0;
var v=this.getColumnCount();

for(var x=0;x<v;x++){var u=this.getColumnAtX(x);

if(u==t){return w;
}w+=this.__re.getColumnWidth(u);
}return -1;
},getTotalWidth:function(){var a=0;
var b=this.getColumnCount();

for(var x=0;x<b;x++){var c=this.getColumnAtX(x);
a+=this.__re.getColumnWidth(c);
}return a;
}},destruct:function(){this.__re=null;
}});
})();
(function(){var R="",Q="!",P="'!",O="'",N="Expected '",M="' (rgb(",L=",",K=")), but found value '",J="Event (",I="Expected value to be the CSS color '",bX="' but found ",bW="The value '",bV="qx.core.Object",bU="Expected value to be an array but found ",bT=") was fired.",bS="Expected value to be an integer >= 0 but found ",bR="' to be not equal with '",bQ="' to '",bP="qx.ui.core.Widget",bO="Called assertTrue with '",Y="Expected value to be a map but found ",ba="The function did not raise an exception!",W="Expected value to be undefined but found ",X="Expected value to be a DOM element but found  '",U="Expected value to be a regular expression but found ",V="' to implement the interface '",S="Expected value to be null but found ",T="Invalid argument 'type'",bh="Called assert with 'false'",bi="Assertion error! ",bu="Expected value to be a string but found ",bq="null",bC="' but found '",bx="' must must be a key of the map '",bK="The String '",bH="Expected value not to be undefined but found ",bm="qx.util.ColorUtil",bN=": ",bM="The raised exception does not have the expected type! ",bL=") not fired.",bl="qx.core.Assert",bo="Expected value to be typeof object but found ",bp="' (identical) but found '",bs="' must have any of the values defined in the array '",bv="Expected value to be a number but found ",by="Called assertFalse with '",bE="]",bJ="Expected value to be a qooxdoo object but found ",bb="' arguments.",bc="Expected value not to be null but found ",bn="Array[",bB="' does not match the regular expression '",bA="' to be not identical with '",bz="' arguments but found '",bG="', which cannot be converted to a CSS color!",bF="Expected object '",bw="qx.core.AssertionError",bD="Expected value to be a boolean but found ",F="))!",bI="Expected value to be a qooxdoo widget but found ",bd="Expected value '%1' to be in the range '%2'..'%3'!",be="Expected value to be typeof '",br="Expected value to be typeof function but found ",G="Expected value to be an integer but found ",H="Called fail().",bk="The parameter 're' must be a string or a regular expression.",bf="Expected value to be a number >= 0 but found ",bg="Expected value to be instanceof '",bj="Wrong number of arguments given. Expected '",bt="object";
qx.Class.define(bl,{statics:{__rg:true,__rh:function(A,B){var C=R;

for(var i=1,l=arguments.length;i<l;i++){C=C+this.__ri(arguments[i]);
}var E=bi+A+bN+C;

if(this.__rg){qx.Bootstrap.error(E);
}
if(qx.Class.isDefined(bw)){var D=new qx.core.AssertionError(A,C);

if(this.__rg){qx.Bootstrap.error("Stack trace: \n"+D.getStackTrace());
}throw D;
}else{throw new Error(E);
}},__ri:function(cu){var cv;

if(cu===null){cv=bq;
}else if(qx.lang.Type.isArray(cu)&&cu.length>10){cv=bn+cu.length+bE;
}else if((cu instanceof Object)&&(cu.toString==null)){cv=qx.lang.Json.stringify(cu,null,2);
}else{try{cv=cu.toString();
}catch(e){cv=R;
}}return cv;
},assert:function(ci,cj){ci==true||this.__rh(cj||R,bh);
},fail:function(dI){this.__rh(dI||R,H);
},assertTrue:function(dr,ds){(dr===true)||this.__rh(ds||R,bO,dr,O);
},assertFalse:function(p,q){(p===false)||this.__rh(q||R,by,p,O);
},assertEquals:function(cd,ce,cf){cd==ce||this.__rh(cf||R,N,cd,bC,ce,P);
},assertNotEquals:function(dh,di,dj){dh!=di||this.__rh(dj||R,N,dh,bR,di,P);
},assertIdentical:function(dw,dx,dy){dw===dx||this.__rh(dy||R,N,dw,bp,dx,P);
},assertNotIdentical:function(cW,cX,cY){cW!==cX||this.__rh(cY||R,N,cW,bA,cX,P);
},assertNotUndefined:function(cU,cV){cU!==undefined||this.__rh(cV||R,bH,cU,Q);
},assertUndefined:function(n,o){n===undefined||this.__rh(o||R,W,n,Q);
},assertNotNull:function(cg,ch){cg!==null||this.__rh(ch||R,bc,cg,Q);
},assertNull:function(cS,cT){cS===null||this.__rh(cT||R,S,cS,Q);
},assertJsonEquals:function(de,df,dg){this.assertEquals(qx.lang.Json.stringify(de),qx.lang.Json.stringify(df),dg);
},assertMatch:function(cn,co,cp){this.assertString(cn);
this.assert(qx.lang.Type.isRegExp(co)||qx.lang.Type.isString(co),bk);
cn.search(co)>=0||this.__rh(cp||R,bK,cn,bB,co.toString(),P);
},assertArgumentsCount:function(dJ,dK,dL,dM){var dN=dJ.length;
(dN>=dK&&dN<=dL)||this.__rh(dM||R,bj,dK,bQ,dL,bz,arguments.length,bb);
},assertEventFired:function(cL,event,cM,cN,cO){var cQ=false;
var cP=function(e){if(cN){cN.call(cL,e);
}cQ=true;
};
var cR=cL.addListener(event,cP,cL);
cM.call();
cQ===true||this.__rh(cO||R,J,event,bL);
cL.removeListenerById(cR);
},assertEventNotFired:function(cF,event,cG,cH){var cJ=false;
var cI=function(e){cJ=true;
};
var cK=cF.addListener(event,cI,cF);
cG.call();
cJ===false||this.__rh(cH||R,J,event,bT);
cF.removeListenerById(cK);
},assertException:function(d,f,g,h){var f=f||Error;
var j;

try{this.__rg=false;
d();
}catch(dQ){j=dQ;
}finally{this.__rg=true;
}
if(j==null){this.__rh(h||R,ba);
}j instanceof f||this.__rh(h||R,bM,f);

if(g){this.assertMatch(j.toString(),g,h);
}},assertInArray:function(dR,dS,dT){dS.indexOf(dR)!==-1||this.__rh(dT||R,bW,dR,bs,dS,O);
},assertArrayEquals:function(ck,cl,cm){this.assertArray(ck,cm);
this.assertArray(cl,cm);
this.assertEquals(ck.length,cl.length,cm);

for(var i=0;i<ck.length;i++){this.assertIdentical(ck[i],cl[i],cm);
}},assertKeyInMap:function(dD,dE,dF){dE[dD]!==undefined||this.__rh(dF||R,bW,dD,bx,dE,O);
},assertFunction:function(y,z){qx.lang.Type.isFunction(y)||this.__rh(z||R,br,y,Q);
},assertString:function(dl,dm){qx.lang.Type.isString(dl)||this.__rh(dm||R,bu,dl,Q);
},assertBoolean:function(bY,ca){qx.lang.Type.isBoolean(bY)||this.__rh(ca||R,bD,bY,Q);
},assertNumber:function(dO,dP){(qx.lang.Type.isNumber(dO)&&isFinite(dO))||this.__rh(dP||R,bv,dO,Q);
},assertPositiveNumber:function(dG,dH){(qx.lang.Type.isNumber(dG)&&isFinite(dG)&&dG>=0)||this.__rh(dH||R,bf,dG,Q);
},assertInteger:function(cq,cr){(qx.lang.Type.isNumber(cq)&&isFinite(cq)&&cq%1===0)||this.__rh(cr||R,G,cq,Q);
},assertPositiveInteger:function(r,s){var t=(qx.lang.Type.isNumber(r)&&isFinite(r)&&r%1===0&&r>=0);
t||this.__rh(s||R,bS,r,Q);
},assertInRange:function(u,v,w,x){(u>=v&&u<=w)||this.__rh(x||R,qx.lang.String.format(bd,[u,v,w]));
},assertObject:function(dt,du){var dv=dt!==null&&(qx.lang.Type.isObject(dt)||typeof dt===bt);
dv||this.__rh(du||R,bo,(dt),Q);
},assertArray:function(cs,ct){qx.lang.Type.isArray(cs)||this.__rh(ct||R,bU,cs,Q);
},assertMap:function(cb,cc){qx.lang.Type.isObject(cb)||this.__rh(cc||R,Y,cb,Q);
},assertRegExp:function(da,db){qx.lang.Type.isRegExp(da)||this.__rh(db||R,U,da,Q);
},assertType:function(dU,dV,dW){this.assertString(dV,T);
typeof (dU)===dV||this.__rh(dW||R,be,dV,bX,dU,Q);
},assertInstance:function(dz,dA,dB){var dC=dA.classname||dA+R;
dz instanceof dA||this.__rh(dB||R,bg,dC,bX,dz,Q);
},assertInterface:function(a,b,c){qx.Class.implementsInterface(a,b)||this.__rh(c||R,bF,a,V,b,P);
},assertCssColor:function(cw,cx,cy){var cz=qx.Class.getByName(bm);

if(!cz){throw new Error("qx.util.ColorUtil not available! Your code must have a dependency on 'qx.util.ColorUtil'");
}var cB=cz.stringToRgb(cw);

try{var cA=cz.stringToRgb(cx);
}catch(dk){this.__rh(cy||R,I,cw,M,cB.join(L),K,cx,bG);
}var cC=cB[0]==cA[0]&&cB[1]==cA[1]&&cB[2]==cA[2];
cC||this.__rh(cy||R,I,cB,M,cB.join(L),K,cx,M,cA.join(L),F);
},assertElement:function(cD,cE){!!(cD&&cD.nodeType===1)||this.__rh(cE||R,X,cD,P);
},assertQxObject:function(k,m){this.__rj(k,bV)||this.__rh(m||R,bJ,k,Q);
},assertQxWidget:function(dc,dd){this.__rj(dc,bP)||this.__rh(dd||R,bI,dc,Q);
},__rj:function(dn,dp){if(!dn){return false;
}var dq=dn.constructor;

while(dq){if(dq.classname===dp){return true;
}dq=dq.superclass;
}return false;
}}});
})();
(function(){var p='',o='"',m=':',l=']',h='null',g=': ',f='object',e='function',d=',',b='\n',ba='\\u',Y=',\n',X='0000',W='string',V="Cannot stringify a recursive object.",U='0',T='-',S='}',R='String',Q='Boolean',x='\\\\',y='\\f',u='\\t',w='{\n',s='[]',t="qx.lang.JsonImpl",q='Z',r='\\n',z='Object',A='{}',H='@',F='.',K='(',J='Array',M='T',L='\\r',C='{',P='JSON.parse',O=' ',N='[',B='Number',D=')',E='[\n',G='\\"',I='\\b';
qx.Class.define(t,{extend:Object,construct:function(){this.stringify=qx.lang.Function.bind(this.stringify,this);
this.parse=qx.lang.Function.bind(this.parse,this);
},members:{__rk:null,__rl:null,__rm:null,__rn:null,stringify:function(be,bf,bg){this.__rk=p;
this.__rl=p;
this.__rn=[];

if(qx.lang.Type.isNumber(bg)){var bg=Math.min(10,Math.floor(bg));

for(var i=0;i<bg;i+=1){this.__rl+=O;
}}else if(qx.lang.Type.isString(bg)){if(bg.length>10){bg=bg.slice(0,10);
}this.__rl=bg;
}if(bf&&(qx.lang.Type.isFunction(bf)||qx.lang.Type.isArray(bf))){this.__rm=bf;
}else{this.__rm=null;
}return this.__ro(p,{'':be});
},__ro:function(bs,bt){var bw=this.__rk,bu,bx=bt[bs];
if(bx&&qx.lang.Type.isFunction(bx.toJSON)){bx=bx.toJSON(bs);
}else if(qx.lang.Type.isDate(bx)){bx=this.dateToJSON(bx);
}if(typeof this.__rm===e){bx=this.__rm.call(bt,bs,bx);
}
if(bx===null){return h;
}
if(bx===undefined){return undefined;
}switch(qx.lang.Type.getClass(bx)){case R:return this.__rp(bx);
case B:return isFinite(bx)?String(bx):h;
case Q:return String(bx);
case J:this.__rk+=this.__rl;
bu=[];

if(this.__rn.indexOf(bx)!==-1){throw new TypeError(V);
}this.__rn.push(bx);
var length=bx.length;

for(var i=0;i<length;i+=1){bu[i]=this.__ro(i,bx)||h;
}this.__rn.pop();
if(bu.length===0){var bv=s;
}else if(this.__rk){bv=E+this.__rk+bu.join(Y+this.__rk)+b+bw+l;
}else{bv=N+bu.join(d)+l;
}this.__rk=bw;
return bv;
case z:this.__rk+=this.__rl;
bu=[];

if(this.__rn.indexOf(bx)!==-1){throw new TypeError(V);
}this.__rn.push(bx);
if(this.__rm&&typeof this.__rm===f){var length=this.__rm.length;

for(var i=0;i<length;i+=1){var k=this.__rm[i];

if(typeof k===W){var v=this.__ro(k,bx);

if(v){bu.push(this.__rp(k)+(this.__rk?g:m)+v);
}}}}else{for(var k in bx){if(Object.hasOwnProperty.call(bx,k)){var v=this.__ro(k,bx);

if(v){bu.push(this.__rp(k)+(this.__rk?g:m)+v);
}}}}this.__rn.pop();
if(bu.length===0){var bv=A;
}else if(this.__rk){bv=w+this.__rk+bu.join(Y+this.__rk)+b+bw+S;
}else{bv=C+bu.join(d)+S;
}this.__rk=bw;
return bv;
}},dateToJSON:function(bb){var bc=function(n){return n<10?U+n:n;
};
var bd=function(n){var bl=bc(n);
return n<100?U+bl:bl;
};
return isFinite(bb.valueOf())?bb.getUTCFullYear()+T+bc(bb.getUTCMonth()+1)+T+bc(bb.getUTCDate())+M+bc(bb.getUTCHours())+m+bc(bb.getUTCMinutes())+m+bc(bb.getUTCSeconds())+F+bd(bb.getUTCMilliseconds())+q:null;
},__rp:function(bp){var bq={'\b':I,'\t':u,'\n':r,'\f':y,'\r':L,'"':G,'\\':x};
var br=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;
br.lastIndex=0;

if(br.test(bp)){return o+
bp.replace(br,function(a){var c=bq[a];
return typeof c===W?c:ba+(X+a.charCodeAt(0).toString(16)).slice(-4);
})+o;
}else{return o+bp+o;
}},parse:function(bm,bn){var bo=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;
bo.lastIndex=0;
if(bo.test(bm)){bm=bm.replace(bo,function(a){return ba+(X+a.charCodeAt(0).toString(16)).slice(-4);
});
}if(/^[\],:{}\s]*$/.test(bm.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,H).replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,l).replace(/(?:^|:|,)(?:\s*\[)+/g,p))){var j=eval(K+bm+D);
return typeof bn===e?this.__rq({'':j},p,bn):j;
}throw new SyntaxError(P);
},__rq:function(bh,bi,bj){var bk=bh[bi];

if(bk&&typeof bk===f){for(var k in bk){if(Object.hasOwnProperty.call(bk,k)){var v=this.__rq(bk,k,bj);

if(v!==undefined){bk[k]=v;
}else{delete bk[k];
}}}}return bj.call(bh,bi,bk);
}}});
})();
(function(){var b="qx.lang.Json";
qx.Class.define(b,{statics:{JSON:(qx.lang.Type.getClass(window.JSON)=="JSON"&&JSON.parse('{"x":1}').x===1)?window.JSON:new qx.lang.JsonImpl(),stringify:null,parse:null},defer:function(a){a.stringify=a.JSON.stringify;
a.parse=a.JSON.parse;
}});
})();
(function(){var k="",j='',i='*** Select ***',h="table-row-background-even",g="Boolean",f="height:",e="'",d="table-row",c="table-row-background-focused",b=';color:',x="table-row-background-odd",w="1px solid ",v="table-row-line",u="Agrammon.Lib.FancyRowRenderer",t="table-row-background-selected",s="background-color:",r=';border-bottom: 1px solid ',q="table-row-selected",p='#ff4040',o="table-row-background-focused-selected",m="px;",n="default",l=";";
qx.Class.define(u,{extend:qx.core.Object,implement:qx.ui.table.IRowRenderer,construct:function(){qx.core.Object.call(this);
this.__rr=k;
this.__rr={};
this.__rs={};
this._renderFont(qx.theme.manager.Font.getInstance().resolve(n));
var a=qx.theme.manager.Color.getInstance();
this.__rs.bgcolFocusedSelected=a.resolve(o);
this.__rs.bgcolFocused=a.resolve(c);
this.__rs.bgcolSelected=a.resolve(t);
this.__rs.bgcolEven=a.resolve(h);
this.__rs.bgcolOdd=a.resolve(x);
this.__rs.colSelected=a.resolve(q);
this.__rs.colNormal=a.resolve(d);
this.__rs.horLine=a.resolve(v);
this.__rs.undefined=p;
},properties:{highlightFocusRow:{check:g,init:false}},members:{__rs:null,__rt:null,__rr:null,_insetY:1,_renderFont:function(z){if(z){this.__rt=z.getStyles();
this.__rr=qx.bom.element.Style.compile(this.__rt);
this.__rr=this.__rr.replace(/"/g,e);
}else{this.__rr=k;
this.__rt=qx.bom.Font.getDefaultStyles();
}},updateDataRowElement:function(C,D){var F=this.__rt;
var E=D.style;
qx.bom.element.Style.setStyles(D,F);

if(C.focusedRow&&this.getHighlightFocusRow()){E.backgroundColor=this.__rs.bgcolFocused;
}else{E.backgroundColor=(C.row%2==0)?this.__rs.bgcolEven:this.__rs.bgcolOdd;
}E.color=this.__rs.colNormal;

if(C.rowData!=undefined&&(C.rowData[5]===undefined||C.rowData[5]===i||C.rowData[5]===null||C.rowData[5]===j)){E.color=this.__rs.undefined;
}else{E.borderBottom=w+this.__rs.horLine;
}},getRowHeightStyle:function(y){if(qx.bom.client.Feature.CONTENT_BOX){y-=this._insetY;
}return f+y+m;
},createRowStyle:function(A){var B=[];
B.push(l);
B.push(this.__rr);
B.push(s);

if(A.focusedRow&&this.getHighlightFocusRow()){B.push(this.__rs.bgcolFocused);
}else{B.push((A.row%2==0)?this.__rs.bgcolEven:this.__rs.bgcolOdd);
}B.push(b);

if(A.rowData[5]===undefined||A.rowData[5]===i||A.rowData[5]===null||A.rowData[5]===j){B.push(this.__rs.undefined);
}else{B.push(this.__rs.colNormal);
}B.push(r,this.__rs.horLine);
return B.join(k);
},getRowClass:function(G){return k;
}},destruct:function(){this.__rs=this.__rt=this.__rr=null;
}});
})();
(function(){var b="qx.ui.table.cellrenderer.Image",a="";
qx.Class.define(b,{extend:qx.ui.table.cellrenderer.AbstractImage,construct:function(e,f){qx.ui.table.cellrenderer.AbstractImage.call(this);

if(e){this.__rv=e;
}
if(f){this.__rw=f;
}this.__rx=qx.util.AliasManager.getInstance();
},members:{__rx:null,__rw:16,__rv:16,_identifyImage:function(c){var d={imageWidth:this.__rv,imageHeight:this.__rw};

if(c.value==a){d.url=null;
}else{d.url=this.__rx.resolve(c.value);
}d.tooltip=c.tooltip;
return d;
}},destruct:function(){this.__rx=null;
}});
})();
(function(){var u='',t='folder',s='[',r=']',q='Agrammon',p='root',o='isInstance',n='parent',m='[]',l='Agrammon/nh3.png',bO="Agrammon.ui.NavFolder",bN="changeSelection",bM='agrammon.NavBar.deleteInstanceData',bL="qx/tree-items",bK='New name',bJ='agrammon.NavBar.addFolder',bI='pattern',bH='agrammon.NavBar.getInput',bG='agrammon.NavBar.renameInstanceData',bF='\t',B='agrammon.NavBar.orderInstances',C='name',z='\n',A='agrammon.PropTable.clear',x='newInstance',y="Error",v='order',w='integer',J='Add instance',K='boolean',bg='canInstance',bc='agrammon.NavBar.deleteInstance',bo="drag",bj='Duplicate instance ',bA='rename_instance',bu='isSingleton',T='percent',bE='load_dataset',bC="solid",bB='dataset',R='text',X="drop",ba='agrammon.NavBar.clearTree',be='oldInstance',bh='order_instances',bk='agrammon.Reports.createMenu',bq='isRoot',bw='Agrammon/nh3-rotate.gif',D='delete_data',E=' variables:\n',V='entry',bn='agrammon.input.select',bm='reports',bl="move",bs='Agrammon.ui.NavBar',br='checkbox',bi='instance',bp="dragstart",g='\nVariables deleted from dataset',bv='white',F='graphs',G='data',bd='Rename instance ',h='*** Select ***',k="Duplicate instances not allowed",P='agrammon.NavBar.destroyFolder',H='comment',I='error',O="droprequest",bf='agrammon.NavBar.loadDataset',by='::',bx='Agrammon/info_ts.png',Y="contextmenu",bz="red",S='-',bt="dragend",L='No match for ',N="dragover",U='NULL',bb='float',M='Name',bD='agrammon.Graphs.createMenu',W='agrammon.Output.invalidate',j='isPlain',Q='get_input_variables';
qx.Class.define(bs,{extend:qx.ui.container.Composite,construct:function(bP,bQ,bR){qx.Class.include(qx.ui.core.Widget,qx.ui.core.MPlacement);
qx.ui.container.Composite.call(this);
this.setLayout(new qx.ui.layout.VBox());
this.setWidth(250);
this.__xG=bx;
this.__xH=bP;
this.__xI=bQ;
var bT=this;
qx.event.message.Bus.subscribe(bf,this.__xK,this);
qx.event.message.Bus.subscribe(bH,this.__xN,this);
qx.event.message.Bus.subscribe(bJ,this.__xQ,this);
qx.event.message.Bus.subscribe(bG,this.__xX,this);
qx.event.message.Bus.subscribe(bM,this.__xV,this);
qx.event.message.Bus.subscribe(bc,this.__xS,this);
qx.event.message.Bus.subscribe(P,this.__xT,this);
qx.event.message.Bus.subscribe(ba,this.__xR,this);
this.rootFolder=new Object;
this.propEditor=bR;
this.navHash=new Object;
this.navTree=new qx.ui.tree.Tree(q,l);
this.navTree.set({backgroundColor:bv,padding:0,width:200,hideRoot:false});
this.add(this.navTree,{flex:1});
this.navTree.setDraggable(true);
this.navTree.setDroppable(true);
var bS=new qx.ui.core.Widget;
bS.setDecorator(new qx.ui.decoration.Single().set({top:[2,bC,bz]}));
bS.setHeight(0);
bS.setOpacity(0.5);
bS.setZIndex(100);
bS.setLayoutProperties({left:-1000,top:-1000});
bS.setDroppable(true);
this.getApplicationRoot().add(bS);
this.navTree.addListener(bt,function(e){this.setDomPosition(-1000,-1000);
},bS);
var bW=u;
this.navTree.addListener(bo,function(e){if(!e.getTarget().getSelection()[0].isInstance()){return;
}var cS=e.getOriginalTarget();
if(!qx.ui.core.Widget.contains(this.navTree,cS)){return;
}var cP;

if(cS.classname===bO){cP=cS.getLayoutParent();
cP=cS;
}else{cP=cS.getLayoutParent();
cP=null;
}cP=this.getTreeFolder(cS);
var cM=e.getTarget().getSelection()[0];

if(!cP){return;
}
if(cP===bW){}else{bW=cP;
}var cQ=cM.getParent();
var cK=cP.getParent();

if(cQ!==cK){var cL=cQ.getParent();
var cN=cL.getChildren().indexOf(cQ);
var cO=cL.getChildren().indexOf(cP);
if((cO-cN)!=1){return;
}}var cR=cP.getContainerLocation();
bS.setWidth(this.navTree.getLayoutParent().getWidth()-4);
bS.setDomPosition(cR.left,cR.top);
},this);
this.navTree.addListener(N,function(e){if(e.getRelatedTarget()){e.preventDefault();
}});
this.navTree.addListener(bp,function(e){e.addAction(bl);
e.addType(bL);
});
this.navTree.addListener(O,function(e){var ch=e.getCurrentType();
var ci=this.getSelection();
e.addData(ch,ci);
});
this.__xJ=[];
var bX=function(){var dT=bQ.getUserName();
var dU=bQ.getDatasetName();
this.__xH.callAsync(this.order_instances_func,bh,{instances:this.__xJ,dataset_name:dU,pers_email:dT});
};
this.order_instances_func=function(cw,cx,cy){if(cx==null){}else{alert(cx);
}};
this.navTree.addListener(X,function(e){if(!e.getTarget().getSelection()[0].isInstance()){return;
}var cJ=e.getOriginalTarget();
var cI;

if(cJ.classname==bO){cI=cJ;
}else{cI=cJ.getLayoutParent();
}var cB=e.getData(bL)[0];
if(!cI||cI===cB){return;
}var cH=cB.getParent();
var cz=cI.getParent();
var cE=false;

if(cH!==cz){var cA=cH.getParent();
var cC=cA.getChildren().indexOf(cH);
var cD=cA.getChildren().indexOf(cI);

if((cD-cC)==1){cH.add(cB);
cE=true;
}}else if(cB!==cI.getParent()){cI.getParentNavFolder().addBefore(cB,cI);
cE=true;
}if(cE){var cF=cI.getParent().getChildren();
var i,cG=cF.length;
for(i=0;i<cG;i++){this.__xJ.push(cF[i].getName());
}qx.event.message.Bus.dispatch(B);
}},this);
qx.event.message.Bus.subscribe(B,bX,this);
var cb=new Agrammon.ui.NavFolder({en:q,de:q,fr:q,it:q},bq,null,p);
cb.setIcon(l);
this.rootFolder=cb;
this.navTree.setRoot(cb);
this.__xR();
var bV=new Agrammon.ui.NavMenu(this,this.__xI);
this.navTree.setContextMenu(bV);
this.navTree.addListener(Y,function(e){var cc=this.getContextMenu();
cc.setOpener(this);
cc.show();
},this.navTree);
var bY=function(e){var ex=e.getData()[0];
this.propEditor.stopEditing();
this.propEditor.resetCellFocus();

if(ex==null){return ;
}
if(ex.getLabel()==q){return;
}if(!ex.isInstance()&&!ex.isSingleton()){this.propEditor.clear();
return;
}this.propEditor.setData(ex,ex.getDataset());
};
this.changeSelectionHandler=bY;
this.navTree.addListener(bN,bY,this);
this.add(this.navTree);
var ca=qx.lang.Function.bind(function(cr,cs,ct){if(cs==null){var cv=cr[bB];
var cu=this.__xI.getUserName();
qx.event.message.Bus.dispatch(bk,cr[bm]);
qx.event.message.Bus.dispatch(bD,cr[F]);
this.__xM(cr[G]);

if(cv!=null){this.debug('getInputVariablesHandler(): loading '+cu+'/'+cv['name']);
this.__xH.callAsync(this.loadDatasetHandler,bE,{username:cu,dataset:cv[C]});
}}else{alert(cs);
}return;
},this);
this.getInputVariablesHandler=ca;
var bU=qx.lang.Function.bind(function(cl,cm,cn){if(cm==null){this.__xL(cl);
}else{alert(cm);
}},this);
this.loadDatasetHandler=bU;
return this;
},statics:{sibblingExists:function(dM,parent){var dN=parent.getChildren();
var dP=dN.length;
var i,dO;
SIBBLING:
for(i=0;i<dP;i++){dO=dN[i].getName();

if(dO==null){this.debug('sibblingExists(): sname==null');
break SIBBLING;
}else{dO.match(/\[(.+)\]/);
dO=RegExp.$1;
}
if(dM==dO){qx.event.message.Bus.dispatch(I,[this.tr(y),this.tr(k)]);
return true;
}}return false;
}},members:{__xH:null,__xI:null,__xG:null,__xK:function(dQ){var dS=dQ.getData();
var dR=this.__xI.getUserName();
this.__xI.setDatasetName(dS[C]);
this.__xR();
qx.event.message.Bus.dispatch(bn);
qx.event.message.Bus.dispatch(W);
qx.event.message.Bus.dispatch(bH,dS);
return ;
},__xL:function(da){var dl=da.length;
var dc,ds;
var dp=0;
var dh=0;
var i;
var dt,dj,dd,dm;
for(i=0;i<dl;i++){dc=String(da[i][0]);
if(dc.match(/(.+\[(.+)\])/)){dt=RegExp.$1;
if(!this.navHash[dt]){var dg=s+RegExp.$2+r;
dt.match(/(.+)(\[.+\])/);
dd=RegExp.$1+m;
var dk=RegExp.$2;

if(this.navHash[dd]==undefined){this.debug('__loadDatasetFunction(): folderName='+dt+', parentName='+dd+', instanceName='+dk);
}dm=this.navHash[dd][t];
var de=dm.getLabels();
var dw=new Object;
var dn;

for(dn in de){dw[dn]=de[dn]+dk;
}var df=da[i][2];
dj=this.__xO(dt,dw,df);
var dq=dm.cloneDataset(dg);
dj.setDataset(dq,false,false);
}}}this.buildTree();
var di=u;
var dv,dk;

for(i=0;i<dl;i++){dc=da[i][0];
ds=da[i][1];
dv=dc.match(/(.+\[(.+)\])/);

if(dv!=null){dt=RegExp.$1;
dk=RegExp.$2;
}else{dc.match(/(.+)::.+/);
dt=RegExp.$1;
dk=u;
}var du=true;

while(this.navHash[dt]==null){if(dc.match(/Storage/)){this.debug('navHash['+dt+'] is null');
}du=false;

if(dt.match(/(.+)::.+/)){dt=RegExp.$1;
du=true;
break;
}}
if(this.navHash[dt]!=null){dj=this.navHash[dt][t];
var dr=true;
if(dj.setData(dc,ds,dr)){dp++;
}else{this.debug('__loadDatasetFunction(): couldn\'t set '+dc+'  /  '+dt);
qx.event.message.Bus.dispatch(bM,{pattern:dc,instance:dk});
di=bF+di+dc+z;
dh++;
}}else{this.debug('__loadDatasetFunction(): couldn\'t find folder for '+dc);
di=bF+di+dc+z;
dh++;
}}var db=dp+dh;
if(dh!=0){di=L+dh+E+di+g;
alert(di);
}this.rootFolder.isComplete(dp);
qx.event.message.Bus.dispatch(A);
return;
},__xM:function(ed){var ee;
var ek,i,eg,ef,em,en;
var ej=new Date(),el,ei=ej.getTime();
eg=ed.length;

for(i=0;i<eg;i++){ek=ed[i];
ee=this.__xO(String(ek.gui.en),ek.gui);
switch(ek.type){case bb:case w:case T:case R:en={'type':ek.type,'validator':ek.validator};
ef=null;
break;
case K:en={type:br};
ef=true;
break;
case H:break;
default:if(ek.type.match(/enum/)){en={options:ek.options,optionsLang:ek.optionsLang};
ef=h;
}else{alert('This should not happen: unkown variable type='+ek.type);
}break;
}em=Agrammon.Lib.Validators.getHelpFunction(ek.validator,ek.type,ek.help);
var eh=new Agrammon.Lib.Variable().set({name:ek.variable,labels:ek.labels,value:ef,metaData:en,type:ek.type,unit:ek.unit,helpFunction:em});
ee.addData(eh);
}this.buildTree();
this.rootFolder.setIcon(l);
this.rootFolder.isComplete(0);
el=new Date().getTime()-ei;
this.debug('__getInputVariables(): runTime = '+el);
return;
},__xN:function(dV){var dW;

if(dV!=S){dW=dV.getData();
}else{dW=u;
}this.rootFolder.setIcon(bw);
qx.event.message.Bus.dispatch(A);
this.__xH.callAsync(this.getInputVariablesHandler,Q,dW);
return;
},__xO:function(eF,eG,eH){if(this.navHash[eF]){return this.navHash[eF][t];
}var eR=!eF.match(by);
var eJ,parent;
var eP,eN,eL,eS;
var eO;
if(eR){eN=eF;
eJ=new Agrammon.ui.NavFolder(eG,j,null,eN,eH);
eL=p;
parent=this.navHash[p][t];
this.__xP(eN,eJ,parent,eH);
}else{eO=/(.+)\[(.*)\]/;
var eK=eO.exec(eF);

if(eK==null){eP=u;
}else{eP=eK[2];
}eN=eF;
var eM=u;

if(eP==u){eO=/(.+)::(.+)/;
}else{eO=/(.+)\[(.+)\]/;
eM=m;
}eO.exec(eN);
eL=RegExp.$1+eM;
var eQ;
var eI=new Object;
;

for(eQ in eG){eO.exec(eG[eQ]);
eI[eQ]=RegExp.$1+eM;
}
if(!eN.match(/\[\]/)){if(eL.match(/\[\]/)){eS=o;
}else{eS=bu;
}}else{eS=bg;
}if(!this.navHash[eL]){this.__xO(eL,eI,eH);
}for(eQ in eG){eO.exec(eG[eQ]);
eG[eQ]=RegExp.$2;
}if(this.navHash[eL]){parent=this.navHash[eL][t];
}else{parent=p;
}eJ=new Agrammon.ui.NavFolder(eG,eS,null,eN,eH);
this.__xP(eN,eJ,parent,eH);
}return eJ;
},__xP:function(fj,fk,fl,fm){var fo;

if(fl==null){fo=U;
this.debug('__addFolder(): parentFolder == null');
}else{fo=fl.getName();
}var fn=new Object;
fn[t]=fk;
fn[n]=fl;
fn[v]=fm;
this.navHash[fj]=fn;
fk.setParentNavFolder(fl);

if(fl!=null){fl.addChild(fk);
}return;
},__xQ:function(dX){var eb=dX.getData();
var ea=eb[V];
var ec=eb[t];
var dY=eb[n];
this.__xP(ea,ec,dY);
return;
},getTree:function(){return this.navTree;
},__xR:function(){this.propEditor.clear();
this.rootFolder.removeAll();
this.navHash=new Object;
var cd=new Object;
cd[t]=this.rootFolder;
cd[n]=null;
this.navHash[p]=cd;
},buildTree:function(){var ew,eu,parent,ev;

for(ew in this.navHash){eu=this.navHash[ew];
parent=eu[n];
ev=eu[t];
if(ew!=p){parent.add(ev);
parent.addChild(ev);
}ev.setOpen(true);
}},__xS:function(eT){var eU=eT.getData();
this.delInstance(eU);
},__xT:function(cj){var ck=cj.getData();
ck.destroy();
},delInstance:function(dH){this.debug('delInstance(): folder='+dH);
var dI=dH.getParentNavFolder();
var dJ=dI.getName();
var dK=dH.getLabel();
var dL=dJ.replace(/\[\]/,s+dK+r);
dI.delChild(dH);
qx.event.message.Bus.dispatch(bM,{pattern:dJ,instance:dK});
this.navTree.removeListener(bN,this.changeSelectionHandler,this);
dH.removeAll();
dH.destroy();
dH=null;
this.navTree.addListener(bN,this.changeSelectionHandler,this);
this.navTree.setSelection([dI]);
this.rootFolder.isComplete();
return;
},__xU:function(co,cp,cq){if(cp==null){}else{alert(cp);
}},__xV:function(eo){var es=eo.getData();
var eq=es[bI];
var et=es[bi];
var ep=this.__xI.getUserName();
var er=this.__xI.getDatasetName();
eq=eq.replace(/\[.+\]/,m);
this.__xH.callAsync(this.__xU,D,{pers_email:ep,dataset_name:er,instance:et,pattern:eq});
return;
},__xW:function(ce,cf,cg){if(cf==null){}else{alert(cf);
}},__xX:function(fc){var fi=fc.getData();
var fg=fi[bI];
var ff=fi[x];
var fh=fi[be];
var fd=this.__xI.getUserName();
var fe=this.__xI.getDatasetName();
this.__xH.callAsync(this.__xW,bA,{pers_email:fd,dataset_name:fe,oldInstance:fh,newInstance:ff,pattern:fg});
return;
},addInstance:function(cT){var cU=cT.getSelection()[0];
var cW=cU.getName();
var cX;
var cV=qx.lang.Function.bind(function(self){var dy=self.nameField.getValue();

if(dy==u||dy==null){alert('Empty instance names not allowed');
return;
}
if(Agrammon.ui.NavBar.sibblingExists(dy,cU)){return;
}var dA={'en':dy,'de':dy,'fr':dy,'it':dy};
var dB=cW.replace(/\[\]/,s+dy+r);
var dx=new Agrammon.ui.NavFolder(dA,o,null,dB);
qx.event.message.Bus.dispatch(bJ,{'entry':dB,'folder':dx,'parent':cU});
dy=s+dy+r;
var dz=cU.cloneDataset(dy);
dx.setDataset(dz,true,false);
cU.add(dx);
cU.setOpen(true);
this.navTree.setSelection([dx]);
this.rootFolder.isComplete();
cX.close();
},this);
cX=new Agrammon.Lib.Dialog(J,M,cV,this);
return;
},renInstance:function(eV){var eW=eV.getParentNavFolder();
var fb=eV.getLabel();
var eY=eW.getName();
var fa;
var eX=qx.lang.Function.bind(function(self){var b=self.nameField.getValue();

if(b==u||b==null){alert('Empty instance names not allowed');
return;
}
if(Agrammon.ui.NavBar.sibblingExists(b,eW)){return;
}var d={'en':b,'de':b,'fr':b,'it':b};
var f=eY.replace(/\[\]/,s+b+r);
var a=new Agrammon.ui.NavFolder(d,o,null,f);
this.__xP(f,a,eW);
var c=eV.cloneDataset(b);
a.setDataset(c,false,false);
eW.add(a);
this.navTree.setSelection([a]);
eW.delChild(eV);
eV.removeAll();
eV.destroy();
qx.event.message.Bus.dispatch(bG,{pattern:eY,oldInstance:fb,newInstance:b});
self.close();
},this);
fa=new Agrammon.Lib.Dialog(bd+fb,bK,eX,this);
return;
},copyInstance:function(ey){var eE=ey;
var eA=eE.getParentNavFolder();
var eC=ey.getLabel();
var ez=eA.getName();
var eB;
var eD=qx.lang.Function.bind(function(self){var dD=self.nameField.getValue();

if(dD==u||dD==null){alert('Empty instance names not allowed');
return;
}
if(Agrammon.ui.NavBar.sibblingExists(dD,eA)){return;
}var dF={'en':dD,'de':dD,'fr':dD,'it':dD};
var dG=ez.replace(/\[\]/,s+dD+r);
var dC=new Agrammon.ui.NavFolder(dF,o,null,dG);
this.__xP(dG,dC,eA);
dD=s+dD+r;
var dE=ey.cloneDataset(dD);
dC.setDataset(dE,false,true);
eA.add(dC);
this.navTree.setSelection([dC]);
self.close();
},this);
eB=new Agrammon.Lib.Dialog(bj+eC,bK,eD,this);
return;
},getTreeFolder:function(cY){if(cY==null){return null;
}if(cY.classname===bO){return cY;
}else{return this.getTreeFolder(cY.getLayoutParent());
}}}});
})();
(function(){var h="right",g="above",f="left",e="under",d="qx.ui.tree.SelectionManager";
qx.Class.define(d,{extend:qx.ui.core.selection.ScrollArea,members:{_getSelectableLocationY:function(a){var b=a.getBounds();

if(b){var top=this._getWidget().getItemTop(a);
return {top:top,bottom:top+b.height};
}},_isSelectable:function(c){return c instanceof qx.ui.tree.AbstractTreeItem&&c.isEnabled()&&c.isVisible();
},_getSelectableFromMouseEvent:function(event){return this._getWidget().getTreeItem(event.getTarget());
},getSelectables:function(){var o=this._getWidget();
var p=[];

if(o.getRoot()!=null){var n=o.getRoot().getItems(true,false,o.getHideRoot());

for(var i=0;i<n.length;i++){if(this._isSelectable(n[i])){p.push(n[i]);
}}}return p;
},_getSelectableRange:function(r,s){if(r===s){return [r];
}var t=this.getSelectables();
var u=t.indexOf(r);
var v=t.indexOf(s);

if(u<0||v<0){return [];
}
if(u<v){return t.slice(u,v+1);
}else{return t.slice(v,u+1);
}},_getFirstSelectable:function(){return this.getSelectables()[0]||null;
},_getLastSelectable:function(){var q=this.getSelectables();

if(q.length>0){return q[q.length-1];
}else{return null;
}},_getRelatedSelectable:function(j,k){var l=this._getWidget();
var m=null;

switch(k){case g:m=l.getPreviousNodeOf(j,false);
break;
case e:m=l.getNextNodeOf(j,false);
break;
case f:case h:break;
}
if(!m){return null;
}
if(this._isSelectable(m)){return m;
}else{return this._getRelatedSelectable(m,k);
}}}});
})();
(function(){var w="dblclick",v="click",u="Boolean",t="excluded",s="qx.event.type.Data",r="visible",q="The invisible and stayInSameNestLevel parameters are deprecated: Use",p="undefined",o="_applyOpenMode",n="Space",O="__sk",N="Left",M="changeOpenMode",L="_applyRootOpenClose",K="changeSelection",J="qx.ui.tree.Tree",I="tree",H=" getPreviousNodeOf() instead.",G="_applyHideRoot",F="changeRoot",D="_applyRoot",E=" getNextNodeOf() instead.",B="qx.ui.tree.AbstractTreeItem",C="Enter",z="keypress",A="none",x="pane",y="Right";
qx.Class.define(J,{extend:qx.ui.core.scroll.AbstractScrollArea,implement:[qx.ui.core.IMultiSelection,qx.ui.form.IModelSelection],include:[qx.ui.core.MMultiSelectionHandling,qx.ui.core.MContentPadding,qx.ui.form.MModelSelection],construct:function(){qx.ui.core.scroll.AbstractScrollArea.call(this);
this.__sk=new qx.ui.container.Composite(new qx.ui.layout.VBox()).set({allowShrinkY:false,allowGrowX:true});
this.getChildControl(x).add(this.__sk);
this.initOpenMode();
this.initRootOpenClose();
this.addListener(K,this._onChangeSelection,this);
this.addListener(z,this._onKeyPress,this);
},events:{addItem:s,removeItem:s},properties:{openMode:{check:[v,w,A],init:w,apply:o,event:M,themeable:true},root:{check:B,init:null,nullable:true,event:F,apply:D},hideRoot:{check:u,init:false,apply:G},rootOpenClose:{check:u,init:false,apply:L},appearance:{refine:true,init:I},focusable:{refine:true,init:true}},members:{__sk:null,SELECTION_MANAGER:qx.ui.tree.SelectionManager,getChildrenContainer:function(){return this.__sk;
},_applyRoot:function(bo,bp){var bq=this.getChildrenContainer();

if(bp){bq.remove(bp);

if(bp.hasChildren()){bq.remove(bp.getChildrenContainer());
}}
if(bo){bq.add(bo);

if(bo.hasChildren()){bq.add(bo.getChildrenContainer());
}bo.setVisibility(this.getHideRoot()?t:r);
bo.recursiveAddToWidgetQueue();
}},_applyHideRoot:function(a,b){var c=this.getRoot();

if(!c){return;
}c.setVisibility(a?t:r);
c.recursiveAddToWidgetQueue();
},_applyRootOpenClose:function(j,k){var l=this.getRoot();

if(!l){return;
}l.recursiveAddToWidgetQueue();
},_getContentPaddingTarget:function(){return this.__sk;
},getNextNodeOf:function(bk,bl){if((bl!==false||bk.isOpen())&&bk.hasChildren()){return bk.getChildren()[0];
}
while(bk){var parent=bk.getParent();

if(!parent){return null;
}var bn=parent.getChildren();
var bm=bn.indexOf(bk);

if(bm>-1&&bm<bn.length-1){return bn[bm+1];
}bk=parent;
}return null;
},getPreviousNodeOf:function(be,bf){var parent=be.getParent();

if(!parent){return null;
}
if(this.getHideRoot()){if(parent==this.getRoot()){if(parent.getChildren()[0]==be){return null;
}}}else{if(be==this.getRoot()){return null;
}}var bi=parent.getChildren();
var bg=bi.indexOf(be);

if(bg>0){var bh=bi[bg-1];

while((bf!==false||bh.isOpen())&&bh.hasChildren()){var bj=bh.getChildren();
bh=bj[bj.length-1];
}return bh;
}else{return parent;
}},getNextSiblingOf:function(R,S,T){if(typeof (S)!==p){qx.log.Logger.deprecatedMethodWarning(arguments.callee,q+E);

if(!T){return this.getNextNodeOf(R,S);
}}
if(R==this.getRoot()){return null;
}var parent=R.getParent();
var U=parent.getChildren();
var V=U.indexOf(R);

if(V<U.length-1){return U[V+1];
}return null;
},getPreviousSiblingOf:function(W,X,Y){if(typeof (X)!==p){qx.log.Logger.deprecatedMethodWarning(arguments.callee,q+H);

if(!Y){return this.getPreviousNodeOf(W,X);
}}
if(W==this.getRoot()){return null;
}var parent=W.getParent();
var ba=parent.getChildren();
var bb=ba.indexOf(W);

if(bb>0){return ba[bb-1];
}return null;
},getItems:function(P,Q){if(this.getRoot()!=null){return this.getRoot().getItems(P,Q,this.getHideRoot());
}else{return [];
}},getChildren:function(){if(this.getRoot()!=null){return [this.getRoot()];
}else{return [];
}},getTreeItem:function(m){while(m){if(m==this){return null;
}
if(m instanceof qx.ui.tree.AbstractTreeItem){return m;
}m=m.getLayoutParent();
}return null;
},_applyOpenMode:function(g,h){if(h==v){this.removeListener(v,this._onOpen,this);
}else if(h==w){this.removeListener(w,this._onOpen,this);
}
if(g==v){this.addListener(v,this._onOpen,this);
}else if(g==w){this.addListener(w,this._onOpen,this);
}},_onOpen:function(e){var bd=this.getTreeItem(e.getTarget());

if(!bd||!bd.isOpenable()){return;
}bd.setOpen(!bd.isOpen());
e.stopPropagation();
},_onChangeSelection:function(e){var f=e.getData();
for(var i=0;i<f.length;i++){var d=f[i];
while(d.getParent()!=null){d=d.getParent();
d.setOpen(true);
}}},_onKeyPress:function(e){var bc=this._getLeadItem();

if(bc!==null){switch(e.getKeyIdentifier()){case N:if(bc.isOpenable()&&bc.isOpen()){bc.setOpen(false);
}break;
case y:if(bc.isOpenable()&&!bc.isOpen()){bc.setOpen(true);
}break;
case C:case n:if(bc.isOpenable()){bc.toggleOpen();
}break;
}}}},destruct:function(){this._disposeObjects(O);
}});
})();
(function(){var O="open",N="auto",M="middle",L="icon",K="label",J="changeOpen",I="excluded",H="visible",G="String",F="opened",bi="always",bh="qx.ui.tree.AbstractTreeItem",bg="addItem",bf="Boolean",be="__sp",bd="__sm",bc="Integer",bb="_applyIndent",ba="changeOpenSymbolMode",Y="_applyOpenSymbolMode",V="__sl",W="resize",T="",U="removeItem",R="abstract",S="never",P="_applyIcon",Q="_applyOpen",X="_applyLabel";
qx.Class.define(bh,{extend:qx.ui.core.Widget,type:R,include:[qx.ui.form.MModelProperty],implement:[qx.ui.form.IModel],construct:function(){qx.ui.core.Widget.call(this);
this.__sl=[];
this._setLayout(new qx.ui.layout.HBox());
this._addWidgets();
this.initOpen();
},properties:{open:{check:bf,init:false,event:J,apply:Q},openSymbolMode:{check:[bi,S,N],init:N,event:ba,apply:Y},indent:{check:bc,init:19,apply:bb,themeable:true},parent:{check:bh,nullable:true},icon:{check:G,apply:P,nullable:true,themeable:true},label:{check:G,apply:X,init:T}},members:{__sl:null,__sm:null,__sn:null,__so:null,__sp:null,_addWidgets:function(){throw new Error("Abstract method call.");
},_createChildControlImpl:function(a){var b;

switch(a){case K:b=new qx.ui.basic.Label().set({alignY:M,value:this.getLabel()});
break;
case L:b=new qx.ui.basic.Image().set({alignY:M,source:this.getIcon()});
break;
case O:b=new qx.ui.tree.FolderOpenButton().set({alignY:M});
b.addListener(J,this._onChangeOpen,this);
b.addListener(W,this._updateIndent,this);
break;
}return b||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,a);
},getTree:function(){var p=this;

while(p.getParent()){p=p.getParent();
}var o=p.getLayoutParent()?p.getLayoutParent().getLayoutParent():0;

if(o&&o instanceof qx.ui.core.scroll.ScrollPane){return o.getLayoutParent();
}return null;
},addWidget:function(bT,bU){this._add(bT,bU);
},addSpacer:function(){if(!this.__sp){this.__sp=new qx.ui.core.Spacer();
}else{this._remove(this.__sp);
}this._add(this.__sp);
},addOpenButton:function(){this._add(this.getChildControl(O));
},_onChangeOpen:function(e){if(this.isOpenable()){this.setOpen(e.getData());
}},addIcon:function(){var n=this.getChildControl(L);

if(this.__so){this._remove(n);
}this._add(n);
this.__so=true;
},addLabel:function(bO){var bP=this.getChildControl(K);

if(this.__sn){this._remove(bP);
}
if(bO){this.setLabel(bO);
}else{bP.setValue(this.getLabel());
}this._add(bP);
this.__sn=true;
},addState:function(bQ){qx.ui.core.Widget.prototype.addState.call(this,bQ);
var bS=this._getChildren();

for(var i=0,l=bS.length;i<l;i++){var bR=bS[i];

if(bR.addState){bS[i].addState(bQ);
}}},removeState:function(f){qx.ui.core.Widget.prototype.removeState.call(this,f);
var h=this._getChildren();

for(var i=0,l=h.length;i<l;i++){var g=h[i];

if(g.addState){h[i].removeState(f);
}}},_applyIcon:function(bC,bD){var bE=this.getChildControl(L,true);

if(bE){bE.setSource(bC);
}},_applyLabel:function(bz,bA){var bB=this.getChildControl(K,true);

if(bB){bB.setValue(bz);
}},_applyOpen:function(k,m){if(this.hasChildren()){this.getChildrenContainer().setVisibility(k?H:I);
}var open=this.getChildControl(O,true);

if(open){open.setOpen(k);
}k?this.addState(F):this.removeState(F);
},isOpenable:function(){var z=this.getOpenSymbolMode();
return (z===bi||z===N&&this.hasChildren());
},_shouldShowOpenSymbol:function(){var open=this.getChildControl(O,true);

if(!open){return false;
}var j=this.getTree();

if(!j.getRootOpenClose()){if(j.getHideRoot()){if(j.getRoot()==this.getParent()){return false;
}}else{if(j.getRoot()==this){return false;
}}}return this.isOpenable();
},_applyOpenSymbolMode:function(c,d){this._updateIndent();
},_updateIndent:function(){if(!this.getTree()){return;
}var w=0;
var open=this.getChildControl(O,true);

if(open){if(this._shouldShowOpenSymbol()){open.show();
var v=open.getBounds();

if(v){w=v.width;
}else{return;
}}else{open.exclude();
}}
if(this.__sp){this.__sp.setWidth((this.getLevel()+1)*this.getIndent()-w);
}},_applyIndent:function(bj,bk){this._updateIndent();
},getLevel:function(){var bF=this.getTree();

if(!bF){return;
}var bG=this;
var bH=-1;

while(bG){bG=bG.getParent();
bH+=1;
}if(bF.getHideRoot()){bH-=1;
}
if(!bF.getRootOpenClose()){bH-=1;
}return bH;
},syncWidget:function(){this._updateIndent();
},getChildrenContainer:function(){if(!this.__sm){this.__sm=new qx.ui.container.Composite(new qx.ui.layout.VBox()).set({visibility:this.isOpen()?H:I});
}return this.__sm;
},hasChildrenContainer:function(){return this.__sm;
},getParentChildrenContainer:function(){if(this.getParent()){return this.getParent().getChildrenContainer();
}else if(this.getLayoutParent()){return this.getLayoutParent();
}else{return null;
}},getChildren:function(){return this.__sl;
},hasChildren:function(){return this.__sl?this.__sl.length>0:false;
},getItems:function(bl,bm,bn){if(bn!==false){var bo=[];
}else{var bo=[this];
}var br=this.hasChildren()&&(bm!==false||this.isOpen());

if(br){var bq=this.getChildren();

if(bl===false){bo=bo.concat(bq);
}else{for(var i=0,bp=bq.length;i<bp;i++){bo=bo.concat(bq[i].getItems(bl,bm,false));
}}}return bo;
},recursiveAddToWidgetQueue:function(){var by=this.getItems(true,true,false);

for(var i=0,l=by.length;i<l;i++){qx.ui.core.queue.Widget.add(by[i]);
}},__sq:function(){if(this.getParentChildrenContainer()){this.getParentChildrenContainer()._addAfter(this.getChildrenContainer(),this);
}},add:function(bs){var bt=this.getChildrenContainer();
var bw=this.getTree();

for(var i=0,l=arguments.length;i<l;i++){var bx=arguments[i];
var bv=bx.getParent();

if(bv){bv.remove(bx);
}bx.setParent(this);
var bu=this.hasChildren();
bt.add(bx);

if(bx.hasChildren()){bt.add(bx.getChildrenContainer());
}this.__sl.push(bx);

if(!bu){this.__sq();
}
if(bw){bx.recursiveAddToWidgetQueue();
bw.fireNonBubblingEvent(bg,qx.event.type.Data,[bx]);
}}
if(bw){qx.ui.core.queue.Widget.add(this);
}},addAt:function(bI,bJ){{};

if(bJ==this.__sl.length){this.add(bI);
return;
}var bN=bI.getParent();

if(bN){bN.remove(bI);
}var bL=this.getChildrenContainer();
bI.setParent(this);
var bM=this.hasChildren();
var bK=this.__sl[bJ];
bL.addBefore(bI,bK);

if(bI.hasChildren()){bL.addAfter(bI.getChildrenContainer(),bI);
}qx.lang.Array.insertAt(this.__sl,bI,bJ);

if(!bM){this.__sq();
}
if(this.getTree()){bI.recursiveAddToWidgetQueue();
qx.ui.core.queue.Widget.add(this);
}},addBefore:function(q,r){{};
this.addAt(q,this.__sl.indexOf(r));
},addAfter:function(x,y){{};
this.addAt(x,this.__sl.indexOf(y)+1);
},addAtBegin:function(u){this.addAt(u,0);
},remove:function(A){for(var i=0,l=arguments.length;i<l;i++){var E=arguments[i];

if(this.__sl.indexOf(E)==-1){this.warn("Cannot remove treeitem '"+E+"'. It is not a child of this tree item.");
return;
}var B=this.getChildrenContainer();

if(E.hasChildrenContainer()){var D=E.getChildrenContainer();

if(B.getChildren().indexOf(D)>=0){B.remove(D);
}}qx.lang.Array.remove(this.__sl,E);
E.setParent(null);
B.remove(E);
}var C=this.getTree();

if(C){C.fireNonBubblingEvent(U,qx.event.type.Data,[E]);
}qx.ui.core.queue.Widget.add(this);
},removeAt:function(s){var t=this.__sl[s];

if(t){this.remove(t);
}},removeAll:function(){for(var i=this.__sl.length-1;i>=0;i--){this.remove(this.__sl[i]);
}}},destruct:function(){this._disposeArray(V);
this._disposeObjects(be,bd);
}});
})();
(function(){var i="opened",h="click",g="changeOpen",f="Boolean",d="qx.ui.tree.FolderOpenButton",c="_applyOpen",b="mouseup",a="mousedown";
qx.Class.define(d,{extend:qx.ui.basic.Image,include:qx.ui.core.MExecutable,construct:function(){qx.ui.basic.Image.call(this);
this.initOpen();
this.addListener(h,this._onClick);
this.addListener(a,this._stopPropagation,this);
this.addListener(b,this._stopPropagation,this);
},properties:{open:{check:f,init:false,event:g,apply:c}},members:{_applyOpen:function(j,k){j?this.addState(i):this.removeState(i);
this.execute();
},_stopPropagation:function(e){e.stopPropagation();
},_onClick:function(e){this.toggleOpen();
e.stopPropagation();
}}});
})();
(function(){var j="Number",i="_applyInsets",h="abstract",g="insetRight",f="insetTop",e="insetBottom",d="qx.ui.decoration.Abstract",c="shorthand",b="insetLeft";
qx.Class.define(d,{extend:qx.core.Object,implement:[qx.ui.decoration.IDecorator],type:h,properties:{insetLeft:{check:j,nullable:true,apply:i},insetRight:{check:j,nullable:true,apply:i},insetBottom:{check:j,nullable:true,apply:i},insetTop:{check:j,nullable:true,apply:i},insets:{group:[f,g,e,b],mode:c}},members:{__sr:null,_getDefaultInsets:function(){throw new Error("Abstract method called.");
},_isInitialized:function(){throw new Error("Abstract method called.");
},_resetInsets:function(){this.__sr=null;
},getInsets:function(){if(this.__sr){return this.__sr;
}var a=this._getDefaultInsets();
return this.__sr={left:this.getInsetLeft()==null?a.left:this.getInsetLeft(),right:this.getInsetRight()==null?a.right:this.getInsetRight(),bottom:this.getInsetBottom()==null?a.bottom:this.getInsetBottom(),top:this.getInsetTop()==null?a.top:this.getInsetTop()};
},_applyInsets:function(){{};
this.__sr=null;
}},destruct:function(){this.__sr=null;
}});
})();
(function(){var q="_applyBackground",p="repeat",o="mshtml",n="backgroundPositionX",m="",l="backgroundPositionY",k="no-repeat",j="scale",i=" ",h="repeat-x",c="qx.client",g="repeat-y",f="hidden",b="qx.ui.decoration.MBackgroundImage",a="String",e='"></div>',d='<div style="';
qx.Mixin.define(b,{properties:{backgroundImage:{check:a,nullable:true,apply:q},backgroundRepeat:{check:[p,h,g,k,j],init:p,apply:q},backgroundPositionX:{nullable:true,apply:q},backgroundPositionY:{nullable:true,apply:q},backgroundPosition:{group:[l,n]}},members:{_generateBackgroundMarkup:function(r){{};
var v=m;
var u=this.getBackgroundImage();
var t=this.getBackgroundRepeat();
var top=this.getBackgroundPositionY();

if(top==null){top=0;
}var w=this.getBackgroundPositionX();

if(w==null){w=0;
}r.backgroundPosition=w+i+top;
if(u){var s=qx.util.AliasManager.getInstance().resolve(u);
v=qx.bom.element.Decoration.create(s,t,r);
}else{if(r){if(qx.core.Variant.isSet(c,o)){if(qx.bom.client.Engine.VERSION<7||qx.bom.client.Feature.QUIRKS_MODE){r.overflow=f;
}}v=d+qx.bom.element.Style.compile(r)+e;
}}return v;
},_applyBackground:function(){{};
}}});
})();
(function(){var o="_applyStyle",n="solid",m="Color",l="",k="double",j="px ",i="dotted",h="_applyWidth",g="dashed",f="Number",K=" ",J="shorthand",I="px",H="widthTop",G="styleRight",F="styleLeft",E="widthLeft",D="widthBottom",C="styleTop",B="colorBottom",v="styleBottom",w="widthRight",t="colorLeft",u="colorRight",r="colorTop",s="scale",p="border-top",q="border-left",x="border-right",y="qx.ui.decoration.Single",A="border-bottom",z="absolute";
qx.Class.define(y,{extend:qx.ui.decoration.Abstract,include:[qx.ui.decoration.MBackgroundImage],construct:function(L,M,N){qx.ui.decoration.Abstract.call(this);
if(L!=null){this.setWidth(L);
}
if(M!=null){this.setStyle(M);
}
if(N!=null){this.setColor(N);
}},properties:{widthTop:{check:f,init:0,apply:h},widthRight:{check:f,init:0,apply:h},widthBottom:{check:f,init:0,apply:h},widthLeft:{check:f,init:0,apply:h},styleTop:{nullable:true,check:[n,i,g,k],init:n,apply:o},styleRight:{nullable:true,check:[n,i,g,k],init:n,apply:o},styleBottom:{nullable:true,check:[n,i,g,k],init:n,apply:o},styleLeft:{nullable:true,check:[n,i,g,k],init:n,apply:o},colorTop:{nullable:true,check:m,apply:o},colorRight:{nullable:true,check:m,apply:o},colorBottom:{nullable:true,check:m,apply:o},colorLeft:{nullable:true,check:m,apply:o},backgroundColor:{check:m,nullable:true,apply:o},left:{group:[E,F,t]},right:{group:[w,G,u]},top:{group:[H,C,r]},bottom:{group:[D,v,B]},width:{group:[H,w,D,E],mode:J},style:{group:[C,G,v,F],mode:J},color:{group:[r,u,B,t],mode:J}},members:{__ss:null,_getDefaultInsets:function(){return {top:this.getWidthTop(),right:this.getWidthRight(),bottom:this.getWidthBottom(),left:this.getWidthLeft()};
},_isInitialized:function(){return !!this.__ss;
},getMarkup:function(O){if(this.__ss){return this.__ss;
}var P=qx.theme.manager.Color.getInstance();
var Q={};
var S=this.getWidthTop();

if(S>0){Q[p]=S+j+this.getStyleTop()+K+(P.resolve(this.getColorTop())||l);
}var S=this.getWidthRight();

if(S>0){Q[x]=S+j+this.getStyleRight()+K+(P.resolve(this.getColorRight())||l);
}var S=this.getWidthBottom();

if(S>0){Q[A]=S+j+this.getStyleBottom()+K+(P.resolve(this.getColorBottom())||l);
}var S=this.getWidthLeft();

if(S>0){Q[q]=S+j+this.getStyleLeft()+K+(P.resolve(this.getColorLeft())||l);
}{};
Q.position=z;
Q.top=0;
Q.left=0;
var R=this._generateBackgroundMarkup(Q);
return this.__ss=R;
},resize:function(a,b,c){var e=this.getBackgroundImage()&&this.getBackgroundRepeat()==s;

if(e||qx.bom.client.Feature.CONTENT_BOX){var d=this.getInsets();
b-=d.left+d.right;
c-=d.top+d.bottom;
if(b<0){b=0;
}
if(c<0){c=0;
}}a.style.width=b+I;
a.style.height=c+I;
},tint:function(T,U){var V=qx.theme.manager.Color.getInstance();

if(U==null){U=this.getBackgroundColor();
}T.style.backgroundColor=V.resolve(U)||l;
},_applyWidth:function(){{};
this._resetInsets();
},_applyStyle:function(){{};
}},destruct:function(){this.__ss=null;
}});
})();
(function(){var b="tree-folder",a="qx.ui.tree.TreeFolder";
qx.Class.define(a,{extend:qx.ui.tree.AbstractTreeItem,construct:function(c){qx.ui.tree.AbstractTreeItem.call(this);

if(c){this.setLabel(c);
}},properties:{appearance:{refine:true,init:b}},members:{_addWidgets:function(){this.addSpacer();
this.addOpenButton();
this.addIcon();
this.addLabel();
}}});
})();
(function(){var bb='',ba='ignore',Y='options',X='Agrammon/grey-dot.png',W='Agrammon/empty-circle.png',V='isInstance',U='agrammon.PropTable.storeData',T='Agrammon/red-dot.png',S='Agrammon/green-dot.png',R=': ',bt='Agrammon/green-circle.png',bs='canInstance',br='< in',bq='***Select***',bp=' empty variable,',bo='isSingleton',bn=' >',bm='Agrammon/red-circle.png',bl="changeLocale",bk='isRoot',bi='agrammon.outputEnabled',bj=' no match for >',bg=', removing from dataset.',bh='Agrammon.ui.NavFolder',be='*** Select ***',bf='agrammon.NavBar.deleteInstanceData',bc='isPlain',bd='<';
qx.Class.define(bh,{extend:qx.ui.tree.TreeFolder,construct:function(a,b,c,d,e){qx.ui.tree.TreeFolder.call(this);
this.__xY={};

for(var g in a){this.__xY[g]=String(a[g]).replace(/\[\]/,bb);
}var f=qx.locale.Manager.getInstance().getLocale();
f=f.replace(/_.+/,bb);
this.setLabel(this.__xY[f]);
qx.locale.Manager.getInstance().addListener(bl,function(){var bI=qx.locale.Manager.getInstance().getLocale();
bI=bI.replace(/_.+/,bb);
this.setLabel(this.__xY[bI]);
},this);

if(b!=V){this.setDraggable(false);
this.setDroppable(false);
}this.__ya=b;
this.__yb=d;
this.__yc=new Array;
this.__yd=new Object;
this.__ye=e;

if(c!=null){this.addData(c);
}this.setIcon(null);
},members:{__ya:null,__yf:null,__yb:null,__xY:null,__yc:null,__yd:null,__ye:null,addData:function(Q){this.__yc.push(Q);
this.isComplete();
return this.__yc.length;
},setDataset:function(K,L,M){var i;
this.__yc=new Array;
var O=K.length;
var N=true;

for(i=0;i<O;i++){this.__yc.push(K[i]);

if(M){qx.event.message.Bus.dispatch(U,{'var':K[i].getName(),value:K[i].getValue()});
this.setData(K[i].getName(),K[i].getValue(),N);
}else if(L){if(K[i].getName().match(/::ignore/)){this.setData(K[i].getName(),ba,N);
qx.event.message.Bus.dispatch(U,{'var':K[i].getName(),value:ba});
}}}this.isComplete();
return this.__yc.length;
},getData:function(bG){this.debug('getData(): key='+bG);
var i;
var bH=this.__yc.length;

for(i=0;i<bH;i++){if(this.__yc[i].getName()==bG){return this.__yc[i].getValue();
}}return null;
},getDataset:function(){return this.__yc;
},cloneDataset:function(by){var i,bB=this.__yc.length;
var bz,bA,bC=new Array;

for(i=0;i<bB;i++){bA=this.__yc[i];
bz=bA.clone(bA.getName().replace(/\[.*\]/,by));
bC.push(bz);
}return bC;
},getLabels:function(bE){return this.__xY;
},setData:function(m,o,p){var i,s,r,t,q,v,w,x,u;
r=this.__yc.length;

if(r==0){this.debug('setData(): propData.length = '+r);
return undefined;
}
for(i=0;i<r;i++){if(this.__yc[i].getName()==m){x=this.__yc[i].getMetaData();

if(!x[Y]){if(o==undefined||o===bb){o=null;
}this.__yc[i].setValue(o);
}else{o=bb+o;
o=o.replace(/\s+/g,bb);
o=o.replace(/\'/g,bb);

if(o!=bq){w=new Array();
v=false;
t=x[Y].length;

for(s=0;s<t;s++){w[s]=x[Y][s][2];
q=w[s];
q=q.replace(/\s*/g,bb);
q=q.replace(/\'/g,bb);

if(q==o){v=true;
}}
if(v){this.__yc[i].setValue(o);
}else{u=this.__yc[i].getName()+R;

if(o==bb){u+=bp;
}else{u+=bj+o+br+bn+w+bd;
}u+=bg;
alert(u);
qx.event.message.Bus.dispatch(bf,this.__yc[i].getName());
}}}
if(p){return true;
}else{this.getRootNavFolder(this).childrenComplete();
return true;
}}}return undefined;
},setType:function(j){this.__ya=j;
},getType:function(){return this.__ya;
},getOrder:function(){return this.__ye;
},getName:function(){return this.__yb;
},isInstance:function(){return (this.__ya==V);
},canInstance:function(){return (this.__ya==bs);
},isSingleton:function(){return (this.__ya==bo);
},isPlain:function(){return (this.__ya==bc);
},isRoot:function(){return (this.__ya==bk);
},addChild:function(P){this.__yd[P.getName()]=P;
},delChild:function(bD){this.debug('delChild(): deleting '+bD.getName()+' from '+this.getName());
this.debug('delChild(): childrenHash='+this.__yd[bD.getName()]);
delete this.__yd[bD.getName()];
this.debug('delChild(): childrenHash='+this.__yd[bD.getName()]);
bD.folderName=null;
},getParentNavFolder:function(bF){return this.__yf;
},getRootNavFolder:function(h){var parent=h.getParentNavFolder();

if(parent.isRoot()){return parent;
}else{return this.getRootNavFolder(parent);
}},setParentNavFolder:function(l){this.__yf=l;
},childrenCanInstance:function(){var k;

for(k in this.__yd){if(this.__yd[k].canInstance()){return true;
}}return false;
},childrenComplete:function(y){var D;
var C=undefined;
var A;
var B;
var z=true;

if(this.childrenCanInstance()){for(D in this.__yd){B=this.__yd[D].getName();
A=this.__yd[D].isComplete();

if(z){C=A;
z=false;
}else{if(A==undefined){}else{if(C==undefined){C=A;
}else{C=C&&A;
}}}}}else{for(D in this.__yd){B=this.__yd[D].getName();
A=this.__yd[D].isComplete();

if(z){C=A;
z=false;
}else{if(A==undefined){if(C){C=undefined;
}else{C=false;
}}else{C=C&&A;
}}}}if(this.isPlain()){if(C==undefined){this.setIcon(X);
}else if(C){this.setIcon(S);
}else{this.setIcon(T);
}}
if(this.canInstance()){if(C==undefined){this.setIcon(W);
}else if(C){this.setIcon(bt);
}else{this.setIcon(bm);
}}
if(this.isRoot()){if(y!=0){if(C!=undefined){qx.event.message.Bus.dispatch(bi,C);
}}}return C;
},isComplete:function(E){if(this.canInstance()){this.setIcon(W);
}
if(!this.isInstance()&&!this.isSingleton()){var F=this.childrenComplete(E);
return F;
}
if(this.__yc==null){alert('this.__propData is null');
return false;
}var J=this.__yc.length;
if(J==0){this.setIcon(X);
return false;
}var G=true;
var i,H,I;

for(i=0;i<J;i++){H=this.__yc[i].getName();

if(!H.match(ba)){I=this.__yc[i].getValue();

if(I===undefined||I===null||I===bb||I===be){G=false;
break;
}}}
if(G){this.setIcon(S);
}else{this.setIcon(T);
}return G;
},addBefore:function(bu,bv){{};
var parent=bv.getParentNavFolder();
var n=parent.getChildren().length;
var bx=parent.getChildren().indexOf(bu);
var bw=parent.getChildren().indexOf(bv);
if(bx>bw){parent.addAt(bu,bw);
}else{parent.addAt(bu,bw-1);
}}}});
})();
(function(){var t="execute",s="Rename instance",r='-',q="Add instance",p="appear",o="Delete instance",n="Duplicate instance",m="Check instance",l='Agrammon.ui.NavMenu';
qx.Class.define(l,{extend:qx.ui.menu.Menu,construct:function(b,c){qx.ui.menu.Menu.call(this);
var g=b.getTree();
this.navTree=g;
this.navBar=b;
this.info=c;
var h=new qx.ui.core.Command;
h.addListener(t,function(e){this.navBar.addInstance(this.navTree);
},this);
var i=new qx.ui.core.Command;
i.addListener(t,function(e){var z=this.navTree.getSelection()[0];
this.navBar.delInstance(z);
},this);
var j=new qx.ui.core.Command;
j.addListener(t,function(e){var k=this.navTree.getSelection()[0];
this.navBar.renInstance(k);
},this);
var d=new qx.ui.core.Command;
d.addListener(t,function(e){var a=this.navTree.getSelection()[0];
this.navBar.copyInstance(a);
},this);
var f=new qx.ui.core.Command;
f.addListener(t,function(e){var y=this.navTree.getSelection()[0];
var x=y.isComplete();
this.debug('checkCmd: '+y.getName()+'='+y.getType()+', complete='+x+', order='+y.getOrder());
},this);
this.__yg=new qx.ui.menu.Button(this.tr(q),null,h);
this.__yh=new qx.ui.menu.Button(this.tr(n),null,d);
this.__yi=new qx.ui.menu.Button(this.tr(s),null,j);
this.__yj=new qx.ui.menu.Button(this.tr(o),null,i);
this.__yk=new qx.ui.menu.Button(this.tr(m),null,f);
this.add(this.__yg);
this.add(this.__yh);
this.add(this.__yi);
this.add(this.__yj);
this.add(this.__yk);
this.addListener(p,function(e){var w=this.navTree.getSelection()[0];
this.debug('NavMenu: selectedFolder='+w);

if(w==undefined){this.disableAll();
return;
}if(this.info!=undefined&&this.info.getDatasetName()==r){this.disableAll();
}var v=w.canInstance();
var u=w.isInstance();

if(!v&&!u){this.disableAll();
return;
}
if(!u){this.disableInstance();
}else{this.enableInstance();
}},this);
this.disableInstance();
},members:{__yg:null,__yk:null,__yh:null,__yj:null,__yi:null,enableInstance:function(){this.__yg.setEnabled(false);
this.__yh.setEnabled(true);
this.__yi.setEnabled(true);
this.__yj.setEnabled(true);
},disableInstance:function(){this.__yg.setEnabled(true);
this.__yh.setEnabled(false);
this.__yi.setEnabled(false);
this.__yj.setEnabled(false);
},disableAll:function(){this.__yg.setEnabled(false);
this.__yh.setEnabled(false);
this.__yi.setEnabled(false);
this.__yj.setEnabled(false);
}}});
})();
(function(){var p="String",o="execute",n="qx.ui.menu.Menu",m="_shortcut",l="changeEnabled",k="changeToolTipText",j="Boolean",i="qx.ui.core.Command",h="changeLabel",g="changeMenu",d="changeIcon",f="changeValue",e="_applyShortcut",c="_applyEnabled",b="qx.event.type.Data";
qx.Class.define(i,{extend:qx.core.Object,construct:function(r){qx.core.Object.call(this);
this._shortcut=new qx.bom.Shortcut(r);
this._shortcut.addListener(o,this.execute,this);
},events:{"execute":b},properties:{enabled:{init:true,check:j,event:l,apply:c},shortcut:{check:p,apply:e,nullable:true},label:{check:p,nullable:true,event:h},icon:{check:p,nullable:true,event:d},toolTipText:{check:p,nullable:true,event:k},value:{nullable:true,event:f},menu:{check:n,nullable:true,event:g}},members:{_shortcut:null,_applyEnabled:function(q){this._shortcut.setEnabled(q);
},_applyShortcut:function(s){this._shortcut.setShortcut(s);
},execute:function(a){this.fireDataEvent(o,a);
},toString:function(){return this._shortcut.toString();
}},destruct:function(){this._disposeObjects(m);
}});
})();
(function(){var q="Unidentified",p="Boolean",o="+",n="short",m="keydown",l="",k="Control",j="keypress",h="-",g="PageUp",X="Escape",W="qx.event.type.Data",V="_applyShortcut",U="PrintScreen",T="NumLock",S="5",R="8",Q="execute",P="Meta",O="0",x="2",y="This message will be made private.",v="Shift",w="You can only specify one non modifier key!",t="3",u="/",r="_applyEnabled",s="String",z="changeEnabled",A="*",G="qx.bom.Shortcut",F="6",I="4",H="1",K="Alt",J="Not a valid key name for a shortcut: ",C="PageDown",N="Whitespaces are not allowed within shortcuts",M="Delete",L="7",B="a",D="z",E="9";
qx.Class.define(G,{extend:qx.core.Object,construct:function(bf){qx.core.Object.call(this);
this.__sF={};
this.__sG=null;

if(bf!=null){this.setShortcut(bf);
}this.initEnabled();
},events:{"execute":W},properties:{enabled:{init:true,check:p,event:z,apply:r},shortcut:{check:s,apply:V,nullable:true},autoRepeat:{check:p,init:false}},members:{__sF:l,__sG:l,execute:function(f){this.fireDataEvent(Q,f);
},__sH:function(event){if(this.getEnabled()&&this.__sJ(event)){if(!this.isAutoRepeat()){this.execute(event.getTarget());
}event.stop();
}},__sI:function(event){if(this.getEnabled()&&this.__sJ(event)){if(this.isAutoRepeat()){this.execute(event.getTarget());
}event.stop();
}},_applyEnabled:function(b,c){if(b){qx.event.Registration.addListener(document.documentElement,m,this.__sH,this);
qx.event.Registration.addListener(document.documentElement,j,this.__sI,this);
}else{qx.event.Registration.removeListener(document.documentElement,m,this.__sH,this);
qx.event.Registration.removeListener(document.documentElement,j,this.__sI,this);
}},_applyShortcut:function(Y,ba){if(Y){if(Y.search(/[\s]+/)!=-1){var bd=N;
this.error(bd);
throw new Error(bd);
}this.__sF={"Control":false,"Shift":false,"Meta":false,"Alt":false};
this.__sG=null;
var bb;
var a=[];

while(Y.length>0&&bb!=-1){bb=Y.search(/[-+]+/);
a.push((Y.length==1||bb==-1)?Y:Y.substring(0,bb));
Y=Y.substring(bb+1);
}var bc=a.length;

for(var i=0;i<bc;i++){var be=this.__sL(a[i]);

switch(be){case k:case v:case P:case K:this.__sF[be]=true;
break;
case q:var bd=J+a[i];
this.error(bd);
throw bd;
default:if(this.__sG){var bd=w;
this.error(bd);
throw bd;
}this.__sG=be;
}}}return true;
},matchesKeyEvent:function(e){qx.log.Logger.deprecatedMethodWarning(arguments.callee,y);
return this.__sJ(e);
},__sJ:function(e){var d=this.__sG;

if(!d){return ;
}if((!this.__sF.Shift&&e.isShiftPressed())||(this.__sF.Shift&&!e.isShiftPressed())||(!this.__sF.Control&&e.isCtrlPressed())||(this.__sF.Control&&!e.isCtrlPressed())||(!this.__sF.Meta&&e.isMetaPressed())||(this.__sF.Meta&&!e.isMetaPressed())||(!this.__sF.Alt&&e.isAltPressed())||(this.__sF.Alt&&!e.isAltPressed())){return false;
}
if(d==e.getKeyIdentifier()){return true;
}return false;
},__sK:{esc:X,ctrl:k,print:U,del:M,pageup:g,pagedown:C,numlock:T,numpad_0:O,numpad_1:H,numpad_2:x,numpad_3:t,numpad_4:I,numpad_5:S,numpad_6:F,numpad_7:L,numpad_8:R,numpad_9:E,numpad_divide:u,numpad_multiply:A,numpad_minus:h,numpad_plus:o},__sL:function(bg){var bh=qx.event.handler.Keyboard;
var bi=q;

if(bh.isValidKeyIdentifier(bg)){return bg;
}
if(bg.length==1&&bg>=B&&bg<=D){return bg.toUpperCase();
}bg=bg.toLowerCase();
var bi=this.__sK[bg]||qx.lang.String.firstUp(bg);

if(bh.isValidKeyIdentifier(bi)){return bi;
}else{return q;
}},toString:function(){var bl=this.__sG;
var bk=[];

for(var bj in this.__sF){if(this.__sF[bj]){bk.push(qx.locale.Key.getKeyName(n,bj));
}}
if(bl){bk.push(qx.locale.Key.getKeyName(n,bl));
}return bk.join(o);
}},destruct:function(){this.setEnabled(false);
this.__sF=this.__sG=null;
}});
})();
(function(){var bw="Control",bv="End",bu="Left",bt="Meta",bs="Pause",br="Down",bq="Ctrl",bp="Home",bo="Apps",bn="Win",bc="Right",bb="Backspace",ba="Space",Y="Up",X="Shift",W="Enter",V="Scroll",U="Alt",T="key_full_Meta",S="PrintScreen",bD="NumLock",bE="Escape",bB="key_short_Alt",bC="key_short_Control_Mac",bz="key_short_Insert",bA="Del",bx="Num",by="key_full_Enter",bF="key_full_Control",bG="qx.locale.Key",bg="Tabulator",bf="key_full_Space",bi="key_short_Meta",bh="key_short_PageUp",bk="key_short_Pause",bj="key_full_Down",bm="key_short_Apps",bl="key_short_Win",be="key_full_Right",bd="key_short_Up",a="key_full_PageDown",b="key_full_Alt",c="PgDn",d="Esc",e="key_full_Insert",f="key_short_Space",g="key_short_Backspace",h="key_short_Home",i="key_short_Down",j="PgUp",bK="_Mac",bJ="key_short_CapsLock",bI="PageUp",bH="key_full_Up",bO="key_full_Home",bN="key_full_Backspace",bM="PageDown",bL="CapsLock",bQ="Ins",bP="key_short_PrintScreen",C="Tab",D="key_full_Apps",A="key_short_Tab",B="key_short_End",G="_",H="Caps",E="key_short_NumLock",F="key_full_Scroll",y="key_short_Left",z="key_short_Scroll",r="key_",q="key_full_Pause",t="key_short_Right",s="key_full_PrintScreen",n="key_full_Win",m="key_full_Control_Mac",p="key_short_Shift",o="key_short_PageDown",l="key_short_Enter",k="key_short_Control",M="Insert",N="key_short_Escape",O="key_full_Tab",P="Print",I="Delete",J="key_full_CapsLock",K="key_full_Escape",L="key_short_Delete",Q="key_full_PageUp",R="key_full_Shift",x="key_full_NumLock",w="key_full_Delete",v="key_full_End",u="key_full_Left";
qx.Class.define(bG,{statics:{getKeyName:function(bW,bX,bY){{};
var cb=r+bW+G+bX;
if(qx.bom.client.Platform.MAC&&bX==bw){cb+=bK;
}var ca=qx.locale.Manager.getInstance().translate(cb,[],bY);

if(ca==cb){return qx.locale.Key._keyNames[cb]||bX;
}else{return ca;
}}},defer:function(bR,bS,bT){var bV={};
var bU=qx.locale.Manager;
bV[bU.marktr(g)]=bb;
bV[bU.marktr(A)]=C;
bV[bU.marktr(f)]=ba;
bV[bU.marktr(l)]=W;
bV[bU.marktr(p)]=X;
bV[bU.marktr(k)]=bq;
bV[bU.marktr(bC)]=bq;
bV[bU.marktr(bB)]=U;
bV[bU.marktr(bJ)]=H;
bV[bU.marktr(bi)]=bt;
bV[bU.marktr(N)]=d;
bV[bU.marktr(y)]=bu;
bV[bU.marktr(bd)]=Y;
bV[bU.marktr(t)]=bc;
bV[bU.marktr(i)]=br;
bV[bU.marktr(bh)]=j;
bV[bU.marktr(o)]=c;
bV[bU.marktr(B)]=bv;
bV[bU.marktr(h)]=bp;
bV[bU.marktr(bz)]=bQ;
bV[bU.marktr(L)]=bA;
bV[bU.marktr(E)]=bx;
bV[bU.marktr(bP)]=P;
bV[bU.marktr(z)]=V;
bV[bU.marktr(bk)]=bs;
bV[bU.marktr(bl)]=bn;
bV[bU.marktr(bm)]=bo;
bV[bU.marktr(bN)]=bb;
bV[bU.marktr(O)]=bg;
bV[bU.marktr(bf)]=ba;
bV[bU.marktr(by)]=W;
bV[bU.marktr(R)]=X;
bV[bU.marktr(bF)]=bw;
bV[bU.marktr(m)]=bw;
bV[bU.marktr(b)]=U;
bV[bU.marktr(J)]=bL;
bV[bU.marktr(T)]=bt;
bV[bU.marktr(K)]=bE;
bV[bU.marktr(u)]=bu;
bV[bU.marktr(bH)]=Y;
bV[bU.marktr(be)]=bc;
bV[bU.marktr(bj)]=br;
bV[bU.marktr(Q)]=bI;
bV[bU.marktr(a)]=bM;
bV[bU.marktr(v)]=bv;
bV[bU.marktr(bO)]=bp;
bV[bU.marktr(e)]=M;
bV[bU.marktr(w)]=I;
bV[bU.marktr(x)]=bD;
bV[bU.marktr(s)]=S;
bV[bU.marktr(F)]=V;
bV[bU.marktr(q)]=bs;
bV[bU.marktr(n)]=bn;
bV[bU.marktr(D)]=bo;
bR._keyNames=bV;
}});
})();
(function(){var n='',m='de',l='fr',k='Agrammon.Lib.Variable',j='Agrammon/info_ts.png',h='labels not found',g='optionsLang',f='en',e='options',d="String";
qx.Class.define(k,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
},properties:{name:{init:null,check:d},labels:{init:null},value:{init:null,nullable:true},metaData:{init:null,nullable:true},type:{init:null},unit:{init:null},order:{init:null,nullable:true},desc:{init:null,nullable:true},helpIcon:{init:j,nullable:true},helpFunction:{init:null,nullable:true}},members:{getRow:function(){var G=new Array;
var F=qx.locale.Manager.getInstance().getLocale();
F=F.replace(/_.+/,n);
G.push(this.getName());
G.push(this.getLabels().en);
G.push(this.getLabels().de);
G.push(this.getLabels().fr);
G.push(this.getLabels()[F]);
G.push(this.getValue());
G.push(this.getUnit());
G.push(this.getMetaData());
G.push(this.getType());
G.push(this.getHelpIcon());
G.push(this.getHelpFunction());
return G;
},getBranchRow:function(){var p=new Array;
var o=qx.locale.Manager.getInstance().getLocale();
o=o.replace(/_.+/,n);
p.push(this.getName());
p.push(this.getLabels().en);
p.push(this.getLabels().de);
p.push(this.getLabels().fr);
p.push(this.getLabels()[o]);
p.push(this.getValue());
p.push(this.getUnit());
p.push(this.getMetaData());
p.push(this.getType());
p.push(null);
p.push(null);
p.push(this.getHelpIcon());
p.push(this.getHelpFunction());
p.push(this);
return p;
},setMetaParameter:function(H,I){var J={};
J=this.getMetaData();

if(!J){J={};
}J[H]=I;
this.setMetaData(J);
},getMetaOptions:function(){var C=[];
var D=this.getMetaData()[e];
var i,E=D.length;

for(i=0;i<E;i++){C.push(D[i][0]);
}return C;
},getMetaOptionsLang:function(){var a=[];
var b=this.getMetaData()[g];
var i,c=b.length;

for(i=0;i<c;i++){a.push(b[i]);
}return a;
},getOptionLabels:function(s){var u,w;
var y=this.getMetaOptions();
var x=false,i,v=y.length;

for(i=0;i<v;i++){w=y[i];
if(w==s){x=true;
break;
}}var t;

if(!x){alert('Variable.getOptionLabel(): key='+s+' not found');

for(t in [f,m,l]){u[t]=h;
}}else{u=this.getMetaOptionsLang()[i];
}return u;
},cloneLabels:function(){var A={};

for(var z in this.getLabels()){A[z]=this.getLabels()[z];
}return A;
},cloneMetaData:function(){var r={};

for(var q in this.getMetaData()){r[q]=this.getMetaData()[q];
}return r;
},clone:function(name){var B=new Agrammon.Lib.Variable().set({name:name,labels:this.cloneLabels(),value:this.getValue(),metaData:this.cloneMetaData(),type:this.getType(),unit:this.getUnit(),helpIcon:this.getHelpIcon(),helpFunction:this.getHelpFunction()});
return B;
}}});
})();
(function(){var k="execute",j="resize",i="Cancel",h='keydown',g="icon/16/actions/dialog-cancel.png",f="icon/16/apps/utilities-text-editor.png",d='Agrammon.Lib.Dialog',c="Ok",b="icon/16/actions/dialog-ok.png",a='Enter';
qx.Class.define(d,{extend:qx.ui.window.Window,construct:function(l,m,n,o){qx.ui.window.Window.call(this);
this.setLayout(new qx.ui.layout.VBox(10));
this.navBar=o;
this.set({modal:true,showClose:false,padding:0,height:100,width:300});
this.setCaption(l);
var q=new qx.ui.container.Composite(new qx.ui.layout.VBox());
this.add(q);
this.setIcon(f);
var p=new qx.ui.basic.Label(m);
q.add(p);
var r=new qx.ui.form.TextField();
this.nameField=r;
q.add(r);
r.focus();
var u=new qx.ui.form.Button(i,g);
u.addListener(k,function(e){this.close();
},this);
var t=new qx.ui.form.Button(c,b);
t.addListener(k,function(e){n(this);
},this);
this.addListener(h,function(e){if(e.getKeyIdentifier()==a){t.execute();
}});
var s=new qx.ui.container.Composite(new qx.ui.layout.HBox(10));
s.add(u);
s.add(t);
this.add(s);
this.addListenerOnce(j,this.center,this);
this.open();
return this;
},members:{}});
})();
(function(){var I="splitter",H="slider",G="mousedown",F="mouseout",E="mousemove",D="mouseup",C="losecapture",B="active",A="horizontal",z="vertical",Y="knob",X="Integer",W="height",V="row-resize",U="move",T="maxHeight",S="width",R="_applyOrientation",Q="mouseover",P="splitpane",N="qx.ui.splitpane.Pane",O="_applyOffset",L="minHeight",M="minWidth",J="col-resize",K="maxWidth";
qx.Class.define(N,{extend:qx.ui.core.Widget,construct:function(a){qx.ui.core.Widget.call(this);
this.__sW=[];
if(a){this.setOrientation(a);
}else{this.initOrientation();
}this.addListener(G,this._onMouseDown);
this.addListener(D,this._onMouseUp);
this.addListener(E,this._onMouseMove);
this.addListener(F,this._onMouseOut);
this.addListener(C,this._onMouseUp);
},properties:{appearance:{refine:true,init:P},offset:{check:X,init:6,apply:O},orientation:{init:A,check:[A,z],apply:R}},members:{__sX:null,__sY:false,__ta:null,__tb:null,__tc:null,__td:null,__te:null,__sW:null,_createChildControlImpl:function(bd){var be;

switch(bd){case H:be=new qx.ui.splitpane.Slider(this);
be.exclude();
this._add(be,{type:bd});
break;
case I:be=new qx.ui.splitpane.Splitter(this);
this._add(be,{type:bd});
be.addListener(U,this._onSplitterMove,this);
if(qx.bom.client.Engine.OPERA){be.addListener(Q,this._onSplitterMouseOver,be);
}break;
}return be||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,bd);
},_applyOrientation:function(bf,bg){var bh=this.getChildControl(H);
var bk=this.getChildControl(I);
this.__tc=bf===A;
var bj=this._getLayout();

if(bj){bj.dispose();
}var bi=bf===z?new qx.ui.splitpane.VLayout:new qx.ui.splitpane.HLayout;
this._setLayout(bi);
bk.removeState(bg);
bk.addState(bf);
bk.getChildControl(Y).removeState(bg);
bk.getChildControl(Y).addState(bf);
bh.removeState(bg);
bh.addState(bf);
},_applyOffset:function(bz,bA){var bB=this.getChildControl(I);

if(bA===0){bB.removeListener(G,this._onMouseDown,this);
bB.removeListener(E,this._onMouseMove,this);
bB.removeListener(F,this._onMouseOut,this);
bB.removeListener(D,this._onMouseUp,this);
bB.removeListener(C,this._onMouseUp,this);
this.addListener(G,this._onMouseDown);
this.addListener(D,this._onMouseUp);
this.addListener(E,this._onMouseMove);
this.addListener(F,this._onMouseOut);
this.addListener(C,this._onMouseUp);
}
if(bz===0){this.removeListener(G,this._onMouseDown);
this.removeListener(D,this._onMouseUp);
this.removeListener(E,this._onMouseMove);
this.removeListener(F,this._onMouseOut);
this.removeListener(C,this._onMouseUp);
bB.addListener(G,this._onMouseDown,this);
bB.addListener(E,this._onMouseMove,this);
bB.addListener(F,this._onMouseOut,this);
bB.addListener(D,this._onMouseUp,this);
bB.addListener(C,this._onMouseUp,this);
}},add:function(d,f){if(f==null){this._add(d);
}else{this._add(d,{flex:f});
}this.__sW.push(d);
},remove:function(by){this._remove(by);
qx.lang.Array.remove(this.__sW,by);
},getChildren:function(){return this.__sW;
},_onMouseDown:function(e){if(!e.isLeftPressed()||!this._isNear()){return;
}var bl=this.getChildControl(I);
var bn=bl.getContainerLocation();
var bm=this.getContentLocation();
this.__sX=this.__tc?e.getDocumentLeft()-bn.left+bm.left:e.getDocumentTop()-bn.top+bm.top;
var bp=this.getChildControl(H);
var bo=bl.getBounds();
bp.setUserBounds(bo.left,bo.top,bo.width,bo.height);
bp.setZIndex(bl.getZIndex()+1);
bp.show();
this.__sY=true;
e.getCurrentTarget().capture();
e.stop();
},_onMouseMove:function(e){this._setLastMousePosition(e.getDocumentLeft(),e.getDocumentTop());
if(this.__sY){this.__tg();
var b=this.getChildControl(H);
var c=this.__td;

if(this.__tc){b.setDomLeft(c);
}else{b.setDomTop(c);
}e.stop();
}else{this.__tf();
}},_onMouseOut:function(e){this._setLastMousePosition(-1,-1);
this.__tf();
},_onMouseUp:function(e){if(!this.__sY){return;
}this._finalizeSizes();
var bx=this.getChildControl(H);
bx.exclude();
this.__sY=false;
this.releaseCapture();
this.__tf();
e.stop();
},_onSplitterMove:function(){this.__tf();
},_onSplitterMouseOver:function(){this.addState(B);
},_finalizeSizes:function(){var bt=this.__td;
var bq=this.__te;

if(bt==null){return;
}var bv=this._getChildren();
var bu=bv[2];
var br=bv[3];
var bs=bu.getLayoutProperties().flex;
var bw=br.getLayoutProperties().flex;
if((bs!=0)&&(bw!=0)){bu.setLayoutProperties({flex:bt});
br.setLayoutProperties({flex:bq});
}else{if(this.__tc){bu.setWidth(bt);
br.setWidth(bq);
}else{bu.setHeight(bt);
br.setHeight(bq);
}}},_isNear:function(){var q=this.getChildControl(I);
var s=q.getBounds();
var u=q.getContainerLocation();
var r=this.getOffset();
if(!u){return;
}var v=this.__ta;
var w=s.width;
var t=u.left;

if(w<r){t-=Math.floor((r-w)/2);
w=r;
}
if(v<t||v>(t+w)){return false;
}var v=this.__tb;
var w=s.height;
var t=u.top;

if(w<r){t-=Math.floor((r-w)/2);
w=r;
}
if(v<t||v>(t+w)){return false;
}return true;
},__tf:function(){var bb=this.getChildControl(I);
var bc=this.getApplicationRoot();
if(this.__sY||this._isNear()){var ba=this.__tc?J:V;
this.setCursor(ba);
bc.setGlobalCursor(ba);
bb.addState(B);
}else if(bb.hasState(B)){this.resetCursor();
bc.resetGlobalCursor();
bb.removeState(B);
}},__tg:function(){if(this.__tc){var i=M,p=S,j=K,n=this.__ta;
}else{var i=L,p=W,j=T,n=this.__tb;
}var o=this._getChildren();
var g=o[2].getSizeHint();
var l=o[3].getSizeHint();
var m=o[2].getBounds()[p]+o[3].getBounds()[p];
var k=n-this.__sX;
var h=m-k;
if(k<g[i]){h-=g[i]-k;
k=g[i];
}else if(h<l[i]){k-=l[i]-h;
h=l[i];
}if(k>g[j]){h+=k-g[j];
k=g[j];
}else if(h>l[j]){k+=h-l[j];
h=l[j];
}this.__td=k;
this.__te=h;
},_isActiveDragSession:function(){return this.__sY;
},_setLastMousePosition:function(x,y){this.__ta=x;
this.__tb=y;
}},destruct:function(){this.__sW=null;
}});
})();
(function(){var a="qx.ui.splitpane.Slider";
qx.Class.define(a,{extend:qx.ui.core.Widget,properties:{allowShrinkX:{refine:true,init:false},allowShrinkY:{refine:true,init:false}}});
})();
(function(){var f="center",e="knob",d="middle",c="qx.ui.splitpane.Splitter",b="vertical";
qx.Class.define(c,{extend:qx.ui.core.Widget,construct:function(a){qx.ui.core.Widget.call(this);
if(a.getOrientation()==b){this._setLayout(new qx.ui.layout.HBox(0,f));
this._getLayout().setAlignY(d);
}else{this._setLayout(new qx.ui.layout.VBox(0,d));
this._getLayout().setAlignX(f);
}this._createChildControl(e);
},properties:{allowShrinkX:{refine:true,init:false},allowShrinkY:{refine:true,init:false}},members:{_createChildControlImpl:function(g){var h;

switch(g){case e:h=new qx.ui.basic.Image;
this._add(h);
break;
}return h||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,g);
}}});
})();
(function(){var c="slider",b="splitter",a="qx.ui.splitpane.VLayout";
qx.Class.define(a,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:null,renderLayout:function(d,e){var v=this._getLayoutChildren();
var length=v.length;
var r,u;
var g,f,p,h;

for(var i=0;i<length;i++){r=v[i];
u=r.getLayoutProperties().type;

if(u===b){f=r;
}else if(u===c){p=r;
}else if(!g){g=r;
}else{h=r;
}}
if(g&&h){var x=g.getLayoutProperties().flex;
var k=h.getLayoutProperties().flex;

if(x==null){x=1;
}
if(k==null){k=1;
}var w=g.getSizeHint();
var n=f.getSizeHint();
var o=h.getSizeHint();
var j=w.height;
var s=n.height;
var t=o.height;

if(x>0&&k>0){var l=x+k;
var m=e-s;
var j=Math.round((m/l)*x);
var t=m-j;
var q=qx.ui.layout.Util.arrangeIdeals(w.minHeight,j,w.maxHeight,o.minHeight,t,o.maxHeight);
j=q.begin;
t=q.end;
}else if(x>0){j=e-s-t;

if(j<w.minHeight){j=w.minHeight;
}
if(j>w.maxHeight){j=w.maxHeight;
}}else if(k>0){t=e-j-s;

if(t<o.minHeight){t=o.minHeight;
}
if(t>o.maxHeight){t=o.maxHeight;
}}g.renderLayout(0,0,d,j);
f.renderLayout(0,j,d,s);
h.renderLayout(0,j+s,d,t);
}else{f.renderLayout(0,0,0,0);
if(g){g.renderLayout(0,0,d,e);
}else if(h){h.renderLayout(0,0,d,e);
}}},_computeSizeHint:function(){var H=this._getLayoutChildren();
var length=H.length;
var A,z,G;
var B=0,D=0,C=0;
var E=0,F=0,y=0;

for(var i=0;i<length;i++){A=H[i];
G=A.getLayoutProperties();
if(G.type===c){continue;
}z=A.getSizeHint();
B+=z.minHeight;
D+=z.height;
C+=z.maxHeight;

if(z.minWidth>E){E=z.minWidth;
}
if(z.width>F){F=z.width;
}
if(z.maxWidth>y){y=z.maxWidth;
}}return {minHeight:B,height:D,maxHeight:C,minWidth:E,width:F,maxWidth:y};
}}});
})();
(function(){var c="slider",b="splitter",a="qx.ui.splitpane.HLayout";
qx.Class.define(a,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:null,renderLayout:function(o,p){var F=this._getLayoutChildren();
var length=F.length;
var C,E;
var r,q,z,s;

for(var i=0;i<length;i++){C=F[i];
E=C.getLayoutProperties().type;

if(E===b){q=C;
}else if(E===c){z=C;
}else if(!r){r=C;
}else{s=C;
}}
if(r&&s){var H=r.getLayoutProperties().flex;
var t=s.getLayoutProperties().flex;

if(H==null){H=1;
}
if(t==null){t=1;
}var G=r.getSizeHint();
var w=q.getSizeHint();
var y=s.getSizeHint();
var D=G.width;
var B=w.width;
var A=y.width;

if(H>0&&t>0){var u=H+t;
var v=o-B;
var D=Math.round((v/u)*H);
var A=v-D;
var x=qx.ui.layout.Util.arrangeIdeals(G.minWidth,D,G.maxWidth,y.minWidth,A,y.maxWidth);
D=x.begin;
A=x.end;
}else if(H>0){D=o-B-A;

if(D<G.minWidth){D=G.minWidth;
}
if(D>G.maxWidth){D=G.maxWidth;
}}else if(t>0){A=o-D-B;

if(A<y.minWidth){A=y.minWidth;
}
if(A>y.maxWidth){A=y.maxWidth;
}}r.renderLayout(0,0,D,p);
q.renderLayout(D,0,B,p);
s.renderLayout(D+B,0,A,p);
}else{q.renderLayout(0,0,0,0);
if(r){r.renderLayout(0,0,o,p);
}else if(s){s.renderLayout(0,0,o,p);
}}},_computeSizeHint:function(){var n=this._getLayoutChildren();
var length=n.length;
var f,e,m;
var k=0,l=0,d=0;
var g=0,j=0,h=0;

for(var i=0;i<length;i++){f=n[i];
m=f.getLayoutProperties();
if(m.type===c){continue;
}e=f.getSizeHint();
k+=e.minWidth;
l+=e.width;
d+=e.maxWidth;

if(e.minHeight>g){g=e.minHeight;
}
if(e.height>j){j=e.height;
}
if(e.maxHeight>h){h=e.maxHeight;
}}return {minWidth:k,width:l,maxWidth:d,minHeight:g,height:j,maxHeight:h};
}}});
})();
(function(){var s="pane",r="lastTab",q="bar",p="page",o="firstTab",n="right",m="bottom",k="button",j="changeSelection",h="close",G="top",F="left",E="__ti",D="qx.event.type.Data",C="barRight",B="beforeChangeSelection",A="tabview",z="vertical",y="_applyBarPosition",x="barLeft",v="horizontal",w="qx.ui.tabview.TabView",t="barTop",u="barBottom";
qx.Class.define(w,{extend:qx.ui.core.Widget,implement:qx.ui.core.ISingleSelection,include:[qx.ui.core.MContentPadding],construct:function(bl){qx.ui.core.Widget.call(this);
this.__th={top:t,right:C,bottom:u,left:x};
this._createChildControl(q);
this._createChildControl(s);
var bm=this.__ti=new qx.ui.form.RadioGroup;
bm.setWrap(false);
bm.addListener(j,this._onChangeSelection,this);
if(bl!=null){this.setBarPosition(bl);
}else{this.initBarPosition();
}},events:{"changeSelection":D},properties:{appearance:{refine:true,init:A},barPosition:{check:[F,n,G,m],init:G,apply:y}},members:{__ti:null,_createChildControlImpl:function(bn){var bo;

switch(bn){case q:bo=new qx.ui.container.SlideBar();
bo.setZIndex(10);
this._add(bo);
break;
case s:bo=new qx.ui.container.Stack;
bo.setZIndex(5);
this._add(bo,{flex:1});
break;
}return bo||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,bn);
},_getContentPaddingTarget:function(){return this.getChildControl(s);
},add:function(b){{};
var c=b.getButton();
var d=this.getChildControl(q);
var g=this.getChildControl(s);
b.exclude();
d.add(c);
g.add(b);
this.__ti.add(c);
b.addState(this.__th[this.getBarPosition()]);
b.addState(r);
var f=this.getChildren();

if(f[0]==b){b.addState(o);
}else{f[f.length-2].removeState(r);
}b.addListener(h,this._onPageClose,this);
},remove:function(J){var O=this.getChildControl(s);
var M=this.getChildControl(q);
var L=J.getButton();
var N=O.getChildren();
if(this.getSelection()[0]==J){var K=N.indexOf(J);

if(K==0){if(N[1]){this.setSelection([N[1]]);
}else{this.resetSelection();
}}else{this.setSelection([N[K-1]]);
}}M.remove(L);
O.remove(J);
this.__ti.remove(L);
J.removeState(this.__th[this.getBarPosition()]);
if(J.hasState(o)){J.removeState(o);

if(N[0]){N[0].addState(o);
}}
if(J.hasState(r)){J.removeState(r);

if(N.length>0){N[N.length-1].addState(r);
}}J.removeListener(h,this._onPageClose,this);
},getChildren:function(){return this.getChildControl(s).getChildren();
},indexOf:function(R){return this.getChildControl(s).indexOf(R);
},__th:null,_applyBarPosition:function(bb,bc){var bd=this.getChildControl(q);
var bi=bb==F||bb==n;
var bg=bb==n||bb==m;
var bh=bi?qx.ui.layout.HBox:qx.ui.layout.VBox;
var bk=this._getLayout();

if(bk&&bk instanceof bh){}else{this._setLayout(bk=new bh);
}bk.setReversed(bg);
bd.setOrientation(bi?z:v);
var bj=this.getChildren();
if(bc){var be=this.__th[bc];
bd.removeState(be);
for(var i=0,l=bj.length;i<l;i++){bj[i].removeState(be);
}}
if(bb){var bf=this.__th[bb];
bd.addState(bf);
for(var i=0,l=bj.length;i<l;i++){bj[i].addState(bf);
}}},getSelection:function(){var P=this.__ti.getSelection();
var Q=[];

for(var i=0;i<P.length;i++){Q.push(P[i].getUserData(p));
}return Q;
},setSelection:function(S){var T=[];

for(var i=0;i<S.length;i++){T.push(S[i].getChildControl(k));
}this.__ti.setSelection(T);
},resetSelection:function(){this.__ti.resetSelection();
},isSelected:function(H){var I=H.getChildControl(k);
return this.__ti.isSelected(I);
},isSelectionEmpty:function(){return this.__ti.isSelectionEmpty();
},getSelectables:function(){var U=this.__ti.getSelectables();
var V=[];

for(var i=0;i<U.length;i++){V.push(U[i].getUserData(p));
}return V;
},_onChangeSelection:function(e){var ba=this.getChildControl(s);
var W=e.getData()[0];

if(W){ba.setSelection([W.getUserData(p)]);
W.focus();
this.scrollChildIntoView(W,null,null,false);
}else{ba.resetSelection();
}var Y=ba.getSelection();
var X=e.getOldData();
this.fireDataEvent(j,Y,X);
},_onBeforeChangeSelection:function(e){if(!this.fireNonBubblingEvent(B,qx.event.type.Event,[false,true])){e.preventDefault();
}},_onRadioChangeSelection:function(e){var a=e.getData()[0];

if(a){this.setSelection([a.getUserData(p)]);
}else{this.resetSelection();
}},_onPageClose:function(e){this.remove(e.getTarget());
}},destruct:function(){this._disposeObjects(E);
this.__th=null;
}});
})();
(function(){var d='-',c='name',b='Agrammon.Lib.InputOutput',a='agrammon.input.select';
qx.Class.define(b,{extend:qx.ui.tabview.TabView,construct:function(e,f){qx.ui.tabview.TabView.call(this);
qx.event.message.Bus.subscribe(a,this.__tj,this);
this.set({padding:0});
var k=e.getBaseUrl();
var m=new Object;
m[c]=d;
var l=new Object;
l[c]=d;
var g=Agrammon.Lib.Info.getInstance(l,m);
this.info=g;
this.input=f;
var n=new Agrammon.Lib.Output(e,g,false);
var i=new Agrammon.Lib.Output(e,g,true);
var h=new Agrammon.Lib.Reports(k,g,n,i);
var j=new Agrammon.Lib.JqGraphs(g,n,i);
this.add(f);
this.add(h);
this.add(j);
return this;
},members:{getNavbar:function(){return this.input.getNavbar();
},getInfo:function(){return this.info;
},__tj:function(){this.setSelection([this.input]);
}}});
})();
(function(){var o='Agrammon.Lib.Output',n='agrammon.Graphs.clear',m='agrammon.Output.getReference',l='no log found',k='get_output_variables',j='-',h='agrammon.Output.getOutput',g='agrammon.Output.dataReady',f='agrammon.Output.invalidate',e='agrammon.Reference.invalidate',d='agrammon.Reports.clear';
qx.Class.define(o,{extend:qx.core.Object,construct:function(x,y,z){qx.core.Object.call(this);
var A=this;
this.rpc=x;
this.info=y;
this.reference=z;
this.outputIsValid=false;

if(z){qx.event.message.Bus.subscribe(m,this.__tm,this);
qx.event.message.Bus.subscribe(e,this.__tl,this);
}else{qx.event.message.Bus.subscribe(h,this.__tm,this);
qx.event.message.Bus.subscribe(f,this.__tl,this);
}this.getOutputFunc=function(p,q,r){A.rpc.setTimeout(A.__tk);

if(q==null){var s=p.pid;
var v=p.sessionid;
var w=p.data;
var i;
var t=w.length;
var u=new Array;

for(i=0;i<t;i++){u.push(w[i]);
}A.outputData=u;
A.referenceData=u;
A.outputPid=s;
A.outputSession=v;
A.outputIsValid=true;
A.outputLog=p.log;
}else{alert(q);
}qx.event.message.Bus.dispatch(g,t);
return;
};
return this;
},members:{__tk:null,getOutputFunc:null,outputIsValid:null,outputData:null,referenceData:null,outputPid:null,outputSession:null,info:null,reference:null,outputLog:l,isValid:function(){return this.outputIsValid;
},__tl:function(){if(this.outputIsValid){this.outputIsValid=false;
qx.event.message.Bus.dispatch(n);
qx.event.message.Bus.dispatch(d);
}},getDataset:function(){return this.outputData;
},getLog:function(){return this.outputLog;
},getPid:function(){return this.outputPid;
},getSession:function(){return this.outputSession;
},__tm:function(a){this.outputIsValid=false;
var b=this.info.getUserName();
var c;

if(this.reference){c=this.info.getRefDatasetName();
}else{c=this.info.getDatasetName();
}if(c==j||c==undefined){this.outputData=null;
this.outputIsValid=true;
return;
}this.__tk=this.rpc.getTimeout();
this.rpc.setTimeout(3600*1000);
this.rpc.callAsync(this.getOutputFunc,k,{'user':b,'dataset':c});
return;
}}});
})();
(function(){var bf='',be=';',bd='selector',bc='reports=',bb='session=',ba='dataset=',Y='Agrammon/nh3-rotate.gif',X='Agrammon/nh3.png',W='AgrammonExport.cgi',V="1*",cg='user=',cf=',',ce='lang=',cd="changeSelection",cc='order',cb='?',ca='execute',bY='name',bX='print',bW='value',bm='en',bn='pid=',bk='label',bl='_order',bi='-',bj='icon/16/apps/office-spreadsheet.png',bg="Tabular Results",bh="Variable",bs='agrammon.Output.getOutput',bt=' ***',bC='log',bz='_',bK="execute",bF='agrammon.PropTable.stop',bS='subReports',bP='*** ',bv="Choose table: ",bV="changeLocale",bU="Simulation log",bT="Print",bu='icon/16/apps/utilities-statistics.png',bx='unit',by='agrammon.outputEnabled',bB="Reference",bD='format=excel',bG='agrammon.Output.dataReady',bM="Select",bR='format=pdf',bo='unknown',bp="Change",bw="Order",bJ="Open in Excel",bI="appear",bH="Value",bO="Unit",bN='Agrammon.Lib.Reports',bE='agrammon.Reports.clear',bL='agrammon.Reports.createMenu',S="Show log",bQ="Module",bq='agrammon.Output.getReference',br="Create PDF",bA='. . . . ',T='data',U='var';
qx.Class.define(bN,{extend:qx.ui.tabview.Page,construct:function(cM,cN,cO,cP){qx.ui.tabview.Page.call(this);
this.setLayout(new qx.ui.layout.VBox(10));
this.set({label:this.tr(bg),enabled:false});
qx.locale.Manager.getInstance().addListener(bV,this.__tx,this);
this.info=cN;
this.outputData=cO;
this.referenceData=cP;
qx.event.message.Bus.subscribe(bE,this.__tt,this);
qx.event.message.Bus.subscribe(bL,this.__ty,this);
qx.event.message.Bus.subscribe(bG,this.__tv,this);
qx.event.message.Bus.subscribe(by,this.__tw,this);
this.addListener(bI,this.__tu,this);
this.busyIcon=new qx.ui.basic.Atom(bf,X);
this.selectLabel=new qx.ui.basic.Label(this.tr(bv));
this.resultData=new Array;
this.selectMenu=new qx.ui.form.SelectBox();
this.selectMenu.setWidth(500);
this.itemSelect=new Object;
this.__tn=new qx.ui.form.Button(this.tr(S));
this.__tn.setEnabled(false);
this.__tn.addListener(bK,function(e){qx.event.message.Bus.dispatch(bC,{caption:this.tr(bU),log:this.__to});
},this);
var cX=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({spacing:20})).set({padding:0});
cX.add(this.busyIcon);
cX.add(this.selectLabel);
cX.add(this.selectMenu);
cX.add(new qx.ui.core.Spacer(1,1),{flex:1});
cX.add(this.__tn);
this.add(cX,{flex:0});
var cT=new qx.ui.table.model.Simple();
this.tableModel=cT;
cT.setColumns([this.tr(bQ),this.tr(bh),this.tr(bB),this.tr(bH),this.tr(bp),this.tr(bO),this.tr(bT),this.tr(bw)]);
var cS={tableColumnModel:function(cA){return new qx.ui.table.columnmodel.Resize(cA);
}};
var cV=new qx.ui.table.Table(cT,cS);
cV.set({padding:0,keepFirstVisibleRowComplete:true,columnVisibilityButtonVisible:false,statusBarVisible:true});
cV.setMetaColumnCounts([1,-1]);
cV.getSelectionModel().setSelectionMode(qx.ui.table.selection.Model.SINGLE_SELECTION);
var cU=cV.getTableColumnModel();
this.tcm=cU;
var cR=cU.getBehavior();
cR.set(0,{width:V});
cR.set(1,{width:V});
cR.set(2,{width:80});
cR.set(3,{width:80});
cR.set(4,{width:80});
cR.set(5,{width:80});
cR.set(6,{width:100});
cR.set(7,{width:80});
cU.setColumnVisible(6,false);
cU.setColumnVisible(7,false);
cT.setColumnSortable(0,false);
cT.setColumnSortable(1,false);
cT.setColumnSortable(2,false);
cT.setColumnSortable(3,false);
cT.setColumnSortable(4,false);
cT.setColumnSortable(5,false);
cT.setColumnSortable(6,false);
cT.setColumnSortable(7,false);
this.add(cV,{flex:1});
var cW=new qx.ui.container.Composite(new qx.ui.layout.HBox(10));
this.add(cW);
this.excelButton=new qx.ui.form.Button(this.tr(bJ),bj);
this.excelButton.setMaxWidth(150);
this.excelButton.setEnabled(false);
cW.add(this.excelButton);
this.excelButton.addListener(ca,function(e){var cu=qx.locale.Manager.getInstance().getLocale();
var cp=ce+cu.replace(/_.+/,bf);
var ct=bD;
var cx=bc+this.reportSelected;
var cs=bn+cO.getPid();
var cz=bb+cO.getSession();
var cq=this.info.getUserName();
var cv=cg+cq;
var cr=this.info.getDatasetName();
var cy=ba+cr;
var cw=cM+W+cb+cx+be+cs+be+cz+be+cv+be+cy+be+cp+be+ct;
document.location=cw;
},this);
var cQ=new qx.ui.form.Button(this.tr(br),bu);
this.pdfButton=cQ;
cQ.setMaxWidth(150);
cQ.setEnabled(false);
cW.add(cQ);
cQ.addListener(ca,function(e){var cG=qx.locale.Manager.getInstance().getLocale();
var cB=ce+cG.replace(/_.+/,bf);
var cF=bR;
var cJ=bc+this.reportSelected;
var cE=bn+cO.getPid();
var cL=bb+cO.getSession();
var cC=this.info.getUserName();
var cH=cg+cC;
var cD=this.info.getDatasetName();
var cK=ba+cD;
var cI=cM+W+cb+cJ+be+cE+be+cL+be+cH+be+cK+be+cB+be+cF;
document.location=cI;
},this);
return this;
},members:{info:null,outputData:null,busyIcon:null,selectLabel:null,selectMenu:null,resultData:null,reportSelected:null,tableModel:null,excelButton:null,tcm:null,__to:null,__tn:null,__tp:function(co){this.tcm.setColumnVisible(2,co);
this.tcm.setColumnVisible(4,co);
return;
},__tq:function(a,b){var x=a[7];
var y=b[7];
return ((x<y)?-1:((x>y)?1:0));
},__tr:function(a,b){var x=a[bl];
var y=b[bl];
return ((x<y)?-1:((x>y)?1:0));
},__ts:function(e){if(!e.getData()){return;
}
if(!(this.outputData.isValid()&&this.referenceData.isValid)){return;
}var c=this.selectMenu.getSelection()[0].getModel();
var v,h;
var N=new Array;
h=this.resultData.length;
var P=false;

for(v=0;v<h;v++){if(this.resultData[v][bY]==c){P=true;
this.reportSelected=v;
break;
}}
if(!P){this.debug('selectMenu: no matching report for '+c);
return ;
}var M=this.resultData[v][T];
var F;
var r,L,C;
var A=M.length;
var i,u,l,g,j,I,w,B,p;
var q,Q,J,k;
var H=new Array;
var G=new Array;
H=this.outputData.getDataset();
G=this.referenceData.getDataset();

if(G==null){this.debug('refData is null');
this.__tp(false);
}else{this.debug('refData not null');
this.__tp(true);
}var D=H.length;
var n=0;
var o,E=bf;
var s=bf;
var z,O,t;
var m;
var K;
var f=qx.locale.Manager.getInstance().getLocale();
f=f.replace(/_.+/,bf);
this.reportSelected=bf;

for(r=0;r<A;r++){F=M[r][bS];
C=F.length;

if(this.reportSelected!=bf){this.reportSelected+=cf;
}this.reportSelected+=F[0];

for(L=1;L<C;L++){this.reportSelected=this.reportSelected+bz+F[L];
}E=bf;

if(M[r][f]!=null){o=M[r][f];
}else{o=M[r][bm];
}m=new Array;
K=new Array;

for(i=0;i<D;i++){u=H[i];

if(G!=null){l=G[i];
}else{l=null;
}B=false;
s=bf+u[bX]+bf;
z=new Array;
z=s.split(cf);
O=z.length;
TAGS:
for(t=0;t<O;t++){for(L=0;L<C;L++){if(z[t]==F[L]){B=true;
break TAGS;
}}}
if(B){if(o!=E){m.push([o,bf,bf,bf,bf,bf,bf,bf,-1]);
E=o;
}g=bo;

if(u[bk]){g=bf+u[bk];
var d=new Array();
d=g.split(be);
Q=d.length;
g=d[0];
g=g.replace(/.+:/,bf);
g=g.replace(/\s*}/,bf);

for(q=0;q<Q;q++){k=d[q];
k.match(/\s*(.+):/);
J=RegExp.$1;

if(J==f){g=k.replace(/.+:/,bf);
g=g.replace(/\s*}/,bf);
}}g.match(/(\d\d\d)\s+(.*)/);
u[cc]=RegExp.$1;
g=RegExp.$2;
g=g.replace(/^_/,bA);
}else{g=u[U];
}j=u[bW];

if(l!=null){I=l[bW];
w=j-I;
}else{I=bi;
w=bi;
}m.push([bf,g,I,j,w,u[bx],u[bX],u[cc]]);
n++;
}}p=m.length;

if(p>0){m.sort(this.__tq);

for(i=0;i<p;i++){N.push(m[i]);
}}}this.tableModel.setData(N);
this.excelButton.setEnabled(true);
this.pdfButton.setEnabled(true);
return;
},__tt:function(){this.tableModel.setData(new Array);
var da=this.selectMenu.isEnabled();
this.selectMenu.setEnabled(true);
this.selectMenu.setSelection([this.itemSelect]);
this.selectMenu.setEnabled(da);
this.excelButton.setEnabled(false);
this.pdfButton.setEnabled(false);
},__tu:function(e){if(!(this.referenceData.isValid()&&this.outputData.isValid())){this.selectMenu.setEnabled(false);
this.selectLabel.setEnabled(false);
this.__tt();
}qx.event.message.Bus.dispatch(bF);

if(!this.referenceData.isValid()){this.busyIcon.setIcon(Y);
qx.event.message.Bus.dispatch(bq);
}
if(!this.outputData.isValid()){this.busyIcon.setIcon(Y);
qx.event.message.Bus.dispatch(bs);
}else{}return ;
},__tv:function(R){this.busyIcon.setIcon(X);
this.selectMenu.setEnabled(true);
this.selectLabel.setEnabled(true);
this.__to=this.outputData.getLog();

if(this.__to!=bf){this.__tn.execute();
}this.__tn.setEnabled(true);
return;
},__tw:function(cY){this.setEnabled(cY.getData());
},__tx:function(){this.__ty(null);
},__ty:function(ch){var cm,cj;

if(ch!=null){this.resultData=ch.getData().sort(this.__tr);
}this.selectMenu.removeListener(cd,this.__ts,this);
cj=this.selectMenu.isEnabled();
this.selectMenu.setEnabled(true);
this.selectMenu.removeAll();
this.itemSelect=new qx.ui.form.ListItem(bP+this.tr(bM)+bt,null);
this.selectMenu.add(this.itemSelect);
var cl,cn,r,ck=0,ci=qx.locale.Manager.getInstance().getLocale();
ci=ci.replace(/_.+/,bf);

if(this.resultData){ck=this.resultData.length;
}
for(r=0;r<ck;r++){if(this.resultData[r][bd][ci]!=null){cl=this.resultData[r][bd][ci];
}else{cl=this.resultData[r][bd][bm];
}cn=this.resultData[r][bY];
cm=new qx.ui.form.ListItem(cl,null);
cm.setModel(cn);
this.selectMenu.add(cm);
}this.selectMenu.addListener(cd,this.__ts,this);
this.selectMenu.setSelection([this.itemSelect]);
this.selectMenu.setEnabled(cj);
return;
}}});
})();
(function(){var bh='',bg='data',bf='label',be='order',bd='10pt',bc=' ',bb='AgrammonJqplotBox',ba='Georgia',Y='12pt',X='selector',cd=': ',cc='Agrammon/nh3.png',cb='value',ca='bar',bY='Agrammon/nh3-rotate.gif',bX='8pt',bW='unit',bV="changeSelection",bU='name',bT='pie',bo='_order',bp='-',bm='id',bn='en',bk='Agrammon.Lib.JqGraphs',bl='agrammon.Output.getOutput',bi=';',bj='type',bs='log',bt="Graphical Results",bB="execute",bz='agrammon.PropTable.stop',bJ='subReports',bE='agrammon.Graphs.clear',bP="Choose table: ",bN="changeLocale",bv="Simulation log",bS=',',bR='%.0s %.0f ',bQ='agrammon.outputEnabled',bu=' ***',bx='y-axis',by='#AgrammonJqplotBox',bA='ne',bC="resize",bF='agrammon.Output.dataReady',bK="Select",bO='*** ',bq='unknown',br="appear",bw='print',bI=' --- ',bH="Show log",bG='agrammon.Output.getReference',bM='%.0f',bL='agrammon.Graphs.createMenu',bD='var';
qx.Class.define(bk,{extend:qx.ui.tabview.Page,construct:function(cf,cg,ch){qx.ui.tabview.Page.call(this);
this.setLayout(new qx.ui.layout.VBox(5));
this.set({label:this.tr(bt),enabled:false});
qx.locale.Manager.getInstance().addListener(bN,this.__tK,this);
var cl=this;
this.info=cf;
this.outputData=cg;
this.referenceData=ch;
qx.event.message.Bus.subscribe(bE,this.__tG,this);
qx.event.message.Bus.subscribe(bL,this.__tL,this);
qx.event.message.Bus.subscribe(bF,this.__tI,this);
qx.event.message.Bus.subscribe(bQ,this.__tJ,this);
this.addListener(br,this.__tH,this);
this.__tz=new qx.ui.basic.Atom(bh,cc);
var ci=new qx.ui.basic.Label(this.tr(bP));
this.selectLabel=ci;
this.selectMenu=new qx.ui.form.SelectBox();
this.selectMenu.setWidth(500);
this.itemSelect=new Object;
this.__tA=new qx.ui.form.Button(this.tr(bH));
this.__tA.setEnabled(false);
this.__tA.addListener(bB,function(e){qx.event.message.Bus.dispatch(bs,{caption:this.tr(bv),log:this.__tB});
},this);
var ck=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({spacing:20})).set({padding:0});
ck.add(this.__tz);
ck.add(ci);
ck.add(this.selectMenu);
ck.add(new qx.ui.core.Spacer(1,1),{flex:1});
ck.add(this.__tA);
this.add(ck,{flex:0});
this.graphCanvas=new qx.ui.container.Composite(new qx.ui.layout.Canvas().set({})).set({padding:0,width:500});
this.add(this.graphCanvas,{flex:1});
var cj;
this.pie=function(cB,cC){cj=this.graphCanvas.getContainerElement().getDomElement();
qx.bom.element.Attribute.set(cj,bm,bb);
this.graphCanvas.set({width:500,height:350});
var cD=new Array;
var cE=cB.length;
var i;
for(i=0;i<cE;i++){cD.push([cB[i][bf],cB[i][bg]]);
}cl.currentGraph=jQuery.jqplot(bb,[cD],{title:{text:cC,fontSize:Y},seriesDefaults:{renderer:jQuery.jqplot.PieRenderer,rendererOptions:{sliceMargin:8}},legend:{show:true,fontSize:bX},cursor:{zoom:false,clickReset:false,showTooltip:false}});
this.currentGraph.redraw();
};
this.bar=function(cm,cn,co){cj=this.graphCanvas.getContainerElement().getDomElement();
qx.bom.element.Attribute.set(cj,bm,bb);
this.graphCanvas.set({width:500,height:350});
var cy=new Array;
var cr=new Array;
var cs=cm.length;
var i,ct;
var cv,cp;
var cq=0;
var cu;

if(cl.refDatasetName!=null&&cl.refDatasetName!=bp){for(i=0;i<cs;i++){if(cq<cm[i][bg]){cq=cm[i][bg];
}
if(cq<cn[i][bg]){cq=cn[i][bg];
}cy.push([cn[i][bg],cm[i][bg]]);
cv=cn[i][bf];

if(cv==bh){cv=cm[i][bf];
}cp=cm[i][bf].split(/: /)[1];
cr.push({label:cv+bI+cp});
}ct=[this.refDatasetName,this.datasetName,bc];
cu=/.+: (\d+) (.+) ---/;
}else{for(i=0;i<cs;i++){if(cq<cm[i][bg]){cq=cm[i][bg];
}cy.push([cm[i][bg]]);
cr.push({label:cm[i][bf]});
}ct=[this.datasetName,bc];
cu=/.+: (\d+) (.+)/;
}cu.exec(cr[0].label);
var cA=RegExp.$2;
var cx=Math.log(cq)/Math.log(10);
var cw=1;

for(i=0;i<cx-1;i++){cw=cw*10;
}cq=cq+cw;
cq=Math.floor(cq/cw)*cw;
var cz=cq/cw;

if(cz<5){cz*=2;
}cz++;
cl.currentGraph=jQuery.jqplot(bb,cy,{legend:{show:true,location:bA,fontSize:bX},title:{text:co,fontSize:Y},seriesDefaults:{renderer:jQuery.jqplot.BarRenderer,rendererOptions:{barPadding:8,barMargin:20}},series:cr,axes:{xaxis:{tickOptions:{enableFontSupport:true,fontFamily:ba,fontSize:bd},renderer:jQuery.jqplot.CategoryAxisRenderer,ticks:ct,enableFontSupport:true,fontSize:bd},yaxis:{numberTicks:cz,tickOptions:{formatString:bM,enableFontSupport:true,fontFamily:ba,fontSize:bd},labelRenderer:jQuery.jqplot.CanvasAxisLabelRenderer,labelOptions:{enableFontSupport:true,fontFamily:ba,fontSize:Y},label:bx,fontSize:bd,min:0,max:cq}},cursor:{zoom:true,clickReset:true,showTooltip:true,useAxesFormatters:false,tooltipFormatString:bR+cA,followMouse:true}});
this.currentGraph.redraw();
cl.addListener(bC,this.__tC,cl);
};
return this;
},members:{bar:null,pie:null,datasetName:null,currentGraph:null,graphCanvas:null,info:null,resultData:null,outputData:null,referenceData:null,__tz:null,selectMenu:null,itemSelect:null,__tB:null,__tA:null,__tC:function(cM){this.debug('JqPlot.__redraw()');
this.currentGraph.replot();
},__tD:function(a,b){var x=a[be];
var y=b[be];
return ((x<y)?-1:((x>y)?1:0));
},__tE:function(a,b){var x=a[bo];
var y=b[bo];
return ((x<y)?-1:((x>y)?1:0));
},__tF:function(e){if(!e.getData()){return;
}
if(!(this.outputData.isValid()&&this.referenceData.isValid)){return;
}var W=e.getData()[0].getLabel();
var d=this.selectMenu.getSelection()[0].getModel();
var A,j;
var S=new Array;
var I=new Array;
j=this.resultData.length;
var U=false;

for(A=0;A<j;A++){if(this.resultData[A][bU]==d){U=true;
break;
}}
if(!U){this.debug('selectMenu: no matching report for '+d);
return ;
}var R=this.resultData[A][bg];
var u=this.resultData[A][bj];
var H;
var r,P,E;
var C=R.length;
this.datasetName=this.info.getDatasetName();
this.refDatasetName=this.info.getRefDatasetName();
var i,z,o,h,l,M,D,s,L,v;
var m,V,N,Q;
var K=new Array;
var J=new Array;
K=this.outputData.getDataset();
J=this.referenceData.getDataset();
var F=K.length;
var n=0;
var q,G=bh;
var w=bh;
var B,T,t;
var p,O,k;
var g=qx.locale.Manager.getInstance().getLocale();
g=g.replace(/_.+/,bh);

for(r=0;r<C;r++){k=bh+R[r][bf];
H=R[r][bJ];
E=H.length;
G=bh;

if(R[r][g]!=null){q=R[r][g];
}else{q=R[r][bn];
}p=new Array;
O=new Array;

for(i=0;i<F;i++){z=K[i];

if(J!=null){o=J[i];
}else{o=null;
}D=false;
w=bh+z[bw];
B=new Array;
B=w.split(bS);
T=B.length;
TAGS:
for(t=0;t<T;t++){for(P=0;P<E;P++){if(B[t]==H[P]){D=true;
break TAGS;
}}}
if(D){h=bq;

if(z[bf]){h=bh+z[bf];
var f=new Array();
f=h.split(bi);
V=f.length;
h=f[0];
h=h.replace(/.+:/,bh);
h=h.replace(/\s*}/,bh);

for(m=0;m<V;m++){Q=f[m];
Q.match(/\s*(.+):/);
N=RegExp.$1;

if(N==g){h=Q.replace(/.+:/,bh);
h=h.replace(/\s*}/,bh);
}}h.match(/(\d\d\d)\s+(.*)/);
z[be]=RegExp.$1;
h=RegExp.$2;
}else{h=z[bD];
}l=z[cb];
L=h+cd+l+bc+z[bW];

if(o!=null){M=o[cb];
v=h+cd+M+bc+z[bW];
}else{M=0;
v=bp;
}
if(((u==bT)&&(l>0))||(u==ca)){p.push({data:l,label:L,order:z[be]});
O.push({data:M,label:v,order:z[be]});
n++;
}}}s=p.length;

if(s>0){p.sort(this.__tD);
O.sort(this.__tD);

for(i=0;i<s;i++){S.push(p[i]);
I.push(O[i]);
}}}switch(u){case ca:this.bar(S,I,W);
break;
case bT:this.pie(S,W);
break;
default:alert(u+' not yet implemented');
break;
}return;
},__tG:function(){if(this.currentGraph){jQuery(by).empty();
var cN=this.selectMenu.isEnabled();
this.selectMenu.setEnabled(true);
this.selectMenu.setSelection([this.itemSelect]);
this.selectMenu.setEnabled(cN);
return;
}},__tH:function(e){if(!(this.outputData.isValid()&&this.referenceData.isValid())){this.selectMenu.setEnabled(false);
this.selectLabel.setEnabled(false);
this.__tG();
}qx.event.message.Bus.dispatch(bz);

if(!this.referenceData.isValid()){this.__tz.setIcon(bY);
qx.event.message.Bus.dispatch(bG);
}
if(!this.outputData.isValid()){this.__tz.setIcon(bY);
qx.event.message.Bus.dispatch(bl);
}else{}return ;
},__tI:function(ce){this.__tz.setIcon(cc);
this.selectMenu.setEnabled(true);
this.selectLabel.setEnabled(true);
this.__tB=this.outputData.getLog();

if(this.__tB!=bh){this.__tA.execute();
}this.__tA.setEnabled(true);
return;
},__tJ:function(c){this.setEnabled(c.getData());
},__tK:function(){this.__tL(null);
},__tL:function(cF){var cK,cH;

if(cF!=null){this.resultData=cF.getData().sort(this.__tE);
}this.selectMenu.removeListener(bV,this.__tF,this);
cH=this.selectMenu.isEnabled();
this.selectMenu.setEnabled(true);
this.selectMenu.removeAll();
this.itemSelect=new qx.ui.form.ListItem(bO+this.tr(bK)+bu,null);
this.selectMenu.add(this.itemSelect);
var cJ,cL,r,cI=0,cG=qx.locale.Manager.getInstance().getLocale();
cG=cG.replace(/_.+/,bh);

if(this.resultData){cI=this.resultData.length;
}for(r=0;r<cI;r++){if(this.resultData[r][X][cG]!=null){cJ=this.resultData[r][X][cG];
}else{cJ=this.resultData[r][X][bn];
}cL=this.resultData[r][bU];
cK=new qx.ui.form.ListItem(cJ,null);
cK.setModel(cL);
this.selectMenu.add(cK);
}this.selectMenu.addListener(bV,this.__tF,this);
this.selectMenu.setSelection([this.itemSelect]);
this.selectMenu.setEnabled(cH);
return;
}}});
})();
(function(){var q="Options",p="File",o="Edit",n='Agrammon.Lib.MainMenu',m="Help";
qx.Class.define(n,{extend:qx.ui.toolbar.ToolBar,construct:function(a,b,c,d){qx.ui.toolbar.ToolBar.call(this);
var i=a.getBaseUrl();
this.info=b.getInfo();
var h=new Agrammon.Lib.FileMenu(a,this.info);
var g=new qx.ui.toolbar.MenuButton(this.tr(p));
g.setMenu(h);
var l=new qx.ui.toolbar.MenuButton(this.tr(o));
l.setMenu(d);
var e=new Agrammon.Lib.OptionMenu(a,this.info);
var f=new qx.ui.toolbar.MenuButton(this.tr(q));
f.setMenu(e);
var k=new Agrammon.Lib.HelpMenu(i);
var j=new qx.ui.toolbar.MenuButton(this.tr(m));
j.setMenu(k);
this.add(g);
this.add(l);
this.add(f);
this.add(j);
this.addSpacer();
this.add(c);
this.addSpacer();
this.add(this.info);
return;
},members:{}});
})();
(function(){var q="execute",p='',o='agrammon.DatasetCache.refresh',n='name',m=' ',l='agrammon.NavBar.loadDataset',k='cloneDataset',j='oldDataset',i="New dataset name",h='agrammon.FileMenu.copyDataset',ba='newDataset',Y='agrammon.FileMenu.createDataset',X='create_dataset',W='agrammon.FileMenu.cloneDataset',V='agrammon.Output.invalidate',U='default',T='agrammon.info.setReferenceDataset',S="Create new dataset",R="Logout",Q='agrammon.FileMenu.enableClone',x="Connect to dataset",y="Clone dataset",v="Dataset",w="Datasets of",t='agrammon.main.logout',u="Set reference dataset",r='agrammon.input.select',s='all',z="Cloning dataset",A="already exists",H="Clear reference dataset",F='agrammon.FileMenu.openNew',K='minIndex',J="Error",M="Manage datasets",L='agrammon.FileMenu.openConnect',C='get_input_variables',P='agrammon.info.setUser',O="Creating new dataset",N='error',B='-',D='Agrammon.Lib.FileMenu',E='setReference',G='connect',I='agrammon.Reference.invalidate';
qx.Class.define(D,{extend:qx.ui.menu.Menu,construct:function(bS,bT){qx.ui.menu.Menu.call(this);
this.rpc=bS;
this.info=bT;
var ca=this;
qx.event.message.Bus.subscribe(W,this.__tX,this);
qx.event.message.Bus.subscribe(h,this.__ua,this);
qx.event.message.Bus.subscribe(Y,this.__tV,this);
qx.event.message.Bus.subscribe(L,this.__tQ,this);
qx.event.message.Bus.subscribe(F,this.__tR,this);
qx.event.message.Bus.subscribe(Q,this.__ub,this);
this.__tM=function(){ca.username=ca.info.getUserName();
};
qx.event.message.Bus.subscribe(P,this.__tM);
var cd=new Agrammon.Lib.DatasetTool(this.tr(w)+m+bU,bS,bT);
this.__tN=Agrammon.Lib.DatasetCache.getInstance();
var cf=new qx.ui.core.Command();
cf.addListener(q,function(e){var bC=e.getData();
var bE;
var bD=qx.lang.Function.bind(function(self){var bi=p+self.nameField.getValue();
if(self.getDatasetCache().datasetExists(bi)){qx.event.message.Bus.dispatch(N,[this.tr(J),this.tr(v)+m+bi+m+this.tr(A)]);
self.close();
return;
}bC=self;
var bf=bC.getSelectionModel().getSelectedRanges();
var bg=0;

if(bf.length){var bj=bf[0][K];
var be=bC.getTableModel().getValue(0,bj,1);
bg=bC.getTableModel().getValue(2,bj,1);
}if(bg>0){qx.event.message.Bus.dispatch(h,{'newDataset':bi,'oldDataset':be});
}else{var bh=this.getCommand!=undefined;
this.debug('connect='+bh);
qx.event.message.Bus.dispatch(Y,{dataset:bi,connect:bh});
this.__tO=true;
}self.close();
return;
},bC);
bE=new Agrammon.Lib.DatasetCreate(this.tr(O),this.tr(i),bD);
bE.open();
return;
},this);
this.newCommand=cf;
var bX=new qx.ui.menu.Button(this.tr(S),null,cf);
this.newButton=bX;
var ch=new qx.ui.core.Command();
var bU=this.info.getUserName();
this.username=bU;
ch.addListener(q,function(e){cd.setMode(G);
cd.open();
},this);
var ck=new qx.ui.menu.Button(this.tr(x),null,ch);
this.connectButton=ck;
var bW=new qx.ui.core.Command();
bW.addListener(q,function(e){var br;
var bq=qx.lang.Function.bind(function(self){var bd=p;
var bc=self.nameField.getValue();
this.debug('cloneCommand: dataset='+bc);
qx.event.message.Bus.dispatch(W,{'oldDataset':bd,'newDataset':bc});
self.close();
return;
},this);
br=new Agrammon.Lib.Dialog(this.tr(z),this.tr(i),bq,this);
return;
},this);
var cb=new qx.ui.menu.Button(this.tr(y),null,bW);
this.cloneButton=cb;
cb.setEnabled(false);
var cl=new qx.ui.core.Command();
cl.addListener(q,function(e){cd.setMode(E);
cd.open();
},this);
var cg=new qx.ui.menu.Button(this.tr(u),null,cl);
this.setReferenceButton=cg;
var bY=new qx.ui.core.Command();
bY.addListener(q,function(e){qx.event.message.Bus.dispatch(T,B);
qx.event.message.Bus.dispatch(I);
},this);
var cc=new qx.ui.menu.Button(this.tr(H),null,bY);
this.clearReferenceButton=cc;
var cj=new qx.ui.core.Command();
cj.addListener(q,function(e){cd.setMode(s);
cd.open();
},this);
var bV=new qx.ui.menu.Button(this.tr(M),null,cj);
var ce=new qx.ui.core.Command();
ce.addListener(q,function(e){qx.event.message.Bus.dispatch(t);
},this);
var ci=new qx.ui.menu.Button(this.tr(R),null,ce);
this.add(bX);
this.add(ck);
this.add(cb);
this.add(new qx.ui.menu.Separator());
this.add(cg);
this.add(cc);
this.add(new qx.ui.menu.Separator());
this.add(bV);
this.add(new qx.ui.menu.Separator());
this.add(ci);
return;
},members:{__tP:null,newCommand:null,__tQ:function(bb){this.connectButton.execute();
},__tR:function(bF){this.newCommand.execute(bF.getData());
},__tS:function(bL,bM,bN){if(bM==null){}else{alert(bM);
}},__tT:function(bs,bt,bu){this.debug('__createDatasetFunc(): this='+this);

if(bt==null){var bv=new Object;
bv[n]=p+bs;
this.debug('__createDatasetFunc(): datasetName='+bv['name']);
qx.event.message.Bus.dispatch(l,bv);
qx.event.message.Bus.dispatch(o,this.info.getUserName());
}else{alert(bt);
}},__tU:function(cm,cn,co){this.debug('__createDatasetFunc(): this='+this);

if(cn==null){var cp=new Object;
cp[n]=p+cm;
this.debug('__createDatasetFunc(): datasetName='+cp['name']);
qx.event.message.Bus.dispatch(o,this.info.getUserName());
}else{alert(cn);
}},__tV:function(bO){var bP=this.info.getUserName();
var bQ=bO.getData().dataset;
var bR=bO.getData().connect;
this.debug('__createDataset(): '+bP+':'+bQ+', connect='+bR);

if(bR){this.rpc.callAsync(qx.lang.Function.bind(this.__tT,this),X,{'username':bP,'newDataset':bQ});
this.rpc.callAsync(qx.lang.Function.bind(this.__tS,this),C);
}else{this.rpc.callAsync(qx.lang.Function.bind(this.__tU,this),X,{'username':bP,'newDataset':bQ});
}},__tW:function(bG,bH,bI){if(bH==null){var bJ=bG;
var bK=new Object;
bK[n]=bJ;
qx.event.message.Bus.dispatch(r);
this.info.setDatasetName(bJ);
qx.event.message.Bus.dispatch(l,bK);
qx.event.message.Bus.dispatch(o,this.info.getUserName());
}else{alert(bH);
}},__tX:function(bw){var bx;
bx=this.info.getUserName();
var bA=this.info.getUserName();
var bB=bw.getData();
var bz=bB[j];

if(bz==p){bz=this.info.getDatasetName();
}var by=bB[ba];
this.debug('__cloneDataset(): '+bx+'/'+bz+' -> '+bA+'/'+by);
qx.event.message.Bus.dispatch(V);
this.rpc.callAsync(qx.lang.Function.bind(this.__tW,this),k,{'oldUsername':bx,'oldDataset':bz,'newUsername':bA,'newDataset':by});
},__tY:function(bl,bm,bn){if(bm==null){var bo=bl;
var bp=new Object;
bp[n]=bo;
qx.event.message.Bus.dispatch(o,this.info.getUserName());
qx.event.message.Bus.dispatch(l,bp);
}else{alert(bm);
}},__ua:function(a){var b=U;
var g=this.info.getUserName();
var f=a.getData();
var d=f[j];
var c=f[ba];
this.debug('__copyDataset(): '+b+'/'+d+' -> '+g+'/'+c);
qx.event.message.Bus.dispatch(V);
this.rpc.callAsync(qx.lang.Function.bind(this.__tY,this),k,{'oldUsername':b,'oldDataset':d,'newUsername':g,'newDataset':c});
},__ub:function(bk){this.cloneButton.setEnabled(bk.getData());
}}});
})();
(function(){var cn='minIndex',cm="execute",cl="changeSelection",ck='maxIndex',cj=' ',ci='all',ch="",cg='agrammon.info.setReferenceDataset',cf="resize",ce='keydown',dB="Hide tags",dA='agrammon.PropTable.clear',dz="Show tags",dy="Error",dx='agrammon.input.select',dw="already exists",dv='Enter',du="Tag",dr='setReference',dq='error',cu='agrammon.Reference.invalidate',cv='agrammon.NavBar.loadDataset',cs='connect',ct="New tag name",cq="New",cr="Creating new tag",co="Rename tag",cp='clone',cC='Agrammon/tags_ts.png',cD="Close",cR="New dataset name",cN='rename',da='icon/16/actions/go-previous.png',cU="Ctrl-Click on selected table rows removes selection",dl="Active tags",df="Datasets of",cI='new_tag',dp="Copy+Connect",dn='icon/16/actions/window-close.png',dm='remove_tag',cG="icon/16/actions/document-save-as.png",cK='icon/16/apps/utilities-archiver.png',cM='set_tag',cP='icon/16/actions/go-next.png',cS="Delete",cV='delete_tag',dc='Agrammon.tagsLoaded',dh='create',cw='white',cx="Clear reference",cJ='rename_tag',cY="Deleting tags from database",cX="appear",cW="icon/16/actions/window-close.png",de='agrammon.info.setUser',dd='name',cT="Really delete selected available tags from database?",db="Rename",cb='Agrammon.Lib.DatasetTool',dg="cellDblclick",cy="Cloning dataset",cz="Set reference",cO="horizontal",cc="Available tags",cd='-',cF='Agrammon.datasetsLoaded',cA='*all*',cB="icon/16/actions/document-new.png",cE="pane",cQ='right',dj="white",di='agrammon.FileMenu.cloneDataset',cL="changeValue",dk="Connect",cH='Agrammon.datasetsLoading';
qx.Class.define(cb,{extend:qx.ui.window.Window,construct:function(bc,bd,be){qx.ui.window.Window.call(this);
var by=qx.bom.Document.getHeight()-20;
this.set({layout:new qx.ui.layout.VBox(10),width:950,maxHeight:by,modal:true,showClose:true,showMinimize:false,showMaximize:false,caption:bc,contentPadding:[0,0,10,0],padding:0,icon:cK});
this.getChildControl(cE).setBackgroundColor(dj);
var bt=this;
this.info=be;
this.rpc=bd;
this.__xn=Agrammon.Lib.DatasetCache.getInstance();
var bo=new Agrammon.Lib.DatasetTable(bd,be);
this.__ud=bo;
bo.addListener(dg,this.__uF,this);
var bf=bo.getTableModel();
var bm=new Agrammon.Lib.TagTable(this.tr(dl),false);
this.__ue=bm;
var bi=bm.getTableModel();
var bz=bm.getTableColumnModel();
this.__uf=[];
bi.setData(this.__uf);
var bq=new Agrammon.Lib.TagTable(this.tr(cc),true);
this.__ug=bq;
var bj=bq.getTableModel();
var bn=bq.getTableColumnModel();
this.__uh=[];
bj.setData(this.__uh);
this.addListener(cX,function(e){var D=bo.getToolBar().getInnerSize().height;
this.__un.setHeight(D);
},this);
var bg=function(e){if(this.__uv==ci){bm.getSelectionModel().fireEvent(cl);
bq.getSelectionModel().fireEvent(cl);
}var dS=bo.getSelectionModel().getSelectedRanges();
var dY=0;
var r,s,dT,dU;
var dR=dS.length;
var t,dQ,ea;
var dW=new Object;

for(r=0;r<dR;r++){dT=dS[r][cn];
dU=dS[r][ck];
dY+=(dU-dT+1);

for(s=dT;s<=dU;s++){dQ=bf.getValue(5,s,1);
if(dQ){ea=dQ.length;
for(t=0;t<ea;t++){if(dW[dQ[t]]){dW[dQ[t]]++;
}else{dW[dQ[t]]=1;
}}}}}bt.__uf=[];
var dV={};
var dX=0;

for(t in dW){if(dW[t]==dY){bt.__uf.push([t]);
dV[t]=true;
dX++;
delete dW[t];
}}this.enableButtons(dY);

if(this.__uv!=ci){return;
}bi.setData(null);
bq.setFilter(dV);

if(dX>0){bi.addRows(bt.__uf);
}};
var bp=function(e){bq.getSelectionModel().removeListener(cl,bp,this);
var eJ=bq.getSelectionModel().getSelectedRanges();
var ex=eJ.length;
var en=this.__uz(bq);
var em=this.__uz(bm);
var ez=bo.getSelectionModel().getSelectedRanges();
var eC=ez.length;
if((en+em)>0){this.__uM.setEnabled(true);
}else{this.__uM.setEnabled(false);
}
if(ex>0&&eC>0){this.__up.setEnabled(true);
}else{this.__up.setEnabled(false);
}
if((en+em)==1){this.__uK.setEnabled(true);
}else{this.__uK.setEnabled(false);
}
if(this.__uv==ci){bq.getSelectionModel().addListener(cl,bp,this);
return;
}var n=0;
var i,eq,ev,ew;
var eK,eB=[];
var eH=[];
var eF={};
var eo={};
var er=true;

if(ex>0){er=false;
SELECTIONS:
for(i=0;i<ex;i++){ev=eJ[i][cn];
ew=eJ[i][ck];
n+=(ew-ev+1);

for(eq=ev;eq<=ew;eq++){eK=bj.getValue(0,eq,1);

if(eK==cA){er=true;
break SELECTIONS;
}eB.push(eK);
eo[eK]=true;
}}}
if(er){bo.clearFilter();
bq.setShowAlways(eo);
bq.getSelectionModel().addListener(cl,bp,this);
return;
}
if(eB){var es,et,eE,ep,eD,eI,d,t,ey=eB.length,eG,eu,eA=bt.__us.length;

for(d=0;d<eA;d++){ep=bt.__us[d];
eD=ep[0];
eI=ep[5];
eu=eI.length;
et={};

for(eG=0;eG<eu;eG++){es=eI[eG];
et[es]=true;
}eE=true;

for(t=0;t<ey;t++){es=eB[t];
eE=eE&&et[es];
}
if(eE){eF[eD]=ep;
}}bo.setFilter(eF);
}else{bo.clearFilter();
}bq.setShowAlways(eo);
bq.getSelectionModel().addListener(cl,bp,this);
};
this.__ui=bp;
var bu=function(e){var W=bm.getSelectionModel().getSelectedRanges();
var X=W.length;
var U=this.__uz(bq);
var S=this.__uz(bm);
var T=bm.getSelectionModel().getSelectedRanges();
var V=T.length;
if((U+S)>0){this.__uM.setEnabled(true);
}else{this.__uM.setEnabled(false);
}
if(X>0&&V>0){this.__uq.setEnabled(true);
}else{this.__uq.setEnabled(false);
}
if((U+S)==1){this.__uK.setEnabled(true);
}else{this.__uK.setEnabled(false);
}};
bo.getSelectionModel().addListener(cl,bg,this);
bq.getSelectionModel().addListener(cl,bp,this);
bm.getSelectionModel().addListener(cl,bu,this);
var bv=function(eT,eU,eV){if(eU==null){var n=eT;
return ;
}else{alert(eU);
}};
var br=function(bI,bJ,bK){if(bJ==null){var n=bI;
return ;
}else{alert(bJ);
}};
this.__uj=br;
var bB=function(){var N=bo.getSelectionModel().getSelectedRanges();
var H=N.length;

if(H<1){return;
}var i,K,I,J,O;
var G=[];

for(i=0;i<H;i++){I=N[i][cn];
J=N[i][ck];

for(K=I;K<=J;K++){O=bf.getValue(0,K,1);
G.push(O);
}}
if(G.length<1){return;
}var L;
var F=bq.getSelectionModel().getSelectedRanges();
var M=F.length;

for(i=M-1;i>=0;i--){I=F[i][cn];
J=F[i][ck];

for(K=J;K>=I;K--){L=bj.getValue(0,K,1);
bd.callAsync(bv,cM,{user:this.info.getUserName(),datasets:G,tag:L});
bq.addToFilter(L,true);
bi.addRows([[L]]);
bo.addTag(G,L);
}}bi.sortByColumn(0,true);
bj.updateView(1);
};
var bh=function(){var dK=bo.getSelectionModel().getSelectedRanges();
var dE=dK.length;

if(dE<1){return;
}var i,dH,dF,dG,dL;
var dD=[];

for(i=0;i<dE;i++){dF=dK[i][cn];
dG=dK[i][ck];

for(dH=dF;dH<=dG;dH++){dL=bf.getValue(0,dH,1);
dD.push(dL);
}}
if(dD.length<1){return;
}var dI;
var dC=bm.getSelectionModel().getSelectedRanges();
var dJ=dC.length;
for(i=dJ-1;i>=0;i--){dF=dC[i][cn];
dG=dC[i][ck];

for(dH=dG;dH>=dF;dH--){dI=bi.getValue(0,dH,1);
bd.callAsync(this.__uj,dm,{datasets:dD,user:this.info.getUserName(),tag:dI});
bq.removeFromFilter(dI);
bi.removeRows(dH,1);
bo.removeTag(dD,dI);
}}bm.getSelectionModel().resetSelection();
bi.updateView(1);
bj.updateView(1);
};
bq.addListener(ce,function(e){if(e.getKeyIdentifier()==dv){var B=bq.getFocusedColumn();

if(B==1){return;
}var C=bq.getFocusedRow();
}});
bm.addListener(ce,function(e){if(e.getKeyIdentifier()==dv){var ek=bm.getFocusedColumn();

if(ek==1){return;
}var el=bm.getFocusedRow();
}});
var bC=new qx.ui.form.Button(this.tr(cD),cW);
bC.addListener(cm,function(e){this.__uk={'*all*':true};
this.close();
},this);
this.__ul=new qx.ui.container.Composite(new qx.ui.layout.HBox(10,cQ));
this.__ul.add(new qx.ui.basic.Label(this.tr(cU)));
this.__ul.add(new qx.ui.core.Spacer(1,0),{flex:1});
this.__ul.setPadding(0,10,0,10);
this.__ul.add(bC);
this.__uA();
var bw=new qx.ui.splitpane.Pane(cO);
bw.set({backgroundColor:cw,padding:0});
bw.setDecorator(null);
var bs=new qx.ui.container.Composite(new qx.ui.layout.VBox(10));
bs.setPadding(0);
var bA=new qx.ui.container.Composite(new qx.ui.layout.VBox(10));
bA.setPadding(0);
this.__um=bA;
this.__un=new qx.ui.toolbar.ToolBar();
this.__un.setAllowShrinkY(false);
this.__un.setAllowGrowY(true);
this.__un.setPadding(0,5,0,5);
bA.add(this.__un);
this.__uJ();
this.enableButtons(0,undefined);
var bl=new qx.ui.container.Composite(new qx.ui.layout.HBox(0));
var bx=new qx.ui.container.Composite(new qx.ui.layout.VBox(5));
this.__uo=bx;
bx.setPadding(0);
bs.add(bo,{flex:1});
bl.add(bq,{flex:1});
bl.add(bx);
bl.add(bm,{flex:1});
bA.add(bl,{flex:1});
this.__up=new qx.ui.form.Button(null,cP);
this.__up.addListener(cm,bB,this);
this.__up.setEnabled(false);
this.__uq=new qx.ui.form.Button(null,da);
this.__uq.addListener(cm,bh,this);
this.__uq.setEnabled(false);
bx.add(new qx.ui.core.Spacer(1,60));
bx.add(this.__up,{flex:1});
bx.add(this.__uq,{flex:1});
bx.add(new qx.ui.core.Spacer(1,10));
bx.exclude();
bw.add(bA,1);

if(this.__uw){this.setWidth(950);
bA.show();
}else{this.setWidth(750);
bA.exclude();
}bw.add(bs,3);
this.add(bw,{flex:1});
this.add(this.__ul);
this.__ur=function(){bt.__us=this.__xn.getDatasets();
var dM=bt.__us.length;
if(dM<1){return ;
}bf.setData(null);
bf.addRows(bt.__us);
bo.getSelectionModel().resetSelection();
bf.updateView(1);
bf.setView(1);
};
this.__xo=function(){bf.setData(null);
};
this.addListener(cf,this.center,this);
this.__ut=function(){var eM=this.__xn.getTags();
var eN=eM.length;

if(eN<1){return ;
}var i,eL;
bt.__uh=[];

for(i=0;i<eN;i++){eL=[eM[i]];
bt.__uh.push(eL);
}bj.setData(bt.__uh);
bj.updateView(1);
bj.setView(1);
};
var bk=function(bL,bM,bN){if(bM==null){var bP=bL.length;

if(bP<1){return ;
}var i,bO;
bt.__uh=[];

for(i=0;i<bP;i++){bO=[bL[i]];
bt.__uh.push(bO);
}bj.setData(bt.__uh);
}else{alert(bM);
}};
qx.event.message.Bus.subscribe(cF,function(bG){this.__ur();
this.setEnabled(true);
},this);
qx.event.message.Bus.subscribe(cH,function(bQ){this.__xo();
this.setEnabled(false);
},this);
qx.event.message.Bus.subscribe(dc,function(bH){this.__ut();
},this);
this.__uu=function(){bt.setCaption(bt.tr(df)+cj+bt.info.getUserName());
};
qx.event.message.Bus.subscribe(de,this.__uu);
this.__ur();
qx.core.Init.getApplication().getRoot().addListener(cf,function(){var E=qx.bom.Document.getHeight()-20;
this.setMaxHeight(E);
},this);
},members:{__xn:null,__us:null,__uf:null,__uh:null,__uv:null,__uw:false,__um:null,__ux:null,__uk:{'*all*':true},__uy:null,__uz:function(bU){var bY=bU.getSelectionModel().getSelectedRanges();
var ca=bY.length;
var i,bV,bW,bX,n=0;

for(i=0;i<ca;i++){bW=bY[i][cn];
bX=bY[i][ck];
n+=(bX-bW+1);
}return n;
},__uA:function(){this.__uB=new qx.ui.form.Button(this.tr(cz),ch);
this.__uC=new qx.ui.form.Button(this.tr(cx),ch);
this.__uD=new qx.ui.form.Button(this.tr(dp),ch);
this.__uE=new qx.ui.form.Button(this.tr(dk),ch);
this.__ul.add(this.__uB);
this.__ul.add(this.__uC);
this.__ul.add(this.__uD);
this.__ul.add(this.__uE);
this.__uD.addListener(cm,function(e){var x=this.__ud.getSelectionModel().getSelectedRanges();
var A=x[0][cn];
var z=this.__ud.getTableModel().getValue(0,A,1);
var y;
var w=qx.lang.Function.bind(function(self){var bR=self.nameField.getValue();
qx.event.message.Bus.dispatch(di,{'newDataset':bR,'oldDataset':z});
self.close();
this.close();
},this);
y=new Agrammon.Lib.Dialog(this.tr(cy),this.tr(cR),w,this);
return;
},this);
this.__uC.addListener(cm,function(e){qx.event.message.Bus.dispatch(cg,cd);
},this);
this.__uB.addListener(cm,function(e){var u=this.__ud.getSelectionModel().getSelectedRanges();
var v=u[0][cn];
var q=this.__ud.getTableModel().getValue(0,v,1);
qx.event.message.Bus.dispatch(cg,q);
qx.event.message.Bus.dispatch(cu);
this.close();
},this);
this.__uE.addListener(cm,function(e){var eg=this.__ud.getSelectionModel();
var ef=eg.getSelectedRanges();
var ed=this.__ud.getTableModel();
eg.resetSelection();
var eh=ef[0][cn];
var ee={};
ee[dd]=ed.getValue(0,eh,1);
qx.event.message.Bus.dispatch(dA);
qx.event.message.Bus.dispatch(dx);
qx.event.message.Bus.dispatch(cv,ee);
this.close();
},this);
this.__ux=new qx.ui.toolbar.CheckBox();
this.__ux.setIcon(cC);

if(this.__uw){this.__ux.setLabel(this.tr(dB));
}else{this.__ux.setLabel(this.tr(dz));
}this.__ux.setMarginRight(5);
this.__ux.setPadding(0,5,0,5);
this.__ux.setValue(this.__uw);
this.__ud.getToolBar().add(new qx.ui.core.Spacer(1,0),{flex:1});
this.__ud.getToolBar().add(this.__ux);
this.__ux.addListener(cL,function(e){this.__uw=this.__ux.getValue();

if(this.__uw){this.__ux.setLabel(this.tr(dB));
this.setWidth(950);
this.__um.show();
this.__ud.setFilter(this.__uk);
}else{this.__ux.setLabel(this.tr(dz));
this.setWidth(750);
this.__um.exclude();
this.__uk=this.__ud.getFilter();
this.__ud.clearFilter();
}},this);
},enableButtons:function(n){switch(n){case 0:this.__uB.setEnabled(false);
this.__uE.setEnabled(false);
this.__uD.setEnabled(false);
break;
case 1:this.__uB.setEnabled(true);
this.__uE.setEnabled(true);
this.__uD.setEnabled(true);
break;
default:this.__uE.setEnabled(false);
this.__uB.setEnabled(false);
this.__uD.setEnabled(false);
break;
}this.__ud.enableButtons(n);
},__uF:function(e){var fa=e.getRow();
var eW=this.__ud.getTableModel();
var eY=this.__ud.getSelectionModel();
eY.resetSelection();
var eX=eW.getValue(0,fa,1);

if(this.__uv==dr){qx.event.message.Bus.dispatch(cg,eX);
qx.event.message.Bus.dispatch(cu);
}
if(this.__uv==cs){qx.event.message.Bus.dispatch(dA);
qx.event.message.Bus.dispatch(dx);
qx.event.message.Bus.dispatch(cv,{name:eX});
}this.close();
},setMode:function(bD){this.__uv=bD;
this.__ud.resetSelection();
this.__ug.getSelectionModel().resetSelection();
this.__ug.clearFilter();
this.__ue.getSelectionModel().resetSelection();
this.__ue.clearFilter();
this.__ud.clearFilter();

if(bD==ci){this.__ug.getSelectionModel().resetSelection();
this.__ug.clearFilter();
this.__ud.clearFilter();
this.setWidth(950);
this.__uo.show();
var i,bF;
var bE=this.__un.getChildren();
bF=bE.length;

for(i=0;i<bF;i++){bE[i].show();
}}else{this.setWidth(750);
this.__uo.exclude();
var i,bF;
var bE=this.__un.getChildren();
bF=bE.length;

for(i=0;i<bF;i++){bE[i].hide();
}}
switch(bD){case dr:this.__uB.show();
this.__uC.show();
this.__uD.exclude();
this.__uE.exclude();
this.__ue.exclude();
break;
case cs:this.__uD.show();
this.__uE.show();
this.__uB.exclude();
this.__uC.exclude();
this.__ue.exclude();
break;
case cp:this.__uD.show();
this.__uE.exclude();
this.__ue.exclude();
break;
case dh:this.__uD.exclude();
this.__uE.exclude();
break;
case cN:this.__uD.exclude();
this.__uE.exclude();
break;
default:this.__uD.show();
this.__uE.show();
this.__uB.exclude();
this.__uC.exclude();
this.__ue.show();
break;
}},__uG:function(dN,dO,dP){if(dO==null){}else{alert(dO);
}},__uH:function(Y,ba,bb){if(ba==null){}else{alert(ba);
}},__uI:function(P,Q,R){if(Q==null){}else{alert(Q);
}},__uJ:function(){this.__uK=new qx.ui.toolbar.Button(this.tr(db),cG);
this.__uL=new qx.ui.toolbar.Button(this.tr(cq),cB);
this.__uM=new qx.ui.toolbar.Button(this.tr(cS),dn);
this.__uM.setEnabled(false);
this.__uK.setEnabled(false);
this.__un.add(this.__uK);
this.__un.add(this.__uL);
this.__un.add(this.__uM);
this.__uK.addListener(cm,function(e){var ec;
var eb=qx.lang.Function.bind(function(self){var k=self.nameField.getValue();

if(this.__xn.tagExists(k)){qx.event.message.Bus.dispatch(dq,[this.tr(dy),this.tr(du)+cj+k+cj+this.tr(dw)]);
self.close();
return;
}var l;
if(this.__uz(this.__ue)){l=this.__ue;
}else{l=this.__ug;
}var m=l.getSelectionModel().getSelectedRanges();
var p=m[0][cn];
var j=l.getTableModel();
var h=j.getRowCount(1);
var o=j.getValue(0,p,1);
j.setValue(0,p,k,1);
this.__ug.renameTag(o,k);
this.__ud.renameTag(o,k);
this.rpc.callAsync(qx.lang.Function.bind(this.__uI,this),cJ,{user:this.info.getUserName(),tag_old:o,tag_new:k});
self.close();
},this);
ec=new Agrammon.Lib.Dialog(this.tr(co),this.tr(ct),eb,this);
},this);
this.__uL.addListener(cm,function(e){var ej;
var ei=qx.lang.Function.bind(function(self){var bT=self.nameField.getValue();
var bS=this.__ug.getTableModel();

if(this.__xn.tagExists(bT)){qx.event.message.Bus.dispatch(dq,[this.tr(dy),this.tr(du)+cj+bT+cj+this.tr(dw)]);
self.close();
return;
}this.__xn.newTag(bT);
bS.addRows([[bT]]);
bS.updateView(1);
bS.sortByColumn(0,true);
this.rpc.callAsync(qx.lang.Function.bind(this.__uG,this),cI,{user:this.info.getUserName(),tag:bT});
self.close();
},this);
ej=new Agrammon.Lib.Dialog(this.tr(cr),this.tr(ct),ei,this);
},this);
this.__uM.addListener(cm,function(e){var eS=this.__ug.getSelectionModel().getSelectedRanges();
var eQ=this.__ug.getTableModel();
var eP=eS.length;
var eR;
var eO=qx.lang.Function.bind(function(self){var i,f,c,b,g;
var a=[];

for(i=eP-1;i>=0;i--){c=eS[i][cn];
b=eS[i][ck];
for(f=b;f>=c;f--){g=eQ.getValue(0,f,1);
a.push(g);
this.__xn.delTag(g);
this.debug('Going to remove line '+f);
this.__ug.getSelectionModel().resetSelection();
eQ.removeRows(f,1,1);
this.debug('Line '+f+' removed');
}}eQ.updateView(1);

for(g in a){this.__ud.delTag(a[g]);
this.__ug.delTag(a[g]);
this.__ue.delTag(a[g]);
this.rpc.callAsync(qx.lang.Function.bind(this.__uH,this),cV,{user:this.info.getUserName(),tag:a[g]});
}self.close();
},this);

if(eP>0){eR=new Agrammon.Lib.Confirm(this.tr(cY),this.tr(cT),eO,this);
}this.__uq.fireEvent(cm);
},this);
}}});
})();
(function(){var p='get_datasets',o='agrammon.DatasetCache.refresh',n='Agrammon.Lib.DatasetCache',m='',l='Agrammon.datasetsLoaded',k='Agrammon.tagsLoaded',j='get_tags',h='singleton',g='Agrammon.datasetsLoading';
qx.Class.define(n,{extend:qx.core.Object,type:h,construct:function(){qx.core.Object.call(this);
var E=this;
var C=Agrammon.Lib.Server.getInstance();
var D;
this.__xp=[];
qx.event.message.Bus.subscribe(o,function(b){qx.event.message.Bus.dispatch(g);
var c=b.getData();
C.callAsync(this.__xq,p,c);
C.callAsync(this.__xr,j,c);
},this);
this.__xq=function(t,u,v){if(u==null){E.__xp=t;
var i,w=t.length;

for(i=0;i<w;i++){t[i][0]=m+t[i][0];
}qx.event.message.Bus.dispatch(l);
}else{alert(u);
}};
this.__xr=function(q,r,s){if(r==null){E.__xs=q;
qx.event.message.Bus.dispatch(k);
}else{alert(r);
}};
return this;
},members:{__xp:null,__xs:null,isValid:function(){return true;
},tagExists:function(F){var i,G;
var H=this.__xs.length;

for(i=0;i<H;i++){if(this.__xs[i]===F){return true;
}}return false;
},datasetExists:function(d){var i,e;
var f=this.__xp.length;

for(i=0;i<f;i++){if(this.__xp[i][0]===d){return true;
}}return false;
},getDatasets:function(){return this.__xp;
},getTags:function(){return this.__xs;
},renTag:function(x,y){var i,z=this.__xs.length;

for(i=0;i<z;i++){if(this.__xs[i]==x){this.__xs[i]=y;
break;
}}return this.__xs;
},newTag:function(a){this.__xs.push(a);
return this.__xs;
},delTag:function(A){var i,B=this.__xs.length;

for(i=0;i<B;i++){if(this.__xs[i]==A){this.__xs.splice(i,1);
break;
}}return this.__xs;
}}});
})();
(function(){var bw=' ',bv="execute",bu='name',bt='error',bs='info',br="Read-only",bq='agrammon.DatasetCache.refresh',bp="Dataset name",bo="Last change",bn='minIndex',cn="Dataset",cm="Info",cl='renameDataset',ck="dataset",cj="New",ci='Agrammon.Lib.DatasetTable',ch='',cg="deleted",cf='interval',ce="icon/16/apps/office-calendar.png",bD='New name',bE="Filter on dataset name",bB='new',bC="Agrammon/office-database.png",bz="icon/16/actions/document-save-as.png",bA='agrammon.NavBar.getInput',bx="Agrammon/read-only_ts.png",by='*all*',bH='maxIndex',bI="Incremental filter on dataset name",bQ="Delete",bO="already exists",bV='agrammon.FileMenu.openNew',bS="Error",ca='input',bX='agrammon.NavBar.clearTree',bK='1*',cd="renamed to",cc="Rename",cb="Rename dataset",bJ="Really delete selected datasets from database?",bM='old',bN="Deleting datasets from database",bP='-',bR="Parameters",bT='icon/16/actions/window-close.png',bW="icon/16/actions/document-new.png",bY='agrammon.Output.invalidate',bF="Tags",bG='delete_datasets',bL="Model Version",bU="datasets";
qx.Class.define(ci,{extend:qx.ui.container.Composite,construct:function(bc,bd){qx.ui.container.Composite.call(this);
this.setLayout(new qx.ui.layout.VBox(5));
this.set({allowShrinkY:true});
this.info=bd;
this.rpc=bc;
var bg=this;
this.__uR=this.__vj();
this.__uS=new qx.ui.toolbar.ToolBar();
this.__uR.setAllowShrinkY(true);
var be=new Agrammon.Lib.VarInput(null,null,null,this.tr(bI),this.tr(bE),false);
be.addListener(ca,function(e){this.__uT=e.getData().toLowerCase();
this.__uU.restart();
},this);
this.__uU=new qx.event.Timer(this.__ve);
this.__uU.addListener(cf,function(e){this.__uU.stop();
this.__uR.getTableModel().updateView(1);
},this);
this.add(this.__uS);
this.__uS.setPadding(0,5,0,5);
this.add(be);
be.setMargin(10,10,0,10);
this.__uR.setMargin(0,10,0,10);
this.add(this.__uR,{flex:1});
this.__vh();
this.__va.addListener(bv,function(e){var s=this.__uR.getSelectionModel().getSelectedRanges();
var q=s.length;

if(q<=0){alert('DatasetTable.__btnDel(): This should never happen, ranges='+q);
return;
}var u;
var r=qx.lang.Function.bind(function(self){var cw,i,j,cx,cu,cv,cs;
var ct=new Array;
var cy=this.__uR.getTableModel();

for(i=0;i<q;i++){cu=s[i][bn];
cv=s[i][bH];

for(j=cu;j<=cv;j++){cw=cy.getValue(0,j,1);
ct.push(cw);
}}cs=ct.length;

if(cs>0){var cB=this.info.getDatasetName();
var cA=false;

for(cx=0;cx<cs;cx++){if(cB==ct[cx]){cA=true;
}}
if(cA){qx.event.message.Bus.dispatch(bX);
var cz=new Object;
cz[bu]=bP;
this.info.clearDatasetName();
qx.event.message.Bus.dispatch(bA,cz);
}bc.callAsync(bf,bG,ct);
}self.close();
},this);
u=new Agrammon.Lib.Confirm(this.tr(bN),this.tr(bJ),r,this);
},this);
var bf=function(bh,bi,bj){if(bi==null){var bk;

if(bh==1){bk=bg.tr(ck);
}else{bk=bg.tr(bU);
}qx.event.message.Bus.dispatch(bq,bg.info.getUserName());
qx.event.message.Bus.dispatch(bt,[bg.tr(cm),bh+bw+bk+bw+bg.tr(cg),bs]);
}else{alert(bi);
}};
},members:{__uV:null,__uW:null,__uX:null,__uY:null,__va:null,__vb:null,__vc:null,__uR:null,__uU:null,__uT:null,__vd:null,__ve:250,__vf:0,__vg:null,__uS:null,__vh:function(){this.__uY=new qx.ui.toolbar.Button(this.tr(cc),bz);
this.__uX=new qx.ui.toolbar.Button(this.tr(cj),bW);
this.__va=new qx.ui.toolbar.Button(this.tr(bQ),bT);
this.__uS.add(this.__uY);
this.__uS.add(this.__uX);
this.__uS.add(this.__va);
this.__uX.addListener(bv,function(e){qx.event.message.Bus.dispatch(bV,this);
},this);
var bm=function(h,k,l){if(k==null){var p=h[bM];
var m=h[bB];
var o=this.info.getUserName();
qx.event.message.Bus.dispatch(bq,o);
qx.event.message.Bus.dispatch(bt,[this.tr(cm),this.tr(cn)+bw+p+bw+this.tr(cd)+bw+m,bs]);
if(p==this.info.getDatasetName()){this.info.setDatasetName(m);
}}else{alert(k);
}};
this.__vi=Agrammon.Lib.DatasetCache.getInstance();
this.__uY.addListener(bv,function(e){var d=this.__uR.getSelectionModel().getSelectedRanges();
var g=d[0][bn];
var c=new Object;
c[bu]=this.__uR.getTableModel().getValue(0,g,1);
var f;
var b=qx.lang.Function.bind(function(cp){var self=cp;
var cq=this.info.getUserName();
var cr=self.nameField.getValue();

if(this.__vi.datasetExists(cr)){qx.event.message.Bus.dispatch(bt,[this.tr(bS),this.tr(cn)+bw+cr+bw+this.tr(bO)]);
self.close();
return;
}qx.event.message.Bus.dispatch(bY);
this.rpc.callAsync(qx.lang.Function.bind(bm,this),cl,{oldDataset:c[bu],newDataset:cr,user:cq});
self.close();
},this);
f=new Agrammon.Lib.Dialog(this.tr(cb)+bw,bD,b,this);
},this);
},enableButtons:function(n){switch(n){case 0:this.__uY.setEnabled(false);
this.__va.setEnabled(false);
break;
case 1:this.__uY.setEnabled(true);
this.__va.setEnabled(true);
break;
default:this.__uY.setEnabled(false);
this.__va.setEnabled(true);
break;
}},setFilter:function(bl){this.__vd=bl;
this.__uR.getTableModel().updateView(1);
},getFilter:function(){return this.__vd;
},clearFilter:function(){this.__vd={'*all*':true};
this.__uT=ch;

if(this.__uR){this.__uR.getTableModel().updateView(1);
}},getToolBar:function(){return this.__uS;
},getSelectionModel:function(){return this.__uR.getSelectionModel();
},getTableModel:function(){return this.__uR.getTableModel();
},resetSelection:function(){return this.__uR.resetSelection();
},addListener:function(cC,cD,cE){var cF=this.__uR.addListener(cC,cD,cE);
return cF;
},removeListenerById:function(a){return this.__uR.removeListenerById(a);
},addTag:function(v,w){var i,B=this.__uR.getTableModel();
var E,D,y=B.getRowCount();
var C,z,A=v.length;
var x;

for(i=0;i<y;i++){C=false;
E=B.getValue(0,i,1);

for(z=0;z<A;z++){if(E==v[z]){C=true;
}}
if(C){x=B.getValue(5,i,1);
x.push(w);
B.setValue(5,i,x,1);
}}},removeTag:function(K,L){var i,Q=this.__uR.getTableModel();
var T,S,N=Q.getRowCount();
var R,O,P=K.length;
var M,t,U;

for(i=0;i<N;i++){R=false;
T=Q.getValue(0,i,1);

for(O=0;O<P;O++){if(T==K[O]){R=true;
}}
if(R){M=Q.getValue(5,i,1);
U=M.length;

for(t=U-1;t>=0;t--){if(M[t]==L){M.splice(t,1);
}}Q.setValue(5,i,M,1);
}}},renameTag:function(V,W){var i,ba=this.__uR.getTableModel();
var Y=ba.getRowCount();
var X,t,bb;

for(i=0;i<Y;i++){X=ba.getValue(5,i,1);
bb=X.length;

for(t=0;t<bb;t++){if(X[t]==V){X[t]=W;
}}ba.setValue(5,i,X,1);
}},delTag:function(F){var i,I=this.__uR.getTableModel();
var H=I.getRowCount();
var G,t,J;

for(i=0;i<H;i++){G=I.getValue(5,i,1);
J=G.length;

for(t=0;t<J;t++){if(G[t]==F){G.splice(t,1);
}}I.setValue(5,i,G,1);
}},__vj:function(){var cJ=new Agrammon.Lib.Smart;
cJ.setColumns([this.tr(bp),this.tr(bo),this.tr(bR),this.tr(br),this.tr(bL),this.tr(bF)]);
var cM={tableColumnModel:function(co){return new qx.ui.table.columnmodel.Resize(co);
}};
var cN=new qx.ui.table.Table(cJ,cM);
cN.set({columnVisibilityButtonVisible:true,keepFirstVisibleRowComplete:true,padding:0,showCellFocusIndicator:false});
cN.getDataRowRenderer().setHighlightFocusRow(false);
cN.getSelectionModel().setSelectionMode(qx.ui.table.selection.Model.MULTIPLE_INTERVAL_SELECTION);
var cK=cN.getTableColumnModel();
var cL=cK.getBehavior();
cL.setWidth(0,bK);
cL.setWidth(1,130);
cL.setWidth(2,90);
cL.setWidth(3,110);
cL.setWidth(4,100);
cK.setColumnVisible(3,false);
cK.setColumnVisible(4,false);
cK.setColumnVisible(5,false);
cK.setDataCellRenderer(3,new qx.ui.table.cellrenderer.Boolean());
cK.setHeaderCellRenderer(0,new qx.ui.table.headerrenderer.Icon(bC,this.tr(bp)));
cK.setHeaderCellRenderer(1,new qx.ui.table.headerrenderer.Icon(ce,this.tr(bo)));
cK.setHeaderCellRenderer(3,new qx.ui.table.headerrenderer.Icon(bx,this.tr(br)));
cJ.addView(function(cG){var name=cG[this.__vf];
var cH=cG[3];
var cI=this.__vd[by];
return (!cH&&(cI||(this.__vd[name]))&&(name.toLowerCase().indexOf(this.__uT)!=-1));
},this,null);
this.clearFilter();
cJ.setView(1);
cJ.updateView(1);
return cN;
}}});
})();
(function(){var p='',o='middle',n='Agrammon.Lib.VarInput',m='Tooltip for ';
qx.Class.define(n,{extend:qx.ui.container.Composite,construct:function(b,c,d,f,g,h){qx.ui.container.Composite.call(this,null,b,c);

if(h){this.setLayout(new qx.ui.layout.HBox(5));
}else{this.setLayout(new qx.ui.layout.VBox());
}this.__sU=new qx.ui.form.TextField();

if(b!=p&&b!=null){this.__sV=new qx.ui.basic.Label(b);
this.add(this.__sV);
this.__sV.setBuddy(this.__sU);
this.__sV.setAlignY(o);
}this.add(this.__sU,{flex:1});

if(g){this.__sU.setPlaceholder(g);
}this.__sU.setAlignY(o);
if((f==undefined)||(f==null)||(f==p)){f=m+b;
}var i=new qx.ui.tooltip.ToolTip(f);
i.set({hideTimeout:20000,showTimeout:100});
this.setToolTip(i);
return;
},members:{__sV:null,__sU:null,addListener:function(r,s,t){this.__sU.addListener(r,s,t);
},removeListener:function(j,k,l){this.__sU.removeListener(j,k,l);
},isValid:function(){return this.__sU.isValid();
},getValue:function(){return this.__sU.getValue();
},getLabel:function(){return this.__sV.getContent();
},getInputField:function(){return this.__sU;
},setLabel:function(q){return this.__sV.setValue(q);
},setEnabled:function(a){return this.__sU.setEnabled(a);
},clearValue:function(e){this.__sU.setValue(p);
},focus:function(e){this.__sU.focus();
}}});
})();
(function(){var t="execute",s="resize",r="Cancel",q='keydown',p="icon/16/actions/dialog-cancel.png",o='Agrammon.Lib.Confirm',n="Ok",m="icon/16/actions/dialog-ok.png",l='Enter',k='right';
qx.Class.define(o,{extend:qx.ui.window.Window,construct:function(a,b,c,d){qx.ui.window.Window.call(this);
this.setLayout(new qx.ui.layout.VBox(10));
this.set({modal:true,showClose:false,padding:0,height:100,width:300});
this.setCaption(a);
var f=new qx.ui.container.Composite(new qx.ui.layout.VBox());
this.add(f);
var h=new qx.ui.basic.Label(b);
h.setRich(true);
f.add(h);
var j=new qx.ui.form.Button(r,p);
j.addListener(t,function(e){this.close();
},this);
j.focus();
var g=new qx.ui.form.Button(n,m);
g.addListener(t,function(e){c(this);
},this);
this.addListener(q,function(e){if(e.getKeyIdentifier()==l){j.execute();
}});
var i=new qx.ui.container.Composite(new qx.ui.layout.HBox(10,k));
i.add(j);
i.add(g);
this.add(i);
this.addListenerOnce(s,this.center,this);
this.open();
},members:{}});
})();
(function(){var e="inherit",d="toolbar-button",c="keydown",b="qx.ui.toolbar.Button",a="keyup";
qx.Class.define(b,{extend:qx.ui.form.Button,construct:function(f,g,h){qx.ui.form.Button.call(this,f,g,h);
this.removeListener(c,this._onKeyDown);
this.removeListener(a,this._onKeyUp);
},properties:{appearance:{refine:true,init:d},show:{refine:true,init:e},focusable:{refine:true,init:false}}});
})();
(function(){var dR="",dQ="__insertRows: view ",dP='and',dO='or',dN='dataChanged',dM="changeView",dL="IPs[i] = ",dK="_applyView",dJ="total time spent in addRows: ",dI=": using push strategy",ep="] is undefined!",eo="Agrammon.Lib.Smart",en="Integer",em="  IPs[",el='metaDataChanged',ek="):",ej='function',ei="insertRows: splicing in ",eh="] = ",eg="ASSERTION FAILURE (2) in __insertRows",dY="ASSERTION FAILURE (0) in __insertRows: row[",ea="...",dW="ASSERTION FAILURE (1) in __insertRows",dX=" (",dU="...(no properties)",dV=": using splice strategy",dS=" msec",dT=" rows",eb="): (null)",ec=", A.length = ",ee=": ",ed=": using unshift strategy",ef=": using copy strategy";
qx.Class.define(eo,{extend:qx.ui.table.model.Simple,construct:function(){qx.ui.table.model.Simple.call(this);
this.__vk=false;
this.__vl=0;
this.__vm=[];
this.__vn=[];
this.__vo=[];
this.__vp=[];
this.__vq={};
this.__vr=[];
this.__vs=-1;
this.__vt=null;
this.addListener(dM,this._changeView,this);
this.addView();
this._applyView(0,0,false,true);
},properties:{view:{init:0,check:en,apply:dK,event:dM}},members:{__vn:null,__vp:null,__vq:null,__vo:null,__vm:null,_applyView:function(db,dc,dd,de,df){if(dd==undefined)dd=true;

if(de==undefined)de=false;

if(df==undefined)df=true;

if(db==dc&&!de)return;

if(db>=this.__vl)throw new Error("_applyView: view out of bounds: "+db+" (0.."+(this.__vl-1)+")");
if(df)this.__vx(dc);
this.__vu=this.getRowArray(db);
if(dd)this.__vX(db);
},_changeView:function(e){this.__vy();
},addView:function(S,T,W){this.__vm.push([]);
this.__vn.push([]);
this.__vo.push(dP);
this.__vp.push({});

for(var X in this.__vq)this.__vq[X].push({});
var Y=this.__vl++;
this.setFilters(Y,S,T,W);
return Y;
},updateView:function(bh){if(this.getView()==bh)this.__vx();
this.__vM(bh);
if(this.getView()==bh)this.__vy();
},setFilters:function(dy,dz,dA,dB){if(dy){if(this.getView()==dy)this.__vx();

if(dz==undefined)dz=[];
else if(typeof (dz)==ej)dz=[dz];
var dC=[];

if(dA!=undefined&&dA!=null){for(var i=0;i<dz.length;i++)dC.push(function(p,q){return function(R){return q.call(p,R);
};
}(dA,dz[i]));
}else dC=dz;
this.__vn[dy]=dC;

if(dB!==dP&&dB!==dO)dB=dP;
this.__vo[dy]=dB;
this.__vM(dy);
if(this.getView()==dy)this.__vy();
}},resetFilters:function(bX){this.setFilters(bX);
},getViewCount:function(){return this.__vl;
},addIndex:function(bi){var A=[];

for(var v=0;v<this.__vl;v++)A.push({});
this.__vq[bi]=A;
this.__vR(undefined,bi);
},locate:function(c,d,f){if(f==undefined)f=this.getView();
return this.__vq[c][f][dR+d];
},indexedSelection:function(dw,dx){this.__vs=dw;
this.__vt=dx;
this.__vr=[];
this.__vv=0;
this.__vw=false;
},suspendIndexedSelection:function(bW){this.__vw=bW;
},__vx:function(I,J){if(I==undefined)I=this.getView();

if(!this.__vt||this.__vs<0||this.__vs>=this.getColumnCount())return;
var K=this.__vr[this.__vv++]=[];
var L=this.__vt;
this.__vt.iterateSelection(function(cX){var cY=this.getValue(this.__vs,cX,I);

if(J&&cY in J)return;
K.push(cY);
},this);
},__vy:function(ds){if(this.selection_stack_depth<1||!this.__vt||this.__vs<0||this.__vs>=this.getColumnCount())return;
var du=this.__vt;
du.setBatchMode(true);

if(!this.__vw)this.__vz();
var dt=this.__vr[--this.__vv];

if(!this.__vw)for(var i=0;i<dt.length;i++){var dv=this.locate(this.__vs,dt[i],ds);

if(dv!=undefined)du.addSelectionInterval(dv,dv);
}du.setBatchMode(false);
},__vz:function(){var o=this.__vt;

if(o)o.resetSelection();
},getRowArray:function(cp){if(cp==undefined)cp=this.getView();
return this.__vm[cp];
},__vA:function(dD,A,dE){if(dE==undefined)dE=false;
var dF=false;
if(dD==this.getView())dF=true;
this.__vm[dD]=A;
if(dF){this._applyView(dD,dD,true,true,dE);
}},__vB:function(n){if(n==undefined)n=this.getView();

if(n<this.__vl)return this.__vp[n];
else return undefined;
},__vC:function(G){if(G==undefined)G=this.getView();

if(G<this.__vl)return this.__vn[G];
else return undefined;
},__vD:function(bV){if(bV==undefined)bV=this.getView();
return this.__vo[bV];
},getRowData:function(cN,cO,cP){if(cO==undefined)cO=this.getView();

if(cP==undefined)cP=true;
var cQ=this.getRowCount(cO);
if(cN<0||cN>=cQ)throw new Error("rowIndex out of bounds: "+cN+" (0.."+(cQ-1)+")");
return cP?this.getRowArray(cO)[cN].slice(0):this.getRowArray(cO)[cN];
},getRowReference:function(dg,dh){return this.getRowData(dg,dh,false);
},getRowCount:function(g){if(g==undefined)g=this.getView();
return this.getRowArray(g).length;
},getValue:function(cq,cr,cs){if(cs==undefined)cs=this.getView();
var ct=this.getRowCount(cs);

if(cr<0||cr>=ct)throw new Error("this.__rowArr out of bounds: "+cr+" (0.."+ct+")");
return this.getRowArray(cs)[cr][cq];
},getValueById:function(bp,bq,br){if(br==undefined)br=this.getView();
return this.getValue(this.getColumnIndexById(bp),bq,br);
},__vE:function(cD,cE,cF){if(cF==undefined)cF=true;
var i;
var A=this.getRowArray(cD);

if(cE.length>=(A.length>>2)){var cG={};

for(i=0;i<cE.length;i++){var cI=this.__vU(cD,cE[i]);

if(cI!=undefined)cG[cI]=1;
}var cL=[];

for(i=0;i<A.length;i++)if(!cG[i])cL.push(A[i]);
this.__vA(cD,cL);
}else{var cG=[];

for(i=0;i<cE.length;i++){var cI=this.__vU(cD,cE[i]);

if(cI!=undefined)cG.push(cI);
}cG.sort(function(a,b){return b-a;
});
var cJ=cG.length;
var cH;
var A=this.getRowArray(cD);

for(i=0;i<cJ;i+=cH){var cK=cG[i];
var cM=cK;
cH=1;

for(var j=1;i+j<cJ;j++)if(cG[i+j]==cM-j)cH++;
else break;
A.splice(cK-cH+1,cH);
}}if(cF)this.__vR(cD);
},__vF:function(cR,cS,cT){if(cT==undefined)cT=true;
var A=this.getRowArray(cR);
var cU=A.length;
A.push.apply(A,cS);

if(cT)this.__vS(cR,cS,cU);
},__vG:function(ba,bb,bc){if(bc==undefined)bc=true;
var A=this.getRowArray(ba);
A.unshift.apply(A,bb);
if(bc)this.__vR(ba);
},__vH:function(bs,bt,bu,bv,bw){if(bu==undefined)bu=true;

if(bv==undefined)bv=false;

if(bw==undefined)bw=true;
if(bu&&bs)bt=this.__vK(bs,bt,false);
if(bt.length==0)return;
if(!this.isSorted()){this.__vF(bs,bt,bw);
return;
}var by=this.getComparator();

if(!bv)bt.sort(by);

if(false)for(var i=0;i<bt.length;i++)if(bt[i]==undefined)this.__wa(dY+i+ep);
var A=this.getRowArray(bs);

if(!A.length||by(bt[0],A[A.length-1])>=0){this.__wa(dQ+bs+dI);
this.__vF(bs,bt,bw);
}else if(by(bt[bt.length-1],A[0])<=0){this.__wa(dQ+bs+ed);
this.__vG(bs,bt,bw);
}else{if(bt.length<(A.length>>1)){this.__wa(dQ+bs+dV);
var bC=bt.length;
var i,bz=0,bE=A.length-1;
var bD=[];
for(i=0;i<bC;i++){var bG=this.__vY(A,bt[i],by,bz,bE);

if(bG>=0){}else{bG=-bG-1;
}bD.push(bG);
bz=bG;
}if(false){if(bD.length!=bt.length)this.__wa(dW);

for(i=1;i<bC;i++)if(bD[i-1]>bD[i])this.__wa(eg);

for(i=0;i<bC;i++)this.__wa(em+i+eh+bD[i]);
}var bx;

for(i=bC-1;i>=0;i-=bx){if(true){if(bD[i]<0)this.__wa(dL+bD[i]);

if(bD[i]>A.length)this.__wa(dL+bD[i]+ec+A.length);
}
if(false){A.splice(bD[i],0,bt[i]);
bx=1;
}else{var bL=bD[i];
var bA=[bD[i],0];
var bI=[bt[i]];
bx=1;

for(var j=1;i-j>=0;j++){if(bD[i-j]==bL){bx++;
bI.push(bt[i-j]);
}else break;
}this.__wa(ei+bx+dT);
bI.reverse();
bA.push.apply(bA,bI);
A.splice.apply(A,bA);
}}}else{this.__wa(dQ+bs+ef);
var bK=[];
var bF=0,bJ=A.length;
var bH=bt.length;

for(var i=0;i<bH;i++){var R=bt[i];
while(bF<bJ){var bB=by(R,A[bF]);

if(bB<0){bK.push(R);
break;
}bK.push(A[bF++]);
}if(bF==bJ)bK.push(R);
}if(bF<bJ)bK.push.apply(bK,A.slice(bF));
this.__vA(bs,bK);
}
if(bw)this.__vR(bs);
}},__vI:function(ez,eA,V,eB){if(eB==undefined)eB=this.getView();
var eE=this.getColumnCount();
var R=this.getRowReference(eA,eB);

if(R==undefined){throw new Error("__set: could not find the row corresponding to index "+eA+" in view "+eB);
return;
}this.__vx();
var eC=false;
if(ez>=0&&ez<eE){if(R[ez]===V){return ;
}else{if(this.__vq[ez]!=undefined)this.__vT(ez,R[ez],V);
R[ez]=V;
}eC=(this.isSorted()&&(ez===this.__vW));
}else{for(var eD=0;eD<V.length&&eD<eE;eD++){if(this.__vq[eD]!=undefined)this.__vT(eD,R[eD],V[eD]);
R[eD]=V[eD];
}if(this.isSorted()&&V.length>=this.__vW)eC=true;
}this.__vJ(R,eC);
this.__vy();
},__vJ:function(R,bM,bN,bO){if(bN==undefined)bN=false;

if(bO==undefined)bO=true;
for(var v=(bN?1:0);v<this.__vl;v++){var bR=this.__vU(v,R);
var bP,bQ;

if(v==0){bP=false;
bQ=false;
}else{bP=(this.__vU(v,R)==undefined);
bQ=this.__vL(v,R);
}if(bM){if(!bP){this.__vE(v,[R]);
}if(!bQ)this.__vH(v,[R],false);
else{}}else{if(bP!=bQ){if(bQ){this.__vE(v,[R]);
}else{this.__vH(v,[R],false);
}}}if(bO)this.__vX();
}},setValue:function(dn,dp,dq,dr){this.__vI(dn,dp,dq,dr);
},setValueById:function(z,B,C,D){return this.setValue(this.getColumnIndexById(z),B,C,D);
},setRow:function(eq,er,es){this.__vI(-1,eq,er,es);
},setRows:function(di,dj,dk){if(dk==undefined)dk=this.getView();
for(var i=0;i<di.length;i++)this.setRow(dj+i,di[i],dk);
},setData:function(dl,dm){if(dm==undefined)dm=true;

if(dl==null||dl.length==0){this.clearAllRows();
this.__vz();
return;
}var A=[];

if(dm){A=[];

for(var i=0;i<dl.length;i++)A.push(dl[i].slice(0));
}else A=dl.slice(0);
this.__vz();
this.__vP(A);
this.__vA(0,A);
this.__vN(false,false);
if(this.isSorted())this._resort();
else this.__vR();
},addRows:function(s,t,u){{};

if(t==undefined)t=true;

if(u==undefined)u=true;

if(!s||s.length==0)return;
this.__vx();
var y=(new Date()).getTime();
var A=t?[]:s;

if(t)for(var i=0;i<s.length;i++)A.push(s[i].slice(0));
this.__vP(A);
var x=this.getComparator();
A.sort(x);
for(var v=0;v<this.__vl;v++)this.__vH(v,A,true,true);
this.__vy();

if(u)this.__vX();
var w=(new Date()).getTime();
this.__wa(dJ+(w-y)+dS);
},removeRows:function(M,N,O,P){if(O==undefined)O=this.getView();

if(P==undefined)P=true;
var A=this.getRowArray(O);

if(M==undefined)M=0;

if(N==undefined)N=A.length-M;
if(A.length==0)throw new Error("removeRows: attempt to remove rows from empty view");

if(M<0||M>A.length)throw new Error("removeRows: startIndex out of bounds: "+M+" (0.."+(A.length-1)+")");

if(N<0||M+N-1>=A.length)throw new Error("removeRows: howMany out of bounds: "+N+" (0.."+(A.length-M)+")");
var Q=[];

for(var i=0;i<N;i++)Q.push(A[M+i]);
this.removeReferencedRows(Q,P);
},removeReferencedRows:function(cV,cW){if(cW==undefined)cW=true;
this.__vx();

for(var v=0;v<this.__vl;v++)this.__vE(v,cV);
this.__vy();

if(cW)this.__vX();
},clearAllRows:function(){if(this.getRowCount()>0){this.__vz();

for(var v=0;v<this.__vl;v++)this.__vm[v]=[];
this.__vR();
this.__vX();
}},forceRedraw:function(){this.__vX();
},__vK:function(cu,R,cv){if(cv==undefined)cv=true;
var cA=this.__vC(cu);
var cB=cA.length;
if(cv&&cB==1)return cA[0](R);
if(cB==0)return cv?true:R;
var cC=this.__vD(cu);
function cx(H){if(cC===dO){for(var i=0;i<cB;i++)if(cA[i](H))return true;
return false;
}else{for(var i=0;i<cB;i++)if(!cA[i](H))return false;
return true;
}}if(cv)return cx(R);
var cy=R.length;
var cz=[];

for(var r=0;r<cy;r++){var cw=R[r];

if(cx(cw))cz.push(cw);
}return cz;
},__vL:function(cd,R){return !this.__vK(cd,R,true);
},__vM:function(bS,bT,bU){if(!bS)return;

if(bT==undefined)bT=true;

if(bU==undefined)bU=true;
var U=this.getRowArray(0);
this.__vA(bS,this.__vK(bS,U,false));
if(bU)this.__vR(bS);
if(bT&&this.getView()==bS)this.__vX(bS);
},__vN:function(E,F){for(var v=1;v<this.__vl;v++)this.__vM(v,E,F);
},__vO:0,__vP:function(A){for(var i=0;i<A.length;i++)A[i].__vQ=this.__vO++;
},__vR:function(ch,ci){for(var v=0;v<this.__vl;v++){if(ch!=undefined&&ch!=v)continue;
var A=this.getRowArray(v);
if(ci==undefined)this.__vp[v]={};
for(var cj in this.__vq)if(ci==undefined||ci==cj)this.__vq[cj][v]={};
for(var j=0;j<A.length;j++){var R=A[j];

if(ci==undefined)this.__vp[v][R.__vQ]=j;
for(var cj in this.__vq)if(ci==undefined||ci==cj){this.__vq[cj][v][dR+R[cj]]=j;
}}}},__vS:function(bj,bk,bl){var bn=this.__vB(bj);
var bo=bl;
for(var i=0;i<bk.length;i++,bo++){var R=bk[i];
bn[R.__vQ]=bo;
for(var bm in this.__vq){this.__vq[bm][bj][dR+R[bm]]=bo;
}}},__vT:function(et,eu,ev){eu=dR+eu;
ev=dR+ev;

for(var ey=0;ey<this.__vl;ey++){for(var ew in this.__vq){var ex=this.__vq[ew][ey][eu];
this.__vq[ew][ey][eu]=undefined;
this.__vq[ew][ey][ev]=ex;
}}},__vU:function(ce,R){try{if(R.__vQ==undefined){return undefined;
}}catch(e){this.__wa(e);
return undefined;
}
for(var v=0;v<this.__vl;v++){var r=this.__vB(v)[R.__vQ];
}return this.__vB(ce)[R.__vQ];
},isSorted:function(){return this.getSortColumnIndex()!=-1;
},getComparator:function(h,k){if(h==undefined)h=this.__vW;

if(k==undefined)k=this.__vV;
var m;
var l=this.getSortMethods(h);

if(l)m=(k?l.ascending:l.descending);
else if(this.getCaseSensitiveSorting())m=(k?qx.ui.table.model.Simple._defaultSortComparatorAscending:qx.ui.table.model.Simple._defaultSortComparatorDescending);
else m=(k?qx.ui.table.model.Simple._defaultSortComparatorInsensitiveAscending:qx.ui.table.model.Simple._defaultSortComparatorInsensitiveDescending);
m.columnIndex=h;
return m;
},sortByColumn:function(bd,be,bf){if(bf==undefined)bf=false;
this.__vx();
if(!bf&&this.__vW==bd){if(this.__vV==be)return ;
for(var v=0;v<this.__vl;v++)this.getRowArray(v).reverse();
this.__vV=be;
}else{this.__vW=bd;
this.__vV=be;
var bg=this.getComparator();
bg.columnIndex=bd;
for(var v=0;v<this.__vl;v++)this.getRowArray(v).sort(bg);
}this.__vR();
this.__vy();
this.fireEvent(el);
},_resort:function(){if(this.isSorted())this.sortByColumn(this.__vW,this.__vV,true);
},setSortMethods:function(dG,dH){arguments.callee.base.apply(this,arguments);
if(dG==this.__vW)this._resort();
},__vX:function(cf){if(this.hasListener(dN)){if(cf==undefined)cf=this.getView();
var cg={firstRow:0,lastRow:this.getRowCount(cf)-1,firstColumn:0,lastColumn:this.getColumnCount()-1};
this.fireDataEvent(dN,cg);
}},__vY:function(A,e,ck,cl,cm){if(cl==undefined)cl=0;

if(cm==undefined)cm=A.length-1;

while(cl<=cm){var cn=(cl+cm)>>>1;
var co=ck(A[cn],e);

if(co<0)cl=cn+1;
else if(co>0)cm=cn-1;
else return cn;
}return -(cl+1);
},__wa:function(da){{};
},__wb:function(bY,ca,cb){if(ca==undefined)ca=dR;

if(cb==undefined)cb=true;
this.__wa(ca+dX+(bY?(bY+ek):eb));

if(bY==null||bY==undefined){this.__wa(dU);
return;
}
for(var cc in bY){if(cb&&!bY.hasOwnProperty(cc))continue;
this.__wa(ea+cc+ee+bY[cc]);
}}},destruct:function(){this.__vn=null;
this.__vl=null;
this.__vo=null;
this.__vm=null;
this.__vp=null;
this.__vq=null;
this.__vr=null;
}});
})();
(function(){var c="",b="qx.ui.table.headerrenderer.Icon",a="String";
qx.Class.define(b,{extend:qx.ui.table.headerrenderer.Default,construct:function(f,g){qx.ui.table.headerrenderer.Default.call(this);

if(f==null){f=c;
}this.setIconUrl(f);

if(g){this.setToolTip(g);
}},properties:{iconUrl:{check:a,init:c}},members:{updateHeaderCell:function(d,e){qx.ui.table.headerrenderer.Default.prototype.updateHeaderCell.call(this,d,e);
e.setIcon(this.getIconUrl());
}}});
})();
(function(){var y="Filter on tag name",x='Agrammon.Lib.TagTable',w="Incremental filter on tag name",v='input',u="Agrammon/tags_ts.png",s='',r='*all*',q='interval';
qx.Class.define(x,{extend:qx.ui.container.Composite,construct:function(m,n){qx.ui.container.Composite.call(this);
this.setLayout(new qx.ui.layout.VBox(5));
var p=this;
this.__wc=this.__wj(m,n);
var o=new Agrammon.Lib.VarInput(null,null,null,this.tr(w),this.tr(y),false);
o.addListener(v,function(e){this.__wd=e.getData().toLowerCase();
this.__we.restart();
},this);
o.setMargin(0,10,0,10);
this.__wc.setMargin(0,10,0,10);
this.__we=new qx.event.Timer(this.__wf);
this.__we.addListener(q,function(e){this.__we.stop();
this.__wc.getTableModel().updateView(1);
this.__wc.getTableModel().setView(1);
},this);
this.add(o);
this.__wc.setMinWidth(150);
this.__wc.setAllowGrowX(true);
this.setPadding(0);
this.add(this.__wc,{flex:1});
},members:{__wc:null,__we:null,__wf:250,__wg:0,__wd:null,__wh:null,__wi:{},getSelectionModel:function(){return this.__wc.getSelectionModel();
},getTableModel:function(){return this.__wc.getTableModel();
},getTableColumnModel:function(){return this.__wc.getTableColumnModel();
},addListener:function(a,b,c){return this.__wc.addListener(a,b,c);
},setFilter:function(F){if(F=={}){this.__wh={'*all*':true};
}else{this.__wh=F;
}this.__wc.getTableModel().updateView(1);
},setShowAlways:function(G){this.__wi=G;
this.__wc.getTableModel().updateView(1);
},addToFilter:function(name,N){this.__wh[name]=N;
this.__wc.getTableModel().updateView(1);
},removeFromFilter:function(name){delete this.__wh[name];
this.__wc.getTableModel().updateView(1);
},clearFilter:function(){this.__wh={'*all*':true};
this.__wd=s;

if(this.__wc){this.__wc.getTableModel().updateView(1);
}},renameTag:function(H,I){var i,L=this.__wc.getTableModel();
var J,K=L.getRowCount(0);
var M=L.getData();
for(i=0;i<K;i++){J=L.getValue(0,i,0);
if(J==H){L.setValue(0,i,I,0);
}}for(var t in this.__wh){}if(this.__wh[H]){this.addToFilter(I,true);
this.removeFromFilter(H);
}},delTag:function(z){var i,C=this.__wc.getTableModel();
var A,B=C.getRowCount(0);
var D=C.getData();
for(i=0;i<B;i++){A=C.getValue(0,i,0);
if(A==z){C.removeRows(i,1);
}}for(var t in this.__wh){}if(this.__wh[z]){this.removeFromFilter(z);
}},__wj:function(d,f){var g=new Agrammon.Lib.Smart;
g.setColumns([d]);
g.addView(function(k){var name=k[this.__wg];
var l=this.__wh[r]!=undefined;
return (this.__wi[name]||(name.toLowerCase().indexOf(this.__wd)!=-1)&&(l||(this.__wh[name]==undefined)));
},this,null);
var h={tableColumnModel:function(E){return new qx.ui.table.columnmodel.Resize(E);
}};
var j=new qx.ui.table.Table(g,h);
j.set({columnVisibilityButtonVisible:false,keepFirstVisibleRowComplete:true,padding:0,showCellFocusIndicator:false});
j.getSelectionModel().setSelectionMode(qx.ui.table.selection.Model.MULTIPLE_INTERVAL_SELECTION);
j.getTableColumnModel().setHeaderCellRenderer(0,new qx.ui.table.headerrenderer.Icon(u,d));
j.getDataRowRenderer().setHighlightFocusRow(false);

if(f){g.addIndex(0);
g.indexedSelection(0,j.getSelectionModel());
}this.clearFilter();
g.setView(1);
g.updateView(1);
return j;
}}});
})();
(function(){var g="inherit",f="toolbar-button",e="qx.ui.toolbar.CheckBox",d="keydown",c="keyup";
qx.Class.define(e,{extend:qx.ui.form.ToggleButton,construct:function(a,b){qx.ui.form.ToggleButton.call(this,a,b);
this.removeListener(d,this._onKeyDown);
this.removeListener(c,this._onKeyUp);
},properties:{appearance:{refine:true,init:f},show:{refine:true,init:g},focusable:{refine:true,init:false}}});
})();
(function(){var w="Read-only",v="execute",u="Last change",t="resize",s='Agrammon.Lib.DatasetCreate',r='',q='interval',p="Close",o="icon/16/apps/office-calendar.png",n="Filter on dataset name",T="Agrammon/office-database.png",S="Parameters",R="Create",Q="Agrammon/read-only_ts.png",P="input",O='icon/16/apps/utilities-archiver.png',N="Sample datasets",M="Incremental filter on dataset name",L="changeSelection",K="",D='input',E='1*',B="icon/16/actions/window-close.png",C='top-left',z="Dataset name",A='middle',x='Agrammon.datasetsLoaded',y="pane",F='right',G="white",I='mouse',H="Tags",J="Model Version";
qx.Class.define(s,{extend:qx.ui.window.Window,include:qx.ui.core.MPlacement,construct:function(c,prompt,d){qx.ui.window.Window.call(this);
var h=qx.bom.Document.getHeight()-20;
this.set({layout:new qx.ui.layout.VBox(5),maxHeight:h,allowShrinkY:true,showClose:true,showMinimize:false,showMaximize:false,caption:c,modal:true,contentPadding:[0,0,10,0],padding:0,minWidth:500,icon:O});
this.getChildControl(y).setBackgroundColor(G);
var g=this;
qx.event.message.Bus.subscribe(x,function(bb){this.__wq();
},this);
this.setPlaceMethod(I);
this.setPosition(C);
this.__wk=this.__wv();
this.__wk.setAllowShrinkY(true);
var i=new Agrammon.Lib.VarInput(null,null,null,this.tr(M),this.tr(n),false);
i.addListener(D,function(e){this.__wl=e.getData().toLowerCase();
this.__wm.restart();
},this);
this.__wm=new qx.event.Timer(this.__ws);
this.__wm.addListener(q,function(e){this.debug('timer fired, searchFilter='+this.__wl);
this.__wm.stop();
this.__wk.getTableModel().updateView(1);
this.__wk.resetCellFocus();
},this);
this.add(i);
i.setMargin(10,10,0,10);
this.__wk.setMargin(0,10,0,10);
this.add(this.__wk,{flex:1});
var k=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignY:A}));
var f=new qx.ui.basic.Label(prompt).set({paddingRight:5});
k.add(f);
var j=new qx.ui.form.TextField();
this.nameField=j;
k.add(j);
j.focus();
var l=new qx.ui.form.Button(this.tr(p),B);
l.addListener(v,function(e){this.close();
},this);
this.__wn=new qx.ui.container.Composite(new qx.ui.layout.HBox(10,F));
this.__wn.setPadding(5,10,0,10);
this.__wo=new qx.ui.form.Button(this.tr(R),K);
this.__wo.addListener(v,function(e){d(this);
},this);
this.__wn.add(k);
this.__wn.add(new qx.ui.core.Spacer(1,0),{flex:1});
this.__wn.add(l);
this.__wn.add(this.__wo);
this.add(this.__wn);
this.__xt=Agrammon.Lib.DatasetCache.getInstance();
this.__wq=function(){g.__wr=this.__xt.getDatasets();
var bg=g.__wr.length;
g.debug('__setDatasets(): len='+bg);

if(bg<1){return ;
}var be=g.__wk;
var bf=be.getTableModel();
bf.setData(null);
bf.addRows(g.__wr);
be.getSelectionModel().resetSelection();
be.resetCellFocus();
bf.updateView(1);
bf.setView(1);
};
this.__wo.setEnabled(false);
this.__wk.getSelectionModel().addListener(L,function(e){var U=this.__wk.getSelectionModel().getSelectedRanges().length;

if(U>0||this.nameField.getValue()){this.__wo.setEnabled(true);
}else{this.__wo.setEnabled(false);
this.__wk.resetCellFocus();
}},this);
this.nameField.addListener(P,function(e){var b=this.__wk.getSelectionModel().getSelectedRanges().length;

if(b>0||this.nameField.getValue()){this.__wo.setEnabled(true);
}else{this.__wo.setEnabled(false);
this.__wk.resetCellFocus();
}},this);
this.__wq();
this.addListener(t,this.center,this);
qx.core.Init.getApplication().getRoot().addListener(t,function(){var m=qx.bom.Document.getHeight()-20;
this.setMaxHeight(m);
},this);
},members:{__wo:null,__wn:null,__wk:null,__xt:null,__wm:null,__wl:null,__ws:250,__wt:0,getSelectionModel:function(){return this.__wk.getSelectionModel();
},getTableModel:function(){return this.__wk.getTableModel();
},getDatasetCache:function(){return this.__xt;
},resetCellFocus:function(){return this.__wk.resetCellFocus();
},resetSelection:function(){return this.__wk.resetSelection();
},__wu:function(){this.__wl=r;

if(this.__wk){this.__wk.getTableModel().updateView(1);
}},__wv:function(){var V=new Agrammon.Lib.Smart;
V.setColumns([this.tr(N),this.tr(u),this.tr(S),this.tr(w),this.tr(J),this.tr(H)]);
var Y={tableColumnModel:function(a){return new qx.ui.table.columnmodel.Resize(a);
}};
var ba=new qx.ui.table.Table(V,Y);
ba.set({columnVisibilityButtonVisible:true,keepFirstVisibleRowComplete:true,padding:0,showCellFocusIndicator:false});
ba.getSelectionModel().setSelectionMode(qx.ui.table.selection.Model.SINGLE_SELECTION);
var W=ba.getTableColumnModel();
var X=W.getBehavior();
X.setWidth(0,E);
X.setWidth(1,130);
X.setWidth(2,90);
X.setWidth(3,110);
X.setWidth(4,100);
W.setColumnVisible(3,false);
W.setColumnVisible(4,false);
ba.getDataRowRenderer().setHighlightFocusRow(false);
W.setColumnVisible(5,false);
W.setDataCellRenderer(3,new qx.ui.table.cellrenderer.Boolean());
W.setHeaderCellRenderer(0,new qx.ui.table.headerrenderer.Icon(T,this.tr(z)));
W.setHeaderCellRenderer(1,new qx.ui.table.headerrenderer.Icon(o,this.tr(u)));
W.setHeaderCellRenderer(3,new qx.ui.table.headerrenderer.Icon(Q,this.tr(w)));
V.addView(function(bc){var name=bc[this.__wt];
var bd=bc[3];
return (bd&&(name.toLowerCase().indexOf(this.__wl)!=-1));
},this,null);
this.__wu();
V.setView(1);
return ba;
}}});
})();
(function(){var e="arrow",d="qx.ui.toolbar.MenuButton",c="Boolean",b="_applyShowArrow",a="toolbar-menubutton";
qx.Class.define(d,{extend:qx.ui.menubar.Button,properties:{appearance:{refine:true,init:a},showArrow:{check:c,init:false,themeable:true,apply:b}},members:{_createChildControlImpl:function(h){var i;

switch(h){case e:i=new qx.ui.basic.Image();
i.setAnonymous(true);
this._addAt(i,10);
break;
}return i||qx.ui.menubar.Button.prototype._createChildControlImpl.call(this,h);
},_applyShowArrow:function(f,g){if(f){this._showChildControl(e);
}else{this._excludeChildControl(e);
}}}});
})();
(function(){var k='',j="execute",i="Changing password for ",h='error',g="Info",f="Current password",d="Password change failed, please try again.",c='info',b="Cancel",a='keydown',A="New password (at least 6 characters)",z="en",y="Set language ...",x='changePassword',w="Confirm password",v='Enter',u='Agrammon.Lib.OptionMenu',t="de",s="icon/16/apps/utilities-text-editor.png",r="Ok",p="Change password",q="icon/16/actions/dialog-ok.png",n='Unknown username',o="Password changed successfully.",l="icon/16/actions/dialog-cancel.png",m="fr";
qx.Class.define(u,{extend:qx.ui.menu.Menu,construct:function(B,C){qx.ui.menu.Menu.call(this);
this.rpc=B;
this.info=C;
var D=n;
var K=new qx.ui.core.Command();
K.addListener(j,function(e){var W=e.getData().getLabel();
qx.locale.Manager.getInstance().setLocale(W);
});
var J=new qx.ui.menu.Menu;
var E=new qx.ui.menu.Button(z,null,K);
var R=new qx.ui.menu.Button(t,null,K);
var H=new qx.ui.menu.Button(m,null,K);
J.add(E);
J.add(R);
J.add(H);
var F=new qx.ui.menu.Button(this.tr(y),null,null,J);
var I=new qx.ui.window.Window(this.tr(i)+D,s);
I.setLayout(new qx.ui.layout.VBox(10));
var V=new qx.ui.container.Composite(new qx.ui.layout.HBox());
I.add(V);
var M=new qx.ui.container.Composite(new qx.ui.layout.VBox());
var N=new qx.ui.container.Composite(new qx.ui.layout.VBox());
V.add(N);
N.add(M);
var G=new Agrammon.Lib.VarPassword(this.tr(f),k,k,k);
this.oldPassword=G;
M.add(G);
G.setPadding(5);
var U=new Agrammon.Lib.VarPassword(this.tr(A),k,k,k);
this.newPassword1=U;
M.add(U);
U.setPadding(5);
var T=new Agrammon.Lib.VarPassword(this.tr(w),k,k,k);
this.newPassword2=T;
M.add(T);
T.setPadding(5);
var O=new qx.ui.container.Composite(new qx.ui.layout.HBox(10));
N.add(O);
var S=new qx.ui.form.Button(r,q);
var Q=new qx.ui.form.Button(this.tr(b),l);
Q.addListener(j,function(e){this.newPassword1.clearValue();
this.newPassword2.clearValue();
this.oldPassword.clearValue();
I.close();
},this);
S.addListener(j,function(e){D=this.info.getUserName();
var ba=this.oldPassword.getValue();
var X=this.newPassword1.getValue();
var Y=this.newPassword2.getValue();

if(X!=Y){alert(this.tr("Passwords did not match. Please try again."));
}else{this.rpc.callAsync(qx.lang.Function.bind(this.__ww,this),x,D,ba,X);
}this.newPassword1.clearValue();
this.newPassword2.clearValue();
this.oldPassword.clearValue();
I.close();
},this);
this.addListener(a,function(e){if(e.getKeyIdentifier()==v){S.execute();
}});
O.add(Q);
O.add(S);
var L=new qx.ui.core.Command();
L.addListener(j,function(e){I.setCaption(this.tr(i)+D);
I.open();
},this);
var P=new qx.ui.menu.Button(this.tr(p),null,L);
this.add(F);
this.add(P);
return;
},members:{__ww:function(bb,bc,bd){if(bc==null){qx.event.message.Bus.dispatch(h,[this.tr(g),this.tr(o),c]);
}else{qx.event.message.Bus.dispatch(h,[this.tr(g),this.tr(d)]);
}}}});
})();
(function(){var i='^((-?\\d\\d*\\.\\d*)|(-?\\d\\d*)|(-?\\.\\d\\d*))([eE][-+]?\\d+)?$',h='integer',g='Agrammon.Lib.VarPassword',f='',d='.*',c='float',b='^\\d+$';
qx.Class.define(g,{extend:qx.ui.container.Composite,construct:function(j,k,l,m,n){qx.ui.container.Composite.call(this,null,j,k);
this.setLayout(new qx.ui.layout.VBox());
var o=i;
var q=b;
var p;

switch(l){case c:p=o;
break;
case h:p=q;
break;
default:p=d;
break;
}this.__wx=new qx.ui.basic.Label(j);
this.add(this.__wx);
this.__wy=new qx.ui.form.PasswordField();
this.__wx.setBuddy(this.__wy);

if(n){this.__wy.setPlaceholder(n);
}this.add(this.__wy);
return this;
},members:{__wy:null,__wx:null,isValid:function(){alert(this.__wy.isValid());
return this.__wy.isValid();
},getValue:function(){return this.__wy.getValue();
},getInputField:function(){return this.__wy;
},setEnabled:function(a){return this.__wy.setEnabled(a);
},clearValue:function(e){this.__wy.setValue(f);
}}});
})();
(function(){var c="password",b="qx.ui.form.PasswordField",a="input";
qx.Class.define(b,{extend:qx.ui.form.TextField,members:{_createInputElement:function(){var d=new qx.html.Input(c);
d.addListener(a,this._onHtmlInput,this);
return d;
}}});
})();
(function(){var u='.html',t="execute",s='doc/about.',r='doc/techdoc.',q='de',p="Documentation",o='',n='doc/help.',m="Help",l='Agrammon.Lib.HelpMenu',f='doc/changelog.',k="changeLocale",i="Road Map",d='About Agrammon',c='doc/roadmap.',h="Change Log",g='Road Map',j="About",b='Change log';
qx.Class.define(l,{extend:qx.ui.menu.Menu,construct:function(v){qx.ui.menu.Menu.call(this);
this.base_url=v;
qx.locale.Manager.getInstance().addListener(k,this.__wz,this);
var z=qx.locale.Manager.getInstance().getLocale();
z=z.replace(/_.+/,o);
var y=new Agrammon.Lib.DocWindow(this.tr(m),v+n+z+u);
this.help=y;
var K=new qx.ui.core.Command();
K.addListener(t,function(e){y.open();
},this);
var x=new qx.ui.menu.Button(this.tr(m),null,K);
var B=new Agrammon.Lib.DocWindow(this.tr(p),v+r+z+u);
this.docu=B;
var D=new qx.ui.core.Command();
D.addListener(t,function(e){B.open();
},this);
var E=new qx.ui.menu.Button(this.tr(p),null,D);
var w=new Agrammon.Lib.DocWindow(d,v+s+z+u);
this.about=w;
var J=new qx.ui.core.Command();
J.addListener(t,function(e){w.open();
},this);
var C=new qx.ui.menu.Button(this.tr(j),null,J);
var H=new Agrammon.Lib.DocWindow(b,v+f+q+u);
this.changelogWin=H;
var A=new qx.ui.core.Command();
A.addListener(t,function(e){H.open();
},this);
var I=new qx.ui.menu.Button(this.tr(h),null,A);
var F=new Agrammon.Lib.DocWindow(g,v+c+q+u);
this.roadmapWin=F;
var L=new qx.ui.core.Command();
L.addListener(t,function(e){F.open();
},this);
var G=new qx.ui.menu.Button(this.tr(i),null,L);
this.add(x);
this.add(E);
this.add(C);
this.add(I);
this.add(G);
return;
},members:{__wz:function(){var a=qx.locale.Manager.getInstance().getLocale();
a=a.replace(/_.+/,o);
this.help.setSource(this.base_url+n+a+u);
this.about.setSource(this.base_url+s+a+u);
this.docu.setSource(this.base_url+r+a+u);
}}});
})();
(function(){var m="icon/16/actions/dialog-close.png",l='Agrammon.Lib.DocWindow',k="icon/16/status/dialog-information.png",j="pane",i="white",h="Close",g="execute";
qx.Class.define(l,{extend:qx.ui.window.Window,construct:function(a,b){qx.ui.window.Window.call(this);
this.setLayout(new qx.ui.layout.VBox());
this.set({width:600,height:400,modal:true,showClose:true,showMinimize:false,showMaximize:false,caption:a});
this.getChildControl(j).setBackgroundColor(i);
var c=new qx.ui.container.Composite(new qx.ui.layout.VBox(20));
var d=new qx.ui.embed.Iframe();
this.docuText=d;
d.set({width:600,height:400,padding:10,source:b});
var f=new qx.ui.form.Button(this.tr(h),m);
this.btnCancel=f;
f.setMaxWidth(120);
f.addListener(g,function(e){this.close();
},this);
c.add(d);
c.add(f);
this.setIcon(k);
this.add(c);
return this;
},members:{setSource:function(n){this.docuText.setSource(n);
}}});
})();
(function(){var i="String",h="qx.ui.embed.AbstractIframe",g="name",f="",e="_applySource",d="qx.event.type.Event",c="_applyFrameName";
qx.Class.define(h,{extend:qx.ui.core.Widget,construct:function(j){qx.ui.core.Widget.call(this);

if(j){this.setSource(j);
}},events:{"load":d},properties:{source:{check:i,apply:e,nullable:true},frameName:{check:i,init:f,apply:c}},members:{_getIframeElement:function(){throw new Error("Abstract method call");
},_applySource:function(a,b){this._getIframeElement().setSource(a);
},_applyFrameName:function(k,l){this._getIframeElement().setAttribute(g,k);
},getWindow:function(){return this._getIframeElement().getWindow();
},getDocument:function(){return this._getIframeElement().getDocument();
},getBody:function(){return this._getIframeElement().getBody();
},getName:function(){return this._getIframeElement().getName();
},reload:function(){this._getIframeElement().reload();
}}});
})();
(function(){var l="qx.client",k="mousedown",j="load",i="help",h="mouseup",g="losecapture",f="contextmenu",d="none",c="display",b="repeat",C="Boolean",B="px",A="url(",z=")",y="__wB",x="gecko",w="div",v="DOMNodeInserted",u="_applyNativeHelp",t="/",r="appear",s="mshtml",p="block",q="qx.ui.embed.Iframe",n="iframe",o="absolute",m="qx/static/blank.gif";
qx.Class.define(q,{extend:qx.ui.embed.AbstractIframe,include:qx.ui.core.MNativeOverflow,construct:function(a){if(a!=null){this.__wA=a;
}qx.ui.embed.AbstractIframe.call(this,a);
qx.event.Registration.addListener(document.body,k,this.block,this,true);
qx.event.Registration.addListener(document.body,h,this.release,this,true);
qx.event.Registration.addListener(document.body,g,this.release,this,true);
this.__wB=this._createBlockerElement();
this.getContainerElement().add(this.__wB);

if(qx.core.Variant.isSet(l,x)){this.addListenerOnce(r,function(e){var F=this.getContainerElement().getDomElement();
qx.bom.Event.addNativeListener(F,v,this._onDOMNodeInserted);
});
this._onDOMNodeInserted=qx.lang.Function.listener(this._syncSourceAfterDOMMove,this);
}},properties:{appearance:{refine:true,init:n},nativeContextMenu:{refine:true,init:false},nativeHelp:{check:C,init:false,apply:u}},members:{__wA:null,__wB:null,renderLayout:function(M,top,N,O){qx.ui.embed.AbstractIframe.prototype.renderLayout.call(this,M,top,N,O);
var Q=B;
var P=this.getInsets();
this.__wB.setStyles({"left":P.left+Q,"top":P.top+Q,"width":(N-P.left-P.right)+Q,"height":(O-P.top-P.bottom)+Q});
},_createContentElement:function(){var G=new qx.html.Iframe(this.__wA);
G.addListener(j,this._onIframeLoad,this);
return G;
},_getIframeElement:function(){return this.getContentElement();
},_createBlockerElement:function(){var H=new qx.html.Element(w);
H.setStyles({"zIndex":20,"position":o,"display":d});
if(qx.core.Variant.isSet(l,s)){H.setStyles({backgroundImage:A+qx.util.ResourceManager.getInstance().toUri(m)+z,backgroundRepeat:b});
}return H;
},_onIframeLoad:function(e){this._applyNativeContextMenu(this.getNativeContextMenu(),null);
this._applyNativeHelp(this.getNativeHelp(),null);
this.fireNonBubblingEvent(j);
},block:function(){this.__wB.setStyle(c,p);
},release:function(){this.__wB.setStyle(c,d);
},_applyNativeContextMenu:function(I,J){if(I!==false&&J!==false){return;
}var K=this.getDocument();

if(!K){return;
}
try{var L=K.documentElement;
}catch(e){return ;
}
if(J===false){qx.event.Registration.removeListener(L,f,this._onNativeContextMenu,this,true);
}
if(I===false){qx.event.Registration.addListener(L,f,this._onNativeContextMenu,this,true);
}},_onNativeContextMenu:function(e){e.preventDefault();
},_applyNativeHelp:qx.core.Variant.select(l,{"mshtml":function(D,E){var document=this.getDocument();

if(!document){return;
}
try{if(E===false){qx.bom.Event.removeNativeListener(document,i,qx.lang.Function.returnFalse);
}
if(D===false){qx.bom.Event.addNativeListener(document,i,qx.lang.Function.returnFalse);
}}catch(e){}},"default":function(){}}),_syncSourceAfterDOMMove:function(){var S=this.getContentElement().getDomElement();
var R=S.src;
if(R.charAt(R.length-1)==t){R=R.substring(0,R.length-1);
}
if(R!=this.getSource()){qx.bom.Iframe.getWindow(S).stop();
S.src=this.getSource();
}}},destruct:function(){this._disposeObjects(y);
qx.event.Registration.removeListener(document.body,k,this.block,this,true);
qx.event.Registration.removeListener(document.body,h,this.release,this,true);
qx.event.Registration.removeListener(document.body,g,this.release,this,true);
}});
})();
(function(){var g="source",f="name",e="qx.html.Iframe",d="qx.event.type.Event",c="iframe";
qx.Class.define(e,{extend:qx.html.Element,construct:function(h,i,j){qx.html.Element.call(this,c,i,j);
this._setProperty(g,h);
},events:{"load":d},members:{_applyProperty:function(name,k){qx.html.Element.prototype._applyProperty.call(this,name,k);

if(name==g){var l=this.getDomElement();
qx.bom.Iframe.setSource(l,k);
}},_createDomElement:function(){return qx.bom.Iframe.create(this._content);
},getWindow:function(){var p=this.getDomElement();

if(p){return qx.bom.Iframe.getWindow(p);
}else{return null;
}},getDocument:function(){var m=this.getDomElement();

if(m){return qx.bom.Iframe.getDocument(m);
}else{return null;
}},getBody:function(){var b=this.getDomElement();

if(b){return qx.bom.Iframe.getBody(b);
}else{return null;
}},setSource:function(a){this._setProperty(g,a);
return this;
},getSource:function(){return this._getProperty(g);
},setName:function(name){this.setAttribute(f,name);
return this;
},getName:function(){return this.getAttribute(f);
},reload:function(){var o=this.getDomElement();

if(o){var n=this.getSource();
this.setSource(null);
this.setSource(n);
}}}});
})();
(function(){var m='10px sans-serif',l='mouseover',k='#888',j='mouseout',i='west',h='Agrammon.Lib.Footer',g='east',f='click';
qx.Class.define(h,{extend:qx.ui.container.Composite,construct:function(n,o){qx.ui.container.Composite.call(this,new qx.ui.layout.Dock());
this.add(new Agrammon.Lib.Link(n,o,k,m),{edge:g});
},members:{__wC:function(a,b){var c=qx.locale.Manager.getInstance();
this.info(c.getLanguage());
var d=new qx.ui.basic.Label(a);
d.set({font:qx.bom.Font.fromString(m),marginRight:5,opacity:0.7});
d.addListener(f,function(e){qx.locale.Manager.getInstance().setLocale(b);
});
d.addListener(l,function(e){d.setOpacity(1);
});
d.addListener(j,function(e){d.setOpacity(0.7);
});
this.add(d,{edge:i});
}}});
})();
(function(){var s="_applyLayoutChange",r="left",q="top",p="Decorator",o="Integer",n="x",m="y",l="auto",k="qx.ui.layout.Dock",j="_applySort",c="west",h="north",f="south",b="center",a="east",e="Boolean",d="bottom",g="right";
qx.Class.define(k,{extend:qx.ui.layout.Abstract,construct:function(bX,bY,ca,cb){qx.ui.layout.Abstract.call(this);

if(bX){this.setSpacingX(bX);
}
if(bY){this.setSpacingY(bY);
}
if(ca){this.setSeparatorX(ca);
}
if(cb){this.setSeparatorY(cb);
}},properties:{sort:{check:[l,m,n],init:l,apply:j},separatorX:{check:p,nullable:true,apply:s},separatorY:{check:p,nullable:true,apply:s},connectSeparators:{check:e,init:false,apply:s},spacingX:{check:o,init:0,apply:s},spacingY:{check:o,init:0,apply:s}},members:{__wD:null,__wE:null,verifyLayoutProperty:null,_applySort:function(){this._invalidChildrenCache=true;
this._applyLayoutChange();
},__wF:{north:1,south:2,west:3,east:4,center:5},__wG:{1:q,2:d,3:r,4:g},__wH:function(){var t=this._getLayoutChildren();
var B,v;
var length=t.length;
var x=[];
var A=[];
var y=[];
var u=this.getSort()===m;
var z=this.getSort()===n;

for(var i=0;i<length;i++){B=t[i];
y=B.getLayoutProperties().edge;

if(y===b){if(v){throw new Error("It is not allowed to have more than one child aligned to 'center'!");
}v=B;
}else if(z||u){if(y===h||y===f){u?x.push(B):A.push(B);
}else if(y===c||y===a){u?A.push(B):x.push(B);
}}else{x.push(B);
}}var C=x.concat(A);

if(v){C.push(v);
}this.__wD=C;
var w=[];

for(var i=0;i<length;i++){y=C[i].getLayoutProperties().edge;
w[i]=this.__wF[y]||5;
}this.__wE=w;
delete this._invalidChildrenCache;
},renderLayout:function(M,N){if(this._invalidChildrenCache){this.__wH();
}var bh=qx.ui.layout.Util;
var T=this.__wD;
var bi=this.__wE;
var length=T.length;
var W,P,V,bc,bd,bn,ba,Q,bk;
var br=[];
var Y=[];
var bq=this._getSeparatorWidths();
var bv=this.getSpacingX();
var bu=this.getSpacingY();
var U=-bv;
var bj=-bu;

if(bq.x){U-=bq.x+bv;
}
if(bq.y){bj-=bq.y+bu;
}
for(var i=0;i<length;i++){P=T[i];
bc=P.getLayoutProperties();
V=P.getSizeHint();
ba=V.width;
Q=V.height;

if(bc.width!=null){ba=Math.floor(M*parseFloat(bc.width)/100);

if(ba<V.minWidth){ba=V.minWidth;
}else if(ba>V.maxWidth){ba=V.maxWidth;
}}
if(bc.height!=null){Q=Math.floor(N*parseFloat(bc.height)/100);

if(Q<V.minHeight){Q=V.minHeight;
}else if(Q>V.maxHeight){Q=V.maxHeight;
}}br[i]=ba;
Y[i]=Q;
switch(bi[i]){case 1:case 2:bj+=Q+P.getMarginTop()+P.getMarginBottom()+bu;

if(bq.y){bj+=bq.y+bu;
}break;
case 3:case 4:U+=ba+P.getMarginLeft()+P.getMarginRight()+bv;

if(bq.x){U+=bq.x+bv;
}break;
default:U+=ba+P.getMarginLeft()+P.getMarginRight()+bv;
bj+=Q+P.getMarginTop()+P.getMarginBottom()+bu;

if(bq.x){U+=bq.x+bv;
}
if(bq.y){bj+=bq.y+bu;
}}}if(U!=M){W={};
bn=U<M;

for(var i=0;i<length;i++){P=T[i];

switch(bi[i]){case 3:case 4:case 5:bd=P.getLayoutProperties().flex;
if(bd==null&&bi[i]==5){bd=1;
}
if(bd>0){V=P.getSizeHint();
W[i]={min:V.minWidth,value:br[i],max:V.maxWidth,flex:bd};
}}}var R=bh.computeFlexOffsets(W,M,U);

for(var i in R){bk=R[i].offset;
br[i]+=bk;
U+=bk;
}}if(bj!=N){W=[];
bn=bj<N;

for(var i=0;i<length;i++){P=T[i];

switch(bi[i]){case 1:case 2:case 5:bd=P.getLayoutProperties().flex;
if(bd==null&&bi[i]==5){bd=1;
}
if(bd>0){V=P.getSizeHint();
W[i]={min:V.minHeight,value:Y[i],max:V.maxHeight,flex:bd};
}}}var R=bh.computeFlexOffsets(W,N,bj);

for(var i in R){bk=R[i].offset;
Y[i]+=bk;
bj+=bk;
}}this._clearSeparators();
var bo=this.getSeparatorX(),bp=this.getSeparatorY();
var bs=this.getConnectSeparators();
var bf=0,bm=0;
var bz,top,ba,Q,be,bw;
var bg,bt,by,O;
var bx,X,bb,S;
var bl=this.__wG;

for(var i=0;i<length;i++){P=T[i];
bw=bi[i];
V=P.getSizeHint();
bx=P.getMarginTop();
X=P.getMarginBottom();
bb=P.getMarginLeft();
S=P.getMarginRight();
switch(bw){case 1:case 2:ba=M-bb-S;
if(ba<V.minWidth){ba=V.minWidth;
}else if(ba>V.maxWidth){ba=V.maxWidth;
}Q=Y[i];
top=bf+bh.computeVerticalAlignOffset(bl[bw],Q,N,bx,X);
bz=bm+bh.computeHorizontalAlignOffset(P.getAlignX()||r,ba,M,bb,S);
if(bq.y){if(bw==1){bt=bf+Q+bx+bu+X;
}else{bt=bf+N-Q-bx-bu-X-bq.y;
}bg=bz;
by=M;

if(bs&&bg>0){bg-=bv+bb;
by+=(bv)*2;
}else{bg-=bb;
}this._renderSeparator(bp,{left:bg,top:bt,width:by,height:bq.y});
}be=Q+bx+X+bu;

if(bq.y){be+=bq.y+bu;
}N-=be;
if(bw==1){bf+=be;
}break;
case 3:case 4:Q=N-bx-X;
if(Q<V.minHeight){Q=V.minHeight;
}else if(Q>V.maxHeight){Q=V.maxHeight;
}ba=br[i];
bz=bm+bh.computeHorizontalAlignOffset(bl[bw],ba,M,bb,S);
top=bf+bh.computeVerticalAlignOffset(P.getAlignY()||q,Q,N,bx,X);
if(bq.x){if(bw==3){bg=bm+ba+bb+bv+S;
}else{bg=bm+M-ba-bb-bv-S-bq.x;
}bt=top;
O=N;

if(bs&&bt>0){bt-=bu+bx;
O+=(bu)*2;
}else{bt-=bx;
}this._renderSeparator(bo,{left:bg,top:bt,width:bq.x,height:O});
}be=ba+bb+S+bv;

if(bq.x){be+=bq.x+bv;
}M-=be;
if(bw==3){bm+=be;
}break;
default:ba=M-bb-S;
Q=N-bx-X;
if(ba<V.minWidth){ba=V.minWidth;
}else if(ba>V.maxWidth){ba=V.maxWidth;
}if(Q<V.minHeight){Q=V.minHeight;
}else if(Q>V.maxHeight){Q=V.maxHeight;
}bz=bm+bh.computeHorizontalAlignOffset(P.getAlignX()||r,ba,M,bb,S);
top=bf+bh.computeVerticalAlignOffset(P.getAlignY()||q,Q,N,bx,X);
}P.renderLayout(bz,top,ba,Q);
}},_getSeparatorWidths:function(){var E=this.getSeparatorX(),D=this.getSeparatorY();

if(E||D){var J=qx.theme.manager.Decoration.getInstance();
}
if(E){var K=J.resolve(E);
var G=K.getInsets();
var H=G.left+G.right;
}
if(D){var L=J.resolve(D);
var F=L.getInsets();
var I=F.top+F.bottom;
}return {x:H||0,y:I||0};
},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__wH();
}var bD=this.__wD;
var bN=this.__wE;
var length=bD.length;
var bH,bO;
var bJ,bI;
var bK=0,bV=0;
var bA=0,bQ=0;
var bL=0,bU=0;
var bB=0,bP=0;
var bR=this._getSeparatorWidths();
var bT=this.getSpacingX(),bS=this.getSpacingY();
var bF=-bT,bE=-bS;

if(bR.x){bF-=bR.x+bT;
}
if(bR.y){bE-=bR.y+bS;
}for(var i=0;i<length;i++){bO=bD[i];
bH=bO.getSizeHint();
bJ=bO.getMarginLeft()+bO.getMarginRight();
bI=bO.getMarginTop()+bO.getMarginBottom();
switch(bN[i]){case 1:case 2:bL=Math.max(bL,bH.width+bK+bJ);
bU=Math.max(bU,bH.minWidth+bV+bJ);
bB+=bH.height+bI;
bP+=bH.minHeight+bI;
bE+=bS;

if(bR.y){bE+=bR.y+bS;
}break;
case 3:case 4:bA=Math.max(bA,bH.height+bB+bI);
bQ=Math.max(bQ,bH.minHeight+bP+bI);
bK+=bH.width+bJ;
bV+=bH.minWidth+bJ;
bF+=bT;

if(bR.x){bF+=bR.x+bT;
}break;
default:bK+=bH.width+bJ;
bV+=bH.minWidth+bJ;
bB+=bH.height+bI;
bP+=bH.minHeight+bI;
bF+=bT;

if(bR.x){bF+=bR.x+bT;
}bE+=bS;

if(bR.y){bE+=bR.y+bS;
}}}var bG=Math.max(bV,bU)+bF;
var bW=Math.max(bK,bL)+bF;
var bM=Math.max(bQ,bP)+bE;
var bC=Math.max(bA,bB)+bE;
return {minWidth:bG,width:bW,minHeight:bM,height:bC};
}},destruct:function(){this.__wE=this.__wD=null;
}});
})();
(function(){var k='mouseout',j='Agrammon.Lib.Link',i='mouseover',h='__new',g='pointer',f='click';
qx.Class.define(j,{extend:qx.ui.basic.Label,construct:function(a,b,c,d){qx.ui.basic.Label.call(this,a);

if(c){this.setTextColor(c);
}
if(d){this.setFont(qx.bom.Font.fromString(d));
}this.set({cursor:g,opacity:0.9});
this.addListener(f,function(e){window.open(b,h);
});
this.addListener(i,function(e){this.setOpacity(1);
},this);
this.addListener(k,function(e){this.setOpacity(0.7);
},this);
}});
})();
(function(){var l='',k='<dt style="font-weight: bold; padding-left: 0em;">',j='</dt>',h='<dl>',g='</p>',f='</ul>',d='<dd><ul style="list-style: disc; padding-left: 0em;">',c="Close",b='Agrammon.Lib.News',a="execute",x='<p>',w='keydown',v='Enter',u="resize",t='</ul></dl></dl>',s="icon/16/apps/utilities-text-editor.png",r="icon/16/actions/window-close.png",q='</li>',p='<li>',o='<dd><dl>',m='</dl>',n="The following messages have been published since your last login on ";
qx.Class.define(b,{extend:qx.ui.window.Window,construct:function(y,z,A,B){qx.ui.window.Window.call(this);
this.setLayout(new qx.ui.layout.VBox(10));
var K=qx.bom.Document.getHeight()-20;
this.set({modal:true,showClose:false,padding:0,minHeight:200,minWidth:400,maxHeight:K,allowGrowY:true,allowGrowX:true});
this.setCaption(y);
var I=new qx.ui.container.Composite(new qx.ui.layout.VBox());
I.set({allowGrowY:true,allowGrowX:true});
this.add(I,{flex:1});
this.setIcon(s);
var E,i,G=z.length;
var C=l,D=l;
E=x+this.tr(n)+B.split(/ /)[0]+g;
E+=h;

for(i=0;i<G;i++){var O=z[i][0];
var M=z[i][1].split(/ /)[0];
var N=z[i][2];

if(M!=D){if(D!=l){E+=m;
}D=M;
E+=k+M+j;
E+=o;
C=l;
}
if(O!=C){if(C!=l){E+=f;
}C=O;
E+=k+O+j;
E+=d;
}E+=p+N+q;
}E+=t;
var J=new qx.ui.basic.Label(E).set({rich:true});
var H=new qx.ui.container.Stack();
H.set({allowGrowX:true,allowGrowY:true});
J.set({allowGrowX:true,allowGrowY:true});
H.add(J,{flex:1});
I.add(H,{flex:1});
var F=new qx.ui.form.Button(this.tr(c),r);
F.addListener(a,function(e){A();
},this);
this.addListener(w,function(e){if(e.getKeyIdentifier()==v){F.execute();
}});
var L=new qx.ui.container.Composite(new qx.ui.layout.HBox(10));
L.add(F);
I.add(L);
this.addListenerOnce(u,this.center,this);
this.open();
},members:{}});
})();
(function(){var m='',l="execute",k="icon/16/actions/dialog-ok.png",j='.html',i="Help",h='doc/login.',g='keydown',f='tobias@oetiker.ch',d="Create new account",c='cyrill.bonjour@bjengineering.ch',K="Login",J='Enter username',I="Agrammon/help-about.png",H='beat.achermann@bafu.admin.ch',G='christian.leuenberger@leupro.ch',F='manuel@oetiker.ch',E="changeLocale",D='roman.plessl@oetiker.ch',C="Create New Account",B='Enter',t="resize",u='fritz.zaucker@oetiker.ch',r="Password",s='aurelia.nyfeler@bjengineering.ch',p="Reset Password",q="Username",n='hr@bjengineering.ch',o='Agrammon.Lib.Login',v="Cancel",w='harald.menzi@bfh.ch',y='agrammon.main.login',x='thomas.kupper@bfh.ch',A="icon/16/actions/dialog-cancel.png",z="Reset password";
qx.Class.define(o,{extend:qx.ui.window.Window,construct:function(P,Q,R){qx.ui.window.Window.call(this);
this.baseUrl=R;
this.rpc=Q;
this.setLayout(new qx.ui.layout.HBox(10));
this.set({modal:true,showClose:false,showMinimize:false,showMaximize:false,caption:P});
var bd=new qx.ui.container.Composite(new qx.ui.layout.VBox(10));
bd.setWidth(300);
var V=new qx.ui.container.Composite(new qx.ui.layout.VBox(10));
this.add(bd,{flex:1});
this.add(new qx.ui.core.Spacer(50));
this.add(V);
qx.locale.Manager.getInstance().addListener(E,this.__wI,this);
var Y=new Agrammon.Lib.VarInput(this.tr(q),m,m,m,J);
this.user=Y;
bd.add(Y);
Y.setPadding(5);
Y.setPaddingBottom(0);
var S=new Agrammon.Lib.VarPassword(this.tr(r),m,m,m);
this.password=S;
bd.add(S);
S.setPadding(5);
S.setPaddingTop(0);
bd.add(new qx.ui.core.Spacer(50));
var bf=new qx.ui.container.Composite(new qx.ui.layout.HBox(10));
bf.setPaddingLeft(5);
bf.setPaddingRight(5);
bd.add(bf);
var bb=new qx.ui.form.Button(K,k);
var X=new qx.ui.form.Button(this.tr(C),k);
this.btnNew=X;
var W=new qx.ui.form.Button(this.tr(p),k);
this.btnPassword=W;
var be=new qx.ui.form.Button(this.tr(i),I);
var ba=new qx.ui.form.Button(this.tr(v),A);
ba.addListener(l,function(e){this.user.clearValue();
this.password.clearValue();
},this);
var U=qx.locale.Manager.getInstance().getLocale();
U=U.replace(/_.+/,m);
var T=new Agrammon.Lib.DocWindow(this.tr(i),R+h+U+j);
this.help=T;
be.addListener(l,function(e){this.user.clearValue();
this.password.clearValue();
T.open();
},this);
bb.addListener(l,function(e){var L=this.user.getValue();
var M=this.password.getValue();
var O={'fz':u,'rp':D,'to':f,'mo':F,'hr':n,'cb':c,'hm':w,'ba':H,'cl':G,'an':s,'tk':x};

for(var N in O){if(L==N){L=O[N];
break;
}}this.password.clearValue();
qx.event.message.Bus.dispatch(y,{'user':L,'password':M});
this.close();
},this);
X.addListener(l,function(e){this.debug('btNew: this='+this);
var a=this.user.getValue();
var b=new Agrammon.Lib.Account(this.tr(d),this.rpc,R,a);
this.password.clearValue();
this.close();
},this);
W.addListener(l,function(e){this.debug('btPassword: this='+this);
var bh=this.user.getValue();
var bi=true;
var bj=new Agrammon.Lib.Account(this.tr(z),this.rpc,R,bh,bi);
this.password.clearValue();
this.close();
},this);
bf.add(ba,{flex:1});
bf.add(bb,{flex:1});
V.add(new qx.ui.core.Spacer(1),{flex:1});
V.add(be,{flex:0});
V.add(W,{flex:0});
V.add(X,{flex:0});
this.addListener(g,function(e){if(e.getKeyIdentifier()==B){bb.execute();
}});
Y.setTabIndex(1);
S.setTabIndex(2);
ba.setTabIndex(3);
bb.setTabIndex(3);
be.setTabIndex(4);
W.setTabIndex(5);
X.setTabIndex(6);
bb.focus();
this.addListenerOnce(t,this.center,this);
var bc=qx.core.Init.getApplication().getRoot();
this.open();
bc.add(this);
return this;
},members:{__wI:function(){var bg=qx.locale.Manager.getInstance().getLocale();
bg=bg.replace(/_.+/,m);
this.debug('Login: locale='+bg);
this.help.setSource(this.baseUrl+h+bg+j);
}}});
})();
(function(){var t='',s="execute",r='</b></font>',q='create_account',p='<font color=red><b>',o="Help",n="Enter key below to activate your account",m="Passwords must be equal.",l="Re-activate Account",k="Login",bb="First name (optional)",ba="Account created.",Y="Create Account",X="Agrammon/help-about.png",W='agrammon.main.login',V="complete",U="Login with new account",T="Password must have at least 6 characters.",S='agrammon.main.logout',R="Reset Password",A="Activate new account",B='.',y='Username',z='Agrammon.Lib.Account',w="eMail (will be your username)",x="Last name (optional)",u="Re-activate account",v='.html',C="Cancel",D="Organisation (optional)",J="icon/16/actions/dialog-ok.png",I=' ',L=" button",K="An activation key will be sent to you by eMail after pressing the",N="icon/16/actions/dialog-cancel.png",M="eMail (your username)",F="Key (sent by eMail)",Q='doc/login.',P="Enter key below to re-activate your account",O="Repeat Password",E='reset_password',G="Activate Account",H="Password (minimum 6 characters)";
qx.Class.define(z,{extend:qx.ui.window.Window,construct:function(bf,bg,bh,bi,bj){qx.ui.window.Window.call(this);
this.rpc=bg;
var bo=this;
this.setLayout(new qx.ui.layout.VBox(10));
this.set({width:200,modal:true,showClose:false,showMinimize:false,showMaximize:false,caption:bf});
this.setCaption(bf);
var bv=new qx.ui.form.validation.Manager();
var bp=function(bI,bJ){var bK=bI!=null&&bI.length>=6;

if(!bK){bJ.setInvalidMessage(bo.tr(T));
}return bK;
};
var by=new qx.ui.container.Composite(new qx.ui.layout.VBox());
this.pbox=by;
this.add(by);
if(bj){this.user=new Agrammon.Lib.VarInput(this.tr(M),t,t,t);
}else{this.user=new Agrammon.Lib.VarInput(this.tr(w),t,t,t);
}by.add(this.user);
this.user.setPadding(5);
this.password1=new Agrammon.Lib.VarPassword(this.tr(H),t,t,t);
by.add(this.password1);
this.password1.setPadding(5);
this.password2=new Agrammon.Lib.VarPassword(this.tr(O),t,t,t);
by.add(this.password2);
this.password2.setPadding(5);

if(!bj){var bn=new Agrammon.Lib.VarInput(this.tr(bb),t,t,t);
this.firstName=bn;
bn.setPadding(5);
by.add(bn);
var bq=new Agrammon.Lib.VarInput(this.tr(x),t,t,t);
this.lastName=bq;
by.add(bq);
bq.setPadding(5);
var br=new Agrammon.Lib.VarInput(this.tr(D),t,t,t);
this.organisation=br;
by.add(br);
br.setPadding(5);
this.msg0=this.tr(Y);
}else{this.msg0=this.tr(R);
}bv.add(this.user.getInputField(),qx.util.Validate.email());
bv.add(this.password1.getInputField(),bp);
bv.add(this.password2.getInputField(),bp);
bv.setValidator(function(bF){var bH=bo.password1.getValue()==bo.password2.getValue();

if(!bH){var bG=bo.tr(m);
bo.password1.getInputField().setInvalidMessage(bG);
bo.password2.getInputField().setInvalidMessage(bG);
bo.password1.getInputField().setValid(false);
bo.password2.getInputField().setValid(false);
}return bH;
});
bv.addListener(V,function(){if(!bv.getValid()){alert(bv.getInvalidMessages().join("\n"));
}},this);
this.msg1=new qx.ui.basic.Label(p+this.tr(K)+I+this.msg0+this.tr(L)+B+r).set({rich:true});
this.msg1.setPaddingLeft(5);
this.msg1.setPaddingRight(5);
this.msg1.setPaddingTop(5);
by.add(this.msg1);
var bx=new Agrammon.Lib.VarInput(this.tr(F),t,t,t);
this.key=bx;
bx.setPadding(5);
var bw=new qx.ui.container.Composite(new qx.ui.layout.HBox(10));
bw.setPaddingLeft(5);
bw.setPaddingRight(5);
this.add(bw);
var bA=new qx.ui.form.Button(this.msg0,J);
this.btnOK=bA;
var bB=new qx.ui.form.Button(this.tr(o),X);
var bC=new qx.ui.form.Button(this.tr(C),N);
bC.addListener(s,function(e){this.close();
qx.event.message.Bus.dispatch(S);
},this);
var bu=qx.locale.Manager.getInstance().getLocale();
bu=bu.replace(/_.+/,t);
var bm=new Agrammon.Lib.DocWindow(this.tr(o),bh+Q+bu+v);
this.help=bm;
bB.addListener(s,function(e){this.user.clearValue();
this.password1.clearValue();
this.password2.clearValue();
bm.open();
},this);
var bs=function(bc,bd,be){bo.debug('createAccountHandler()');

if(bd==null){bo.debug('createAccount: '+bc);
}else{alert(bd);
}};
var bk=function(a,b,c){if(b==null){bo.debug('createAccount: '+a);
bo.msg1.setValue(bo.tr(ba));
bo.pbox._addAfter(bo.msg1,bo.password1);
bo.setCaption(bo.tr(U));
bo.btnOK.setLabel(bo.tr(k));
bo.btnOK.addListener(s,bo.login,bo);
bo.user.setEnabled(true);
bo.password1.setEnabled(true);
}else{alert(b);
}};
var bl=function(e){this.debug('createAccount(): this='+this);

if(!bv.validate()){bo.debug('createAccount(): Form is invalid');
return;
}var bD=this.user.getValue();
var bE=this.password1.getValue();

if(bj){this.setCaption(this.tr(u));
}else{this.setCaption(this.tr(A));
}this.user.setLabel(y);
this.user.setEnabled(false);
this.password1.setEnabled(false);
this.password2.setEnabled(false);

if(bj){this.location=this.password2;
this.action=this.tr(P);
}else{this.location=this.organisation;
this.action=this.tr(n);
}this.pbox._addAfter(this.key,this.location);
this.msg1.setValue(p+this.action+r);
this.pbox._addAfter(this.msg1,this.location);
this.debug('Calling rpc(create_account)');
this.rpc.callAsync(bs,q,{email:bD,password:bE,key:t});

if(bj){this.btnOK.setLabel(this.tr(l));
}else{this.btnOK.setLabel(this.tr(G));
}this.btnOK.removeListener(s,this.createAccount,this);
this.btnOK.addListener(s,this.activateAccount,this);
};
this.createAccount=bl;
var bt=function(e){var d=this.user.getValue();
var j=this.password1.getValue();
var h=this.key.getValue();

if(bj){this.rpc.callAsync(bk,E,{email:d,password:j,key:h});
}else{var f=this.firstName.getValue();
var g=this.lastName.getValue();
var i=this.organisation.getValue();
this.rpc.callAsync(bk,q,{email:d,password:j,key:h,firstname:f,lastname:g,org:i});
this.firstName.destroy();
this.lastName.destroy();
this.organisation.destroy();
}this.password2.destroy();
this.key.destroy();
this.btnOK.removeListener(s,this.activateAccount,this);
};
this.activateAccount=bt;
var bz=function(e){var bL=this.user.getValue();
var bM=this.password1.getValue();
qx.event.message.Bus.dispatch(W,{'user':bL,'password':bM});
this.close();
};
this.login=bz;
bA.addListener(s,bl,this);
bw.add(bC);
bw.add(bA);
this.center();
this.open();
return this;
},members:{rpc:null,user:null,password1:null,password2:null}});
})();
(function(){var l="",k="complete",j="String",h="changeValid",g="qx.event.type.Event",f="value instanceof Function || qx.Class.isSubClassOf(value.constructor, qx.ui.form.validation.AsyncValidator)",d="qx.ui.form.validation.Manager",c="This field is required",b="qx.event.type.Data";
qx.Class.define(d,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
this.__wJ=[];
this.__wK={};
this.setRequiredFieldMessage(qx.locale.Manager.tr(c));
},events:{"changeValid":b,"complete":g},properties:{validator:{check:f,init:null,nullable:true},invalidMessage:{check:j,init:l},requiredFieldMessage:{check:j,init:l}},members:{__wJ:null,__wL:null,__wK:null,__wM:null,add:function(W,X){if(!this.__wR(W)){throw new Error("Added widget not supported.");
}if(this.__wS(W)){if(X!=null){throw new Error("Widgets suporting selection can only be validated "+"in the form validator");
}}var Y={item:W,validator:X,valid:null};
this.__wJ.push(Y);
},validate:function(){var D=true;
this.__wM=true;
var A=[];
for(var i=0;i<this.__wJ.length;i++){var B=this.__wJ[i].item;
var E=this.__wJ[i].validator;
A.push(B);
if(E==null){var z=this.__wN(B);
D=D&&z;
this.__wM=z&&this.__wM;
continue;
}var z=this.__wO(this.__wJ[i],B.getValue());
D=z&&D;

if(z!=null){this.__wM=z&&this.__wM;
}}var C=this.__wP(A);

if(qx.lang.Type.isBoolean(C)){this.__wM=C&&this.__wM;
}D=C&&D;
this.__wU(D);

if(qx.lang.Object.isEmpty(this.__wK)){this.fireEvent(k);
}return D;
},__wN:function(q){if(q.getRequired()){if(this.__wS(q)){var r=!!q.getSelection()[0];
}else{var r=!!q.getValue();
}q.setValid(r);
q.setInvalidMessage(this.getRequiredFieldMessage());
return r;
}return true;
},__wO:function(O,P){var T=O.item;
var S=O.validator;
if(this.__wQ(S)){this.__wK[T.toHashCode()]=null;
S.validate(T,T.getValue(),this);
return null;
}var R=null;

try{var R=S(P,T);

if(R===undefined){R=true;
}}catch(e){if(e instanceof qx.core.ValidationError){R=false;

if(e.message&&e.message!=qx.type.BaseError.DEFAULTMESSAGE){var Q=e.message;
}else{var Q=e.getComment();
}T.setInvalidMessage(Q);
}else{throw e;
}}T.setValid(R);
O.valid=R;
return R;
},__wP:function(s){var u=this.getValidator();

if(u==null){return true;
}this.setInvalidMessage(l);

if(this.__wQ(u)){this.__wK[this.toHashCode()]=null;
u.validateForm(s,this);
return null;
}
try{var v=u(s,this);

if(v===undefined){v=true;
}}catch(e){if(e instanceof qx.core.ValidationError){v=false;

if(e.message&&e.message!=qx.type.BaseError.DEFAULTMESSAGE){var t=e.message;
}else{var t=e.getComment();
}this.setInvalidMessage(t);
}else{throw e;
}}return v;
},__wQ:function(U){var V=false;

if(!qx.lang.Type.isFunction(U)){V=qx.Class.isSubClassOf(U.constructor,qx.ui.form.validation.AsyncValidator);
}return V;
},__wR:function(M){var N=M.constructor;
return qx.Class.hasInterface(N,qx.ui.form.IForm);
},__wS:function(I){var J=I.constructor;
return qx.Class.hasInterface(J,qx.ui.core.ISingleSelection);
},__wT:function(x){var y=x.constructor;
return (qx.Class.hasInterface(y,qx.ui.form.IBooleanForm)||qx.Class.hasInterface(y,qx.ui.form.IColorForm)||qx.Class.hasInterface(y,qx.ui.form.IDateForm)||qx.Class.hasInterface(y,qx.ui.form.INumberForm)||qx.Class.hasInterface(y,qx.ui.form.IStringForm));
},__wU:function(o){var p=this.__wL;
this.__wL=o;
if(p!=o){this.fireDataEvent(h,o,p);
}},getValid:function(){return this.__wL;
},isValid:function(){return this.getValid();
},getInvalidMessages:function(){var K=[];
for(var i=0;i<this.__wJ.length;i++){var L=this.__wJ[i].item;

if(!L.getValid()){K.push(L.getInvalidMessage());
}}if(this.getInvalidMessage()!=l){K.push(this.getInvalidMessage());
}return K;
},reset:function(){for(var i=0;i<this.__wJ.length;i++){var a=this.__wJ[i];
a.item.setValid(true);
}this.__wL=null;
},setItemValid:function(m,n){this.__wK[m.toHashCode()]=n;
m.setValid(n);
this.__wV();
},setFormValid:function(w){this.__wK[this.toHashCode()]=w;
this.__wV();
},__wV:function(){var G=this.__wM;
for(var H in this.__wK){var F=this.__wK[H];
G=F&&G;
if(F==null){return;
}}this.__wU(G);
this.__wK={};
this.fireEvent(k);
}},destruct:function(){this.__wJ=null;
}});
})();
(function(){var d="qx.ui.form.validation.AsyncValidator";
qx.Class.define(d,{extend:qx.core.Object,construct:function(g){qx.core.Object.call(this);
this.__wW=g;
},members:{__wW:null,__wX:null,__wY:null,__xa:null,validate:function(a,b,c){this.__xa=false;
this.__wX=a;
this.__wY=c;
this.__wW(this,b);
},validateForm:function(e,f){this.__xa=true;
this.__wY=f;
this.__wW(e,this);
},setValid:function(h,i){if(this.__xa){if(i!==undefined){this.__wY.setInvalidMessage(i);
}this.__wY.setFormValid(h);
}else{if(i!==undefined){this.__wX.setInvalidMessage(i);
}this.__wY.setItemValid(this.__wX,h);
}}},destruct:function(){this.__wY=this.__wX=null;
}});
})();
(function(){var b="qx.ui.form.IColorForm",a="qx.event.type.Data";
qx.Interface.define(b,{events:{"changeValue":a},members:{setValue:function(c){return arguments.length==1;
},resetValue:function(){},getValue:function(){}}});
})();
(function(){var b="qx.ui.form.IDateForm",a="qx.event.type.Data";
qx.Interface.define(b,{events:{"changeValue":a},members:{setValue:function(c){return arguments.length==1;
},resetValue:function(){},getValue:function(){}}});
})();
(function(){var r="Validation Error",q="%1 is not a number.",p="%1 is not a color! %2",o="",n="%1 is not a string.",m="number",l="Validation Error: ",k="'%1' is not an email address.",j="qx.util.Validate",i="%1 is not an url.",f="%1 is not in %2",h="%1 does not fit %2.",g="string",d="%1 is not in the range from [%2, %3].";
qx.Class.define(j,{statics:{number:function(){return qx.util.Validate.checkNumber;
},checkNumber:function(c){if((typeof c!==m&&(!(c instanceof Number)))||(!(isFinite(c)))){throw new qx.core.ValidationError(l,qx.locale.Manager.tr(q,c));
}},email:function(){return qx.util.Validate.checkEmail;
},checkEmail:function(s){var t=/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;

if(t.test(s)===false){throw new qx.core.ValidationError(r,qx.locale.Manager.tr(k,(s||o)));
}},string:function(){return qx.util.Validate.checkString;
},checkString:function(B){if(typeof B!==g&&(!(B instanceof String))){throw new qx.core.ValidationError(r,qx.locale.Manager.tr(n,B));
}},url:function(){return qx.util.Validate.checkUrl;
},checkUrl:function(u){var v=/([A-Za-z0-9])+:\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/;

if(v.test(u)===false){throw new qx.core.ValidationError(r,qx.locale.Manager.tr(i,u));
}},color:function(){return qx.util.Validate.checkColor;
},checkColor:function(y){try{qx.util.ColorUtil.stringToRgb(y);
}catch(e){throw new qx.core.ValidationError(r,qx.locale.Manager.tr(p,y,e));
}},range:function(z,A){return function(C){if(C<z||C>A){throw new qx.core.ValidationError(r,qx.locale.Manager.tr(d,C,z,A));
}};
},inArray:function(b){return function(w){if(b.indexOf(w)===-1){throw new qx.core.ValidationError(r,qx.locale.Manager.tr(f,w,b));
}};
},regExp:function(a){return function(x){if(a.test(x)===false){throw new qx.core.ValidationError(r,qx.locale.Manager.tr(h,x,a));
}};
}}});
})();
(function(){var j="#CCCCCC",i="#F3F3F3",h="#E4E4E4",g="#1a1a1a",f="#084FAB",e="gray",d="#fffefe",c="white",b="#4a4a4a",a="#EEEEEE",K="#80B4EF",J="#C72B2B",I="#ffffdd",H="#334866",G="#00204D",F="#666666",E="#CBC8CD",D="#99C3FE",C="#808080",B="#F4F4F4",q="#001533",r="#909090",o="#FCFCFC",p="#314a6e",m="#B6B6B6",n="#0880EF",k="#4d4d4d",l="#DFDFDF",s="#000000",t="#FF9999",w="#7B7A7E",v="#26364D",y="#990000",x="#AFAFAF",A="#404955",z="#AAAAAA",u="qx.theme.modern.Color";
qx.Theme.define(u,{colors:{"background-application":l,"background-pane":i,"background-light":o,"background-medium":a,"background-splitpane":x,"background-tip":I,"background-tip-error":J,"background-odd":h,"text-light":r,"text-gray":b,"text-label":g,"text-title":p,"text-input":s,"text-hovered":q,"text-disabled":w,"text-selected":d,"text-active":v,"text-inactive":A,"text-placeholder":E,"border-main":k,"border-separator":C,"border-input":H,"border-disabled":m,"border-pane":G,"border-button":F,"border-column":j,"border-focused":D,"invalid":y,"border-focused-invalid":t,"table-pane":i,"table-focus-indicator":n,"table-row-background-focused-selected":f,"table-row-background-focused":K,"table-row-background-selected":f,"table-row-background-even":i,"table-row-background-odd":h,"table-row-selected":d,"table-row":g,"table-row-line":j,"table-column-line":j,"progressive-table-header":z,"progressive-table-row-background-even":B,"progressive-table-row-background-odd":h,"progressive-progressbar-background":e,"progressive-progressbar-indicator-done":j,"progressive-progressbar-indicator-undone":c,"progressive-progressbar-percent-background":e,"progressive-progressbar-percent-text":c}});
})();
(function(){var A="_applyStyle",z="",y="Color",x="px",w="solid",v="dotted",u="double",t="dashed",s="_applyWidth",r="qx.ui.decoration.Uniform",o="px ",q=" ",p="scale",n="PositiveInteger",m="absolute";
qx.Class.define(r,{extend:qx.ui.decoration.Abstract,include:[qx.ui.decoration.MBackgroundImage],construct:function(f,g,h){qx.ui.decoration.Abstract.call(this);
if(f!=null){this.setWidth(f);
}
if(g!=null){this.setStyle(g);
}
if(h!=null){this.setColor(h);
}},properties:{width:{check:n,init:0,apply:s},style:{nullable:true,check:[w,v,t,u],init:w,apply:A},color:{nullable:true,check:y,apply:A},backgroundColor:{check:y,nullable:true,apply:A}},members:{__xb:null,_getDefaultInsets:function(){var B=this.getWidth();
return {top:B,right:B,bottom:B,left:B};
},_isInitialized:function(){return !!this.__xb;
},getMarkup:function(){if(this.__xb){return this.__xb;
}var i={position:m,top:0,left:0};
var j=this.getWidth();
{};
var l=qx.theme.manager.Color.getInstance();
i.border=j+o+this.getStyle()+q+(l.resolve(this.getColor())||z);
var k=this._generateBackgroundMarkup(i);
return this.__xb=k;
},resize:function(a,b,c){var e=this.getBackgroundImage()&&this.getBackgroundRepeat()==p;

if(e||qx.bom.client.Feature.CONTENT_BOX){var d=this.getWidth()*2;
b-=d;
c-=d;
if(b<0){b=0;
}
if(c<0){c=0;
}}a.style.width=b+x;
a.style.height=c+x;
},tint:function(C,D){var E=qx.theme.manager.Color.getInstance();

if(D==null){D=this.getBackgroundColor();
}C.style.backgroundColor=E.resolve(D)||z;
},_applyWidth:function(){{};
this._resetInsets();
},_applyStyle:function(){{};
}},destruct:function(){this.__xb=null;
}});
})();
(function(){var g="px",f="qx.ui.decoration.Background",e="",d="_applyStyle",c="Color",b="absolute";
qx.Class.define(f,{extend:qx.ui.decoration.Abstract,include:[qx.ui.decoration.MBackgroundImage],construct:function(a){qx.ui.decoration.Abstract.call(this);

if(a!=null){this.setBackgroundColor(a);
}},properties:{backgroundColor:{check:c,nullable:true,apply:d}},members:{__xc:null,_getDefaultInsets:function(){return {top:0,right:0,bottom:0,left:0};
},_isInitialized:function(){return !!this.__xc;
},getMarkup:function(){if(this.__xc){return this.__xc;
}var k={position:b,top:0,left:0};
var l=this._generateBackgroundMarkup(k);
return this.__xc=l;
},resize:function(h,i,j){h.style.width=i+g;
h.style.height=j+g;
},tint:function(m,n){var o=qx.theme.manager.Color.getInstance();

if(n==null){n=this.getBackgroundColor();
}m.style.backgroundColor=o.resolve(n)||e;
},_applyStyle:function(){{};
}},destruct:function(){this.__xc=null;
}});
})();
(function(){var p="Number",o="_applyInsets",n="-l",m="insetRight",l="insetTop",k="_applyBaseImage",j="insetBottom",i="set",h="shorthand",g="-t",d="insetLeft",f="String",e="qx.ui.decoration.Grid";
qx.Class.define(e,{extend:qx.core.Object,implement:[qx.ui.decoration.IDecorator],construct:function(F,G){qx.core.Object.call(this);

if(qx.ui.decoration.css3.BorderImage.IS_SUPPORTED){this.__xd=new qx.ui.decoration.css3.BorderImage();

if(F){this.__xe(F);
}}else{this.__xd=new qx.ui.decoration.GridDiv(F);
}
if(G!=null){this.__xd.setInsets(G);
}},properties:{baseImage:{check:f,nullable:true,apply:k},insetLeft:{check:p,nullable:true,apply:o},insetRight:{check:p,nullable:true,apply:o},insetBottom:{check:p,nullable:true,apply:o},insetTop:{check:p,nullable:true,apply:o},insets:{group:[l,m,j,d],mode:h}},members:{__xd:null,getMarkup:function(){return this.__xd.getMarkup();
},resize:function(q,r,s){this.__xd.resize(q,r,s);
},tint:function(D,E){},getInsets:function(){return this.__xd.getInsets();
},_applyInsets:function(a,b,name){var c=i+qx.lang.String.firstUp(name);
this.__xd[c](a);
},_applyBaseImage:function(t,u){if(this.__xd instanceof qx.ui.decoration.GridDiv){this.__xd.setBaseImage(t);
}else{this.__xe(t);
}},__xe:function(v){this.__xd.setBorderImage(v);
var z=qx.util.AliasManager.getInstance().resolve(v);
var A=/(.*)(\.[a-z]+)$/.exec(z);
var x=A[1];
var y=A[2];
var w=qx.util.ResourceManager.getInstance();
var B=w.getImageHeight(x+g+y);
var C=w.getImageWidth(x+n+y);
this.__xd.setSlice([B,C]);
}},destruct:function(){this.__xd=null;
}});
})();
(function(){var m="_applyStyle",l='"></div>',k="Color",j="1px",i='<div style="',h='border:',g="1px solid ",f="",e=";",d="px",y='</div>',x="qx.ui.decoration.Beveled",w='<div style="position:absolute;top:1px;left:1px;',v='border-bottom:',u='border-right:',t='border-left:',s='border-top:',r="Number",q='<div style="position:absolute;top:1px;left:0px;',p='position:absolute;top:0px;left:1px;',n='<div style="overflow:hidden;font-size:0;line-height:0;">',o="absolute";
qx.Class.define(x,{extend:qx.ui.decoration.Abstract,include:[qx.ui.decoration.MBackgroundImage],construct:function(a,b,c){qx.ui.decoration.Abstract.call(this);
if(a!=null){this.setOuterColor(a);
}
if(b!=null){this.setInnerColor(b);
}
if(c!=null){this.setInnerOpacity(c);
}},properties:{innerColor:{check:k,nullable:true,apply:m},innerOpacity:{check:r,init:1,apply:m},outerColor:{check:k,nullable:true,apply:m},backgroundColor:{check:k,nullable:true,apply:m}},members:{__xf:null,_getDefaultInsets:function(){return {top:2,right:2,bottom:2,left:2};
},_isInitialized:function(){return !!this.__xf;
},_applyStyle:function(){{};
},getMarkup:function(){if(this.__xf){return this.__xf;
}var K=qx.theme.manager.Color.getInstance();
var L=[];
var O=g+K.resolve(this.getOuterColor())+e;
var N=g+K.resolve(this.getInnerColor())+e;
L.push(n);
L.push(i);
L.push(h,O);
L.push(qx.bom.element.Opacity.compile(0.35));
L.push(l);
L.push(q);
L.push(t,O);
L.push(u,O);
L.push(l);
L.push(i);
L.push(p);
L.push(s,O);
L.push(v,O);
L.push(l);
var M={position:o,top:j,left:j};
L.push(this._generateBackgroundMarkup(M));
L.push(w);
L.push(h,N);
L.push(qx.bom.element.Opacity.compile(this.getInnerOpacity()));
L.push(l);
L.push(y);
return this.__xf=L.join(f);
},resize:function(z,A,B){if(A<4){A=4;
}
if(B<4){B=4;
}if(qx.bom.client.Feature.CONTENT_BOX){var outerWidth=A-2;
var outerHeight=B-2;
var H=outerWidth;
var G=outerHeight;
var innerWidth=A-4;
var innerHeight=B-4;
}else{var outerWidth=A;
var outerHeight=B;
var H=A-2;
var G=B-2;
var innerWidth=H;
var innerHeight=G;
}var J=d;
var F=z.childNodes[0].style;
F.width=outerWidth+J;
F.height=outerHeight+J;
var E=z.childNodes[1].style;
E.width=outerWidth+J;
E.height=G+J;
var D=z.childNodes[2].style;
D.width=H+J;
D.height=outerHeight+J;
var C=z.childNodes[3].style;
C.width=H+J;
C.height=G+J;
var I=z.childNodes[4].style;
I.width=innerWidth+J;
I.height=innerHeight+J;
},tint:function(P,Q){var R=qx.theme.manager.Color.getInstance();

if(Q==null){Q=this.getBackgroundColor();
}P.childNodes[3].style.backgroundColor=R.resolve(Q)||f;
}},destruct:function(){this.__xf=null;
}});
})();
(function(){var m="solid",l="scale",k="border-main",j="white",i="repeat-x",h="border-separator",g="background-light",f="invalid",e="border-focused-invalid",d="border-disabled",bs="decoration/table/header-cell.png",br="decoration/form/input.png",bq="#f8f8f8",bp="decoration/scrollbar/scrollbar-button-bg-horizontal.png",bo="#b6b6b6",bn="background-pane",bm="repeat-y",bl="decoration/form/input-focused.png",bk="#33508D",bj="decoration/selection.png",t="border-input",u="decoration/scrollbar/scrollbar-button-bg-vertical.png",r="decoration/tabview/tab-button-top-active.png",s="black",p="decoration/form/button-c.png",q="decoration/scrollbar/scrollbar-bg-vertical.png",n="decoration/form/button.png",o="decoration/form/button-checked.png",B="decoration/tabview/tab-button-left-inactive.png",C="decoration/groupbox/groupbox.png",O="#FAFAFA",K="decoration/pane/pane.png",W="dotted",R="decoration/toolbar/toolbar-part.gif",bf="decoration/tabview/tab-button-top-inactive.png",bc="decoration/menu/bar-background.png",G="center",bi="decoration/tabview/tab-button-bottom-active.png",bh="decoration/form/button-hovered.png",bg="decoration/form/tooltip-error-arrow.png",F="decoration/window/captionbar-inactive.png",I="qx/decoration/Modern",J="decoration/menu/background.png",M="decoration/window/statusbar.png",P="border-focused",S="table-focus-indicator",Y="#F2F2F2",be="decoration/form/button-checked-c.png",v="decoration/scrollbar/scrollbar-bg-horizontal.png",w="qx.theme.modern.Decoration",H="#f4f4f4",V="decoration/shadow/shadow-small.png",U="decoration/app-header.png",T="decoration/tabview/tabview-pane.png",bb="decoration/form/tooltip-error.png",ba="decoration/form/button-focused.png",Q="decoration/tabview/tab-button-bottom-inactive.png",X="decoration/form/button-disabled.png",a="decoration/tabview/tab-button-right-active.png",bd="decoration/form/button-pressed.png",x="no-repeat",y="decoration/window/captionbar-active.png",L="decoration/tabview/tab-button-left-active.png",b="background-splitpane",c="decoration/form/button-checked-focused.png",E="#C5C5C5",z="decoration/toolbar/toolbar-gradient.png",A="decoration/tabview/tab-button-right-inactive.png",D="#b8b8b8",N="decoration/shadow/shadow.png";
qx.Theme.define(w,{aliases:{decoration:I},decorations:{"main":{decorator:qx.ui.decoration.Uniform,style:{width:1,color:k}},"selected":{decorator:qx.ui.decoration.Background,style:{backgroundImage:bj,backgroundRepeat:l}},"selected-dragover":{decorator:qx.ui.decoration.Single,style:{backgroundImage:bj,backgroundRepeat:l,bottom:[2,m,bk]}},"dragover":{decorator:qx.ui.decoration.Single,style:{bottom:[2,m,bk]}},"pane":{decorator:qx.ui.decoration.Grid,style:{baseImage:K,insets:[0,2,3,0]}},"group":{decorator:qx.ui.decoration.Grid,style:{baseImage:C}},"border-invalid":{decorator:qx.ui.decoration.Beveled,style:{outerColor:f,innerColor:j,innerOpacity:0.5,backgroundImage:br,backgroundRepeat:i,backgroundColor:g}},"keyboard-focus":{decorator:qx.ui.decoration.Single,style:{width:1,color:s,style:W}},"separator-horizontal":{decorator:qx.ui.decoration.Single,style:{widthLeft:1,colorLeft:h}},"separator-vertical":{decorator:qx.ui.decoration.Single,style:{widthTop:1,colorTop:h}},"tooltip-error":{decorator:qx.ui.decoration.Grid,style:{baseImage:bb,insets:[2,5,5,2]}},"tooltip-error-arrow":{decorator:qx.ui.decoration.Background,style:{backgroundImage:bg,backgroundPositionY:G,backgroundRepeat:x,insets:[0,0,0,10]}},"shadow-window":{decorator:qx.ui.decoration.Grid,style:{baseImage:N,insets:[4,8,8,4]}},"shadow-popup":{decorator:qx.ui.decoration.Grid,style:{baseImage:V,insets:[0,3,3,0]}},"scrollbar-horizontal":{decorator:qx.ui.decoration.Background,style:{backgroundImage:v,backgroundRepeat:i}},"scrollbar-vertical":{decorator:qx.ui.decoration.Background,style:{backgroundImage:q,backgroundRepeat:bm}},"scrollbar-slider-horizontal":{decorator:qx.ui.decoration.Beveled,style:{backgroundImage:bp,backgroundRepeat:l,outerColor:k,innerColor:j,innerOpacity:0.5}},"scrollbar-slider-horizontal-disabled":{decorator:qx.ui.decoration.Beveled,style:{backgroundImage:bp,backgroundRepeat:l,outerColor:d,innerColor:j,innerOpacity:0.3}},"scrollbar-slider-vertical":{decorator:qx.ui.decoration.Beveled,style:{backgroundImage:u,backgroundRepeat:l,outerColor:k,innerColor:j,innerOpacity:0.5}},"scrollbar-slider-vertical-disabled":{decorator:qx.ui.decoration.Beveled,style:{backgroundImage:u,backgroundRepeat:l,outerColor:d,innerColor:j,innerOpacity:0.3}},"button":{decorator:qx.ui.decoration.Grid,style:{baseImage:n,insets:2}},"button-disabled":{decorator:qx.ui.decoration.Grid,style:{baseImage:X,insets:2}},"button-focused":{decorator:qx.ui.decoration.Grid,style:{baseImage:ba,insets:2}},"button-hovered":{decorator:qx.ui.decoration.Grid,style:{baseImage:bh,insets:2}},"button-pressed":{decorator:qx.ui.decoration.Grid,style:{baseImage:bd,insets:2}},"button-checked":{decorator:qx.ui.decoration.Grid,style:{baseImage:o,insets:2}},"button-checked-focused":{decorator:qx.ui.decoration.Grid,style:{baseImage:c,insets:2}},"button-invalid-shadow":{decorator:qx.ui.decoration.Beveled,style:{outerColor:f,innerColor:e,insets:[1]}},"checkbox-invalid-shadow":{decorator:qx.ui.decoration.Beveled,style:{outerColor:f,innerColor:e,insets:[0]}},"input":{decorator:qx.ui.decoration.Beveled,style:{outerColor:t,innerColor:j,innerOpacity:0.5,backgroundImage:br,backgroundRepeat:i,backgroundColor:g}},"input-focused":{decorator:qx.ui.decoration.Beveled,style:{outerColor:t,innerColor:P,backgroundImage:bl,backgroundRepeat:i,backgroundColor:g}},"input-focused-invalid":{decorator:qx.ui.decoration.Beveled,style:{outerColor:f,innerColor:e,backgroundImage:bl,backgroundRepeat:i,backgroundColor:g,insets:[2]}},"input-disabled":{decorator:qx.ui.decoration.Beveled,style:{outerColor:d,innerColor:j,innerOpacity:0.5,backgroundImage:br,backgroundRepeat:i,backgroundColor:g}},"toolbar":{decorator:qx.ui.decoration.Background,style:{backgroundImage:z,backgroundRepeat:l}},"toolbar-button-hovered":{decorator:qx.ui.decoration.Beveled,style:{outerColor:bo,innerColor:bq,backgroundImage:p,backgroundRepeat:l}},"toolbar-button-checked":{decorator:qx.ui.decoration.Beveled,style:{outerColor:bo,innerColor:bq,backgroundImage:be,backgroundRepeat:l}},"toolbar-separator":{decorator:qx.ui.decoration.Single,style:{widthLeft:1,widthRight:1,colorLeft:D,colorRight:H,styleLeft:m,styleRight:m}},"toolbar-part":{decorator:qx.ui.decoration.Background,style:{backgroundImage:R,backgroundRepeat:bm}},"tabview-pane":{decorator:qx.ui.decoration.Grid,style:{baseImage:T,insets:[4,6,7,4]}},"tabview-page-button-top-active":{decorator:qx.ui.decoration.Grid,style:{baseImage:r}},"tabview-page-button-top-inactive":{decorator:qx.ui.decoration.Grid,style:{baseImage:bf}},"tabview-page-button-bottom-active":{decorator:qx.ui.decoration.Grid,style:{baseImage:bi}},"tabview-page-button-bottom-inactive":{decorator:qx.ui.decoration.Grid,style:{baseImage:Q}},"tabview-page-button-left-active":{decorator:qx.ui.decoration.Grid,style:{baseImage:L}},"tabview-page-button-left-inactive":{decorator:qx.ui.decoration.Grid,style:{baseImage:B}},"tabview-page-button-right-active":{decorator:qx.ui.decoration.Grid,style:{baseImage:a}},"tabview-page-button-right-inactive":{decorator:qx.ui.decoration.Grid,style:{baseImage:A}},"splitpane":{decorator:qx.ui.decoration.Uniform,style:{backgroundColor:bn,width:3,color:b,style:m}},"window":{decorator:qx.ui.decoration.Single,style:{backgroundColor:bn,width:1,color:k,widthTop:0}},"window-captionbar-active":{decorator:qx.ui.decoration.Grid,style:{baseImage:y}},"window-captionbar-inactive":{decorator:qx.ui.decoration.Grid,style:{baseImage:F}},"window-statusbar":{decorator:qx.ui.decoration.Grid,style:{baseImage:M}},"table":{decorator:qx.ui.decoration.Single,style:{width:1,color:k,style:m}},"table-statusbar":{decorator:qx.ui.decoration.Single,style:{widthTop:1,colorTop:k,style:m}},"table-scroller-header":{decorator:qx.ui.decoration.Single,style:{backgroundImage:bs,backgroundRepeat:l,widthBottom:1,colorBottom:k,style:m}},"table-header-cell":{decorator:qx.ui.decoration.Single,style:{widthRight:1,colorRight:h,styleRight:m}},"table-header-cell-hovered":{decorator:qx.ui.decoration.Single,style:{widthRight:1,colorRight:h,styleRight:m,widthBottom:1,colorBottom:j,styleBottom:m}},"table-column-button":{decorator:qx.ui.decoration.Single,style:{backgroundImage:bs,backgroundRepeat:l,widthBottom:1,colorBottom:k,style:m}},"table-scroller-focus-indicator":{decorator:qx.ui.decoration.Single,style:{width:2,color:S,style:m}},"progressive-table-header":{decorator:qx.ui.decoration.Single,style:{width:1,color:k,style:m}},"progressive-table-header-cell":{decorator:qx.ui.decoration.Single,style:{backgroundImage:bs,backgroundRepeat:l,widthRight:1,colorRight:Y,style:m}},"menu":{decorator:qx.ui.decoration.Single,style:{backgroundImage:J,backgroundRepeat:l,width:1,color:k,style:m}},"menu-separator":{decorator:qx.ui.decoration.Single,style:{widthTop:1,colorTop:E,widthBottom:1,colorBottom:O}},"menubar":{decorator:qx.ui.decoration.Single,style:{backgroundImage:bc,backgroundRepeat:l,width:1,color:h,style:m}},"app-header":{decorator:qx.ui.decoration.Background,style:{backgroundImage:U,backgroundRepeat:l}}}});
})();
(function(){var n="Liberation Sans",m="Arial",l="Lucida Grande",k="sans-serif",j="Tahoma",i="Candara",h="Segoe UI",g="Consolas",f="Courier New",e="Monaco",b="monospace",d="Lucida Console",c="qx.theme.modern.Font",a="DejaVu Sans Mono";
qx.Theme.define(c,{fonts:{"default":{size:(qx.bom.client.System.WINVISTA||qx.bom.client.System.WIN7)?12:11,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[l]:(qx.bom.client.System.WINVISTA||qx.bom.client.System.WIN7)?[h,i]:[j,n,m,k]},"bold":{size:(qx.bom.client.System.WINVISTA||qx.bom.client.System.WIN7)?12:11,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[l]:(qx.bom.client.System.WINVISTA||qx.bom.client.System.WIN7)?[h,i]:[j,n,m,k],bold:true},"small":{size:(qx.bom.client.System.WINVISTA||qx.bom.client.System.WIN7)?11:10,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[l]:(qx.bom.client.System.WINVISTA||qx.bom.client.System.WIN7)?[h,i]:[j,n,m,k]},"monospace":{size:11,lineHeight:1.4,family:qx.bom.client.Platform.MAC?[d,e]:(qx.bom.client.System.WINVISTA||qx.bom.client.System.WIN7)?[g]:[g,a,f,b]}}});
})();
(function(){var fV="button-frame",fU="atom",fT="widget",fS="main",fR="button",fQ="text-selected",fP="image",fO="bold",fN="middle",fM="background-light",ez="text-disabled",ey="groupbox",ex="decoration/arrows/down.png",ew="cell",ev="selected",eu="border-invalid",et="input",es="input-disabled",er="menu-button",eq="input-focused-invalid",gd="toolbar-button",ge="spinner",gb="input-focused",gc="popup",fY="tooltip",ga="label",fW="list",fX="tree-item",gf="treevirtual-contract",gg="scrollbar",fv="datechooser/nav-button",fu="text-hovered",fx="center",fw="treevirtual-expand",fz="textfield",fy="decoration/arrows/right.png",fB="background-application",fA="radiobutton",ft="white",fs="invalid",cv="combobox",cw="right-top",cx="checkbox",cy="text-title",cz="qx/static/blank.gif",cA="scrollbar/button",cB="right",cC="combobox/button",cD="icon/16/places/folder.png",cE="text-label",gu="decoration/tree/closed.png",gt="scrollbar-slider-horizontal",gs="decoration/arrows/left.png",gr="button-focused",gy="text-light",gx="menu-slidebar-button",gw="text-input",gv="slidebar/button-forward",gA="background-splitpane",gz=".png",dy="decoration/tree/open.png",dz="default",dw="decoration/arrows/down-small.png",dx="datechooser",dC="slidebar/button-backward",dD="selectbox",dA="treevirtual-folder",dB="shadow-popup",du="icon/16/mimetypes/office-document.png",dv="background-medium",cY="table",cX="decoration/arrows/up.png",db="decoration/form/",da="",cU="-invalid",cT="icon/16/places/folder-open.png",cW="button-checked",cV="decoration/window/maximize-active-hovered.png",cS="radiobutton-hovered",cR="keyboard-focus",dJ="decoration/cursors/",dK="slidebar",dL="tooltip-error-arrow",dM="table-scroller-focus-indicator",dF="move-frame",dG="nodrop",dH="decoration/table/boolean-true.png",dI="table-header-cell",dN="menu",dO="app-header",dm="row-layer",dl="text-inactive",dk="move",dj="radiobutton-checked-focused",di="decoration/window/restore-active-hovered.png",dh="shadow-window",dg="table-column-button",df="right.png",dr="tabview-page-button-bottom-inactive",dq="tooltip-error",dP="window-statusbar",dQ="button-hovered",dR="decoration/scrollbar/scrollbar-",dS="background-tip",dT="scrollbar-slider-horizontal-disabled",dU="table-scroller-header",dV="button-pressed",dW="table-pane",dX="decoration/window/close-active.png",dY="native",eH="checkbox-hovered",eG="button-invalid-shadow",eF="checkbox-checked",eE="decoration/window/minimize-active-hovered.png",eL="menubar",eK="icon/16/actions/dialog-cancel.png",eJ="tabview-page-button-top-inactive",eI="tabview-page-button-left-inactive",eP="menu-slidebar",eO="toolbar-button-checked",fn="decoration/tree/open-selected.png",fo="radiobutton-checked",fl="decoration/window/minimize-inactive.png",fm="icon/16/apps/office-calendar.png",fj="group",fk="tabview-page-button-right-inactive",fh="decoration/window/minimize-active.png",fi="decoration/window/restore-inactive.png",fp="checkbox-checked-focused",fq="splitpane",fF="combobox/textfield",fE="button-preselected-focused",fH="decoration/window/close-active-hovered.png",fG="qx/icon/Tango/16/actions/window-close.png",fJ="checkbox-pressed",fI="button-disabled",fL="selected-dragover",fK="border-separator",fD="decoration/window/maximize-inactive.png",fC="dragover",gn="scrollarea",go="scrollbar-vertical",gp="decoration/menu/checkbox-invert.gif",gq="decoration/toolbar/toolbar-handle-knob.gif",gj="icon/22/mimetypes/office-document.png",gk="button-preselected",gl="button-checked-focused",gm="up.png",gh="best-fit",gi="decoration/tree/closed-selected.png",cu="qx.theme.modern.Appearance",ct="text-active",cs="toolbar-button-hovered",cr="progressive-table-header",cq="decoration/table/select-column-order.png",cp="decoration/menu/radiobutton.gif",co="decoration/arrows/forward.png",cn="decoration/table/descending.png",cm="window-captionbar-active",cl="checkbox-checked-hovered",cH="scrollbar-slider-vertical",cI="toolbar",cF="alias",cG="decoration/window/restore-active.png",cL="decoration/table/boolean-false.png",cM="checkbox-checked-disabled",cJ="icon/32/mimetypes/office-document.png",cK="radiobutton-checked-disabled",cO="tabview-pane",cP="decoration/arrows/rewind.png",eT="checkbox-focused",eN="top",fb="#EEE",eW="icon/16/actions/dialog-ok.png",eC="radiobutton-checked-hovered",eA="table-header-cell-hovered",dd="window",eD="text-gray",dp="decoration/menu/radiobutton-invert.gif",dn="text-placeholder",ei="slider",ej="keep-align",ek="down.png",el="tabview-page-button-top-active",em="icon/32/places/folder-open.png",en="icon/22/places/folder.png",eo="decoration/window/maximize-active.png",ep="checkbox-checked-pressed",eg="decoration/window/close-inactive.png",eh="tabview-page-button-left-active",eB="toolbar-part",fa="decoration/splitpane/knob-vertical.png",eY=".gif",eX="icon/22/places/folder-open.png",ff="radiobutton-checked-pressed",fe="table-statusbar",fd="radiobutton-pressed",fc="window-captionbar-inactive",eV="copy",eU="radiobutton-focused",cN="decoration/arrows/down-invert.png",dt="decoration/menu/checkbox.gif",ds="decoration/splitpane/knob-horizontal.png",eM="icon/32/places/folder.png",dE="toolbar-separator",eS="tabview-page-button-bottom-active",eR="decoration/arrows/up-small.png",eQ="decoration/table/ascending.png",dc="decoration/arrows/up-invert.png",fg="small",cQ="tabview-page-button-right-active",de="-disabled",ea="scrollbar-horizontal",eb="progressive-table-header-cell",ec="menu-separator",ed="pane",ee="decoration/arrows/right-invert.png",ef="left.png",fr="icon/16/actions/view-refresh.png";
qx.Theme.define(cu,{appearances:{"widget":{},"root":{style:function(e){return {backgroundColor:fB,textColor:cE,font:dz};
}},"label":{style:function(N){return {textColor:N.disabled?ez:undefined};
}},"move-frame":{style:function(ca){return {decorator:fS};
}},"resize-frame":dF,"dragdrop-cursor":{style:function(hH){var hI=dG;

if(hH.copy){hI=eV;
}else if(hH.move){hI=dk;
}else if(hH.alias){hI=cF;
}return {source:dJ+hI+eY,position:cw,offset:[2,16,2,6]};
}},"image":{style:function(bl){return {opacity:!bl.replacement&&bl.disabled?0.3:1};
}},"atom":{},"atom/label":ga,"atom/icon":fP,"popup":{style:function(hp){return {decorator:fS,backgroundColor:fM,shadow:dB};
}},"button-frame":{alias:fU,style:function(hl){var hn,hm;

if(hl.checked&&hl.focused&&!hl.inner){hn=gl;
hm=undefined;
}else if(hl.disabled){hn=fI;
hm=undefined;
}else if(hl.pressed){hn=dV;
hm=fu;
}else if(hl.checked){hn=cW;
hm=undefined;
}else if(hl.hovered){hn=dQ;
hm=fu;
}else if(hl.preselected&&hl.focused&&!hl.inner){hn=fE;
hm=fu;
}else if(hl.preselected){hn=gk;
hm=fu;
}else if(hl.focused&&!hl.inner){hn=gr;
hm=undefined;
}else{hn=fR;
hm=undefined;
}return {decorator:hn,textColor:hm,shadow:hl.invalid&&!hl.disabled?eG:undefined};
}},"button-frame/image":{style:function(he){return {opacity:!he.replacement&&he.disabled?0.5:1};
}},"button":{alias:fV,include:fV,style:function(T){return {padding:[2,8],center:true};
}},"hover-button":{alias:fU,include:fU,style:function(bo){return {decorator:bo.hovered?ev:undefined,textColor:bo.hovered?fQ:undefined};
}},"splitbutton":{},"splitbutton/button":fR,"splitbutton/arrow":{alias:fR,include:fR,style:function(hb){return {icon:ex,padding:2,marginLeft:1};
}},"checkbox":{alias:fU,style:function(t){var v;

if(t.checked&&t.focused){v=fp;
}else if(t.checked&&t.disabled){v=cM;
}else if(t.checked&&t.pressed){v=ep;
}else if(t.checked&&t.hovered){v=cl;
}else if(t.checked){v=eF;
}else if(t.focused){v=eT;
}else if(t.pressed){v=fJ;
}else if(t.hovered){v=eH;
}else{v=cx;
}var u=t.invalid&&!t.disabled?cU:da;
return {icon:db+v+u+gz,gap:6};
}},"radiobutton":{alias:fU,style:function(gR){var gT;

if(gR.checked&&gR.focused){gT=dj;
}else if(gR.checked&&gR.disabled){gT=cK;
}else if(gR.checked&&gR.pressed){gT=ff;
}else if(gR.checked&&gR.hovered){gT=eC;
}else if(gR.checked){gT=fo;
}else if(gR.focused){gT=eU;
}else if(gR.pressed){gT=fd;
}else if(gR.hovered){gT=cS;
}else{gT=fA;
}var gS=gR.invalid&&!gR.disabled?cU:da;
return {icon:db+gT+gS+gz,gap:6};
}},"textfield":{style:function(bF){var bK;
var bI=!!bF.focused;
var bJ=!!bF.invalid;
var bG=!!bF.disabled;

if(bI&&bJ&&!bG){bK=eq;
}else if(bI&&!bJ&&!bG){bK=gb;
}else if(bG){bK=es;
}else if(!bI&&bJ&&!bG){bK=eu;
}else{bK=et;
}var bH;

if(bF.disabled){bH=ez;
}else if(bF.showingPlaceholder){bH=dn;
}else{bH=gw;
}return {decorator:bK,padding:[2,4,1],textColor:bH};
}},"textarea":{include:fz,style:function(bc){return {padding:4};
}},"spinner":{style:function(by){var bC;
var bA=!!by.focused;
var bB=!!by.invalid;
var bz=!!by.disabled;

if(bA&&bB&&!bz){bC=eq;
}else if(bA&&!bB&&!bz){bC=gb;
}else if(bz){bC=es;
}else if(!bA&&bB&&!bz){bC=eu;
}else{bC=et;
}return {decorator:bC};
}},"spinner/textfield":{style:function(bD){return {marginRight:2,padding:[2,4,1],textColor:bD.disabled?ez:gw};
}},"spinner/upbutton":{alias:fV,include:fV,style:function(gC){return {icon:eR,padding:gC.pressed?[2,2,0,4]:[1,3,1,3],shadow:undefined};
}},"spinner/downbutton":{alias:fV,include:fV,style:function(J){return {icon:dw,padding:J.pressed?[2,2,0,4]:[1,3,1,3],shadow:undefined};
}},"datefield":cv,"datefield/button":{alias:cC,include:cC,style:function(bT){return {icon:fm,padding:[0,3],decorator:undefined};
}},"datefield/textfield":fF,"datefield/list":{alias:dx,include:dx,style:function(x){return {decorator:undefined};
}},"groupbox":{style:function(o){return {legendPosition:eN};
}},"groupbox/legend":{alias:fU,style:function(cf){return {padding:[1,0,1,4],textColor:cf.invalid?fs:cy,font:fO};
}},"groupbox/frame":{style:function(hr){return {padding:12,decorator:fj};
}},"check-groupbox":ey,"check-groupbox/legend":{alias:cx,include:cx,style:function(hW){return {padding:[1,0,1,4],textColor:hW.invalid?fs:cy,font:fO};
}},"radio-groupbox":ey,"radio-groupbox/legend":{alias:fA,include:fA,style:function(bj){return {padding:[1,0,1,4],textColor:bj.invalid?fs:cy,font:fO};
}},"scrollarea":{style:function(i){return {minWidth:50,minHeight:50};
}},"scrollarea/corner":{style:function(hV){return {backgroundColor:fB};
}},"scrollarea/pane":fT,"scrollarea/scrollbar-x":gg,"scrollarea/scrollbar-y":gg,"scrollbar":{style:function(gL){if(gL[dY]){return {};
}return {width:gL.horizontal?undefined:16,height:gL.horizontal?16:undefined,decorator:gL.horizontal?ea:go,padding:1};
}},"scrollbar/slider":{alias:ei,style:function(hG){return {padding:hG.horizontal?[0,1,0,1]:[1,0,1,0]};
}},"scrollbar/slider/knob":{include:fV,style:function(bd){var be=bd.horizontal?gt:cH;

if(bd.disabled){be+=de;
}return {decorator:be,minHeight:bd.horizontal?undefined:9,minWidth:bd.horizontal?9:undefined};
}},"scrollbar/button":{alias:fV,include:fV,style:function(bU){var bV=dR;

if(bU.left){bV+=ef;
}else if(bU.right){bV+=df;
}else if(bU.up){bV+=gm;
}else{bV+=ek;
}
if(bU.left||bU.right){return {padding:[0,0,0,bU.left?3:4],icon:bV,width:15,height:14};
}else{return {padding:[0,0,0,2],icon:bV,width:14,height:15};
}}},"scrollbar/button-begin":cA,"scrollbar/button-end":cA,"slider":{style:function(ht){var hx;
var hv=!!ht.focused;
var hw=!!ht.invalid;
var hu=!!ht.disabled;

if(hv&&hw&&!hu){hx=eq;
}else if(hv&&!hw&&!hu){hx=gb;
}else if(hu){hx=es;
}else if(!hv&&hw&&!hu){hx=eu;
}else{hx=et;
}return {decorator:hx};
}},"slider/knob":{include:fV,style:function(a){return {decorator:a.disabled?dT:gt,shadow:undefined,height:14,width:14};
}},"list":{alias:gn,style:function(hO){var hS;
var hQ=!!hO.focused;
var hR=!!hO.invalid;
var hP=!!hO.disabled;

if(hQ&&hR&&!hP){hS=eq;
}else if(hQ&&!hR&&!hP){hS=gb;
}else if(hP){hS=es;
}else if(!hQ&&hR&&!hP){hS=eu;
}else{hS=et;
}return {backgroundColor:fM,decorator:hS};
}},"list/pane":fT,"listitem":{alias:fU,style:function(gJ){var gK;

if(gJ.dragover){gK=gJ.selected?fL:fC;
}else{gK=gJ.selected?ev:undefined;
}return {padding:gJ.dragover?[4,4,2,4]:4,textColor:gJ.selected?fQ:undefined,decorator:gK};
}},"slidebar":{},"slidebar/scrollpane":{},"slidebar/content":{},"slidebar/button-forward":{alias:fV,include:fV,style:function(cg){return {padding:5,center:true,icon:cg.vertical?ex:fy};
}},"slidebar/button-backward":{alias:fV,include:fV,style:function(L){return {padding:5,center:true,icon:L.vertical?cX:gs};
}},"tabview":{style:function(gN){return {contentPadding:16};
}},"tabview/bar":{alias:dK,style:function(cb){var cc={marginBottom:cb.barTop?-1:0,marginTop:cb.barBottom?-4:0,marginLeft:cb.barRight?-3:0,marginRight:cb.barLeft?-1:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0};

if(cb.barTop||cb.barBottom){cc.paddingLeft=5;
cc.paddingRight=7;
}else{cc.paddingTop=5;
cc.paddingBottom=7;
}return cc;
}},"tabview/bar/button-forward":{include:gv,alias:gv,style:function(bu){if(bu.barTop||bu.barBottom){return {marginTop:2,marginBottom:2};
}else{return {marginLeft:2,marginRight:2};
}}},"tabview/bar/button-backward":{include:dC,alias:dC,style:function(gH){if(gH.barTop||gH.barBottom){return {marginTop:2,marginBottom:2};
}else{return {marginLeft:2,marginRight:2};
}}},"tabview/bar/scrollpane":{},"tabview/pane":{style:function(z){return {decorator:cO,minHeight:100,marginBottom:z.barBottom?-1:0,marginTop:z.barTop?-1:0,marginLeft:z.barLeft?-1:0,marginRight:z.barRight?-1:0};
}},"tabview-page":fT,"tabview-page/button":{alias:fU,style:function(bM){var bS,bO=0;
var bR=0,bN=0,bP=0,bQ=0;

if(bM.checked){if(bM.barTop){bS=el;
bO=[6,14];
bP=bM.firstTab?0:-5;
bQ=bM.lastTab?0:-5;
}else if(bM.barBottom){bS=eS;
bO=[6,14];
bP=bM.firstTab?0:-5;
bQ=bM.lastTab?0:-5;
}else if(bM.barRight){bS=cQ;
bO=[6,13];
bR=bM.firstTab?0:-5;
bN=bM.lastTab?0:-5;
}else{bS=eh;
bO=[6,13];
bR=bM.firstTab?0:-5;
bN=bM.lastTab?0:-5;
}}else{if(bM.barTop){bS=eJ;
bO=[4,10];
bR=4;
bP=bM.firstTab?5:1;
bQ=1;
}else if(bM.barBottom){bS=dr;
bO=[4,10];
bN=4;
bP=bM.firstTab?5:1;
bQ=1;
}else if(bM.barRight){bS=fk;
bO=[4,10];
bQ=5;
bR=bM.firstTab?5:1;
bN=1;
bP=1;
}else{bS=eI;
bO=[4,10];
bP=5;
bR=bM.firstTab?5:1;
bN=1;
bQ=1;
}}return {zIndex:bM.checked?10:5,decorator:bS,padding:bO,marginTop:bR,marginBottom:bN,marginLeft:bP,marginRight:bQ,textColor:bM.checked?ct:dl};
}},"tabview-page/button/label":{alias:ga,style:function(r){return {padding:[0,1,0,1],margin:r.focused?0:1,decorator:r.focused?cR:undefined};
}},"tabview-page/button/close-button":{alias:fU,style:function(bk){return {icon:fG};
}},"toolbar":{style:function(hX){return {decorator:cI,spacing:2};
}},"toolbar/part":{style:function(ch){return {decorator:eB,spacing:2};
}},"toolbar/part/container":{style:function(bW){return {paddingLeft:2,paddingRight:2};
}},"toolbar/part/handle":{style:function(j){return {source:gq,marginLeft:3,marginRight:3};
}},"toolbar-button":{alias:fU,style:function(h){return {marginTop:2,marginBottom:2,padding:(h.pressed||h.checked||h.hovered)&&!h.disabled||(h.disabled&&h.checked)?3:5,decorator:h.pressed||(h.checked&&!h.hovered)||(h.checked&&h.disabled)?eO:h.hovered&&!h.disabled?cs:undefined};
}},"toolbar-menubutton":{alias:gd,include:gd,style:function(p){return {showArrow:true};
}},"toolbar-menubutton/arrow":{alias:fP,include:fP,style:function(gQ){return {source:dw};
}},"toolbar-splitbutton":{style:function(ic){return {marginTop:2,marginBottom:2};
}},"toolbar-splitbutton/button":{alias:gd,include:gd,style:function(gF){return {icon:ex,marginTop:undefined,marginBottom:undefined};
}},"toolbar-splitbutton/arrow":{alias:gd,include:gd,style:function(gW){return {padding:gW.pressed||gW.checked?1:gW.hovered?1:3,icon:ex,marginTop:undefined,marginBottom:undefined};
}},"toolbar-separator":{style:function(hL){return {decorator:dE,margin:7};
}},"tree":fW,"tree-item":{style:function(gI){return {padding:[2,6],textColor:gI.selected?fQ:undefined,decorator:gI.selected?ev:undefined};
}},"tree-item/icon":{include:fP,style:function(E){return {paddingRight:5};
}},"tree-item/label":ga,"tree-item/open":{include:fP,style:function(cd){var ce;

if(cd.selected&&cd.opened){ce=fn;
}else if(cd.selected&&!cd.opened){ce=gi;
}else if(cd.opened){ce=dy;
}else{ce=gu;
}return {padding:[0,5,0,2],source:ce};
}},"tree-folder":{include:fX,alias:fX,style:function(F){var G;

if(F.small){G=F.opened?cT:cD;
}else if(F.large){G=F.opened?em:eM;
}else{G=F.opened?eX:en;
}return {icon:G};
}},"tree-file":{include:fX,alias:fX,style:function(A){return {icon:A.small?du:A.large?cJ:gj};
}},"treevirtual":cY,"treevirtual-folder":{style:function(bv){return {icon:bv.opened?cT:cD};
}},"treevirtual-file":{include:dA,alias:dA,style:function(s){return {icon:du};
}},"treevirtual-line":{style:function(hz){return {icon:cz};
}},"treevirtual-contract":{style:function(gD){return {icon:dy,paddingLeft:5,paddingTop:2};
}},"treevirtual-expand":{style:function(C){return {icon:gu,paddingLeft:5,paddingTop:2};
}},"treevirtual-only-contract":gf,"treevirtual-only-expand":fw,"treevirtual-start-contract":gf,"treevirtual-start-expand":fw,"treevirtual-end-contract":gf,"treevirtual-end-expand":fw,"treevirtual-cross-contract":gf,"treevirtual-cross-expand":fw,"treevirtual-end":{style:function(U){return {icon:cz};
}},"treevirtual-cross":{style:function(Y){return {icon:cz};
}},"tooltip":{include:gc,style:function(bb){return {backgroundColor:dS,padding:[1,3,2,3],offset:[15,5,5,5]};
}},"tooltip/atom":fU,"tooltip-error":{include:fY,style:function(gE){return {textColor:fQ,placeMethod:fT,offset:[0,0,0,14],marginTop:-2,position:cw,showTimeout:100,hideTimeout:10000,decorator:dq,shadow:dL,font:fO};
}},"tooltip-error/atom":fU,"window":{style:function(c){return {shadow:dh,contentPadding:[10,10,10,10]};
}},"window/pane":{style:function(d){return {decorator:dd};
}},"window/captionbar":{style:function(ci){return {decorator:ci.active?cm:fc,textColor:ci.active?ft:eD,minHeight:26,paddingRight:2};
}},"window/icon":{style:function(l){return {margin:[5,0,3,6]};
}},"window/title":{style:function(R){return {alignY:fN,font:fO,marginLeft:6,marginRight:12};
}},"window/minimize-button":{alias:fU,style:function(gV){return {icon:gV.active?gV.hovered?eE:fh:fl,margin:[4,8,2,0]};
}},"window/restore-button":{alias:fU,style:function(w){return {icon:w.active?w.hovered?di:cG:fi,margin:[5,8,2,0]};
}},"window/maximize-button":{alias:fU,style:function(id){return {icon:id.active?id.hovered?cV:eo:fD,margin:[4,8,2,0]};
}},"window/close-button":{alias:fU,style:function(hf){return {icon:hf.active?hf.hovered?fH:dX:eg,margin:[4,8,2,0]};
}},"window/statusbar":{style:function(D){return {padding:[2,6],decorator:dP,minHeight:18};
}},"window/statusbar-text":{style:function(hJ){return {font:fg};
}},"iframe":{style:function(bf){return {decorator:fS};
}},"resizer":{style:function(hc){return {decorator:ed};
}},"splitpane":{style:function(bg){return {decorator:fq};
}},"splitpane/splitter":{style:function(ba){return {width:ba.horizontal?3:undefined,height:ba.vertical?3:undefined,backgroundColor:gA};
}},"splitpane/splitter/knob":{style:function(K){return {source:K.horizontal?ds:fa};
}},"splitpane/slider":{style:function(gM){return {width:gM.horizontal?3:undefined,height:gM.vertical?3:undefined,backgroundColor:gA};
}},"selectbox":{alias:fV,include:fV,style:function(bx){return {padding:[2,8]};
}},"selectbox/atom":fU,"selectbox/popup":gc,"selectbox/list":{alias:fW},"selectbox/arrow":{include:fP,style:function(ia){return {source:ex,paddingLeft:5};
}},"datechooser":{style:function(hg){var hk;
var hi=!!hg.focused;
var hj=!!hg.invalid;
var hh=!!hg.disabled;

if(hi&&hj&&!hh){hk=eq;
}else if(hi&&!hj&&!hh){hk=gb;
}else if(hh){hk=es;
}else if(!hi&&hj&&!hh){hk=eu;
}else{hk=et;
}return {padding:2,decorator:hk,backgroundColor:fM};
}},"datechooser/navigation-bar":{},"datechooser/nav-button":{include:fV,alias:fV,style:function(bp){var bq={padding:[2,4],shadow:undefined};

if(bp.lastYear){bq.icon=cP;
bq.marginRight=1;
}else if(bp.lastMonth){bq.icon=gs;
}else if(bp.nextYear){bq.icon=co;
bq.marginLeft=1;
}else if(bp.nextMonth){bq.icon=fy;
}return bq;
}},"datechooser/last-year-button-tooltip":fY,"datechooser/last-month-button-tooltip":fY,"datechooser/next-year-button-tooltip":fY,"datechooser/next-month-button-tooltip":fY,"datechooser/last-year-button":fv,"datechooser/last-month-button":fv,"datechooser/next-month-button":fv,"datechooser/next-year-button":fv,"datechooser/month-year-label":{style:function(bh){return {font:fO,textAlign:fx,textColor:bh.disabled?ez:undefined};
}},"datechooser/date-pane":{style:function(gB){return {textColor:gB.disabled?ez:undefined,marginTop:2};
}},"datechooser/weekday":{style:function(hY){return {textColor:hY.disabled?ez:hY.weekend?gy:undefined,textAlign:fx,paddingTop:2,backgroundColor:dv};
}},"datechooser/week":{style:function(bL){return {textAlign:fx,padding:[2,4],backgroundColor:dv};
}},"datechooser/day":{style:function(ck){return {textAlign:fx,decorator:ck.disabled?undefined:ck.selected?ev:undefined,textColor:ck.disabled?ez:ck.selected?fQ:ck.otherMonth?gy:undefined,font:ck.today?fO:undefined,padding:[2,4]};
}},"combobox":{style:function(hA){var hE;
var hC=!!hA.focused;
var hD=!!hA.invalid;
var hB=!!hA.disabled;

if(hC&&hD&&!hB){hE=eq;
}else if(hC&&!hD&&!hB){hE=gb;
}else if(hB){hE=es;
}else if(!hC&&hD&&!hB){hE=eu;
}else{hE=et;
}return {decorator:hE};
}},"combobox/popup":gc,"combobox/list":{alias:fW},"combobox/button":{include:fV,alias:fV,style:function(hM){var hN={icon:ex,padding:2};

if(hM.selected){hN.decorator=gr;
}return hN;
}},"combobox/textfield":{include:fz,style:function(f){return {decorator:undefined};
}},"menu":{style:function(gX){var gY={decorator:dN,shadow:dB,spacingX:6,spacingY:1,iconColumnWidth:16,arrowColumnWidth:4,placementModeY:gX.submenu||gX.contextmenu?gh:ej};

if(gX.submenu){gY.position=cw;
gY.offset=[-2,-3];
}return gY;
}},"menu/slidebar":eP,"menu-slidebar":fT,"menu-slidebar-button":{style:function(I){return {decorator:I.hovered?ev:undefined,padding:7,center:true};
}},"menu-slidebar/button-backward":{include:gx,style:function(ho){return {icon:ho.hovered?dc:cX};
}},"menu-slidebar/button-forward":{include:gx,style:function(g){return {icon:g.hovered?cN:ex};
}},"menu-separator":{style:function(br){return {height:0,decorator:ec,margin:[4,2]};
}},"menu-button":{alias:fU,style:function(ie){return {decorator:ie.selected?ev:undefined,textColor:ie.selected?fQ:undefined,padding:[4,6]};
}},"menu-button/icon":{include:fP,style:function(gP){return {alignY:fN};
}},"menu-button/label":{include:ga,style:function(hy){return {alignY:fN,padding:1};
}},"menu-button/shortcut":{include:ga,style:function(q){return {alignY:fN,marginLeft:14,padding:1};
}},"menu-button/arrow":{include:fP,style:function(gO){return {source:gO.selected?ee:fy,alignY:fN};
}},"menu-checkbox":{alias:er,include:er,style:function(hT){return {icon:!hT.checked?undefined:hT.selected?gp:dt};
}},"menu-radiobutton":{alias:er,include:er,style:function(hs){return {icon:!hs.checked?undefined:hs.selected?dp:cp};
}},"menubar":{style:function(ig){return {decorator:eL};
}},"menubar-button":{alias:fU,style:function(bn){return {decorator:bn.pressed||bn.hovered?ev:undefined,textColor:bn.pressed||bn.hovered?fQ:undefined,padding:[3,8]};
}},"colorselector":fT,"colorselector/control-bar":fT,"colorselector/control-pane":fT,"colorselector/visual-pane":ey,"colorselector/preset-grid":fT,"colorselector/colorbucket":{style:function(cj){return {decorator:fS,width:16,height:16};
}},"colorselector/preset-field-set":ey,"colorselector/input-field-set":ey,"colorselector/preview-field-set":ey,"colorselector/hex-field-composite":fT,"colorselector/hex-field":fz,"colorselector/rgb-spinner-composite":fT,"colorselector/rgb-spinner-red":ge,"colorselector/rgb-spinner-green":ge,"colorselector/rgb-spinner-blue":ge,"colorselector/hsb-spinner-composite":fT,"colorselector/hsb-spinner-hue":ge,"colorselector/hsb-spinner-saturation":ge,"colorselector/hsb-spinner-brightness":ge,"colorselector/preview-content-old":{style:function(n){return {decorator:fS,width:50,height:10};
}},"colorselector/preview-content-new":{style:function(W){return {decorator:fS,backgroundColor:fM,width:50,height:10};
}},"colorselector/hue-saturation-field":{style:function(S){return {decorator:fS,margin:5};
}},"colorselector/brightness-field":{style:function(bi){return {decorator:fS,margin:[5,7]};
}},"colorselector/hue-saturation-pane":fT,"colorselector/hue-saturation-handle":fT,"colorselector/brightness-pane":fT,"colorselector/brightness-handle":fT,"colorpopup":{alias:gc,include:gc,style:function(bs){return {padding:5,backgroundColor:fB};
}},"colorpopup/field":{style:function(hq){return {decorator:fS,margin:2,width:14,height:14,backgroundColor:fM};
}},"colorpopup/selector-button":fR,"colorpopup/auto-button":fR,"colorpopup/preview-pane":ey,"colorpopup/current-preview":{style:function(bm){return {height:20,padding:4,marginLeft:4,decorator:fS,allowGrowX:true};
}},"colorpopup/selected-preview":{style:function(k){return {height:20,padding:4,marginRight:4,decorator:fS,allowGrowX:true};
}},"colorpopup/colorselector-okbutton":{alias:fR,include:fR,style:function(bt){return {icon:eW};
}},"colorpopup/colorselector-cancelbutton":{alias:fR,include:fR,style:function(ib){return {icon:eK};
}},"table":{alias:fT,style:function(ha){return {decorator:cY};
}},"table-header":{},"table/statusbar":{style:function(m){return {decorator:fe,padding:[0,2]};
}},"table/column-button":{alias:fV,style:function(X){return {decorator:dg,padding:3,icon:cq};
}},"table-column-reset-button":{include:er,alias:er,style:function(){return {icon:fr};
}},"table-scroller":fT,"table-scroller/scrollbar-x":gg,"table-scroller/scrollbar-y":gg,"table-scroller/header":{style:function(O){return {decorator:dU};
}},"table-scroller/pane":{style:function(bE){return {backgroundColor:dW};
}},"table-scroller/focus-indicator":{style:function(Q){return {decorator:dM};
}},"table-scroller/resize-line":{style:function(H){return {backgroundColor:fK,width:2};
}},"table-header-cell":{alias:fU,style:function(hF){return {minWidth:13,minHeight:20,padding:hF.hovered?[3,4,2,4]:[3,4],decorator:hF.hovered?eA:dI,sortIcon:hF.sorted?(hF.sortedAscending?eQ:cn):undefined};
}},"table-header-cell/label":{style:function(y){return {minWidth:0,alignY:fN,paddingRight:5};
}},"table-header-cell/sort-icon":{style:function(M){return {alignY:fN,alignX:cB};
}},"table-header-cell/icon":{style:function(bX){return {minWidth:0,alignY:fN,paddingRight:5};
}},"table-editor-textfield":{include:fz,style:function(hK){return {decorator:undefined,padding:[2,2],backgroundColor:fM};
}},"table-editor-selectbox":{include:dD,alias:dD,style:function(hd){return {padding:[0,2],backgroundColor:fM};
}},"table-editor-combobox":{include:cv,alias:cv,style:function(B){return {decorator:undefined,backgroundColor:fM};
}},"progressive-table-header":{alias:fT,style:function(hU){return {decorator:cr};
}},"progressive-table-header-cell":{alias:fU,style:function(bY){return {minWidth:40,minHeight:25,paddingLeft:6,decorator:eb};
}},"app-header":{style:function(V){return {font:fO,textColor:fQ,padding:[8,12],decorator:dO};
}},"virtual-list":fW,"virtual-list/row-layer":dm,"row-layer":{style:function(gG){return {colorEven:ft,colorOdd:fb};
}},"column-layer":fT,"cell":{style:function(P){return {textColor:P.selected?fQ:cE,padding:[3,6],font:dz};
}},"cell-string":ew,"cell-number":{include:ew,style:function(bw){return {textAlign:cB};
}},"cell-image":ew,"cell-boolean":{include:ew,style:function(gU){return {iconTrue:dH,iconFalse:cL};
}},"cell-atom":ew,"cell-date":ew,"cell-html":ew,"htmlarea":{"include":fT,style:function(b){return {backgroundColor:ft};
}}}});
})();
(function(){var c="Tango",b="qx/icon/Tango",a="qx.theme.icon.Tango";
qx.Theme.define(a,{title:c,aliases:{"icon":b},icons:{}});
})();
(function(){var b="qx.theme.Modern",a="Modern";
qx.Theme.define(b,{title:a,meta:{color:qx.theme.modern.Color,decoration:qx.theme.modern.Decoration,font:qx.theme.modern.Font,appearance:qx.theme.modern.Appearance,icon:qx.theme.icon.Tango}});
})();
(function(){var l="_applyStyle",k="stretch",j="Integer",i="px",h=" ",g="repeat",f="round",e="shorthand",d="px ",c="sliceBottom",A=";'></div>",z="<div style='",y="sliceLeft",x="sliceRight",w="repeatX",v="String",u="qx.ui.decoration.css3.BorderImage",t="border-box",s="",r='") ',p="sliceTop",q='url("',n="hidden",o="repeatY",m="absolute";
qx.Class.define(u,{extend:qx.ui.decoration.Abstract,construct:function(B,C){qx.ui.decoration.Abstract.call(this);
if(B!=null){this.setBorderImage(B);
}
if(C!=null){this.setSlice(C);
}},statics:{IS_SUPPORTED:qx.bom.element.Style.isPropertySupported("borderImage")},properties:{borderImage:{check:v,nullable:true,apply:l},sliceTop:{check:j,init:0,apply:l},sliceRight:{check:j,init:0,apply:l},sliceBottom:{check:j,init:0,apply:l},sliceLeft:{check:j,init:0,apply:l},slice:{group:[p,x,c,y],mode:e},repeatX:{check:[k,g,f],init:k,apply:l},repeatY:{check:[k,g,f],init:k,apply:l},repeat:{group:[w,o],mode:e}},members:{__xg:null,_getDefaultInsets:function(){return {top:0,right:0,bottom:0,left:0};
},_isInitialized:function(){return !!this.__xg;
},getMarkup:function(){if(this.__xg){return this.__xg;
}var D=this._resolveImageUrl(this.getBorderImage());
var E=[this.getSliceTop(),this.getSliceRight(),this.getSliceBottom(),this.getSliceLeft()];
var F=[this.getRepeatX(),this.getRepeatY()].join(h);
this.__xg=[z,qx.bom.element.Style.compile({"borderImage":q+D+r+E.join(h)+h+F,position:m,lineHeight:0,fontSize:0,overflow:n,boxSizing:t,borderWidth:E.join(d)+i}),A].join(s);
return this.__xg;
},resize:function(H,I,J){H.style.width=I+i;
H.style.height=J+i;
},tint:function(a,b){},_applyStyle:function(){{};
},_resolveImageUrl:function(G){return qx.util.ResourceManager.getInstance().toUri(qx.util.AliasManager.getInstance().resolve(G));
}},destruct:function(){this.__xg=null;
}});
})();
(function(){var n="px",m="0px",l="-1px",k="no-repeat",j="scale-x",i="scale-y",h="-tr",g="-l",f='</div>',e="scale",B="qx.client",A="-br",z="-t",y="-tl",x="-r",w='<div style="position:absolute;top:0;left:0;overflow:hidden;font-size:0;line-height:0;">',v="_applyBaseImage",u="-b",t="String",s="",q="-bl",r="qx.ui.decoration.GridDiv",o="-c",p="mshtml";
qx.Class.define(r,{extend:qx.ui.decoration.Abstract,construct:function(c,d){qx.ui.decoration.Abstract.call(this);
if(c!=null){this.setBaseImage(c);
}
if(d!=null){this.setInsets(d);
}},properties:{baseImage:{check:t,nullable:true,apply:v}},members:{__xh:null,__xi:null,__xj:null,_getDefaultInsets:function(){return {top:0,right:0,bottom:0,left:0};
},_isInitialized:function(){return !!this.__xh;
},getMarkup:function(){if(this.__xh){return this.__xh;
}var C=qx.bom.element.Decoration;
var D=this.__xi;
var E=this.__xj;
var F=[];
F.push(w);
F.push(C.create(D.tl,k,{top:0,left:0}));
F.push(C.create(D.t,j,{top:0,left:E.left+n}));
F.push(C.create(D.tr,k,{top:0,right:0}));
F.push(C.create(D.bl,k,{bottom:0,left:0}));
F.push(C.create(D.b,j,{bottom:0,left:E.left+n}));
F.push(C.create(D.br,k,{bottom:0,right:0}));
F.push(C.create(D.l,i,{top:E.top+n,left:0}));
F.push(C.create(D.c,e,{top:E.top+n,left:E.left+n}));
F.push(C.create(D.r,i,{top:E.top+n,right:0}));
F.push(f);
return this.__xh=F.join(s);
},resize:function(J,K,L){var M=this.__xj;
var innerWidth=K-M.left-M.right;
var innerHeight=L-M.top-M.bottom;
if(innerWidth<0){innerWidth=0;
}
if(innerHeight<0){innerHeight=0;
}J.style.width=K+n;
J.style.height=L+n;
J.childNodes[1].style.width=innerWidth+n;
J.childNodes[4].style.width=innerWidth+n;
J.childNodes[7].style.width=innerWidth+n;
J.childNodes[6].style.height=innerHeight+n;
J.childNodes[7].style.height=innerHeight+n;
J.childNodes[8].style.height=innerHeight+n;

if(qx.core.Variant.isSet(B,p)){if(qx.bom.client.Engine.VERSION<7||(qx.bom.client.Feature.QUIRKS_MODE&&qx.bom.client.Engine.VERSION<8)){if(K%2==1){J.childNodes[2].style.marginRight=l;
J.childNodes[5].style.marginRight=l;
J.childNodes[8].style.marginRight=l;
}else{J.childNodes[2].style.marginRight=m;
J.childNodes[5].style.marginRight=m;
J.childNodes[8].style.marginRight=m;
}
if(L%2==1){J.childNodes[3].style.marginBottom=l;
J.childNodes[4].style.marginBottom=l;
J.childNodes[5].style.marginBottom=l;
}else{J.childNodes[3].style.marginBottom=m;
J.childNodes[4].style.marginBottom=m;
J.childNodes[5].style.marginBottom=m;
}}}},tint:function(a,b){},_applyBaseImage:function(N,O){{};

if(N){var S=this._resolveImageUrl(N);
var T=/(.*)(\.[a-z]+)$/.exec(S);
var R=T[1];
var Q=T[2];
var P=this.__xi={tl:R+y+Q,t:R+z+Q,tr:R+h+Q,bl:R+q+Q,b:R+u+Q,br:R+A+Q,l:R+g+Q,c:R+o+Q,r:R+x+Q};
this.__xj=this._computeEdgeSizes(P);
}},_resolveImageUrl:function(G){return qx.util.AliasManager.getInstance().resolve(G);
},_computeEdgeSizes:function(H){var I=qx.util.ResourceManager.getInstance();
return {top:I.getImageHeight(H.t),bottom:I.getImageHeight(H.b),left:I.getImageWidth(H.l),right:I.getImageWidth(H.r)};
}},destruct:function(){this.__xh=this.__xi=this.__xj=null;
}});
})();


qx.$$loader.init();

