(function(){

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

qx.$$start = new Date();
  
if (!qx.$$environment) qx.$$environment = {};
var envinfo = {"qx.application":"grfind.Application","qx.debug":false,"qx.optimization.basecalls":true,"qx.optimization.comments":true,"qx.optimization.privates":true,"qx.optimization.strings":true,"qx.optimization.variables":true,"qx.optimization.variants":true,"qx.revision":"unknown","qx.theme":"grfind.theme.Theme","qx.version":"1.5"};
for (var k in envinfo) qx.$$environment[k] = envinfo[k];

if (!qx.$$libraries) qx.$$libraries = {};
var libinfo = {"__out__":{"sourceUri":"script"},"grfind":{"resourceUri":"resource","sourceUri":"script","version":"trunk"},"qx":{"resourceUri":"resource","sourceUri":"script","version":"1.5"}};
for (var k in libinfo) qx.$$libraries[k] = libinfo[k];

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

qx.$$loader = {
  parts : {"boot":[0]},
  packages : {"0":{"uris":["__out__:grfind.3ae83c6134d7.js"]}},
  urisBefore : [],
  cssBefore : [],
  boot : "boot",
  closureParts : {},
  bootIsInline : true,
  addNoCacheParam : false,
  
  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];
      }
      if (qx.$$loader.addNoCacheParam) {
        euri += "?nocache=" + Math.random();
      }
      
      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);
}

function loadCss(uri) {
  var elem = document.createElement("link");
  elem.rel = "stylesheet";
  elem.type= "text/css";
  elem.href= uri;
  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;
  }
  var item = list.shift();
  loadScript(item,  function() {
    if (isWebkit) {
      // force async, else Safari fails with a "maximum recursion depth exceeded"
      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, callback) {
  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];
    }
  }
  if (callback){
    callback(dataMap);
  }
}

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.applicationHandlerReady = true; 
  } else {
    qx.$$loader.applicationHandlerReady = false;
  }
}

// Load all stuff
qx.$$loader.init = function(){
  var l=qx.$$loader;
  if (l.cssBefore.length>0) {
    for (var i=0, m=l.cssBefore.length; i<m; i++) {
      loadCss(l.cssBefore[i]);
    }
  }
  if (l.urisBefore.length>0){
    loadScriptList(l.urisBefore, function(){
      l.initUris();
    });
  } else {
    l.initUris();
  }
}

// Load qooxdoo boot stuff
qx.$$loader.initUris = function(){
  var l=qx.$$loader;
  var bootPackageHash=l.parts[l.boot][0];
  if (l.bootIsInline){
    l.importPackageData(qx.$$packageData[bootPackageHash]);
    l.signalStartup();
  } else {
    loadScriptList(l.decodeUris(l.packages[l.parts[l.boot][0]].uris), function(){
      // Opera needs this extra time to parse the scripts
      window.setTimeout(function(){
        l.importPackageData(qx.$$packageData[bootPackageHash] || {});
        l.signalStartup();
      }, 0);
    });
  }
}
})();

qx.$$packageData['0']={"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":"HH:mm","cldr_date_time_format_Hms":"HH: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_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_hms":"h:mm:ss a","cldr_date_time_format_ms":"mm:ss","cldr_date_time_format_y":"y","cldr_date_time_format_yM":"M/y","cldr_date_time_format_yMEd":"EEE, M/d/y","cldr_date_time_format_yMMM":"MMM y","cldr_date_time_format_yMMMEd":"EEE, MMM d, y","cldr_date_time_format_yMMMd":"MMM d, y","cldr_date_time_format_yMd":"M/d/y","cldr_date_time_format_yQ":"Q y","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_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_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_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","day":"Day","dayperiod":"AM/PM","era":"Era","hour":"Hour","minute":"Minute","month":"Month","quotationEnd":"”","quotationStart":"“","second":"Second","week":"Week","weekday":"Day of the Week","year":"Year","zone":"Time Zone"},"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":"HH:mm","cldr_date_time_format_Hms":"HH: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_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_hms":"h:mm:ss a","cldr_date_time_format_ms":"mm:ss","cldr_date_time_format_y":"y","cldr_date_time_format_yM":"M/y","cldr_date_time_format_yMEd":"EEE, M/d/y","cldr_date_time_format_yMMM":"MMM y","cldr_date_time_format_yMMMEd":"EEE, MMM d, y","cldr_date_time_format_yMMMd":"MMM d, y","cldr_date_time_format_yMd":"M/d/y","cldr_date_time_format_yQ":"Q y","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_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_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_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","day":"Day","dayperiod":"AM/PM","era":"Era","hour":"Hour","minute":"Minute","month":"Month","quotationEnd":"”","quotationStart":"“","second":"Second","week":"Week","weekday":"Day of the Week","year":"Year","zone":"Time Zone"}},"resources":{"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-undetermined-disabled.png":[14,14,"png","qx"],"qx/decoration/Modern/form/checkbox-undetermined-focused-invalid.png":[14,14,"png","qx"],"qx/decoration/Modern/form/checkbox-undetermined-focused.png":[14,14,"png","qx"],"qx/decoration/Modern/form/checkbox-undetermined-hovered-invalid.png":[14,14,"png","qx"],"qx/decoration/Modern/form/checkbox-undetermined-hovered.png":[14,14,"png","qx"],"qx/decoration/Modern/form/checkbox-undetermined-invalid.png":[14,14,"png","qx"],"qx/decoration/Modern/form/checkbox-undetermined.png":[14,14,"png","qx"],"qx/decoration/Modern/form/checkbox.png":[14,14,"png","qx","qx/decoration/Modern/checkradio-combined.png",-140,0],"qx/decoration/Modern/form/checked-disabled.png":[6,6,"png","qx"],"qx/decoration/Modern/form/checked.png":[6,6,"png","qx"],"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/form/undetermined-disabled.png":[6,2,"png","qx"],"qx/decoration/Modern/form/undetermined.png":[6,2,"png","qx"],"qx/decoration/Modern/group-item.png":[110,20,"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-ok.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/utilities-color-chooser.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/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/static/blank.gif":[1,1,"gif","qx"],"qx/static/blank.html":"qx"},"translations":{"C":{},"en":{}}};
(function(){var m="toString",k=".",j="default",h="Object",g='"',f="Array",e="()",d="String",c="Function",b=".prototype",L="function",K="Boolean",J="Error",I="constructor",H="warn",G="hasOwnProperty",F="string",E="toLocaleString",D="RegExp",C='\", "',t="info",u="BROKEN_IE",r="isPrototypeOf",s="Date",p="",q="qx.Bootstrap",n="]",o="Class",v="error",w="[Class ",y="valueOf",x="Number",A="count",z="debug",B="ES5";
if(!window.qx){window.qx={};
}qx.Bootstrap={genericToString:function(){return w+this.classname+n;
},createNamespace:function(name,M){var O=name.split(k);
var parent=window;
var N=O[0];

for(var i=0,P=O.length-1;i<P;i++,N=O[i]){if(!parent[N]){parent=parent[N]={};
}else{parent=parent[N];
}}parent[N]=M;
return N;
},setDisplayName:function(Q,R,name){Q.displayName=R+k+name+e;
},setDisplayNames:function(S,T){for(var name in S){var U=S[name];

if(U instanceof Function){U.displayName=T+k+name+e;
}}},define:function(name,V){if(!V){var V={statics:{}};
}var bb;
var Y=null;
qx.Bootstrap.setDisplayNames(V.statics,name);

if(V.members||V.extend){qx.Bootstrap.setDisplayNames(V.members,name+b);
bb=V.construct||new Function;

if(V.extend){this.extendClass(bb,bb,V.extend,name,ba);
}var W=V.statics||{};
for(var i=0,bc=qx.Bootstrap.getKeys(W),l=bc.length;i<l;i++){var bd=bc[i];
bb[bd]=W[bd];
}Y=bb.prototype;
var X=V.members||{};
for(var i=0,bc=qx.Bootstrap.getKeys(X),l=bc.length;i<l;i++){var bd=bc[i];
Y[bd]=X[bd];
}}else{bb=V.statics||{};
}var ba=this.createNamespace(name,bb);
bb.name=bb.classname=name;
bb.basename=ba;
bb.$$type=o;
if(!bb.hasOwnProperty(m)){bb.toString=this.genericToString;
}if(V.defer){V.defer(bb,Y);
}qx.Bootstrap.$$registry[name]=V.statics;
return bb;
}};
qx.Bootstrap.define(q,{statics:{LOADSTART:qx.$$start||new Date(),DEBUG:(function(){var be=true;

if(qx.$$environment&&qx.$$environment["qx.debug"]===false){be=false;
}return be;
})(),getEnvironmentSetting:function(bf){if(qx.$$environment){return qx.$$environment[bf];
}},setEnvironmentSetting:function(bg,bh){if(!qx.$$environment){qx.$$environment={};
}
if(qx.$$environment[bg]===undefined){qx.$$environment[bg]=bh;
}},createNamespace:qx.Bootstrap.createNamespace,define:qx.Bootstrap.define,setDisplayName:qx.Bootstrap.setDisplayName,setDisplayNames:qx.Bootstrap.setDisplayNames,genericToString:qx.Bootstrap.genericToString,extendClass:function(bi,bj,bk,name,bl){var bo=bk.prototype;
var bn=new Function;
bn.prototype=bo;
var bm=new bn;
bi.prototype=bm;
bm.name=bm.classname=name;
bm.basename=bl;
bj.base=bi.superclass=bk;
bj.self=bi.constructor=bm.constructor=bi;
},getByName:function(name){return qx.Bootstrap.$$registry[name];
},$$registry:{},objectGetLength:({"count":function(bp){return bp.__count__;
},"default":function(bq){var length=0;

for(var br in bq){length++;
}return length;
}})[(({}).__count__==0)?A:j],objectMergeWith:function(bs,bt,bu){if(bu===undefined){bu=true;
}
for(var bv in bt){if(bu||bs[bv]===undefined){bs[bv]=bt[bv];
}}return bs;
},__a:[r,G,E,m,y,I],getKeys:({"ES5":Object.keys,"BROKEN_IE":function(bw){var bx=[];
var bz=Object.prototype.hasOwnProperty;

for(var bA in bw){if(bz.call(bw,bA)){bx.push(bA);
}}var by=qx.Bootstrap.__a;

for(var i=0,a=by,l=a.length;i<l;i++){if(bz.call(bw,a[i])){bx.push(a[i]);
}}return bx;
},"default":function(bB){var bC=[];
var bD=Object.prototype.hasOwnProperty;

for(var bE in bB){if(bD.call(bB,bE)){bC.push(bE);
}}return bC;
}})[typeof (Object.keys)==L?B:(function(){for(var bF in {toString:1}){return bF;
}})()!==m?u:j],getKeysAsString:function(bG){var bH=qx.Bootstrap.getKeys(bG);

if(bH.length==0){return p;
}return g+bH.join(C)+g;
},__b:{"[object String]":d,"[object Array]":f,"[object Object]":h,"[object RegExp]":D,"[object Number]":x,"[object Boolean]":K,"[object Date]":s,"[object Function]":c,"[object Error]":J},bind:function(bI,self,bJ){var bK=Array.prototype.slice.call(arguments,2,arguments.length);
return function(){var bL=Array.prototype.slice.call(arguments,0,arguments.length);
return bI.apply(self,bK.concat(bL));
};
},firstUp:function(bM){return bM.charAt(0).toUpperCase()+bM.substr(1);
},firstLow:function(bN){return bN.charAt(0).toLowerCase()+bN.substr(1);
},getClass:function(bO){var bP=Object.prototype.toString.call(bO);
return (qx.Bootstrap.__b[bP]||bP.slice(8,-1));
},isString:function(bQ){return (bQ!==null&&(typeof bQ===F||qx.Bootstrap.getClass(bQ)==d||bQ instanceof String||(!!bQ&&!!bQ.$$isString)));
},isArray:function(bR){return (bR!==null&&(bR instanceof Array||(bR&&qx.data&&qx.data.IListData&&qx.Bootstrap.hasInterface(bR.constructor,qx.data.IListData))||qx.Bootstrap.getClass(bR)==f||(!!bR&&!!bR.$$isArray)));
},isObject:function(bS){return (bS!==undefined&&bS!==null&&qx.Bootstrap.getClass(bS)==h);
},isFunction:function(bT){return qx.Bootstrap.getClass(bT)==c;
},classIsDefined:function(name){return qx.Bootstrap.getByName(name)!==undefined;
},getPropertyDefinition:function(bU,name){while(bU){if(bU.$$properties&&bU.$$properties[name]){return bU.$$properties[name];
}bU=bU.superclass;
}return null;
},hasProperty:function(bV,name){return !!qx.Bootstrap.getPropertyDefinition(bV,name);
},getEventType:function(bW,name){var bW=bW.constructor;

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

while(bY){if(bY.$$implements){cb=bY.$$flatImplements;

for(i=0,l=cb.length;i<l;i++){if(cb[i]===ca){return bY;
}}}bY=bY.superclass;
}return null;
},hasInterface:function(cc,cd){return !!qx.Bootstrap.getByInterface(cc,cd);
},getMixins:function(ce){var cf=[];

while(ce){if(ce.$$includes){cf.push.apply(cf,ce.$$flatIncludes);
}ce=ce.superclass;
}return cf;
},$$logs:[],debug:function(cg,ch){qx.Bootstrap.$$logs.push([z,arguments]);
},info:function(ci,cj){qx.Bootstrap.$$logs.push([t,arguments]);
},warn:function(ck,cl){qx.Bootstrap.$$logs.push([H,arguments]);
},error:function(cm,cn){qx.Bootstrap.$$logs.push([v,arguments]);
},trace:function(co){}}});
})();
(function(){var r=".",q="function",p="",o="gecko",n="[object Opera]",m="mshtml",l="8.0",k="AppleWebKit/",j="9.0",i="[^\\.0-9]",c="webkit",h="4.0",f="1.9.0.0",b="opera",a="Version/",e="5.0",d="qx.bom.client.Engine",g="Gecko";
qx.Bootstrap.define(d,{statics:{getVersion:function(){var v=window.navigator.userAgent;
var t=p;

if(qx.bom.client.Engine.__c()){if(/Opera[\s\/]([0-9]+)\.([0-9])([0-9]*)/.test(v)){if(v.indexOf(a)!=-1){var u=v.match(/Version\/(\d+)\.(\d+)/);
t=u[1]+r+u[2].charAt(0)+r+u[2].substring(1,u[2].length);
}else{t=RegExp.$1+r+RegExp.$2;

if(RegExp.$3!=p){t+=r+RegExp.$3;
}}}}else if(qx.bom.client.Engine.__d()){if(/AppleWebKit\/([^ ]+)/.test(v)){t=RegExp.$1;
var w=RegExp(i).exec(t);

if(w){t=t.slice(0,w.index);
}}}else if(qx.bom.client.Engine.__e()){if(/rv\:([^\);]+)(\)|;)/.test(v)){t=RegExp.$1;
}}else if(qx.bom.client.Engine.__f()){if(/MSIE\s+([^\);]+)(\)|;)/.test(v)){t=RegExp.$1;
if(t<8&&/Trident\/([^\);]+)(\)|;)/.test(v)){if(RegExp.$1==h){t=l;
}else if(RegExp.$1==e){t=j;
}}}}else{var s=window.qxFail;

if(s&&typeof s===q){t=s().FULLVERSION;
}else{t=f;
qx.Bootstrap.warn("Unsupported client: "+v+"! Assumed gecko version 1.9.0.0 (Firefox 3.0).");
}}return t;
},getName:function(){var name;

if(qx.bom.client.Engine.__c()){name=b;
}else if(qx.bom.client.Engine.__d()){name=c;
}else if(qx.bom.client.Engine.__e()){name=o;
}else if(qx.bom.client.Engine.__f()){name=m;
}else{var x=window.qxFail;

if(x&&typeof x===q){name=x().NAME;
}else{name=o;
qx.Bootstrap.warn("Unsupported client: "+window.navigator.userAgent+"! Assumed gecko version 1.9.0.0 (Firefox 3.0).");
}}return name;
},__c:function(){return window.opera&&Object.prototype.toString.call(window.opera)==n;
},__d:function(){return window.navigator.userAgent.indexOf(k)!=-1;
},__e:function(){return window.controllers&&window.navigator.product===g;
},__f:function(){return window.navigator.cpuClass&&/MSIE\s+([^\);]+)(\)|;)/.test(window.navigator.userAgent);
}}});
})();
(function(){var j="",i="10.1",h="10.3",g="10.7",f="10.5",e="95",d="10.2",c="98",b="2000",a="10.6",bb="10.0",ba="10.4",Y="rim_tabletos",X="Darwin",W="2003",V=")",U="iPhone",T="android",S="unix",R="ce",q="7",r="SymbianOS",o="|",p="MacPPC",m="iPod",n="\.",k="Win64",l="linux",u="me",v="Macintosh",D="Android",B="Windows",J="ios",F="vista",N="blackberry",L="(",x="win",Q="Linux",P="BSD",O="iPad",w="X11",z="xp",A="symbian",C="qx.bom.client.OperatingSystem",E="g",G="Win32",K="osx",M="webOS",s="RIM Tablet OS",t="BlackBerry",y="nt4",I="MacIntel",H="webos";
qx.Bootstrap.define(C,{statics:{getName:function(){if(!navigator){return j;
}var bc=navigator.platform||j;
var bd=navigator.userAgent||j;

if(bc.indexOf(B)!=-1||bc.indexOf(G)!=-1||bc.indexOf(k)!=-1){return x;
}else if(bc.indexOf(v)!=-1||bc.indexOf(p)!=-1||bc.indexOf(I)!=-1){return K;
}else if(bd.indexOf(s)!=-1){return Y;
}else if(bd.indexOf(M)!=-1){return H;
}else if(bc.indexOf(m)!=-1||bc.indexOf(U)!=-1||bc.indexOf(O)!=-1){return J;
}else if(bc.indexOf(Q)!=-1){return l;
}else if(bc.indexOf(w)!=-1||bc.indexOf(P)!=-1||bc.indexOf(X)!=-1){return S;
}else if(bc.indexOf(D)!=-1){return T;
}else if(bc.indexOf(r)!=-1){return A;
}else if(bc.indexOf(t)!=-1){return N;
}return j;
},__g:{"Windows NT 6.1":q,"Windows NT 6.0":F,"Windows NT 5.2":W,"Windows NT 5.1":z,"Windows NT 5.0":b,"Windows 2000":b,"Windows NT 4.0":y,"Win 9x 4.90":u,"Windows CE":R,"Windows 98":c,"Win98":c,"Windows 95":e,"Win95":e,"Mac OS X 10_7":g,"Mac OS X 10.7":g,"Mac OS X 10_6":a,"Mac OS X 10.6":a,"Mac OS X 10_5":f,"Mac OS X 10.5":f,"Mac OS X 10_4":ba,"Mac OS X 10.4":ba,"Mac OS X 10_3":h,"Mac OS X 10.3":h,"Mac OS X 10_2":d,"Mac OS X 10.2":d,"Mac OS X 10_1":i,"Mac OS X 10.1":i,"Mac OS X 10_0":bb,"Mac OS X 10.0":bb},getVersion:function(){var bg=[];

for(var bf in qx.bom.client.OperatingSystem.__g){bg.push(bf);
}var bh=new RegExp(L+bg.join(o).replace(/\./g,n)+V,E);
var be=bh.exec(navigator.userAgent);

if(be&&be[1]){return qx.bom.client.OperatingSystem.__g[be[1]];
}return j;
}}});
})();
(function(){var t=".",s="$1",r="",q="Shockwave Flash",p="undefined",o="object",n="mshtml",m=",",l="$version",k="always",d="win",j="ShockwaveFlash.ShockwaveFlash.6",g="qx.bom.client.Flash",c="9.0.151",b="10.0.12",f="ShockwaveFlash.ShockwaveFlash.7",e="ShockwaveFlash.ShockwaveFlash",h="osx",a="6.0.65";
qx.Bootstrap.define(g,{statics:{isAvailable:function(){return parseFloat(qx.bom.client.Flash.getVersion())>0;
},getVersion:function(){if(qx.bom.client.Engine.getName()==n){if(!window.ActiveXObject){return r;
}var w=[0,0,0];
var v=false;

try{var x=new ActiveXObject(f);
}catch(z){try{var x=new ActiveXObject(j);
w=[6,0,21];
x.AllowScriptAccess=k;
}catch(A){if(w[0]==6){v=true;
}}
if(!v){try{x=new ActiveXObject(e);
}catch(B){}}}
if(!v&&typeof x==o){var u=x.GetVariable(l);

if(typeof u!=p){u=u.split(" ")[1].split(m);
w[0]=parseInt(u[0],10);
w[1]=parseInt(u[1],10);
w[2]=parseInt(u[2],10);
}}return w.join(t);
}else{if(!navigator.plugins||typeof navigator.plugins[q]!==o){return r;
}var w=[0,0,0];
var y=navigator.plugins[q].description;

if(typeof y!=p){y=y.replace(/^.*\s+(\S+\s+\S+$)/,s);
w[0]=parseInt(y.replace(/^(.*)\..*$/,s),10);
w[1]=parseInt(y.replace(/^.*\.(.*)\s.*$/,s),10);
w[2]=/r/.test(y)?parseInt(y.replace(/^.*r(.*)$/,s),10):0;
}return w.join(t);
}},getExpressInstall:function(){var D=qx.bom.client.Flash.getVersion();

if(D==r){return false;
}var C=qx.bom.client.OperatingSystem.getName();
return (C==d||C==h)&&qx.bom.client.Flash.__h(a,D);
},getStrictSecurityModel:function(){var E=qx.bom.client.Flash.getVersion();

if(E==r){return false;
}var F=E.split(t);

if(F[0]<10){return qx.bom.client.Flash.__h(c,E);
}else{return qx.bom.client.Flash.__h(b,E);
}},_cachedSupportsVersion:{},__h:function(G,H){var K=G.split(t);
var J=H||qx.bom.client.Flash.getVersion();
J=J.split(t);

for(var i=0;i<K.length;i++){var I=parseInt(J[i],10)-parseInt(K[i],10);

if(I>0){return true;
}else if(I<0){return false;
}}return true;
}}});
})();
(function(){var k="xhr",j="Microsoft.XMLHTTP",i="",h="file:",g="https:",f="webkit",e="gecko",d="activex",c="opera",b=".",a="qx.bom.client.Transport";
qx.Bootstrap.define(a,{statics:{getMaxConcurrentRequestCount:function(){var l;
var o=qx.bom.client.Engine.getVersion().split(b);
var m=0;
var p=0;
var n=0;
if(o[0]){m=o[0];
}if(o[1]){p=o[1];
}if(o[2]){n=o[2];
}if(window.maxConnectionsPerServer){l=window.maxConnectionsPerServer;
}else if(qx.bom.client.Engine.getName()==c){l=8;
}else if(qx.bom.client.Engine.getName()==f){l=4;
}else if(qx.bom.client.Engine.getName()==e&&((m>1)||((m==1)&&(p>9))||((m==1)&&(p==9)&&(n>=1)))){l=6;
}else{l=2;
}return l;
},getSsl:function(){return window.location.protocol===g;
},getXmlHttpRequest:function(){var q=window.ActiveXObject?(function(){if(window.location.protocol!==h){try{new window.XMLHttpRequest();
return k;
}catch(r){}}
try{new window.ActiveXObject(j);
return d;
}catch(s){}})():(function(){try{new window.XMLHttpRequest();
return k;
}catch(t){}})();
return q||i;
}}});
})();
(function(){var k="background",j="div",h="color",g="linear-gradient(0deg, white 0%, red 100%)",f="placeholder",e="content",d="OTextOverflow",c="MozBorderRadius",b="qx.bom.client.Css",a='m11',C="input",B="-ms-linear-gradient(0deg, white 0%, red 100%)",A="-moz-linear-gradient(0deg, white 0%, red 100%)",z="gradient",y="-webkit-linear-gradient(left, white, black)",x="MozBoxShadow",w="rgba(1, 2, 3, 0.5)",v="rgba",u="-o-linear-gradient(0deg, white 0%, red 100%)",t="borderRadius",r='WebKitCSSMatrix',s="WebkitBorderRadius",p="-webkit-gradient(linear,0% 0%,100% 100%,from(white), to(red))",q="mshtml",n="WebkitBoxShadow",o="textOverflow",l="boxShadow",m="border";
qx.Bootstrap.define(b,{statics:{getBoxModel:function(){var content=qx.bom.client.Engine.getName()!==q||!qx.bom.client.Browser.getQuirksMode();
return content?e:m;
},getTextOverflow:function(){return o in document.documentElement.style||d in document.documentElement.style;
},getPlaceholder:function(){var i=document.createElement(C);
return f in i;
},getBorderRadius:function(){return t in document.documentElement.style||c in document.documentElement.style||s in document.documentElement.style;
},getBoxShadow:function(){return l in document.documentElement.style||x in document.documentElement.style||n in document.documentElement.style;
},getTranslate3d:function(){return r in window&&a in new WebKitCSSMatrix();
},getGradients:function(){var D;

try{D=document.createElement(j);
}catch(F){D=document.createElement();
}var E=[p,y,A,u,B,g];

for(var i=0;i<E.length;i++){try{D.style[k]=E[i];

if(D.style[k].indexOf(z)!=-1){return true;
}}catch(G){}}return false;
},getRgba:function(){var H;

try{H=document.createElement(j);
}catch(I){H=document.createElement();
}try{H.style[h]=w;

if(H.style[h].indexOf(v)!=-1){return true;
}}catch(J){}return false;
}}});
})();
(function(){var j="mshtml",i="msie",h=")(/| )([0-9]+\.[0-9])",g="",f="(",e="ce",d="CSS1Compat",c="android",b="operamini",a="mobile chrome",z="iemobile",y="prism|Fennec|Camino|Kmeleon|Galeon|Netscape|SeaMonkey|Namoroka|Firefox",x="opera mobi",w="Mobile Safari",v="operamobile",u="ie",t="mobile safari",s="IEMobile|Maxthon|MSIE",r="qx.bom.client.Browser",q="opera mini",o="opera",p="Opera Mini|Opera Mobi|Opera",m="AdobeAIR|Titanium|Fluid|Chrome|Android|Epiphany|Konqueror|iCab|OmniWeb|Maxthon|Pre|Mobile Safari|Safari",n="webkit",k="5.0",l="Mobile/";
qx.Bootstrap.define(r,{statics:{getName:function(){var D=navigator.userAgent;
var C=new RegExp(f+qx.bom.client.Browser.__i+h);
var B=D.match(C);

if(!B){return g;
}var name=B[1].toLowerCase();
var A=qx.bom.client.Engine.getName();

if(A===n){if(name===c){name=a;
}else if(D.indexOf(w)!==-1||D.indexOf(l)!==-1){name=t;
}}else if(A===j){if(name===i){name=u;
if(qx.bom.client.OperatingSystem.getVersion()===e){name=z;
}}}else if(A===o){if(name===x){name=v;
}else if(name===q){name=b;
}}return name;
},getVersion:function(){var H=navigator.userAgent;
var G=new RegExp(f+qx.bom.client.Browser.__i+h);
var F=H.match(G);

if(!F){return g;
}var name=F[1].toLowerCase();
var E=F[3];
if(H.match(/Version(\/| )([0-9]+\.[0-9])/)){E=RegExp.$2;
}
if(qx.bom.client.Engine.getName()==j){E=qx.bom.client.Engine.getVersion();

if(name===i&&qx.bom.client.OperatingSystem.getVersion()==e){E=k;
}}return E;
},getDocumentMode:function(){if(document.documentMode){return document.documentMode;
}return 0;
},getQuirksMode:function(){if(qx.bom.client.Engine.getName()==j&&parseFloat(qx.bom.client.Engine.getVersion())>=8){return qx.bom.client.Engine.DOCUMENT_MODE===5;
}else{return document.compatMode!==d;
}},__i:{"webkit":m,"gecko":y,"mshtml":s,"opera":p}[qx.bom.client.Engine.getName()]}});
})();
(function(){var d="-",c="",b="qx.bom.client.Locale",a="android";
qx.Bootstrap.define(b,{statics:{getLocale:function(){var e=qx.bom.client.Locale.__j();
var f=e.indexOf(d);

if(f!=-1){e=e.substr(0,f);
}return e;
},getVariant:function(){var g=qx.bom.client.Locale.__j();
var i=c;
var h=g.indexOf(d);

if(h!=-1){i=g.substr(h+1);
}return i;
},__j:function(){var j=(navigator.userLanguage||navigator.language||c);
if(qx.bom.client.OperatingSystem.getName()==a){var k=/(\w{2})-(\w{2})/i.exec(navigator.userAgent);

if(k){j=k[0];
}}return j.toLowerCase();
}}});
})();
(function(){var l="",k="audio",j="video",i='video/ogg; codecs="theora, vorbis"',h="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",g="http://www.w3.org/TR/SVG11/feature#BasicStructure",f='audio',d='video/mp4; codecs="avc1.42E01E, mp4a.40.2"',c="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",b="audio/mpeg",z="org.w3c.dom.svg",y="DOMTokenList",x="1.1",w="audio/x-wav",u="audio/ogg",t="audio/x-aiff",s="qx.bom.client.Html",r='video',q="mshtml",p="label",n='video/webm; codecs="vp8, vorbis"',o="1.0",m="audio/basic";
qx.Bootstrap.define(s,{statics:{getWebWorker:function(){return window.Worker!=null;
},getFileReader:function(){return window.FileReader!=null;
},getGeoLocation:function(){return navigator.geolocation!=null;
},getAudio:function(){return !!document.createElement(f).canPlayType;
},getAudioOgg:function(){if(!qx.bom.client.Html.getAudio()){return l;
}var a=document.createElement(k);
return a.canPlayType(u);
},getAudioMp3:function(){if(!qx.bom.client.Html.getAudio()){return l;
}var a=document.createElement(k);
return a.canPlayType(b);
},getAudioWav:function(){if(!qx.bom.client.Html.getAudio()){return l;
}var a=document.createElement(k);
return a.canPlayType(w);
},getAudioAu:function(){if(!qx.bom.client.Html.getAudio()){return l;
}var a=document.createElement(k);
return a.canPlayType(m);
},getAudioAif:function(){if(!qx.bom.client.Html.getAudio()){return l;
}var a=document.createElement(k);
return a.canPlayType(t);
},getVideo:function(){return !!document.createElement(r).canPlayType;
},getVideoOgg:function(){if(!qx.bom.client.Html.getVideo()){return l;
}var v=document.createElement(j);
return v.canPlayType(i);
},getVideoH264:function(){if(!qx.bom.client.Html.getVideo()){return l;
}var v=document.createElement(j);
return v.canPlayType(d);
},getVideoWebm:function(){if(!qx.bom.client.Html.getVideo()){return l;
}var v=document.createElement(j);
return v.canPlayType(n);
},getLocalStorage:function(){try{return window.localStorage!=null;
}catch(A){return false;
}},getSessionStorage:function(){try{return window.sessionStorage!=null;
}catch(B){return false;
}},getClassList:function(){return !!(document.documentElement.classList&&qx.Bootstrap.getClass(document.documentElement.classList)===y);
},getXPath:function(){return !!document.evaluate;
},getXul:function(){try{document.createElementNS(h,p);
return true;
}catch(e){return false;
}},getSvg:function(){return document.implementation&&document.implementation.hasFeature&&(document.implementation.hasFeature(z,o)||document.implementation.hasFeature(g,x));
},getVml:function(){return qx.bom.client.Engine.getName()==q;
},getCanvas:function(){return !!window.CanvasRenderingContext2D;
},getDataUrl:function(C){var D=new Image();
D.onload=D.onerror=function(){window.setTimeout(function(){C.call(null,(D.width==1&&D.height==1));
},0);
};
D.src=c;
},getDataset:function(){return !!document.documentElement.dataset;
}}});
})();
(function(){var e="qx.bom.client.Event",d="ontouchstart",c="mshtml",b="opera",a="pointerEvents";
qx.Bootstrap.define(e,{statics:{getTouch:function(){return (d in window);
},getPointer:function(){if(a in document.documentElement.style){var f=qx.bom.client.Engine.getName();
return f!=b&&f!=c;
}return false;
}}});
})();
(function(){var a="qx.bom.client.EcmaScript";
qx.Bootstrap.define(a,{statics:{getObjectCount:function(){return (({}).__count__==0);
}}});
})();
(function(){var k="os.name",j="os.version",h="css.borderradius",g="default",f="browser.quirksmode",e="browser.name",d="qx.allowUrlSettings",c="event.pointer",b="plugin.flash.version",a="io.ssl",Y="locale.variant",X="css.textoverflow",W="html.xul",V="html.classlist",U="css.boxshadow",T="event.touch",S="css.gradients",R="browser.documentmode",Q="ecmascript.objectcount",P="locale",r="engine.version",s="engine.name",p="css.rgba",q="css.boxmodel",n="css.placeholder",o="|",l="browser.version",m="io.xhr",v="qx.core.Environment",w="qx.debug.databinding",D="qx.optimization.basecalls",B="qx.debug.dispose",H="qx.optimization.variables",F="true",L="qx.optimization.privates",J="qx.aspects",y="qx.debug",O="qx.dynamicmousewheel",N=":",M="qxenv",x="qx.optimization.strings",z="qx.optimization.comments",A="qx.optimization.variants",C="qx.mobile.emulatetouch",E="qx.dynlocale",G="false",I="&",K="qx.mobile.nativescroll",t="qx.allowUrlVariants",u="qx.propertyDebugLevel";
qx.Bootstrap.define(v,{statics:{_checks:{},_asyncChecks:{},__k:{},get:function(ba){if(this.__k[ba]!=undefined){return this.__k[ba];
}var bb=this._checks[ba];

if(bb){var bc=bb();
this.__k[ba]=bc;
return bc;
}if(qx.Bootstrap.DEBUG){qx.Bootstrap.warn(ba+" is not a valid key. Please see the API-doc of "+"qx.core.Environment for a list of predefined keys.");
qx.Bootstrap.trace(this);
}},getAsync:function(bd,be,self){var bg=this;

if(this.__k[bd]!=undefined){window.setTimeout(function(){be.call(self,bg.__k[bd]);
},0);
return;
}var bf=this._asyncChecks[bd];

if(bf){bf(function(bh){bg.__k[bd]=bh;
be.call(self,bh);
});
return;
}if(qx.Bootstrap.DEBUG){qx.Bootstrap.warn(bd+" is not a valid key. Please see the API-doc of "+"qx.core.Environment for a list of predefined keys.");
qx.Bootstrap.trace(this);
}},select:function(bi,bj){return this.__l(this.get(bi),bj);
},selectAsync:function(bk,bl,self){this.getAsync(bk,function(bm){var bn=this.__l(bk,bl);
bn.call(self,bm);
},this);
},__l:function(bo,bp){var br=bp[bo];

if(bp.hasOwnProperty(bo)){return br;
}for(var bq in bp){if(bq.indexOf(o)!=-1){var bs=bq.split(o);

for(var i=0;i<bs.length;i++){if(bs[i]==bo){return bp[bq];
}}}}
if(bp[g]!==undefined){return bp[g];
}
if(qx.Bootstrap.DEBUG){throw new Error('No match for variant "'+bo+'" ('+(typeof bo)+' type)'+' in variants ['+qx.Bootstrap.getKeysAsString(bp)+'] found, and no default ("default") given');
}},invalidateCacheKey:function(bt){delete this.__k[bt];
},add:function(bu,bv){if(this._checks[bu]==undefined){if(bv instanceof Function){this._checks[bu]=bv;
}else{this._checks[bu]=this.__o(bv);
}}},addAsync:function(bw,bx){if(this._checks[bw]==undefined){this._asyncChecks[bw]=bx;
}},_initDefaultQxValues:function(){this.add(d,function(){return false;
});
this.add(t,function(){return false;
});
this.add(u,function(){return 0;
});
this.add(y,function(){return true;
});
this.add(J,function(){return false;
});
this.add(E,function(){return true;
});
this.add(C,function(){return false;
});
this.add(K,function(){return false;
});
this.add(O,function(){return true;
});
this.add(w,function(){return false;
});
this.add(B,function(){return false;
});
this.add(D,function(){return false;
});
this.add(z,function(){return false;
});
this.add(L,function(){return false;
});
this.add(x,function(){return false;
});
this.add(H,function(){return false;
});
this.add(A,function(){return false;
});
},__m:function(){if(qx&&qx.$$environment){for(var bz in qx.$$environment){var by=qx.$$environment[bz];
this._checks[bz]=this.__o(by);
}}},__n:function(){if(window.document&&window.document.location){var bA=window.document.location.search.slice(1).split(I);

for(var i=0;i<bA.length;i++){var bC=bA[i].split(N);

if(bC.length!=3||bC[0]!=M){continue;
}var bD=bC[1];
var bB=decodeURIComponent(bC[2]);
if(bB==F){bB=true;
}else if(bB==G){bB=false;
}else if(/^(\d|\.)+$/.test(bB)){bB=parseFloat(bB);
}this._checks[bD]=this.__o(bB);
}}},__o:function(bE){return qx.Bootstrap.bind(function(bF){return bF;
},null,bE);
},useCheck:function(bG){return true;
},_initChecksMap:function(){if(this.useCheck(r)){this._checks[r]=qx.bom.client.Engine.getVersion;
}
if(this.useCheck(s)){this._checks[s]=qx.bom.client.Engine.getName;
}if(this.useCheck(e)){this._checks[e]=qx.bom.client.Browser.getName;
}
if(this.useCheck(l)){this._checks[l]=qx.bom.client.Browser.getVersion;
}
if(this.useCheck(R)){this._checks[R]=qx.bom.client.Browser.getDocumentMode;
}
if(this.useCheck(f)){this._checks[f]=qx.bom.client.Browser.getQuirksMode;
}if(this.useCheck(P)){this._checks[P]=qx.bom.client.Locale.getLocale;
}
if(this.useCheck(Y)){this._checks[Y]=qx.bom.client.Locale.getVariant;
}if(this.useCheck(k)){this._checks[k]=qx.bom.client.OperatingSystem.getName;
}
if(this.useCheck(j)){this._checks[j]=qx.bom.client.OperatingSystem.getVersion;
}
if(this.useCheck(b)){this._checks[b]=qx.bom.client.Flash.getVersion;
}
if(this.useCheck(a)){this._checks[a]=qx.bom.client.Transport.getSsl;
}
if(this.useCheck(m)){this._checks[m]=qx.bom.client.Transport.getXmlHttpRequest;
}if(this.useCheck(T)){this._checks[T]=qx.bom.client.Event.getTouch;
}
if(this.useCheck(c)){this._checks[c]=qx.bom.client.Event.getPointer;
}if(this.useCheck(Q)){this._checks[Q]=qx.bom.client.EcmaScript.getObjectCount;
}
if(this.useCheck(V)){this._checks[V]=qx.bom.client.Html.getClassList;
}
if(this.useCheck(W)){this._checks[W]=qx.bom.client.Html.getXul;
}if(this.useCheck(X)){this._checks[X]=qx.bom.client.Css.getTextOverflow;
}
if(this.useCheck(n)){this._checks[n]=qx.bom.client.Css.getPlaceholder;
}
if(this.useCheck(h)){this._checks[h]=qx.bom.client.Css.getBorderRadius;
}
if(this.useCheck(U)){this._checks[U]=qx.bom.client.Css.getBoxShadow;
}
if(this.useCheck(S)){this._checks[S]=qx.bom.client.Css.getGradients;
}
if(this.useCheck(q)){this._checks[q]=qx.bom.client.Css.getBoxModel;
}
if(this.useCheck(p)){this._checks[p]=qx.bom.client.Css.getRgba;
}}},defer:function(bH){bH._initDefaultQxValues();
bH._initChecksMap();
bH.__m();
if(bH.get(d)===true){bH.__n();
}}});
})();
(function(){var h="qx.Mixin",g=".prototype",f="constructor",e="Array",d="[Mixin ",c="]",b="destruct",a="Mixin";
qx.Bootstrap.define(h,{statics:{define:function(name,j){if(j){if(j.include&&!(qx.Bootstrap.getClass(j.include)===e)){j.include=[j.include];
}var m=j.statics?j.statics:{};
qx.Bootstrap.setDisplayNames(m,name);

for(var k in m){if(m[k] instanceof Function){m[k].$$mixin=m;
}}if(j.construct){m.$$constructor=j.construct;
qx.Bootstrap.setDisplayName(j.construct,name,f);
}
if(j.include){m.$$includes=j.include;
}
if(j.properties){m.$$properties=j.properties;
}
if(j.members){m.$$members=j.members;
qx.Bootstrap.setDisplayNames(j.members,name+g);
}
for(var k in m.$$members){if(m.$$members[k] instanceof Function){m.$$members[k].$$mixin=m;
}}
if(j.events){m.$$events=j.events;
}
if(j.destruct){m.$$destructor=j.destruct;
qx.Bootstrap.setDisplayName(j.destruct,name,b);
}}else{var m={};
}m.$$type=a;
m.name=name;
m.toString=this.genericToString;
m.basename=qx.Bootstrap.createNamespace(name,m);
this.$$registry[name]=m;
return m;
},checkCompatibility:function(n){var q=this.flatten(n);
var r=q.length;

if(r<2){return true;
}var u={};
var t={};
var s={};
var p;

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

for(var o in p.events){if(s[o]){throw new Error('Conflict between mixin "'+p.name+'" and "'+s[o]+'" in member "'+o+'"!');
}s[o]=p.name;
}
for(var o in p.properties){if(u[o]){throw new Error('Conflict between mixin "'+p.name+'" and "'+u[o]+'" in property "'+o+'"!');
}u[o]=p.name;
}
for(var o in p.members){if(t[o]){throw new Error('Conflict between mixin "'+p.name+'" and "'+t[o]+'" in member "'+o+'"!');
}t[o]=p.name;
}}return true;
},isCompatible:function(v,w){var x=qx.Bootstrap.getMixins(w);
x.push(v);
return qx.Mixin.checkCompatibility(x);
},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(y){if(!y){return [];
}var z=y.concat();

for(var i=0,l=y.length;i<l;i++){if(y[i].$$includes){z.push.apply(z,this.flatten(y[i].$$includes));
}}return z;
},genericToString:function(){return d+this.name+c;
},$$registry:{},__p:null,__q:function(){}}});
})();
(function(){var j="function",h="Boolean",g="qx.Interface",f="Array",e="]",d="toggle",c="Interface",b="is",a="[Interface ";
qx.Bootstrap.define(g,{statics:{define:function(name,k){if(k){if(k.extend&&!(qx.Bootstrap.getClass(k.extend)===f)){k.extend=[k.extend];
}var m=k.statics?k.statics:{};
if(k.extend){m.$$extends=k.extend;
}
if(k.properties){m.$$properties=k.properties;
}
if(k.members){m.$$members=k.members;
}
if(k.events){m.$$events=k.events;
}}else{var m={};
}m.$$type=c;
m.name=name;
m.toString=this.genericToString;
m.basename=qx.Bootstrap.createNamespace(name,m);
qx.Interface.$$registry[name]=m;
return m;
},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(n){if(!n){return [];
}var o=n.concat();

for(var i=0,l=n.length;i<l;i++){if(n[i].$$extends){o.push.apply(o,this.flatten(n[i].$$extends));
}}return o;
},__r:function(p,q,r,s){var w=r.$$members;

if(w){for(var v in w){if(qx.Bootstrap.isFunction(w[v])){var u=this.__s(q,v);
var t=u||qx.Bootstrap.isFunction(p[v]);

if(!t){throw new Error('Implementation of method "'+v+'" is missing in class "'+q.classname+'" required by interface "'+r.name+'"');
}var x=s===true&&!u&&!qx.Bootstrap.hasInterface(q,r);

if(x){p[v]=this.__v(r,p[v],v,w[v]);
}}else{if(typeof p[v]===undefined){if(typeof p[v]!==j){throw new Error('Implementation of member "'+v+'" is missing in class "'+q.classname+'" required by interface "'+r.name+'"');
}}}}}},__s:function(y,z){var D=z.match(/^(is|toggle|get|set|reset)(.*)$/);

if(!D){return false;
}var A=qx.Bootstrap.firstLow(D[2]);
var B=qx.Bootstrap.getPropertyDefinition(y,A);

if(!B){return false;
}var C=D[0]==b||D[0]==d;

if(C){return qx.Bootstrap.getPropertyDefinition(y,A).check==h;
}return true;
},__t:function(E,F){if(F.$$properties){for(var G in F.$$properties){if(!qx.Bootstrap.getPropertyDefinition(E,G)){throw new Error('The property "'+G+'" is not supported by Class "'+E.classname+'"!');
}}}},__u:function(H,I){if(I.$$events){for(var J in I.$$events){if(!qx.Bootstrap.supportsEvent(H,J)){throw new Error('The event "'+J+'" is not supported by Class "'+H.classname+'"!');
}}}},assertObject:function(K,L){var N=K.constructor;
this.__r(K,N,L,false);
this.__t(N,L);
this.__u(N,L);
var M=L.$$extends;

if(M){for(var i=0,l=M.length;i<l;i++){this.assertObject(K,M[i]);
}}},assert:function(O,P,Q){this.__r(O.prototype,O,P,Q);
this.__t(O,P);
this.__u(O,P);
var R=P.$$extends;

if(R){for(var i=0,l=R.length;i<l;i++){this.assert(O,R[i],Q);
}}},genericToString:function(){return a+this.name+e;
},$$registry:{},__v:function(){},__p:null,__q:function(){}}});
})();
(function(){var d="qx.core.Aspect",c="before",b="*",a="static";
qx.Bootstrap.define(d,{statics:{__w:[],wrap:function(e,f,g){var m=[];
var h=[];
var l=this.__w;
var k;

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

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

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

if(g!==a){j.self=f.self;
j.base=f.base;
}f.wrapper=j;
j.original=f;
return j;
},addAdvice:function(o,p,q,name){this.__w.push({fcn:o,pos:p===c?-1:1,type:q,name:name});
}}});
})();
(function(){var g="emulated",f="native",e='"',d="qx.lang.Core",c="\\\\",b="\\\"",a="[object Error]";
qx.Bootstrap.define(d,{statics:{errorToString:{"native":Error.prototype.toString,"emulated":function(){return this.message;
}}[(!Error.prototype.toString||Error.prototype.toString()==a)?g:f],arrayIndexOf:{"native":Array.prototype.indexOf,"emulated":function(h,j){if(j==null){j=0;
}else if(j<0){j=Math.max(0,this.length+j);
}
for(var i=j;i<this.length;i++){if(this[i]===h){return i;
}}return -1;
}}[Array.prototype.indexOf?f:g],arrayLastIndexOf:{"native":Array.prototype.lastIndexOf,"emulated":function(k,m){if(m==null){m=this.length-1;
}else if(m<0){m=Math.max(0,this.length+m);
}
for(var i=m;i>=0;i--){if(this[i]===k){return i;
}}return -1;
}}[Array.prototype.lastIndexOf?f:g],arrayForEach:{"native":Array.prototype.forEach,"emulated":function(n,o){var l=this.length;

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

if(p!==undefined){n.call(o||window,p,i,this);
}}}}[Array.prototype.forEach?f:g],arrayFilter:{"native":Array.prototype.filter,"emulated":function(q,r){var s=[];
var l=this.length;

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

if(t!==undefined){if(q.call(r||window,t,i,this)){s.push(this[i]);
}}}return s;
}}[Array.prototype.filter?f:g],arrayMap:{"native":Array.prototype.map,"emulated":function(u,v){var w=[];
var l=this.length;

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

if(x!==undefined){w[i]=u.call(v||window,x,i,this);
}}return w;
}}[Array.prototype.map?f:g],arraySome:{"native":Array.prototype.some,"emulated":function(y,z){var l=this.length;

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

if(A!==undefined){if(y.call(z||window,A,i,this)){return true;
}}}return false;
}}[Array.prototype.some?f:g],arrayEvery:{"native":Array.prototype.every,"emulated":function(B,C){var l=this.length;

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

if(D!==undefined){if(!B.call(C||window,D,i,this)){return false;
}}}return true;
}}[Array.prototype.every?f:g],stringQuote:{"native":String.prototype.quote,"emulated":function(){return e+this.replace(/\\/g,c).replace(/\"/g,b)+e;
}}[String.prototype.quote?f:g]}});
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 m=';',k='return this.',j="boolean",h="string",g='!==undefined)',f='else if(this.',e='if(this.',d='else ',c=' of an instance of ',b=' is not (yet) ready!");',bi="init",bh='qx.lang.Type.isString(value) && qx.util.ColorUtil.isValidPropertyValue(value)',bg='value !== null && qx.theme.manager.Font.getInstance().isDynamic(value)',bf=" of class ",be='qx.core.Assert.assertInstance(value, Date, msg) || true',bd='value !== null && value.nodeType !== undefined',bc='var inherit=prop.$$inherit;',bb='value !== null && value.nodeType === 9 && value.documentElement',ba='return init;',Y='value !== null && value.$$type === "Mixin"',t='qx.core.Assert.assertMap(value, msg) || true',u='var init=this.',r='return value;',s='qx.core.Assert.assertNumber(value, msg) || true',p='qx.core.Assert.assertPositiveInteger(value, msg) || true',q="': ",n="Error in property ",o='if(init==qx.core.Property.$$inherit)init=null;',x='qx.core.Assert.assertInteger(value, msg) || true',y="rv:1.8.1",G='value !== null && value.$$type === "Interface"',E="set",O='value !== null && value.$$type === "Theme"',J='qx.core.Assert.assertInstance(value, RegExp, msg) || true',U='value !== null && value.type !== undefined',S='value !== null && value.document',A=" in method ",X='qx.core.Assert.assertInstance(value, Error, msg) || true',W='throw new Error("Property ',V='qx.core.Assert.assertBoolean(value, msg) || true',z='return null;',C='qx.core.Assert.assertObject(value, msg) || true',D="setRuntime",F='value !== null && value.nodeType === 1 && value.attributes',H=" with incoming value '",K="setThemed",P='qx.core.Assert.assertString(value, msg) || true',T="inherit",v='value !== null && value.$$type === "Class"',w='qx.core.Assert.assertFunction(value, msg) || true',B='value !== null && qx.theme.manager.Decoration.getInstance().isValidPropertyValue(value)',N='qx.core.Assert.assertArray(value, msg) || true',M='qx.core.Assert.assertPositiveNumber(value, msg) || true',L="object",R="MSIE 6.0",Q='if(init==qx.core.Property.$$inherit)throw new Error("Inheritable property ',I="qx.core.Property";
qx.Bootstrap.define(I,{statics:{__x:{"Boolean":V,"String":P,"Number":s,"Integer":x,"PositiveNumber":M,"PositiveInteger":p,"Error":X,"RegExp":J,"Object":C,"Array":N,"Map":t,"Function":w,"Date":be,"Node":bd,"Element":F,"Document":bb,"Window":S,"Event":U,"Class":v,"Mixin":Y,"Interface":G,"Theme":O,"Color":bh,"Decorator":B,"Font":bg},__y:{"Node":true,"Element":true,"Document":true,"Window":true,"Event":true},$$inherit:T,$$store:{runtime:{},user:{},theme:{},inherit:{},init:{},useinit:{}},$$method:{get:{},set:{},reset:{},init:{},refresh:{},setRuntime:{},resetRuntime:{},setThemed:{},resetThemed:{}},$$allowedKeys:{name:h,dereference:j,inheritable:j,nullable:j,themeable:j,refine:j,init:null,apply:h,event:h,check:null,transform:h,deferredInit:j,validate:null},$$allowedGroupKeys:{name:h,group:L,mode:h,themeable:j},$$inheritable:{},__z:function(bj){var bk=this.__A(bj);

if(!bk.length){var bl=function(){};
}else{bl=this.__B(bk);
}bj.prototype.$$refreshInheritables=bl;
},__A:function(bm){var bo=[];

while(bm){var bn=bm.$$properties;

if(bn){for(var name in this.$$inheritable){if(bn[name]&&bn[name].inheritable){bo.push(name);
}}}bm=bm.superclass;
}return bo;
},__B:function(bp){var bt=this.$$store.inherit;
var bs=this.$$store.init;
var br=this.$$method.refresh;
var bq=["var parent = this.getLayoutParent();","if (!parent) return;"];

for(var i=0,l=bp.length;i<l;i++){var name=bp[i];
bq.push("var value = parent.",bt[name],";","if (value===undefined) value = parent.",bs[name],";","this.",br[name],"(value);");
}return new Function(bq.join(""));
},attachRefreshInheritables:function(bu){bu.prototype.$$refreshInheritables=function(){qx.core.Property.__z(bu);
return this.$$refreshInheritables();
};
},attachMethods:function(bv,name,bw){bw.group?this.__C(bv,bw,name):this.__D(bv,bw,name);
},__C:function(bx,by,name){var bF=qx.Bootstrap.firstUp(name);
var bE=bx.prototype;
var bG=by.themeable===true;
var bH=[];
var bB=[];

if(bG){var bz=[];
var bD=[];
}var bC="var a=arguments[0] instanceof Array?arguments[0]:arguments;";
bH.push(bC);

if(bG){bz.push(bC);
}
if(by.mode=="shorthand"){var bA="a=qx.lang.Array.fromShortHand(qx.lang.Array.fromArguments(a));";
bH.push(bA);

if(bG){bz.push(bA);
}}
for(var i=0,a=by.group,l=a.length;i<l;i++){bH.push("this.",this.$$method.set[a[i]],"(a[",i,"]);");
bB.push("this.",this.$$method.reset[a[i]],"();");

if(bG){bz.push("this.",this.$$method.setThemed[a[i]],"(a[",i,"]);");
bD.push("this.",this.$$method.resetThemed[a[i]],"();");
}}this.$$method.set[name]="set"+bF;
bE[this.$$method.set[name]]=new Function(bH.join(""));
this.$$method.reset[name]="reset"+bF;
bE[this.$$method.reset[name]]=new Function(bB.join(""));

if(bG){this.$$method.setThemed[name]="setThemed"+bF;
bE[this.$$method.setThemed[name]]=new Function(bz.join(""));
this.$$method.resetThemed[name]="resetThemed"+bF;
bE[this.$$method.resetThemed[name]]=new Function(bD.join(""));
}},__D:function(bI,bJ,name){var bL=qx.Bootstrap.firstUp(name);
var bN=bI.prototype;
if(bJ.dereference===undefined&&typeof bJ.check==="string"){bJ.dereference=this.__E(bJ.check);
}var bM=this.$$method;
var bK=this.$$store;
bK.runtime[name]="$$runtime_"+name;
bK.user[name]="$$user_"+name;
bK.theme[name]="$$theme_"+name;
bK.init[name]="$$init_"+name;
bK.inherit[name]="$$inherit_"+name;
bK.useinit[name]="$$useinit_"+name;
bM.get[name]="get"+bL;
bN[bM.get[name]]=function(){return qx.core.Property.executeOptimizedGetter(this,bI,name,"get");
};
bM.set[name]="set"+bL;
bN[bM.set[name]]=function(bO){return qx.core.Property.executeOptimizedSetter(this,bI,name,"set",arguments);
};
bM.reset[name]="reset"+bL;
bN[bM.reset[name]]=function(){return qx.core.Property.executeOptimizedSetter(this,bI,name,"reset");
};

if(bJ.inheritable||bJ.apply||bJ.event||bJ.deferredInit){bM.init[name]="init"+bL;
bN[bM.init[name]]=function(bP){return qx.core.Property.executeOptimizedSetter(this,bI,name,"init",arguments);
};
}
if(bJ.inheritable){bM.refresh[name]="refresh"+bL;
bN[bM.refresh[name]]=function(bQ){return qx.core.Property.executeOptimizedSetter(this,bI,name,"refresh",arguments);
};
}bM.setRuntime[name]="setRuntime"+bL;
bN[bM.setRuntime[name]]=function(bR){return qx.core.Property.executeOptimizedSetter(this,bI,name,"setRuntime",arguments);
};
bM.resetRuntime[name]="resetRuntime"+bL;
bN[bM.resetRuntime[name]]=function(){return qx.core.Property.executeOptimizedSetter(this,bI,name,"resetRuntime");
};

if(bJ.themeable){bM.setThemed[name]="setThemed"+bL;
bN[bM.setThemed[name]]=function(bS){return qx.core.Property.executeOptimizedSetter(this,bI,name,"setThemed",arguments);
};
bM.resetThemed[name]="resetThemed"+bL;
bN[bM.resetThemed[name]]=function(){return qx.core.Property.executeOptimizedSetter(this,bI,name,"resetThemed");
};
}
if(bJ.check==="Boolean"){bN["toggle"+bL]=new Function("return this."+bM.set[name]+"(!this."+bM.get[name]+"())");
bN["is"+bL]=new Function("return this."+bM.get[name]+"()");
}},__E:function(bT){return !!this.__y[bT];
},__F:function(bU){return this.__y[bU]||qx.Bootstrap.classIsDefined(bU)||(qx.Interface&&qx.Interface.isDefined(bU));
},__G:{0:'Could not change or apply init value after constructing phase!',1:'Requires exactly one argument!',2:'Undefined value is not allowed!',3:'Does not allow any arguments!',4:'Null value is not allowed!',5:'Is invalid!'},error:function(bV,bW,bX,bY,ca){var cb=bV.constructor.classname;
var cc=n+bX+bf+cb+A+this.$$method[bY][bX]+H+ca+q;
throw new Error(cc+(this.__G[bW]||"Unknown reason: "+bW));
},__H:function(cd,ce,name,cf,cg,ch){var ci=this.$$method[cf][name];
{ce[ci]=new Function("value",cg.join(""));
};
if(qx.core.Environment.get("qx.aspects")){ce[ci]=qx.core.Aspect.wrap(cd.classname+"."+ci,ce[ci],"property");
}qx.Bootstrap.setDisplayName(ce[ci],cd.classname+".prototype",ci);
if(ch===undefined){return cd[ci]();
}else{return cd[ci](ch[0]);
}},executeOptimizedGetter:function(cj,ck,name,cl){var cn=ck.$$properties[name];
var cp=ck.prototype;
var cm=[];
var co=this.$$store;
cm.push(e,co.runtime[name],g);
cm.push(k,co.runtime[name],m);

if(cn.inheritable){cm.push(f,co.inherit[name],g);
cm.push(k,co.inherit[name],m);
cm.push(d);
}cm.push(e,co.user[name],g);
cm.push(k,co.user[name],m);

if(cn.themeable){cm.push(f,co.theme[name],g);
cm.push(k,co.theme[name],m);
}
if(cn.deferredInit&&cn.init===undefined){cm.push(f,co.init[name],g);
cm.push(k,co.init[name],m);
}cm.push(d);

if(cn.init!==undefined){if(cn.inheritable){cm.push(u,co.init[name],m);

if(cn.nullable){cm.push(o);
}else if(cn.init!==undefined){cm.push(k,co.init[name],m);
}else{cm.push(Q,name,c,ck.classname,b);
}cm.push(ba);
}else{cm.push(k,co.init[name],m);
}}else if(cn.inheritable||cn.nullable){cm.push(z);
}else{cm.push(W,name,c,ck.classname,b);
}return this.__H(cj,cp,name,cl,cm);
},executeOptimizedSetter:function(cq,cr,name,cs,ct){var cy=cr.$$properties[name];
var cx=cr.prototype;
var cv=[];
var cu=cs===E||cs===K||cs===D||(cs===bi&&cy.init===undefined);
var cw=cy.apply||cy.event||cy.inheritable;
var cz=this.__I(cs,name);
this.__J(cv,cy,name,cs,cu);

if(cu){this.__K(cv,cr,cy,name);
}
if(cw){this.__L(cv,cu,cz,cs);
}
if(cy.inheritable){cv.push(bc);
}
if(!cw){this.__N(cv,name,cs,cu);
}else{this.__O(cv,cy,name,cs,cu);
}
if(cy.inheritable){this.__P(cv,cy,name,cs);
}else if(cw){this.__Q(cv,cy,name,cs);
}
if(cw){this.__R(cv,cy,name);
if(cy.inheritable&&cx._getChildren){this.__S(cv,name);
}}if(cu){cv.push(r);
}return this.__H(cq,cx,name,cs,cv,ct);
},__I:function(cA,name){if(cA==="setRuntime"||cA==="resetRuntime"){var cB=this.$$store.runtime[name];
}else if(cA==="setThemed"||cA==="resetThemed"){cB=this.$$store.theme[name];
}else if(cA==="init"){cB=this.$$store.init[name];
}else{cB=this.$$store.user[name];
}return cB;
},__J:function(cC,cD,name,cE,cF){{if(!cD.nullable||cD.check||cD.inheritable){cC.push('var prop=qx.core.Property;');
}if(cE==="set"){cC.push('if(value===undefined)prop.error(this,2,"',name,'","',cE,'",value);');
}};
},__K:function(cG,cH,cI,name){if(cI.transform){cG.push('value=this.',cI.transform,'(value);');
}if(cI.validate){if(typeof cI.validate==="string"){cG.push('this.',cI.validate,'(value);');
}else if(cI.validate instanceof Function){cG.push(cH.classname,'.$$properties.',name);
cG.push('.validate.call(this, value);');
}}},__L:function(cJ,cK,cL,cM){var cN=(cM==="reset"||cM==="resetThemed"||cM==="resetRuntime");

if(cK){cJ.push('if(this.',cL,'===value)return value;');
}else if(cN){cJ.push('if(this.',cL,'===undefined)return;');
}},__M:undefined,__N:function(cO,name,cP,cQ){if(cP==="setRuntime"){cO.push('this.',this.$$store.runtime[name],'=value;');
}else if(cP==="resetRuntime"){cO.push('if(this.',this.$$store.runtime[name],'!==undefined)');
cO.push('delete this.',this.$$store.runtime[name],';');
}else if(cP==="set"){cO.push('this.',this.$$store.user[name],'=value;');
}else if(cP==="reset"){cO.push('if(this.',this.$$store.user[name],'!==undefined)');
cO.push('delete this.',this.$$store.user[name],';');
}else if(cP==="setThemed"){cO.push('this.',this.$$store.theme[name],'=value;');
}else if(cP==="resetThemed"){cO.push('if(this.',this.$$store.theme[name],'!==undefined)');
cO.push('delete this.',this.$$store.theme[name],';');
}else if(cP==="init"&&cQ){cO.push('this.',this.$$store.init[name],'=value;');
}},__O:function(cR,cS,name,cT,cU){if(cS.inheritable){cR.push('var computed, old=this.',this.$$store.inherit[name],';');
}else{cR.push('var computed, old;');
}cR.push('if(this.',this.$$store.runtime[name],'!==undefined){');

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

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

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

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

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

if(cT==="setRuntime"){cR.push('computed=this.',this.$$store.runtime[name],'=value;');
}else if(cT==="set"){cR.push('computed=this.',this.$$store.user[name],'=value;');
}else if(cT==="setThemed"){cR.push('computed=this.',this.$$store.theme[name],'=value;');
}else if(cT==="init"){if(cU){cR.push('computed=this.',this.$$store.init[name],'=value;');
}else{cR.push('computed=this.',this.$$store.init[name],';');
}cR.push('this.',this.$$store.useinit[name],'=true;');
}cR.push('}');
}},__P:function(cV,cW,name,cX){cV.push('if(computed===undefined||computed===inherit){');

if(cX==="refresh"){cV.push('computed=value;');
}else{cV.push('var pa=this.getLayoutParent();if(pa)computed=pa.',this.$$store.inherit[name],';');
}cV.push('if((computed===undefined||computed===inherit)&&');
cV.push('this.',this.$$store.init[name],'!==undefined&&');
cV.push('this.',this.$$store.init[name],'!==inherit){');
cV.push('computed=this.',this.$$store.init[name],';');
cV.push('this.',this.$$store.useinit[name],'=true;');
cV.push('}else{');
cV.push('delete this.',this.$$store.useinit[name],';}');
cV.push('}');
cV.push('if(old===computed)return value;');
cV.push('if(computed===inherit){');
cV.push('computed=undefined;delete this.',this.$$store.inherit[name],';');
cV.push('}');
cV.push('else if(computed===undefined)');
cV.push('delete this.',this.$$store.inherit[name],';');
cV.push('else this.',this.$$store.inherit[name],'=computed;');
cV.push('var backup=computed;');
if(cW.init!==undefined&&cX!=="init"){cV.push('if(old===undefined)old=this.',this.$$store.init[name],";");
}else{cV.push('if(old===undefined)old=null;');
}cV.push('if(computed===undefined||computed==inherit)computed=null;');
},__Q:function(cY,da,name,db){if(db!=="set"&&db!=="setRuntime"&&db!=="setThemed"){cY.push('if(computed===undefined)computed=null;');
}cY.push('if(old===computed)return value;');
if(da.init!==undefined&&db!=="init"){cY.push('if(old===undefined)old=this.',this.$$store.init[name],";");
}else{cY.push('if(old===undefined)old=null;');
}},__R:function(dc,dd,name){if(dd.apply){dc.push('this.',dd.apply,'(computed, old, "',name,'");');
}if(dd.event){dc.push("var reg=qx.event.Registration;","if(reg.hasListener(this, '",dd.event,"')){","reg.fireEvent(this, '",dd.event,"', qx.event.type.Data, [computed, old]",")}");
}},__S:function(de,name){de.push('var a=this._getChildren();if(a)for(var i=0,l=a.length;i<l;i++){');
de.push('if(a[i].',this.$$method.refresh[name],')a[i].',this.$$method.refresh[name],'(backup);');
de.push('}');
}},defer:function(df){var dh=navigator.userAgent.indexOf(R)!=-1;
var dg=navigator.userAgent.indexOf(y)!=-1;
if(dh||dg){df.__E=df.__F;
}}});
})();
(function(){var n="qx.aspects",m=".",k="Array",j="static",h="[Class ",g="]",f="constructor",e=".prototype",d="extend",c="qx.Class",b="member";
qx.Bootstrap.define(c,{statics:{define:function(name,o){if(!o){var o={};
}if(o.include&&!(qx.Bootstrap.getClass(o.include)===k)){o.include=[o.include];
}if(o.implement&&!(qx.Bootstrap.getClass(o.implement)===k)){o.implement=[o.implement];
}var p=false;

if(!o.hasOwnProperty(d)&&!o.type){o.type=j;
p=true;
}var q=this.__V(name,o.type,o.extend,o.statics,o.construct,o.destruct,o.include);
if(o.extend){if(o.properties){this.__X(q,o.properties,true);
}if(o.members){this.__ba(q,o.members,true,true,false);
}if(o.events){this.__W(q,o.events,true);
}if(o.include){for(var i=0,l=o.include.length;i<l;i++){this.__be(q,o.include[i],false);
}}}if(o.environment){for(var r in o.environment){qx.core.Environment.add(r,o.environment[r]);
}}if(o.implement){for(var i=0,l=o.implement.length;i<l;i++){this.__bc(q,o.implement[i]);
}}if(o.defer){o.defer.self=q;
o.defer(q,q.prototype,{add:function(name,s){var t={};
t[name]=s;
qx.Class.__X(q,t,true);
}});
}return q;
},undefine:function(name){delete this.$$registry[name];
var u=name.split(m);
var w=[window];

for(var i=0;i<u.length;i++){w.push(w[i][u[i]]);
}for(var i=w.length-1;i>=1;i--){var v=w[i];
var parent=w[i-1];

if(qx.Bootstrap.isFunction(v)||qx.Bootstrap.objectGetLength(v)===0){delete parent[u[i-1]];
}else{break;
}}},isDefined:qx.Bootstrap.classIsDefined,getTotalNumber:function(){return qx.Bootstrap.objectGetLength(this.$$registry);
},getByName:qx.Bootstrap.getByName,include:function(x,y){qx.Class.__be(x,y,false);
},patch:function(z,A){qx.Class.__be(z,A,true);
},isSubClassOf:function(B,C){if(!B){return false;
}
if(B==C){return true;
}
if(B.prototype instanceof C){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(F,name){while(F){if(F.$$properties&&F.$$properties[name]){return F;
}F=F.superclass;
}return null;
},hasProperty:qx.Bootstrap.hasProperty,getEventType:qx.Bootstrap.getEventType,supportsEvent:qx.Bootstrap.supportsEvent,hasOwnMixin:function(G,H){return G.$$includes&&G.$$includes.indexOf(H)!==-1;
},getByMixin:function(I,J){var K,i,l;

while(I){if(I.$$includes){K=I.$$flatIncludes;

for(i=0,l=K.length;i<l;i++){if(K[i]===J){return I;
}}}I=I.superclass;
}return null;
},getMixins:qx.Bootstrap.getMixins,hasMixin:function(L,M){return !!this.getByMixin(L,M);
},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(U){}
try{qx.Interface.assert(T,S,false);
return true;
}catch(V){}return false;
},getInstance:function(){if(!this.$$instance){this.$$allowconstruct=true;
this.$$instance=new this;
delete this.$$allowconstruct;
}return this.$$instance;
},genericToString:function(){return h+this.classname+g;
},$$registry:qx.Bootstrap.$$registry,__p:null,__T:null,__q:function(){},__U:function(){},__V:function(name,W,X,Y,ba,bb,bc){var bf;

if(!X&&qx.core.Environment.get("qx.aspects")==false){bf=Y||{};
qx.Bootstrap.setDisplayNames(bf,name);
}else{var bf={};

if(X){if(!ba){ba=this.__bf();
}
if(this.__bh(X,bc)){bf=this.__bi(ba,name,W);
}else{bf=ba;
}if(W==="singleton"){bf.getInstance=this.getInstance;
}qx.Bootstrap.setDisplayName(ba,name,"constructor");
}if(Y){qx.Bootstrap.setDisplayNames(Y,name);
var bg;

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

if(qx.core.Environment.get("qx.aspects")){if(bd instanceof Function){bd=qx.core.Aspect.wrap(name+"."+bg,bd,"static");
}bf[bg]=bd;
}else{bf[bg]=bd;
}}}}var be=qx.Bootstrap.createNamespace(name,bf);
bf.name=bf.classname=name;
bf.basename=be;
bf.$$type="Class";

if(W){bf.$$classtype=W;
}if(!bf.hasOwnProperty("toString")){bf.toString=this.genericToString;
}
if(X){qx.Bootstrap.extendClass(bf,ba,X,name,be);
if(bb){if(qx.core.Environment.get("qx.aspects")){bb=qx.core.Aspect.wrap(name,bb,"destructor");
}bf.$$destructor=bb;
qx.Bootstrap.setDisplayName(bb,name,"destruct");
}}this.$$registry[name]=bf;
return bf;
},__W:function(bh,bi,bj){var bk,bk;

if(bh.$$events){for(var bk in bi){bh.$$events[bk]=bi[bk];
}}else{bh.$$events=bi;
}},__X:function(bl,bm,bn){var bo;

if(bn===undefined){bn=false;
}var bp=bl.prototype;

for(var name in bm){bo=bm[name];
bo.name=name;
if(!bo.refine){if(bl.$$properties===undefined){bl.$$properties={};
}bl.$$properties[name]=bo;
}if(bo.init!==undefined){bl.prototype["$$init_"+name]=bo.init;
}if(bo.event!==undefined){var event={};
event[bo.event]="qx.event.type.Data";
this.__W(bl,event,bn);
}if(bo.inheritable){qx.core.Property.$$inheritable[name]=true;

if(!bp.$$refreshInheritables){qx.core.Property.attachRefreshInheritables(bl);
}}
if(!bo.refine){qx.core.Property.attachMethods(bl,name,bo);
}}},__Y:null,__ba:function(bq,br,bs,bt,bu){var bv=bq.prototype;
var bx,bw;
qx.Bootstrap.setDisplayNames(br,bq.classname+e);

for(var i=0,a=qx.Bootstrap.getKeys(br),l=a.length;i<l;i++){bx=a[i];
bw=br[bx];
if(bt!==false&&bw instanceof Function&&bw.$$type==null){if(bu==true){bw=this.__bb(bw,bv[bx]);
}else{if(bv[bx]){bw.base=bv[bx];
}bw.self=bq;
}
if(qx.core.Environment.get(n)){bw=qx.core.Aspect.wrap(bq.classname+m+bx,bw,b);
}}bv[bx]=bw;
}},__bb:function(by,bz){if(bz){return function(){var bB=by.base;
by.base=bz;
var bA=by.apply(this,arguments);
by.base=bB;
return bA;
};
}else{return by;
}},__bc:function(bC,bD){var bE=qx.Interface.flatten([bD]);

if(bC.$$implements){bC.$$implements.push(bD);
bC.$$flatImplements.push.apply(bC.$$flatImplements,bE);
}else{bC.$$implements=[bD];
bC.$$flatImplements=bE;
}},__bd:function(bF){var name=bF.classname;
var bG=this.__bi(bF,name,bF.$$classtype);
for(var i=0,a=qx.Bootstrap.getKeys(bF),l=a.length;i<l;i++){bH=a[i];
bG[bH]=bF[bH];
}bG.prototype=bF.prototype;
var bJ=bF.prototype;

for(var i=0,a=qx.Bootstrap.getKeys(bJ),l=a.length;i<l;i++){bH=a[i];
var bK=bJ[bH];
if(bK&&bK.self==bF){bK.self=bG;
}}for(var bH in this.$$registry){var bI=this.$$registry[bH];

if(!bI){continue;
}
if(bI.base==bF){bI.base=bG;
}
if(bI.superclass==bF){bI.superclass=bG;
}
if(bI.$$original){if(bI.$$original.base==bF){bI.$$original.base=bG;
}
if(bI.$$original.superclass==bF){bI.$$original.superclass=bG;
}}}qx.Bootstrap.createNamespace(name,bG);
this.$$registry[name]=bG;
return bG;
},__be:function(bL,bM,bN){if(this.hasMixin(bL,bM)){return;
}var bQ=bL.$$original;

if(bM.$$constructor&&!bQ){bL=this.__bd(bL);
}var bP=qx.Mixin.flatten([bM]);
var bO;

for(var i=0,l=bP.length;i<l;i++){bO=bP[i];
if(bO.$$events){this.__W(bL,bO.$$events,bN);
}if(bO.$$properties){this.__X(bL,bO.$$properties,bN);
}if(bO.$$members){this.__ba(bL,bO.$$members,bN,bN,bN);
}}if(bL.$$includes){bL.$$includes.push(bM);
bL.$$flatIncludes.push.apply(bL.$$flatIncludes,bP);
}else{bL.$$includes=[bM];
bL.$$flatIncludes=bP;
}},__bf:function(){function bR(){bR.base.apply(this,arguments);
}return bR;
},__bg:function(){return function(){};
},__bh:function(bS,bT){if(bS&&bS.$$includes){var bU=bS.$$flatIncludes;

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

for(var i=0,l=bV.length;i<l;i++){if(bV[i].$$constructor){return true;
}}}return false;
},__bi:function(bW,name,bX){var ca=function(){var cd=ca;
var cc=cd.$$original.apply(this,arguments);
if(cd.$$includes){var cb=cd.$$flatIncludes;

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

if(qx.core.Environment.get(n)){var bY=qx.core.Aspect.wrap(name,ca,f);
ca.$$original=bW;
ca.constructor=bY;
ca=bY;
}ca.$$original=bW;
bW.wrapper=ca;
return ca;
}},defer:function(){if(qx.core.Environment.get(n)){for(var ce in qx.Bootstrap.$$registry){var cf=qx.Bootstrap.$$registry[ce];

for(var cg in cf){if(cf[cg] instanceof Function){cf[cg]=qx.core.Aspect.wrap(ce+m+cg,cf[cg],j);
}}}}}});
})();
(function(){var k="indexOf",j="lastIndexOf",h="slice",g="concat",f="join",e="toLocaleUpperCase",d="shift",c="substr",b="filter",a="unshift",I="match",H="quote",G="qx.lang.Generics",F="localeCompare",E="sort",D="some",C="charAt",B="split",A="substring",z="pop",t="toUpperCase",u="replace",q="push",r="charCodeAt",o="every",p="reverse",m="search",n="forEach",v="map",w="toLowerCase",y="splice",x="toLocaleLowerCase";
qx.Class.define(G,{statics:{__bj:{"Array":[f,p,E,q,z,d,a,y,g,h,k,j,n,v,b,D,o],"String":[H,A,w,t,C,r,k,j,x,e,F,I,m,u,B,c,g,h]},__bk:function(J,K){return function(s){return J.prototype[K].apply(s,Array.prototype.slice.call(arguments,1));
};
},__bl:function(){var L=qx.lang.Generics.__bj;

for(var P in L){var N=window[P];
var M=L[P];

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

if(!N[O]){N[O]=qx.lang.Generics.__bk(N,O);
}}}}},defer:function(Q){Q.__bl();
}});
})();
(function(){var a="qx.data.MBinding";
qx.Mixin.define(a,{members:{bind:function(b,c,d,e){return qx.data.SingleValueBinding.bind(this,b,c,d,e);
},removeBinding:function(f){qx.data.SingleValueBinding.removeBindingFromObject(this,f);
},removeAllBindings:function(){qx.data.SingleValueBinding.removeAllBindingsForObject(this);
},getBindings:function(){return qx.data.SingleValueBinding.getAllBindingsForObject(this);
}}});
})();
(function(){var m="get",l="",k="[",h="last",g="change",f="]",d=".",c="Number",b="String",a="qx.debug.databinding",F="set",E="deepBinding",D="item",C="reset",B="' (",A="Boolean",z=") to the object '",y="Integer",x=" of object ",w="qx.data.SingleValueBinding",u="Binding property ",v="Binding from '",s="PositiveNumber",t="PositiveInteger",q="Binding does not exist!",r=").",n="Date",p=" not possible: No event available. ";
qx.Class.define(w,{statics:{__bm:{},bind:function(G,H,I,J,K){var V=this.__bo(G,H,I,J,K);
var Q=H.split(d);
var M=this.__bu(Q);
var U=[];
var R=[];
var S=[];
var O=[];
var P=G;
try{for(var i=0;i<Q.length;i++){if(M[i]!==l){O.push(g);
}else{O.push(this.__bp(P,Q[i]));
}U[i]=P;
if(i==Q.length-1){if(M[i]!==l){var ba=M[i]===h?P.length-1:M[i];
var L=P.getItem(ba);
this.__bt(L,I,J,K,G);
S[i]=this.__bv(P,O[i],I,J,K,M[i]);
}else{if(Q[i]!=null&&P[m+qx.lang.String.firstUp(Q[i])]!=null){var L=P[m+qx.lang.String.firstUp(Q[i])]();
this.__bt(L,I,J,K,G);
}S[i]=this.__bv(P,O[i],I,J,K);
}}else{var W={index:i,propertyNames:Q,sources:U,listenerIds:S,arrayIndexValues:M,targetObject:I,targetPropertyChain:J,options:K,listeners:R};
var T=qx.lang.Function.bind(this.__bn,this,W);
R.push(T);
S[i]=P.addListener(O[i],T);
}if(P[m+qx.lang.String.firstUp(Q[i])]==null){P=null;
}else if(M[i]!==l){P=P[m+qx.lang.String.firstUp(Q[i])](M[i]);
}else{P=P[m+qx.lang.String.firstUp(Q[i])]();
}
if(!P){break;
}}}catch(bb){for(var i=0;i<U.length;i++){if(U[i]&&S[i]){U[i].removeListenerById(S[i]);
}}var Y=V.targets;
var N=V.listenerIds[i];
for(var i=0;i<Y.length;i++){if(Y[i]&&N[i]){Y[i].removeListenerById(N[i]);
}}throw bb;
}var X={type:E,listenerIds:S,sources:U,targetListenerIds:V.listenerIds,targets:V.targets};
this.__bw(X,G,H,I,J);
return X;
},__bn:function(bc){if(bc.options&&bc.options.onUpdate){bc.options.onUpdate(bc.sources[bc.index],bc.targetObject);
}for(var j=bc.index+1;j<bc.propertyNames.length;j++){var bg=bc.sources[j];
bc.sources[j]=null;

if(!bg){continue;
}bg.removeListenerById(bc.listenerIds[j]);
}var bg=bc.sources[bc.index];
for(var j=bc.index+1;j<bc.propertyNames.length;j++){if(bc.arrayIndexValues[j-1]!==l){bg=bg[m+qx.lang.String.firstUp(bc.propertyNames[j-1])](bc.arrayIndexValues[j-1]);
}else{bg=bg[m+qx.lang.String.firstUp(bc.propertyNames[j-1])]();
}bc.sources[j]=bg;
if(!bg){this.__bq(bc.targetObject,bc.targetPropertyChain);
break;
}if(j==bc.propertyNames.length-1){if(qx.Class.implementsInterface(bg,qx.data.IListData)){var bh=bc.arrayIndexValues[j]===h?bg.length-1:bc.arrayIndexValues[j];
var be=bg.getItem(bh);
this.__bt(be,bc.targetObject,bc.targetPropertyChain,bc.options,bc.sources[bc.index]);
bc.listenerIds[j]=this.__bv(bg,g,bc.targetObject,bc.targetPropertyChain,bc.options,bc.arrayIndexValues[j]);
}else{if(bc.propertyNames[j]!=null&&bg[m+qx.lang.String.firstUp(bc.propertyNames[j])]!=null){var be=bg[m+qx.lang.String.firstUp(bc.propertyNames[j])]();
this.__bt(be,bc.targetObject,bc.targetPropertyChain,bc.options,bc.sources[bc.index]);
}var bf=this.__bp(bg,bc.propertyNames[j]);
bc.listenerIds[j]=this.__bv(bg,bf,bc.targetObject,bc.targetPropertyChain,bc.options);
}}else{if(bc.listeners[j]==null){var bd=qx.lang.Function.bind(this.__bn,this,bc);
bc.listeners.push(bd);
}if(qx.Class.implementsInterface(bg,qx.data.IListData)){var bf=g;
}else{var bf=this.__bp(bg,bc.propertyNames[j]);
}bc.listenerIds[j]=bg.addListener(bf,bc.listeners[j]);
}}},__bo:function(bi,bj,bk,bl,bm){var bq=bl.split(d);
var bo=this.__bu(bq);
var bv=[];
var bu=[];
var bs=[];
var br=[];
var bp=bk;
for(var i=0;i<bq.length-1;i++){if(bo[i]!==l){br.push(g);
}else{try{br.push(this.__bp(bp,bq[i]));
}catch(e){break;
}}bv[i]=bp;
var bt=function(){for(var j=i+1;j<bq.length-1;j++){var by=bv[j];
bv[j]=null;

if(!by){continue;
}by.removeListenerById(bs[j]);
}var by=bv[i];
for(var j=i+1;j<bq.length-1;j++){var bw=qx.lang.String.firstUp(bq[j-1]);
if(bo[j-1]!==l){var bz=bo[j-1]===h?by.getLength()-1:bo[j-1];
by=by[m+bw](bz);
}else{by=by[m+bw]();
}bv[j]=by;
if(bu[j]==null){bu.push(bt);
}if(qx.Class.implementsInterface(by,qx.data.IListData)){var bx=g;
}else{try{var bx=qx.data.SingleValueBinding.__bp(by,bq[j]);
}catch(e){break;
}}bs[j]=by.addListener(bx,bu[j]);
}qx.data.SingleValueBinding.updateTarget(bi,bj,bk,bl,bm);
};
bu.push(bt);
bs[i]=bp.addListener(br[i],bt);
var bn=qx.lang.String.firstUp(bq[i]);
if(bp[m+bn]==null){bp=null;
}else if(bo[i]!==l){bp=bp[m+bn](bo[i]);
}else{bp=bp[m+bn]();
}
if(!bp){break;
}}return {listenerIds:bs,targets:bv};
},updateTarget:function(bA,bB,bC,bD,bE){var bF=this.getValueFromObject(bA,bB);
bF=qx.data.SingleValueBinding.__bx(bF,bC,bD,bE,bA);
this.__br(bC,bD,bF);
},getValueFromObject:function(o,bG){var bK=this.__bs(o,bG);
var bI;

if(bK!=null){var bM=bG.substring(bG.lastIndexOf(d)+1,bG.length);
if(bM.charAt(bM.length-1)==f){var bH=bM.substring(bM.lastIndexOf(k)+1,bM.length-1);
var bJ=bM.substring(0,bM.lastIndexOf(k));
var bL=bK[m+qx.lang.String.firstUp(bJ)]();

if(bH==h){bH=bL.length-1;
}
if(bL!=null){bI=bL.getItem(bH);
}}else{bI=bK[m+qx.lang.String.firstUp(bM)]();
}}return bI;
},__bp:function(bN,bO){var bP=this.__by(bN,bO);
if(bP==null){if(qx.Class.supportsEvent(bN.constructor,bO)){bP=bO;
}else if(qx.Class.supportsEvent(bN.constructor,g+qx.lang.String.firstUp(bO))){bP=g+qx.lang.String.firstUp(bO);
}else{throw new qx.core.AssertionError(u+bO+x+bN+p);
}}return bP;
},__bq:function(bQ,bR){var bS=this.__bs(bQ,bR);

if(bS!=null){var bT=bR.substring(bR.lastIndexOf(d)+1,bR.length);
if(bT.charAt(bT.length-1)==f){this.__br(bQ,bR,null);
return;
}if(bS[C+qx.lang.String.firstUp(bT)]!=undefined){bS[C+qx.lang.String.firstUp(bT)]();
}else{bS[F+qx.lang.String.firstUp(bT)](null);
}}},__br:function(bU,bV,bW){var cb=this.__bs(bU,bV);

if(cb!=null){var cc=bV.substring(bV.lastIndexOf(d)+1,bV.length);
if(cc.charAt(cc.length-1)==f){var bX=cc.substring(cc.lastIndexOf(k)+1,cc.length-1);
var ca=cc.substring(0,cc.lastIndexOf(k));
var bY=bU;

if(!qx.Class.implementsInterface(bY,qx.data.IListData)){bY=cb[m+qx.lang.String.firstUp(ca)]();
}
if(bX==h){bX=bY.length-1;
}
if(bY!=null){bY.setItem(bX,bW);
}}else{cb[F+qx.lang.String.firstUp(cc)](bW);
}}},__bs:function(cd,ce){var ch=ce.split(d);
var ci=cd;
for(var i=0;i<ch.length-1;i++){try{var cg=ch[i];
if(cg.indexOf(f)==cg.length-1){var cf=cg.substring(cg.indexOf(k)+1,cg.length-1);
cg=cg.substring(0,cg.indexOf(k));
}if(cg!=l){ci=ci[m+qx.lang.String.firstUp(cg)]();
}if(cf!=null){if(cf==h){cf=ci.length-1;
}ci=ci.getItem(cf);
cf=null;
}}catch(cj){return null;
}}return ci;
},__bt:function(ck,cl,cm,cn,co){ck=this.__bx(ck,cl,cm,cn,co);
if(ck===undefined){this.__bq(cl,cm);
}if(ck!==undefined){try{this.__br(cl,cm,ck);
if(cn&&cn.onUpdate){cn.onUpdate(co,cl,ck);
}}catch(e){if(!(e instanceof qx.core.ValidationError)){throw e;
}
if(cn&&cn.onSetFail){cn.onSetFail(e);
}else{qx.log.Logger.warn("Failed so set value "+ck+" on "+cl+". Error message: "+e);
}}}},__bu:function(cp){var cq=[];
for(var i=0;i<cp.length;i++){var name=cp[i];
if(qx.lang.String.endsWith(name,f)){var cr=name.substring(name.indexOf(k)+1,name.indexOf(f));
if(name.indexOf(f)!=name.length-1){throw new Error("Please use only one array at a time: "+name+" does not work.");
}
if(cr!==h){if(cr==l||isNaN(parseInt(cr,10))){throw new Error("No number or 'last' value hast been given"+" in an array binding: "+name+" does not work.");
}}if(name.indexOf(k)!=0){cp[i]=name.substring(0,name.indexOf(k));
cq[i]=l;
cq[i+1]=cr;
cp.splice(i+1,0,D);
i++;
}else{cq[i]=cr;
cp.splice(i,1,D);
}}else{cq[i]=l;
}}return cq;
},__bv:function(cs,ct,cu,cv,cw,cx){var cy;
var cA=function(cB,e){if(cB!==l){if(cB===h){cB=cs.length-1;
}var cE=cs.getItem(cB);
if(cE===undefined){qx.data.SingleValueBinding.__bq(cu,cv);
}var cC=e.getData().start;
var cD=e.getData().end;

if(cB<cC||cB>cD){return;
}}else{var cE=e.getData();
}if(qx.core.Environment.get(a)){qx.log.Logger.debug("Binding executed from "+cs+" by "+ct+" to "+cu+" ("+cv+")");
qx.log.Logger.debug("Data before conversion: "+cE);
}cE=qx.data.SingleValueBinding.__bx(cE,cu,cv,cw,cs);
if(qx.core.Environment.get(a)){qx.log.Logger.debug("Data after conversion: "+cE);
}try{if(cE!==undefined){qx.data.SingleValueBinding.__br(cu,cv,cE);
}else{qx.data.SingleValueBinding.__bq(cu,cv);
}if(cw&&cw.onUpdate){cw.onUpdate(cs,cu,cE);
}}catch(e){if(!(e instanceof qx.core.ValidationError)){throw e;
}
if(cw&&cw.onSetFail){cw.onSetFail(e);
}else{qx.log.Logger.warn("Failed so set value "+cE+" on "+cu+". Error message: "+e);
}}};
if(!cx){cx=l;
}cA=qx.lang.Function.bind(cA,cs,cx);
var cz=cs.addListener(ct,cA);
return cz;
},__bw:function(cF,cG,cH,cI,cJ){if(this.__bm[cG.toHashCode()]===undefined){this.__bm[cG.toHashCode()]=[];
}this.__bm[cG.toHashCode()].push([cF,cG,cH,cI,cJ]);
},__bx:function(cK,cL,cM,cN,cO){if(cN&&cN.converter){var cQ;

if(cL.getModel){cQ=cL.getModel();
}return cN.converter(cK,cQ,cO,cL);
}else{var cS=this.__bs(cL,cM);
var cT=cM.substring(cM.lastIndexOf(d)+1,cM.length);
if(cS==null){return cK;
}var cR=qx.Class.getPropertyDefinition(cS.constructor,cT);
var cP=cR==null?l:cR.check;
return this.__bz(cK,cP);
}},__by:function(cU,cV){var cW=qx.Class.getPropertyDefinition(cU.constructor,cV);

if(cW==null){return null;
}return cW.event;
},__bz:function(cX,cY){var da=qx.lang.Type.getClass(cX);
if((da==c||da==b)&&(cY==y||cY==t)){cX=parseInt(cX,10);
}if((da==A||da==c||da==n)&&cY==b){cX=cX+l;
}if((da==c||da==b)&&(cY==c||cY==s)){cX=parseFloat(cX);
}return cX;
},removeBindingFromObject:function(db,dc){if(dc.type==E){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.__bm[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(de){var df=this.__bm[de.toHashCode()];

if(df!=undefined){for(var i=df.length-1;i>=0;i--){this.removeBindingFromObject(de,df[i][0]);
}}},getAllBindingsForObject:function(dg){if(this.__bm[dg.toHashCode()]===undefined){this.__bm[dg.toHashCode()]=[];
}return this.__bm[dg.toHashCode()];
},removeAllBindings:function(){for(var di in this.__bm){var dh=qx.core.ObjectRegistry.fromHashCode(di);
if(dh==null){delete this.__bm[di];
continue;
}this.removeAllBindingsForObject(dh);
}this.__bm={};
},getAllBindings:function(){return this.__bm;
},showBindingInLog:function(dj,dk){var dm;
for(var i=0;i<this.__bm[dj.toHashCode()].length;i++){if(this.__bm[dj.toHashCode()][i][0]==dk){dm=this.__bm[dj.toHashCode()][i];
break;
}}
if(dm===undefined){var dl=q;
}else{var dl=v+dm[1]+B+dm[2]+z+dm[3]+B+dm[4]+r;
}qx.log.Logger.debug(dl);
},showAllBindingsInLog:function(){for(var dp in this.__bm){var dn=qx.core.ObjectRegistry.fromHashCode(dp);

for(var i=0;i<this.__bm[dp].length;i++){this.showBindingInLog(dn,this.__bm[dp][i][0]);
}}}}});
})();
(function(){var p="",o="g",n="]",m='\\u',l="undefined",k='\\$1',j="0041-005A0061-007A00AA00B500BA00C0-00D600D8-00F600F8-02C102C6-02D102E0-02E402EC02EE0370-037403760377037A-037D03860388-038A038C038E-03A103A3-03F503F7-0481048A-05250531-055605590561-058705D0-05EA05F0-05F20621-064A066E066F0671-06D306D506E506E606EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA07F407F507FA0800-0815081A082408280904-0939093D09500958-0961097109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E460E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EC60EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10A0-10C510D0-10FA10FC1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317D717DC1820-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541AA71B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C7D1CE9-1CEC1CEE-1CF11D00-1DBF1E00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FBC1FBE1FC2-1FC41FC6-1FCC1FD0-1FD31FD6-1FDB1FE0-1FEC1FF2-1FF41FF6-1FFC2071207F2090-209421022107210A-211321152119-211D212421262128212A-212D212F-2139213C-213F2145-2149214E218321842C00-2C2E2C30-2C5E2C60-2CE42CEB-2CEE2D00-2D252D30-2D652D6F2D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2E2F300530063031-3035303B303C3041-3096309D-309F30A1-30FA30FC-30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A48CA4D0-A4FDA500-A60CA610-A61FA62AA62BA640-A65FA662-A66EA67F-A697A6A0-A6E5A717-A71FA722-A788A78BA78CA7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2A9CFAA00-AA28AA40-AA42AA44-AA4BAA60-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADB-AADDABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF21-FF3AFF41-FF5AFF66-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",h='-',g="qx.lang.String",f="(^|[^",c="0",e="%",d=' ',b='\n',a="])[";
qx.Class.define(g,{statics:{__bA:j,__bB:null,__bC:{},camelCase:function(q){var r=this.__bC[q];

if(!r){r=q.replace(/\-([a-z])/g,function(s,t){return t.toUpperCase();
});
}return r;
},hyphenate:function(u){var v=this.__bC[u];

if(!v){v=u.replace(/[A-Z]/g,function(w){return (h+w.charAt(0).toLowerCase());
});
}return v;
},capitalize:function(x){if(this.__bB===null){var y=m;
this.__bB=new RegExp(f+this.__bA.replace(/[0-9A-F]{4}/g,function(z){return y+z;
})+a+this.__bA.replace(/[0-9A-F]{4}/g,function(A){return y+A;
})+n,o);
}return x.replace(this.__bB,function(B){return B.toUpperCase();
});
},clean:function(C){return this.trim(C.replace(/\s+/g,d));
},trimLeft:function(D){return D.replace(/^\s+/,p);
},trimRight:function(E){return E.replace(/\s+$/,p);
},trim:function(F){return F.replace(/^\s+|\s+$/g,p);
},startsWith:function(G,H){return G.indexOf(H)===0;
},endsWith:function(I,J){return I.substring(I.length-J.length,I.length)===J;
},repeat:function(K,L){return K.length>0?new Array(L+1).join(K):p;
},pad:function(M,length,N){var O=length-M.length;

if(O>0){if(typeof N===l){N=c;
}return this.repeat(N,O)+M;
}else{return M;
}},firstUp:qx.Bootstrap.firstUp,firstLow:qx.Bootstrap.firstLow,contains:function(P,Q){return P.indexOf(Q)!=-1;
},format:function(R,S){var T=R;
var i=S.length;

while(i--){T=T.replace(new RegExp(e+(i+1),o),S[i]+p);
}return T;
},escapeRegexpChars:function(U){return U.replace(/([.*+?^${}()|[\]\/\\])/g,k);
},toArray:function(V){return V.split(/\B|\b/g);
},stripTags:function(W){return W.replace(/<\/?[^>]+>/gi,p);
},stripScripts:function(X,Y){var bb=p;
var ba=X.replace(/<script[^>]*>([\s\S]*?)<\/script>/gi,function(){bb+=arguments[1]+b;
return p;
});

if(Y===true){qx.lang.Function.globalEval(bb);
}return ba;
}}});
})();
(function(){var g="mshtml",f="engine.name",e="[object Array]",d="qx.lang.Array",c="qx",b="number",a="string";
qx.Class.define(d,{statics:{toArray:function(h,j){return this.cast(h,Array,j);
},cast:function(k,m,n){if(k.constructor===m){return k;
}
if(qx.Class.hasInterface(k,qx.data.IListData)){var k=k.toArray();
}var o=new m;
if((qx.core.Environment.get(f)==g)){if(k.item){for(var i=n||0,l=k.length;i<l;i++){o.push(k[i]);
}return o;
}}if(Object.prototype.toString.call(k)===e&&n==null){o.push.apply(o,k);
}else{o.push.apply(o,Array.prototype.slice.call(k,n||0));
}return o;
},fromArguments:function(p,q){return Array.prototype.slice.call(p,q||0);
},fromCollection:function(r){if((qx.core.Environment.get(f)==g)){if(r.item){var s=[];

for(var i=0,l=r.length;i<l;i++){s[i]=r[i];
}return s;
}}return Array.prototype.slice.call(r,0);
},fromShortHand:function(t){var v=t.length;
var u=qx.lang.Array.clone(t);
switch(v){case 1:u[1]=u[2]=u[3]=u[0];
break;
case 2:u[2]=u[0];
case 3:u[3]=u[1];
}return u;
},clone:function(w){return w.concat();
},insertAt:function(x,y,i){x.splice(i,0,y);
return x;
},insertBefore:function(z,A,B){var i=z.indexOf(B);

if(i==-1){z.push(A);
}else{z.splice(i,0,A);
}return z;
},insertAfter:function(C,D,E){var i=C.indexOf(E);

if(i==-1||i==(C.length-1)){C.push(D);
}else{C.splice(i+1,0,D);
}return C;
},removeAt:function(F,i){return F.splice(i,1)[0];
},removeAll:function(G){G.length=0;
return this;
},append:function(H,I){Array.prototype.push.apply(H,I);
return H;
},exclude:function(J,K){for(var i=0,M=K.length,L;i<M;i++){L=J.indexOf(K[i]);

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

if(i!=-1){N.splice(i,1);
return O;
}},contains:function(P,Q){return P.indexOf(Q)!==-1;
},equals:function(R,S){var length=R.length;

if(length!==S.length){return false;
}
for(var i=0;i<length;i++){if(R[i]!==S[i]){return false;
}}return true;
},sum:function(T){var U=0;

for(var i=0,l=T.length;i<l;i++){U+=T[i];
}return U;
},max:function(V){var i,X=V.length,W=V[0];

for(i=1;i<X;i++){if(V[i]>W){W=V[i];
}}return W===undefined?null:W;
},min:function(Y){var i,bb=Y.length,ba=Y[0];

for(i=1;i<bb;i++){if(Y[i]<ba){ba=Y[i];
}}return ba===undefined?null:ba;
},unique:function(bc){var bm=[],be={},bh={},bj={};
var bi,bd=0;
var bn=c+qx.lang.Date.now();
var bf=false,bl=false,bo=false;
for(var i=0,bk=bc.length;i<bk;i++){bi=bc[i];
if(bi===null){if(!bf){bf=true;
bm.push(bi);
}}else if(bi===undefined){}else if(bi===false){if(!bl){bl=true;
bm.push(bi);
}}else if(bi===true){if(!bo){bo=true;
bm.push(bi);
}}else if(typeof bi===a){if(!be[bi]){be[bi]=1;
bm.push(bi);
}}else if(typeof bi===b){if(!bh[bi]){bh[bi]=1;
bm.push(bi);
}}else{bg=bi[bn];

if(bg==null){bg=bi[bn]=bd++;
}
if(!bj[bg]){bj[bg]=bi;
bm.push(bi);
}}}for(var bg in bj){try{delete bj[bg][bn];
}catch(bp){try{bj[bg][bn]=null;
}catch(bq){throw new Error("Cannot clean-up map entry doneObjects["+bg+"]["+bn+"]");
}}}return bm;
}}});
})();
(function(){var c="qx.event.type.Data",b="qx.event.type.Event",a="qx.data.IListData";
qx.Interface.define(a,{events:{"change":c,"changeLength":b},members:{getItem:function(d){},setItem:function(e,f){},splice:function(g,h,i){},contains:function(j){},getLength:function(){},toArray:function(){}}});
})();
(function(){var a="qx.lang.Date";
qx.Class.define(a,{statics:{now:function(){return +new Date;
}}});
})();
(function(){var f="()",e=".",d=".prototype.",c='anonymous()',b="qx.lang.Function",a=".constructor()";
qx.Class.define(b,{statics:{getCaller:function(g){return g.caller?g.caller.callee:g.callee.caller;
},getName:function(h){if(h.displayName){return h.displayName;
}
if(h.$$original||h.wrapper||h.classname){return h.classname+a;
}
if(h.$$mixin){for(var j in h.$$mixin.$$members){if(h.$$mixin.$$members[j]==h){return h.$$mixin.name+d+j+f;
}}for(var j in h.$$mixin){if(h.$$mixin[j]==h){return h.$$mixin.name+e+j+f;
}}}
if(h.self){var k=h.self.constructor;

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

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

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

try{q=m.apply(n.self||this,p);
}catch(r){}return q;
}else{return m.apply(n.self||this,p);
}};
},bind:function(s,self,t){return this.create(s,{self:self,args:arguments.length>2?qx.lang.Array.fromArguments(arguments,2):null});
},curry:function(u,v){return this.create(u,{args:arguments.length>1?qx.lang.Array.fromArguments(arguments,1):null});
},listener:function(w,self,x){if(arguments.length<3){return function(event){return w.call(self||this,event||window.event);
};
}else{var y=qx.lang.Array.fromArguments(arguments,2);
return function(event){var z=[event||window.event];
z.push.apply(z,y);
w.apply(self||this,z);
};
}},attempt:function(A,self,B){return this.create(A,{self:self,attempt:true,args:arguments.length>2?qx.lang.Array.fromArguments(arguments,2):null})();
},delay:function(C,D,self,E){return this.create(C,{delay:D,self:self,args:arguments.length>3?qx.lang.Array.fromArguments(arguments,3):null})();
},periodical:function(F,G,self,H){return this.create(F,{periodical:G,self:self,args:arguments.length>3?qx.lang.Array.fromArguments(arguments,3):null})();
}}});
})();
(function(){var b="qx.globalErrorHandling",a="qx.event.GlobalError";
qx.Bootstrap.define(a,{statics:{__bD:function(){if(qx.core&&qx.core.Environment){return qx.core.Environment.get(b);
}else{return !!qx.Bootstrap.getEnvironmentSetting(b);
}},setErrorHandler:function(c,d){this.__bE=c||null;
this.__bF=d||window;

if(this.__bD()){if(c&&window.onerror){var e=qx.Bootstrap.bind(this.__bH,this);

if(this.__bG==null){this.__bG=window.onerror;
}var self=this;
window.onerror=function(f,g,h){self.__bG(f,g,h);
e(f,g,h);
};
}
if(c&&!window.onerror){window.onerror=qx.Bootstrap.bind(this.__bH,this);
}if(this.__bE==null){if(this.__bG!=null){window.onerror=this.__bG;
this.__bG=null;
}else{window.onerror=null;
}}}},__bH:function(i,j,k){if(this.__bE){this.handleError(new qx.core.WindowError(i,j,k));
return true;
}},observeMethod:function(l){if(this.__bD()){var self=this;
return function(){if(!self.__bE){return l.apply(this,arguments);
}
try{return l.apply(this,arguments);
}catch(m){self.handleError(new qx.core.GlobalError(m,arguments));
}};
}else{return l;
}},handleError:function(n){if(this.__bE){this.__bE.call(this.__bF,n);
}}},defer:function(o){if(qx.core&&qx.core.Environment){qx.core.Environment.add(b,true);
}else{qx.Bootstrap.setEnvironmentSetting(b,true);
}o.setErrorHandler(null,null);
}});
})();
(function(){var b="",a="qx.core.WindowError";
qx.Bootstrap.define(a,{extend:Error,construct:function(c,d,e){Error.call(this,c);
this.__bI=c;
this.__bJ=d||b;
this.__bK=e===undefined?-1:e;
},members:{__bI:null,__bJ:null,__bK:null,toString:function(){return this.__bI;
},getUri:function(){return this.__bJ;
},getLineNumber:function(){return this.__bK;
}}});
})();
(function(){var b="GlobalError: ",a="qx.core.GlobalError";
qx.Bootstrap.define(a,{extend:Error,construct:function(c,d){if(qx.Bootstrap.DEBUG){qx.core.Assert.assertNotUndefined(c);
}this.__bI=b+(c&&c.message?c.message:c);
Error.call(this,this.__bI);
this.__bL=d;
this.__bM=c;
},members:{__bM:null,__bL:null,__bI:null,toString:function(){return this.__bI;
},getArguments:function(){return this.__bL;
},getSourceException:function(){return this.__bM;
}},destruct:function(){this.__bM=null;
this.__bL=null;
this.__bI=null;
}});
})();
(function(){var f="qx.lang.Type",e="Error",d="RegExp",c="Date",b="Number",a="Boolean";
qx.Class.define(f,{statics:{getClass:qx.Bootstrap.getClass,isString:qx.Bootstrap.isString,isArray:qx.Bootstrap.isArray,isObject:qx.Bootstrap.isObject,isFunction:qx.Bootstrap.isFunction,isRegExp:function(g){return this.getClass(g)==d;
},isNumber:function(h){return (h!==null&&(this.getClass(h)==b||h instanceof Number));
},isBoolean:function(i){return (i!==null&&(this.getClass(i)==a||i instanceof Boolean));
},isDate:function(j){return (j!==null&&(this.getClass(j)==c||j instanceof Date));
},isError:function(k){return (k!==null&&(this.getClass(k)==e||k instanceof Error));
}}});
})();
(function(){var p="",o="!",n="'!",m="'",k="Expected '",j="' (rgb(",h=",",g=")), but found value '",f="Event (",d="Expected value to be the CSS color '",bz="' but found ",by="]",bx=", ",bw="The value '",bv=" != ",bu="qx.core.Object",bt="Expected value to be an array but found ",bs=") was fired.",br="Expected value to be an integer >= 0 but found ",bq="' to be not equal with '",w="' to '",x="Expected object '",u="Called assertTrue with '",v="Expected value to be a map but found ",s="The function did not raise an exception!",t="Expected value to be undefined but found ",q="Expected value to be a DOM element but found  '",r="Expected value to be a regular expression but found ",E="' to implement the interface '",F="Expected value to be null but found ",S="Invalid argument 'type'",O="Called assert with 'false'",bb="Assertion error! ",V="null",bm="' but found '",bg="' must must be a key of the map '",J="The String '",bp="Expected value to be a string but found ",bo="Expected value not to be undefined but found undefined!",bn="qx.util.ColorUtil",I=": ",L="The raised exception does not have the expected type! ",N=") not fired.",Q="qx.core.Assert",T="Expected value to be typeof object but found ",W="' (identical) but found '",bd="' must have any of the values defined in the array '",bi="Expected value to be a number but found ",y="Called assertFalse with '",z="qx.ui.core.Widget",K="Expected value to be a qooxdoo object but found ",ba="' arguments.",Y="Expected value '%1' to be in the range '%2'..'%3'!",X="Array[",bf="' does not match the regular expression '",be="' to be not identical with '",U="Expected [",bc="' arguments but found '",a="', which cannot be converted to a CSS color!",bh="qx.core.AssertionError",A="Expected value to be a boolean but found ",B="Expected value not to be null but found null!",P="))!",b="Expected value to be a qooxdoo widget but found ",c="Expected value to be typeof '",H="Expected value to be typeof function but found ",C="Expected value to be an integer but found ",D="Called fail().",G="The parameter 're' must be a string or a regular expression.",R="Expected value to be a number >= 0 but found ",bk="Expected value to be instanceof '",bj="], but found [",M="Wrong number of arguments given. Expected '",bl="object";
qx.Class.define(Q,{statics:{__bN:true,__bO:function(bA,bB){var bF=p;

for(var i=1,l=arguments.length;i<l;i++){bF=bF+this.__bP(arguments[i]);
}var bE=p;

if(bF){bE=bA+I+bF;
}else{bE=bA;
}var bD=bb+bE;

if(this.__bN){qx.Bootstrap.error(bD);
}
if(qx.Class.isDefined(bh)){var bC=new qx.core.AssertionError(bA,bF);

if(this.__bN){qx.Bootstrap.error("Stack trace: \n"+bC.getStackTrace());
}throw bC;
}else{throw new Error(bD);
}},__bP:function(bG){var bH;

if(bG===null){bH=V;
}else if(qx.lang.Type.isArray(bG)&&bG.length>10){bH=X+bG.length+by;
}else if((bG instanceof Object)&&(bG.toString==null)){bH=qx.lang.Json.stringify(bG,null,2);
}else{try{bH=bG.toString();
}catch(e){bH=p;
}}return bH;
},assert:function(bI,bJ){bI==true||this.__bO(bJ||p,O);
},fail:function(bK,bL){var bM=bL?p:D;
this.__bO(bK||p,bM);
},assertTrue:function(bN,bO){(bN===true)||this.__bO(bO||p,u,bN,m);
},assertFalse:function(bP,bQ){(bP===false)||this.__bO(bQ||p,y,bP,m);
},assertEquals:function(bR,bS,bT){bR==bS||this.__bO(bT||p,k,bR,bm,bS,n);
},assertNotEquals:function(bU,bV,bW){bU!=bV||this.__bO(bW||p,k,bU,bq,bV,n);
},assertIdentical:function(bX,bY,ca){bX===bY||this.__bO(ca||p,k,bX,W,bY,n);
},assertNotIdentical:function(cb,cc,cd){cb!==cc||this.__bO(cd||p,k,cb,be,cc,n);
},assertNotUndefined:function(ce,cf){ce!==undefined||this.__bO(cf||p,bo);
},assertUndefined:function(cg,ch){cg===undefined||this.__bO(ch||p,t,cg,o);
},assertNotNull:function(ci,cj){ci!==null||this.__bO(cj||p,B);
},assertNull:function(ck,cl){ck===null||this.__bO(cl||p,F,ck,o);
},assertJsonEquals:function(cm,cn,co){this.assertEquals(qx.lang.Json.stringify(cm),qx.lang.Json.stringify(cn),co);
},assertMatch:function(cp,cq,cr){this.assertString(cp);
this.assert(qx.lang.Type.isRegExp(cq)||qx.lang.Type.isString(cq),G);
cp.search(cq)>=0||this.__bO(cr||p,J,cp,bf,cq.toString(),n);
},assertArgumentsCount:function(cs,ct,cu,cv){var cw=cs.length;
(cw>=ct&&cw<=cu)||this.__bO(cv||p,M,ct,w,cu,bc,arguments.length,ba);
},assertEventFired:function(cx,event,cy,cz,cA){var cC=false;
var cB=function(e){if(cz){cz.call(cx,e);
}cC=true;
};
var cD;

try{cD=cx.addListener(event,cB,cx);
cy.call();
}catch(cE){throw cE;
}finally{try{cx.removeListenerById(cD);
}catch(cF){}}cC===true||this.__bO(cA||p,f,event,N);
},assertEventNotFired:function(cG,event,cH,cI){var cK=false;
var cJ=function(e){cK=true;
};
var cL=cG.addListener(event,cJ,cG);
cH.call();
cK===false||this.__bO(cI||p,f,event,bs);
cG.removeListenerById(cL);
},assertException:function(cM,cN,cO,cP){var cN=cN||Error;
var cQ;

try{this.__bN=false;
cM();
}catch(cR){cQ=cR;
}finally{this.__bN=true;
}
if(cQ==null){this.__bO(cP||p,s);
}cQ instanceof cN||this.__bO(cP||p,L,cN,bv,cQ);

if(cO){this.assertMatch(cQ.toString(),cO,cP);
}},assertInArray:function(cS,cT,cU){cT.indexOf(cS)!==-1||this.__bO(cU||p,bw,cS,bd,cT,m);
},assertArrayEquals:function(cV,cW,cX){this.assertArray(cV,cX);
this.assertArray(cW,cX);
cX=cX||U+cV.join(bx)+bj+cW.join(bx)+by;

if(cV.length!==cW.length){this.fail(cX,true);
}
for(var i=0;i<cV.length;i++){if(cV[i]!==cW[i]){this.fail(cX,true);
}}},assertKeyInMap:function(cY,da,db){da[cY]!==undefined||this.__bO(db||p,bw,cY,bg,da,m);
},assertFunction:function(dc,dd){qx.lang.Type.isFunction(dc)||this.__bO(dd||p,H,dc,o);
},assertString:function(de,df){qx.lang.Type.isString(de)||this.__bO(df||p,bp,de,o);
},assertBoolean:function(dg,dh){qx.lang.Type.isBoolean(dg)||this.__bO(dh||p,A,dg,o);
},assertNumber:function(di,dj){(qx.lang.Type.isNumber(di)&&isFinite(di))||this.__bO(dj||p,bi,di,o);
},assertPositiveNumber:function(dk,dl){(qx.lang.Type.isNumber(dk)&&isFinite(dk)&&dk>=0)||this.__bO(dl||p,R,dk,o);
},assertInteger:function(dm,dn){(qx.lang.Type.isNumber(dm)&&isFinite(dm)&&dm%1===0)||this.__bO(dn||p,C,dm,o);
},assertPositiveInteger:function(dp,dq){var dr=(qx.lang.Type.isNumber(dp)&&isFinite(dp)&&dp%1===0&&dp>=0);
dr||this.__bO(dq||p,br,dp,o);
},assertInRange:function(ds,dt,du,dv){(ds>=dt&&ds<=du)||this.__bO(dv||p,qx.lang.String.format(Y,[ds,dt,du]));
},assertObject:function(dw,dx){var dy=dw!==null&&(qx.lang.Type.isObject(dw)||typeof dw===bl);
dy||this.__bO(dx||p,T,(dw),o);
},assertArray:function(dz,dA){qx.lang.Type.isArray(dz)||this.__bO(dA||p,bt,dz,o);
},assertMap:function(dB,dC){qx.lang.Type.isObject(dB)||this.__bO(dC||p,v,dB,o);
},assertRegExp:function(dD,dE){qx.lang.Type.isRegExp(dD)||this.__bO(dE||p,r,dD,o);
},assertType:function(dF,dG,dH){this.assertString(dG,S);
typeof (dF)===dG||this.__bO(dH||p,c,dG,bz,dF,o);
},assertInstance:function(dI,dJ,dK){var dL=dJ.classname||dJ+p;
dI instanceof dJ||this.__bO(dK||p,bk,dL,bz,dI,o);
},assertInterface:function(dM,dN,dO){qx.Class.implementsInterface(dM,dN)||this.__bO(dO||p,x,dM,E,dN,n);
},assertCssColor:function(dP,dQ,dR){var dS=qx.Class.getByName(bn);

if(!dS){throw new Error("qx.util.ColorUtil not available! Your code must have a dependency on 'qx.util.ColorUtil'");
}var dU=dS.stringToRgb(dP);

try{var dT=dS.stringToRgb(dQ);
}catch(dW){this.__bO(dR||p,d,dP,j,dU.join(h),g,dQ,a);
}var dV=dU[0]==dT[0]&&dU[1]==dT[1]&&dU[2]==dT[2];
dV||this.__bO(dR||p,d,dU,j,dU.join(h),g,dQ,j,dT.join(h),P);
},assertElement:function(dX,dY){!!(dX&&dX.nodeType===1)||this.__bO(dY||p,q,dX,n);
},assertQxObject:function(ea,eb){this.__bQ(ea,bu)||this.__bO(eb||p,K,ea,o);
},assertQxWidget:function(ec,ed){this.__bQ(ec,z)||this.__bO(ed||p,b,ec,o);
},__bQ:function(ee,ef){if(!ee){return false;
}var eg=ee.constructor;

while(eg){if(eg.classname===ef){return true;
}eg=eg.superclass;
}return false;
}}});
})();
(function(){var c="",b=": ",a="qx.type.BaseError";
qx.Class.define(a,{extend:Error,construct:function(d,e){Error.call(this,e);
this.__bR=d||c;
this.message=e||qx.type.BaseError.DEFAULTMESSAGE;
},statics:{DEFAULTMESSAGE:"error"},members:{__bR:null,message:null,getComment:function(){return this.__bR;
},toString:function(){return this.__bR+(this.message?b+this.message:c);
}}});
})();
(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.__bS=qx.dev.StackTrace.getStackTrace();
},members:{__bS:null,getStackTrace:function(){return this.__bS;
}}});
})();
(function(){var m=":",l="engine.name",k="Error created at",j="...",h="qx.dev.StackTrace",g="",f="\n",e="?",d="/source/class/",c="anonymous",a="of linked script",b=".";
qx.Bootstrap.define(h,{statics:{getStackTrace:qx.core.Environment.select(l,{"gecko":function(){try{throw new Error();
}catch(A){var u=this.getStackTraceFromError(A);
qx.lang.Array.removeAt(u,0);
var s=this.getStackTraceFromCaller(arguments);
var q=s.length>u.length?s:u;

for(var i=0;i<Math.min(s.length,u.length);i++){var r=s[i];

if(r.indexOf(c)>=0){continue;
}var y=r.split(m);

if(y.length!=2){continue;
}var w=y[0];
var p=y[1];
var o=u[i];
var z=o.split(m);
var v=z[0];
var n=z[1];

if(qx.Class.getByName(v)){var t=v;
}else{t=w;
}var x=t+m;

if(p){x+=p+m;
}x+=n;
q[i]=x;
}return q;
}},"mshtml|webkit":function(){return this.getStackTraceFromCaller(arguments);
},"opera":function(){var B;

try{B.bar();
}catch(D){var C=this.getStackTraceFromError(D);
qx.lang.Array.removeAt(C,0);
return C;
}return [];
}}),getStackTraceFromCaller:qx.core.Environment.select(l,{"opera":function(E){return [];
},"default":function(F){var K=[];
var J=qx.lang.Function.getCaller(F);
var G={};

while(J){var H=qx.lang.Function.getName(J);
K.push(H);

try{J=J.caller;
}catch(L){break;
}
if(!J){break;
}var I=qx.core.ObjectRegistry.toHashCode(J);

if(G[I]){K.push(j);
break;
}G[I]=J;
}return K;
}}),getStackTraceFromError:qx.core.Environment.select(l,{"gecko":function(M){if(!M.stack){return [];
}var S=/@(.+):(\d+)$/gm;
var N;
var O=[];

while((N=S.exec(M.stack))!=null){var P=N[1];
var R=N[2];
var Q=this.__bT(P);
O.push(Q+m+R);
}return O;
},"webkit":function(T){if(T.stack){var bb=/at (.*)/gm;
var ba=/\((.*?)(:[^\/].*)\)/;
var X=/(.*?)(:[^\/].*)/;
var U;
var V=[];

while((U=bb.exec(T.stack))!=null){var W=ba.exec(U[1]);

if(!W){W=X.exec(U[1]);
}
if(W){var Y=this.__bT(W[1]);
V.push(Y+W[2]);
}else{V.push(U[1]);
}}return V;
}else if(T.sourceURL&&T.line){return [this.__bT(T.sourceURL)+m+T.line];
}else{return [];
}},"opera":function(bc){if(bc.stacktrace){var be=bc.stacktrace;

if(be.indexOf(k)>=0){be=be.split(k)[0];
}if(be.indexOf(a)>=0){var bo=/Line\ (\d+?)\ of\ linked\ script\ (.*?)$/gm;
var bf;
var bg=[];

while((bf=bo.exec(be))!=null){var bn=bf[1];
var bi=bf[2];
var bm=this.__bT(bi);
bg.push(bm+m+bn);
}}else{var bo=/line\ (\d+?),\ column\ (\d+?)\ in\ (?:.*?)\ in\ (.*?):[^\/]/gm;
var bf;
var bg=[];

while((bf=bo.exec(be))!=null){var bn=bf[1];
var bh=bf[2];
var bi=bf[3];
var bm=this.__bT(bi);
bg.push(bm+m+bn+m+bh);
}}return bg;
}else if(bc.message&&bc.message.indexOf("Backtrace:")>=0){var bg=[];
var bj=qx.lang.String.trim(bc.message.split("Backtrace:")[1]);
var bk=bj.split(f);

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

if(bd&&bd.length>=2){var bn=bd[1];
var bl=this.__bT(bd[2]);
bg.push(bl+m+bn);
}}return bg;
}else{return [];
}},"default":function(){return [];
}}),__bT:function(bp){var bt=d;
var bq=bp.indexOf(bt);
var bs=bp.indexOf(e);

if(bs>=0){bp=bp.substring(0,bs);
}var br=(bq==-1)?bp:bp.substring(bq+bt.length).replace(/\//g,b).replace(/\.js$/,g);
return br;
}}});
})();
(function(){var h="qx.debug.dispose",g="$$hash",f="-",e="",d="qx.core.ObjectRegistry",c="-0";
qx.Class.define(d,{statics:{inShutDown:false,__w:{},__bU:0,__bV:[],__bW:e,__bX:{},register:function(j){var n=this.__w;

if(!n){return;
}var m=j.$$hash;

if(m==null){var k=this.__bV;

if(k.length>0&&!qx.core.Environment.get(h)){m=k.pop();
}else{m=(this.__bU++)+this.__bW;
}j.$$hash=m;

if(qx.core.Environment.get(h)&&qx.dev&&qx.dev.Debug&&qx.dev.Debug.disposeProfilingActive){this.__bX[m]=qx.dev.StackTrace.getStackTrace();
}}n[m]=j;
},unregister:function(o){var p=o.$$hash;

if(p==null){return;
}var q=this.__w;

if(q&&q[p]){delete q[p];
this.__bV.push(p);
}try{delete o.$$hash;
}catch(r){if(o.removeAttribute){o.removeAttribute(g);
}}},toHashCode:function(s){var u=s.$$hash;

if(u!=null){return u;
}var t=this.__bV;

if(t.length>0){u=t.pop();
}else{u=(this.__bU++)+this.__bW;
}return s.$$hash=u;
},clearHashCode:function(v){var w=v.$$hash;

if(w!=null){this.__bV.push(w);
try{delete v.$$hash;
}catch(x){if(v.removeAttribute){v.removeAttribute(g);
}}}},fromHashCode:function(y){return this.__w[y]||null;
},shutdown:function(){this.inShutDown=true;
var A=this.__w;
var C=[];

for(var B in A){C.push(B);
}C.sort(function(a,b){return parseInt(b,10)-parseInt(a,10);
});
var z,i=0,l=C.length;

while(true){try{for(;i<l;i++){B=C[i];
z=A[B];

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

if(i!==l){i++;
continue;
}}break;
}qx.Bootstrap.debug(this,"Disposed "+l+" objects");
delete this.__w;
},getRegistry:function(){return this.__w;
},getNextHash:function(){return this.__bU;
},getPostId:function(){return this.__bW;
},getStackTraces:function(){return this.__bX;
}},defer:function(E){if(window&&window.top){var frames=window.top.frames;

for(var i=0;i<frames.length;i++){if(frames[i]===window){E.__bW=f+(i+1);
return;
}}}E.__bW=c;
}});
})();
(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:{__bY:null,__ca:null,__cb:null,__cc:null,stringify:function(bb,bc,bd){this.__bY=p;
this.__ca=p;
this.__cc=[];

if(qx.lang.Type.isNumber(bd)){var bd=Math.min(10,Math.floor(bd));

for(var i=0;i<bd;i+=1){this.__ca+=O;
}}else if(qx.lang.Type.isString(bd)){if(bd.length>10){bd=bd.slice(0,10);
}this.__ca=bd;
}if(bc&&(qx.lang.Type.isFunction(bc)||qx.lang.Type.isArray(bc))){this.__cb=bc;
}else{this.__cb=null;
}return this.__cd(p,{'':bb});
},__cd:function(be,bf){var bi=this.__bY,bg,bj=bf[be];
if(bj&&qx.lang.Type.isFunction(bj.toJSON)){bj=bj.toJSON(be);
}else if(qx.lang.Type.isDate(bj)){bj=this.dateToJSON(bj);
}if(typeof this.__cb===e){bj=this.__cb.call(bf,be,bj);
}
if(bj===null){return h;
}
if(bj===undefined){return undefined;
}switch(qx.lang.Type.getClass(bj)){case R:return this.__ce(bj);
case B:return isFinite(bj)?String(bj):h;
case Q:return String(bj);
case J:this.__bY+=this.__ca;
bg=[];

if(this.__cc.indexOf(bj)!==-1){throw new TypeError(V);
}this.__cc.push(bj);
var length=bj.length;

for(var i=0;i<length;i+=1){bg[i]=this.__cd(i,bj)||h;
}this.__cc.pop();
if(bg.length===0){var bh=s;
}else if(this.__bY){bh=E+this.__bY+bg.join(Y+this.__bY)+b+bi+l;
}else{bh=N+bg.join(d)+l;
}this.__bY=bi;
return bh;
case z:this.__bY+=this.__ca;
bg=[];

if(this.__cc.indexOf(bj)!==-1){throw new TypeError(V);
}this.__cc.push(bj);
if(this.__cb&&typeof this.__cb===f){var length=this.__cb.length;

for(var i=0;i<length;i+=1){var k=this.__cb[i];

if(typeof k===W){var v=this.__cd(k,bj);

if(v){bg.push(this.__ce(k)+(this.__bY?g:m)+v);
}}}}else{for(var k in bj){if(Object.hasOwnProperty.call(bj,k)){var v=this.__cd(k,bj);

if(v){bg.push(this.__ce(k)+(this.__bY?g:m)+v);
}}}}this.__cc.pop();
if(bg.length===0){var bh=A;
}else if(this.__bY){bh=w+this.__bY+bg.join(Y+this.__bY)+b+bi+S;
}else{bh=C+bg.join(d)+S;
}this.__bY=bi;
return bh;
}},dateToJSON:function(bk){var bl=function(n){return n<10?U+n:n;
};
var bm=function(n){var bn=bl(n);
return n<100?U+bn:bn;
};
return isFinite(bk.valueOf())?bk.getUTCFullYear()+T+bl(bk.getUTCMonth()+1)+T+bl(bk.getUTCDate())+M+bl(bk.getUTCHours())+m+bl(bk.getUTCMinutes())+m+bl(bk.getUTCSeconds())+F+bm(bk.getUTCMilliseconds())+q:null;
},__ce:function(bo){var bp={'\b':I,'\t':u,'\n':r,'\f':y,'\r':L,'"':G,'\\':x};
var bq=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;
bq.lastIndex=0;

if(bq.test(bo)){return o+bo.replace(bq,function(a){var c=bp[a];
return typeof c===W?c:ba+(X+a.charCodeAt(0).toString(16)).slice(-4);
})+o;
}else{return o+bo+o;
}},parse:function(br,bs){var bt=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;
bt.lastIndex=0;
if(bt.test(br)){br=br.replace(bt,function(a){return ba+(X+a.charCodeAt(0).toString(16)).slice(-4);
});
}if(/^[\],:{}\s]*$/.test(br.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+br+D);
return typeof bs===e?this.__cf({'':j},p,bs):j;
}throw new SyntaxError(P);
},__cf:function(bu,bv,bw){var bx=bu[bv];

if(bx&&typeof bx===f){for(var k in bx){if(Object.hasOwnProperty.call(bx,k)){var v=this.__cf(bx,k,bw);

if(v!==undefined){bx[k]=v;
}else{delete bx[k];
}}}}return bw.call(bu,bv,bx);
}}});
})();
(function(){var a="qx.lang.Json";
qx.Class.define(a,{statics:{JSON:(qx.lang.Type.getClass(window.JSON)=="JSON"&&JSON.parse('{"x":1}').x===1&&JSON.stringify({"prop":"val"},function(k,v){return k==="prop"?"repl":v;
}).indexOf("repl")>0)?window.JSON:new qx.lang.JsonImpl(),stringify:null,parse:null},defer:function(b){b.stringify=b.JSON.stringify;
b.parse=b.JSON.parse;
}});
})();
(function(){var a="qx.core.ValidationError";
qx.Class.define(a,{extend:qx.type.BaseError});
})();
(function(){var a="qx.lang.RingBuffer";
qx.Class.define(a,{extend:Object,construct:function(b){this.setMaxEntries(b||50);
},members:{__cg:0,__ch:0,__ci:false,__cj:0,__ck:null,__cl:null,setMaxEntries:function(c){this.__cl=c;
this.clear();
},getMaxEntries:function(){return this.__cl;
},addEntry:function(d){this.__ck[this.__cg]=d;
this.__cg=this.__cm(this.__cg,1);
var e=this.getMaxEntries();

if(this.__ch<e){this.__ch++;
}if(this.__ci&&(this.__cj<e)){this.__cj++;
}},mark:function(){this.__ci=true;
this.__cj=0;
},clearMark:function(){this.__ci=false;
},getAllEntries:function(){return this.getEntries(this.getMaxEntries(),false);
},getEntries:function(f,g){if(f>this.__ch){f=this.__ch;
}if(g&&this.__ci&&(f>this.__cj)){f=this.__cj;
}
if(f>0){var i=this.__cm(this.__cg,-1);
var h=this.__cm(i,-f+1);
var j;

if(h<=i){j=this.__ck.slice(h,i+1);
}else{j=this.__ck.slice(h,this.__ch).concat(this.__ck.slice(0,i+1));
}}else{j=[];
}return j;
},clear:function(){this.__ck=new Array(this.getMaxEntries());
this.__ch=0;
this.__cj=0;
this.__cg=0;
},__cm:function(k,l){var m=this.getMaxEntries();
var n=(k+l)%m;
if(n<0){n+=m;
}return n;
}}});
})();
(function(){var a="qx.log.appender.RingBuffer";
qx.Class.define(a,{extend:qx.lang.RingBuffer,construct:function(b){this.setMaxMessages(b||50);
},members:{setMaxMessages:function(c){this.setMaxEntries(c);
},getMaxMessages:function(){return this.getMaxEntries();
},process:function(d){this.addEntry(d);
},getAllLogEvents:function(){return this.getAllEntries();
},retrieveLogEvents:function(e,f){return this.getEntries(e,f);
},clearHistory:function(){this.clear();
}}});
})();
(function(){var k="node",j="error",h="...(+",g="array",f=")",e="info",d="instance",c="string",b="null",a="class",H="number",G="stringify",F="]",E="date",D="unknown",C="function",B="boolean",A="debug",z="map",y="undefined",s="qx.log.Logger",t="[",q="#",r="warn",o="document",p="{...(",m="text[",n="[...(",u="\n",v=")}",x=")]",w="object";
qx.Class.define(s,{statics:{__cn:A,setLevel:function(I){this.__cn=I;
},getLevel:function(){return this.__cn;
},setTreshold:function(J){this.__cq.setMaxMessages(J);
},getTreshold:function(){return this.__cq.getMaxMessages();
},__co:{},__cp:0,register:function(K){if(K.$$id){return;
}var M=this.__cp++;
this.__co[M]=K;
K.$$id=M;
var L=this.__cr;
var N=this.__cq.getAllLogEvents();

for(var i=0,l=N.length;i<l;i++){if(L[N[i].level]>=L[this.__cn]){K.process(N[i]);
}}},unregister:function(O){var P=O.$$id;

if(P==null){return;
}delete this.__co[P];
delete O.$$id;
},debug:function(Q,R){qx.log.Logger.__cs(A,arguments);
},info:function(S,T){qx.log.Logger.__cs(e,arguments);
},warn:function(U,V){qx.log.Logger.__cs(r,arguments);
},error:function(W,X){qx.log.Logger.__cs(j,arguments);
},trace:function(Y){qx.log.Logger.__cs(e,[Y,qx.dev.StackTrace.getStackTrace().join(u)]);
},deprecatedMethodWarning:function(ba,bb){var bc;
},deprecatedClassWarning:function(bd,be){var bf;
},deprecatedEventWarning:function(bg,event,bh){var bi;
},deprecatedMixinWarning:function(bj,bk){var bl;
},deprecatedConstantWarning:function(bm,bn,bo){var self,bp;
},deprecateMethodOverriding:function(bq,br,bs,bt){var bu;
},clear:function(){this.__cq.clearHistory();
},__cq:new qx.log.appender.RingBuffer(50),__cr:{debug:0,info:1,warn:2,error:3},__cs:function(bv,bw){var bB=this.__cr;

if(bB[bv]<bB[this.__cn]){return;
}var by=bw.length<2?null:bw[0];
var bA=by?1:0;
var bx=[];

for(var i=bA,l=bw.length;i<l;i++){bx.push(this.__cu(bw[i],true));
}var bC=new Date;
var bD={time:bC,offset:bC-qx.Bootstrap.LOADSTART,level:bv,items:bx,win:window};
if(by){if(by.$$hash!==undefined){bD.object=by.$$hash;
}else if(by.$$type){bD.clazz=by;
}}this.__cq.process(bD);
var bE=this.__co;

for(var bz in bE){bE[bz].process(bD);
}},__ct:function(bF){if(bF===undefined){return y;
}else if(bF===null){return b;
}
if(bF.$$type){return a;
}var bG=typeof bF;

if(bG===C||bG==c||bG===H||bG===B){return bG;
}else if(bG===w){if(bF.nodeType){return k;
}else if(bF.classname){return d;
}else if(bF instanceof Array){return g;
}else if(bF instanceof Error){return j;
}else if(bF instanceof Date){return E;
}else{return z;
}}
if(bF.toString){return G;
}return D;
},__cu:function(bH,bI){var bP=this.__ct(bH);
var bL=D;
var bK=[];

switch(bP){case b:case y:bL=bP;
break;
case c:case H:case B:case E:bL=bH;
break;
case k:if(bH.nodeType===9){bL=o;
}else if(bH.nodeType===3){bL=m+bH.nodeValue+F;
}else if(bH.nodeType===1){bL=bH.nodeName.toLowerCase();

if(bH.id){bL+=q+bH.id;
}}else{bL=k;
}break;
case C:bL=qx.lang.Function.getName(bH)||bP;
break;
case d:bL=bH.basename+t+bH.$$hash+F;
break;
case a:case G:bL=bH.toString();
break;
case j:bK=qx.dev.StackTrace.getStackTraceFromError(bH);
bL=bH.toString();
break;
case g:if(bI){bL=[];

for(var i=0,l=bH.length;i<l;i++){if(bL.length>20){bL.push(h+(l-i)+f);
break;
}bL.push(this.__cu(bH[i],false));
}}else{bL=n+bH.length+x;
}break;
case z:if(bI){var bJ;
var bO=[];

for(var bN in bH){bO.push(bN);
}bO.sort();
bL=[];

for(var i=0,l=bO.length;i<l;i++){if(bL.length>20){bL.push(h+(l-i)+f);
break;
}bN=bO[i];
bJ=this.__cu(bH[bN],false);
bJ.key=bN;
bL.push(bJ);
}}else{var bM=0;

for(var bN in bH){bM++;
}bL=p+bM+v;
}break;
}return {type:bP,text:bL,trace:bK};
}},defer:function(bQ){var bR=qx.Bootstrap.$$logs;

for(var i=0;i<bR.length;i++){bQ.__cs(bR[i][0],bR[i][1]);
}qx.Bootstrap.debug=bQ.debug;
qx.Bootstrap.info=bQ.info;
qx.Bootstrap.warn=bQ.warn;
qx.Bootstrap.error=bQ.error;
qx.Bootstrap.trace=bQ.trace;
}});
})();
(function(){var d="qx.dom.Node",c="engine.name",b="";
qx.Class.define(d,{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(e){return e.nodeType===this.DOCUMENT?e:e.ownerDocument||e.document;
},getWindow:qx.core.Environment.select(c,{"mshtml":function(f){if(f.nodeType==null){return f;
}if(f.nodeType!==this.DOCUMENT){f=f.ownerDocument;
}return f.parentWindow;
},"default":function(g){if(g.nodeType==null){return g;
}if(g.nodeType!==this.DOCUMENT){g=g.ownerDocument;
}return g.defaultView;
}}),getDocumentElement:function(h){return this.getDocument(h).documentElement;
},getBodyElement:function(j){return this.getDocument(j).body;
},isNode:function(k){return !!(k&&k.nodeType!=null);
},isElement:function(l){return !!(l&&l.nodeType===this.ELEMENT);
},isDocument:function(m){return !!(m&&m.nodeType===this.DOCUMENT);
},isText:function(n){return !!(n&&n.nodeType===this.TEXT);
},isWindow:function(o){return !!(o&&o.history&&o.location&&o.document);
},isNodeName:function(p,q){if(!q||!p||!p.nodeName){return false;
}return q.toLowerCase()==qx.dom.Node.getName(p);
},getName:function(r){if(!r||!r.nodeName){return null;
}return r.nodeName.toLowerCase();
},getText:function(s){if(!s||!s.nodeType){return null;
}
switch(s.nodeType){case 1:var i,a=[],t=s.childNodes,length=t.length;

for(i=0;i<length;i++){a[i]=this.getText(t[i]);
}return a.join(b);
case 2:case 3:case 4:return s.nodeValue;
}return null;
},isBlockNode:function(u){if(!qx.dom.Node.isElement(u)){return false;
}u=qx.dom.Node.getName(u);
return /^(body|form|textarea|fieldset|ul|ol|dl|dt|dd|li|div|hr|p|h[1-6]|quote|pre|table|thead|tbody|tfoot|tr|td|th|iframe|address|blockquote)$/.test(u);
}}});
})();
(function(){var l="on",k="engine.name",j="gecko",i="engine.version",h="function",g="undefined",f="mousedown",d="qx.bom.Event",c="return;",b="mouseover",a="HTMLEvents";
qx.Class.define(d,{statics:{addNativeListener:function(m,n,o,p){if(m.addEventListener){m.addEventListener(n,o,!!p);
}else if(m.attachEvent){m.attachEvent(l+n,o);
}else if(typeof m[l+n]!=g){m[l+n]=o;
}else{}},removeNativeListener:function(q,r,s,t){if(q.removeEventListener){q.removeEventListener(r,s,!!t);
}else if(q.detachEvent){try{q.detachEvent(l+r,s);
}catch(e){if(e.number!==-2146828218){throw e;
}}}else if(typeof q[l+r]!=g){q[l+r]=null;
}else{}},getTarget:function(e){return e.target||e.srcElement;
},getRelatedTarget:function(e){if(e.relatedTarget!==undefined){if((qx.core.Environment.get(k)==j)){try{e.relatedTarget&&e.relatedTarget.nodeType;
}catch(e){return null;
}}return e.relatedTarget;
}else if(e.fromElement!==undefined&&e.type===b){return e.fromElement;
}else if(e.toElement!==undefined){return e.toElement;
}else{return null;
}},preventDefault:function(e){if(e.preventDefault){if((qx.core.Environment.get(k)==j)&&parseFloat(qx.core.Environment.get(i))>=1.9&&e.type==f&&e.button==2){return;
}e.preventDefault();
if((qx.core.Environment.get(k)==j)&&parseFloat(qx.core.Environment.get(i))<1.9){try{e.keyCode=0;
}catch(u){}}}else{try{e.keyCode=0;
}catch(v){}e.returnValue=false;
}},stopPropagation:function(e){if(e.stopPropagation){e.stopPropagation();
}else{e.cancelBubble=true;
}},fire:function(w,x){if(document.createEvent){var y=document.createEvent(a);
y.initEvent(x,true,true);
return !w.dispatchEvent(y);
}else{var y=document.createEventObject();
return w.fireEvent(l+x,y);
}},supportsEvent:qx.core.Environment.select(k,{"webkit":function(z,A){return z.hasOwnProperty(l+A);
},"default":function(B,C){var D=l+C;
var E=(D in B);

if(!E){E=typeof B[D]==h;

if(!E&&B.setAttribute){B.setAttribute(D,c);
E=typeof B[D]==h;
B.removeAttribute(D);
}}return E;
}})}});
})();
(function(){var r="|bubble",q="|capture",p="|",o="",n="_",m="unload",k="UNKNOWN_",j="c",h="__cA",g="__cz",c="DOM_",f="WIN_",e="QX_",b="qx.event.Manager",a="capture",d="DOCUMENT_";
qx.Class.define(b,{extend:Object,construct:function(s,t){this.__cv=s;
this.__cw=qx.core.ObjectRegistry.toHashCode(s);
this.__cx=t;
if(s.qx!==qx){var self=this;
qx.bom.Event.addNativeListener(s,m,qx.event.GlobalError.observeMethod(function(){qx.bom.Event.removeNativeListener(s,m,arguments.callee);
self.dispose();
}));
}this.__cy={};
this.__cz={};
this.__cA={};
this.__cB={};
},statics:{__cC:0,getNextUniqueId:function(){return (this.__cC++)+o;
}},members:{__cx:null,__cy:null,__cA:null,__cD:null,__cz:null,__cB:null,__cv:null,__cw:null,getWindow:function(){return this.__cv;
},getWindowId:function(){return this.__cw;
},getHandler:function(u){var v=this.__cz[u.classname];

if(v){return v;
}return this.__cz[u.classname]=new u(this);
},getDispatcher:function(w){var x=this.__cA[w.classname];

if(x){return x;
}return this.__cA[w.classname]=new w(this,this.__cx);
},getListeners:function(y,z,A){var B=y.$$hash||qx.core.ObjectRegistry.toHashCode(y);
var D=this.__cy[B];

if(!D){return null;
}var E=z+(A?q:r);
var C=D[E];
return C?C.concat():null;
},getAllListeners:function(){return this.__cy;
},serializeListeners:function(F){var M=F.$$hash||qx.core.ObjectRegistry.toHashCode(F);
var O=this.__cy[M];
var K=[];

if(O){var I,N,G,J,L;

for(var H in O){I=H.indexOf(p);
N=H.substring(0,I);
G=H.charAt(I+1)==j;
J=O[H];

for(var i=0,l=J.length;i<l;i++){L=J[i];
K.push({self:L.context,handler:L.handler,type:N,capture:G});
}}}return K;
},toggleAttachedEvents:function(P,Q){var V=P.$$hash||qx.core.ObjectRegistry.toHashCode(P);
var X=this.__cy[V];

if(X){var S,W,R,T;

for(var U in X){S=U.indexOf(p);
W=U.substring(0,S);
R=U.charCodeAt(S+1)===99;
T=X[U];

if(Q){this.__cE(P,W,R);
}else{this.__cF(P,W,R);
}}}},hasListener:function(Y,ba,bb){var bc=Y.$$hash||qx.core.ObjectRegistry.toHashCode(Y);
var be=this.__cy[bc];

if(!be){return false;
}var bf=ba+(bb?q:r);
var bd=be[bf];
return !!(bd&&bd.length>0);
},importListeners:function(bg,bh){var bn=bg.$$hash||qx.core.ObjectRegistry.toHashCode(bg);
var bo=this.__cy[bn]={};
var bk=qx.event.Manager;

for(var bi in bh){var bl=bh[bi];
var bm=bl.type+(bl.capture?q:r);
var bj=bo[bm];

if(!bj){bj=bo[bm]=[];
this.__cE(bg,bl.type,bl.capture);
}bj.push({handler:bl.listener,context:bl.self,unique:bl.unique||(bk.__cC++)+o});
}},addListener:function(bp,bq,br,self,bs){var bw;
var bx=bp.$$hash||qx.core.ObjectRegistry.toHashCode(bp);
var bz=this.__cy[bx];

if(!bz){bz=this.__cy[bx]={};
}var bv=bq+(bs?q:r);
var bu=bz[bv];

if(!bu){bu=bz[bv]=[];
}if(bu.length===0){this.__cE(bp,bq,bs);
}var by=(qx.event.Manager.__cC++)+o;
var bt={handler:br,context:self,unique:by};
bu.push(bt);
return bv+p+by;
},findHandler:function(bA,bB){var bN=false,bF=false,bO=false,bC=false;
var bL;

if(bA.nodeType===1){bN=true;
bL=c+bA.tagName.toLowerCase()+n+bB;
}else if(bA.nodeType===9){bC=true;
bL=d+bB;
}else if(bA==this.__cv){bF=true;
bL=f+bB;
}else if(bA.classname){bO=true;
bL=e+bA.classname+n+bB;
}else{bL=k+bA+n+bB;
}var bH=this.__cB;

if(bH[bL]){return bH[bL];
}var bK=this.__cx.getHandlers();
var bG=qx.event.IEventHandler;
var bI,bJ,bE,bD;

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

if(bE&&!bE[bB]){continue;
}bD=bI.TARGET_CHECK;

if(bD){var bM=false;

if(bN&&((bD&bG.TARGET_DOMNODE)!=0)){bM=true;
}else if(bF&&((bD&bG.TARGET_WINDOW)!=0)){bM=true;
}else if(bO&&((bD&bG.TARGET_OBJECT)!=0)){bM=true;
}else if(bC&&((bD&bG.TARGET_DOCUMENT)!=0)){bM=true;
}
if(!bM){continue;
}}bJ=this.getHandler(bK[i]);

if(bI.IGNORE_CAN_HANDLE||bJ.canHandleEvent(bA,bB)){bH[bL]=bJ;
return bJ;
}}return null;
},__cE:function(bP,bQ,bR){var bS=this.findHandler(bP,bQ);

if(bS){bS.registerEvent(bP,bQ,bR);
return;
}},removeListener:function(bT,bU,bV,self,bW){var cb;
var cc=bT.$$hash||qx.core.ObjectRegistry.toHashCode(bT);
var cd=this.__cy[cc];

if(!cd){return false;
}var bX=bU+(bW?q:r);
var bY=cd[bX];

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

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

if(ca.handler===bV&&ca.context===self){qx.lang.Array.removeAt(bY,i);

if(bY.length==0){this.__cF(bT,bU,bW);
}return true;
}}return false;
},removeListenerById:function(ce,cf){var cl;
var cj=cf.split(p);
var co=cj[0];
var cg=cj[1].charCodeAt(0)==99;
var cn=cj[2];
var cm=ce.$$hash||qx.core.ObjectRegistry.toHashCode(ce);
var cp=this.__cy[cm];

if(!cp){return false;
}var ck=co+(cg?q:r);
var ci=cp[ck];

if(!ci){return false;
}var ch;

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

if(ch.unique===cn){qx.lang.Array.removeAt(ci,i);

if(ci.length==0){this.__cF(ce,co,cg);
}return true;
}}return false;
},removeAllListeners:function(cq){var cu=cq.$$hash||qx.core.ObjectRegistry.toHashCode(cq);
var cw=this.__cy[cu];

if(!cw){return false;
}var cs,cv,cr;

for(var ct in cw){if(cw[ct].length>0){cs=ct.split(p);
cv=cs[0];
cr=cs[1]===a;
this.__cF(cq,cv,cr);
}}delete this.__cy[cu];
return true;
},deleteAllListeners:function(cx){delete this.__cy[cx];
},__cF:function(cy,cz,cA){var cB=this.findHandler(cy,cz);

if(cB){cB.unregisterEvent(cy,cz,cA);
return;
}},dispatchEvent:function(cC,event){var cH;
var cI=event.getType();

if(!event.getBubbles()&&!this.hasListener(cC,cI)){qx.event.Pool.getInstance().poolObject(event);
return true;
}
if(!event.getTarget()){event.setTarget(cC);
}var cG=this.__cx.getDispatchers();
var cF;
var cE=false;

for(var i=0,l=cG.length;i<l;i++){cF=this.getDispatcher(cG[i]);
if(cF.canDispatchEvent(cC,event,cI)){cF.dispatchEvent(cC,event,cI);
cE=true;
break;
}}
if(!cE){return true;
}var cD=event.getDefaultPrevented();
qx.event.Pool.getInstance().poolObject(event);
return !cD;
},dispose:function(){this.__cx.removeManager(this);
qx.util.DisposeUtil.disposeMap(this,g);
qx.util.DisposeUtil.disposeMap(this,h);
this.__cy=this.__cv=this.__cD=null;
this.__cx=this.__cB=null;
}}});
})();
(function(){var a="qx.event.IEventHandler";
qx.Interface.define(a,{statics:{TARGET_DOMNODE:1,TARGET_WINDOW:2,TARGET_OBJECT:4,TARGET_DOCUMENT:8},members:{canHandleEvent:function(b,c){},registerEvent:function(d,e,f){},unregisterEvent:function(g,h,i){}}});
})();
(function(){var c="qx.event.Registration";
qx.Class.define(c,{statics:{__cG:{},getManager:function(d){if(d==null){d=window;
}else if(d.nodeType){d=qx.dom.Node.getWindow(d);
}else if(!qx.dom.Node.isWindow(d)){d=window;
}var f=d.$$hash||qx.core.ObjectRegistry.toHashCode(d);
var e=this.__cG[f];

if(!e){e=new qx.event.Manager(d,this);
this.__cG[f]=e;
}return e;
},removeManager:function(g){var h=g.getWindowId();
delete this.__cG[h];
},addListener:function(i,j,k,self,l){return this.getManager(i).addListener(i,j,k,self,l);
},removeListener:function(m,n,o,self,p){return this.getManager(m).removeListener(m,n,o,self,p);
},removeListenerById:function(q,r){return this.getManager(q).removeListenerById(q,r);
},removeAllListeners:function(s){return this.getManager(s).removeAllListeners(s);
},deleteAllListeners:function(t){var u=t.$$hash;

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

if(!O.hasListener(K,L,false)){return true;
}var P=this.createEvent(L,M||null,N);
return O.dispatchEvent(K,P);
},PRIORITY_FIRST:-32000,PRIORITY_NORMAL:0,PRIORITY_LAST:32000,__cz:[],addHandler:function(Q){this.__cz.push(Q);
this.__cz.sort(function(a,b){return a.PRIORITY-b.PRIORITY;
});
},getHandlers:function(){return this.__cz;
},__cA:[],addDispatcher:function(R,S){this.__cA.push(R);
this.__cA.sort(function(a,b){return a.PRIORITY-b.PRIORITY;
});
},getDispatchers:function(){return this.__cA;
}}});
})();
(function(){var q="set",p="get",o="reset",n="MSIE 6.0",m="info",k="qx.core.Object",j="error",h="warn",g="]",f="debug",b="[",d="$$user_",c="rv:1.8.1",a="Object";
qx.Class.define(k,{extend:Object,include:[qx.data.MBinding],construct:function(){qx.core.ObjectRegistry.register(this);
},statics:{$$type:a},members:{toHashCode:function(){return this.$$hash;
},toString:function(){return this.classname+b+this.$$hash+g;
},base:function(r,s){if(arguments.length===1){return r.callee.base.call(this);
}else{return r.callee.base.apply(this,Array.prototype.slice.call(arguments,1));
}},self:function(t){return t.callee.self;
},clone:function(){var v=this.constructor;
var u=new v;
var x=qx.Class.getProperties(v);
var w=qx.core.Property.$$store.user;
var y=qx.core.Property.$$method.set;
var name;
for(var i=0,l=x.length;i<l;i++){name=x[i];

if(this.hasOwnProperty(w[name])){u[y[name]](this[w[name]]);
}}return u;
},set:function(z,A){var C=qx.core.Property.$$method.set;

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

if(!this[E[D]]){if(this[p+qx.Bootstrap.firstUp(D)]!=undefined){return this[p+qx.Bootstrap.firstUp(D)]();
}}return this[E[D]]();
},reset:function(F){var G=qx.core.Property.$$method.reset;

if(!this[G[F]]){if(this[o+qx.Bootstrap.firstUp(F)]!=undefined){this[o+qx.Bootstrap.firstUp(F)]();
return;
}}this[G[F]]();
},__cH:qx.event.Registration,addListener:function(H,I,self,J){if(!this.$$disposed){return this.__cH.addListener(this,H,I,self,J);
}return null;
},addListenerOnce:function(K,L,self,M){var N=function(e){this.removeListener(K,N,this,M);
L.call(self||this,e);
};
return this.addListener(K,N,this,M);
},removeListener:function(O,P,self,Q){if(!this.$$disposed){return this.__cH.removeListener(this,O,P,self,Q);
}return false;
},removeListenerById:function(R){if(!this.$$disposed){return this.__cH.removeListenerById(this,R);
}return false;
},hasListener:function(S,T){return this.__cH.hasListener(this,S,T);
},dispatchEvent:function(U){if(!this.$$disposed){return this.__cH.dispatchEvent(this,U);
}return true;
},fireEvent:function(V,W,X){if(!this.$$disposed){return this.__cH.fireEvent(this,V,W,X);
}return true;
},fireNonBubblingEvent:function(Y,ba,bb){if(!this.$$disposed){return this.__cH.fireNonBubblingEvent(this,Y,ba,bb);
}return true;
},fireDataEvent:function(bc,bd,be,bf){if(!this.$$disposed){if(be===undefined){be=null;
}return this.__cH.fireNonBubblingEvent(this,bc,qx.event.type.Data,[bd,be,!!bf]);
}return true;
},__cI:null,setUserData:function(bg,bh){if(!this.__cI){this.__cI={};
}this.__cI[bg]=bh;
},getUserData:function(bi){if(!this.__cI){return null;
}var bj=this.__cI[bi];
return bj===undefined?null:bj;
},__cJ:qx.log.Logger,debug:function(bk){this.__cK(f,arguments);
},info:function(bl){this.__cK(m,arguments);
},warn:function(bm){this.__cK(h,arguments);
},error:function(bn){this.__cK(j,arguments);
},trace:function(){this.__cJ.trace(this);
},__cK:function(bo,bp){var bq=qx.lang.Array.fromArguments(bp);
bq.unshift(this);
this.__cJ[bo].apply(this.__cJ,bq);
},isDisposed:function(){return this.$$disposed||false;
},dispose:function(){var bv,bt,bs,bw;
if(this.$$disposed){return;
}this.$$disposed=true;
this.$$instance=null;
this.$$allowconstruct=null;
var bu=this.constructor;
var br;

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

for(var i=0,l=br.length;i<l;i++){if(br[i].$$destructor){br[i].$$destructor.call(this);
}}}bu=bu.superclass;
}if(this.__cL){this.__cL();
}},__cL:null,__cM:function(){var bx=qx.Class.getProperties(this.constructor);

for(var i=0,l=bx.length;i<l;i++){delete this[d+bx[i]];
}},_disposeObjects:function(by){qx.util.DisposeUtil.disposeObjects(this,arguments);
},_disposeSingletonObjects:function(bz){qx.util.DisposeUtil.disposeObjects(this,arguments,true);
},_disposeArray:function(bA){qx.util.DisposeUtil.disposeArray(this,bA);
},_disposeMap:function(bB){qx.util.DisposeUtil.disposeMap(this,bB);
}},environment:{"qx.disposerDebugLevel":0},defer:function(bC,bD){var bF=navigator.userAgent.indexOf(n)!=-1;
var bE=navigator.userAgent.indexOf(c)!=-1;
if(bF||bE){bD.__cL=bD.__cM;
}},destruct:function(){if(!qx.core.ObjectRegistry.inShutDown){qx.event.Registration.removeAllListeners(this);
}else{qx.event.Registration.deleteAllListeners(this);
}qx.core.ObjectRegistry.unregister(this);
this.__cI=null;
var bI=this.constructor;
var bM;
var bN=qx.core.Property.$$store;
var bK=bN.user;
var bL=bN.theme;
var bG=bN.inherit;
var bJ=bN.useinit;
var bH=bN.init;

while(bI){bM=bI.$$properties;

if(bM){for(var name in bM){if(bM[name].dereference){this[bK[name]]=this[bL[name]]=this[bG[name]]=this[bJ[name]]=this[bH[name]]=undefined;
}}}bI=bI.superclass;
}}});
})();
(function(){var a="qx.event.IEventDispatcher";
qx.Interface.define(a,{members:{canDispatchEvent:function(b,event,c){this.assertInstance(event,qx.event.type.Event);
this.assertString(c);
},dispatchEvent:function(d,event,e){this.assertInstance(event,qx.event.type.Event);
this.assertString(e);
}}});
})();
(function(){var a="qx.event.type.Event";
qx.Class.define(a,{extend:qx.core.Object,statics:{CAPTURING_PHASE:1,AT_TARGET:2,BUBBLING_PHASE:3},members:{init:function(b,c){this._type=null;
this._target=null;
this._currentTarget=null;
this._relatedTarget=null;
this._originalTarget=null;
this._stopPropagation=false;
this._preventDefault=false;
this._bubbles=!!b;
this._cancelable=!!c;
this._timeStamp=(new Date()).getTime();
this._eventPhase=null;
return this;
},clone:function(d){if(d){var e=d;
}else{var e=qx.event.Pool.getInstance().getObject(this.constructor);
}e._type=this._type;
e._target=this._target;
e._currentTarget=this._currentTarget;
e._relatedTarget=this._relatedTarget;
e._originalTarget=this._originalTarget;
e._stopPropagation=this._stopPropagation;
e._bubbles=this._bubbles;
e._preventDefault=this._preventDefault;
e._cancelable=this._cancelable;
return e;
},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(f){this._type=f;
},getEventPhase:function(){return this._eventPhase;
},setEventPhase:function(g){this._eventPhase=g;
},getTimeStamp:function(){return this._timeStamp;
},getTarget:function(){return this._target;
},setTarget:function(h){this._target=h;
},getCurrentTarget:function(){return this._currentTarget||this._target;
},setCurrentTarget:function(i){this._currentTarget=i;
},getRelatedTarget:function(){return this._relatedTarget;
},setRelatedTarget:function(j){this._relatedTarget=j;
},getOriginalTarget:function(){return this._originalTarget;
},setOriginalTarget:function(k){this._originalTarget=k;
},getBubbles:function(){return this._bubbles;
},setBubbles:function(l){this._bubbles=l;
},isCancelable:function(){return this._cancelable;
},setCancelable:function(m){this._cancelable=m;
}},destruct:function(){this._target=this._currentTarget=this._relatedTarget=this._originalTarget=null;
}});
})();
(function(){var b="qx.util.ObjectPool",a="Integer";
qx.Class.define(b,{extend:qx.core.Object,construct:function(c){qx.core.Object.call(this);
this.__cN={};

if(c!=null){this.setSize(c);
}},properties:{size:{check:a,init:Infinity}},members:{__cN:null,getObject:function(d){if(this.$$disposed){return new d;
}
if(!d){throw new Error("Class needs to be defined!");
}var e=null;
var f=this.__cN[d.classname];

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

if(g.$$pooled){throw new Error("Object is already pooled: "+g);
}
if(!j){this.__cN[h]=j=[];
}if(j.length>this.getSize()){if(g.destroy){g.destroy();
}else{g.dispose();
}return;
}g.$$pooled=true;
j.push(g);
}},destruct:function(){var n=this.__cN;
var k,m,i,l;

for(k in n){m=n[k];

for(i=0,l=m.length;i<l;i++){m[i].dispose();
}}delete this.__cN;
}});
})();
(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.event.dispatch.Direct";
qx.Class.define(a,{extend:qx.core.Object,implement:qx.event.IEventDispatcher,construct:function(b){this._manager=b;
},statics:{PRIORITY:qx.event.Registration.PRIORITY_LAST},members:{canDispatchEvent:function(c,event,d){return !event.getBubbles();
},dispatchEvent:function(e,event,f){var j,g;
event.setEventPhase(qx.event.type.Event.AT_TARGET);
var k=this._manager.getListeners(e,f,false);

if(k){for(var i=0,l=k.length;i<l;i++){var h=k[i].context||e;
k[i].handler.call(h,event);
}}}},defer:function(m){qx.event.Registration.addDispatcher(m);
}});
})();
(function(){var a="qx.event.handler.Object";
qx.Class.define(a,{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(b,c){return qx.Class.supportsEvent(b.constructor,c);
},registerEvent:function(d,e,f){},unregisterEvent:function(g,h,i){}},defer:function(j){qx.event.Registration.addHandler(j);
}});
})();
(function(){var a="qx.event.type.Data";
qx.Class.define(a,{extend:qx.event.type.Event,members:{__cO:null,__cP:null,init:function(b,c,d){qx.event.type.Event.prototype.init.call(this,false,d);
this.__cO=b;
this.__cP=c;
return this;
},clone:function(e){var f=qx.event.type.Event.prototype.clone.call(this,e);
f.__cO=this.__cO;
f.__cP=this.__cP;
return f;
},getData:function(){return this.__cO;
},getOldData:function(){return this.__cP;
}},destruct:function(){this.__cO=this.__cP=null;
}});
})();
(function(){var a="qx.util.DisposeUtil";
qx.Class.define(a,{statics:{disposeObjects:function(b,c,d){var name;

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

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

if(!h){return;
}if(qx.core.ObjectRegistry.inShutDown){e[f]=null;
return;
}try{var g;

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

if(g){g.dispose();
}}}catch(j){throw new Error("The array field: "+f+" of object: "+e+" has non disposable entries: "+j);
}h.length=0;
e[f]=null;
},disposeMap:function(k,m){var o=k[m];

if(!o){return;
}if(qx.core.ObjectRegistry.inShutDown){k[m]=null;
return;
}try{var n;

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

if(o.hasOwnProperty(p)&&n){n.dispose();
}}}catch(q){throw new Error("The map field: "+m+" of object: "+k+" has non disposable entries: "+q);
}k[m]=null;
},disposeTriggeredBy:function(r,s){var t=s.dispose;
s.dispose=function(){t.call(s);
r.dispose();
};
}}});
})();
(function(){var a="qx.application.IApplication";
qx.Interface.define(a,{members:{main:function(){},finalize:function(){},close:function(){},terminate:function(){}}});
})();
(function(){var a="qx.locale.MTranslation";
qx.Mixin.define(a,{members:{tr:function(b,c){var d=qx.locale.Manager;

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

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

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

if(o){return o.marktr.apply(o,arguments);
}throw new Error("To enable localization please include qx.locale.Manager into your build!");
}}});
})();
(function(){var n="engine.name",m="ready",l="mshtml",k="load",j="unload",i="qx.event.handler.Application",h="complete",g="webkit",f="gecko",d="opera",a="left",c="DOMContentLoaded",b="shutdown";
qx.Class.define(i,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(o){qx.core.Object.call(this);
this._window=o.getWindow();
this.__cQ=false;
this.__cR=false;
this.__cS=false;
this.__cT=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 p=qx.event.handler.Application.$$instance;

if(p){p.__cU();
}}},members:{canHandleEvent:function(q,r){},registerEvent:function(s,t,u){},unregisterEvent:function(v,w,x){},__cS:null,__cQ:null,__cR:null,__cT:null,__cU:function(){if(!this.__cS&&this.__cQ&&qx.$$loader.scriptLoaded){if((qx.core.Environment.get(n)==l)){if(qx.event.Registration.hasListener(this._window,m)){this.__cS=true;
qx.event.Registration.fireEvent(this._window,m);
}}else{this.__cS=true;
qx.event.Registration.fireEvent(this._window,m);
}}},isApplicationReady:function(){return this.__cS;
},_initObserver:function(){if(qx.$$domReady||document.readyState==h||document.readyState==m){this.__cQ=true;
this.__cU();
}else{this._onNativeLoadWrapped=qx.lang.Function.bind(this._onNativeLoad,this);

if(qx.core.Environment.get(n)==f||qx.core.Environment.get(n)==d||qx.core.Environment.get(n)==g){qx.bom.Event.addNativeListener(this._window,c,this._onNativeLoadWrapped);
}else if((qx.core.Environment.get(n)==l)){var self=this;
var y=function(){try{document.documentElement.doScroll(a);

if(document.body){self._onNativeLoadWrapped();
}}catch(z){window.setTimeout(y,100);
}};
y();
}qx.bom.Event.addNativeListener(this._window,k,this._onNativeLoadWrapped);
}this._onNativeUnloadWrapped=qx.lang.Function.bind(this._onNativeUnload,this);
qx.bom.Event.addNativeListener(this._window,j,this._onNativeUnloadWrapped);
},_stopObserver:function(){if(this._onNativeLoadWrapped){qx.bom.Event.removeNativeListener(this._window,k,this._onNativeLoadWrapped);
}qx.bom.Event.removeNativeListener(this._window,j,this._onNativeUnloadWrapped);
this._onNativeLoadWrapped=null;
this._onNativeUnloadWrapped=null;
},_onNativeLoad:qx.event.GlobalError.observeMethod(function(){this.__cQ=true;
this.__cU();
}),_onNativeUnload:qx.event.GlobalError.observeMethod(function(){if(!this.__cT){this.__cT=true;

try{qx.event.Registration.fireEvent(this._window,b);
}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 g="",f="qx.core.BaseInit",d="engine.name",c="os.name",b="grfind.Application",a="engine.version";
qx.Class.define(f,{statics:{getApplication:function(){return this.__cV||null;
},ready:function(){if(this.__cV){return;
}
if(qx.core.Environment.get(d)==g){qx.log.Logger.warn("Could not detect engine!");
}
if(qx.core.Environment.get(a)==g){qx.log.Logger.warn("Could not detect the version of the engine!");
}
if(qx.core.Environment.get(c)==g){qx.log.Logger.warn("Could not detect operating system!");
}qx.log.Logger.debug(this,"Load runtime: "+(new Date-qx.Bootstrap.LOADSTART)+"ms");
var i=b;
var j=qx.Class.getByName(i);

if(j){this.__cV=new j;
var h=new Date;
this.__cV.main();
qx.log.Logger.debug(this,"Main runtime: "+(new Date-h)+"ms");
var h=new Date;
this.__cV.finalize();
qx.log.Logger.debug(this,"Finalize runtime: "+(new Date-h)+"ms");
}else{qx.log.Logger.warn("Missing application class: "+i);
}},__cW:function(e){var k=this.__cV;

if(k){k.close();
}},__cX:function(){var l=this.__cV;

if(l){l.terminate();
}qx.core.ObjectRegistry.shutdown();
}}});
})();
(function(){var a="qx.event.type.Native";
qx.Class.define(a,{extend:qx.event.type.Event,members:{init:function(b,c,d,e,f){qx.event.type.Event.prototype.init.call(this,e,f);
this._target=c||qx.bom.Event.getTarget(b);
this._relatedTarget=d||qx.bom.Event.getRelatedTarget(b);

if(b.timeStamp){this._timeStamp=b.timeStamp;
}this._native=b;
this._returnValue=null;
return this;
},clone:function(g){var h=qx.event.type.Event.prototype.clone.call(this,g);
var i={};
h._native=this._cloneNativeEvent(this._native,i);
h._returnValue=this._returnValue;
return h;
},_cloneNativeEvent:function(j,k){k.preventDefault=qx.lang.Function.empty;
return k;
},preventDefault:function(){qx.event.type.Event.prototype.preventDefault.call(this);
qx.bom.Event.preventDefault(this._native);
},getNativeEvent:function(){return this._native;
},setReturnValue:function(l){this._returnValue=l;
},getReturnValue:function(){return this._returnValue;
}},destruct:function(){this._native=this._returnValue=null;
}});
})();
(function(){var a="qx.event.handler.Window";
qx.Class.define(a,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(b){qx.core.Object.call(this);
this._manager=b;
this._window=b.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(f,g,h){},unregisterEvent:function(i,j,k){},_initWindowObserver:function(){this._onNativeWrapper=qx.lang.Function.listener(this._onNative,this);
var m=qx.event.handler.Window.SUPPORTED_TYPES;

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

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

try{var t=q.document;
}catch(e){return ;
}var r=t.documentElement;
var p=qx.bom.Event.getTarget(e);

if(p==null||p===q||p===t||p===r){var event=qx.event.Registration.createEvent(e.type,qx.event.type.Native,[e,q]);
qx.event.Registration.dispatchEvent(q,event);
var s=event.getReturnValue();

if(s!=null){e.returnValue=s;
return s;
}}})},destruct:function(){this._stopWindowObserver();
this._manager=this._window=null;
},defer:function(u){qx.event.Registration.addHandler(u);
}});
})();
(function(){var d="ready",c="shutdown",b="beforeunload",a="qx.core.Init";
qx.Class.define(a,{statics:{getApplication:qx.core.BaseInit.getApplication,ready:qx.core.BaseInit.ready,__cW:function(e){var f=this.__application;

if(f){e.setReturnValue(f.close());
}},__cX:function(){var g=this.__application;

if(g){g.terminate();
}}},defer:function(h){qx.event.Registration.addListener(window,d,h.ready,h);
qx.event.Registration.addListener(window,c,h.__cX,h);
qx.event.Registration.addListener(window,b,h.__cW,h);
}});
})();
(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:{__cY:null,_createRootWidget:function(){throw new Error("Abstract method call");
},getRoot:function(){return this.__cY;
},main:function(){qx.theme.manager.Meta.getInstance().initialize();
qx.ui.tooltip.Manager.getInstance();
this.__cY=this._createRootWidget();
},finalize:function(){this.render();
},render:function(){qx.ui.core.queue.Manager.flush();
},close:function(c){},terminate:function(){}},destruct:function(){this.__cY=null;
}});
})();
(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 u=qx.core.Environment;
var s,t;
s=u.get(e);

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

if(!t){throw new Error("The theme to use is not available: "+s);
}this.setTheme(t);
}}},environment:{"qx.theme":c}});
})();
(function(){var b="qx.util.ValueManager",a="abstract";
qx.Class.define(b,{type:a,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(d){return !!this._dynamic[d];
},resolve:function(e){if(e&&this._dynamic[e]){return this._dynamic[e];
}return e;
},_setDynamic:function(f){this._dynamic=f;
},_getDynamic:function(){return this._dynamic;
}},destruct:function(){this._dynamic=null;
}});
})();
(function(){var f="_applyTheme",e="qx.theme.manager.Color",d="Theme",c="changeTheme",b="string",a="singleton";
qx.Class.define(e,{type:a,extend:qx.util.ValueManager,properties:{theme:{check:d,nullable:true,apply:f,event:c}},members:{_applyTheme:function(g){var h={};

if(g){var i=g.colors;
var j=qx.util.ColorUtil;
var k;

for(var l in i){k=i[l];

if(typeof k===b){if(!j.isCssString(k)){throw new Error("Could not parse color: "+k);
}}else if(k instanceof Array){k=j.rgbToRgbString(k);
}else{throw new Error("Could not parse color: "+k);
}h[l]=k;
}}this._setDynamic(h);
},resolve:function(m){var p=this._dynamic;
var n=p[m];

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

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

if(q&&(s[q]!==undefined)){return true;
}var r=this.getTheme();

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

if(R>bb){bb=R;
}var U=(bc<Y)?bc:Y;

if(R<U){U=R;
}V=bb/255.0;

if(bb!=0){T=(bb-U)/bb;
}else{T=0;
}
if(T==0){S=0;
}else{var X=(bb-bc)/(bb-U);
var ba=(bb-Y)/(bb-U);
var W=(bb-R)/(bb-U);

if(bc==bb){S=W-ba;
}else if(Y==bb){S=2.0+X-W;
}else{S=4.0+ba-X;
}S=S/6.0;

if(S<0){S=S+1.0;
}}return [Math.round(S*360),Math.round(T*100),Math.round(V*100)];
},hsbToRgb:function(bd){var i,f,p,q,t;
var be=bd[0]/360;
var bf=bd[1]/100;
var bg=bd[2]/100;

if(be>=1.0){be%=1.0;
}
if(bf>1.0){bf=1.0;
}
if(bg>1.0){bg=1.0;
}var bh=Math.floor(255*bg);
var bi={};

if(bf==0.0){bi.red=bi.green=bi.blue=bh;
}else{be*=6.0;
i=Math.floor(be);
f=be-i;
p=Math.floor(bh*(1.0-bf));
q=Math.floor(bh*(1.0-(bf*f)));
t=Math.floor(bh*(1.0-(bf*(1.0-f))));

switch(i){case 0:bi.red=bh;
bi.green=t;
bi.blue=p;
break;
case 1:bi.red=q;
bi.green=bh;
bi.blue=p;
break;
case 2:bi.red=p;
bi.green=bh;
bi.blue=t;
break;
case 3:bi.red=p;
bi.green=q;
bi.blue=bh;
break;
case 4:bi.red=t;
bi.green=p;
bi.blue=bh;
break;
case 5:bi.red=bh;
bi.green=p;
bi.blue=q;
break;
}}return [bi.red,bi.green,bi.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 m="object",l="__de",k="_applyTheme",j="",h="_",g="qx.ui.decoration.",f="qx.theme.manager.Decoration",e=".",d="Theme",c="changeTheme",a="string",b="singleton";
qx.Class.define(f,{type:b,extend:qx.core.Object,properties:{theme:{check:d,nullable:true,apply:k,event:c}},members:{__de:null,resolve:function(n){if(!n){return null;
}
if(typeof n===m){return n;
}var s=this.getTheme();

if(!s){return null;
}var p=this.__de;

if(!p){p=this.__de={};
}var o=p[n];

if(o){return o;
}var v=s.decorations[n];

if(!v){return null;
}if(!v.style){v.style={};
}var q=v;

while(q.include){q=s.decorations[q.include];
if(!v.decorator&&q.decorator){v.decorator=q.decorator;
}if(q.style){for(var u in q.style){if(v.style[u]==undefined){v.style[u]=q.style[u];
}}}}var r=v.decorator;

if(r==null){throw new Error("Missing definition of which decorator to use in entry: "+n+"!");
}if(r instanceof Array){var t=r.concat([]);

for(var i=0;i<t.length;i++){t[i]=t[i].basename.replace(e,j);
}var name=g+t.join(h);

if(!qx.Class.getByName(name)){qx.Class.define(name,{extend:qx.ui.decoration.DynamicDecorator,include:r});
}r=qx.Class.getByName(name);
}return p[n]=(new r).set(v.style);
},isValidPropertyValue:function(w){if(typeof w===a){return this.isDynamic(w);
}else if(typeof w===m){var x=w.constructor;
return qx.Class.hasInterface(x,qx.ui.decoration.IDecorator);
}return false;
},isDynamic:function(y){if(!y){return false;
}var z=this.getTheme();

if(!z){return false;
}return !!z.decorations[y];
},isCached:function(A){return qx.lang.Object.contains(this.__de,A);
},_applyTheme:function(B,C){var E=qx.util.AliasManager.getInstance();

if(C){for(var D in C.aliases){E.remove(D);
}}
if(B){for(var D in B.aliases){E.add(D,B.aliases[D]);
}}
if(!B){this.__de={};
}}},destruct:function(){this._disposeMap(l);
}});
})();
(function(){var a="qx.ui.decoration.IDecorator";
qx.Interface.define(a,{members:{getMarkup:function(){},resize:function(b,c,d){},tint:function(e,f){},getInsets:function(){}}});
})();
(function(){var i="Number",h="_applyInsets",g="abstract",f="insetRight",e="insetTop",d="insetBottom",c="qx.ui.decoration.Abstract",b="shorthand",a="insetLeft";
qx.Class.define(c,{extend:qx.core.Object,implement:[qx.ui.decoration.IDecorator],type:g,properties:{insetLeft:{check:i,nullable:true,apply:h},insetRight:{check:i,nullable:true,apply:h},insetBottom:{check:i,nullable:true,apply:h},insetTop:{check:i,nullable:true,apply:h},insets:{group:[e,f,d,a],mode:b}},members:{__df:null,_getDefaultInsets:function(){throw new Error("Abstract method called.");
},_isInitialized:function(){throw new Error("Abstract method called.");
},_resetInsets:function(){this.__df=null;
},getInsets:function(){if(this.__df){return this.__df;
}var j=this._getDefaultInsets();
return this.__df={left:this.getInsetLeft()==null?j.left:this.getInsetLeft(),right:this.getInsetRight()==null?j.right:this.getInsetRight(),bottom:this.getInsetBottom()==null?j.bottom:this.getInsetBottom(),top:this.getInsetTop()==null?j.top:this.getInsetTop()};
},_applyInsets:function(){this.__df=null;
}},destruct:function(){this.__df=null;
}});
})();
(function(){var o="px",n="top",m="_tint",l="abstract",k='<div style="',j="",h="_getDefaultInsetsFor",g="bottom",f="qx.ui.decoration.DynamicDecorator",e="left",b="right",d="_resize",c="_style",a='"></div>';
qx.Class.define(f,{extend:qx.ui.decoration.Abstract,type:l,members:{getMarkup:function(){if(this._markup){return this._markup;
}var p={};

for(var name in this){if(name.indexOf(c)==0&&this[name] instanceof Function){this[name](p);
}}if(!this._generateMarkup){var q=[k];
q.push(qx.bom.element.Style.compile(p));
q.push(a);
q=q.join(j);
}else{var q=this._generateMarkup(p);
}return this._markup=q;
},resize:function(r,s,t){var v={};

for(var name in this){if(name.indexOf(d)==0&&this[name] instanceof Function){var u=this[name](r,s,t);

if(v.left==undefined){v.left=u.left;
v.top=u.top;
}
if(v.width==undefined){v.width=u.width;
v.height=u.height;
}
if(u.elementToApplyDimensions){v.elementToApplyDimensions=u.elementToApplyDimensions;
}v.left=u.left<v.left?u.left:v.left;
v.top=u.top<v.top?u.top:v.top;
v.width=u.width>v.width?u.width:v.width;
v.height=u.height>v.height?u.height:v.height;
}}if(v.left!=undefined){r.style.left=v.left+o;
r.style.top=v.top+o;
}if(v.width!=undefined){if(v.width<0){v.width=0;
}
if(v.height<0){v.height=0;
}
if(v.elementToApplyDimensions){r=v.elementToApplyDimensions;
}r.style.width=v.width+o;
r.style.height=v.height+o;
}},tint:function(w,x){for(var name in this){if(name.indexOf(m)==0&&this[name] instanceof Function){this[name](w,x,w.style);
}}},_isInitialized:function(){return !!this._markup;
},_getDefaultInsets:function(){var B=[n,b,g,e];
var z={};

for(var name in this){if(name.indexOf(h)==0&&this[name] instanceof Function){var A=this[name]();

for(var i=0;i<B.length;i++){var y=B[i];
if(z[y]==undefined){z[y]=A[y];
}if(A[y]<z[y]){z[y]=A[y];
}}}}if(z[n]!=undefined){return z;
}return {top:0,right:0,bottom:0,left:0};
}}});
})();
(function(){var k="n-resize",j="e-resize",i="nw-resize",h="ne-resize",g="engine.name",f="",e="cursor:",d=";",c="qx.bom.element.Cursor",b="cursor",a="hand";
qx.Class.define(c,{statics:{__bj:qx.core.Environment.select(g,{"mshtml":{"cursor":a,"ew-resize":j,"ns-resize":k,"nesw-resize":h,"nwse-resize":i},"opera":{"col-resize":j,"row-resize":k,"ew-resize":j,"ns-resize":k,"nesw-resize":h,"nwse-resize":i},"default":{}}),compile:function(l){return e+(this.__bj[l]||l)+d;
},get:function(m,n){return qx.bom.element.Style.get(m,b,n,false);
},set:function(o,p){o.style.cursor=this.__bj[p]||p;
},reset:function(q){q.style.cursor=f;
}}});
})();
(function(){var k="engine.version",j="",i="engine.name",h="hidden",g="-moz-scrollbars-none",f="overflow",e=";",d="overflowY",b=":",a="overflowX",z="overflow:",y="none",x="scroll",w="borderLeftStyle",v="borderRightStyle",u="div",r="borderRightWidth",q="overflow-y",p="borderLeftWidth",o="-moz-scrollbars-vertical",m="100px",n="qx.bom.element.Overflow",l="overflow-x";
qx.Class.define(n,{statics:{__dg:null,getScrollbarWidth:function(){if(this.__dg!==null){return this.__dg;
}var A=qx.bom.element.Style;
var C=function(G,H){return parseInt(A.get(G,H),10)||0;
};
var D=function(I){return (A.get(I,v)==y?0:C(I,r));
};
var B=function(J){return (A.get(J,w)==y?0:C(J,p));
};
var F=qx.core.Environment.select(i,{"mshtml":function(K){if(A.get(K,d)==h||K.clientWidth==0){return D(K);
}return Math.max(0,K.offsetWidth-K.clientLeft-K.clientWidth);
},"default":function(L){if(L.clientWidth==0){var M=A.get(L,f);
var N=(M==x||M==o?16:0);
return Math.max(0,D(L)+N);
}return Math.max(0,(L.offsetWidth-L.clientWidth-B(L)));
}});
var E=function(O){return F(O)-D(O);
};
var t=document.createElement(u);
var s=t.style;
s.height=s.width=m;
s.overflow=x;
document.body.appendChild(t);
var c=E(t);
this.__dg=c?c:16;
document.body.removeChild(t);
return this.__dg;
},_compile:qx.core.Environment.select(i,{"gecko":parseFloat(qx.core.Environment.get(k))<1.8?function(P,Q){if(Q==h){Q=g;
}return z+Q+e;
}:function(R,S){return R+b+S+e;
},"opera":parseFloat(qx.core.Environment.get(k))<9.5?function(T,U){return z+U+e;
}:function(V,W){return V+b+W+e;
},"default":function(X,Y){return X+b+Y+e;
}}),compileX:function(ba){return this._compile(l,ba);
},compileY:function(bb){return this._compile(q,bb);
},getX:qx.core.Environment.select(i,{"gecko":parseFloat(qx.core.Environment.get(k))<1.8?function(bc,bd){var be=qx.bom.element.Style.get(bc,f,bd,false);

if(be===g){be=h;
}return be;
}:function(bf,bg){return qx.bom.element.Style.get(bf,a,bg,false);
},"opera":parseFloat(qx.core.Environment.get(k))<9.5?function(bh,bi){return qx.bom.element.Style.get(bh,f,bi,false);
}:function(bj,bk){return qx.bom.element.Style.get(bj,a,bk,false);
},"default":function(bl,bm){return qx.bom.element.Style.get(bl,a,bm,false);
}}),setX:qx.core.Environment.select(i,{"gecko":parseFloat(qx.core.Environment.get(k))<1.8?function(bn,bo){if(bo==h){bo=g;
}bn.style.overflow=bo;
}:function(bp,bq){bp.style.overflowX=bq;
},"opera":parseFloat(qx.core.Environment.get(k))<9.5?function(br,bs){br.style.overflow=bs;
}:function(bt,bu){bt.style.overflowX=bu;
},"default":function(bv,bw){bv.style.overflowX=bw;
}}),resetX:qx.core.Environment.select(i,{"gecko":parseFloat(qx.core.Environment.get(k))<1.8?function(bx){bx.style.overflow=j;
}:function(by){by.style.overflowX=j;
},"opera":parseFloat(qx.core.Environment.get(k))<9.5?function(bz,bA){bz.style.overflow=j;
}:function(bB,bC){bB.style.overflowX=j;
},"default":function(bD){bD.style.overflowX=j;
}}),getY:qx.core.Environment.select(i,{"gecko":parseFloat(qx.core.Environment.get(k))<1.8?function(bE,bF){var bG=qx.bom.element.Style.get(bE,f,bF,false);

if(bG===g){bG=h;
}return bG;
}:function(bH,bI){return qx.bom.element.Style.get(bH,d,bI,false);
},"opera":parseFloat(qx.core.Environment.get(k))<9.5?function(bJ,bK){return qx.bom.element.Style.get(bJ,f,bK,false);
}:function(bL,bM){return qx.bom.element.Style.get(bL,d,bM,false);
},"default":function(bN,bO){return qx.bom.element.Style.get(bN,d,bO,false);
}}),setY:qx.core.Environment.select(i,{"gecko":parseFloat(qx.core.Environment.get(k))<1.8?function(bP,bQ){if(bQ===h){bQ=g;
}bP.style.overflow=bQ;
}:function(bR,bS){bR.style.overflowY=bS;
},"opera":parseFloat(qx.core.Environment.get(k))<9.5?function(bT,bU){bT.style.overflow=bU;
}:function(bV,bW){bV.style.overflowY=bW;
},"default":function(bX,bY){bX.style.overflowY=bY;
}}),resetY:qx.core.Environment.select(i,{"gecko":parseFloat(qx.core.Environment.get(k))<1.8?function(ca){ca.style.overflow=j;
}:function(cb){cb.style.overflowY=j;
},"opera":parseFloat(qx.core.Environment.get(k))<9.5?function(cc,cd){cc.style.overflow=j;
}:function(ce,cf){ce.style.overflowY=j;
},"default":function(cg){cg.style.overflowY=j;
}})}});
})();
(function(){var q="engine.name",p="",o="boxSizing",n="box-sizing",m="qx.bom.element.BoxSizing",k="KhtmlBoxSizing",j="border-box",h="-moz-box-sizing",g="WebkitBoxSizing",f=":",c=";",e="-khtml-box-sizing",d="content-box",b="-webkit-box-sizing",a="MozBoxSizing";
qx.Class.define(m,{statics:{__dh:qx.core.Environment.select(q,{"mshtml":null,"webkit":[o,k,g],"gecko":[a],"opera":[o]}),__di:qx.core.Environment.select(q,{"mshtml":null,"webkit":[n,e,b],"gecko":[h],"opera":[n]}),__dj:{tags:{button:true,select:true},types:{search:true,button:true,submit:true,reset:true,checkbox:true,radio:true}},__dk:function(r){var s=this.__dj;
return s.tags[r.tagName.toLowerCase()]||s.types[r.type];
},compile:qx.core.Environment.select(q,{"mshtml":function(t){},"default":function(u){var w=this.__di;
var v=p;

if(w){for(var i=0,l=w.length;i<l;i++){v+=w[i]+f+u+c;
}}return v;
}}),get:qx.core.Environment.select(q,{"mshtml":function(x){if(qx.bom.Document.isStandardMode(qx.dom.Node.getDocument(x))){if(!this.__dk(x)){return d;
}}return j;
},"default":function(y){var A=this.__dh;
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!==p){return z;
}}}return p;
}}),set:qx.core.Environment.select(q,{"mshtml":function(B,C){},"default":function(D,E){var F=this.__dh;

if(F){for(var i=0,l=F.length;i<l;i++){D.style[F[i]]=E;
}}}}),reset:function(G){this.set(G,p);
}}});
})();
(function(){var g="CSS1Compat",f="engine.name",e="position:absolute;width:0;height:0;width:1",d="engine.version",c="qx.bom.Document",b="1px",a="div";
qx.Class.define(c,{statics:{isQuirksMode:qx.core.Environment.select(f,{"mshtml":function(h){if(qx.core.Environment.get(d)>=8){return (h||window).document.documentMode===5;
}else{return (h||window).document.compatMode!==g;
}},"webkit":function(i){if(document.compatMode===undefined){var j=(i||window).document.createElement(a);
j.style.cssText=e;
return j.style.width===b?true:false;
}else{return (i||window).document.compatMode!==g;
}},"default":function(k){return (k||window).document.compatMode!==g;
}}),isStandardMode:function(l){return !this.isQuirksMode(l);
},getWidth:function(m){var n=(m||window).document;
var o=qx.bom.Viewport.getWidth(m);
var scroll=this.isStandardMode(m)?n.documentElement.scrollWidth:n.body.scrollWidth;
return Math.max(scroll,o);
},getHeight:function(p){var q=(p||window).document;
var r=qx.bom.Viewport.getHeight(p);
var scroll=this.isStandardMode(p)?q.documentElement.scrollHeight:q.body.scrollHeight;
return Math.max(scroll,r);
}}});
})();
(function(){var c="engine.version",b="engine.name",a="qx.bom.Viewport";
qx.Class.define(a,{statics:{getWidth:qx.core.Environment.select(b,{"opera":function(d){if(parseFloat(qx.core.Environment.get(c))<9.5){return (d||window).document.body.clientWidth;
}else{var e=(d||window).document;
return qx.bom.Document.isStandardMode(d)?e.documentElement.clientWidth:e.body.clientWidth;
}},"webkit":function(f){if(parseFloat(qx.core.Environment.get(c))<523.15){return (f||window).innerWidth;
}else{var g=(f||window).document;
return qx.bom.Document.isStandardMode(f)?g.documentElement.clientWidth:g.body.clientWidth;
}},"default":function(h){var i=(h||window).document;
return qx.bom.Document.isStandardMode(h)?i.documentElement.clientWidth:i.body.clientWidth;
}}),getHeight:qx.core.Environment.select(b,{"opera":function(j){if(parseFloat(qx.core.Environment.get(c))<9.5){return (j||window).document.body.clientHeight;
}else{var k=(j||window).document;
return qx.bom.Document.isStandardMode(j)?k.documentElement.clientHeight:k.body.clientHeight;
}},"webkit":function(l){if(parseFloat(qx.core.Environment.get(c))<523.15){return (l||window).innerHeight;
}else{var m=(l||window).document;
return qx.bom.Document.isStandardMode(l)?m.documentElement.clientHeight:m.body.clientHeight;
}},"default":function(n){var o=(n||window).document;
return qx.bom.Document.isStandardMode(n)?o.documentElement.clientHeight:o.body.clientHeight;
}}),getScrollLeft:qx.core.Environment.select(b,{"mshtml":function(p){var q=(p||window).document;
return q.documentElement.scrollLeft||q.body.scrollLeft;
},"default":function(r){return (r||window).pageXOffset;
}}),getScrollTop:qx.core.Environment.select(b,{"mshtml":function(s){var t=(s||window).document;
return t.documentElement.scrollTop||t.body.scrollTop;
},"default":function(u){return (u||window).pageYOffset;
}}),__dl:function(){var v=this.getWidth()>this.getHeight()?90:0;
var w=window.orientation;

if(w==null||Math.abs(w%180)==v){return {"-270":90,"-180":180,"-90":-90,"0":0,"90":90,"180":180,"270":-90};
}else{return {"-270":180,"-180":-90,"-90":0,"0":90,"90":180,"180":-90,"270":0};
}},__dm:null,getOrientation:function(x){var y=(x||window).orientation;

if(y==null){y=this.getWidth(x)>this.getHeight(x)?90:0;
}else{y=this.__dm[y];
}return y;
},isLandscape:function(z){return Math.abs(this.getOrientation(z))==90;
},isPortrait:function(A){return Math.abs(this.getOrientation(A))!==90;
}},defer:function(B){B.__dm=B.__dl();
}});
})();
(function(){var o="auto",n="px",m=",",l="clip:auto;",k="rect(",j=");",i="",h=")",g="qx.bom.element.Clip",f="string",c="clip:rect(",e=" ",d="clip",b="rect(auto,auto,auto,auto)",a="rect(auto, auto, auto, auto)";
qx.Class.define(g,{statics:{compile:function(p){if(!p){return l;
}var u=p.left;
var top=p.top;
var t=p.width;
var s=p.height;
var q,r;

if(u==null){q=(t==null?o:t+n);
u=o;
}else{q=(t==null?o:u+t+n);
u=u+n;
}
if(top==null){r=(s==null?o:s+n);
top=o;
}else{r=(s==null?o:top+s+n);
top=top+n;
}return c+top+m+q+m+r+m+u+j;
},get:function(v,w){var y=qx.bom.element.Style.get(v,d,w,false);
var E,top,C,B;
var x,z;

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

if(L==null){H=(K==null?o:K+n);
L=o;
}else{H=(K==null?o:L+K+n);
L=L+n;
}
if(top==null){I=(J==null?o:J+n);
top=o;
}else{I=(J==null?o:top+J+n);
top=top+n;
}F.style.clip=k+top+m+H+m+I+m+L+h;
},reset:function(M){M.style.clip=a;
}}});
})();
(function(){var m="",l="engine.name",k=";",j="opacity:",i="opacity",h="filter",g="MozOpacity",f=");",e=")",d="zoom:1;filter:alpha(opacity=",a="qx.bom.element.Opacity",c="alpha(opacity=",b="-moz-opacity:";
qx.Class.define(a,{statics:{SUPPORT_CSS3_OPACITY:false,compile:qx.core.Environment.select(l,{"mshtml":function(n){if(n>=1){n=1;
}
if(n<0.00001){n=0;
}
if(qx.bom.element.Opacity.SUPPORT_CSS3_OPACITY){return j+n+k;
}else{return d+(n*100)+f;
}},"gecko":function(o){if(o>=1){o=0.999999;
}
if(!qx.bom.element.Opacity.SUPPORT_CSS3_OPACITY){return b+o+k;
}else{return j+o+k;
}},"default":function(p){if(p>=1){return m;
}return j+p+k;
}}),set:qx.core.Environment.select(l,{"mshtml":function(q,r){if(qx.bom.element.Opacity.SUPPORT_CSS3_OPACITY){if(r>=1){r=m;
}q.style.opacity=r;
}else{var s=qx.bom.element.Style.get(q,h,qx.bom.element.Style.COMPUTED_MODE,false);

if(r>=1){r=1;
}
if(r<0.00001){r=0;
}if(!q.currentStyle||!q.currentStyle.hasLayout){q.style.zoom=1;
}q.style.filter=s.replace(/alpha\([^\)]*\)/gi,m)+c+r*100+e;
}},"gecko":function(t,u){if(u>=1){u=0.999999;
}
if(!qx.bom.element.Opacity.SUPPORT_CSS3_OPACITY){t.style.MozOpacity=u;
}else{t.style.opacity=u;
}},"default":function(v,w){if(w>=1){w=m;
}v.style.opacity=w;
}}),reset:qx.core.Environment.select(l,{"mshtml":function(x){if(qx.bom.element.Opacity.SUPPORT_CSS3_OPACITY){x.style.opacity=m;
}else{var y=qx.bom.element.Style.get(x,h,qx.bom.element.Style.COMPUTED_MODE,false);
x.style.filter=y.replace(/alpha\([^\)]*\)/gi,m);
}},"gecko":function(z){if(!qx.bom.element.Opacity.SUPPORT_CSS3_OPACITY){z.style.MozOpacity=m;
}else{z.style.opacity=m;
}},"default":function(A){A.style.opacity=m;
}}),get:qx.core.Environment.select(l,{"mshtml":function(B,C){if(qx.bom.element.Opacity.SUPPORT_CSS3_OPACITY){var D=qx.bom.element.Style.get(B,i,C,false);

if(D!=null){return parseFloat(D);
}return 1.0;
}else{var E=qx.bom.element.Style.get(B,h,C,false);

if(E){var D=E.match(/alpha\(opacity=(.*)\)/);

if(D&&D[1]){return parseFloat(D[1])/100;
}}return 1.0;
}},"gecko":function(F,G){var H=qx.bom.element.Style.get(F,!qx.bom.element.Opacity.SUPPORT_CSS3_OPACITY?g:i,G,false);

if(H==0.999999){H=1.0;
}
if(H!=null){return parseFloat(H);
}return 1.0;
},"default":function(I,J){var K=qx.bom.element.Style.get(I,i,J,false);

if(K!=null){return parseFloat(K);
}return 1.0;
}})},defer:function(L){L.SUPPORT_CSS3_OPACITY=(typeof document.documentElement.style.opacity=="string");
}});
})();
(function(){var m="",k="engine.name",h="userSelect",g="style",f="MozUserModify",e="px",d="pixelBottom",c="float",b="borderImage",a="styleFloat",F="appearance",E="pixelHeight",D='Ms',C=":",B="cssFloat",A="pixelTop",z="pixelLeft",y='O',x="qx.bom.element.Style",w='Khtml',t='string',u="pixelRight",r='Moz',s="pixelWidth",p=";",q="textOverflow",n="userModify",o='Webkit',v="WebkitUserModify";
qx.Class.define(x,{statics:{__dn:function(){var G=[F,h,q,b];
var K={};
var H=document.documentElement.style;
var L=[r,o,w,y,D];

for(var i=0,l=G.length;i<l;i++){var M=G[i];
var I=M;

if(H[M]){K[I]=M;
continue;
}M=qx.lang.String.firstUp(M);

for(var j=0,N=L.length;j<N;j++){var J=L[j]+M;

if(typeof H[J]==t){K[I]=J;
break;
}}}this.__do=K;
this.__do[n]=qx.core.Environment.select(k,{"gecko":f,"webkit":v,"default":h});
this.__dp={};

for(var I in K){this.__dp[I]=qx.lang.String.hyphenate(K[I]);
}this.__do[c]=qx.core.Environment.select(k,{"mshtml":a,"default":B});
},__dq:{width:s,height:E,left:z,right:u,top:A,bottom:d},__dr:{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(O){var Q=[];
var S=this.__dr;
var R=this.__dp;
var name,P;

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

if(P==null){continue;
}name=R[name]||name;
if(S[name]){Q.push(S[name].compile(P));
}else{Q.push(qx.lang.String.hyphenate(name),C,P,p);
}}return Q.join(m);
},setCss:qx.core.Environment.select(k,{"mshtml":function(T,U){T.style.cssText=U;
},"default":function(V,W){V.setAttribute(g,W);
}}),getCss:qx.core.Environment.select(k,{"mshtml":function(X){return X.style.cssText.toLowerCase();
},"default":function(Y){return Y.getAttribute(g);
}}),isPropertySupported:function(ba){return (this.__dr[ba]||this.__do[ba]||ba in document.documentElement.style);
},COMPUTED_MODE:1,CASCADED_MODE:2,LOCAL_MODE:3,set:function(bb,name,bc,bd){name=this.__do[name]||name;
if(bd!==false&&this.__dr[name]){return this.__dr[name].set(bb,bc);
}else{bb.style[name]=bc!==null?bc:m;
}},setStyles:function(be,bf,bg){var bj=this.__do;
var bl=this.__dr;
var bh=be.style;

for(var bk in bf){var bi=bf[bk];
var name=bj[bk]||bk;

if(bi===undefined){if(bg!==false&&bl[name]){bl[name].reset(be);
}else{bh[name]=m;
}}else{if(bg!==false&&bl[name]){bl[name].set(be,bi);
}else{bh[name]=bi!==null?bi:m;
}}}},reset:function(bm,name,bn){name=this.__do[name]||name;
if(bn!==false&&this.__dr[name]){return this.__dr[name].reset(bm);
}else{bm.style[name]=m;
}},get:qx.core.Environment.select(k,{"mshtml":function(bo,name,bp,bq){name=this.__do[name]||name;
if(bq!==false&&this.__dr[name]){return this.__dr[name].get(bo,bp);
}if(!bo.currentStyle){return bo.style[name]||m;
}switch(bp){case this.LOCAL_MODE:return bo.style[name]||m;
case this.CASCADED_MODE:return bo.currentStyle[name]||m;
default:var bu=bo.currentStyle[name]||m;
if(/^-?[\.\d]+(px)?$/i.test(bu)){return bu;
}var bt=this.__dq[name];

if(bt){var br=bo.style[name];
bo.style[name]=bu||0;
var bs=bo.style[bt]+e;
bo.style[name]=br;
return bs;
}if(/^-?[\.\d]+(em|pt|%)?$/i.test(bu)){throw new Error("Untranslated computed property value: "+name+". Only pixel values work well across different clients.");
}return bu;
}},"default":function(bv,name,bw,bx){name=this.__do[name]||name;
if(bx!==false&&this.__dr[name]){return this.__dr[name].get(bv,bw);
}switch(bw){case this.LOCAL_MODE:return bv.style[name]||m;
case this.CASCADED_MODE:if(bv.currentStyle){return bv.currentStyle[name]||m;
}throw new Error("Cascaded styles are not supported in this browser!");
default:var by=qx.dom.Node.getDocument(bv);
var bz=by.defaultView.getComputedStyle(bv,null);
return bz?bz[name]:m;
}}})},defer:function(bA){bA.__dn();
}});
})();
(function(){var e="=",d="ecmascript.objectcount",c="+",b="qx.lang.Object",a="&";
qx.Class.define(b,{statics:{empty:function(f){for(var g in f){if(f.hasOwnProperty(g)){delete f[g];
}}},isEmpty:(qx.core.Environment.get(d))?function(h){return h.__count__===0;
}:function(j){for(var k in j){return false;
}return true;
},hasMinLength:(qx.core.Environment.get(d))?function(m,n){return m.__count__>=n;
}: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(r){var t=[];
var s=this.getKeys(r);

for(var i=0,l=s.length;i<l;i++){t.push(r[s[i]]);
}return t;
},mergeWith:qx.Bootstrap.objectMergeWith,carefullyMergeWith:function(u,v){return qx.lang.Object.mergeWith(u,v,false);
},merge:function(w,x){var y=arguments.length;

for(var i=1;i<y;i++){qx.lang.Object.mergeWith(w,arguments[i]);
}return w;
},clone:function(z){var A={};

for(var B in z){A[B]=z[B];
}return A;
},invert:function(C){var D={};

for(var E in C){D[C[E].toString()]=E;
}return D;
},getKeyFromValue:function(F,G){for(var H in F){if(F.hasOwnProperty(H)&&F[H]===G){return H;
}}return null;
},contains:function(I,J){return this.getKeyFromValue(I,J)!==null;
},select:function(K,L){return L[K];
},fromArray:function(M){var N={};

for(var i=0,l=M.length;i<l;i++){N[M[i].toString()]=true;
}return N;
},toUriParameter:function(O,P){var S,R=[],Q=window.encodeURIComponent;

for(S in O){if(O.hasOwnProperty(S)){if(P){R.push(Q(S).replace(/%20/g,c)+e+Q(O[S]).replace(/%20/g,c));
}else{R.push(Q(S)+e+Q(O[S]));
}}}return R.join(a);
}}});
})();
(function(){var j="/",i="0",h="qx/static",g="http://",f="https://",e="file://",d="qx.util.AliasManager",c="singleton",b=".",a="static";
qx.Class.define(d,{type:c,extend:qx.util.ValueManager,construct:function(){qx.util.ValueManager.call(this);
this.__ds={};
this.add(a,h);
},members:{__ds:null,_preprocess:function(k){var n=this._getDynamic();

if(n[k]===false){return k;
}else if(n[k]===undefined){if(k.charAt(0)===j||k.charAt(0)===b||k.indexOf(g)===0||k.indexOf(f)===i||k.indexOf(e)===0){n[k]=false;
return k;
}
if(this.__ds[k]){return this.__ds[k];
}var m=k.substring(0,k.indexOf(j));
var l=this.__ds[m];

if(l!==undefined){n[k]=l+k.substring(m.length);
}}return k;
},add:function(o,p){this.__ds[o]=p;
var r=this._getDynamic();
for(var q in r){if(q.substring(0,q.indexOf(j))===o){r[q]=p+q.substring(o.length);
}}},remove:function(s){delete this.__ds[s];
},resolve:function(t){var u=this._getDynamic();

if(t!=null){t=this._preprocess(t);
}return u[t]||t;
},getAliases:function(){var v={};

for(var w in this.__ds){v[w]=this.__ds[w];
}return v;
}},destruct:function(){this.__ds=null;
}});
})();
(function(){var f="_applyTheme",e="qx.theme.manager.Font",d="_dynamic",c="Theme",b="changeTheme",a="singleton";
qx.Class.define(e,{type:a,extend:qx.util.ValueManager,properties:{theme:{check:c,nullable:true,apply:f,event:b}},members:{resolveDynamic:function(g){var h=this._dynamic;
return g instanceof qx.bom.Font?g:h[g];
},resolve:function(i){var l=this._dynamic;
var j=l[i];

if(j){return j;
}var k=this.getTheme();

if(k!==null&&k.fonts[i]){var m=this.__du(k.fonts[i]);
return l[i]=(new m).set(k.fonts[i]);
}return i;
},isDynamic:function(n){var q=this._dynamic;

if(n&&(n instanceof qx.bom.Font||q[n]!==undefined)){return true;
}var p=this.getTheme();

if(p!==null&&n&&p.fonts[n]){var o=this.__du(p.fonts[n]);
q[n]=(new o).set(p.fonts[n]);
return true;
}return false;
},__dt:function(r,s){if(r[s].include){var t=r[r[s].include];
r[s].include=null;
delete r[s].include;
r[s]=qx.lang.Object.mergeWith(r[s],t,false);
this.__dt(r,s);
}},_applyTheme:function(u){var v=this._getDynamic();

for(var y in v){if(v[y].themed){v[y].dispose();
delete v[y];
}}
if(u){var w=u.fonts;

for(var y in w){if(w[y].include&&w[w[y].include]){this.__dt(w,y);
}var x=this.__du(w[y]);
v[y]=(new x).set(w[y]);
v[y].themed=true;
}}this._setDynamic(v);
},__du:function(z){if(z.sources){return qx.bom.webfonts.WebFont;
}return qx.bom.Font;
}},destruct:function(){this._disposeMap(d);
}});
})();
(function(){var k="",j="underline",h="Boolean",g="px",f='"',e="italic",d="normal",c="bold",b="_applyItalic",a="_applyBold",z="Integer",y="_applyFamily",x="_applyLineHeight",w="Array",v="line-through",u="overline",t="Color",s="qx.bom.Font",r="Number",q="_applyDecoration",o=" ",p="_applySize",m=",",n="_applyColor";
qx.Class.define(s,{extend:qx.core.Object,construct:function(A,B){qx.core.Object.call(this);

if(A!==undefined){this.setSize(A);
}
if(B!==undefined){this.setFamily(B);
}},statics:{fromString:function(C){var G=new qx.bom.Font();
var E=C.split(/\s+/);
var name=[];
var F;

for(var i=0;i<E.length;i++){switch(F=E[i]){case c:G.setBold(true);
break;
case e:G.setItalic(true);
break;
case j:G.setDecoration(j);
break;
default:var D=parseInt(F,10);

if(D==F||qx.lang.String.contains(F,g)){G.setSize(D);
}else{name.push(F);
}break;
}}
if(name.length>0){G.setFamily(name);
}return G;
},fromConfig:function(H){var I=new qx.bom.Font;
I.set(H);
return I;
},__dv:{fontFamily:k,fontSize:k,fontWeight:k,fontStyle:k,textDecoration:k,lineHeight:1.2,textColor:k},getDefaultStyles:function(){return this.__dv;
}},properties:{size:{check:z,nullable:true,apply:p},lineHeight:{check:r,nullable:true,apply:x},family:{check:w,nullable:true,apply:y},bold:{check:h,nullable:true,apply:a},italic:{check:h,nullable:true,apply:b},decoration:{check:[j,v,u],nullable:true,apply:q},color:{check:t,nullable:true,apply:n}},members:{__dw:null,__dx:null,__dy:null,__dz:null,__dA:null,__dB:null,__dC:null,_applySize:function(J,K){this.__dw=J===null?null:J+g;
},_applyLineHeight:function(L,M){this.__dB=L===null?null:L;
},_applyFamily:function(N,O){var P=k;

for(var i=0,l=N.length;i<l;i++){if(N[i].indexOf(o)>0){P+=f+N[i]+f;
}else{P+=N[i];
}
if(i!==l-1){P+=m;
}}this.__dx=P;
},_applyBold:function(Q,R){this.__dy=Q===null?null:Q?c:d;
},_applyItalic:function(S,T){this.__dz=S===null?null:S?e:d;
},_applyDecoration:function(U,V){this.__dA=U===null?null:U;
},_applyColor:function(W,X){this.__dC=W===null?null:W;
},getStyles:function(){return {fontFamily:this.__dx,fontSize:this.__dw,fontWeight:this.__dy,fontStyle:this.__dz,textDecoration:this.__dA,lineHeight:this.__dB,textColor:this.__dC};
}}});
})();
(function(){var g="'",f="qx.bom.webfonts.WebFont",e="",d="changeStatus",c=" ",b="_applySources",a="qx.event.type.Data";
qx.Class.define(f,{extend:qx.bom.Font,events:{"changeStatus":a},properties:{sources:{nullable:true,apply:b}},members:{__dD:null,_applySources:function(h,j){var n=[];

for(var i=0,l=h.length;i<l;i++){var m=this._quoteFontFamily(h[i].family);
n.push(m);
var k=h[i].source;
qx.bom.webfonts.Manager.getInstance().require(m,k,this._onWebFontChangeStatus,this);
}this.setFamily(n.concat(this.getFamily()));
},_onWebFontChangeStatus:function(o){var p=o.getData();
this.fireDataEvent(d,p);
},_quoteFontFamily:function(q){q=q.replace(/["']/g,e);

if(q.indexOf(c)>0){q=g+q+g;
}return q;
}}});
})();
(function(){var n="",k="url('",h="ie",g="browser.name",f="changeStatus",e="svg",d="chrome",c="#",b="firefox",a="eot",T="ios",S="ttf",R="browser.version",Q="woff",P="m",O="os.name",N=")",M="qx.bom.webfonts.Manager",L="singleton",K=",\n",u="src: ",v="mobileSafari",s="'eot)",t="@font-face {",q="interval",r="}\n",o="font-family: ",p="mobile safari",w="safari",y="?#iefix') format('eot')",C=";\n",B="') format('woff')",E="opera",D="\.(",G="os.version",F="') format('svg')",A="'eot')",J="\nfont-style: normal;\nfont-weight: normal;",I="@font-face.*?",H=";",z="') format('truetype')";
qx.Class.define(M,{extend:qx.core.Object,type:L,construct:function(){qx.core.Object.call(this);
this.__dE=[];
this.__dF={};
this.__dG=[];
this.__dH=this.getPreferredFormats();
},statics:{FONT_FORMATS:["eot","woff","ttf","svg"],VALIDATION_TIMEOUT:5000},members:{__dE:null,__dI:null,__dF:null,__dH:null,__dG:null,__dJ:null,require:function(U,V,W,X){var Y=[];

for(var i=0,l=V.length;i<l;i++){var bb=V[i].split(c);
var ba=qx.util.ResourceManager.getInstance().toUri(bb[0]);

if(bb.length>1){ba=ba+c+bb[1];
}Y.push(ba);
}if(!(qx.core.Environment.get(g)==h&&qx.bom.client.Browser.getVersion()<9)){this.__dK(U,Y,W,X);
return;
}
if(!this.__dJ){this.__dJ=new qx.event.Timer(100);
this.__dJ.addListener(q,this.__dL,this);
}
if(!this.__dJ.isEnabled()){this.__dJ.start();
}this.__dG.push([U,Y,W,X]);
},remove:function(bc){var bd=null;

for(var i=0,l=this.__dE.length;i<l;i++){if(this.__dE[i]==bc){bd=i;
this.__dR(bc);
break;
}}
if(bd){qx.lang.Array.removeAt(this.__dE,bd);
}
if(bc in this.__dF){this.__dF[bc].dispose();
delete this.__dF[bc];
}},getPreferredFormats:function(){var be=[];
var bi=qx.core.Environment.get(g);
var bf=qx.core.Environment.get(R);
var bh=qx.core.Environment.get(O);
var bg=qx.core.Environment.get(G);

if((bi==h&&bf>=9)||(bi==b&&bf>=3.6)||(bi==d&&bf>=6)){be.push(Q);
}
if((bi==E&&bf>=10)||(bi==w&&bf>=3.1)||(bi==b&&bf>=3.5)||(bi==d&&bf>=4)||(bi==p&&bh==T&&bg>=4.2)){be.push(S);
}
if(bi==h&&bf>=4){be.push(a);
}
if(bi==v&&bh==T&&bg>=4.1){be.push(e);
}return be;
},removeStyleSheet:function(){this.__dE=[];

if(this.__dI){var bj=this.__dI.ownerNode?this.__dI.ownerNode:this.__dI.owningElement;
qx.dom.Element.removeChild(bj,bj.parentNode);
}this.__dI=null;
},__dK:function(bk,bl,bm,bn){if(!qx.lang.Array.contains(this.__dE,bk)){var bq=this.__dN(bl);
var bp=this.__dO(bk,bq);

if(!bp){throw new Error("Couldn't create @font-face rule for WebFont "+bk+"!");
}
if(!this.__dI){this.__dI=qx.bom.Stylesheet.createElement();
}
try{this.__dQ(bp);
}catch(br){}this.__dE.push(bk);
}
if(!this.__dF[bk]){this.__dF[bk]=new qx.bom.webfonts.Validator(bk);
this.__dF[bk].setTimeout(qx.bom.webfonts.Manager.VALIDATION_TIMEOUT);
this.__dF[bk].addListenerOnce(f,this.__dM,this);
}
if(bm){var bo=bn||window;
this.__dF[bk].addListenerOnce(f,bm,bo);
}this.__dF[bk].validate();
},__dL:function(){if(this.__dG.length==0){this.__dJ.stop();
return;
}var bs=this.__dG.shift();
this.__dK.apply(this,bs);
},__dM:function(bt){var bu=bt.getData();

if(bu.valid===false){qx.event.Timer.once(function(){this.remove(bu.family);
},this,250);
}},__dN:function(bv){var bx=qx.bom.webfonts.Manager.FONT_FORMATS;
var bA={};

for(var i=0,l=bv.length;i<l;i++){var by=null;

for(var x=0;x<bx.length;x++){var bz=new RegExp(D+bx[x]+N);
var bw=bz.exec(bv[i]);

if(bw){by=bw[1];
}}
if(by){bA[by]=bv[i];
}}return bA;
},__dO:function(bB,bC){var bF=[];
var bD=this.__dH.length>0?this.__dH:qx.bom.webfonts.Manager.FONT_FORMATS;

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

if(bC[bE]){bF.push(this.__dP(bE,bC[bE]));
}}var bG=u+bF.join(K)+H;
bG=o+bB+C+bG;
bG=bG+J;
return bG;
},__dP:function(bH,bI){switch(bH){case a:return k+bI+y;
case Q:return k+bI+B;
case S:return k+bI+z;
case e:return k+bI+F;
default:return null;
}},__dQ:function(bJ){var bL=t+bJ+r;

if(qx.core.Environment.get(g)==h&&qx.core.Environment.get(R)<9){var bK=this.__dS(this.__dI.cssText);
bK+=bL;
this.__dI.cssText=bK;
}else{this.__dI.insertRule(bL,this.__dI.cssRules.length);
}},__dR:function(bM){var bP=new RegExp(I+bM,P);

for(var i=0,l=document.styleSheets.length;i<l;i++){var bN=document.styleSheets[i];

if(bN.cssText){var bO=bN.cssText.replace(/\n/g,n).replace(/\r/g,n);
bO=this.__dS(bO);

if(bP.exec(bO)){bO=bO.replace(bP,n);
}bN.cssText=bO;
}else if(bN.cssRules){for(var j=0,m=bN.cssRules.length;j<m;j++){var bO=bN.cssRules[j].cssText.replace(/\n/g,n).replace(/\r/g,n);

if(bP.exec(bO)){this.__dI.deleteRule(j);
return;
}}}}},__dS:function(bQ){return bQ.replace(s,A);
}},destruct:function(){delete this.__dE;
this.removeStyleSheet();

for(var bR in this.__dF){this.__dF[bR].dispose();
}qx.bom.webfonts.Validator.removeDefaultHelperElements();
}});
})();
(function(){var p="",o="/",n="mshtml",m="engine.name",l="io.ssl",k="string",j="//",i="?",h="data",g="type",c="data:image/",f=";",e="encoding",b="qx.util.ResourceManager",a="singleton",d=",";
qx.Class.define(b,{extend:qx.core.Object,type:a,construct:function(){qx.core.Object.call(this);
},statics:{__w:qx.$$resources||{},__dT:{}},members:{has:function(q){return !!this.self(arguments).__w[q];
},getData:function(r){return this.self(arguments).__w[r]||null;
},getImageWidth:function(s){var t=this.self(arguments).__w[s];
return t?t[0]:null;
},getImageHeight:function(u){var v=this.self(arguments).__w[u];
return v?v[1]:null;
},getImageFormat:function(w){var x=this.self(arguments).__w[w];
return x?x[2]:null;
},getCombinedFormat:function(y){var B=p;
var A=this.self(arguments).__w[y];
var z=A&&A.length>4&&typeof (A[4])==k&&this.constructor.__w[A[4]];

if(z){var D=A[4];
var C=this.constructor.__w[D];
B=C[2];
}return B;
},toUri:function(E){if(E==null){return E;
}var F=this.self(arguments).__w[E];

if(!F){return E;
}
if(typeof F===k){var H=F;
}else{var H=F[3];
if(!H){return E;
}}var G=p;

if((qx.core.Environment.get(m)==n)&&qx.core.Environment.get(l)){G=this.self(arguments).__dT[H];
}return G+qx.$$libraries[H].resourceUri+o+E;
},toDataUri:function(I){var K=this.constructor.__w[I];
var L=this.constructor.__w[K[4]];
var M;

if(L){var J=L[4][I];
M=c+J[g]+f+J[e]+d+J[h];
}else{M=this.toUri(I);
}return M;
}},defer:function(N){if((qx.core.Environment.get(m)==n)){if(qx.core.Environment.get(l)){for(var R in qx.$$libraries){var P;

if(qx.$$libraries[R].resourceUri){P=qx.$$libraries[R].resourceUri;
}else{N.__dT[R]=p;
continue;
}if(P.match(/^\/\//)!=null){N.__dT[R]=window.location.protocol;
}else if(P.match(/^\//)!=null){N.__dT[R]=window.location.protocol+j+window.location.host;
}else if(P.match(/^\.\//)!=null){var O=document.URL;
N.__dT[R]=O.substring(0,O.lastIndexOf(o)+1);
}else if(P.match(/^http/)!=null){N.__dT[R]=p;
}else{var S=window.location.href.indexOf(i);
var Q;

if(S==-1){Q=window.location.href;
}else{Q=window.location.href.substring(0,S);
}N.__dT[R]=Q.substring(0,Q.lastIndexOf(o)+1);
}}}}}});
})();
(function(){var h="interval",g="qx.event.Timer",f="_applyInterval",d="_applyEnabled",c="Boolean",b="qx.event.type.Event",a="Integer";
qx.Class.define(g,{extend:qx.core.Object,construct:function(i){qx.core.Object.call(this);
this.setEnabled(false);

if(i!=null){this.setInterval(i);
}var self=this;
this.__dU=function(){self._oninterval.call(self);
};
},events:{"interval":b},statics:{once:function(j,k,l){var m=new qx.event.Timer(l);
m.__dV=j;
m.addListener(h,function(e){m.stop();
j.call(k,e);
m.dispose();
k=null;
},k);
m.start();
return m;
}},properties:{enabled:{init:true,check:c,apply:d},interval:{check:a,init:1000,apply:f}},members:{__dW:null,__dU:null,_applyInterval:function(n,o){if(this.getEnabled()){this.restart();
}},_applyEnabled:function(p,q){if(q){window.clearInterval(this.__dW);
this.__dW=null;
}else if(p){this.__dW=window.setInterval(this.__dU,this.getInterval());
}},start:function(){this.setEnabled(true);
},startWith:function(r){this.setInterval(r);
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(h);
}})},destruct:function(){if(this.__dW){window.clearInterval(this.__dW);
}this.__dW=this.__dU=null;
}});
})();
(function(){var a="qx.dom.Element";
qx.Class.define(a,{statics:{hasChild:function(parent,b){return b.parentNode===parent;
},hasChildren:function(c){return !!c.firstChild;
},hasChildElements:function(d){d=d.firstChild;

while(d){if(d.nodeType===1){return true;
}d=d.nextSibling;
}return false;
},getParentElement:function(e){return e.parentNode;
},isInDom:function(f,g){if(!g){g=window;
}var h=g.document.getElementsByTagName(f.nodeName);

for(var i=0,l=h.length;i<l;i++){if(h[i]===f){return true;
}}return false;
},insertAt:function(j,parent,k){var m=parent.childNodes[k];

if(m){parent.insertBefore(j,m);
}else{parent.appendChild(j);
}return true;
},insertBegin:function(n,parent){if(parent.firstChild){this.insertBefore(n,parent.firstChild);
}else{parent.appendChild(n);
}},insertEnd:function(o,parent){parent.appendChild(o);
},insertBefore:function(p,q){q.parentNode.insertBefore(p,q);
return true;
},insertAfter:function(r,s){var parent=s.parentNode;

if(s==parent.lastChild){parent.appendChild(r);
}else{return this.insertBefore(r,s.nextSibling);
}return true;
},remove:function(t){if(!t.parentNode){return false;
}t.parentNode.removeChild(t);
return true;
},removeChild:function(u,parent){if(u.parentNode!==parent){return false;
}parent.removeChild(u);
return true;
},removeChildAt:function(v,parent){var w=parent.childNodes[v];

if(!w){return false;
}parent.removeChild(w);
return true;
},replaceChild:function(x,y){if(!y.parentNode){return false;
}y.parentNode.replaceChild(x,y);
return true;
},replaceAt:function(z,A,parent){var B=parent.childNodes[A];

if(!B){return false;
}parent.replaceChild(z,B);
return true;
}}});
})();
(function(){var l="engine.name",k="head",j="text/css",h="stylesheet",g="}",f='@import "',e="{",d='";',c="qx.bom.Stylesheet",b="link",a="style";
qx.Class.define(c,{statics:{includeFile:function(m,n){if(!n){n=document;
}var o=n.createElement(b);
o.type=j;
o.rel=h;
o.href=qx.util.ResourceManager.getInstance().toUri(m);
var p=n.getElementsByTagName(k)[0];
p.appendChild(o);
},createElement:qx.core.Environment.select(l,{"mshtml":function(q){var r=document.createStyleSheet();

if(q){r.cssText=q;
}return r;
},"default":function(s){var t=document.createElement(a);
t.type=j;

if(s){t.appendChild(document.createTextNode(s));
}document.getElementsByTagName(k)[0].appendChild(t);
return t.sheet;
}}),addRule:qx.core.Environment.select(l,{"mshtml":function(u,v,w){u.addRule(v,w);
},"default":function(x,y,z){x.insertRule(y+e+z+g,x.cssRules.length);
}}),removeRule:qx.core.Environment.select(l,{"mshtml":function(A,B){var C=A.rules;
var D=C.length;

for(var i=D-1;i>=0;--i){if(C[i].selectorText==B){A.removeRule(i);
}}},"default":function(E,F){var G=E.cssRules;
var H=G.length;

for(var i=H-1;i>=0;--i){if(G[i].selectorText==F){E.deleteRule(i);
}}}}),removeAllRules:qx.core.Environment.select(l,{"mshtml":function(I){var J=I.rules;
var K=J.length;

for(var i=K-1;i>=0;i--){I.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.Environment.select(l,{"mshtml":function(O,P){O.addImport(P);
},"default":function(Q,R){Q.insertRule(f+R+d,Q.cssRules.length);
}}),removeImport:qx.core.Environment.select(l,{"mshtml":function(S,T){var U=S.imports;
var V=U.length;

for(var i=V-1;i>=0;i--){if(U[i].href==T){S.removeImport(i);
}}},"default":function(W,X){var Y=W.cssRules;
var ba=Y.length;

for(var i=ba-1;i>=0;i--){if(Y[i].href==X){W.deleteRule(i);
}}}}),removeAllImports:qx.core.Environment.select(l,{"mshtml":function(bb){var bc=bb.imports;
var bd=bc.length;

for(var i=bd-1;i>=0;i--){bb.removeImport(i);
}},"default":function(be){var bf=be.cssRules;
var bg=bf.length;

for(var i=bg-1;i>=0;i--){if(bf[i].type==bf[i].IMPORT_RULE){be.deleteRule(i);
}}}})}});
})();
(function(){var h=",",g="interval",f="changeStatus",e="qx.event.type.Data",d="qx.bom.webfonts.Validator",c="_applyFontFamily",b="span",a="Integer";
qx.Class.define(d,{extend:qx.core.Object,construct:function(i){qx.core.Object.call(this);

if(i){this.setFontFamily(i);
}this.__dX=this._getRequestedHelpers();
},statics:{COMPARISON_FONTS:{sans:["Arial","Helvetica","sans-serif"],serif:["Times New Roman","Georgia","serif"]},HELPER_CSS:{position:"absolute",margin:"0",padding:"0",top:"-1000px",left:"-1000px",fontSize:"350px",width:"auto",height:"auto",lineHeight:"normal",fontVariant:"normal"},COMPARISON_STRING:"WEei",__dY:null,__ea:null,removeDefaultHelperElements:function(){var j=qx.bom.webfonts.Validator.__ea;

if(j){for(var k in j){document.body.removeChild(j[k]);
}}delete qx.bom.webfonts.Validator.__ea;
}},properties:{fontFamily:{nullable:true,init:null,apply:c},timeout:{check:a,init:5000}},events:{"changeStatus":e},members:{__dX:null,__eb:null,__ec:null,validate:function(){this.__ec=new Date().getTime();

if(this.__eb){this.__eb.restart();
}else{this.__eb=new qx.event.Timer(100);
this.__eb.addListener(g,this.__ed,this);
qx.event.Timer.once(function(){this.__eb.start();
},this,0);
}},_reset:function(){if(this.__dX){for(var m in this.__dX){var l=this.__dX[m];
document.body.removeChild(l);
}this.__dX=null;
}},_isFontValid:function(){if(!qx.bom.webfonts.Validator.__dY){this.__bl();
}
if(!this.__dX){this.__dX=this._getRequestedHelpers();
}var o=qx.bom.element.Dimension.getWidth(this.__dX.sans);
var n=qx.bom.element.Dimension.getWidth(this.__dX.serif);
var p=qx.bom.webfonts.Validator;

if(o!==p.__dY.sans&&n!==p.__dY.serif){return true;
}return false;
},_getRequestedHelpers:function(){var q=[this.getFontFamily()].concat(qx.bom.webfonts.Validator.COMPARISON_FONTS.sans);
var r=[this.getFontFamily()].concat(qx.bom.webfonts.Validator.COMPARISON_FONTS.serif);
return {sans:this._getHelperElement(q),serif:this._getHelperElement(r)};
},_getHelperElement:function(s){var t=qx.lang.Object.clone(qx.bom.webfonts.Validator.HELPER_CSS);

if(s){if(t.fontFamily){t.fontFamily+=h+s.join(h);
}else{t.fontFamily=s.join(h);
}}var u=document.createElement(b);
u.innerHTML=qx.bom.webfonts.Validator.COMPARISON_STRING;
qx.bom.element.Style.setStyles(u,t);
document.body.appendChild(u);
return u;
},_applyFontFamily:function(v,w){if(v!==w){this._reset();
}},__bl:function(){var x=qx.bom.webfonts.Validator;

if(!x.__ea){x.__ea={sans:this._getHelperElement(x.COMPARISON_FONTS.sans),serif:this._getHelperElement(x.COMPARISON_FONTS.serif)};
}x.__dY={sans:qx.bom.element.Dimension.getWidth(x.__ea.sans),serif:qx.bom.element.Dimension.getWidth(x.__ea.serif)};
},__ed:function(){if(this._isFontValid()){this.__eb.stop();
this._reset();
this.fireDataEvent(f,{family:this.getFontFamily(),valid:true});
}else{var y=new Date().getTime();

if(y-this.__ec>=this.getTimeout()){this.__eb.stop();
this._reset();
this.fireDataEvent(f,{family:this.getFontFamily(),valid:false});
}}}},destruct:function(){this._reset();
this.__eb.stop();
this.__eb.removeListener(g,this.__ed,this);
this._disposeObjects(this.__eb);
}});
})();
(function(){var j="engine.name",i="0px",h="mshtml",g="engine.version",f="qx.bom.element.Dimension",e="paddingRight",d="paddingLeft",c="opera",b="paddingBottom",a="paddingTop";
qx.Class.define(f,{statics:{getWidth:qx.core.Environment.select(j,{"gecko":function(k){if(k.getBoundingClientRect){var l=k.getBoundingClientRect();
return Math.round(l.right)-Math.round(l.left);
}else{return k.offsetWidth;
}},"default":function(m){return m.offsetWidth;
}}),getHeight:qx.core.Environment.select(j,{"gecko":function(n){if(n.getBoundingClientRect){var o=n.getBoundingClientRect();
return Math.round(o.bottom)-Math.round(o.top);
}else{return n.offsetHeight;
}},"default":function(p){return p.offsetHeight;
}}),getSize:function(q){return {width:this.getWidth(q),height:this.getHeight(q)};
},__ee:{visible:true,hidden:true},getContentWidth:function(r){var s=qx.bom.element.Style;
var t=qx.bom.element.Overflow.getX(r);
var u=parseInt(s.get(r,d)||i,10);
var x=parseInt(s.get(r,e)||i,10);

if(this.__ee[t]){var w=r.clientWidth;

if((qx.core.Environment.get(j)==c)){w=w-u-x;
}else{if(qx.dom.Node.isBlockNode(r)){w=w-u-x;
}}return w;
}else{if(r.clientWidth>=r.scrollWidth){return Math.max(r.clientWidth,r.scrollWidth)-u-x;
}else{var v=r.scrollWidth-u;
if(qx.core.Environment.get(j)==h&&qx.core.Environment.get(g)>=6){v-=x;
}return v;
}}},getContentHeight:function(y){var z=qx.bom.element.Style;
var C=qx.bom.element.Overflow.getY(y);
var B=parseInt(z.get(y,a)||i,10);
var A=parseInt(z.get(y,b)||i,10);

if(this.__ee[C]){return y.clientHeight-B-A;
}else{if(y.clientHeight>=y.scrollHeight){return Math.max(y.clientHeight,y.scrollHeight)-B-A;
}else{var D=y.scrollHeight-B;
if(qx.core.Environment.get(j)==h&&qx.core.Environment.get(g)==6){D-=A;
}return D;
}}},getContentSize:function(E){return {width:this.getContentWidth(E),height:this.getContentHeight(E)};
}}});
})();
(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.__ef={};
this.__eg={};
},properties:{theme:{check:d,nullable:true,event:c,apply:g}},members:{__eh:{},__ef:null,__eg:null,_applyTheme:function(j,k){this.__eg={};
this.__ef={};
},__ei:function(l,m,n){var s=m.appearances;
var v=s[l];

if(!v){var w=b;
var p=[];
var u=l.split(w);
var t;

while(!v&&u.length>0){p.unshift(u.pop());
var q=u.join(w);
v=s[q];

if(v){t=v.alias||v;

if(typeof t===h){var r=t+w+p.join(w);
return this.__ei(r,m,n);
}}}for(var i=0;i<p.length-1;i++){p.shift();
var q=p.join(w);
var o=this.__ei(q,m);

if(o){return o;
}}if(n!=null){return this.__ei(n,m);
}return null;
}else if(typeof v===h){return this.__ei(v,m,n);
}else if(v.include&&!v.style){return this.__ei(v.include,m,n);
}return l;
},styleFrom:function(x,y,z,A){if(!z){z=this.getTheme();
}var F=this.__eg;
var B=F[x];

if(!B){B=F[x]=this.__ei(x,z,A);
}var L=z.appearances[B];

if(!L){this.warn("Missing appearance: "+x);
return null;
}if(!L.style){return null;
}var M=B;

if(y){var N=L.$$bits;

if(!N){N=L.$$bits={};
L.$$length=0;
}var D=0;

for(var H in y){if(!y[H]){continue;
}
if(N[H]==null){N[H]=1<<L.$$length++;
}D+=N[H];
}if(D>0){M+=e+D;
}}var E=this.__ef;

if(E[M]!==undefined){return E[M];
}if(!y){y=this.__eh;
}var J;
if(L.include||L.base){var C;

if(L.include){C=this.styleFrom(L.include,y,z,A);
}var G=L.style(y,C);
J={};
if(L.base){var I=this.styleFrom(B,y,L.base,A);

if(L.include){for(var K in I){if(!C.hasOwnProperty(K)&&!G.hasOwnProperty(K)){J[K]=I[K];
}}}else{for(var K in I){if(!G.hasOwnProperty(K)){J[K]=I[K];
}}}}if(L.include){for(var K in C){if(!G.hasOwnProperty(K)){J[K]=C[K];
}}}for(var K in G){J[K]=G[K];
}}else{J=L.style(y);
}return E[M]=J||null;
}},destruct:function(){this.__ef=this.__eg=null;
}});
})();
(function(){var p="other",o="widgets",n="fonts",m="appearances",k="qx.Theme",j="]",h="[Theme ",g="colors",f="decorations",e="Theme",b="meta",d="borders",c="icons";
qx.Bootstrap.define(k,{statics:{define:function(name,q){if(!q){var q={};
}q.include=this.__ej(q.include);
q.patch=this.__ej(q.patch);
var r={$$type:e,name:name,title:q.title,toString:this.genericToString};
if(q.extend){r.supertheme=q.extend;
}r.basename=qx.Bootstrap.createNamespace(name,r);
this.__em(r,q);
this.__ek(r,q);
this.$$registry[name]=r;
for(var i=0,a=q.include,l=a.length;i<l;i++){this.include(r,a[i]);
}
for(var i=0,a=q.patch,l=a.length;i<l;i++){this.patch(r,a[i]);
}},__ej:function(s){if(!s){return [];
}
if(qx.Bootstrap.isArray(s)){return s;
}else{return [s];
}},__ek:function(t,u){var v=u.aliases||{};

if(u.extend&&u.extend.aliases){qx.Bootstrap.objectMergeWith(v,u.extend.aliases,false);
}t.aliases=v;
},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 h+this.name+j;
},__el:function(w){for(var i=0,x=this.__en,l=x.length;i<l;i++){if(w[x[i]]){return x[i];
}}},__em:function(y,z){var C=this.__el(z);
if(z.extend&&!C){C=z.extend.type;
}y.type=C||p;
var E=function(){};
if(z.extend){E.prototype=new z.extend.$$clazz;
}var D=E.prototype;
var B=z[C];
for(var A in B){D[A]=B[A];
if(D[A].base){D[A].base=z.extend;
}}y.$$clazz=E;
y[C]=new E;
},$$registry:{},__en:[g,d,f,n,c,o,m,b],__p:null,__eo:null,__q:function(){},patch:function(F,G){var I=this.__el(G);

if(I!==this.__el(F)){throw new Error("The mixins '"+F.name+"' are not compatible '"+G.name+"'!");
}var H=G[I];
var J=F.$$clazz.prototype;

for(var K in H){J[K]=H[K];
}},include:function(L,M){var O=M.type;

if(O!==L.type){throw new Error("The mixins '"+L.name+"' are not compatible '"+M.name+"'!");
}var N=M[O];
var P=L.$$clazz.prototype;

for(var Q in N){if(P[Q]!==undefined){continue;
}P[Q]=N[Q];
}}}});
})();
(function(){var p="Boolean",o="focusout",n="interval",m="mouseover",l="mouseout",k="mousemove",j="widget",i="qx.ui.tooltip.ToolTip",h="__eq",g="__es",c="_applyCurrent",f="qx.ui.tooltip.Manager",d="tooltip-error",b="singleton",a="__ep";
qx.Class.define(f,{type:b,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
qx.event.Registration.addListener(document.body,m,this.__ez,this,true);
this.__ep=new qx.event.Timer();
this.__ep.addListener(n,this.__ew,this);
this.__eq=new qx.event.Timer();
this.__eq.addListener(n,this.__ex,this);
this.__er={left:0,top:0};
},properties:{current:{check:i,nullable:true,apply:c},showInvalidToolTips:{check:p,init:true},showToolTips:{check:p,init:true}},members:{__er:null,__eq:null,__ep:null,__es:null,__et:null,__eu:function(){if(!this.__es){this.__es=new qx.ui.tooltip.ToolTip().set({rich:true});
}return this.__es;
},__ev:function(){if(!this.__et){this.__et=new qx.ui.tooltip.ToolTip().set({appearance:d});
this.__et.syncAppearance();
}return this.__et;
},_applyCurrent:function(q,r){if(r&&qx.ui.core.Widget.contains(r,q)){return;
}if(r){if(!r.isDisposed()){r.exclude();
}this.__ep.stop();
this.__eq.stop();
}var t=qx.event.Registration;
var s=document.body;
if(q){this.__ep.startWith(q.getShowTimeout());
t.addListener(s,l,this.__eA,this,true);
t.addListener(s,o,this.__eB,this,true);
t.addListener(s,k,this.__ey,this,true);
}else{t.removeListener(s,l,this.__eA,this,true);
t.removeListener(s,o,this.__eB,this,true);
t.removeListener(s,k,this.__ey,this,true);
}},__ew:function(e){var u=this.getCurrent();

if(u&&!u.isDisposed()){this.__eq.startWith(u.getHideTimeout());

if(u.getPlaceMethod()==j){u.placeToWidget(u.getOpener());
}else{u.placeToPoint(this.__er);
}u.show();
}this.__ep.stop();
},__ex:function(e){var v=this.getCurrent();

if(v&&!v.isDisposed()){v.exclude();
}this.__eq.stop();
this.resetCurrent();
},__ey:function(e){var w=this.__er;
w.left=e.getDocumentLeft();
w.top=e.getDocumentTop();
},__ez:function(e){var z=qx.ui.core.Widget.getWidgetByElement(e.getTarget());

if(!z){return;
}var A,B,y,x;
while(z!=null){A=z.getToolTip();
B=z.getToolTipText()||null;
y=z.getToolTipIcon()||null;

if(qx.Class.hasInterface(z.constructor,qx.ui.form.IForm)&&!z.isValid()){x=z.getInvalidMessage();
}
if(A||B||y||x){break;
}z=z.getLayoutParent();
}if(!z||!z.getEnabled()||z.isBlockToolTip()||(!x&&!this.getShowToolTips())||(x&&!this.getShowInvalidToolTips())){return;
}
if(x){A=this.__ev().set({label:x});
}
if(!A){A=this.__eu().set({label:B,icon:y});
}this.setCurrent(A);
A.setOpener(z);
},__eA:function(e){var C=qx.ui.core.Widget.getWidgetByElement(e.getTarget());

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

if(!D){return;
}var E=this.getCurrent();
if(E&&(D==E||qx.ui.core.Widget.contains(E,D))){return;
}if(D&&C&&qx.ui.core.Widget.contains(C,D)){return;
}if(E&&!D){this.setCurrent(null);
}else{this.resetCurrent();
}},__eB:function(e){var F=qx.ui.core.Widget.getWidgetByElement(e.getTarget());

if(!F){return;
}var G=this.getCurrent();
if(G&&G==F.getToolTip()){this.setCurrent(null);
}}},destruct:function(){qx.event.Registration.removeListener(document.body,m,this.__ez,this,true);
this._disposeObjects(a,h,g);
this.__er=null;
}});
})();
(function(){var a="qx.ui.core.MChildrenHandling";
qx.Mixin.define(a,{members:{getChildren:function(){return this._getChildren();
},hasChildren:function(){return this._hasChildren();
},indexOf:function(b){return this._indexOf(b);
},add:function(c,d){this._add(c,d);
},addAt:function(e,f,g){this._addAt(e,f,g);
},addBefore:function(h,i,j){this._addBefore(h,i,j);
},addAfter:function(k,l,m){this._addAfter(k,l,m);
},remove:function(n){this._remove(n);
},removeAt:function(o){return this._removeAt(o);
},removeAll:function(){return this._removeAll();
}},statics:{remap:function(p){p.getChildren=p._getChildren;
p.hasChildren=p._hasChildren;
p.indexOf=p._indexOf;
p.add=p._add;
p.addAt=p._addAt;
p.addBefore=p._addBefore;
p.addAfter=p._addAfter;
p.remove=p._remove;
p.removeAt=p._removeAt;
p.removeAll=p._removeAll;
}}});
})();
(function(){var a="qx.ui.core.MLayoutHandling";
qx.Mixin.define(a,{members:{setLayout:function(b){return this._setLayout(b);
},getLayout:function(){return this._getLayout();
}},statics:{remap:function(c){c.getLayout=c._getLayout;
c.setLayout=c._setLayout;
}}});
})();
(function(){var b="qx.ui.core.DecoratorFactory",a="$$nopool$$";
qx.Class.define(b,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
this.__cN={};
},statics:{MAX_SIZE:15,__eC:a},members:{__cN:null,getDecoratorElement:function(c){var h=qx.ui.core.DecoratorFactory;

if(qx.lang.Type.isString(c)){var f=c;
var e=qx.theme.manager.Decoration.getInstance().resolve(c);
}else{var f=h.__eC;
e=c;
}var g=this.__cN;

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

if(j==l.__eC){i.dispose();
return;
}var k=this.__cN;

if(!k[j]){k[j]=[];
}
if(k[j].length>l.MAX_SIZE){i.dispose();
}else{i.$$pooled=true;
k[j].push(i);
}},_createDecoratorElement:function(m,n){var o=new qx.html.Decorator(m,n);
return o;
},toString:function(){return qx.core.Object.prototype.toString.call(this);
}},destruct:function(){if(!qx.core.ObjectRegistry.inShutDown){var q=this.__cN;

for(var p in q){qx.util.DisposeUtil.disposeArray(q,p);
}}this.__cN=null;
}});
})();
(function(){var b="qx.util.DeferredCallManager",a="singleton";
qx.Class.define(b,{extend:qx.core.Object,type:a,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(c){if(this.__eG==null){this.__eG=window.setTimeout(this.__eE,0);
}var d=c.toHashCode();
if(this.__eH&&this.__eH[d]){return;
}this.__eD[d]=c;
this.__eF=true;
},cancel:function(e){var f=e.toHashCode();
if(this.__eH&&this.__eH[f]){this.__eH[f]=null;
return;
}delete this.__eD[f];
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 h in this.__eH){var g=this.__eH[h];

if(g){this.__eH[h]=null;
g.call();
}}}this.__eH=null;
})},destruct:function(){if(this.__eG!=null){window.clearTimeout(this.__eG);
}this.__eE=this.__eD=null;
}});
})();
(function(){var a="qx.util.DeferredCall";
qx.Class.define(a,{extend:qx.core.Object,construct:function(b,c){qx.core.Object.call(this);
this.__bE=b;
this.__bF=c||null;
this.__eJ=qx.util.DeferredCallManager.getInstance();
},members:{__bE:null,__bF:null,__eJ:null,cancel:function(){this.__eJ.cancel(this);
},schedule:function(){this.__eJ.schedule(this);
},call:function(){var d;
this.__bF?this.__bE.apply(this.__bF):this.__bE();
}},destruct:function(){this.cancel();
this.__bF=this.__bE=this.__eJ=null;
}});
})();
(function(){var m="element",k="qxSelectable",j="off",h="engine.name",g="on",f="text",d="div",c="",b="mshtml",a="none",F="scroll",E="qx.html.Element",D="|capture|",C="activate",B="blur",A="deactivate",z="capture",w="userSelect",v="-moz-none",u="visible",s="releaseCapture",t="|bubble|",q="tabIndex",r="focus",o="MozUserSelect",p="hidden",n="__fg";
qx.Class.define(E,{extend:qx.core.Object,construct:function(G,H,I){qx.core.Object.call(this);
this.__eK=G||d;
this.__eL=H||null;
this.__eM=I||null;
},statics:{DEBUG:false,_modified:{},_visibility:{},_scroll:{},_actions:[],__eN:{},_scheduleFlush:function(J){qx.html.Element.__fr.schedule();
},flush:function(){var U;
var M=this.__eO();
var L=M.getFocus();

if(L&&this.__eS(L)){M.blur(L);
}var bc=M.getActive();

if(bc&&this.__eS(bc)){qx.bom.Element.deactivate(bc);
}var P=this.__eQ();

if(P&&this.__eS(P)){qx.bom.Element.releaseCapture(P);
}var V=[];
var W=this._modified;

for(var T in W){U=W[T];
if(U.__fk()){if(U.__eT&&qx.dom.Hierarchy.isRendered(U.__eT)){V.push(U);
}else{U.__fj();
}delete W[T];
}}
for(var i=0,l=V.length;i<l;i++){U=V[i];
U.__fj();
}var R=this._visibility;

for(var T in R){U=R[T];
var X=U.__eT;

if(!X){delete R[T];
continue;
}if(!U.$$disposed){X.style.display=U.__eV?c:a;
if((qx.core.Environment.get(h)==b)){if(!(document.documentMode>=8)){X.style.visibility=U.__eV?u:p;
}}}delete R[T];
}var scroll=this._scroll;

for(var T in scroll){U=scroll[T];
var bd=U.__eT;

if(bd&&bd.offsetWidth){var O=true;
if(U.__eY!=null){U.__eT.scrollLeft=U.__eY;
delete U.__eY;
}if(U.__fa!=null){U.__eT.scrollTop=U.__fa;
delete U.__fa;
}var Y=U.__eW;

if(Y!=null){var S=Y.element.getDomElement();

if(S&&S.offsetWidth){qx.bom.element.Scroll.intoViewX(S,bd,Y.align);
delete U.__eW;
}else{O=false;
}}var ba=U.__eX;

if(ba!=null){var S=ba.element.getDomElement();

if(S&&S.offsetWidth){qx.bom.element.Scroll.intoViewY(S,bd,ba.align);
delete U.__eX;
}else{O=false;
}}if(O){delete scroll[T];
}}}var N={"releaseCapture":1,"blur":1,"deactivate":1};
for(var i=0;i<this._actions.length;i++){var bb=this._actions[i];
var X=bb.element.__eT;

if(!X||!N[bb.type]&&!bb.element.__fk()){continue;
}var Q=bb.args;
Q.unshift(X);
qx.bom.Element[bb.type].apply(qx.bom.Element,Q);
}this._actions=[];
for(var T in this.__eN){var K=this.__eN[T];
var bd=K.element.__eT;

if(bd){qx.bom.Selection.set(bd,K.start,K.end);
delete this.__eN[T];
}}qx.event.handler.Appear.refresh();
},__eO:function(){if(!this.__eP){var be=qx.event.Registration.getManager(window);
this.__eP=be.getHandler(qx.event.handler.Focus);
}return this.__eP;
},__eQ:function(){if(!this.__eR){var bf=qx.event.Registration.getManager(window);
this.__eR=bf.getDispatcher(qx.event.dispatch.MouseCapture);
}return this.__eR.getCaptureElement();
},__eS:function(bg){var bh=qx.core.ObjectRegistry.fromHashCode(bg.$$element);
return bh&&!bh.__fk();
}},members:{__eK:null,__eT:null,__cY:false,__eU:true,__eV:true,__eW:null,__eX:null,__eY:null,__fa:null,__fb:null,__fc:null,__fd:null,__eL:null,__eM:null,__fe:null,__ff:null,__fg:null,__fh:null,__fi:null,_scheduleChildrenUpdate:function(){if(this.__fh){return;
}this.__fh=true;
qx.html.Element._modified[this.$$hash]=this;
qx.html.Element._scheduleFlush(m);
},_createDomElement:function(){return qx.bom.Element.create(this.__eK);
},__fj:function(){var length;
var bi=this.__fg;

if(bi){length=bi.length;
var bj;

for(var i=0;i<length;i++){bj=bi[i];

if(bj.__eV&&bj.__eU&&!bj.__eT){bj.__fj();
}}}
if(!this.__eT){this.__eT=this._createDomElement();
this.__eT.$$element=this.$$hash;
this._copyData(false);

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

if(this.__fh){this._syncChildren();
}}delete this.__fh;
},_insertChildren:function(){var bk=this.__fg;
var length=bk.length;
var bm;

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

for(var i=0;i<length;i++){bm=bk[i];

if(bm.__eT&&bm.__eU){bl.appendChild(bm.__eT);
}}this.__eT.appendChild(bl);
}else{var bl=this.__eT;

for(var i=0;i<length;i++){bm=bk[i];

if(bm.__eT&&bm.__eU){bl.appendChild(bm.__eT);
}}}},_syncChildren:function(){var br;
var bw=qx.core.ObjectRegistry;
var bn=this.__fg;
var bu=bn.length;
var bo;
var bs;
var bq=this.__eT;
var bt=bq.childNodes;
var bp=0;
var bv;
for(var i=bt.length-1;i>=0;i--){bv=bt[i];
bs=bw.fromHashCode(bv.$$element);

if(!bs||!bs.__eU||bs.__fi!==this){bq.removeChild(bv);
}}for(var i=0;i<bu;i++){bo=bn[i];
if(bo.__eU){bs=bo.__eT;
bv=bt[bp];

if(!bs){continue;
}if(bs!=bv){if(bv){bq.insertBefore(bs,bv);
}else{bq.appendChild(bs);
}}bp++;
}}},_copyData:function(bx){var bB=this.__eT;
var bA=this.__eM;

if(bA){var by=qx.bom.element.Attribute;

for(var bC in bA){by.set(bB,bC,bA[bC]);
}}var bA=this.__eL;

if(bA){var bz=qx.bom.element.Style;

if(bx){bz.setStyles(bB,bA);
}else{bz.setCss(bB,bz.compile(bA));
}}var bA=this.__fe;

if(bA){for(var bC in bA){this._applyProperty(bC,bA[bC]);
}}var bA=this.__ff;

if(bA){qx.event.Registration.getManager(bB).importListeners(bB,bA);
delete this.__ff;
}},_syncData:function(){var bH=this.__eT;
var bG=qx.bom.element.Attribute;
var bE=qx.bom.element.Style;
var bF=this.__fc;

if(bF){var bK=this.__eM;

if(bK){var bI;

for(var bJ in bF){bI=bK[bJ];

if(bI!==undefined){bG.set(bH,bJ,bI);
}else{bG.reset(bH,bJ);
}}}this.__fc=null;
}var bF=this.__fb;

if(bF){var bK=this.__eL;

if(bK){var bD={};

for(var bJ in bF){bD[bJ]=bK[bJ];
}bE.setStyles(bH,bD);
}this.__fb=null;
}var bF=this.__fd;

if(bF){var bK=this.__fe;

if(bK){var bI;

for(var bJ in bF){this._applyProperty(bJ,bK[bJ]);
}}this.__fd=null;
}},__fk:function(){var bL=this;
while(bL){if(bL.__cY){return true;
}
if(!bL.__eU||!bL.__eV){return false;
}bL=bL.__fi;
}return false;
},__fl:function(bM){if(bM.__fi===this){throw new Error("Child is already in: "+bM);
}
if(bM.__cY){throw new Error("Root elements could not be inserted into other ones.");
}if(bM.__fi){bM.__fi.remove(bM);
}bM.__fi=this;
if(!this.__fg){this.__fg=[];
}if(this.__eT){this._scheduleChildrenUpdate();
}},__fm:function(bN){if(bN.__fi!==this){throw new Error("Has no child: "+bN);
}if(this.__eT){this._scheduleChildrenUpdate();
}delete bN.__fi;
},__fn:function(bO){if(bO.__fi!==this){throw new Error("Has no child: "+bO);
}if(this.__eT){this._scheduleChildrenUpdate();
}},getChildren:function(){return this.__fg||null;
},getChild:function(bP){var bQ=this.__fg;
return bQ&&bQ[bP]||null;
},hasChildren:function(){var bR=this.__fg;
return bR&&bR[0]!==undefined;
},indexOf:function(bS){var bT=this.__fg;
return bT?bT.indexOf(bS):-1;
},hasChild:function(bU){var bV=this.__fg;
return bV&&bV.indexOf(bU)!==-1;
},add:function(bW){if(arguments[1]){for(var i=0,l=arguments.length;i<l;i++){this.__fl(arguments[i]);
}this.__fg.push.apply(this.__fg,arguments);
}else{this.__fl(bW);
this.__fg.push(bW);
}return this;
},addAt:function(bX,bY){this.__fl(bX);
qx.lang.Array.insertAt(this.__fg,bX,bY);
return this;
},remove:function(ca){var cb=this.__fg;

if(!cb){return;
}
if(arguments[1]){var cc;

for(var i=0,l=arguments.length;i<l;i++){cc=arguments[i];
this.__fm(cc);
qx.lang.Array.remove(cb,cc);
}}else{this.__fm(ca);
qx.lang.Array.remove(cb,ca);
}return this;
},removeAt:function(cd){var ce=this.__fg;

if(!ce){throw new Error("Has no children!");
}var cf=ce[cd];

if(!cf){throw new Error("Has no child at this position!");
}this.__fm(cf);
qx.lang.Array.removeAt(this.__fg,cd);
return this;
},removeAll:function(){var cg=this.__fg;

if(cg){for(var i=0,l=cg.length;i<l;i++){this.__fm(cg[i]);
}cg.length=0;
}return this;
},getParent:function(){return this.__fi||null;
},insertInto:function(parent,ch){parent.__fl(this);

if(ch==null){parent.__fg.push(this);
}else{qx.lang.Array.insertAt(this.__fg,this,ch);
}return this;
},insertBefore:function(ci){var parent=ci.__fi;
parent.__fl(this);
qx.lang.Array.insertBefore(parent.__fg,this,ci);
return this;
},insertAfter:function(cj){var parent=cj.__fi;
parent.__fl(this);
qx.lang.Array.insertAfter(parent.__fg,this,cj);
return this;
},moveTo:function(ck){var parent=this.__fi;
parent.__fn(this);
var cl=parent.__fg.indexOf(this);

if(cl===ck){throw new Error("Could not move to same index!");
}else if(cl<ck){ck--;
}qx.lang.Array.removeAt(parent.__fg,cl);
qx.lang.Array.insertAt(parent.__fg,this,ck);
return this;
},moveBefore:function(cm){var parent=this.__fi;
return this.moveTo(parent.__fg.indexOf(cm));
},moveAfter:function(cn){var parent=this.__fi;
return this.moveTo(parent.__fg.indexOf(cn)+1);
},free:function(){var parent=this.__fi;

if(!parent){throw new Error("Has no parent to remove from.");
}
if(!parent.__fg){return;
}parent.__fm(this);
qx.lang.Array.remove(parent.__fg,this);
return this;
},getDomElement:function(){return this.__eT||null;
},getNodeName:function(){return this.__eK;
},setNodeName:function(name){this.__eK=name;
},setRoot:function(co){this.__cY=co;
},useMarkup:function(cp){if(this.__eT){throw new Error("Could not overwrite existing element!");
}if((qx.core.Environment.get(h)==b)){var cq=document.createElement(d);
}else{var cq=qx.bom.Element.getHelperElement();
}cq.innerHTML=cp;
this.useElement(cq.firstChild);
return this.__eT;
},useElement:function(cr){if(this.__eT){throw new Error("Could not overwrite existing element!");
}this.__eT=cr;
this.__eT.$$element=this.$$hash;
this._copyData(true);
},isFocusable:function(){var ct=this.getAttribute(q);

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

if(ct>=0&&cs[this.__eK]){return true;
}return false;
},setSelectable:qx.core.Environment.select(h,{"webkit":function(cu){this.setAttribute(k,cu?g:j);
this.setStyle(w,cu?f:a);
},"gecko":function(cv){this.setAttribute(k,cv?g:j);
this.setStyle(o,cv?f:v);
},"default":function(cw){this.setAttribute(k,cw?g:j);
}}),isNativelyFocusable:function(){return !!qx.event.handler.Focus.FOCUSABLE_ELEMENTS[this.__eK];
},include:function(){if(this.__eU){return;
}delete this.__eU;

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

if(this.__fi){this.__fi._scheduleChildrenUpdate();
}return this;
},isIncluded:function(){return this.__eU===true;
},show:function(){if(this.__eV){return;
}
if(this.__eT){qx.html.Element._visibility[this.$$hash]=this;
qx.html.Element._scheduleFlush(m);
}if(this.__fi){this.__fi._scheduleChildrenUpdate();
}delete this.__eV;
},hide:function(){if(!this.__eV){return;
}
if(this.__eT){qx.html.Element._visibility[this.$$hash]=this;
qx.html.Element._scheduleFlush(m);
}this.__eV=false;
},isVisible:function(){return this.__eV===true;
},scrollChildIntoViewX:function(cx,cy,cz){var cA=this.__eT;
var cB=cx.getDomElement();

if(cz!==false&&cA&&cA.offsetWidth&&cB&&cB.offsetWidth){qx.bom.element.Scroll.intoViewX(cB,cA,cy);
}else{this.__eW={element:cx,align:cy};
qx.html.Element._scroll[this.$$hash]=this;
qx.html.Element._scheduleFlush(m);
}delete this.__eY;
},scrollChildIntoViewY:function(cC,cD,cE){var cF=this.__eT;
var cG=cC.getDomElement();

if(cE!==false&&cF&&cF.offsetWidth&&cG&&cG.offsetWidth){qx.bom.element.Scroll.intoViewY(cG,cF,cD);
}else{this.__eX={element:cC,align:cD};
qx.html.Element._scroll[this.$$hash]=this;
qx.html.Element._scheduleFlush(m);
}delete this.__fa;
},scrollToX:function(x,cH){var cI=this.__eT;

if(cH!==true&&cI&&cI.offsetWidth){cI.scrollLeft=x;
delete this.__eY;
}else{this.__eY=x;
qx.html.Element._scroll[this.$$hash]=this;
qx.html.Element._scheduleFlush(m);
}delete this.__eW;
},getScrollX:function(){var cJ=this.__eT;

if(cJ){return cJ.scrollLeft;
}return this.__eY||0;
},scrollToY:function(y,cK){var cL=this.__eT;

if(cK!==true&&cL&&cL.offsetWidth){cL.scrollTop=y;
delete this.__fa;
}else{this.__fa=y;
qx.html.Element._scroll[this.$$hash]=this;
qx.html.Element._scheduleFlush(m);
}delete this.__eX;
},getScrollY:function(){var cM=this.__eT;

if(cM){return cM.scrollTop;
}return this.__fa||0;
},disableScrolling:function(){this.enableScrolling();
this.scrollToX(0);
this.scrollToY(0);
this.addListener(F,this.__fp,this);
},enableScrolling:function(){this.removeListener(F,this.__fp,this);
},__fo:null,__fp:function(e){if(!this.__fo){this.__fo=true;
this.__eT.scrollTop=0;
this.__eT.scrollLeft=0;
delete this.__fo;
}},getTextSelection:function(){var cN=this.__eT;

if(cN){return qx.bom.Selection.get(cN);
}return null;
},getTextSelectionLength:function(){var cO=this.__eT;

if(cO){return qx.bom.Selection.getLength(cO);
}return null;
},getTextSelectionStart:function(){var cP=this.__eT;

if(cP){return qx.bom.Selection.getStart(cP);
}return null;
},getTextSelectionEnd:function(){var cQ=this.__eT;

if(cQ){return qx.bom.Selection.getEnd(cQ);
}return null;
},setTextSelection:function(cR,cS){var cT=this.__eT;

if(cT){qx.bom.Selection.set(cT,cR,cS);
return;
}qx.html.Element.__eN[this.toHashCode()]={element:this,start:cR,end:cS};
qx.html.Element._scheduleFlush(m);
},clearTextSelection:function(){var cU=this.__eT;

if(cU){qx.bom.Selection.clear(cU);
}delete qx.html.Element.__eN[this.toHashCode()];
},__fq:function(cV,cW){var cX=qx.html.Element._actions;
cX.push({type:cV,element:this,args:cW||[]});
qx.html.Element._scheduleFlush(m);
},focus:function(){this.__fq(r);
},blur:function(){this.__fq(B);
},activate:function(){this.__fq(C);
},deactivate:function(){this.__fq(A);
},capture:function(cY){this.__fq(z,[cY!==false]);
},releaseCapture:function(){this.__fq(s);
},setStyle:function(da,dc,dd){if(!this.__eL){this.__eL={};
}
if(this.__eL[da]==dc){return;
}
if(dc==null){delete this.__eL[da];
}else{this.__eL[da]=dc;
}if(this.__eT){if(dd){qx.bom.element.Style.set(this.__eT,da,dc);
return this;
}if(!this.__fb){this.__fb={};
}this.__fb[da]=true;
qx.html.Element._modified[this.$$hash]=this;
qx.html.Element._scheduleFlush(m);
}return this;
},setStyles:function(de,df){var dg=qx.bom.element.Style;

if(!this.__eL){this.__eL={};
}
if(this.__eT){if(!this.__fb){this.__fb={};
}
for(var di in de){var dh=de[di];

if(this.__eL[di]==dh){continue;
}
if(dh==null){delete this.__eL[di];
}else{this.__eL[di]=dh;
}if(df){dg.set(this.__eT,di,dh);
continue;
}this.__fb[di]=true;
}qx.html.Element._modified[this.$$hash]=this;
qx.html.Element._scheduleFlush(m);
}else{for(var di in de){var dh=de[di];

if(this.__eL[di]==dh){continue;
}
if(dh==null){delete this.__eL[di];
}else{this.__eL[di]=dh;
}}}return this;
},removeStyle:function(dj,dk){this.setStyle(dj,null,dk);
},getStyle:function(dl){return this.__eL?this.__eL[dl]:null;
},getAllStyles:function(){return this.__eL||null;
},setAttribute:function(dm,dn,dp){if(!this.__eM){this.__eM={};
}
if(this.__eM[dm]==dn){return;
}
if(dn==null){delete this.__eM[dm];
}else{this.__eM[dm]=dn;
}if(this.__eT){if(dp){qx.bom.element.Attribute.set(this.__eT,dm,dn);
return this;
}if(!this.__fc){this.__fc={};
}this.__fc[dm]=true;
qx.html.Element._modified[this.$$hash]=this;
qx.html.Element._scheduleFlush(m);
}return this;
},setAttributes:function(dq,dr){for(var ds in dq){this.setAttribute(ds,dq[ds],dr);
}return this;
},removeAttribute:function(dt,du){this.setAttribute(dt,null,du);
},getAttribute:function(dv){return this.__eM?this.__eM[dv]:null;
},_applyProperty:function(name,dw){},_setProperty:function(dx,dy,dz){if(!this.__fe){this.__fe={};
}
if(this.__fe[dx]==dy){return;
}
if(dy==null){delete this.__fe[dx];
}else{this.__fe[dx]=dy;
}if(this.__eT){if(dz){this._applyProperty(dx,dy);
return this;
}if(!this.__fd){this.__fd={};
}this.__fd[dx]=true;
qx.html.Element._modified[this.$$hash]=this;
qx.html.Element._scheduleFlush(m);
}return this;
},_removeProperty:function(dA,dB){this._setProperty(dA,null,dB);
},_getProperty:function(dC){var dD=this.__fe;

if(!dD){return null;
}var dE=dD[dC];
return dE==null?null:dE;
},addListener:function(dF,dG,self,dH){var dI;

if(this.$$disposed){return null;
}
if(this.__eT){return qx.event.Registration.addListener(this.__eT,dF,dG,self,dH);
}
if(!this.__ff){this.__ff={};
}
if(dH==null){dH=false;
}var dJ=qx.event.Manager.getNextUniqueId();
var dK=dF+(dH?D:t)+dJ;
this.__ff[dK]={type:dF,listener:dG,self:self,capture:dH,unique:dJ};
return dK;
},removeListener:function(dL,dM,self,dN){var dO;

if(this.$$disposed){return null;
}
if(this.__eT){qx.event.Registration.removeListener(this.__eT,dL,dM,self,dN);
}else{var dQ=this.__ff;
var dP;

if(dN==null){dN=false;
}
for(var dR in dQ){dP=dQ[dR];
if(dP.listener===dM&&dP.self===self&&dP.capture===dN&&dP.type===dL){delete dQ[dR];
break;
}}}return this;
},removeListenerById:function(dS){if(this.$$disposed){return null;
}
if(this.__eT){qx.event.Registration.removeListenerById(this.__eT,dS);
}else{delete this.__ff[dS];
}return this;
},hasListener:function(dT,dU){if(this.$$disposed){return false;
}
if(this.__eT){return qx.event.Registration.hasListener(this.__eT,dT,dU);
}var dW=this.__ff;
var dV;

if(dU==null){dU=false;
}
for(var dX in dW){dV=dW[dX];
if(dV.capture===dU&&dV.type===dT){return true;
}}return false;
}},defer:function(dY){dY.__fr=new qx.util.DeferredCall(dY.flush,dY);
},destruct:function(){var ea=this.__eT;

if(ea){qx.event.Registration.getManager(ea).removeAllListeners(ea);
ea.$$element=c;
}
if(!qx.core.ObjectRegistry.inShutDown){var parent=this.__fi;

if(parent&&!parent.$$disposed){parent.remove(this);
}}this._disposeArray(n);
this.__eM=this.__eL=this.__ff=this.__fe=this.__fc=this.__fb=this.__fd=this.__eT=this.__fi=this.__eW=this.__eX=null;
}});
})();
(function(){var e="orientationchange",d="resize",c="landscape",b="portrait",a="qx.event.handler.Orientation";
qx.Class.define(a,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(f){qx.core.Object.call(this);
this.__eJ=f;
this.__cv=f.getWindow();
this._initObserver();
},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{orientationchange:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:true},members:{__eJ:null,__cv:null,__fs:null,__ft:null,__fu:null,canHandleEvent:function(g,h){},registerEvent:function(i,j,k){},unregisterEvent:function(l,m,n){},_initObserver:function(){this.__fu=qx.lang.Function.listener(this._onNative,this);
this.__fs=qx.bom.Event.supportsEvent(this.__cv,e)?e:d;
var Event=qx.bom.Event;
Event.addNativeListener(this.__cv,this.__fs,this.__fu);
},_stopObserver:function(){var Event=qx.bom.Event;
Event.removeNativeListener(this.__cv,this.__fs,this.__fu);
},_onNative:qx.event.GlobalError.observeMethod(function(o){var q=qx.bom.Viewport;
var p=q.getOrientation();

if(this.__ft!=p){this.__ft=p;
var r=q.isLandscape()?c:b;
qx.event.Registration.fireEvent(this.__cv,e,qx.event.type.Orientation,[p,r]);
}})},destruct:function(){this._stopObserver();
this.__eJ=this.__cv=null;
},defer:function(s){qx.event.Registration.addHandler(s);
}});
})();
(function(){var c="landscape",b="qx.event.type.Orientation",a="portrait";
qx.Class.define(b,{extend:qx.event.type.Event,members:{__fv:null,__fw:null,init:function(d,e){qx.event.type.Event.prototype.init.call(this,false,false);
this.__fv=d;
this.__fw=e;
return this;
},clone:function(f){var g=qx.event.type.Event.prototype.clone.call(this,f);
g.__fv=this.__fv;
g.__fw=this.__fw;
return g;
},getOrientation:function(){return this.__fv;
},isLandscape:function(){return this.__fw==c;
},isPortrait:function(){return this.__fw==a;
}}});
})();
(function(){var a="qx.event.handler.UserAction";
qx.Class.define(a,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(b){qx.core.Object.call(this);
this.__eJ=b;
this.__cv=b.getWindow();
},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{useraction:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:true},members:{__eJ:null,__cv:null,canHandleEvent:function(c,d){},registerEvent:function(e,f,g){},unregisterEvent:function(h,i,j){}},destruct:function(){this.__eJ=this.__cv=null;
},defer:function(k){qx.event.Registration.addHandler(k);
}});
})();
(function(){var t="qx.mobile.emulatetouch",s="touchend",r="touchstart",q="touchmove",p="event.touch",o="mousemove",n="engine.name",m="touchcancel",l="mouseup",k="mousedown",d="mshtml",j="qx.event.handler.Touch",h="useraction",c="swipe",b="qx.mobile.nativescroll",g="webkit",f="tap",i="x",a="y";
qx.Class.define(j,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(u){qx.core.Object.call(this);
this.__eJ=u;
this.__cv=u.getWindow();
this.__cY=this.__cv.document;
this._initTouchObserver();
this._initMouseObserver();
},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{touchstart:1,touchmove:1,touchend:1,touchcancel:1,tap:1,swipe:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE+qx.event.IEventHandler.TARGET_DOCUMENT,IGNORE_CAN_HANDLE:true,MOUSE_TO_TOUCH_MAPPING:{"mousedown":"touchstart","mousemove":"touchmove","mouseup":"touchend"},SWIPE_DIRECTION:{x:["left","right"],y:["up","down"]},TAP_MAX_DISTANCE:qx.core.Environment.get("os.name")!="android"?10:40,SWIPE_MIN_DISTANCE:qx.core.Environment.get("os.name")!="android"?11:41,SWIPE_MIN_VELOCITY:0},members:{__fx:null,__fy:null,__eJ:null,__cv:null,__cY:null,__fz:null,__fA:null,__fB:null,__fC:null,__fD:false,__fE:null,canHandleEvent:function(v,w){},registerEvent:function(x,y,z){},unregisterEvent:function(A,B,C){},__fF:function(D){var E=qx.bom.Event.getTarget(D);
if((qx.core.Environment.get(n)==g)){if(E&&E.nodeType==3){E=E.parentNode;
}}return E;
},__fG:function(F,G,H,I){if(!H){H=this.__fF(F);
}var G=G||F.type;

if(H&&H.nodeType){qx.event.Registration.fireEvent(H,G,I||qx.event.type.Touch,[F,H,null,true,true]);
}qx.event.Registration.fireEvent(this.__cv,h,qx.event.type.Data,[G]);
},__fH:function(J,K,L){if(!L){L=this.__fF(J);
}var K=K||J.type;

if(K==r){this.__fI(J,L);
}else if(K==q){this.__fJ(J,L);
}else if(K==s){this.__fK(J,L);
}},__fI:function(M,N){var O=M.changedTouches[0];
this.__fz=O.screenX;
this.__fA=O.screenY;
this.__fB=new Date().getTime();
this.__fC=M.changedTouches.length===1;
},__fJ:function(P,Q){if(this.__fC&&P.changedTouches.length>1){this.__fC=false;
}},__fK:function(R,S){if(this.__fC){var T=R.changedTouches[0];
var V={x:T.screenX-this.__fz,y:T.screenY-this.__fA};
var W=qx.event.handler.Touch;

if(this.__fE==S&&Math.abs(V.x)<=W.TAP_MAX_DISTANCE&&Math.abs(V.y)<=W.TAP_MAX_DISTANCE){this.__fG(R,f,S,qx.event.type.Tap);
}else{var U=this.__fL(R,S,V);

if(U){R.swipe=U;
this.__fG(R,c,S,qx.event.type.Swipe);
}}}},__fL:function(X,Y,ba){var be=qx.event.handler.Touch;
var bf=new Date().getTime()-this.__fB;
var bh=(Math.abs(ba.x)>=Math.abs(ba.y))?i:a;
var bb=ba[bh];
var bc=be.SWIPE_DIRECTION[bh][bb<0?0:1];
var bg=(bf!==0)?bb/bf:0;
var bd=null;

if(Math.abs(bg)>=be.SWIPE_MIN_VELOCITY&&Math.abs(bb)>=be.SWIPE_MIN_DISTANCE){bd={startTime:this.__fB,duration:bf,axis:bh,direction:bc,distance:bb,velocity:bg};
}return bd;
},__fM:qx.core.Environment.select(t,{"true":function(bi){var bj=bi.type;
var bl=qx.event.handler.Touch.MOUSE_TO_TOUCH_MAPPING;

if(bl[bj]){bj=bl[bj];
if(bj==r&&this.__fN(bi)){this.__fD=true;
}else if(bj==s){this.__fD=false;
}var bm=this.__fO(bi);
var bk=(bj==s?[]:[bm]);
bi.touches=bk;
bi.targetTouches=bk;
bi.changedTouches=[bm];
}return bj;
},"default":qx.lang.Function.empty}),__fN:qx.core.Environment.select(t,{"true":function(bn){if((qx.core.Environment.get(n)==d)){var bo=1;
}else{var bo=0;
}return bn.button==bo;
},"default":qx.lang.Function.empty}),__fO:qx.core.Environment.select(t,{"true":function(bp){var bq=this.__fF(bp);
return {clientX:bp.clientX,clientY:bp.clientY,screenX:bp.screenX,screenY:bp.screenY,pageX:bp.pageX,pageY:bp.pageY,identifier:1,target:bq};
},"default":qx.lang.Function.empty}),_initTouchObserver:function(){this.__fx=qx.lang.Function.listener(this._onTouchEvent,this);
var Event=qx.bom.Event;
Event.addNativeListener(this.__cY,r,this.__fx);
Event.addNativeListener(this.__cY,q,this.__fx);
Event.addNativeListener(this.__cY,s,this.__fx);
Event.addNativeListener(this.__cY,m,this.__fx);
},_initMouseObserver:qx.core.Environment.select(t,{"true":function(){if(!qx.core.Environment.get(p)){this.__fy=qx.lang.Function.listener(this._onMouseEvent,this);
var Event=qx.bom.Event;
Event.addNativeListener(this.__cY,k,this.__fy);
Event.addNativeListener(this.__cY,o,this.__fy);
Event.addNativeListener(this.__cY,l,this.__fy);
}},"default":qx.lang.Function.empty}),_stopTouchObserver:function(){var Event=qx.bom.Event;
Event.removeNativeListener(this.__cY,r,this.__fx);
Event.removeNativeListener(this.__cY,q,this.__fx);
Event.removeNativeListener(this.__cY,s,this.__fx);
Event.removeNativeListener(this.__cY,m,this.__fx);
},_stopMouseObserver:qx.core.Environment.select(t,{"true":function(){if(!qx.core.Environment.get(p)){var Event=qx.bom.Event;
Event.removeNativeListener(this.__cY,k,this.__fy);
Event.removeNativeListener(this.__cY,o,this.__fy);
Event.removeNativeListener(this.__cY,l,this.__fy);
}},"default":qx.lang.Function.empty}),_onTouchEvent:qx.event.GlobalError.observeMethod(function(br){this._commonTouchEventHandler(br);
}),_onMouseEvent:qx.core.Environment.select(t,{"true":qx.event.GlobalError.observeMethod(function(bs){if(!qx.core.Environment.get(p)){if(bs.type==o&&!this.__fD){return;
}var bt=this.__fM(bs);
this._commonTouchEventHandler(bs,bt);
}}),"default":qx.lang.Function.empty}),_commonTouchEventHandler:function(bu,bv){var bv=bv||bu.type;

if(bv==r){this.__fE=this.__fF(bu);
}this.__fG(bu,bv);
this.__fH(bu,bv);
}},destruct:function(){this._stopTouchObserver();
this._stopMouseObserver();
this.__eJ=this.__cv=this.__cY=this.__fE=null;
},defer:function(bw){qx.event.Registration.addHandler(bw);
if(qx.core.Environment.get(p)){if(qx.core.Environment.get(b)==false){document.addEventListener(q,function(e){e.preventDefault();
});
}qx.event.Registration.getManager(document).getHandler(bw);
}}});
})();
(function(){var c="os.name",b="qx.event.type.Dom",a="osx";
qx.Class.define(b,{extend:qx.event.type.Native,statics:{SHIFT_MASK:1,CTRL_MASK:2,ALT_MASK:4,META_MASK:8},members:{_cloneNativeEvent:function(d,e){var e=qx.event.type.Native.prototype._cloneNativeEvent.call(this,d,e);
e.shiftKey=d.shiftKey;
e.ctrlKey=d.ctrlKey;
e.altKey=d.altKey;
e.metaKey=d.metaKey;
return e;
},getModifiers:function(){var g=0;
var f=this._native;

if(f.shiftKey){g|=qx.event.type.Dom.SHIFT_MASK;
}
if(f.ctrlKey){g|=qx.event.type.Dom.CTRL_MASK;
}
if(f.altKey){g|=qx.event.type.Dom.ALT_MASK;
}
if(f.metaKey){g|=qx.event.type.Dom.META_MASK;
}return g;
},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.core.Environment.get(c)==a){return this._native.metaKey;
}else{return this._native.ctrlKey;
}}}});
})();
(function(){var c="touchcancel",b="qx.event.type.Touch",a="touchend";
qx.Class.define(b,{extend:qx.event.type.Dom,members:{_cloneNativeEvent:function(d,e){var e=qx.event.type.Dom.prototype._cloneNativeEvent.call(this,d,e);
e.pageX=d.pageX;
e.pageY=d.pageY;
e.layerX=d.layerX;
e.layerY=d.layerY;
e.scale=d.scale;
e.rotation=d.rotation;
e.srcElement=d.srcElement;
e.targetTouches=[];

for(var i=0;i<d.targetTouches.length;i++){e.targetTouches[i]=d.targetTouches[i];
}e.changedTouches=[];

for(var i=0;i<d.changedTouches.length;i++){e.changedTouches[i]=d.changedTouches[i];
}e.touches=[];

for(var i=0;i<d.touches.length;i++){e.touches[i]=d.touches[i];
}return e;
},stop:function(){this.stopPropagation();
},getAllTouches:function(){return this._native.touches;
},getTargetTouches:function(){return this._native.targetTouches;
},getChangedTargetTouches:function(){return this._native.changedTouches;
},isMultiTouch:function(){return this.__fQ().length>1;
},getScale:function(){return this._native.scale;
},getRotation:function(){return this._native.rotation;
},getDocumentLeft:function(f){return this.__fP(f).pageX;
},getDocumentTop:function(g){return this.__fP(g).pageY;
},getScreenLeft:function(h){return this.__fP(h).screenX;
},getScreenTop:function(j){return this.__fP(j).screenY;
},getViewportLeft:function(k){return this.__fP(k).clientX;
},getViewportTop:function(l){return this.__fP(l).clientY;
},getIdentifier:function(m){return this.__fP(m).identifier;
},__fP:function(n){n=n==null?0:n;
return this.__fQ()[n];
},__fQ:function(){var o=(this._isTouchEnd()?this.getChangedTargetTouches():this.getTargetTouches());
return o;
},_isTouchEnd:function(){return (this.getType()==a||this.getType()==c);
}}});
})();
(function(){var a="qx.event.type.Tap";
qx.Class.define(a,{extend:qx.event.type.Touch,members:{_isTouchEnd:function(){return true;
}}});
})();
(function(){var a="qx.event.type.Swipe";
qx.Class.define(a,{extend:qx.event.type.Touch,members:{_cloneNativeEvent:function(b,c){var c=qx.event.type.Touch.prototype._cloneNativeEvent.call(this,b,c);
c.swipe=b.swipe;
return c;
},_isTouchEnd:function(){return true;
},getStartTime:function(){return this._native.swipe.startTime;
},getDuration:function(){return this._native.swipe.duration;
},getAxis:function(){return this._native.swipe.axis;
},getDirection:function(){return this._native.swipe.direction;
},getVelocity:function(){return this._native.swipe.velocity;
},getDistance:function(){return this._native.swipe.distance;
}}});
})();
(function(){var c="qx.event.handler.Appear",b="disappear",a="appear";
qx.Class.define(c,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(d){qx.core.Object.call(this);
this.__eJ=d;
this.__fR={};
qx.event.handler.Appear.__fS[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,__fS:{},refresh:function(){var e=this.__fS;

for(var f in e){e[f].refresh();
}}},members:{__eJ:null,__fR:null,canHandleEvent:function(g,h){},registerEvent:function(i,j,k){var l=qx.core.ObjectRegistry.toHashCode(i)+j;
var m=this.__fR;

if(m&&!m[l]){m[l]=i;
i.$$displayed=i.offsetWidth>0;
}},unregisterEvent:function(n,o,p){var q=qx.core.ObjectRegistry.toHashCode(n)+o;
var r=this.__fR;

if(!r){return;
}
if(r[q]){delete r[q];
}},refresh:function(){var v=this.__fR;
var w;

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

if((!!w.$$displayed)!==s){w.$$displayed=s;
var t=qx.event.Registration.createEvent(s?a:b);
this.__eJ.dispatchEvent(w,t);
}}}},destruct:function(){this.__eJ=this.__fR=null;
delete qx.event.handler.Appear.__fS[this.$$hash];
},defer:function(x){qx.event.Registration.addHandler(x);
}});
})();
(function(){var b="abstract",a="qx.event.dispatch.AbstractBubbling";
qx.Class.define(a,{extend:qx.core.Object,implement:qx.event.IEventDispatcher,type:b,construct:function(c){this._manager=c;
},members:{_getParent:function(d){throw new Error("Missing implementation");
},canDispatchEvent:function(e,event,f){return event.getBubbles();
},dispatchEvent:function(g,event,h){var parent=g;
var s=this._manager;
var p,w;
var n;
var r,u;
var t;
var v=[];
p=s.getListeners(g,h,true);
w=s.getListeners(g,h,false);

if(p){v.push(p);
}
if(w){v.push(w);
}var parent=this._getParent(g);
var l=[];
var k=[];
var m=[];
var q=[];
while(parent!=null){p=s.getListeners(parent,h,true);

if(p){m.push(p);
q.push(parent);
}w=s.getListeners(parent,h,false);

if(w){l.push(w);
k.push(parent);
}parent=this._getParent(parent);
}event.setEventPhase(qx.event.type.Event.CAPTURING_PHASE);

for(var i=m.length-1;i>=0;i--){t=q[i];
event.setCurrentTarget(t);
n=m[i];

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

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

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

for(var i=0,x=l.length;i<x;i++){t=k[i];
event.setCurrentTarget(t);
n=l[i];

for(var j=0,o=n.length;j<o;j++){r=n[j];
u=r.context||t;
r.handler.call(u,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 d="-",c="qx.event.handler.Element",b="load",a="iframe";
qx.Class.define(c,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(e){qx.core.Object.call(this);
this._manager=e;
this._registeredEvents={};
},statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{abort:true,load:true,scroll:true,select:true,reset:true,submit:true},CANCELABLE:{selectstart:true},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:false},members:{canHandleEvent:function(f,g){if(g===b){return f.tagName.toLowerCase()!==a;
}else{return true;
}},registerEvent:function(h,i,j){var m=qx.core.ObjectRegistry.toHashCode(h);
var k=m+d+i;
var l=qx.lang.Function.listener(this._onNative,this,k);
qx.bom.Event.addNativeListener(h,i,l);
this._registeredEvents[k]={element:h,type:i,listener:l};
},unregisterEvent:function(n,o,p){var s=this._registeredEvents;

if(!s){return;
}var t=qx.core.ObjectRegistry.toHashCode(n);
var q=t+d+o;
var r=this._registeredEvents[q];

if(r){qx.bom.Event.removeNativeListener(n,o,r.listener);
}delete this._registeredEvents[q];
},_onNative:qx.event.GlobalError.observeMethod(function(u,v){var x=this._registeredEvents;

if(!x){return;
}var w=x[v];
var y=this.constructor.CANCELABLE[w.type];
qx.event.Registration.fireNonBubblingEvent(w.element,w.type,qx.event.type.Native,[u,undefined,undefined,undefined,y]);
})},destruct:function(){var z;
var A=this._registeredEvents;

for(var B in A){z=A[B];
qx.bom.Event.removeNativeListener(z.element,z.type,z.listener);
}this._manager=this._registeredEvents=null;
},defer:function(C){qx.event.Registration.addHandler(C);
}});
})();
(function(){var a="qx.event.handler.Capture";
qx.Class.define(a,{extend:qx.core.Object,implement:qx.event.IEventHandler,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{capture:true,losecapture:true},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:true},members:{canHandleEvent:function(b,c){},registerEvent:function(d,e,f){},unregisterEvent:function(g,h,i){}},defer:function(j){qx.event.Registration.addHandler(j);
}});
})();
(function(){var t="mouseup",s="engine.name",r="click",q="mousedown",p="contextmenu",o="mousewheel",n="dblclick",m="os.name",l="mouseover",k="mouseout",d="ios",j="mousemove",g="on",c="engine.version",b="useraction",f="webkit",e="gecko",h="DOMMouseScroll",a="qx.event.handler.Mouse";
qx.Class.define(a,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(u){qx.core.Object.call(this);
this.__eJ=u;
this.__cv=u.getWindow();
this.__cY=this.__cv.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+qx.event.IEventHandler.TARGET_DOCUMENT+qx.event.IEventHandler.TARGET_WINDOW,IGNORE_CAN_HANDLE:true},members:{__fT:null,__fU:null,__fV:null,__fW:null,__fX:null,__eJ:null,__cv:null,__cY:null,canHandleEvent:function(v,w){},registerEvent:qx.core.Environment.get(m)===d?function(x,y,z){x[g+y]=qx.lang.Function.returnNull;
}:qx.lang.Function.returnNull,unregisterEvent:qx.core.Environment.get(m)===d?function(A,B,C){A[g+B]=undefined;
}:qx.lang.Function.returnNull,__fG:function(D,E,F){if(!F){F=qx.bom.Event.getTarget(D);
}if(F&&F.nodeType){qx.event.Registration.fireEvent(F,E||D.type,E==o?qx.event.type.MouseWheel:qx.event.type.Mouse,[D,F,null,true,true]);
}qx.event.Registration.fireEvent(this.__cv,b,qx.event.type.Data,[E||D.type]);
},__fY:function(){var H=[this.__cv,this.__cY,this.__cY.body];
var I=this.__cv;
var G=h;

for(var i=0;i<H.length;i++){if(qx.bom.Event.supportsEvent(H[i],o)){G=o;
I=H[i];
break;
}}return {type:G,target:I};
},_initButtonObserver:function(){this.__fT=qx.lang.Function.listener(this._onButtonEvent,this);
var Event=qx.bom.Event;
Event.addNativeListener(this.__cY,q,this.__fT);
Event.addNativeListener(this.__cY,t,this.__fT);
Event.addNativeListener(this.__cY,r,this.__fT);
Event.addNativeListener(this.__cY,n,this.__fT);
Event.addNativeListener(this.__cY,p,this.__fT);
},_initMoveObserver:function(){this.__fU=qx.lang.Function.listener(this._onMoveEvent,this);
var Event=qx.bom.Event;
Event.addNativeListener(this.__cY,j,this.__fU);
Event.addNativeListener(this.__cY,l,this.__fU);
Event.addNativeListener(this.__cY,k,this.__fU);
},_initWheelObserver:function(){this.__fV=qx.lang.Function.listener(this._onWheelEvent,this);
var J=this.__fY();
qx.bom.Event.addNativeListener(J.target,J.type,this.__fV);
},_stopButtonObserver:function(){var Event=qx.bom.Event;
Event.removeNativeListener(this.__cY,q,this.__fT);
Event.removeNativeListener(this.__cY,t,this.__fT);
Event.removeNativeListener(this.__cY,r,this.__fT);
Event.removeNativeListener(this.__cY,n,this.__fT);
Event.removeNativeListener(this.__cY,p,this.__fT);
},_stopMoveObserver:function(){var Event=qx.bom.Event;
Event.removeNativeListener(this.__cY,j,this.__fU);
Event.removeNativeListener(this.__cY,l,this.__fU);
Event.removeNativeListener(this.__cY,k,this.__fU);
},_stopWheelObserver:function(){var K=this.__fY();
qx.bom.Event.removeNativeListener(K.target,K.type,this.__fV);
},_onMoveEvent:qx.event.GlobalError.observeMethod(function(L){this.__fG(L);
}),_onButtonEvent:qx.event.GlobalError.observeMethod(function(M){var N=M.type;
var O=qx.bom.Event.getTarget(M);
if(qx.core.Environment.get(s)==e||qx.core.Environment.get(s)==f){if(O&&O.nodeType==3){O=O.parentNode;
}}
if(this.__ga){this.__ga(M,N,O);
}
if(this.__gc){this.__gc(M,N,O);
}this.__fG(M,N,O);

if(this.__gb){this.__gb(M,N,O);
}
if(this.__gd){this.__gd(M,N,O);
}this.__fW=N;
}),_onWheelEvent:qx.event.GlobalError.observeMethod(function(P){this.__fG(P,o);
}),__ga:qx.core.Environment.select(s,{"webkit":function(Q,R,S){if(parseFloat(qx.core.Environment.get(c))<530){if(R==p){this.__fG(Q,t,S);
}}},"default":null}),__gb:qx.core.Environment.select(s,{"opera":function(T,U,V){if(U==t&&T.button==2){this.__fG(T,p,V);
}},"default":null}),__gc:qx.core.Environment.select(s,{"mshtml":function(W,X,Y){if(W.target!==undefined){return;
}
if(X==t&&this.__fW==r){this.__fG(W,q,Y);
}else if(X==n){this.__fG(W,r,Y);
}},"default":null}),__gd:qx.core.Environment.select(s,{"mshtml":null,"default":function(ba,bb,bc){switch(bb){case q:this.__fX=bc;
break;
case t:if(bc!==this.__fX){var bd=qx.dom.Hierarchy.getCommonParent(bc,this.__fX);
this.__fG(ba,r,bd);
}}}})},destruct:function(){this._stopButtonObserver();
this._stopMoveObserver();
this._stopWheelObserver();
this.__eJ=this.__cv=this.__cY=this.__fX=null;
},defer:function(be){qx.event.Registration.addHandler(be);
}});
})();
(function(){var j="left",i="right",h="middle",g="none",f="click",e="contextmenu",d="qx.event.type.Mouse",c="browser.documentmode",b="browser.name",a="ie";
qx.Class.define(d,{extend:qx.event.type.Dom,members:{_cloneNativeEvent:function(k,l){var l=qx.event.type.Dom.prototype._cloneNativeEvent.call(this,k,l);
l.button=k.button;
l.clientX=k.clientX;
l.clientY=k.clientY;
l.pageX=k.pageX;
l.pageY=k.pageY;
l.screenX=k.screenX;
l.screenY=k.screenY;
l.wheelDelta=k.wheelDelta;
l.wheelDeltaX=k.wheelDeltaX;
l.wheelDeltaY=k.wheelDeltaY;
l.detail=k.detail;
l.axis=k.axis;
l.wheelX=k.wheelX;
l.wheelY=k.wheelY;
l.HORIZONTAL_AXIS=k.HORIZONTAL_AXIS;
l.srcElement=k.srcElement;
l.target=k.target;
return l;
},__ge:{0:j,2:i,1:h},__gf:{1:j,2:i,4:h},stop:function(){this.stopPropagation();
},getButton:function(){switch(this._type){case e:return i;
case f:if(qx.core.Environment.get(b)===a&&qx.core.Environment.get(c)<9){return j;
}default:if(this._native.target!==undefined){return this.__ge[this._native.button]||g;
}else{return this.__gf[this._native.button]||g;
}}},isLeftPressed:function(){return this.getButton()===j;
},isMiddlePressed:function(){return this.getButton()===h;
},isRightPressed:function(){return this.getButton()===i;
},getRelatedTarget:function(){return this._relatedTarget;
},getViewportLeft:function(){return this._native.clientX;
},getViewportTop:function(){return this._native.clientY;
},getDocumentLeft:function(){if(this._native.pageX!==undefined){return this._native.pageX;
}else{var m=qx.dom.Node.getWindow(this._native.srcElement);
return this._native.clientX+qx.bom.Viewport.getScrollLeft(m);
}},getDocumentTop:function(){if(this._native.pageY!==undefined){return this._native.pageY;
}else{var n=qx.dom.Node.getWindow(this._native.srcElement);
return this._native.clientY+qx.bom.Viewport.getScrollTop(n);
}},getScreenLeft:function(){return this._native.screenX;
},getScreenTop:function(){return this._native.screenY;
}}});
})();
(function(){var l="engine.version",k="os.name",j="engine.name",i="x",h="osx",g="win",f="qx.dynamicmousewheel",d="chrome",c="qx.event.type.MouseWheel",b="browser.name",a="y";
qx.Class.define(c,{extend:qx.event.type.Mouse,statics:{MAXSCROLL:null,MINSCROLL:null,FACTOR:1},members:{stop:function(){this.stopPropagation();
this.preventDefault();
},__gg:function(m){var n=Math.abs(m);
if(qx.event.type.MouseWheel.MINSCROLL==null||qx.event.type.MouseWheel.MINSCROLL>n){qx.event.type.MouseWheel.MINSCROLL=n;
this.__gh();
}if(qx.event.type.MouseWheel.MAXSCROLL==null||qx.event.type.MouseWheel.MAXSCROLL<n){qx.event.type.MouseWheel.MAXSCROLL=n;
this.__gh();
}if(qx.event.type.MouseWheel.MAXSCROLL===n&&qx.event.type.MouseWheel.MINSCROLL===n){return 2*(m/n);
}var o=qx.event.type.MouseWheel.MAXSCROLL-qx.event.type.MouseWheel.MINSCROLL;
var p=(m/o)*Math.log(o)*qx.event.type.MouseWheel.FACTOR;
return p<0?Math.min(p,-1):Math.max(p,1);
},__gh:function(){var q=qx.event.type.MouseWheel.MAXSCROLL||0;
var t=qx.event.type.MouseWheel.MINSCROLL||q;

if(q<=t){return;
}var r=q-t;
var s=(q/r)*Math.log(r);

if(s==0){s=1;
}qx.event.type.MouseWheel.FACTOR=6/s;
},getWheelDelta:function(u){var e=this._native;
if(u===undefined){if(v===undefined){var v=-e.wheelDelta;

if(e.wheelDelta===undefined){v=e.detail;
}}return this.__gi(v);
}if(u===i){var x=0;

if(e.wheelDelta!==undefined){if(e.wheelDeltaX!==undefined){x=e.wheelDeltaX?this.__gi(-e.wheelDeltaX):0;
}}else{if(e.axis&&e.axis==e.HORIZONTAL_AXIS){x=this.__gi(e.detail);
}}return x;
}if(u===a){var y=0;

if(e.wheelDelta!==undefined){if(e.wheelDeltaY!==undefined){y=e.wheelDeltaY?this.__gi(-e.wheelDeltaY):0;
}else{y=this.__gi(-e.wheelDelta);
}}else{if(!(e.axis&&e.axis==e.HORIZONTAL_AXIS)){y=this.__gi(e.detail);
}}return y;
}return 0;
},__gi:function(w){if(qx.core.Environment.get(f)){return this.__gg(w);
}else{var z=qx.core.Environment.select(j,{"default":function(){return w/40;
},"gecko":function(){return w;
},"webkit":function(){if(qx.core.Environment.get(b)==d){if(qx.core.Environment.get(k)==h){return w/60;
}else{return w/120;
}}else{if(qx.core.Environment.get(k)==g){var A=120;
if(parseFloat(qx.core.Environment.get(l))==533.16){A=1200;
}}else{A=40;
if(parseFloat(qx.core.Environment.get(l))==533.16||parseFloat(qx.core.Environment.get(l))==533.17||parseFloat(qx.core.Environment.get(l))==533.18){A=1200;
}}return w/A;
}}});
return z.call(this);
}}}});
})();
(function(){var f="engine.name",e="qx.dom.Hierarchy",d="previousSibling",c="*",b="nextSibling",a="parentNode";
qx.Class.define(e,{statics:{getNodeIndex:function(g){var h=0;

while(g&&(g=g.previousSibling)){h++;
}return h;
},getElementIndex:function(i){var j=0;
var k=qx.dom.Node.ELEMENT;

while(i&&(i=i.previousSibling)){if(i.nodeType==k){j++;
}}return j;
},getNextElementSibling:function(l){while(l&&(l=l.nextSibling)&&!qx.dom.Node.isElement(l)){continue;
}return l||null;
},getPreviousElementSibling:function(m){while(m&&(m=m.previousSibling)&&!qx.dom.Node.isElement(m)){continue;
}return m||null;
},contains:qx.core.Environment.select(f,{"webkit|mshtml|opera":function(n,o){if(qx.dom.Node.isDocument(n)){var p=qx.dom.Node.getDocument(o);
return n&&p==n;
}else if(qx.dom.Node.isDocument(o)){return false;
}else{return n.contains(o);
}},"gecko":function(q,r){return !!(q.compareDocumentPosition(r)&16);
},"default":function(s,t){while(t){if(s==t){return true;
}t=t.parentNode;
}return false;
}}),isRendered:qx.core.Environment.select(f,{"mshtml":function(u){if(!u.parentNode||!u.offsetParent){return false;
}var v=u.ownerDocument||u.document;
return v.body.contains(u);
},"gecko":function(w){var x=w.ownerDocument||w.document;
return !!(x.compareDocumentPosition(w)&16);
},"default":function(y){if(!y.parentNode||!y.offsetParent){return false;
}var z=y.ownerDocument||y.document;
return z.body.contains(y);
}}),isDescendantOf:function(A,B){return this.contains(B,A);
},getCommonParent:qx.core.Environment.select(f,{"mshtml|opera":function(C,D){if(C===D){return C;
}
while(C&&qx.dom.Node.isElement(C)){if(C.contains(D)){return C;
}C=C.parentNode;
}return null;
},"default":function(E,F){if(E===F){return E;
}var G={};
var J=qx.core.ObjectRegistry;
var I,H;

while(E||F){if(E){I=J.toHashCode(E);

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

if(G[H]){return G[H];
}G[H]=F;
F=F.parentNode;
}}return null;
}}),getAncestors:function(K){return this._recursivelyCollect(K,a);
},getChildElements:function(L){L=L.firstChild;

if(!L){return [];
}var M=this.getNextSiblings(L);

if(L.nodeType===1){M.unshift(L);
}return M;
},getDescendants:function(N){return qx.lang.Array.fromCollection(N.getElementsByTagName(c));
},getFirstDescendant:function(O){O=O.firstChild;

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

while(P&&P.nodeType!=1){P=P.previousSibling;
}return P;
},getPreviousSiblings:function(Q){return this._recursivelyCollect(Q,d);
},getNextSiblings:function(R){return this._recursivelyCollect(R,b);
},_recursivelyCollect:function(S,T){var U=[];

while(S=S[T]){if(S.nodeType==1){U.push(S);
}}return U;
},getSiblings:function(V){return this.getPreviousSiblings(V).reverse().concat(this.getNextSiblings(V));
},isEmpty:function(W){W=W.firstChild;

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

while(Y){var ba=Y.nextSibling;

if(Y.nodeType==3&&!/\S/.test(Y.nodeValue)){X.removeChild(Y);
}Y=ba;
}}}});
})();
(function(){var m="keydown",l="engine.name",k="keypress",j="NumLock",i="keyup",h="os.name",g="Enter",f="0",e="engine.version",d="9",bx="-",bw="+",bv="PrintScreen",bu="PageUp",bt="gecko",bs="A",br="Space",bq="Left",bp="F5",bo="Down",t="Up",u="F11",r="F6",s="useraction",p="F3",q="keyinput",n="Insert",o="F8",B="End",C="/",Q="Delete",M="*",Y="F1",T="F4",bk="Home",be="F2",H="F12",bn="PageDown",bm="mshtml",bl="F7",F="Win",J="osx",L="F9",O="webkit",R="cmd",U="F10",bb="Right",bg="Z",v="text",w="Escape",I="5",X="3",W="Meta",V="7",bd="Scroll",bc="CapsLock",S="input",ba="Control",a="Tab",bf="Shift",x="Pause",y="Unidentified",N="qx.event.handler.Keyboard",b="1",c="win",E="Apps",z="6",A="off",D="4",P="Alt",bi="2",bh="8",K="Backspace",bj="autoComplete",G=",";
qx.Class.define(N,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(by){qx.core.Object.call(this);
this.__eJ=by;
this.__cv=by.getWindow();
if((qx.core.Environment.get(l)==bt)){this.__cY=this.__cv;
}else{this.__cY=this.__cv.document.documentElement;
}this.__gj={};
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(bz){if(this._identifierToKeyCodeMap[bz]){return true;
}
if(bz.length!=1){return false;
}
if(bz>=f&&bz<=d){return true;
}
if(bz>=bs&&bz<=bg){return true;
}
switch(bz){case bw:case bx:case M:case C:return true;
default:return false;
}},isPrintableKeyIdentifier:function(bA){if(bA===br){return true;
}else{return this._identifierToKeyCodeMap[bA]?false:true;
}}},members:{__gk:null,__eJ:null,__cv:null,__cY:null,__gj:null,__gl:null,__gm:null,__gn:null,canHandleEvent:function(bB,bC){},registerEvent:function(bD,bE,bF){},unregisterEvent:function(bG,bH,bI){},_fireInputEvent:function(bJ,bK){var bL=this.__go();
if(bL&&bL.offsetWidth!=0){var event=qx.event.Registration.createEvent(q,qx.event.type.KeyInput,[bJ,bL,bK]);
this.__eJ.dispatchEvent(bL,event);
}if(this.__cv){qx.event.Registration.fireEvent(this.__cv,s,qx.event.type.Data,[q]);
}},_fireSequenceEvent:function(bM,bN,bO){var bP=this.__go();
var bQ=bM.keyCode;
var event=qx.event.Registration.createEvent(bN,qx.event.type.KeySequence,[bM,bP,bO]);
this.__eJ.dispatchEvent(bP,event);
if(qx.core.Environment.get(l)==bm||qx.core.Environment.get(l)==O){if(bN==m&&event.getDefaultPrevented()){if(!this._isNonPrintableKeyCode(bQ)&&!this._emulateKeyPress[bQ]){this._fireSequenceEvent(bM,k,bO);
}}}if(this.__cv){qx.event.Registration.fireEvent(this.__cv,s,qx.event.type.Data,[bN]);
}},__go:function(){var bR=this.__eJ.getHandler(qx.event.handler.Focus);
var bS=bR.getActive();
if(!bS||bS.offsetWidth==0){bS=bR.getFocus();
}if(!bS||bS.offsetWidth==0){bS=this.__eJ.getWindow().document.body;
}return bS;
},_initKeyObserver:function(){this.__gk=qx.lang.Function.listener(this.__gp,this);
this.__gn=qx.lang.Function.listener(this.__gr,this);
var Event=qx.bom.Event;
Event.addNativeListener(this.__cY,i,this.__gk);
Event.addNativeListener(this.__cY,m,this.__gk);
Event.addNativeListener(this.__cY,k,this.__gn);
},_stopKeyObserver:function(){var Event=qx.bom.Event;
Event.removeNativeListener(this.__cY,i,this.__gk);
Event.removeNativeListener(this.__cY,m,this.__gk);
Event.removeNativeListener(this.__cY,k,this.__gn);

for(var bU in (this.__gm||{})){var bT=this.__gm[bU];
Event.removeNativeListener(bT.target,k,bT.callback);
}delete (this.__gm);
},__gp:qx.event.GlobalError.observeMethod(qx.core.Environment.select(l,{"mshtml":function(bV){bV=window.event||bV;
var bY=bV.keyCode;
var bW=0;
var bX=bV.type;
if(!(this.__gj[bY]==m&&bX==m)){this._idealKeyHandler(bY,bW,bX,bV);
}if(bX==m){if(this._isNonPrintableKeyCode(bY)||this._emulateKeyPress[bY]){this._idealKeyHandler(bY,bW,k,bV);
}}this.__gj[bY]=bX;
},"gecko":function(ca){var ce=this._keyCodeFix[ca.keyCode]||ca.keyCode;
var cc=0;
var cd=ca.type;
if(qx.core.Environment.get(h)==c){var cb=ce?this._keyCodeToIdentifier(ce):this._charCodeToIdentifier(cc);

if(!(this.__gj[cb]==m&&cd==m)){this._idealKeyHandler(ce,cc,cd,ca);
}this.__gj[cb]=cd;
}else{this._idealKeyHandler(ce,cc,cd,ca);
}this.__gq(ca.target,cd,ce);
},"webkit":function(cf){var ci=0;
var cg=0;
var ch=cf.type;
if(parseFloat(qx.core.Environment.get(e))<525.13){if(ch==i||ch==m){ci=this._charCode2KeyCode[cf.charCode]||cf.keyCode;
}else{if(this._charCode2KeyCode[cf.charCode]){ci=this._charCode2KeyCode[cf.charCode];
}else{cg=cf.charCode;
}}this._idealKeyHandler(ci,cg,ch,cf);
}else{ci=cf.keyCode;
this._idealKeyHandler(ci,cg,ch,cf);
if(ch==m){if(this._isNonPrintableKeyCode(ci)||this._emulateKeyPress[ci]){this._idealKeyHandler(ci,cg,k,cf);
}}this.__gj[ci]=ch;
}},"opera":function(cj){this.__gl=cj.keyCode;
this._idealKeyHandler(cj.keyCode,0,cj.type,cj);
}})),__gq:qx.core.Environment.select(l,{"gecko":function(ck,cl,cm){if(cl===m&&(cm==33||cm==34||cm==38||cm==40)&&ck.type==v&&ck.tagName.toLowerCase()===S&&ck.getAttribute(bj)!==A){if(!this.__gm){this.__gm={};
}var co=qx.core.ObjectRegistry.toHashCode(ck);

if(this.__gm[co]){return;
}var self=this;
this.__gm[co]={target:ck,callback:function(cp){qx.bom.Event.stopPropagation(cp);
self.__gr(cp);
}};
var cn=qx.event.GlobalError.observeMethod(this.__gm[co].callback);
qx.bom.Event.addNativeListener(ck,k,cn);
}},"default":null}),__gr:qx.event.GlobalError.observeMethod(qx.core.Environment.select(l,{"mshtml":function(cq){cq=window.event||cq;

if(this._charCode2KeyCode[cq.keyCode]){this._idealKeyHandler(this._charCode2KeyCode[cq.keyCode],0,cq.type,cq);
}else{this._idealKeyHandler(0,cq.keyCode,cq.type,cq);
}},"gecko":function(cr){var cu=this._keyCodeFix[cr.keyCode]||cr.keyCode;
var cs=cr.charCode;
var ct=cr.type;
this._idealKeyHandler(cu,cs,ct,cr);
},"webkit":function(cv){if(parseFloat(qx.core.Environment.get(e))<525.13){var cy=0;
var cw=0;
var cx=cv.type;

if(cx==i||cx==m){cy=this._charCode2KeyCode[cv.charCode]||cv.keyCode;
}else{if(this._charCode2KeyCode[cv.charCode]){cy=this._charCode2KeyCode[cv.charCode];
}else{cw=cv.charCode;
}}this._idealKeyHandler(cy,cw,cx,cv);
}else{if(this._charCode2KeyCode[cv.keyCode]){this._idealKeyHandler(this._charCode2KeyCode[cv.keyCode],0,cv.type,cv);
}else{this._idealKeyHandler(0,cv.keyCode,cv.type,cv);
}}},"opera":function(cz){var cB=cz.keyCode;
var cA=cz.type;
if(cB!=this.__gl){this._idealKeyHandler(0,this.__gl,cA,cz);
}else{if(this._keyCodeToIdentifierMap[cz.keyCode]){this._idealKeyHandler(cz.keyCode,0,cz.type,cz);
}else{this._idealKeyHandler(0,cz.keyCode,cz.type,cz);
}}}})),_idealKeyHandler:function(cC,cD,cE,cF){var cG;
if(cC||(!cC&&!cD)){cG=this._keyCodeToIdentifier(cC);
this._fireSequenceEvent(cF,cE,cG);
}else{cG=this._charCodeToIdentifier(cD);
this._fireSequenceEvent(cF,k,cG);
this._fireInputEvent(cF,cD);
}},_specialCharCodeMap:{8:K,9:a,13:g,27:w,32:br},_emulateKeyPress:qx.core.Environment.select(l,{"mshtml":{8:true,9:true},"webkit":{8:true,9:true,27:true},"default":{}}),_keyCodeToIdentifierMap:{16:bf,17:ba,18:P,20:bc,224:W,37:bq,38:t,39:bb,40:bo,33:bu,34:bn,35:B,36:bk,45:n,46:Q,112:Y,113:be,114:p,115:T,116:bp,117:r,118:bl,119:o,120:L,121:U,122:u,123:H,144:j,44:bv,145:bd,19:x,91:qx.core.Environment.get(h)==J?R:F,92:F,93:qx.core.Environment.get(h)==J?R:E},_numpadToCharCode:{96:f.charCodeAt(0),97:b.charCodeAt(0),98:bi.charCodeAt(0),99:X.charCodeAt(0),100:D.charCodeAt(0),101:I.charCodeAt(0),102:z.charCodeAt(0),103:V.charCodeAt(0),104:bh.charCodeAt(0),105:d.charCodeAt(0),106:M.charCodeAt(0),107:bw.charCodeAt(0),109:bx.charCodeAt(0),110:G.charCodeAt(0),111:C.charCodeAt(0)},_charCodeA:bs.charCodeAt(0),_charCodeZ:bg.charCodeAt(0),_charCode0:f.charCodeAt(0),_charCode9:d.charCodeAt(0),_isNonPrintableKeyCode:function(cH){return this._keyCodeToIdentifierMap[cH]?true:false;
},_isIdentifiableKeyCode:function(cI){if(cI>=this._charCodeA&&cI<=this._charCodeZ){return true;
}if(cI>=this._charCode0&&cI<=this._charCode9){return true;
}if(this._specialCharCodeMap[cI]){return true;
}if(this._numpadToCharCode[cI]){return true;
}if(this._isNonPrintableKeyCode(cI)){return true;
}return false;
},_keyCodeToIdentifier:function(cJ){if(this._isIdentifiableKeyCode(cJ)){var cK=this._numpadToCharCode[cJ];

if(cK){return String.fromCharCode(cK);
}return (this._keyCodeToIdentifierMap[cJ]||this._specialCharCodeMap[cJ]||String.fromCharCode(cJ));
}else{return y;
}},_charCodeToIdentifier:function(cL){return this._specialCharCodeMap[cL]||String.fromCharCode(cL).toUpperCase();
},_identifierToKeyCode:function(cM){return qx.event.handler.Keyboard._identifierToKeyCodeMap[cM]||cM.charCodeAt(0);
}},destruct:function(){this._stopKeyObserver();
this.__gl=this.__eJ=this.__cv=this.__cY=this.__gj=null;
},defer:function(cN,cO){qx.event.Registration.addHandler(cN);
if(!cN._identifierToKeyCodeMap){cN._identifierToKeyCodeMap={};

for(var cP in cO._keyCodeToIdentifierMap){cN._identifierToKeyCodeMap[cO._keyCodeToIdentifierMap[cP]]=parseInt(cP,10);
}
for(var cP in cO._specialCharCodeMap){cN._identifierToKeyCodeMap[cO._specialCharCodeMap[cP]]=parseInt(cP,10);
}}
if((qx.core.Environment.get(l)==bm)){cO._charCode2KeyCode={13:13,27:27};
}else if((qx.core.Environment.get(l)==bt)){cO._keyCodeFix={12:cO._identifierToKeyCode(j)};
}else if((qx.core.Environment.get(l)==O)){if(parseFloat(qx.core.Environment.get(e))<525.13){cO._charCode2KeyCode={63289:cO._identifierToKeyCode(j),63276:cO._identifierToKeyCode(bu),63277:cO._identifierToKeyCode(bn),63275:cO._identifierToKeyCode(B),63273:cO._identifierToKeyCode(bk),63234:cO._identifierToKeyCode(bq),63232:cO._identifierToKeyCode(t),63235:cO._identifierToKeyCode(bb),63233:cO._identifierToKeyCode(bo),63272:cO._identifierToKeyCode(Q),63302:cO._identifierToKeyCode(n),63236:cO._identifierToKeyCode(Y),63237:cO._identifierToKeyCode(be),63238:cO._identifierToKeyCode(p),63239:cO._identifierToKeyCode(T),63240:cO._identifierToKeyCode(bp),63241:cO._identifierToKeyCode(r),63242:cO._identifierToKeyCode(bl),63243:cO._identifierToKeyCode(o),63244:cO._identifierToKeyCode(L),63245:cO._identifierToKeyCode(U),63246:cO._identifierToKeyCode(u),63247:cO._identifierToKeyCode(H),63248:cO._identifierToKeyCode(bv),3:cO._identifierToKeyCode(g),12:cO._identifierToKeyCode(j),13:cO._identifierToKeyCode(g)};
}else{cO._charCode2KeyCode={13:13,27:27};
}}}});
})();
(function(){var a="qx.event.type.KeyInput";
qx.Class.define(a,{extend:qx.event.type.Dom,members:{init:function(b,c,d){qx.event.type.Dom.prototype.init.call(this,b,c,null,true,true);
this._charCode=d;
return this;
},clone:function(e){var f=qx.event.type.Dom.prototype.clone.call(this,e);
f._charCode=this._charCode;
return f;
},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(b,c,d){qx.event.type.Dom.prototype.init.call(this,b,c,null,true,true);
this._keyCode=b.keyCode;
this._identifier=d;
return this;
},clone:function(e){var f=qx.event.type.Dom.prototype.clone.call(this,e);
f._keyCode=this._keyCode;
f._identifier=this._identifier;
return f;
},getKeyIdentifier:function(){return this._identifier;
},getKeyCode:function(){return this._keyCode;
},isPrintable:function(){return qx.event.handler.Keyboard.isPrintableKeyIdentifier(this._identifier);
}}});
})();
(function(){var j="engine.name",i="mousedown",h="mouseup",g="blur",f="focus",e="on",d="selectstart",c="DOMFocusOut",b="focusin",a="focusout",z="DOMFocusIn",y="draggesture",x="qx.event.handler.Focus",w="_applyFocus",v="deactivate",u="textarea",t="_applyActive",s='character',r="input",q="qxSelectable",o="tabIndex",p="off",m="activate",n="mshtml",k="qxKeepFocus",l="qxKeepActive";
qx.Class.define(x,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(A){qx.core.Object.call(this);
this._manager=A;
this._window=A.getWindow();
this._document=this._window.document;
this._root=this._document.documentElement;
this._body=this._document.body;
this._initObserver();
},properties:{active:{apply:t,nullable:true},focus:{apply:w,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.Environment.select("engine.name",{"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:{__gs:null,__gt:null,__gu:null,__gv:null,__gw:null,__gx:null,__gy:null,__gz:null,__gA:null,__gB:null,canHandleEvent:function(B,C){},registerEvent:function(D,E,F){},unregisterEvent:function(G,H,I){},focus:function(J){if((qx.core.Environment.get(j)==n)){window.setTimeout(function(){try{J.focus();
var K=qx.bom.Selection.get(J);

if(K.length==0){var L=J.createTextRange();
L.moveStart(s,J.value.length);
L.collapse();
L.select();
}}catch(M){}},0);
}else{try{J.focus();
}catch(N){}}this.setFocus(J);
this.setActive(J);
},activate:function(O){this.setActive(O);
},blur:function(P){try{P.blur();
}catch(Q){}
if(this.getActive()===P){this.resetActive();
}
if(this.getFocus()===P){this.resetFocus();
}},deactivate:function(R){if(this.getActive()===R){this.resetActive();
}},tryActivate:function(S){var T=this.__gP(S);

if(T){this.setActive(T);
}},__fG:function(U,V,W,X){var ba=qx.event.Registration;
var Y=ba.createEvent(W,qx.event.type.Focus,[U,V,X]);
ba.dispatchEvent(U,Y);
},_windowFocused:true,__gC:function(){if(this._windowFocused){this._windowFocused=false;
this.__fG(this._window,null,g,false);
}},__gD:function(){if(!this._windowFocused){this._windowFocused=true;
this.__fG(this._window,null,f,false);
}},_initObserver:qx.core.Environment.select(j,{"gecko":function(){this.__gs=qx.lang.Function.listener(this.__gJ,this);
this.__gt=qx.lang.Function.listener(this.__gK,this);
this.__gu=qx.lang.Function.listener(this.__gI,this);
this.__gv=qx.lang.Function.listener(this.__gH,this);
this.__gw=qx.lang.Function.listener(this.__gE,this);
qx.bom.Event.addNativeListener(this._document,i,this.__gs,true);
qx.bom.Event.addNativeListener(this._document,h,this.__gt,true);
qx.bom.Event.addNativeListener(this._window,f,this.__gu,true);
qx.bom.Event.addNativeListener(this._window,g,this.__gv,true);
qx.bom.Event.addNativeListener(this._window,y,this.__gw,true);
},"mshtml":function(){this.__gs=qx.lang.Function.listener(this.__gJ,this);
this.__gt=qx.lang.Function.listener(this.__gK,this);
this.__gy=qx.lang.Function.listener(this.__gF,this);
this.__gz=qx.lang.Function.listener(this.__gG,this);
this.__gx=qx.lang.Function.listener(this.__gM,this);
qx.bom.Event.addNativeListener(this._document,i,this.__gs);
qx.bom.Event.addNativeListener(this._document,h,this.__gt);
qx.bom.Event.addNativeListener(this._document,b,this.__gy);
qx.bom.Event.addNativeListener(this._document,a,this.__gz);
qx.bom.Event.addNativeListener(this._document,d,this.__gx);
},"webkit":function(){this.__gs=qx.lang.Function.listener(this.__gJ,this);
this.__gt=qx.lang.Function.listener(this.__gK,this);
this.__gz=qx.lang.Function.listener(this.__gG,this);
this.__gu=qx.lang.Function.listener(this.__gI,this);
this.__gv=qx.lang.Function.listener(this.__gH,this);
this.__gx=qx.lang.Function.listener(this.__gM,this);
qx.bom.Event.addNativeListener(this._document,i,this.__gs,true);
qx.bom.Event.addNativeListener(this._document,h,this.__gt,true);
qx.bom.Event.addNativeListener(this._document,d,this.__gx,false);
qx.bom.Event.addNativeListener(this._window,c,this.__gz,true);
qx.bom.Event.addNativeListener(this._window,f,this.__gu,true);
qx.bom.Event.addNativeListener(this._window,g,this.__gv,true);
},"opera":function(){this.__gs=qx.lang.Function.listener(this.__gJ,this);
this.__gt=qx.lang.Function.listener(this.__gK,this);
this.__gy=qx.lang.Function.listener(this.__gF,this);
this.__gz=qx.lang.Function.listener(this.__gG,this);
qx.bom.Event.addNativeListener(this._document,i,this.__gs,true);
qx.bom.Event.addNativeListener(this._document,h,this.__gt,true);
qx.bom.Event.addNativeListener(this._window,z,this.__gy,true);
qx.bom.Event.addNativeListener(this._window,c,this.__gz,true);
}}),_stopObserver:qx.core.Environment.select(j,{"gecko":function(){qx.bom.Event.removeNativeListener(this._document,i,this.__gs,true);
qx.bom.Event.removeNativeListener(this._document,h,this.__gt,true);
qx.bom.Event.removeNativeListener(this._window,f,this.__gu,true);
qx.bom.Event.removeNativeListener(this._window,g,this.__gv,true);
qx.bom.Event.removeNativeListener(this._window,y,this.__gw,true);
},"mshtml":function(){qx.bom.Event.removeNativeListener(this._document,i,this.__gs);
qx.bom.Event.removeNativeListener(this._document,h,this.__gt);
qx.bom.Event.removeNativeListener(this._document,b,this.__gy);
qx.bom.Event.removeNativeListener(this._document,a,this.__gz);
qx.bom.Event.removeNativeListener(this._document,d,this.__gx);
},"webkit":function(){qx.bom.Event.removeNativeListener(this._document,i,this.__gs,true);
qx.bom.Event.removeNativeListener(this._document,h,this.__gt,true);
qx.bom.Event.removeNativeListener(this._document,d,this.__gx,false);
qx.bom.Event.removeNativeListener(this._window,c,this.__gz,true);
qx.bom.Event.removeNativeListener(this._window,f,this.__gu,true);
qx.bom.Event.removeNativeListener(this._window,g,this.__gv,true);
},"opera":function(){qx.bom.Event.removeNativeListener(this._document,i,this.__gs,true);
qx.bom.Event.removeNativeListener(this._document,h,this.__gt,true);
qx.bom.Event.removeNativeListener(this._window,z,this.__gy,true);
qx.bom.Event.removeNativeListener(this._window,c,this.__gz,true);
}}),__gE:qx.event.GlobalError.observeMethod(qx.core.Environment.select(j,{"gecko":function(bb){var bc=qx.bom.Event.getTarget(bb);

if(!this.__gQ(bc)){qx.bom.Event.preventDefault(bb);
}},"default":null})),__gF:qx.event.GlobalError.observeMethod(qx.core.Environment.select(j,{"mshtml":function(bd){this.__gD();
var bf=qx.bom.Event.getTarget(bd);
var be=this.__gO(bf);

if(be){this.setFocus(be);
}this.tryActivate(bf);
},"opera":function(bg){var bh=qx.bom.Event.getTarget(bg);

if(bh==this._document||bh==this._window){this.__gD();

if(this.__gA){this.setFocus(this.__gA);
delete this.__gA;
}
if(this.__gB){this.setActive(this.__gB);
delete this.__gB;
}}else{this.setFocus(bh);
this.tryActivate(bh);
if(!this.__gQ(bh)){bh.selectionStart=0;
bh.selectionEnd=0;
}}},"default":null})),__gG:qx.event.GlobalError.observeMethod(qx.core.Environment.select(j,{"mshtml":function(bi){var bj=qx.bom.Event.getRelatedTarget(bi);
if(bj==null){this.__gC();
this.resetFocus();
this.resetActive();
}},"webkit":function(bk){var bl=qx.bom.Event.getTarget(bk);

if(bl===this.getFocus()){this.resetFocus();
}
if(bl===this.getActive()){this.resetActive();
}},"opera":function(bm){var bn=qx.bom.Event.getTarget(bm);

if(bn==this._document){this.__gC();
this.__gA=this.getFocus();
this.__gB=this.getActive();
this.resetFocus();
this.resetActive();
}else{if(bn===this.getFocus()){this.resetFocus();
}
if(bn===this.getActive()){this.resetActive();
}}},"default":null})),__gH:qx.event.GlobalError.observeMethod(qx.core.Environment.select(j,{"gecko":function(bo){var bp=qx.bom.Event.getTarget(bo);

if(bp===this._window||bp===this._document){this.__gC();
this.resetActive();
this.resetFocus();
}},"webkit":function(bq){var br=qx.bom.Event.getTarget(bq);

if(br===this._window||br===this._document){this.__gC();
this.__gA=this.getFocus();
this.__gB=this.getActive();
this.resetActive();
this.resetFocus();
}},"default":null})),__gI:qx.event.GlobalError.observeMethod(qx.core.Environment.select(j,{"gecko":function(bs){var bt=qx.bom.Event.getTarget(bs);

if(bt===this._window||bt===this._document){this.__gD();
bt=this._body;
}this.setFocus(bt);
this.tryActivate(bt);
},"webkit":function(bu){var bv=qx.bom.Event.getTarget(bu);

if(bv===this._window||bv===this._document){this.__gD();

if(this.__gA){this.setFocus(this.__gA);
delete this.__gA;
}
if(this.__gB){this.setActive(this.__gB);
delete this.__gB;
}}else{this.setFocus(bv);
this.tryActivate(bv);
}},"default":null})),__gJ:qx.event.GlobalError.observeMethod(qx.core.Environment.select(j,{"gecko":function(bw){var by=qx.bom.Event.getTarget(bw);
var bx=this.__gO(by);

if(!bx){qx.bom.Event.preventDefault(bw);
}else if(bx===this._body){this.setFocus(bx);
}},"mshtml":function(bz){var bB=qx.bom.Event.getTarget(bz);
var bA=this.__gO(bB);

if(bA){if(!this.__gQ(bB)){bB.unselectable=e;
try{document.selection.empty();
}catch(bC){}try{bA.focus();
}catch(bD){}}}else{qx.bom.Event.preventDefault(bz);
if(!this.__gQ(bB)){bB.unselectable=e;
}}},"webkit":function(bE){var bG=qx.bom.Event.getTarget(bE);
var bF=this.__gO(bG);

if(bF){this.setFocus(bF);
}else{qx.bom.Event.preventDefault(bE);
}},"opera":function(bH){var bK=qx.bom.Event.getTarget(bH);
var bI=this.__gO(bK);

if(!this.__gQ(bK)){qx.bom.Event.preventDefault(bH);
if(bI){var bJ=this.getFocus();

if(bJ&&bJ.selectionEnd){bJ.selectionStart=0;
bJ.selectionEnd=0;
bJ.blur();
}if(bI){this.setFocus(bI);
}}}else if(bI){this.setFocus(bI);
}},"default":null})),__gK:qx.event.GlobalError.observeMethod(qx.core.Environment.select(j,{"mshtml":function(bL){var bM=qx.bom.Event.getTarget(bL);

if(bM.unselectable){bM.unselectable=p;
}this.tryActivate(this.__gL(bM));
},"gecko":function(bN){var bO=qx.bom.Event.getTarget(bN);

while(bO&&bO.offsetWidth===undefined){bO=bO.parentNode;
}
if(bO){this.tryActivate(bO);
}},"webkit|opera":function(bP){var bQ=qx.bom.Event.getTarget(bP);
this.tryActivate(this.__gL(bQ));
},"default":null})),__gL:qx.event.GlobalError.observeMethod(qx.core.Environment.select(j,{"mshtml|webkit":function(bR){var bS=this.getFocus();

if(bS&&bR!=bS&&(bS.nodeName.toLowerCase()===r||bS.nodeName.toLowerCase()===u)){bR=bS;
}return bR;
},"default":function(bT){return bT;
}})),__gM:qx.event.GlobalError.observeMethod(qx.core.Environment.select(j,{"mshtml|webkit":function(bU){var bV=qx.bom.Event.getTarget(bU);

if(!this.__gQ(bV)){qx.bom.Event.preventDefault(bU);
}},"default":null})),__gN:function(bW){var bX=qx.bom.element.Attribute.get(bW,o);

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

if(bX>=0&&bY[bW.tagName]){return true;
}return false;
},__gO:function(ca){while(ca&&ca.nodeType===1){if(ca.getAttribute(k)==e){return null;
}
if(this.__gN(ca)){return ca;
}ca=ca.parentNode;
}return this._body;
},__gP:function(cb){var cc=cb;

while(cb&&cb.nodeType===1){if(cb.getAttribute(l)==e){return null;
}cb=cb.parentNode;
}return cc;
},__gQ:function(cd){while(cd&&cd.nodeType===1){var ce=cd.getAttribute(q);

if(ce!=null){return ce===e;
}cd=cd.parentNode;
}return true;
},_applyActive:function(cf,cg){if(cg){this.__fG(cg,cf,v,true);
}
if(cf){this.__fG(cf,cg,m,true);
}},_applyFocus:function(ch,ci){if(ci){this.__fG(ci,ch,a,true);
}
if(ch){this.__fG(ch,ci,b,true);
}if(ci){this.__fG(ci,ch,g,false);
}
if(ch){this.__fG(ch,ci,f,false);
}}},destruct:function(){this._stopObserver();
this._manager=this._window=this._document=this._root=this._body=this.__gR=null;
},defer:function(cj){qx.event.Registration.addHandler(cj);
var ck=cj.FOCUSABLE_ELEMENTS;

for(var cl in ck){ck[cl.toUpperCase()]=1;
}}});
})();
(function(){var k="engine.name",j="character",i="EndToEnd",h="input",g="StartToStart",f="textarea",e='character',d="qx.bom.Selection",c="button",b="#text",a="body";
qx.Class.define(d,{statics:{getSelectionObject:qx.core.Environment.select(k,{"mshtml":function(l){return l.selection;
},"default":function(m){return qx.dom.Node.getWindow(m).getSelection();
}}),get:qx.core.Environment.select(k,{"mshtml":function(n){var o=qx.bom.Range.get(qx.dom.Node.getDocument(n));
return o.text;
},"default":function(p){if(this.__gS(p)){return p.value.substring(p.selectionStart,p.selectionEnd);
}else{return this.getSelectionObject(qx.dom.Node.getDocument(p)).toString();
}}}),getLength:qx.core.Environment.select(k,{"mshtml":function(q){var s=this.get(q);
var r=qx.util.StringSplit.split(s,/\r\n/);
return s.length-(r.length-1);
},"opera":function(t){var y,w,u;

if(this.__gS(t)){var x=t.selectionStart;
var v=t.selectionEnd;
y=t.value.substring(x,v);
w=v-x;
}else{y=qx.bom.Selection.get(t);
w=y.length;
}u=qx.util.StringSplit.split(y,/\r\n/);
return w-(u.length-1);
},"default":function(z){if(this.__gS(z)){return z.selectionEnd-z.selectionStart;
}else{return this.get(z).length;
}}}),getStart:qx.core.Environment.select(k,{"mshtml":function(A){if(this.__gS(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.moveEnd(e,E);
return E-G.text.length;
}else{var G=qx.bom.Range.get(A);
var C=G.parentElement();
var H=qx.bom.Range.get();

try{H.moveToElementText(C);
}catch(J){return 0;
}var B=qx.bom.Range.get(qx.dom.Node.getBodyElement(A));
B.setEndPoint(g,G);
B.setEndPoint(i,H);
if(H.compareEndPoints(g,B)==0){return 0;
}var D;
var I=0;

while(true){D=B.moveStart(j,-1);
if(H.compareEndPoints(g,B)==0){break;
}if(D==0){break;
}else{I++;
}}return ++I;
}},"gecko|webkit":function(K){if(this.__gS(K)){return K.selectionStart;
}else{var M=qx.dom.Node.getDocument(K);
var L=this.getSelectionObject(M);
if(L.anchorOffset<L.focusOffset){return L.anchorOffset;
}else{return L.focusOffset;
}}},"default":function(N){if(this.__gS(N)){return N.selectionStart;
}else{return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(N)).anchorOffset;
}}}),getEnd:qx.core.Environment.select(k,{"mshtml":function(O){if(this.__gS(O)){var T=qx.bom.Range.get();
if(!O.contains(T.parentElement())){return -1;
}var U=qx.bom.Range.get(O);
var S=O.value.length;
U.moveToBookmark(T.getBookmark());
U.moveStart(e,-S);
return U.text.length;
}else{var U=qx.bom.Range.get(O);
var Q=U.parentElement();
var V=qx.bom.Range.get();

try{V.moveToElementText(Q);
}catch(X){return 0;
}var S=V.text.length;
var P=qx.bom.Range.get(qx.dom.Node.getBodyElement(O));
P.setEndPoint(i,U);
P.setEndPoint(g,V);
if(V.compareEndPoints(i,P)==0){return S-1;
}var R;
var W=0;

while(true){R=P.moveEnd(j,1);
if(V.compareEndPoints(i,P)==0){break;
}if(R==0){break;
}else{W++;
}}return S-(++W);
}},"gecko|webkit":function(Y){if(this.__gS(Y)){return Y.selectionEnd;
}else{var bb=qx.dom.Node.getDocument(Y);
var ba=this.getSelectionObject(bb);
if(ba.focusOffset>ba.anchorOffset){return ba.focusOffset;
}else{return ba.anchorOffset;
}}},"default":function(bc){if(this.__gS(bc)){return bc.selectionEnd;
}else{return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bc)).focusOffset;
}}}),__gS:function(bd){return qx.dom.Node.isElement(bd)&&(bd.nodeName.toLowerCase()==h||bd.nodeName.toLowerCase()==f);
},set:qx.core.Environment.select(k,{"mshtml":function(be,bf,bg){var bh;
if(qx.dom.Node.isDocument(be)){be=be.body;
}
if(qx.dom.Node.isElement(be)||qx.dom.Node.isText(be)){switch(be.nodeName.toLowerCase()){case h:case f:case c:if(bg===undefined){bg=be.value.length;
}
if(bf>=0&&bf<=be.value.length&&bg>=0&&bg<=be.value.length){bh=qx.bom.Range.get(be);
bh.collapse(true);
bh.moveStart(j,bf);
bh.moveEnd(j,bg-bf);
bh.select();
return true;
}break;
case b:if(bg===undefined){bg=be.nodeValue.length;
}
if(bf>=0&&bf<=be.nodeValue.length&&bg>=0&&bg<=be.nodeValue.length){bh=qx.bom.Range.get(qx.dom.Node.getBodyElement(be));
bh.moveToElementText(be.parentNode);
bh.collapse(true);
bh.moveStart(j,bf);
bh.moveEnd(j,bg-bf);
bh.select();
return true;
}break;
default:if(bg===undefined){bg=be.childNodes.length-1;
}if(be.childNodes[bf]&&be.childNodes[bg]){bh=qx.bom.Range.get(qx.dom.Node.getBodyElement(be));
bh.moveToElementText(be.childNodes[bf]);
bh.collapse(true);
var bi=qx.bom.Range.get(qx.dom.Node.getBodyElement(be));
bi.moveToElementText(be.childNodes[bg]);
bh.setEndPoint(i,bi);
bh.select();
return true;
}}}return false;
},"default":function(bj,bk,bl){var bp=bj.nodeName.toLowerCase();

if(qx.dom.Node.isElement(bj)&&(bp==h||bp==f)){if(bl===undefined){bl=bj.value.length;
}if(bk>=0&&bk<=bj.value.length&&bl>=0&&bl<=bj.value.length){bj.focus();
bj.select();
bj.setSelectionRange(bk,bl);
return true;
}}else{var bn=false;
var bo=qx.dom.Node.getWindow(bj).getSelection();
var bm=qx.bom.Range.get(bj);
if(qx.dom.Node.isText(bj)){if(bl===undefined){bl=bj.length;
}
if(bk>=0&&bk<bj.length&&bl>=0&&bl<=bj.length){bn=true;
}}else if(qx.dom.Node.isElement(bj)){if(bl===undefined){bl=bj.childNodes.length-1;
}
if(bk>=0&&bj.childNodes[bk]&&bl>=0&&bj.childNodes[bl]){bn=true;
}}else if(qx.dom.Node.isDocument(bj)){bj=bj.body;

if(bl===undefined){bl=bj.childNodes.length-1;
}
if(bk>=0&&bj.childNodes[bk]&&bl>=0&&bj.childNodes[bl]){bn=true;
}}
if(bn){if(!bo.isCollapsed){bo.collapseToStart();
}bm.setStart(bj,bk);
if(qx.dom.Node.isText(bj)){bm.setEnd(bj,bl);
}else{bm.setEndAfter(bj.childNodes[bl]);
}if(bo.rangeCount>0){bo.removeAllRanges();
}bo.addRange(bm);
return true;
}}return false;
}}),setAll:function(bq){return qx.bom.Selection.set(bq,0);
},clear:qx.core.Environment.select(k,{"mshtml":function(br){var bs=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(br));
var bt=qx.bom.Range.get(br);
var parent=bt.parentElement();
var bu=qx.bom.Range.get(qx.dom.Node.getDocument(br));
if(parent==bu.parentElement()&&parent==br){bs.empty();
}},"default":function(bv){var bx=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bv));
var bz=bv.nodeName.toLowerCase();
if(qx.dom.Node.isElement(bv)&&(bz==h||bz==f)){bv.setSelectionRange(0,0);
qx.bom.Element.blur(bv);
}else if(qx.dom.Node.isDocument(bv)||bz==a){bx.collapse(bv.body?bv.body:bv,0);
}else{var by=qx.bom.Range.get(bv);

if(!by.collapsed){var bA;
var bw=by.commonAncestorContainer;
if(qx.dom.Node.isElement(bv)&&qx.dom.Node.isText(bw)){bA=bw.parentNode;
}else{bA=bw;
}
if(bA==bv){bx.collapse(bv,0);
}}}}})}});
})();
(function(){var l="button",k="qx.bom.Range",j="text",i="engine.name",h="password",g="file",f="submit",e="reset",d="textarea",c="input",a="hidden",b="body";
qx.Class.define(k,{statics:{get:qx.core.Environment.select(i,{"mshtml":function(m){if(qx.dom.Node.isElement(m)){switch(m.nodeName.toLowerCase()){case c:switch(m.type){case j:case h:case a:case l:case e:case g:case f:return m.createTextRange();
break;
default:return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(m)).createRange();
}break;
case d: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 j="",h="m",g="g",f="^",e="qx.util.StringSplit",d="i",c="$(?!\\s)",b="[object RegExp]",a="y";
qx.Class.define(e,{statics:{split:function(k,l,m){if(Object.prototype.toString.call(l)!==b){return String.prototype.split.call(k,l,m);
}var t=[],n=0,r=(l.ignoreCase?d:j)+(l.multiline?h:j)+(l.sticky?a:j),l=RegExp(l.source,r+g),q,u,o,p,s=/()??/.exec(j)[1]===undefined;
k=k+j;

if(!s){q=RegExp(f+l.source+c,r);
}if(m===undefined||+m<0){m=Infinity;
}else{m=Math.floor(+m);

if(!m){return [];
}}
while(u=l.exec(k)){o=u.index+u[0].length;

if(o>n){t.push(k.slice(n,u.index));
if(!s&&u.length>1){u[0].replace(q,function(){for(var i=1;i<arguments.length-2;i++){if(arguments[i]===undefined){u[i]=undefined;
}}});
}
if(u.length>1&&u.index<k.length){Array.prototype.push.apply(t,u.slice(1));
}p=u[0].length;
n=o;

if(t.length>=m){break;
}}
if(l.lastIndex===u.index){l.lastIndex++;
}}
if(n===k.length){if(p||!l.test(j)){t.push(j);
}}else{t.push(k.slice(n));
}return t.length>m?t.slice(0,m):t;
}}});
})();
(function(){var k="alias",j="copy",i="blur",h="mouseout",g="keydown",f="Control",d="Shift",c="mousemove",b="move",a="mouseover",C="Alt",B="keyup",A="mouseup",z="keypress",y="dragend",x="on",w="mousedown",v="qxDraggable",u="Escape",t="drag",r="drop",s="qxDroppable",p="qx.event.handler.DragDrop",q="droprequest",n="dragstart",o="dragchange",l="dragleave",m="dragover";
qx.Class.define(p,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(D){qx.core.Object.call(this);
this.__eJ=D;
this.__cY=D.getWindow().document.documentElement;
this.__eJ.addListener(this.__cY,w,this._onMouseDown,this);
this.__he();
},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:{__eJ:null,__cY:null,__gT:null,__gU:null,__gV:null,__gW:null,__gX:null,__k:null,__gY:null,__ha:null,__hb:false,__hc:0,__hd:0,canHandleEvent:function(E,F){},registerEvent:function(G,H,I){},unregisterEvent:function(J,K,L){},addType:function(M){this.__gV[M]=true;
},addAction:function(N){this.__gW[N]=true;
},supportsType:function(O){return !!this.__gV[O];
},supportsAction:function(P){return !!this.__gW[P];
},getData:function(Q){if(!this.__hk||!this.__gT){throw new Error("This method must not be used outside the drop event listener!");
}
if(!this.__gV[Q]){throw new Error("Unsupported data type: "+Q+"!");
}
if(!this.__k[Q]){this.__gY=Q;
this.__fG(q,this.__gU,this.__gT,false);
}
if(!this.__k[Q]){throw new Error("Please use a droprequest listener to the drag source to fill the manager with data!");
}return this.__k[Q]||null;
},getCurrentAction:function(){return this.__ha;
},addData:function(R,S){this.__k[R]=S;
},getCurrentType:function(){return this.__gY;
},isSessionActive:function(){return this.__hb;
},__he:function(){this.__gV={};
this.__gW={};
this.__gX={};
this.__k={};
},__hf:function(){if(this.__gU==null){return;
}var V=this.__gW;
var T=this.__gX;
var U=null;

if(this.__hk){if(T.Shift&&T.Control&&V.alias){U=k;
}else if(T.Shift&&T.Alt&&V.copy){U=j;
}else if(T.Shift&&V.move){U=b;
}else if(T.Alt&&V.alias){U=k;
}else if(T.Control&&V.copy){U=j;
}else if(V.move){U=b;
}else if(V.copy){U=j;
}else if(V.alias){U=k;
}}
if(U!=this.__ha){this.__ha=U;
this.__fG(o,this.__gU,this.__gT,false);
}},__fG:function(W,X,Y,ba,bb){var bd=qx.event.Registration;
var bc=bd.createEvent(W,qx.event.type.Drag,[ba,bb]);

if(X!==Y){bc.setRelatedTarget(Y);
}return bd.dispatchEvent(X,bc);
},__hg:function(be){while(be&&be.nodeType==1){if(be.getAttribute(v)==x){return be;
}be=be.parentNode;
}return null;
},__hh:function(bf){while(bf&&bf.nodeType==1){if(bf.getAttribute(s)==x){return bf;
}bf=bf.parentNode;
}return null;
},__hi:function(){this.__gU=null;
this.__eJ.removeListener(this.__cY,c,this._onMouseMove,this,true);
this.__eJ.removeListener(this.__cY,A,this._onMouseUp,this,true);
qx.event.Registration.removeListener(window,i,this._onWindowBlur,this);
this.__he();
},__hj:function(){if(this.__hb){this.__eJ.removeListener(this.__cY,a,this._onMouseOver,this,true);
this.__eJ.removeListener(this.__cY,h,this._onMouseOut,this,true);
this.__eJ.removeListener(this.__cY,g,this._onKeyDown,this,true);
this.__eJ.removeListener(this.__cY,B,this._onKeyUp,this,true);
this.__eJ.removeListener(this.__cY,z,this._onKeyPress,this,true);
this.__fG(y,this.__gU,this.__gT,false);
this.__hb=false;
}this.__hk=false;
this.__gT=null;
this.__hi();
},__hk:false,_onWindowBlur:function(e){this.__hj();
},_onKeyDown:function(e){var bg=e.getKeyIdentifier();

switch(bg){case C:case f:case d:if(!this.__gX[bg]){this.__gX[bg]=true;
this.__hf();
}}},_onKeyUp:function(e){var bh=e.getKeyIdentifier();

switch(bh){case C:case f:case d:if(this.__gX[bh]){this.__gX[bh]=false;
this.__hf();
}}},_onKeyPress:function(e){var bi=e.getKeyIdentifier();

switch(bi){case u:this.__hj();
}},_onMouseDown:function(e){if(this.__hb){return;
}var bj=this.__hg(e.getTarget());

if(bj){this.__hc=e.getDocumentLeft();
this.__hd=e.getDocumentTop();
this.__gU=bj;
this.__eJ.addListener(this.__cY,c,this._onMouseMove,this,true);
this.__eJ.addListener(this.__cY,A,this._onMouseUp,this,true);
qx.event.Registration.addListener(window,i,this._onWindowBlur,this);
}},_onMouseUp:function(e){if(this.__hk){this.__fG(r,this.__gT,this.__gU,false,e);
}if(this.__hb){e.stopPropagation();
}this.__hj();
},_onMouseMove:function(e){if(this.__hb){if(!this.__fG(t,this.__gU,this.__gT,true,e)){this.__hj();
}}else{if(Math.abs(e.getDocumentLeft()-this.__hc)>3||Math.abs(e.getDocumentTop()-this.__hd)>3){if(this.__fG(n,this.__gU,this.__gT,true,e)){this.__hb=true;
this.__eJ.addListener(this.__cY,a,this._onMouseOver,this,true);
this.__eJ.addListener(this.__cY,h,this._onMouseOut,this,true);
this.__eJ.addListener(this.__cY,g,this._onKeyDown,this,true);
this.__eJ.addListener(this.__cY,B,this._onKeyUp,this,true);
this.__eJ.addListener(this.__cY,z,this._onKeyPress,this,true);
var bk=this.__gX;
bk.Control=e.isCtrlPressed();
bk.Shift=e.isShiftPressed();
bk.Alt=e.isAltPressed();
this.__hf();
}else{this.__fG(y,this.__gU,this.__gT,false);
this.__hi();
}}}},_onMouseOver:function(e){var bl=e.getTarget();
var bm=this.__hh(bl);

if(bm&&bm!=this.__gT){this.__hk=this.__fG(m,bm,this.__gU,true,e);
this.__gT=bm;
this.__hf();
}},_onMouseOut:function(e){var bo=this.__hh(e.getTarget());
var bn=this.__hh(e.getRelatedTarget());

if(bo&&bo!==bn&&bo==this.__gT){this.__fG(l,this.__gT,bn,false,e);
this.__gT=null;
this.__hk=false;
qx.event.Timer.once(this.__hf,this,0);
}}},destruct:function(){this.__gU=this.__gT=this.__eJ=this.__cY=this.__gV=this.__gW=this.__gX=this.__k=null;
},defer:function(bp){qx.event.Registration.addHandler(bp);
}});
})();
(function(){var a="qx.event.type.Drag";
qx.Class.define(a,{extend:qx.event.type.Event,members:{init:function(b,c){qx.event.type.Event.prototype.init.call(this,true,b);

if(c){this._native=c.getNativeEvent()||null;
this._originalTarget=c.getTarget()||null;
}else{this._native=null;
this._originalTarget=null;
}return this;
},clone:function(d){var e=qx.event.type.Event.prototype.clone.call(this,d);
e._native=this._native;
return e;
},getDocumentLeft:function(){if(this._native==null){return 0;
}
if(this._native.pageX!==undefined){return this._native.pageX;
}else{var f=qx.dom.Node.getWindow(this._native.srcElement);
return this._native.clientX+qx.bom.Viewport.getScrollLeft(f);
}},getDocumentTop:function(){if(this._native==null){return 0;
}
if(this._native.pageY!==undefined){return this._native.pageY;
}else{var g=qx.dom.Node.getWindow(this._native.srcElement);
return this._native.clientY+qx.bom.Viewport.getScrollTop(g);
}},getManager:function(){return qx.event.Registration.getManager(this.getTarget()).getHandler(qx.event.handler.DragDrop);
},addType:function(h){this.getManager().addType(h);
},addAction:function(i){this.getManager().addAction(i);
},supportsType:function(j){return this.getManager().supportsType(j);
},supportsAction:function(k){return this.getManager().supportsAction(k);
},addData:function(l,m){this.getManager().addData(l,m);
},getData:function(n){return this.getManager().getData(n);
},getCurrentType:function(){return this.getManager().getCurrentType();
},getCurrentAction:function(){return this.getManager().getCurrentAction();
}}});
})();
(function(){var r="engine.name",q="mshtml",p="",o=" ",n=">",m="<",k="='",h="none",g="<INPUT TYPE='RADIO' NAME='RADIOTEST' VALUE='Second Choice'>",f="qx.bom.Element",b="webkit",d="' ",c="div",a="></";
qx.Class.define(f,{statics:{__hl:{"onload":true,"onpropertychange":true,"oninput":true,"onchange":true,"name":true,"type":true,"checked":true,"disabled":true},__hm:{},__hn:{},allowCreationWithMarkup:function(s){if(!s){s=window;
}var t=s.location.href;

if(qx.bom.Element.__hn[t]==undefined){try{s.document.createElement(g);
qx.bom.Element.__hn[t]=true;
}catch(e){qx.bom.Element.__hn[t]=false;
}}return qx.bom.Element.__hn[t];
},getHelperElement:function(u){if(!u){u=window;
}var w=u.location.href;

if(!qx.bom.Element.__hm[w]){var v=qx.bom.Element.__hm[w]=u.document.createElement(c);
if(qx.core.Environment.get(r)==b){v.style.display=h;
u.document.body.appendChild(v);
}}return qx.bom.Element.__hm[w];
},create:function(name,x,y){if(!y){y=window;
}
if(!name){throw new Error("The tag name is missing!");
}var A=this.__hl;
var z=p;

for(var C in x){if(A[C]){z+=C+k+x[C]+d;
}}var D;
if(z!=p){if(qx.bom.Element.allowCreationWithMarkup(y)){D=y.document.createElement(m+name+o+z+n);
}else{var B=qx.bom.Element.getHelperElement(y);
B.innerHTML=m+name+o+z+a+name+n;
D=B.firstChild;
}}else{D=y.document.createElement(name);
}
for(var C in x){if(!A[C]){qx.bom.element.Attribute.set(D,C,x[C]);
}}return D;
},empty:function(E){return E.innerHTML=p;
},addListener:function(F,G,H,self,I){return qx.event.Registration.addListener(F,G,H,self,I);
},removeListener:function(J,K,L,self,M){return qx.event.Registration.removeListener(J,K,L,self,M);
},removeListenerById:function(N,O){return qx.event.Registration.removeListenerById(N,O);
},hasListener:function(P,Q,R){return qx.event.Registration.hasListener(P,Q,R);
},focus:function(S){qx.event.Registration.getManager(S).getHandler(qx.event.handler.Focus).focus(S);
},blur:function(T){qx.event.Registration.getManager(T).getHandler(qx.event.handler.Focus).blur(T);
},activate:function(U){qx.event.Registration.getManager(U).getHandler(qx.event.handler.Focus).activate(U);
},deactivate:function(V){qx.event.Registration.getManager(V).getHandler(qx.event.handler.Focus).deactivate(V);
},capture:function(W,X){qx.event.Registration.getManager(W).getDispatcher(qx.event.dispatch.MouseCapture).activateCapture(W,X);
},releaseCapture:function(Y){qx.event.Registration.getManager(Y).getDispatcher(qx.event.dispatch.MouseCapture).releaseCapture(Y);
},matchesSelector:function(ba,bb){if(bb){return qx.bom.Selector.query(bb,ba.parentNode).length>0;
}else{return false;
}},clone:function(bc,bd){var bg;

if(bd||((qx.core.Environment.get(r)==q)&&!qx.xml.Document.isXmlDocument(bc))){var bk=qx.event.Registration.getManager(bc);
var be=qx.dom.Hierarchy.getDescendants(bc);
be.push(bc);
}if((qx.core.Environment.get(r)==q)){for(var i=0,l=be.length;i<l;i++){bk.toggleAttachedEvents(be[i],false);
}}var bg=bc.cloneNode(true);
if((qx.core.Environment.get(r)==q)){for(var i=0,l=be.length;i<l;i++){bk.toggleAttachedEvents(be[i],true);
}}if(bd===true){var bn=qx.dom.Hierarchy.getDescendants(bg);
bn.push(bg);
var bf,bi,bm,bh;

for(var i=0,bl=be.length;i<bl;i++){bm=be[i];
bf=bk.serializeListeners(bm);

if(bf.length>0){bi=bn[i];

for(var j=0,bj=bf.length;j<bj;j++){bh=bf[j];
bk.addListener(bi,bh.type,bh.handler,bh.self,bh.capture);
}}}}return bg;
}}});
})();
(function(){var j="",i="undefined",h="engine.name",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:{__ho:{names:{"class":b,"for":x,html:q,text:(qx.core.Environment.get(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.Environment.select(h,{"mshtml":2147483647,"webkit":524288,"default":-1})},removeableProperties:{disabled:1,multiple:1,maxLength:1},original:{href:1,src:1,type:1}},compile:function(z){var A=[];
var C=this.__ho.runtime;

for(var B in z){if(!C[B]){A.push(B,t,z[B],y);
}}return A.join(j);
},get:qx.core.Environment.select(h,{"mshtml":function(D,name){var F=this.__ho;
var E;
name=F.names[name]||name;
if(F.original[name]){E=D.getAttribute(name,2);
}else if(F.property[name]){E=D[name];

if(typeof F.propertyDefault[name]!==i&&E==F.propertyDefault[name]){if(typeof F.bools[name]===i){return null;
}else{return E;
}}}else{E=D.getAttribute(name);
}if(F.bools[name]){return !!E;
}return E;
},"default":function(G,name){var I=this.__ho;
var H;
name=I.names[name]||name;
if(I.property[name]){H=G[name];

if(typeof I.propertyDefault[name]!==i&&H==I.propertyDefault[name]){if(typeof I.bools[name]===i){return null;
}else{return H;
}}}else{H=G.getAttribute(name);
}if(I.bools[name]){return !!H;
}return H;
}}),set:function(J,name,K){if(typeof K===i){return;
}var L=this.__ho;
name=L.names[name]||name;
if(L.bools[name]){K=!!K;
}if(L.property[name]&&(!(J[name]===undefined)||L.qxProperties[name])){if(K==null){if(L.removeableProperties[name]){J.removeAttribute(name);
return;
}else if(typeof L.propertyDefault[name]!==i){K=L.propertyDefault[name];
}}J[name]=K;
}else{if(K===true){J.setAttribute(name,name);
}else if(K===false||K===null){J.removeAttribute(name);
}else{J.setAttribute(name,K);
}}},reset:function(M,name){this.set(M,name,null);
}}});
})();
(function(){var i="engine.name",h="losecapture",g="mshtml",f="blur",e="focus",d="click",c="qx.event.dispatch.MouseCapture",b="capture",a="scroll";
qx.Class.define(c,{extend:qx.event.dispatch.AbstractBubbling,construct:function(j,k){qx.event.dispatch.AbstractBubbling.call(this,j);
this.__cv=j.getWindow();
this.__cx=k;
j.addListener(this.__cv,f,this.releaseCapture,this);
j.addListener(this.__cv,e,this.releaseCapture,this);
j.addListener(this.__cv,a,this.releaseCapture,this);
},statics:{PRIORITY:qx.event.Registration.PRIORITY_FIRST},members:{__cx:null,__hp:null,__hq:true,__cv:null,_getParent:function(l){return l.parentNode;
},canDispatchEvent:function(m,event,n){return !!(this.__hp&&this.__hr[n]);
},dispatchEvent:function(o,event,p){if(p==d){event.stopPropagation();
this.releaseCapture();
return;
}
if(this.__hq||!qx.dom.Hierarchy.contains(this.__hp,o)){o=this.__hp;
}qx.event.dispatch.AbstractBubbling.prototype.dispatchEvent.call(this,o,event,p);
},__hr:{"mouseup":1,"mousedown":1,"click":1,"dblclick":1,"mousemove":1,"mouseout":1,"mouseover":1},activateCapture:function(q,r){var r=r!==false;

if(this.__hp===q&&this.__hq==r){return;
}
if(this.__hp){this.releaseCapture();
}this.nativeSetCapture(q,r);

if(this.hasNativeCapture){var self=this;
qx.bom.Event.addNativeListener(q,h,function(){qx.bom.Event.removeNativeListener(q,h,arguments.callee);
self.releaseCapture();
});
}this.__hq=r;
this.__hp=q;
this.__cx.fireEvent(q,b,qx.event.type.Event,[true,false]);
},getCaptureElement:function(){return this.__hp;
},releaseCapture:function(){var s=this.__hp;

if(!s){return;
}this.__hp=null;
this.__cx.fireEvent(s,h,qx.event.type.Event,[true,false]);
this.nativeReleaseCapture(s);
},hasNativeCapture:qx.core.Environment.get(i)==g,nativeSetCapture:qx.core.Environment.select(i,{"mshtml":function(t,u){t.setCapture(u!==false);
},"default":qx.lang.Function.empty}),nativeReleaseCapture:qx.core.Environment.select(i,{"mshtml":function(v){v.releaseCapture();
},"default":qx.lang.Function.empty})},destruct:function(){this.__hp=this.__cv=this.__cx=null;
},defer:function(w){qx.event.Registration.addDispatcher(w);
}});
})();
(function(){var c="qx.bom.Selector";
qx.Class.define(c,{statics:{query:null,matches:null}});
(function(){var o=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,v=0,x=Object.prototype.toString,p=false,z=true,t=/\\/g,g=/\W/;
[0,0].sort(function(){z=false;
return 0;
});
var s=function(B,C,D,E){D=D||[];
C=C||document;
var N=C;

if(C.nodeType!==1&&C.nodeType!==9){return [];
}
if(!B||typeof B!=="string"){return D;
}var m,H,F,J,L,I,O,i,P=true,G=s.isXML(C),K=[],M=B;
do{o.exec("");
m=o.exec(M);

if(m){M=m[3];
K.push(m[1]);

if(m[2]){J=m[3];
break;
}}}while(m);

if(K.length>1&&q.exec(B)){if(K.length===2&&k.relative[K[0]]){H=h(K[0]+K[1],C);
}else{H=k.relative[K[0]]?[C]:s(K.shift(),C);

while(K.length){B=K.shift();

if(k.relative[B]){B+=K.shift();
}H=h(B,H);
}}}else{if(!E&&K.length>1&&C.nodeType===9&&!G&&k.match.ID.test(K[0])&&!k.match.ID.test(K[K.length-1])){L=s.find(K.shift(),C,G);
C=L.expr?s.filter(L.expr,L.set)[0]:L.set[0];
}
if(C){L=E?{expr:K.pop(),set:f(E)}:s.find(K.pop(),K.length===1&&(K[0]==="~"||K[0]==="+")&&C.parentNode?C.parentNode:C,G);
H=L.expr?s.filter(L.expr,L.set):L.set;

if(K.length>0){F=f(H);
}else{P=false;
}
while(K.length){I=K.pop();
O=I;

if(!k.relative[I]){I="";
}else{O=K.pop();
}
if(O==null){O=C;
}k.relative[I](F,O,G);
}}else{F=K=[];
}}
if(!F){F=H;
}
if(!F){s.error(I||B);
}
if(x.call(F)==="[object Array]"){if(!P){D.push.apply(D,F);
}else if(C&&C.nodeType===1){for(i=0;F[i]!=null;i++){if(F[i]&&(F[i]===true||F[i].nodeType===1&&s.contains(C,F[i]))){D.push(H[i]);
}}}else{for(i=0;F[i]!=null;i++){if(F[i]&&F[i].nodeType===1){D.push(H[i]);
}}}}else{f(F,D);
}
if(J){s(J,N,D,E);
s.uniqueSort(D);
}return D;
};
s.uniqueSort=function(Q){if(u){p=z;
Q.sort(u);

if(p){for(var i=1;i<Q.length;i++){if(Q[i]===Q[i-1]){Q.splice(i--,1);
}}}}return Q;
};
s.matches=function(R,S){return s(R,null,null,S);
};
s.matchesSelector=function(T,U){return s(U,null,null,[T]).length>0;
};
s.find=function(V,W,X){var Y;

if(!V){return [];
}
for(var i=0,l=k.order.length;i<l;i++){var bb,ba=k.order[i];

if((bb=k.leftMatch[ba].exec(V))){var bc=bb[1];
bb.splice(1,1);

if(bc.substr(bc.length-1)!=="\\"){bb[1]=(bb[1]||"").replace(t,"");
Y=k.find[ba](bb,W,X);

if(Y!=null){V=V.replace(k.match[ba],"");
break;
}}}}
if(!Y){Y=typeof W.getElementsByTagName!=="undefined"?W.getElementsByTagName("*"):[];
}return {set:Y,expr:V};
};
s.filter=function(bd,be,bf,bg){var bt,bs,bh=bd,bn=[],bi=be,bj=be&&be[0]&&s.isXML(be[0]);

while(bd&&be.length){for(var br in k.filter){if((bt=k.leftMatch[br].exec(bd))!=null&&bt[2]){var bq,bm,bk=k.filter[br],bu=bt[1];
bs=false;
bt.splice(1,1);

if(bu.substr(bu.length-1)==="\\"){continue;
}
if(bi===bn){bn=[];
}
if(k.preFilter[br]){bt=k.preFilter[br](bt,bi,bf,bn,bg,bj);

if(!bt){bs=bq=true;
}else if(bt===true){continue;
}}
if(bt){for(var i=0;(bm=bi[i])!=null;i++){if(bm){bq=bk(bm,bt,i,bi);
var bo=bg^!!bq;

if(bf&&bq!=null){if(bo){bs=true;
}else{bi[i]=false;
}}else if(bo){bn.push(bm);
bs=true;
}}}}
if(bq!==undefined){if(!bf){bi=bn;
}bd=bd.replace(k.match[br],"");

if(!bs){return [];
}break;
}}}if(bd===bh){if(bs==null){s.error(bd);
}else{break;
}}bh=bd;
}return bi;
};
s.error=function(bv){throw "Syntax error, unrecognized expression: "+bv;
};
var k=s.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(bw){return bw.getAttribute("href");
},type:function(bx){return bx.getAttribute("type");
}},relative:{"+":function(by,bz){var bA=typeof bz==="string",bC=bA&&!g.test(bz),bD=bA&&!bC;

if(bC){bz=bz.toLowerCase();
}
for(var i=0,l=by.length,bB;i<l;i++){if((bB=by[i])){while((bB=bB.previousSibling)&&bB.nodeType!==1){}by[i]=bD||bB&&bB.nodeName.toLowerCase()===bz?bB||false:bB===bz;
}}
if(bD){s.filter(bz,by,true);
}},">":function(bE,bF){var bH,bG=typeof bF==="string",i=0,l=bE.length;

if(bG&&!g.test(bF)){bF=bF.toLowerCase();

for(;i<l;i++){bH=bE[i];

if(bH){var parent=bH.parentNode;
bE[i]=parent.nodeName.toLowerCase()===bF?parent:false;
}}}else{for(;i<l;i++){bH=bE[i];

if(bH){bE[i]=bG?bH.parentNode:bH.parentNode===bF;
}}
if(bG){s.filter(bF,bE,true);
}}},"":function(bI,bJ,bK){var bN,bL=v++,bM=y;

if(typeof bJ==="string"&&!g.test(bJ)){bJ=bJ.toLowerCase();
bN=bJ;
bM=A;
}bM("parentNode",bJ,bL,bI,bN,bK);
},"~":function(bO,bP,bQ){var bT,bR=v++,bS=y;

if(typeof bP==="string"&&!g.test(bP)){bP=bP.toLowerCase();
bT=bP;
bS=A;
}bS("previousSibling",bP,bR,bO,bT,bQ);
}},find:{ID:function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var m=bV.getElementById(bU[1]);
return m&&m.parentNode?[m]:[];
}},NAME:function(bX,bY){if(typeof bY.getElementsByName!=="undefined"){var cb=[],ca=bY.getElementsByName(bX[1]);

for(var i=0,l=ca.length;i<l;i++){if(ca[i].getAttribute("name")===bX[1]){cb.push(ca[i]);
}}return cb.length===0?null:cb;
}},TAG:function(cc,cd){if(typeof cd.getElementsByTagName!=="undefined"){return cd.getElementsByTagName(cc[1]);
}}},preFilter:{CLASS:function(ce,cf,cg,ch,ci,cj){ce=" "+ce[1].replace(t,"")+" ";

if(cj){return ce;
}
for(var i=0,ck;(ck=cf[i])!=null;i++){if(ck){if(ci^(ck.className&&(" "+ck.className+" ").replace(/[\t\n\r]/g," ").indexOf(ce)>=0)){if(!cg){ch.push(ck);
}}else if(cg){cf[i]=false;
}}}return false;
},ID:function(cl){return cl[1].replace(t,"");
},TAG:function(cm,cn){return cm[1].replace(t,"").toLowerCase();
},CHILD:function(co){if(co[1]==="nth"){if(!co[2]){s.error(co[0]);
}co[2]=co[2].replace(/^\+|\s*/g,'');
var cp=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(co[2]==="even"&&"2n"||co[2]==="odd"&&"2n+1"||!/\D/.test(co[2])&&"0n+"+co[2]||co[2]);
co[2]=(cp[1]+(cp[2]||1))-0;
co[3]=cp[3]-0;
}else if(co[2]){s.error(co[0]);
}co[0]=v++;
return co;
},ATTR:function(cq,cr,cs,ct,cu,cv){var name=cq[1]=cq[1].replace(t,"");

if(!cv&&k.attrMap[name]){cq[1]=k.attrMap[name];
}cq[4]=(cq[4]||cq[5]||"").replace(t,"");

if(cq[2]==="~="){cq[4]=" "+cq[4]+" ";
}return cq;
},PSEUDO:function(cw,cx,cy,cz,cA){if(cw[1]==="not"){if((o.exec(cw[3])||"").length>1||/^\w/.test(cw[3])){cw[3]=s(cw[3],null,null,cx);
}else{var cB=s.filter(cw[3],cx,cy,true^cA);

if(!cy){cz.push.apply(cz,cB);
}return false;
}}else if(k.match.POS.test(cw[0])||k.match.CHILD.test(cw[0])){return true;
}return cw;
},POS:function(cC){cC.unshift(true);
return cC;
}},filters:{enabled:function(cD){return cD.disabled===false&&cD.type!=="hidden";
},disabled:function(cE){return cE.disabled===true;
},checked:function(cF){return cF.checked===true;
},selected:function(cG){if(cG.parentNode){cG.parentNode.selectedIndex;
}return cG.selected===true;
},parent:function(cH){return !!cH.firstChild;
},empty:function(cI){return !cI.firstChild;
},has:function(cJ,i,cK){return !!s(cK[3],cJ).length;
},header:function(cL){return (/h\d/i).test(cL.nodeName);
},text:function(cM){return "text"===cM.getAttribute('type');
},radio:function(cN){return "radio"===cN.type;
},checkbox:function(cO){return "checkbox"===cO.type;
},file:function(cP){return "file"===cP.type;
},password:function(cQ){return "password"===cQ.type;
},submit:function(cR){return "submit"===cR.type;
},image:function(cS){return "image"===cS.type;
},reset:function(cT){return "reset"===cT.type;
},button:function(cU){return "button"===cU.type||cU.nodeName.toLowerCase()==="button";
},input:function(cV){return (/input|select|textarea|button/i).test(cV.nodeName);
}},setFilters:{first:function(cW,i){return i===0;
},last:function(cX,i,cY,da){return i===da.length-1;
},even:function(db,i){return i%2===0;
},odd:function(dc,i){return i%2===1;
},lt:function(dd,i,de){return i<de[3]-0;
},gt:function(df,i,dg){return i>dg[3]-0;
},nth:function(dh,i,di){return di[3]-0===i;
},eq:function(dj,i,dk){return dk[3]-0===i;
}},filter:{PSEUDO:function(dl,dm,i,dn){var name=dm[1],dp=k.filters[name];

if(dp){return dp(dl,i,dm,dn);
}else if(name==="contains"){return (dl.textContent||dl.innerText||s.getText([dl])||"").indexOf(dm[3])>=0;
}else if(name==="not"){var dq=dm[3];

for(var j=0,l=dq.length;j<l;j++){if(dq[j]===dl){return false;
}}return true;
}else{s.error(name);
}},CHILD:function(dr,ds){var dy=ds[1],dt=dr;

switch(dy){case "only":case "first":while((dt=dt.previousSibling)){if(dt.nodeType===1){return false;
}}
if(dy==="first"){return true;
}dt=dr;
case "last":while((dt=dt.nextSibling)){if(dt.nodeType===1){return false;
}}return true;
case "nth":var dz=ds[2],dv=ds[3];

if(dz===1&&dv===0){return true;
}var dx=ds[0],parent=dr.parentNode;

if(parent&&(parent.sizcache!==dx||!dr.nodeIndex)){var du=0;

for(dt=parent.firstChild;dt;dt=dt.nextSibling){if(dt.nodeType===1){dt.nodeIndex=++du;
}}parent.sizcache=dx;
}var dw=dr.nodeIndex-dv;

if(dz===0){return dw===0;
}else{return (dw%dz===0&&dw/dz>=0);
}}},ID:function(dA,dB){return dA.nodeType===1&&dA.getAttribute("id")===dB;
},TAG:function(dC,dD){return (dD==="*"&&dC.nodeType===1)||dC.nodeName.toLowerCase()===dD;
},CLASS:function(dE,dF){return (" "+(dE.className||dE.getAttribute("class"))+" ").indexOf(dF)>-1;
},ATTR:function(dG,dH){var name=dH[1],dL=k.attrHandle[name]?k.attrHandle[name](dG):dG[name]!=null?dG[name]:dG.getAttribute(name),dK=dL+"",dJ=dH[2],dI=dH[4];
return dL==null?dJ==="!=":dJ==="="?dK===dI:dJ==="*="?dK.indexOf(dI)>=0:dJ==="~="?(" "+dK+" ").indexOf(dI)>=0:!dI?dK&&dL!==false:dJ==="!="?dK!==dI:dJ==="^="?dK.indexOf(dI)===0:dJ==="$="?dK.substr(dK.length-dI.length)===dI:dJ==="|="?dK===dI||dK.substr(0,dI.length+1)===dI+"-":false;
},POS:function(dM,dN,i,dO){var name=dN[2],dP=k.setFilters[name];

if(dP){return dP(dM,i,dN,dO);
}}}};
var q=k.match.POS,d=function(dQ,dR){return "\\"+(dR-0+1);
};

for(var w in k.match){k.match[w]=new RegExp(k.match[w].source+(/(?![^\[]*\])(?![^\(]*\))/.source));
k.leftMatch[w]=new RegExp(/(^(?:.|\r|\n)*?)/.source+k.match[w].source.replace(/\\(\d+)/g,d));
}var f=function(dS,dT){dS=Array.prototype.slice.call(dS,0);

if(dT){dT.push.apply(dT,dS);
return dT;
}return dS;
};
try{Array.prototype.slice.call(document.documentElement.childNodes,0)[0].nodeType;
}catch(e){f=function(dU,dV){var i=0,dW=dV||[];

if(x.call(dU)==="[object Array]"){Array.prototype.push.apply(dW,dU);
}else{if(typeof dU.length==="number"){for(var l=dU.length;i<l;i++){dW.push(dU[i]);
}}else{for(;dU[i];i++){dW.push(dU[i]);
}}}return dW;
};
}var u,n;

if(document.documentElement.compareDocumentPosition){u=function(a,b){if(a===b){p=true;
return 0;
}
if(!a.compareDocumentPosition||!b.compareDocumentPosition){return a.compareDocumentPosition?-1:1;
}return a.compareDocumentPosition(b)&4?-1:1;
};
}else{u=function(a,b){var ec,ea,ed=[],ee=[],dY=a.parentNode,eb=b.parentNode,dX=dY;
if(a===b){p=true;
return 0;
}else if(dY===eb){return n(a,b);
}else if(!dY){return -1;
}else if(!eb){return 1;
}while(dX){ed.unshift(dX);
dX=dX.parentNode;
}dX=eb;

while(dX){ee.unshift(dX);
dX=dX.parentNode;
}ec=ed.length;
ea=ee.length;
for(var i=0;i<ec&&i<ea;i++){if(ed[i]!==ee[i]){return n(ed[i],ee[i]);
}}return i===ec?n(a,ee[i],-1):n(ed[i],b,1);
};
n=function(a,b,ef){if(a===b){return ef;
}var eg=a.nextSibling;

while(eg){if(eg===b){return -1;
}eg=eg.nextSibling;
}return 1;
};
}s.getText=function(eh){var ej="",ei;

for(var i=0;eh[i];i++){ei=eh[i];
if(ei.nodeType===3||ei.nodeType===4){ej+=ei.nodeValue;
}else if(ei.nodeType!==8){ej+=s.getText(ei.childNodes);
}}return ej;
};
(function(){var em=document.createElement("div"),el="script"+(new Date()).getTime(),ek=document.documentElement;
em.innerHTML="<a name='"+el+"'/>";
ek.insertBefore(em,ek.firstChild);
if(document.getElementById(el)){k.find.ID=function(en,eo,ep){if(typeof eo.getElementById!=="undefined"&&!ep){var m=eo.getElementById(en[1]);
return m?m.id===en[1]||typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id").nodeValue===en[1]?[m]:undefined:[];
}};
k.filter.ID=function(eq,er){var es=typeof eq.getAttributeNode!=="undefined"&&eq.getAttributeNode("id");
return eq.nodeType===1&&es&&es.nodeValue===er;
};
}ek.removeChild(em);
ek=em=null;
})();
(function(){var et=document.createElement("div");
et.appendChild(document.createComment(""));
if(et.getElementsByTagName("*").length>0){k.find.TAG=function(eu,ev){var ex=ev.getElementsByTagName(eu[1]);
if(eu[1]==="*"){var ew=[];

for(var i=0;ex[i];i++){if(ex[i].nodeType===1){ew.push(ex[i]);
}}ex=ew;
}return ex;
};
}et.innerHTML="<a href='#'></a>";

if(et.firstChild&&typeof et.firstChild.getAttribute!=="undefined"&&et.firstChild.getAttribute("href")!=="#"){k.attrHandle.href=function(ey){return ey.getAttribute("href",2);
};
}et=null;
})();

if(document.querySelectorAll){(function(){var eA=s,ez=document.createElement("div"),eB="__sizzle__";
ez.innerHTML="<p class='TEST'></p>";
if(ez.querySelectorAll&&ez.querySelectorAll(".TEST").length===0){return;
}s=function(eD,eE,eF,eG){eE=eE||document;
if(!eG&&!s.isXML(eE)){var eL=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(eD);

if(eL&&(eE.nodeType===1||eE.nodeType===9)){if(eL[1]){return f(eE.getElementsByTagName(eD),eF);
}else if(eL[2]&&k.find.CLASS&&eE.getElementsByClassName){return f(eE.getElementsByClassName(eL[2]),eF);
}}
if(eE.nodeType===9){if(eD==="body"&&eE.body){return f([eE.body],eF);
}else if(eL&&eL[3]){var eJ=eE.getElementById(eL[3]);
if(eJ&&eJ.parentNode){if(eJ.id===eL[3]){return f([eJ],eF);
}}else{return f([],eF);
}}
try{return f(eE.querySelectorAll(eD),eF);
}catch(eO){}}else if(eE.nodeType===1&&eE.nodeName.toLowerCase()!=="object"){var eN=eE,eI=eE.getAttribute("id"),eK=eI||eB,eH=eE.parentNode,eM=/^\s*[+~]/.test(eD);

if(!eI){eE.setAttribute("id",eK);
}else{eK=eK.replace(/'/g,"\\$&");
}
if(eM&&eH){eE=eE.parentNode;
}
try{if(!eM||eH){return f(eE.querySelectorAll("[id='"+eK+"'] "+eD),eF);
}}catch(eP){}finally{if(!eI){eN.removeAttribute("id");
}}}}return eA(eD,eE,eF,eG);
};

for(var eC in eA){s[eC]=eA[eC];
}ez=null;
})();
}(function(){var eS=document.documentElement,eQ=eS.matchesSelector||eS.mozMatchesSelector||eS.webkitMatchesSelector||eS.msMatchesSelector,eR=false;

try{eQ.call(document.documentElement,"[test!='']:sizzle");
}catch(eT){eR=true;
}
if(eQ){s.matchesSelector=function(eU,eV){eV=eV.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");

if(!s.isXML(eU)){try{if(eR||!k.match.PSEUDO.test(eV)&&!/!=/.test(eV)){return eQ.call(eU,eV);
}}catch(e){}}return s(eV,null,null,[eU]).length>0;
};
}})();
(function(){var eW=document.createElement("div");
eW.innerHTML="<div class='test e'></div><div class='test'></div>";
if(!eW.getElementsByClassName||eW.getElementsByClassName("e").length===0){return;
}eW.lastChild.className="e";

if(eW.getElementsByClassName("e").length===1){return;
}k.order.splice(1,0,"CLASS");
k.find.CLASS=function(eX,eY,fa){if(typeof eY.getElementsByClassName!=="undefined"&&!fa){return eY.getElementsByClassName(eX[1]);
}};
eW=null;
})();
function A(fb,fc,fd,fe,ff,fg){for(var i=0,l=fe.length;i<l;i++){var fi=fe[i];

if(fi){var fh=false;
fi=fi[fb];

while(fi){if(fi.sizcache===fd){fh=fe[fi.sizset];
break;
}
if(fi.nodeType===1&&!fg){fi.sizcache=fd;
fi.sizset=i;
}
if(fi.nodeName.toLowerCase()===fc){fh=fi;
break;
}fi=fi[fb];
}fe[i]=fh;
}}}function y(fj,fk,fl,fm,fn,fo){for(var i=0,l=fm.length;i<l;i++){var fq=fm[i];

if(fq){var fp=false;
fq=fq[fj];

while(fq){if(fq.sizcache===fl){fp=fm[fq.sizset];
break;
}
if(fq.nodeType===1){if(!fo){fq.sizcache=fl;
fq.sizset=i;
}
if(typeof fk!=="string"){if(fq===fk){fp=true;
break;
}}else if(s.filter(fk,[fq]).length>0){fp=fq;
break;
}}fq=fq[fj];
}fm[i]=fp;
}}}
if(document.documentElement.contains){s.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):true);
};
}else if(document.documentElement.compareDocumentPosition){s.contains=function(a,b){return !!(a.compareDocumentPosition(b)&16);
};
}else{s.contains=function(){return false;
};
}s.isXML=function(fr){var fs=(fr?fr.ownerDocument||fr:0).documentElement;
return fs?fs.nodeName!=="HTML":false;
};
var h=function(ft,fu){var fy,fw=[],fv="",fx=fu.nodeType?[fu]:fu;
while((fy=k.match.PSEUDO.exec(ft))){fv+=fy[0];
ft=ft.replace(k.match.PSEUDO,"");
}ft=k.relative[ft]?ft+"*":ft;

for(var i=0,l=fx.length;i<l;i++){s(ft,fx[i],fw);
}return s.filter(fv,fw);
};
var r=qx.bom.Selector;
r.query=function(fz,fA){return s(fz,fA);
};
r.matches=function(fB,fC){return s(fB,null,null,fC);
};
})();
})();
(function(){var r="engine.name",q="",p="MSXML2.DOMDocument.3.0",o="mshtml",n="SelectionLanguage",m="qx.xml.Document",k=" />",j="'",h="MSXML2.XMLHTTP.3.0",g="MSXML2.XMLHTTP.6.0",c=" xmlns='",f='<\?xml version="1.0" encoding="utf-8"?>\n<',e="text/xml",b="XPath",a="MSXML2.DOMDocument.6.0",d="HTML";
qx.Class.define(m,{statics:{DOMDOC:null,XMLHTTP:null,isXmlDocument:function(s){if(s.nodeType===9){return s.documentElement.nodeName!==d;
}else if(s.ownerDocument){return this.isXmlDocument(s.ownerDocument);
}else{return false;
}},create:qx.core.Environment.select(r,{"mshtml":function(t,u){var v=new ActiveXObject(this.DOMDOC);
if(this.DOMDOC==p){v.setProperty(n,b);
}
if(u){var w=f;
w+=u;

if(t){w+=c+t+j;
}w+=k;
v.loadXML(w);
}return v;
},"default":function(x,y){return document.implementation.createDocument(x||q,y||q,null);
}}),fromString:qx.core.Environment.select(r,{"mshtml":function(z){var A=qx.xml.Document.create();
A.loadXML(z);
return A;
},"default":function(B){var C=new DOMParser();
return C.parseFromString(B,e);
}})},defer:function(D){if((qx.core.Environment.get(r)==o)){var E=[a,p];
var F=[g,h];

for(var i=0,l=E.length;i<l;i++){try{new ActiveXObject(E[i]);
new ActiveXObject(F[i]);
}catch(G){continue;
}D.DOMDOC=E[i];
D.XMLHTTP=F[i];
break;
}}}});
})();
(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 k="visible",j="scroll",i="borderBottomWidth",h="borderTopWidth",g="left",f="borderLeftWidth",e="bottom",d="top",c="right",b="qx.bom.element.Scroll",a="borderRightWidth";
qx.Class.define(b,{statics:{intoViewX:function(l,stop,m){var parent=l.parentNode;
var r=qx.dom.Node.getDocument(l);
var n=r.body;
var z,x,u;
var B,s,C;
var v,D,G;
var E,p,y,o;
var t,F,w;
var q=m===g;
var A=m===c;
stop=stop?stop.parentNode:r;
while(parent&&parent!=stop){if(parent.scrollWidth>parent.clientWidth&&(parent===n||qx.bom.element.Overflow.getY(parent)!=k)){if(parent===n){x=parent.scrollLeft;
u=x+qx.bom.Viewport.getWidth();
B=qx.bom.Viewport.getWidth();
s=parent.clientWidth;
C=parent.scrollWidth;
v=0;
D=0;
G=0;
}else{z=qx.bom.element.Location.get(parent);
x=z.left;
u=z.right;
B=parent.offsetWidth;
s=parent.clientWidth;
C=parent.scrollWidth;
v=parseInt(qx.bom.element.Style.get(parent,f),10)||0;
D=parseInt(qx.bom.element.Style.get(parent,a),10)||0;
G=B-s-v-D;
}E=qx.bom.element.Location.get(l);
p=E.left;
y=E.right;
o=l.offsetWidth;
t=p-x-v;
F=y-u+D;
w=0;
if(q){w=t;
}else if(A){w=F+G;
}else if(t<0||o>s){w=t;
}else if(F>0){w=F+G;
}parent.scrollLeft+=w;
qx.event.Registration.fireNonBubblingEvent(parent,j);
}
if(parent===n){break;
}parent=parent.parentNode;
}},intoViewY:function(H,stop,I){var parent=H.parentNode;
var O=qx.dom.Node.getDocument(H);
var J=O.body;
var W,K,S;
var Y,V,Q;
var M,N,L;
var bb,bc,X,R;
var U,P,bd;
var ba=I===d;
var T=I===e;
stop=stop?stop.parentNode:O;
while(parent&&parent!=stop){if(parent.scrollHeight>parent.clientHeight&&(parent===J||qx.bom.element.Overflow.getY(parent)!=k)){if(parent===J){K=parent.scrollTop;
S=K+qx.bom.Viewport.getHeight();
Y=qx.bom.Viewport.getHeight();
V=parent.clientHeight;
Q=parent.scrollHeight;
M=0;
N=0;
L=0;
}else{W=qx.bom.element.Location.get(parent);
K=W.top;
S=W.bottom;
Y=parent.offsetHeight;
V=parent.clientHeight;
Q=parent.scrollHeight;
M=parseInt(qx.bom.element.Style.get(parent,h),10)||0;
N=parseInt(qx.bom.element.Style.get(parent,i),10)||0;
L=Y-V-M-N;
}bb=qx.bom.element.Location.get(H);
bc=bb.top;
X=bb.bottom;
R=H.offsetHeight;
U=bc-K-M;
P=X-S+N;
bd=0;
if(ba){bd=U;
}else if(T){bd=P+L;
}else if(U<0||R>V){bd=U;
}else if(P>0){bd=P+L;
}parent.scrollTop+=bd;
qx.event.Registration.fireNonBubblingEvent(parent,j);
}
if(parent===J){break;
}parent=parent.parentNode;
}},intoView:function(be,stop,bf,bg){this.intoViewX(be,stop,bf);
this.intoViewY(be,stop,bg);
}}});
})();
(function(){var j="borderTopWidth",i="borderLeftWidth",h="marginTop",g="marginLeft",f="engine.name",e="scroll",d="engine.version",c="border-box",b="borderBottomWidth",a="borderRightWidth",C="auto",B="padding",A="browser.quirksmode",z="qx.bom.element.Location",y="paddingLeft",x="static",w="marginBottom",v="visible",u="BODY",t="opera",q="paddingBottom",r="paddingTop",o="marginRight",p="position",m="margin",n="overflow",k="paddingRight",l="browser.documentmode",s="border";
qx.Class.define(z,{statics:{__hs:function(D,E){return qx.bom.element.Style.get(D,E,qx.bom.element.Style.COMPUTED_MODE,false);
},__ht:function(F,G){return parseInt(qx.bom.element.Style.get(F,G,qx.bom.element.Style.COMPUTED_MODE,false),10)||0;
},__hu:function(H){var K=0,top=0;
if(H.getBoundingClientRect&&qx.core.Environment.get(f)!=t){var J=qx.dom.Node.getWindow(H);
K-=qx.bom.Viewport.getScrollLeft(J);
top-=qx.bom.Viewport.getScrollTop(J);
}else{var I=qx.dom.Node.getDocument(H).body;
H=H.parentNode;
while(H&&H!=I){K+=H.scrollLeft;
top+=H.scrollTop;
H=H.parentNode;
}}return {left:K,top:top};
},__hv:qx.core.Environment.select(f,{"mshtml":function(L){var N=qx.dom.Node.getDocument(L);
var M=N.body;
var O=0;
var top=0;
O-=M.clientLeft+N.documentElement.clientLeft;
top-=M.clientTop+N.documentElement.clientTop;

if(!qx.core.Environment.get(A)){O+=this.__ht(M,i);
top+=this.__ht(M,j);
}return {left:O,top:top};
},"webkit":function(P){var R=qx.dom.Node.getDocument(P);
var Q=R.body;
var S=Q.offsetLeft;
var top=Q.offsetTop;
if(parseFloat(qx.core.Environment.get(d))<530.17){S+=this.__ht(Q,i);
top+=this.__ht(Q,j);
}return {left:S,top:top};
},"gecko":function(T){var U=qx.dom.Node.getDocument(T).body;
var V=U.offsetLeft;
var top=U.offsetTop;
if(parseFloat(qx.core.Environment.get(d))<1.9){V+=this.__ht(U,g);
top+=this.__ht(U,h);
}if(qx.bom.element.BoxSizing.get(U)!==c){V+=this.__ht(U,i);
top+=this.__ht(U,j);
}return {left:V,top:top};
},"default":function(W){var X=qx.dom.Node.getDocument(W).body;
var Y=X.offsetLeft;
var top=X.offsetTop;
return {left:Y,top:top};
}}),__hw:qx.core.Environment.select(f,{"mshtml|webkit":function(ba){var bc=qx.dom.Node.getDocument(ba);
if(ba.getBoundingClientRect){var bd=ba.getBoundingClientRect();
var be=bd.left;
var top=bd.top;
}else{var be=ba.offsetLeft;
var top=ba.offsetTop;
ba=ba.offsetParent;
var bb=bc.body;
while(ba&&ba!=bb){be+=ba.offsetLeft;
top+=ba.offsetTop;
be+=this.__ht(ba,i);
top+=this.__ht(ba,j);
ba=ba.offsetParent;
}}return {left:be,top:top};
},"gecko":function(bf){if(bf.getBoundingClientRect){var bi=bf.getBoundingClientRect();
var bj=Math.round(bi.left);
var top=Math.round(bi.top);
}else{var bj=0;
var top=0;
var bg=qx.dom.Node.getDocument(bf).body;
var bh=qx.bom.element.BoxSizing;

if(bh.get(bf)!==c){bj-=this.__ht(bf,i);
top-=this.__ht(bf,j);
}
while(bf&&bf!==bg){bj+=bf.offsetLeft;
top+=bf.offsetTop;
if(bh.get(bf)!==c){bj+=this.__ht(bf,i);
top+=this.__ht(bf,j);
}if(bf.parentNode&&this.__hs(bf.parentNode,n)!=v){bj+=this.__ht(bf.parentNode,i);
top+=this.__ht(bf.parentNode,j);
}bf=bf.offsetParent;
}}return {left:bj,top:top};
},"default":function(bk){var bm=0;
var top=0;
var bl=qx.dom.Node.getDocument(bk).body;
while(bk&&bk!==bl){bm+=bk.offsetLeft;
top+=bk.offsetTop;
bk=bk.offsetParent;
}return {left:bm,top:top};
}}),get:function(bn,bo){if(bn.tagName==u){var location=this.__hx(bn);
var bv=location.left;
var top=location.top;
}else{var bp=this.__hv(bn);
var bu=this.__hw(bn);
var scroll=this.__hu(bn);
var bv=bu.left+bp.left-scroll.left;
var top=bu.top+bp.top-scroll.top;
}var bq=bv+bn.offsetWidth;
var br=top+bn.offsetHeight;

if(bo){if(bo==B||bo==e){var bs=qx.bom.element.Overflow.getX(bn);

if(bs==e||bs==C){bq+=bn.scrollWidth-bn.offsetWidth+this.__ht(bn,i)+this.__ht(bn,a);
}var bt=qx.bom.element.Overflow.getY(bn);

if(bt==e||bt==C){br+=bn.scrollHeight-bn.offsetHeight+this.__ht(bn,j)+this.__ht(bn,b);
}}
switch(bo){case B:bv+=this.__ht(bn,y);
top+=this.__ht(bn,r);
bq-=this.__ht(bn,k);
br-=this.__ht(bn,q);
case e:bv-=bn.scrollLeft;
top-=bn.scrollTop;
bq-=bn.scrollLeft;
br-=bn.scrollTop;
case s:bv+=this.__ht(bn,i);
top+=this.__ht(bn,j);
bq-=this.__ht(bn,a);
br-=this.__ht(bn,b);
break;
case m:bv-=this.__ht(bn,g);
top-=this.__ht(bn,h);
bq+=this.__ht(bn,o);
br+=this.__ht(bn,w);
break;
}}return {left:bv,top:top,right:bq,bottom:br};
},__hx:qx.core.Environment.select(f,{"default":function(bw){var top=bw.offsetTop+this.__ht(bw,h);
var bx=bw.offsetLeft+this.__ht(bw,g);
return {left:bx,top:top};
},"mshtml":function(by){var top=by.offsetTop;
var bz=by.offsetLeft;

if(!((parseFloat(qx.core.Environment.get(d))<8||qx.core.Environment.get(l)<8)&&!qx.core.Environment.get(A))){top+=this.__ht(by,h);
bz+=this.__ht(by,g);
}return {left:bz,top:top};
},"gecko":function(bA){var top=bA.offsetTop+this.__ht(bA,h)+this.__ht(bA,i);
var bB=bA.offsetLeft+this.__ht(bA,g)+this.__ht(bA,j);
return {left:bB,top:top};
}}),getLeft:function(bC,bD){return this.get(bC,bD).left;
},getTop:function(bE,bF){return this.get(bE,bF).top;
},getRight:function(bG,bH){return this.get(bG,bH).right;
},getBottom:function(bI,bJ){return this.get(bI,bJ).bottom;
},getRelative:function(bK,bL,bM,bN){var bP=this.get(bK,bM);
var bO=this.get(bL,bN);
return {left:bP.left-bO.left,top:bP.top-bO.top,right:bP.right-bO.right,bottom:bP.bottom-bO.bottom};
},getPosition:function(bQ){return this.getRelative(bQ,this.getOffsetParent(bQ));
},getOffsetParent:function(bR){var bT=bR.offsetParent||document.body;
var bS=qx.bom.element.Style;

while(bT&&(!/^body|html$/i.test(bT.tagName)&&bS.get(bT,p)===x)){bT=bT.offsetParent;
}return bT;
}}});
})();
(function(){var d="event.pointer",c="none",b="qx.html.Decorator",a="absolute";
qx.Class.define(b,{extend:qx.html.Element,construct:function(e,f){var g={position:a,top:0,left:0};

if(qx.core.Environment.get(d)){g.pointerEvents=c;
}qx.html.Element.call(this,null,g);
this.__hy=e;
this.__cp=f||e.toHashCode();
this.useMarkup(e.getMarkup());
},members:{__cp:null,__hy:null,getId:function(){return this.__cp;
},getDecorator:function(){return this.__hy;
},resize:function(h,i){this.__hy.resize(this.getDomElement(),h,i);
},tint:function(j){this.__hy.tint(this.getDomElement(),j);
},getInsets:function(){return this.__hy.getInsets();
}},destruct:function(){this.__hy=null;
}});
})();
(function(){var j="Integer",i="_applyDimension",h="Boolean",g="_applyStretching",f="_applyMargin",e="shorthand",d="_applyAlign",c="allowShrinkY",b="bottom",a="baseline",x="marginBottom",w="qx.ui.core.LayoutItem",v="center",u="marginTop",t="allowGrowX",s="middle",r="marginLeft",q="allowShrinkX",p="top",o="right",m="marginRight",n="abstract",k="allowGrowY",l="left";
qx.Class.define(w,{type:n,extend:qx.core.Object,properties:{minWidth:{check:j,nullable:true,apply:i,init:null,themeable:true},width:{check:j,nullable:true,apply:i,init:null,themeable:true},maxWidth:{check:j,nullable:true,apply:i,init:null,themeable:true},minHeight:{check:j,nullable:true,apply:i,init:null,themeable:true},height:{check:j,nullable:true,apply:i,init:null,themeable:true},maxHeight:{check:j,nullable:true,apply:i,init:null,themeable:true},allowGrowX:{check:h,apply:g,init:true,themeable:true},allowShrinkX:{check:h,apply:g,init:true,themeable:true},allowGrowY:{check:h,apply:g,init:true,themeable:true},allowShrinkY:{check:h,apply:g,init:true,themeable:true},allowStretchX:{group:[t,q],mode:e,themeable:true},allowStretchY:{group:[k,c],mode:e,themeable:true},marginTop:{check:j,init:0,apply:f,themeable:true},marginRight:{check:j,init:0,apply:f,themeable:true},marginBottom:{check:j,init:0,apply:f,themeable:true},marginLeft:{check:j,init:0,apply:f,themeable:true},margin:{group:[u,m,x,r],mode:e,themeable:true},alignX:{check:[l,v,o],nullable:true,apply:d,themeable:true},alignY:{check:[p,s,b,a],nullable:true,apply:d,themeable:true}},members:{__hz:null,__hA:null,__hB:null,__hC:null,__hD:null,__hE:null,__hF:null,getBounds:function(){return this.__hE||this.__hA||null;
},clearSeparators:function(){},renderSeparator:function(y,z){},renderLayout:function(A,top,B,C){var D;
var E=null;

if(this.getHeight()==null&&this._hasHeightForWidth()){var E=this._getHeightForWidth(B);
}
if(E!=null&&E!==this.__hz){this.__hz=E;
qx.ui.core.queue.Layout.add(this);
return null;
}var G=this.__hA;

if(!G){G=this.__hA={};
}var F={};

if(A!==G.left||top!==G.top){F.position=true;
G.left=A;
G.top=top;
}
if(B!==G.width||C!==G.height){F.size=true;
G.width=B;
G.height=C;
}if(this.__hB){F.local=true;
delete this.__hB;
}
if(this.__hD){F.margin=true;
delete this.__hD;
}return F;
},isExcluded:function(){return false;
},hasValidLayout:function(){return !this.__hB;
},scheduleLayoutUpdate:function(){qx.ui.core.queue.Layout.add(this);
},invalidateLayoutCache:function(){this.__hB=true;
this.__hC=null;
},getSizeHint:function(H){var I=this.__hC;

if(I){return I;
}
if(H===false){return null;
}I=this.__hC=this._computeSizeHint();
if(this._hasHeightForWidth()&&this.__hz&&this.getHeight()==null){I.height=this.__hz;
}if(I.minWidth>I.width){I.width=I.minWidth;
}
if(I.maxWidth<I.width){I.width=I.maxWidth;
}
if(!this.getAllowGrowX()){I.maxWidth=I.width;
}
if(!this.getAllowShrinkX()){I.minWidth=I.width;
}if(I.minHeight>I.height){I.height=I.minHeight;
}
if(I.maxHeight<I.height){I.height=I.maxHeight;
}
if(!this.getAllowGrowY()){I.maxHeight=I.height;
}
if(!this.getAllowShrinkY()){I.minHeight=I.height;
}return I;
},_computeSizeHint:function(){var N=this.getMinWidth()||0;
var K=this.getMinHeight()||0;
var O=this.getWidth()||N;
var M=this.getHeight()||K;
var J=this.getMaxWidth()||Infinity;
var L=this.getMaxHeight()||Infinity;
return {minWidth:N,width:O,maxWidth:J,minHeight:K,height:M,maxHeight:L};
},_hasHeightForWidth:function(){var P=this._getLayout();

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

if(R&&R.hasHeightForWidth()){return R.getHeightForWidth(Q);
}return null;
},_getLayout:function(){return null;
},_applyMargin:function(){this.__hD=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.__hE;
},setUserBounds:function(S,top,T,U){this.__hE={left:S,top:top,width:T,height:U};
qx.ui.core.queue.Layout.add(this);
},resetUserBounds:function(){delete this.__hE;
qx.ui.core.queue.Layout.add(this);
},__hG:{},setLayoutProperties:function(V){if(V==null){return;
}var W=this.__hF;

if(!W){W=this.__hF={};
}var parent=this.getLayoutParent();

if(parent){parent.updateLayoutProperties(V);
}for(var X in V){if(V[X]==null){delete W[X];
}else{W[X]=V[X];
}}},getLayoutProperties:function(){return this.__hF||this.__hG;
},clearLayoutProperties:function(){delete this.__hF;
},updateLayoutProperties:function(Y){var ba=this._getLayout();

if(ba){var bb;
ba.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 bc=qx.core.Object.prototype.clone.call(this);
var bd=this.__hF;

if(bd){bc.__hF=qx.lang.Object.clone(bd);
}return bc;
}},destruct:function(){this.$$parent=this.$$subparent=this.__hF=this.__hA=this.__hE=this.__hC=null;
}});
})();
(function(){var b="qx.ui.core.queue.Layout",a="layout";
qx.Class.define(b,{statics:{__dG:{},remove:function(c){delete this.__dG[c.$$hash];
},add:function(d){this.__dG[d.$$hash]=d;
qx.ui.core.queue.Manager.scheduleFlush(a);
},isScheduled:function(e){return !!this.__dG[e.$$hash];
},flush:function(){var f=this.__hJ();
for(var i=f.length-1;i>=0;i--){var g=f[i];
if(g.hasValidLayout()){continue;
}if(g.isRootWidget()&&!g.hasUserBounds()){var j=g.getSizeHint();
g.renderLayout(0,0,j.width,j.height);
}else{var h=g.getBounds();
g.renderLayout(h.left,h.top,h.width,h.height);
}}},getNestingLevel:function(k){var l=this.__hI;
var n=0;
var parent=k;
while(true){if(l[parent.$$hash]!=null){n+=l[parent.$$hash];
break;
}
if(!parent.$$parent){break;
}parent=parent.$$parent;
n+=1;
}var m=n;

while(k&&k!==parent){l[k.$$hash]=m--;
k=k.$$parent;
}return n;
},__hH:function(){var t=qx.ui.core.queue.Visibility;
this.__hI={};
var s=[];
var r=this.__dG;
var o,q;

for(var p in r){o=r[p];

if(t.isVisible(o)){q=this.getNestingLevel(o);
if(!s[q]){s[q]={};
}s[q][p]=o;
delete r[p];
}}return s;
},__hJ:function(){var x=[];
var z=this.__hH();

for(var w=z.length-1;w>=0;w--){if(!z[w]){continue;
}
for(var v in z[w]){var u=z[w][v];
if(w==0||u.isRootWidget()||u.hasUserBounds()){x.push(u);
u.invalidateLayoutCache();
continue;
}var B=u.getSizeHint(false);

if(B){u.invalidateLayoutCache();
var y=u.getSizeHint();
var A=(!u.getBounds()||B.minWidth!==y.minWidth||B.width!==y.width||B.maxWidth!==y.maxWidth||B.minHeight!==y.minHeight||B.height!==y.height||B.maxHeight!==y.maxHeight);
}else{A=true;
}
if(A){var parent=u.getLayoutParent();

if(!z[w-1]){z[w-1]={};
}z[w-1][parent.$$hash]=parent;
}else{x.push(u);
}}}return x;
}}});
})();
(function(){var h="useraction",g="touchend",f='ie',d="browser.version",c="event.touch",b="qx.ui.core.queue.Manager",a="browser.name";
qx.Class.define(b,{statics:{__hK:false,__hL:{},__hM:0,MAX_RETRIES:10,scheduleFlush:function(i){var self=qx.ui.core.queue.Manager;
self.__hL[i]=true;

if(!self.__hK){self.__fr.schedule();
self.__hK=true;
}},flush:function(){if(qx.ui.core.queue.Manager.PAUSE){return;
}var self=qx.ui.core.queue.Manager;
if(self.__hN){return;
}self.__hN=true;
self.__fr.cancel();
var j=self.__hL;
self.__hO(function(){while(j.visibility||j.widget||j.appearance||j.layout||j.element){if(j.widget){delete j.widget;
qx.ui.core.queue.Widget.flush();
}
if(j.visibility){delete j.visibility;
qx.ui.core.queue.Visibility.flush();
}
if(j.appearance){delete j.appearance;
qx.ui.core.queue.Appearance.flush();
}if(j.widget||j.visibility||j.appearance){continue;
}
if(j.layout){delete j.layout;
qx.ui.core.queue.Layout.flush();
}if(j.widget||j.visibility||j.appearance||j.layout){continue;
}
if(j.element){delete j.element;
qx.html.Element.flush();
}}},function(){self.__hK=false;
});
self.__hO(function(){if(j.dispose){delete j.dispose;
qx.ui.core.queue.Dispose.flush();
}},function(){self.__hN=false;
});
self.__hM=0;
},__hO:function(k,l){var self=qx.ui.core.queue.Manager;

try{k();
}catch(e){self.__hK=false;
self.__hN=false;
self.__hM+=1;
if(qx.core.Environment.get(a)==f&&qx.core.Environment.get(d)<=7){l();
}
if(self.__hM<=self.MAX_RETRIES){self.scheduleFlush();
}else{throw new Error("Fatal Error: Flush terminated "+(self.__hM-1)+" times in a row"+" due to exceptions in user code. The application has to be reloaded!");
}throw e;
}finally{l();
}},__hP:function(e){var m=qx.ui.core.queue.Manager;
if(e.getData()==g){m.PAUSE=true;

if(m.__hQ){window.clearTimeout(m.__hQ);
}m.__hQ=window.setTimeout(function(){m.PAUSE=false;
m.__hQ=null;
m.flush();
},500);
}else{m.flush();
}}},defer:function(n){n.__fr=new qx.util.DeferredCall(n.flush);
qx.html.Element._scheduleFlush=n.scheduleFlush;
qx.event.Registration.addListener(window,h,qx.core.Environment.get(c)?n.__hP:n.flush);
}});
})();
(function(){var b="qx.ui.core.queue.Widget",a="widget";
qx.Class.define(b,{statics:{__dG:[],remove:function(c){qx.lang.Array.remove(this.__dG,c);
},add:function(d){var e=this.__dG;

if(qx.lang.Array.contains(e,d)){return;
}e.unshift(d);
qx.ui.core.queue.Manager.scheduleFlush(a);
},flush:function(){var f=this.__dG;
var g;

for(var i=f.length-1;i>=0;i--){g=f[i];
f.splice(i,1);
g.syncWidget();
}if(f.length!=0){return;
}this.__dG=[];
}}});
})();
(function(){var b="qx.ui.core.queue.Visibility",a="visibility";
qx.Class.define(b,{statics:{__dG:[],__cO:{},remove:function(c){delete this.__cO[c.$$hash];
qx.lang.Array.remove(this.__dG,c);
},isVisible:function(d){return this.__cO[d.$$hash]||false;
},__hR:function(e){var g=this.__cO;
var f=e.$$hash;
var h;
if(e.isExcluded()){h=false;
}else{var parent=e.$$parent;

if(parent){h=this.__hR(parent);
}else{h=e.isRootWidget();
}}return g[f]=h;
},add:function(j){var k=this.__dG;

if(qx.lang.Array.contains(k,j)){return;
}k.unshift(j);
qx.ui.core.queue.Manager.scheduleFlush(a);
},flush:function(){var o=this.__dG;
var p=this.__cO;
for(var i=o.length-1;i>=0;i--){var n=o[i].$$hash;

if(p[n]!=null){o[i].addChildrenToQueue(o);
}}var l={};

for(var i=o.length-1;i>=0;i--){var n=o[i].$$hash;
l[n]=p[n];
p[n]=null;
}for(var i=o.length-1;i>=0;i--){var m=o[i];
var n=m.$$hash;
o.splice(i,1);
if(p[n]==null){this.__hR(m);
}if(p[n]&&p[n]!=l[n]){m.checkAppearanceNeeds();
}}this.__dG=[];
}}});
})();
(function(){var b="appearance",a="qx.ui.core.queue.Appearance";
qx.Class.define(a,{statics:{__dG:[],remove:function(c){qx.lang.Array.remove(this.__dG,c);
},add:function(d){var e=this.__dG;

if(qx.lang.Array.contains(e,d)){return;
}e.unshift(d);
qx.ui.core.queue.Manager.scheduleFlush(b);
},has:function(f){return qx.lang.Array.contains(this.__dG,f);
},flush:function(){var j=qx.ui.core.queue.Visibility;
var g=this.__dG;
var h;

for(var i=g.length-1;i>=0;i--){h=g[i];
g.splice(i,1);
if(j.isVisible(h)){h.syncAppearance();
}else{h.$$stateChanges=true;
}}}}});
})();
(function(){var b="dispose",a="qx.ui.core.queue.Dispose";
qx.Class.define(a,{statics:{__dG:[],add:function(c){var d=this.__dG;

if(qx.lang.Array.contains(d,c)){return;
}d.unshift(c);
qx.ui.core.queue.Manager.scheduleFlush(b);
},isEmpty:function(){return this.__dG.length==0;
},flush:function(){var e=this.__dG;

for(var i=e.length-1;i>=0;i--){var f=e[i];
e.splice(i,1);
f.dispose();
}if(e.length!=0){return;
}this.__dG=[];
}}});
})();
(function(){var bY="px",bX="Boolean",bW="qx.event.type.Drag",bV="qx.event.type.Mouse",bU="visible",bT="qx.event.type.Focus",bS="Integer",bR="qx.event.type.Touch",bQ="qx.event.type.Data",bP="excluded",bx="_applyPadding",bw="qx.event.type.Event",bv="on",bu="hidden",bt="engine.name",bs="contextmenu",br="String",bq="tabIndex",bp="focused",bo="changeVisibility",cg="mshtml",ch="hovered",ce="qx.event.type.KeySequence",cf="absolute",cc="backgroundColor",cd="drag",ca="div",cb="disabled",ci="move",cj="dragstart",bI="qx.dynlocale",bH="dragchange",bK="dragend",bJ="resize",bM="Decorator",bL="zIndex",bO="opacity",bN="default",bG="Color",bF="changeToolTipText",c="beforeContextmenuOpen",d="_applyNativeContextMenu",f="_applyBackgroundColor",g="event.pointer",h="_applyFocusable",j="changeShadow",k="qx.event.type.KeyInput",m="createChildControl",n="__hS",o="__ic",cn="Font",cm="_applyShadow",cl="_applyEnabled",ck="_applySelectable",cr="Number",cq="_applyKeepActive",cp="_applyVisibility",co="repeat",ct="qxDraggable",cs="syncAppearance",N="paddingLeft",O="_applyDroppable",L="#",M="qx.event.type.MouseWheel",R="_applyCursor",S="__hT",P="_applyDraggable",Q="changeTextColor",J="$$widget",K="changeContextMenu",w="paddingTop",v="changeSelectable",y="hideFocus",x="none",s="outline",r="_applyAppearance",u="_applyOpacity",t="url(",q=")",p="qx.ui.core.Widget",X="_applyFont",Y="cursor",ba="qxDroppable",bb="changeZIndex",T="changeEnabled",U="__hW",V="__ig",W="changeFont",bc="_applyDecorator",bd="_applyZIndex",G="_applyTextColor",F="qx.ui.menu.Menu",E="_applyToolTipText",D="__ie",C="__hY",B="true",A="widget",z="changeDecorator",I="_applyTabIndex",H="changeAppearance",be="shorthand",bf="/",bg="",bh="_applyContextMenu",bi="paddingBottom",bj="changeNativeContextMenu",bk="undefined",bl="qx.ui.tooltip.ToolTip",bm="qxKeepActive",bn="_applyKeepFocus",bB="paddingRight",bA="changeBackgroundColor",bz="changeLocale",by="__hX",bE="qxKeepFocus",bD="opera",bC="qx/static/blank.gif";
qx.Class.define(p,{extend:qx.ui.core.LayoutItem,include:[qx.locale.MTranslation],construct:function(){qx.ui.core.LayoutItem.call(this);
this.__hS=this._createContainerElement();
this.__hT=this.__if();
this.__hS.add(this.__hT);
this.initFocusable();
this.initSelectable();
this.initNativeContextMenu();
},events:{appear:bw,disappear:bw,createChildControl:bQ,resize:bQ,move:bQ,syncAppearance:bQ,mousemove:bV,mouseover:bV,mouseout:bV,mousedown:bV,mouseup:bV,click:bV,dblclick:bV,contextmenu:bV,beforeContextmenuOpen:bQ,mousewheel:M,touchstart:bR,touchend:bR,touchmove:bR,touchcancel:bR,tap:bR,swipe:bR,keyup:ce,keydown:ce,keypress:ce,keyinput:k,focus:bT,blur:bT,focusin:bT,focusout:bT,activate:bT,deactivate:bT,capture:bw,losecapture:bw,drop:bW,dragleave:bW,dragover:bW,drag:bW,dragstart:bW,dragend:bW,dragchange:bW,droprequest:bW},properties:{paddingTop:{check:bS,init:0,apply:bx,themeable:true},paddingRight:{check:bS,init:0,apply:bx,themeable:true},paddingBottom:{check:bS,init:0,apply:bx,themeable:true},paddingLeft:{check:bS,init:0,apply:bx,themeable:true},padding:{group:[w,bB,bi,N],mode:be,themeable:true},zIndex:{nullable:true,init:null,apply:bd,event:bb,check:bS,themeable:true},decorator:{nullable:true,init:null,apply:bc,event:z,check:bM,themeable:true},shadow:{nullable:true,init:null,apply:cm,event:j,check:bM,themeable:true},backgroundColor:{nullable:true,check:bG,apply:f,event:bA,themeable:true},textColor:{nullable:true,check:bG,apply:G,event:Q,themeable:true,inheritable:true},font:{nullable:true,apply:X,check:cn,event:W,themeable:true,inheritable:true,dereference:true},opacity:{check:cr,apply:u,themeable:true,nullable:true,init:null},cursor:{check:br,apply:R,themeable:true,inheritable:true,nullable:true,init:null},toolTip:{check:bl,nullable:true},toolTipText:{check:br,nullable:true,event:bF,apply:E},toolTipIcon:{check:br,nullable:true,event:bF},blockToolTip:{check:bX,init:false},visibility:{check:[bU,bu,bP],init:bU,apply:cp,event:bo},enabled:{init:true,check:bX,inheritable:true,apply:cl,event:T},anonymous:{init:false,check:bX},tabIndex:{check:bS,nullable:true,apply:I},focusable:{check:bX,init:false,apply:h},keepFocus:{check:bX,init:false,apply:bn},keepActive:{check:bX,init:false,apply:cq},draggable:{check:bX,init:false,apply:P},droppable:{check:bX,init:false,apply:O},selectable:{check:bX,init:false,event:v,apply:ck},contextMenu:{check:F,apply:bh,nullable:true,event:K},nativeContextMenu:{check:bX,init:false,themeable:true,event:bj,apply:d},appearance:{check:br,init:A,apply:r,event:H}},statics:{DEBUG:false,getWidgetByElement:function(cu,cv){while(cu){var cw=cu.$$widget;
if(cw!=null){var cx=qx.core.ObjectRegistry.fromHashCode(cw);
if(!cv||!cx.getAnonymous()){return cx;
}}try{cu=cu.parentNode;
}catch(e){return null;
}}return null;
},contains:function(parent,cy){while(cy){if(parent==cy){return true;
}cy=cy.getLayoutParent();
}return false;
},__hU:new qx.ui.core.DecoratorFactory(),__hV:new qx.ui.core.DecoratorFactory()},members:{__hS:null,__hT:null,__hW:null,__hX:null,__hY:null,__ia:null,__ib:null,__ic:null,_getLayout:function(){return this.__ic;
},_setLayout:function(cz){if(this.__ic){this.__ic.connectToWidget(null);
}
if(cz){cz.connectToWidget(this);
}this.__ic=cz;
qx.ui.core.queue.Layout.add(this);
},setLayoutParent:function(parent){if(this.$$parent===parent){return;
}var cA=this.getContainerElement();

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

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

if(cD.top!=cC.top||cD.right!=cC.right||cD.bottom!=cC.bottom||cD.left!=cC.left){return true;
}return false;
},renderLayout:function(cE,top,cF,cG){var cP=qx.ui.core.LayoutItem.prototype.renderLayout.call(this,cE,top,cF,cG);
if(!cP){return null;
}var cI=this.getContainerElement();
var content=this.getContentElement();
var cM=cP.size||this._updateInsets;
var cQ=bY;
var cN={};
if(cP.position){cN.left=cE+cQ;
cN.top=top+cQ;
}if(cP.size){cN.width=cF+cQ;
cN.height=cG+cQ;
}
if(cP.position||cP.size){cI.setStyles(cN);
}
if(cM||cP.local||cP.margin){var cH=this.getInsets();
var innerWidth=cF-cH.left-cH.right;
var innerHeight=cG-cH.top-cH.bottom;
innerWidth=innerWidth<0?0:innerWidth;
innerHeight=innerHeight<0?0:innerHeight;
}var cK={};

if(this._updateInsets){cK.left=cH.left+cQ;
cK.top=cH.top+cQ;
}
if(cM){cK.width=innerWidth+cQ;
cK.height=innerHeight+cQ;
}
if(cM||this._updateInsets){content.setStyles(cK);
}
if(cP.size){var cO=this.__hY;

if(cO){cO.setStyles({width:cF+bY,height:cG+bY});
}}
if(cP.size||this._updateInsets){if(this.__hW){this.__hW.resize(cF,cG);
}}
if(cP.size){if(this.__hX){var cH=this.__hX.getInsets();
var cL=cF+cH.left+cH.right;
var cJ=cG+cH.top+cH.bottom;
this.__hX.resize(cL,cJ);
}}
if(cM||cP.local||cP.margin){if(this.__ic&&this.hasLayoutChildren()){this.__ic.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(cP.position&&this.hasListener(ci)){this.fireDataEvent(ci,this.getBounds());
}
if(cP.size&&this.hasListener(bJ)){this.fireDataEvent(bJ,this.getBounds());
}delete this._updateInsets;
return cP;
},__ie:null,clearSeparators:function(){var cS=this.__ie;

if(!cS){return;
}var cT=qx.ui.core.Widget.__hU;
var content=this.getContentElement();
var cR;

for(var i=0,l=cS.length;i<l;i++){cR=cS[i];
cT.poolDecorator(cR);
content.remove(cR);
}cS.length=0;
},renderSeparator:function(cU,cV){var cW=qx.ui.core.Widget.__hU.getDecoratorElement(cU);
this.getContentElement().add(cW);
cW.resize(cV.width,cV.height);
cW.setStyles({left:cV.left+bY,top:cV.top+bY});
if(!this.__ie){this.__ie=[cW];
}else{this.__ie.push(cW);
}},_computeSizeHint:function(){var de=this.getWidth();
var dd=this.getMinWidth();
var cY=this.getMaxWidth();
var dc=this.getHeight();
var da=this.getMinHeight();
var db=this.getMaxHeight();
var df=this._getContentHint();
var cX=this.getInsets();
var dh=cX.left+cX.right;
var dg=cX.top+cX.bottom;

if(de==null){de=df.width+dh;
}
if(dc==null){dc=df.height+dg;
}
if(dd==null){dd=dh;

if(df.minWidth!=null){dd+=df.minWidth;
if(dd>cY&&cY!=null){dd=cY;
}}}
if(da==null){da=dg;

if(df.minHeight!=null){da+=df.minHeight;
if(da>db&&db!=null){da=db;
}}}
if(cY==null){if(df.maxWidth==null){cY=Infinity;
}else{cY=df.maxWidth+dh;
if(cY<dd&&dd!=null){cY=dd;
}}}
if(db==null){if(df.maxHeight==null){db=Infinity;
}else{db=df.maxHeight+dg;
if(db<da&&da!=null){db=da;
}}}return {width:de,minWidth:dd,maxWidth:cY,height:dc,minHeight:da,maxHeight:db};
},invalidateLayoutCache:function(){qx.ui.core.LayoutItem.prototype.invalidateLayoutCache.call(this);

if(this.__ic){this.__ic.invalidateLayoutCache();
}},_getContentHint:function(){var dj=this.__ic;

if(dj){if(this.hasLayoutChildren()){var di;
var dk=dj.getSizeHint();
return dk;
}else{return {width:0,height:0};
}}else{return {width:100,height:50};
}},_getHeightForWidth:function(dl){var dq=this.getInsets();
var dt=dq.left+dq.right;
var ds=dq.top+dq.bottom;
var dr=dl-dt;
var dn=this._getLayout();

if(dn&&dn.hasHeightForWidth()){var dm=dn.getHeightForWidth(dl);
}else{dm=this._getContentHeightForWidth(dr);
}var dp=dm+ds;
return dp;
},_getContentHeightForWidth:function(du){throw new Error("Abstract method call: _getContentHeightForWidth()!");
},getInsets:function(){var top=this.getPaddingTop();
var dw=this.getPaddingRight();
var dy=this.getPaddingBottom();
var dx=this.getPaddingLeft();

if(this.__hW){var dv=this.__hW.getInsets();
top+=dv.top;
dw+=dv.right;
dy+=dv.bottom;
dx+=dv.left;
}return {"top":top,"right":dw,"bottom":dy,"left":dx};
},getInnerSize:function(){var dA=this.getBounds();

if(!dA){return null;
}var dz=this.getInsets();
return {width:dA.width-dz.left-dz.right,height:dA.height-dz.top-dz.bottom};
},show:function(){this.setVisibility(bU);
},hide:function(){this.setVisibility(bu);
},exclude:function(){this.setVisibility(bP);
},isVisible:function(){return this.getVisibility()===bU;
},isHidden:function(){return this.getVisibility()!==bU;
},isExcluded:function(){return this.getVisibility()===bP;
},isSeeable:function(){var dC=this.getContainerElement().getDomElement();

if(dC){return dC.offsetWidth>0;
}var dB=this;

do{if(!dB.isVisible()){return false;
}
if(dB.isRootWidget()){return true;
}dB=dB.getLayoutParent();
}while(dB);
return false;
},_createContainerElement:function(){var dE={"$$widget":this.toHashCode()};
var dD={zIndex:0,position:cf};
return new qx.html.Element(ca,dD,dE);
},__if:function(){var dF=this._createContentElement();
dF.setStyles({"position":cf,"zIndex":10});
return dF;
},_createContentElement:function(){return new qx.html.Element(ca,{overflowX:bu,overflowY:bu});
},getContainerElement:function(){return this.__hS;
},getContentElement:function(){return this.__hT;
},getDecoratorElement:function(){return this.__hW||null;
},getShadowElement:function(){return this.__hX||null;
},__ig:null,getLayoutChildren:function(){var dH=this.__ig;

if(!dH){return this.__ih;
}var dI;

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

if(dG.hasUserBounds()||dG.isExcluded()){if(dI==null){dI=dH.concat();
}qx.lang.Array.remove(dI,dG);
}}return dI||dH;
},scheduleLayoutUpdate:function(){qx.ui.core.queue.Layout.add(this);
},invalidateLayoutChildren:function(){var dJ=this.__ic;

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

if(!dK){return false;
}var dL;

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

if(!dL.hasUserBounds()&&!dL.isExcluded()){return true;
}}return false;
},getChildrenContainer:function(){return this;
},__ih:[],_getChildren:function(){return this.__ig||this.__ih;
},_indexOf:function(dM){var dN=this.__ig;

if(!dN){return -1;
}return dN.indexOf(dM);
},_hasChildren:function(){var dO=this.__ig;
return dO!=null&&(!!dO[0]);
},addChildrenToQueue:function(dP){var dQ=this.__ig;

if(!dQ){return;
}var dR;

for(var i=0,l=dQ.length;i<l;i++){dR=dQ[i];
dP.push(dR);
dR.addChildrenToQueue(dP);
}},_add:function(dS,dT){if(dS.getLayoutParent()==this){qx.lang.Array.remove(this.__ig,dS);
}
if(this.__ig){this.__ig.push(dS);
}else{this.__ig=[dS];
}this.__ii(dS,dT);
},_addAt:function(dU,dV,dW){if(!this.__ig){this.__ig=[];
}if(dU.getLayoutParent()==this){qx.lang.Array.remove(this.__ig,dU);
}var dX=this.__ig[dV];

if(dX===dU){dU.setLayoutProperties(dW);
}
if(dX){qx.lang.Array.insertBefore(this.__ig,dU,dX);
}else{this.__ig.push(dU);
}this.__ii(dU,dW);
},_addBefore:function(dY,ea,eb){if(dY==ea){return;
}
if(!this.__ig){this.__ig=[];
}if(dY.getLayoutParent()==this){qx.lang.Array.remove(this.__ig,dY);
}qx.lang.Array.insertBefore(this.__ig,dY,ea);
this.__ii(dY,eb);
},_addAfter:function(ec,ed,ee){if(ec==ed){return;
}
if(!this.__ig){this.__ig=[];
}if(ec.getLayoutParent()==this){qx.lang.Array.remove(this.__ig,ec);
}qx.lang.Array.insertAfter(this.__ig,ec,ed);
this.__ii(ec,ee);
},_remove:function(ef){if(!this.__ig){throw new Error("This widget has no children!");
}qx.lang.Array.remove(this.__ig,ef);
this.__ij(ef);
},_removeAt:function(eg){if(!this.__ig){throw new Error("This widget has no children!");
}var eh=this.__ig[eg];
qx.lang.Array.removeAt(this.__ig,eg);
this.__ij(eh);
return eh;
},_removeAll:function(){if(!this.__ig){return [];
}var ei=this.__ig.concat();
this.__ig.length=0;

for(var i=ei.length-1;i>=0;i--){this.__ij(ei[i]);
}qx.ui.core.queue.Layout.add(this);
return ei;
},_afterAddChild:null,_afterRemoveChild:null,__ii:function(ej,ek){var parent=ej.getLayoutParent();

if(parent&&parent!=this){parent._remove(ej);
}ej.setLayoutParent(this);
if(ek){ej.setLayoutProperties(ek);
}else{this.updateLayoutProperties();
}if(this._afterAddChild){this._afterAddChild(ej);
}},__ij:function(em){if(em.getLayoutParent()!==this){throw new Error("Remove Error: "+em+" is not a child of this widget!");
}em.setLayoutParent(null);
if(this.__ic){this.__ic.invalidateChildrenCache();
}qx.ui.core.queue.Layout.add(this);
if(this._afterRemoveChild){this._afterRemoveChild(em);
}},capture:function(en){this.getContainerElement().capture(en);
},releaseCapture:function(){this.getContainerElement().releaseCapture();
},_applyPadding:function(eo,ep,name){this._updateInsets=true;
qx.ui.core.queue.Layout.add(this);
},_createProtectorElement:function(){if(this.__hY){return;
}var eq=this.__hY=new qx.html.Element;
eq.setStyles({position:cf,top:0,left:0,zIndex:7});
var er=this.getBounds();

if(er){this.__hY.setStyles({width:er.width+bY,height:er.height+bY});
}if((qx.core.Environment.get(bt)==cg)){eq.setStyles({backgroundImage:t+qx.util.ResourceManager.getInstance().toUri(bC)+q,backgroundRepeat:co});
}this.getContainerElement().add(eq);
},_applyDecorator:function(es,et){var ew=qx.ui.core.Widget.__hU;
var eu=this.getContainerElement();
if(!this.__hY&&!qx.core.Environment.get(g)){this._createProtectorElement();
}if(et){eu.remove(this.__hW);
ew.poolDecorator(this.__hW);
}if(es){var ev=this.__hW=ew.getDecoratorElement(es);
ev.setStyle(bL,5);
eu.add(ev);
}else{delete this.__hW;
}this._applyBackgroundColor(this.getBackgroundColor());
if(this.__id(et,es)){this._updateInsets=true;
qx.ui.core.queue.Layout.add(this);
}else if(es){var ex=this.getBounds();

if(ex){ev.resize(ex.width,ex.height);
this.__hY&&this.__hY.setStyles({width:ex.width+bY,height:ex.height+bY});
}}},_applyShadow:function(ey,ez){var eG=qx.ui.core.Widget.__hV;
var eB=this.getContainerElement();
if(ez){eB.remove(this.__hX);
eG.poolDecorator(this.__hX);
}if(ey){var eD=this.__hX=eG.getDecoratorElement(ey);
eB.add(eD);
var eF=eD.getInsets();
eD.setStyles({left:(-eF.left)+bY,top:(-eF.top)+bY});
var eE=this.getBounds();

if(eE){var eC=eE.width+eF.left+eF.right;
var eA=eE.height+eF.top+eF.bottom;
eD.resize(eC,eA);
}eD.tint(null);
}else{delete this.__hX;
}},_applyToolTipText:function(eH,eI){if(qx.core.Environment.get(bI)){if(this.__ib){return;
}var eJ=qx.locale.Manager.getInstance();
this.__ib=eJ.addListener(bz,function(){var eK=this.getToolTipText();

if(eK&&eK.translate){this.setToolTipText(eK.translate());
}},this);
}},_applyTextColor:function(eL,eM){},_applyZIndex:function(eN,eO){this.getContainerElement().setStyle(bL,eN==null?0:eN);
},_applyVisibility:function(eP,eQ){var eR=this.getContainerElement();

if(eP===bU){eR.show();
}else{eR.hide();
}var parent=this.$$parent;

if(parent&&(eQ==null||eP==null||eQ===bP||eP===bP)){parent.invalidateLayoutChildren();
}qx.ui.core.queue.Visibility.add(this);
},_applyOpacity:function(eS,eT){this.getContainerElement().setStyle(bO,eS==1?null:eS);
if((qx.core.Environment.get(bt)==cg)&&qx.bom.element.Decoration.isAlphaImageLoaderEnabled()){if(!qx.Class.isSubClassOf(this.getContentElement().constructor,qx.html.Image)){var eU=(eS==1||eS==null)?null:0.99;
this.getContentElement().setStyle(bO,eU);
}}},_applyCursor:function(eV,eW){if(eV==null&&!this.isSelectable()){eV=bN;
}this.getContainerElement().setStyle(Y,eV,qx.core.Environment.get(bt)==bD);
},_applyBackgroundColor:function(eX,eY){var fa=this.getBackgroundColor();
var fc=this.getContainerElement();

if(this.__hW){this.__hW.tint(fa);
fc.setStyle(cc,null);
}else{var fb=qx.theme.manager.Color.getInstance().resolve(fa);
fc.setStyle(cc,fb);
}},_applyFont:function(fd,fe){},__ik:null,$$stateChanges:null,_forwardStates:null,hasState:function(ff){var fg=this.__ik;
return !!fg&&!!fg[ff];
},addState:function(fh){var fi=this.__ik;

if(!fi){fi=this.__ik={};
}
if(fi[fh]){return;
}this.__ik[fh]=true;
if(fh===ch){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 fl=this.__in;

if(forward&&forward[fh]&&fl){var fj;

for(var fk in fl){fj=fl[fk];

if(fj instanceof qx.ui.core.Widget){fl[fk].addState(fh);
}}}},removeState:function(fm){var fn=this.__ik;

if(!fn||!fn[fm]){return;
}delete this.__ik[fm];
if(fm===ch){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 fq=this.__in;

if(forward&&forward[fm]&&fq){for(var fp in fq){var fo=fq[fp];

if(fo instanceof qx.ui.core.Widget){fo.removeState(fm);
}}}},replaceState:function(fr,fs){var ft=this.__ik;

if(!ft){ft=this.__ik={};
}
if(!ft[fs]){ft[fs]=true;
}
if(ft[fr]){delete ft[fr];
}
if(!qx.ui.core.queue.Visibility.isVisible(this)){this.$$stateChanges=true;
}else{qx.ui.core.queue.Appearance.add(this);
}var forward=this._forwardStates;
var fw=this.__in;

if(forward&&forward[fs]&&fw){for(var fv in fw){var fu=fw[fv];

if(fu instanceof qx.ui.core.Widget){fu.replaceState(fr,fs);
}}}},__il:null,__im:null,syncAppearance:function(){var fB=this.__ik;
var fA=this.__il;
var fC=qx.theme.manager.Appearance.getInstance();
var fy=qx.core.Property.$$method.setThemed;
var fG=qx.core.Property.$$method.resetThemed;
if(this.__im){delete this.__im;
if(fA){var fx=fC.styleFrom(fA,fB,null,this.getAppearance());
fA=null;
}}if(!fA){var fz=this;
var fF=[];

do{fF.push(fz.$$subcontrol||fz.getAppearance());
}while(fz=fz.$$subparent);
fA=fF.reverse().join(bf).replace(/#[0-9]+/g,bg);
this.__il=fA;
}var fD=fC.styleFrom(fA,fB,null,this.getAppearance());

if(fD){var fE;

if(fx){for(var fE in fx){if(fD[fE]===undefined){this[fG[fE]]();
}}}for(var fE in fD){fD[fE]===undefined?this[fG[fE]]():this[fy[fE]](fD[fE]);
}}else if(fx){for(var fE in fx){this[fG[fE]]();
}}this.fireDataEvent(cs,this.__ik);
},_applyAppearance:function(fH,fI){this.updateAppearance();
},checkAppearanceNeeds:function(){if(!this.__ia){qx.ui.core.queue.Appearance.add(this);
this.__ia=true;
}else if(this.$$stateChanges){qx.ui.core.queue.Appearance.add(this);
delete this.$$stateChanges;
}},updateAppearance:function(){this.__im=true;
qx.ui.core.queue.Appearance.add(this);
var fL=this.__in;

if(fL){var fJ;

for(var fK in fL){fJ=fL[fK];

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

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

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

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

if(!fN||!fN.getEnabled()){return null;
}}return fN;
},getFocusElement:function(){return this.getContainerElement();
},isTabable:function(){return (!!this.getContainerElement().getDomElement())&&this.isFocusable();
},_applyFocusable:function(fO,fP){var fQ=this.getFocusElement();
if(fO){var fR=this.getTabIndex();

if(fR==null){fR=1;
}fQ.setAttribute(bq,fR);
if((qx.core.Environment.get(bt)==cg)){fQ.setAttribute(y,B);
}else{fQ.setStyle(s,x);
}}else{if(fQ.isNativelyFocusable()){fQ.setAttribute(bq,-1);
}else if(fP){fQ.setAttribute(bq,null);
}}},_applyKeepFocus:function(fS){var fT=this.getFocusElement();
fT.setAttribute(bE,fS?bv:null);
},_applyKeepActive:function(fU){var fV=this.getContainerElement();
fV.setAttribute(bm,fU?bv:null);
},_applyTabIndex:function(fW){if(fW==null){fW=1;
}else if(fW<1||fW>32000){throw new Error("TabIndex property must be between 1 and 32000");
}
if(this.getFocusable()&&fW!=null){this.getFocusElement().setAttribute(bq,fW);
}},_applySelectable:function(fX,fY){if(fY!==null){this._applyCursor(this.getCursor());
}this.getContentElement().setSelectable(fX);
},_applyEnabled:function(ga,gb){if(ga===false){this.addState(cb);
this.removeState(ch);
if(this.isFocusable()){this.removeState(bp);
this._applyFocusable(false,true);
}if(this.isDraggable()){this._applyDraggable(false,true);
}if(this.isDroppable()){this._applyDroppable(false,true);
}}else{this.removeState(cb);
if(this.isFocusable()){this._applyFocusable(true,false);
}if(this.isDraggable()){this._applyDraggable(true,false);
}if(this.isDroppable()){this._applyDroppable(true,false);
}}},_applyNativeContextMenu:function(gc,gd,name){},_applyContextMenu:function(ge,gf){if(gf){gf.removeState(bs);

if(gf.getOpener()==this){gf.resetOpener();
}
if(!ge){this.removeListener(bs,this._onContextMenuOpen);
gf.removeListener(bo,this._onBeforeContextMenuOpen,this);
}}
if(ge){ge.setOpener(this);
ge.addState(bs);

if(!gf){this.addListener(bs,this._onContextMenuOpen);
ge.addListener(bo,this._onBeforeContextMenuOpen,this);
}}},_onContextMenuOpen:function(e){this.getContextMenu().openAtMouse(e);
e.stop();
},_onBeforeContextMenuOpen:function(e){if(e.getData()==bU&&this.hasListener(c)){this.fireDataEvent(c,e);
}},_onStopEvent:function(e){e.stopPropagation();
},_applyDraggable:function(gg,gh){if(!this.isEnabled()&&gg===true){gg=false;
}qx.ui.core.DragDropCursor.getInstance();
if(gg){this.addListener(cj,this._onDragStart);
this.addListener(cd,this._onDrag);
this.addListener(bK,this._onDragEnd);
this.addListener(bH,this._onDragChange);
}else{this.removeListener(cj,this._onDragStart);
this.removeListener(cd,this._onDrag);
this.removeListener(bK,this._onDragEnd);
this.removeListener(bH,this._onDragChange);
}this.getContainerElement().setAttribute(ct,gg?bv:null);
},_applyDroppable:function(gi,gj){if(!this.isEnabled()&&gi===true){gi=false;
}this.getContainerElement().setAttribute(ba,gi?bv:null);
},_onDragStart:function(e){qx.ui.core.DragDropCursor.getInstance().placeToMouse(e);
this.getApplicationRoot().setGlobalCursor(bN);
},_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 gk=qx.ui.core.DragDropCursor.getInstance();
var gl=e.getCurrentAction();
gl?gk.setAction(gl):gk.resetAction();
},visualizeFocus:function(){this.addState(bp);
},visualizeBlur:function(){this.removeState(bp);
},scrollChildIntoView:function(gm,gn,go,gp){gp=typeof gp==bk?true:gp;
var gq=qx.ui.core.queue.Layout;
var parent;
if(gp){gp=!gq.isScheduled(gm);
parent=gm.getLayoutParent();
if(gp&&parent){gp=!gq.isScheduled(parent);
if(gp){parent.getChildren().forEach(function(gr){gp=gp&&!gq.isScheduled(gr);
});
}}}this.scrollChildIntoViewX(gm,gn,gp);
this.scrollChildIntoViewY(gm,go,gp);
},scrollChildIntoViewX:function(gs,gt,gu){this.getContentElement().scrollChildIntoViewX(gs.getContainerElement(),gt,gu);
},scrollChildIntoViewY:function(gv,gw,gx){this.getContentElement().scrollChildIntoViewY(gv.getContainerElement(),gw,gx);
},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(gy){if(!this.__in){return false;
}return !!this.__in[gy];
},__in:null,_getCreatedChildControls:function(){return this.__in;
},getChildControl:function(gz,gA){if(!this.__in){if(gA){return null;
}this.__in={};
}var gB=this.__in[gz];

if(gB){return gB;
}
if(gA===true){return null;
}return this._createChildControl(gz);
},_showChildControl:function(gC){var gD=this.getChildControl(gC);
gD.show();
return gD;
},_excludeChildControl:function(gE){var gF=this.getChildControl(gE,true);

if(gF){gF.exclude();
}},_isChildControlVisible:function(gG){var gH=this.getChildControl(gG,true);

if(gH){return gH.isVisible();
}return false;
},_createChildControl:function(gI){if(!this.__in){this.__in={};
}else if(this.__in[gI]){throw new Error("Child control '"+gI+"' already created!");
}var gM=gI.indexOf(L);

if(gM==-1){var gJ=this._createChildControlImpl(gI);
}else{var gJ=this._createChildControlImpl(gI.substring(0,gM),gI.substring(gM+1,gI.length));
}
if(!gJ){throw new Error("Unsupported control: "+gI);
}gJ.$$subcontrol=gI;
gJ.$$subparent=this;
var gK=this.__ik;
var forward=this._forwardStates;

if(gK&&forward&&gJ instanceof qx.ui.core.Widget){for(var gL in gK){if(forward[gL]){gJ.addState(gL);
}}}this.fireDataEvent(m,gJ);
return this.__in[gI]=gJ;
},_createChildControlImpl:function(gN,gO){return null;
},_disposeChildControls:function(){var gS=this.__in;

if(!gS){return;
}var gQ=qx.ui.core.Widget;

for(var gR in gS){var gP=gS[gR];

if(!gQ.contains(this,gP)){gP.destroy();
}else{gP.dispose();
}}delete this.__in;
},_findTopControl:function(){var gT=this;

while(gT){if(!gT.$$subparent){return gT;
}gT=gT.$$subparent;
}return null;
},getContainerLocation:function(gU){var gV=this.getContainerElement().getDomElement();
return gV?qx.bom.element.Location.get(gV,gU):null;
},getContentLocation:function(gW){var gX=this.getContentElement().getDomElement();
return gX?qx.bom.element.Location.get(gX,gW):null;
},setDomLeft:function(gY){var ha=this.getContainerElement().getDomElement();

if(ha){ha.style.left=gY+bY;
}else{throw new Error("DOM element is not yet created!");
}},setDomTop:function(hb){var hc=this.getContainerElement().getDomElement();

if(hc){hc.style.top=hb+bY;
}else{throw new Error("DOM element is not yet created!");
}},setDomPosition:function(hd,top){var he=this.getContainerElement().getDomElement();

if(he){he.style.left=hd+bY;
he.style.top=top+bY;
}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 hf=qx.ui.core.LayoutItem.prototype.clone.call(this);

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

for(var i=0,l=hg.length;i<l;i++){hf.add(hg[i].clone());
}}return hf;
}},destruct:function(){if(!qx.core.ObjectRegistry.inShutDown){if(qx.core.Environment.get(bI)){if(this.__ib){qx.locale.Manager.getInstance().removeListenerById(this.__ib);
}}this.getContainerElement().setAttribute(J,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 hi=qx.ui.core.Widget;
var hh=this.getContainerElement();

if(this.__hW){hh.remove(this.__hW);
hi.__hU.poolDecorator(this.__hW);
}
if(this.__hX){hh.remove(this.__hX);
hi.__hV.poolDecorator(this.__hX);
}this.clearSeparators();
this.__hW=this.__hX=this.__ie=null;
}else{this._disposeArray(D);
this._disposeObjects(U,by);
}this._disposeArray(V);
this.__ik=this.__in=null;
this._disposeObjects(o,n,S,C);
}});
})();
(function(){var f="blur",e="focus",d="input",c="load",b="qx.ui.core.EventHandler",a="activate";
qx.Class.define(b,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(){qx.core.Object.call(this);
this.__eJ=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,touchstart:1,touchend:1,touchmove:1,touchcancel:1,tap:1,swipe:1},IGNORE_CAN_HANDLE:false},members:{__eJ:null,__io:{focusin:1,focusout:1,focus:1,blur:1},__ip:{mouseover:1,mouseout:1,appear:1,disappear:1},canHandleEvent:function(g,h){return g instanceof qx.ui.core.Widget;
},_dispatchEvent:function(j){var p=j.getTarget();
var o=qx.ui.core.Widget.getWidgetByElement(p);
var q=false;

while(o&&o.isAnonymous()){var q=true;
o=o.getLayoutParent();
}if(o&&q&&j.getType()==a){o.getContainerElement().activate();
}if(this.__io[j.getType()]){o=o&&o.getFocusTarget();
if(!o){return;
}}if(j.getRelatedTarget){var x=j.getRelatedTarget();
var w=qx.ui.core.Widget.getWidgetByElement(x);

while(w&&w.isAnonymous()){w=w.getLayoutParent();
}
if(w){if(this.__io[j.getType()]){w=w.getFocusTarget();
}if(w===o){return;
}}}var s=j.getCurrentTarget();
var u=qx.ui.core.Widget.getWidgetByElement(s);

if(!u||u.isAnonymous()){return;
}if(this.__io[j.getType()]){u=u.getFocusTarget();
}var v=j.getType();

if(!u||!(u.isEnabled()||this.__ip[v])){return;
}var k=j.getEventPhase()==qx.event.type.Event.CAPTURING_PHASE;
var r=this.__eJ.getListeners(u,v,k);

if(!r||r.length===0){return;
}var m=qx.event.Pool.getInstance().getObject(j.constructor);
j.clone(m);
m.setTarget(o);
m.setRelatedTarget(w||null);
m.setCurrentTarget(u);
var y=j.getOriginalTarget();

if(y){var n=qx.ui.core.Widget.getWidgetByElement(y);

while(n&&n.isAnonymous()){n=n.getLayoutParent();
}m.setOriginalTarget(n);
}else{m.setOriginalTarget(p);
}for(var i=0,l=r.length;i<l;i++){var t=r[i].context||u;
r[i].handler.call(t,m);
}if(m.getPropagationStopped()){j.stopPropagation();
}
if(m.getDefaultPrevented()){j.preventDefault();
}qx.event.Pool.getInstance().poolObject(m);
},registerEvent:function(z,A,B){var C;

if(A===e||A===f){C=z.getFocusElement();
}else if(A===c||A===d){C=z.getContentElement();
}else{C=z.getContainerElement();
}
if(C){C.addListener(A,this._dispatchEvent,this,B);
}},unregisterEvent:function(D,E,F){var G;

if(E===e||E===f){G=D.getFocusElement();
}else if(E===c||E===d){G=D.getContentElement();
}else{G=D.getContainerElement();
}
if(G){G.removeListener(E,this._dispatchEvent,this,F);
}}},destruct:function(){this.__eJ=null;
},defer:function(H){qx.event.Registration.addHandler(H);
}});
})();
(function(){var t="",s='indexOf',r='slice',q='concat',p='toLocaleLowerCase',o="qx.type.BaseString",n='match',m='toLocaleUpperCase',k='search',j='replace',c='toLowerCase',h='charCodeAt',f='split',b='substring',a='lastIndexOf',e='substr',d='toUpperCase',g='charAt';
qx.Class.define(o,{extend:Object,construct:function(u){var u=u||t;
this.__iq=u;
this.length=u.length;
},members:{$$isString:true,length:0,__iq:null,toString:function(){return this.__iq;
},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(v,w){return qx.core.Object.prototype.base.apply(this,arguments);
}},defer:function(x,y){var z=[g,h,q,s,a,n,j,k,r,f,e,b,c,d,p,m];
y.valueOf=y.toString;

if(new x(t).valueOf()==null){delete y.valueOf;
}
for(var i=0,l=z.length;i<l;i++){y[z[i]]=String.prototype[z[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.__ir=c;
this.__is=d;
},members:{__ir:null,__is:null,translate:function(){return qx.locale.Manager.getInstance().translate(this.__ir,this.__is);
}}});
})();
(function(){var l="_",k="",j="locale",h="_applyLocale",g="changeLocale",f="C",e="locale.variant",d="qx.dynlocale",c="qx.locale.Manager",b="String",a="singleton";
qx.Class.define(c,{type:a,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
this.__it=qx.$$translations||{};
this.__iu=qx.$$locales||{};
var m=qx.core.Environment.get(j);
var n=qx.core.Environment.get(e);

if(n!==k){m+=l+n;
}this.__iv=m;
this.setLocale(m||this.__iw);
},statics:{tr:function(o,p){var q=qx.lang.Array.fromArguments(arguments);
q.splice(0,1);
return qx.locale.Manager.getInstance().translate(o,q);
},trn:function(r,s,t,u){var v=qx.lang.Array.fromArguments(arguments);
v.splice(0,3);
if(t!=1){return qx.locale.Manager.getInstance().translate(s,v);
}else{return qx.locale.Manager.getInstance().translate(r,v);
}},trc:function(w,x,y){var z=qx.lang.Array.fromArguments(arguments);
z.splice(0,2);
return qx.locale.Manager.getInstance().translate(x,z);
},marktr:function(A){return A;
}},properties:{locale:{check:b,nullable:true,apply:h,event:g}},members:{__iw:f,__ix:null,__iy:null,__it:null,__iu:null,__iv:null,getLanguage:function(){return this.__iy;
},getTerritory:function(){return this.getLocale().split(l)[1]||k;
},getAvailableLocales:function(){var C=[];

for(var B in this.__iu){if(B!=this.__iw){C.push(B);
}}return C;
},__iz:function(D){var F;

if(D==null){return null;
}var E=D.indexOf(l);

if(E==-1){F=D;
}else{F=D.substring(0,E);
}return F;
},_applyLocale:function(G,H){this.__ix=G;
this.__iy=this.__iz(G);
},addTranslation:function(I,J){var K=this.__it;

if(K[I]){for(var L in J){K[I][L]=J[L];
}}else{K[I]=J;
}},addLocale:function(M,N){var O=this.__iu;

if(O[M]){for(var P in N){O[M][P]=N[P];
}}else{O[M]=N;
}},translate:function(Q,R,S){var T=this.__it;
return this.__iA(T,Q,R,S);
},localize:function(U,V,W){var X=this.__iu;
return this.__iA(X,U,V,W);
},__iA:function(Y,ba,bb,bc){var bd;

if(!Y){return ba;
}
if(bc){var bf=this.__iz(bc);
}else{bc=this.__ix;
bf=this.__iy;
}if(!bd&&Y[bc]){bd=Y[bc][ba];
}if(!bd&&Y[bf]){bd=Y[bf][ba];
}if(!bd&&Y[this.__iw]){bd=Y[this.__iw][ba];
}
if(!bd){bd=ba;
}
if(bb.length>0){var be=[];

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

if(bg&&bg.translate){be[i]=bg.translate();
}else{be[i]=bg;
}}bd=qx.lang.String.format(bd,be);
}
if(qx.core.Environment.get(d)){bd=new qx.locale.LocalizedString(bd,ba,bb);
}return bd;
}},destruct:function(){this.__it=this.__iu=null;
}});
})();
(function(){var k="px",j="engine.name",i="div",h="img",g="",f="no-repeat",d="scale-x",c="mshtml",b="scale",a="b64",I="scale-y",H="qx/icon",G="repeat",F=".png",E="crop",D="engine.version",C="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='",B='<div style="',A="repeat-y",z='<img src="',r="qx.bom.element.Decoration",s="', sizingMethod='",p='"/>',q="png",n="')",o='"></div>',l='" style="',m="none",t="webkit",u=" ",w="repeat-x",v="DXImageTransform.Microsoft.AlphaImageLoader",y="qx/static/blank.gif",x="absolute";
qx.Class.define(r,{statics:{DEBUG:false,__iB:{},__iC:(qx.core.Environment.get(j)==c)&&qx.core.Environment.get(D)<9,__iD:qx.core.Environment.select(j,{"mshtml":{"scale-x":true,"scale-y":true,"scale":true,"no-repeat":true},"default":null}),__iE:{"scale-x":h,"scale-y":h,"scale":h,"repeat":i,"no-repeat":i,"repeat-x":i,"repeat-y":i},update:function(J,K,L,M){var O=this.getTagName(L,K);

if(O!=J.tagName.toLowerCase()){throw new Error("Image modification not possible because elements could not be replaced at runtime anymore!");
}var P=this.getAttributes(K,L,M);

if(O===h){J.src=P.src||qx.util.ResourceManager.getInstance().toUri(y);
}if(J.style.backgroundPosition!=g&&P.style.backgroundPosition===undefined){P.style.backgroundPosition=null;
}if(J.style.clip!=g&&P.style.clip===undefined){P.style.clip=null;
}var N=qx.bom.element.Style;
N.setStyles(J,P.style);
if(this.__iC){try{J.filters[v].apply();
}catch(e){}}},create:function(Q,R,S){var T=this.getTagName(R,Q);
var V=this.getAttributes(Q,R,S);
var U=qx.bom.element.Style.compile(V.style);

if(T===h){return z+V.src+l+U+p;
}else{return B+U+o;
}},getTagName:function(W,X){if((qx.core.Environment.get(j)==c)){if(X&&this.__iC&&this.__iD[W]&&qx.lang.String.endsWith(X,F)){return i;
}}return this.__iE[W];
},getAttributes:function(Y,ba,bb){if(!bb){bb={};
}
if(!bb.position){bb.position=x;
}
if((qx.core.Environment.get(j)==c)){bb.fontSize=0;
bb.lineHeight=0;
}else if((qx.core.Environment.get(j)==t)){bb.WebkitUserDrag=m;
}var bd=qx.util.ResourceManager.getInstance().getImageFormat(Y)||qx.io.ImageLoader.getFormat(Y);
var bc;
if(this.__iC&&this.__iD[ba]&&bd===q){bc=this.__iH(bb,ba,Y);
}else{if(ba===b){bc=this.__iI(bb,ba,Y);
}else if(ba===d||ba===I){bc=this.__iJ(bb,ba,Y);
}else{bc=this.__iM(bb,ba,Y);
}}return bc;
},__iF:function(be,bf,bh){if(be.width==null&&bf!=null){be.width=bf+k;
}
if(be.height==null&&bh!=null){be.height=bh+k;
}return be;
},__iG:function(bi){var bj=qx.util.ResourceManager.getInstance().getImageWidth(bi)||qx.io.ImageLoader.getWidth(bi);
var bk=qx.util.ResourceManager.getInstance().getImageHeight(bi)||qx.io.ImageLoader.getHeight(bi);
return {width:bj,height:bk};
},__iH:function(bl,bm,bn){var bq=this.__iG(bn);
bl=this.__iF(bl,bq.width,bq.height);
var bp=bm==f?E:b;
var bo=C+qx.util.ResourceManager.getInstance().toUri(bn)+s+bp+n;
bl.filter=bo;
bl.backgroundImage=bl.backgroundRepeat=g;
return {style:bl};
},__iI:function(br,bs,bt){var bu=qx.util.ResourceManager.getInstance().toUri(bt);
var bv=this.__iG(bt);
br=this.__iF(br,bv.width,bv.height);
return {src:bu,style:br};
},__iJ:function(bw,bx,by){var bz=qx.util.ResourceManager.getInstance();
var bC=bz.getCombinedFormat(by);
var bE=this.__iG(by);
var bA;

if(bC){var bD=bz.getData(by);
var bB=bD[4];

if(bC==a){bA=bz.toDataUri(by);
}else{bA=bz.toUri(bB);
}
if(bx===d){bw=this.__iK(bw,bD,bE.height);
}else{bw=this.__iL(bw,bD,bE.width);
}return {src:bA,style:bw};
}else{if(bx==d){bw.height=bE.height==null?null:bE.height+k;
}else if(bx==I){bw.width=bE.width==null?null:bE.width+k;
}bA=bz.toUri(by);
return {src:bA,style:bw};
}},__iK:function(bF,bG,bH){var bI=qx.util.ResourceManager.getInstance().getImageHeight(bG[4]);
bF.clip={top:-bG[6],height:bH};
bF.height=bI+k;
if(bF.top!=null){bF.top=(parseInt(bF.top,10)+bG[6])+k;
}else if(bF.bottom!=null){bF.bottom=(parseInt(bF.bottom,10)+bH-bI-bG[6])+k;
}return bF;
},__iL:function(bJ,bK,bL){var bM=qx.util.ResourceManager.getInstance().getImageWidth(bK[4]);
bJ.clip={left:-bK[5],width:bL};
bJ.width=bM+k;
if(bJ.left!=null){bJ.left=(parseInt(bJ.left,10)+bK[5])+k;
}else if(bJ.right!=null){bJ.right=(parseInt(bJ.right,10)+bL-bM-bK[5])+k;
}return bJ;
},__iM:function(bN,bO,bP){var bS=qx.util.ResourceManager.getInstance();
var bX=bS.getCombinedFormat(bP);
var ca=this.__iG(bP);
if(bX&&bO!==G){var bY=bS.getData(bP);
var bW=bY[4];

if(bX==a){var bV=bS.toDataUri(bP);
var bU=bT=0;
}else{var bV=bS.toUri(bW);
var bU=bY[5];
var bT=bY[6];
}var bQ=qx.bom.element.Background.getStyles(bV,bO,bU,bT);

for(var bR in bQ){bN[bR]=bQ[bR];
}
if(ca.width!=null&&bN.width==null&&(bO==A||bO===f)){bN.width=ca.width+k;
}
if(ca.height!=null&&bN.height==null&&(bO==w||bO===f)){bN.height=ca.height+k;
}return {style:bN};
}else{bN=this.__iF(bN,ca.width,ca.height);
bN=this.__iN(bN,bP,bO);
return {style:bN};
}},__iN:function(cb,cc,cd){var top=null;
var ch=null;

if(cb.backgroundPosition){var ce=cb.backgroundPosition.split(u);
ch=parseInt(ce[0],10);

if(isNaN(ch)){ch=ce[0];
}top=parseInt(ce[1],10);

if(isNaN(top)){top=ce[1];
}}var cg=qx.bom.element.Background.getStyles(cc,cd,ch,top);

for(var cf in cg){cb[cf]=cg[cf];
}if(cb.filter){cb.filter=g;
}return cb;
},__iO:function(ci){if(this.DEBUG&&qx.util.ResourceManager.getInstance().has(ci)&&ci.indexOf(H)==-1){if(!this.__iB[ci]){qx.log.Logger.debug("Potential clipped image candidate: "+ci);
this.__iB[ci]=true;
}}},isAlphaImageLoaderEnabled:qx.core.Environment.select(j,{"mshtml":function(){return qx.bom.element.Decoration.__iC;
},"default":function(){return false;
}})}});
})();
(function(){var c="engine.name",b="load",a="qx.io.ImageLoader";
qx.Bootstrap.define(a,{statics:{__cO:{},__iP:{width:null,height:null},__iQ:/\.(png|gif|jpg|jpeg|bmp)\b/i,isLoaded:function(d){var e=this.__cO[d];
return !!(e&&e.loaded);
},isFailed:function(f){var g=this.__cO[f];
return !!(g&&g.failed);
},isLoading:function(h){var j=this.__cO[h];
return !!(j&&j.loading);
},getFormat:function(k){var m=this.__cO[k];
return m?m.format:null;
},getSize:function(n){var o=this.__cO[n];
return o?{width:o.width,height:o.height}:this.__iP;
},getWidth:function(p){var q=this.__cO[p];
return q?q.width:null;
},getHeight:function(r){var s=this.__cO[r];
return s?s.height:null;
},load:function(t,u,v){var w=this.__cO[t];

if(!w){w=this.__cO[t]={};
}if(u&&!v){v=window;
}if(w.loaded||w.loading||w.failed){if(u){if(w.loading){w.callbacks.push(u,v);
}else{u.call(v,t,w);
}}}else{w.loading=true;
w.callbacks=[];

if(u){w.callbacks.push(u,v);
}var y=new Image();
var x=qx.lang.Function.listener(this.__iR,this,y,t);
y.onload=x;
y.onerror=x;
y.src=t;
w.element=y;
}},abort:function(z){var A=this.__cO[z];

if(A&&!A.loaded){A.aborted=true;
var C=A.callbacks;
var B=A.element;
B.onload=B.onerror=null;
delete A.callbacks;
delete A.element;
delete A.loading;

for(var i=0,l=C.length;i<l;i+=2){C[i].call(C[i+1],z,A);
}}this.__cO[z]=null;
},__iR:qx.event.GlobalError.observeMethod(function(event,D,E){var F=this.__cO[E];
if(event.type===b){F.loaded=true;
F.width=this.__iS(D);
F.height=this.__iT(D);
var G=this.__iQ.exec(E);

if(G!=null){F.format=G[1];
}}else{F.failed=true;
}D.onload=D.onerror=null;
var H=F.callbacks;
delete F.loading;
delete F.callbacks;
delete F.element;
for(var i=0,l=H.length;i<l;i+=2){H[i].call(H[i+1],E,F);
}}),__iS:qx.core.Environment.select(c,{"gecko":function(I){return I.naturalWidth;
},"default":function(J){return J.width;
}}),__iT:qx.core.Environment.select(c,{"gecko":function(K){return K.naturalHeight;
},"default":function(L){return L.height;
}})}});
})();
(function(){var u="number",t="0",s="px",r=";",q="'",p="')",o="gecko",n="background-image:url(",m=");",l="",e=")",k="background-repeat:",h="engine.version",c="data:",b=" ",g="qx.bom.element.Background",f="url(",i="background-position:",a="base64",j="url('",d="engine.name";
qx.Class.define(g,{statics:{__iU:[n,null,m,i,null,r,k,null,r],__iV:{backgroundImage:null,backgroundPosition:null,backgroundRepeat:null},__iW:function(v,top){var w=qx.core.Environment.get(d);
var x=qx.core.Environment.get(h);

if(w==o&&x<1.9&&v==top&&typeof v==u){top+=0.01;
}
if(v){var z=(typeof v==u)?v+s:v;
}else{z=t;
}
if(top){var y=(typeof top==u)?top+s:top;
}else{y=t;
}return z+b+y;
},__iX:function(A){var String=qx.lang.String;
var B=A.substr(0,50);
return String.startsWith(B,c)&&String.contains(B,a);
},compile:function(C,D,E,top){var F=this.__iW(E,top);
var G=qx.util.ResourceManager.getInstance().toUri(C);

if(this.__iX(G)){G=q+G+q;
}var H=this.__iU;
H[1]=G;
H[4]=F;
H[7]=D;
return H.join(l);
},getStyles:function(I,J,K,top){if(!I){return this.__iV;
}var L=this.__iW(K,top);
var N=qx.util.ResourceManager.getInstance().toUri(I);
var O;

if(this.__iX(N)){O=j+N+p;
}else{O=f+N+e;
}var M={backgroundPosition:L,backgroundImage:O};

if(J!=null){M.backgroundRepeat=J;
}return M;
},set:function(P,Q,R,S,top){var T=this.getStyles(Q,R,S,top);

for(var U in T){P.style[U]=T[U];
}}}});
})();
(function(){var k="source",j="scale",i="engine.name",h="no-repeat",g="",f="mshtml",e="backgroundImage",d="webkit",c="div",b="qx.html.Image",a="qx/static/blank.gif";
qx.Class.define(b,{extend:qx.html.Element,members:{tagNameHint:null,_applyProperty:function(name,l){qx.html.Element.prototype._applyProperty.call(this,name,l);

if(name===k){var p=this.getDomElement();
var m=this.getAllStyles();

if(this.getNodeName()==c&&this.getStyle(e)){m.backgroundPosition=null;
m.backgroundRepeat=null;
}var n=this._getProperty(k);
var o=this._getProperty(j);
var q=o?j:h;
if(n!=null){n=n||null;
qx.bom.element.Decoration.update(p,n,q,m);
}}},_removeProperty:function(r,s){if(r==k){this._setProperty(r,g,s);
}else{this._setProperty(r,null,s);
}},_createDomElement:function(){var u=this._getProperty(j);
var v=u?j:h;

if((qx.core.Environment.get(i)==f)){var t=this._getProperty(k);

if(this.tagNameHint!=null){this.setNodeName(this.tagNameHint);
}else{this.setNodeName(qx.bom.element.Decoration.getTagName(v,t));
}}else{this.setNodeName(qx.bom.element.Decoration.getTagName(v));
}return qx.html.Element.prototype._createDomElement.call(this);
},_copyData:function(w){return qx.html.Element.prototype._copyData.call(this,true);
},setSource:function(x){this._setProperty(k,x);
return this;
},getSource:function(){return this._getProperty(k);
},resetSource:function(){if((qx.core.Environment.get(i)==d)){this._setProperty(k,a);
}else{this._removeProperty(k,true);
}return this;
},setScale:function(y){this._setProperty(j,y);
return this;
},getScale:function(){return this._getProperty(j);
}}});
})();
(function(){var j="Integer",i="interval",h="keep-align",g="disappear",f="best-fit",e="mouse",d="bottom-left",c="direct",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,{statics:{__eV:null,setVisibleElement:function(y){this.__eV=y;
},getVisibleElement:function(){return this.__eV;
}},properties:{position:{check:[r,o,d,a,v,l,k,n],init:d,themeable:true},placeMethod:{check:[x,e],init:e,themeable:true},domMove:{check:b,init:false},placementModeX:{check:[c,h,f],init:h,themeable:true},placementModeY:{check:[c,h,f],init:h,themeable:true},offsetLeft:{check:j,init:0,themeable:true},offsetTop:{check:j,init:0,themeable:true},offsetRight:{check:j,init:0,themeable:true},offsetBottom:{check:j,init:0,themeable:true},offset:{group:[m,u,p,s],mode:t,themeable:true}},members:{__iY:null,__ja:null,__jb:null,getLayoutLocation:function(z){var C,B,D,top;
B=z.getBounds();
D=B.left;
top=B.top;
var E=B;
z=z.getLayoutParent();

while(z&&!z.isRootWidget()){B=z.getBounds();
D+=B.left;
top+=B.top;
C=z.getInsets();
D+=C.left;
top+=C.top;
z=z.getLayoutParent();
}if(z.isRootWidget()){var A=z.getContainerLocation();

if(A){D+=A.left;
top+=A.top;
}}return {left:D,top:top,right:D+E.width,bottom:top+E.height};
},moveTo:function(F,top){var H=qx.ui.core.MPlacement.getVisibleElement();
if(H){var J=this.getBounds();
var G=H.getContentLocation();
if(J&&G){var K=top+J.height;
var I=F+J.width;
if((I>G.left&&F<G.right)&&(K>G.top&&top<G.bottom)){F=Math.max(G.left-J.width,0);
}}}
if(this.getDomMove()){this.setDomPosition(F,top);
}else{this.setLayoutProperties({left:F,top:top});
}},placeToWidget:function(L,M){if(M){this.__jc();
this.__iY=qx.lang.Function.bind(this.placeToWidget,this,L,false);
qx.event.Idle.getInstance().addListener(i,this.__iY);
this.__jb=function(){this.__jc();
};
this.addListener(g,this.__jb,this);
}var N=L.getContainerLocation()||this.getLayoutLocation(L);
this.__je(N);
},__jc:function(){if(this.__iY){qx.event.Idle.getInstance().removeListener(i,this.__iY);
this.__iY=null;
}
if(this.__jb){this.removeListener(g,this.__jb,this);
this.__jb=null;
}},placeToMouse:function(event){var P=event.getDocumentLeft();
var top=event.getDocumentTop();
var O={left:P,top:top,right:P,bottom:top};
this.__je(O);
},placeToElement:function(Q,R){var location=qx.bom.element.Location.get(Q);
var S={left:location.left,top:location.top,right:location.left+Q.offsetWidth,bottom:location.top+Q.offsetHeight};
if(R){this.__iY=qx.lang.Function.bind(this.placeToElement,this,Q,false);
qx.event.Idle.getInstance().addListener(i,this.__iY);
this.addListener(g,function(){if(this.__iY){qx.event.Idle.getInstance().removeListener(i,this.__iY);
this.__iY=null;
}},this);
}this.__je(S);
},placeToPoint:function(T){var U={left:T.left,top:T.top,right:T.left,bottom:T.top};
this.__je(U);
},_getPlacementOffsets:function(){return {left:this.getOffsetLeft(),top:this.getOffsetTop(),right:this.getOffsetRight(),bottom:this.getOffsetBottom()};
},__jd:function(V){var W=null;

if(this._computePlacementSize){var W=this._computePlacementSize();
}else if(this.isVisible()){var W=this.getBounds();
}
if(W==null){this.addListenerOnce(q,function(){this.__jd(V);
},this);
}else{V.call(this,W);
}},__je:function(X){this.__jd(function(Y){var ba=qx.util.placement.Placement.compute(Y,this.getLayoutParent().getBounds(),X,this._getPlacementOffsets(),this.getPosition(),this.getPlacementModeX(),this.getPlacementModeY());
this.moveTo(ba.left,ba.top);
});
}},destruct:function(){this.__jc();
}});
})();
(function(){var f="interval",e="Number",d="_applyTimeoutInterval",c="qx.event.type.Event",b="qx.event.Idle",a="singleton";
qx.Class.define(b,{extend:qx.core.Object,type:a,construct:function(){qx.core.Object.call(this);
var g=new qx.event.Timer(this.getTimeoutInterval());
g.addListener(f,this._onInterval,this);
g.start();
this.__jf=g;
},events:{"interval":c},properties:{timeoutInterval:{check:e,init:100,apply:d}},members:{__jf:null,_applyTimeoutInterval:function(h){this.__jf.setInterval(h);
},_onInterval:function(){this.fireEvent(f);
}},destruct:function(){if(this.__jf){this.__jf.stop();
}this.__jf=null;
}});
})();
(function(){var o="top",n="right",m="bottom",l="left",k="align-start",j="qx.util.placement.AbstractAxis",i="edge-start",h="align-end",g="edge-end",f="-",c="best-fit",e="qx.util.placement.Placement",d="keep-align",b="direct",a='__jg';
qx.Class.define(e,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
this.__jg=new qx.util.placement.DirectAxis();
},properties:{axisX:{check:j},axisY:{check:j},edge:{check:[o,n,m,l],init:o},align:{check:[o,n,m,l],init:n}},statics:{__jh:null,compute:function(p,q,r,s,t,u,v){this.__jh=this.__jh||new qx.util.placement.Placement();
var y=t.split(f);
var x=y[0];
var w=y[1];
this.__jh.set({axisX:this.__jl(u),axisY:this.__jl(v),edge:x,align:w});
return this.__jh.compute(p,q,r,s);
},__ji:null,__jj:null,__jk:null,__jl:function(z){switch(z){case b:this.__ji=this.__ji||new qx.util.placement.DirectAxis();
return this.__ji;
case d:this.__jj=this.__jj||new qx.util.placement.KeepAlignAxis();
return this.__jj;
case c:this.__jk=this.__jk||new qx.util.placement.BestFitAxis();
return this.__jk;
default:throw new Error("Invalid 'mode' argument!'");
}}},members:{__jg:null,compute:function(A,B,C,D){var E=this.getAxisX()||this.__jg;
var G=E.computeStart(A.width,{start:C.left,end:C.right},{start:D.left,end:D.right},B.width,this.__jm());
var F=this.getAxisY()||this.__jg;
var top=F.computeStart(A.height,{start:C.top,end:C.bottom},{start:D.top,end:D.bottom},B.height,this.__jn());
return {left:G,top:top};
},__jm:function(){var I=this.getEdge();
var H=this.getAlign();

if(I==l){return i;
}else if(I==n){return g;
}else if(H==l){return k;
}else if(H==n){return h;
}},__jn:function(){var K=this.getEdge();
var J=this.getAlign();

if(K==o){return i;
}else if(K==m){return g;
}else if(J==o){return k;
}else if(J==m){return h;
}}},destruct:function(){this._disposeObjects(a);
}});
})();
(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(f,g,h,i,j){throw new Error("abstract method call!");
},_moveToEdgeAndAlign:function(k,l,m,n){switch(n){case e:return l.start-m.end-k;
case b:return l.end+m.start;
case d:return l.start+m.start;
case c:return l.end-m.end-k;
}},_isInRange:function(o,p,q){return o>=0&&o+p<=q;
}}});
})();
(function(){var a="qx.util.placement.DirectAxis";
qx.Class.define(a,{extend:qx.util.placement.AbstractAxis,members:{computeStart:function(b,c,d,e,f){return this._moveToEdgeAndAlign(b,c,d,f);
}}});
})();
(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 j="nonScaled",i="scaled",h="alphaScaled",g=".png",f="div",e="replacement",d="qx.event.type.Event",c="engine.name",b="hidden",a="Boolean",y="px",x="scale",w="changeSource",v="qx.ui.basic.Image",u="loaded",t="-disabled.$1",s="loadingFailed",r="String",q="__jo",p="_applySource",n="img",o="image",l="mshtml",m="_applyScale",k="no-repeat";
qx.Class.define(v,{extend:qx.ui.core.Widget,construct:function(z){this.__jo={};
qx.ui.core.Widget.call(this);

if(z){this.setSource(z);
}},properties:{source:{check:r,init:null,nullable:true,event:w,apply:p,themeable:true},scale:{check:a,init:false,themeable:true,apply:m},appearance:{refine:true,init:o},allowShrinkX:{refine:true,init:false},allowShrinkY:{refine:true,init:false},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false}},events:{loadingFailed:d,loaded:d},members:{__jp:null,__jq:null,__fw:null,__jo:null,getContentElement:function(){return this.__ju();
},_createContentElement:function(){return this.__ju();
},_getContentHint:function(){return {width:this.__jp||0,height:this.__jq||0};
},_applyEnabled:function(A,B){qx.ui.core.Widget.prototype._applyEnabled.call(this,A,B);

if(this.getSource()){this._styleSource();
}},_applySource:function(C){this._styleSource();
},_applyScale:function(D){this._styleSource();
},__jr:function(E){this.__fw=E;
},__js:function(){if(this.__fw==null){var G=this.getSource();
var F=false;

if(G!=null){F=qx.lang.String.endsWith(G,g);
}
if(this.getScale()&&F&&qx.bom.element.Decoration.isAlphaImageLoaderEnabled()){this.__fw=h;
}else if(this.getScale()){this.__fw=i;
}else{this.__fw=j;
}}return this.__fw;
},__jt:function(H){var I;
var J;

if(H==h){I=true;
J=f;
}else if(H==j){I=false;
J=f;
}else{I=true;
J=n;
}var K=new qx.html.Image(J);
K.setScale(I);
K.setStyles({"overflowX":b,"overflowY":b});
return K;
},__ju:function(){var L=this.__js();

if(this.__jo[L]==null){this.__jo[L]=this.__jt(L);
}return this.__jo[L];
},_styleSource:function(){var M=qx.util.AliasManager.getInstance().resolve(this.getSource());

if(!M){this.getContentElement().resetSource();
return;
}this.__jv(M);

if((qx.core.Environment.get(c)==l)){var N=this.getScale()?x:k;
this.getContentElement().tagNameHint=qx.bom.element.Decoration.getTagName(N,M);
}if(qx.util.ResourceManager.getInstance().has(M)){this.__jx(this.getContentElement(),M);
}else if(qx.io.ImageLoader.isLoaded(M)){this.__jy(this.getContentElement(),M);
}else{this.__jz(this.getContentElement(),M);
}},__jv:qx.core.Environment.select(c,{"mshtml":function(O){var Q=qx.bom.element.Decoration.isAlphaImageLoaderEnabled();
var P=qx.lang.String.endsWith(O,g);

if(Q&&P){if(this.getScale()&&this.__js()!=h){this.__jr(h);
}else if(!this.getScale()&&this.__js()!=j){this.__jr(j);
}}else{if(this.getScale()&&this.__js()!=i){this.__jr(i);
}else if(!this.getScale()&&this.__js()!=j){this.__jr(j);
}}this.__jw(this.__ju());
},"default":function(R){if(this.getScale()&&this.__js()!=i){this.__jr(i);
}else if(!this.getScale()&&this.__js(j)){this.__jr(j);
}this.__jw(this.__ju());
}}),__jw:function(S){var V=this.getContainerElement();
var W=V.getChild(0);

if(W!=S){if(W!=null){var Y=y;
var T={};
var U=this.getInnerSize();

if(U!=null){T.width=U.width+Y;
T.height=U.height+Y;
}var X=this.getInsets();
T.left=X.left+Y;
T.top=X.top+Y;
T.zIndex=10;
S.setStyles(T,true);
S.setSelectable(this.getSelectable());
}V.removeAt(0);
V.addAt(S,0);
}},__jx:function(ba,bb){var bd=qx.util.ResourceManager.getInstance();
if(!this.getEnabled()){var bc=bb.replace(/\.([a-z]+)$/,t);

if(bd.has(bc)){bb=bc;
this.addState(e);
}else{this.removeState(e);
}}if(ba.getSource()===bb){return;
}ba.setSource(bb);
this.__jB(bd.getImageWidth(bb),bd.getImageHeight(bb));
},__jy:function(be,bf){var bh=qx.io.ImageLoader;
be.setSource(bf);
var bg=bh.getWidth(bf);
var bi=bh.getHeight(bf);
this.__jB(bg,bi);
},__jz:function(bj,bk){var self;
var bl=qx.io.ImageLoader;
if(!bl.isFailed(bk)){bl.load(bk,this.__jA,this);
}else{if(bj!=null){bj.resetSource();
}}},__jA:function(bm,bn){if(this.$$disposed===true){return;
}if(bm!==qx.util.AliasManager.getInstance().resolve(this.getSource())){return;
}if(bn.failed){this.warn("Image could not be loaded: "+bm);
this.fireEvent(s);
}else if(bn.aborted){return ;
}else{this.fireEvent(u);
}this._styleSource();
},__jB:function(bo,bp){if(bo!==this.__jp||bp!==this.__jq){this.__jp=bo;
this.__jq=bp;
qx.ui.core.queue.Layout.add(this);
}}},destruct:function(){this._disposeMap(q);
}});
})();
(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 h=this.getApplicationRoot();
h.add(this,{left:-1000,top:-1000});
},properties:{appearance:{refine:true,init:g},action:{check:[e,a,c],apply:f,nullable:true}},members:{_applyAction:function(i,j){if(j){this.removeState(j);
}
if(i){this.addState(i);
}}}});
})();
(function(){var d="qx.event.type.Data",c="qx.ui.container.Composite",b="addChildWidget",a="removeChildWidget";
qx.Class.define(c,{extend:qx.ui.core.Widget,include:[qx.ui.core.MChildrenHandling,qx.ui.core.MLayoutHandling],construct:function(e){qx.ui.core.Widget.call(this);

if(e!=null){this._setLayout(e);
}},events:{addChildWidget:d,removeChildWidget:d},members:{_afterAddChild:function(f){this.fireNonBubblingEvent(b,qx.event.type.Data,[f]);
},_afterRemoveChild:function(g){this.fireNonBubblingEvent(a,qx.event.type.Data,[g]);
}},defer:function(h,i){qx.ui.core.MChildrenHandling.remap(i);
qx.ui.core.MLayoutHandling.remap(i);
}});
})();
(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);
this.initVisibility();
},properties:{appearance:{refine:true,init:b},visibility:{refine:true,init:c},autoHide:{check:a,init:true}},members:{show:function(){if(this.getLayoutParent()==null){qx.core.Init.getApplication().getRoot().add(this);
}qx.ui.container.Composite.prototype.show.call(this);
},_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 f="mousedown",d="__jC",c="blur",b="singleton",a="qx.ui.popup.Manager";
qx.Class.define(a,{type:b,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
this.__jC=[];
qx.event.Registration.addListener(document.documentElement,f,this.__jE,this,true);
qx.bom.Element.addListener(window,c,this.hideAll,this);
},members:{__jC:null,add:function(g){this.__jC.push(g);
this.__jD();
},remove:function(h){if(this.__jC){qx.lang.Array.remove(this.__jC,h);
this.__jD();
}},hideAll:function(){var j;
var k=this.__jC;

if(k){for(var i=0,l=k.length;i<l;i++){var j=k[i];
j.getAutoHide()&&j.exclude();
}}},__jD:function(){var m=1e7;

for(var i=0;i<this.__jC.length;i++){this.__jC[i].setZIndex(m++);
}},__jE:function(e){var o=qx.ui.core.Widget.getWidgetByElement(e.getTarget());
var p=this.__jC;

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

if(!n.getAutoHide()||o==n||qx.ui.core.Widget.contains(n,o)){continue;
}n.exclude();
}}},destruct:function(){qx.event.Registration.removeListener(document.documentElement,f,this.__jE,this,true);
this._disposeArray(d);
}});
})();
(function(){var l="atom",k="Integer",j="String",i="_applyRich",h="qx.ui.tooltip.ToolTip",g="_applyIcon",f="tooltip",d="qx.ui.core.Widget",c="mouseover",b="Boolean",a="_applyLabel";
qx.Class.define(h,{extend:qx.ui.popup.Popup,construct:function(m,n){qx.ui.popup.Popup.call(this);
this.setLayout(new qx.ui.layout.Grow);
this._createChildControl(l);
if(m!=null){this.setLabel(m);
}
if(n!=null){this.setIcon(n);
}this.addListener(c,this._onMouseOver,this);
},properties:{appearance:{refine:true,init:f},showTimeout:{check:k,init:700,themeable:true},hideTimeout:{check:k,init:4000,themeable:true},label:{check:j,nullable:true,apply:a},icon:{check:j,nullable:true,apply:g,themeable:true},rich:{check:b,init:false,apply:i},opener:{check:d,nullable:true}},members:{_createChildControlImpl:function(o,p){var q;

switch(o){case l:q=new qx.ui.basic.Atom;
this._add(q);
break;
}return q||qx.ui.popup.Popup.prototype._createChildControlImpl.call(this,o);
},_onMouseOver:function(e){this.hide();
},_applyIcon:function(r,s){var t=this.getChildControl(l);
r==null?t.resetIcon():t.setIcon(r);
},_applyLabel:function(u,v){var w=this.getChildControl(l);
u==null?w.resetLabel():w.setLabel(u);
},_applyRich:function(x,y){var z=this.getChildControl(l);
z.setRich(x);
}}});
})();
(function(){var b="abstract",a="qx.ui.layout.Abstract";
qx.Class.define(a,{type:b,extend:qx.core.Object,members:{__hC:null,_invalidChildrenCache:null,__jF:null,invalidateLayoutCache:function(){this.__hC=null;
},renderLayout:function(c,d){this.warn("Missing renderLayout() implementation!");
},getSizeHint:function(){if(this.__hC){return this.__hC;
}return this.__hC=this._computeSizeHint();
},hasHeightForWidth:function(){return false;
},getHeightForWidth:function(e){this.warn("Missing getHeightForWidth() implementation!");
return null;
},_computeSizeHint:function(){return null;
},invalidateChildrenCache:function(){this._invalidChildrenCache=true;
},verifyLayoutProperty:null,_clearSeparators:function(){var f=this.__jF;

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

if(e<h.minWidth){e=h.minWidth;
}else if(e>h.maxWidth){e=h.maxWidth;
}d=c;

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

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

switch(B){case j:D=new qx.ui.basic.Label(this.getLabel());
D.setAnonymous(true);
D.setRich(this.getRich());
this._add(D);

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

if(this.getIcon()==null||this.getShow()===j){D.exclude();
}break;
}return D||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,B);
},_forwardStates:{focused:true,hovered:true},_handleLabel:function(){if(this.getLabel()==null||this.getShow()===i){this._excludeChildControl(j);
}else{this._showChildControl(j);
}},_handleIcon:function(){if(this.getIcon()==null||this.getShow()===j){this._excludeChildControl(i);
}else{this._showChildControl(i);
}},_applyLabel:function(E,F){var G=this.getChildControl(j,true);

if(G){G.setValue(E);
}this._handleLabel();
},_applyRich:function(H,I){var J=this.getChildControl(j,true);

if(J){J.setRich(H);
}},_applyIcon:function(K,L){var M=this.getChildControl(i,true);

if(M){M.setSource(K);
}this._handleIcon();
},_applyGap:function(N,O){this._getLayout().setGap(N);
},_applyShow:function(P,Q){this._handleLabel();
this._handleIcon();
},_applyIconPosition:function(R,S){this._getLayout().setIconPosition(R);
},_applyCenter:function(T,U){this._getLayout().setCenter(T);
},_applySelectable:function(V,W){qx.ui.core.Widget.prototype._applySelectable.call(this,V,W);
var X=this.getChildControl(j,true);

if(X){this.getChildControl(j).setSelectable(V);
}}}});
})();
(function(){var m="bottom",l="top",k="_applyLayoutChange",j="top-left",h="bottom-left",g="left",f="right",e="middle",d="center",c="qx.ui.layout.Atom",a="Integer",b="Boolean";
qx.Class.define(c,{extend:qx.ui.layout.Abstract,properties:{gap:{check:a,init:4,apply:k},iconPosition:{check:[g,l,f,m,j,h],init:g,apply:k},center:{check:b,init:false,apply:k}},members:{verifyLayoutProperty:null,renderLayout:function(n,o){var x=qx.ui.layout.Util;
var q=this.getIconPosition();
var t=this._getLayoutChildren();
var length=t.length;
var I,top,H,r;
var C,w;
var A=this.getGap();
var F=this.getCenter();
if(q===m||q===f){var y=length-1;
var u=-1;
var s=-1;
}else{var y=0;
var u=length;
var s=1;
}if(q==l||q==m){if(F){var B=0;

for(var i=y;i!=u;i+=s){r=t[i].getSizeHint().height;

if(r>0){B+=r;

if(i!=y){B+=A;
}}}top=Math.round((o-B)/2);
}else{top=0;
}
for(var i=y;i!=u;i+=s){C=t[i];
w=C.getSizeHint();
H=Math.min(w.maxWidth,Math.max(n,w.minWidth));
r=w.height;
I=x.computeHorizontalAlignOffset(d,H,n);
C.renderLayout(I,top,H,r);
if(r>0){top+=r+A;
}}}else{var v=n;
var p=null;
var E=0;

for(var i=y;i!=u;i+=s){C=t[i];
H=C.getSizeHint().width;

if(H>0){if(!p&&C instanceof qx.ui.basic.Label){p=C;
}else{v-=H;
}E++;
}}
if(E>1){var D=(E-1)*A;
v-=D;
}
if(p){var w=p.getSizeHint();
var z=Math.max(w.minWidth,Math.min(v,w.maxWidth));
v-=z;
}
if(F&&v>0){I=Math.round(v/2);
}else{I=0;
}
for(var i=y;i!=u;i+=s){C=t[i];
w=C.getSizeHint();
r=Math.min(w.maxHeight,Math.max(o,w.minHeight));

if(C===p){H=z;
}else{H=w.width;
}var G=e;

if(q==j){G=l;
}else if(q==h){G=m;
}top=x.computeVerticalAlignOffset(G,w.height,o);
C.renderLayout(I,top,H,r);
if(H>0){I+=H+A;
}}}},_computeSizeHint:function(){var T=this._getLayoutChildren();
var length=T.length;
var L,R;
if(length===1){var L=T[0].getSizeHint();
R={width:L.width,height:L.height,minWidth:L.minWidth,minHeight:L.minHeight};
}else{var P=0,Q=0;
var M=0,O=0;
var N=this.getIconPosition();
var S=this.getGap();

if(N===l||N===m){var J=0;

for(var i=0;i<length;i++){L=T[i].getSizeHint();
Q=Math.max(Q,L.width);
P=Math.max(P,L.minWidth);
if(L.height>0){O+=L.height;
M+=L.minHeight;
J++;
}}
if(J>1){var K=(J-1)*S;
O+=K;
M+=K;
}}else{var J=0;

for(var i=0;i<length;i++){L=T[i].getSizeHint();
O=Math.max(O,L.height);
M=Math.max(M,L.minHeight);
if(L.width>0){Q+=L.width;
P+=L.minWidth;
J++;
}}
if(J>1){var K=(J-1)*S;
Q+=K;
P+=K;
}}R={minWidth:P,width:Q,minHeight:M,height:O};
}return R;
}}});
})();
(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,j,k){var n,r,m,s;
var o=j>k;
var t=Math.abs(j-k);
var u,p;
var q={};

for(r in h){n=h[r];
q[r]={potential:o?n.max-n.value:n.value-n.min,flex:o?n.flex:1/n.flex,offset:0};
}while(t!=0){s=Infinity;
m=0;

for(r in q){n=q[r];

if(n.potential>0){m+=n.flex;
s=Math.min(s,n.potential/n.flex);
}}if(m==0){break;
}s=Math.min(t,s*m)/m;
u=0;

for(r in q){n=q[r];

if(n.potential>0){p=Math.min(t,n.potential,Math.ceil(s*n.flex));
u+=p-s*n.flex;

if(u>=1){u-=1;
p-=1;
}n.potential-=p;

if(o){n.offset+=p;
}else{n.offset-=p;
}t-=p;
}}}return q;
},computeHorizontalAlignOffset:function(v,w,x,y,z){if(y==null){y=0;
}
if(z==null){z=0;
}var A=0;

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

switch(B){case c:G=E;
break;
case b:G=D-C-F;
break;
case g:G=Math.round((D-C)/2);
if(G<E){G=E;
}else if(G<F){G=Math.max(E,D-C-F);
}break;
}return G;
},collapseMargins:function(H){var I=0,K=0;

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

if(J<0){K=Math.min(K,J);
}else if(J>0){I=Math.max(I,J);
}}return I+K;
},computeHorizontalGaps:function(L,M,N){if(M==null){M=0;
}var O=0;

if(N){O+=L[0].getMarginLeft();

for(var i=1,l=L.length;i<l;i+=1){O+=this.collapseMargins(M,L[i-1].getMarginRight(),L[i].getMarginLeft());
}O+=L[l-1].getMarginRight();
}else{for(var i=1,l=L.length;i<l;i+=1){O+=L[i].getMarginLeft()+L[i].getMarginRight();
}O+=(M*(l-1));
}return O;
},computeVerticalGaps:function(P,Q,R){if(Q==null){Q=0;
}var S=0;

if(R){S+=P[0].getMarginTop();

for(var i=1,l=P.length;i<l;i+=1){S+=this.collapseMargins(Q,P[i-1].getMarginBottom(),P[i].getMarginTop());
}S+=P[l-1].getMarginBottom();
}else{for(var i=1,l=P.length;i<l;i+=1){S+=P[i].getMarginTop()+P[i].getMarginBottom();
}S+=(Q*(l-1));
}return S;
},computeHorizontalSeparatorGaps:function(T,U,V){var Y=qx.theme.manager.Decoration.getInstance().resolve(V);
var X=Y.getInsets();
var W=X.left+X.right;
var ba=0;

for(var i=0,l=T.length;i<l;i++){var bb=T[i];
ba+=bb.getMarginLeft()+bb.getMarginRight();
}ba+=(U+W+U)*(l-1);
return ba;
},computeVerticalSeparatorGaps:function(bc,bd,be){var bh=qx.theme.manager.Decoration.getInstance().resolve(be);
var bg=bh.getInsets();
var bf=bg.top+bg.bottom;
var bi=0;

for(var i=0,l=bc.length;i<l;i++){var bj=bc[i];
bi+=bj.getMarginTop()+bj.getMarginBottom();
}bi+=(bd+bf+bd)*(l-1);
return bi;
},arrangeIdeals:function(bk,bl,bm,bn,bo,bp){if(bl<bk||bo<bn){if(bl<bk&&bo<bn){bl=bk;
bo=bn;
}else if(bl<bk){bo-=(bk-bl);
bl=bk;
if(bo<bn){bo=bn;
}}else if(bo<bn){bl-=(bn-bo);
bo=bn;
if(bl<bk){bl=bk;
}}}
if(bl>bm||bo>bp){if(bl>bm&&bo>bp){bl=bm;
bo=bp;
}else if(bl>bm){bo+=(bl-bm);
bl=bm;
if(bo>bp){bo=bp;
}}else if(bo>bp){bl+=(bo-bp);
bo=bp;
if(bl>bm){bl=bm;
}}}return {begin:bl,end:bo};
}}});
})();
(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 k="qx.dynlocale",j="Boolean",i="color",h="enabled",g="changeLocale",f="_applyTextAlign",d="qx.ui.core.Widget",c="nowrap",b="changeStatus",a="changeTextAlign",E="_applyWrap",D="changeValue",C="qx.ui.basic.Label",B="whiteSpace",A="css.textoverflow",z="html.xul",y="_applyValue",x="center",w="_applyBuddy",v="String",r="textAlign",s="right",p="justify",q="changeRich",n="normal",o="_applyRich",l="click",m="label",t="left",u="A";
qx.Class.define(C,{extend:qx.ui.core.Widget,implement:[qx.ui.form.IStringForm],construct:function(F){qx.ui.core.Widget.call(this);

if(F!=null){this.setValue(F);
}
if(qx.core.Environment.get(k)){qx.locale.Manager.getInstance().addListener(g,this._onChangeLocale,this);
}},properties:{rich:{check:j,init:false,event:q,apply:o},wrap:{check:j,init:true,apply:E},value:{check:v,apply:y,event:D,nullable:true},buddy:{check:d,apply:w,nullable:true,init:null,dereference:true},textAlign:{check:[t,x,s,p],nullable:true,themeable:true,apply:f,event:a},appearance:{refine:true,init:m},selectable:{refine:true,init:false},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false},allowShrinkY:{refine:true,init:false}},members:{__jG:null,__jH:null,__jI:null,__jJ:null,__jK:null,_getContentHint:function(){if(this.__jH){this.__jL=this.__jM();
delete this.__jH;
}return {width:this.__jL.width,height:this.__jL.height};
},_hasHeightForWidth:function(){return this.getRich()&&this.getWrap();
},_applySelectable:function(G){if(!qx.core.Environment.get(A)&&qx.core.Environment.get(z)){if(G&&!this.isRich()){return;
}}qx.ui.core.Widget.prototype._applySelectable.call(this,G);
},_getContentHeightForWidth:function(H){if(!this.getRich()&&!this.getWrap()){return null;
}return this.__jM(H).height;
},_createContentElement:function(){return new qx.html.Label;
},_applyTextAlign:function(I,J){this.getContentElement().setStyle(r,I);
},_applyTextColor:function(K,L){if(K){this.getContentElement().setStyle(i,qx.theme.manager.Color.getInstance().resolve(K));
}else{this.getContentElement().removeStyle(i);
}},__jL:{width:0,height:0},_applyFont:function(M,N){if(N&&this.__jG&&this.__jK){this.__jG.removeListenerById(this.__jK);
this.__jK=null;
}var O;

if(M){this.__jG=qx.theme.manager.Font.getInstance().resolve(M);

if(this.__jG instanceof qx.bom.webfonts.WebFont){this.__jK=this.__jG.addListener(b,this._onWebFontStatusChange,this);
}O=this.__jG.getStyles();
}else{this.__jG=null;
O=qx.bom.Font.getDefaultStyles();
}this.getContentElement().setStyles(O);
this.__jH=true;
qx.ui.core.queue.Layout.add(this);
},__jM:function(P){var T=qx.bom.Label;
var R=this.getFont();
var Q=R?this.__jG.getStyles():qx.bom.Font.getDefaultStyles();
var content=this.getValue()||u;
var S=this.getRich();
return S?T.getHtmlSize(content,Q,P):T.getTextSize(content,Q);
},_applyBuddy:function(U,V){if(V!=null){V.removeBinding(this.__jI);
this.__jI=null;
this.removeListenerById(this.__jJ);
this.__jJ=null;
}
if(U!=null){this.__jI=U.bind(h,this,h);
this.__jJ=this.addListener(l,function(){if(U.isFocusable()){U.focus.apply(U);
}},this);
}},_applyRich:function(W){this.getContentElement().setRich(W);
this.__jH=true;
qx.ui.core.queue.Layout.add(this);
},_applyWrap:function(X,Y){if(X&&!this.isRich()){}
if(this.isRich()){var ba=X?n:c;
this.getContentElement().setStyle(B,ba);
}},_onChangeLocale:qx.core.Environment.select(k,{"true":function(e){var content=this.getValue();

if(content&&content.translate){this.setValue(content.translate());
}},"false":null}),_onWebFontStatusChange:function(bb){if(bb.getData().valid===true){this.__jH=true;
qx.ui.core.queue.Layout.add(this);
}},_applyValue:function(bc,bd){this.getContentElement().setValue(bc);
this.__jH=true;
qx.ui.core.queue.Layout.add(this);
}},destruct:function(){if(qx.core.Environment.get(k)){qx.locale.Manager.getInstance().removeListener(g,this._onChangeLocale,this);
}if(this.__jI!=null){var be=this.getBuddy();

if(be!=null&&!be.isDisposed()){be.removeBinding(this.__jI);
}}
if(this.__jG&&this.__jK){this.__jG.removeListenerById(this.__jK);
}this.__jG=this.__jI=null;
}});
})();
(function(){var b="value",a="qx.html.Label";
qx.Class.define(a,{extend:qx.html.Element,members:{__jN:null,_applyProperty:function(name,c){qx.html.Element.prototype._applyProperty.call(this,name,c);

if(name==b){var d=this.getDomElement();
qx.bom.Label.setValue(d,c);
}},_createDomElement:function(){var f=this.__jN;
var e=qx.bom.Label.create(this._content,f);
return e;
},_copyData:function(g){return qx.html.Element.prototype._copyData.call(this,true);
},setRich:function(h){var i=this.getDomElement();

if(i){throw new Error("The label mode cannot be modified after initial creation");
}h=!!h;

if(this.__jN==h){return;
}this.__jN=h;
return this;
},setValue:function(j){this._setProperty(b,j);
return this;
},getValue:function(){return this._getProperty(b);
}}});
})();
(function(){var j="css.textoverflow",i="html.xul",h="div",g="auto",f="0",e="inherit",d="text",c="value",b="",a="engine.name",C="hidden",B="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",A="nowrap",z="ellipsis",y="normal",x="block",w="label",v="px",u="crop",t="gecko",q="end",r="100%",o="visible",p="qx.bom.Label",m="opera",n="engine.version",k="mshtml",l="-1000px",s="absolute";
qx.Class.define(p,{statics:{__jO:{fontFamily:1,fontSize:1,fontWeight:1,fontStyle:1,lineHeight:1},__jP:function(){var D=this.__jR(false);
document.body.insertBefore(D,document.body.firstChild);
return this._textElement=D;
},__jQ:function(){var E=this.__jR(true);
document.body.insertBefore(E,document.body.firstChild);
return this._htmlElement=E;
},__jR:function(F){var G=qx.bom.Element.create(h);
var H=G.style;
H.width=H.height=g;
H.left=H.top=l;
H.visibility=C;
H.position=s;
H.overflow=o;
H.display=x;

if(F){H.whiteSpace=y;
}else{H.whiteSpace=A;

if(!qx.core.Environment.get(j)&&qx.core.Environment.get(i)){var I=document.createElementNS(B,w);
var H=I.style;
H.padding=f;
H.margin=f;
H.width=g;

for(var J in this.__jO){H[J]=e;
}G.appendChild(I);
}}return G;
},__jS:function(K){var L={};

if(K){L.whiteSpace=y;
}else if(!qx.core.Environment.get(j)&&qx.core.Environment.get(i)){L.display=x;
}else{L.overflow=C;
L.whiteSpace=A;
L.textOverflow=z;
if((qx.core.Environment.get(a)==m)){L.OTextOverflow=z;
}}return L;
},create:function(content,M,N){if(!N){N=window;
}
if(M){var O=N.document.createElement(h);
O.useHtml=true;
}else if(!qx.core.Environment.get(j)&&qx.core.Environment.get(i)){var O=N.document.createElement(h);
var Q=N.document.createElementNS(B,w);
var P=Q.style;
P.cursor=e;
P.color=e;
P.overflow=C;
P.maxWidth=r;
P.padding=f;
P.margin=f;
P.width=g;
for(var R in this.__jO){Q.style[R]=e;
}Q.setAttribute(u,q);
O.appendChild(Q);
}else{var O=N.document.createElement(h);
qx.bom.element.Style.setStyles(O,this.__jS(M));
}
if(content){this.setValue(O,content);
}return O;
},setValue:function(S,T){T=T||b;

if(S.useHtml){S.innerHTML=T;
}else if(!qx.core.Environment.get(j)&&qx.core.Environment.get(i)){S.firstChild.setAttribute(c,T);
}else{qx.bom.element.Attribute.set(S,d,T);
}},getValue:function(U){if(U.useHtml){return U.innerHTML;
}else if(!qx.core.Environment.get(j)&&qx.core.Environment.get(i)){return U.firstChild.getAttribute(c)||b;
}else{return qx.bom.element.Attribute.get(U,d);
}},getHtmlSize:function(content,V,W){var X=this._htmlElement||this.__jQ();
X.style.width=W!=undefined?W+v:g;
X.innerHTML=content;
return this.__jT(X,V);
},getTextSize:function(Y,ba){var bb=this._textElement||this.__jP();

if(!qx.core.Environment.get(j)&&qx.core.Environment.get(i)){bb.firstChild.setAttribute(c,Y);
}else{qx.bom.element.Attribute.set(bb,d,Y);
}return this.__jT(bb,ba);
},__jT:function(bc,bd){var be=this.__jO;

if(!bd){bd={};
}
for(var bf in be){bc.style[bf]=bd[bf]||b;
}var bg=qx.bom.element.Dimension.getSize(bc);
if((qx.core.Environment.get(a)==t)){bg.width++;
}if((qx.core.Environment.get(a)==k)&&parseFloat(qx.core.Environment.get(n))>=9){bg.width++;
}return bg;
}}});
})();
(function(){var b="qx.event.type.Data",a="qx.ui.form.IForm";
qx.Interface.define(a,{events:{"changeEnabled":b,"changeValid":b,"changeInvalidMessage":b,"changeRequired":b},members:{setEnabled:function(c){return arguments.length==1;
},getEnabled:function(){},setRequired:function(d){return arguments.length==1;
},getRequired:function(){},setValid:function(e){return arguments.length==1;
},getValid:function(){},setInvalidMessage:function(f){return arguments.length==1;
},getInvalidMessage:function(){},setRequiredInvalidMessage:function(g){return arguments.length==1;
},getRequiredInvalidMessage:function(){}}});
})();
(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 i="qx.ui.window.Window",h="changeModal",g="changeVisibility",f="changeActive",d="_applyActiveWindow",c="__jU",b="__eJ",a="qx.ui.window.MDesktop";
qx.Mixin.define(a,{properties:{activeWindow:{check:i,apply:d,init:null,nullable:true}},members:{__jU:null,__eJ:null,getWindowManager:function(){if(!this.__eJ){this.setWindowManager(new qx.ui.window.Window.DEFAULT_MANAGER_CLASS());
}return this.__eJ;
},supportsMaximize:function(){return true;
},setWindowManager:function(j){if(this.__eJ){this.__eJ.setDesktop(null);
}j.setDesktop(this);
this.__eJ=j;
},_onChangeActive:function(e){if(e.getData()){this.setActiveWindow(e.getTarget());
}else if(this.getActiveWindow()==e.getTarget()){this.setActiveWindow(null);
}},_applyActiveWindow:function(k,l){this.getWindowManager().changeActiveWindow(k,l);
this.getWindowManager().updateStack();
},_onChangeModal:function(e){this.getWindowManager().updateStack();
},_onChangeVisibility:function(){this.getWindowManager().updateStack();
},_afterAddChild:function(m){if(qx.Class.isDefined(i)&&m instanceof qx.ui.window.Window){this._addWindow(m);
}},_addWindow:function(n){if(!qx.lang.Array.contains(this.getWindows(),n)){this.getWindows().push(n);
n.addListener(f,this._onChangeActive,this);
n.addListener(h,this._onChangeModal,this);
n.addListener(g,this._onChangeVisibility,this);
}
if(n.getActive()){this.setActiveWindow(n);
}this.getWindowManager().updateStack();
},_afterRemoveChild:function(o){if(qx.Class.isDefined(i)&&o instanceof qx.ui.window.Window){this._removeWindow(o);
}},_removeWindow:function(p){qx.lang.Array.remove(this.getWindows(),p);
p.removeListener(f,this._onChangeActive,this);
p.removeListener(h,this._onChangeModal,this);
p.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 f="_applyBlockerColor",e="Number",d="__jV",c="qx.ui.core.MBlocker",b="_applyBlockerOpacity",a="Color";
qx.Mixin.define(c,{construct:function(){this.__jV=this._createBlocker();
},properties:{blockerColor:{check:a,init:null,nullable:true,apply:f,themeable:true},blockerOpacity:{check:e,init:1,apply:b,themeable:true}},members:{__jV:null,_createBlocker:function(){return new qx.ui.core.Blocker(this);
},_applyBlockerColor:function(g,h){this.__jV.setColor(g);
},_applyBlockerOpacity:function(i,j){this.__jV.setOpacity(i);
},block:function(){this.__jV.block();
},isBlocked:function(){return this.__jV.isBlocked();
},unblock:function(){this.__jV.unblock();
},forceUnblock:function(){this.__jV.forceUnblock();
},blockContent:function(k){this.__jV.blockContent(k);
},isContentBlocked:function(){return this.__jV.isContentBlocked();
},unblockContent:function(){this.__jV.unblockContent();
},forceUnblockContent:function(){this.__jV.forceUnblockContent();
},getBlocker:function(){return this.__jV;
}},destruct:function(){this._disposeObjects(d);
}});
})();
(function(){var l="zIndex",k="px",j="keydown",h="deactivate",g="resize",f="keyup",d="keypress",c="backgroundColor",b="_applyOpacity",a="Boolean",x="opacity",w="__jf",v="interval",u="__kb",t="Tab",s="__jV",r="Color",q="qx.ui.root.Page",p="Number",o="qx.ui.core.Blocker",m="qx.ui.root.Application",n="_applyColor";
qx.Class.define(o,{extend:qx.core.Object,construct:function(y){qx.core.Object.call(this);
this._widget=y;
this._isPageRoot=(qx.Class.isDefined(q)&&y instanceof qx.ui.root.Page);

if(this._isPageRoot){y.addListener(g,this.__kd,this);
}
if(qx.Class.isDefined(m)&&y instanceof qx.ui.root.Application){this.setKeepBlockerActive(true);
}this.__jW=[];
this.__jX=[];
this.__jY=[];
},properties:{color:{check:r,init:null,nullable:true,apply:n,themeable:true},opacity:{check:p,init:1,apply:b,themeable:true},keepBlockerActive:{check:a,init:false}},members:{__jV:null,__ka:0,__kb:null,__jY:null,__jW:null,__jX:null,__kc:null,__jf:null,_isPageRoot:false,_widget:null,__kd:function(e){var z=e.getData();

if(this.isContentBlocked()){this.getContentBlockerElement().setStyles({width:z.width,height:z.height});
}
if(this.isBlocked()){this.getBlockerElement().setStyles({width:z.width,height:z.height});
}},_applyColor:function(A,B){var C=qx.theme.manager.Color.getInstance().resolve(A);
this.__ke(c,C);
},_applyOpacity:function(D,E){this.__ke(x,D);
},__ke:function(F,G){var H=[];
this.__jV&&H.push(this.__jV);
this.__kb&&H.push(this.__kb);

for(var i=0;i<H.length;i++){H[i].setStyle(F,G);
}},_backupActiveWidget:function(){var I=qx.event.Registration.getManager(window).getHandler(qx.event.handler.Focus);
this.__jW.push(I.getActive());
this.__jX.push(I.getFocus());

if(this._widget.isFocusable()){this._widget.focus();
}},_restoreActiveWidget:function(){var L=this.__jW.length;

if(L>0){var K=this.__jW[L-1];

if(K){qx.bom.Element.activate(K);
}this.__jW.pop();
}var J=this.__jX.length;

if(J>0){var K=this.__jX[J-1];

if(K){qx.bom.Element.focus(this.__jX[J-1]);
}this.__jX.pop();
}},__kf:function(){return new qx.html.Blocker(this.getColor(),this.getOpacity());
},getBlockerElement:function(){if(!this.__jV){this.__jV=this.__kf();
this.__jV.setStyle(l,15);
this._widget.getContainerElement().add(this.__jV);
this.__jV.exclude();
}return this.__jV;
},block:function(){this.__ka++;

if(this.__ka<2){this._backupActiveWidget();
var M=this.getBlockerElement();
M.include();
M.activate();
M.addListener(h,this.__kk,this);
M.addListener(d,this.__kj,this);
M.addListener(j,this.__kj,this);
M.addListener(f,this.__kj,this);
}},isBlocked:function(){return this.__ka>0;
},unblock:function(){if(!this.isBlocked()){return;
}this.__ka--;

if(this.__ka<1){this.__kg();
this.__ka=0;
}},forceUnblock:function(){if(!this.isBlocked()){return;
}this.__ka=0;
this.__kg();
},__kg:function(){this._restoreActiveWidget();
var N=this.getBlockerElement();
N.removeListener(h,this.__kk,this);
N.removeListener(d,this.__kj,this);
N.removeListener(j,this.__kj,this);
N.removeListener(f,this.__kj,this);
N.exclude();
},getContentBlockerElement:function(){if(!this.__kb){this.__kb=this.__kf();
this._widget.getContentElement().add(this.__kb);
this.__kb.exclude();
}return this.__kb;
},blockContent:function(O){var P=this.getContentBlockerElement();
P.setStyle(l,O);
this.__jY.push(O);

if(this.__jY.length<2){P.include();

if(this._isPageRoot){if(!this.__jf){this.__jf=new qx.event.Timer(300);
this.__jf.addListener(v,this.__ki,this);
}this.__jf.start();
this.__ki();
}}},isContentBlocked:function(){return this.__jY.length>0;
},unblockContent:function(){if(!this.isContentBlocked()){return;
}this.__jY.pop();
var Q=this.__jY[this.__jY.length-1];
var R=this.getContentBlockerElement();
R.setStyle(l,Q);

if(this.__jY.length<1){this.__kh();
this.__jY=[];
}},forceUnblockContent:function(){if(!this.isContentBlocked()){return;
}this.__jY=[];
var S=this.getContentBlockerElement();
S.setStyle(l,null);
this.__kh();
},__kh:function(){this.getContentBlockerElement().exclude();

if(this._isPageRoot){this.__jf.stop();
}},__ki:function(){var T=this._widget.getContainerElement().getDomElement();
var U=qx.dom.Node.getDocument(T);
this.getContentBlockerElement().setStyles({height:U.documentElement.scrollHeight+k,width:U.documentElement.scrollWidth+k});
},__kj:function(e){if(e.getKeyIdentifier()==t){e.stop();
}},__kk:function(){if(this.getKeepBlockerActive()){this.getBlockerElement().activate();
}}},destruct:function(){if(this._isPageRoot){this._widget.removeListener(g,this.__kd,this);
}this._disposeObjects(u,s,w);
this.__kc=this.__jW=this.__jX=this._widget=this.__jY=null;
}});
})();
(function(){var t="engine.name",s="help",r="contextmenu",q="changeGlobalCursor",p="keypress",o="Boolean",n="root",m="",l=" !important",k="input",d="_applyGlobalCursor",j="Space",h="_applyNativeHelp",c=";",b="qx.ui.root.Abstract",g="abstract",f="textarea",i="String",a="*";
qx.Class.define(b,{type:g,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();
this.addListener(p,this.__km,this);
},properties:{appearance:{refine:true,init:n},enabled:{refine:true,init:true},focusable:{refine:true,init:true},globalCursor:{check:i,nullable:true,themeable:true,apply:d,event:q},nativeContextMenu:{refine:true,init:false},nativeHelp:{check:o,init:false,apply:h}},members:{__kl:null,isRootWidget:function(){return true;
},getLayout:function(){return this._getLayout();
},_applyGlobalCursor:qx.core.Environment.select(t,{"mshtml":function(u,v){},"default":function(w,x){var y=qx.bom.Stylesheet;
var z=this.__kl;

if(!z){this.__kl=z=y.createElement();
}y.removeAllRules(z);

if(w){y.addRule(z,a,qx.bom.element.Cursor.compile(w).replace(c,m)+l);
}}}),_applyNativeContextMenu:function(A,B){if(A){this.removeListener(r,this._onNativeContextMenu,this,true);
}else{this.addListener(r,this._onNativeContextMenu,this,true);
}},_onNativeContextMenu:function(e){if(e.getTarget().getNativeContextMenu()){return;
}e.preventDefault();
},__km:function(e){if(e.getKeyIdentifier()!==j){return;
}var D=e.getTarget();
var C=qx.ui.core.FocusHandler.getInstance();

if(!C.isFocused(D)){return;
}var E=D.getContentElement().getNodeName();

if(E===k||E===f){return;
}e.preventDefault();
},_applyNativeHelp:qx.core.Environment.select(t,{"mshtml":function(F,G){if(G===false){qx.bom.Event.removeNativeListener(document,s,qx.lang.Function.returnFalse);
}
if(F===false){qx.bom.Event.addNativeListener(document,s,qx.lang.Function.returnFalse);
}},"default":function(){}})},destruct:function(){this.__kl=null;
},defer:function(H,I){qx.ui.core.MChildrenHandling.remap(I);
}});
})();
(function(){var k="keypress",j="__kn",h="focusout",g="activate",f="Tab",d="singleton",c="deactivate",b="focusin",a="qx.ui.core.FocusHandler";
qx.Class.define(a,{extend:qx.core.Object,type:d,construct:function(){qx.core.Object.call(this);
this.__kn={};
},members:{__kn:null,__ko:null,__kp:null,__kq:null,connectTo:function(m){m.addListener(k,this.__gr,this);
m.addListener(b,this._onFocusIn,this,true);
m.addListener(h,this._onFocusOut,this,true);
m.addListener(g,this._onActivate,this,true);
m.addListener(c,this._onDeactivate,this,true);
},addRoot:function(n){this.__kn[n.$$hash]=n;
},removeRoot:function(o){delete this.__kn[o.$$hash];
},getActiveWidget:function(){return this.__ko;
},isActive:function(p){return this.__ko==p;
},getFocusedWidget:function(){return this.__kp;
},isFocused:function(q){return this.__kp==q;
},isFocusRoot:function(r){return !!this.__kn[r.$$hash];
},_onActivate:function(e){var t=e.getTarget();
this.__ko=t;
var s=this.__kr(t);

if(s!=this.__kq){this.__kq=s;
}},_onDeactivate:function(e){var u=e.getTarget();

if(this.__ko==u){this.__ko=null;
}},_onFocusIn:function(e){var v=e.getTarget();

if(v!=this.__kp){this.__kp=v;
v.visualizeFocus();
}},_onFocusOut:function(e){var w=e.getTarget();

if(w==this.__kp){this.__kp=null;
w.visualizeBlur();
}},__gr:function(e){if(e.getKeyIdentifier()!=f){return;
}
if(!this.__kq){return;
}e.stopPropagation();
e.preventDefault();
var x=this.__kp;

if(!e.isShiftPressed()){var y=x?this.__kv(x):this.__kt();
}else{var y=x?this.__kw(x):this.__ku();
}if(y){y.tabFocus();
}},__kr:function(z){var A=this.__kn;

while(z){if(A[z.$$hash]){return z;
}z=z.getLayoutParent();
}return null;
},__ks:function(B,C){if(B===C){return 0;
}var E=B.getTabIndex()||0;
var D=C.getTabIndex()||0;

if(E!=D){return E-D;
}var J=B.getContainerElement().getDomElement();
var I=C.getContainerElement().getDomElement();
var H=qx.bom.element.Location;
var G=H.get(J);
var F=H.get(I);
if(G.top!=F.top){return G.top-F.top;
}if(G.left!=F.left){return G.left-F.left;
}var K=B.getZIndex();
var L=C.getZIndex();

if(K!=L){return K-L;
}return 0;
},__kt:function(){return this.__kz(this.__kq,null);
},__ku:function(){return this.__kA(this.__kq,null);
},__kv:function(M){var N=this.__kq;

if(N==M){return this.__kt();
}
while(M&&M.getAnonymous()){M=M.getLayoutParent();
}
if(M==null){return [];
}var O=[];
this.__kx(N,M,O);
O.sort(this.__ks);
var P=O.length;
return P>0?O[0]:this.__kt();
},__kw:function(Q){var R=this.__kq;

if(R==Q){return this.__ku();
}
while(Q&&Q.getAnonymous()){Q=Q.getLayoutParent();
}
if(Q==null){return [];
}var S=[];
this.__ky(R,Q,S);
S.sort(this.__ks);
var T=S.length;
return T>0?S[T-1]:this.__ku();
},__kx:function(parent,U,V){var W=parent.getLayoutChildren();
var X;

for(var i=0,l=W.length;i<l;i++){X=W[i];
if(!(X instanceof qx.ui.core.Widget)){continue;
}
if(!this.isFocusRoot(X)&&X.isEnabled()&&X.isVisible()){if(X.isTabable()&&this.__ks(U,X)<0){V.push(X);
}this.__kx(X,U,V);
}}},__ky:function(parent,Y,ba){var bb=parent.getLayoutChildren();
var bc;

for(var i=0,l=bb.length;i<l;i++){bc=bb[i];
if(!(bc instanceof qx.ui.core.Widget)){continue;
}
if(!this.isFocusRoot(bc)&&bc.isEnabled()&&bc.isVisible()){if(bc.isTabable()&&this.__ks(Y,bc)>0){ba.push(bc);
}this.__ky(bc,Y,ba);
}}},__kz:function(parent,bd){var be=parent.getLayoutChildren();
var bf;

for(var i=0,l=be.length;i<l;i++){bf=be[i];
if(!(bf instanceof qx.ui.core.Widget)){continue;
}if(!this.isFocusRoot(bf)&&bf.isEnabled()&&bf.isVisible()){if(bf.isTabable()){if(bd==null||this.__ks(bf,bd)<0){bd=bf;
}}bd=this.__kz(bf,bd);
}}return bd;
},__kA:function(parent,bg){var bh=parent.getLayoutChildren();
var bi;

for(var i=0,l=bh.length;i<l;i++){bi=bh[i];
if(!(bi instanceof qx.ui.core.Widget)){continue;
}if(!this.isFocusRoot(bi)&&bi.isEnabled()&&bi.isVisible()){if(bi.isTabable()){if(bg==null||this.__ks(bi,bg)>0){bg=bi;
}}bg=this.__kA(bi,bg);
}}return bg;
}},destruct:function(){this._disposeMap(j);
this.__kp=this.__ko=this.__kq=null;
}});
})();
(function(){var n="resize",m="engine.name",l="position",k="0px",j="webkit",i="paddingLeft",h="$$widget",g="qx.ui.root.Application",f="hidden",d="div",a="paddingTop",c="100%",b="absolute";
qx.Class.define(g,{extend:qx.ui.root.Abstract,construct:function(o){this.__cv=qx.dom.Node.getWindow(o);
this.__kB=o;
qx.ui.root.Abstract.call(this);
qx.event.Registration.addListener(this.__cv,n,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:{__cv:null,__kB:null,_createContainerElement:function(){var p=this.__kB;
if((qx.core.Environment.get(m)==j)){if(!p.body){alert("The application could not be started due to a missing body tag in the HTML file!");
}}var t=p.documentElement.style;
var q=p.body.style;
t.overflow=q.overflow=f;
t.padding=t.margin=q.padding=q.margin=k;
t.width=t.height=q.width=q.height=c;
var s=p.createElement(d);
p.body.appendChild(s);
var r=new qx.html.Root(s);
r.setStyle(l,b);
r.setAttribute(h,this.toHashCode());
return r;
},_onResize:function(e){qx.ui.core.queue.Layout.add(this);
},_computeSizeHint:function(){var u=qx.bom.Viewport.getWidth(this.__cv);
var v=qx.bom.Viewport.getHeight(this.__cv);
return {minWidth:u,width:u,maxWidth:u,minHeight:v,height:v,maxHeight:v};
},_applyPadding:function(w,x,name){if(w&&(name==a||name==i)){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(y,z){qx.ui.root.Abstract.prototype._applyDecorator.call(this,y,z);

if(!y){return;
}var A=this.getDecoratorElement().getInsets();

if(A.left||A.top){throw new Error("The root widget does not support decorators with 'left', or 'top' insets!");
}}},destruct:function(){this.__cv=this.__kB=null;
}});
})();
(function(){var b="number",a="qx.ui.layout.Canvas";
qx.Class.define(a,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:null,renderLayout:function(c,d){var q=this._getLayoutChildren();
var g,p,n;
var s,top,e,f,j,h;
var o,m,r,k;

for(var i=0,l=q.length;i<l;i++){g=q[i];
p=g.getSizeHint();
n=g.getLayoutProperties();
o=g.getMarginTop();
m=g.getMarginRight();
r=g.getMarginBottom();
k=g.getMarginLeft();
s=n.left!=null?n.left:n.edge;

if(qx.lang.Type.isString(s)){s=Math.round(parseFloat(s)*c/100);
}e=n.right!=null?n.right:n.edge;

if(qx.lang.Type.isString(e)){e=Math.round(parseFloat(e)*c/100);
}top=n.top!=null?n.top:n.edge;

if(qx.lang.Type.isString(top)){top=Math.round(parseFloat(top)*d/100);
}f=n.bottom!=null?n.bottom:n.edge;

if(qx.lang.Type.isString(f)){f=Math.round(parseFloat(f)*d/100);
}if(s!=null&&e!=null){j=c-s-e-k-m;
if(j<p.minWidth){j=p.minWidth;
}else if(j>p.maxWidth){j=p.maxWidth;
}s+=k;
}else{j=n.width;

if(j==null){j=p.width;
}else{j=Math.round(parseFloat(j)*c/100);
if(j<p.minWidth){j=p.minWidth;
}else if(j>p.maxWidth){j=p.maxWidth;
}}
if(e!=null){s=c-j-e-m-k;
}else if(s==null){s=k;
}else{s+=k;
}}if(top!=null&&f!=null){h=d-top-f-o-r;
if(h<p.minHeight){h=p.minHeight;
}else if(h>p.maxHeight){h=p.maxHeight;
}top+=o;
}else{h=n.height;

if(h==null){h=p.height;
}else{h=Math.round(parseFloat(h)*d/100);
if(h<p.minHeight){h=p.minHeight;
}else if(h>p.maxHeight){h=p.maxHeight;
}}
if(f!=null){top=d-h-f-r-o;
}else if(top==null){top=o;
}else{top+=o;
}}g.renderLayout(s,top,j,h);
}},_computeSizeHint:function(){var I=0,H=0;
var F=0,D=0;
var B,A;
var z,x;
var t=this._getLayoutChildren();
var w,G,v;
var J,top,u,y;

for(var i=0,l=t.length;i<l;i++){w=t[i];
G=w.getLayoutProperties();
v=w.getSizeHint();
var E=w.getMarginLeft()+w.getMarginRight();
var C=w.getMarginTop()+w.getMarginBottom();
B=v.width+E;
A=v.minWidth+E;
J=G.left!=null?G.left:G.edge;

if(J&&typeof J===b){B+=J;
A+=J;
}u=G.right!=null?G.right:G.edge;

if(u&&typeof u===b){B+=u;
A+=u;
}I=Math.max(I,B);
H=Math.max(H,A);
z=v.height+C;
x=v.minHeight+C;
top=G.top!=null?G.top:G.edge;

if(top&&typeof top===b){z+=top;
x+=top;
}y=G.bottom!=null?G.bottom:G.edge;

if(y&&typeof y===b){z+=y;
x+=y;
}F=Math.max(F,z);
D=Math.max(D,x);
}return {width:I,minWidth:H,height:F,minHeight:D};
}}});
})();
(function(){var a="qx.html.Root";
qx.Class.define(a,{extend:qx.html.Element,construct:function(b){qx.html.Element.call(this);

if(b!=null){this.useElement(b);
}},members:{useElement:function(c){qx.html.Element.prototype.useElement.call(this,c);
this.setRoot(true);
qx.html.Element._modified[this.$$hash]=this;
}}});
})();
(function(){var k="cursor",j="100%",i="repeat",h="mousedown",g="url(",f=")",d="mouseout",c="div",b="dblclick",a="mousewheel",w="qx.html.Blocker",v="mousemove",u="mouseover",t="appear",s="click",r="mshtml",q="engine.name",p="mouseup",o="contextmenu",n="disappear",l="qx/static/blank.gif",m="absolute";
qx.Class.define(w,{extend:qx.html.Element,construct:function(x,y){var x=x?qx.theme.manager.Color.getInstance().resolve(x):null;
var z={position:m,width:j,height:j,opacity:y||0,backgroundColor:x};
if((qx.core.Environment.get(q)==r)){z.backgroundImage=g+qx.util.ResourceManager.getInstance().toUri(l)+f;
z.backgroundRepeat=i;
}qx.html.Element.call(this,c,z);
this.addListener(h,this._stopPropagation,this);
this.addListener(p,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(d,this._stopPropagation,this);
this.addListener(a,this._stopPropagation,this);
this.addListener(o,this._stopPropagation,this);
this.addListener(t,this.__kC,this);
this.addListener(n,this.__kC,this);
},members:{_stopPropagation:function(e){e.stopPropagation();
},__kC:function(){var A=this.getStyle(k);
this.setStyle(k,null,true);
this.setStyle(k,A,true);
}}});
})();
(function(){var bF='timestamps',bE='database-type',bD="application/json",bC="POST",bB="",bA='downloaded',bz='store-appear',by="database",bx="completed",bw="normal",bl="GRFIND",bk="white",bj="5%",bi='start-time',bh="visible",bg="store",bf="hovered",be="application-clear-history",bd="35%",bc="grfind-background",bM="featherbottoms",bN="10%",bK='database-name',bL='application-data',bI='client-data',bJ="application-dialog",bG="grfind.Application",bH="FEATHERBOTTOMS(MAIN)",bO="engine.version",bP="browser.name",bp="wait",bo="app/userhelp",br="No Errors",bq='url-name',bt="vertical",bs="books@featherbottoms.com",bv="#ff0000",bu="mouseover",bn="highlight-box",bm="os.version",a="bold",b="marketname",c="os.name",d="Sorry, but we have an invalid program scope and cannot continue.",f="GRFIND(MAIN)",g="sendBrowserReport",i="Clear",j='layout-name',k="legend",l="15%",bT="public",bS="browser.version",bR="The database has been taken offline. you shouldn't even get here.",bQ='database-hash',bX='help',bW='height',bV="FEATHERBOTTOMS",bU="STORE",ca="mouseout",bY='program-name',L="Cannot calculate window position",M="plugin.flash.version",J="25%",K="5eca838a715efd60f77fafd5b9058481c88043d9",P="books",Q='show-view-window-only',N="passwordValidated",O='password-protected',H="Contact grFind",I='legend-widget',t="Question or Comment",s="engine.name",v="MARKET",u='market-names',p="isDatabasePublic",o="resource/images/grfind/copyright.jpg",r="support@grfind.com",q="application-history",n="24px sans-serif",m='search-criteria-values',V="atom",W="default",X="History",Y="20%",R="vanillaGrFind",S="27%",T="Message",U='width',ba="application-user-help",bb="Clear this History",F="url",E="Ctrl+L",D="appear",C="Default Layout",B="Contact featherbottoms",A='market-type',z="GrFind",y='item-array',G="Featherbottoms - home of quality used books ( books@featherbottoms.com )";
qx.Class.define(bG,{extend:qx.application.Standalone,properties:{desktop:{init:null},windowMaker:{init:null},sessionKey:{init:null},programName:{init:bl},senderEmail:{init:bB},recipientEmail:{init:bB},dragMarker:{init:null},featherbottoms:{init:false},resizeSensitivity:{init:8},itemArray:{init:[]},itemArrayIndex:{init:0},databaseType:{init:null},databaseHash:{init:null},layoutName:{init:C},searchCriteriaValues:{init:[]},databaseUrl:{init:null},databaseRequest:{init:null},databaseArgs:{init:null},databaseKwargs:{init:null}},members:{_audit:{'timestamps':{},'application-data':{'program-name':z,'error-text':br},'client-data':[qx.core.Environment.get(c),qx.core.Environment.get(bm),qx.core.Environment.get(bP),qx.core.Environment.get(bS),qx.core.Environment.get(s),qx.core.Environment.get(bO),qx.core.Environment.get(M)]},_viewWindowBounds:{},_windowBounds:{},highlightOnMouseOver:function(cb){cb.set({appearance:bn});
cb.addListener(bu,function(e){e.getCurrentTarget().removeState(bw);
e.getCurrentTarget().addState(bf);
});
cb.addListener(ca,function(e){e.getCurrentTarget().removeState(bf);
e.getCurrentTarget().addState(bw);
});
},_toggleWindowVisibility:function(w){if(w&&w.getVisibility()==bh){w.close();
return false;
}else{w.open();
return true;
}},calculateWidthAndHeight:function(cc,cd,ce){if(cc){var w=cc.getBounds()[U];
var h=cc.getBounds()[bW];

if(w&&h&&cd&&ce){if(w>0&&h>0&&cd>0&&ce>0){return {'width':w*cd,'height':h*ce};
}else{return {'width':600,'height':400};
}}else{return {'width':600,'height':400};
}}else{this.userMessage(L);
}},_createCosmeticCanvas:function(cf,cg,ch){!cg?cg=null:null;
cf.set({padding:4,backgroundColor:bk});
var cj=new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({backgroundColor:bk});
var ci=new qx.ui.groupbox.GroupBox(cg).set({contentPadding:3});
ci.setLayout(new qx.ui.layout.Canvas());
var ck=ci.getChildControl(k);
cj.setUserData(I,ck);

if(cg&&ch){this.createTooltip(ck,null,ch,750);
}ci.add(cf,{edge:0});
cj.add(ci,{edge:5});
return cj;
},userMessage:function(cl,cm){cm?this.userMessageWindow.setCaption(cm):this.userMessageWindow.setCaption(T);
this.userMessageWindow._writeMessage(cl);
this.userMessageWindow.open();
},createTooltip:function(cn,co,cp,cq){if(cn&&cp){cq?cq=parseInt(cq):cq=0;
cn.setToolTip(new qx.ui.tooltip.ToolTip(cp).set({rich:true,maxWidth:400,padding:8,showTimeout:cq,hideTimeout:15000,font:W}));
}},_log:function(cr,cs,ct){},_doViewWindow:function(){if(this.getItemArray().length>0){var w=this.windowMaker._createViewWindow();

if(this.showViewWindowOnly){w.set({showClose:false,showMinimize:false,showMaximize:false,movable:false,resizable:false});
this.placeHolder.add(w,{edge:0});
}else{w.set({width:qx.bom.Document.getWidth()*0.7,height:qx.bom.Document.getHeight()*0.7});
this.getDesktop().add(w,{top:bj,left:bN});
}w._initialize(this.getDatabaseType(),this.getItemArray(),this.getItemArrayIndex(),this.getLayoutName());
}},_createHistoryBox:function(){var cu=new qx.ui.container.Composite(new qx.ui.layout.VBox(2));
this.historyCanvas=new qx.ui.container.SlideBar(bt).set({padding:[4,4,4,4]});
var cv=new grfind.Button(this,V,be,i);
this.createTooltip(cv,null,bb,0);
cu.add(new qx.ui.basic.Atom(X).set({padding:4,font:a}));
cu.add(this.historyCanvas,{flex:1});
cu.add(cv);
return cu;
},_sendBrowserReport:function(){var cw=new grfind.HttpRequest(g,bC,bD,6000,{'timestamps':this._audit[bF],'application-data':this._audit[bL],'client-data':this._audit[bI]});
cw.start();
},_doButton:function(cx,cy){switch(cx){case bJ:{if(!this.dialogWindow){this.dialogWindow=new grfind.window.DialogWindow(this.getDesktop());
this.dialogWindow.set({width:qx.bom.Document.getWidth()*0.6,height:qx.bom.Document.getHeight()*0.6});
this.getDesktop().add(this.dialogWindow,{top:l,left:Y});
}
if(this.getFeatherbottoms()==bM){var cz=bs;
var cB=B;
var cA=bH;
}else{var cz=r;
var cB=H;
var cA=f;
}this.dialogWindow.open();
this.dialogWindow._initialize(cA,this.getSenderEmail(),cz,t,bB,cB);
};
break;
case ba:{if(!this.userHelpWindow){this.userHelpWindow=new grfind.window.HelpWindow();
this.userHelpWindow.set({width:qx.bom.Document.getWidth()*0.8,height:qx.bom.Document.getHeight()*0.8});
this.getDesktop().add(this.userHelpWindow,{top:bj,left:bN});
}this.userHelpWindow._initialize(bo);
this._toggleWindowVisibility(this.userHelpWindow);
};
break;
case q:{this.historyBox.getVisibility()==bh?this.historyBox.exclude():this.historyBox.show();
};
break;
case be:{this.historyCanvas.removeAll();
};
break;
default:{alert("Application(grFind) - unknown button was pressed "+cx);
};
}},main:function(){qx.application.Standalone.prototype.main.call(this);
var cF=this;
var cE=cF.doc=cF.getRoot().set({decorator:bc});
qx.log.appender.Native;
this.userMessageWindow=new grfind.window.UserMessageWindow();
this.userMessageWindow.set({width:screen.width*.25,height:screen.height*.25});
this.setDatabaseHash(window.DATABASEHASH);
this.setDatabaseUrl(window.DATABASEURL);
this.setDatabaseRequest(window.DATABASEREQUEST);
this.setDatabaseArgs(window.ARGS);
this.setDatabaseKwargs(window.KWARGS);
this.setFeatherbottoms(window.FEATHERBOTTOMS);
this.info("DATABASEHASH "+this.getDatabaseHash());
this.info("DATABASEURL "+this.getDatabaseUrl());
this.info("INDEXSTARTTIME "+window.INDEXSTARTTIME);
this.info("REQUEST "+this.getDatabaseRequest());
this.info("args "+window.ARGS+" "+typeof (window.ARGS));
this.info("kwargs"+window.KWARGS);
this._audit[bF][bi]=window.INDEXSTARTTIME;
this._audit[bF][bA]=new Date().getTime();

if(this.getFeatherbottoms()){this._audit[bL][bY]=bM;
}cE.add(this.userMessageWindow,{top:J,left:S});
var cI=this._audit[bF][bA]-this._audit[bF][bi];
this.baseCanvas=new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({padding:4});
this.setDesktop(new qx.ui.window.Desktop(new qx.ui.window.Manager()));
var cD=new qx.ui.basic.Image(o).set({padding:[38,0,0,0]});
var cK=new qx.ui.container.Composite(new qx.ui.layout.VBox(4));
this.historyBox=this._createCosmeticCanvas(this._createHistoryBox());
this.historyBox.exclude();
var cM=new qx.ui.container.Composite(new qx.ui.layout.HBox());
this.placeHolder=new qx.ui.container.Composite(new qx.ui.layout.Canvas());
this.windowMaker=new grfind.WindowMaker();
this.setDragMarker(new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({height:1,backgroundColor:bv}));
var cH=new qx.ui.core.Command(E);
cF.getFeatherbottoms()?cK.add(new qx.ui.basic.Atom(G).set({padding:15,decorator:bc,font:qx.bom.Font.fromString(n)})):null;
cK.add(this.placeHolder,{flex:1});
cK.add(this.windowMaker);
cM.add(this._createCosmeticCanvas(cK),{flex:1});
cM.add(cD);
cM.add(this.historyBox);
this.getDesktop().add(cM,{edge:0});
this.baseCanvas.add(this.getDesktop(),{edge:0});
cE.add(this.baseCanvas,{edge:0});
var cL=false;
var cJ=this.getDatabaseKwargs();

for(var cG in cJ){if(cG==F){cL=true;
break;
}}if(cL){var cC=new grfind.HttpRequest(p,bC,bD,4000,{'database-kwargs':this.getDatabaseKwargs()});
cC.addListener(bx,function(e){if(e.getData().error==0){if(e.getData().visibility==bT){this.setDatabaseType(e.getData()[bE]);
this.setDatabaseHash(e.getData()[bQ]);
this.setLayoutName(e.getData()[j]);
this.setSearchCriteriaValues(e.getData()[m]);
this.setItemArray(e.getData()[y]);
this.showViewWindowOnly=e.getData()[Q];
var cN=e.getData()[bq];

if(e.getData()[O]){if(!this.validatePasswordWindow){this.validatePasswordWindow=new grfind.window.ValidatePasswordWindow();
this.baseCanvas.add(this.validatePasswordWindow,{top:bd,left:bd});
this.validatePasswordWindow.addListener(N,function(e){this.getRoot().setGlobalCursor(bp);
if(!this.showViewWindowOnly){this.placeHolder.add(new grfind.StoreCanvas(this.getDatabaseType(),this.getDatabaseHash(),this.getLayoutName(),this.getSearchCriteriaValues(),by),{edge:0});
}this._doViewWindow();
},this);
}this.validatePasswordWindow._initialize(this.getDatabaseHash(),cN);
this.validatePasswordWindow.open();
}else{if(!this.showViewWindowOnly){this.placeHolder.add(new grfind.StoreCanvas(this.getDatabaseType(),this.getDatabaseHash(),this.getLayoutName(),this.getSearchCriteriaValues(),by),{edge:0});
}this._doViewWindow();
}}else{cF.userMessage(bR);
}}else{cF.userMessage(e.getData().msg);
}},this);
cC.start();
}else{var cC=new grfind.HttpRequest(R,bC,bD,6000,{'database-request':this.getDatabaseRequest(),'database-args':this.getDatabaseArgs(),'database-kwargs':this.getDatabaseKwargs()});
cC.addListener(bx,function(e){if(e.getData().error==0){var cQ=e.getData()[bE];
var cO=e.getData()[A];
var cP=e.getData()[u];

switch(e.getData().scope){case bV:{this.placeHolder.add(new grfind.StoreCanvas(P,K,this.getLayoutName(),this.getSearchCriteriaValues(),bg),{edge:0});
};
break;
case bU:{this.placeHolder.add(new grfind.StoreCanvas(cQ,cQ,this.getLayoutName(),this.getSearchCriteriaValues(),bg),{edge:0});
};
break;
case v:{this.placeHolder.add(new grfind.ApplicationBody(cO,b),{edge:0});
};
break;
case bl:{this.mainTabView=new qx.ui.tabview.TabView();
this.placeHolder.add(this.mainTabView,{edge:0});

for(var x=0;x<cP.length;x++){var cS=new qx.ui.tabview.Page(cP[x][0]);
cS.setLayout(new qx.ui.layout.Canvas());
x==0?cS.add(new grfind.ApplicationBody(cP[x][1],cP[x][0]),{edge:0}):null;
var cR=cS.getButton();
cR.setUserData(bX,cP[x][2]);
this.createTooltip(cR,null,cP[x][2]);
cS.setUserData(bE,cP[x][1]);
cS.setUserData(bK,cP[x][0]);
cS.addListener(D,function(e){this._audit[bF][bz]=new Date().getTime();
var cU=this._audit[bF][bz]-this._audit[bF][bA];
if(!e.getCurrentTarget().hasChildren()){var cV=e.getCurrentTarget();
var cT=cV.getUserData(bE);
var cW=cV.getUserData(bK);
cV.add(new grfind.ApplicationBody(cT,cW),{edge:0});
}},this);
this.mainTabView.add(cS);
}};
break;
default:{cF.userMessage(d);
};
}}else{cF.userMessage(e.getData().msg);
}},this);
cC.start();
}}}});
})();
(function(){var l="indexOf",k="addAfter",j="add",i="addBefore",h="_",g="addAt",f="hasChildren",e="removeAt",d="removeAll",c="getChildren",a="remove",b="qx.ui.core.MRemoteChildrenHandling";
qx.Mixin.define(b,{members:{__kD:function(m,n,o,p){var q=this.getChildrenContainer();

if(q===this){m=h+m;
}return (q[m])(n,o,p);
},getChildren:function(){return this.__kD(c);
},hasChildren:function(){return this.__kD(f);
},add:function(r,s){return this.__kD(j,r,s);
},remove:function(t){return this.__kD(a,t);
},removeAll:function(){return this.__kD(d);
},indexOf:function(u){return this.__kD(l,u);
},addAt:function(v,w,x){this.__kD(g,v,w,x);
},addBefore:function(y,z,A){this.__kD(i,y,z,A);
},addAfter:function(B,C,D){this.__kD(k,B,C,D);
},removeAt:function(E){return this.__kD(e,E);
}}});
})();
(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 l="qx.dynlocale",k="Boolean",j="changeLocale",i="changeInvalidMessage",h="String",g="invalid",f="",d="qx.ui.form.MForm",c="_applyValid",b="changeRequired",a="changeValid";
qx.Mixin.define(d,{construct:function(){if(qx.core.Environment.get(l)){qx.locale.Manager.getInstance().addListener(j,this.__kE,this);
}},properties:{valid:{check:k,init:true,apply:c,event:a},required:{check:k,init:false,event:b},invalidMessage:{check:h,init:f,event:i},requiredInvalidMessage:{check:h,nullable:true,event:i}},members:{_applyValid:function(m,n){m?this.removeState(g):this.addState(g);
},__kE:qx.core.Environment.select(l,{"true":function(e){var o=this.getInvalidMessage();

if(o&&o.translate){this.setInvalidMessage(o.translate());
}var p=this.getRequiredInvalidMessage();

if(p&&p.translate){this.setRequiredInvalidMessage(p.translate());
}},"false":null})},destruct:function(){if(qx.core.Environment.get(l)){qx.locale.Manager.getInstance().removeListener(j,this.__kE,this);
}}});
})();
(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:{__kF:{contentPaddingTop:i,contentPaddingRight:h,contentPaddingBottom:m,contentPaddingLeft:f},__kG:{contentPaddingTop:l,contentPaddingRight:n,contentPaddingBottom:g,contentPaddingLeft:j},_applyContentPadding:function(q,r,name){var s=this._getContentPaddingTarget();

if(q==null){var t=this.__kG[name];
s[t]();
}else{var u=this.__kF[name];
s[u](q);
}}}});
})();
(function(){var i="legend",h="frame",g="middle",f="top",d="resize",c="qx.ui.groupbox.GroupBox",b="groupbox",a="_applyLegendPosition";
qx.Class.define(c,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MRemoteLayoutHandling,qx.ui.core.MContentPadding,qx.ui.form.MForm],implement:[qx.ui.form.IForm],construct:function(j,k){qx.ui.core.Widget.call(this);
this._setLayout(new qx.ui.layout.Canvas);
this._createChildControl(h);
this._createChildControl(i);
if(j!=null){this.setLegend(j);
}
if(k!=null){this.setIcon(k);
}},properties:{appearance:{refine:true,init:b},legendPosition:{check:[f,g],init:g,apply:a,themeable:true}},members:{_forwardStates:{invalid:true},_createChildControlImpl:function(l,m){var n;

switch(l){case h:n=new qx.ui.container.Composite();
this._add(n,{left:0,top:6,right:0,bottom:0});
break;
case i:n=new qx.ui.basic.Atom();
n.addListener(d,this._repositionFrame,this);
this._add(n,{left:0,right:0});
break;
}return n||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,l);
},_getContentPaddingTarget:function(){return this.getChildControl(h);
},_applyLegendPosition:function(e){if(this.getChildControl(i).getBounds()){this._repositionFrame();
}},_repositionFrame:function(){var p=this.getChildControl(i);
var o=this.getChildControl(h);
var q=p.getBounds().height;
if(this.getLegendPosition()==g){o.setLayoutProperties({"top":Math.round(q/2)});
}else if(this.getLegendPosition()==f){o.setLayoutProperties({"top":q});
}},getChildrenContainer:function(){return this.getChildControl(h);
},setLegend:function(r){var s=this.getChildControl(i);

if(r!==null){s.setLabel(r);
s.show();
}else{s.exclude();
}},getLegend:function(){return this.getChildControl(i).getLabel();
},setIcon:function(t){this.getChildControl(i).setIcon(t);
},getIcon:function(){this.getChildControl(i).getIcon();
}}});
})();
(function(){var n="_applyLayoutChange",m="top",k="left",j="middle",h="Decorator",g="center",f="_applyReversed",e="bottom",d="qx.ui.layout.VBox",c="Integer",a="right",b="Boolean";
qx.Class.define(d,{extend:qx.ui.layout.Abstract,construct:function(o,p,q){qx.ui.layout.Abstract.call(this);

if(o){this.setSpacing(o);
}
if(p){this.setAlignY(p);
}
if(q){this.setSeparator(q);
}},properties:{alignY:{check:[m,j,e],init:m,apply:n},alignX:{check:[k,g,a],init:k,apply:n},spacing:{check:c,init:0,apply:n},separator:{check:h,nullable:true,apply:n},reversed:{check:b,init:false,apply:f}},members:{__kH:null,__kI:null,__kJ:null,__fg:null,_applyReversed:function(){this._invalidChildrenCache=true;
this._applyLayoutChange();
},__kK:function(){var w=this._getLayoutChildren();
var length=w.length;
var s=false;
var r=this.__kH&&this.__kH.length!=length&&this.__kI&&this.__kH;
var u;
var t=r?this.__kH:new Array(length);
var v=r?this.__kI:new Array(length);
if(this.getReversed()){w=w.concat().reverse();
}for(var i=0;i<length;i++){u=w[i].getLayoutProperties();

if(u.height!=null){t[i]=parseFloat(u.height)/100;
}
if(u.flex!=null){v[i]=u.flex;
s=true;
}else{v[i]=0;
}}if(!r){this.__kH=t;
this.__kI=v;
}this.__kJ=s;
this.__fg=w;
delete this._invalidChildrenCache;
},verifyLayoutProperty:null,renderLayout:function(x,y){if(this._invalidChildrenCache){this.__kK();
}var F=this.__fg;
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.__kH[i];
B=J!=null?Math.floor((y-C)*J):F[i].getSizeHint().height;
K.push(B);
Q+=B;
}if(this.__kJ&&Q!=y){var H={};
var N,R;

for(i=0;i<length;i+=1){N=this.__kI[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()!=m){top=y-Q;

if(this.getAlignY()===j){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.__kK();
}var bc=qx.ui.layout.Util;
var bk=this.__fg;
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.__kI[i];
var Y=this.__kH[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.__kH=this.__kI=this.__fg=null;
}});
})();
(function(){var u="horizontal",t="scrollpane",s="button-backward",r="button-forward",q="vertical",p="content",o="execute",n="qx.ui.container.SlideBar",m="scrollY",l="engine.name",d="removeChildWidget",k="scrollX",h="_applyOrientation",c="mousewheel",b="gecko",g="x",f="y",i="Integer",a="slidebar",j="update";
qx.Class.define(n,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MRemoteLayoutHandling],construct:function(v){qx.ui.core.Widget.call(this);
var w=this.getChildControl(t);
this._add(w,{flex:1});

if(v!=null){this.setOrientation(v);
}else{this.initOrientation();
}this.addListener(c,this._onMouseWheel,this);
},properties:{appearance:{refine:true,init:a},orientation:{check:[u,q],init:u,apply:h},scrollStep:{check:i,init:15,themeable:true}},members:{getChildrenContainer:function(){return this.getChildControl(p);
},_createChildControlImpl:function(x,y){var z;

switch(x){case r:z=new qx.ui.form.RepeatButton;
z.addListener(o,this._onExecuteForward,this);
z.setFocusable(false);
this._addAt(z,2);
break;
case s:z=new qx.ui.form.RepeatButton;
z.addListener(o,this._onExecuteBackward,this);
z.setFocusable(false);
this._addAt(z,0);
break;
case p:z=new qx.ui.container.Composite();
if(qx.core.Environment.get(l)==b){z.addListener(d,this._onRemoveChild,this);
}this.getChildControl(t).add(z);
break;
case t:z=new qx.ui.core.scroll.ScrollPane();
z.addListener(j,this._onResize,this);
z.addListener(k,this._onScroll,this);
z.addListener(m,this._onScroll,this);
break;
}return z||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,x);
},_forwardStates:{barLeft:true,barTop:true,barRight:true,barBottom:true},scrollBy:function(A){var B=this.getChildControl(t);

if(this.getOrientation()===u){B.scrollByX(A);
}else{B.scrollByY(A);
}},scrollTo:function(C){var D=this.getChildControl(t);

if(this.getOrientation()===u){D.scrollToX(C);
}else{D.scrollToY(C);
}},_applyEnabled:function(E,F,name){qx.ui.core.Widget.prototype._applyEnabled.call(this,E,F,name);
this._updateArrowsEnabled();
},_applyOrientation:function(G,H){var K=[this.getLayout(),this._getLayout()];
var J=this.getChildControl(r);
var I=this.getChildControl(s);
if(H==q){J.removeState(q);
I.removeState(q);
J.addState(u);
I.addState(u);
}else if(H==u){J.removeState(u);
I.removeState(u);
J.addState(q);
I.addState(q);
}
if(G==u){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(K[0]){K[0].dispose();
}
if(K[1]){K[1].dispose();
}},_onMouseWheel:function(e){var L=0;

if(this.getOrientation()===u){L=e.getWheelDelta(g);
}else{L=e.getWheelDelta(f);
}this.scrollBy(L*this.getScrollStep());
e.stop();
},_onScroll:function(){this._updateArrowsEnabled();
},_onResize:function(e){var content=this.getChildControl(t).getChildren()[0];

if(!content){return;
}var M=this.getInnerSize();
var O=content.getBounds();
var N=(this.getOrientation()===u)?O.width>M.width:O.height>M.height;

if(N){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(t).getScrollX());
},this,50);
},_updateArrowsEnabled:function(){if(!this.getEnabled()){this.getChildControl(s).setEnabled(false);
this.getChildControl(r).setEnabled(false);
return;
}var Q=this.getChildControl(t);

if(this.getOrientation()===u){var P=Q.getScrollX();
var R=Q.getScrollMaxX();
}else{var P=Q.getScrollY();
var R=Q.getScrollMaxY();
}this.getChildControl(s).setEnabled(P>0);
this.getChildControl(r).setEnabled(P<R);
},_showArrows:function(){this._showChildControl(r);
this._showChildControl(s);
},_hideArrows:function(){this._excludeChildControl(r);
this._excludeChildControl(s);
this.scrollTo(0);
}}});
})();
(function(){var n="execute",m="toolTipText",l="icon",k="label",j="qx.ui.core.MExecutable",h="value",g="qx.event.type.Event",f="_applyCommand",d="enabled",c="menu",a="changeCommand",b="qx.ui.core.Command";
qx.Mixin.define(j,{events:{"execute":g},properties:{command:{check:b,apply:f,event:a,nullable:true}},members:{__kL:null,__kM:false,__kN:null,_bindableProperties:[d,k,l,m,h,c],execute:function(){var o=this.getCommand();

if(o){if(this.__kM){this.__kM=false;
}else{this.__kM=true;
o.execute(this);
}}this.fireEvent(n);
},__kO:function(e){if(this.__kM){this.__kM=false;
return;
}this.__kM=true;
this.execute();
},_applyCommand:function(p,q){if(q!=null){q.removeListenerById(this.__kN);
}
if(p!=null){this.__kN=p.addListener(n,this.__kO,this);
}var t=this.__kL;

if(t==null){this.__kL=t={};
}var u;

for(var i=0;i<this._bindableProperties.length;i++){var s=this._bindableProperties[i];
if(q!=null&&!q.isDisposed()&&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){u=this.get(s);
}else{u=null;
}t[s]=p.bind(s,this,s);
if(u){this.set(s,u);
}}}}},destruct:function(){this._applyCommand(null,this.getCommand());
this.__kL=null;
}});
})();
(function(){var b="qx.ui.form.IExecutable",a="qx.event.type.Data";
qx.Interface.define(b,{events:{"execute":a},members:{setCommand:function(c){return arguments.length==1;
},getCommand:function(){},execute:function(){}}});
})();
(function(){var o="pressed",n="abandoned",m="hovered",l="Enter",k="Space",j="dblclick",i="qx.ui.form.Button",h="mouseup",g="mousedown",f="mouseover",b="mouseout",d="keydown",c="button",a="keyup";
qx.Class.define(i,{extend:qx.ui.basic.Atom,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],construct:function(p,q,r){qx.ui.basic.Atom.call(this,p,q);

if(r!=null){this.setCommand(r);
}this.addListener(f,this._onMouseOver);
this.addListener(b,this._onMouseOut);
this.addListener(g,this._onMouseDown);
this.addListener(h,this._onMouseUp);
this.addListener(d,this._onKeyDown);
this.addListener(a,this._onKeyUp);
this.addListener(j,this._onStopEvent);
},properties:{appearance:{refine:true,init:c},focusable:{refine:true,init:true}},members:{_forwardStates:{focused:true,hovered:true,pressed:true,disabled:true},press:function(){if(this.hasState(n)){return;
}this.addState(o);
},release:function(){if(this.hasState(o)){this.removeState(o);
}},reset:function(){this.removeState(o);
this.removeState(n);
this.removeState(m);
},_onMouseOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;
}
if(this.hasState(n)){this.removeState(n);
this.addState(o);
}this.addState(m);
},_onMouseOut:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;
}this.removeState(m);

if(this.hasState(o)){this.removeState(o);
this.addState(n);
}},_onMouseDown:function(e){if(!e.isLeftPressed()){return;
}e.stopPropagation();
this.capture();
this.removeState(n);
this.addState(o);
},_onMouseUp:function(e){this.releaseCapture();
var s=this.hasState(o);
var t=this.hasState(n);

if(s){this.removeState(o);
}
if(t){this.removeState(n);
}else{this.addState(m);

if(s){this.execute();
}}e.stopPropagation();
},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case l:case k:this.removeState(n);
this.addState(o);
e.stopPropagation();
}},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case l:case k:if(this.hasState(o)){this.removeState(n);
this.removeState(o);
this.execute();
e.stopPropagation();
}}}}});
})();
(function(){var n="pressed",m="abandoned",l="Integer",k="hovered",j="qx.event.type.Event",i="Enter",h="Space",g="press",f="qx.ui.form.RepeatButton",d="release",a="__jf",c="interval",b="execute";
qx.Class.define(f,{extend:qx.ui.form.Button,construct:function(o,p){qx.ui.form.Button.call(this,o,p);
this.__jf=new qx.event.AcceleratingTimer();
this.__jf.addListener(c,this._onInterval,this);
},events:{"execute":j,"press":j,"release":j},properties:{interval:{check:l,init:100},firstInterval:{check:l,init:500},minTimer:{check:l,init:20},timerDecrease:{check:l,init:2}},members:{__kP:null,__jf:null,press:function(){if(this.isEnabled()){if(!this.hasState(n)){this.__kQ();
}this.removeState(m);
this.addState(n);
}},release:function(q){if(!this.isEnabled()){return;
}if(this.hasState(n)){if(!this.__kP){this.execute();
}}this.removeState(n);
this.removeState(m);
this.__kR();
},_applyEnabled:function(r,s){qx.ui.form.Button.prototype._applyEnabled.call(this,r,s);

if(!r){this.removeState(n);
this.removeState(m);
this.__kR();
}},_onMouseOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;
}
if(this.hasState(m)){this.removeState(m);
this.addState(n);
this.__jf.start();
}this.addState(k);
},_onMouseOut:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;
}this.removeState(k);

if(this.hasState(n)){this.removeState(n);
this.addState(m);
this.__jf.stop();
}},_onMouseDown:function(e){if(!e.isLeftPressed()){return;
}this.capture();
this.__kQ();
e.stopPropagation();
},_onMouseUp:function(e){this.releaseCapture();

if(!this.hasState(m)){this.addState(k);

if(this.hasState(n)&&!this.__kP){this.execute();
}}this.__kR();
e.stopPropagation();
},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case i:case h:if(this.hasState(n)){if(!this.__kP){this.execute();
}this.removeState(n);
this.removeState(m);
e.stopPropagation();
this.__kR();
}}},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case i:case h:this.removeState(m);
this.addState(n);
e.stopPropagation();
this.__kQ();
}},_onInterval:function(e){this.__kP=true;
this.fireEvent(b);
},__kQ:function(){this.fireEvent(g);
this.__kP=false;
this.__jf.set({interval:this.getInterval(),firstInterval:this.getFirstInterval(),minimum:this.getMinTimer(),decrease:this.getTimerDecrease()}).start();
this.removeState(m);
this.addState(n);
},__kR:function(){this.fireEvent(d);
this.__jf.stop();
this.removeState(m);
this.removeState(n);
}},destruct:function(){this._disposeObjects(a);
}});
})();
(function(){var e="Integer",d="interval",c="__jf",b="qx.event.type.Event",a="qx.event.AcceleratingTimer";
qx.Class.define(a,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
this.__jf=new qx.event.Timer(this.getInterval());
this.__jf.addListener(d,this._onInterval,this);
},events:{"interval":b},properties:{interval:{check:e,init:100},firstInterval:{check:e,init:500},minimum:{check:e,init:20},decrease:{check:e,init:2}},members:{__jf:null,__kS:null,start:function(){this.__jf.setInterval(this.getFirstInterval());
this.__jf.start();
},stop:function(){this.__jf.stop();
this.__kS=null;
},_onInterval:function(){this.__jf.stop();

if(this.__kS==null){this.__kS=this.getInterval();
}this.__kS=Math.max(this.getMinimum(),this.__kS-this.getDecrease());
this.__jf.setInterval(this.__kS);
this.__jf.start();
this.fireEvent(d);
}},destruct:function(){this._disposeObjects(c);
}});
})();
(function(){var m="resize",l="scrollY",k="update",j="scrollX",i="_applyScrollX",h="_applyScrollY",g="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getScrollMaxX()",f="appear",d="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getScrollMaxY()",c="qx.event.type.Event",a="qx.ui.core.scroll.ScrollPane",b="scroll";
qx.Class.define(a,{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(m,this._onUpdate);
var n=this.getContentElement();
n.addListener(b,this._onScroll,this);
n.addListener(f,this._onAppear,this);
},events:{update:c},properties:{scrollX:{check:g,apply:i,event:j,init:0},scrollY:{check:d,apply:h,event:l,init:0}},members:{add:function(o){var p=this._getChildren()[0];

if(p){this._remove(p);
p.removeListener(m,this._onUpdate,this);
}
if(o){this._add(o);
o.addListener(m,this._onUpdate,this);
}},remove:function(q){if(q){this._remove(q);
q.removeListener(m,this._onUpdate,this);
}},getChildren:function(){return this._getChildren();
},_onUpdate:function(e){this.fireEvent(k);
},_onScroll:function(e){var r=this.getContentElement();
this.setScrollX(r.getScrollX());
this.setScrollY(r.getScrollY());
},_onAppear:function(e){var v=this.getContentElement();
var s=this.getScrollX();
var t=v.getScrollX();

if(s!=t){v.scrollToX(s);
}var w=this.getScrollY();
var u=v.getScrollY();

if(w!=u){v.scrollToY(w);
}},getItemTop:function(z){var top=0;

do{top+=z.getBounds().top;
z=z.getLayoutParent();
}while(z&&z!==this);
return top;
},getItemBottom:function(A){return this.getItemTop(A)+A.getBounds().height;
},getItemLeft:function(B){var C=0;
var parent;

do{C+=B.getBounds().left;
parent=B.getLayoutParent();

if(parent){C+=parent.getInsets().left;
}B=parent;
}while(B&&B!==this);
return C;
},getItemRight:function(D){return this.getItemLeft(D)+D.getBounds().width;
},getScrollSize:function(){return this.getChildren()[0].getBounds();
},getScrollMaxX:function(){var F=this.getInnerSize();
var E=this.getScrollSize();

if(F&&E){return Math.max(0,E.width-F.width);
}return 0;
},getScrollMaxY:function(){var H=this.getInnerSize();
var G=this.getScrollSize();

if(H&&G){return Math.max(0,G.height-H.height);
}return 0;
},scrollToX:function(I){var J=this.getScrollMaxX();

if(I<0){I=0;
}else if(I>J){I=J;
}this.setScrollX(I);
},scrollToY:function(K){var L=this.getScrollMaxY();

if(K<0){K=0;
}else if(K>L){K=L;
}this.setScrollY(K);
},scrollByX:function(x){this.scrollToX(this.getScrollX()+x);
},scrollByY:function(y){this.scrollToY(this.getScrollY()+y);
},_applyScrollX:function(M){this.getContentElement().scrollToX(M);
},_applyScrollY:function(N){this.getContentElement().scrollToY(N);
}}});
})();
(function(){var n="_applyLayoutChange",m="left",k="center",j="top",h="Decorator",g="middle",f="_applyReversed",e="bottom",d="Boolean",c="right",a="Integer",b="qx.ui.layout.HBox";
qx.Class.define(b,{extend:qx.ui.layout.Abstract,construct:function(o,p,q){qx.ui.layout.Abstract.call(this);

if(o){this.setSpacing(o);
}
if(p){this.setAlignX(p);
}
if(q){this.setSeparator(q);
}},properties:{alignX:{check:[m,k,c],init:m,apply:n},alignY:{check:[j,g,e],init:j,apply:n},spacing:{check:a,init:0,apply:n},separator:{check:h,nullable:true,apply:n},reversed:{check:d,init:false,apply:f}},members:{__kT:null,__kI:null,__kJ:null,__fg:null,_applyReversed:function(){this._invalidChildrenCache=true;
this._applyLayoutChange();
},__kK:function(){var w=this._getLayoutChildren();
var length=w.length;
var t=false;
var r=this.__kT&&this.__kT.length!=length&&this.__kI&&this.__kT;
var u;
var s=r?this.__kT:new Array(length);
var v=r?this.__kI:new Array(length);
if(this.getReversed()){w=w.concat().reverse();
}for(var i=0;i<length;i++){u=w[i].getLayoutProperties();

if(u.width!=null){s[i]=parseFloat(u.width)/100;
}
if(u.flex!=null){v[i]=u.flex;
t=true;
}else{v[i]=0;
}}if(!r){this.__kT=s;
this.__kI=v;
}this.__kJ=t;
this.__fg=w;
delete this._invalidChildrenCache;
},verifyLayoutProperty:null,renderLayout:function(x,y){if(this._invalidChildrenCache){this.__kK();
}var E=this.__fg;
var length=E.length;
var N=qx.ui.layout.Util;
var M=this.getSpacing();
var Q=this.getSeparator();

if(Q){var B=N.computeHorizontalSeparatorGaps(E,M,Q);
}else{var B=N.computeHorizontalGaps(E,M,true);
}var i,z,K,J;
var P=[];
var F=B;

for(i=0;i<length;i+=1){J=this.__kT[i];
K=J!=null?Math.floor((x-B)*J):E[i].getSizeHint().width;
P.push(K);
F+=K;
}if(this.__kJ&&F!=x){var H={};
var L,O;

for(i=0;i<length;i+=1){L=this.__kI[i];

if(L>0){G=E[i].getSizeHint();
H[i]={min:G.minWidth,value:P[i],max:G.maxWidth,flex:L};
}}var C=N.computeFlexOffsets(H,x,F);

for(i in C){O=C[i].offset;
P[i]+=O;
F+=O;
}}var U=E[0].getMarginLeft();
if(F<x&&this.getAlignX()!=m){U=x-F;

if(this.getAlignX()===k){U=Math.round(U/2);
}}var G,top,A,K,D,S,I;
var M=this.getSpacing();
this._clearSeparators();
if(Q){var R=qx.theme.manager.Decoration.getInstance().resolve(Q).getInsets();
var T=R.left+R.right;
}for(i=0;i<length;i+=1){z=E[i];
K=P[i];
G=z.getSizeHint();
S=z.getMarginTop();
I=z.getMarginBottom();
A=Math.max(G.minHeight,Math.min(y-S-I,G.maxHeight));
top=N.computeVerticalAlignOffset(z.getAlignY()||this.getAlignY(),A,y,S,I);
if(i>0){if(Q){U+=D+M;
this._renderSeparator(Q,{left:U,top:0,width:T,height:y});
U+=T+M+z.getMarginLeft();
}else{U+=N.collapseMargins(M,D,z.getMarginLeft());
}}z.renderLayout(U,top,K,A);
U+=K;
D=z.getMarginRight();
}},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__kK();
}var bc=qx.ui.layout.Util;
var bk=this.__fg;
var V=0,bd=0,ba=0;
var Y=0,bb=0;
var bh,W,bj;
for(var i=0,l=bk.length;i<l;i+=1){bh=bk[i];
W=bh.getSizeHint();
bd+=W.width;
var bg=this.__kI[i];
var X=this.__kT[i];

if(bg){V+=W.minWidth;
}else if(X){ba=Math.max(ba,Math.round(W.minWidth/X));
}else{V+=W.width;
}bj=bh.getMarginTop()+bh.getMarginBottom();
if((W.height+bj)>bb){bb=W.height+bj;
}if((W.minHeight+bj)>Y){Y=W.minHeight+bj;
}}V+=ba;
var bf=this.getSpacing();
var bi=this.getSeparator();

if(bi){var be=bc.computeHorizontalSeparatorGaps(bk,bf,bi);
}else{var be=bc.computeHorizontalGaps(bk,bf,true);
}return {minWidth:V+be,width:bd+be,minHeight:Y,height:bb};
}},destruct:function(){this.__kT=this.__kI=this.__fg=null;
}});
})();
(function(){var b="click",a="grfind.Button";
qx.Class.define(a,{extend:qx.ui.basic.Atom,construct:function(c,d,name,f,g,h){qx.ui.basic.Atom.call(this);
!g?g=null:null;
this.set({label:f,icon:g,center:true,rich:true,padding:[3,6,3,6]});
h?this.setFont(h):null;
this.addListener(b,function(e){if(c&&c._doButton){c._doButton(name,this);
}},this);
qx.core.Init.getApplication().highlightOnMouseOver(this);
}});
})();
(function(){var k="default",j="fail",i=".<br/><br/>The server may be temporarily down. Please try again.",h="Error in Request",g="We have an unknown error in ",f="Request timed out ",d="Request was aborted ",c="json",b="grfind.HttpRequest",a="wait",y="error",x="statusError",w="abort",v="success",u="Request Timed Out",t="Request Aborted",s='session-key',r="completed",q="POST",p='program-name',n="Request failed for ",o="We have a status error in ",l="data=",m="timeout";
qx.Class.define(b,{extend:qx.core.Object,construct:function(z,A,B,C,D){qx.core.Object.call(this);
this.setApp(qx.core.Init.getApplication());
if(A==q){D[s]=this.getApp().getSessionKey();
D[p]=this.getApp().getProgramName();
D=l+encodeURIComponent(qx.util.Json.stringify(D));
this.req=new qx.io.request.Xhr().set({url:z,method:A,requestData:D,timeout:C});
this.req.setParser(c);
}else{this.req=new qx.io.request.Xhr().set({url:z,method:A,requestData:D,timeout:C});
}this.req.addListener(v,function(e){this.getApp().getRoot().setGlobalCursor(k);
this.fireDataEvent(r,e.getCurrentTarget().getResponse());
},this);
this.req.addListener(w,function(e){this.getApp().getRoot().setGlobalCursor(k);
this.getApp().userMessage(d+e.getCurrentTarget().getUrl());
this.fireDataEvent(j,t);
},this);
this.req.addListener(j,function(e){this.getApp().getRoot().setGlobalCursor(k);
this.getApp().userMessage(n+e.getCurrentTarget().getUrl()+i);
this.fireDataEvent(j,h);
},this);
this.req.addListener(y,function(e){this.getApp().getRoot().setGlobalCursor(k);
this.getApp().userMessage(g+e.getCurrentTarget().getUrl()+i);
this.fireDataEvent(j,h);
},this);
this.req.addListener(x,function(e){this.getApp().getRoot().setGlobalCursor(k);
this.getApp().userMessage(o+e.getCurrentTarget().getUrl()+i);
this.fireDataEvent(j,h);
},this);
this.req.addListener(m,function(e){this.getApp().getRoot().setGlobalCursor(k);
this.getApp().userMessage(f+e.getCurrentTarget().getUrl());
this.fireDataEvent(j,u);
},this);
},properties:{app:{init:null}},members:{start:function(){this.getApp().getRoot().setGlobalCursor(a);
this.req.send();
}}});
})();
(function(){var a="qx.util.format.IFormat";
qx.Interface.define(a,{members:{format:function(b){},parse:function(c){}}});
})();
(function(){var t="",s="Number",r="-",q="0",p="String",o="changeNumberFormat",n='(',m="g",l="Boolean",k="$",d="NaN",j='([0-9]{1,3}(?:',g='{0,1}[0-9]{3}){0,})',c='\\d+){0,1}',b="qx.util.format.NumberFormat",f="Infinity",e="^",h=".",a="-Infinity",i='([-+]){0,1}';
qx.Class.define(b,{extend:qx.core.Object,implement:qx.util.format.IFormat,construct:function(u){qx.core.Object.call(this);
this.__ix=u;
},properties:{minimumIntegerDigits:{check:s,init:0},maximumIntegerDigits:{check:s,nullable:true},minimumFractionDigits:{check:s,init:0},maximumFractionDigits:{check:s,nullable:true},groupingUsed:{check:l,init:true},prefix:{check:p,init:t,event:o},postfix:{check:p,init:t,event:o}},members:{__ix:null,format:function(v){switch(v){case Infinity:return f;
case -Infinity:return a;
case NaN:return d;
}var z=(v<0);

if(z){v=-v;
}
if(this.getMaximumFractionDigits()!=null){var G=Math.pow(10,this.getMaximumFractionDigits());
v=Math.round(v*G)/G;
}var F=String(Math.floor(v)).length;
var w=t+v;
var C=w.substring(0,F);

while(C.length<this.getMinimumIntegerDigits()){C=q+C;
}
if(this.getMaximumIntegerDigits()!=null&&C.length>this.getMaximumIntegerDigits()){C=C.substring(C.length-this.getMaximumIntegerDigits());
}var B=w.substring(F+1);

while(B.length<this.getMinimumFractionDigits()){B+=q;
}
if(this.getMaximumFractionDigits()!=null&&B.length>this.getMaximumFractionDigits()){B=B.substring(0,this.getMaximumFractionDigits());
}if(this.getGroupingUsed()){var y=C;
C=t;
var E;

for(E=y.length;E>3;E-=3){C=t+qx.locale.Number.getGroupSeparator(this.__ix)+y.substring(E-3,E)+C;
}C=y.substring(0,E)+C;
}var A=this.getPrefix()?this.getPrefix():t;
var x=this.getPostfix()?this.getPostfix():t;
var D=A+(z?r:t)+C;

if(B.length>0){D+=t+qx.locale.Number.getDecimalSeparator(this.__ix)+B;
}D+=x;
return D;
},parse:function(H){var M=qx.lang.String.escapeRegexpChars(qx.locale.Number.getGroupSeparator(this.__ix)+t);
var K=qx.lang.String.escapeRegexpChars(qx.locale.Number.getDecimalSeparator(this.__ix)+t);
var I=new RegExp(e+qx.lang.String.escapeRegexpChars(this.getPrefix())+i+j+M+g+n+K+c+qx.lang.String.escapeRegexpChars(this.getPostfix())+k);
var L=I.exec(H);

if(L==null){throw new Error("Number string '"+H+"' does not match the number format");
}var N=(L[1]==r);
var P=L[2];
var O=L[3];
P=P.replace(new RegExp(M,m),t);
var J=(N?r:t)+P;

if(O!=null&&O.length!=0){O=O.replace(new RegExp(K),t);
J+=h+O;
}return parseFloat(J);
}}});
})();
(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(e){return qx.locale.Manager.getInstance().localize(d,[],e);
},getGroupSeparator:function(f){return qx.locale.Manager.getInstance().localize(a,[],f);
},getPercentFormat:function(g){return qx.locale.Manager.getInstance().localize(c,[],g);
}}});
})();
(function(){var n=",",m="",k='"',j="string",h="null",g=':',f="engine.name",e="qx.jsonDebugging",d='-',c='\\u00',S="__lf",R="__kX",Q='\\\\',P='\\f',O="Please use qx.lang.Json.stringify() instead.",N="new Date(Date.UTC(",M='\\"',L="))",K='T',J="}",u='(',v='.',s="{",t='\\r',q="__kV",r=":",o="__lg",p='\\t',w="__kY",x="opera",B="[",A="]",D="qx.jsonEncodeUndefined",C="Please use qx.lang.Json.parse() instead.",F='\\b',E="qx.util.Json",z='Z"',I=')',H="__kW",G='\\n',y="mshtml";
qx.Class.define(E,{statics:{__kU:null,BEAUTIFYING_INDENT:"  ",BEAUTIFYING_LINE_END:"\n",CONVERT_DATES:null,__bj:{"function":q,"boolean":H,"number":R,"string":w,"object":S,"undefined":o},NUMBER_FORMAT:new qx.util.format.NumberFormat(),__kV:function(T,U){return String(T);
},__kW:function(V,W){return String(V);
},__kX:function(X,Y){return isFinite(X)?String(X):h;
},__kY:function(ba,bb){var bc;

if(/["\\\x00-\x1f]/.test(ba)){bc=ba.replace(/([\x00-\x1f\\"])/g,qx.util.Json.__lb);
}else{bc=ba;
}return k+bc+k;
},__la:{'\b':F,'\t':p,'\n':G,'\f':P,'\r':t,'"':M,'\\':Q},__lb:function(a,b){var bd=qx.util.Json.__la[b];

if(bd){return bd;
}bd=b.charCodeAt();
return c+Math.floor(bd/16).toString(16)+(bd%16).toString(16);
},__lc:function(be,bf){var bh=[],bk=true,bj,bg;
var bi=qx.util.Json.__lh;
bh.push(B);

if(bi){qx.util.Json.__ca+=qx.util.Json.BEAUTIFYING_INDENT;
bh.push(qx.util.Json.__ca);
}
for(var i=0,l=be.length;i<l;i++){bg=be[i];
bj=this.__bj[typeof bg];

if(bj){bg=this[bj](bg,i+m);

if(typeof bg==j){if(!bk){bh.push(n);

if(bi){bh.push(qx.util.Json.__ca);
}}bh.push(bg);
bk=false;
}}}
if(bi){qx.util.Json.__ca=qx.util.Json.__ca.substring(0,qx.util.Json.__ca.length-qx.util.Json.BEAUTIFYING_INDENT.length);
bh.push(qx.util.Json.__ca);
}bh.push(A);
return bh.join(m);
},__ld:function(bl,bm){if(!qx.util.Json.CONVERT_DATES){if(bl.toJSON&&qx.core.Environment.get(f)!=x&&qx.core.Environment.get(f)!=y){return k+bl.toJSON()+k;
}var bn=this.NUMBER_FORMAT;
bn.setMinimumIntegerDigits(2);
var bp=bl.getUTCFullYear()+d+bn.format(bl.getUTCMonth()+1)+d+bn.format(bl.getUTCDate())+K+bn.format(bl.getUTCHours())+g+bn.format(bl.getUTCMinutes())+g+bn.format(bl.getUTCSeconds())+v;
bn.setMinimumIntegerDigits(3);
return k+bp+bn.format(bl.getUTCMilliseconds())+z;
}else{var bo=bl.getUTCFullYear()+n+bl.getUTCMonth()+n+bl.getUTCDate()+n+bl.getUTCHours()+n+bl.getUTCMinutes()+n+bl.getUTCSeconds()+n+bl.getUTCMilliseconds();
return N+bo+L;
}},__le:function(bq,br){var bu=[],bw=true,bt,bs;
var bv=qx.util.Json.__lh;
bu.push(s);

if(bv){qx.util.Json.__ca+=qx.util.Json.BEAUTIFYING_INDENT;
bu.push(qx.util.Json.__ca);
}
for(var br in bq){bs=bq[br];
bt=this.__bj[typeof bs];

if(bt){bs=this[bt](bs,br);

if(typeof bs==j){if(!bw){bu.push(n);

if(bv){bu.push(qx.util.Json.__ca);
}}bu.push(this.__kY(br),r,bs);
bw=false;
}}}
if(bv){qx.util.Json.__ca=qx.util.Json.__ca.substring(0,qx.util.Json.__ca.length-qx.util.Json.BEAUTIFYING_INDENT.length);
bu.push(qx.util.Json.__ca);
}bu.push(J);
return bu.join(m);
},__lf:function(bx,by){if(bx){if(qx.lang.Type.isFunction(bx.toJSON)&&bx.toJSON!==this.__kU){return this.__em(bx.toJSON(by),by);
}else if(qx.lang.Type.isDate(bx)){return this.__ld(bx,by);
}else if(qx.lang.Type.isArray(bx)){return this.__lc(bx,by);
}else if(qx.lang.Type.isObject(bx)){return this.__le(bx,by);
}return m;
}return h;
},__lg:function(bz,bA){if(qx.core.Environment.get(D)){return h;
}},__em:function(bB,bC){return this[this.__bj[typeof bB]](bB,bC);
},stringify:function(bD,bE){qx.log.Logger.deprecatedMethodWarning(arguments.callee,O);
this.__lh=bE;
this.__ca=this.BEAUTIFYING_LINE_END;
var bF=this.__em(bD,m);

if(typeof bF!=j){bF=null;
}if(qx.core.Environment.get(e)){qx.log.Logger.debug(this,"JSON request: "+bF);
}return bF;
},parse:function(bG,bH){qx.log.Logger.deprecatedMethodWarning(arguments.callee,C);
if(bH===undefined){bH=true;
}
if(qx.core.Environment.get(e)){qx.log.Logger.debug(this,"JSON response: "+bG);
}
if(bH){if(/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(bG.replace(/"(\\.|[^"\\])*"/g,m))){throw new Error("Could not parse JSON string!");
}}
try{var bI=(bG&&bG.length>0)?eval(u+bG+I):null;
return bI;
}catch(bJ){throw new Error("Could not evaluate JSON string: "+bJ.message);
}}},environment:{"qx.jsonEncodeUndefined":true,"qx.jsonDebugging":false},defer:function(bK){bK.__kU=Date.prototype.toJSON;
}});
})();
(function(){var j="qx.event.type.Event",i="qx.debug.io",h="fail",g="GET",f="qx.event.type.Data",e="load",d="loadEnd",c="Map",b="qx.io.request.AbstractRequest",a="changePhase",C="sent",B="qx.io.request.authentication.IAuthentication",A="error",z="loading",y="abort",x="success",w="String",v="",u="opened",t="POST",q="statusError",r="readyStateChange",o="abstract",p="unsent",m="changeResponse",n="Number",k="Content-Type",l="timeout",s="undefined";
qx.Class.define(b,{type:o,extend:qx.core.Object,construct:function(D){qx.core.Object.call(this);

if(D!==undefined){this.setUrl(D);
}var E=this._transport=this._createTransport();
this._setPhase(p);
this.__li=qx.lang.Function.bind(this._onReadyStateChange,this);
this.__lj=qx.lang.Function.bind(this._onLoad,this);
this.__lk=qx.lang.Function.bind(this._onLoadEnd,this);
this.__ll=qx.lang.Function.bind(this._onAbort,this);
this.__lm=qx.lang.Function.bind(this._onTimeout,this);
this.__ln=qx.lang.Function.bind(this._onError,this);
E.onreadystatechange=this.__li;
E.onload=this.__lj;
E.onloadend=this.__lk;
E.onabort=this.__ll;
E.ontimeout=this.__lm;
E.onerror=this.__ln;
},events:{"readyStateChange":j,"success":j,"load":j,"loadEnd":j,"abort":j,"timeout":j,"error":j,"statusError":j,"fail":j,"changeResponse":f,"changePhase":f},properties:{url:{check:w},requestHeaders:{check:c,nullable:true},timeout:{check:n,nullable:true,init:0},requestData:{check:function(F){return qx.lang.Type.isString(F)||qx.Class.isSubClassOf(F.constructor,qx.core.Object)||qx.lang.Type.isObject(F);
},nullable:true},authentication:{check:B,nullable:true}},members:{__li:null,__lj:null,__lk:null,__ll:null,__lm:null,__ln:null,__lo:null,__lp:null,_transport:null,_createTransport:function(){throw new Error("Abstract method call");
},_getConfiguredUrl:function(){},_setRequestHeaders:function(){},_getParsedResponse:function(){throw new Error("Abstract method call");
},send:function(){var K=this._transport,G,J,H,I;
G=this._getConfiguredUrl();
if(/\#/.test(G)){G=G.replace(/\#.*/,v);
}K.timeout=this.getTimeout()*1000;
J=qx.lang.Type.isFunction(this.getMethod)?this.getMethod():g;
H=qx.lang.Type.isFunction(this.getAsync)?this.getAsync():true;
if(qx.core.Environment.get(i)){this.debug("Open low-level request with method: "+J+", url: "+G+", async: "+H);
}K.open(J,G,H);
this._setPhase(u);
I=this._serializeData(this.getRequestData());
this._setRequestHeaders();
this.__lr();
this.__lq();
if(qx.core.Environment.get(i)){this.debug("Send low-level request");
}J==g?K.send():K.send(I);
this._setPhase(C);
},abort:function(){if(qx.core.Environment.get(i)){this.debug("Abort request");
}this._transport.abort();
},getTransport:function(){return this._transport;
},getReadyState:function(){return this._transport.readyState;
},getPhase:function(){return this.__lp;
},getStatus:function(){return this._transport.status;
},getStatusText:function(){return this._transport.statusText;
},getResponseText:function(){return this._transport.responseText;
},getAllResponseHeaders:function(){return this._transport.getAllResponseHeaders();
},getResponseHeader:function(L){return this._transport.getResponseHeader(L);
},getResponseContentType:function(){return this.getResponseHeader(k);
},isDone:function(){return this.getReadyState()===4;
},getResponse:function(){return this.__lo;
},_setResponse:function(M){var N=M;

if(this.__lo!==M){this.__lo=M;
this.fireEvent(m,qx.event.type.Data,[this.__lo,N]);
}},_onReadyStateChange:function(){var O,P=this.getReadyState();

if(qx.core.Environment.get(i)){this.debug("Fire readyState: "+P);
}this.fireEvent(r);

if(P===3){this._setPhase(z);
}
if(this.isDone()){if(qx.core.Environment.get(i)){this.debug("Request completed with HTTP status: "+this.getStatus());
}this._setPhase(e);
if(qx.util.Request.isSuccessful(this.getStatus())){if(qx.core.Environment.get(i)){this.debug("Response is of type: '"+this.getResponseContentType()+"'");
}O=this._getParsedResponse();
this._setResponse(O);
this._fireStatefulEvent(x);
}else{this._fireStatefulEvent(q);
this.fireEvent(h);
}}},_onLoad:function(){this.fireEvent(e);
},_onLoadEnd:function(){this.fireEvent(d);
},_onAbort:function(){this._fireStatefulEvent(y);
},_onTimeout:function(){this._fireStatefulEvent(l);
this.fireEvent(h);
},_onError:function(){this.fireEvent(A);
this.fireEvent(h);
},_fireStatefulEvent:function(Q){this._setPhase(Q);
this.fireEvent(Q);
},_setPhase:function(R){var S=this.__lp;
this.__lp=R;
this.fireDataEvent(a,R,S);
},_serializeData:function(T){var U=typeof this.getMethod!==s&&this.getMethod()==t;

if(!T){return;
}
if(qx.lang.Type.isString(T)){return T;
}
if(qx.Class.isSubClassOf(T.constructor,qx.core.Object)){return qx.util.Serializer.toUriParameter(T);
}
if(qx.lang.Type.isObject(T)){return qx.lang.Object.toUriParameter(T,U);
}},__lq:function(){var V=this.getRequestHeaders();

if(V){qx.lang.Object.getKeys(V).forEach(function(W){this._transport.setRequestHeader(W,V[W]);
},this);
}},__lr:function(){var Y=this.getAuthentication(),X=this._transport;

if(Y){Y.getAuthHeaders().forEach(function(ba){if(ba.key&&ba.value){if(qx.core.Environment.get(i)){this.debug("Set authentication header '"+ba.key+"' to '"+ba.value+"'");
}X.setRequestHeader(ba.key,ba.value);
}},this);
}}},environment:{"qx.debug.io":false},destruct:function(){var bc=this._transport,bb=function(){};

if(this._transport){bc.onreadystatechange=bc.onload=bc.onloadend=bc.onabort=bc.ontimeout=bc.onerror=bb;
bc.dispose();
}}});
})();
(function(){var b="//",a="qx.util.Request";
qx.Class.define(a,{statics:{isCrossDomain:function(c){var e=qx.util.Uri.parseUri(c),location=window.location,d=location.protocol;
if(!(c.indexOf(b)!==-1)){return false;
}
if(d.substr(0,d.length-1)==e.protocol&&location.host===e.host&&location.port===e.port){return false;
}return true;
},isSuccessful:function(status){return (status>=200&&status<300||status===304);
}}});
})();
(function(){var x="source",w="password",v="qx.util.Uri",u="port",t="protocol",s="&",r="",q="userInfo",p="?",n="user",e="anchor",l="strict",h="queryKey",c="directory",b="loose",g="relative",f="path",j="host",a="file",k="authority",d="query";
qx.Class.define(v,{statics:{parseUri:function(y,z){var A={key:[x,t,k,q,n,w,j,u,g,f,c,a,d,e],q:{name:h,parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}};
var o=A,m=A.parser[z?l:b].exec(y),B={},i=14;

while(i--){B[o.key[i]]=m[i]||r;
}B[o.q.name]={};
B[o.key[12]].replace(o.q.parser,function(C,D,E){if(D){B[o.q.name][D]=E;
}});
return B;
},appendParamsToUrl:function(F,G){if(G===undefined){return F;
}
if(qx.lang.Type.isObject(G)){G=qx.lang.Object.toUriParameter(G);
}
if(!G){return F;
}return F+=(/\?/).test(F)?s+G:p+G;
}}});
})();
(function(){var u='"',t="{",s="[",r=",",q="",p="get",o="}",n="]",m='":',l="&",d="null",k='\\t',g='\\"',c='\\n',b='\\b',f="=",e="qx.util.Serializer",h='\\r',a='\\\\',j='\\f';
qx.Class.define(e,{statics:{toUriParameter:function(v,w,x){var B=q;
var C=qx.util.PropertyUtil.getProperties(v.constructor);

for(var name in C){var y=v[p+qx.lang.String.firstUp(name)]();
if(qx.lang.Type.isArray(y)){var A=qx.data&&qx.data.IListData&&qx.Class.hasInterface(y&&y.constructor,qx.data.IListData);

for(var i=0;i<y.length;i++){var z=A?y.getItem(i):y[i];
B+=this.__ls(name,z,w);
}}else if(qx.lang.Type.isDate(y)&&x!=null){B+=this.__ls(name,x.format(y),w);
}else{B+=this.__ls(name,y,w);
}}return B.substring(0,B.length-1);
},__ls:function(name,D,E){if(D instanceof qx.core.Object&&E!=null){var F=encodeURIComponent(E(D));

if(F===undefined){var F=encodeURIComponent(D);
}}else{var F=encodeURIComponent(D);
}return encodeURIComponent(name)+f+F+l;
},toNativeObject:function(G,H,I){var L;
if(G==null){return null;
}if(qx.data&&qx.data.IListData&&qx.Class.hasInterface(G.constructor,qx.data.IListData)){L=[];

for(var i=0;i<G.getLength();i++){L.push(qx.util.Serializer.toNativeObject(G.getItem(i),H,I));
}return L;
}if(qx.lang.Type.isArray(G)){L=[];

for(var i=0;i<G.length;i++){L.push(qx.util.Serializer.toNativeObject(G[i],H,I));
}return L;
}if(G instanceof qx.core.Object){if(H!=null){var M=H(G);
if(M!=undefined){return M;
}}L={};
var N=qx.util.PropertyUtil.getAllProperties(G.constructor);

for(var name in N){if(N[name].group!=undefined){continue;
}var K=G[p+qx.lang.String.firstUp(name)]();
L[name]=qx.util.Serializer.toNativeObject(K,H,I);
}return L;
}if(qx.lang.Type.isDate(G)&&I!=null){return I.format(G);
}if(qx.locale&&qx.locale.LocalizedString&&G instanceof qx.locale.LocalizedString){return G.toString();
}if(qx.lang.Type.isObject(G)){L={};

for(var J in G){L[J]=qx.util.Serializer.toNativeObject(G[J],H,I);
}return L;
}return G;
},toJson:function(O,P,Q){var T=q;
if(O==null){return d;
}if(qx.data&&qx.data.IListData&&qx.Class.hasInterface(O.constructor,qx.data.IListData)){T+=s;

for(var i=0;i<O.getLength();i++){T+=qx.util.Serializer.toJson(O.getItem(i),P,Q)+r;
}
if(T!=s){T=T.substring(0,T.length-1);
}return T+n;
}if(qx.lang.Type.isArray(O)){T+=s;

for(var i=0;i<O.length;i++){T+=qx.util.Serializer.toJson(O[i],P,Q)+r;
}
if(T!=s){T=T.substring(0,T.length-1);
}return T+n;
}if(O instanceof qx.core.Object){if(P!=null){var U=P(O);
if(U!=undefined){return u+U+u;
}}T+=t;
var V=qx.util.PropertyUtil.getProperties(O.constructor);

for(var name in V){if(V[name].group!=undefined){continue;
}var S=O[p+qx.lang.String.firstUp(name)]();
T+=u+name+m+qx.util.Serializer.toJson(S,P,Q)+r;
}
if(T!=t){T=T.substring(0,T.length-1);
}return T+o;
}if(O instanceof qx.locale.LocalizedString){O=O.toString();
}if(qx.lang.Type.isDate(O)&&Q!=null){return u+Q.format(O)+u;
}if(qx.lang.Type.isObject(O)){T+=t;

for(var R in O){T+=u+R+m+qx.util.Serializer.toJson(O[R],P,Q)+r;
}
if(T!=t){T=T.substring(0,T.length-1);
}return T+o;
}if(qx.lang.Type.isString(O)){O=O.replace(/([\\])/g,a);
O=O.replace(/(["])/g,g);
O=O.replace(/([\r])/g,h);
O=O.replace(/([\f])/g,j);
O=O.replace(/([\n])/g,c);
O=O.replace(/([\t])/g,k);
O=O.replace(/([\b])/g,b);
return u+O+u;
}if(qx.lang.Type.isDate(O)||qx.lang.Type.isRegExp(O)){return u+O+u;
}return O+q;
}}});
})();
(function(){var d="$$theme_",c="$$user_",b="$$init_",a="qx.util.PropertyUtil";
qx.Class.define(a,{statics:{getProperties:function(e){return e.$$properties;
},getAllProperties:function(f){var i={};
var j=f;
while(j!=qx.core.Object){var h=this.getProperties(j);

for(var g in h){i[g]=h[g];
}j=j.superclass;
}return i;
},getUserValue:function(k,l){return k[c+l];
},setUserValue:function(m,n,o){m[c+n]=o;
},deleteUserValue:function(p,q){delete (p[c+q]);
},getInitValue:function(r,s){return r[b+s];
},setInitValue:function(t,u,v){t[b+u]=v;
},deleteInitValue:function(w,x){delete (w[b+x]);
},getThemeValue:function(y,z){return y[d+z];
},setThemeValue:function(A,B,C){A[d+B]=C;
},deleteThemeValue:function(D,E){delete (D[d+E]);
},setThemed:function(F,G,H){var I=qx.core.Property.$$method.setThemed;
F[I[G]](H);
},resetThemed:function(J,K){var L=qx.core.Property.$$method.resetThemed;
J[L[K]]();
}}});
})();
(function(){var t="qx.event.type.Event",s="GET",r="function",q="xml",p="POST",o="application/xml",n="HEAD",m="Boolean",l="PUT",k="Accept",d="application/json",j="application/x-www-form-urlencoded",g="Cache-Control",c="Content-Type",b="OPTIONS",f="qx.debug.io",e="qx.io.request.Xhr",h="json",a="DELETE",i="String";
qx.Class.define(e,{extend:qx.io.request.AbstractRequest,construct:function(u,v){if(v!==undefined){this.setMethod(v);
}qx.io.request.AbstractRequest.call(this,u);
},events:{"readystatechange":t,"success":t,"load":t,"statusError":t},statics:{PARSER:{json:qx.lang.Json.parse,xml:qx.xml.Document.fromString}},properties:{method:{check:[n,b,s,p,l,a],init:s},async:{check:m,init:true},accept:{check:i,nullable:true},cache:{check:function(w){return qx.lang.Type.isBoolean(w)||qx.lang.Type.isString(w);
},init:true}},members:{__lt:null,_createTransport:function(){return new qx.bom.request.Xhr();
},_getConfiguredUrl:function(){var x=this.getUrl(),y;

if(this.getMethod()===s&&this.getRequestData()){y=this._serializeData(this.getRequestData());
x=qx.util.Uri.appendParamsToUrl(x,y);
}
if(this.getCache()===false){x=qx.util.Uri.appendParamsToUrl(x,{nocache:new Date().valueOf()});
}return x;
},_setRequestHeaders:function(){var z=this._transport;
if(qx.lang.Type.isString(this.getCache())){z.setRequestHeader(g,this.getCache());
}if(this.getMethod()===p){z.setRequestHeader(c,j);
}if(this.getAccept()){if(qx.core.Environment.get(f)){this.debug("Accepting: '"+this.getAccept()+"'");
}z.setRequestHeader(k,this.getAccept());
}},_getParsedResponse:function(){var B=this._transport.responseText,A=this._getParser();

if(typeof A===r){return A.call(this,B);
}return B;
},setParser:function(C){var D=qx.io.request.Xhr;
if(typeof D.PARSER[C]===r){return this.__lt=D.PARSER[C];
}return this.__lt=C;
},_getParser:function(){var E=this.__lt;
if(E){return E;
}if(!this.isDone()){return;
}switch(this.getResponseContentType()){case d:E=qx.io.request.Xhr.PARSER[h];
break;
case o:E=qx.io.request.Xhr.PARSER[q];
break;
default:E=null;
break;
}if((/[^\/]+\/[^\+]+\+xml/).test(this.getResponseContentType())){E=qx.io.request.Xhr.PARSER[q];
}return E;
}}});
})();
(function(){var s="engine.name",r="",q="qx.debug.io",p="mshtml",o="gecko",n="engine.version",m="onunload",l="opera",k="undefined",j="activex",c="Microsoft.XMLHTTP",i="io.xhr",g="Microsoft.XMLDOM",b="xhr",a="Content-Type",f="browser.version",d="qx.bom.request.Xhr",h="file:";
qx.Bootstrap.define(d,{construct:function(){this.__lu=qx.Bootstrap.bind(this.__lE,this);
this.__lm=qx.Bootstrap.bind(this.__lH,this);
this.__lD();
if(window.attachEvent){this.__lv=qx.Bootstrap.bind(this.__lK,this);
window.attachEvent(m,this.__lv);
}},statics:{UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},members:{readyState:0,responseText:r,responseXML:null,status:0,statusText:r,timeout:0,open:function(t,u,v,w,x){if(this.__lC){return;
}this.__lw=false;
this.__lx=false;

if(typeof v==k){v=true;
}this.__ly=v;
if(!this.__lL()&&this.readyState>qx.bom.request.Xhr.UNSENT){this.dispose();
this.__lD();
}this.__lA.onreadystatechange=this.__lu;

try{if(qx.core.Environment.get(q)){qx.Bootstrap.debug(qx.bom.request.Xhr,"Open native request with method: "+t+", url: "+u+", async: "+v);
}this.__lA.open(t,u,v,w,x);
}catch(y){if(!qx.util.Request.isCrossDomain(u)){throw y;
}
if(!this.__ly){this.__lz=y;
}
if(this.__ly){if(window.XDomainRequest){this.readyState=4;
this.__lA=new XDomainRequest();
this.__lA.onerror=qx.Bootstrap.bind(function(){this.onreadystatechange();
this.onerror();
this.onloadend();
},this);

if(qx.core.Environment.get(q)){qx.Bootstrap.debug(qx.bom.request.Xhr,"Retry open native request with method: "+t+", url: "+u+", async: "+v);
}this.__lA.open(t,u,v,w,x);
return;
}window.setTimeout(qx.Bootstrap.bind(function(){this.readyState=4;
this.onreadystatechange();
this.onerror();
this.onloadend();
},this));
}}if(qx.core.Environment.get(s)===o&&parseInt(qx.core.Environment.get(n),10)<2&&!this.__ly){this.readyState=qx.bom.request.Xhr.OPENED;
this.onreadystatechange();
}},setRequestHeader:function(z,A){if(this.__lC){return;
}this.__lA.setRequestHeader(z,A);
},send:function(B){if(this.__lC){return;
}if(!this.__ly&&this.__lz){throw this.__lz;
}B=typeof B==k?null:B;
try{if(qx.core.Environment.get(q)){qx.Bootstrap.debug(qx.bom.request.Xhr,"Send native request");
}this.__lA.send(B);
}catch(C){if(!this.__ly){throw C;
}}if(qx.core.Environment.get(s)===o&&!this.__ly){this.__lE();
}this.__lw=true;
if(qx.core.Environment.get(s)===l&&this.timeout===0){this.timeout=10000;
}if(this.timeout>0){this.__lB=window.setTimeout(this.__lm,this.timeout);
}},abort:function(D){if(this.__lC){return;
}this.__lx=true;
this.__lA.abort();

if(this.__lA){this.readyState=this.__lA.readyState;
}
if(D){return;
}this.onabort();
},onreadystatechange:function(){},onload:function(){},onloadend:function(){},onerror:function(){},onabort:function(){},ontimeout:function(){},getResponseHeader:function(E){if(this.__lC){return;
}return this.__lA.getResponseHeader(E);
},getAllResponseHeaders:function(){if(this.__lC){return;
}return this.__lA.getAllResponseHeaders();
},getRequest:function(){return this.__lA;
},dispose:function(){if(this.__lC){return false;
}if(window.detachEvent){window.detachEvent(m,this.__lv);
}try{this.__lA.onreadystatechange;
}catch(G){return;
}var F=function(){};
this.__lA.onreadystatechange=F;
this.__lA.onload=F;
this.__lA.onerror=F;
this.abort(true);
this.__lA=null;
this.__lC=true;
return true;
},_createNativeXhr:function(){var H=qx.core.Environment.get(i);

if(H===b){return new XMLHttpRequest();
}
if(H==j){return new window.ActiveXObject(c);
}qx.log.Logger.error(this,"No XHR support available.");
},_getProtocol:function(){return window.location.protocol;
},__lA:null,__ly:null,__lu:null,__lv:null,__lm:null,__lw:null,__lx:null,__eI:null,__lC:null,__lB:null,__lz:null,__lD:function(){this.__lA=this._createNativeXhr();
this.__lA.onreadystatechange=this.__lu;
this.__lC=this.__lw=this.__lx=false;
},__lE:function(){var I=this.__lA,J=true;

if(qx.core.Environment.get(q)){qx.Bootstrap.debug(qx.bom.request.Xhr,"Received native readyState: "+I.readyState);
}if(this.readyState==I.readyState){return;
}this.readyState=I.readyState;
if(this.readyState===qx.bom.request.Xhr.DONE&&this.__lx&&!this.__lw){return;
}if(!this.__ly&&(I.readyState==2||I.readyState==3)){return;
}this.status=0;
this.statusText=this.responseText=r;
this.responseXML=null;

if(this.readyState>qx.bom.request.Xhr.OPENED){try{this.status=I.status;
this.statusText=I.statusText;
this.responseText=I.responseText;
this.responseXML=I.responseXML;
}catch(K){J=false;
}
if(J){this.__lI();
this.__lJ();
}}this.__lF();
if(this.readyState==qx.bom.request.Xhr.DONE){if(I){I.onreadystatechange=function(){};
}}},__lF:function(){var L=this;
if(qx.core.Environment.get(s)==p&&qx.core.Environment.get(n)<8){if(this.__ly&&!this.__lw&&this.readyState>=qx.bom.request.Xhr.LOADING){if(this.readyState==qx.bom.request.Xhr.LOADING){return ;
}
if(this.readyState==qx.bom.request.Xhr.DONE){window.setTimeout(function(){L.readyState=3;
L.onreadystatechange();
L.readyState=4;
L.onreadystatechange();
L.__lG();
});
return;
}}}this.onreadystatechange();
this.__lG();
},__lG:function(){if(this.readyState===qx.bom.request.Xhr.DONE){window.clearTimeout(this.__lB);
if(this.__eI){this.ontimeout();
if(qx.core.Environment.get(s)===l){this.onerror();
}this.__eI=false;
}else{this.statusText?this.onload():this.onerror();
}this.onloadend();
}},__lH:function(){var M=this.__lA;
this.readyState=qx.bom.request.Xhr.DONE;
this.__eI=true;
M.abort();
this.responseText=r;
this.responseXML=null;
this.__lF();
},__lI:function(){var N=this.__lA;
if(this._getProtocol()===h&&this.status===0){this.status=200;
}if(this.status===1223){this.status=204;
}if(N.readyState===qx.bom.request.Xhr.DONE&&this.status===0){this.status=304;
}},__lJ:function(){if(qx.core.Environment.get(s)==p&&(this.getResponseHeader(a)||r).match(/[^\/]+\/[^\+]+\+xml/)&&this.responseXML&&!this.responseXML.documentElement){var O=new window.ActiveXObject(g);
O.async=false;
O.validateOnParse=false;
O.loadXML(this.responseText);
this.responseXML=O;
}},__lK:function(){try{if(this){this.dispose();
}}catch(e){}},__lL:function(){var name=qx.core.Environment.get(s);
var P=qx.core.Environment.get(f);
return !(name==p&&P<9||name==o&&P<3.5);
}},defer:function(){qx.core.Environment.add(q,false);
}});
})();
(function(){var a="qx.ui.window.IWindowManager";
qx.Interface.define(a,{members:{setDesktop:function(b){this.assertInterface(b,qx.ui.window.IDesktop);
},changeActiveWindow:function(c,d){},updateStack:function(){},bringToFront:function(e){this.assertInstance(e,qx.ui.window.Window);
},sendToBack:function(f){this.assertInstance(f,qx.ui.window.Window);
}}});
})();
(function(){var a="qx.ui.window.IDesktop";
qx.Interface.define(a,{members:{setWindowManager:function(b){this.assertInterface(b,qx.ui.window.IWindowManager);
},getWindows:function(){},supportsMaximize:function(){},blockContent:function(c){this.assertInteger(c);
},unblockContent:function(){},isContentBlocked:function(){}}});
})();
(function(){var b="__lM",a="qx.ui.window.Manager";
qx.Class.define(a,{extend:qx.core.Object,implement:qx.ui.window.IWindowManager,members:{__lM:null,setDesktop:function(c){this.__lM=c;
this.updateStack();
},getDesktop:function(){return this.__lM;
},changeActiveWindow:function(d,e){if(d){this.bringToFront(d);
d.setActive(true);
}
if(e){e.resetActive();
}},_minZIndex:1e5,updateStack:function(){qx.ui.core.queue.Widget.add(this);
},syncWidget:function(){this.__lM.forceUnblockContent();
var f=this.__lM.getWindows();
var h=this._minZIndex;
var m=h+f.length*2;
var j=h+f.length*4;
var k=null;

for(var i=0,l=f.length;i<l;i++){var g=f[i];
if(!g.isVisible()){continue;
}k=k||g;
if(g.isModal()){g.setZIndex(j);
this.__lM.blockContent(j-1);
j+=2;
k=g;
}else if(g.isAlwaysOnTop()){g.setZIndex(m);
m+=2;
}else{g.setZIndex(h);
h+=2;
}if(!k.isModal()&&g.isActive()||g.getZIndex()>k.getZIndex()){k=g;
}}this.__lM.setActiveWindow(k);
},bringToFront:function(n){var o=this.__lM.getWindows();
var p=qx.lang.Array.remove(o,n);

if(p){o.push(n);
this.updateStack();
}},sendToBack:function(q){var r=this.__lM.getWindows();
var s=qx.lang.Array.remove(r,q);

if(s){r.unshift(q);
this.updateStack();
}}},destruct:function(){this._disposeObjects(b);
}});
})();
(function(){var l="move",k="Boolean",j="__lO",i="mouseup",h="mousedown",g="losecapture",f="qx.ui.core.MMovable",d="mousemove",c="maximized",b="__lN",a="move-frame";
qx.Mixin.define(f,{properties:{movable:{check:k,init:true},useMoveFrame:{check:k,init:false}},members:{__lN:null,__lO:null,__lP:null,__lQ:null,__lR:null,__lS:null,__lT:null,__lU:false,__lV:null,__lW:0,_activateMoveHandle:function(m){if(this.__lN){throw new Error("The move handle could not be redefined!");
}this.__lN=m;
m.addListener(h,this._onMoveMouseDown,this);
m.addListener(i,this._onMoveMouseUp,this);
m.addListener(d,this._onMoveMouseMove,this);
m.addListener(g,this.__mb,this);
},__lX:function(){var n=this.__lO;

if(!n){n=this.__lO=new qx.ui.core.Widget();
n.setAppearance(a);
n.exclude();
qx.core.Init.getApplication().getRoot().add(n);
}return n;
},__lY:function(){var location=this.getContainerLocation();
var p=this.getBounds();
var o=this.__lX();
o.setUserBounds(location.left,location.top,p.width,p.height);
o.show();
o.setZIndex(this.getZIndex()+1);
},__ma:function(e){var r=this.__lP;
var u=Math.max(r.left,Math.min(r.right,e.getDocumentLeft()));
var t=Math.max(r.top,Math.min(r.bottom,e.getDocumentTop()));
var q=this.__lQ+u;
var s=this.__lR+t;
return {viewportLeft:q,viewportTop:s,parentLeft:q-this.__lS,parentTop:s-this.__lT};
},_onMoveMouseDown:function(e){if(!this.getMovable()||this.hasState(c)){return;
}var parent=this.getLayoutParent();
var w=parent.getContentLocation();
var x=parent.getBounds();
if(qx.Class.implementsInterface(parent,qx.ui.window.IDesktop)){if(!parent.isContentBlocked()){this.__lV=parent.getBlockerColor();
this.__lW=parent.getBlockerOpacity();
parent.setBlockerColor(null);
parent.setBlockerOpacity(1);
parent.blockContent(this.getZIndex()-1);
this.__lU=true;
}}this.__lP={left:w.left,top:w.top,right:w.left+x.width,bottom:w.top+x.height};
var v=this.getContainerLocation();
this.__lS=w.left;
this.__lT=w.top;
this.__lQ=v.left-e.getDocumentLeft();
this.__lR=v.top-e.getDocumentTop();
this.addState(l);
this.__lN.capture();
if(this.getUseMoveFrame()){this.__lY();
}e.stop();
},_onMoveMouseMove:function(e){if(!this.hasState(l)){return;
}var y=this.__ma(e);

if(this.getUseMoveFrame()){this.__lX().setDomPosition(y.viewportLeft,y.viewportTop);
}else{this.setDomPosition(y.parentLeft,y.parentTop);
}e.stopPropagation();
},_onMoveMouseUp:function(e){if(!this.hasState(l)){return;
}this.removeState(l);
var parent=this.getLayoutParent();

if(qx.Class.implementsInterface(parent,qx.ui.window.IDesktop)){if(this.__lU){parent.unblockContent();
parent.setBlockerColor(this.__lV);
parent.setBlockerOpacity(this.__lW);
this.__lV=null;
this.__lW=0;
this.__lU=false;
}}this.__lN.releaseCapture();
var z=this.__ma(e);
this.setLayoutProperties({left:z.parentLeft,top:z.parentTop});
if(this.getUseMoveFrame()){this.__lX().exclude();
}e.stopPropagation();
},__mb:function(e){if(!this.hasState(l)){return;
}this.removeState(l);
if(this.getUseMoveFrame()){this.__lX().exclude();
}}},destruct:function(){this._disposeObjects(j,b);
this.__lP=null;
}});
})();
(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(){var A=this.getContainerElement();
A.addListener(i,this.__mp,this,true);
A.addListener(q,this.__mq,this);
A.addListener(x,this.__ms,this);
A.addListener(s,this.__mt,this);
A.addListener(o,this.__mr,this);
var B=this.getContainerElement().getDomElement();

if(B==null){B=window;
}this.__mc=qx.event.Registration.getManager(B).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:{__mc:null,__md:null,__me:null,__mf:null,__mg:null,__mh:null,__mi:null,RESIZE_TOP:1,RESIZE_BOTTOM:2,RESIZE_LEFT:4,RESIZE_RIGHT:8,_getResizeFrame:function(){var C=this.__md;

if(!C){C=this.__md=new qx.ui.core.Widget();
C.setAppearance(p);
C.exclude();
qx.core.Init.getApplication().getRoot().add(C);
}return C;
},__mj:function(){var location=this.__mm();
var D=this._getResizeFrame();
D.setUserBounds(location.left,location.top,location.right-location.left,location.bottom-location.top);
D.show();
D.setZIndex(this.getZIndex()+1);
},__mk:function(e){var F=this.__me;
var G=this.getSizeHint();
var K=this.__mi;
var J=this.__mh;
var E=J.width;
var I=J.height;
var H=J.containerWidth;
var M=J.containerHeight;
var N=J.left;
var top=J.top;
var L;

if((F&this.RESIZE_TOP)||(F&this.RESIZE_BOTTOM)){L=Math.max(K.top,Math.min(K.bottom,e.getDocumentTop()))-this.__mg;

if(F&this.RESIZE_TOP){I-=L;
M-=L;
}else{I+=L;
M+=L;
}
if(M<G.minHeight){I+=(G.minHeight-M);
M=G.minHeight;
}else if(M>G.maxHeight){I-=(M-G.maxHeight);
M=G.maxHeight;
}
if(F&this.RESIZE_TOP){top+=J.containerHeight-M;
}}
if((F&this.RESIZE_LEFT)||(F&this.RESIZE_RIGHT)){L=Math.max(K.left,Math.min(K.right,e.getDocumentLeft()))-this.__mf;

if(F&this.RESIZE_LEFT){E-=L;
H-=L;
}else{E+=L;
H+=L;
}
if(H<G.minWidth){E+=(G.minWidth-H);
H=G.minWidth;
}else if(E>G.maxWidth){E-=(H-G.maxWidth);
H=G.maxWidth;
}
if(F&this.RESIZE_LEFT){N+=J.containerWidth-H;
}}return {viewportLeft:N,viewportTop:top,parentLeft:J.bounds.left+N-J.left,parentTop:J.bounds.top+top-J.top,containerWidth:H,containerHeight:M,width:E,height:I};
},__ml:{1:f,2:n,4:h,8:z,5:t,6:g,9:c,10:b},__mm:function(){var O=this.getDecoratorElement();
if(O&&O.getDomElement()){return qx.bom.element.Location.get(O.getDomElement());
}else{return this.getContentLocation();
}},__mn:function(e){var location=this.__mm();
var P=this.getResizeSensitivity();
var S=e.getDocumentLeft();
var R=e.getDocumentTop();
var Q=this.__mo(location,S,R,P);
if(Q>0){Q=Q|this.__mo(location,S,R,P*2);
}this.__me=Q;
},__mo:function(location,T,U,V){var W=0;
if(this.getResizableTop()&&Math.abs(location.top-U)<V&&T>location.left-V&&T<location.right+V){W+=this.RESIZE_TOP;
}else if(this.getResizableBottom()&&Math.abs(location.bottom-U)<V&&T>location.left-V&&T<location.right+V){W+=this.RESIZE_BOTTOM;
}if(this.getResizableLeft()&&Math.abs(location.left-T)<V&&U>location.top-V&&U<location.bottom+V){W+=this.RESIZE_LEFT;
}else if(this.getResizableRight()&&Math.abs(location.right-T)<V&&U>location.top-V&&U<location.bottom+V){W+=this.RESIZE_RIGHT;
}return W;
},__mp:function(e){if(!this.__me){return;
}this.addState(j);
this.__mf=e.getDocumentLeft();
this.__mg=e.getDocumentTop();
var bb=this.getContainerLocation();
var X=this.__mm();
var ba=this.getBounds();
this.__mh={top:X.top,left:X.left,containerWidth:bb.right-bb.left,containerHeight:bb.bottom-bb.top,width:X.right-X.left,height:X.bottom-X.top,bounds:qx.lang.Object.clone(ba)};
var parent=this.getLayoutParent();
var bc=parent.getContentLocation();
var Y=parent.getBounds();
this.__mi={left:bc.left,top:bc.top,right:bc.left+Y.width,bottom:bc.top+Y.height};
if(this.getUseResizeFrame()){this.__mj();
}this.capture();
e.stop();
},__mq:function(e){if(!this.hasState(j)){return;
}if(this.getUseResizeFrame()){this._getResizeFrame().exclude();
}var bd=this.__mk(e);
this.setWidth(bd.containerWidth);
this.setHeight(bd.containerHeight);
if(this.getResizableLeft()||this.getResizableTop()){this.setLayoutProperties({left:bd.parentLeft,top:bd.parentTop});
}this.__me=0;
this.removeState(j);
this.resetCursor();
this.getApplicationRoot().resetGlobalCursor();
this.releaseCapture();
e.stopPropagation();
},__mr:function(e){if(!this.__me){return;
}this.resetCursor();
this.getApplicationRoot().resetGlobalCursor();
this.removeState(w);
if(this.getUseResizeFrame()){this._getResizeFrame().exclude();
}},__ms:function(e){if(this.hasState(j)){var bh=this.__mk(e);
if(this.getUseResizeFrame()){var bf=this._getResizeFrame();
bf.setUserBounds(bh.viewportLeft,bh.viewportTop,bh.width,bh.height);
}else{this.setWidth(bh.containerWidth);
this.setHeight(bh.containerHeight);
if(this.getResizableLeft()||this.getResizableTop()){this.setLayoutProperties({left:bh.parentLeft,top:bh.parentTop});
}}e.stopPropagation();
}else if(!this.hasState(u)&&!this.__mc.isSessionActive()){this.__mn(e);
var bi=this.__me;
var bg=this.getApplicationRoot();

if(bi){var be=this.__ml[bi];
this.setCursor(be);
bg.setGlobalCursor(be);
}else if(this.getCursor()){this.resetCursor();
bg.resetGlobalCursor();
}}},__mt:function(e){if(this.getCursor()&&!this.hasState(j)){this.resetCursor();
this.getApplicationRoot().resetGlobalCursor();
}}},destruct:function(){if(this.__md!=null&&!qx.core.ObjectRegistry.inShutDown){this.__md.destroy();
this.__md=null;
}this.__mc=null;
}});
})();
(function(){var k="Boolean",j="qx.event.type.Event",i="captionbar",h="_applyCaptionBarChange",g="maximize-button",f="restore-button",d="minimize-button",c="close-button",b="maximized",a="execute",S="title",R="icon",Q="showStatusbar",P="pane",O="statusbar",N="statusbar-text",M="String",L="normal",K="active",J="beforeClose",r="beforeMinimize",s="mousedown",p="window-resize-frame",q="changeStatus",n="changeIcon",o="excluded",l="dblclick",m="_applyActive",t="beforeRestore",u="minimize",B="changeModal",z="changeAlwaysOnTop",D="_applyShowStatusbar",C="_applyStatus",F="qx.ui.window.Window",E="changeCaption",w="focusout",I="beforeMaximize",H="maximize",G="restore",v="window",x="close",y="changeActive",A="minimized";
qx.Class.define(F,{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(T,U){qx.ui.core.Widget.call(this);
this._setLayout(new qx.ui.layout.VBox());
this._createChildControl(i);
this._createChildControl(P);
if(U!=null){this.setIcon(U);
}
if(T!=null){this.setCaption(T);
}this._updateCaptionBar();
this.addListener(s,this._onWindowMouseDown,this,true);
this.addListener(w,this._onWindowFocusOut,this);
qx.core.Init.getApplication().getRoot().add(this);
this.initVisibility();
qx.ui.core.FocusHandler.getInstance().addRoot(this);
this._getResizeFrame().setAppearance(p);
},statics:{DEFAULT_MANAGER_CLASS:qx.ui.window.Manager},events:{"beforeClose":j,"close":j,"beforeMinimize":j,"minimize":j,"beforeMaximize":j,"maximize":j,"beforeRestore":j,"restore":j},properties:{appearance:{refine:true,init:v},visibility:{refine:true,init:o},focusable:{refine:true,init:true},active:{check:k,init:false,apply:m,event:y},alwaysOnTop:{check:k,init:false,event:z},modal:{check:k,init:false,event:B},caption:{apply:h,event:E,nullable:true},icon:{check:M,nullable:true,apply:h,event:n,themeable:true},status:{check:M,nullable:true,apply:C,event:q},showClose:{check:k,init:true,apply:h,themeable:true},showMaximize:{check:k,init:true,apply:h,themeable:true},showMinimize:{check:k,init:true,apply:h,themeable:true},allowClose:{check:k,init:true,apply:h},allowMaximize:{check:k,init:true,apply:h},allowMinimize:{check:k,init:true,apply:h},showStatusbar:{check:k,init:false,apply:D}},members:{__mu:null,__mv:null,getChildrenContainer:function(){return this.getChildControl(P);
},_forwardStates:{active:true,maximized:true,showStatusbar:true},setLayoutParent:function(parent){qx.ui.core.Widget.prototype.setLayoutParent.call(this,parent);
},_createChildControlImpl:function(V,W){var X;

switch(V){case O:X=new qx.ui.container.Composite(new qx.ui.layout.HBox());
this._add(X);
X.add(this.getChildControl(N));
break;
case N:X=new qx.ui.basic.Label();
X.setValue(this.getStatus());
break;
case P:X=new qx.ui.container.Composite();
this._add(X,{flex:1});
break;
case i:var ba=new qx.ui.layout.Grid();
ba.setRowFlex(0,1);
ba.setColumnFlex(1,1);
X=new qx.ui.container.Composite(ba);
this._add(X);
X.addListener(l,this._onCaptionMouseDblClick,this);
this._activateMoveHandle(X);
break;
case R:X=new qx.ui.basic.Image(this.getIcon());
this.getChildControl(i).add(X,{row:0,column:0});
break;
case S:X=new qx.ui.basic.Label(this.getCaption());
X.setWidth(0);
X.setAllowGrowX(true);
var Y=this.getChildControl(i);
Y.add(X,{row:0,column:1});
break;
case d:X=new qx.ui.form.Button();
X.setFocusable(false);
X.addListener(a,this._onMinimizeButtonClick,this);
this.getChildControl(i).add(X,{row:0,column:2});
break;
case f:X=new qx.ui.form.Button();
X.setFocusable(false);
X.addListener(a,this._onRestoreButtonClick,this);
this.getChildControl(i).add(X,{row:0,column:3});
break;
case g:X=new qx.ui.form.Button();
X.setFocusable(false);
X.addListener(a,this._onMaximizeButtonClick,this);
this.getChildControl(i).add(X,{row:0,column:4});
break;
case c:X=new qx.ui.form.Button();
X.setFocusable(false);
X.addListener(a,this._onCloseButtonClick,this);
this.getChildControl(i).add(X,{row:0,column:6});
break;
}return X||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,V);
},_updateCaptionBar:function(){var bc;
var bd=this.getIcon();

if(bd){this.getChildControl(R).setSource(bd);
this._showChildControl(R);
}else{this._excludeChildControl(R);
}var bb=this.getCaption();

if(bb){this.getChildControl(S).setValue(bb);
this._showChildControl(S);
}else{this._excludeChildControl(S);
}
if(this.getShowMinimize()){this._showChildControl(d);
bc=this.getChildControl(d);
this.getAllowMinimize()?bc.resetEnabled():bc.setEnabled(false);
}else{this._excludeChildControl(d);
}
if(this.getShowMaximize()){if(this.isMaximized()){this._showChildControl(f);
this._excludeChildControl(g);
}else{this._showChildControl(g);
this._excludeChildControl(f);
}bc=this.getChildControl(g);
this.getAllowMaximize()?bc.resetEnabled():bc.setEnabled(false);
}else{this._excludeChildControl(g);
this._excludeChildControl(f);
}
if(this.getShowClose()){this._showChildControl(c);
bc=this.getChildControl(c);
this.getAllowClose()?bc.resetEnabled():bc.setEnabled(false);
}else{this._excludeChildControl(c);
}},close:function(){if(!this.isVisible()){return;
}
if(this.fireNonBubblingEvent(J,qx.event.type.Event,[false,true])){this.hide();
this.fireEvent(x);
}},open:function(){this.show();
this.setActive(true);
this.focus();
},center:function(){var parent=this.getLayoutParent();

if(parent){var bf=parent.getBounds();

if(bf){var bg=this.getSizeHint();
var be=Math.round((bf.width-bg.width)/2);
var top=Math.round((bf.height-bg.height)/2);

if(top<0){top=0;
}this.moveTo(be,top);
return;
}}},maximize:function(){if(this.isMaximized()){return;
}var parent=this.getLayoutParent();

if(parent!=null&&parent.supportsMaximize()){if(this.fireNonBubblingEvent(I,qx.event.type.Event,[false,true])){if(!this.isVisible()){this.open();
}var bh=this.getLayoutProperties();
this.__mv=bh.left===undefined?0:bh.left;
this.__mu=bh.top===undefined?0:bh.top;
this.setLayoutProperties({left:null,top:null,edge:0});
this.addState(b);
this._updateCaptionBar();
this.fireEvent(H);
}}},minimize:function(){if(!this.isVisible()){return;
}
if(this.fireNonBubblingEvent(r,qx.event.type.Event,[false,true])){var bi=this.getLayoutProperties();
this.__mv=bi.left===undefined?0:bi.left;
this.__mu=bi.top===undefined?0:bi.top;
this.removeState(b);
this.hide();
this.fireEvent(u);
}},restore:function(){if(this.getMode()===L){return;
}
if(this.fireNonBubblingEvent(t,qx.event.type.Event,[false,true])){if(!this.isVisible()){this.open();
}var bj=this.__mv;
var top=this.__mu;
this.setLayoutProperties({edge:null,left:bj,top:top});
this.removeState(b);
this._updateCaptionBar();
this.fireEvent(G);
}},moveTo:function(bk,top){if(this.isMaximized()){return;
}this.setLayoutProperties({left:bk,top:top});
},isMaximized:function(){return this.hasState(b);
},getMode:function(){if(!this.isVisible()){return A;
}else{if(this.isMaximized()){return b;
}else{return L;
}}},_applyActive:function(bl,bm){if(bm){this.removeState(K);
}else{this.addState(K);
}},_getContentPaddingTarget:function(){return this.getChildControl(P);
},_applyShowStatusbar:function(bn,bo){var bp=this._getResizeFrame();

if(bn){this.addState(Q);
bp.addState(Q);
}else{this.removeState(Q);
bp.removeState(Q);
}
if(bn){this._showChildControl(O);
}else{this._excludeChildControl(O);
}},_applyCaptionBarChange:function(bq,br){this._updateCaptionBar();
},_applyStatus:function(bs,bt){var bu=this.getChildControl(N,true);

if(bu){bu.setValue(bs);
}},_onWindowEventStop:function(e){e.stopPropagation();
},_onWindowMouseDown:function(e){this.setActive(true);
},_onWindowFocusOut:function(e){if(this.getModal()){return;
}var bv=e.getRelatedTarget();

if(bv!=null&&!qx.ui.core.Widget.contains(this,bv)){this.setActive(false);
}},_onCaptionMouseDblClick:function(e){if(this.getAllowMaximize()){this.isMaximized()?this.restore():this.maximize();
}},_onMinimizeButtonClick:function(e){this.minimize();
this.getChildControl(d).reset();
},_onRestoreButtonClick:function(e){this.restore();
this.getChildControl(f).reset();
},_onMaximizeButtonClick:function(e){this.maximize();
this.getChildControl(g).reset();
},_onCloseButtonClick:function(e){this.close();
this.getChildControl(c).reset();
}}});
})();
(function(){var r="left",q="top",p="_applyLayoutChange",o="hAlign",n="flex",m="vAlign",h="Integer",g="minWidth",f="width",e="minHeight",b="qx.ui.layout.Grid",d="height",c="maxHeight",a="maxWidth";
qx.Class.define(b,{extend:qx.ui.layout.Abstract,construct:function(s,t){qx.ui.layout.Abstract.call(this);
this.__mw=[];
this.__mx=[];

if(s){this.setSpacingX(s);
}
if(t){this.setSpacingY(t);
}},properties:{spacingX:{check:h,init:0,apply:p},spacingY:{check:h,init:0,apply:p}},members:{__my:null,__mw:null,__mx:null,__mz:null,__mA:null,__mB:null,__mC:null,__mD:null,__mE:null,verifyLayoutProperty:null,__mF:function(){var B=[];
var A=[];
var C=[];
var w=-1;
var v=-1;
var E=this._getLayoutChildren();

for(var i=0,l=E.length;i<l;i++){var z=E[i];
var D=z.getLayoutProperties();
var F=D.row;
var u=D.column;
D.colSpan=D.colSpan||1;
D.rowSpan=D.rowSpan||1;
if(F==null||u==null){throw new Error("The layout properties 'row' and 'column' of the child widget '"+z+"' must be defined!");
}
if(B[F]&&B[F][u]){throw new Error("Cannot add widget '"+z+"'!. "+"There is already a widget '"+B[F][u]+"' in this cell ("+F+", "+u+")");
}
for(var x=u;x<u+D.colSpan;x++){for(var y=F;y<F+D.rowSpan;y++){if(B[y]==undefined){B[y]=[];
}B[y][x]=z;
v=Math.max(v,x);
w=Math.max(w,y);
}}
if(D.rowSpan>1){C.push(z);
}
if(D.colSpan>1){A.push(z);
}}for(var y=0;y<=w;y++){if(B[y]==undefined){B[y]=[];
}}this.__my=B;
this.__mz=A;
this.__mA=C;
this.__mB=w;
this.__mC=v;
this.__mD=null;
this.__mE=null;
delete this._invalidChildrenCache;
},_setRowData:function(G,H,I){var J=this.__mw[G];

if(!J){this.__mw[G]={};
this.__mw[G][H]=I;
}else{J[H]=I;
}},_setColumnData:function(K,L,M){var N=this.__mx[K];

if(!N){this.__mx[K]={};
this.__mx[K][L]=M;
}else{N[L]=M;
}},setSpacing:function(O){this.setSpacingY(O);
this.setSpacingX(O);
return this;
},setColumnAlign:function(P,Q,R){this._setColumnData(P,o,Q);
this._setColumnData(P,m,R);
this._applyLayoutChange();
return this;
},getColumnAlign:function(S){var T=this.__mx[S]||{};
return {vAlign:T.vAlign||q,hAlign:T.hAlign||r};
},setRowAlign:function(U,V,W){this._setRowData(U,o,V);
this._setRowData(U,m,W);
this._applyLayoutChange();
return this;
},getRowAlign:function(X){var Y=this.__mw[X]||{};
return {vAlign:Y.vAlign||q,hAlign:Y.hAlign||r};
},getCellWidget:function(ba,bb){if(this._invalidChildrenCache){this.__mF();
}var ba=this.__my[ba]||{};
return ba[bb]||null;
},getRowCount:function(){if(this._invalidChildrenCache){this.__mF();
}return this.__mB+1;
},getColumnCount:function(){if(this._invalidChildrenCache){this.__mF();
}return this.__mC+1;
},getCellAlign:function(bc,bd){var bj=q;
var bh=r;
var bi=this.__mw[bc];
var bf=this.__mx[bd];
var be=this.__my[bc][bd];

if(be){var bg={vAlign:be.getAlignY(),hAlign:be.getAlignX()};
}else{bg={};
}if(bg.vAlign){bj=bg.vAlign;
}else if(bi&&bi.vAlign){bj=bi.vAlign;
}else if(bf&&bf.vAlign){bj=bf.vAlign;
}if(bg.hAlign){bh=bg.hAlign;
}else if(bf&&bf.hAlign){bh=bf.hAlign;
}else if(bi&&bi.hAlign){bh=bi.hAlign;
}return {vAlign:bj,hAlign:bh};
},setColumnFlex:function(bk,bl){this._setColumnData(bk,n,bl);
this._applyLayoutChange();
return this;
},getColumnFlex:function(bm){var bn=this.__mx[bm]||{};
return bn.flex!==undefined?bn.flex:0;
},setRowFlex:function(bo,bp){this._setRowData(bo,n,bp);
this._applyLayoutChange();
return this;
},getRowFlex:function(bq){var br=this.__mw[bq]||{};
var bs=br.flex!==undefined?br.flex:0;
return bs;
},setColumnMaxWidth:function(bt,bu){this._setColumnData(bt,a,bu);
this._applyLayoutChange();
return this;
},getColumnMaxWidth:function(bv){var bw=this.__mx[bv]||{};
return bw.maxWidth!==undefined?bw.maxWidth:Infinity;
},setColumnWidth:function(bx,by){this._setColumnData(bx,f,by);
this._applyLayoutChange();
return this;
},getColumnWidth:function(bz){var bA=this.__mx[bz]||{};
return bA.width!==undefined?bA.width:null;
},setColumnMinWidth:function(bB,bC){this._setColumnData(bB,g,bC);
this._applyLayoutChange();
return this;
},getColumnMinWidth:function(bD){var bE=this.__mx[bD]||{};
return bE.minWidth||0;
},setRowMaxHeight:function(bF,bG){this._setRowData(bF,c,bG);
this._applyLayoutChange();
return this;
},getRowMaxHeight:function(bH){var bI=this.__mw[bH]||{};
return bI.maxHeight||Infinity;
},setRowHeight:function(bJ,bK){this._setRowData(bJ,d,bK);
this._applyLayoutChange();
return this;
},getRowHeight:function(bL){var bM=this.__mw[bL]||{};
return bM.height!==undefined?bM.height:null;
},setRowMinHeight:function(bN,bO){this._setRowData(bN,e,bO);
this._applyLayoutChange();
return this;
},getRowMinHeight:function(bP){var bQ=this.__mw[bP]||{};
return bQ.minHeight||0;
},__mG:function(bR){var bV=bR.getSizeHint();
var bU=bR.getMarginLeft()+bR.getMarginRight();
var bT=bR.getMarginTop()+bR.getMarginBottom();
var bS={height:bV.height+bT,width:bV.width+bU,minHeight:bV.minHeight+bT,minWidth:bV.minWidth+bU,maxHeight:bV.maxHeight+bT,maxWidth:bV.maxWidth+bU};
return bS;
},_fixHeightsRowSpan:function(bW){var ce=this.getSpacingY();

for(var i=0,l=this.__mA.length;i<l;i++){var cl=this.__mA[i];
var ch=this.__mG(cl);
var ca=cl.getLayoutProperties();
var cg=ca.row;
var cq=ce*(ca.rowSpan-1);
var bX=cq;
var cb={};

for(var j=0;j<ca.rowSpan;j++){var cf=ca.row+j;
var cp=bW[cf];
var cr=this.getRowFlex(cf);

if(cr>0){cb[cf]={min:cp.minHeight,value:cp.height,max:cp.maxHeight,flex:cr};
}cq+=cp.height;
bX+=cp.minHeight;
}if(cq<ch.height){if(!qx.lang.Object.isEmpty(cb)){var cc=qx.ui.layout.Util.computeFlexOffsets(cb,ch.height,cq);

for(var k=0;k<ca.rowSpan;k++){var cn=cc[cg+k]?cc[cg+k].offset:0;
bW[cg+k].height+=cn;
}}else{var ck=ce*(ca.rowSpan-1);
var ci=ch.height-ck;
var co=Math.floor(ci/ca.rowSpan);
var cm=0;
var bY=0;

for(var k=0;k<ca.rowSpan;k++){var cd=bW[cg+k].height;
cm+=cd;

if(cd<co){bY++;
}}var cj=Math.floor((ci-cm)/bY);
for(var k=0;k<ca.rowSpan;k++){if(bW[cg+k].height<co){bW[cg+k].height+=cj;
}}}}if(bX<ch.minHeight){var cc=qx.ui.layout.Util.computeFlexOffsets(cb,ch.minHeight,bX);

for(var j=0;j<ca.rowSpan;j++){var cn=cc[cg+j]?cc[cg+j].offset:0;
bW[cg+j].minHeight+=cn;
}}}},_fixWidthsColSpan:function(cs){var cw=this.getSpacingX();

for(var i=0,l=this.__mz.length;i<l;i++){var ct=this.__mz[i];
var cv=this.__mG(ct);
var cy=ct.getLayoutProperties();
var cu=cy.column;
var cE=cw*(cy.colSpan-1);
var cx=cE;
var cz={};
var cB;

for(var j=0;j<cy.colSpan;j++){var cF=cy.column+j;
var cD=cs[cF];
var cC=this.getColumnFlex(cF);
if(cC>0){cz[cF]={min:cD.minWidth,value:cD.width,max:cD.maxWidth,flex:cC};
}cE+=cD.width;
cx+=cD.minWidth;
}if(cE<cv.width){var cA=qx.ui.layout.Util.computeFlexOffsets(cz,cv.width,cE);

for(var j=0;j<cy.colSpan;j++){cB=cA[cu+j]?cA[cu+j].offset:0;
cs[cu+j].width+=cB;
}}if(cx<cv.minWidth){var cA=qx.ui.layout.Util.computeFlexOffsets(cz,cv.minWidth,cx);

for(var j=0;j<cy.colSpan;j++){cB=cA[cu+j]?cA[cu+j].offset:0;
cs[cu+j].minWidth+=cB;
}}}},_getRowHeights:function(){if(this.__mD!=null){return this.__mD;
}var cP=[];
var cI=this.__mB;
var cH=this.__mC;

for(var cQ=0;cQ<=cI;cQ++){var cJ=0;
var cL=0;
var cK=0;

for(var cO=0;cO<=cH;cO++){var cG=this.__my[cQ][cO];

if(!cG){continue;
}var cM=cG.getLayoutProperties().rowSpan||0;

if(cM>1){continue;
}var cN=this.__mG(cG);

if(this.getRowFlex(cQ)>0){cJ=Math.max(cJ,cN.minHeight);
}else{cJ=Math.max(cJ,cN.height);
}cL=Math.max(cL,cN.height);
}var cJ=Math.max(cJ,this.getRowMinHeight(cQ));
var cK=this.getRowMaxHeight(cQ);

if(this.getRowHeight(cQ)!==null){var cL=this.getRowHeight(cQ);
}else{var cL=Math.max(cJ,Math.min(cL,cK));
}cP[cQ]={minHeight:cJ,height:cL,maxHeight:cK};
}
if(this.__mA.length>0){this._fixHeightsRowSpan(cP);
}this.__mD=cP;
return cP;
},_getColWidths:function(){if(this.__mE!=null){return this.__mE;
}var cV=[];
var cS=this.__mC;
var cU=this.__mB;

for(var db=0;db<=cS;db++){var cY=0;
var cX=0;
var cT=Infinity;

for(var dc=0;dc<=cU;dc++){var cR=this.__my[dc][db];

if(!cR){continue;
}var cW=cR.getLayoutProperties().colSpan||0;

if(cW>1){continue;
}var da=this.__mG(cR);

if(this.getColumnFlex(db)>0){cX=Math.max(cX,da.minWidth);
}else{cX=Math.max(cX,da.width);
}cY=Math.max(cY,da.width);
}cX=Math.max(cX,this.getColumnMinWidth(db));
cT=this.getColumnMaxWidth(db);

if(this.getColumnWidth(db)!==null){var cY=this.getColumnWidth(db);
}else{var cY=Math.max(cX,Math.min(cY,cT));
}cV[db]={minWidth:cX,width:cY,maxWidth:cT};
}
if(this.__mz.length>0){this._fixWidthsColSpan(cV);
}this.__mE=cV;
return cV;
},_getColumnFlexOffsets:function(dd){var de=this.getSizeHint();
var di=dd-de.width;

if(di==0){return {};
}var dg=this._getColWidths();
var df={};

for(var i=0,l=dg.length;i<l;i++){var dj=dg[i];
var dh=this.getColumnFlex(i);

if((dh<=0)||(dj.width==dj.maxWidth&&di>0)||(dj.width==dj.minWidth&&di<0)){continue;
}df[i]={min:dj.minWidth,value:dj.width,max:dj.maxWidth,flex:dh};
}return qx.ui.layout.Util.computeFlexOffsets(df,dd,de.width);
},_getRowFlexOffsets:function(dk){var dl=this.getSizeHint();
var dp=dk-dl.height;

if(dp==0){return {};
}var dq=this._getRowHeights();
var dm={};

for(var i=0,l=dq.length;i<l;i++){var dr=dq[i];
var dn=this.getRowFlex(i);

if((dn<=0)||(dr.height==dr.maxHeight&&dp>0)||(dr.height==dr.minHeight&&dp<0)){continue;
}dm[i]={min:dr.minHeight,value:dr.height,max:dr.maxHeight,flex:dn};
}return qx.ui.layout.Util.computeFlexOffsets(dm,dk,dl.height);
},renderLayout:function(ds,dt){if(this._invalidChildrenCache){this.__mF();
}var dH=qx.ui.layout.Util;
var dv=this.getSpacingX();
var dB=this.getSpacingY();
var dM=this._getColWidths();
var dL=this._getColumnFlexOffsets(ds);
var dw=[];
var dO=this.__mC;
var du=this.__mB;
var dN;

for(var dP=0;dP<=dO;dP++){dN=dL[dP]?dL[dP].offset:0;
dw[dP]=dM[dP].width+dN;
}var dE=this._getRowHeights();
var dG=this._getRowFlexOffsets(dt);
var dV=[];

for(var dC=0;dC<=du;dC++){dN=dG[dC]?dG[dC].offset:0;
dV[dC]=dE[dC].height+dN;
}var dW=0;

for(var dP=0;dP<=dO;dP++){var top=0;

for(var dC=0;dC<=du;dC++){var dJ=this.__my[dC][dP];
if(!dJ){top+=dV[dC]+dB;
continue;
}var dx=dJ.getLayoutProperties();
if(dx.row!==dC||dx.column!==dP){top+=dV[dC]+dB;
continue;
}var dU=dv*(dx.colSpan-1);

for(var i=0;i<dx.colSpan;i++){dU+=dw[dP+i];
}var dK=dB*(dx.rowSpan-1);

for(var i=0;i<dx.rowSpan;i++){dK+=dV[dC+i];
}var dy=dJ.getSizeHint();
var dS=dJ.getMarginTop();
var dI=dJ.getMarginLeft();
var dF=dJ.getMarginBottom();
var dA=dJ.getMarginRight();
var dD=Math.max(dy.minWidth,Math.min(dU-dI-dA,dy.maxWidth));
var dT=Math.max(dy.minHeight,Math.min(dK-dS-dF,dy.maxHeight));
var dQ=this.getCellAlign(dC,dP);
var dR=dW+dH.computeHorizontalAlignOffset(dQ.hAlign,dD,dU,dI,dA);
var dz=top+dH.computeVerticalAlignOffset(dQ.vAlign,dT,dK,dS,dF);
dJ.renderLayout(dR,dz,dD,dT);
top+=dV[dC]+dB;
}dW+=dw[dP]+dv;
}},invalidateLayoutCache:function(){qx.ui.layout.Abstract.prototype.invalidateLayoutCache.call(this);
this.__mE=null;
this.__mD=null;
},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__mF();
}var ec=this._getColWidths();
var ee=0,ef=0;

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

if(this.getColumnFlex(i)>0){ee+=eg.minWidth;
}else{ee+=eg.width;
}ef+=eg.width;
}var eh=this._getRowHeights();
var ea=0,ed=0;

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

if(this.getRowFlex(i)>0){ea+=ei.minHeight;
}else{ea+=ei.height;
}ed+=ei.height;
}var dY=this.getSpacingX()*(ec.length-1);
var dX=this.getSpacingY()*(eh.length-1);
var eb={minWidth:ee+dY,width:ef+dY,minHeight:ea+dX,height:ed+dX};
return eb;
}},destruct:function(){this.__my=this.__mw=this.__mx=this.__mz=this.__mA=this.__mE=this.__mD=null;
}});
})();
(function(){var g="resize",f="interval",d="boundsChanged",c="changeVisibility",b="grfind.Window",a="move";
qx.Class.define(b,{extend:qx.ui.window.Window,construct:function(o){qx.ui.window.Window.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas());
this.set({useMoveFrame:true,showMinimize:false,resizeSensitivity:this.getApp().getResizeSensitivity()});
var h=new qx.event.Timer();
h.addListener(f,function(e){e.getCurrentTarget().stop();
this._saveBounds();
},this);
this.addListener(a,function(e){h.restartWith(500);
},this);
this.addListener(g,function(e){h.restartWith(500);
},this);
this.addListener(c,function(e){h.restartWith(500);
},this);
},properties:{app:{init:null}},members:{_saveBounds:function(){try{this.getApp()._windowBounds[this.toHashCode()]=this.getBounds();
this.fireEvent(d);
}catch(i){alert("error in _saveBounds"+i.toString());
}},_getFullBounds:function(){return this.getBounds();
}}});
})();
(function(){var k="",j="changeValue",i="cancel-dialog",h="submit-dialog",g="white",f="atom",d="application/json",c="Subject of this message",b="Close",a="DialogWindow - unknown button was pressed ",D="middle",C="submitDialog",B="Send the above information to us.",A="ready",z="Subject",y="Problem with dialog arguments. Doing nothing.",x="Your Email Address",w="Submit Now",v="Contact",u="Your Email",r="completed",s="grfind.window.DialogWindow",p="POST",q="toolbar",n="Send Copy to Myself",o="Check this to send a copy of this to yourself via email.",l="There is no recipient email. This should not happen. We set the recipient email address to support@grfind.com. Please briefly describe what you were trying to do so that we can fix the problem",m="close",t="support@grfind.com";
qx.Class.define(s,{extend:grfind.Window,construct:function(E){grfind.Window.call(this);
this.set({showMaximize:false});
this.setDesktop(new qx.ui.window.Desktop(new qx.ui.window.Manager()));
this.mainCanvas=new qx.ui.container.Composite(new qx.ui.layout.VBox(8)).set({padding:10,backgroundColor:g});
this.senderEmailTextField=new grfind.EditField(u).set({tt:x});
this.subjectTextField=new grfind.EditField(z).set({tt:c});
this.dialogEditor=new grfind.HtmlEditor(E).set({backgroundColor:g});
this.addListener(m,function(e){this.dialogEditor._hideWindows();
},this);
this.senderEmailTextField.addListener(j,function(e){this.setSenderEmail(e.getCurrentTarget().getValue());
this._updateState();
},this);
this.subjectTextField.addListener(j,function(e){this.setSubject(e.getCurrentTarget().getValue());
this._updateState();
},this);
this.dialogEditor.addListener(A,function(e){this.dialogEditor.setValue(this.getDialog());
this._updateState();
},this);
this.mainCanvas.add(this.senderEmailTextField);
this.mainCanvas.add(this.subjectTextField);
this.mainCanvas.add(this.dialogEditor,{flex:1});
this.mainCanvas.add(this._createToolbar());
this.getDesktop().add(this.mainCanvas,{edge:0});
this.add(this.getDesktop(),{edge:0});
},properties:{desktop:{init:null},senderEmail:{init:k},recipientEmail:{init:k},subject:{init:k},dialog:{init:k},origin:{init:k}},members:{_initialize:function(F,G,H,I,J,K){try{G?this.setSenderEmail(G):this.setSenderEmail(k);
H?this.setRecipientEmail(H):this.setRecipientEmail(k);
I?this.setSubject(I):this.setSubject(k);
J?this.setDialog(J):this.setDialog(k);
K?this.setCaption(K):this.setCaption(v);
this.setOrigin(F);
this.senderEmailTextField.setValue(this.getSenderEmail());
this.subjectTextField.setValue(this.getSubject());
this.dialogEditor.setValue(this.getDialog());

if(!qx.lang.String.trim(this.getRecipientEmail())){this.submitButton.setEnabled(false);
this.getApp().userMessage(l);
this.setRecipientEmail(t);
}this.open();
}catch(L){this.getApp().userMessage(y);
return;
}},_updateState:function(){this.submitButton.setEnabled(false);

if(qx.lang.String.trim(this.getSenderEmail())&&qx.lang.String.trim(this.getRecipientEmail())&&qx.lang.String.trim(this.getSubject())){this.submitButton.setEnabled(true);
}},_createToolbar:function(){var toolbar=new qx.ui.container.Composite(new qx.ui.layout.HBox(15).set({alignY:D})).set({font:q});
this.submitButton=new grfind.Button(this,f,h,w,null);
var M=new grfind.Button(this,f,i,b,null);
this.copyToSelfCheckBox=new qx.ui.form.CheckBox(n);
this.copyToSelfCheckBox.set({value:true});
this.getApp().createTooltip(this.submitButton,null,B);
this.getApp().createTooltip(this.copyToSelfCheckBox,null,o);
toolbar.add(this.submitButton);
toolbar.add(this.copyToSelfCheckBox);
toolbar.add(new qx.ui.basic.Atom(),{flex:1});
toolbar.add(M);
return toolbar;
},_submitDialog:function(){var O=qx.lang.String.trim(this.senderEmailTextField.getValue());
var N=qx.lang.String.trim(this.getRecipientEmail());
var R=qx.lang.String.trim(this.subjectTextField.getValue());
var Q=qx.lang.String.trim(this.dialogEditor.getValue());
R=this.getOrigin()+R;

if(O&&N&&R&&Q){var P=new grfind.HttpRequest(C,p,d,6000,{'sender-email':O,'recipient-email':N,'subject':R,'dialog':Q,'copy-to-self':this.copyToSelfCheckBox.getValue()});
P.addListener(r,function(e){if(e.getData().error==0){this.getApp().setSenderEmail(O);
this.close();
}this.getApp().userMessage(e.getData().msg);
},this);
P.start();
}},_doButton:function(S,T){switch(S){case h:{this._submitDialog();
};
break;
case i:{this.close();
};
break;
default:{this.getApp().userMessage(a+S);
};
}}}});
})();
(function(){var a="qx.ui.window.Desktop";
qx.Class.define(a,{extend:qx.ui.core.Widget,include:[qx.ui.core.MChildrenHandling,qx.ui.window.MDesktop,qx.ui.core.MBlocker],implement:qx.ui.window.IDesktop,construct:function(b){qx.ui.core.Widget.call(this);
b=b||new qx.ui.window.Window.DEFAULT_MANAGER_CLASS();
this.getContentElement().disableScrolling();
this._setLayout(new qx.ui.layout.Canvas());
this.setWindowManager(b);
}});
})();
(function(){var p="",o="15px sans-serif italic",n="Edit Field",m="textfield",l="changeValue",k="middle",j="grfind.EditField",i="_applyTt",h="label",g="_applyValue",c="input",f="changeLabel",d="_applyLabel",b="textarea",a="EditField - unknown type ";
qx.Class.define(j,{extend:qx.ui.container.Composite,construct:function(q,r,s){qx.ui.container.Composite.call(this);
this.setApp(qx.core.Init.getApplication());
r?this.setType(r):null;
s?null:s=p;
switch(this.getType()){case m:{this.setLayout(new qx.ui.layout.HBox(15).set({alignY:k}));
var u=new qx.ui.basic.Atom().set({rich:true,opacity:0.7}).set({toolTip:new qx.ui.tooltip.ToolTip(s).set({rich:true,maxWidth:350,padding:8,showTimeout:0,hideTimeout:10000,font:qx.bom.Font.fromString(o)})});
this.setLabelWidget(u);
q?this.setLabel(q):null;
var t=new qx.ui.form.TextField();
this.setInputWidget(t);
this.add(this.getLabelWidget());
this.add(this.getInputWidget(),{flex:1});
};
break;
case b:{this.setLayout(new qx.ui.layout.VBox(5));
var u=new qx.ui.basic.Atom().set({rich:true,opacity:0.7}).set({toolTip:new qx.ui.tooltip.ToolTip(s).set({rich:true,maxWidth:350,padding:8,showTimeout:0,hideTimeout:10000,font:qx.bom.Font.fromString(o)})});
this.setLabelWidget(u);
q?this.setLabel(q):null;
var t=new qx.ui.form.TextArea();
this.setInputWidget(t);
this.add(this.getLabelWidget());
this.add(this.getInputWidget(),{flex:1});
};
break;
case h:{this.setLayout(new qx.ui.layout.HBox(15).set({alignY:k}));
var u=new qx.ui.basic.Atom().set({rich:true,opacity:0.7}).set({toolTip:new qx.ui.tooltip.ToolTip(n).set({rich:true,maxWidth:350,padding:8,showTimeout:0,hideTimeout:10000,font:qx.bom.Font.fromString(o)})});
this.setLabelWidget(u);
q?this.setLabel(q):null;
var t=new qx.ui.basic.Label().set({rich:true});
this.setInputWidget(t);
this.add(this.getLabelWidget());
this.add(this.getInputWidget(),{flex:1});
};
break;
default:{this.getApp().userMessage(a+r);
};
}t.addListener(c,function(e){this.setValue(e.getCurrentTarget().getValue());
},this);
t.addListener(l,function(e){this.setValue(e.getCurrentTarget().getValue());
},this);
},properties:{app:{init:null},type:{init:m},label:{init:p,apply:d,event:f},value:{init:p,apply:g,event:l},labelWidget:{init:null},inputWidget:{init:null},tt:{init:n,apply:i}},members:{_applyLabel:function(v,w){this.getLabelWidget().setLabel(v);
},_applyValue:function(x,y){this.getInputWidget().setValue(x);
},_applyTt:function(z,A){this.getLabelWidget().getToolTip().setLabel(z);
}}});
})();
(function(){var k="showingPlaceholder",j="",i="engine.name",h="none",g="qx.dynlocale",f="Boolean",d="A",c="color",b="qx.event.type.Data",a="readonly",bf="placeholder",be="input",bd="focusin",bc="visibility",bb="gecko",ba="focusout",Y="changeLocale",X="hidden",W="absolute",V="readOnly",r="text",s="_applyTextAlign",p="px",q="RegExp",n=")",o="syncAppearance",l="changeValue",m="engine.version",v="change",w="changeStatus",E="textAlign",C="focused",L="center",G="visible",R="disabled",P="url(",y="String",U="resize",T="qx.ui.form.AbstractField",S="transparent",x="spellcheck",A="false",B="right",D="PositiveInteger",F="abstract",H="block",M="css.placeholder",Q="webkit",t="_applyReadOnly",u="_applyPlaceholder",z="left",K="off",J="mshtml",I="qx/static/blank.gif",O="text-placeholder",N="changeReadOnly";
qx.Class.define(T,{extend:qx.ui.core.Widget,implement:[qx.ui.form.IStringForm,qx.ui.form.IForm],include:[qx.ui.form.MForm],type:F,construct:function(bg){qx.ui.core.Widget.call(this);
this.__mH=!qx.core.Environment.get(M)||(qx.core.Environment.get(i)==bb&&parseFloat(qx.core.Environment.get(m))>=2);

if(bg!=null){this.setValue(bg);
}this.getContentElement().addListener(v,this._onChangeContent,this);
if(this.__mH){this.addListener(o,this._syncPlaceholder,this);
}if(qx.core.Environment.get(g)){qx.locale.Manager.getInstance().addListener(Y,this._onChangeLocale,this);
}},events:{"input":b,"changeValue":b},properties:{textAlign:{check:[z,L,B],nullable:true,themeable:true,apply:s},readOnly:{check:f,apply:t,event:N,init:false},selectable:{refine:true,init:true},focusable:{refine:true,init:true},maxLength:{check:D,init:Infinity},liveUpdate:{check:f,init:false},placeholder:{check:y,nullable:true,apply:u},filter:{check:q,nullable:true,init:null}},members:{__mI:true,__mJ:null,__mK:null,__mL:null,__mH:true,__jG:null,__jK:null,getFocusElement:function(){var bh=this.getContentElement();

if(bh){return bh;
}},_createInputElement:function(){return new qx.html.Input(r);
},renderLayout:function(bi,top,bj,bk){var bl=this._updateInsets;
var bp=qx.ui.core.Widget.prototype.renderLayout.call(this,bi,top,bj,bk);
if(!bp){return;
}var bn=bp.size||bl;
var bq=p;

if(bn||bp.local||bp.margin){var bm=this.getInsets();
var innerWidth=bj-bm.left-bm.right;
var innerHeight=bk-bm.top-bm.bottom;
innerWidth=innerWidth<0?0:innerWidth;
innerHeight=innerHeight<0?0:innerHeight;
}var bo=this.getContentElement();
if(bl&&this.__mH){this.__mO().setStyles({"left":bm.left+bq,"top":bm.top+bq});
}
if(bn){if(this.__mH){this.__mO().setStyles({"width":innerWidth+bq,"height":innerHeight+bq});
}bo.setStyles({"width":innerWidth+bq,"height":innerHeight+bq});
this._renderContentElement(innerHeight,bo);
}},_renderContentElement:function(innerHeight,br){},_createContentElement:function(){var bs=this._createInputElement();
bs.setStyles({"border":h,"padding":0,"margin":0,"display":H,"background":S,"outline":h,"appearance":h,"position":W,"autoComplete":K});
bs.setSelectable(this.getSelectable());
bs.setEnabled(this.getEnabled());
bs.addListener(be,this._onHtmlInput,this);
bs.setAttribute(x,A);
if(qx.core.Environment.get(i)==Q||qx.core.Environment.get(i)==bb){bs.setStyle(U,h);
}if((qx.core.Environment.get(i)==J)){bs.setStyles({backgroundImage:P+qx.util.ResourceManager.getInstance().toUri(I)+n});
}return bs;
},_applyEnabled:function(bt,bu){qx.ui.core.Widget.prototype._applyEnabled.call(this,bt,bu);
this.getContentElement().setEnabled(bt);

if(this.__mH){if(bt){this._showPlaceholder();
}else{this._removePlaceholder();
}}else{var bv=this.getContentElement();
bv.setAttribute(bf,bt?this.getPlaceholder():j);
}},__mM:{width:16,height:16},_getContentHint:function(){return {width:this.__mM.width*10,height:this.__mM.height||16};
},_applyFont:function(bw,bx){if(bx&&this.__jG&&this.__jK){this.__jG.removeListenerById(this.__jK);
this.__jK=null;
}var by;

if(bw){this.__jG=qx.theme.manager.Font.getInstance().resolve(bw);

if(this.__jG instanceof qx.bom.webfonts.WebFont){this.__jK=this.__jG.addListener(w,this._onWebFontStatusChange,this);
}by=this.__jG.getStyles();
}else{by=qx.bom.Font.getDefaultStyles();
}this.getContentElement().setStyles(by);
if(this.__mH){this.__mO().setStyles(by);
}if(bw){this.__mM=qx.bom.Label.getTextSize(d,by);
}else{delete this.__mM;
}qx.ui.core.queue.Layout.add(this);
},_applyTextColor:function(bz,bA){if(bz){this.getContentElement().setStyle(c,qx.theme.manager.Color.getInstance().resolve(bz));
}else{this.getContentElement().removeStyle(c);
}},tabFocus:function(){qx.ui.core.Widget.prototype.tabFocus.call(this);
this.selectAllText();
},_getTextSize:function(){return this.__mM;
},_onHtmlInput:function(e){var bE=e.getData();
var bD=true;
this.__mI=false;
if(this.getFilter()!=null){var bF=j;
var bB=bE.search(this.getFilter());
var bC=bE;

while(bB>=0){bF=bF+(bC.charAt(bB));
bC=bC.substring(bB+1,bC.length);
bB=bC.search(this.getFilter());
}
if(bF!=bE){bD=false;
bE=bF;
this.getContentElement().setValue(bE);
}}if(bE.length>this.getMaxLength()){bD=false;
this.getContentElement().setValue(bE.substr(0,this.getMaxLength()));
}if(bD){this.fireDataEvent(be,bE,this.__mL);
this.__mL=bE;
if(this.getLiveUpdate()){this.__mN(bE);
}}},_onWebFontStatusChange:function(bG){if(bG.getData().valid===true){var bH=this.__jG.getStyles();
this.__mM=qx.bom.Label.getTextSize(d,bH);
qx.ui.core.queue.Layout.add(this);
}},__mN:function(bI){var bJ=this.__mK;
this.__mK=bI;

if(bJ!=bI){this.fireNonBubblingEvent(l,qx.event.type.Data,[bI,bJ]);
}},setValue:function(bK){if(bK===null){if(this.__mI){return bK;
}bK=j;
this.__mI=true;
}else{this.__mI=false;
if(this.__mH){this._removePlaceholder();
}}
if(qx.lang.Type.isString(bK)){var bM=this.getContentElement();

if(bK.length>this.getMaxLength()){bK=bK.substr(0,this.getMaxLength());
}
if(bM.getValue()!=bK){var bN=bM.getValue();
bM.setValue(bK);
var bL=this.__mI?null:bK;
this.__mK=bN;
this.__mN(bL);
}if(this.__mH){this._showPlaceholder();
}return bK;
}throw new Error("Invalid value type: "+bK);
},getValue:function(){var bO=this.getContentElement().getValue();
return this.__mI?null:bO;
},resetValue:function(){this.setValue(null);
},_onChangeContent:function(e){this.__mI=e.getData()===null;
this.__mN(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(bP,bQ){this.getContentElement().setTextSelection(bP,bQ);
},clearTextSelection:function(){this.getContentElement().clearTextSelection();
},selectAllText:function(){this.setTextSelection(0);
},_showPlaceholder:function(){var bS=this.getValue()||j;
var bR=this.getPlaceholder();

if(bR!=null&&bS==j&&!this.hasState(C)&&!this.hasState(R)){if(this.hasState(k)){this._syncPlaceholder();
}else{this.addState(k);
}}},_removePlaceholder:function(){if(this.hasState(k)){this.__mO().setStyle(bc,X);
this.removeState(k);
}},_syncPlaceholder:function(){if(this.hasState(k)){this.__mO().setStyle(bc,G);
}},__mO:function(){if(this.__mJ==null){this.__mJ=new qx.html.Label();
var bT=qx.theme.manager.Color.getInstance();
this.__mJ.setStyles({"visibility":X,"zIndex":6,"position":W,"color":bT.resolve(O)});
this.getContainerElement().add(this.__mJ);
}return this.__mJ;
},_onChangeLocale:qx.core.Environment.select(g,{"true":function(e){var content=this.getPlaceholder();

if(content&&content.translate){this.setPlaceholder(content.translate());
}},"false":null}),_applyPlaceholder:function(bU,bV){if(this.__mH){this.__mO().setValue(bU);

if(bU!=null){this.addListener(bd,this._removePlaceholder,this);
this.addListener(ba,this._showPlaceholder,this);
this._showPlaceholder();
}else{this.removeListener(bd,this._removePlaceholder,this);
this.removeListener(ba,this._showPlaceholder,this);
this._removePlaceholder();
}}else{if(this.getEnabled()){this.getContentElement().setAttribute(bf,bU);
}}},_applyTextAlign:function(bW,bX){this.getContentElement().setStyle(E,bW);
},_applyReadOnly:function(bY,ca){var cb=this.getContentElement();
cb.setAttribute(V,bY);

if(bY){this.addState(a);
this.setFocusable(false);
}else{this.removeState(a);
this.setFocusable(true);
}}},destruct:function(){this.__mJ=this.__jG=null;

if(qx.core.Environment.get(g)){qx.locale.Manager.getInstance().removeListener(Y,this._onChangeLocale,this);
}
if(this.__jG&&this.__jK){this.__jG.removeListenerById(this.__jK);
}}});
})();
(function(){var n="wrap",m="value",l="textarea",k="engine.name",j="none",i="",h="overflow",g="input",f="qx.html.Input",e="select",b="disabled",d="read-only",c="overflowX",a="overflowY";
qx.Class.define(f,{extend:qx.html.Element,construct:function(o,p,q){if(o===e||o===l){var r=o;
}else{r=g;
}qx.html.Element.call(this,r,p,q);
this.__mP=o;
},members:{__mP:null,__mQ:null,__mR:null,_createDomElement:function(){return qx.bom.Input.create(this.__mP);
},_applyProperty:function(name,s){qx.html.Element.prototype._applyProperty.call(this,name,s);
var t=this.getDomElement();

if(name===m){qx.bom.Input.setValue(t,s);
}else if(name===n){qx.bom.Input.setWrap(t,s);
this.setStyle(h,t.style.overflow,true);
this.setStyle(c,t.style.overflowX,true);
this.setStyle(a,t.style.overflowY,true);
}},setEnabled:qx.core.Environment.select(k,{"webkit":function(u){this.__mR=u;

if(!u){this.setStyles({"userModify":d,"userSelect":j});
}else{this.setStyles({"userModify":null,"userSelect":this.__mQ?null:j});
}},"default":function(v){this.setAttribute(b,v===false);
}}),setSelectable:qx.core.Environment.select(k,{"webkit":function(w){this.__mQ=w;
qx.html.Element.prototype.setSelectable.call(this,this.__mR&&w);
},"default":function(x){qx.html.Element.prototype.setSelectable.call(this,x);
}}),setValue:function(y){var z=this.getDomElement();

if(z){if(z.value!=y){qx.bom.Input.setValue(z,y);
}}else{this._setProperty(m,y);
}return this;
},getValue:function(){var A=this.getDomElement();

if(A){return qx.bom.Input.getValue(A);
}return this._getProperty(m)||i;
},setWrap:function(B,C){if(this.__mP===l){this._setProperty(n,B,C);
}else{throw new Error("Text wrapping is only support by textareas!");
}return this;
},getWrap:function(){if(this.__mP===l){return this._getProperty(n);
}else{throw new Error("Text wrapping is only support by textareas!");
}}}});
})();
(function(){var m="input",k="engine.name",j="change",h="text",g="password",f="engine.version",d="radio",c="textarea",b="checkbox",a="keypress",A="browser.documentmode",z="opera",y="keyup",x="mshtml",w="blur",v="keydown",u="propertychange",t="browser.version",s="select-multiple",r="value",p="select",q="qx.event.handler.Input",n="checked";
qx.Class.define(q,{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.Environment.get(k)==z)){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:{__mS:false,__mT:null,__mK:null,__mL:null,canHandleEvent:function(B,C){var D=B.tagName.toLowerCase();

if(C===m&&(D===m||D===c)){return true;
}
if(C===j&&(D===m||D===c||D===p)){return true;
}return false;
},registerEvent:function(E,F,G){if(qx.core.Environment.get(k)==x&&(qx.core.Environment.get(f)<9||(qx.core.Environment.get(f)>=9&&qx.core.Environment.get(A)<9))){if(!E.__mU){var H=E.tagName.toLowerCase();
var I=E.type;

if(I===h||I===g||H===c||I===b||I===d){qx.bom.Event.addNativeListener(E,u,this._onPropertyWrapper);
}
if(I!==b&&I!==d){qx.bom.Event.addNativeListener(E,j,this._onChangeValueWrapper);
}
if(I===h||I===g){this._onKeyPressWrapped=qx.lang.Function.listener(this._onKeyPress,this,E);
qx.bom.Event.addNativeListener(E,a,this._onKeyPressWrapped);
}E.__mU=true;
}}else{if(F===m){this.__mV(E);
}else if(F===j){if(E.type===d||E.type===b){qx.bom.Event.addNativeListener(E,j,this._onChangeCheckedWrapper);
}else{qx.bom.Event.addNativeListener(E,j,this._onChangeValueWrapper);
}if((qx.core.Environment.get(k)==z)||(qx.core.Environment.get(k)==x)){if(E.type===h||E.type===g){this._onKeyPressWrapped=qx.lang.Function.listener(this._onKeyPress,this,E);
qx.bom.Event.addNativeListener(E,a,this._onKeyPressWrapped);
}}}}},__mV:qx.core.Environment.select(k,{"mshtml":function(J){if(qx.core.Environment.get(f)>=9&&qx.core.Environment.get(A)>=9){qx.bom.Event.addNativeListener(J,m,this._onInputWrapper);

if(J.type===h||J.type===g){this._inputFixWrapper=qx.lang.Function.listener(this._inputFix,this,J);
qx.bom.Event.addNativeListener(J,y,this._inputFixWrapper);
}}},"webkit":function(K){var L=K.tagName.toLowerCase();
if(parseFloat(qx.core.Environment.get(f))<532&&L==c){qx.bom.Event.addNativeListener(K,a,this._onInputWrapper);
}qx.bom.Event.addNativeListener(K,m,this._onInputWrapper);
},"opera":function(M){qx.bom.Event.addNativeListener(M,y,this._onKeyUpWrapper);
qx.bom.Event.addNativeListener(M,v,this._onKeyDownWrapper);
qx.bom.Event.addNativeListener(M,w,this._onBlurWrapper);
qx.bom.Event.addNativeListener(M,m,this._onInputWrapper);
},"default":function(N){qx.bom.Event.addNativeListener(N,m,this._onInputWrapper);
}}),unregisterEvent:function(O,P){if(qx.core.Environment.get(k)==x&&qx.core.Environment.get(f)<9&&qx.core.Environment.get(A)<9){if(O.__mU){var Q=O.tagName.toLowerCase();
var R=O.type;

if(R===h||R===g||Q===c||R===b||R===d){qx.bom.Event.removeNativeListener(O,u,this._onPropertyWrapper);
}
if(R!==b&&R!==d){qx.bom.Event.removeNativeListener(O,j,this._onChangeValueWrapper);
}
if(R===h||R===g){qx.bom.Event.removeNativeListener(O,a,this._onKeyPressWrapped);
}
try{delete O.__mU;
}catch(S){O.__mU=null;
}}}else{if(P===m){this.__mW(O);
}else if(P===j){if(O.type===d||O.type===b){qx.bom.Event.removeNativeListener(O,j,this._onChangeCheckedWrapper);
}else{qx.bom.Event.removeNativeListener(O,j,this._onChangeValueWrapper);
}}
if((qx.core.Environment.get(k)==z)||(qx.core.Environment.get(k)==x)){if(O.type===h||O.type===g){qx.bom.Event.removeNativeListener(O,a,this._onKeyPressWrapped);
}}}},__mW:qx.core.Environment.select(k,{"mshtml":function(T){if(qx.core.Environment.get(f)>=9&&qx.core.Environment.get(A)>=9){qx.bom.Event.removeNativeListener(T,m,this._onInputWrapper);

if(T.type===h||T.type===g){qx.bom.Event.removeNativeListener(T,y,this._inputFixWrapper);
}}},"webkit":function(U){var V=U.tagName.toLowerCase();
if(parseFloat(qx.core.Environment.get(f))<532&&V==c){qx.bom.Event.removeNativeListener(U,a,this._onInputWrapper);
}qx.bom.Event.removeNativeListener(U,m,this._onInputWrapper);
},"opera":function(W){qx.bom.Event.removeNativeListener(W,y,this._onKeyUpWrapper);
qx.bom.Event.removeNativeListener(W,v,this._onKeyDownWrapper);
qx.bom.Event.removeNativeListener(W,w,this._onBlurWrapper);
qx.bom.Event.removeNativeListener(W,m,this._onInputWrapper);
},"default":function(X){qx.bom.Event.removeNativeListener(X,m,this._onInputWrapper);
}}),_onKeyPress:qx.core.Environment.select(k,{"mshtml|opera":function(e,Y){if(e.keyCode===13){if(Y.value!==this.__mK){this.__mK=Y.value;
qx.event.Registration.fireEvent(Y,j,qx.event.type.Data,[Y.value]);
}}},"default":null}),_inputFix:qx.core.Environment.select(k,{"mshtml":function(e,ba){if(e.keyCode===46||e.keyCode===8){if(ba.value!==this.__mL){this.__mL=ba.value;
qx.event.Registration.fireEvent(ba,m,qx.event.type.Data,[ba.value]);
}}},"default":null}),_onKeyDown:qx.core.Environment.select(k,{"opera":function(e){if(e.keyCode===13){this.__mS=true;
}},"default":null}),_onKeyUp:qx.core.Environment.select(k,{"opera":function(e){if(e.keyCode===13){this.__mS=false;
}},"default":null}),_onBlur:qx.core.Environment.select(k,{"opera":function(e){if(this.__mT&&qx.core.Environment.get(t)<10.6){window.clearTimeout(this.__mT);
}},"default":null}),_onInput:qx.event.GlobalError.observeMethod(function(e){var bc=qx.bom.Event.getTarget(e);
var bb=bc.tagName.toLowerCase();
if(!this.__mS||bb!==m){if((qx.core.Environment.get(k)==z)&&qx.core.Environment.get(t)<10.6){this.__mT=window.setTimeout(function(){qx.event.Registration.fireEvent(bc,m,qx.event.type.Data,[bc.value]);
},0);
}else{qx.event.Registration.fireEvent(bc,m,qx.event.type.Data,[bc.value]);
}}}),_onChangeValue:qx.event.GlobalError.observeMethod(function(e){var be=qx.bom.Event.getTarget(e);
var bd=be.value;

if(be.type===s){var bd=[];

for(var i=0,o=be.options,l=o.length;i<l;i++){if(o[i].selected){bd.push(o[i].value);
}}}qx.event.Registration.fireEvent(be,j,qx.event.type.Data,[bd]);
}),_onChangeChecked:qx.event.GlobalError.observeMethod(function(e){var bf=qx.bom.Event.getTarget(e);

if(bf.type===d){if(bf.checked){qx.event.Registration.fireEvent(bf,j,qx.event.type.Data,[bf.value]);
}}else{qx.event.Registration.fireEvent(bf,j,qx.event.type.Data,[bf.checked]);
}}),_onProperty:qx.core.Environment.select(k,{"mshtml":qx.event.GlobalError.observeMethod(function(e){var bg=qx.bom.Event.getTarget(e);
var bh=e.propertyName;

if(bh===r&&(bg.type===h||bg.type===g||bg.tagName.toLowerCase()===c)){if(!bg.$$inValueSet){qx.event.Registration.fireEvent(bg,m,qx.event.type.Data,[bg.value]);
}}else if(bh===n){if(bg.type===b){qx.event.Registration.fireEvent(bg,j,qx.event.type.Data,[bg.checked]);
}else if(bg.checked){qx.event.Registration.fireEvent(bg,j,qx.event.type.Data,[bg.value]);
}}}),"default":function(){}})},defer:function(bi){qx.event.Registration.addHandler(bi);
}});
})();
(function(){var v="",u="select",t="engine.name",s="soft",r="off",q="textarea",p="auto",o="wrap",n="text",m="mshtml",d="number",k="checkbox",g="select-one",c="input",b="option",f="value",e="radio",h="qx.bom.Input",a="nowrap",j="normal";
qx.Class.define(h,{statics:{__gV:{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(w,x,y){var x=x?qx.lang.Object.clone(x):{};
var z;

if(w===q||w===u){z=w;
}else{z=c;
x.type=w;
}return qx.bom.Element.create(z,x,y);
},setValue:function(A,B){var G=A.nodeName.toLowerCase();
var D=A.type;
var Array=qx.lang.Array;
var H=qx.lang.Type;

if(typeof B===d){B+=v;
}
if((D===k||D===e)){if(H.isArray(B)){A.checked=Array.contains(B,A.value);
}else{A.checked=A.value==B;
}}else if(G===u){var C=H.isArray(B);
var I=A.options;
var E,F;

for(var i=0,l=I.length;i<l;i++){E=I[i];
F=E.getAttribute(f);

if(F==null){F=E.text;
}E.selected=C?Array.contains(B,F):B==F;
}
if(C&&B.length==0){A.selectedIndex=-1;
}}else if((D===n||D===q)&&(qx.core.Environment.get(t)==m)){A.$$inValueSet=true;
A.value=B;
A.$$inValueSet=null;
}else{A.value=B;
}},getValue:function(J){var P=J.nodeName.toLowerCase();

if(P===b){return (J.attributes.value||{}).specified?J.value:J.text;
}
if(P===u){var K=J.selectedIndex;
if(K<0){return null;
}var Q=[];
var S=J.options;
var R=J.type==g;
var O=qx.bom.Input;
var N;
for(var i=R?K:0,M=R?K+1:S.length;i<M;i++){var L=S[i];

if(L.selected){N=O.getValue(L);
if(R){return N;
}Q.push(N);
}}return Q;
}else{return (J.value||v).replace(/\r/g,v);
}},setWrap:qx.core.Environment.select(t,{"mshtml":function(T,U){var W=U?s:r;
var V=U?p:v;
T.wrap=W;
T.style.overflowY=V;
},"gecko|webkit":function(X,Y){var bb=Y?s:r;
var ba=Y?v:p;
X.setAttribute(o,bb);
X.style.overflow=ba;
},"default":function(bc,bd){bc.style.whiteSpace=bd?j:a;
}})}});
})();
(function(){var f="mshtml",e="engine.name",d="qx.ui.form.TextField",c='px',b="textfield",a="engine.version";
qx.Class.define(d,{extend:qx.ui.form.AbstractField,properties:{appearance:{refine:true,init:b},allowGrowY:{refine:true,init:false},allowShrinkY:{refine:true,init:false}},members:{_renderContentElement:function(innerHeight,g){if((qx.core.Environment.get(e)==f)&&qx.core.Environment.get(a)<9){g.setStyles({"line-height":innerHeight+c});
}}}});
})();
(function(){var k="overflowY",j="engine.name",i="hidden",h="auto",g="textarea",f="width",d="webkit",c="Boolean",b="Integer",a="input",z="",y="appear",x="mshtml",w="px",v="_applyWrap",u="-1",t="_applyMinimalLineHeight",s="mousewheel",r="y",q="_applyAutoSize",o="tabIndex",p='name',m="qx.ui.form.TextArea",n='id',l="absolute";
qx.Class.define(m,{extend:qx.ui.form.AbstractField,construct:function(A){qx.ui.form.AbstractField.call(this,A);
this.initWrap();
this.addListener(s,this._onMousewheel,this);
},properties:{wrap:{check:c,init:true,apply:v},appearance:{refine:true,init:g},singleStep:{check:b,init:20},minimalLineHeight:{check:b,apply:t,init:4},autoSize:{check:c,apply:q,init:false}},members:{__mX:null,__mY:null,__na:null,setValue:function(B){B=qx.ui.form.AbstractField.prototype.setValue.call(this,B);
this.__nb();
return B;
},_onMousewheel:function(e){var C=this.getContentElement();
var scrollY=C.getScrollY();
C.scrollToY(scrollY+e.getWheelDelta(r)*this.getSingleStep());
var D=C.getScrollY();

if(D!=scrollY){e.stop();
}},__nb:function(){if(this.isAutoSize()){var G=this.__nc();

if(G){this.__na=this.__na||this._getAreaHeight();
var I=this._getScrolledAreaHeight();
if(this.getMaxHeight()){var E=this.getInsets();
var F=-E.top+this.getMaxHeight()-E.bottom;

if(I>F){this.getContentElement().setStyle(k,h);
}else{this.getContentElement().setStyle(k,i);
}}var H=Math.max(I,this.__na);
this._setAreaHeight(H);
}else{this.addListenerOnce(y,function(){if(qx.core.Environment.get(j)==d){var K=this.getContentElement();
var J=this.getValue();
K.setStyle(k,i,true);
this.setValue(z);
this.setValue(J);
}this.__nb();
},this);
}}},_getAreaHeight:function(){return this.getInnerSize().height;
},_setAreaHeight:function(L){if(this._getAreaHeight()!==L){this.__mY=L;
qx.ui.core.queue.Layout.add(this);
qx.ui.core.queue.Manager.flush();
this.__nf();
}},_getScrolledAreaHeight:function(){var N=this.__nc();
var M=N.getDomElement();

if(M){if(!M.parentNode){qx.html.Element.flush();
return this._getScrolledAreaHeight();
}if(qx.core.Environment.get(j)===d){N.setWrap(!this.getWrap(),true);
}N.setWrap(this.getWrap(),true);
if(qx.core.Environment.get(j)==d){M.style.overflow=i;
}if(qx.core.Environment.get(j)==x){M.style.overflow=z;
}N.setValue(this.getValue());
this.__ne(N);

if(qx.core.Environment.get(j)==x){if(!M.scrollTop){qx.html.Element.flush();
}return M.scrollTop+this._getTextSize().height;
}return M.scrollTop;
}},__nc:function(){this.__mX=this.__mX||this.__nd();
return this.__mX;
},__nd:function(){var R,P,O,Q;
R=this.getContentElement();
if(!R.getDomElement()){return;
}O=qx.bom.Collection.create(R.getDomElement()).clone()[0];
Q=new qx.html.Input(g);
Q.useElement(O);
P=Q;
P.setStyles({position:l,top:0,left:-9999,height:0,overflow:i},true);
P.removeAttribute(n);
P.removeAttribute(p);
P.setAttribute(o,u);
P.setValue(R.getValue());
P.insertBefore(R);
this.__ne(P);
return P;
},__ne:function(S){S=S.getDomElement();

if(S){S.scrollTop=10000;
}},_createInputElement:function(){return new qx.html.Input(g,{overflowX:h,overflowY:h});
},_applyWrap:function(T,U){this.getContentElement().setWrap(T);
this.__nb();
},_applyMinimalLineHeight:function(){qx.ui.core.queue.Layout.add(this);
},_applyAutoSize:function(V,W){if(V){this.__nb();
this.addListener(a,this.__nb,this);
this.addListenerOnce(y,function(){this.getContentElement().setStyle(k,i);
});
}else{this.removeListener(a,this.__nb);
this.getContentElement().setStyle(k,h);
}},_applyDimension:function(X){qx.ui.form.AbstractField.prototype._applyDimension.call(this);

if(X===this.getMaxHeight()){this.__nb();
}},__nf:function(){var content=this.getContentElement();
var ba=content.getDomElement();
var Y=content.getStyle(f);
content.setStyle(f,parseInt(Y,10)+1000+w,true);
if(ba){qx.bom.element.Dimension.getWidth(ba);
}content.setStyle(f,Y,true);
},__ng:function(){if(this.isAutoSize()&&this.getHeight()){this.warn("autoSize is ignored when the height property is set. "+"If you want to set an initial height, use the minHeight "+"property instead.");
}},_getContentHint:function(){var bb=qx.ui.form.AbstractField.prototype._getContentHint.call(this);
bb.height=bb.height*this.getMinimalLineHeight();
bb.width=this._getTextSize().width*20;

if(this.isAutoSize()){bb.height=this.__mY||bb.height;
}return bb;
}}});
})();
(function(){var f="mshtml",e="engine.name",d="pop.push.reverse.shift.sort.splice.unshift.join.slice",c="number",b="qx.type.BaseArray",a=".";
qx.Class.define(b,{extend:Array,construct:function(g){},members:{toArray:null,valueOf:null,pop:null,push:null,reverse:null,shift:null,sort:null,splice:null,unshift:null,concat:null,join:null,slice:null,toString:null,indexOf:null,lastIndexOf:null,forEach:null,filter:null,map:null,some:null,every:null}});
(function(){function k(l){if((qx.core.Environment.get(e)==f)){j.prototype={length:0,$$isArray:true};
var o=d.split(a);

for(var length=o.length;length;){j.prototype[o[--length]]=Array.prototype[o[length]];
}}var p=Array.prototype.slice;
j.prototype.concat=function(){var r=this.slice(0);

for(var i=0,length=arguments.length;i<length;i++){var q;

if(arguments[i] instanceof j){q=p.call(arguments[i],0);
}else if(arguments[i] instanceof Array){q=arguments[i];
}else{q=[arguments[i]];
}r.push.apply(r,q);
}return r;
};
j.prototype.toString=function(){return p.call(this,0).toString();
};
j.prototype.toLocaleString=function(){return p.call(this,0).toLocaleString();
};
j.prototype.constructor=j;
j.prototype.indexOf=qx.lang.Core.arrayIndexOf;
j.prototype.lastIndexOf=qx.lang.Core.arrayLastIndexOf;
j.prototype.forEach=qx.lang.Core.arrayForEach;
j.prototype.some=qx.lang.Core.arraySome;
j.prototype.every=qx.lang.Core.arrayEvery;
var m=qx.lang.Core.arrayFilter;
var n=qx.lang.Core.arrayMap;
j.prototype.filter=function(){var s=new this.constructor;
s.push.apply(s,m.apply(this,arguments));
return s;
};
j.prototype.map=function(){var t=new this.constructor;
t.push.apply(t,n.apply(this,arguments));
return t;
};
j.prototype.slice=function(){var u=new this.constructor;
u.push.apply(u,Array.prototype.slice.apply(this,arguments));
return u;
};
j.prototype.splice=function(){var v=new this.constructor;
v.push.apply(v,Array.prototype.splice.apply(this,arguments));
return v;
};
j.prototype.toArray=function(){return Array.prototype.slice.call(this,0);
};
j.prototype.valueOf=function(){return this.length;
};
return j;
}function j(length){if(arguments.length===1&&typeof length===c){this.length=-1<length&&length===length>>.5?length:this.push(length);
}else if(arguments.length){this.push.apply(this,arguments);
}}function h(){}h.prototype=[];
j.prototype=new h;
j.prototype.length=0;
qx.type.BaseArray=k(j);
})();
})();
(function(){var s="html.classlist",r="default",q="native",p="",o=" ",n='',m="(^|\\s)",k="(\\s|$)",j="\\b",h="g",c='function',g="\\b|\\b",f="qx.bom.element.Class",b='SVGAnimatedString',a='object',e="$2",d='undefined';
qx.Class.define(f,{statics:{__nh:/\s+/g,__ni:/^\s+|\s+$/g,add:qx.lang.Object.select(qx.core.Environment.get(s)?q:r,{"native":function(t,name){t.classList.add(name);
return name;
},"default":function(u,name){if(!this.has(u,name)){u.className+=(u.className?o:p)+name;
}return name;
}}),addClasses:qx.lang.Object.select(qx.core.Environment.get(s)?q:r,{"native":function(v,w){for(var i=0;i<w.length;i++){v.classList.add(w[i]);
}return v.className;
},"default":function(x,y){var z={};
var B;
var A=x.className;

if(A){B=A.split(this.__nh);

for(var i=0,l=B.length;i<l;i++){z[B[i]]=true;
}
for(var i=0,l=y.length;i<l;i++){if(!z[y[i]]){B.push(y[i]);
}}}else{B=y;
}return x.className=B.join(o);
}}),get:function(C){var D=C.className;

if(typeof D.split!==c){if(typeof D===a){if(qx.Bootstrap.getClass(D)==b){D=D.baseVal;
}else{D=n;
}}
if(typeof D===d){D=n;
}}return D;
},has:qx.lang.Object.select(qx.core.Environment.get(s)?q:r,{"native":function(E,name){return E.classList.contains(name);
},"default":function(F,name){var G=new RegExp(m+name+k);
return G.test(F.className);
}}),remove:qx.lang.Object.select(qx.core.Environment.get(s)?q:r,{"native":function(H,name){H.classList.remove(name);
return name;
},"default":function(I,name){var J=new RegExp(m+name+k);
I.className=I.className.replace(J,e);
return name;
}}),removeClasses:qx.lang.Object.select(qx.core.Environment.get(s)?q:r,{"native":function(K,L){for(var i=0;i<L.length;i++){K.classList.remove(L[i]);
}return K.className;
},"default":function(M,N){var O=new RegExp(j+N.join(g)+j,h);
return M.className=M.className.replace(O,p).replace(this.__ni,p).replace(this.__nh,o);
}}),replace:function(P,Q,R){this.remove(P,Q);
return this.add(P,R);
},toggle:qx.lang.Object.select(qx.core.Environment.get(s)?q:r,{"native":function(S,name,T){if(T===undefined){S.classList.toggle(name);
}else{T?this.add(S,name):this.remove(S,name);
}return name;
},"default":function(U,name,V){if(V==null){V=!this.has(U,name);
}V?this.add(U,name):this.remove(U,name);
return name;
}})}});
})();
(function(){var m="get",k="set",h="reset",g=":not(",f="getValue",e="append",d=")",c="getPreviousSiblings",b="getOffsetParent",a="qx.bom.Collection",K="setValue",J="prepend",I="string",H="getAncestors",G="#",F="remove",E=">*",D="add",C="*",B="",t="addListener",u="has",r="toggle",s="getSiblings",p="replace",q="after",n="replaceWith",o="setCss",v="setStyles",w="before",y="getNextSiblings",x="getPosition",A="getCss",z="removeListener";
(function(){var M=function(N,O){return function(P,Q,R,S,T,U){var length=this.length;

if(length>0){var V=N[O];

for(var i=0;i<length;i++){if(this[i].nodeType===1){V.call(N,this[i],P,Q,R,S,T,U);
}}}return this;
};
};
var L=function(W,X){return function(Y,ba,bb,bc,bd,be){if(this.length>0){var bf=this[0].nodeType===1?W[X](this[0],Y,ba,bb,bc,bd,be):null;

if(bf&&bf.nodeType){return this.__nn([bf]);
}else{return bf;
}}return null;
};
};
qx.Class.define(a,{extend:qx.type.BaseArray,construct:function(bg){qx.type.BaseArray.apply(this,arguments);
},statics:{query:function(bh,bi){var bj=qx.bom.Selector.query(bh,bi);
return qx.lang.Array.cast(bj,qx.bom.Collection);
},id:function(bk){var bl=document.getElementById(bk);
if(bl&&bl.id!=bk){return qx.bom.Collection.query(G+bk);
}if(bl){return new qx.bom.Collection(bl);
}else{return new qx.bom.Collection();
}},html:function(bm,bn){var bo=qx.bom.Html.clean([bm],bn);
return qx.lang.Array.cast(bo,qx.bom.Collection);
},__nj:/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,create:function(bp,bq){var bs=qx.bom.Collection;
if(bp.nodeType){return new bs(bp);
}else if(typeof bp===I){var br=bs.__nj.exec(bp);

if(br){return br[1]?bs.html(br[1],bq):bs.id(br[3].substring(1));
}else{return bs.query(bp,bq);
}}else{return qx.lang.Array.cast(bp,qx.bom.Collection);
}}},members:{__nk:null,setAttribute:M(qx.bom.element.Attribute,k),resetAttribute:M(qx.bom.element.Attribute,h),getAttribute:L(qx.bom.element.Attribute,m),addClass:M(qx.bom.element.Class,D),getClass:L(qx.bom.element.Class,m),hasClass:L(qx.bom.element.Class,u),removeClass:M(qx.bom.element.Class,F),replaceClass:M(qx.bom.element.Class,p),toggleClass:M(qx.bom.element.Class,r),setValue:M(qx.bom.Input,K),getValue:L(qx.bom.Input,f),setStyle:M(qx.bom.element.Style,k),setStyles:M(qx.bom.element.Style,v),resetStyle:M(qx.bom.element.Style,h),getStyle:L(qx.bom.element.Style,m),setCss:M(qx.bom.element.Style,o),getCss:M(qx.bom.element.Style,A),getOffset:L(qx.bom.element.Location,m),getPosition:L(qx.bom.element.Location,x),getOffsetParent:L(qx.bom.element.Location,b),setScrollLeft:function(bt){var Node=qx.dom.Node;

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

if(Node.isElement(bu)){bu.scrollLeft=bt;
}else if(Node.isWindow(bu)){bu.scrollTo(bt,this.getScrollTop(bu));
}else if(Node.isDocument(bu)){Node.getWindow(bu).scrollTo(bt,this.getScrollTop(bu));
}}return this;
},setScrollTop:function(bv){var Node=qx.dom.Node;

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

if(Node.isElement(bw)){bw.scrollTop=bv;
}else if(Node.isWindow(bw)){bw.scrollTo(this.getScrollLeft(bw),bv);
}else if(Node.isDocument(bw)){Node.getWindow(bw).scrollTo(this.getScrollLeft(bw),bv);
}}return this;
},getScrollLeft:function(){var bx=this[0];

if(!bx){return null;
}var Node=qx.dom.Node;

if(Node.isWindow(bx)||Node.isDocument(bx)){return qx.bom.Viewport.getScrollLeft();
}return bx.scrollLeft;
},getScrollTop:function(){var by=this[0];

if(!by){return null;
}var Node=qx.dom.Node;

if(Node.isWindow(by)||Node.isDocument(by)){return qx.bom.Viewport.getScrollTop();
}return by.scrollTop;
},getWidth:function(){var bz=this[0];
var Node=qx.dom.Node;

if(bz){if(Node.isElement(bz)){return qx.bom.element.Dimension.getWidth(bz);
}else if(Node.isDocument(bz)){return qx.bom.Document.getWidth(Node.getWindow(bz));
}else if(Node.isWindow(bz)){return qx.bom.Viewport.getWidth(bz);
}}return null;
},getContentWidth:function(){var bA=this[0];

if(qx.dom.Node.isElement(bA)){return qx.bom.element.Dimension.getContentWidth(bA);
}return null;
},getHeight:function(){var bB=this[0];
var Node=qx.dom.Node;

if(bB){if(Node.isElement(bB)){return qx.bom.element.Dimension.getHeight(bB);
}else if(Node.isDocument(bB)){return qx.bom.Document.getHeight(Node.getWindow(bB));
}else if(Node.isWindow(bB)){return qx.bom.Viewport.getHeight(bB);
}}return null;
},getContentHeight:function(){var bC=this[0];

if(qx.dom.Node.isElement(bC)){return qx.bom.element.Dimension.getContentHeight(bC);
}return null;
},addListener:M(qx.bom.Element,t),removeListener:M(qx.bom.Element,z),eq:function(bD){return this.slice(bD,+bD+1);
},filter:function(bE,bF){var bG;

if(qx.lang.Type.isFunction(bE)){bG=qx.type.BaseArray.prototype.filter.call(this,bE,bF);
}else{bG=qx.bom.Selector.matches(bE,this);
}return this.__nn(bG);
},is:function(bH){return !!bH&&qx.bom.Selector.matches(bH,this).length>0;
},__nl:/^.[^:#\[\.,]*$/,not:function(bI){if(this.__nl.test(bI)){var bJ=qx.bom.Selector.matches(g+bI+d,this);
return this.__nn(bJ);
}var bJ=qx.bom.Selector.matches(bI,this);
return this.filter(function(bK){return bJ.indexOf(bK)===-1;
});
},add:function(bL,bM){var bN=qx.bom.Selector.query(bL,bM);
var bO=qx.lang.Array.unique(this.concat(bN));
return this.__nn(bO);
},children:function(bP){var bQ=[];

for(var i=0,l=this.length;i<l;i++){bQ.push.apply(bQ,qx.dom.Hierarchy.getChildElements(this[i]));
}
if(bP){bQ=qx.bom.Selector.matches(bP,bQ);
}return this.__nn(bQ);
},closest:function(bR){var bS=new qx.bom.Collection(1);
var bU=qx.bom.Selector;
var bT=this.map(function(bV){while(bV&&bV.ownerDocument){bS[0]=bV;

if(bU.matches(bR,bS).length>0){return bV;
}bV=bV.parentNode;
}});
return this.__nn(qx.lang.Array.unique(bT));
},contents:function(){var bX=[];
var bW=qx.lang.Array;

for(var i=0,l=this.length;i<l;i++){bX.push.apply(bX,bW.fromCollection(this[i].childNodes));
}return this.__nn(bX);
},find:function(bY){var cb=qx.bom.Selector;
if(this.length===1){return this.__nn(cb.query(bY,this[0]));
}else{var ca=[];

for(var i=0,l=this.length;i<l;i++){ca.push.apply(ca,cb.query(bY,this[i]));
}return this.__nn(qx.lang.Array.unique(ca));
}},next:function(cc){var cd=qx.dom.Hierarchy;
var ce=this.map(cd.getNextElementSibling,cd);
if(cc){ce=qx.bom.Selector.matches(cc,ce);
}return this.__nn(ce);
},nextAll:function(cf){return this.__nm(y,cf);
},prev:function(cg){var ch=qx.dom.Hierarchy;
var ci=this.map(ch.getPreviousElementSibling,ch);
if(cg){ci=qx.bom.Selector.matches(cg,ci);
}return this.__nn(ci);
},prevAll:function(cj){return this.__nm(c,cj);
},parent:function(ck){var Element=qx.dom.Element;
var cl=qx.lang.Array.unique(this.map(Element.getParentElement,Element));
if(ck){cl=qx.bom.Selector.matches(ck,cl);
}return this.__nn(cl);
},parents:function(cm){return this.__nm(H,cm);
},siblings:function(cn){return this.__nm(s,cn);
},__nm:function(co,cp){var cr=[];
var cq=qx.dom.Hierarchy;

for(var i=0,l=this.length;i<l;i++){cr.push.apply(cr,cq[co](this[i]));
}var cs=qx.lang.Array.unique(cr);
if(cp){cs=qx.bom.Selector.matches(cp,cs);
}return this.__nn(cs);
},__nn:function(ct){var cu=new qx.bom.Collection;
cu.__nk=this;
ct=Array.prototype.slice.call(ct,0);
cu.push.apply(cu,ct);
return cu;
},andSelf:function(){return this.add(this.__nk);
},end:function(){return this.__nk||new qx.bom.Collection();
},__no:function(cv,cw){var cB=this[0];
var cA=cB.ownerDocument||cB;
var cz=cA.createDocumentFragment();
var cD=qx.bom.Html.clean(cv,cA,cz);
var cF=cz.firstChild;
if(cF){var cx=this.length-1;

for(var i=0,l=cx;i<l;i++){cw.call(this,this[i],cz.cloneNode(true));
}cw.call(this,this[cx],cz);
}if(cD){var cy;
var cE=qx.io.ScriptLoader;
var cC=qx.lang.Function;

for(var i=0,l=cD.length;i<l;i++){cy=cD[i];
if(cy.src){cE.get().load(cy.src);
}else{cC.globalEval(cy.text||cy.textContent||cy.innerHTML||B);
}if(cy.parentNode){cy.parentNode.removeChild(cy);
}}}return this;
},__np:function(cG,cH){var cJ=qx.bom.Selector;
var cI=qx.lang.Array;
var cL=[];

for(var i=0,l=cG.length;i<l;i++){cL.push.apply(cL,cJ.query(cG[i]));
}cL=cI.cast(cI.unique(cL),qx.bom.Collection);
for(var i=0,cK=this.length;i<cK;i++){cL[cH](this[i]);
}return this;
},append:function(cM){return this.__no(arguments,this.__nq);
},prepend:function(cN){return this.__no(arguments,this.__nr);
},__nq:function(cO,cP){cO.appendChild(cP);
},__nr:function(cQ,cR){cQ.insertBefore(cR,cQ.firstChild);
},appendTo:function(cS){return this.__np(arguments,e);
},prependTo:function(cT){return this.__np(arguments,J);
},before:function(cU){return this.__no(arguments,this.__ns);
},after:function(cV){return this.__no(arguments,this.__nt);
},__ns:function(cW,cX){cW.parentNode.insertBefore(cX,cW);
},__nt:function(cY,da){cY.parentNode.insertBefore(da,cY.nextSibling);
},insertBefore:function(db){return this.__np(arguments,w);
},insertAfter:function(dc){return this.__np(arguments,q);
},wrapAll:function(content){var de=this[0];

if(de){var dd=qx.bom.Collection.create(content,de.ownerDocument).clone();
if(de.parentNode){de.parentNode.insertBefore(dd[0],de);
}dd.map(this.__nu).append(this);
}return this;
},__nu:function(df){while(df.firstChild){df=df.firstChild;
}return df;
},wrapInner:function(content){var dg=new qx.bom.Collection(1);

for(var i=0,l=this.length;i<l;i++){dg[0]=this[i];
dg.contents().wrapAll(content);
}return this;
},wrap:function(content){var dh=new qx.bom.Collection(1);
for(var i=0,l=this.length;i<l;i++){dh[0]=this[i];
dh.wrapAll(content);
}return this;
},replaceWith:function(content){return this.after(content).remove();
},replaceAll:function(di){return this.__np(arguments,n);
},remove:function(dj){var dl=this;

if(dj){dl=this.filter(dj);

if(dl.length==0){return this;
}}for(var i=0,dm=dl.length,dk;i<dm;i++){dk=dl[i];

if(dk.parentNode){dk.parentNode.removeChild(dk);
}}return dl;
},destroy:function(dn){if(this.length==0){return this;
}var dq=qx.bom.Selector;
var dt=this;

if(dn){dt=this.filter(dn);

if(dt.length==0){return this;
}}var ds=qx.event.Registration.getManager(this[0]);

for(var i=0,l=dt.length,dr,du;i<l;i++){dr=dt[i];
ds.removeAllListeners(dr);
du=dq.query(C,dr);

for(var j=0,dp=du.length;j<dp;j++){ds.removeAllListeners(du[j]);
}if(dr.parentNode){dr.parentNode.removeChild(dr);
}}if(dn){dt.end();
qx.lang.Array.exclude(this,dt);
}else{this.length=0;
}return this;
},empty:function(){var dv=qx.bom.Collection;

for(var i=0,l=this.length;i<l;i++){dv.query(E,this[i]).destroy();
while(this.firstChild){this.removeChild(this.firstChild);
}}return this;
},clone:function(dw){var Element=qx.bom.Element;
return dw?this.map(function(dx){return Element.clone(dx,true);
}):this.map(Element.clone,Element);
}},defer:function(dy){if(window.$==null){window.$=dy.create;
}}});
})();
})();
(function(){var m="string",k="script",h="<table>",g="engine.name",f="<fieldset>",e="<select multiple='multiple'>",d="</div>",c="</select>",b="</tr></tbody></table>",a="<col",J="div",I="<table><tbody><tr>",H=">",G="<table><tbody></tbody><colgroup>",F="<th",E="</tbody></table>",D="<td",C="</colgroup></table>",B="<opt",A="text/javascript",t="",u="</fieldset>",r="<table><tbody>",s="div<div>",p="<table",q="mshtml",n="qx.bom.Html",o="<leg",v="tbody",w="<tr",y="</table>",x="undefined",z="></";
qx.Class.define(n,{statics:{__nv:function(K,L,M){return M.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?K:L+z+M+H;
},__le:{opt:[1,e,c],leg:[1,f,u],table:[1,h,y],tr:[2,r,E],td:[3,I,b],col:[2,G,C],def:qx.core.Environment.select(g,{"mshtml":[1,s,d],"default":null})},__nw:function(N,O){var U=O.createElement(J);
N=N.replace(/(<(\w+)[^>]*?)\/>/g,this.__nv);
var Q=N.replace(/^\s+/,t).substring(0,5).toLowerCase();
var T,P=this.__le;

if(!Q.indexOf(B)){T=P.opt;
}else if(!Q.indexOf(o)){T=P.leg;
}else if(Q.match(/^<(thead|tbody|tfoot|colg|cap)/)){T=P.table;
}else if(!Q.indexOf(w)){T=P.tr;
}else if(!Q.indexOf(D)||!Q.indexOf(F)){T=P.td;
}else if(!Q.indexOf(a)){T=P.col;
}else{T=P.def;
}if(T){U.innerHTML=T[1]+N+T[2];
var S=T[0];

while(S--){U=U.lastChild;
}}else{U.innerHTML=N;
}if((qx.core.Environment.get(g)==q)){var V=/<tbody/i.test(N);
var R=!Q.indexOf(p)&&!V?U.firstChild&&U.firstChild.childNodes:T[1]==h&&!V?U.childNodes:[];

for(var j=R.length-1;j>=0;--j){if(R[j].tagName.toLowerCase()===v&&!R[j].childNodes.length){R[j].parentNode.removeChild(R[j]);
}}if(/^\s/.test(N)){U.insertBefore(O.createTextNode(N.match(/^\s*/)[0]),U.firstChild);
}}return qx.lang.Array.fromCollection(U.childNodes);
},clean:function(W,X,Y){X=X||document;
if(typeof X.createElement===x){X=X.ownerDocument||X[0]&&X[0].ownerDocument||document;
}if(!Y&&W.length===1&&typeof W[0]===m){var bg=/^<(\w+)\s*\/?>$/.exec(W[0]);

if(bg){return [X.createElement(bg[1])];
}}var ba,bc=[];

for(var i=0,l=W.length;i<l;i++){ba=W[i];
if(typeof ba===m){ba=this.__nw(ba,X);
}if(ba.nodeType){bc.push(ba);
}else if(ba instanceof qx.type.BaseArray){bc.push.apply(bc,Array.prototype.slice.call(ba,0));
}else if(ba.toElement){bc.push(ba.toElement());
}else{bc.push.apply(bc,ba);
}}if(Y){var bf=[],be=qx.lang.Array,bd,bb;

for(var i=0;bc[i];i++){bd=bc[i];

if(bd.nodeType==1&&bd.tagName.toLowerCase()===k&&(!bd.type||bd.type.toLowerCase()===A)){if(bd.parentNode){bd.parentNode.removeChild(bc[i]);
}bf.push(bd);
}else{if(bd.nodeType===1){bb=be.fromCollection(bd.getElementsByTagName(k));
bc.splice.apply(bc,[i+1,0].concat(bb));
}Y.appendChild(bd);
}}return bf;
}return bc;
}}});
})();
(function(){var p="success",o="fail",n="mshtml",m="complete",l="error",k="load",j="opera",i="loaded",h="readystatechange",g="head",c="webkit",f="script",d="qx.io.ScriptLoader",b="text/javascript",a="abort";
qx.Bootstrap.define(d,{construct:function(){this.__nx=qx.Bootstrap.bind(this.__nA,this);
this.__ny=document.createElement(f);
},statics:{TIMEOUT:15},members:{__nz:null,__lC:null,__bE:null,__bF:null,__nx:null,__ny:null,load:function(q,r,s){if(this.__nz){throw new Error("Another request is still running!");
}this.__nz=true;
this.__lC=false;
var t=document.getElementsByTagName(g)[0];
var u=this.__ny;
this.__bE=r||null;
this.__bF=s||window;
u.type=b;
u.onerror=u.onload=u.onreadystatechange=this.__nx;
var self=this;
if(qx.bom.client.Engine.getName()===j&&this._getTimeout()>0){setTimeout(function(){self.dispose(o);
},this._getTimeout()*1000);
}u.src=q;
setTimeout(function(){t.appendChild(u);
},0);
},abort:function(){if(this.__nz){this.dispose(a);
}},dispose:function(status){if(this.__lC){return;
}this.__lC=true;
var x=this.__ny;
x.onerror=x.onload=x.onreadystatechange=null;
var w=x.parentNode;

if(w){w.removeChild(x);
}delete this.__nz;
if(this.__bE){var v=qx.bom.client.Engine.getName();

if(v==n||v==c){var self=this;
setTimeout(qx.event.GlobalError.observeMethod(function(){self.__bE.call(self.__bF,status);
delete self.__bE;
}),0);
}else{this.__bE.call(this.__bF,status);
delete this.__bE;
}}},_getTimeout:function(){return qx.io.ScriptLoader.TIMEOUT;
},__nA:qx.event.GlobalError.observeMethod(function(e){var y=qx.bom.client.Engine.getName();
if(y==n){var z=this.__ny.readyState;

if(z==i){this.dispose(p);
}else if(z==m){this.dispose(p);
}else{return;
}}else if(y==j){if(qx.Bootstrap.isString(e)||e.type===l){return this.dispose(o);
}else if(e.type===k){return this.dispose(p);
}else{return;
}}else{if(qx.Bootstrap.isString(e)||e.type===l){this.dispose(o);
}else if(e.type===k){this.dispose(p);
}else if(e.type===h&&(e.target.readyState===m||e.target.readyState===i)){this.dispose(p);
}else{return;
}}})}});
})();
(function(){var cm="white",cl="raw-edit",ck='name',cj="click",ci="Keep Open",ch="input",cg="visible",cf="",ce="textbackgroundcolor",cd="align-justify",bu="align-left",bt="redo",bs="outdent",br="bold",bq="insert-ol",bp="textcolor",bo="italic",bn="undo",bm="remove-format",bl="font-family",ct="align-center",cu="font-size",cr="indent",cs="insert-ul",cp="insert-table",cq="#333",cn="black",co="aqua",cv="4%",cw="align-right",bS="orange",bR="maroon",bU="8%",bT="<tr>",bW="middle",bV="ready",bY="#999",bX="purple",bQ="red",bP="strikethrough",a="underline",b="navy",c="6%",d="Enter Color",f="blue",g="#666",h="lime",i="#EEE",j="main",k="olive",cA="#BBB",cz="2%",cy="Edit Raw Html",cx="teal",cE="green",cD="yellow",cC="fuchsia",cB="</tr>",cG="20%",cF="<td>First Row, Second cell</td>",K="12",L="resource/images/htmlarea/insert_table.gif",I="resource/images/htmlarea/fontfamily.png",J="resource/images/htmlarea/align_center.gif",O="Select Font Family",P="Select Text Background Color",M="Georgia",N="Undo",G="Select Font Size",H="online",s="resource/images/htmlarea/fontsize.gif",r="resource/images/htmlarea/text_bold.gif",u="Align Right",t="Enter Font Name or choose from list below",o="Redo",n="resource/images/htmlarea/redo.gif",q="Justify",p="Ordered List",m="Comic Sans MS",l="resource/images/htmlarea/remove_format.gif",U="Indent",V="Tahoma",W="resource/images/htmlarea/align_justify.gif",X="<td>First Row, First cell</td>",Q="Align Left",R="Keep this window open after font selection",S="Font Family",T="Unordered List",Y="icon",ba="resource/images/htmlarea/list_unordered.gif",D="Fontsize",C="</tbody>",B="Italic",A='height',z="Insert Table",y="Bold",w="Arial Black",v="Impact",F="<td>Second Row, First cell</td>",E="_applyAllowUpload",bb="Text Color",bc="resource/images/htmlarea/color_bg.gif",bd="resource/images/htmlarea/list_ordered.gif",be="edit-text",bf="Text Background Color",bg="Remove Format",bh="resource/images/htmlarea/align_right.gif",bi="Select Text Color",bj="</table>",bk="atom",by="resource/images/htmlarea/undo.gif",bx="resource/images/htmlarea/text-plain.png",bw="resource/images/htmlarea/align_left.gif",bv="Courier",bC="Courier New",bB="<td>Second Row, Second cell</td>",bA="resource/images/htmlarea/indent.gif",bz="resource/images/htmlarea/color_text.gif",bE='width',bD="Edit Html as Text",bL="<tbody>",bM="Times New Roman",bJ="Edit the raw html in a separate textarea. This gives you direct access to the html code.",bK="Align Center",bH="Lucida Console",bI="grfind.HtmlEditor",bF="Arial",bG="small",bN="Verdana",bO="resource/images/htmlarea/text_italic.gif",cb="Outdent",ca="<table border='1'>",cc="resource/images/htmlarea/outdent.gif";
qx.Class.define(bI,{extend:qx.ui.container.Composite,construct:function(cH){qx.ui.container.Composite.call(this);
this.setApp(qx.core.Init.getApplication());
cH?this.setDesktop(cH):null;
this.setLayout(new qx.ui.layout.Canvas());
var cI=new qx.ui.container.Composite(new qx.ui.layout.VBox());
cI.add(this._createHtmlCanvas(),{flex:1});
this.add(cI,{edge:0});
},properties:{app:{init:null},desktop:{init:null},allowUpload:{init:null,apply:E}},members:{_applyAllowUpload:function(cJ){if(cJ){this.toolbar.show();
}else{this.toolbar.exclude();
}},_reload:function(cK){try{this.rawHtmlTextArea.setValue(cK);
}catch(cL){}},_doActive:function(cM){cM?this._showWindows():null;
},setValue:function(cN){cN||cN==cf?this.htmlArea.setValue(cN):null;
},getValue:function(){return this.htmlArea.getComputedValue(true);
},forceEditable:function(){this.htmlArea.forceEditable();
},_hideWindows:function(){this.fontSizeWindow?this.fontSizeWindow.close():null;
this.fontFamilyWindow?this.fontFamilyWindow.close():null;
this.textBackgroundColorWindow?this.textBackgroundColorWindow.close():null;
this.textColorWindow?this.textColorWindow.close():null;
},_showWindows:function(){this.fontSizeWindow&&this.fontSizeKeepOpenCheckBox.getValue()?this.fontSizeWindow.open():null;
this.fontSizeWindow&&this.fontSizeWindow.getVisibility()==cg?this.fontSizeWindow.set({active:true}):null;
this.fontFamilyWindow&&this.keepOpenCheckBox.getValue()?this.fontFamilyWindow.open():null;
this.fontFamilyWindow&&this.fontFamilyWindow.getVisibility()==cg?this.fontFamilyWindow.set({active:true}):null;
this.textBackgroundColorWindow&&this.textBackgroundColorKeepOpenCheckBox.getValue()?this.textBackgroundColorWindow.open():null;
this.textBackgroundColorWindow&&this.textBackgroundColorWindow.getVisibility()==cg?this.textBackgroundColorWindow.set({active:true}):null;
this.textColorWindow&&this.textColorKeepOpenCheckBox.getValue()?this.textColorWindow.open():null;
this.textColorWindow&&this.textColorWindow.getVisibility()==cg?this.textColorWindow.set({active:true}):null;
},_createHtmlCanvas:function(){var cQ=new qx.ui.container.Composite(new qx.ui.layout.VBox());
cQ.set({padding:2,decorator:null});
var cR=[[br,r,y],[bo,bO,B],[bu,bw,Q],[ct,J,bK],[cw,bh,u],[cd,W,q],[cr,bA,U],[bs,cc,cb],[bn,by,N],[bt,n,o],[bp,bz,bb],[ce,bc,bf],[bl,I,S],[cu,s,D],[bq,bd,p],[cs,ba,T],[cp,L,z],[bm,l,bg],[cl,bx,cy]];
var toolbar=new qx.ui.container.Composite(new qx.ui.layout.Flow(2));

for(var x=0;x<cR.length;x++){switch(cR[x][0]){case br:case bo:case a:case bP:case bu:case ct:case cd:case cr:case bs:case bp:case ce:case bl:case cu:case bq:case cs:case cp:case bn:case bt:case bm:case cl:{var cO=new grfind.Button(this,bk,cR[x][0],null,cR[x][1]).set({font:bG,padding:2});
var cP=cO.getChildControl(Y);
cP?cP.set({width:16,height:16,scale:true}):null;
cO.set({focusable:false,keepFocus:true});
cO.setToolTip(new qx.ui.tooltip.ToolTip(cR[x][2]));
toolbar.add(cO);
cR[x][0]==cl?cO.set({label:cy,icon:null}):null;
cR[x][0]==cl?this.getApp().createTooltip(cO,null,bJ,200):null;
};
break;
default:{};
}}this.htmlArea=new qx.ui.embed.HtmlArea(cf).set({decorator:H,insertParagraphOnLinebreak:false,defaultFontSize:3});
this.htmlArea.addListener(bV,function(e){this.fireEvent(bV);
},this);
cQ.add(toolbar);
cQ.add(this.htmlArea,{flex:1});
return cQ;
},_createTextColorWindow:function(){this.textColorWindow=new qx.ui.window.Window();
this.textColorWindow.set({useMoveFrame:true,caption:bi,resizable:false,showMinimize:false,showMaximize:false});
this.getDesktop().add(this.textColorWindow,{top:cz,left:cz});
this.textColorWindow.setLayout(new qx.ui.layout.Canvas());
var cW=new qx.ui.container.Composite(new qx.ui.layout.HBox(10).set({alignY:bW}));
var cT=new qx.ui.container.Composite(new qx.ui.layout.VBox(2));
cT.set({padding:[5,5,8,5],backgroundColor:cm});
var cS=new qx.ui.container.Composite(new qx.ui.layout.Flow(2,2));
this.textColorKeepOpenCheckBox=new qx.ui.form.CheckBox(ci);
this.textColorTextField=new qx.ui.form.TextField(cf);
this.textColorTextField.set({width:75});
var cV=[bR,bQ,bS,cD,k,bX,cC,h,cE,b,f,co,cx,cn,cq,g,bY,cA,i,cm];

for(var x=0;x<cV.length;x++){var cU=new qx.ui.basic.Atom();
cU.set({decorator:j,height:12,width:12,backgroundColor:cV[x],padding:[2,2,2,2],focusable:false,keepFocus:true});
cU.setUserData(ck,cV[x]);
cU.addListener(cj,function(e){this.htmlArea.setTextColor(e.getCurrentTarget().getBackgroundColor());
!this.textColorKeepOpenCheckBox.getValue()?this.textColorWindow.close():null;
},this);
cS.add(cU);
}this.textColorTextField.addListener(ch,function(e){this.htmlArea.setTextColor(e.getCurrentTarget().getValue());
},this);
cW.add(this.textColorKeepOpenCheckBox);
cW.add(new qx.ui.basic.Label(d));
cW.add(this.textColorTextField);
cT.add(cW);
cT.add(cS,{flex:1});
this.textColorWindow.add(cT,{edge:0});
},_createTextBackgroundColorWindow:function(){this.textBackgroundColorWindow=new qx.ui.window.Window();
this.textBackgroundColorWindow.set({useMoveFrame:true,caption:P,resizable:false,showMinimize:false,showMaximize:false});
this.getDesktop().add(this.textBackgroundColorWindow,{top:cv,left:cv});
this.textBackgroundColorWindow.setLayout(new qx.ui.layout.Canvas());
var dc=new qx.ui.container.Composite(new qx.ui.layout.HBox(10).set({alignY:bW}));
var cY=new qx.ui.container.Composite(new qx.ui.layout.VBox(2));
cY.set({padding:[5,5,8,5],backgroundColor:cm});
var cX=new qx.ui.container.Composite(new qx.ui.layout.Flow(2,2));
this.textBackgroundColorKeepOpenCheckBox=new qx.ui.form.CheckBox(ci);
this.textBackgroundColorTextField=new qx.ui.form.TextField(cf);
this.textBackgroundColorTextField.set({width:75});
var db=[bR,bQ,bS,cD,k,bX,cC,h,cE,b,f,co,cx,cn,cq,g,bY,cA,i,cm];

for(var x=0;x<db.length;x++){var da=new qx.ui.basic.Atom(db[x]);
var da=new qx.ui.basic.Atom();
da.set({decorator:j,height:12,width:12,backgroundColor:db[x],padding:[2,2,2,2],focusable:false,keepFocus:true});
da.addListener(cj,function(e){this.htmlArea.setTextBackgroundColor(e.getCurrentTarget().getBackgroundColor());
!this.textBackgroundColorKeepOpenCheckBox.getValue()?this.textBackgroundColorWindow.close():null;
},this);
cX.add(da);
}this.textBackgroundColorTextField.addListener(ch,function(e){this.htmlArea.setTextBackgroundColor(e.getCurrentTarget().getValue());
},this);
dc.add(this.textBackgroundColorKeepOpenCheckBox);
dc.add(new qx.ui.basic.Label(d));
dc.add(this.textBackgroundColorTextField);
cY.add(dc);
cY.add(cX,{flex:1});
this.textBackgroundColorWindow.add(cY,{edge:0});
},_createFontFamilyWindow:function(){this.fontFamilyWindow=new qx.ui.window.Window();
this.fontFamilyWindow.set({useMoveFrame:true,width:150,caption:O,resizableTop:false,showMinimize:false,showMaximize:false});
this.getDesktop().add(this.fontFamilyWindow,{top:c,left:c});
this.fontFamilyWindow.setLayout(new qx.ui.layout.Canvas());
var dd=new qx.ui.container.Composite(new qx.ui.layout.VBox(2));
dd.set({padding:5,backgroundColor:cm});
var dg=new qx.ui.container.Composite(new qx.ui.layout.Flow(4,2));
this.keepOpenCheckBox=new qx.ui.form.CheckBox(ci);
this.fontFamilyTextField=new qx.ui.form.TextField();
this.fontFamilyTextField.addListener(ch,function(e){this.htmlArea.setFontFamily(e.getCurrentTarget().getValue());
},this);
this.getApp().createTooltip(this.fontFamilyTextField,null,t);
this.getApp().createTooltip(this.keepOpenCheckBox,null,R);
var df=[bF,w,m,bC,bv,M,v,bH,V,bM,bN];

for(var x=0;x<df.length;x++){var de=new qx.ui.basic.Atom(df[x]);
de.set({padding:[2,4,2,4],focusable:false,keepFocus:true});
de.setUserData(ck,df[x]);
this.getApp().highlightOnMouseOver(de);
de.addListener(cj,function(e){this.htmlArea.setFontFamily(e.getCurrentTarget().getUserData(ck));
!this.keepOpenCheckBox.getValue()?this.fontFamilyWindow.close():null;
},this);
dg.add(de);
}dd.add(this.keepOpenCheckBox);
dd.add(this.fontFamilyTextField);
dd.add(dg,{flex:1});
this.fontFamilyWindow.add(dd,{edge:0});
},_createFontSizeWindow:function(){this.fontSizeWindow=new qx.ui.window.Window();
this.fontSizeWindow.set({useMoveFrame:true,caption:G,width:150,resizable:false,showMinimize:false,showMaximize:false});
this.getDesktop().add(this.fontSizeWindow,{top:bU,left:bU});
this.fontSizeWindow.setLayout(new qx.ui.layout.Canvas());
var dh=new qx.ui.container.Composite(new qx.ui.layout.VBox(2));
dh.set({padding:5,backgroundColor:cm});
var dj=new qx.ui.container.Composite(new qx.ui.layout.Flow(2,2));
this.fontSizeKeepOpenCheckBox=new qx.ui.form.CheckBox(ci);

for(var x=1;x<8;x++){var di=new qx.ui.basic.Atom(x);
di.set({padding:[2,4,2,4],focusable:false,keepFocus:true});
di.setUserData(ck,x);
this.getApp().highlightOnMouseOver(di);
di.addListener(cj,function(e){this.htmlArea.setFontSize(e.getCurrentTarget().getUserData(ck));
!this.fontSizeKeepOpenCheckBox.getValue()?this.fontSizeWindow.close():null;
},this);
dj.add(di);
}dh.add(this.fontSizeKeepOpenCheckBox);
dh.add(dj,{flex:1});
this.fontSizeWindow.add(dh,{edge:0});
},_createEditRawHtmlWindow:function(){this.editRawHtmlWindow=new qx.ui.window.Window();
this.editRawHtmlWindow.set({useMoveFrame:true,caption:bD,width:250,height:200,modal:true,resizableTop:false,showMinimize:false});
var dl=this.getApp().calculateWidthAndHeight(this.getDesktop(),0.6,0.6);
this.editRawHtmlWindow.set({width:dl[bE],height:dl[A]});
this.getDesktop().add(this.editRawHtmlWindow,{top:cG,left:cG});
this.editRawHtmlWindow.setLayout(new qx.ui.layout.Canvas());
var dk=new qx.ui.container.Composite(new qx.ui.layout.VBox(2));
dk.set({padding:5,backgroundColor:cm});
this.rawHtmlTextArea=new qx.ui.form.TextArea().set({backgroundColor:cm,font:K});
this.rawHtmlTextArea.addListener(ch,function(e){this.htmlArea.setValue(e.getCurrentTarget().getValue());
},this);
dk.add(this.rawHtmlTextArea,{flex:1});
this.editRawHtmlWindow.add(dk,{edge:0});
},_doButton:function(dm){switch(dm){case be:{};
break;
case br:{this.htmlArea.setBold();
};
break;
case bo:{this.htmlArea.setItalic();
};
break;
case a:{this.htmlArea.setUnderline();
};
break;
case bP:{this.htmlArea.setStrikeThrough();
};
break;
case bu:{this.htmlArea.setJustifyLeft();
};
break;
case cw:{this.htmlArea.setJustifyRight();
};
break;
case ct:{this.htmlArea.setJustifyCenter();
};
break;
case cd:{this.htmlArea.setJustifyFull();
};
break;
case cr:{this.htmlArea.insertIndent();
};
break;
case bs:{this.htmlArea.insertOutdent();
};
break;
case bn:{this.htmlArea.undo();
};
break;
case bt:{this.htmlArea.redo();
};
break;
case bp:{if(!this.textColorWindow){this._createTextColorWindow();
}this.textColorWindow.open();
};
break;
case ce:{if(!this.textBackgroundColorWindow){this._createTextBackgroundColorWindow();
}this.textBackgroundColorWindow.open();
};
break;
case bl:{if(!this.fontFamilyWindow){this._createFontFamilyWindow();
}this.fontFamilyWindow.open();
};
break;
case cu:{if(!this.fontSizeWindow){this._createFontSizeWindow();
}this.fontSizeWindow.open();
};
break;
case bq:{this.htmlArea.insertOrderedList();
};
break;
case cs:{this.htmlArea.insertUnorderedList();
};
break;
case cp:{var dn=ca+bL+bT+X+cF+cB+bT+F+bB+cB+C+bj;
this.htmlArea.insertHtml(dn);
};
break;
case bm:{this.htmlArea.removeFormat();
};
break;
case cl:{if(!this.editRawHtmlWindow){this._createEditRawHtmlWindow();
}this.editRawHtmlWindow.open();
this.rawHtmlTextArea.setValue(this.htmlArea.getComputedValue(true));
};
break;
default:{this.info("htmlEditor - invalid button name ");
};
}}}});
})();
(function(){var k="_applyLayoutChange",j="left",h="center",g="top",f="Integer",e="middle",d="bottom",c="qx.ui.layout.Flow",b="right",a="Boolean";
qx.Class.define(c,{extend:qx.ui.layout.Abstract,construct:function(l,m,n){qx.ui.layout.Abstract.call(this);

if(l){this.setSpacingX(l);
}
if(m){this.setSpacingY(m);
}
if(n){this.setAlignX(n);
}},properties:{alignX:{check:[j,h,b],init:j,apply:k},alignY:{check:[g,e,d],init:g,apply:k},spacingX:{check:f,init:0,apply:k},spacingY:{check:f,init:0,apply:k},reversed:{check:a,init:false,apply:k}},members:{verifyLayoutProperty:null,connectToWidget:function(o){qx.ui.layout.Abstract.prototype.connectToWidget.call(this,o);
o.setAllowShrinkY(false);
},renderLayout:function(p,q){var u=this._getLayoutChildren();

if(this.getReversed()){u=u.concat().reverse();
}var r=new qx.ui.layout.LineSizeIterator(u,this.getSpacingX());
var s=0;

while(r.hasMoreLines()){var t=r.computeNextLine(p);
this.__nB(t,s,p);
s+=t.height+this.getSpacingY();
}},__nB:function(v,w,x){var z=qx.ui.layout.Util;
var C=0;

if(this.getAlignX()!=j){C=x-v.width;

if(this.getAlignX()==h){C=Math.round(C/2);
}}
for(var i=0;i<v.children.length;i++){var A=v.children[i];
var D=A.getSizeHint();
var B=A.getMarginTop();
var y=A.getMarginBottom();
var top=z.computeVerticalAlignOffset(A.getAlignY()||this.getAlignY(),B+D.height+y,v.height,B,y);
A.renderLayout(C+v.gapsBefore[i],w+top,D.width,D.height);
C+=v.gapsBefore[i]+D.width;
}},_computeSizeHint:function(){return this.__nC(Infinity);
},hasHeightForWidth:function(){return true;
},getHeightForWidth:function(E){return this.__nC(E).height;
},__nC:function(F){var G=new qx.ui.layout.LineSizeIterator(this._getLayoutChildren(),this.getSpacingX());
var K=0;
var H=0;
var I=0;

while(G.hasMoreLines()){var J=G.computeNextLine(F);
I+=1;
H=Math.max(H,J.width);
K+=J.height;
}return {width:H,height:K+this.getSpacingY()*(I-1)};
}}});
})();
(function(){var a="qx.ui.layout.LineSizeIterator";
qx.Class.define(a,{extend:Object,construct:function(b,c){this.__fg=b;
this.__nD=c;
this.__nE=b.length>0;
this.__nF=0;
},members:{__fg:null,__nD:null,__nE:null,__nF:null,computeNextLine:function(d){var d=d||Infinity;

if(!this.__nE){throw new Error("No more lines to compute");
}var o=this.__fg;
var m=0;
var f=0;
var n=[];
var j=[];

for(var i=this.__nF;i<o.length;i++){var l=o[i];
var p=l.getSizeHint();
var h=this.__nG(i);
var g=p.width+h;
var e=i==this.__nF;

if(!e&&f+g>d){this.__nF=i;
break;
}var k=p.height+l.getMarginTop()+l.getMarginBottom();
n.push(l);
j.push(h);
f+=g;
m=Math.max(m,k);

if(l.getLayoutProperties().lineBreak){this.__nF=i+1;
break;
}}
if(i>=o.length){this.__nE=false;
}return {height:m,width:f,children:n,gapsBefore:j};
},__nG:function(q){var r=q==this.__nF;

if(r){return this.__fg[q].getMarginLeft();
}else{return Math.max(this.__fg[q-1].getMarginRight(),this.__fg[q].getMarginLeft(),this.__nD);
}},hasMoreLines:function(){return this.__nE;
}}});
})();
(function(){var k="qx.event.type.Data",j="Boolean",i="qx.event.type.Event",h="mousedown",g="DOMNodeRemoved",f="String",d="none",c="engine.name",b="appear",a="mouseup",bh="losecapture",bg="display",bf="xhtml",be="_applyUseUndoRedo",bd="focusOut",bc="_applyMessengerMode",bb="url(",ba=")",Y="InsertParagraphOnLinebreak",X="gecko",r="repeat",s="undoRedoState",p="div",q="messengerContent",n="Integer",o="NativeContextMenu",l="focused",m="Function",v="Please use the method 'qx.dom.Node.isBlockNode' instead.",w="_applyInsertParagraphOnLinebreak",E="PostProcess",C="_applyInsertLinebreakOnCtrlEnter",M="ContentType",H="px",T="__nK",R="set",y="DefaultFontSize",W="cursorContext",V="htmlarea",U="ready",x="loadingError",A="MessengerMode",B="_applyDefaultFontSize",D="UseUndoRedo",F="_applyDefaultFontFamily",I="_applyContentType",O="qx.ui.embed.HtmlArea",S="mshtml",t="Verdana",u="block",z="DefaultFontFamily",L="contextmenu",K="readyAfterInvalid",J="__nJ",Q="InsertLinebreakOnCtrlEnter",P="qx/static/blank.gif",G="_applyPostProcess",N="absolute";
qx.Class.define(O,{extend:qx.ui.core.Widget,construct:function(bi,bj,bk){this.__nH={};
qx.ui.core.Widget.call(this);
this._setLayout(new qx.ui.layout.Grow);
this.__nM();
this.__nI={content:bi,styleInfo:bj,source:bk};
qx.event.Registration.addListener(document.body,h,this.block,this,true);
qx.event.Registration.addListener(document.body,a,this.release,this,true);
qx.event.Registration.addListener(document.body,bh,this.release,this,true);
},events:{"loadingError":k,"messengerContent":k,"cursorContext":k,"ready":i,"readyAfterInvalid":i,"focused":i,"focusOut":i,"contextmenu":k,"undoRedoState":k},statics:{isBlockNode:function(bl){var bm=qx.ui.embed.HtmlArea.isBlockNode;
var bn=v;
qx.log.Logger.deprecatedMethodWarning(bm,bn);
return qx.dom.Node.isBlockNode(bl);
},isParagraphParent:function(bo){return qx.bom.htmlarea.HtmlArea.isParagraphParent(bo);
}},properties:{contentType:{check:f,init:bf,apply:I},messengerMode:{check:j,init:false,apply:bc},insertParagraphOnLinebreak:{check:j,init:true,apply:w},insertLinebreakOnCtrlEnter:{check:j,init:true,apply:C},postProcess:{check:m,nullable:true,init:null,apply:G},useUndoRedo:{check:j,init:true,apply:be},appearance:{refine:true,init:V},defaultFontFamily:{check:f,init:t,apply:F},defaultFontSize:{check:n,init:4,apply:B},focusable:{refine:true,init:true}},members:{__nJ:null,__nH:null,__nK:null,__nI:null,__nL:null,_initBlockerElement:function(){if(!this.__nK){this.__nK=this._createBlockerElement();
}},_applyContentType:function(bp,bq){if(this.__nJ!=null){this.__nJ.setContentType(bp);
}else{this.__nH[M]=bp;
}},_applyMessengerMode:function(br,bs){if(this.__nJ!=null){this.__nJ.setMessengerMode(br);
}else{this.__nH[A]=br;
}},_applyInsertParagraphOnLinebreak:function(bt,bu){if(this.__nJ!=null){this.__nJ.setInsertParagraphOnLinebreak(bt);
}else{this.__nH[Y]=bt;
}},_applyInsertLinebreakOnCtrlEnter:function(bv,bw){if(this.__nJ!=null){this.__nJ.setInsertLinebreakOnCtrlEnter(bv);
}else{this.__nH[Q]=bv;
}},_applyPostProcess:function(bx,by){if(this.__nJ!=null){this.__nJ.setPostProcess(bx);
}else{this.__nH[E]=bx;
}},_applyUseUndoRedo:function(bz,bA){if(this.__nJ!=null){this.__nJ.setUseUndoRedo(bz);
}else{this.__nH[D]=bz;
}},_applyDefaultFontFamily:function(bB,bC){if(this.__nJ!=null){this.__nJ.setDefaultFontFamily(bB);
}else{this.__nH[z]=bB;
}},_applyDefaultFontSize:function(bD,bE){if(this.__nJ!=null){this.__nJ.setDefaultFontSize(bD);
}else{this.__nH[y]=bD;
}},_applyNativeContextMenu:function(bF,bG){if(this.__nJ!=null){this.__nJ.setNativeContextMenu(bF);
}else{this.__nH[o]=bF;
}},_createBlockerElement:function(){var bH=new qx.html.Element(p);
bH.setStyles({zIndex:20,position:N,display:d});
if((qx.core.Environment.get(c)==S)){bH.setStyles({backgroundImage:bb+qx.util.ResourceManager.getInstance().toUri(P)+ba,backgroundRepeat:r});
}return bH;
},__nM:function(){this.addListenerOnce(b,this.__nN);
},__nN:function(){var bI=this.getContentElement().getDomElement();
this.__nJ=new qx.bom.htmlarea.HtmlArea(bI,this.__nI.content,this.__nI.styleInfo,this.__nI.source);
this.__nO();
this.__nP();

if((qx.core.Environment.get(c)==X)){this.__nS();
}this.addListener(b,this.forceEditable);
},__nO:function(){for(var bJ in this.__nH){this.__nJ[R+bJ](this.__nH[bJ]);
}},__nP:function(){this.__nJ.addListener(U,this.__nQ,this);
this.__nJ.addListener(K,this.__nQ,this);
this.__nJ.addListener(l,this.__nQ,this);
this.__nJ.addListener(bd,this.__nQ,this);
this.__nJ.addListener(x,this.__nR,this);
this.__nJ.addListener(W,this.__nR,this);
this.__nJ.addListener(L,this.__nR,this);
this.__nJ.addListener(s,this.__nR,this);
this.__nJ.addListener(q,this.__nR,this);
},__nQ:function(e){var bK=e.clone();
this.fireEvent(bK.getType());
},__nR:function(e){var bL=e.clone();
this.fireDataEvent(bL.getType(),e.getData());
},__nS:function(){this.__nL=qx.lang.Function.bind(this.__nT,this);
var bM=this.getContainerElement().getDomElement();
qx.bom.Event.addNativeListener(bM,g,this.__nL);
},__nT:qx.event.GlobalError.observeMethod(function(e){if(this.__nJ&&!this.__nJ.isDisposed()){this.__nJ.invalidateEditor();
}}),renderLayout:function(bN,top,bO,bP){qx.ui.core.Widget.prototype.renderLayout.call(this,bN,top,bO,bP);
var bR=H;
var bQ=this.getInsets();

if(!this.__nK){this._initBlockerElement();
}this.__nK.setStyles({left:bQ.left+bR,top:bQ.top+bR,width:(bO-bQ.left-bQ.right)+bR,height:(bP-bQ.top-bQ.bottom)+bR});
},getIframeObject:function(){return this.__nJ!=null?this.__nJ.getIframeObject():null;
},getCommandManager:function(){return this.__nJ!=null?this.__nJ.getCommandManager():null;
},setValue:function(bS){if(this.__nJ!=null){this.__nJ.setValue(bS);
}else{this.__nI.content=bS;
}},getValue:function(){if(this.__nJ!=null){return this.__nJ.getValue();
}else{return this.__nI.content;
}},getComputedValue:function(bT){return this.__nJ!=null?this.__nJ.getHtml(bT):null;
},getCompleteHtml:function(){return this.__nJ!=null?this.__nJ.getCompleteHtml():null;
},getContentDocument:function(){return this.__nJ!=null?this.__nJ.getContentDocument():null;
},getContentBody:function(){return this.__nJ!=null?this.__nJ.getContentBody():null;
},getContentWindow:function(){return this.__nJ!=null?this.__nJ.getContentWindow():null;
},getWords:function(bU){return this.__nJ!=null?this.__nJ.getWords(bU):null;
},getWordsWithElement:function(){return this.__nJ!=null?this.__nJ.getWordsWithElement():null;
},getTextNodes:function(){return this.__nJ!=null?this.__nJ.getTextNodes():null;
},isReady:function(){return this.__nJ!=null?this.__nJ.isReady():false;
},forceEditable:function(){if(this.__nJ!=null){this.__nJ.forceEditable();
}},isLoaded:function(){return this.__nJ!=null?this.__nJ.isLoaded():false;
},setEditable:function(bV){if(this.__nJ!=null){this.__nJ.setEditable(bV);
}},getEditable:function(){return this.__nJ!=null?this.__nJ.getEditable():false;
},isEditable:function(){return this.__nJ!=null?this.__nJ.isEditable():false;
},insertHtml:function(bW){return this.__nJ!=null?this.__nJ.insertHtml(bW):false;
},removeFormat:function(){return this.__nJ!=null?this.__nJ.removeFormat():false;
},setBold:function(){return this.__nJ!=null?this.__nJ.setBold():false;
},setItalic:function(){return this.__nJ!=null?this.__nJ.setItalic():false;
},setUnderline:function(){return this.__nJ!=null?this.__nJ.setUnderline():false;
},setStrikeThrough:function(){return this.__nJ!=null?this.__nJ.setStrikeThrough():false;
},setFontSize:function(bX){return this.__nJ!=null?this.__nJ.setFontSize(bX):false;
},setFontFamily:function(bY){return this.__nJ!=null?this.__nJ.setFontFamily(bY):false;
},setTextColor:function(ca){return this.__nJ!=null?this.__nJ.setTextColor(ca):false;
},setTextBackgroundColor:function(cb){return this.__nJ!=null?this.__nJ.setTextBackgroundColor(cb):false;
},setJustifyLeft:function(){return this.__nJ!=null?this.__nJ.setJustifyLeft():false;
},setJustifyCenter:function(){return this.__nJ!=null?this.__nJ.setJustifyCenter():false;
},setJustifyRight:function(){return this.__nJ!=null?this.__nJ.setJustifyRight():false;
},setJustifyFull:function(){return this.__nJ!=null?this.__nJ.setJustifyFull():false;
},insertIndent:function(){return this.__nJ!=null?this.__nJ.insertIndent():false;
},insertOutdent:function(){return this.__nJ!=null?this.__nJ.insertOutdent():false;
},insertOrderedList:function(){return this.__nJ!=null?this.__nJ.insertOrderedList():false;
},insertUnorderedList:function(){return this.__nJ!=null?this.__nJ.insertUnorderedList():false;
},insertHorizontalRuler:function(){return this.__nJ!=null?this.__nJ.insertHorizontalRuler():false;
},insertImage:function(cc){return this.__nJ!=null?this.__nJ.insertImage(cc):false;
},insertHyperLink:function(cd){return this.__nJ!=null?this.__nJ.insertHyperLink(cd):false;
},removeBackgroundColor:function(){return this.__nJ!=null?this.__nJ.removeBackgroundColor():false;
},setBackgroundColor:function(ce){return this.__nJ!=null?this.__nJ.setBackgroundColor(ce):false;
},removeBackgroundImage:function(){return this.__nJ!=null?this.__nJ.removeBackgroundImage():false;
},setBackgroundImage:function(cf,cg,ch){return this.__nJ!=null?this.__nJ.setBackgroundImage(cf,cg,ch):false;
},selectAll:function(){return this.__nJ!=null?this.__nJ.selectAll():false;
},undo:function(){return this.__nJ!=null?this.__nJ.undo():false;
},redo:function(){return this.__nJ!=null?this.__nJ.redo():false;
},resetHtml:function(){if(this.__nJ!=null){this.__nJ.resetHtml();
}},getHtml:function(ci){return this.__nJ!=null?this.__nJ.getHtml(ci):null;
},containsOnlyPlaceholder:function(){return this.__nJ!=null?this.__nJ.containsOnlyPlaceHolder():false;
},getContextInformation:function(){return this.__nJ!=null?this.__nJ.getContextInformation():null;
},getSelection:function(){return this.__nJ!=null?this.__nJ.getSelection():null;
},getSelectedText:function(){return this.__nJ!=null?this.__nJ.getSelectedText():null;
},getSelectedHtml:function(){return this.__nJ!=null?this.__nJ.getSelectedHtml():null;
},clearSelection:function(){if(this.__nJ!=null){this.__nJ.clearSelection();
}},getRange:function(){return this.__nJ.getRange();
},saveRange:function(){this.__nJ.saveRange();
},getSavedRange:function(){return this.__nJ.getSavedRange();
},resetSavedRange:function(){this.__nJ.resetSavedRange();
},getFocusNode:function(){return this.__nJ!=null?this.__nJ.getFocusNode():null;
},block:function(){if(!this.__nK){this._initBlockerElement();
}
if(!this.getContainerElement().hasChild(this.__nK)){this.getContainerElement().add(this.__nK);
}this.__nK.setStyle(bg,u);
},release:function(){if(this.__nK){this.__nK.setStyle(bg,d);
}},focus:function(){qx.ui.core.Widget.prototype.focus.call(this);
this.__nU();
},tabFocus:function(){qx.ui.core.Widget.prototype.tabFocus.call(this);
this.__nU();
},__nU:function(){if(this.__nJ!=null){qx.event.Timer.once(function(){this.__nJ.focusContent();
},this,0);
}}},destruct:function(){this.__nH=this.__nI=null;
qx.event.Registration.removeListener(document.body,h,this.block,this,true);
qx.event.Registration.removeListener(document.body,a,this.release,this,true);
qx.event.Registration.removeListener(document.body,bh,this.release,this,true);
var cj=this.getContainerElement().getDomElement();

if(cj){qx.bom.Event.removeNativeListener(cj,g,this.__nL);
}this._disposeObjects(T,J);
}});
})();
(function(){var dS="engine.name",dR="",dQ="mshtml",dP="gecko",dO="webkit",dN="opera",dM="qx.event.type.Data",dL="id",dK="qx.event.type.Event",dJ=" ",cu="Boolean",ct="__elementToFocus__",cs="enter",cr='"',cq="left",cp="text-align",co="right",cn="qx.bom.htmlarea.HtmlArea.debug",cl="engine.version",ck="br",ea="inserthtml",eb="italic",dX="body",dY="underline",dV="old_id",dW="b",dT="loadingError",dU="contextmenu",ec="pageup",ed="backgroundcolor",dr="end",dq="div",dt='On',ds="redo",dv="i",du="backspace",dx="bold",dw="mouseup",dp="y",dn="style",o="backgroundimage",p="100%",q='</head>',r='<head>',t="k",u=":",v='redo',w='Off',x='">',y="down",es="font-family",er="g",eq="keypress",ep="fontsize",ew="undo",ev="text-decoration",eu="pagedown",et="justify",ez="center",ey="p",br='</style>',bs="u",bp="focus",bq="control",bv="click",bw='<style type="text/css">',bt="up",bu="blur",bn="font-size",bo="None",S="'",R="delete",U="_moz_dirty",T=">",O='</body></html>',N="line-through",Q="String",P="z",M=";",L="fontfamily",bC="keydown",bD="keyup",bE="focusout",bF="-",by='</span>',bz="backgroundColor",bA="li",bB='undo',bG="<br class='webkit-block-placeholder' />",bH="textbackgroundcolor",bg="Function",bf="fontSize",be="textcolor",bd="home",bc="<",bb="focused",ba="fontFamily",Y="load",bk='<font ',bj='id="__elementToFocus__"',bI="setUnderline",bJ="backgroundPosition",bK="<!--",bL=' size="',bM='/www.w3.org/1999/xhtml" xml:lang="en" lang="en">',bN="'>",bO='underline',bP='bold',bQ="&copy;",bR="ul",cC="cursorContext",cB="readyAfterInvalid",cA="styleWithCSS",cz="span",cG=" />",cF="setBold",cE="P",cD="<P>&nbsp;</P>",cK="</",cJ="qx/static/blank.html",di="&gt;",dj='="',dg="__nX",dh="paddingLeft",de="X",df="inserthorizontalrule",dc='<p>',dd='</font>',dk="#",dl="backgroundRepeat",dB="insertimage",dA="a",dD="&amp;",dC="removeformat",dF="marginLeft",dE="ready",dH="<p>&nbsp;</p>",dG='DOCTYPE html PUBLIC "-/',dz="browser.version",dy=" html, body {overflow-x: visible; } ",ek='<body>',em="insertorderedlist",en='body { font-size:100.01%; font-family:Verdana, Geneva, Arial, Helvetica, sans-serif; background-color:transparent; overflow:visible; background-image:none; margin:0px; padding:5px; } ',eo="hideFocus",eg="none",eh='/DTD XHTML 1.0 Transitional/',ei='<html xmlns="http:/',ej="S",ee="outline",ef="setItalic",n="font-style",m="marginBottom",l="xhtml",k="focusOut",h="justifyleft",g='</p>',f="paddingTop",d="Please use the method 'qx.dom.Node.isBlockNode' instead.",c='<title></title><meta http-equiv="Content-type" content="text/html; charset=UTF-8" />',b="Control",B='<span style="font-family:',C='/W3C/',z="placeholder",A='size',F="backgroundImage",G="marginTop",D="> ",E=" { ",I="font-weight",J="LI",cO='italic',cI='<!',cV="\ufeff",cR="&quot;",cx="marginRight",cv="STYLE",W="justifyfull",cy="inserthyperlink",bi="<br />",bh='html { margin:0px; padding:0px; } ',cc="<br>",cd='/EN" "http:/',ce="justifycenter",cf="<br /><div id='placeholder'></div>",cg="useCSS",ch="object",ci="strikethrough",cj="text/html",bY="true",ca="1.9",cw='',cU=' style="',cT="indent",cS="messengerContent",da="Integer",cY="insertunorderedlist",cX="Text",cW="&lt;",cQ='<br _moz_editor_bogus_node="TRUE" _moz_dirty=""/>',cP='<br/><div class="placeholder"></div>',H="selectall",bm="transparent",bl=" SCRIPT STYLE DIV SPAN TR TD TBODY TABLE EM STRONG FONT A P B I U STRIKE H1 H2 H3 H4 H5 H6 ",cH="justifyright",bx='/www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',cN="ol",cM="//text()[string-length(normalize-space(.))>0]",cL="outdent",V="about:blank",db="<body style='",K="qx.bom.htmlarea.HtmlArea",X="paddingBottom",bS="Verdana",bT="$",bU="-->",bV=" }",bW="paddingRight",bX='html { width:100%; height:100%; margin:0px; padding:0px; overflow-y:auto; overflow-x:auto; } ',dm="Off",cb='p { margin:0px; padding:0px; }',dI='body { font-size: 100.01%; font-family:Verdana, Geneva, Arial, Helvetica, sans-serif; width:100%; height:100%; background-color:transparent; overflow:auto; background-image:none; margin:0px; padding:5px; } ';
qx.Class.define(K,{extend:qx.core.Object,construct:function(eA,eB,eC,eD){qx.core.Object.call(this);
var eF=eD||qx.util.ResourceManager.getInstance().toUri(cJ);
this.__oq(eA);
this.__or();
this._createAndAddIframe(eF);
this._addIframeLoadListener();
this.__nV=qx.bom.htmlarea.HtmlArea.__nY(eC);
if(qx.lang.Type.isString(eB)){this.__nW=eB;
}if((qx.core.Environment.get(dS)==dN)){var eE=qx.dom.Node.getWindow(eA);
var eG=qx.event.Registration.getManager(eE).getHandler(qx.event.handler.Keyboard);
eG._keyCodeToIdentifierMap[35]=dk;
eG._keyCodeToIdentifierMap[45]=bF;
eG._keyCodeToIdentifierMap[112]=cE;
eG._keyCodeToIdentifierMap[115]=ej;
eG._keyCodeToIdentifierMap[120]=de;
}this.__nX=this.__oE();
},events:{"load":dK,"loadingError":dM,"messengerContent":dM,"cursorContext":dM,"ready":dK,"readyAfterInvalid":dK,"focused":dK,"focusOut":dK,"contextmenu":dM,"undoRedoState":dM},statics:{simpleLinebreak:cc,EMPTY_DIV:"<div></div>",GetWordsRegExp:/([^\u0000-\u0040\u005b-\u005f\u007b-\u007f]|['])+/g,CleanupWordsRegExp:/[\u0000-\u0040]/gi,hotkeyInfo:{bold:{method:cF},italic:{method:ef},underline:{method:bI},undo:{method:ew},redo:{method:ds}},__nY:function(eH){if(eH==null||eH==dR){return dR;
}else if(typeof eH==ch){var eI=dR;

for(var i in eH){eI+=i+E+eH[i]+bV;
}return eI;
}else{return eH;
}},__oa:function(eJ){var eK={};
var a=eJ.split(M);
var i;

for(i=0;i<a.length;i++){var eL=a[i],eM=eL.indexOf(u);

if(eM===-1){continue;
}var name=qx.lang.String.trim(eL.substring(0,eM));
var eN=qx.lang.String.trim(eL.substring(eM+1,eL.length));

if(name&&eN){eK[name]=eN;
}}return eK;
},__ob:function(eO,eP,eQ,eR){var eW=[];

switch(eO.nodeType){case 1:case 11:var i;
var eU=eO.tagName.toLowerCase();
var eY={};
var eS={};
var closed=(!(eO.hasChildNodes()||qx.bom.htmlarea.HtmlArea.__oc(eO)));

if(eP){if((qx.core.Environment.get(dS)==dQ)){if(eU==dq&&eO.className&&eO.className==z){for(i=eO.firstChild;i;i=i.nextSibling){eW.push(qx.bom.htmlarea.HtmlArea.__ob(i,true,eQ,eR));
}return eW.join(dR);
}}var eX=eO.attributes;
var eV=eX.length;
var a;

if((qx.core.Environment.get(dS)==dP)){if(eU==cz&&eV==1&&eX[0].name==U&&eO.childNodes.length==0){return dR;
}}
for(i=0;i<eV;i++){a=eX[i];
if(!a.specified){continue;
}var name=qx.dom.Node.getName(a);
var fa=a.nodeValue;
if(/(_moz|contenteditable)/.test(name)){continue;
}
if(name!=dn){if(qx.core.Environment.get(dS)==dQ){if(name==dL&&eO.getAttribute(dV)){fa=eO.getAttribute(dV);
}else if(!isNaN(fa)){fa=eO.getAttribute(name);
}else{fa=a.nodeValue;
}}else{fa=a.nodeValue;
}}else{fa=eO.style.cssText;
}
if(/(_moz|^$)/.test(fa)){continue;
}if(name==dV){continue;
}if(!fa){continue;
}if(name==dL&&fa==ct){continue;
}if(name.charAt(0)===bT){continue;
}eY[name]=fa;
}if(eY.style!==undefined){eS=qx.bom.htmlarea.HtmlArea.__oa(eY.style);
delete eY.style;
}if(eR){var eT={domElement:eO,tag:eU,attributes:eY,styles:eS};
eR(eT);
eT.domElement=null;
eU=eT.tag;
}if(eU){eW.push(bc,eU);
for(var name in eY){var fa=eY[name];
eW.push(dJ,name,dj,fa.toString().replace(new RegExp(cr,er),S),cr);
}if(!qx.lang.Object.isEmpty(eS)){eW.push(cU);

for(var name in eS){var fa=eS[name];
eW.push(name,u,fa.toString().replace(new RegExp(cr,er),S),M);
}eW.push(cr);
}eW.push(closed?cG:T);
}}for(i=eO.firstChild;i;i=i.nextSibling){eW.push(qx.bom.htmlarea.HtmlArea.__ob(i,true,eQ,eR));
}if(eP&&!closed&&eU){eW.push(cK,eU,T);
}break;
case 3:eW.push(eQ?eO.data:qx.bom.htmlarea.HtmlArea.__od(eO.data));
break;
case 8:eW.push(bK,eO.data,bU);
break;
}return eW.join(dR);
},closingTags:bl,__oc:function(fb){return (qx.bom.htmlarea.HtmlArea.closingTags.indexOf(dJ+fb.tagName+dJ)!=-1);
},__od:function(s){s=s.replace(/&/ig,dD);
s=s.replace(/</ig,cW);
s=s.replace(/>/ig,di);
s=s.replace(/\x22/ig,cR);
s=s.replace(/\xA9/ig,bQ);
return s;
},isBlockNode:function(fc){var fd=qx.bom.htmlarea.HtmlArea.isBlockNode;
var fe=d;
qx.log.Logger.deprecatedMethodWarning(fd,fe);
return qx.dom.Node.isBlockNode(fc);
},isParagraphParent:function(ff){if(!qx.dom.Node.isElement(ff)){return false;
}ff=qx.dom.Node.getName(ff);
return /^(body|td|th|caption|fieldset|div)$/.test(ff);
},isHeadlineNode:function(fg){if(!qx.dom.Node.isElement(fg)){return false;
}var fh=qx.dom.Node.getName(fg);
return /^h[1-6]$/.test(fh);
}},properties:{contentType:{check:Q,init:l},messengerMode:{check:cu,init:false},insertParagraphOnLinebreak:{check:cu,init:true},insertLinebreakOnCtrlEnter:{check:cu,init:true},postProcess:{check:bg,nullable:true,init:null},useUndoRedo:{check:cu,init:true},nativeContextMenu:{check:cu,init:false},defaultFontFamily:{check:Q,init:bS},defaultFontSize:{check:da,init:4}},members:{__jF:null,__cS:false,__oe:false,__of:false,__og:false,__oh:false,__nX:null,__oi:null,__oj:null,__ok:null,__ol:null,__nV:null,__om:null,__on:null,__oo:false,__op:false,__oq:function(fi){if(qx.dom.Node.isElement(fi)&&qx.dom.Node.isNodeName(fi,dq)){this.__jF=fi;
}},_createAndAddIframe:function(fj){this.__ol=qx.bom.Iframe.create();
qx.bom.Iframe.setSource(this.__ol,fj);
if((qx.core.Environment.get(dS)==dQ)){qx.bom.element.Attribute.set(this.__ol,eo,bY);
}else{qx.bom.element.Style.set(this.__ol,ee,eg);
}qx.bom.element.Style.setStyles(this.__ol,{width:p,height:p});
qx.dom.Element.insertBegin(this.__ol,this.__jF);
},_getIframeDocument:function(){return qx.bom.Iframe.getDocument(this.__ol);
},_getIframeWindow:function(){return qx.bom.Iframe.getWindow(this.__ol);
},_addIframeLoadListener:function(){qx.event.Registration.addListener(this.__ol,Y,this._loaded,this);
},__or:function(){this.__om={"xhtml":{doctype:cI+dG+C+eh+cd+bx,html:ei+bM,meta:c,style:qx.core.Environment.select(dS,{"mshtml":bh+dI,"default":bX+en}),contentStyle:cb,body:ek,footer:O}};
},__nW:dR,getIframeObject:function(){return this.__ol;
},getCommandManager:function(){return this.__nX;
},setValue:function(fk){if(qx.lang.Type.isString(fk)){this.__nW=fk;
var fl=this._getIframeDocument();

if(fl&&fl.body){fl.body.innerHTML=this.__os(fk);
}}},__os:function(fm){var fp=dR;

if((qx.core.Environment.get(dS)==dP)){if(qx.core.Environment.get(dz)<=2){fp+=cQ;
}}var fq=fm.length==0?cV:dR;
var fo=qx.core.Environment.get(dS)==dP||qx.core.Environment.get(dS)==dO?bj:cw;
var fn=dc+B+this.getDefaultFontFamily()+x+bk+fo+bL+this.getDefaultFontSize()+x+fp+fm+fq+dd+by+g;
return fn;
},getValue:function(){return this.__nW;
},getComputedValue:function(fr){return this.getHtml(fr);
},getCompleteHtml:function(){var ft=this.__om[this.getContentType()];
var fs=ft.html+r+ft.meta+bw+ft.contentStyle+br+q;
fs+=db+this.__ot()+bN;
fs+=this.getHtml()+O;
return fs;
},__ot:function(){var fw=[bz,F,dl,bJ,ba,bf,G,m,dF,cx,f,X,dh,bW];
var fv=qx.bom.element.Style;
var fu=this.getContentBody();
var fz={};
var fy,fA;
var fx=qx.core.Environment.get(dS)==dQ?2:1;

for(var i=0,j=fw.length;i<j;i++){fy=fw[i];
fA=fv.get(fu,fy,fx);

if(fA!==undefined&&fA!=dR){fz[fy]=fA;
}}return qx.bom.element.Style.compile(fz);
},getContentDocument:function(){if(this.__cS){return this._getIframeDocument();
}},getContentBody:function(){if(this.__cS){return this._getIframeDocument().body;
}},getContentWindow:function(){if(this.__cS){return this._getIframeWindow();
}},getWords:function(fB){if(!fB){fB=this.getContentBody();
}
if(!fB){return [];
}var fD=fB.cloneNode(true);
var fF=fD.innerHTML;
fF=fF.replace(/>/gi,D);
fF=fF.replace(/\n/gi,dJ);
fF=fF.replace(/<!--.*-->/gi,dR);
fD.innerHTML=fF;
var fC=qx.core.Environment.get(dS)==dQ||qx.core.Environment.get(dS)==dN?fD.innerText:fD.textContent;
var fE=fC.match(qx.bom.htmlarea.HtmlArea.GetWordsRegExp);
return !fE?[]:fE;
},getWordsWithElement:function(){var fH=this.getTextNodes();
var fL={};
var i,j,fM,fI,fG;

for(var i=0,fK=fH.length;i<fK;++i){fI=fH[i];
fM=fI.nodeValue.split(dJ);

for(var j=0,fJ=fM.length;j<fJ;++j){fG=this._cleanupWord(fM[j]);

if(fG!=null&&fG.length>1){if(!fL[fG]){fL[fG]=[];
}fL[fG].push(fI);
}}}return fL;
},_cleanupWord:function(fN){if(!fN){return null;
}return fN.replace(qx.bom.htmlarea.HtmlArea.CleanupWordsRegExp,dR);
},getTextNodes:function(){return this._fetchTextNodes(this.getContentBody());
},_fetchTextNodes:function(fO){var fQ=[];
var fP;
if(fO.hasChildNodes){for(var i=0;i<fO.childNodes.length;i++){fP=this._fetchTextNodes(fO.childNodes[i]);
qx.lang.Array.append(fQ,fP);
}}if(fO.nodeType==3){if(fO.nodeValue.length>1){fQ.push(fO);
}}return fQ;
},__ou:0,__ov:function(){var fR=this._getIframeDocument();
if(!fR){this.__ou++;

if(this.__ou>5){this.error('cant load HtmlArea. Document is not available. '+fR);
this.fireDataEvent(dT);
}else{qx.event.Timer.once(function(){this.__ov();
},this,0);
}}else{this.__ou=0;
this._onDocumentIsReady();
}},_loaded:function(e){if(this.__of){return;
}
if(this.__oe){this.__ow();
return;
}if((qx.core.Environment.get(dS)==dQ)){this.__ov();
}else{this._onDocumentIsReady();
}},isReady:function(){return this.__cS;
},_onDocumentIsReady:function(){var fS=new qx.bom.htmlarea.manager.Command(this);

if(this.getUseUndoRedo()){fS=new qx.bom.htmlarea.manager.UndoRedo(fS,this);
}this.__of=true;
if((qx.core.Environment.get(dS)==dQ)){this.setEditable(true);
}this.__oz();

if(!(qx.core.Environment.get(dS)==dN)){this.__oA();
}if(!(qx.core.Environment.get(dS)==dQ)){this.setEditable(true);
}this.__cS=true;
this.__nX=fS;
fS.setContentDocument(this._getIframeDocument());
this.__oF();
if((qx.core.Environment.get(dS)==dN)){this.__oA();
}this.fireEvent(dE);
},forceEditable:qx.core.Environment.select(dS,{"gecko":function(){var fT=this._getIframeDocument();

if(fT){if(parseFloat(qx.core.Environment.get(cl))>=ca){fT.designMode=dm;
fT.body.contentEditable=false;
fT.body.contentEditable=true;
}else{fT.body.contentEditable=true;
this.__oG(true);
}}},"default":qx.lang.Function.empty}),invalidateEditor:qx.core.Environment.select(dS,{"gecko":function(){this.__of=false;
this.__cS=false;
this.__oe=true;
},"default":function(){}}),__ow:qx.core.Environment.select(dS,{"gecko":function(){this.__oz();
this.__oA();
this.__nX.setContentDocument(this._getIframeDocument());
this.setEditable(true);
this.forceEditable();
this.__of=true;
this.__cS=true;
this.__oe=false;
this.fireEvent(cB);
},"default":function(){}}),__ox:function(fU){var fW=dR;

if(!fU){return fW;
}
try{var fV=fU.getAttribute(dn);

if(!fV){return fW;
}if((qx.core.Environment.get(dS)==dQ)){fW=fV.cssText;
}else{fW=fV;
}}catch(fX){this.error("can't extract style from elem. ");
}return fW;
},__oy:function(fY){var ga=qx.core.Environment.get(dS)==dP?dy:dR;
var gb=this.__om[this.getContentType()];
var gc=r+gb.meta+bw+ga+gb.style+gb.contentStyle+this.__nV+br+q;
var content=gb.body+fY;
return gb.html+gc+content+gb.footer;
},__oz:function(){var ge=this.__os(this.getValue());

if(qx.lang.Type.isString(ge)){var gd=this._getIframeDocument();

try{gd.open(cj,true);
gd.write(this.__oy(ge));
gd.close();
}catch(e){this.error("cant open document on source '"+qx.bom.Iframe.queryCurrentUrl(this.__ol)+"'",e);
this.fireDataEvent(dT,e);
}}},__oA:function(){this.__oB();
this.__oD();
this.__oC();
},__oB:function(){var gg=qx.event.Registration;
var gf=this._getIframeDocument();
gg.addListener(gf.body,eq,this._handleKeyPress,this);
gg.addListener(gf.body,bD,this._handleKeyUp,this);
gg.addListener(gf.body,bC,this._handleKeyDown,this);
},__oC:function(){var gj=qx.event.Registration;
var gh=this._getIframeDocument();
var gi=qx.core.Environment.get(dS)==dO?this._getIframeWindow():gh.body;
gj.addListener(gi,bp,this._handleFocusEvent,this);
gj.addListener(gi,bu,this._handleBlurEvent,this);
gj.addListener(gh,bE,this._handleFocusOutEvent,this);
},__oD:function(){var gm=qx.event.Registration;
var gl=this._getIframeDocument();
var gk=qx.core.Environment.get(dS)==dQ?bv:dw;
gm.addListener(gl.body,gk,this._handleMouseUpOnBody,this);
gm.addListener(gl.documentElement,gk,this._handleMouseUpOnDocument,this);
gm.addListener(gl.documentElement,dU,this._handleContextMenuEvent,this);
},__oE:function(){if(this.__oi==null){this.__oi={execute:function(gn,go){this.stackedCommands=true;
this.commandStack.push({command:gn,value:go});
},commandStack:[],stackedCommands:false};
}this.__oi.stackedCommands=false;
return this.__oi;
},__oF:function(){var gp=this.__oi;

if(gp!=null&&gp.stackedCommands){var gq=gp.commandStack;

if(gq!=null){for(var i=0,j=gq.length;i<j;i++){this.__nX.execute(gq[i].command,gq[i].value);
}}}},__oG:function(gr){var gs=this._getIframeDocument();

if(this.__of&&gs){try{if((qx.core.Environment.get(dS)==dP)){gs.designMode=(gr!==false)?w:dt;
}gs.designMode=(gr!==false)?dt:w;
}catch(e){}}},setEditable:function(gt){if(this.__of){this.__oG(true);
if((qx.core.Environment.get(dS)==dP)){try{var gu=this._getIframeDocument();
gu.execCommand(cA,false,true);
}catch(gv){try{var gu=this._getIframeDocument();
gu.execCommand(cg,false,false);
}catch(gw){if(!this.__cS){this.error("Failed to enable rich edit functionality");
this.fireDataEvent(dT,gw);
}else{throw new Error("Failed to enable rich edit functionality");
}}}}this.__og=gt;
}},getEditable:function(){return this.__og;
},isEditable:function(){return this.__og;
},__oH:false,_handleKeyUp:function(e){var gx=e.getKeyIdentifier().toLowerCase();
this.__oj=e;

if((false)&&qx.core.Environment.get(cn)){this.debug(e.getType()+" | "+gx);
}if(qx.core.Environment.get(dS)==dQ||qx.core.Environment.get(dS)==dO){if(this.__oH){switch(gx){case cs:if(this.getInsertLinebreakOnCtrlEnter()){if((qx.core.Environment.get(dS)==dO)){this.__oI();
e.preventDefault();
e.stopPropagation();
}else{var gy=this.__oS(this.getSelection());

if(gy){gy.collapse(true);
gy.pasteHTML(cP);
}}this.__oN();
}break;
case bq:this.__oH=false;
return;
break;
}}}else if((qx.core.Environment.get(dS)==dP)){switch(gx){case cq:case co:case bt:case y:case ec:case eu:case R:case dr:case du:this.__oh=(this.getFocusNode()==this.getContentBody().firstChild);
break;
}}},__oI:function(){var gz=this.getSelection();
var gA=dR;
if(gz&&(gz.focusNode.textContent==dR||gz.focusNode.parentElement.tagName==J)){gA=bG;
}this.__nX.execute(ea,gA+qx.bom.htmlarea.HtmlArea.simpleLinebreak);
},_handleKeyDown:qx.core.Environment.select(dS,{"mshtml|webkit":function(e){var gB=e.getKeyIdentifier().toLowerCase();

if((false)&&qx.core.Environment.get(cn)){}if(this.__oH&&(gB==P||gB==dp||gB==dW||gB==bs||gB==dv||gB==t)){e.preventDefault();
e.stopPropagation();
}if(gB==bq){this.__oH=true;
}},"default":function(e){}}),_handleKeyPress:function(e){var gG=this.getContentDocument();
var gC=e.getKeyIdentifier().toLowerCase();
var gE=e.isCtrlPressed();
var gF=e.isShiftPressed();
this.__oj=e;

if((false)&&qx.core.Environment.get(cn)){this.debug(e.getType()+" | "+gC);
}if(this.__oo){var gM=!((qx.core.Environment.get(dS)==dQ)&&gC==cs)||!((qx.core.Environment.get(dS)==dP)&&gC==cs);

if(gM){this.__oN();
this.__oo=false;
}}
switch(gC){case cs:if(!gF&&!gE&&this.getMessengerMode()){e.preventDefault();
e.stopPropagation();
this.fireDataEvent(cS,this.getComputedValue());
this.resetHtml();
}if(gE){if(!this.getInsertLinebreakOnCtrlEnter()){return;
}e.preventDefault();
e.stopPropagation();

if((qx.core.Environment.get(dS)==dP)){if(this.__oQ()){this.insertHtml(bi);
this.__oN();
return;
}this.insertHtml(cf);
}else if((qx.core.Environment.get(dS)==dN)){var gL=this.getSelection();
var gH=this.__oS(gL);

if(gL&&gH){var gI=gG.createElement(ck);
gH.collapse(true);
gH.insertNode(gI);
gH.collapse(true);
gH.selectNode(gI);
gL.addRange(gH);
gH.collapse(true);
}}this.__oN();
}if((qx.core.Environment.get(dS)==dQ)){if(!this.getInsertParagraphOnLinebreak()){if(this.__nX.execute(ea,qx.bom.htmlarea.HtmlArea.simpleLinebreak)){this.__oN();
e.preventDefault();
e.stopPropagation();
}}}else if((qx.core.Environment.get(dS)==dP)){if(this.getInsertParagraphOnLinebreak()&&!gF&&!gE){var gL=this.getSelection();

if(gL){var gD=gL.focusNode;
if(this.__oQ()){this.__oN();
return;
}if(this.__oR()){this.__oN();
return;
}while(!qx.dom.Node.isNodeName(gD,dX)){if(qx.dom.Node.isNodeName(gD,bA)){this.__oN();
return;
}gD=gD.parentNode;
}}this.__nX.insertParagraphOnLinebreak();
e.preventDefault();
e.stopPropagation();
this.__oN();
this.__oo=true;
}}else if((qx.core.Environment.get(dS)==dO)){if(this.getInsertParagraphOnLinebreak()&&gF){this.__oI();
e.preventDefault();
e.stopPropagation();
this.__oN();
}}break;
case bt:if(qx.core.Environment.get(dS)==dP&&qx.core.Environment.get(cl)<1.9&&gF){var gL=this.getSelection();
if(gL&&gL.focusNode==gG.body.firstChild){if(this.__oh){if(gL.focusOffset!=0){gL.extend(gL.focusNode,0);
}}}}this.__oN();
break;
case bd:if(qx.core.Environment.get(dS)==dP&&qx.core.Environment.get(cl)<1.9){if(gE){var gL=this.getSelection();
if(gF){if(gL&&(gL.focusOffset!=0)||(gL.focusNode!=gG.body.firstChild)){gL.extend(gG.body.firstChild,0);
}}else{var gJ=null;
var gK;
if(gG){gJ=gG.evaluate(cM,gG.body,null,XPathResult.ANY_TYPE,null);
}
if(gJ&&gL){while(gK=gJ.iterateNext()){if(gK&&gK.parentNode&&gK.parentNode.tagName!=cv){try{gL.extend(gK,0);

if(!this.isSelectionCollapsed()){gL.collapseToStart();
}}catch(e){}break;
}}}}}}this.__oN();
break;
case cq:case co:case y:case ec:case eu:case R:case dr:case du:this.__oN();
break;
case dW:if(gE){this.__oJ(bP,true);
}break;
case dv:case t:if(gE){this.__oJ(cO,true);
}break;
case bs:if(gE){this.__oJ(bO,true);
}break;
case P:if(gE&&!gF){this.__oJ(bB,true);
}else if(gE&&gF){this.__oJ(v,true);
}break;
case dp:if(gE){this.__oJ(v,true);
}break;
case dA:if(gE){this.selectAll();
}break;
}this.__oj=null;
},__oJ:function(gN,gO){var gQ=null;
var gP=qx.bom.htmlarea.HtmlArea.hotkeyInfo;

if(gP[gN]){gQ=gP[gN].method;
}
if(gQ!=null&&this[gQ]){this[gQ]();

if(gO){this.__oj.preventDefault();
this.__oj.stopPropagation();
}
if(this.isSelectionCollapsed()){this.__oo=true;
}this.__oN();
}},_handleFocusEvent:function(e){this.__ok=null;

if(qx.core.Environment.get(dS)==dP||qx.core.Environment.get(dS)==dO){var gR=this.getContentDocument().getElementById(ct);

if(gR){qx.bom.element.Attribute.reset(gR,dL);
}}this.fireEvent(bb);
},_handleBlurEvent:function(e){this.__nW=this.getComputedValue();
},_handleFocusOutEvent:function(e){this.__oH=false;

if(this.__ok==null){this.__ok=this.getSelectedHtml();
}this.fireEvent(k);
},_handleMouseUpOnBody:function(e){if((false)&&qx.core.Environment.get(cn)){this.debug("handleMouse "+e.getType());
}this.__op=true;
this.__oN();
},_handleMouseUpOnDocument:qx.core.Environment.select(dS,{"mshtml":qx.lang.Function.empty,"default":function(e){if(!this.__op){qx.bom.Element.activate(this.getContentBody());
}this.__op=false;
}}),_handleContextMenuEvent:function(e){if(!this.getNativeContextMenu()){var gU=e.getViewportLeft();
var gT=e.getViewportTop();
var gV=qx.bom.element.Location.getLeft(this.__jF)+gU;
var gW=qx.bom.element.Location.getTop(this.__jF)+gT;
var gS={x:gV,y:gW,relX:gU,relY:gT,target:e.getTarget()};
e.preventDefault();
e.stopPropagation();
qx.event.Timer.once(function(){this.fireDataEvent(dU,gS);
},this,0);
}},isLoaded:function(){return this.__of;
},insertHtml:function(gX){return this.__nX.execute(ea,gX);
},removeFormat:function(){var gY=this.__nX.execute(dC);
this.__nX.execute(ep,this.getDefaultFontSize());
this.__nX.execute(L,this.getDefaultFontFamily());
return gY;
},setBold:function(){return this.__nX.execute(dx);
},setItalic:function(){return this.__nX.execute(eb);
},setUnderline:function(){return this.__nX.execute(dY);
},setStrikeThrough:function(){return this.__nX.execute(ci);
},setFontSize:function(ha){return this.__nX.execute(ep,ha);
},setFontFamily:function(hb){return this.__nX.execute(L,hb);
},setTextColor:function(hc){return this.__nX.execute(be,hc);
},setTextBackgroundColor:function(hd){return this.__nX.execute(bH,hd);
},setJustifyLeft:function(){return this.__nX.execute(h);
},setJustifyCenter:function(){return this.__nX.execute(ce);
},setJustifyRight:function(){return this.__nX.execute(cH);
},setJustifyFull:function(){return this.__nX.execute(W);
},insertIndent:function(){return this.__nX.execute(cT);
},insertOutdent:function(){return this.__nX.execute(cL);
},insertOrderedList:function(){return this.__nX.execute(em);
},insertUnorderedList:function(){return this.__nX.execute(cY);
},insertHorizontalRuler:function(){return this.__nX.execute(df);
},insertImage:function(he){return this.__nX.execute(dB,he);
},insertHyperLink:function(hf){return this.__nX.execute(cy,hf);
},removeBackgroundColor:function(){this.__nX.execute(ed,bm);
},setBackgroundColor:function(hg){this.__nX.execute(ed,hg);
},removeBackgroundImage:function(){this.__nX.execute(o);
},setBackgroundImage:function(hh,hi,hj){return this.__nX.execute(o,[hh,hi,hj]);
},selectAll:function(){return this.__nX.execute(H);
},undo:function(){if(this.getUseUndoRedo()){return this.__nX.execute(ew);
}else{return true;
}},redo:function(){if(this.getUseUndoRedo()){return this.__nX.execute(ds);
}else{return true;
}},resetHtml:function(){var hk=this._getIframeDocument();
while(hk.body.firstChild){hk.body.removeChild(hk.body.firstChild);
}if(qx.core.Environment.get(dS)==dP){hk.body.innerHTML=dH;
}else if(qx.core.Environment.get(dS)==dO){var hl=this.getSelection();
var hm=hk.createRange();

if(hm&&hl){hl.addRange(hm);
}}},getHtml:function(hn){var ho=this._getIframeDocument();

if(ho==null){return null;
}return qx.bom.htmlarea.HtmlArea.__ob(ho.body,false,hn,this.getPostProcess());
},containsOnlyPlaceholder:qx.core.Environment.select(dS,{"mshtml":function(){var hp=this._getIframeDocument();
return (hp.body.innerHTML==cD);
},"default":qx.lang.Function.returnFalse}),_selectElement:function(hq){var hs=this.getContentWindow().getSelection();
var hr=this.getContentDocument().createRange();
hr.setStart(hq,0);
hs.removeAllRanges();
hs.addRange(hr);
},focusContent:qx.core.Environment.select(dS,{"gecko":function(){var hu=this.getContentDocument();
var ht=hu.getElementById(ct);
this.getContentWindow().focus();
qx.bom.Element.focus(this.getContentBody());

if(ht){this._selectElement(ht);
}else{this.__oK();
}},"webkit":function(){qx.bom.Element.focus(this.getContentWindow());
qx.bom.Element.focus(this.getContentBody());
var hv=this.getContentDocument().getElementById(ct);

if(hv){qx.bom.element.Attribute.reset(hv,dL);
}this.__oK();
},"opera":function(){qx.bom.Element.focus(this.getContentWindow());
qx.bom.Element.focus(this.getContentBody());
this.__oK();
},"default":function(){qx.bom.Element.focus(this.getContentBody());
this.__oK();
}}),__oK:function(){if(!this.__oL()){this.__oM();
}},__oL:qx.core.Environment.select(dS,{"gecko":function(){var hw=this.getContentBody().childNodes;

if(hw.length==0){return false;
}else if(hw.length==1){return !(hw[0]&&qx.dom.Node.isNodeName(hw[0],ck)&&qx.bom.element.Attribute.get(hw[0],U)!=null);
}else{return true;
}},"webkit":function(){var hx=this.getContentBody().childNodes;

if(hx.length==0){return false;
}else if(hx.length==1){return !(hx[0]&&qx.dom.Node.isNodeName(hx[0],ck));
}else{return true;
}},"default":function(){var hy=this.getContentBody().childNodes;

if(hy.length==0){return false;
}else if(hy.length==1){return !(hy[0]&&qx.dom.Node.isNodeName(hy[0],ey)&&hy[0].firstChild==null);
}else{return true;
}}}),__oM:qx.core.Environment.select(dS,{"gecko|webkit":function(){this.getContentDocument().body.innerHTML=this.__os(dR);
var hz=this.getContentDocument().getElementById(ct);
qx.bom.element.Attribute.reset(hz,dL);
this._selectElement(hz);
},"default":function(){var hA=qx.dom.Hierarchy.getFirstDescendant(this.getContentBody());

if(qx.dom.Node.isNodeName(hA,ey)){qx.bom.element.Style.set(hA,es,this.getDefaultFontFamily());
qx.bom.element.Style.set(hA,bn,this.getDefaultFontSize());
}}}),getContextInformation:function(){return this.__oO();
},__oN:function(){qx.event.Timer.once(function(e){var hB=this.__oO();
this.fireDataEvent(cC,hB);
},this,200);
},__oO:function(){if(this._processingExamineCursorContext||this.getEditable()==false){return;
}this._processingExamineCursorContext=true;

if(!this.__oL()){this.__oM();
}var hF=this.getFocusNode();

if(hF==null){return;
}
if(qx.dom.Node.isText(hF)){hF=hF.parentNode;
}var hJ=this._getIframeDocument();
var hS=(qx.core.Environment.get(dS)==dQ)?hF.currentStyle:hJ.defaultView.getComputedStyle(hF,null);
var hM=false;
var hC=false;
var hH=false;
var hG=false;
var hN=false;
var hR=false;
var hI=false;
var hT=false;
var hE=false;
var hP=false;
var hQ=null;
var hU=null;
var hL=null;

if(hS!=null){if((qx.core.Environment.get(dS)==dQ)){hC=hS.fontStyle==eb;
hH=hS.textDecoration.indexOf(dY)!==-1;
hG=hS.textDecoration.indexOf(N)!==-1;
hQ=hS.fontSize;
hL=hS.fontFamily;
hI=hS.textAlign==cq;
hT=hS.textAlign==ez;
hE=hS.textAlign==co;
hP=hS.textAlign==et;
}else{hC=hS.getPropertyValue(n)==eb;
hH=hS.getPropertyValue(ev).indexOf(dY)!==-1;
hG=hS.getPropertyValue(ev).indexOf(N)!==-1;
hQ=hS.getPropertyValue(bn);
hL=hS.getPropertyValue(es);
hI=hS.getPropertyValue(cp)==cq;
hT=hS.getPropertyValue(cp)==ez;
hE=hS.getPropertyValue(cp)==co;
hP=hS.getPropertyValue(cp)==et;
}
if(qx.core.Environment.get(dS)==dQ||qx.core.Environment.get(dS)==dN){hM=hS.fontWeight==700;
}else{hM=hS.getPropertyValue(I)==dx||qx.dom.Node.isNodeName(hF,dW);
}}var hD=hF;
if(hD!=null&&hD.parentNode!=null&&!qx.dom.Node.isDocument(hD.parentNode)){while(hD!=null&&!qx.dom.Node.isNodeName(hD,dX)){var hK=qx.dom.Node.getName(hD);

if(hK==cN){hR=true;
break;
}else if(hK==bR){hN=true;
break;
}
if(hU==null||hU==dR){hU=qx.bom.element.Attribute.get(hD,A);
}hD=hD.parentNode;
}}var hO={bold:hM?1:0,italic:hC?1:0,underline:hH?1:0,strikethrough:hG?1:0,fontSize:(hU==null)?hQ:hU,fontFamily:hL,insertUnorderedList:hN?1:0,insertOrderedList:hR?1:0,justifyLeft:hI?1:0,justifyCenter:hT?1:0,justifyRight:hE?1:0,justifyFull:hP?1:0};
this._processingExamineCursorContext=false;
return hO;
},getSelection:qx.core.Environment.select(dS,{"mshtml":function(){return this._getIframeDocument()?this._getIframeDocument().selection:null;
},"default":function(){return this._getIframeWindow()?this._getIframeWindow().getSelection():null;
}}),isSelectionCollapsed:qx.core.Environment.select(dS,{"mshtml":function(){return this.getSelection()&&this.getSelection().type==bo;
},"default":function(){return this.getSelection()&&this.getSelection().isCollapsed;
}}),getSelectedText:qx.core.Environment.select(dS,{"mshtml":function(){return this.getRange()?this.getRange().text:dR;
},"default":function(){return this.getRange()?this.getRange().toString():dR;
}}),getSelectedHtml:function(){if(this.__ok!=null){return this.__ok;
}var hV=this.getRange();

if(!hV){return dR;
}else{return this.__oP(hV);
}},__oP:qx.core.Environment.select(dS,{"mshtml":function(hW){if(!hW){return dR;
}return hW.item?hW.item(0).outerHTML:hW.htmlText;
},"default":function(hX){var hY=this._getIframeDocument();

if(hY&&hX){try{var ia=hY.createElement(dX);
ia.appendChild(hX.cloneContents());
return ia.innerHTML;
}catch(ib){}return hX+dR;
}return dR;
}}),clearSelection:qx.core.Environment.select(dS,{"mshtml":function(){var ic=this.getSelection();

if(ic){ic.empty();
}},"default":function(){var id=this.getSelection();

if(id){id.collapseToStart();
}}}),__oQ:qx.core.Environment.select(dS,{"gecko":function(){var ie=this.getSelection();
var ig=this.getFocusNode();
return ie&&this.isSelectionCollapsed()&&ig!=null&&qx.dom.Node.isText(ig)&&ie.anchorOffset<ig.length;
},"default":function(){return false;
}}),__oR:qx.core.Environment.select(dS,{"gecko":function(){return qx.dom.Node.isElement(this.getFocusNode());
},"default":function(){return false;
}}),getRange:function(){return this.__oS(this.getSelection());
},__oS:qx.core.Environment.select(dS,{"mshtml":function(ih){var ii=this._getIframeDocument();

if(ih){try{return ih.createRange();
}catch(ij){return ii?ii.body.createTextRange():null;
}}else{return ii?ii.body.createTextRange():null;
}},"default":function(ik){var il=this._getIframeDocument();

if(ik){try{return ik.getRangeAt(0);
}catch(im){return il?il.createRange():null;
}}else{return il?il.createRange():null;
}}}),saveRange:qx.core.Environment.select(dS,{"mshtml":function(){this.__on=this.getRange();
},"default":function(){}}),getSavedRange:qx.core.Environment.select(dS,{"mshtml":function(){return this.__on;
},"default":function(){}}),resetSavedRange:qx.core.Environment.select(dS,{"mshtml":function(){this.__on=null;
},"default":function(){}}),getFocusNode:qx.core.Environment.select(dS,{"mshtml":function(){var io=this.getSelection();
var ip;

switch(io.type){case cX:case bo:ip=this.__oS(io);

if(ip){ip.collapse(false);
return ip.parentElement();
}else{return null;
}break;
case b:ip=this.__oS(io);

if(ip){try{ip.collapse(false);
}catch(iq){}return ip.item(0);
}else{return null;
}break;
default:return this._getIframeDocument().body;
}},"default":function(){var ir=this.getSelection();

if(ir&&ir.focusNode){return ir.focusNode;
}return this._getIframeDocument().body;
}})},environment:{"qx.bom.htmlarea.HtmlArea.debug":false},destruct:function(){try{var it=this._getIframeDocument();
var iv=qx.event.Registration;
iv.removeListener(it.body,eq,this._handleKeyPress,this);
iv.removeListener(it.body,bD,this._handleKeyUp,this);
iv.removeListener(it.body,bC,this._handleKeyDown,this);
var iu=qx.core.Environment.get(dS)==dO?this._getIframeWindow():it.body;
iv.removeListener(iu,bp,this._handleFocusEvent);
iv.removeListener(iu,bu,this._handleBlurEvent);
iv.removeListener(it,bE,this._handleFocusOutEvent);
var is=qx.core.Environment.get(dS)==dQ?bv:dw;
iv.removeListener(it.body,is,this._handleMouseUpOnBody,this);
iv.removeListener(it.documentElement,is,this._handleMouseUpOnDocument,this);
iv.removeListener(it.documentElement,dU,this._handleContextMenuEvent,this);

if((qx.core.Environment.get(dS)==dQ)){qx.bom.Iframe.setSource(this.__ol,V);
}}catch(iw){}
if(this.__nX instanceof qx.core.Object){this._disposeObjects(dg);
}else{this.__nX=null;
}this.__om=this.__ol=this.__jF=this.__oi=null;
}});
})();
(function(){var d="qx.event.handler.Iframe",c="load",b="iframe",a="navigate";
qx.Class.define(d,{extend:qx.core.Object,implement:qx.event.IEventHandler,statics:{PRIORITY:qx.event.Registration.PRIORITY_NORMAL,SUPPORTED_TYPES:{load:1,navigate:1},TARGET_CHECK:qx.event.IEventHandler.TARGET_DOMNODE,IGNORE_CAN_HANDLE:false,onevent:qx.event.GlobalError.observeMethod(function(e){var f=qx.bom.Iframe.queryCurrentUrl(e);

if(f!==e.$$url){qx.event.Registration.fireEvent(e,a,qx.event.type.Data,[f]);
e.$$url=f;
}qx.event.Registration.fireEvent(e,c);
})},members:{canHandleEvent:function(g,h){return g.tagName.toLowerCase()===b;
},registerEvent:function(i,j,k){},unregisterEvent:function(l,m,n){}},defer:function(o){qx.event.Registration.addHandler(o);
}});
})();
(function(){var i="engine.name",h="load",g="",f="qx.bom.Iframe",e="osx",d="os.name",c="webkit",b="iframe",a="body";
qx.Class.define(f,{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(j,k){var j=j?qx.lang.Object.clone(j):{};
var l=qx.bom.Iframe.DEFAULT_ATTRIBUTES;

for(var m in l){if(j[m]==null){j[m]=l[m];
}}return qx.bom.Element.create(b,j,k);
},getWindow:function(n){try{return n.contentWindow;
}catch(o){return null;
}},getDocument:qx.core.Environment.select(i,{"mshtml":function(p){try{var q=this.getWindow(p);
return q?q.document:null;
}catch(r){return null;
}},"default":function(s){try{return s.contentDocument;
}catch(t){return null;
}}}),getBody:function(u){try{var v=this.getDocument(u);
return v?v.getElementsByTagName(a)[0]:null;
}catch(w){return null;
}},setSource:function(x,y){try{if(this.getWindow(x)&&qx.dom.Hierarchy.isRendered(x)){try{if((qx.core.Environment.get(i)==c)&&qx.core.Environment.get(d)==e){var z=this.getWindow(x);

if(z){z.stop();
}}this.getWindow(x).location.replace(y);
}catch(A){x.src=y;
}}else{x.src=y;
}this.__oT(x);
}catch(B){qx.log.Logger.warn("Iframe source could not be set!");
}},queryCurrentUrl:function(C){var D=this.getDocument(C);

try{if(D&&D.location){return D.location.href;
}}catch(E){}return g;
},__oT:function(F){var G=function(){qx.bom.Event.removeNativeListener(F,h,G);
F.$$url=qx.bom.Iframe.queryCurrentUrl(F);
};
qx.bom.Event.addNativeListener(F,h,G);
}}});
})();
(function(){var cw="engine.name",cv="",cu="legacy-font-size",ct="mshtml",cs="inserthtml",cr='color',cq="text-decoration",cp=';',co="p",cn="span",bx="__pl",bw="transparent",bv="id",bu="InsertHtml",bt='">',bs="child",br="gecko",bq="font-family",bp="text-align",bo='text-decoration',cD="BackColor",cE="FontSize",cB="/>",cC="<img ",cz="</font>",cA="backgroundPosition",cx="font-size",cy="string",cF="background-color",cG="backgroundRepeat",bV="font",bU=":",bX="='",bW=" ",ca=";",bY="body",cc="px",cb="__pm",bT="backgroundImage",bS="Control",a="__paragraph__",b='|',c=':',d="qx.bom.htmlarea.HtmlArea.debug",f="size",g="' ",h="webkit",m="textDecoration",n="BODY",o="undefined",cR="backgroundColor",cQ="_moz",cP="top",cO="formatBlock",cV="__pJ",cU="insertParagraph",cT="li",cS='<span style="',cX="__ph",cW="no-repeat",N=' <a href="',O="FONT",L="__pB",M="|top|bottom|center|left|right|right top|left top|left bottom|right bottom|",R="__placeholder__",S='font-family:',P="<p style='",Q="outdent",J='</a> ',K="InsertImage",w="__resetHtml",v="FontName",y="bold",x="blockquote",s="__pC",r="underline",u="__pq",t="style",q="__pr",p="qx.bom.htmlarea.manager.Command",X="'><br class='webkit-block-placeholder' />",Y="__pz",ba='"',bb="a",T="__pD",U="type",V="CreateLink",W="italic",bc="qx_link",bd="__pE",G="none",F='"></span>',E="Italic",D="fontStyle",C="InsertUnorderedList",B="OL",A='text-align:',z="Bold",I="ForeColor",H="url(",be='" ',bf="repeat repeat-x repeat-y no-repeat",bg='</p>',bh="<hr />",bi="UL",bj="__pF",bk='<font style="',bl="IMG",bm='<p id="',bn="StrikeThrough",bB="LI",bA="__getHtml",bz='>',by='" size="',bF="Indent",bE="HiliteColor",bD="br",bC="fontWeight",bH="Copy",bG="</span>",bO="Paste",bP="RemoveFormat",bM="__pH",bN="JustifyRight",bK='',bL='style="',bI="JustifyCenter",bJ="_moz_dirty",bQ="color",bR="JustifyLeft",cg="Underline",cf="SelectAll",ci="Cut",ch="line-through",ck=")",cj="__pI",cm="href",cl='<span id="',ce="<span></span>",cd="JustifyFull",cK="__po",cL="__pK",cM="__pA",cN="Outdent",cH="indent",cI="selectall",cJ="InsertOrderedList";
qx.Class.define(p,{extend:qx.core.Object,construct:function(cY){qx.core.Object.call(this);
this.__oU=cY;
this.__kB=null;
this._commands=null;
this.__pc();
this.__oV={"Bold":true,"Italic":true,"Underline":true,"StrikeThrough":true};
this.__oW=[10,12,16,18,24,32,48];
this.__oX=0;
},statics:{__oY:M,__pa:bf},members:{__kB:null,__oU:null,__pb:false,__oV:null,__oW:null,__oX:null,setContentDocument:function(da){this.__kB=da;
},getCommandObject:function(db){if(this._commands[db]){return this._commands[db];
}else{return null;
}},__pc:function(){this._commands={bold:{useBuiltin:false,identifier:z,method:bM},italic:{useBuiltin:false,identifier:E,method:cj},underline:{useBuiltin:false,identifier:cg,method:cV},strikethrough:{useBuiltin:false,identifier:bn,method:cL},fontfamily:{useBuiltin:true,identifier:v,method:null},fontsize:{useBuiltin:false,identifier:cE,method:Y},textcolor:{useBuiltin:true,identifier:I,method:null},textbackgroundcolor:{useBuiltin:false,identifier:null,method:cM},backgroundcolor:{useBuiltin:false,identifier:null,method:L},backgroundimage:{useBuiltin:false,identifier:null,method:s},justifyleft:{useBuiltin:false,identifier:bR,method:bx},justifyright:{useBuiltin:false,identifier:bN,method:bx},justifycenter:{useBuiltin:false,identifier:bI,method:bx},justifyfull:{useBuiltin:false,identifier:cd,method:bx},indent:{useBuiltin:true,identifier:bF,method:null},outdent:{useBuiltin:true,identifier:cN,method:null},copy:{useBuiltin:true,identifier:bH,method:null},cut:{useBuiltin:true,identifier:ci,method:null},paste:{useBuiltin:true,identifier:bO,method:null},insertorderedlist:{useBuiltin:false,identifier:cJ,method:cb},insertunorderedlist:{useBuiltin:false,identifier:C,method:cb},inserthorizontalrule:{useBuiltin:false,identifier:bu,method:q},insertimage:{useBuiltin:false,identifier:K,method:cK},inserthyperlink:{useBuiltin:false,identifier:V,method:u},selectall:{useBuiltin:false,identifier:cf,method:T},selectedtext:{useBuiltin:false,identifier:null,method:bd},selectedhtml:{useBuiltin:false,identifier:null,method:bj},inserthtml:{useBuiltin:false,identifier:bu,method:cX},resethtml:{useBuiltin:false,identifier:null,method:w},gethtml:{useBuiltin:false,identifier:null,method:bA},removeformat:{useBuiltin:true,identifier:bP,method:null}};
},execute:function(dc,dd){if(!this.__oU.isReady()){this.error("editor not ready! '"+dc+"':'"+dd+"'");
return false;
}dc=dc.toLowerCase();
dd=dd!=null?dd:null;
if(this._commands[dc]){var de;
var df=this._commands[dc];
if(!((qx.core.Environment.get(cw)==h)&&(dc==cH||dc==Q))){if(this.__pd()){this.__pe();
}}if(df.useBuiltin){de=this.__pf(df.identifier,false,dd);
}else{if(df.method!=null&&this[df.method]){de=this[df.method].call(this,dd,df);
}else{this.error("The method '"+df.method+"' you calling to execute the command '"+dc+"' is not available!");
}}this.__oU.resetSavedRange();
return de;
}else{this.error("Command "+dc+" is currently not supported!");
}},__pd:function(){var Node=qx.dom.Node;
var dg=this.__oU.getFocusNode();
var dj=false;
var dh=false;

if(dg){if(Node.isText(dg)){var di=qx.dom.Hierarchy.getAncestors(dg);

for(var i=0,j=di.length;i<j;i++){if(Node.isNodeName(di[i],co)||qx.bom.htmlarea.HtmlArea.isHeadlineNode(di[i])){dj=true;
break;
}}}else if(Node.isNodeName(dg,bY)){dh=true;
}}return dh||!dj;
},__pe:function(){this.__pf(cO,false,co);
},__pf:function(dk,dl,dm){try{var dq=this.__kB;
var dn=false;
var dp=this.__oU.getRange();
this.__kB.body.focus();
if((qx.core.Environment.get(cw)==ct)){if(dk!=cI){dp.select();
if(((dp.text)&&(dp.text.length>0))||((dp.length==1)&&(dp.item(0))&&(dp.item(0).tagName==bl))){dq=dp;
}else{dq=this.__kB;
}}if(((qx.core.Environment.get(cw)==ct))&&(this.__oV[dk])){if(dp.text==cv){dn=true;
}}}var dr=dq.execCommand(dk,dl,dm);

if(dn&&dp.text!=cv){dp.collapse();
}
if((false)&&qx.core.Environment.get(d)){this.debug("execCommand "+dk+" with value "+dm+" succeded");
}this.__pb=false;
}catch(ds){if((false)&&qx.core.Environment.get(d)){this.debug("execCommand "+dk+" with value "+dm+" failed");
}return false;
}return dr;
},__pg:qx.core.Environment.select(cw,{"mshtml":function(){var du=this.__oU;
var dt=du.getSavedRange()!=null?du.getSavedRange():du.getRange();
return dt;
},"default":function(){return this.__oU.getRange();
}}),__ph:qx.core.Environment.select(cw,{"mshtml":function(dv,dw){var dz;
if(dv==qx.bom.htmlarea.HtmlArea.simpleLinebreak){return this.__pk();
}else{this.__kB.body.focus();
var dy=this.__oU.getSelection();
var dx=this.__pg();
if(dx&&dy&&dy.type!=bS){try{dx.pasteHTML(dv);
dx.collapse(false);
dx.select();
dz=true;
}catch(e){}}else{dz=false;
}this.__oU.resetSavedRange();
return dz;
}},"default":function(dA,dB){this.__kB.body.focus();
return this.__kB.execCommand(dB.identifier,false,dA);
}}),insertParagraphOnLinebreak:qx.core.Environment.select(cw,{"gecko":function(){var dJ=this.__pu();
var dN=this.__pi(dJ);
var dF=this.__ps(dJ);
var dK=R+Date.parse(new Date());
var dL=a+Date.parse(new Date());
var dD=bK;
var dH=cl+dK+F;
dD+=dH;
dD+=bm+dL+be+dN+bz;
dD+=dF+bg;
this.__oU.getCommandManager().addUndoStep(cs,cU,this.getCommandObject(cs));
this.execute(cs,dD);
this.__pj();
qx.bom.element.Attribute.reset(this.__kB.getElementById(dK),bv);
var dI=this.__kB.getElementById(dL);

if(dI.previousSibling.innerHTML==dH){var dC=this.__pt();
var dG=this.__kB.createElement(bD);
var dE=this.__kB.createAttribute(bJ);
dE.nodeValue=cv;
dG.setAttributeNode(dE);
var dM=this.__kB.createAttribute(U);
dM.nodeValue=cQ;
dG.setAttributeNode(dM);
dI.previousSibling.appendChild(dC);
dI.previousSibling.appendChild(dG);
}qx.bom.element.Attribute.reset(dI,bv);
return true;
},"webkit":function(){var dO=this.getCurrentStyles();
var dP=cv;
var dR={"background-color":true,"text-align":true};
for(var dQ in dO){if(dR[dQ]){dP+=dQ+bU+dO[dQ]+ca;
}}this.__oU.insertHtml(P+dP+X);
},"default":qx.lang.Function.empty}),__pi:qx.core.Environment.select(cw,{"gecko":function(dS){var dX=bL;
var dW=dS.child;
if(dW[bp]){dX+=A+dW[bp]+cp;
delete dS.child[bp];
}if(dW[bq]){dX+=S+dW[bq]+cp;
delete dS.child[bq];
}var dV={"padding-top":true,"padding-bottom":true,"padding-left":true,"padding-right":true};
var dT={"margin-top":true,"margin-bottom":true,"margin-left":true,"margin-right":true};

for(var dU in dW){if(dV[dU]||dT[dU]){dX+=dU+c+dW[dU]+cp;
delete dS.child[dU];
}}dX+=ba;
return dX;
},"default":function(){return cv;
}}),__pj:qx.core.Environment.select(cw,{"gecko":function(){var eg=this.__oU.getSelection();

if(!eg||!eg.focusNode){return;
}var dY=eg.focusNode;
var ee=eg.focusNode;

while(!qx.dom.Node.isNodeName(ee,co)){ee=ee.parentNode;
}var ed=ee.previousSibling.id;
var eh=ee.nextSibling?ee.nextSibling.id:null;

if(qx.lang.String.startsWith(ed,a)&&ed==eh){var ef=ee.nextSibling;
var eb=this.__oU.getRange();
eb.selectNode(ef);
eg.addRange(eb);
var ea=qx.bom.htmlarea.HtmlArea.EMPTY_DIV;
this.__oU.getCommandManager().addUndoStep(cs,ea,this.getCommandObject(cs));
this.execute(cs,ea);
var ec=this.__oU.getRange();

if(dY){while(dY&&dY.firstChild&&qx.dom.Node.isElement(dY.firstChild)){dY=dY.firstChild;
}}ec.selectNode(dY);
eg.addRange(ec);
ec.collapse(true);
}},"default":qx.lang.Function.empty}),__pk:qx.core.Environment.select(cw,{"mshtml":function(){var ei=this.__oU.getRange();
if(ei&&!qx.dom.Node.isNodeName(ei.parentElement(),cT)){ei.pasteHTML(qx.bom.htmlarea.HtmlArea.simpleLinebreak);
ei.collapse(false);
ei.select();
return true;
}return false;
},"default":function(){return false;
}}),__pl:function(ej,ek){var el=(qx.core.Environment.get(cw)==ct)?this.__oU.getRange():this.__kB;
return el.execCommand(ek.identifier,false,ej);
},__pm:function(em,en){if((qx.core.Environment.get(cw)==ct)){var eo=this.__oU.getFocusNode();
this.__pn(eo);
}this.__kB.body.focus();
var ep=this.__kB.execCommand(en.identifier,false,em);

if((qx.core.Environment.get(cw)==h)){var eo=this.__oU.getFocusNode();
this.__pn(eo.parentNode);
}return ep;
},__pn:function(eq){var er=[];
var parent=eq.parentNode;

while(qx.dom.Node.isNodeName(parent,x)){er.push(parent);
parent=parent.parentNode;
}if(er.length>0){parent.appendChild(eq);
parent.removeChild(er[er.length-1]);
}},__po:qx.core.Environment.select(cw,{"gecko":function(es,et){if(es.src){this.__kB.execCommand(et.identifier,false,es.src);
delete es.src;
var eH=this.__oU.getSelection();
if(eH){var eG=eH.anchorNode;
var eB=eH.anchorOffset;
var ey=eG.childNodes[eB-1];
var eE;

for(var eA in es){eE=this.__kB.createAttribute(eA);
eE.nodeValue=es[eA];
ey.setAttributeNode(eE);
}var ez={"font":true,"span":true};
var ev=null;
var eD=true;
if(qx.dom.Node.isElement(ey.previousSibling)&&ez[qx.dom.Node.getName(ey.previousSibling)]){ev=ey.previousSibling;
}else if(ez[qx.dom.Node.getName(ey.parentNode)]){ev=ey.parentNode;
eD=false;
}var ew=this.__kB.createDocumentFragment();
var eI;

if(eD&&ev!=null){var ez=this.__pp(ev);
ew.appendChild(ez.root);
eI=ez.inline;
}else{eI=this.__kB.createElement(cn);
ew.appendChild(eI);
}var eF=this.__kB.createTextNode(cv);
eI.appendChild(eF);
var eC=ey.parentNode;
if(ey==eC.lastChild){eC.appendChild(ew);
}else{eC.insertBefore(ew,ey.nextSibling);
}var eu=this.__oU.getRange();
eu.selectNodeContents(eI);
}return true;
}else{return false;
}},"mshtml":function(eJ,eK){var eO=false;
var eP=cC;

for(var eL in eJ){eP+=eL+bX+eJ[eL]+g;
}eP+=cB;
var eM=this.__oU.getSelection();
var eN=this.__pg();
if(eM&&eM.type!=bS){try{eN.select();
eN.pasteHTML(eP);
eO=true;
}catch(e){}}this.__oU.resetSavedRange();
return eO;
},"default":function(eQ,eR){if(eQ.src){var eT=cC;

for(var eS in eQ){eT+=eS+bX+eQ[eS]+g;
}eT+=cB;
return this.__kB.execCommand(bu,false,eT);
}else{return false;
}}}),__pp:function(eU){while(eU.firstChild&&eU.firstChild.nodeType==1){eU=eU.firstChild;
}var eY=this.__pu(eU);
var fd,eW,fb;
var eV=cv;
var parent=null;
var fc=null;
var fa=eY.child;

while(fa){fc=this.__kB.createElement(fa[cu]?bV:cn);
eW=this.__kB.createAttribute(t);
fc.setAttributeNode(eW);
for(var eX in fa){if(eX!=bs&&eX!=cu){eV+=eX+bU+fa[eX]+ca;
}else if(eX==cu){fb=this.__kB.createAttribute(f);
fb.nodeValue=fa[eX];
fc.setAttributeNode(fb);
}}eW.nodeValue=eV;

if(parent!=null){parent.appendChild(fc);
}else{fd=fc;
}parent=fc;
fa=fa.child;
eV=cv;
}return {root:fd,inline:fc};
},__pq:qx.core.Environment.select(cw,{"gecko|opera":function(fe,ff){var fl=this.__oU.getSelection();
var fi=this.__oU.getRange();
if(fl.isCollapsed){var fh=bc+(++this.__oX);
var fm=this.__kB.createElement(bb);
var fj=this.__kB.createAttribute(cm);
var fg=this.__kB.createAttribute(bv);
var fk=this.__kB.createTextNode(fe);
fg.nodeValue=fh;
fm.setAttributeNode(fg);
fj.nodeValue=fe;
fm.setAttributeNode(fj);
fm.appendChild(fk);
fi.insertNode(fm);
fi.selectNode(fm);
fl.collapseToEnd();
return true;
}else{return this.__kB.execCommand(ff.identifier,false,fe);
}},"mshtml":function(fn,fo){try{var fq;
var fp=this.__pg();
var fr=this.__oU;
var fp=fr.getSavedRange()!=null?fr.getSavedRange():fr.getRange();

if(fp!=null&&fp.text!=cv){fq=fp.execCommand(fo.identifier,false,fn);
}else{fq=this.__ph(N+fn+bt+fn+J,fo);
}this.__oU.resetSavedRange();
return fq;
}catch(e){return false;
}},"default":function(fs,ft){return this.__kB.execCommand(ft.identifier,false,fs);
}}),__pr:function(fu,fv){var fw=bh;
if((qx.core.Environment.get(cw)==br)){fw+=this.__ps();
}return this.__ph(fw,fv);
},__ps:function(fx){var fB=cv;
var fA=cS;
var fz=[];
var fE=typeof fx!==o?fx:this.__pu();
var fC=fE.child;
var fD=false;
if(qx.lang.Object.isEmpty(fC)){return cv;
}
while(fC){fD=fC[cu]!=null;
fB+=fD?bk:fA;

for(var fy in fC){fB+=(fy!=bs&&fy!=cu)?fy+c+fC[fy]+cp:cv;
}fB+=fD?by+fC[cu]+bt:bt;
fz.unshift(fD?cz:bG);
fC=fC.child;
}if(fz.length==1&&fz[0]==cz){fB+=ce;
}for(var i=0,j=fz.length;i<j;i++){fB+=fz[i];
}return fB;
},__pt:function(){var fG=this.__kB.createDocumentFragment();
var fL=this.__pu();
var parent=fG;
var fJ=fL.child;
var fH;
var fK=false;

while(fJ){fK=fJ[cu]!=null;
fH=this.__kB.createElement(fK?bV:cn);
parent.appendChild(fH);
for(var fF in fJ){if(fF!=bs&&fF!=cu){qx.bom.element.Style.set(fH,fF,fJ[fF]);
}}
if(fK){var fI=this.__kB.createAttribute(f);
fI.nodeValue=fJ[cu];
fH.setAttributeNode(fI);
}parent=fH;
fJ=fJ.child;
}return fG;
},__pu:function(fM){var fO={};
var fP=null;
var fQ=this.getCurrentStyles(fM);
fP=fO.child={};

for(var fN in fQ){if(fN!=cq){fP[fN]=fQ[fN];
}}if(fQ[cq]){var fR=fQ[cq];
for(var i=0,j=fR.length;i<j;i++){if(fP==null){fP=fO.child={};
}else{fP=fP.child={};
}fP[cr]=fR[i][cr];
fP[bo]=fR[i][bo];
}}if(fQ[cr]&&fQ[bo]){fP=fP.child={};
fP[cr]=fQ[cr];
}return fO;
},getCurrentStyles:function(fS){if(fS==null){var fU=this.__oU.getSelection();

if(!fU||fU.focusNode==null){return {};
}fS=(fU.focusNode.nodeType==3)?fU.focusNode.parentNode:fU.focusNode;
}var fV=qx.dom.Hierarchy.getAncestors(fS);
var fX=qx.lang.Array.insertBefore(fV,fS,fV[0]);
var fT=this.__pv(fX);
var fW=this.__pw(fT,fX);
return fW;
},__pv:function(fY){var gc={};
var ga,gb;

for(var i=0,j=fY.length;i<j;i++){gb=fY[i];

for(var k=0,l=gb.style.length;k<l;k++){ga=gb.style[k];

if(ga.length>0&&typeof gc[ga]===o){gc[ga]=gb.style.getPropertyValue(ga);
}}if(gb.tagName.toUpperCase()==O&&gb.size&&gc[cu]===undefined){gc[cu]=gb.size;
}}if(gc[cu]&&gc[cx]){delete gc[cx];
}return gc;
},__pw:function(gd,ge){var gj=ge[0];
var gh=this.__oU.getContentWindow().getComputedStyle(gj,null);
var gf;
var gi={};

for(var gg in gd){if(gg!=cu){gf=gh.getPropertyValue(gg);
}else{gf=gd[gg];
}if(gg==cF&&gf==bw){gi[gg]=this.__py(ge);
}else if(gg==cq){gi[gg]=this.__px(ge);
}else{gi[gg]=gf;
}}return gi;
},__px:function(gk){var gn,gp,gl;
var go=[];
var gm=this.__oU.getContentWindow();

for(var i=0,j=gk.length;i<j;i++){gl=gm.getComputedStyle(gk[i],null);
gn=gl.getPropertyValue(cq);
gp=gl.getPropertyValue(bQ);
if(gn!=G){go.push({'text-decoration':gn,'color':gp});
}}return go;
},__py:function(gq){var gs,gr,gt;

for(var i=0;i<gq.length;i++){gs=gq[i];
gr=this.__oU.getContentWindow().getComputedStyle(gs,null);
gt=gr.getPropertyValue(cF);
if(gt!=bw){return gt;
}}},__pz:function(gu,gv){var gH=this.__oU.getSelection();
var gC=((qx.core.Environment.get(cw)==ct))?this.__oU.getRange():gC=gH.getRangeAt(0);
var gD=[];
var gG;
var gB=[B,bi];
var gw,i,j,gE;
gE=((qx.core.Environment.get(cw)==ct))?gC.parentElement():gC.commonAncestorContainer;
if(gE.tagName==n){for(var i=0;i<gB.length;i++){gw=gE.getElementsByTagName(gB[i]);

for(var j=0;j<gw.length;j++){if(gw[j]){gD.push(gw[j]);
}}}}else if(qx.lang.Array.contains(gB,gE.tagName)){gD.push(gE);
}
if(gD.length>0){for(var i=0;i<gD.length;i++){var gy=gD[i];
gG=((qx.core.Environment.get(cw)==ct))?((gy==gE)||(gE.tagName==n)):gH.containsNode(gy,false);
for(j=0;j<gy.childNodes.length;j++){var gA=gy.childNodes[j];
if(gG||(gH.focusNode.nodeValue&&qx.dom.Hierarchy.contains(gA,gH.focusNode)&&(gH.focusOffset==gH.focusNode.nodeValue.length))||(qx.dom.Hierarchy.contains(gA,gH.anchorNode)&&(gH.anchorOffset==0))||(gH.containsNode(gA,false))){gA.style.fontSize=(this.__oW[gu]||gu)+cc;
}}}}else{var gz=((qx.core.Environment.get(cw)==ct))?gE:gH.focusNode;
var gF=qx.dom.Hierarchy.getAncestors(gz);

for(i=0;i<gF.length;i++){if(gF[i].tagName==bB){if((((qx.core.Environment.get(cw)==br))&&((gH.anchorOffset==0)&&(gH.focusNode.nodeValue&&(gH.focusOffset==gH.focusNode.nodeValue.length))&&qx.dom.Hierarchy.contains(gF[i].firstChild,gH.anchorNode)&&qx.dom.Hierarchy.contains(gF[i].lastChild,gH.focusNode)))||(((qx.core.Environment.get(cw)==ct))&&(gC.htmlText==gF[i].innerHTML))){gF[i].style.fontSize=(this.__oW[gu]||gu)+cc;
}break;
}}}if((qx.core.Environment.get(cw)==ct)){this.__kB.body.focus();
this.__oU.getRange().select();
return this.__kB.execCommand(cE,false,gu);
}else if((qx.core.Environment.get(cw)==br)){var parent=gC.commonAncestorContainer;
if(parent.nodeType===1){var gx=parent.getElementsByTagName(cn);

for(i=0;i<gx.length;i++){if(gx[i].style.fontSize){gx[i].style.fontSize=null;
}}}}return this.__kB.execCommand(cE,false,gu);
},__pA:qx.core.Environment.select(cw,{"mshtml":function(gI,gJ){this.__kB.body.focus();
return this.__kB.execCommand(cD,false,gI);
},"gecko|opera":function(gK,gL){this.__kB.body.focus();
return this.__kB.execCommand(bE,false,gK);
},"webkit":function(gM,gN){var gO=this.__oU.getSelection();
var gP=this.__oU.getRange();
if(!gO||!gO.isCollapsed){this.__kB.body.focus();
this.__kB.execCommand(cD,false,gM);
if(gO){gO.collapseToEnd();
}return true;
}else{var gR=gO.anchorOffset;
var gS=gO.anchorOffset;
var gP=gO.getRangeAt(0);
var gQ=gO.anchorNode;
while(gS>0){if(gQ.nodeValue.charCodeAt(gS)==160||gQ.nodeValue.charCodeAt(gS)==32){break;
}else{gS--;
}}while(gR<gQ.nodeValue.length){if(gQ.nodeValue.charCodeAt(gR)==160||gQ.nodeValue.charCodeAt(gR)==32){break;
}else{gR++;
}}gP.setStart(gO.anchorNode,gO.anchorNode.nodeValue.charAt(gS)==bW?gS+1:gS);
gP.setEnd(gO.anchorNode,gR);
gO.addRange(gP);
this.__kB.body.focus();
this.__kB.execCommand(cD,false,gM);
gO.collapseToEnd();
return true;
}}}),__pB:function(gT,gU){gT=gT!=null&&typeof gT==cy?gT:bw;
qx.bom.element.Style.set(this.__kB.body,cR,gT);
return true;
},__pC:function(gV,gW){var gX,ha,gY;
var hb=qx.bom.htmlarea.manager.Command;

if(gV==null){gX=null;
}else{gX=gV[0];
ha=gV[1];
gY=gV[2];
}if(gX==null||typeof gX!=cy){qx.bom.element.Style.set(this.__kB.body,bT,cv);
qx.bom.element.Style.set(this.__kB.body,cG,cv);
qx.bom.element.Style.set(this.__kB.body,cA,cv);
return true;
}else{if(gX.search(/^url.*\(/)==-1){gX=H+gX+ck;
}}if(ha!=null&&!qx.lang.String.contains(hb.__pa,ha)){return false;
}else{ha=cW;
}
if(gY!=null){if(qx.lang.Type.isString(gY)&&!qx.lang.String.contains(hb.__oY,b+gY+b)){return false;
}else{if(qx.lang.Type.isArray(gY)&&gY.length==2){gY=gY[0]+bW+gY[1];
}else{return false;
}}}else{gY=cP;
}qx.bom.element.Style.set(this.__kB.body,bT,gX);
qx.bom.element.Style.set(this.__kB.body,cG,ha);
qx.bom.element.Style.set(this.__kB.body,cA,gY);
return true;
},__pD:qx.core.Environment.select(cw,{"mshtml":function(hc,hd){var he=this.__kB.body.createTextRange();
he.select();
return true;
},"default":function(hf,hg){return this.__pf(hg.identifier,false,hf);
}}),__pE:function(){return this.__oU.getSelectedText();
},__pF:function(){return this.__oU.getSelectedHtml();
},__pG:function(hh,hi){var hm=this.__oU.getFocusNode();

if(hm.textContent==cv){var hk=qx.dom.Hierarchy.getAncestors(hm);
hk.unshift(hm);
var Node=qx.dom.Node;
var hj=qx.bom.element.Style;
var hl=hk.shift();

while(hk.length>0){if(Node.getName(hl)==co||Node.getName(hl)==bY){break;
}if(hj.get(hl,hh,hj.LOCAL_MODE)==hi){hj.reset(hl,hh);
return true;
}hl=hk.shift();
}}return false;
},__pH:qx.core.Environment.select(cw,{"gecko":function(hn,ho){if(this.__pG(bC,y)){return true;
}else{return this.__pf(ho.identifier,false,hn);
}},"default":function(hp,hq){return this.__pf(hq.identifier,false,hp);
}}),__pI:qx.core.Environment.select(cw,{"gecko":function(hr,hs){if(this.__pG(D,W)){return true;
}else{return this.__pf(hs.identifier,false,hr);
}},"default":function(ht,hu){return this.__pf(hu.identifier,false,ht);
}}),__pJ:qx.core.Environment.select(cw,{"gecko":function(hv,hw){if(this.__pG(m,r)){return true;
}else{return this.__pf(hw.identifier,false,hv);
}},"default":function(hx,hy){return this.__pf(hy.identifier,false,hx);
}}),__pK:qx.core.Environment.select(cw,{"gecko":function(hz,hA){if(this.__pG(m,ch)){return true;
}else{return this.__pf(hA.identifier,false,hz);
}},"default":function(hB,hC){return this.__pf(hC.identifier,false,hB);
}})},destruct:function(){this.__kB=this.__oU=this._commands=null;
this.__oV=this.__oW=null;
}});
})();
(function(){var m="engine.name",l="Command",k="mshtml",h="gecko",g="Custom",f="Content",d="Internal",c="inserthtml",b="backgroundimage",a="backgroundcolor",bh="webkit",bg="backgroundColor",bf="mousedown",be="table",bd="backgroundImage",bc="backgroundRepeat",bb="p",ba="backgroundPosition",Y="td",X="img",t="inserthyperlink",u="mouseup",r="keypress",s="qx.bom.htmlarea.HtmlArea.debug",p="undo",q="pageup",n="__nX",o="b",x="control",y="shift",G="end",E="right",N="qx_link",I="insertunorderedlist",T="Undo",R="pagedown",A="k",W="home",V="a",U="insertorderedlist",z="y",C="justifyright",D="redo",F="insertParagraph",H="qx.bom.htmlarea.manager.UndoRedo",J="left",O="i",S="u",v="enter",w="Redo",B="insertimage",M="z",L="undoRedoState",K="down",Q="up",P="body";
qx.Class.define(H,{extend:qx.core.Object,construct:function(bi,bj){qx.core.Object.call(this);
this.__nX=bi;
this.__oU=bj;
this.__pL=[];
this.__pM=[];
this._commands=null;
this.__kB=null;
this.__pN={};
this.__pO={command:true,content:true,custom:true};
this.__pc();
this.__pP=qx.lang.Function.bind(this._handleKeyPress,this);
this.__pQ=qx.lang.Function.bind(this._handleMouseUp,this);

if((qx.core.Environment.get(m)==k)){this.__pR=qx.lang.Function.bind(this._handleMouseDown,this);
}},members:{__pS:false,__pT:false,__pU:false,__pO:null,__pN:null,__nX:null,__kB:null,__pL:null,__pM:null,__oU:null,__pP:null,__pQ:null,__pR:null,__pV:null,setContentDocument:function(bk){this.__kB=bk;
this.__nX.setContentDocument(bk);
qx.event.Registration.addListener(bk.body,r,this.__pP,this);
qx.event.Registration.addListener(bk.body,u,this.__pQ,this);

if((qx.core.Environment.get(m)==k)){qx.event.Registration.addListener(bk.body,bf,this.__pR,this,true);
}},insertParagraphOnLinebreak:function(){return this.__nX.insertParagraphOnLinebreak();
},execute:function(bl,bm){var bn;
bl=bl.toLowerCase();
if(this._commands[bl]){if(this._commands[bl].passthrough){bn=this.__nX.execute(bl,bm);
}else{bn=this[bl].call(this);
}}else{if((qx.core.Environment.get(m)==k)||(qx.core.Environment.get(m)==bh)){this.__qn(bl,bm,this.__nX.getCommandObject(bl));
bn=this.__nX.execute(bl,bm);
if(!bn){this.__pL.pop();
}}else{bn=this.__nX.execute(bl,bm);

if(bn){this.__qn(bl,bm,this.__nX.getCommandObject(bl));
}}
if(bl==p&&this.__pL.length==0){this.__pT=false;
this.__qv();
}else if(bl==D&&this.__pM.length==0){this.__pS=false;
this.__qv();
}}this.__pU=false;
return bn;
},addUndoStep:function(bo,bp,bq){this.__qn(bo,bp,bq);
},registerHandler:function(br,bs,bt,bu){this.__pN[br]={undo:bs,redo:bt,context:bu};
},isUndoPossible:function(){return this.__pT;
},undo:function(){var bx;

if(this.__pU){this.__qp();
}if(this.__pL.length>0){var bw=this.__pL.pop();

if(this.__pO[bw.actionType.toLowerCase()]){switch(bw.actionType){case l:bx=this.__pX(bw);
break;
case f:bx=this.__qc(bw);
break;
case d:bx=this.__qb(bw);
break;
case g:bx=this.__pW(bw);
break;
}}else if(this.__pN[bw.actionType]){var bv=this.__pN[bw.actionType];
bx=bv.undo.call(bv.context?bv.context:this,bw);
this.__qr(bw);
}else{this.error("actionType "+bw.actionType+" is not managed! Please provide a handler method!");
}this.__pS=true;
this.__qv();
return bx;
}},__pW:qx.core.Environment.select(m,{"mshtml|webkit":function(by){var bz=this.__kB.body.innerHTML;
var bB=by.content;
this.__kB.body.innerHTML=bB;
var bA=by;
bA.content=bz;
this.__qr(bA);
return true;
},"default":function(bC){var bG=bC;
var bF=qx.bom.element.Style;
switch(bC.command){case a:bG.parameter=[bF.get(this.__kB.body,bg)];
break;
case b:bG.parameter=[bF.get(this.__kB.body,bd),bF.get(this.__kB.body,bc),bF.get(this.__kB.body,ba)];
break;
}this.__qr(bG);
if(bC.command==t){if((qx.core.Environment.get(m)==h)){var bE=N+this.__nX.__hyperLinkId;
var bD=this.__kB.getElementById(bE);

if(bD){bD.parentNode.removeChild(bD);
return true;
}else{return false;
}}}else{return this.__nX.execute(bC.command,bC.value);
}}}),__pX:qx.core.Environment.select(m,{"mshtml|webkit":function(bH){},"default":function(bI){this.__qr(bI);

if((qx.core.Environment.get(m)==h)){if(bI.command==c&&bI.value==qx.bom.htmlarea.HtmlArea.EMPTY_DIV&&this.__pY(c,F)){this.__qa();
}}return this.__qd();
}}),__pY:function(bJ,bK){if(this.__pL.length>0){var bL=this.__pL[this.__pL.length-1];
return (bL.command==bJ&&bL.value==bK);
}return false;
},__qa:function(){this.__qd();

if(this.__pL.length>0){var bM=this.__pL.pop();
this.__qr(bM);
}},__qb:function(bN){this.__qr(bN);
return this.__qd();
},__qc:qx.core.Environment.select(m,{"gecko":function(bO){this.__qr(bO);

try{return this.__qd();
}catch(bP){}},"mshtml|webkit":function(bQ){},"default":function(bR){this.__qr(bR);
return this.__qd();
}}),__qd:function(){try{return this.__kB.execCommand(T,false,null);
}catch(e){return false;
}},isRedoPossible:function(){return this.__pS;
},redo:function(){if(this.__pS){var bT;
if(this.__pM.length>0){var bU=this.__pM.pop();

if(this.__pO[bU.actionType.toLowerCase()]){switch(bU.actionType){case l:bT=this.__qf(bU);
break;
case f:bT=this.__ql(bU);
break;
case d:bT=this.__qk(bU);
break;
case g:bT=this.__qe(bU);
break;
}}else if(this.__pN[bU.actionType]){var bS=this.__pN[bU.actionType];
bT=bS.redo.call(bS.context?bS.context:this,bU);
this.__qq(bU);
}else{this.error("actionType "+bU.actionType+" is not managed! Please provide a handler method!");
}this.__pT=true;
this.__qv();
}return bT;
}},__qe:qx.core.Environment.select(m,{"mshtml|webkit":function(bV){var bW=this.__kB.body.innerHTML;
var bY=bV.content;
this.__kB.body.innerHTML=bY;
var bX=bV;
bX.content=bW;
this.__qq(bX);
return true;
},"default":function(ca){this.__qq(ca);
return this.__qm();
}}),__qf:qx.core.Environment.select(m,{"mshtml|webkit":function(cb){},"default":function(cc){this.__qq(cc);
var cd=this.__qm();

if((qx.core.Environment.get(m)==h)){if(this.__qg(c,qx.bom.htmlarea.HtmlArea.EMPTY_DIV)){var ce=this.__qh();
this.__qi();

if(ce!=null){this.__qj(ce);
}}}return cd;
}}),__qg:function(cf,cg){if(this.__pM.length>0){var ch=this.__pM[this.__pM.length-1];
return (ch.command==cf&&ch.value==cg);
}return false;
},__qh:function(){if(this.__oU==null){return null;
}var ci=this.__oU.getSelection();
var cj=ci?ci.focusNode:null;

if(cj==null){return null;
}
try{while(cj.nodeName.toLowerCase()!=bb){cj=cj.parentNode;

if(!cj||qx.dom.Node.isNodeName(cj,P)){return null;
}}}catch(ck){return null;
}
if(cj!=null&&qx.dom.Node.isNodeName(cj,bb)){return cj;
}else{return null;
}},__qi:function(){var cl=this.__pM.pop();
this.__qq(cl);
this.__qm();
},__qj:qx.core.Environment.select(m,{"gecko":function(cm){if(cm==this.__oU.getContentBody().lastChild){return;
}var cp=cm.firstChild;

while(cp.firstChild){cp=cp.firstChild;
}var cn=this.__oU.getSelection();
var co=this.__oU.getRange();

if(cn&&co){co.selectNode(cp);
cn.addRange(co);
co.collapse(true);
}},"default":qx.lang.Function.empty}),__qk:function(cq){this.__qq(cq);
return this.__qm();
},__ql:qx.core.Environment.select(m,{"mshtml|webkit":function(cr){},"default":function(cs){this.__qq(cs);
return this.__qm();
}}),__qm:function(){try{return this.__kB.execCommand(w,false,null);
}catch(e){return false;
}},__pc:function(){this._commands={undo:{passthrough:false},redo:{passthrough:false}};
this.__nX.getCommandObject(a).customUndo=true;
this.__nX.getCommandObject(b).customUndo=true;

if((qx.core.Environment.get(m)==h)){}},__qn:qx.core.Environment.select(m,{"mshtml|webkit":function(ct,cu,cv){var cw=this.getUndoRedoObject();
cw.commandObject=cv;
cw.command=ct;
cw.value=cu;
cw.actionType=g;
cw.content=this.__kB.body.innerHTML;
this.__qo(cw);
},"default":function(cx,cy,cz){if(this.__oU==null){return;
}var cB=this.getUndoRedoObject();
cB.commandObject=cz;
cB.command=cx;
cB.value=cy;
cB.actionType=g;
var cA=this.__oU.getSelection();

if(cz.customUndo){var cC=[];

switch(cx){case a:cC.push(qx.bom.element.Style.get(this.__kB.body,bg));
break;
case b:cC.push(qx.bom.element.Style.get(this.__kB.body,bd),qx.bom.element.Style.get(this.__kB.body,bc),qx.bom.element.Style.get(this.__kB.body,ba));
break;
case t:if(cA&&!cA.isCollapsed){cB.actionType=l;
}break;
}cB.parameter=cC;
}else{if((qx.core.Environment.get(m)==h)){if(cA&&cA.isCollapsed){switch(cx){case U:case I:case C:case c:case B:cB.actionType=l;
break;
default:return;
}}else{cB.actionType=l;
}}else{cB.actionType=l;
}}this.__qo(cB);
}}),__qo:function(cD){if(this.__pU){this.__qp();
}this.__qq(cD);
this.__pS=false;
this.__pM=[];
this.__qv();
},__qp:function(){var cE=this.__pL[this.__pL.length-1];

if(cE==null||cE.actionType!=f){var cF=this.getUndoRedoObject();
cF.actionType=f;

if((qx.core.Environment.get(m)==k)||(qx.core.Environment.get(m)==bh)){cF.content=this.__pV;
cF.actionType=g;
this.__pV=null;
}this.__qq(cF);
this.__pU=false;
}},getUndoRedoObject:function(){return {actionType:null,commandObject:null,command:null,value:null,parameter:null,range:null,marker:null,content:null};
},__qq:function(cG){if((false)&&qx.core.Environment.get(s)){this.debug("ADD TO UNDO STACK");
this.debug(cG.actionType+" "+cG.command+" "+cG.value);
}this.__pL.push(cG);
},__qr:function(cH){if((false)&&qx.core.Environment.get(s)){this.debug("ADD TO REDO STACK");
this.debug(cH.actionType+" "+cH.command+" "+cH.value);
}this.__pM.push(cH);
},_handleKeyPress:function(e){var cI=e.getKeyIdentifier().toLowerCase();
var cJ=e.isCtrlPressed();

switch(cI){case x:case y:case J:case E:case Q:case K:case q:case R:case W:case G:case v:break;
case V:case o:case O:case S:case A:case z:case M:if(!cJ){this.__qs();
}break;
default:this.__pS=false;
this.__pM=[];
this.__qs();
}},__qs:function(){if(!this.__pU){this.__pU=true;
this.__pT=true;
if((qx.core.Environment.get(m)==k)||(qx.core.Environment.get(m)==bh)){this.__pV=this.__kB.body.innerHTML;
}this.__qv();
}},__qt:null,_handleMouseDown:qx.core.Environment.select(m,{"mshtml":function(e){var cK=e.getOriginalTarget();

if(qx.dom.Node.isElement(cK)&&(qx.dom.Node.isNodeName(cK,X)||qx.dom.Node.isNodeName(cK,be))){this.__qt={node:cK,content:cK.outerHTML};
}else{this.__qt=null;
}},"default":function(e){return true;
}}),_handleMouseUp:qx.core.Environment.select(m,{"gecko":function(e){if(this.__oU==null){return;
}var cM=this.__oU.getSelection();

if(!cM){this.__qt=null;
return;
}var cL=cM.anchorNode;
var cN=cL.childNodes[cM.anchorOffset];
if(qx.dom.Node.isNodeName(cN,X)){if(this.__qt==null){this.__qt=cN.cloneNode(true);
}else{if(this.__qt.style.width!=cN.style.width||this.__qt.style.height!=cN.style.height){this.__qu();
this.__qt=cN.cloneNode(true);
}}}else if(qx.dom.Node.isNodeName(cL,Y)||qx.dom.Node.isNodeName(cL.parentNode,Y)){var cO=cL.parentNode;

while(qx.dom.Node.isNodeName(cO,be)){cO=cO.parentNode;
}if(this.__qt==null){this.__qt=cO.cloneNode(true);
}else{qx.event.Timer.once(function(){if(cO.style.width!=this.__qt.style.width||cO.style.height!=this.__qt.style.height||cO.innerHTML!=this.__qt.innerHTML){this.__qu();
this.__qt=cO.cloneNode(true);
}},this,0);
}}else{this.__qt=null;
}},"default":function(e){var cP=qx.bom.Event.getTarget(e);

if(this.__qt!=null){if(cP.nodeType==1){if(cP==this.__qt.node){if(cP.outerHTML!=this.__qt.content){this.__qt.content=cP.outerHTML;
this.__qu();
}}else{for(var i=0,j=cP.childNodes.length;i<j;i++){if(cP.childNodes[i]==this.__qt.node){if(cP.childNodes[i].outerHTML!=this.__qt.content){this.__qt.content=cP.childNodes[i].outerHTML;
this.__qu();
}}}}}else{this.__qt=null;
}}}}),__qu:qx.core.Environment.select(m,{"mshtml|webkit":function(){this.__qn(d,null,null);
},"default":function(){var cQ=this.getUndoRedoObject();
cQ.actionType=d;
this.__qq(cQ);
}}),__qv:function(){qx.event.Timer.once(function(e){if(this.__oU!=null){var cR={undo:this.isUndoPossible()?0:-1,redo:this.isRedoPossible()?0:-1};
this.__oU.fireDataEvent(L,cR);
}},this,200);
}},destruct:function(){try{qx.event.Registration.removeListener(this.__kB.body,r,this.__pP);
qx.event.Registration.removeListener(this.__kB,u,this.__pQ);

if((qx.core.Environment.get(m)==k)){qx.event.Registration.removeListener(this.__kB,bf,this.__pR);
}}catch(e){}this._disposeObjects(n);
this.__oU=this.__pL=this.__pM=this._commands=this.__kB=null;
this.__pO=this.__pN=null;
}});
})();
(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 b="qx.ui.form.IRadioItem",a="qx.event.type.Data";
qx.Interface.define(b,{events:{"changeValue":a},members:{setValue:function(c){},getValue:function(){},setGroup:function(d){this.assertInstance(d,qx.ui.form.RadioGroup);
},getGroup:function(){}}});
})();
(function(){var f="change",d="qx.event.type.Data",c="__qw",b="qx.ui.form.MModelSelection",a="changeSelection";
qx.Mixin.define(b,{construct:function(){this.__qw=new qx.data.Array();
this.__qw.addListener(f,this.__qz,this);
this.addListener(a,this.__qy,this);
},events:{changeModelSelection:d},members:{__qw:null,__qx:false,__qy:function(){if(this.__qx){return;
}var k=this.getSelection();
var g=[];

for(var i=0;i<k.length;i++){var l=k[i];
var h=l.getModel?l.getModel():null;

if(h!==null){g.push(h);
}}if(g.length===k.length){try{this.setModelSelection(g);
}catch(e){throw new Error("Could not set the model selection. Maybe your models are not unique?");
}}},__qz:function(){this.__qx=true;
var n=this.getSelectables(true);
var p=[];
var o=this.__qw.toArray();

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

for(var j=0;j<n.length;j++){var s=n[j];
var m=s.getModel?s.getModel():null;

if(r===m){p.push(s);
break;
}}}this.setSelection(p);
this.__qx=false;
var q=this.getSelection();

if(!qx.lang.Array.equals(q,p)){this.__qy();
}},getModelSelection:function(){return this.__qw;
},setModelSelection:function(t){if(!t){this.__qw.removeAll();
return;
}t.unshift(this.__qw.getLength());
t.unshift(0);
var u=this.__qw.splice.apply(this.__qw,t);
u.dispose();
}},destruct:function(){this._disposeObjects(c);
}});
})();
(function(){var h="[",g="]",f=".",d="idBubble",c="changeBubble",b="qx.data.marshal.MEventBubbling",a="qx.event.type.Data";
qx.Mixin.define(b,{events:{"changeBubble":a},members:{_applyEventPropagation:function(i,j,name){this.fireDataEvent(c,{value:i,name:name,old:j});
this._registerEventChaining(i,j,name);
},_registerEventChaining:function(k,l,name){if((k instanceof qx.core.Object)&&qx.Class.hasMixin(k.constructor,qx.data.marshal.MEventBubbling)){var m=qx.lang.Function.bind(this.__qA,this,name);
var n=k.addListener(c,m,this);
k.setUserData(d,n);
}if(l!=null&&l.getUserData&&l.getUserData(d)!=null){l.removeListenerById(l.getUserData(d));
}},__qA:function(name,e){var v=e.getData();
var r=v.value;
var p=v.old;
if(qx.Class.hasInterface(e.getTarget().constructor,qx.data.IListData)){if(v.name.indexOf){var u=v.name.indexOf(f)!=-1?v.name.indexOf(f):v.name.length;
var s=v.name.indexOf(h)!=-1?v.name.indexOf(h):v.name.length;

if(u<s){var o=v.name.substring(0,u);
var t=v.name.substring(u+1,v.name.length);

if(t[0]!=h){t=f+t;
}var q=name+h+o+g+t;
}else if(s<u){var o=v.name.substring(0,s);
var t=v.name.substring(s,v.name.length);
var q=name+h+o+g+t;
}else{var q=name+h+v.name+g;
}}else{var q=name+h+v.name+g;
}}else{var q=name+f+v.name;
}this.fireDataEvent(c,{value:r,name:q,old:p});
}}});
})();
(function(){var o="change",n="changeBubble",m="add",l="remove",k="0-",j="order",h="-",g="0",f="qx.event.type.Data",e="Boolean",b="",d="qx.data.Array",c="number",a="changeLength";
qx.Class.define(d,{extend:qx.core.Object,include:qx.data.marshal.MEventBubbling,implement:[qx.data.IListData],construct:function(p){qx.core.Object.call(this);
if(p==undefined){this.__qB=[];
}else if(arguments.length>1){this.__qB=[];

for(var i=0;i<arguments.length;i++){this.__qB.push(arguments[i]);
}}else if(typeof p==c){this.__qB=new Array(p);
}else if(p instanceof Array){this.__qB=qx.lang.Array.clone(p);
}else{this.__qB=[];
throw new Error("Type of the parameter not supported!");
}for(var i=0;i<this.__qB.length;i++){this._applyEventPropagation(this.__qB[i],null,i);
}this.__qC();
},properties:{autoDisposeItems:{check:e,init:false}},events:{"change":f,"changeLength":f},members:{__qB:null,concat:function(q){if(q){var r=this.__qB.concat(q);
}else{var r=this.__qB.concat();
}return new qx.data.Array(r);
},join:function(s){return this.__qB.join(s);
},pop:function(){var t=this.__qB.pop();
this.__qC();
this._registerEventChaining(null,t,this.length-1);
this.fireDataEvent(n,{value:[],name:this.length,old:[t]});
this.fireDataEvent(o,{start:this.length-1,end:this.length-1,type:l,items:[t]},null);
return t;
},push:function(u){for(var i=0;i<arguments.length;i++){this.__qB.push(arguments[i]);
this.__qC();
this._registerEventChaining(arguments[i],null,this.length-1);
this.fireDataEvent(n,{value:[arguments[i]],name:this.length-1,old:[]});
this.fireDataEvent(o,{start:this.length-1,end:this.length-1,type:m,items:[arguments[i]]},null);
}return this.length;
},reverse:function(){if(this.length==0){return;
}var v=this.__qB.concat();
this.__qB.reverse();
this.fireDataEvent(o,{start:0,end:this.length-1,type:j,items:null},null);
this.fireDataEvent(n,{value:this.__qB,name:k+(this.__qB.length-1),old:v});
},shift:function(){if(this.length==0){return;
}var w=this.__qB.shift();
this.__qC();
this._registerEventChaining(null,w,this.length-1);
this.fireDataEvent(n,{value:[],name:g,old:[w]});
this.fireDataEvent(o,{start:0,end:this.length-1,type:l,items:[w]},null);
return w;
},slice:function(x,y){return new qx.data.Array(this.__qB.slice(x,y));
},splice:function(z,A,B){var J=this.__qB.length;
var F=this.__qB.splice.apply(this.__qB,arguments);
if(this.__qB.length!=J){this.__qC();
}var H=A>0;
var D=arguments.length>2;
var E=null;

if(H||D){if(this.__qB.length>J){var I=m;
}else if(this.__qB.length<J){var I=l;
E=F;
}else{var I=j;
}this.fireDataEvent(o,{start:z,end:this.length-1,type:I,items:E},null);
}for(var i=2;i<arguments.length;i++){this._registerEventChaining(arguments[i],null,z+i);
}var G=[];

for(var i=2;i<arguments.length;i++){G[i-2]=arguments[i];
}var C=(z+Math.max(arguments.length-3,A-1));
var name=z==C?C:z+h+C;
this.fireDataEvent(n,{value:G,name:name,old:F});
for(var i=0;i<F.length;i++){this._registerEventChaining(null,F[i],i);
}return (new qx.data.Array(F));
},sort:function(K){if(this.length==0){return;
}var L=this.__qB.concat();
this.__qB.sort.apply(this.__qB,arguments);
this.fireDataEvent(o,{start:0,end:this.length-1,type:j,items:null},null);
this.fireDataEvent(n,{value:this.__qB,name:k+(this.length-1),old:L});
},unshift:function(M){for(var i=arguments.length-1;i>=0;i--){this.__qB.unshift(arguments[i]);
this.__qC();
this._registerEventChaining(arguments[i],null,0);
this.fireDataEvent(n,{value:[this.__qB[0]],name:g,old:[this.__qB[1]]});
this.fireDataEvent(o,{start:0,end:this.length-1,type:m,items:[arguments[i]]},null);
}return this.length;
},toArray:function(){return this.__qB;
},getItem:function(N){return this.__qB[N];
},setItem:function(O,P){var Q=this.__qB[O];
if(Q===P){return;
}this.__qB[O]=P;
this._registerEventChaining(P,Q,O);
if(this.length!=this.__qB.length){this.__qC();
}this.fireDataEvent(n,{value:[P],name:O,old:[Q]});
this.fireDataEvent(o,{start:O,end:O,type:m,items:[P]},null);
},getLength:function(){return this.length;
},indexOf:function(R){return this.__qB.indexOf(R);
},toString:function(){if(this.__qB!=null){return this.__qB.toString();
}return b;
},contains:function(S){return this.__qB.indexOf(S)!==-1;
},copy:function(){return this.concat();
},insertAt:function(T,U){this.splice(T,0,U);
},insertBefore:function(V,W){var X=this.indexOf(V);

if(X==-1){this.push(W);
}else{this.splice(X,0,W);
}},insertAfter:function(Y,ba){var bb=this.indexOf(Y);

if(bb==-1||bb==(this.length-1)){this.push(ba);
}else{this.splice(bb+1,0,ba);
}},removeAt:function(bc){var be=this.splice(bc,1);
var bd=be.getItem(0);
be.dispose();
return bd;
},removeAll:function(){for(var i=0;i<this.__qB.length;i++){this._registerEventChaining(null,this.__qB[i],i);
}if(this.getLength()==0){return;
}var bg=this.getLength();
var bf=this.__qB.concat();
this.__qB.length=0;
this.__qC();
this.fireDataEvent(n,{value:[],name:k+(bg-1),old:bf});
this.fireDataEvent(o,{start:0,end:bg-1,type:l,items:bf},null);
return bf;
},append:function(bh){if(bh instanceof qx.data.Array){bh=bh.toArray();
}Array.prototype.push.apply(this.__qB,bh);
for(var i=0;i<bh.length;i++){this._registerEventChaining(bh[i],null,this.__qB.length+i);
}var bi=this.length;
this.__qC();
this.fireDataEvent(n,{value:bh,name:bi==(this.length-1)?bi:bi+h+(this.length-1),old:[]});
this.fireDataEvent(o,{start:bi,end:this.length-1,type:m,items:bh},null);
},remove:function(bj){var bk=this.indexOf(bj);

if(bk!=-1){this.splice(bk,1);
return bj;
}},equals:function(bl){if(this.length!==bl.length){return false;
}
for(var i=0;i<this.length;i++){if(this.getItem(i)!==bl.getItem(i)){return false;
}}return true;
},sum:function(){var bm=0;

for(var i=0;i<this.length;i++){bm+=this.getItem(i);
}return bm;
},max:function(){var bn=this.getItem(0);

for(var i=1;i<this.length;i++){if(this.getItem(i)>bn){bn=this.getItem(i);
}}return bn===undefined?null:bn;
},min:function(){var bo=this.getItem(0);

for(var i=1;i<this.length;i++){if(this.getItem(i)<bo){bo=this.getItem(i);
}}return bo===undefined?null:bo;
},forEach:function(bp,bq){for(var i=0;i<this.__qB.length;i++){bp.call(bq,this.__qB[i],i,this);
}},__qC:function(){var br=this.length;
this.length=this.__qB.length;
this.fireDataEvent(a,this.length,br);
}},destruct:function(){for(var i=0;i<this.__qB.length;i++){var bs=this.__qB[i];
this._applyEventPropagation(null,bs,i);
if(this.isAutoDisposeItems()&&bs&&bs instanceof qx.core.Object){bs.dispose();
}}this.__qB=null;
}});
})();
(function(){var b="qx.ui.core.ISingleSelection",a="qx.event.type.Data";
qx.Interface.define(b,{events:{"changeSelection":a},members:{getSelection:function(){return true;
},setSelection:function(c){return arguments.length==1;
},resetSelection:function(){return true;
},isSelected:function(d){return arguments.length==1;
},isSelectionEmpty:function(){return true;
},getSelectables:function(e){return arguments.length==1;
}}});
})();
(function(){var f="qx.ui.core.MSingleSelectionHandling",d="__eJ",c="changeSelection",b="changeSelected",a="qx.event.type.Data";
qx.Mixin.define(f,{events:{"changeSelection":a},members:{__eJ:null,getSelection:function(){var g=this.__qD().getSelected();

if(g){return [g];
}else{return [];
}},setSelection:function(h){switch(h.length){case 0:this.resetSelection();
break;
case 1:this.__qD().setSelected(h[0]);
break;
default:throw new Error("Could only select one item, but the selection"+" array contains "+h.length+" items!");
}},resetSelection:function(){this.__qD().resetSelected();
},isSelected:function(i){return this.__qD().isSelected(i);
},isSelectionEmpty:function(){return this.__qD().isSelectionEmpty();
},getSelectables:function(j){return this.__qD().getSelectables(j);
},_onChangeSelected:function(e){var l=e.getData();
var k=e.getOldData();
l==null?l=[]:l=[l];
k==null?k=[]:k=[k];
this.fireDataEvent(c,l,k);
},__qD:function(){if(this.__eJ==null){var m=this;
this.__eJ=new qx.ui.core.SingleSelectionManager({getItems:function(){return m._getItems();
},isItemSelectable:function(n){if(m._isItemSelectable){return m._isItemSelectable(n);
}else{return n.isVisible();
}}});
this.__eJ.addListener(b,this._onChangeSelected,this);
}this.__eJ.setAllowEmptySelection(this._isAllowEmptySelection());
return this.__eJ;
}},destruct:function(){this._disposeObjects(d);
}});
})();
(function(){var g="__qE",f="__qG",e="Boolean",d="__qF",c="qx.ui.core.SingleSelectionManager",b="changeSelected",a="qx.event.type.Data";
qx.Class.define(c,{extend:qx.core.Object,construct:function(h){qx.core.Object.call(this);
this.__qE=h;
},events:{"changeSelected":a},properties:{allowEmptySelection:{check:e,init:true,apply:f}},members:{__qF:null,__qE:null,getSelected:function(){return this.__qF;
},setSelected:function(j){if(!this.__qI(j)){throw new Error("Could not select "+j+", because it is not a child element!");
}this.__qH(j);
},resetSelected:function(){this.__qH(null);
},isSelected:function(k){if(!this.__qI(k)){throw new Error("Could not check if "+k+" is selected,"+" because it is not a child element!");
}return this.__qF===k;
},isSelectionEmpty:function(){return this.__qF==null;
},getSelectables:function(l){var m=this.__qE.getItems();
var n=[];

for(var i=0;i<m.length;i++){if(this.__qE.isItemSelectable(m[i])){n.push(m[i]);
}}if(!l){for(var i=n.length-1;i>=0;i--){if(!n[i].getEnabled()){n.splice(i,1);
}}}return n;
},__qG:function(o,p){if(!o){this.__qH(this.__qF);
}},__qH:function(q){var t=this.__qF;
var s=q;

if(s!=null&&t===s){return;
}
if(!this.isAllowEmptySelection()&&s==null){var r=this.getSelectables(true)[0];

if(r){s=r;
}}this.__qF=s;
this.fireDataEvent(b,s,t);
},__qI:function(u){var v=this.__qE.getItems();

for(var i=0;i<v.length;i++){if(v[i]===u){return true;
}}return false;
}},destruct:function(){if(this.__qE.toHashCode){this._disposeObjects(g);
}else{this.__qE=null;
}this._disposeObjects(d);
}});
})();
(function(){var a="qx.ui.form.IModelSelection";
qx.Interface.define(a,{members:{setModelSelection:function(b){},getModelSelection:function(){}}});
})();
(function(){var r="Boolean",q="changeInvalidMessage",p="changeValue",o="String",n="_applyAllowEmptySelection",m="_applyInvalidMessage",k="qx.ui.form.RadioGroup",j="_applyValid",h="",g="changeRequired",c="changeValid",f="changeEnabled",d="__qJ",b="changeSelection",a="_applyEnabled";
qx.Class.define(k,{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(s){qx.core.Object.call(this);
this.__qJ=[];
this.addListener(b,this.__qK,this);

if(s!=null){this.add.apply(this,arguments);
}},properties:{enabled:{check:r,apply:a,event:f,init:true},wrap:{check:r,init:true},allowEmptySelection:{check:r,init:false,apply:n},valid:{check:r,init:true,apply:j,event:c},required:{check:r,init:false,event:g},invalidMessage:{check:o,init:h,event:q,apply:m},requiredInvalidMessage:{check:o,nullable:true,event:q}},members:{__qJ:null,getItems:function(){return this.__qJ;
},add:function(t){var u=this.__qJ;
var v;

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

if(qx.lang.Array.contains(u,v)){continue;
}v.addListener(p,this._onItemChangeChecked,this);
u.push(v);
v.setGroup(this);
if(v.getValue()){this.setSelection([v]);
}}if(!this.isAllowEmptySelection()&&u.length>0&&!this.getSelection()[0]){this.setSelection([u[0]]);
}},remove:function(w){var x=this.__qJ;

if(qx.lang.Array.contains(x,w)){qx.lang.Array.remove(x,w);
if(w.getGroup()===this){w.resetGroup();
}w.removeListener(p,this._onItemChangeChecked,this);
if(w.getValue()){this.resetSelection();
}}},getChildren:function(){return this.__qJ;
},_onItemChangeChecked:function(e){var y=e.getTarget();

if(y.getValue()){this.setSelection([y]);
}else if(this.getSelection()[0]==y){this.resetSelection();
}},_applyInvalidMessage:function(z,A){for(var i=0;i<this.__qJ.length;i++){this.__qJ[i].setInvalidMessage(z);
}},_applyValid:function(B,C){for(var i=0;i<this.__qJ.length;i++){this.__qJ[i].setValid(B);
}},_applyEnabled:function(D,E){var F=this.__qJ;

if(D==null){for(var i=0,l=F.length;i<l;i++){F[i].resetEnabled();
}}else{for(var i=0,l=F.length;i<l;i++){F[i].setEnabled(D);
}}},_applyAllowEmptySelection:function(G,H){if(!G&&this.isSelectionEmpty()){this.resetSelection();
}},selectNext:function(){var I=this.getSelection()[0];
var K=this.__qJ;
var J=K.indexOf(I);

if(J==-1){return;
}var i=0;
var length=K.length;
if(this.getWrap()){J=(J+1)%length;
}else{J=Math.min(J+1,length-1);
}
while(i<length&&!K[J].getEnabled()){J=(J+1)%length;
i++;
}this.setSelection([K[J]]);
},selectPrevious:function(){var L=this.getSelection()[0];
var N=this.__qJ;
var M=N.indexOf(L);

if(M==-1){return;
}var i=0;
var length=N.length;
if(this.getWrap()){M=(M-1+length)%length;
}else{M=Math.max(M-1,0);
}
while(i<length&&!N[M].getEnabled()){M=(M-1+length)%length;
i++;
}this.setSelection([N[M]]);
},_getItems:function(){return this.getItems();
},_isAllowEmptySelection:function(){return this.isAllowEmptySelection();
},_isItemSelectable:function(O){return this.__qJ.indexOf(O)!=-1;
},__qK:function(e){var Q=e.getData()[0];
var P=e.getOldData()[0];

if(P){P.setValue(false);
}
if(Q){Q.setValue(true);
}}},destruct:function(){this._disposeArray(d);
}});
})();
(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 k="pressed",j="abandoned",i="hovered",h="Boolean",g="Space",f="undetermined",d="Enter",c="checked",b="mousedown",a="_applyTriState",w="mouseout",v="changeValue",u="keydown",t="_applyGroup",s="button",r="execute",q="qx.ui.form.RadioGroup",p="_applyValue",o="qx.ui.form.ToggleButton",n="mouseover",l="keyup",m="mouseup";
qx.Class.define(o,{extend:qx.ui.basic.Atom,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IBooleanForm,qx.ui.form.IExecutable,qx.ui.form.IRadioItem],construct:function(x,y){qx.ui.basic.Atom.call(this,x,y);
this.addListener(n,this._onMouseOver);
this.addListener(w,this._onMouseOut);
this.addListener(b,this._onMouseDown);
this.addListener(m,this._onMouseUp);
this.addListener(u,this._onKeyDown);
this.addListener(l,this._onKeyUp);
this.addListener(r,this._onExecute,this);
},properties:{appearance:{refine:true,init:s},focusable:{refine:true,init:true},value:{check:h,nullable:true,event:v,apply:p,init:false},group:{check:q,nullable:true,apply:t},triState:{check:h,apply:a,nullable:true,init:null}},members:{_applyGroup:function(z,A){if(A){A.remove(this);
}
if(z){z.add(this);
}},_applyValue:function(B,C){B?this.addState(c):this.removeState(c);

if(this.isTriState()){if(B===null){this.addState(f);
}else if(C===null){this.removeState(f);
}}},_applyTriState:function(D,E){this._applyValue(this.getValue());
},_onExecute:function(e){this.toggleValue();
},_onMouseOver:function(e){if(e.getTarget()!==this){return;
}this.addState(i);

if(this.hasState(j)){this.removeState(j);
this.addState(k);
}},_onMouseOut:function(e){if(e.getTarget()!==this){return;
}this.removeState(i);

if(this.hasState(k)){if(!this.getValue()){this.removeState(k);
}this.addState(j);
}},_onMouseDown:function(e){if(!e.isLeftPressed()){return;
}this.capture();
this.removeState(j);
this.addState(k);
e.stopPropagation();
},_onMouseUp:function(e){this.releaseCapture();

if(this.hasState(j)){this.removeState(j);
}else if(this.hasState(k)){this.execute();
}this.removeState(k);
e.stopPropagation();
},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case d:case g:this.removeState(j);
this.addState(k);
e.stopPropagation();
}},_onKeyUp:function(e){if(!this.hasState(k)){return;
}
switch(e.getKeyIdentifier()){case d:case g:this.removeState(j);
this.execute();
this.removeState(k);
e.stopPropagation();
}}}});
})();
(function(){var b="changeModel",a="qx.ui.form.MModelProperty";
qx.Mixin.define(a,{properties:{model:{nullable:true,event:b,dereference:true}}});
})();
(function(){var g="label",f="checkbox",e="qx.ui.form.CheckBox",d="value",c="toolTipText",b="enabled",a="menu";
qx.Class.define(e,{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(h){qx.ui.form.ToggleButton.call(this,h);
this.setValue(false);
},properties:{appearance:{refine:true,init:f},allowGrowX:{refine:true,init:false}},members:{_forwardStates:{invalid:true,focused:true,undetermined:true,checked:true,hovered:true},_bindableProperties:[b,g,c,d,a]}});
})();
(function(){var l="",k="application/json",j="grFind Help",i="getHelp",h="completed",g="14",f="white",d='value',c="grfind.window.HelpWindow",b="POST",a="auto";
qx.Class.define(c,{extend:grfind.Window,construct:function(){grfind.Window.call(this);
var m=new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({padding:5,font:g,backgroundColor:f});
this.html=new qx.ui.embed.Html(l).set({padding:10,overflowY:a});
m.add(this.html,{edge:0});
this.add(m,{edge:0});
},properties:{},members:{_initialize:function(n,o){o?this.setCaption(o):this.setCaption(j);

if(this.html.getHtml()==l){var p=new grfind.HttpRequest(i,b,k,8000,{'help-filename':n});
p.addListener(h,function(e){this.html.setHtml(e.getData()[d]);
},this);
p.start();
}}}});
})();
(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 o="none",n="text",m="",l="userSelect",k="color",j="String",i="engine.name",h="0px",g="webkit",f="changeHtml",c="_applyCssClass",e="class",d="qx.ui.embed.Html",b="_applyHtml",a="html";
qx.Class.define(d,{extend:qx.ui.core.Widget,include:[qx.ui.core.MNativeOverflow],construct:function(p){qx.ui.core.Widget.call(this);

if(p!=null){this.setHtml(p);
}},properties:{html:{check:j,apply:b,event:f,nullable:true},cssClass:{check:j,init:m,apply:c},selectable:{refine:true,init:true},focusable:{refine:true,init:true}},members:{getFocusElement:function(){return this.getContentElement();
},_applyHtml:function(q,r){var s=this.getContentElement();
s.setAttribute(a,q||m);
s.setStyles({"padding":h,"border":o});
},_applyCssClass:function(t,u){this.getContentElement().setAttribute(e,t);
},_applySelectable:function(v){qx.ui.core.Widget.prototype._applySelectable.call(this,v);
if((qx.core.Environment.get(i)==g)){this.getContainerElement().setStyle(l,v?n:o);
this.getContentElement().setStyle(l,v?n:o);
}},_applyFont:function(w,x){var y=w?qx.theme.manager.Font.getInstance().resolve(w).getStyles():qx.bom.Font.getDefaultStyles();
this.getContentElement().setStyles(y);
},_applyTextColor:function(z,A){if(z){this.getContentElement().setStyle(k,qx.theme.manager.Color.getInstance().resolve(z));
}else{this.getContentElement().removeStyle(k);
}}}});
})();
(function(){var l="'>",k="[",h=", ",g="</span>",f="<span class='type-",e="</span> ",d="}",c="",b="]",a="\n",K="{",J="map",I="function",H="<span class='object'>",G="]:",F="&gt;",E="<span class='object' title='Object instance with hash code: ",D="string",C="level-",B="0",s="&lt;",t="<span class='offset'>",q=":",r="qx.log.appender.Util",o="&amp;",p="&#39;",m="DIV",n="<span>",u="&quot;",v="<span class='type-key'>",x="</span>:<span class='type-",w="</span>: ",z=" ",y="]</span>: ",A="?";
qx.Class.define(r,{statics:{toHtml:function(L){var V=[];
var S,U,N,P;
V.push(t,this.formatOffset(L.offset,6),e);

if(L.object){var M=L.win.qx.core.ObjectRegistry.fromHashCode(L.object);

if(M){V.push(E+M.$$hash+l,M.classname,k,M.$$hash,y);
}}else if(L.clazz){V.push(H+L.clazz.classname,w);
}var O=L.items;

for(var i=0,T=O.length;i<T;i++){S=O[i];
U=S.text;

if(U instanceof Array){var P=[];

for(var j=0,R=U.length;j<R;j++){N=U[j];

if(typeof N===D){P.push(n+this.escapeHTML(N)+g);
}else if(N.key){P.push(v+N.key+x+N.type+l+this.escapeHTML(N.text)+g);
}else{P.push(f+N.type+l+this.escapeHTML(N.text)+g);
}}V.push(f+S.type+l);

if(S.type===J){V.push(K,P.join(h),d);
}else{V.push(k,P.join(h),b);
}V.push(g);
}else{V.push(f+S.type+l+this.escapeHTML(U)+e);
}}var Q=document.createElement(m);
Q.innerHTML=V.join(c);
Q.className=C+L.level;
return Q;
},formatOffset:function(W,length){var ba=W.toString();
var X=(length||6)-ba.length;
var Y=c;

for(var i=0;i<X;i++){Y+=B;
}return Y+ba;
},FORMAT_STACK:null,escapeHTML:function(bb){return String(bb).replace(/[<>&"']/g,this.__qL);
},__qL:function(bc){var bd={"<":s,">":F,"&":o,"'":p,'"':u};
return bd[bc]||A;
},toText:function(be){return this.toTextArray(be).join(z);
},toTextArray:function(bf){var bn=[];
bn.push(this.formatOffset(bf.offset,6));

if(bf.object){var bg=bf.win.qx.core.ObjectRegistry.fromHashCode(bf.object);

if(bg){bn.push(bg.classname+k+bg.$$hash+G);
}}else if(bf.clazz){bn.push(bf.clazz.classname+q);
}var bh=bf.items;
var bk,bm;

for(var i=0,bl=bh.length;i<bl;i++){bk=bh[i];
bm=bk.text;

if(bk.trace&&bk.trace.length>0){if(typeof (this.FORMAT_STACK)==I){bm+=a+this.FORMAT_STACK(bk.trace);
}else{bm+=a+bk.trace;
}}
if(bm instanceof Array){var bi=[];

for(var j=0,bj=bm.length;j<bj;j++){bi.push(bm[j].text);
}
if(bk.type===J){bn.push(K,bi.join(h),d);
}else{bn.push(k,bi.join(h),b);
}}else{bn.push(bm);
}}return bn;
}}});
})();
(function(){var d="debug",c="log",b="engine.name",a="qx.log.appender.Native";
qx.Class.define(a,{statics:{process:qx.core.Environment.select(b,{"gecko":function(e){if(window.console){console[e.level].call(console,qx.log.appender.Util.toText(e));
}},"mshtml":function(f){if(window.console){var h=f.level;

if(h==d){h=c;
}var g=qx.log.appender.Util.toText(f);
console[h](g);
}},"webkit":function(i){if(window.console){var k=i.level;

if(k==d){k=c;
}var j=qx.log.appender.Util.toText(i);
console[k](j);
}},"opera":function(l){}})},defer:function(m){qx.log.Logger.register(m);
}});
})();
(function(){var e="default",d="white",c="grfind.window.UserMessageWindow",b="Message",a="auto";
qx.Class.define(c,{extend:qx.ui.window.Window,construct:function(){qx.ui.window.Window.call(this);
this.setLayout(new qx.ui.layout.Canvas());
this.set({caption:b,modal:true,showMinimize:false,showMaximize:false,width:350,height:200,resizeSensitivity:8});
var f=new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({padding:10,backgroundColor:d});
this.message=new qx.ui.embed.Html().set({padding:10,overflowY:a,font:e});
f.add(this.message,{edge:0});
this.add(f,{edge:0});
},members:{_writeMessage:function(g){this.message.setHtml(g);
}}});
})();
(function(){var k="atom",j='window',i="click",h='minimize-icon',g="minimize-icon",f="open-all",d="current-index",c="close-window",b="item-view",a="from-history",T="minimize-all",S="close-other-windows",R="item-array",Q='window-type',P="close-all-windows",O="main",N="layout-name",M="database-type",L=")",K="10%",r="resize",s="Open All Windows",p="Close This Window",q="Minimize All Windows",n="grfind.window.ItemViewWindow",o="ToolTip",l="grfind.WindowMaker",m="Close Other Windows",t="move",u="group",C="minimize",B="WindowMaker - unknown button was pressed ",E="Close All Windows",D="from-minimize",G="image-index",F="top-right",y="Close this window (",J="small",I="contextmenu",H="window",v="5%",z="<br/><br/>",A="close";
qx.Class.define(l,{extend:qx.ui.container.Composite,construct:function(){qx.ui.container.Composite.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Flow(4,4));
this.contextMenu=this._createContextMenu();
this.trash=new qx.ui.container.Composite(new qx.ui.layout.Canvas());
this.validWindows=n;
},properties:{app:{init:null}},members:{_openWindow:function(w){w.open();

try{this.remove(w.getUserData(h));
}catch(U){}},_minimizeWindow:function(w){w.hide();
var V=w.getUserData(h);
V.setSource(w.getIconSource());
V.getToolTip().setLabel(w.getIconToolTipText());
this.add(V);
},_closeWindow:function(w){if(w.getOrigin()!=a){var X=new qx.ui.basic.Image(w.getIconSource()).set({width:48,height:48,scale:true,padding:1,decorator:O});
var W=new Date()+z+w.getIconToolTipText();
this.getApp().createTooltip(X,null,W,0);
X.setUserData(R,w.getItemArray());
X.setUserData(d,w.getCurrentIndex());
X.setUserData(M,w.getDatabaseType());
X.setUserData(G,w.getImageIndex());
X.setUserData(N,w.getLayoutName());
X.addListener(i,function(e){var Y=e.getCurrentTarget().getUserData(M);
var w=this._createViewWindow();
w.setOrigin(a);
w.set({width:qx.bom.Document.getWidth()*0.8,height:qx.bom.Document.getHeight()*0.8});
this.getApp().getDesktop().add(w,{top:v,left:K});
w._initialize(Y,e.getCurrentTarget().getUserData(R),e.getCurrentTarget().getUserData(d),e.getCurrentTarget().getUserData(N));
w.open();
},this);
this.getApp().historyCanvas.add(X);
}
try{this.remove(w.getUserData(g));
}catch(ba){}this.trash.add(w);

try{this.remove(w.getUserData(g));
}catch(bb){}},_minimizeAllWindows:function(){var bc=this.getApp().getDesktop().getChildren();

for(var x=0;x<bc.length;x++){var w=bc[x];

if(qx.lang.String.contains(this.validWindows,w.classname)){this._minimizeWindow(w);
}}},_closeAllWindows:function(){var bd=this.getApp().getDesktop().getChildren();

for(var x=bd.length-1;x>-1;x--){var w=bd[x];

if(qx.lang.String.contains(this.validWindows,w.classname)){this._closeWindow(w);
}}},_closeOtherWindows:function(){var be=this.selectedIcon.getUserData(j);
var bf=this.getApp().getDesktop().getChildren();

for(var x=bf.length-1;x>-1;x--){var w=bf[x];

if(qx.lang.String.contains(this.validWindows,w.classname)){if(w!=be){this._closeWindow(w);
}}}},_openAllWindows:function(){var bg=this.getApp().getDesktop().getChildren();

for(var x=0;x<bg.length;x++){var w=bg[x];

if(qx.lang.String.contains(this.validWindows,w.classname)){this._openWindow(w);
}}},_createViewWindow:function(){var w=new grfind.window.ItemViewWindow();
w.set({showMinimize:true});
w.addListener(A,function(e){this._closeWindow(e.getCurrentTarget());
},this);
w.addListener(C,function(e){this._minimizeWindow(e.getCurrentTarget());
},this);
w.addListener(t,function(e){this.getApp()._viewWindowBounds[e.getCurrentTarget().getDatabaseType()]=e.getCurrentTarget().getBounds();
},this);
w.addListener(r,function(e){this.getApp()._viewWindowBounds[e.getCurrentTarget().getDatabaseType()]=e.getCurrentTarget().getBounds();
},this);
w.setUserData(Q,b);
var bh=new qx.ui.basic.Image().set({width:64,height:64,scale:true,padding:1,decorator:O});
bh.setUserData(j,w);
bh.setUserData(Q,b);
w.setUserData(h,bh);
this.getApp().createTooltip(bh,null,o,0);
bh.addListener(i,function(e){var w=e.getCurrentTarget().getUserData(H);
w.setOrigin(D);
this._openWindow(w);
},this);
bh.addListener(I,function(e){e.stop();
this.selectedIcon=e.getCurrentTarget();
this.contextMenu.placeToMouse(e);
this.contextMenu.show();
this.closeWindowButton.setLabel(y+e.getTarget().getToolTip().getLabel()+L);
},this);
return w;
},_createContextMenu:function(){var bi=new qx.ui.popup.Popup(new qx.ui.layout.VBox());
bi.set({decorator:u,padding:5,font:J});
this.openAllButton=new grfind.Button(this,k,f,s);
this.minimizeAllButton=new grfind.Button(this,k,T,q);
this.closeWindowButton=new grfind.Button(this,k,c,p);
this.closeOtherButton=new grfind.Button(this,k,S,m);
this.closeAllButton=new grfind.Button(this,k,P,E);
bi.addListener(i,function(e){e.getCurrentTarget().hide();
},this);
bi.add(this.openAllButton);
bi.add(this.minimizeAllButton);
bi.add(this.closeAllButton);
bi.add(this.closeOtherButton);
bi.add(this.closeWindowButton);
bi.setPosition(F);
bi.setPadding(5);
return bi;
},_doButton:function(bj,bk){switch(bj){case f:{this._openAllWindows();
};
break;
case T:{this._minimizeAllWindows();
};
break;
case c:{this._closeWindow(this.selectedIcon.getUserData(j));
};
break;
case S:{this._closeOtherWindows();
};
break;
case P:{this._closeAllWindows();
};
break;
default:{this.getApp().userMessage(B+bj);
};
}}}});
})();
(function(){var m="atom",l="go-previous",k="go-next",j='width',i="send-url",h="20%",g="contact",f="middle",d="",c='image-url',bp="go-last",bo="go-first",bn='height',bm="12",bl="featherbottoms",bk="application/json",bj="Send URL of this item",bi="resource/images/grfind/",bh=".png",bg=")",t="default",u="Item View Window",r="FEATHERBOTTOMS(VIEW)",s="changeValue",p="keydown",q="Left",n=" of ",o="grfind.window.ItemViewWindow",B="resource/images/grfind/leftarrowicon.png",C="Question concerning ",L="resource/images/grfind/2leftarrowicon.png",I="ItemViewWindow - unknown button was pressed ",T="auto",O="Show Images",bc="center",Y="Previous Item",E="changeImage",bf="GRFIND(VIEW)",be="resource/images/grfind/rightarrowicon.png",bd="resource/images/grfind/2rightarrowicon.png",D=";",G="Contact Seller",H="(",K="Contact grFind",M="Contact",P="completed",V="Right",bb="Default Layout",v="Go to First Item",w="POST",F="books@featherbottoms.com",S="toolbar",R="10%",Q="Contact featherbottoms",X="Next Item",W="horizontal",N="getItemForViewing",U="Go to Last Item",a='icon-tooltip',ba="white",z="support@grfind.com",A="The item array appears to be empty or invalid. Doing nothing.",J="15%",b='contact-email';
qx.Class.define(o,{extend:grfind.Window,construct:function(){grfind.Window.call(this);
this.set({caption:u});
this.setDesktop(new qx.ui.window.Desktop(new qx.ui.window.Manager()));
var bq=new qx.ui.container.Composite(new qx.ui.layout.VBox()).set({padding:5,backgroundColor:ba,font:t});
var br=new qx.ui.splitpane.Pane(W).set({decorator:null});
var bs=new qx.ui.container.Composite(new qx.ui.layout.Canvas());
this.imageCanvas=new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({padding:10});
this.descriptionHtml=new qx.ui.embed.Html().set({overflowY:T});
this.imageViewer=new grfind.ViewImageViewer();
var bt=new qx.ui.container.Composite(new qx.ui.layout.VBox());
this.imageViewer.addListener(E,function(e){this.setImageIndex(e.getData()[0]);
this.setIconSource(e.getData()[1]);
},this);
this.addListener(p,function(e){switch(e.getKeyIdentifier()){case q:{this._doButton(l);
};
break;
case V:{this._doButton(k);
};
break;
default:{};
}},this);
bs.add(this.descriptionHtml,{edge:10});
this.imageCanvas.add(this.imageViewer,{edge:0});
this.rightCanvas=this.getApp()._createCosmeticCanvas(this.imageCanvas);
br.add(this.getApp()._createCosmeticCanvas(bs),1);
br.add(this.rightCanvas,1);
bt.add(this.getApp()._createCosmeticCanvas(this._createToolbar()));
bt.add(br,{flex:1});
bt.add(this._createSliderToolbar());
this.getDesktop().add(bt,{edge:0});
bq.add(this.getDesktop(),{flex:1});
this.add(bq,{edge:0});
},properties:{desktop:{init:null},databaseType:{init:null},itemId:{init:null},itemArray:{init:[]},currentIndex:{init:null},requestedRecordIndex:{init:null},maxIndex:{init:0},numberOfItems:{init:0},imageUrl:{init:null},contactEmail:{init:null},iconToolTipText:{nullable:true,init:d},iconSource:{nullable:true,init:null},imageIndex:{init:0},origin:{init:null},layoutName:{init:bb}},members:{_initialize:function(bu,bv,bw,bx){try{this.setDatabaseType(bu);
this.setItemArray(bv);
this.setNumberOfItems(this.getItemArray().length);
this.setLayoutName(bx);
this.setMaxIndex(this.getNumberOfItems()-1);
this.setRequestedRecordIndex(bw);
this.setIconSource(null);
this.open();
}catch(by){this.getApp().userMessage(A);
return;
}this.setContactEmail(null);
this._loadItem();
},_updateState:function(){try{if(this.getItemArray().length>1){this.navCanvas.show();
this.firstButton.setEnabled(this.getCurrentIndex()>0);
this.previousButton.setEnabled(this.getCurrentIndex()>0);
this.nextButton.setEnabled(this.getCurrentIndex()<this.getMaxIndex());
this.lastButton.setEnabled(this.getCurrentIndex()<this.getMaxIndex());
var x=this.getCurrentIndex()+1;
var y=this.getMaxIndex()+1;
this.navLabel.setLabel(H+x+n+y+bg);
}else{this.navCanvas.exclude();
}}catch(bz){this.navCanvas.exclude();
}},_loadForm:function(){if(this.getImageUrl()){this.showImagesCheckBox.setEnabled(true);

if(this.showImagesCheckBox.getValue()){this.rightCanvas.show();
var bA=this.getImageUrl().split(D);
this.imageViewer._initialize(bA);
}}else{this.rightCanvas.exclude();
this.showImagesCheckBox.setEnabled(false);
}this._updateState();
},_loadItem:function(){var bC=this.getRequestedRecordIndex();
var bE=this.getItemArray()[bC][0];
var bB=this.getItemArray()[bC][1];
var bD=new grfind.HttpRequest(N,w,bk,6000,{'database-hash':bE,'item-id':bB,'layout-name':this.getLayoutName()});
bD.addListener(P,function(e){var bF=e.getData();

if(bF.error==0){this.setCurrentIndex(bC);
this.setItemId(bB);
this.setCaption(bF.caption);
this.setContactEmail(bF[b]);
this.userUrlWindow?this.userUrlWindow.setCurrentItem(bB):null;
this.descriptionHtml.setHtml(bF.description);
this.setIconToolTipText(bF[a]);
this.setIconSource(bi+this.getDatabaseType()+bh);
bF[c]?this.setImageUrl(bF[c]):this.setImageUrl(null);
this._loadForm();
}else{this.getApp().userMessage(bF.msg);
}},this);
bD.start();
},_createSliderToolbar:function(){var toolbar=new qx.ui.container.Composite(new qx.ui.layout.HBox(15).set({alignX:bc}));
this.navCanvas=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignY:f}));
this.firstButton=new grfind.Button(this,m,bo,null,L);
this.previousButton=new grfind.Button(this,m,l,null,B);
this.nextButton=new grfind.Button(this,m,k,null,be);
this.lastButton=new grfind.Button(this,m,bp,null,bd);
this.getApp().createTooltip(this.firstButton,null,v,1000);
this.getApp().createTooltip(this.previousButton,null,Y,1000);
this.getApp().createTooltip(this.nextButton,null,X,1000);
this.getApp().createTooltip(this.lastButton,null,U,1000);
this.navLabel=new qx.ui.basic.Atom().set({paddingLeft:10});
this.navCanvas.add(this.firstButton);
this.navCanvas.add(this.previousButton);
this.navCanvas.add(this.nextButton);
this.navCanvas.add(this.lastButton);
this.navCanvas.add(this.navLabel);
toolbar.add(this.navCanvas);
this.navCanvas.exclude();
return toolbar;
},_createToolbar:function(){var toolbar=new qx.ui.container.Composite(new qx.ui.layout.HBox(10).set({alignY:f})).set({font:S});
this.contactButton=new grfind.Button(this,m,g,G,null);
this.addUrlButton=new grfind.Button(this,m,i,bj,null);
this.showImagesCheckBox=new qx.ui.form.CheckBox(O).set({value:true}).set({font:bm});
this.showImagesCheckBox.addListener(s,function(e){e.getData()?this.rightCanvas.show():this.rightCanvas.exclude();
},this);
toolbar.add(this.contactButton);
toolbar.add(this.showImagesCheckBox);
return toolbar;
},_doContact:function(){if(!this.dialogWindow){this.dialogWindow=new grfind.window.DialogWindow(this.getDesktop());
var bK=this.getApp().calculateWidthAndHeight(this,0.6,0.6);
this.dialogWindow.set({width:bK[j],height:bK[bn]});
this.getDesktop().add(this.dialogWindow,{top:R,left:h});
}
if(this.getApp().getFeatherbottoms()==bl){var bG=F;
var bH=Q;
var bJ=r;
}else{var bG=z;
var bH=K;
var bJ=bf;
}var bI=C+this.getItemId();
this.dialogWindow.open();
this.dialogWindow._initialize(bJ,this.getApp().getSenderEmail(),this.getContactEmail(),bI,d,M);
},_sendUrl:function(){if(!this.userUrlWindow){this.userUrlWindow=new grfind.window.UserUrlWindow();
this.userUrlWindow.set({width:this.getDesktop().getBounds()[j]*.6,height:this.getDesktop().getBounds()[bn]*.7});
this.getDesktop().add(this.userUrlWindow,{top:J,left:h});
}var bM=this.getItemArray();
var bL=this.getCurrentIndex();
this.userUrlWindow._initialize(this.getDatabaseType(),this.getApp().getSenderEmail(),bM,bL);
},_doButton:function(bN,bO){switch(bN){case g:{this._doContact();
};
break;
case i:{this._sendUrl();
};
break;
case bo:{this.setRequestedRecordIndex(0);
this._loadItem();
};
break;
case l:{if(this.getCurrentIndex()-1>=0){this.setRequestedRecordIndex(this.getCurrentIndex()-1);
this._loadItem();
}};
break;
case k:{this.info("going next "+this.getCurrentIndex()+" "+this.getMaxIndex());

if(this.getCurrentIndex()+1<=this.getMaxIndex()){this.setRequestedRecordIndex(this.getCurrentIndex()+1);
this._loadItem();
}};
break;
case bp:{this.setRequestedRecordIndex(this.getMaxIndex());
this._loadItem();
};
break;
default:{this.getApp().message(I+bN);
};
}}}});
})();
(function(){var k="slider",j="splitter",i="horizontal",h="px",g="vertical",f="knob",d="mousedown",c="mouseout",b="Integer",a="height",D="mousemove",C="move",B="maxHeight",A="resize",z="width",w="_applyOrientation",v="_applyOffset",u="splitpane",t="qx.ui.splitpane.Pane",s="top",q="minHeight",r="mouseup",o="minWidth",p="appear",m="losecapture",n="left",l="maxWidth";
qx.Class.define(t,{extend:qx.ui.core.Widget,construct:function(E){qx.ui.core.Widget.call(this);
this.__fg=[];
if(E){this.setOrientation(E);
}else{this.initOrientation();
}this.__jV.addListener(d,this._onMouseDown,this);
this.__jV.addListener(r,this._onMouseUp,this);
this.__jV.addListener(D,this._onMouseMove,this);
this.__jV.addListener(c,this._onMouseOut,this);
this.__jV.addListener(m,this._onMouseUp,this);
},properties:{appearance:{refine:true,init:u},offset:{check:b,init:6,apply:v},orientation:{init:i,check:[i,g],apply:w}},members:{__qM:null,__qN:false,__qO:null,__qP:null,__qQ:null,__qR:null,__qS:null,__fg:null,__jV:null,_createChildControlImpl:function(F,G){var H;

switch(F){case k:H=new qx.ui.splitpane.Slider(this);
H.exclude();
this._add(H,{type:F});
break;
case j:H=new qx.ui.splitpane.Splitter(this);
this._add(H,{type:F});
H.addListener(C,this.__qT,this);
break;
}return H||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,F);
},__qT:function(e){this.__qV(e.getData());
},__qU:function(I){this.__jV=new qx.ui.splitpane.Blocker(I);
this.getContentElement().add(this.__jV);
var J=this.getChildControl(j);
var K=J.getWidth();

if(!K){J.addListenerOnce(p,function(){this.__qV();
},this);
}J.addListener(A,function(e){var L=e.getData();

if(L.height==0||L.width==0){this.__jV.hide();
}else{this.__jV.show();
}},this);
},getBlocker:function(){return this.__jV;
},_applyOrientation:function(M,N){var O=this.getChildControl(k);
var R=this.getChildControl(j);
this.__qQ=M===i;

if(!this.__jV){this.__qU(M);
}this.__jV.setOrientation(M);
var Q=this._getLayout();

if(Q){Q.dispose();
}var P=M===g?new qx.ui.splitpane.VLayout:new qx.ui.splitpane.HLayout;
this._setLayout(P);
R.removeState(N);
R.addState(M);
R.getChildControl(f).removeState(N);
R.getChildControl(f).addState(M);
O.removeState(N);
O.addState(M);
qx.ui.core.queue.Manager.flush();
this.__qV();
},_applyOffset:function(S,T){this.__qV();
},__qV:function(U){var V=this.getChildControl(j);
var ba=this.getOffset();
var bb=V.getBounds();
var Y=V.getContainerElement().getDomElement();
if(!Y){return;
}if(this.__qQ){var X=null;

if(U){X=U.width;
}else if(bb){X=bb.width;
}var bc=U&&U.left;

if(X){if(isNaN(bc)){bc=qx.bom.element.Location.getPosition(Y).left;
}this.__jV.setWidth(ba,X);
this.__jV.setLeft(ba,bc);
}}else{var W=null;

if(U){W=U.height;
}else if(bb){W=bb.height;
}var top=U&&U.top;

if(W){if(isNaN(top)){top=qx.bom.element.Location.getPosition(Y).top;
}this.__jV.setHeight(ba,W);
this.__jV.setTop(ba,top);
}}},add:function(bd,be){if(be==null){this._add(bd);
}else{this._add(bd,{flex:be});
}this.__fg.push(bd);
},remove:function(bf){this._remove(bf);
qx.lang.Array.remove(this.__fg,bf);
},getChildren:function(){return this.__fg;
},_onMouseDown:function(e){if(!e.isLeftPressed()){return;
}var bg=this.getChildControl(j);
var bi=bg.getContainerLocation();
var bh=this.getContentLocation();
this.__qM=this.__qQ?e.getDocumentLeft()-bi.left+bh.left:e.getDocumentTop()-bi.top+bh.top;
var bk=this.getChildControl(k);
var bj=bg.getBounds();
bk.setUserBounds(bj.left,bj.top,bj.width,bj.height);
bk.setZIndex(bg.getZIndex()+1);
bk.show();
this.__qN=true;
this.__jV.capture();
e.stop();
},_onMouseMove:function(e){this._setLastMousePosition(e.getDocumentLeft(),e.getDocumentTop());
if(this.__qN){this.__qW();
var bl=this.getChildControl(k);
var bm=this.__qR;

if(this.__qQ){bl.setDomLeft(bm);
this.__jV.setStyle(n,(bm-this.getOffset())+h);
}else{bl.setDomTop(bm);
this.__jV.setStyle(s,(bm-this.getOffset())+h);
}e.stop();
}},_onMouseOut:function(e){this._setLastMousePosition(e.getDocumentLeft(),e.getDocumentTop());
},_onMouseUp:function(e){if(!this.__qN){return;
}this._finalizeSizes();
var bn=this.getChildControl(k);
bn.exclude();
this.__qN=false;
this.releaseCapture();
e.stop();
},_finalizeSizes:function(){var br=this.__qR;
var bo=this.__qS;

if(br==null){return;
}var bt=this._getChildren();
var bs=bt[2];
var bp=bt[3];
var bq=bs.getLayoutProperties().flex;
var bu=bp.getLayoutProperties().flex;
if((bq!=0)&&(bu!=0)){bs.setLayoutProperties({flex:br});
bp.setLayoutProperties({flex:bo});
}else{if(this.__qQ){bs.setWidth(br);
bp.setWidth(bo);
}else{bs.setHeight(br);
bp.setHeight(bo);
}}},__qW:function(){if(this.__qQ){var bx=o,bE=z,by=l,bC=this.__qO;
}else{var bx=q,bE=a,by=B,bC=this.__qP;
}var bD=this._getChildren();
var bv=bD[2].getSizeHint();
var bA=bD[3].getSizeHint();
var bB=bD[2].getBounds()[bE]+bD[3].getBounds()[bE];
var bz=bC-this.__qM;
var bw=bB-bz;
if(bz<bv[bx]){bw-=bv[bx]-bz;
bz=bv[bx];
}else if(bw<bA[bx]){bz-=bA[bx]-bw;
bw=bA[bx];
}if(bz>bv[by]){bw+=bz-bv[by];
bz=bv[by];
}else if(bw>bA[by]){bz+=bw-bA[by];
bw=bA[by];
}this.__qR=bz;
this.__qS=bw;
},_isActiveDragSession:function(){return this.__qN;
},_setLastMousePosition:function(x,y){this.__qO=x;
this.__qP=y;
}},destruct:function(){this.__fg=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 e="center",d="knob",c="middle",b="qx.ui.splitpane.Splitter",a="vertical";
qx.Class.define(b,{extend:qx.ui.core.Widget,construct:function(f){qx.ui.core.Widget.call(this);
if(f.getOrientation()==a){this._setLayout(new qx.ui.layout.HBox(0,e));
this._getLayout().setAlignY(c);
}else{this._setLayout(new qx.ui.layout.VBox(0,c));
this._getLayout().setAlignX(e);
}this._createChildControl(d);
},properties:{allowShrinkX:{refine:true,init:false},allowShrinkY:{refine:true,init:false}},members:{_createChildControlImpl:function(g,h){var i;

switch(g){case d:i=new qx.ui.basic.Image;
this._add(i);
break;
}return i||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,g);
}}});
})();
(function(){var u="px",t="horizontal",s="top",r="height",q="width",p="100%",o="left",n="cursor",m="mshtml",l="engine.name",e="repeat",k="_applyOrientation",h="url(",c="qx.ui.splitpane.Blocker",b=")",g="col-resize",f="row-resize",i="div",a="vertical",j="qx/static/blank.gif",d="absolute";
qx.Class.define(c,{extend:qx.html.Element,construct:function(v){var w={position:d,zIndex:11};
if((qx.core.Environment.get(l)==m)){w.backgroundImage=h+qx.util.ResourceManager.getInstance().toUri(j)+b;
w.backgroundRepeat=e;
}qx.html.Element.call(this,i,w);
if(v){this.setOrientation(v);
}else{this.initOrientation();
}},properties:{orientation:{init:t,check:[t,a],apply:k}},members:{_applyOrientation:function(x,y){if(x==t){this.setStyle(r,p);
this.setStyle(n,g);
this.setStyle(s,null);
}else{this.setStyle(q,p);
this.setStyle(o,null);
this.setStyle(n,f);
}},setWidth:function(z,A){var B=A+2*z;
this.setStyle(q,B+u);
},setHeight:function(C,D){var E=D+2*C;
this.setStyle(r,E+u);
},setLeft:function(F,G){var H=G-F;
this.setStyle(o,H+u);
},setTop:function(I,J){var top=J-I;
this.setStyle(s,top+u);
}}});
})();
(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(d,e){var v=this._getLayoutChildren();
var length=v.length;
var s,u;
var g,f,p,h;

for(var i=0;i<length;i++){s=v[i];
u=s.getLayoutProperties().type;

if(u===b){f=s;
}else if(u===c){p=s;
}else if(!g){g=s;
}else{h=s;
}}
if(g&&h){var x=g.getLayoutProperties().flex;
var j=h.getLayoutProperties().flex;

if(x==null){x=1;
}
if(j==null){j=1;
}var w=g.getSizeHint();
var m=f.getSizeHint();
var o=h.getSizeHint();
var t=w.width;
var r=m.width;
var q=o.width;

if(x>0&&j>0){var k=x+j;
var l=d-r;
var t=Math.round((l/k)*x);
var q=l-t;
var n=qx.ui.layout.Util.arrangeIdeals(w.minWidth,t,w.maxWidth,o.minWidth,q,o.maxWidth);
t=n.begin;
q=n.end;
}else if(x>0){t=d-r-q;

if(t<w.minWidth){t=w.minWidth;
}
if(t>w.maxWidth){t=w.maxWidth;
}}else if(j>0){q=d-t-r;

if(q<o.minWidth){q=o.minWidth;
}
if(q>o.maxWidth){q=o.maxWidth;
}}g.renderLayout(0,0,t,e);
f.renderLayout(t,0,r,e);
h.renderLayout(t+r,0,q,e);
}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 E=0,F=0,y=0;
var B=0,D=0,C=0;

for(var i=0;i<length;i++){A=H[i];
G=A.getLayoutProperties();
if(G.type===c){continue;
}z=A.getSizeHint();
E+=z.minWidth;
F+=z.width;
y+=z.maxWidth;

if(z.minHeight>B){B=z.minHeight;
}
if(z.height>D){D=z.height;
}
if(z.maxHeight>C){C=z.maxHeight;
}}return {minWidth:E,width:F,maxWidth:y,minHeight:B,height:D,maxHeight:C};
}}});
})();
(function(){var l="big-image",k="14px sans-serif",j="thumbnail",i="pink-box",g="off",f="click",d="View in External Window",c="_applyShowToolbar",b="Make the image fit in the box (this will distort the image, but is convenient as it allows you to see the entire image.)",a="default",N="Original size",M="changeValue",L="keydown",K="Fit image to box",J="Down",I="Up",H="See image in it's original size.",G="grfind.ViewImageViewer",F="height",E='top=50, left=100, width=700, height=500, toolbar=1,location=1, status=1, menubar=1',s="_applyThumbnailSize",t="online",q="changeImage",r="middle",o="resize",p='grFind',m="vertical",n="atom-selected",u="width",v="move",z="_applyShowThumbnails",y="small",B="resource/images/grfind/loading.gif",A="white",D="_applyCurrentWidget",C="See the image in an external window";
qx.Class.define(G,{extend:qx.ui.container.Composite,construct:function(){qx.ui.container.Composite.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas());
this.loadingMessage=new qx.ui.basic.Atom(null,B);
var P=new qx.ui.container.Composite(new qx.ui.layout.VBox(0));
var Q=new qx.ui.container.Composite(new qx.ui.layout.HBox(10));
this.scrollCanvas=new qx.ui.container.Scroll();
this.scrollCanvas.set({contentPadding:3,scrollbarX:g,scrollbarY:g,backgroundColor:A,decorator:t});
var O=new qx.ui.container.Composite(new qx.ui.layout.Canvas());
this.image=new grfind.MovableImage(null);
this.image.set({scale:true});
this.pinkyBar=new qx.ui.container.SlideBar(m);
this.pinkyBar.setLayout(new qx.ui.layout.VBox(2));
this.toolbar=this._createToolbar();
this.scrollCanvas.addListener(o,function(e){this._doScale(this.scaleRadioButton.getValue());
},this);
this.addListener(L,function(e){e.stop();

switch(e.getKeyIdentifier()){case I:{var S=this.pinkyBar.getChildren();
var R=this.pinkyBar.indexOf(this.getCurrentWidget());
var T=S[R-1];
T?this.setCurrentWidget(T):null;
};
break;
case J:{var S=this.pinkyBar.getChildren();
var R=this.pinkyBar.indexOf(this.getCurrentWidget());
var T=S[R+1];
T?this.setCurrentWidget(T):null;
};
break;
default:{};
}},this);
O.add(this.image);
this.scrollCanvas.add(O);
Q.add(this.scrollCanvas,{flex:1});
Q.add(this.pinkyBar);
P.add(Q,{flex:1});
P.add(this.toolbar);
this.add(P,{edge:0});
this.add(this.loadingMessage,{top:10,left:10});
},properties:{app:{init:null},currentWidget:{init:null,apply:D},showToolbar:{init:true,apply:c},showThumbnails:{init:true,apply:z},thumbnailSize:{init:32,apply:s}},members:{_applyShowToolbar:function(U,V){U?this.toolbar.show():this.toolbar.exclude();
},_applyThumbnailSize:function(W,X){},_initialize:function(Y,ba){this.image.setSource(null);
this.loadingMessage.hide();
this.pinkyBar.exclude();

if(Y){this.pinkyBar.removeAll();
this.show();
var bd=Y.length-1;
this.info("last index is "+bd);
Y[1]?qx.io.ImageLoader.load(Y[1]):null;
Y[2]?qx.io.ImageLoader.load(Y[2]):null;
Y[bd]&&bd>2?qx.io.ImageLoader.load(Y[bd]):null;

if(Y.length==1){var bg=new qx.ui.basic.Atom();
bg.setUserData(l,Y[0]);
bg.setUserData(j,Y[0]);
this.setCurrentWidget(bg);
}
if(Y.length>1){this.pinkyBar.show();

for(var x=0;x<Y.length;x++){var bc=Y[x];
var bb=new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({decorator:i});
var be=new qx.ui.basic.Image(bc);
var bh=this.getThumbnailSize();
be.set({opacity:0.7,width:bh,height:bh,scale:true});
var bf=x+1;
bb.add(be,{edge:0});
bb.add(new qx.ui.basic.Label(bf.toString()).set({font:y,opacity:0.7}),{top:4,left:4});
bb.setUserData(l,Y[x]);
bb.setUserData(j,Y[x]);
bb.addListener(f,function(e){this.setCurrentWidget(e.getCurrentTarget());
},this);

if(x==0){this.setCurrentWidget(bb);
}this.pinkyBar.add(bb);
}}}else{this.hide();
this.setCurrentWidget(null);
}},_applyCurrentWidget:function(bi,bj){if(bi){this.loadingMessage.hide();
bj?bj.setDecorator(i):null;
bi.setDecorator(n);
this._doScale(this.scaleRadioButton.getValue());
var bp=this.pinkyBar.getChildren();
var bk=this.pinkyBar.indexOf(bi);

if(bk>=0){var bl=bp[bk-1];
var bm=bp[bk+1];
var bn=bp[bk-1];
var bo=bp[bk+1];
bl?qx.io.ImageLoader.load(bl.getUserData(l)):null;
bm?qx.io.ImageLoader.load(bm.getUserData(l)):null;
bn?qx.io.ImageLoader.load(bn.getUserData(l)):null;
bo?qx.io.ImageLoader.load(bo.getUserData(l)):null;
this.pinkyBar.scrollChildIntoView(bi);
}this.fireDataEvent(q,[bk,bi.getUserData(j)]);
}},_createToolbar:function(bq,br){var toolbar=new qx.ui.container.Composite(new qx.ui.layout.Flow(15).set({alignY:r}));
var bt=new qx.ui.form.RadioGroup();
this.noScaleRadioButton=new qx.ui.form.RadioButton(N);
this.scaleRadioButton=new qx.ui.form.RadioButton(K);
this.noScaleRadioButton.setValue(true);
var bs=new qx.ui.basic.Atom(d).set({padding:[3,6,3,6]});
this.getApp().highlightOnMouseOver(bs);
this.scaleRadioButton.addListener(M,function(e){this._doScale(e.getData());

if(e.getData()){this.image.setCursor(a);
this.image.setMovable(false);
}else{this.image.setCursor(v);
this.image.setMovable(true);
}},this);
bs.addListener(f,function(e){this.nativeWindow?this.nativeWindow.close():null;
this.nativeWindow=window.open(this.image.getSource(),p,E);
},this);
this.noScaleRadioButton.setToolTip(new qx.ui.tooltip.ToolTip(H).set({rich:true,width:300,font:qx.bom.Font.fromString(k)}));
this.scaleRadioButton.setToolTip(new qx.ui.tooltip.ToolTip(b).set({rich:true,width:300,font:qx.bom.Font.fromString(k)}));
bs.setToolTip(new qx.ui.tooltip.ToolTip(C).set({rich:true,width:300,font:qx.bom.Font.fromString(k)}));
toolbar.add(this.noScaleRadioButton);
toolbar.add(this.scaleRadioButton);
toolbar.add(bs);
bt.add(this.scaleRadioButton);
bt.add(this.noScaleRadioButton);
return toolbar;
},_doScale:function(bu){var bw=this.getCurrentWidget();

if(bw){var bv=bw.getUserData(l);

if(bu){var w=this.scrollCanvas.getBounds()[u];
var h=this.scrollCanvas.getBounds()[F];
this.image.setDomPosition(0,0);
}else{w=qx.io.ImageLoader.getWidth(bv);
h=qx.io.ImageLoader.getHeight(bv);
}this.scrollCanvas.scrollChildIntoView(this.image);
w?this.image.setWidth(w):null;
h?this.image.setHeight(h):null;
this.image.setSource(bv);
}}}});
})();
(function(){var f="scrollbar-x",d="scrollbar-y",c="qx.ui.core.scroll.MWheelHandling",b="x",a="y";
qx.Mixin.define(c,{members:{_onMouseWheel:function(e){var l=this._isChildControlVisible(f);
var m=this._isChildControlVisible(d);
var q=m?this.getChildControl(d,true):null;
var p=l?this.getChildControl(f,true):null;
var j=e.getWheelDelta(a);
var i=e.getWheelDelta(b);
var k=!m;
var n=!l;
if(q){var o=parseInt(j);

if(o!==0){q.scrollBySteps(o);
}var h=q.getPosition();
var g=q.getMaximum();
if(o<0&&h<=0||o>0&&h>=g){k=true;
}}if(p){var o=parseInt(i);

if(o!==0){p.scrollBySteps(o);
}var h=p.getPosition();
var g=p.getMaximum();
if(o<0&&h<=0||o>0&&h>=g){n=true;
}}if(!k||!n){e.stop();
}}}});
})();
(function(){var b="qx.nativeScrollBars",a="qx.ui.core.scroll.MScrollBarFactory";
qx.core.Environment.add(b,false);
qx.Mixin.define(a,{members:{_createScrollBar:function(c){if(qx.core.Environment.get(b)){return new qx.ui.core.scroll.NativeScrollBar(c);
}else{return new qx.ui.core.scroll.ScrollBar(c);
}}}});
})();
(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 k="horizontal",j="px",i="scroll",h="vertical",g="-1px",f="0",d="engine.name",c="hidden",b="mousedown",a="qx.ui.core.scroll.NativeScrollBar",z="PositiveNumber",y="Integer",x="mousemove",w="_applyMaximum",v="_applyOrientation",u="appear",t="opera",s="PositiveInteger",r="mshtml",q="mouseup",o="Number",p="_applyPosition",m="scrollbar",n="__qX",l="native";
qx.Class.define(a,{extend:qx.ui.core.Widget,implement:qx.ui.core.scroll.IScrollBar,construct:function(A){qx.ui.core.Widget.call(this);
this.addState(l);
this.getContentElement().addListener(i,this._onScroll,this);
this.addListener(b,this._stopPropagation,this);
this.addListener(q,this._stopPropagation,this);
this.addListener(x,this._stopPropagation,this);

if((qx.core.Environment.get(d)==t)){this.addListener(u,this._onAppear,this);
}this.getContentElement().add(this._getScrollPaneElement());
if(A!=null){this.setOrientation(A);
}else{this.initOrientation();
}},properties:{appearance:{refine:true,init:m},orientation:{check:[k,h],init:k,apply:v},maximum:{check:s,apply:w,init:100},position:{check:o,init:0,apply:p,event:i},singleStep:{check:y,init:20},knobFactor:{check:z,nullable:true}},members:{__qQ:null,__qX:null,_getScrollPaneElement:function(){if(!this.__qX){this.__qX=new qx.html.Element();
}return this.__qX;
},renderLayout:function(B,top,C,D){var E=qx.ui.core.Widget.prototype.renderLayout.call(this,B,top,C,D);
this._updateScrollBar();
return E;
},_getContentHint:function(){var F=qx.bom.element.Overflow.getScrollbarWidth();
return {width:this.__qQ?100:F,maxWidth:this.__qQ?null:F,minWidth:this.__qQ?null:F,height:this.__qQ?F:100,maxHeight:this.__qQ?F:null,minHeight:this.__qQ?F:null};
},_applyEnabled:function(G,H){qx.ui.core.Widget.prototype._applyEnabled.call(this,G,H);
this._updateScrollBar();
},_applyMaximum:function(I){this._updateScrollBar();
},_applyPosition:function(J){var content=this.getContentElement();

if(this.__qQ){content.scrollToX(J);
}else{content.scrollToY(J);
}},_applyOrientation:function(K,L){var M=this.__qQ=K===k;
this.set({allowGrowX:M,allowShrinkX:M,allowGrowY:!M,allowShrinkY:!M});

if(M){this.replaceState(h,k);
}else{this.replaceState(k,h);
}this.getContentElement().setStyles({overflowX:M?i:c,overflowY:M?c:i});
qx.ui.core.queue.Layout.add(this);
},_updateScrollBar:function(){var O=this.__qQ;
var P=this.getBounds();

if(!P){return;
}
if(this.isEnabled()){var Q=O?P.width:P.height;
var N=this.getMaximum()+Q;
}else{N=0;
}if((qx.core.Environment.get(d)==r)){var P=this.getBounds();
this.getContentElement().setStyles({left:O?f:g,top:O?g:f,width:(O?P.width:P.width+1)+j,height:(O?P.height+1:P.height)+j});
}this._getScrollPaneElement().setStyles({left:0,top:0,width:(O?N:1)+j,height:(O?1:N)+j});
this.scrollTo(this.getPosition());
},scrollTo:function(R){this.setPosition(Math.max(0,Math.min(this.getMaximum(),R)));
},scrollBy:function(S){this.scrollTo(this.getPosition()+S);
},scrollBySteps:function(T){var U=this.getSingleStep();
this.scrollBy(T*U);
},_onScroll:function(e){var W=this.getContentElement();
var V=this.__qQ?W.getScrollX():W.getScrollY();
this.setPosition(V);
},_onAppear:function(e){this.scrollTo(this.getPosition());
},_stopPropagation:function(e){e.stopPropagation();
}},destruct:function(){this._disposeObjects(n);
}});
})();
(function(){var k="slider",j="horizontal",i="button-begin",h="vertical",g="button-end",f="Integer",d="execute",c="right",b="left",a="down",z="up",y="PositiveNumber",x="changeValue",w="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getMaximum()",v="_applyKnobFactor",u="knob",t="qx.ui.core.scroll.ScrollBar",s="resize",r="_applyOrientation",q="_applyPageStep",o="PositiveInteger",p="scroll",m="_applyPosition",n="scrollbar",l="_applyMaximum";
qx.Class.define(t,{extend:qx.ui.core.Widget,implement:qx.ui.core.scroll.IScrollBar,construct:function(A){qx.ui.core.Widget.call(this);
this._createChildControl(i);
this._createChildControl(k).addListener(s,this._onResizeSlider,this);
this._createChildControl(g);
if(A!=null){this.setOrientation(A);
}else{this.initOrientation();
}},properties:{appearance:{refine:true,init:n},orientation:{check:[j,h],init:j,apply:r},maximum:{check:o,apply:l,init:100},position:{check:w,init:0,apply:m,event:p},singleStep:{check:f,init:20},pageStep:{check:f,init:10,apply:q},knobFactor:{check:y,apply:v,nullable:true}},members:{__qY:2,_createChildControlImpl:function(B,C){var D;

switch(B){case k:D=new qx.ui.core.scroll.ScrollSlider();
D.setPageStep(100);
D.setFocusable(false);
D.addListener(x,this._onChangeSliderValue,this);
this._add(D,{flex:1});
break;
case i:D=new qx.ui.form.RepeatButton();
D.setFocusable(false);
D.addListener(d,this._onExecuteBegin,this);
this._add(D);
break;
case g:D=new qx.ui.form.RepeatButton();
D.setFocusable(false);
D.addListener(d,this._onExecuteEnd,this);
this._add(D);
break;
}return D||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,B);
},_applyMaximum:function(E){this.getChildControl(k).setMaximum(E);
},_applyPosition:function(F){this.getChildControl(k).setValue(F);
},_applyKnobFactor:function(G){this.getChildControl(k).setKnobFactor(G);
},_applyPageStep:function(H){this.getChildControl(k).setPageStep(H);
},_applyOrientation:function(I,J){var K=this._getLayout();

if(K){K.dispose();
}if(I===j){this._setLayout(new qx.ui.layout.HBox());
this.setAllowStretchX(true);
this.setAllowStretchY(false);
this.replaceState(h,j);
this.getChildControl(i).replaceState(z,b);
this.getChildControl(g).replaceState(a,c);
}else{this._setLayout(new qx.ui.layout.VBox());
this.setAllowStretchX(false);
this.setAllowStretchY(true);
this.replaceState(j,h);
this.getChildControl(i).replaceState(b,z);
this.getChildControl(g).replaceState(c,a);
}this.getChildControl(k).setOrientation(I);
},scrollTo:function(L){this.getChildControl(k).slideTo(L);
},scrollBy:function(M){this.getChildControl(k).slideBy(M);
},scrollBySteps:function(N){var O=this.getSingleStep();
this.getChildControl(k).slideBy(N*O);
},_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 P=this.getChildControl(k).getChildControl(u);
var S=P.getSizeHint();
var Q=false;
var R=this.getChildControl(k).getInnerSize();

if(this.getOrientation()==h){if(R.height<S.minHeight+this.__qY){Q=true;
}}else{if(R.width<S.minWidth+this.__qY){Q=true;
}}
if(Q){P.exclude();
}else{P.show();
}}}});
})();
(function(){var a="qx.ui.form.IRange";
qx.Interface.define(a,{members:{setMinimum:function(b){return arguments.length==1;
},getMinimum:function(){},setMaximum:function(c){return arguments.length==1;
},getMaximum:function(){},setSingleStep:function(d){return arguments.length==1;
},getSingleStep:function(){},setPageStep:function(e){return arguments.length==1;
},getPageStep:function(){}}});
})();
(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 k="knob",j="horizontal",i="vertical",h="Integer",g="hovered",f="left",d="top",c="mouseup",b="pressed",a="px",X="changeValue",W="interval",V="mousemove",U="resize",T="slider",S="mousedown",R="PageUp",Q="mouseout",P="x",O='qx.event.type.Data',r="Left",s="Down",p="Up",q="dblclick",n="qx.ui.form.Slider",o="PageDown",l="mousewheel",m="_applyValue",u="_applyKnobFactor",v="End",C="height",A="y",G="Right",E="width",K="_applyOrientation",I="Home",x="mouseover",N="floor",M="_applyMinimum",L="click",w="typeof value==='number'&&value>=this.getMinimum()&&value<=this.getMaximum()",y="keypress",z="ceil",B="losecapture",D="contextmenu",F="_applyMaximum",H="Number",J="changeMaximum",t="changeMinimum";
qx.Class.define(n,{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(Y){qx.ui.core.Widget.call(this);
this._setLayout(new qx.ui.layout.Canvas());
this.addListener(y,this._onKeyPress);
this.addListener(l,this._onMouseWheel);
this.addListener(S,this._onMouseDown);
this.addListener(c,this._onMouseUp);
this.addListener(B,this._onMouseUp);
this.addListener(U,this._onUpdate);
this.addListener(D,this._onStopEvent);
this.addListener(L,this._onStopEvent);
this.addListener(q,this._onStopEvent);
if(Y!=null){this.setOrientation(Y);
}else{this.initOrientation();
}},events:{changeValue:O},properties:{appearance:{refine:true,init:T},focusable:{refine:true,init:true},orientation:{check:[j,i],init:j,apply:K},value:{check:w,init:0,apply:m,nullable:true},minimum:{check:h,init:0,apply:M,event:t},maximum:{check:h,init:100,apply:F,event:J},singleStep:{check:h,init:1},pageStep:{check:h,init:10},knobFactor:{check:H,apply:u,nullable:true}},members:{__ra:null,__rb:null,__rc:null,__rd:null,__re:null,__rf:null,__rg:null,__rh:null,__jf:null,__ri:null,__rj:null,__rk:null,_forwardStates:{invalid:true},_createChildControlImpl:function(ba,bb){var bc;

switch(ba){case k:bc=new qx.ui.core.Widget();
bc.addListener(U,this._onUpdate,this);
bc.addListener(x,this._onMouseOver);
bc.addListener(Q,this._onMouseOut);
this._add(bc);
break;
}return bc||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,ba);
},_onMouseOver:function(e){this.addState(g);
},_onMouseOut:function(e){this.removeState(g);
},_onMouseWheel:function(e){var bf=this.getOrientation()===j?P:A;
var be=e.getWheelDelta(bf);
var bd=be>0?1:be<0?-1:0;
this.slideBy(bd*this.getSingleStep());
e.stop();
},_onKeyPress:function(e){var bh=this.getOrientation()===j;
var bg=bh?r:p;
var forward=bh?G:s;

switch(e.getKeyIdentifier()){case forward:this.slideForward();
break;
case bg:this.slideBack();
break;
case o:this.slidePageForward();
break;
case R:this.slidePageBack();
break;
case I:this.slideToBegin();
break;
case v:this.slideToEnd();
break;
default:return;
}e.stop();
},_onMouseDown:function(e){if(this.__rd){return;
}var bk=this.__qQ;
var bi=this.getChildControl(k);
var bj=bk?f:d;
var bm=bk?e.getDocumentLeft():e.getDocumentTop();
var bn=this.__ra=qx.bom.element.Location.get(this.getContentElement().getDomElement())[bj];
var bl=this.__rb=qx.bom.element.Location.get(bi.getContainerElement().getDomElement())[bj];

if(e.getTarget()===bi){this.__rd=true;

if(!this.__ri){this.__ri=new qx.event.Timer(100);
this.__ri.addListener(W,this._fireValue,this);
}this.__ri.start();
this.__re=bm+bn-bl;
bi.addState(b);
}else{this.__rf=true;
this.__rg=bm<=bl?-1:1;
this.__rm(e);
this._onInterval();
if(!this.__jf){this.__jf=new qx.event.Timer(100);
this.__jf.addListener(W,this._onInterval,this);
}this.__jf.start();
}this.addListener(V,this._onMouseMove);
this.capture();
e.stopPropagation();
},_onMouseUp:function(e){if(this.__rd){this.releaseCapture();
delete this.__rd;
this.__ri.stop();
this._fireValue();
delete this.__re;
this.getChildControl(k).removeState(b);
if(e.getType()===c){var bp;
var bq;
var bo;

if(this.__qQ){bp=e.getDocumentLeft()-(this._valueToPosition(this.getValue())+this.__ra);
bo=qx.bom.element.Location.get(this.getContentElement().getDomElement())[d];
bq=e.getDocumentTop()-(bo+this.getChildControl(k).getBounds().top);
}else{bp=e.getDocumentTop()-(this._valueToPosition(this.getValue())+this.__ra);
bo=qx.bom.element.Location.get(this.getContentElement().getDomElement())[f];
bq=e.getDocumentLeft()-(bo+this.getChildControl(k).getBounds().left);
}
if(bq<0||bq>this.__rc||bp<0||bp>this.__rc){this.getChildControl(k).removeState(g);
}}}else if(this.__rf){this.__jf.stop();
this.releaseCapture();
delete this.__rf;
delete this.__rg;
delete this.__rh;
}this.removeListener(V,this._onMouseMove);
if(e.getType()===c){e.stopPropagation();
}},_onMouseMove:function(e){if(this.__rd){var bs=this.__qQ?e.getDocumentLeft():e.getDocumentTop();
var br=bs-this.__re;
this.slideTo(this._positionToValue(br));
}else if(this.__rf){this.__rm(e);
}e.stopPropagation();
},_onInterval:function(e){var bt=this.getValue()+(this.__rg*this.getPageStep());
if(bt<this.getMinimum()){bt=this.getMinimum();
}else if(bt>this.getMaximum()){bt=this.getMaximum();
}var bu=this.__rg==-1;

if((bu&&bt<=this.__rh)||(!bu&&bt>=this.__rh)){bt=this.__rh;
}this.slideTo(bt);
},_onUpdate:function(e){var bw=this.getInnerSize();
var bx=this.getChildControl(k).getBounds();
var bv=this.__qQ?E:C;
this._updateKnobSize();
this.__rl=bw[bv]-bx[bv];
this.__rc=bx[bv];
this._updateKnobPosition();
},__qQ:false,__rl:0,__rm:function(e){var by=this.__qQ;
var bF=by?e.getDocumentLeft():e.getDocumentTop();
var bH=this.__ra;
var bz=this.__rb;
var bJ=this.__rc;
var bG=bF-bH;

if(bF>=bz){bG-=bJ;
}var bD=this._positionToValue(bG);
var bA=this.getMinimum();
var bB=this.getMaximum();

if(bD<bA){bD=bA;
}else if(bD>bB){bD=bB;
}else{var bE=this.getValue();
var bC=this.getPageStep();
var bI=this.__rg<0?N:z;
bD=bE+(Math[bI]((bD-bE)/bC)*bC);
}if(this.__rh==null||(this.__rg==-1&&bD<=this.__rh)||(this.__rg==1&&bD>=this.__rh)){this.__rh=bD;
}},_positionToValue:function(bK){var bL=this.__rl;
if(bL==null||bL==0){return 0;
}var bN=bK/bL;

if(bN<0){bN=0;
}else if(bN>1){bN=1;
}var bM=this.getMaximum()-this.getMinimum();
return this.getMinimum()+Math.round(bM*bN);
},_valueToPosition:function(bO){var bP=this.__rl;

if(bP==null){return 0;
}var bQ=this.getMaximum()-this.getMinimum();
if(bQ==0){return 0;
}var bO=bO-this.getMinimum();
var bR=bO/bQ;

if(bR<0){bR=0;
}else if(bR>1){bR=1;
}return Math.round(bP*bR);
},_updateKnobPosition:function(){this._setKnobPosition(this._valueToPosition(this.getValue()));
},_setKnobPosition:function(bS){var bT=this.getChildControl(k).getContainerElement();

if(this.__qQ){bT.setStyle(f,bS+a,true);
}else{bT.setStyle(d,bS+a,true);
}},_updateKnobSize:function(){var bV=this.getKnobFactor();

if(bV==null){return;
}var bU=this.getInnerSize();

if(bU==null){return;
}if(this.__qQ){this.getChildControl(k).setWidth(Math.round(bV*bU.width));
}else{this.getChildControl(k).setHeight(Math.round(bV*bU.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(bW){this.slideTo(this.getValue()+bW);
},slideTo:function(bX){if(bX<this.getMinimum()){bX=this.getMinimum();
}else if(bX>this.getMaximum()){bX=this.getMaximum();
}else{bX=this.getMinimum()+Math.round((bX-this.getMinimum())/this.getSingleStep())*this.getSingleStep();
}this.setValue(bX);
},_applyOrientation:function(bY,ca){var cb=this.getChildControl(k);
this.__qQ=bY===j;
if(this.__qQ){this.removeState(i);
cb.removeState(i);
this.addState(j);
cb.addState(j);
cb.setLayoutProperties({top:0,right:null,bottom:0});
}else{this.removeState(j);
cb.removeState(j);
this.addState(i);
cb.addState(i);
cb.setLayoutProperties({right:0,bottom:null,left:0});
}this._updateKnobPosition();
},_applyKnobFactor:function(cc,cd){if(cc!=null){this._updateKnobSize();
}else{if(this.__qQ){this.getChildControl(k).resetWidth();
}else{this.getChildControl(k).resetHeight();
}}},_applyValue:function(ce,cf){if(ce!=null){this._updateKnobPosition();

if(this.__rd){this.__rk=[ce,cf];
}else{this.fireEvent(X,qx.event.type.Data,[ce,cf]);
}}else{this.resetValue();
}},_fireValue:function(){if(!this.__rk){return;
}var cg=this.__rk;
this.__rk=null;
this.fireEvent(X,qx.event.type.Data,cg);
},_applyMinimum:function(ch,ci){if(this.getValue()<ch){this.setValue(ch);
}this._updateKnobPosition();
},_applyMaximum:function(cj,ck){if(this.getValue()>cj){this.setValue(cj);
}this._updateKnobPosition();
}}});
})();
(function(){var d="horizontal",c="mousewheel",b="qx.ui.core.scroll.ScrollSlider",a="keypress";
qx.Class.define(b,{extend:qx.ui.form.Slider,construct:function(e){qx.ui.form.Slider.call(this,e);
this.removeListener(a,this._onKeyPress);
this.removeListener(c,this._onMouseWheel);
},members:{getSizeHint:function(f){var g=qx.ui.form.Slider.prototype.getSizeHint.call(this);
if(this.getOrientation()===d){g.width=0;
}else{g.height=0;
}return g;
}}});
})();
(function(){var k="scrollbar-y",j="scrollbar-x",i="pane",h="auto",g="corner",f="scrollbar-",d="on",c="_computeScrollbars",b="getDocument",a="changeVisibility",E="off",D="x",C="scroll",B="touchmove",A="scrollY",z="Left",y="mousewheel",x="scrollbarX",w="event.touch",v="scrollarea",r="y",s="vertical",p="scrollX",q="touchstart",n="horizontal",o="qx.ui.core.scroll.AbstractScrollArea",l="abstract",m="update",t="scrollbarY",u="Top";
qx.Class.define(o,{extend:qx.ui.core.Widget,include:[qx.ui.core.scroll.MScrollBarFactory,qx.ui.core.scroll.MWheelHandling],type:l,construct:function(){qx.ui.core.Widget.call(this);
var F=new qx.ui.layout.Grid();
F.setColumnFlex(0,1);
F.setRowFlex(0,1);
this._setLayout(F);
this.addListener(y,this._onMouseWheel,this);
if(qx.core.Environment.get(w)){this.addListener(B,this._onTouchMove,this);
this.addListener(q,function(){this.__cP={"x":0,"y":0};
},this);
this.__cP={};
this.__rn={};
}},properties:{appearance:{refine:true,init:v},width:{refine:true,init:100},height:{refine:true,init:200},scrollbarX:{check:[h,d,E],init:h,themeable:true,apply:c},scrollbarY:{check:[h,d,E],init:h,themeable:true,apply:c},scrollbar:{group:[x,t]}},members:{__cP:null,__rn:null,_createChildControlImpl:function(G,H){var I;

switch(G){case i:I=new qx.ui.core.scroll.ScrollPane();
I.addListener(m,this._computeScrollbars,this);
I.addListener(p,this._onScrollPaneX,this);
I.addListener(A,this._onScrollPaneY,this);
this._add(I,{row:0,column:0});
break;
case j:I=this._createScrollBar(n);
I.setMinWidth(0);
I.exclude();
I.addListener(C,this._onScrollBarX,this);
I.addListener(a,this._onChangeScrollbarXVisibility,this);
this._add(I,{row:1,column:0});
break;
case k:I=this._createScrollBar(s);
I.setMinHeight(0);
I.exclude();
I.addListener(C,this._onScrollBarY,this);
I.addListener(a,this._onChangeScrollbarYVisibility,this);
this._add(I,{row:0,column:1});
break;
case g:I=new qx.ui.core.Widget();
I.setWidth(0);
I.setHeight(0);
I.exclude();
this._add(I,{row:1,column:1});
break;
}return I||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,G);
},getPaneSize:function(){return this.getChildControl(i).getInnerSize();
},getItemTop:function(J){return this.getChildControl(i).getItemTop(J);
},getItemBottom:function(K){return this.getChildControl(i).getItemBottom(K);
},getItemLeft:function(L){return this.getChildControl(i).getItemLeft(L);
},getItemRight:function(M){return this.getChildControl(i).getItemRight(M);
},scrollToX:function(N){qx.ui.core.queue.Manager.flush();
this.getChildControl(j).scrollTo(N);
},scrollByX:function(O){qx.ui.core.queue.Manager.flush();
this.getChildControl(j).scrollBy(O);
},getScrollX:function(){var P=this.getChildControl(j,true);
return P?P.getPosition():0;
},scrollToY:function(Q){qx.ui.core.queue.Manager.flush();
this.getChildControl(k).scrollTo(Q);
},scrollByY:function(R){qx.ui.core.queue.Manager.flush();
this.getChildControl(k).scrollBy(R);
},getScrollY:function(){var S=this.getChildControl(k,true);
return S?S.getPosition():0;
},_onScrollBarX:function(e){this.getChildControl(i).scrollToX(e.getData());
},_onScrollBarY:function(e){this.getChildControl(i).scrollToY(e.getData());
},_onScrollPaneX:function(e){this.scrollToX(e.getData());
},_onScrollPaneY:function(e){this.scrollToY(e.getData());
},_onTouchMove:function(e){this._onTouchMoveDirectional(D,e);
this._onTouchMoveDirectional(r,e);
e.stop();
},_onTouchMoveDirectional:function(T,e){var U=(T==D?z:u);
var W=this.getChildControl(f+T,true);
var X=this._isChildControlVisible(f+T);

if(X&&W){if(this.__cP[T]==0){var V=0;
}else{var V=-(e[b+U]()-this.__cP[T]);
}this.__cP[T]=e[b+U]();
W.scrollBy(V);
if(this.__rn[T]){clearTimeout(this.__rn[T]);
this.__rn[T]=null;
}this.__rn[T]=setTimeout(qx.lang.Function.bind(function(Y){this.__ro(Y,T);
},this,V),100);
}},__ro:function(ba,bb){this.__rn[bb]=null;
var bd=this._isChildControlVisible(f+bb);

if(ba==0||!bd){return;
}if(ba>0){ba=Math.max(0,ba-3);
}else{ba=Math.min(0,ba+3);
}this.__rn[bb]=setTimeout(qx.lang.Function.bind(function(be,bf){this.__ro(be,bf);
},this,ba,bb),20);
var bc=this.getChildControl(f+bb,true);
bc.scrollBy(ba);
},_onChangeScrollbarXVisibility:function(e){var bg=this._isChildControlVisible(j);
var bh=this._isChildControlVisible(k);

if(!bg){this.scrollToX(0);
}bg&&bh?this._showChildControl(g):this._excludeChildControl(g);
},_onChangeScrollbarYVisibility:function(e){var bi=this._isChildControlVisible(j);
var bj=this._isChildControlVisible(k);

if(!bj){this.scrollToY(0);
}bi&&bj?this._showChildControl(g):this._excludeChildControl(g);
},_computeScrollbars:function(){var bq=this.getChildControl(i);
var content=bq.getChildren()[0];

if(!content){this._excludeChildControl(j);
this._excludeChildControl(k);
return;
}var bk=this.getInnerSize();
var bp=bq.getInnerSize();
var bn=bq.getScrollSize();
if(!bp||!bn){return;
}var br=this.getScrollbarX();
var bs=this.getScrollbarY();

if(br===h&&bs===h){var bo=bn.width>bk.width;
var bt=bn.height>bk.height;
if((bo||bt)&&!(bo&&bt)){if(bo){bt=bn.height>bp.height;
}else if(bt){bo=bn.width>bp.width;
}}}else{var bo=br===d;
var bt=bs===d;
if(bn.width>(bo?bp.width:bk.width)&&br===h){bo=true;
}
if(bn.height>(bo?bp.height:bk.height)&&bs===h){bt=true;
}}if(bo){var bm=this.getChildControl(j);
bm.show();
bm.setMaximum(Math.max(0,bn.width-bp.width));
bm.setKnobFactor((bn.width===0)?0:bp.width/bn.width);
}else{this._excludeChildControl(j);
}
if(bt){var bl=this.getChildControl(k);
bl.show();
bl.setMaximum(Math.max(0,bn.height-bp.height));
bl.setKnobFactor((bn.height===0)?0:bp.height/bn.height);
}else{this._excludeChildControl(k);
}}}});
})();
(function(){var b="pane",a="qx.ui.container.Scroll";
qx.Class.define(a,{extend:qx.ui.core.scroll.AbstractScrollArea,include:[qx.ui.core.MContentPadding],construct:function(content){qx.ui.core.scroll.AbstractScrollArea.call(this);

if(content){this.add(content);
}},members:{add:function(c){this.getChildControl(b).add(c);
},remove:function(d){this.getChildControl(b).remove(d);
},getChildren:function(){return this.getChildControl(b).getChildren();
},_getContentPaddingTarget:function(){return this.getChildControl(b);
}}});
})();
(function(){var c="grfind.MovableImage",b="white",a="move";
qx.Class.define(c,{extend:qx.ui.basic.Image,include:[qx.ui.core.MMovable],construct:function(d){qx.ui.basic.Image.call(this);
this.set({backgroundColor:b,movable:true,cursor:a});
d?this.setSource(d):this.setSource(null);
this._activateMoveHandle(this);
}});
})();
(function(){var t="checked",s="keypress",r="Boolean",q="Right",p="label",o="Left",n="_applyValue",m="changeValue",l="Up",k="value",d="qx.ui.form.RadioButton",j="radiobutton",h="toolTipText",c="enabled",b="qx.ui.form.RadioGroup",g="Down",f="_applyGroup",i="menu",a="execute";
qx.Class.define(d,{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(s,this._onKeyPress);
},properties:{group:{check:b,nullable:true,apply:f},value:{check:r,nullable:true,event:m,apply:n,init:false},appearance:{refine:true,init:j},allowGrowX:{refine:true,init:false}},members:{_forwardStates:{checked:true,focused:true,invalid:true,hovered:true},_bindableProperties:[c,p,h,k,i],_applyValue:function(v,w){v?this.addState(t):this.removeState(t);

if(v&&this.getFocusable()){this.focus();
}},_applyGroup:function(x,y){if(y){y.remove(this);
}
if(x){x.add(this);
}},_onExecute:function(e){var z=this.getGroup();

if(z&&z.getAllowEmptySelection()){this.toggleValue();
}else{this.setValue(true);
}},_onKeyPress:function(e){var A=this.getGroup();

if(!A){return;
}
switch(e.getKeyIdentifier()){case o:case l:A.selectPrevious();
break;
case q:case g:A.selectNext();
break;
}}}});
})();
(function(){var k="atom",j="changeValue",i="",h="all",g="send-all",f="Send a link to this item to a friend via email",d="send-url",c="cancel",b="help",a="Here is a link that I thought you might be interested in.",U="application/json",T="10%",S="Close",R='width',Q="textarea",P="Send a link to these items to a friend via email",O="Could not process arguments for url window.  Doing nothing.",N="userurlwindow/userurlhelp.html",M="Send All",L="Who will receive this link via email",r="sendFriendUrl",s="online",p="15%",q="middle",n="Subject",o="Sending link...",l="Send to friend now",m="Your Email Address",t="one",u="Your Email",B="completed",z="general",F="grFind Url Link From a Friend",D="Send Now",H="Enter Email Message Here",G="POST",w="Help",K="toolbar",J="Enter subject",I="userUrlWindow - unknown button was pressed ",v='height',x="white",y="This will be the body of your email. Let the recipient know what you are sending and why.",A="Send all to friend now",C="Recipient Email",E="grfind.window.UserUrlWindow";
qx.Class.define(E,{extend:grfind.Window,construct:function(){grfind.Window.call(this);
this.set({caption:f,showMaximize:false});
var V=new qx.ui.container.Composite(new qx.ui.layout.VBox(5)).set({padding:12,backgroundColor:x});
V.add(this._createBottomCanvas(),{flex:1});
this.add(V,{edge:0});
},properties:{databaseType:{init:null},marketType:{init:null},itemArray:{init:null},itemArrayIndex:{init:null},currentItem:{init:null},senderEmail:{init:i},recipientEmail:{init:i},amount:{init:null}},members:{_initialize:function(W,X,Y,ba){try{this.setDatabaseType(W);
this.setSenderEmail(X);
this.setItemArray(Y);
this.setCurrentItem(Y[ba]);
this.setItemArrayIndex(ba);
this.open();
}catch(bb){this.getApp().userMessage(O);
return;
}this.setMarketType(z);
this.urlLabel.exclude();
this.senderField.setValue(this.getSenderEmail());
this._updateState();
},_updateState:function(){this.sendButton.setEnabled(false);
this.sendAllButton.setEnabled(false);
this.sendAllButton.exclude();
this.getItemArray().length>1?this.sendAllButton.show():this.sendAllButton.exclude();

if(qx.lang.String.trim(this.senderField.getValue())&&qx.lang.String.trim(this.recipientField.getValue())&&qx.lang.String.trim(this.descriptionField.getValue())){this.sendButton.setEnabled(true);
this.sendAllButton.setEnabled(true);
}else{this.sendButton.setEnabled(false);
this.sendAllButton.setEnabled(false);
}
if(this.getAmount()==h){this.setCaption(P);
}else{this.setCaption(f);
}},_createBottomCanvas:function(){var bc=new qx.ui.container.Composite(new qx.ui.layout.VBox(8));
this.senderField=new grfind.EditField(u).set({tt:m});
this.recipientField=new grfind.EditField(C).set({tt:L});
this.subjectField=new grfind.EditField(n).set({tt:J});
this.subjectField.setValue(F);
this.descriptionField=new grfind.EditField(H,Q).set({tt:y});
this.descriptionField.setValue(a);
this.recipientField.addListener(j,function(e){this._updateState();
},this);
this.senderField.addListener(j,function(e){this._updateState();
},this);
this.descriptionField.addListener(j,function(e){this._updateState();
},this);
this.urlLabel=new qx.ui.basic.Atom(i).set({rich:true,padding:10,decorator:s});
bc.add(this.senderField);
bc.add(this.recipientField);
bc.add(this.subjectField);
bc.add(this.descriptionField,{flex:1});
bc.add(this.urlLabel);
bc.add(this._createBottomToolbar());
return bc;
},_createBottomToolbar:function(){var toolbar=new qx.ui.container.Composite(new qx.ui.layout.HBox(15).set({alignY:q})).set({font:K});
this.sendButton=new grfind.Button(this,k,d,D);
this.sendAllButton=new grfind.Button(this,k,g,M);
var bd=new grfind.Button(this,k,b,w);
this.cancelButton=new grfind.Button(this,k,c,S);
this.getApp().createTooltip(this.sendButton,null,l);
this.getApp().createTooltip(this.sendAllButton,null,A);
toolbar.add(this.sendButton);
toolbar.add(this.sendAllButton);
toolbar.add(bd);
toolbar.add(new qx.ui.core.Spacer(),{flex:1});
toolbar.add(this.cancelButton);
return toolbar;
},_help:function(){if(!this.helpWindow){this.helpWindow=new grfind.window.HelpWindow();
this.helpWindow.set({width:this.getBounds()[R]*.8,height:this.getBounds()[v]*.8});
this.add(this.helpWindow,{top:T,left:p});
}this.helpWindow.open();
this.helpWindow._initialize(N);
},_sendUrl:function(){this.urlLabel.setLabel(o);
this.urlLabel.show();

if(this.getAmount()==h){var bg=this.getItemArray();
var be=this.getItemArrayIndex();
}else{var bg=[this.getCurrentItem()];
var be=0;
}var bi=qx.lang.String.trim(this.senderField.getValue());
var bh=qx.lang.String.trim(this.recipientField.getValue());
var bj=qx.lang.String.trim(this.subjectField.getValue());
var bf=new grfind.HttpRequest(r,G,U,8000,{'database-url-hash':this.getApp().getDatabaseUrlHash(),'featherbottoms':this.getApp().getFeatherbottoms(),'url-description':qx.lang.String.trim(this.descriptionField.getValue()),'sender-email':bi,'recipient-email':bh,'subject':bj,'item-array':bg,'item-array-index':be,'database-type':this.getDatabaseType()});
bf.addListener(B,function(e){if(e.getData().error==0){this.urlLabel.setLabel(e.getData().msg);
this.getApp().setSenderEmail(bi);
this.getApp().setRecipientEmail(bh);
}else{this.getApp().userMessage(e.getData().msg);
}},this);
bf.start();
},_doButton:function(bk,bl){switch(bk){case d:{this.setAmount(t);
this._sendUrl();
};
break;
case g:{this.setAmount(h);
this._sendUrl();
};
break;
case b:{this._help();
};
break;
case c:{this.close();
};
break;
default:{this.getApp().userMessage(I+bk);
};
}}}});
})();
(function(){var a="qx.ui.core.Spacer";
qx.Class.define(a,{extend:qx.ui.core.LayoutItem,construct:function(b,c){qx.ui.core.LayoutItem.call(this);
this.setWidth(b!=null?b:0);
this.setHeight(c!=null?c: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 o="String",n="execute",m="qx.ui.menu.Menu",l="_shortcut",k="changeEnabled",j="changeToolTipText",i="Boolean",h="qx.ui.core.Command",g="changeLabel",f="changeMenu",c="changeIcon",e="changeValue",d="_applyShortcut",b="_applyEnabled",a="qx.event.type.Data";
qx.Class.define(h,{extend:qx.core.Object,construct:function(p){qx.core.Object.call(this);
this._shortcut=new qx.bom.Shortcut(p);
this._shortcut.addListener(n,this.execute,this);
},events:{"execute":a},properties:{enabled:{init:true,check:i,event:k,apply:b},shortcut:{check:o,apply:d,nullable:true},label:{check:o,nullable:true,event:g},icon:{check:o,nullable:true,event:c},toolTipText:{check:o,nullable:true,event:j},value:{nullable:true,event:e},menu:{check:m,nullable:true,event:f}},members:{_shortcut:null,_applyEnabled:function(q){this._shortcut.setEnabled(q);
},_applyShortcut:function(r){this._shortcut.setShortcut(r);
},execute:function(s){this.fireDataEvent(n,s);
},toString:function(){return this._shortcut.toString();
}},destruct:function(){this._disposeObjects(l);
this.removeListener(n,this.execute,this);
}});
})();
(function(){var m="Unidentified",l="Boolean",k="+",j="short",h="keydown",g="",f="Control",d="keypress",c="-",b="PageUp",S="Escape",R="qx.event.type.Data",Q="_applyShortcut",P="PrintScreen",O="NumLock",N="5",M="8",L="execute",K="Meta",J="0",t="2",u="Shift",r="You can only specify one non modifier key!",s="3",p="/",q="Delete",n="String",o="changeEnabled",v="*",w="qx.bom.Shortcut",B="6",A="4",D="1",C="Alt",F="Not a valid key name for a shortcut: ",E="PageDown",y="Whitespaces are not allowed within shortcuts",I="_applyEnabled",H="7",G="a",x="z",z="9";
qx.Class.define(w,{extend:qx.core.Object,construct:function(T){qx.core.Object.call(this);
this.__rp={};
this.__rq=null;

if(T!=null){this.setShortcut(T);
}this.initEnabled();
},events:{"execute":R},properties:{enabled:{init:true,check:l,event:o,apply:I},shortcut:{check:n,apply:Q,nullable:true},autoRepeat:{check:l,init:false}},members:{__rp:g,__rq:g,execute:function(U){this.fireDataEvent(L,U);
},__rr:function(event){if(this.getEnabled()&&this.__rs(event)){if(!this.isAutoRepeat()){this.execute(event.getTarget());
}event.stop();
}},__gr:function(event){if(this.getEnabled()&&this.__rs(event)){if(this.isAutoRepeat()){this.execute(event.getTarget());
}event.stop();
}},_applyEnabled:function(V,W){if(V){qx.event.Registration.addListener(document.documentElement,h,this.__rr,this);
qx.event.Registration.addListener(document.documentElement,d,this.__gr,this);
}else{qx.event.Registration.removeListener(document.documentElement,h,this.__rr,this);
qx.event.Registration.removeListener(document.documentElement,d,this.__gr,this);
}},_applyShortcut:function(X,Y){if(X){if(X.search(/[\s]+/)!=-1){var bc=y;
this.error(bc);
throw new Error(bc);
}this.__rp={"Control":false,"Shift":false,"Meta":false,"Alt":false};
this.__rq=null;
var ba;
var a=[];

while(X.length>0&&ba!=-1){ba=X.search(/[-+]+/);
a.push((X.length==1||ba==-1)?X:X.substring(0,ba));
X=X.substring(ba+1);
}var bb=a.length;

for(var i=0;i<bb;i++){var bd=this.__ru(a[i]);

switch(bd){case f:case u:case K:case C:this.__rp[bd]=true;
break;
case m:var bc=F+a[i];
this.error(bc);
throw bc;
default:if(this.__rq){var bc=r;
this.error(bc);
throw bc;
}this.__rq=bd;
}}}return true;
},__rs:function(e){var be=this.__rq;

if(!be){return ;
}if((!this.__rp.Shift&&e.isShiftPressed())||(this.__rp.Shift&&!e.isShiftPressed())||(!this.__rp.Control&&e.isCtrlPressed())||(this.__rp.Control&&!e.isCtrlPressed())||(!this.__rp.Meta&&e.isMetaPressed())||(this.__rp.Meta&&!e.isMetaPressed())||(!this.__rp.Alt&&e.isAltPressed())||(this.__rp.Alt&&!e.isAltPressed())){return false;
}
if(be==e.getKeyIdentifier()){return true;
}return false;
},__rt:{esc:S,ctrl:f,print:P,del:q,pageup:b,pagedown:E,numlock:O,numpad_0:J,numpad_1:D,numpad_2:t,numpad_3:s,numpad_4:A,numpad_5:N,numpad_6:B,numpad_7:H,numpad_8:M,numpad_9:z,numpad_divide:p,numpad_multiply:v,numpad_minus:c,numpad_plus:k},__ru:function(bf){var bg=qx.event.handler.Keyboard;
var bh=m;

if(bg.isValidKeyIdentifier(bf)){return bf;
}
if(bf.length==1&&bf>=G&&bf<=x){return bf.toUpperCase();
}bf=bf.toLowerCase();
var bh=this.__rt[bf]||qx.lang.String.firstUp(bf);

if(bg.isValidKeyIdentifier(bh)){return bh;
}else{return m;
}},toString:function(){var bk=this.__rq;
var bj=[];

for(var bi in this.__rp){if(this.__rp[bi]){bj.push(qx.locale.Key.getKeyName(j,bi));
}}
if(bk){bj.push(qx.locale.Key.getKeyName(j,bk));
}return bj.join(k);
}},destruct:function(){this.setEnabled(false);
this.__rp=this.__rq=null;
}});
})();
(function(){var by="Control",bx="End",bw="Left",bv="Meta",bu="Pause",bt="Down",bs="Ctrl",br="Home",bq="Apps",bp="Win",be="Right",bd="Backspace",bc="Space",bb="Up",ba="Shift",Y="Enter",X="Scroll",W="Alt",V="key_full_Meta",U="PrintScreen",bF="NumLock",bG="Escape",bD="key_short_Alt",bE="key_short_Control_Mac",bB="key_short_Insert",bC="Del",bz="Num",bA="key_full_Enter",bH="key_full_Control",bI="qx.locale.Key",bi="Tabulator",bh="key_full_Space",bk="key_short_Meta",bj="key_short_PageUp",bm="key_short_Pause",bl="key_full_Down",bo="key_short_Apps",bn="key_short_Win",bg="key_full_Right",bf="os.name",a="key_short_Up",b="key_full_PageDown",c="key_full_Alt",d="PgDn",e="Esc",f="key_full_Insert",g="osx",h="key_short_Space",i="key_short_Backspace",j="key_short_Home",bM="key_short_Down",bL="PgUp",bK="_Mac",bJ="key_short_CapsLock",bQ="PageUp",bP="key_full_Up",bO="key_full_Home",bN="key_full_Backspace",bS="PageDown",bR="CapsLock",E="Ins",F="key_short_PrintScreen",C="Tab",D="key_full_Apps",I="key_short_Tab",J="key_short_End",G="_",H="Caps",A="key_short_NumLock",B="key_full_Scroll",r="key_short_Left",q="key_short_Scroll",t="key_",s="key_full_Pause",n="key_short_Right",m="key_full_PrintScreen",p="key_full_Win",o="key_full_Control_Mac",l="key_short_Shift",k="key_short_PageDown",O="key_short_Enter",P="key_short_Control",Q="Insert",R="key_short_Escape",K="key_full_Tab",L="Print",M="Delete",N="key_full_CapsLock",S="key_full_Escape",T="key_short_Delete",z="key_full_PageUp",y="key_full_Shift",x="key_full_NumLock",w="key_full_Delete",v="key_full_End",u="key_full_Left";
qx.Class.define(bI,{statics:{getKeyName:function(bT,bU,bV){var bX=t+bT+G+bU;
if(qx.core.Environment.get(bf)==g&&bU==by){bX+=bK;
}var bW=qx.locale.Manager.getInstance().translate(bX,[],bV);

if(bW==bX){return qx.locale.Key._keyNames[bX]||bU;
}else{return bW;
}}},defer:function(bY){var cb={};
var ca=qx.locale.Manager;
cb[ca.marktr(i)]=bd;
cb[ca.marktr(I)]=C;
cb[ca.marktr(h)]=bc;
cb[ca.marktr(O)]=Y;
cb[ca.marktr(l)]=ba;
cb[ca.marktr(P)]=bs;
cb[ca.marktr(bE)]=bs;
cb[ca.marktr(bD)]=W;
cb[ca.marktr(bJ)]=H;
cb[ca.marktr(bk)]=bv;
cb[ca.marktr(R)]=e;
cb[ca.marktr(r)]=bw;
cb[ca.marktr(a)]=bb;
cb[ca.marktr(n)]=be;
cb[ca.marktr(bM)]=bt;
cb[ca.marktr(bj)]=bL;
cb[ca.marktr(k)]=d;
cb[ca.marktr(J)]=bx;
cb[ca.marktr(j)]=br;
cb[ca.marktr(bB)]=E;
cb[ca.marktr(T)]=bC;
cb[ca.marktr(A)]=bz;
cb[ca.marktr(F)]=L;
cb[ca.marktr(q)]=X;
cb[ca.marktr(bm)]=bu;
cb[ca.marktr(bn)]=bp;
cb[ca.marktr(bo)]=bq;
cb[ca.marktr(bN)]=bd;
cb[ca.marktr(K)]=bi;
cb[ca.marktr(bh)]=bc;
cb[ca.marktr(bA)]=Y;
cb[ca.marktr(y)]=ba;
cb[ca.marktr(bH)]=by;
cb[ca.marktr(o)]=by;
cb[ca.marktr(c)]=W;
cb[ca.marktr(N)]=bR;
cb[ca.marktr(V)]=bv;
cb[ca.marktr(S)]=bG;
cb[ca.marktr(u)]=bw;
cb[ca.marktr(bP)]=bb;
cb[ca.marktr(bg)]=be;
cb[ca.marktr(bl)]=bt;
cb[ca.marktr(z)]=bQ;
cb[ca.marktr(b)]=bS;
cb[ca.marktr(v)]=bx;
cb[ca.marktr(bO)]=br;
cb[ca.marktr(f)]=Q;
cb[ca.marktr(w)]=M;
cb[ca.marktr(x)]=bF;
cb[ca.marktr(m)]=U;
cb[ca.marktr(B)]=X;
cb[ca.marktr(s)]=bu;
cb[ca.marktr(p)]=bp;
cb[ca.marktr(D)]=bq;
bY._keyNames=cb;
}});
})();
(function(){var q="Enter Password",o="keydown",n="validatePassword",m="Enter",l="#ff0000",k="valid",j="default",i="appear",h="completed",g="This database is protected by a password.  Please enter the password below.",c="white",f="application/json",d="passwordValidated",b="POST",a="grfind.window.ValidatePasswordWindow";
qx.Class.define(a,{extend:grfind.Window,construct:function(){grfind.Window.call(this);
this.set({caption:q,width:400,modal:true,movable:false,resizable:false,showClose:false,showMaximize:false});
var r=new qx.ui.container.Composite(new qx.ui.layout.VBox(8)).set({padding:15,backgroundColor:c,font:j});
var s=new qx.ui.basic.Label(g).set({rich:true,textColor:l});
this.passwordField=new grfind.EditField(q);
this.passwordField.addListener(o,function(e){if(e.getKeyIdentifier()===m){var p=qx.lang.String.trim(e.getCurrentTarget().getValue());

if(p){this.setPassword(p);
this._validatePassword();
}}},this);
this.addListener(i,function(e){this.passwordField.getInputWidget().focus();
},this);
r.add(s);
r.add(this.passwordField);
this.add(r,{edge:0});
},properties:{password:{init:null},databaseHash:{init:null},urlName:{init:null}},members:{_initialize:function(t,u){this.setDatabaseHash(t);
this.setUrlName(u);
},_validatePassword:function(){var v=new grfind.HttpRequest(n,b,f,6000,{'password':this.getPassword(),'database-hash':this.getDatabaseHash(),'url-name':this.getUrlName()});
v.addListener(h,function(e){if(e.getData().error==0&&e.getData().value==k){this.close();
this.fireDataEvent(d,[]);
}},this);
v.start();
}}});
})();
(function(){var cf="atom",ce="",cd="visible",cc='height',cb='application-data',ca='error-text',bY='width',bX="grfind-background",bW="application/json",bV="application-dialog",bv="table-user-help",bu="completed",bt="table-contact-featherbottoms",bs="resource/images/grfind/loading.gif",br="http://images.gnixterhouse.com/icons/red.gif",bq="solid",bp="table-select-all",bo="middle",bn="table-view-selected",bm="POST",cm='timestamps',cn="View Item",ck="table-contact-grfind",cl="table-unselect-all",ci='config-data',cj="1000",cg="changeValue",ch="keydown",co="Get extended help on how to search for and view items.",cp='fieldchooser-value',bO="#D0D0F2",bN="store",bQ="StoreCanvas - unknown button was pressed ",bP="application-user-help",bS="Help on Searching",bR="Change the maximum number of items that are returned from a search.  Either drag the little box or click in the big box. The value is changed in increments of 1000.",bU='all',bT="changeSelection",bM="resource/images/grfind/green.gif",bL="#ff0000",a="wildcardCleared",b="Unselect all items in the table below",c='total-items-searched',d="SearchServer - return is not zero",f="resource/images/grfind/yellow.gif",g='click',h="grfind.StoreCanvas",i="fieldWasCleared",j="application-about",k="checkBoxWasChanged",ct="Ask a question or send a comment to grFind",cs="60000",cr='value',cq="searchForStoreItems",cx='end-search-server',cw="group",cv="Contact Featherbottoms",cu="Ask a question or send a comment to Featherbottoms",cz="#0000ff",cy="grfind",L="toolbar",M="horizontal",J='database-hash',K="Store Has Been Rendered and Searched",P="resource/images/grfind/go-next.png",Q=" items searched in ",N="changeSlideBar",O=")",H="loadBaseConfigData",I="default",s="allWasCleared",r="25%",u="featherbottoms",t="error",o="center",n="Search Results - select one or more rows in table and click view button to see details.",q="changeFieldFocus",p='left',m="Click this icon to search again",l="Limit to 6000 rows",V='top',W="View Items",X='start-search-server',Y="wildcardPressed",R="Contact grFind",S="changeFieldSelection",T=" rows",U="Customize the results of the table by entering search criteria below.  Click on the Box on the right of each search field to bring up a box where you can choose valid search values.  The search is incremental and the search results are returned as you type.  The search box on the left and the table on the right are always in sync.",ba="changeFieldValue",bb='widget',E="8%",D="click",C="Specify Search Criteria",B='6',A="5%",z="application-history",y="Select All",v="Select all items in the table below",G="numeric",F="Enter",bc="10%",bd="widget",be="View History",bf="Show or hide the searchbox (make the table bigger)",bg="dblclick",bh="interval",bi="wildcardFocused",bj=" secs)",bk=".  (",bl="table-about",bz="Click on one or more rows in the table and click on the <b>View Item</b> button to see details of that item.<br/><br/>You can also double click on a row or hit the ENTER key to view item details.<br/><br/>The paradigm is to quickly find what you are interested in by using the search box on the left, and then selecting and viewing them from the table.",by="View details of the items that are selected in the table below.",bx="See where you have been",bw="Unselect All",bD="Something in table did not render properly",bC="Limit to ",bB="knob",bA="small",bF="resource/images/grfind/go-previous.png",bE="contextmenu",bJ='0',bK="requestFieldChooser",bH="storeRendered",bI="timeout",bG='database-type';
qx.Class.define(h,{extend:qx.ui.container.Composite,construct:function(cA,cB,cC,cD,cE){qx.ui.container.Composite.call(this);
this.setApp(qx.core.Init.getApplication());
this.setDatabaseType(cA);
this.setDatabaseHash(cB);
this.setLayoutName(cC);
this.setSearchCriteriaValues(cD);
cE?this.setOrigin(cE):this.setOrigin(bN);
this.setLayout(new qx.ui.layout.Canvas());
var cG=bF;
var cO=P;
this.searchDelayTimer=new qx.event.Timer();
var cK=new qx.ui.window.Desktop(new qx.ui.window.Manager());
this.setDesktop(cK);
var cM=new qx.ui.container.Composite(new qx.ui.layout.VBox()).set({decorator:bX});
var cN=new qx.ui.container.Composite(new qx.ui.layout.HBox());
var cH=new qx.ui.container.Composite(new qx.ui.layout.VBox().set({alignX:o,alignY:bo}));
this.showHideBarIcon=new qx.ui.basic.Atom(null,cG).set({paddingRight:5});
this.getApp().createTooltip(this.showHideBarIcon,null,bf);
var cF=new qx.ui.splitpane.Pane(M).set({decorator:null});
this.searchCriteriaCanvas=new grfind.SearchCriteriaCanvas().set({padding:[0,5,5,0]});
var cL=new qx.ui.container.Composite(new qx.ui.layout.VBox(2));
this.tableToolbar=this._createTableToolbar();
this.tableCanvas=new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({padding:5,decorator:cw});
this.searchDelayTimer.addListener(bh,function(e){e.getCurrentTarget().stop();
this._searchServer();
},this);
cH.addListener(D,function(e){this.cosmeticBoxLeft.isVisible()?this.cosmeticBoxLeft.exclude():this.cosmeticBoxLeft.show();
this.cosmeticBoxLeft.isVisible()?this.showHideBarIcon.setIcon(cG):this.showHideBarIcon.setIcon(cO);
},this);
this._addSearchCriteriaListeners();
cH.add(this.showHideBarIcon);
cL.add(this.tableToolbar);
cL.add(this.tableCanvas,{flex:1});
this.cosmeticBoxLeft=this.getApp()._createCosmeticCanvas(this.searchCriteriaCanvas,C,U).set({decorator:bX});
var cJ=this.getApp()._createCosmeticCanvas(cL,n,bz).set({decorator:bX});
cF.add(this.cosmeticBoxLeft,3);
cF.add(cJ,10);
cN.add(cH);
cN.add(cF,{flex:1});
cM.add(cN,{flex:1});
cK.add(cM,{edge:0});
this.add(cK,{edge:0});
this.setStoreViewModel(new grfind.StoreViewModel());
var cI=new grfind.HttpRequest(H,bm,bW,6000,{'database-type':this.getDatabaseType(),'database-hash':this.getDatabaseHash(),'layout-name':this.getLayoutName(),'origin':this.getOrigin()});
cI.addListener(bu,function(e){var cQ=false;

if(e.getData().error==0){try{var cP=e.getData()[ci];
cP[bG]=this.getDatabaseType();
cP[J]=this.getDatabaseHash();
this.setSearchCriteriaValues([1576800,ce,{}]);
this.getStoreViewModel()._setLayout(cP);
cQ=true;
}catch(cR){alert("Error - could not get config data "+cR.toString());
}cQ?this._renderStore():null;
}else{alert("Error - could not get config data");
}},this);
cI.start();
},properties:{app:{init:null},desktop:{init:null},storeViewModel:{init:null},origin:{init:null},page:{init:null},databaseType:{init:null},databaseHash:{init:null},layoutName:{init:null},searchCriteriaFields:{init:[]},recipientEmail:{init:null},fieldXRef:{init:{}},databaseValidated:{init:false},lastSearchFields:{init:{}},firstSearch:{init:true},searchCriteriaValues:{init:[]}},members:{_renderStore:function(){try{this.searchCriteriaCanvas._initialize(this.getStoreViewModel(),this.getSearchCriteriaValues());
this._createTable();
this._searchServer();
}catch(cS){alert("Error - could not render or search store "+cS.toString());
}},_updateState:function(){if(this.table){var cT=this.table.getTableModel().getRowCount();
var cU=this._getSelectedCount();
this.selectAllButton.setEnabled(cT!=cU);
this.unselectAllButton.setEnabled(cU>0);
this.viewButton.setEnabled(cU>0);
cU<2?this.viewButton.setLabel(cn):null;
cU>1?this.viewButton.setLabel(W):null;
}},_viewSelectedItems:function(cV){!cV?cV=this._getSelectedItems():null;

if(cV.length>0){try{var w=this.getApp().windowMaker._createViewWindow();
}catch(cX){alert("could not create view window");
}
try{var cW=this.getApp()._viewWindowBounds[this.getDatabaseType()];
w.set({width:cW[bY],height:cW[cc]});
this.getApp().getDesktop().add(w,{top:cW[V],left:cW[p]});
}catch(cY){w.set({width:this.getBounds()[bY]*.8,height:this.getBounds()[cc]*.8});
this.getApp().getDesktop().add(w,{top:A,left:bc});
}w._initialize(this.getDatabaseType(),cV,0,this.getLayoutName());
}},_getSelectedItems:function(){var db=[];

if(this.table){var da=this.table.getTableModel();
this.table.getSelectionModel().iterateSelection(function(dc){db.push([da.getRowDataAsMap(dc)[B],da.getRowDataAsMap(dc)[bJ]]);
},this);
}return db;
},_tableSelectAll:function(){this.table.getSelectionModel().setSelectionInterval(0,this.table.getTableModel().getRowCount()-1);
this._updateState();
},_tableUnselectAll:function(){this.table.getSelectionModel().resetSelection();
this._updateState();
},_getSelectedCount:function(){if(this.table){return this.table.getSelectionModel().getSelectedCount();
}else{return 0;
}},_createTableToolbar:function(){var toolbar=new qx.ui.container.Composite(new qx.ui.layout.Flow(12).set({alignY:bo})).set({font:L});
this.statusButton=new qx.ui.basic.Image(bs);
this.minLabel=new qx.ui.basic.Atom(cj);
this.maxLabel=new qx.ui.basic.Atom(cs);
this.currentLabel=new qx.ui.basic.Atom(l);
this.minLabel.set({paddingTop:2});
this.maxLabel.set({paddingTop:2});
this.currentLabel.set({padding:[4,8,2,8],textColor:bL});
var di=new qx.ui.container.Composite(new qx.ui.layout.Canvas());
di.set({padding:[0,2,0,2],font:bA});
var dg=this.slider=new qx.ui.form.Slider();
dg.set({minimum:1000,maximum:50000,value:6000,singleStep:1000,pageStep:1000});
dg.set({decorator:new qx.ui.decoration.Single(1,bq,bO)});
var dd=dg.getChildControl(bB);
dd.set({marginTop:2,marginBottom:2,decorator:new qx.ui.decoration.Single(1,bq,cz)});
di.add(this.currentLabel);
di.add(dg,{edge:0});
this.viewButton=new grfind.Button(this,cf,bn,cn,null);
this.selectAllButton=new grfind.Button(this,cf,bp,y,null);
this.unselectAllButton=new grfind.Button(this,cf,cl,bw,null);
var df=new grfind.Button(this.getApp(),cf,z,be,null);
this.getApp().createTooltip(this.slider,null,bR,750);
this.getApp().createTooltip(this.statusButton,null,m,250);
this.getApp().createTooltip(this.viewButton,null,by,750);
this.getApp().createTooltip(this.selectAllButton,null,v,750);
this.getApp().createTooltip(this.unselectAllButton,null,b,750);
this.getApp().createTooltip(df,null,bx,750);
this.statusButton.addListener(g,function(e){this._searchServer(true);
},this);
dg.addListener(cg,function(e){this.currentLabel.setLabel(bC+e.getTarget().getValue().toString()+T);
this.searchDelayTimer.restartWith(1000);
},this);
toolbar.add(this.statusButton);
toolbar.add(di);
toolbar.add(this.viewButton);
toolbar.add(this.selectAllButton);
toolbar.add(this.unselectAllButton);

if(this.getApp().getFeatherbottoms()){var dh=new grfind.Button(this,cf,bt,cv,null);
this.getApp().createTooltip(dh,null,cu,750);
}else{var dh=new grfind.Button(this,cf,ck,R,null);
this.getApp().createTooltip(dh,null,ct,750);
}var de=new grfind.Button(this,cf,bv,bS,null);
this.getApp().createTooltip(de,null,co,750);
toolbar.add(de);
toolbar.add(new qx.ui.basic.Atom(ce),{flex:1});
toolbar.add(dh);
toolbar.add(df);
return toolbar;
},_sortByNumberAscending:function(dj,dk){var dl=parseFloat(dj[arguments.callee.columnIndex].replace(/[$.,]/g,ce));
var dm=parseFloat(dk[arguments.callee.columnIndex].replace(/[$.,]/g,ce));

if(qx.lang.Type.isNumber(dl)&&qx.lang.Type.isNumber(dm)){var dn=isNaN(dl)?isNaN(dm)?0:1:isNaN(dm)?-1:null;

if(dn!=null){return dn;
}}return (dl>dm)?1:((dl==dm)?0:-1);
},_sortByNumberDescending:function(dp,dq){var dr=parseFloat(dp[arguments.callee.columnIndex].replace(/[$.,]/g,ce));
var ds=parseFloat(dq[arguments.callee.columnIndex].replace(/[$.,]/g,ce));

if(qx.lang.Type.isNumber(dr)&&qx.lang.Type.isNumber(ds)){var dt=isNaN(dr)?isNaN(ds)?0:1:isNaN(ds)?-1:null;

if(dt!=null){return dt;
}}return (dr<ds)?1:((dr==ds)?0:-1);
},_createTable:function(){var dA=this.getStoreViewModel().getFieldXRef();
var dw=this.getStoreViewModel().getFieldSortTypes();
var dx=[];
var du=[];
var dy=[];
var dv=this.getStoreViewModel().getTableFields();

for(var x=0;x<dv.length;x++){try{var w=parseInt(dv[x][1]);
w==0?w=80:null;
}catch(dD){var w=80;
}dx.push(dv[x][0]);
du.push(dv[x][1]);
dy.push(dv[x][2]);
}var dz=new qx.ui.table.model.Simple();
var dB=[];

for(var x=0;x<dx.length;x++){dB.push(dA[dx[x]]);
}dz.setColumns(dB,dx);
dz.setCaseSensitiveSorting(false);
this.table=new grfind.Table(dz,false);

try{for(var x=0;x<du.length;x++){this.table.setColumnWidth(x,parseInt(du[x]));
this.table.getTableColumnModel().setColumnVisible(x,dy[x]);
}}catch(dE){this.getApp().userMessage(bD);
}this.table.set({font:I,decorator:null});
this.table.setRowHeight(25);
this.table.getSelectionModel().setSelectionMode(qx.ui.table.selection.Model.MULTIPLE_INTERVAL_SELECTION);
this.table.setShowCellFocusIndicator(false);
for(var x in dw){if(dw[x]==G){var dC=this.table.getTableModel().getColumnIndexById(x);
dz.setSortMethods(this.table.getTableModel().getColumnIndexById(x),{'ascending':this._sortByNumberAscending,'descending':this._sortByNumberDescending});
}}this.table.addListener(bg,function(e){this._viewSelectedItems();
},this);
this.table.addListener(bE,function(e){e.stop();
});
this.table.addListener(ch,function(e){if(e.getKeyIdentifier()===F){this._viewSelectedItems();
}},this);
this.table.getSelectionModel().addListener(bT,function(e){this._updateState();
},this);
this.tableCanvas.add(this.table,{edge:0});
},_getSearchFields:function(){var dF=this.searchCriteriaCanvas._getSearchFields({});
return dF;
},_searchServer:function(dG){this.info("searching server ");
var dP=new Date().getTime();
this.getFirstSearch()?this.getApp()._audit[cm][X]=dP:null;
var dJ=this.getStoreViewModel().getTableFields();
var dI=[];

for(var x=0;x<dJ.length;x++){dI.push(dJ[x][0]);
}var dN={'program-name':this.getApp().getProgramName(),'database-type':this.getDatabaseType(),'database-hash':this.getDatabaseHash(),'field-xref':this.getStoreViewModel().getFieldXRef(),'table-header':dI,'item-limit':this.slider.getValue()};
var dL=this._getSearchFields();

for(var dO in dL){dN[dO]=dL[dO];
}this.statusButton.setSource(bs);
var dH=this.table.getTableModel().getSortColumnIndex();
var dK=this.table.getTableModel().isSortAscending();
var dM=new grfind.HttpRequest(cq,bm,bW,12000,dN);
dM.addListener(t,function(e){this.statusButton.setSource(br);
},this);
dM.addListener(bI,function(e){this.statusButton.setSource(br);
},this);
dM.addListener(bu,function(e){try{var dT=new Date().getTime();
var dR=(dT-dP)/1000;
var dS=e.getData()[c]+Q+dR+bj;

if(this.getFirstSearch()){this.getApp()._audit[cm][cx]=new Date().getTime();
}if(e.getData().error==0){try{this.table.setAdditionalStatusBarText(bk+dS+O);
this.table.getTableModel().setData(e.getData()[cr]);

if(this.fieldChooserWindow&&this.fieldChooserWindow.getVisibility()==cd){var dQ=this.fieldChooserWindow.table;
this.fieldChooserWindow._clearTextField();
dQ.getTableModel().setData(e.getData()[cp]);
dQ.getTableModel().sortByColumn(0,true);
}e.getData()[bU]?this.statusButton.setSource(bM):this.statusButton.setSource(f);
this.statusButton.getToolTip().setLabel(e.getData().msg);
this._tableUnselectAll();
this._updateState();
if(this.getFirstSearch()){this.setFirstSearch(false);
this.getApp()._sendBrowserReport();
this.getApp().fireDataEvent(bH,K);
}}catch(dU){alert("We have an error in searchForStoreItems "+dU);
this.getApp()._audit[cb][ca]=dU.toString();
this.getApp()._sendBrowserReport();
}}else{alert("There was a problem with the search. Status not zero");
this.getApp()._audit[cb][ca]=d;
this.getApp()._sendBrowserReport();
}this.setFirstSearch(false);
}catch(dV){this.getApp()._audit[cb][ca]=dV.toString();
this.getApp()._sendBrowserReport();
}},this);
dM.start();
},_addSearchCriteriaListeners:function(){this.searchCriteriaCanvas.addListener(q,function(e){if(this.fieldChooserWindow&&this.fieldChooserWindow.getVisibility()==cd){this.fieldChooserWindow._initialize(e.getData(),this._getSearchFields());
}},this);
this.searchCriteriaCanvas.addListener(bK,function(e){if(!this.fieldChooserWindow){this.fieldChooserWindow=new grfind.window.SearchFieldChooserWindow(this.getStoreViewModel());
this.fieldChooserWindow.addListener(S,function(e){e.getData()[0].getUserData(bb).setValue(e.getData()[1]);
this._searchServer();
},this);
this.fieldChooserWindow.set({width:this.getDesktop().getBounds()[bY]*.2,height:this.getDesktop().getBounds()[cc]*.7});
this.getDesktop().add(this.fieldChooserWindow,{top:E,left:r});
}this.fieldChooserWindow.getVisibility()!=cd?this.fieldChooserWindow.open():null;
e.getData().getUserData(bd).focus();
},this);
this.searchCriteriaCanvas.addListener(k,function(e){this._searchServer();
},this);
this.searchCriteriaCanvas.addListener(s,function(e){this.fieldChooserWindow?this.fieldChooserWindow.close():null;
this.searchDelayTimer.restartWith(1000);
},this);
this.searchCriteriaCanvas.addListener(a,function(e){this._searchServer();
},this);
this.searchCriteriaCanvas.addListener(Y,function(e){this.fieldChooserWindow?this.fieldChooserWindow.close():null;
this.searchDelayTimer.restartWith(1000);
},this);
this.searchCriteriaCanvas.addListener(bi,function(e){this.fieldChooserWindow?this.fieldChooserWindow.close():null;
},this);
this.searchCriteriaCanvas.addListener(i,function(e){this._searchServer();
},this);
this.searchCriteriaCanvas.addListener(ba,function(e){this.searchDelayTimer.restartWith(1000);
},this);
this.searchCriteriaCanvas.addListener(N,function(e){this.searchDelayTimer.restartWith(1000);
},this);
},_doButton:function(dW,dX){switch(dW){case bn:{this._viewSelectedItems();
};
break;
case bp:{this._tableSelectAll();
};
break;
case cl:{this._tableUnselectAll();
};
break;
case bt:{this.getApp()._doButton(bV,u);
};
break;
case ck:{this.getApp()._doButton(bV,cy);
};
break;
case bv:{this.getApp()._doButton(bP);
};
break;
case bl:{this.getApp()._doButton(j);
};
break;
default:{this.getApp().userMessage(bQ+dW);
};
}}}});
})();
(function(){var n='widget',m="",l='field',k="execute",j="blue",i="add",h="qx.ui.form.TextField",g="subtract",f="Limit search to last ",d="click",bF="bold",bE='dbname',bD="focus",bC="changeValue",bB="dummy",bA=" minutes",bz="input",by="yes",bx="qx.ui.form.CheckBox",bw="textfield",u="reset-search-fields",w="</b>",s="right",t="resource/images/grfind/tabclose.png",q="Increase by an Hour",r="add-hour",o="fieldWasCleared",p="Reset Search Fields",E="checkbox",F=" days",X="Narrow search by <b>",T="Limit search to last 3 years",bg="keydown",bb="allWasCleared",bs=">>",bm="<",M="textarea",bv="Search Duration",bu="<<",bt="Up",K="Clear <b>",P=">",R="wildcardFocused",V="grfind.SearchCriteriaCanvas",Y="center",bc="Decrease by a Day",bi=" days ",bo="Search a specific field.  Or a combination of the fields below.",y="changeFieldFocus",z="Or search specific fields",O="SearchCriteriaCanvas - unknown button was pressed ",bf="wildcardPressed",be='26',bd="Reset the search criteria fields",bk='time-limit',bj='wildcard',ba="wildcardCleared",bh="checkBoxWasChanged",a='22',bn="middle",A="Search only items that have been added or modified since the specified duration. Click in the box or drag the slider handle to change the search duration a minute at a time. <br/><br/>Use Right and Left arrow keys to change duration a minute at a time.<br/> Click the appropriate arrow icons on each side of the slider bar to change the duration either a day or an hour at a time.",B="subtract-day",U="changeSlideBar",b="toolbar",c="Search for this value in every field below, plus the item description.",J="small",C="Decrease by an Hour",D='label',I="changeFieldValue",W="subtract-hour",bq="CreateSearchCriteriaField - unknown fieldtype",bp='0',Q="Search everything for",br="Clear",L="Increase by a Day",bl="requestFieldChooser",G="add-day",H="Down",N="resource/images/grfind/listicon.png",S="atom";
qx.Class.define(V,{extend:qx.ui.container.Composite,construct:function(){qx.ui.container.Composite.call(this);
this.setApp(qx.core.Init.getApplication());
this.setLayout(new qx.ui.layout.Canvas());
var bG=new qx.ui.container.Composite(new qx.ui.layout.VBox());
var bI=new qx.ui.container.Composite(new qx.ui.layout.VBox());
var bH=new qx.ui.container.Scroll();
this.searchCriteriaBox=new qx.ui.container.Composite(new qx.ui.layout.VBox(5)).set({padding:10});
bI.add(this.searchCriteriaBox,{flex:1});
bH.add(bI,{edge:0});
bG.add(this._createTimeCanvas());
bG.add(this._createKeywordsCanvas());
bG.add(bH,{flex:1});
bG.add(this._createToolbar());
this.add(bG,{edge:0});
},properties:{app:{init:null},storeViewModel:{init:null}},members:{__rv:[],_initialize:function(bJ,bK){this.setStoreViewModel(bJ);
this.__rv=bK;
var bM=this.getStoreViewModel().getSearchCriteriaFields();
var bN=this.getStoreViewModel().getFieldXRef();
var bR=this.getStoreViewModel().getFieldTypeXRef();
var bO;

for(var x=0;x<bM.length;x++){var bQ=bM[x];
var bP=bN[bQ];
bR[bQ]?bO=bR[bQ]:bO=bw;
this.searchCriteriaBox.add(this._createSearchCriteriaField(bQ,bP,bO));
}var bL=this.__rv[0];
this.__rv[0]?this.slider.setValue(this.__rv[0]):null;
this.__rv[1]?this.wildcardTextField.setValue(this.__rv[1]):null;
this._updateState();
},_updateState:function(){this.searchCriteriaBox.setEnabled(!this.wildcardTextField.getValue());
},_createKeywordsCanvas:function(){var bT=new qx.ui.container.Composite(new qx.ui.layout.VBox(5)).set({padding:[0,0,0,5]});
var bU=new qx.ui.basic.Label(Q).set({font:bF});
this.getApp().createTooltip(bU,null,c,0);
var bV=new qx.ui.basic.Label(z).set({font:bF});
this.getApp().createTooltip(bV,null,bo,0);
var bW=new qx.ui.container.Composite(new qx.ui.layout.HBox(5));
this.wildcardTextField=new qx.ui.form.TextField(m);
var bS=new qx.ui.basic.Atom(null,t).set({padding:[0,2,0,2]});
this.getApp().highlightOnMouseOver(bS);
bS.setToolTip(new qx.ui.tooltip.ToolTip(br).set({rich:true,showTimeout:0}));
this.wildcardTextField.addListener(bz,function(e){this._updateState();
var bX=qx.lang.String.trim(e.getCurrentTarget().getValue());
this.fireDataEvent(bf,bX);
this._updateState();
},this);
this.wildcardTextField.addListener(bD,function(e){var bY=qx.lang.String.trim(e.getCurrentTarget().getValue());
this.fireDataEvent(R,e.getCurrentTarget().getValue());
},this);
bS.addListener(d,function(e){this.wildcardTextField.setValue(m);
this.searchCriteriaBox.setEnabled(true);
this.fireDataEvent(ba,bB);
},this);
bW.add(this.wildcardTextField,{flex:1});
bW.add(bS);
bT.add(bU);
bT.add(bW);
bT.add(bV);
return bT;
},_adjustDuration:function(ca,cb){if(ca==i){var cc=this.slider.getValue()+cb;

if(cc<=this.slider.getMaximum()){this.slider.setValue(cc);
}else{this.slider.setValue(this.slider.getMaximum());
}}else{var cc=this.slider.getValue()-cb;

if(cc>=this.slider.getMinimum()){this.slider.setValue(cc);
}else{this.slider.setValue(this.slider.getMinimum());
}}},_createTimeCanvas:function(){var cg=new qx.ui.container.Composite(new qx.ui.layout.VBox(5)).set({padding:[10,0,5,5]});
var cf=new qx.ui.basic.Atom(bv).set({font:bF});
this.fromLastLabel=new qx.ui.basic.Atom(T).set({font:J});
var cj=new qx.ui.container.Composite(new qx.ui.layout.HBox(8));
this.getApp().createTooltip(cf,null,A,750);
this.slider=new qx.ui.form.Slider();
this.slider.set({width:75,minimum:15,maximum:1576800,value:1576800,pageStep:60,singleStep:1});
var cd=new qx.ui.form.RepeatButton(bu).set({padding:0,decorator:null,textColor:j});
this.getApp().highlightOnMouseOver(cd);
var ch=new qx.ui.form.RepeatButton(bs).set({padding:0,decorator:null,textColor:j});
this.getApp().highlightOnMouseOver(ch);
var ce=new qx.ui.form.RepeatButton(bm).set({padding:0,decorator:null,textColor:j});
this.getApp().highlightOnMouseOver(ce);
var ci=new qx.ui.form.RepeatButton(P).set({padding:02,decorator:null,textColor:j});
this.getApp().highlightOnMouseOver(ci);
this.getApp().createTooltip(ch,null,L,750);
this.getApp().createTooltip(cd,null,bc,750);
this.getApp().createTooltip(ci,null,q,750);
this.getApp().createTooltip(ce,null,C,750);
ch.addListener(k,function(e){this._adjustDuration(i,1440);
},this);
cd.addListener(k,function(e){this._adjustDuration(g,1440);
},this);
ci.addListener(k,function(e){this._adjustDuration(i,60);
},this);
ce.addListener(k,function(e){this._adjustDuration(g,60);
},this);
this.slider.addListener(bg,function(e){switch(e.getKeyIdentifier()){case bt:{this._adjustDuration(g,60);
};
break;
case H:{this._adjustDuration(i,60);
};
break;
default:{};
}},this);
this.slider.addListener(bC,function(e){var cm=e.getData();
var cl=1440;
var ck=cm%cl;
var cn=(cm-ck)/cl;

if(cn==0){this.fromLastLabel.setLabel(f+ck+bA);
}else{if(ck==0){this.fromLastLabel.setLabel(f+cn+F);
}else{this.fromLastLabel.setLabel(f+cn+bi+ck+bA);
}}this.__rv[0]=this.slider.getValue();
this.fireDataEvent(U,bB);
},this);
cj.add(cf);
cj.add(cd);
cj.add(ce);
cj.add(this.slider,{flex:1});
cj.add(ci);
cj.add(ch);
cg.add(cj);
cg.add(this.fromLastLabel);
return cg;
},_createToolbar:function(){var toolbar=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:Y})).set({font:b});
var co=new grfind.Button(this,S,u,p);
this.getApp().createTooltip(co,null,bd,750);
toolbar.add(co);
return toolbar;
},_getSearchFields:function(cp){var cs=this.wildcardTextField.getValue();

if(cs){cp[bj]=true;
var cr=this.searchCriteriaBox.getChildren();

for(var x=0;x<cr.length;x++){var name=cr[x].getUserData(bE);
var cq=cr[x].getUserData(n);
cq&&cq.classname==h&&name?cp[name]=cs:null;
}cp[bp]=cs;
cp[a]=cs;
cp[be]=cs;
}else{var cr=[];
var cr=this.searchCriteriaBox.getChildren();

for(var x=0;x<cr.length;x++){var ct=cr[x].getUserData(bE);
var cq=cr[x].getUserData(n);
if(cq&&(cq.classname==h)&&cq.getValue()&&ct){cp[ct]=cq.getValue();
this.__rv[2][ct]=cq.getValue();
}
if(cq&&cq.classname==bx&&cq.getValue()&&ct){cp[ct]=by;
this.__rv[2][ct]=by;
}}}cp[bk]=this.slider.getValue();
this.__rv[1]=this.wildcardTextField.getValue();
return cp;
},_resetSearchFields:function(cu){var cw=this.searchCriteriaBox.getChildren();

for(var x=0;x<cw.length;x++){var cv=cw[x].getUserData(n);
cv&&cv.classname==h?cv.setValue(m):null;
cv&&cv.classname==bx?cv.setValue(false):null;
}this.wildcardTextField.setValue(m);
this.searchCriteriaBox.setEnabled(true);
this.fireEvent(bb);
},_createSearchCriteriaField:function(cx,cy,cz){var cA=new qx.ui.basic.Atom(null,t).set({padding:[0,2,0,2]});
var cF=new qx.ui.basic.Atom(null,N).set({padding:[0,5,0,5]});
this.getApp().highlightOnMouseOver(cA);
this.getApp().highlightOnMouseOver(cF);
var cD=new qx.ui.container.Composite(new qx.ui.layout.HBox(2).set({alignX:s,alignY:bn}));
var cC=new qx.ui.basic.Atom(cy).set({opacity:0.7});

switch(cz){case M:case bw:{try{var v=this.__rv[2][cx];
}catch(cG){}!v?v==m:null;
var cE=new qx.ui.form.TextField(v);
cA.addListener(d,function(e){var cH=e.getCurrentTarget().getUserData(n).getValue();

if(qx.lang.String.trim(cH)){e.getCurrentTarget().getUserData(n).setValue(m);
this.fireEvent(o);
}},this);
cF.addListener(d,function(e){this.fireDataEvent(bl,e.getCurrentTarget().getUserData(l));
},this);
cE.addListener(bD,function(e){this.fireDataEvent(y,e.getCurrentTarget().getUserData(l));
},this);
cE.addListener(bz,function(e){this.fireEvent(I);
},this);
cA.setToolTip(new qx.ui.tooltip.ToolTip(K+cy+w).set({rich:true,showTimeout:0}));
cF.setToolTip(new qx.ui.tooltip.ToolTip(X+cy+w).set({rich:true,showTimeout:0}));
cA.setUserData(n,cE);
cD.setUserData(n,cE);
cF.setUserData(l,cD);
cE.setUserData(l,cD);
cC.setUserData(l,cD);
cD.add(cC,{flex:1});
cD.add(cE,{flex:3});
cD.add(cA);
cD.add(cF);
};
break;
case E:{var cB=new qx.ui.form.CheckBox(cy).set({iconPosition:s,paddingRight:0});
cB.addListener(bC,function(e){this.fireEvent(bh);
},this);
cA.hide();
cF.hide();
cD.setUserData(n,cB);
cD.add(cB,{flex:1});
cD.add(cA);
cD.add(cF);
};
break;
default:{this.getApp().userMessage(bq);
};
}cD.setUserData(bE,cx);
cD.setUserData(D,cy);
return cD;
},_doButton:function(cI,cJ){switch(cI){case u:{this._resetSearchFields();
};
break;
case G:{var cK=this.slider.getValue()+1440;

if(cK<=this.slider.getMaximum()){this.slider.setValue(cK);
}else{this.slider.setValue(this.slider.getMaximum());
}};
break;
case B:{var cK=this.slider.getValue()-1440;

if(cK>=this.slider.getMinimum()){this.slider.setValue(cK);
}else{this.slider.setValue(this.slider.getMinimum());
}};
break;
case r:{var cK=this.slider.getValue()+60;

if(cK<=this.slider.getMaximum()){this.slider.setValue(cK);
}else{this.slider.setValue(this.slider.getMaximum());
}};
break;
case W:{var cK=this.slider.getValue()-60;

if(cK>=this.slider.getMinimum()){this.slider.setValue(cK);
}else{this.slider.setValue(this.slider.getMinimum());
}};
break;
default:{this.getApp().userMessage(O+cI);
};
}}}});
})();
(function(){var j='field-xref',i='database-hash',h='field-type-xref',g='view-fields',f='search-criteria-fields',e='field-sort-type',d='meta-data',c='table-fields',b="grfind.StoreViewModel",a='database-type';
qx.Class.define(b,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
},properties:{metaData:{init:{}},databaseHash:{init:{}},databaseType:{init:{}},fieldXRef:{init:{}},fieldTypeXRef:{init:{}},fieldSortTypes:{init:{}},tableFields:{init:[]},searchCriteriaFields:{init:[]},viewFields:{init:[]}},members:{_setLayout:function(k){this.setMetaData(k[d]);
this.setDatabaseHash(k[i]);
this.setDatabaseType(k[a]);
this.setFieldXRef(k[j]);
this.setFieldTypeXRef(k[h]);
this.setFieldSortTypes(k[e]);
this.setTableFields(k[c]);
this.setSearchCriteriaFields(k[f]);
this.setViewFields(k[g]);
}}});
})();
(function(){var d="qx.ui.decoration.MBackgroundColor",c="Color",b="_applyBackgroundColor",a="";
qx.Mixin.define(d,{properties:{backgroundColor:{check:c,nullable:true,apply:b}},members:{_tintBackgroundColor:function(e,f,g){var h=qx.theme.manager.Color.getInstance();

if(f==null){f=this.getBackgroundColor();
}g.backgroundColor=h.resolve(f)||a;
},_resizeBackgroundColor:function(i,j,k){var l=this.getInsets();
j-=l.left+l.right;
k-=l.top+l.bottom;
return {left:l.left,top:l.top,width:j,height:k};
},_applyBackgroundColor:function(){}}});
})();
(function(){var t="_applyBackgroundImage",s="repeat",r="",q="mshtml",p="engine.name",o="backgroundPositionX",n='<div style="',m="backgroundPositionY",l='</div>',k="no-repeat",d="engine.version",j="scale",g='">',c=" ",b="repeat-x",f="repeat-y",e="hidden",h="qx.ui.decoration.MBackgroundImage",a="String",i="browser.quirksmode";
qx.Mixin.define(h,{properties:{backgroundImage:{check:a,nullable:true,apply:t},backgroundRepeat:{check:[s,b,f,k,j],init:s,apply:t},backgroundPositionX:{nullable:true,apply:t},backgroundPositionY:{nullable:true,apply:t},backgroundPosition:{group:[m,o]}},members:{_generateMarkup:this._generateBackgroundMarkup,_generateBackgroundMarkup:function(u,content){var y=r;
var x=this.getBackgroundImage();
var w=this.getBackgroundRepeat();
var top=this.getBackgroundPositionY();

if(top==null){top=0;
}var z=this.getBackgroundPositionX();

if(z==null){z=0;
}u.backgroundPosition=z+c+top;
if(x){var v=qx.util.AliasManager.getInstance().resolve(x);
y=qx.bom.element.Decoration.create(v,w,u);
}else{if((qx.core.Environment.get(p)==q)){if(parseFloat(qx.core.Environment.get(d))<7||qx.core.Environment.get(i)){u.overflow=e;
}}
if(!content){content=r;
}y=n+qx.bom.element.Style.compile(u)+g+content+l;
}return y;
},_applyBackgroundImage:function(){}}});
})();
(function(){var j="solid",i="_applyStyle",h="double",g="px ",f="dotted",e="_applyWidth",d="Color",c="",b="dashed",a="Number",D=" ",C="shorthand",B="widthTop",A="styleRight",z="styleBottom",y="widthBottom",x="widthLeft",w="styleTop",v="colorBottom",u="styleLeft",q="widthRight",r="colorLeft",o="colorRight",p="colorTop",m="border-top",n="border-left",k="border-right",l="qx.ui.decoration.MSingleBorder",s="border-bottom",t="absolute";
qx.Mixin.define(l,{properties:{widthTop:{check:a,init:0,apply:e},widthRight:{check:a,init:0,apply:e},widthBottom:{check:a,init:0,apply:e},widthLeft:{check:a,init:0,apply:e},styleTop:{nullable:true,check:[j,f,b,h],init:j,apply:i},styleRight:{nullable:true,check:[j,f,b,h],init:j,apply:i},styleBottom:{nullable:true,check:[j,f,b,h],init:j,apply:i},styleLeft:{nullable:true,check:[j,f,b,h],init:j,apply:i},colorTop:{nullable:true,check:d,apply:i},colorRight:{nullable:true,check:d,apply:i},colorBottom:{nullable:true,check:d,apply:i},colorLeft:{nullable:true,check:d,apply:i},left:{group:[x,u,r]},right:{group:[q,A,o]},top:{group:[B,w,p]},bottom:{group:[y,z,v]},width:{group:[B,q,y,x],mode:C},style:{group:[w,A,z,u],mode:C},color:{group:[p,o,v,r],mode:C}},members:{_styleBorder:function(E){var F=qx.theme.manager.Color.getInstance();
var G=this.getWidthTop();

if(G>0){E[m]=G+g+this.getStyleTop()+D+(F.resolve(this.getColorTop())||c);
}var G=this.getWidthRight();

if(G>0){E[k]=G+g+this.getStyleRight()+D+(F.resolve(this.getColorRight())||c);
}var G=this.getWidthBottom();

if(G>0){E[s]=G+g+this.getStyleBottom()+D+(F.resolve(this.getColorBottom())||c);
}var G=this.getWidthLeft();

if(G>0){E[n]=G+g+this.getStyleLeft()+D+(F.resolve(this.getColorLeft())||c);
}E.position=t;
E.top=0;
E.left=0;
},_resizeBorder:function(H,I,J){var K=this.getInsets();
I-=K.left+K.right;
J-=K.top+K.bottom;
if(I<0){I=0;
}
if(J<0){J=0;
}return {left:K.left-this.getWidthLeft(),top:K.top-this.getWidthTop(),width:I,height:J};
},_getDefaultInsetsForBorder:function(){return {top:this.getWidthTop(),right:this.getWidthRight(),bottom:this.getWidthBottom(),left:this.getWidthLeft()};
},_applyWidth:function(){this._applyStyle();
this._resetInsets();
},_applyStyle:function(){}}});
})();
(function(){var b="px",a="qx.ui.decoration.Single";
qx.Class.define(a,{extend:qx.ui.decoration.Abstract,include:[qx.ui.decoration.MBackgroundImage,qx.ui.decoration.MBackgroundColor,qx.ui.decoration.MSingleBorder],construct:function(c,d,e){qx.ui.decoration.Abstract.call(this);
if(c!=null){this.setWidth(c);
}
if(d!=null){this.setStyle(d);
}
if(e!=null){this.setColor(e);
}},members:{_markup:null,getMarkup:function(f){if(this._markup){return this._markup;
}var g={};
this._styleBorder(g,f);
var h=this._generateBackgroundMarkup(g);
return this._markup=h;
},resize:function(i,j,k){var l=this._resizeBorder(i,j,k);
i.style.width=l.width+b;
i.style.height=l.height+b;
i.style.left=parseInt(i.style.left)+l.left+b;
i.style.top=parseInt(i.style.top)+l.top+b;
},tint:function(m,n){this._tintBackgroundColor(m,n,m.style);
},_isInitialized:function(){return !!this._markup;
},_getDefaultInsets:function(){return this._getDefaultInsetsForBorder();
}},destruct:function(){this._markup=null;
}});
})();
(function(){var c="qx.event.type.Data",b="qx.event.type.Event",a="qx.ui.table.ITableModel";
qx.Interface.define(a,{events:{"dataChanged":c,"metaDataChanged":b,"sorted":c},members:{getRowCount:function(){},getRowData:function(d){},getColumnCount:function(){},getColumnId:function(e){},getColumnIndexById:function(f){},getColumnName:function(g){},isColumnEditable:function(h){},isColumnSortable:function(i){},sortByColumn:function(j,k){},getSortColumnIndex:function(){},isSortAscending:function(){},prefetchRows:function(l,m){},getValue:function(n,o){},getValueById:function(p,q){},setValue:function(r,s,t){},setValueById:function(u,v,w){}}});
})();
(function(){var e="metaDataChanged",d="qx.event.type.Data",c="qx.event.type.Event",b="abstract",a="qx.ui.table.model.Abstract";
qx.Class.define(a,{type:b,extend:qx.core.Object,implement:qx.ui.table.ITableModel,events:{"dataChanged":d,"metaDataChanged":c,"sorted":d},construct:function(){qx.core.Object.call(this);
this.__rw=[];
this.__rx=[];
this.__ry={};
},members:{__rw:null,__rx:null,__ry:null,__rz:null,init:function(f){},getRowCount:function(){throw new Error("getRowCount is abstract");
},getRowData:function(g){return null;
},isColumnEditable:function(h){return false;
},isColumnSortable:function(j){return false;
},sortByColumn:function(k,l){},getSortColumnIndex:function(){return -1;
},isSortAscending:function(){return true;
},prefetchRows:function(m,n){},getValue:function(o,p){throw new Error("getValue is abstract");
},getValueById:function(q,r){return this.getValue(this.getColumnIndexById(q),r);
},setValue:function(s,t,u){throw new Error("setValue is abstract");
},setValueById:function(v,w,x){this.setValue(this.getColumnIndexById(v),w,x);
},getColumnCount:function(){return this.__rw.length;
},getColumnIndexById:function(y){return this.__ry[y];
},getColumnId:function(z){return this.__rw[z];
},getColumnName:function(A){return this.__rx[A];
},setColumnIds:function(B){this.__rw=B;
this.__ry={};

for(var i=0;i<B.length;i++){this.__ry[B[i]]=i;
}this.__rx=new Array(B.length);
if(!this.__rz){this.fireEvent(e);
}},setColumnNamesByIndex:function(C){if(this.__rw.length!=C.length){throw new Error("this.__columnIdArr and columnNameArr have different length: "+this.__rw.length+" != "+C.length);
}this.__rx=C;
this.fireEvent(e);
},setColumnNamesById:function(D){this.__rx=new Array(this.__rw.length);

for(var i=0;i<this.__rw.length;++i){this.__rx[i]=D[this.__rw[i]];
}},setColumns:function(E,F){var G=this.__rw.length==0||F;

if(F==null){if(this.__rw.length==0){F=E;
}else{F=this.__rw;
}}
if(F.length!=E.length){throw new Error("columnIdArr and columnNameArr have different length: "+F.length+" != "+E.length);
}
if(G){this.__rz=true;
this.setColumnIds(F);
this.__rz=false;
}this.setColumnNamesByIndex(E);
}},destruct:function(){this.__rw=this.__rx=this.__ry=null;
}});
})();
(function(){var e="dataChanged",d="metaDataChanged",c="qx.ui.table.model.Simple",b="Boolean",a="sorted";
qx.Class.define(c,{extend:qx.ui.table.model.Abstract,construct:function(){qx.ui.table.model.Abstract.call(this);
this.__rA=[];
this.__rB=-1;
this.__rC=[];
this.__rD=null;
},properties:{caseSensitiveSorting:{check:b,init:true}},statics:{_defaultSortComparatorAscending:function(f,g){var h=f[arguments.callee.columnIndex];
var k=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);
},_defaultSortComparatorInsensitiveAscending:function(m,n){var o=(m[arguments.callee.columnIndex].toLowerCase?m[arguments.callee.columnIndex].toLowerCase():m[arguments.callee.columnIndex]);
var p=(n[arguments.callee.columnIndex].toLowerCase?n[arguments.callee.columnIndex].toLowerCase():n[arguments.callee.columnIndex]);

if(qx.lang.Type.isNumber(o)&&qx.lang.Type.isNumber(p)){var q=isNaN(o)?isNaN(p)?0:1:isNaN(p)?-1:null;

if(q!=null){return q;
}}return (o>p)?1:((o==p)?0:-1);
},_defaultSortComparatorDescending:function(r,s){var t=r[arguments.callee.columnIndex];
var u=s[arguments.callee.columnIndex];

if(qx.lang.Type.isNumber(t)&&qx.lang.Type.isNumber(u)){var v=isNaN(t)?isNaN(u)?0:1:isNaN(u)?-1:null;

if(v!=null){return v;
}}return (t<u)?1:((t==u)?0:-1);
},_defaultSortComparatorInsensitiveDescending:function(w,x){var y=(w[arguments.callee.columnIndex].toLowerCase?w[arguments.callee.columnIndex].toLowerCase():w[arguments.callee.columnIndex]);
var z=(x[arguments.callee.columnIndex].toLowerCase?x[arguments.callee.columnIndex].toLowerCase():x[arguments.callee.columnIndex]);

if(qx.lang.Type.isNumber(y)&&qx.lang.Type.isNumber(z)){var A=isNaN(y)?isNaN(z)?0:1:isNaN(z)?-1:null;

if(A!=null){return A;
}}return (y<z)?1:((y==z)?0:-1);
}},members:{__rA:null,__rD:null,__rE:null,__rC:null,__rB:null,__rF:null,getRowData:function(B){var C=this.__rA[B];

if(C==null||C.originalData==null){return C;
}else{return C.originalData;
}},getRowDataAsMap:function(D){var F=this.__rA[D];

if(F!=null){var E={};
for(var G=0;G<this.getColumnCount();G++){E[this.getColumnId(G)]=F[G];
}
if(F.originalData!=null){for(var H in F.originalData){if(E[H]==undefined){E[H]=F.originalData[H];
}}}return E;
}return (F&&F.originalData)?F.originalData:null;
},getDataAsMapArray:function(){var J=this.getRowCount();
var I=[];

for(var i=0;i<J;i++){I.push(this.getRowDataAsMap(i));
}return I;
},setEditable:function(K){this.__rD=[];

for(var L=0;L<this.getColumnCount();L++){this.__rD[L]=K;
}this.fireEvent(d);
},setColumnEditable:function(M,N){if(N!=this.isColumnEditable(M)){if(this.__rD==null){this.__rD=[];
}this.__rD[M]=N;
this.fireEvent(d);
}},isColumnEditable:function(O){return this.__rD?(this.__rD[O]==true):false;
},setColumnSortable:function(P,Q){if(Q!=this.isColumnSortable(P)){if(this.__rE==null){this.__rE=[];
}this.__rE[P]=Q;
this.fireEvent(d);
}},isColumnSortable:function(R){return (this.__rE?(this.__rE[R]!==false):true);
},sortByColumn:function(S,T){var W;
var V=this.__rC[S];

if(V){W=(T?V.ascending:V.descending);
}else{if(this.getCaseSensitiveSorting()){W=(T?qx.ui.table.model.Simple._defaultSortComparatorAscending:qx.ui.table.model.Simple._defaultSortComparatorDescending);
}else{W=(T?qx.ui.table.model.Simple._defaultSortComparatorInsensitiveAscending:qx.ui.table.model.Simple._defaultSortComparatorInsensitiveDescending);
}}W.columnIndex=S;
this.__rA.sort(W);
this.__rB=S;
this.__rF=T;
var U={columnIndex:S,ascending:T};
this.fireDataEvent(a,U);
this.fireEvent(d);
},setSortMethods:function(X,Y){var ba;

if(qx.lang.Type.isFunction(Y)){ba={ascending:Y,descending:function(bb,bc){return Y(bc,bb);
}};
}else{ba=Y;
}this.__rC[X]=ba;
},getSortMethods:function(bd){return this.__rC[bd];
},clearSorting:function(){if(this.__rB!=-1){this.__rB=-1;
this.__rF=true;
this.fireEvent(d);
}},getSortColumnIndex:function(){return this.__rB;
},_setSortColumnIndex:function(be){this.__rB=be;
},isSortAscending:function(){return this.__rF;
},_setSortAscending:function(bf){this.__rF=bf;
},getRowCount:function(){return this.__rA.length;
},getValue:function(bg,bh){if(bh<0||bh>=this.__rA.length){throw new Error("this.__rowArr out of bounds: "+bh+" (0.."+this.__rA.length+")");
}return this.__rA[bh][bg];
},setValue:function(bi,bj,bk){if(this.__rA[bj][bi]!=bk){this.__rA[bj][bi]=bk;
if(this.hasListener(e)){var bl={firstRow:bj,lastRow:bj,firstColumn:bi,lastColumn:bi};
this.fireDataEvent(e,bl);
}
if(bi==this.__rB){this.clearSorting();
}}},setData:function(bm,bn){this.__rA=bm;
if(this.hasListener(e)){var bo={firstRow:0,lastRow:bm.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};
this.fireDataEvent(e,bo);
}
if(bn!==false){this.clearSorting();
}},getData:function(){return this.__rA;
},setDataAsMapArray:function(bp,bq,br){this.setData(this._mapArray2RowArr(bp,bq),br);
},addRows:function(bs,bt,bu){if(bt==null){bt=this.__rA.length;
}bs.splice(0,0,bt,0);
Array.prototype.splice.apply(this.__rA,bs);
var bv={firstRow:bt,lastRow:this.__rA.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};
this.fireDataEvent(e,bv);

if(bu!==false){this.clearSorting();
}},addRowsAsMapArray:function(bw,bx,by,bz){this.addRows(this._mapArray2RowArr(bw,by),bx,bz);
},setRows:function(bA,bB,bC){if(bB==null){bB=0;
}bA.splice(0,0,bB,bA.length);
Array.prototype.splice.apply(this.__rA,bA);
var bD={firstRow:bB,lastRow:this.__rA.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};
this.fireDataEvent(e,bD);

if(bC!==false){this.clearSorting();
}},setRowsAsMapArray:function(bE,bF,bG,bH){this.setRows(this._mapArray2RowArr(bE,bG),bF,bH);
},removeRows:function(bI,bJ,bK){this.__rA.splice(bI,bJ);
var bL={firstRow:bI,lastRow:this.__rA.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1,removeStart:bI,removeCount:bJ};
this.fireDataEvent(e,bL);

if(bK!==false){this.clearSorting();
}},_mapArray2RowArr:function(bM,bN){var bR=bM.length;
var bO=this.getColumnCount();
var bQ=new Array(bR);
var bP;

for(var i=0;i<bR;++i){bP=[];

if(bN){bP.originalData=bM[i];
}
for(var j=0;j<bO;++j){bP[j]=bM[i][this.getColumnId(j)];
}bQ[i]=bP;
}return bQ;
}},destruct:function(){this.__rA=this.__rD=this.__rC=this.__rE=null;
}});
})();
(function(){var p="Boolean",o="column-button",n="Function",m="qx.event.type.Data",k="statusbar",h="qx.ui.table.pane.CellEvent",g="function",f="PageUp",e="dataChanged",d="changeLocale",bH="changeSelection",bG="__rP",bF="appear",bE="qx.dynlocale",bD='"',bC="Enter",bB="metaDataChanged",bA="_applyStatusBarVisible",bz="columnVisibilityMenuCreateStart",by="blur",w="qx.ui.table.Table",y="columnVisibilityMenuCreateEnd",u="changeVisible",v="_applyResetSelectionOnHeaderClick",s="_applyMetaColumnCounts",t="focus",q="changeDataRowRenderer",r="changeHeaderCellHeight",F="Escape",G="A",ba="changeSelectionModel",V="Left",bi="Down",bd="Integer",bu="_applyHeaderCellHeight",bo="visibilityChanged",O="qx.ui.table.ITableModel",bx="orderChanged",bw="_applySelectionModel",bv="menu-button",M="menu",R="_applyAdditionalStatusBarText",T="_applyFocusCellOnMouseMove",X="table",bb="_applyColumnVisibilityButtonVisible",be="changeTableModel",bk="qx.event.type.Event",bq="tableWidthChanged",z="_applyHeaderCellsVisible",A="Object",Q="_applyShowCellFocusIndicator",bh="resize",bg="verticalScrollBarChanged",bf="changeScrollY",bm="_applyTableModel",bl="End",bc="_applyKeepFirstVisibleRowComplete",bj="widthChanged",a="one of one row",bp="Home",B="_applyRowHeight",C="F2",W="Up",b="%1 rows",c="qx.ui.table.selection.Model",L="one row",D="__rN",E="PageDown",K="%1 of %2 rows",Y="keypress",bs="changeRowHeight",br="Number",S="__rO",bt="__rH",N="header",bn="__jf",H="_applyContextMenuFromDataCellsOnly",J="qx.ui.table.IRowRenderer",P="Right",U="__rG",I="Space";
qx.Class.define(w,{extend:qx.ui.core.Widget,construct:function(bI,bJ){qx.ui.core.Widget.call(this);
if(!bJ){bJ={};
}
if(bJ.initiallyHiddenColumns){this.setInitiallyHiddenColumns(bJ.initiallyHiddenColumns);
}
if(bJ.selectionManager){this.setNewSelectionManager(bJ.selectionManager);
}
if(bJ.selectionModel){this.setNewSelectionModel(bJ.selectionModel);
}
if(bJ.tableColumnModel){this.setNewTableColumnModel(bJ.tableColumnModel);
}
if(bJ.tablePane){this.setNewTablePane(bJ.tablePane);
}
if(bJ.tablePaneHeader){this.setNewTablePaneHeader(bJ.tablePaneHeader);
}
if(bJ.tablePaneScroller){this.setNewTablePaneScroller(bJ.tablePaneScroller);
}
if(bJ.tablePaneModel){this.setNewTablePaneModel(bJ.tablePaneModel);
}
if(bJ.columnMenu){this.setNewColumnMenu(bJ.columnMenu);
}this._setLayout(new qx.ui.layout.VBox());
this.__rG=new qx.ui.container.Composite(new qx.ui.layout.HBox());
this._add(this.__rG,{flex:1});
this.setDataRowRenderer(new qx.ui.table.rowrenderer.Default(this));
this.__rH=this.getNewSelectionManager()(this);
this.setSelectionModel(this.getNewSelectionModel()(this));
this.setTableModel(bI||this.getEmptyTableModel());
this.setMetaColumnCounts([-1]);
this.setTabIndex(1);
this.addListener(Y,this._onKeyPress);
this.addListener(t,this._onFocusChanged);
this.addListener(by,this._onFocusChanged);
var bK=new qx.ui.core.Widget().set({height:0});
this._add(bK);
bK.addListener(bh,this._onResize,this);
this.__rI=null;
this.__rJ=null;
if(qx.core.Environment.get(bE)){qx.locale.Manager.getInstance().addListener(d,this._onChangeLocale,this);
}this.initStatusBarVisible();
bI=this.getTableModel();

if(bI.init&&typeof (bI.init)==g){bI.init(this);
}},events:{"columnVisibilityMenuCreateStart":m,"columnVisibilityMenuCreateEnd":m,"tableWidthChanged":bk,"verticalScrollBarChanged":m,"cellClick":h,"cellDblclick":h,"cellContextmenu":h,"dataEdited":m},statics:{__rK:{cellClick:1,cellDblclick:1,cellContextmenu:1}},properties:{appearance:{refine:true,init:X},focusable:{refine:true,init:true},minWidth:{refine:true,init:50},initiallyHiddenColumns:{init:null},selectable:{refine:true,init:false},selectionModel:{check:c,apply:bw,event:ba},tableModel:{check:O,apply:bm,event:be},rowHeight:{check:br,init:20,apply:B,event:bs,themeable:true},forceLineHeight:{check:p,init:true},headerCellsVisible:{check:p,init:true,apply:z,themeable:true},headerCellHeight:{check:bd,init:16,apply:bu,event:r,nullable:true,themeable:true},statusBarVisible:{check:p,init:true,apply:bA},additionalStatusBarText:{nullable:true,init:null,apply:R},columnVisibilityButtonVisible:{check:p,init:true,apply:bb,themeable:true},metaColumnCounts:{check:A,apply:s},focusCellOnMouseMove:{check:p,init:false,apply:T},rowFocusChangeModifiesSelection:{check:p,init:true},showCellFocusIndicator:{check:p,init:true,apply:Q},contextMenuFromDataCellsOnly:{check:p,init:true,apply:H},keepFirstVisibleRowComplete:{check:p,init:true,apply:bc},alwaysUpdateCells:{check:p,init:false},resetSelectionOnHeaderClick:{check:p,init:true,apply:v},dataRowRenderer:{check:J,init:null,nullable:true,event:q},modalCellEditorPreOpenFunction:{check:n,init:null,nullable:true},newColumnMenu:{check:n,init:function(){return new qx.ui.table.columnmenu.Button();
}},newSelectionManager:{check:n,init:function(bL){return new qx.ui.table.selection.Manager(bL);
}},newSelectionModel:{check:n,init:function(bM){return new qx.ui.table.selection.Model(bM);
}},newTableColumnModel:{check:n,init:function(bN){return new qx.ui.table.columnmodel.Basic(bN);
}},newTablePane:{check:n,init:function(bO){return new qx.ui.table.pane.Pane(bO);
}},newTablePaneHeader:{check:n,init:function(bP){return new qx.ui.table.pane.Header(bP);
}},newTablePaneScroller:{check:n,init:function(bQ){return new qx.ui.table.pane.Scroller(bQ);
}},newTablePaneModel:{check:n,init:function(bR){return new qx.ui.table.pane.Model(bR);
}}},members:{__rI:null,__rJ:null,__rG:null,__rH:null,__rL:null,__rM:null,__rz:null,__rN:null,__rO:null,__rP:null,__rQ:null,__jf:null,_createChildControlImpl:function(bS,bT){var bU;

switch(bS){case k:bU=new qx.ui.basic.Label();
bU.set({allowGrowX:true});
this._add(bU);
break;
case o:bU=this.getNewColumnMenu()();
bU.set({focusable:false});
var bV=bU.factory(M,{table:this});
bV.addListener(bF,this._initColumnMenu,this);
break;
}return bU||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,bS);
},_applySelectionModel:function(bW,bX){this.__rH.setSelectionModel(bW);

if(bX!=null){bX.removeListener(bH,this._onSelectionChanged,this);
}bW.addListener(bH,this._onSelectionChanged,this);
},_applyRowHeight:function(bY,ca){var cb=this._getPaneScrollerArr();

for(var i=0;i<cb.length;i++){cb[i].updateVerScrollBarMaximum();
}},_applyHeaderCellsVisible:function(cc,cd){var ce=this._getPaneScrollerArr();

for(var i=0;i<ce.length;i++){ce[i]._excludeChildControl(N);
}},_applyHeaderCellHeight:function(cf,cg){var ch=this._getPaneScrollerArr();

for(var i=0;i<ch.length;i++){ch[i].getHeader().setHeight(cf);
}},getEmptyTableModel:function(){if(!this.__rP){this.__rP=new qx.ui.table.model.Simple();
this.__rP.setColumns([]);
this.__rP.setData([]);
}return this.__rP;
},_applyTableModel:function(ci,cj){this.getTableColumnModel().init(ci.getColumnCount(),this);

if(cj!=null){cj.removeListener(bB,this._onTableModelMetaDataChanged,this);
cj.removeListener(e,this._onTableModelDataChanged,this);
}ci.addListener(bB,this._onTableModelMetaDataChanged,this);
ci.addListener(e,this._onTableModelDataChanged,this);
this._updateStatusBar();
this._updateTableData(0,ci.getRowCount(),0,ci.getColumnCount());
this._onTableModelMetaDataChanged();
if(cj&&ci.init&&typeof (ci.init)==g){ci.init(this);
}},getTableColumnModel:function(){if(!this.__rO){var cn=this.__rO=this.getNewTableColumnModel()(this);
cn.addListener(bo,this._onColVisibilityChanged,this);
cn.addListener(bj,this._onColWidthChanged,this);
cn.addListener(bx,this._onColOrderChanged,this);
var cm=this.getTableModel();
cn.init(cm.getColumnCount(),this);
var ck=this._getPaneScrollerArr();

for(var i=0;i<ck.length;i++){var cl=ck[i];
var co=cl.getTablePaneModel();
co.setTableColumnModel(cn);
}}return this.__rO;
},_applyStatusBarVisible:function(cp,cq){if(cp){this._showChildControl(k);
}else{this._excludeChildControl(k);
}
if(cp){this._updateStatusBar();
}},_applyAdditionalStatusBarText:function(cr,cs){this.__rL=cr;
this._updateStatusBar();
},_applyColumnVisibilityButtonVisible:function(ct,cu){if(ct){this._showChildControl(o);
}else{this._excludeChildControl(o);
}},_applyMetaColumnCounts:function(cv,cw){var cD=cv;
var cx=this._getPaneScrollerArr();
var cB={};

if(cv>cw){var cF=qx.event.Registration.getManager(cx[0]);

for(var cG in qx.ui.table.Table.__rK){cB[cG]={};
cB[cG].capture=cF.getListeners(cx[0],cG,true);
cB[cG].bubble=cF.getListeners(cx[0],cG,false);
}}this._cleanUpMetaColumns(cD.length);
var cC=0;

for(var i=0;i<cx.length;i++){var cH=cx[i];
var cE=cH.getTablePaneModel();
cE.setFirstColumnX(cC);
cE.setMaxColumnCount(cD[i]);
cC+=cD[i];
}if(cD.length>cx.length){var cA=this.getTableColumnModel();

for(var i=cx.length;i<cD.length;i++){var cE=this.getNewTablePaneModel()(cA);
cE.setFirstColumnX(cC);
cE.setMaxColumnCount(cD[i]);
cC+=cD[i];
var cH=this.getNewTablePaneScroller()(this);
cH.setTablePaneModel(cE);
cH.addListener(bf,this._onScrollY,this);
for(cG in qx.ui.table.Table.__rK){if(!cB[cG]){break;
}
if(cB[cG].capture&&cB[cG].capture.length>0){var cy=cB[cG].capture;

for(var j=0;j<cy.length;j++){var cz=cy[j].context;

if(!cz){cz=this;
}else if(cz==cx[0]){cz=cH;
}cH.addListener(cG,cy[j].handler,cz,true);
}}
if(cB[cG].bubble&&cB[cG].bubble.length>0){var cJ=cB[cG].bubble;

for(var j=0;j<cJ.length;j++){var cz=cJ[j].context;

if(!cz){cz=this;
}else if(cz==cx[0]){cz=cH;
}cH.addListener(cG,cJ[j].handler,cz,false);
}}}var cI=(i==cD.length-1)?1:0;
this.__rG.add(cH,{flex:cI});
cx=this._getPaneScrollerArr();
}}for(var i=0;i<cx.length;i++){var cH=cx[i];
var cK=(i==(cx.length-1));
cH.getHeader().setHeight(this.getHeaderCellHeight());
cH.setTopRightWidget(cK?this.getChildControl(o):null);
}
if(!this.isColumnVisibilityButtonVisible()){this._excludeChildControl(o);
}this._updateScrollerWidths();
this._updateScrollBarVisibility();
},_applyFocusCellOnMouseMove:function(cL,cM){var cN=this._getPaneScrollerArr();

for(var i=0;i<cN.length;i++){cN[i].setFocusCellOnMouseMove(cL);
}},_applyShowCellFocusIndicator:function(cO,cP){var cQ=this._getPaneScrollerArr();

for(var i=0;i<cQ.length;i++){cQ[i].setShowCellFocusIndicator(cO);
}},_applyContextMenuFromDataCellsOnly:function(cR,cS){var cT=this._getPaneScrollerArr();

for(var i=0;i<cT.length;i++){cT[i].setContextMenuFromDataCellsOnly(cR);
}},_applyKeepFirstVisibleRowComplete:function(cU,cV){var cW=this._getPaneScrollerArr();

for(var i=0;i<cW.length;i++){cW[i].onKeepFirstVisibleRowCompleteChanged();
}},_applyResetSelectionOnHeaderClick:function(cX,cY){var da=this._getPaneScrollerArr();

for(var i=0;i<da.length;i++){da[i].setResetSelectionOnHeaderClick(cX);
}},getSelectionManager:function(){return this.__rH;
},_getPaneScrollerArr:function(){return this.__rG.getChildren();
},getPaneScroller:function(db){return this._getPaneScrollerArr()[db];
},_cleanUpMetaColumns:function(dc){var dd=this._getPaneScrollerArr();

if(dd!=null){for(var i=dd.length-1;i>=dc;i--){dd[i].destroy();
}}},_onChangeLocale:function(de){this.updateContent();
this._updateStatusBar();
},_onSelectionChanged:function(df){var dg=this._getPaneScrollerArr();

for(var i=0;i<dg.length;i++){dg[i].onSelectionChanged();
}this._updateStatusBar();
},_onTableModelMetaDataChanged:function(dh){var di=this._getPaneScrollerArr();

for(var i=0;i<di.length;i++){di[i].onTableModelMetaDataChanged();
}this._updateStatusBar();
},_onTableModelDataChanged:function(dj){var dk=dj.getData();
this._updateTableData(dk.firstRow,dk.lastRow,dk.firstColumn,dk.lastColumn,dk.removeStart,dk.removeCount);
},_updateTableData:function(dl,dm,dn,dp,dq,dr){var ds=this._getPaneScrollerArr();
if(dr){this.getSelectionModel().removeSelectionInterval(dq,dq+dr);
if(this.__rJ>=dq&&this.__rJ<(dq+dr)){this.setFocusedCell();
}}
for(var i=0;i<ds.length;i++){ds[i].onTableModelDataChanged(dl,dm,dn,dp);
}var dt=this.getTableModel().getRowCount();

if(dt!=this.__rM){this.__rM=dt;
this._updateScrollBarVisibility();
this._updateStatusBar();
}},_onScrollY:function(du){if(!this.__rz){this.__rz=true;
var dv=this._getPaneScrollerArr();

for(var i=0;i<dv.length;i++){dv[i].setScrollY(du.getData());
}this.__rz=false;
}},_onKeyPress:function(dw){if(!this.getEnabled()){return;
}var dD=this.__rJ;
var dA=true;
var dE=dw.getKeyIdentifier();

if(this.isEditing()){if(dw.getModifiers()==0){switch(dE){case bC:this.stopEditing();
var dD=this.__rJ;
this.moveFocusedCell(0,1);

if(this.__rJ!=dD){dA=this.startEditing();
}break;
case F:this.cancelEditing();
this.focus();
break;
default:dA=false;
break;
}}}else{if(dw.isCtrlPressed()){dA=true;

switch(dE){case G:var dB=this.getTableModel().getRowCount();

if(dB>0){this.getSelectionModel().setSelectionInterval(0,dB-1);
}break;
default:dA=false;
break;
}}else{switch(dE){case I:this.__rH.handleSelectKeyDown(this.__rJ,dw);
break;
case C:case bC:this.startEditing();
dA=true;
break;
case bp:this.setFocusedCell(this.__rI,0,true);
break;
case bl:var dB=this.getTableModel().getRowCount();
this.setFocusedCell(this.__rI,dB-1,true);
break;
case V:this.moveFocusedCell(-1,0);
break;
case P:this.moveFocusedCell(1,0);
break;
case W:this.moveFocusedCell(0,-1);
break;
case bi:this.moveFocusedCell(0,1);
break;
case f:case E:var dz=this.getPaneScroller(0);
var dC=dz.getTablePane();
var dy=this.getRowHeight();
var dx=(dE==f)?-1:1;
dB=dC.getVisibleRowCount()-1;
dz.setScrollY(dz.getScrollY()+dx*dB*dy);
this.moveFocusedCell(0,dx*dB);
break;
default:dA=false;
}}}
if(dD!=this.__rJ&&this.getRowFocusChangeModifiesSelection()){this.__rH.handleMoveKeyDown(this.__rJ,dw);
}
if(dA){dw.preventDefault();
dw.stopPropagation();
}},_onFocusChanged:function(dF){var dG=this._getPaneScrollerArr();

for(var i=0;i<dG.length;i++){dG[i].onFocusChanged();
}},_onColVisibilityChanged:function(dH){var dI=this._getPaneScrollerArr();

for(var i=0;i<dI.length;i++){dI[i].onColVisibilityChanged();
}var dJ=dH.getData();

if(this.__rN!=null&&dJ.col!=null&&dJ.visible!=null){this.__rN[dJ.col].setVisible(dJ.visible);
}this._updateScrollerWidths();
this._updateScrollBarVisibility();
},_onColWidthChanged:function(dK){var dL=this._getPaneScrollerArr();

for(var i=0;i<dL.length;i++){var dM=dK.getData();
dL[i].setColumnWidth(dM.col,dM.newWidth);
}this._updateScrollerWidths();
this._updateScrollBarVisibility();
},_onColOrderChanged:function(dN){var dO=this._getPaneScrollerArr();

for(var i=0;i<dO.length;i++){dO[i].onColOrderChanged();
}this._updateScrollerWidths();
this._updateScrollBarVisibility();
},getTablePaneScrollerAtPageX:function(dP){var dQ=this._getMetaColumnAtPageX(dP);
return (dQ!=-1)?this.getPaneScroller(dQ):null;
},setFocusedCell:function(dR,dS,dT){if(!this.isEditing()&&(dR!=this.__rI||dS!=this.__rJ)){if(dR===null){dR=0;
}this.__rI=dR;
this.__rJ=dS;
var dU=this._getPaneScrollerArr();

for(var i=0;i<dU.length;i++){dU[i].setFocusedCell(dR,dS);
}
if(dR!==null&&dT){this.scrollCellVisible(dR,dS);
}}},resetSelection:function(){this.getSelectionModel().resetSelection();
},resetCellFocus:function(){this.setFocusedCell(null,null,false);
},getFocusedColumn:function(){return this.__rI;
},getFocusedRow:function(){return this.__rJ;
},highlightFocusedRow:function(dV){this.getDataRowRenderer().setHighlightFocusRow(dV);
},clearFocusedRowHighlight:function(dW){if(dW){var dY=dW.getRelatedTarget();

if(dY instanceof qx.ui.table.pane.Pane||dY instanceof qx.ui.table.pane.FocusIndicator){return;
}}this.resetCellFocus();
var dX=this._getPaneScrollerArr();

for(var i=0;i<dX.length;i++){dX[i].onFocusChanged();
}},moveFocusedCell:function(ea,eb){var ef=this.__rI;
var eg=this.__rJ;
if(ef==null||eg==null){return;
}
if(ea!=0){var ee=this.getTableColumnModel();
var x=ee.getVisibleX(ef);
var ed=ee.getVisibleColumnCount();
x=qx.lang.Number.limit(x+ea,0,ed-1);
ef=ee.getVisibleColumnAtX(x);
}
if(eb!=0){var ec=this.getTableModel();
eg=qx.lang.Number.limit(eg+eb,0,ec.getRowCount()-1);
}this.setFocusedCell(ef,eg,true);
},scrollCellVisible:function(eh,ei){var ej=this.getContentElement().getDomElement();
if(!ej){this.addListenerOnce(bF,function(){this.scrollCellVisible(eh,ei);
},this);
}var ek=this.getTableColumnModel();
var x=ek.getVisibleX(eh);
var el=this._getMetaColumnAtColumnX(x);

if(el!=-1){this.getPaneScroller(el).scrollCellVisible(eh,ei);
}},isEditing:function(){if(this.__rI!=null){var x=this.getTableColumnModel().getVisibleX(this.__rI);
var em=this._getMetaColumnAtColumnX(x);
return this.getPaneScroller(em).isEditing();
}return false;
},startEditing:function(){if(this.__rI!=null){var x=this.getTableColumnModel().getVisibleX(this.__rI);
var eo=this._getMetaColumnAtColumnX(x);
var en=this.getPaneScroller(eo).startEditing();
return en;
}return false;
},stopEditing:function(){if(this.__rI!=null){var x=this.getTableColumnModel().getVisibleX(this.__rI);
var ep=this._getMetaColumnAtColumnX(x);
this.getPaneScroller(ep).stopEditing();
}},cancelEditing:function(){if(this.__rI!=null){var x=this.getTableColumnModel().getVisibleX(this.__rI);
var eq=this._getMetaColumnAtColumnX(x);
this.getPaneScroller(eq).cancelEditing();
}},updateContent:function(){var er=this._getPaneScrollerArr();

for(var i=0;i<er.length;i++){er[i].getTablePane().updateContent(true);
}},blockHeaderElements:function(){var es=this._getPaneScrollerArr();

for(var i=0;i<es.length;i++){es[i].getHeader().getBlocker().blockContent(20);
}this.getChildControl(o).getBlocker().blockContent(20);
},unblockHeaderElements:function(){var et=this._getPaneScrollerArr();

for(var i=0;i<et.length;i++){et[i].getHeader().getBlocker().unblockContent();
}this.getChildControl(o).getBlocker().unblockContent();
},_getMetaColumnAtPageX:function(eu){var ev=this._getPaneScrollerArr();

for(var i=0;i<ev.length;i++){var ew=ev[i].getContainerLocation();

if(eu>=ew.left&&eu<=ew.right){return i;
}}return -1;
},_getMetaColumnAtColumnX:function(ex){var ez=this.getMetaColumnCounts();
var eA=0;

for(var i=0;i<ez.length;i++){var ey=ez[i];
eA+=ey;

if(ey==-1||ex<eA){return i;
}}return -1;
},_updateStatusBar:function(){var eB=this.getTableModel();

if(this.getStatusBarVisible()){var eC=this.getSelectionModel().getSelectedCount();
var eE=eB.getRowCount();
var eD;

if(eE>=0){if(eC==0){eD=this.trn(L,b,eE,eE);
}else{eD=this.trn(a,K,eE,eC,eE);
}}
if(this.__rL){if(eD){eD+=this.__rL;
}else{eD=this.__rL;
}}
if(eD){this.getChildControl(k).setValue(eD);
}}},_updateScrollerWidths:function(){var eF=this._getPaneScrollerArr();

for(var i=0;i<eF.length;i++){var eH=(i==(eF.length-1));
var eI=eF[i].getTablePaneModel().getTotalWidth();
eF[i].setPaneWidth(eI);
var eG=eH?1:0;
eF[i].setLayoutProperties({flex:eG});
}},_updateScrollBarVisibility:function(){if(!this.getBounds()){return;
}var eM=qx.ui.table.pane.Scroller.HORIZONTAL_SCROLLBAR;
var eO=qx.ui.table.pane.Scroller.VERTICAL_SCROLLBAR;
var eJ=this._getPaneScrollerArr();
var eL=false;
var eN=false;

for(var i=0;i<eJ.length;i++){var eP=(i==(eJ.length-1));
var eK=eJ[i].getNeededScrollBars(eL,!eP);

if(eK&eM){eL=true;
}
if(eP&&(eK&eO)){eN=true;
}}for(var i=0;i<eJ.length;i++){var eP=(i==(eJ.length-1));
eJ[i].setHorizontalScrollBarVisible(eL);
if(eP){if(this.__rQ==null){this.__rQ=eJ[i].getVerticalScrollBarVisible();
this.__jf=qx.event.Timer.once(function(){this.__rQ=null;
this.__jf=null;
},this,0);
}}eJ[i].setVerticalScrollBarVisible(eP&&eN);
if(eP&&eN!=this.__rQ){this.fireDataEvent(bg,eN);
}}},_initColumnMenu:function(){var eS=this.getTableModel();
var eT=this.getTableColumnModel();
var eU=this.getChildControl(o);
eU.empty();
var eR=eU.getMenu();
var eV={table:this,menu:eR,columnButton:eU};
this.fireDataEvent(bz,eV);
this.__rN={};

for(var eW=0,l=eS.getColumnCount();eW<l;eW++){var eQ=eU.factory(bv,{text:eS.getColumnName(eW),column:eW,bVisible:eT.isColumnVisible(eW)});
qx.core.Assert.assertInterface(eQ,qx.ui.table.IColumnMenuItem);
eQ.addListener(u,this._createColumnVisibilityCheckBoxHandler(eW),this);
this.__rN[eW]=eQ;
}eV={table:this,menu:eR,columnButton:eU};
this.fireDataEvent(y,eV);
},_createColumnVisibilityCheckBoxHandler:function(eX){return function(eY){var fa=this.getTableColumnModel();
fa.setColumnVisible(eX,eY.getData());
};
},setColumnWidth:function(fb,fc){this.getTableColumnModel().setColumnWidth(fb,fc);
},_onResize:function(){this.fireEvent(bq);
this._updateScrollerWidths();
this._updateScrollBarVisibility();
},addListener:function(fd,fe,self,ff){if(this.self(arguments).__rK[fd]){var fh=[fd];

for(var i=0,fg=this._getPaneScrollerArr();i<fg.length;i++){fh.push(fg[i].addListener.apply(fg[i],arguments));
}return fh.join(bD);
}else{return qx.ui.core.Widget.prototype.addListener.call(this,fd,fe,self,ff);
}},removeListener:function(fi,fj,self,fk){if(this.self(arguments).__rK[fi]){for(var i=0,fl=this._getPaneScrollerArr();i<fl.length;i++){fl[i].removeListener.apply(fl[i],arguments);
}}else{qx.ui.core.Widget.prototype.removeListener.call(this,fi,fj,self,fk);
}},removeListenerById:function(fm){var fq=fm.split(bD);
var fp=fq.shift();

if(this.self(arguments).__rK[fp]){var fo=true;

for(var i=0,fn=this._getPaneScrollerArr();i<fn.length;i++){fo=fn[i].removeListenerById.call(fn[i],fq[i])&&fo;
}return fo;
}else{return qx.ui.core.Widget.prototype.removeListenerById.call(this,fm);
}},destroy:function(){this.info("destroy table");
this.getChildControl(o).getMenu().destroy();
qx.ui.core.Widget.prototype.destroy.call(this);
}},destruct:function(){this.info("destruct table");
if(qx.core.Environment.get(bE)){qx.locale.Manager.getInstance().removeListener(d,this._onChangeLocale,this);
}var fs=this.getSelectionModel();

if(fs){fs.dispose();
}var fr=this.getDataRowRenderer();

if(fr){fr.dispose();
}this._cleanUpMetaColumns(0);
this.getTableColumnModel().dispose();
this._disposeObjects(bt,U,bG,bG,S,bn);
this._disposeMap(D);
}});
})();
(function(){var a="qx.ui.table.IRowRenderer";
qx.Interface.define(a,{members:{updateDataRowElement:function(b,c){},getRowHeightStyle:function(d){},createRowStyle:function(e){},getRowClass:function(f){}}});
})();
(function(){var j="",i="table-row-background-even",h="Boolean",g="content",f="default",e="height:",d="'",c="table-row",b="table-row-background-focused",a="css.boxmodel",v=';color:',u="table-row-background-odd",t="1px solid ",s="table-row-line",r="table-row-background-selected",q="background-color:",p=';border-bottom: 1px solid ',o="table-row-selected",n="table-row-background-focused-selected",m="px;",k="qx.ui.table.rowrenderer.Default",l=";";
qx.Class.define(k,{extend:qx.core.Object,implement:qx.ui.table.IRowRenderer,construct:function(){qx.core.Object.call(this);
this.__rR=j;
this.__rR={};
this._colors={};
this._renderFont(qx.theme.manager.Font.getInstance().resolve(f));
var w=qx.theme.manager.Color.getInstance();
this._colors.bgcolFocusedSelected=w.resolve(n);
this._colors.bgcolFocused=w.resolve(b);
this._colors.bgcolSelected=w.resolve(r);
this._colors.bgcolEven=w.resolve(i);
this._colors.bgcolOdd=w.resolve(u);
this._colors.colSelected=w.resolve(o);
this._colors.colNormal=w.resolve(c);
this._colors.horLine=w.resolve(s);
},properties:{highlightFocusRow:{check:h,init:true}},members:{_colors:null,__rS:null,__rR:null,_insetY:1,_renderFont:function(x){if(x){this.__rS=x.getStyles();
this.__rR=qx.bom.element.Style.compile(this.__rS);
this.__rR=this.__rR.replace(/"/g,d);
}else{this.__rR=j;
this.__rS=qx.bom.Font.getDefaultStyles();
}},updateDataRowElement:function(y,z){var B=this.__rS;
var A=z.style;
qx.bom.element.Style.setStyles(z,B);

if(y.focusedRow&&this.getHighlightFocusRow()){A.backgroundColor=y.selected?this._colors.bgcolFocusedSelected:this._colors.bgcolFocused;
}else{if(y.selected){A.backgroundColor=this._colors.bgcolSelected;
}else{A.backgroundColor=(y.row%2==0)?this._colors.bgcolEven:this._colors.bgcolOdd;
}}A.color=y.selected?this._colors.colSelected:this._colors.colNormal;
A.borderBottom=t+this._colors.horLine;
},getRowHeightStyle:function(C){if(qx.core.Environment.get(a)==g){C-=this._insetY;
}return e+C+m;
},createRowStyle:function(D){var E=[];
E.push(l);
E.push(this.__rR);
E.push(q);

if(D.focusedRow&&this.getHighlightFocusRow()){E.push(D.selected?this._colors.bgcolFocusedSelected:this._colors.bgcolFocused);
}else{if(D.selected){E.push(this._colors.bgcolSelected);
}else{E.push((D.row%2==0)?this._colors.bgcolEven:this._colors.bgcolOdd);
}}E.push(v);
E.push(D.selected?this._colors.colSelected:this._colors.colNormal);
E.push(p,this._colors.horLine);
return E.join(j);
},getRowClass:function(F){return j;
},getRowAttributes:function(G){return j;
}},destruct:function(){this._colors=this.__rS=this.__rR=null;
}});
})();
(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 m="pressed",l="hovered",k="changeVisibility",j="qx.ui.menu.Menu",i="submenu",h="Enter",g="abandoned",f="contextmenu",d="changeMenu",c="qx.ui.form.MenuButton",a="left",b="_applyMenu";
qx.Class.define(c,{extend:qx.ui.form.Button,construct:function(n,o,p){qx.ui.form.Button.call(this,n,o);
if(p!=null){this.setMenu(p);
}},properties:{menu:{check:j,nullable:true,apply:b,event:d}},members:{_applyMenu:function(q,r){if(r){r.removeListener(k,this._onMenuChange,this);
r.resetOpener();
}
if(q){q.addListener(k,this._onMenuChange,this);
q.setOpener(this);
q.removeState(i);
q.removeState(f);
}},open:function(s){var t=this.getMenu();

if(t){qx.ui.menu.Manager.getInstance().hideAll();
t.setOpener(this);
t.open();
if(s){var u=t.getSelectables()[0];

if(u){t.setSelectedButton(u);
}}}},_onMenuChange:function(e){var v=this.getMenu();

if(v.isVisible()){this.addState(m);
}else{this.removeState(m);
}},_onMouseDown:function(e){qx.ui.form.Button.prototype._onMouseDown.call(this,e);
if(e.getButton()!=a){return;
}var w=this.getMenu();

if(w){if(!w.isVisible()){this.open();
}else{w.exclude();
}e.stopPropagation();
}},_onMouseUp:function(e){qx.ui.form.Button.prototype._onMouseUp.call(this,e);
e.stopPropagation();
},_onMouseOver:function(e){this.addState(l);
},_onMouseOut:function(e){this.removeState(l);
},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case h:this.removeState(g);
this.addState(m);
var x=this.getMenu();

if(x){if(!x.isVisible()){this.open();
}else{x.exclude();
}}e.stopPropagation();
}},_onKeyUp:function(e){}}});
})();
(function(){var u="keypress",t="interval",s="keydown",r="mousedown",q="keyup",p="__rU",o="blur",n="Enter",m="__jC",l="Up",d="Escape",k="event.touch",h="qx.ui.menu.Manager",c="Left",b="Down",g="Right",f="__rT",j="singleton",a="Space";
qx.Class.define(h,{type:j,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
this.__jC=[];
var v=document.body;
var w=qx.event.Registration;
w.addListener(window.document.documentElement,r,this._onMouseDown,this,true);
w.addListener(v,s,this._onKeyUpDown,this,true);
w.addListener(v,q,this._onKeyUpDown,this,true);
w.addListener(v,u,this._onKeyPress,this,true);
if(!qx.core.Environment.get(k)){qx.bom.Element.addListener(window,o,this.hideAll,this);
}this.__rT=new qx.event.Timer;
this.__rT.addListener(t,this._onOpenInterval,this);
this.__rU=new qx.event.Timer;
this.__rU.addListener(t,this._onCloseInterval,this);
},members:{__rV:null,__rW:null,__rT:null,__rU:null,__jC:null,_getChild:function(x,y,z,A){var B=x.getChildren();
var length=B.length;
var C;

for(var i=y;i<length&&i>=0;i+=z){C=B[i];

if(C.isEnabled()&&!C.isAnonymous()){return C;
}}
if(A){i=i==length?0:length-1;

for(;i!=y;i+=z){C=B[i];

if(C.isEnabled()&&!C.isAnonymous()){return C;
}}}return null;
},_isInMenu:function(D){while(D){if(D instanceof qx.ui.menu.Menu){return true;
}D=D.getLayoutParent();
}return false;
},_getMenuButton:function(E){while(E){if(E instanceof qx.ui.menu.AbstractButton){return E;
}E=E.getLayoutParent();
}return null;
},add:function(F){var G=this.__jC;
G.push(F);
F.setZIndex(1e6+G.length);
},remove:function(H){var I=this.__jC;

if(I){qx.lang.Array.remove(I,H);
}},hideAll:function(){var J=this.__jC;

if(J){for(var i=J.length-1;i>=0;i--){J[i].exclude();
}}},getActiveMenu:function(){var K=this.__jC;
return K.length>0?K[K.length-1]:null;
},scheduleOpen:function(L){this.cancelClose(L);
if(L.isVisible()){if(this.__rV){this.cancelOpen(this.__rV);
}}else if(this.__rV!=L){this.__rV=L;
this.__rT.restartWith(L.getOpenInterval());
}},scheduleClose:function(M){this.cancelOpen(M);
if(!M.isVisible()){if(this.__rW){this.cancelClose(this.__rW);
}}else if(this.__rW!=M){this.__rW=M;
this.__rU.restartWith(M.getCloseInterval());
}},cancelOpen:function(N){if(this.__rV==N){this.__rT.stop();
this.__rV=null;
}},cancelClose:function(O){if(this.__rW==O){this.__rU.stop();
this.__rW=null;
}},_onOpenInterval:function(e){this.__rT.stop();
this.__rV.open();
this.__rV=null;
},_onCloseInterval:function(e){this.__rU.stop();
this.__rW.exclude();
this.__rW=null;
},_onMouseDown:function(e){var P=e.getTarget();
P=qx.ui.core.Widget.getWidgetByElement(P,true);
if(P==null){this.hideAll();
return;
}if(P.getMenu&&P.getMenu()&&P.getMenu().isVisible()){return;
}if(this.__jC.length>0&&!this._isInMenu(P)){this.hideAll();
}},__rX:{"Enter":1,"Space":1},__rY:{"Escape":1,"Up":1,"Down":1,"Left":1,"Right":1},_onKeyUpDown:function(e){var Q=this.getActiveMenu();

if(!Q){return;
}var R=e.getKeyIdentifier();

if(this.__rY[R]||(this.__rX[R]&&Q.getSelectedButton())){e.stopPropagation();
}},_onKeyPress:function(e){var S=this.getActiveMenu();

if(!S){return;
}var T=e.getKeyIdentifier();
var V=this.__rY[T];
var U=this.__rX[T];

if(V){switch(T){case l:this._onKeyPressUp(S);
break;
case b:this._onKeyPressDown(S);
break;
case c:this._onKeyPressLeft(S);
break;
case g:this._onKeyPressRight(S);
break;
case d:this.hideAll();
break;
}e.stopPropagation();
e.preventDefault();
}else if(U){var W=S.getSelectedButton();

if(W){switch(T){case n:this._onKeyPressEnter(S,W,e);
break;
case a:this._onKeyPressSpace(S,W,e);
break;
}e.stopPropagation();
e.preventDefault();
}}},_onKeyPressUp:function(X){var Y=X.getSelectedButton();
var ba=X.getChildren();
var bc=Y?X.indexOf(Y)-1:ba.length-1;
var bb=this._getChild(X,bc,-1,true);
if(bb){X.setSelectedButton(bb);
}else{X.resetSelectedButton();
}},_onKeyPressDown:function(bd){var be=bd.getSelectedButton();
var bg=be?bd.indexOf(be)+1:0;
var bf=this._getChild(bd,bg,1,true);
if(bf){bd.setSelectedButton(bf);
}else{bd.resetSelectedButton();
}},_onKeyPressLeft:function(bh){var bm=bh.getOpener();

if(!bm){return;
}if(bm instanceof qx.ui.menu.AbstractButton){var bj=bm.getLayoutParent();
bj.resetOpenedButton();
bj.setSelectedButton(bm);
}else if(bm instanceof qx.ui.menubar.Button){var bl=bm.getMenuBar().getMenuButtons();
var bi=bl.indexOf(bm);
if(bi===-1){return;
}var bn=null;
var length=bl.length;

for(var i=1;i<=length;i++){var bk=bl[(bi-i+length)%length];

if(bk.isEnabled()){bn=bk;
break;
}}
if(bn&&bn!=bm){bn.open(true);
}}},_onKeyPressRight:function(bo){var bq=bo.getSelectedButton();
if(bq){var bp=bq.getMenu();

if(bp){bo.setOpenedButton(bq);
var bw=this._getChild(bp,0,1);

if(bw){bp.setSelectedButton(bw);
}return;
}}else if(!bo.getOpenedButton()){var bw=this._getChild(bo,0,1);

if(bw){bo.setSelectedButton(bw);

if(bw.getMenu()){bo.setOpenedButton(bw);
}return;
}}var bu=bo.getOpener();
if(bu instanceof qx.ui.menu.Button&&bq){while(bu){bu=bu.getLayoutParent();

if(bu instanceof qx.ui.menu.Menu){bu=bu.getOpener();

if(bu instanceof qx.ui.menubar.Button){break;
}}else{break;
}}
if(!bu){return;
}}if(bu instanceof qx.ui.menubar.Button){var bt=bu.getMenuBar().getMenuButtons();
var br=bt.indexOf(bu);
if(br===-1){return;
}var bv=null;
var length=bt.length;

for(var i=1;i<=length;i++){var bs=bt[(br+i)%length];

if(bs.isEnabled()){bv=bs;
break;
}}
if(bv&&bv!=bu){bv.open(true);
}}},_onKeyPressEnter:function(bx,by,e){if(by.hasListener(u)){var bz=e.clone();
bz.setBubbles(false);
bz.setTarget(by);
by.dispatchEvent(bz);
}this.hideAll();
},_onKeyPressSpace:function(bA,bB,e){if(bB.hasListener(u)){var bC=e.clone();
bC.setBubbles(false);
bC.setTarget(bB);
bB.dispatchEvent(bC);
}}},destruct:function(){var bE=qx.event.Registration;
var bD=document.body;
bE.removeListener(window.document.documentElement,r,this._onMouseDown,this,true);
bE.removeListener(bD,s,this._onKeyUpDown,this,true);
bE.removeListener(bD,q,this._onKeyUpDown,this,true);
bE.removeListener(bD,u,this._onKeyPress,this,true);
this._disposeObjects(f,p);
this._disposeArray(m);
}});
})();
(function(){var l="slidebar",k="Integer",j="resize",h="qx.ui.core.Widget",g="selected",f="visible",d="Boolean",c="mouseout",b="excluded",a="menu",A="_applySelectedButton",z="_applySpacingY",y="_blocker",x="_applyCloseInterval",w="_applyBlockerColor",v="_applyIconColumnWidth",u="mouseover",t="_applyArrowColumnWidth",s="qx.ui.menu.Menu",r="Color",p="Number",q="_applyOpenInterval",n="_applySpacingX",o="_applyBlockerOpacity",m="_applyOpenedButton";
qx.Class.define(s,{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 B=this.getApplicationRoot();
B.add(this);
this.addListener(u,this._onMouseOver);
this.addListener(c,this._onMouseOut);
this.addListener(j,this._onResize,this);
B.addListener(j,this._onResize,this);
this._blocker=new qx.ui.core.Blocker(B);
this.initVisibility();
this.initKeepFocus();
this.initKeepActive();
},properties:{appearance:{refine:true,init:a},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false},visibility:{refine:true,init:b},keepFocus:{refine:true,init:true},keepActive:{refine:true,init:true},spacingX:{check:k,apply:n,init:0,themeable:true},spacingY:{check:k,apply:z,init:0,themeable:true},iconColumnWidth:{check:k,init:0,themeable:true,apply:v},arrowColumnWidth:{check:k,init:0,themeable:true,apply:t},blockerColor:{check:r,init:null,nullable:true,apply:w,themeable:true},blockerOpacity:{check:p,init:1,apply:o,themeable:true},selectedButton:{check:h,nullable:true,apply:A},openedButton:{check:h,nullable:true,apply:m},opener:{check:h,nullable:true},openInterval:{check:k,themeable:true,init:250,apply:q},closeInterval:{check:k,themeable:true,init:250,apply:x},blockBackground:{check:d,themeable:true,init:false}},members:{__sa:null,__sb:null,_blocker:null,open:function(){if(this.getOpener()!=null){this.placeToWidget(this.getOpener());
this.__sd();
this.show();
this._placementTarget=this.getOpener();
}else{this.warn("The menu instance needs a configured 'opener' widget!");
}},openAtMouse:function(e){this.placeToMouse(e);
this.__sd();
this.show();
this._placementTarget={left:e.getDocumentLeft(),top:e.getDocumentTop()};
},openAtPoint:function(C){this.placeToPoint(C);
this.__sd();
this.show();
this._placementTarget=C;
},addSeparator:function(){this.add(new qx.ui.menu.Separator);
},getColumnSizes:function(){return this._getMenuLayout().getColumnSizes();
},getSelectables:function(){var D=[];
var E=this.getChildren();

for(var i=0;i<E.length;i++){if(E[i].isEnabled()){D.push(E[i]);
}}return D;
},_applyIconColumnWidth:function(F,G){this._getMenuLayout().setIconColumnWidth(F);
},_applyArrowColumnWidth:function(H,I){this._getMenuLayout().setArrowColumnWidth(H);
},_applySpacingX:function(J,K){this._getMenuLayout().setColumnSpacing(J);
},_applySpacingY:function(L,M){this._getMenuLayout().setSpacing(L);
},_applyVisibility:function(N,O){qx.ui.core.Widget.prototype._applyVisibility.call(this,N,O);
var P=qx.ui.menu.Manager.getInstance();

if(N===f){P.add(this);
var Q=this.getParentMenu();

if(Q){Q.setOpenedButton(this.getOpener());
}}else if(O===f){P.remove(this);
var Q=this.getParentMenu();

if(Q&&Q.getOpenedButton()==this.getOpener()){Q.resetOpenedButton();
}this.resetOpenedButton();
this.resetSelectedButton();
}this.__sc();
},__sc:function(){if(this.isVisible()){if(this.getBlockBackground()){var R=this.getZIndex();
this._blocker.blockContent(R-1);
}}else{if(this._blocker.isContentBlocked()){this._blocker.unblockContent();
}}},getParentMenu:function(){var S=this.getOpener();

if(!S||!(S instanceof qx.ui.menu.AbstractButton)){return null;
}
if(S&&S.getContextMenu()===this){return null;
}
while(S&&!(S instanceof qx.ui.menu.Menu)){S=S.getLayoutParent();
}return S;
},_applySelectedButton:function(T,U){if(U){U.removeState(g);
}
if(T){T.addState(g);
}},_applyOpenedButton:function(V,W){if(W&&W.getMenu()){W.getMenu().exclude();
}
if(V){V.getMenu().open();
}},_applyBlockerColor:function(X,Y){this._blocker.setColor(X);
},_applyBlockerOpacity:function(ba,bb){this._blocker.setOpacity(ba);
},getChildrenContainer:function(){return this.getChildControl(l,true)||this;
},_createChildControlImpl:function(bc,bd){var be;

switch(bc){case l:var be=new qx.ui.menu.MenuSlideBar();
var bg=this._getLayout();
this._setLayout(new qx.ui.layout.Grow());
var bf=be.getLayout();
be.setLayout(bg);
bf.dispose();
var bh=qx.lang.Array.clone(this.getChildren());

for(var i=0;i<bh.length;i++){be.add(bh[i]);
}this.removeListener(j,this._onResize,this);
be.getChildrenContainer().addListener(j,this._onResize,this);
this._add(be);
break;
}return be||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,bc);
},_getMenuLayout:function(){if(this.hasChildControl(l)){return this.getChildControl(l).getChildrenContainer().getLayout();
}else{return this._getLayout();
}},_getMenuBounds:function(){if(this.hasChildControl(l)){return this.getChildControl(l).getChildrenContainer().getBounds();
}else{return this.getBounds();
}},_computePlacementSize:function(){return this._getMenuBounds();
},__sd:function(){var bj=this._getMenuBounds();

if(!bj){this.addListenerOnce(j,this.__sd,this);
return;
}var bi=this.getLayoutParent().getBounds().height;
var top=this.getLayoutProperties().top;
var bk=this.getLayoutProperties().left;
if(top<0){this._assertSlideBar(function(){this.setHeight(bj.height+top);
this.moveTo(bk,0);
});
}else if(top+bj.height>bi){this._assertSlideBar(function(){this.setHeight(bi-top);
});
}else{this.setHeight(null);
}},_assertSlideBar:function(bl){if(this.hasChildControl(l)){return bl.call(this);
}this.__sb=bl;
qx.ui.core.queue.Widget.add(this);
},syncWidget:function(){this.getChildControl(l);

if(this.__sb){this.__sb.call(this);
delete this.__sb;
}},_onResize:function(){if(this.isVisible()){var bm=this._placementTarget;

if(!bm){return;
}else if(bm instanceof qx.ui.core.Widget){this.placeToWidget(bm);
}else if(bm.top!==undefined){this.placeToPoint(bm);
}else{throw new Error("Unknown target: "+bm);
}this.__sd();
}},_onMouseOver:function(e){var bo=qx.ui.menu.Manager.getInstance();
bo.cancelClose(this);
var bp=e.getTarget();

if(bp.isEnabled()&&bp instanceof qx.ui.menu.AbstractButton){this.setSelectedButton(bp);
var bn=bp.getMenu&&bp.getMenu();

if(bn){bn.setOpener(bp);
bo.scheduleOpen(bn);
this.__sa=bn;
}else{var bq=this.getOpenedButton();

if(bq){bo.scheduleClose(bq.getMenu());
}
if(this.__sa){bo.cancelOpen(this.__sa);
this.__sa=null;
}}}else if(!this.getOpenedButton()){this.resetSelectedButton();
}},_onMouseOut:function(e){var br=qx.ui.menu.Manager.getInstance();
if(!qx.ui.core.Widget.contains(this,e.getRelatedTarget())){var bs=this.getOpenedButton();
bs?this.setSelectedButton(bs):this.resetSelectedButton();
if(bs){br.cancelClose(bs.getMenu());
}if(this.__sa){br.cancelOpen(this.__sa);
}}}},destruct:function(){if(!qx.core.ObjectRegistry.inShutDown){qx.ui.menu.Manager.getInstance().remove(this);
}this.getApplicationRoot().removeListener(j,this._onResize,this);
this._placementTarget=null;
this._disposeObjects(y);
}});
})();
(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:{__se:null,_computeSizeHint:function(){var q=this._getLayoutChildren();
var o,g,j;
var e=this.getSpanColumn();
var h=this.__se=[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.__se||null;
}},destruct:function(){this.__se=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 s="icon",r="label",q="arrow",p="shortcut",o="changeLocale",n="qx.dynlocale",m="submenu",l="String",k="changeCommand",j="qx.ui.menu.Menu",c="qx.ui.menu.AbstractButton",i="keypress",g="",b="_applyIcon",a="mouseup",f="abstract",d="_applyLabel",h="_applyMenu";
qx.Class.define(c,{extend:qx.ui.core.Widget,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],type:f,construct:function(){qx.ui.core.Widget.call(this);
this._setLayout(new qx.ui.menu.ButtonLayout);
this.addListener(a,this._onMouseUp);
this.addListener(i,this._onKeyPress);
this.addListener(k,this._onChangeCommand,this);
},properties:{blockToolTip:{refine:true,init:true},label:{check:l,apply:d,nullable:true},menu:{check:j,apply:h,nullable:true,dereference:true},icon:{check:l,apply:b,themeable:true,nullable:true}},members:{_createChildControlImpl:function(t,u){var v;

switch(t){case s:v=new qx.ui.basic.Image;
v.setAnonymous(true);
this._add(v,{column:0});
break;
case r:v=new qx.ui.basic.Label;
v.setAnonymous(true);
this._add(v,{column:1});
break;
case p:v=new qx.ui.basic.Label;
v.setAnonymous(true);
this._add(v,{column:2});
break;
case q:v=new qx.ui.basic.Image;
v.setAnonymous(true);
this._add(v,{column:3});
break;
}return v||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,t);
},_forwardStates:{selected:1},getChildrenSizes:function(){var w=0,x=0,y=0,C=0;

if(this._isChildControlVisible(s)){var D=this.getChildControl(s);
w=D.getMarginLeft()+D.getSizeHint().width+D.getMarginRight();
}
if(this._isChildControlVisible(r)){var A=this.getChildControl(r);
x=A.getMarginLeft()+A.getSizeHint().width+A.getMarginRight();
}
if(this._isChildControlVisible(p)){var z=this.getChildControl(p);
y=z.getMarginLeft()+z.getSizeHint().width+z.getMarginRight();
}
if(this._isChildControlVisible(q)){var B=this.getChildControl(q);
C=B.getMarginLeft()+B.getSizeHint().width+B.getMarginRight();
}return [w,x,y,C];
},_onMouseUp:function(e){},_onKeyPress:function(e){},_onChangeCommand:function(e){var G=e.getData();
if(G==null){return;
}
if(qx.core.Environment.get(n)){var E=e.getOldData();

if(!E){qx.locale.Manager.getInstance().addListener(o,this._onChangeLocale,this);
}
if(!G){qx.locale.Manager.getInstance().removeListener(o,this._onChangeLocale,this);
}}var F=G!=null?G.toString():g;
this.getChildControl(p).setValue(F);
},_onChangeLocale:qx.core.Environment.select(n,{"true":function(e){var H=this.getCommand();

if(H!=null){this.getChildControl(p).setValue(H.toString());
}},"false":null}),_applyIcon:function(I,J){if(I){this._showChildControl(s).setSource(I);
}else{this._excludeChildControl(s);
}},_applyLabel:function(K,L){if(K){this._showChildControl(r).setValue(K);
}else{this._excludeChildControl(r);
}},_applyMenu:function(M,N){if(N){N.resetOpener();
N.removeState(m);
}
if(M){this._showChildControl(q);
M.setOpener(this);
M.addState(m);
}else{this._excludeChildControl(q);
}}},destruct:function(){this.removeListener(k,this._onChangeCommand,this);

if(this.getMenu()){if(!qx.core.ObjectRegistry.inShutDown){this.getMenu().destroy();
}}
if(qx.core.Environment.get(n)){qx.locale.Manager.getInstance().removeListener(o,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(d,e){var q=this._getLayoutChildren();
var p;
var g;
var h=[];

for(var i=0,l=q.length;i<l;i++){p=q[i];
g=p.getLayoutProperties().column;
h[g]=p;
}var o=this.__sf(q[0]);
var r=o.getColumnSizes();
var k=o.getSpacingX();
var j=qx.lang.Array.sum(r)+k*(r.length-1);

if(j<d){r[1]+=d-j;
}var s=0,top=0;
var m=qx.ui.layout.Util;

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

if(p){var f=p.getSizeHint();
var top=m.computeVerticalAlignOffset(p.getAlignY()||c,f.height,e,0,0);
var n=m.computeHorizontalAlignOffset(p.getAlignX()||a,f.width,r[i],p.getMarginLeft(),p.getMarginRight());
p.renderLayout(s+n,top,f.width,f.height);
}s+=r[i]+k;
}},__sf:function(t){while(!(t instanceof qx.ui.menu.Menu)){t=t.getLayoutParent();
}return t;
},_computeSizeHint:function(){var w=this._getLayoutChildren();
var v=0;
var x=0;

for(var i=0,l=w.length;i<l;i++){var u=w[i].getSizeHint();
x+=u.width;
v=Math.max(v,u.height);
}return {width:x,height:v};
}}});
})();
(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,h){var i;

switch(g){case c:i=new qx.ui.form.HoverButton();
i.addListener(f,this._onExecuteForward,this);
this._addAt(i,2);
break;
case e:i=new qx.ui.form.HoverButton();
i.addListener(f,this._onExecuteBackward,this);
this._addAt(i,0);
break;
}return i||qx.ui.container.SlideBar.prototype._createChildControlImpl.call(this,g);
}}});
})();
(function(){var i="Integer",h="hovered",g="hover-button",f="__jf",d="interval",c="mouseover",b="mouseout",a="qx.ui.form.HoverButton";
qx.Class.define(a,{extend:qx.ui.basic.Atom,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],construct:function(j,k){qx.ui.basic.Atom.call(this,j,k);
this.addListener(c,this._onMouseOver,this);
this.addListener(b,this._onMouseOut,this);
this.__jf=new qx.event.AcceleratingTimer();
this.__jf.addListener(d,this._onInterval,this);
},properties:{appearance:{refine:true,init:g},interval:{check:i,init:80},firstInterval:{check:i,init:200},minTimer:{check:i,init:20},timerDecrease:{check:i,init:2}},members:{__jf:null,_onMouseOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;
}this.__jf.set({interval:this.getInterval(),firstInterval:this.getFirstInterval(),minimum:this.getMinTimer(),decrease:this.getTimerDecrease()}).start();
this.addState(h);
},_onMouseOut:function(e){this.__jf.stop();
this.removeState(h);

if(!this.isEnabled()||e.getTarget()!==this){return;
}},_onInterval:function(){if(this.isEnabled()){this.execute();
}else{this.__jf.stop();
}}},destruct:function(){this._disposeObjects(f);
}});
})();
(function(){var h="pressed",g="hovered",f="inherit",d="qx.ui.menubar.Button",c="keydown",b="menubar-button",a="keyup";
qx.Class.define(d,{extend:qx.ui.form.MenuButton,construct:function(i,j,k){qx.ui.form.MenuButton.call(this,i,j,k);
this.removeListener(c,this._onKeyDown);
this.removeListener(a,this._onKeyUp);
},properties:{appearance:{refine:true,init:b},show:{refine:true,init:f},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(l){qx.ui.form.MenuButton.prototype.open.call(this,l);
var menubar=this.getMenuBar();
menubar._setAllowMenuOpenHover(true);
},_onMenuChange:function(e){var m=this.getMenu();
var menubar=this.getMenuBar();

if(m.isVisible()){this.addState(h);
if(menubar){menubar.setOpenMenu(m);
}}else{this.removeState(h);
if(menubar&&menubar.getOpenMenu()==m){menubar.resetOpenMenu();
menubar._setAllowMenuOpenHover(false);
}}},_onMouseUp:function(e){qx.ui.form.MenuButton.prototype._onMouseUp.call(this,e);
var n=this.getMenu();

if(n&&n.isVisible()&&!this.hasState(h)){this.addState(h);
}},_onMouseOver:function(e){this.addState(g);
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 w="visible",v="excluded",u="resize",t="qx.event.type.Data",s="both",r="qx.ui.menu.Menu",q="_applySpacing",p="showItem",o="Boolean",n="icon",d="label",m="qx.ui.core.Widget",h="_applyOverflowIndicator",c="_applyOverflowHandling",b="changeShow",g="Integer",f="qx.ui.toolbar.ToolBar",j="hideItem",a="toolbar",k="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());
this.__sg=[];
this.__sh=[];
},properties:{appearance:{refine:true,init:a},openMenu:{check:r,event:k,nullable:true},show:{init:s,check:[s,d,n],inheritable:true,event:b},spacing:{nullable:true,check:g,themeable:true,apply:q},overflowIndicator:{check:m,nullable:true,apply:h},overflowHandling:{init:false,check:o,apply:c}},events:{"hideItem":t,"showItem":t},members:{__sg:null,__sh:null,_computeSizeHint:function(){var z=qx.ui.core.Widget.prototype._computeSizeHint.call(this);

if(true&&this.getOverflowHandling()){var x=0;
var y=this.getOverflowIndicator();

if(y){x=y.getSizeHint().width+this.getSpacing();
}z.minWidth=x;
}return z;
},_onResize:function(e){this._recalculateOverflow(e.getData().width);
},_recalculateOverflow:function(A,B){if(!this.getOverflowHandling()){return;
}B=B||this.getSizeHint().width;
var C=this.getOverflowIndicator();
var I=0;

if(C){I=C.getSizeHint().width;
}
if(A==undefined&&this.getBounds()!=null){A=this.getBounds().width;
}if(A==undefined){return ;
}if(A<B){do{var J=this._getNextToHide();
if(!J){return;
}var L=J.getMarginLeft()+J.getMarginRight();
L=Math.max(L,this.getSpacing());
var G=J.getSizeHint().width+L;
this.__sj(J);
B-=G;
if(C&&C.getVisibility()!=w){C.setVisibility(w);
B+=I;
var E=C.getMarginLeft()+C.getMarginRight();
B+=Math.max(E,this.getSpacing());
}}while(B>A);
}else if(this.__sg.length>0){do{var M=this.__sg[0];
if(M){var L=M.getMarginLeft()+M.getMarginRight();
L=Math.max(L,this.getSpacing());
if(M.getDecoratorElement()==null){M.syncAppearance();
M.invalidateLayoutCache();
}var F=M.getSizeHint().width;
var K=false;
if(this.__sg.length==1&&I>0){var D=L-this.getSpacing();
var H=B-I+F+D;
K=A>H;
}if(A>B+F+L||K){this.__si(M);
B+=F;
if(C&&this.__sg.length==0){C.setVisibility(v);
}}else{return;
}}}while(A>=B&&this.__sg.length>0);
}},__si:function(N){N.setVisibility(w);
this.__sg.shift();
this.fireDataEvent(p,N);
},__sj:function(O){if(!O){return;
}this.__sg.unshift(O);
O.setVisibility(v);
this.fireDataEvent(j,O);
},_getNextToHide:function(){for(var i=this.__sh.length-1;i>=0;i--){var P=this.__sh[i];
if(P&&P.getVisibility&&P.getVisibility()==w){return P;
}}var Q=this._getChildren();

for(var i=Q.length-1;i>=0;i--){var R=Q[i];
if(R==this.getOverflowIndicator()){continue;
}if(R.getVisibility&&R.getVisibility()==w){return R;
}}},setRemovePriority:function(S,T,U){if(!U&&this.__sh[T]!=undefined){throw new Error("Priority already in use!");
}this.__sh[T]=S;
},_applyOverflowHandling:function(V,W){this.invalidateLayoutCache();
var parent=this.getLayoutParent();

if(parent){parent.invalidateLayoutCache();
}var Y=this.getBounds();

if(Y&&Y.width){this._recalculateOverflow(Y.width);
}if(V){this.addListener(u,this._onResize,this);
}else{this.removeListener(u,this._onResize,this);
var X=this.getOverflowIndicator();

if(X){X.setVisibility(v);
}for(var i=0;i<this.__sg.length;i++){this.__sg[i].setVisibility(w);
}this.__sg=[];
}},_applyOverflowIndicator:function(ba,bb){if(bb){this._remove(bb);
}
if(ba){if(this._indexOf(ba)==-1){throw new Error("Widget must be child of the toolbar.");
}ba.setVisibility(v);
}},__sk:false,_setAllowMenuOpenHover:function(bc){this.__sk=bc;
},_isAllowMenuOpenHover:function(){return this.__sk;
},_applySpacing:function(bd,be){var bf=this._getLayout();
bd==null?bf.resetSpacing():bf.setSpacing(bd);
},_add:function(bg,bh){qx.ui.core.Widget.prototype._add.call(this,bg,bh);
var bi=this.getSizeHint().width+bg.getSizeHint().width+2*this.getSpacing();
this._recalculateOverflow(null,bi);
},_addAt:function(bj,bk,bl){qx.ui.core.Widget.prototype._addAt.call(this,bj,bk,bl);
var bm=this.getSizeHint().width+bj.getSizeHint().width+2*this.getSpacing();
this._recalculateOverflow(null,bm);
},_addBefore:function(bn,bo,bp){qx.ui.core.Widget.prototype._addBefore.call(this,bn,bo,bp);
var bq=this.getSizeHint().width+bn.getSizeHint().width+2*this.getSpacing();
this._recalculateOverflow(null,bq);
},_addAfter:function(br,bs,bt){qx.ui.core.Widget.prototype._addAfter.call(this,br,bs,bt);
var bu=this.getSizeHint().width+br.getSizeHint().width+2*this.getSpacing();
this._recalculateOverflow(null,bu);
},_remove:function(bv){qx.ui.core.Widget.prototype._remove.call(this,bv);
var bw=this.getSizeHint().width-bv.getSizeHint().width-2*this.getSpacing();
this._recalculateOverflow(null,bw);
},_removeAt:function(bx){var bz=this._getChildren()[bx];
qx.ui.core.Widget.prototype._removeAt.call(this,bx);
var by=this.getSizeHint().width-bz.getSizeHint().width-2*this.getSpacing();
this._recalculateOverflow(null,by);
},_removeAll:function(){qx.ui.core.Widget.prototype._removeAll.call(this);
this._recalculateOverflow(null,0);
},addSpacer:function(){var bA=new qx.ui.core.Spacer;
this._add(bA,{flex:1});
return bA;
},addSeparator:function(){this.add(new qx.ui.toolbar.Separator);
},getMenuButtons:function(){var bC=this.getChildren();
var bB=[];
var bD;

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

if(bD instanceof qx.ui.menubar.Button){bB.push(bD);
}else if(bD instanceof qx.ui.toolbar.Part){bB.push.apply(bB,bD.getMenuButtons());
}}return bB;
}},destruct:function(){if(this.hasListener(u)){this.removeListener(u,this._onResize,this);
}}});
})();
(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 p="middle",o="left",n="right",m="container",k="handle",j="both",h="Integer",g="qx.ui.toolbar.Part",f="icon",e="label",b="syncAppearance",d="changeShow",c="_applySpacing",a="toolbar/part";
qx.Class.define(g,{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(k);
},properties:{appearance:{refine:true,init:a},show:{init:j,check:[j,e,f],inheritable:true,event:d},spacing:{nullable:true,check:h,themeable:true,apply:c}},members:{_createChildControlImpl:function(q,r){var s;

switch(q){case k:s=new qx.ui.basic.Image();
s.setAlignY(p);
this._add(s);
break;
case m:s=new qx.ui.toolbar.PartContainer();
s.addListener(b,this.__sl,this);
this._add(s);
break;
}return s||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,q);
},getChildrenContainer:function(){return this.getChildControl(m);
},_applySpacing:function(t,u){var v=this.getChildControl(m).getLayout();
t==null?v.resetSpacing():v.setSpacing(t);
},__sl:function(){var w=this.getChildrenContainer().getChildren();

for(var i=0;i<w.length;i++){if(i==0&&i!=w.length-1){w[i].addState(o);
w[i].removeState(n);
w[i].removeState(p);
}else if(i==w.length-1&&i!=0){w[i].addState(n);
w[i].removeState(o);
w[i].removeState(p);
}else if(i==0&&i==w.length-1){w[i].removeState(o);
w[i].removeState(p);
w[i].removeState(n);
}else{w[i].addState(p);
w[i].removeState(n);
w[i].removeState(o);
}}},addSeparator:function(){this.add(new qx.ui.toolbar.Separator);
},getMenuButtons:function(){var y=this.getChildren();
var x=[];
var z;

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

if(z instanceof qx.ui.menubar.Button){x.push(z);
}}return x;
}}});
})();
(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 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;
}}else{if(this.getContextMenu()){return;
}}qx.ui.menu.Manager.getInstance().hideAll();
},_onKeyPress:function(e){this.execute();
}}});
})();
(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.__jV=new qx.ui.core.Blocker(this);
},members:{__rN:null,__jV: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.__jV;
},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.__jV.dispose();
}});
})();
(function(){var m="checked",l="menu-checkbox",k="Boolean",j="label",i="_applyValue",h="value",g="changeValue",f="toolTipText",d="enabled",c="qx.ui.menu.CheckBox",a="menu",b="execute";
qx.Class.define(c,{extend:qx.ui.menu.AbstractButton,implement:[qx.ui.form.IBooleanForm],construct:function(n,o){qx.ui.menu.AbstractButton.call(this);
if(n!=null){if(n.translate){this.setLabel(n.translate());
}else{this.setLabel(n);
}}
if(o!=null){this.setMenu(o);
}this.addListener(b,this._onExecute,this);
},properties:{appearance:{refine:true,init:l},value:{check:k,init:false,apply:i,event:g,nullable:true}},members:{_bindableProperties:[d,j,f,h,a],_applyValue:function(p,q){p?this.addState(m):this.removeState(m);
},_onExecute:function(e){this.toggleValue();
},_onMouseUp:function(e){if(e.isLeftPressed()){this.execute();
}else{if(this.getContextMenu()){return;
}}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:{__sm: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:{__sn:null,handleMouseDown:function(c,d){if(d.isLeftPressed()){var e=this.getSelectionModel();

if(!e.isSelectedIndex(c)){this._handleSelectEvent(c,d);
this.__sn=true;
}else{this.__sn=false;
}}else if(d.isRightPressed()&&d.getModifiers()==0){var e=this.getSelectionModel();

if(!e.isSelectedIndex(c)){e.setSelectionInterval(c,c);
}}},handleMouseUp:function(f,g){if(g.isLeftPressed()&&!this.__sn){this._handleSelectEvent(f,g);
}},handleClick:function(h,i){},handleSelectKeyDown:function(j,k){this._handleSelectEvent(j,k);
},handleMoveKeyDown:function(l,m){var o=this.getSelectionModel();

switch(m.getModifiers()){case 0:o.setSelectionInterval(l,l);
break;
case qx.event.type.Dom.SHIFT_MASK:var n=o.getAnchorSelectionIndex();

if(n==-1){o.setSelectionInterval(l,l);
}else{o.setSelectionInterval(n,l);
}break;
}},_handleSelectEvent:function(p,q){var t=this.getSelectionModel();
var r=t.getLeadSelectionIndex();
var s=t.getAnchorSelectionIndex();

if(q.isShiftPressed()){if(p!=r||t.isSelectionEmpty()){if(s==-1){s=p;
}
if(q.isCtrlOrCommandPressed()){t.addSelectionInterval(s,p);
}else{t.setSelectionInterval(s,p);
}}}else if(q.isCtrlOrCommandPressed()){if(t.isSelectedIndex(p)){t.removeSelectionInterval(p,p);
}else{t.addSelectionInterval(p,p);
}}else{t.setSelectionInterval(p,p);
}}}});
})();
(function(){var n="]",m="..",l="changeSelection",k=" [",h='ie',g="browser.version",f="qx.event.type.Event",d="Ranges:",c="qx.ui.table.selection.Model",b="browser.name",a="_applySelectionMode";
qx.Class.define(c,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
this.__so=[];
this.__sp=-1;
this.__sq=-1;
this.hasBatchModeRefCount=0;
this.__sr=false;
},events:{"changeSelection":f},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:a}},members:{__sr:null,__sp:null,__sq:null,__so:null,_applySelectionMode:function(o){this.resetSelection();
},setBatchMode:function(p){if(p){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.__sr){this.__sr=false;
this._fireChangeSelection();
}}return this.hasBatchMode();
},hasBatchMode:function(){return this.hasBatchModeRefCount>0;
},getAnchorSelectionIndex:function(){return this.__sp;
},_setAnchorSelectionIndex:function(q){this.__sp=q;
},getLeadSelectionIndex:function(){return this.__sq;
},_setLeadSelectionIndex:function(r){this.__sq=r;
},_getSelectedRangeArr:function(){return this.__so;
},resetSelection:function(){if(!this.isSelectionEmpty()){this._resetSelection();
this._fireChangeSelection();
}},isSelectionEmpty:function(){return this.__so.length==0;
},getSelectedCount:function(){var t=0;

for(var i=0;i<this.__so.length;i++){var s=this.__so[i];
t+=s.maxIndex-s.minIndex+1;
}return t;
},isSelectedIndex:function(u){for(var i=0;i<this.__so.length;i++){var v=this.__so[i];

if(u>=v.minIndex&&u<=v.maxIndex){return true;
}}return false;
},getSelectedRanges:function(){var w=[];

for(var i=0;i<this.__so.length;i++){w.push({minIndex:this.__so[i].minIndex,maxIndex:this.__so[i].maxIndex});
}return w;
},iterateSelection:function(x,y){for(var i=0;i<this.__so.length;i++){for(var j=this.__so[i].minIndex;j<=this.__so[i].maxIndex;j++){x.call(y,j);
}}},setSelectionInterval:function(z,A){var B=this.self(arguments);

switch(this.getSelectionMode()){case B.NO_SELECTION:return;
case B.SINGLE_SELECTION:if(this.isSelectedIndex(A)){return;
}z=A;
break;
case B.MULTIPLE_INTERVAL_SELECTION_TOGGLE:this.setBatchMode(true);

try{for(var i=z;i<=A;i++){if(!this.isSelectedIndex(i)){this._addSelectionInterval(i,i);
}else{this.removeSelectionInterval(i,i);
}}}catch(e){if(qx.core.Environment.get(b)==h&&qx.core.Environment.get(g)<=7){this.setBatchMode(false);
}throw e;
}finally{this.setBatchMode(false);
}this._fireChangeSelection();
return;
}this._resetSelection();
this._addSelectionInterval(z,A);
this._fireChangeSelection();
},addSelectionInterval:function(C,D){var E=qx.ui.table.selection.Model;

switch(this.getSelectionMode()){case E.NO_SELECTION:return;
case E.MULTIPLE_INTERVAL_SELECTION:case E.MULTIPLE_INTERVAL_SELECTION_TOGGLE:this._addSelectionInterval(C,D);
this._fireChangeSelection();
break;
default:this.setSelectionInterval(C,D);
break;
}},removeSelectionInterval:function(F,G){this.__sp=F;
this.__sq=G;
var H=Math.min(F,G);
var J=Math.max(F,G);
for(var i=0;i<this.__so.length;i++){var L=this.__so[i];

if(L.minIndex>J){break;
}else if(L.maxIndex>=H){var M=(L.minIndex>=H)&&(L.minIndex<=J);
var K=(L.maxIndex>=H)&&(L.maxIndex<=J);

if(M&&K){this.__so.splice(i,1);
i--;
}else if(M){L.minIndex=J+1;
}else if(K){L.maxIndex=H-1;
}else{var I={minIndex:J+1,maxIndex:L.maxIndex};
this.__so.splice(i+1,0,I);
L.maxIndex=H-1;
break;
}}}this._fireChangeSelection();
},_resetSelection:function(){this.__so=[];
this.__sp=-1;
this.__sq=-1;
},_addSelectionInterval:function(N,O){this.__sp=N;
this.__sq=O;
var P=Math.min(N,O);
var R=Math.max(N,O);
var Q=0;

for(;Q<this.__so.length;Q++){var S=this.__so[Q];

if(S.minIndex>P){break;
}}this.__so.splice(Q,0,{minIndex:P,maxIndex:R});
var T=this.__so[0];

for(var i=1;i<this.__so.length;i++){var S=this.__so[i];

if(T.maxIndex+1>=S.minIndex){T.maxIndex=Math.max(T.maxIndex,S.maxIndex);
this.__so.splice(i,1);
i--;
}else{T=S;
}}},_dumpRanges:function(){var U=d;

for(var i=0;i<this.__so.length;i++){var V=this.__so[i];
U+=k+V.minIndex+m+V.maxIndex+n;
}this.debug(U);
},_fireChangeSelection:function(){if(this.hasBatchMode()){this.__sr=true;
}else{this.fireEvent(l);
}}},destruct:function(){this.__so=null;
}});
})();
(function(){var a="qx.ui.table.ICellRenderer";
qx.Interface.define(a,{members:{createDataCellHtml:function(b,c){return true;
}}});
})();
(function(){var j="",i="px;",h=".qooxdoo-table-cell {",g="qooxdoo-table-cell",f="content",e='</div>',d="nowrap",c="default",b="}",a="width:",J=".qooxdoo-table-cell-right { text-align:right } ",I="css.boxmodel",H="0px 6px",G='<div class="',F="0px",E="height:",D="1px solid ",C=".qooxdoo-table-cell-bold { font-weight:bold } ",B="String",A="} ",q='>',r="mshtml",o='" ',p="ellipsis",m="content-box",n='left:',k="qx.ui.table.cellrenderer.Abstract",l="engine.name",s='" style="',t="abstract",v="none",u="hidden",x="table-column-line",w='px;',z=".qooxdoo-table-cell-italic { font-style:italic} ",y="absolute";
qx.Class.define(k,{type:t,implement:qx.ui.table.ICellRenderer,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
var K=qx.ui.table.cellrenderer.Abstract;

if(!K.__ss){var M=qx.theme.manager.Color.getInstance();
K.__ss=this.self(arguments);
var L=h+qx.bom.element.Style.compile({position:y,top:F,overflow:u,whiteSpace:d,borderRight:D+M.resolve(x),padding:H,cursor:c,textOverflow:p,userSelect:v})+A+J+z+C;

if(!(qx.core.Environment.get(l)==r)){L+=h+qx.bom.element.BoxSizing.compile(m)+b;
}K.__ss.stylesheet=qx.bom.Stylesheet.createElement(L);
}},properties:{defaultCellStyle:{init:null,check:B,nullable:true}},members:{_insetX:6+6+1,_insetY:0,_getCellClass:function(N){return g;
},_getCellStyle:function(O){return O.style||j;
},_getCellAttributes:function(P){return j;
},_getContentHtml:function(Q){return Q.value||j;
},_getCellSizeStyle:function(R,S,T,U){var V=j;

if(qx.core.Environment.get(I)==f){R-=T;
S-=U;
}V+=a+Math.max(R,0)+i;
V+=E+Math.max(S,0)+i;
return V;
},createDataCellHtml:function(W,X){X.push(G,this._getCellClass(W),s,n,W.styleLeft,w,this._getCellSizeStyle(W.styleWidth,W.styleHeight,this._insetX,this._insetY),this._getCellStyle(W),o,this._getCellAttributes(W),q+this._getContentHtml(W),e);
}}});
})();
(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(i){if(this.getUseAutoAlign()){if(typeof i.value==g){return qx.ui.table.cellrenderer.Default.STYLEFLAG_ALIGN_RIGHT;
}}return 0;
},_getCellClass:function(j){var k=qx.ui.table.cellrenderer.Abstract.prototype._getCellClass.call(this,j);

if(!k){return h;
}var l=this._getStyleFlags(j);

if(l&qx.ui.table.cellrenderer.Default.STYLEFLAG_ALIGN_RIGHT){k+=c;
}
if(l&qx.ui.table.cellrenderer.Default.STYLEFLAG_BOLD){k+=d;
}
if(l&qx.ui.table.cellrenderer.Default.STYLEFLAG_ITALIC){k+=b;
}return k;
},_getContentHtml:function(m){return qx.bom.String.escape(this._formatValue(m));
},_formatValue:function(n){var p=n.value;
var o;

if(p==null){return h;
}
if(typeof p==a){return p;
}else if(typeof p==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 o=qx.ui.table.cellrenderer.Default._numberFormat.format(p);
}else if(p instanceof Date){o=qx.util.format.DateFormat.getDateInstance().format(p);
}else{o=p;
}return o;
}}});
})();
(function(){var g="",f="<br",e=" &nbsp;",d="<br>",c=" ",b="\n",a="qx.bom.String";
qx.Class.define(a,{statics:{TO_CHARCODE:{"quot":34,"amp":38,"lt":60,"gt":62,"nbsp":160,"iexcl":161,"cent":162,"pound":163,"curren":164,"yen":165,"brvbar":166,"sect":167,"uml":168,"copy":169,"ordf":170,"laquo":171,"not":172,"shy":173,"reg":174,"macr":175,"deg":176,"plusmn":177,"sup2":178,"sup3":179,"acute":180,"micro":181,"para":182,"middot":183,"cedil":184,"sup1":185,"ordm":186,"raquo":187,"frac14":188,"frac12":189,"frac34":190,"iquest":191,"Agrave":192,"Aacute":193,"Acirc":194,"Atilde":195,"Auml":196,"Aring":197,"AElig":198,"Ccedil":199,"Egrave":200,"Eacute":201,"Ecirc":202,"Euml":203,"Igrave":204,"Iacute":205,"Icirc":206,"Iuml":207,"ETH":208,"Ntilde":209,"Ograve":210,"Oacute":211,"Ocirc":212,"Otilde":213,"Ouml":214,"times":215,"Oslash":216,"Ugrave":217,"Uacute":218,"Ucirc":219,"Uuml":220,"Yacute":221,"THORN":222,"szlig":223,"agrave":224,"aacute":225,"acirc":226,"atilde":227,"auml":228,"aring":229,"aelig":230,"ccedil":231,"egrave":232,"eacute":233,"ecirc":234,"euml":235,"igrave":236,"iacute":237,"icirc":238,"iuml":239,"eth":240,"ntilde":241,"ograve":242,"oacute":243,"ocirc":244,"otilde":245,"ouml":246,"divide":247,"oslash":248,"ugrave":249,"uacute":250,"ucirc":251,"uuml":252,"yacute":253,"thorn":254,"yuml":255,"fnof":402,"Alpha":913,"Beta":914,"Gamma":915,"Delta":916,"Epsilon":917,"Zeta":918,"Eta":919,"Theta":920,"Iota":921,"Kappa":922,"Lambda":923,"Mu":924,"Nu":925,"Xi":926,"Omicron":927,"Pi":928,"Rho":929,"Sigma":931,"Tau":932,"Upsilon":933,"Phi":934,"Chi":935,"Psi":936,"Omega":937,"alpha":945,"beta":946,"gamma":947,"delta":948,"epsilon":949,"zeta":950,"eta":951,"theta":952,"iota":953,"kappa":954,"lambda":955,"mu":956,"nu":957,"xi":958,"omicron":959,"pi":960,"rho":961,"sigmaf":962,"sigma":963,"tau":964,"upsilon":965,"phi":966,"chi":967,"psi":968,"omega":969,"thetasym":977,"upsih":978,"piv":982,"bull":8226,"hellip":8230,"prime":8242,"Prime":8243,"oline":8254,"frasl":8260,"weierp":8472,"image":8465,"real":8476,"trade":8482,"alefsym":8501,"larr":8592,"uarr":8593,"rarr":8594,"darr":8595,"harr":8596,"crarr":8629,"lArr":8656,"uArr":8657,"rArr":8658,"dArr":8659,"hArr":8660,"forall":8704,"part":8706,"exist":8707,"empty":8709,"nabla":8711,"isin":8712,"notin":8713,"ni":8715,"prod":8719,"sum":8721,"minus":8722,"lowast":8727,"radic":8730,"prop":8733,"infin":8734,"ang":8736,"and":8743,"or":8744,"cap":8745,"cup":8746,"int":8747,"there4":8756,"sim":8764,"cong":8773,"asymp":8776,"ne":8800,"equiv":8801,"le":8804,"ge":8805,"sub":8834,"sup":8835,"sube":8838,"supe":8839,"oplus":8853,"otimes":8855,"perp":8869,"sdot":8901,"lceil":8968,"rceil":8969,"lfloor":8970,"rfloor":8971,"lang":9001,"rang":9002,"loz":9674,"spades":9824,"clubs":9827,"hearts":9829,"diams":9830,"OElig":338,"oelig":339,"Scaron":352,"scaron":353,"Yuml":376,"circ":710,"tilde":732,"ensp":8194,"emsp":8195,"thinsp":8201,"zwnj":8204,"zwj":8205,"lrm":8206,"rlm":8207,"ndash":8211,"mdash":8212,"lsquo":8216,"rsquo":8217,"sbquo":8218,"ldquo":8220,"rdquo":8221,"bdquo":8222,"dagger":8224,"Dagger":8225,"permil":8240,"lsaquo":8249,"rsaquo":8250,"euro":8364},escape:function(h){return qx.util.StringEscape.escape(h,qx.bom.String.FROM_CHARCODE);
},unescape:function(i){return qx.util.StringEscape.unescape(i,qx.bom.String.TO_CHARCODE);
},fromText:function(j){return qx.bom.String.escape(j).replace(/(  |\n)/g,function(k){var l={"  ":e,"\n":d};
return l[k]||k;
});
},toText:function(m){return qx.bom.String.unescape(m.replace(/\s+|<([^>])+>/gi,function(n){if(n.indexOf(f)===0){return b;
}else if(n.length>0&&n.replace(/^\s*/,g).replace(/\s*$/,g)==g){return c;
}else{return g;
}}));
}},defer:function(o){o.FROM_CHARCODE=qx.lang.Object.invert(o.TO_CHARCODE);
}});
})();
(function(){var g=";",f="&",e='X',d="",c='#',b="&#",a="qx.util.StringEscape";
qx.Class.define(a,{statics:{escape:function(h,j){var m,o=d;

for(var i=0,l=h.length;i<l;i++){var n=h.charAt(i);
var k=n.charCodeAt(0);

if(j[k]){m=f+j[k]+g;
}else{if(k>0x7F){m=b+k+g;
}else{m=n;
}}o+=m;
}return o;
},unescape:function(p,q){return p.replace(/&[#\w]+;/gi,function(r){var s=r;
var r=r.substring(1,r.length-1);
var t=q[r];

if(t){s=String.fromCharCode(t);
}else{if(r.charAt(0)==c){if(r.charAt(1).toUpperCase()==e){t=r.substring(2);
if(t.match(/^[0-9A-Fa-f]+$/gi)){s=String.fromCharCode(parseInt(t,16));
}}else{t=r.substring(1);
if(t.match(/^\d+$/gi)){s=String.fromCharCode(parseInt(t,10));
}}}}return s;
});
}}});
})();
(function(){var cF=")",cE="(",cD="|",cC="(\\d\\d?)",cB="format",cA="",cz="-",cy="abbreviated",cx="wide",cw="stand-alone",bG="narrow",bF="(\\d\\d*?)",bE="quarter",bD='A',bC="default",bB="0",bA="literal",bz="wildcard",by="'",bx="(\\d?)",cM="hour",cN='Anno Domini',cK="+",cL='Q',cI="ms",cJ="(\\d\\d?\\d?)",cG="dayOfYear",cH='AD',cO="Y+",cP=":",cf='y',ce="quoted_literal",ch="weekOfYear",cg='a',cj="day",ci="(-*",cl="locale",ck="GMT",cd="HH:mm:ss",cc='y+',n="HHmmss",o="long",p='Y',q='z',r='BC',s="d",t="D",u='B',v='',w='Before Christ',de='Z',dd=" ",dc="min",db="sec",di="\\d",dh="+?",dg="eeeee",df='W',dk="qqqq",dj="h",W="KK",X='L',U="Z",V="GGGGG",bb="LL",bc="EEEE",Y="^",ba='4th quarter',S="SSS",T="qqq",F="K",E='q',H='G',G="a",B='2nd quarter',A="dd",D="qx.util.format.DateFormat",C="eee",z="ee",y="q",bh="QQQQ",bi="ww",bj="H",bk='Y+',bd="(\\d\\d\\d?)",be="(GMT[\\+\\-]\\d\\d:\\d\\d)",bf="_applyLocale",bg="Q",bl="c",bm="weekOfMonth",P="ccc",O="EEEEE",N="EE",M="GGG",L='-',K="w",J="mm",I='h',R="S",Q='s',bn="QQQ",bo="G",bp="GG",bq="kk",br="ss",bs="([\\+\\-]\\d\\d\\d\\d)",bt='H',bu='S',bv='1st quarter',bw="MMMM",bK='c',bJ='Q1',bI='3rd quarter',bH="eeee",bO="QQ",bN="LLLLL",bM="HH",bL='k',bQ="m",bP="DDD",bX='D',bY="LLLL",bV='e',bW='K',bT="L",bU="hh",bR="cccc",bS="e",ca="W",cb="GGGG",cp='Q2',co="MM",cr="y+",cq="ccccc",ct="E",cs="yyyy-MM-dd HH:mm:ss",cv="short",cu='d',cn="unkown",cm="\\d?",cW="k",cX='m',cY="String",da='Q3',cS="DD",cT='M',cU='isoUtcDateTime',cV="SS",cQ="MMM",cR="s",m="M",l='w',h="EEE",g="$",f="?",e='Q4',d="MMMMM",c='E',b="z",a="LLL",x="qq";
qx.Class.define(D,{extend:qx.core.Object,implement:qx.util.format.IFormat,construct:function(dl,dm){qx.core.Object.call(this);

if(!dm){this.__ix=qx.locale.Manager.getInstance().getLocale();
this.__st=qx.locale.Manager.getInstance().bind(cl,this,cl);
}else{this.__ix=dm;
this.setLocale(dm);
}this.__su=this.__ix;

if(dl!=null){this.__sv=dl.toString();

if(this.__sv in qx.util.format.DateFormat.ISO_MASKS){if(this.__sv===cU){this.__sw=true;
}this.__sv=qx.util.format.DateFormat.ISO_MASKS[this.__sv];
}}else{this.__sv=qx.locale.Date.getDateFormat(o,this.__ix)+dd+qx.locale.Date.getDateTimeFormat(n,cd,this.__ix);
}},properties:{locale:{apply:bf,nullable:true,check:cY}},statics:{getDateTimeInstance:function(){var dp=qx.util.format.DateFormat;
var dn=qx.locale.Date.getDateFormat(o)+dd+qx.locale.Date.getDateTimeFormat(n,cd);

if(dp._dateInstance==null||dp._dateInstance.__sv!=dn){dp._dateTimeInstance=new dp();
}return dp._dateTimeInstance;
},getDateInstance:function(){var dr=qx.util.format.DateFormat;
var dq=qx.locale.Date.getDateFormat(cv)+cA;

if(dr._dateInstance==null||dr._dateInstance.__sv!=dq){dr._dateInstance=new dr(dq);
}return dr._dateInstance;
},ASSUME_YEAR_2000_THRESHOLD:30,LOGGING_DATE_TIME__format:cs,ISO_MASKS:{isoDate:"yyyy-MM-dd",isoTime:"HH:mm:ss",isoDateTime:"yyyy-MM-dd'T'HH:mm:ss",isoUtcDateTime:"yyyy-MM-dd'T'HH:mm:ss'Z'"},AM_MARKER:"am",PM_MARKER:"pm"},members:{__st:null,__ix:null,__su:null,__sv:null,__sx:null,__sy:null,__sz:null,__sw:null,__sA:function(ds,dt){var du=cA+(ds<0?((-1)*ds):ds);

while(du.length<dt){du=bB+du;
}return ds<0?cz+du:du;
},__sB:function(dv){var dw=new Date(dv.getTime());
var dx=dw.getDate();

while(dw.getMonth()!=0){dw.setDate(-1);
dx+=dw.getDate()+1;
}return dx;
},__sC:function(dy){return new Date(dy.getTime()+(3-((dy.getDay()+6)%7))*86400000);
},__sD:function(dz){var dB=this.__sC(dz);
var dC=dB.getFullYear();
var dA=this.__sC(new Date(dC,0,4));
return Math.floor(1.5+(dB.getTime()-dA.getTime())/86400000/7);
},__sE:function(dD){var dF=this.__sC(dD);
var dE=this.__sC(new Date(dD.getFullYear(),dD.getMonth(),4));
return Math.floor(1.5+(dF.getTime()-dE.getTime())/86400000/7);
},__sF:function(dG){var dH=this.__sC(dG);
return dH.getFullYear();
},__sG:function(dI){var dJ=new Date(dI,2,1);
dJ.setDate(-1);
return dJ.getDate()+1===29;
},__sH:function(dK,dL){var dP=0;
var dQ=0;
if(!dL){dL=1971;
}var dM=0;

for(var i=1;i<=12;i++){var dO=new Date(dL,i,1);
dO.setDate(-1);
var dN=dO.getDate()+1;
dM+=dN;

if(dM<dK){dP++;
dQ+=dN;
}else{dQ=dK-(dM-dN);
break;
}}return {month:dP,day:dQ};
},__sI:function(dR,dS,dT){var dU;

switch(dS){case 11:dU=dR-1;

if(dR!=this.__sF(new Date(dU,dS,dT))){dU=dR;
}break;
case 0:dU=dR+1;

if(dR!=this.__sF(new Date(dU,dS,dT))){dU=dR;
}break;
default:dU=dR;
}return dU;
},_applyLocale:function(dV,dW){this.__ix=dV===null?this.setLocale(this.__su):dV;
},format:function(dX){if(dX==null){return null;
}
if(this.__sw){dX=new Date(dX.getUTCFullYear(),dX.getUTCMonth(),dX.getUTCDate(),dX.getUTCHours(),dX.getUTCMinutes(),dX.getUTCSeconds(),dX.getUTCMilliseconds());
}var eb=this.__ix;
var eg=dX.getFullYear();
var ec=dX.getMonth();
var ef=dX.getDate();
var ej=dX.getDay();
var em=dX.getHours();
var es=dX.getMinutes();
var ek=dX.getSeconds();
var eq=dX.getMilliseconds();
var ei=dX.getTimezoneOffset();
var en=ei>0?1:-1;
var dY=Math.floor(Math.abs(ei)/60);
var ep=Math.abs(ei)%60;
this.__sJ();
var er=cA;

for(var i=0;i<this.__sz.length;i++){var eh=this.__sz[i];

if(eh.type==bA){er+=eh.text;
}else{var ea=eh.character;
var el=eh.size;
var et=f;

switch(ea){case cf:if(el==2){et=this.__sA(eg%100,2);
}else{var ed=Math.abs(eg);
et=ed+cA;

if(el>et.length){for(var j=et.length;j<el;j++){et=bB+et;
}}
if(eg<0){et=cz+et;
}}break;
case p:et=this.__sF(dX)+cA;
var ed=et.replace(L,v);

if(el>et.length){for(var j=ed.length;j<el;j++){ed=bB+ed;
}}et=et.indexOf(cz)!=-1?cz+ed:ed;
break;
case H:if(el>=1&&el<=3){et=eg>0?cH:r;
}else if(el==4){et=eg>0?cN:w;
}else if(el==5){et=eg>0?bD:u;
}break;
case cL:if(el==1||el==2){et=this.__sA(parseInt(ec/4)+1,el);
}
if(el==3){et=cL+(parseInt(ec/4)+1);
}break;
case E:if(el==1||el==2){et=this.__sA(parseInt(ec/4)+1,el);
}
if(el==3){et=cL+(parseInt(ec/4)+1);
}break;
case bX:et=this.__sA(this.__sB(dX),el);
break;
case cu:et=this.__sA(ef,el);
break;
case l:et=this.__sA(this.__sD(dX),el);
break;
case df:et=this.__sE(dX);
break;
case c:if(el>=1&&el<=3){et=qx.locale.Date.getDayName(cy,ej,eb,cB);
}else if(el==4){et=qx.locale.Date.getDayName(cx,ej,eb,cB);
}else if(el==5){et=qx.locale.Date.getDayName(bG,ej,eb,cw);
}break;
case bV:var ee=qx.locale.Date.getWeekStart(eb);
var eo=1+((ej-ee>=0)?(ej-ee):7+(ej-ee));

if(el>=1&&el<=2){et=this.__sA(eo,el);
}else if(el==3){et=qx.locale.Date.getDayName(cy,ej,eb,cB);
}else if(el==4){et=qx.locale.Date.getDayName(cx,ej,eb,cB);
}else if(el==5){et=qx.locale.Date.getDayName(bG,ej,eb,cw);
}break;
case bK:var ee=qx.locale.Date.getWeekStart(eb);
var eo=1+((ej-ee>=0)?(ej-ee):7+(ej-ee));

if(el==1){et=v+eo;
}else if(el==3){et=qx.locale.Date.getDayName(cy,ej,eb,cB);
}else if(el==4){et=qx.locale.Date.getDayName(cx,ej,eb,cB);
}else if(el==5){et=qx.locale.Date.getDayName(bG,ej,eb,cw);
}break;
case cT:if(el==1||el==2){et=this.__sA(ec+1,el);
}else if(el==3){et=qx.locale.Date.getMonthName(cy,ec,eb,cB);
}else if(el==4){et=qx.locale.Date.getMonthName(cx,ec,eb,cB);
}else if(el==5){et=qx.locale.Date.getMonthName(bG,ec,eb,cw);
}break;
case X:if(el==1||el==2){et=this.__sA(ec+1,el);
}else if(el==3){et=qx.locale.Date.getMonthName(cy,ec,eb,cB);
}else if(el==4){et=qx.locale.Date.getMonthName(cx,ec,eb,cB);
}else if(el==5){et=qx.locale.Date.getMonthName(bG,ec,eb,cw);
}break;
case cg:et=(em<12)?qx.locale.Date.getAmMarker(eb):qx.locale.Date.getPmMarker(eb);
break;
case bt:et=this.__sA(em,el);
break;
case bL:et=this.__sA((em==0)?24:em,el);
break;
case bW:et=this.__sA(em%12,el);
break;
case I:et=this.__sA(((em%12)==0)?12:(em%12),el);
break;
case cX:et=this.__sA(es,el);
break;
case Q:et=this.__sA(ek,el);
break;
case bu:et=eq+cA;

if(el<=et.length){et=et.substr(0,el);
}else{for(var j=et.length;j<el;j++){et=et+bB;
}}break;
case q:if(el>=1&&el<=4){et=ck+((en>0)?cz:cK)+this.__sA(Math.abs(dY),2)+cP+this.__sA(ep,2);
}break;
case de:if(el>=1&&el<=3){et=((en>0)?cz:cK)+this.__sA(Math.abs(dY),2)+this.__sA(ep,2);
}else{et=ck+((en>0)?cz:cK)+this.__sA(Math.abs(dY),2)+cP+this.__sA(ep,2);
}break;
}er+=et;
}}return er;
},parse:function(eu){this.__sK();
var eD=this.__sx.regex.exec(eu);

if(eD==null){throw new Error("Date string '"+eu+"' does not match the date format: "+this.__sv);
}var ev={era:1,year:1970,quarter:1,month:0,day:1,dayOfYear:1,hour:0,ispm:false,weekDay:4,weekYear:1970,weekOfMonth:1,weekOfYear:1,min:0,sec:0,ms:0};
var ex=1;
var ew=false;
var ey=false;

for(var i=0;i<this.__sx.usedRules.length;i++){var ez=this.__sx.usedRules[i];
var eA=eD[ex];

if(ez.field!=null){ev[ez.field]=parseInt(eA,10);
}else{ez.manipulator(ev,eA);
}
if(ez.pattern==cO){var eB=false;

for(var k=0;k<this.__sx.usedRules.length;k++){if(this.__sx.usedRules[k].pattern==cc){eB=true;
break;
}}
if(!eB){ew=true;
}}
if(ez.pattern.indexOf(t)!=-1){var eF=false;

for(var k=0;k<this.__sx.usedRules.length;k++){if(this.__sx.usedRules[k].pattern.indexOf(s)!=-1){eF=true;
break;
}}
if(!eF){ey=true;
}}ex+=(ez.groups==null)?1:ez.groups;
}
if(ew){ev.year=this.__sI(ev.weekYear,ev.month,ev.day);
}
if(ey){var eE=this.__sH(ev.dayOfYear,ev.year);
ev.month=eE.month;
ev.day=eE.day;
}
if(ev.era<0&&(ev.year*ev.era<0)){ev.year=ev.year*ev.era;
}var eC=new Date(ev.year,ev.month,ev.day,(ev.ispm)?(ev.hour+12):ev.hour,ev.min,ev.sec,ev.ms);

if(this.__sw){eC=new Date(eC.getUTCFullYear(),eC.getUTCMonth(),eC.getUTCDate(),eC.getUTCHours(),eC.getUTCMinutes(),eC.getUTCSeconds(),eC.getUTCMilliseconds());
}
if(ev.month!=eC.getMonth()||ev.year!=eC.getFullYear()){throw new Error("Error parsing date '"+eu+"': the value for day or month is too large");
}return eC;
},__sJ:function(){if(this.__sz!=null){return;
}this.__sz=[];
var eK;
var eI=0;
var eM=cA;
var eG=this.__sv;
var eJ=bC;
var i=0;

while(i<eG.length){var eL=eG.charAt(i);

switch(eJ){case ce:if(eL==by){if(i+1>=eG.length){i++;
break;
}var eH=eG.charAt(i+1);

if(eH==by){eM+=eL;
i++;
}else{i++;
eJ=cn;
}}else{eM+=eL;
i++;
}break;
case bz:if(eL==eK){eI++;
i++;
}else{this.__sz.push({type:bz,character:eK,size:eI});
eK=null;
eI=0;
eJ=bC;
}break;
default:if((eL>=cg&&eL<=q)||(eL>=bD&&eL<=de)){eK=eL;
eJ=bz;
}else if(eL==by){if(i+1>=eG.length){eM+=eL;
i++;
break;
}var eH=eG.charAt(i+1);

if(eH==by){eM+=eL;
i++;
}i++;
eJ=ce;
}else{eJ=bC;
}
if(eJ!=bC){if(eM.length>0){this.__sz.push({type:bA,text:eM});
eM=cA;
}}else{eM+=eL;
i++;
}break;
}}if(eK!=null){this.__sz.push({type:bz,character:eK,size:eI});
}else if(eM.length>0){this.__sz.push({type:bA,text:eM});
}},__sK:function(){if(this.__sx!=null){return ;
}var eQ=this.__sv;
this.__sM();
this.__sJ();
var eW=[];
var eS=Y;

for(var eO=0;eO<this.__sz.length;eO++){var eX=this.__sz[eO];

if(eX.type==bA){eS+=qx.lang.String.escapeRegexpChars(eX.text);
}else{var eP=eX.character;
var eT=eX.size;
var eR;

for(var eY=0;eY<this.__sy.length;eY++){var eU=this.__sy[eY];

if(this.__sL(eU,eP,eT)){eR=eU;
break;
}}if(eR==null){var eV=cA;

for(var i=0;i<eT;i++){eV+=eP;
}throw new Error("Malformed date format: "+eQ+". Wildcard "+eV+" is not supported");
}else{eW.push(eR);
eS+=eR.regex;
}}}eS+=g;
var eN;

try{eN=new RegExp(eS);
}catch(fa){throw new Error("Malformed date format: "+eQ);
}this.__sx={regex:eN,"usedRules":eW,pattern:eS};
},__sL:function(fb,fc,fd){if(fc===cf&&fb.pattern===cc){fb.regex=fb.regexFunc(fd);
return true;
}else if(fc===p&&fb.pattern===bk){fb.regex=fb.regexFunc(fd);
return true;
}else{return fc==fb.pattern.charAt(0)&&fd==fb.pattern.length;
}},__sM:function(){var fu=qx.util.format.DateFormat;
var fx=qx.lang.String;

if(this.__sy!=null){return ;
}var fv=this.__sy=[];
var fp=qx.locale.Date.getAmMarker(this.__ix).toString()||fu.AM_MARKER;
var fH=qx.locale.Date.getPmMarker(this.__ix).toString()||fu.PM_MARKER;
var fg=this.__ix;
var fm=function(fO,fP){fP=parseInt(fP,10);

if(fP>0){if(fP<fu.ASSUME_YEAR_2000_THRESHOLD){fP+=2000;
}else if(fP<100){fP+=1900;
}}fO.year=fP;
};
var fL=function(fQ,fR){fR=parseInt(fR,10);

if(fR>0){if(fR<fu.ASSUME_YEAR_2000_THRESHOLD){fR+=2000;
}else if(fR<100){fR+=1900;
}}fQ.weekYear=fR;
};
var fN=function(fS,fT){fS.month=parseInt(fT,10)-1;
};
var fk=function(fU,fV){var fX=qx.locale.Date.getWeekStart(fg);
var fW=(parseInt(fV,10)-1+fX)<=6?parseInt(fV,10)-1+fX:(parseInt(fV,10)-1+fX)-7;
fU.weekDay=fW;
};
var fi=function(fY,ga){var gb=qx.locale.Date.getPmMarker(fg).toString()||fu.PM_MARKER;
fY.ispm=(ga==gb);
};
var fo=function(gc,gd){gc.hour=parseInt(gd,10)%24;
};
var fh=function(ge,gf){ge.hour=parseInt(gf,10)%12;
};
var fA=function(gg,gh){return;
};
var fB=[bD,u];
var fE=function(gi,gj){gi.era=gj==bD?1:-1;
};
var fs=[cH,r];
var fr=function(gk,gl){gk.era=gl==cH?1:-1;
};
var fG=[cN,w];
var fq=function(gm,gn){gm.era=gn==cN?1:-1;
};
var fJ=[bJ,cp,da,e];
var fe=function(go,gp){go.quarter=fJ.indexOf(gp);
};
var fF=[bv,B,bI,ba];
var fz=function(gq,gr){gq.quarter=fF.indexOf(gr);
};
var fK=qx.locale.Date.getMonthNames(cy,fg,cB);

for(var i=0;i<fK.length;i++){fK[i]=fx.escapeRegexpChars(fK[i].toString());
}var fl=function(gs,gt){gt=fx.escapeRegexpChars(gt);
gs.month=fK.indexOf(gt);
};
var fw=qx.locale.Date.getMonthNames(cx,fg,cB);

for(var i=0;i<fw.length;i++){fw[i]=fx.escapeRegexpChars(fw[i].toString());
}var fC=function(gu,gv){gv=fx.escapeRegexpChars(gv);
gu.month=fw.indexOf(gv);
};
var fM=qx.locale.Date.getMonthNames(bG,fg,cw);

for(var i=0;i<fM.length;i++){fM[i]=fx.escapeRegexpChars(fM[i].toString());
}var fj=function(gw,gx){gx=fx.escapeRegexpChars(gx);
gw.month=fM.indexOf(gx);
};
var ff=qx.locale.Date.getDayNames(bG,fg,cw);

for(var i=0;i<ff.length;i++){ff[i]=fx.escapeRegexpChars(ff[i].toString());
}var fI=function(gy,gz){gz=fx.escapeRegexpChars(gz);
gy.weekDay=ff.indexOf(gz);
};
var fD=qx.locale.Date.getDayNames(cy,fg,cB);

for(var i=0;i<fD.length;i++){fD[i]=fx.escapeRegexpChars(fD[i].toString());
}var fn=function(gA,gB){gB=fx.escapeRegexpChars(gB);
gA.weekDay=fD.indexOf(gB);
};
var fy=qx.locale.Date.getDayNames(cx,fg,cB);

for(var i=0;i<fy.length;i++){fy[i]=fx.escapeRegexpChars(fy[i].toString());
}var ft=function(gC,gD){gD=fx.escapeRegexpChars(gD);
gC.weekDay=fy.indexOf(gD);
};
fv.push({pattern:cr,regexFunc:function(gE){var gF=ci;

for(var i=0;i<gE;i++){gF+=di;

if(i===gE-1&&i!==1){gF+=dh;
}}gF+=cF;
return gF;
},manipulator:fm});
fv.push({pattern:cO,regexFunc:function(gG){var gH=ci;

for(var i=0;i<gG;i++){gH+=di;

if(i===gG-1){gH+=dh;
}}gH+=cF;
return gH;
},manipulator:fL});
fv.push({pattern:bo,regex:cE+fs.join(cD)+cF,manipulator:fr});
fv.push({pattern:bp,regex:cE+fs.join(cD)+cF,manipulator:fr});
fv.push({pattern:M,regex:cE+fs.join(cD)+cF,manipulator:fr});
fv.push({pattern:cb,regex:cE+fG.join(cD)+cF,manipulator:fq});
fv.push({pattern:V,regex:cE+fB.join(cD)+cF,manipulator:fE});
fv.push({pattern:bg,regex:bF,field:bE});
fv.push({pattern:bO,regex:cC,field:bE});
fv.push({pattern:bn,regex:cE+fJ.join(cD)+cF,manipulator:fe});
fv.push({pattern:bh,regex:cE+fF.join(cD)+cF,manipulator:fz});
fv.push({pattern:y,regex:bF,field:bE});
fv.push({pattern:x,regex:cC,field:bE});
fv.push({pattern:T,regex:cE+fJ.join(cD)+cF,manipulator:fe});
fv.push({pattern:dk,regex:cE+fF.join(cD)+cF,manipulator:fz});
fv.push({pattern:m,regex:bF,manipulator:fN});
fv.push({pattern:co,regex:cC,manipulator:fN});
fv.push({pattern:cQ,regex:cE+fK.join(cD)+cF,manipulator:fl});
fv.push({pattern:bw,regex:cE+fw.join(cD)+cF,manipulator:fC});
fv.push({pattern:d,regex:cE+fM.join(cD)+cF,manipulator:fj});
fv.push({pattern:bT,regex:bF,manipulator:fN});
fv.push({pattern:bb,regex:cC,manipulator:fN});
fv.push({pattern:a,regex:cE+fK.join(cD)+cF,manipulator:fl});
fv.push({pattern:bY,regex:cE+fw.join(cD)+cF,manipulator:fC});
fv.push({pattern:bN,regex:cE+fM.join(cD)+cF,manipulator:fj});
fv.push({pattern:A,regex:cC,field:cj});
fv.push({pattern:s,regex:bF,field:cj});
fv.push({pattern:t,regex:bx,field:cG});
fv.push({pattern:cS,regex:cC,field:cG});
fv.push({pattern:bP,regex:bd,field:cG});
fv.push({pattern:ct,regex:cE+fD.join(cD)+cF,manipulator:fn});
fv.push({pattern:N,regex:cE+fD.join(cD)+cF,manipulator:fn});
fv.push({pattern:h,regex:cE+fD.join(cD)+cF,manipulator:fn});
fv.push({pattern:bc,regex:cE+fy.join(cD)+cF,manipulator:ft});
fv.push({pattern:O,regex:cE+ff.join(cD)+cF,manipulator:fI});
fv.push({pattern:bS,regex:bx,manipulator:fk});
fv.push({pattern:z,regex:cC,manipulator:fk});
fv.push({pattern:C,regex:cE+fD.join(cD)+cF,manipulator:fn});
fv.push({pattern:bH,regex:cE+fy.join(cD)+cF,manipulator:ft});
fv.push({pattern:dg,regex:cE+ff.join(cD)+cF,manipulator:fI});
fv.push({pattern:bl,regex:cm,manipulator:fk});
fv.push({pattern:P,regex:cE+fD.join(cD)+cF,manipulator:fn});
fv.push({pattern:bR,regex:cE+fy.join(cD)+cF,manipulator:ft});
fv.push({pattern:cq,regex:cE+ff.join(cD)+cF,manipulator:fI});
fv.push({pattern:G,regex:cE+fp+cD+fH+cF,manipulator:fi});
fv.push({pattern:ca,regex:bx,field:bm});
fv.push({pattern:K,regex:bx,field:ch});
fv.push({pattern:bi,regex:cC,field:ch});
fv.push({pattern:bM,regex:cC,field:cM});
fv.push({pattern:bj,regex:cC,field:cM});
fv.push({pattern:bq,regex:cC,manipulator:fo});
fv.push({pattern:cW,regex:cC,manipulator:fo});
fv.push({pattern:W,regex:cC,field:cM});
fv.push({pattern:F,regex:cC,field:cM});
fv.push({pattern:bU,regex:cC,manipulator:fh});
fv.push({pattern:dj,regex:cC,manipulator:fh});
fv.push({pattern:J,regex:cC,field:dc});
fv.push({pattern:bQ,regex:cC,field:dc});
fv.push({pattern:br,regex:cC,field:db});
fv.push({pattern:cR,regex:cC,field:db});
fv.push({pattern:S,regex:cJ,field:cI});
fv.push({pattern:cV,regex:cJ,field:cI});
fv.push({pattern:R,regex:cJ,field:cI});
fv.push({pattern:U,regex:bs,manipulator:fA});
fv.push({pattern:b,regex:be,manipulator:fA});
}},destruct:function(){if(this.__st!=null){qx.locale.Manager.getInstance().removeBinding(this.__st);
}this.__sz=this.__sx=this.__sy=null;
}});
})();
(function(){var k="_",j="format",h="thu",g="sat",f="cldr_day_",e="cldr_month_",d="wed",c="fri",b="tue",a="mon",B="sun",A="short",z="HH:mm",y="HHmmsszz",x="HHmm",w="HHmmss",v="cldr_date_format_",u="HH:mm:ss zz",t="full",s="cldr_pm",q="long",r="medium",o="cldr_am",p="qx.locale.Date",m="cldr_date_time_format_",n="cldr_time_format_",l="HH:mm:ss";
qx.Class.define(p,{statics:{__sN:qx.locale.Manager.getInstance(),getAmMarker:function(C){return this.__sN.localize(o,[],C);
},getPmMarker:function(D){return this.__sN.localize(s,[],D);
},getDayNames:function(length,E,F){var F=F?F:j;
var H=[B,a,b,d,h,c,g];
var I=[];

for(var i=0;i<H.length;i++){var G=f+F+k+length+k+H[i];
I.push(this.__sN.localize(G,[],E));
}return I;
},getDayName:function(length,J,K,L){var L=L?L:j;
var N=[B,a,b,d,h,c,g];
var M=f+L+k+length+k+N[J];
return this.__sN.localize(M,[],K);
},getMonthNames:function(length,O,P){var P=P?P:j;
var R=[];

for(var i=0;i<12;i++){var Q=e+P+k+length+k+(i+1);
R.push(this.__sN.localize(Q,[],O));
}return R;
},getMonthName:function(length,S,T,U){var U=U?U:j;
var V=e+U+k+length+k+(S+1);
return this.__sN.localize(V,[],T);
},getDateFormat:function(W,X){var Y=v+W;
return this.__sN.localize(Y,[],X);
},getDateTimeFormat:function(ba,bb,bc){var be=m+ba;
var bd=this.__sN.localize(be,[],bc);

if(bd==be){bd=bb;
}return bd;
},getTimeFormat:function(bf,bg){var bi=n+bf;
var bh=this.__sN.localize(bi,[],bg);

if(bh!=bi){return bh;
}
switch(bf){case A:case r:return qx.locale.Date.getDateTimeFormat(x,z);
case q:return qx.locale.Date.getDateTimeFormat(w,l);
case t:return qx.locale.Date.getDateTimeFormat(y,u);
default:throw new Error("This case should never happen.");
}},getWeekStart:function(bj){var bk={"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 bl=qx.locale.Date._getTerritory(bj);
return bk[bl]!=null?bk[bl]:1;
},getWeekendStart:function(bm){var bo={"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 bn=qx.locale.Date._getTerritory(bm);
return bo[bn]!=null?bo[bn]:6;
},getWeekendEnd:function(bp){var bq={"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 br=qx.locale.Date._getTerritory(bp);
return bq[br]!=null?bq[br]:0;
},isWeekend:function(bs,bt){var bv=qx.locale.Date.getWeekendStart(bt);
var bu=qx.locale.Date.getWeekendEnd(bt);

if(bu>bv){return ((bs>=bv)&&(bs<=bu));
}else{return ((bs>=bv)||(bs<=bu));
}},_getTerritory:function(bw){if(bw){var bx=bw.split(k)[1]||bw;
}else{bx=this.__sN.getTerritory()||this.__sN.getLanguage();
}return bx.toUpperCase();
}}});
})();
(function(){var a="qx.ui.table.ICellEditorFactory";
qx.Interface.define(a,{members:{createCellEditor:function(b){return true;
},getCellEditorValue:function(c){return true;
}}});
})();
(function(){var f="",e="Function",d="abstract",c="number",b="appear",a="qx.ui.table.celleditor.AbstractField";
qx.Class.define(a,{extend:qx.core.Object,implement:qx.ui.table.ICellEditorFactory,type:d,properties:{validationFunction:{check:e,nullable:true,init:null}},members:{_createEditor:function(){throw new Error("Abstract method call!");
},createCellEditor:function(g){var h=this._createEditor();
h.originalValue=g.value;

if(g.value===null||g.value===undefined){g.value=f;
}h.setValue(f+g.value);
h.addListener(b,function(){h.selectAllText();
});
return h;
},getCellEditorValue:function(i){var k=i.getValue();
var j=this.getValidationFunction();

if(j){k=j(k,i.originalValue);
}
if(typeof i.originalValue==c){k=parseFloat(k);
}return k;
}}});
})();
(function(){var c="number",b="qx.ui.table.celleditor.TextField",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 a="qx.ui.table.IHeaderRenderer";
qx.Interface.define(a,{members:{createHeaderCell:function(b){return true;
},updateHeaderCell:function(c,d){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 i="icon",h="label",g="String",f="sort-icon",e="_applySortIcon",d="_applyIcon",c="table-header-cell",b="qx.ui.table.headerrenderer.HeaderCell",a="_applyLabel";
qx.Class.define(b,{extend:qx.ui.container.Composite,construct:function(){qx.ui.container.Composite.call(this);
var j=new qx.ui.layout.Grid();
j.setRowFlex(0,1);
j.setColumnFlex(1,1);
j.setColumnFlex(2,1);
this.setLayout(j);
},properties:{appearance:{refine:true,init:c},label:{check:g,init:null,nullable:true,apply:a},sortIcon:{check:g,init:null,nullable:true,apply:e,themeable:true},icon:{check:g,init:null,nullable:true,apply:d}},members:{_applyLabel:function(k,l){if(k){this._showChildControl(h).setValue(k);
}else{this._excludeChildControl(h);
}},_applySortIcon:function(m,n){if(m){this._showChildControl(f).setSource(m);
}else{this._excludeChildControl(f);
}},_applyIcon:function(o,p){if(o){this._showChildControl(i).setSource(o);
}else{this._excludeChildControl(i);
}},_createChildControlImpl:function(q,r){var s;

switch(q){case h:s=new qx.ui.basic.Label(this.getLabel()).set({anonymous:true,allowShrinkX:true});
this._add(s,{row:0,column:1});
break;
case f:s=new qx.ui.basic.Image(this.getSortIcon());
s.setAnonymous(true);
this._add(s,{row:0,column:2});
break;
case i:s=new qx.ui.basic.Image(this.getIcon()).set({anonymous:true,allowShrinkX:true});
this._add(s,{row:0,column:0});
break;
}return s||qx.ui.container.Composite.prototype._createChildControlImpl.call(this,q);
}}});
})();
(function(){var k="qx.event.type.Data",j="visibilityChanged",h="orderChanged",g="visibilityChangedPre",f="widthChanged",e="qx.ui.table.columnmodel.Basic",d="__sU",c="__sT",b="headerCellRendererChanged",a="__sS";
qx.Class.define(e,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);
this.__sO=[];
this.__sP=[];
},events:{"widthChanged":k,"visibilityChangedPre":k,"visibilityChanged":k,"orderChanged":k,"headerCellRendererChanged":k},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:{__rz:null,__sQ:null,__sP:null,__sO:null,__sR:null,__sS:null,__sT:null,__sU:null,init:function(l,m){this.__sR=[];
var q=qx.ui.table.columnmodel.Basic.DEFAULT_WIDTH;
var r=this.__sS||(this.__sS=new qx.ui.table.columnmodel.Basic.DEFAULT_HEADER_RENDERER());
var o=this.__sT||(this.__sT=new qx.ui.table.columnmodel.Basic.DEFAULT_DATA_RENDERER());
var n=this.__sU||(this.__sU=new qx.ui.table.columnmodel.Basic.DEFAULT_EDITOR_FACTORY());
this.__sO=[];
this.__sP=[];
var t;
if(m){t=m.getInitiallyHiddenColumns();
}t=t||[];

for(var u=0;u<l;u++){this.__sR[u]={width:q,headerRenderer:r,dataRenderer:o,editorFactory:n};
this.__sO[u]=u;
this.__sP[u]=u;
}this.__sQ=null;
this.__rz=true;

for(var s=0;s<t.length;s++){this.setColumnVisible(t[s],false);
}this.__rz=false;

for(u=0;u<l;u++){var p={col:u,visible:this.isColumnVisible(u)};
this.fireDataEvent(g,p);
this.fireDataEvent(j,p);
}},getVisibleColumns:function(){return this.__sP!=null?this.__sP:[];
},setColumnWidth:function(v,w,y){var A=this.__sR[v].width;

if(A!=w){this.__sR[v].width=w;
var z={col:v,newWidth:w,oldWidth:A,isMouseAction:y||false};
this.fireDataEvent(f,z);
}},getColumnWidth:function(B){return this.__sR[B].width;
},setHeaderCellRenderer:function(C,D){var E=this.__sR[C].headerRenderer;

if(E!==this.__sS){E.dispose();
}this.__sR[C].headerRenderer=D;
this.fireDataEvent(b,{col:C});
},getHeaderCellRenderer:function(F){return this.__sR[F].headerRenderer;
},setDataCellRenderer:function(G,H){this.__sR[G].dataRenderer=H;
var I=this.__sR[G].dataRenderer;

if(I!==this.__sT){return I;
}return null;
},getDataCellRenderer:function(J){return this.__sR[J].dataRenderer;
},setCellEditorFactory:function(K,L){var M=this.__sR[K].headerRenderer;

if(M!==this.__sU){M.dispose();
}this.__sR[K].editorFactory=L;
},getCellEditorFactory:function(N){return this.__sR[N].editorFactory;
},_getColToXPosMap:function(){if(this.__sQ==null){this.__sQ={};

for(var Q=0;Q<this.__sO.length;Q++){var P=this.__sO[Q];
this.__sQ[P]={overX:Q};
}
for(var O=0;O<this.__sP.length;O++){var P=this.__sP[O];
this.__sQ[P].visX=O;
}}return this.__sQ;
},getVisibleColumnCount:function(){return this.__sP!=null?this.__sP.length:0;
},getVisibleColumnAtX:function(R){return this.__sP[R];
},getVisibleX:function(S){return this._getColToXPosMap()[S].visX;
},getOverallColumnCount:function(){return this.__sO.length;
},getOverallColumnAtX:function(T){return this.__sO[T];
},getOverallX:function(U){return this._getColToXPosMap()[U].overX;
},isColumnVisible:function(V){return (this._getColToXPosMap()[V].visX!=null);
},setColumnVisible:function(W,X){if(X!=this.isColumnVisible(W)){if(X){var be=this._getColToXPosMap();
var bb=be[W].overX;

if(bb==null){throw new Error("Showing column failed: "+W+". The column is not added to this TablePaneModel.");
}var bc;

for(var x=bb+1;x<this.__sO.length;x++){var bd=this.__sO[x];
var Y=be[bd].visX;

if(Y!=null){bc=Y;
break;
}}if(bc==null){bc=this.__sP.length;
}this.__sP.splice(bc,0,W);
}else{var ba=this.getVisibleX(W);
this.__sP.splice(ba,1);
}this.__sQ=null;
if(!this.__rz){var bf={col:W,visible:X};
this.fireDataEvent(g,bf);
this.fireDataEvent(j,bf);
}}},moveColumn:function(bg,bh){this.__rz=true;
var bk=this.__sO[bg];
var bi=this.isColumnVisible(bk);

if(bi){this.setColumnVisible(bk,false);
}this.__sO.splice(bg,1);
this.__sO.splice(bh,0,bk);
this.__sQ=null;

if(bi){this.setColumnVisible(bk,true);
}this.__rz=false;
var bj={col:bk,fromOverXPos:bg,toOverXPos:bh};
this.fireDataEvent(h,bj);
},setColumnsOrder:function(bl){if(bl.length==this.__sO.length){this.__rz=true;
var bo=new Array(bl.length);

for(var bm=0;bm<this.__sO.length;bm++){var bn=this.isColumnVisible(bm);
bo[bm]=bn;

if(bn){this.setColumnVisible(bm,false);
}}this.__sO=qx.lang.Array.clone(bl);
this.__sQ=null;
for(var bm=0;bm<this.__sO.length;bm++){if(bo[bm]){this.setColumnVisible(bm,true);
}}this.__rz=false;
this.fireDataEvent(h);
}else{throw new Error("setColumnsOrder: Invalid number of column positions given, expected "+this.__sO.length+", got "+bl.length);
}}},destruct:function(){for(var i=0;i<this.__sR.length;i++){this.__sR[i].headerRenderer.dispose();
this.__sR[i].dataRenderer.dispose();
this.__sR[i].editorFactory.dispose();
}this.__sO=this.__sP=this.__sR=this.__sQ=null;
this._disposeObjects(a,c,d);
}});
})();
(function(){var k="",j="Number",h='</div>',g='" ',f="paneUpdated",e='<div>',d="</div>",c="overflow: hidden;",b="qx.event.type.Data",a="paneReloadsData",E="div",D='style="',C="_applyMaxCacheLines",B="qx.ui.table.pane.Pane",A="width: 100%;",z="qx.event.type.Event",w="_applyVisibleRowCount",v='>',u="line-height: ",t="appear",r='class="',s="width:100%;",p="px;",q='<div ',n="'>",o="_applyFirstVisibleRow",l="<div style='",m=";position:relative;";
qx.Class.define(B,{extend:qx.ui.core.Widget,construct:function(F){qx.ui.core.Widget.call(this);
this.__sV=F;
this.__sW=0;
this.__rM=0;
this.__sX=[];
},events:{"paneReloadsData":b,"paneUpdated":z},properties:{firstVisibleRow:{check:j,init:0,apply:o},visibleRowCount:{check:j,init:0,apply:w},maxCacheLines:{check:j,init:1000,apply:C},allowShrinkX:{refine:true,init:false}},members:{__rM:null,__sW:null,__sV:null,__sY:null,__rJ:null,__rI:null,__sX:null,__ta:0,_applyFirstVisibleRow:function(G,H){this.updateContent(false,G-H);
},_applyVisibleRowCount:function(I,J){this.updateContent(true);
},_getContentHint:function(){return {width:this.getPaneScroller().getTablePaneModel().getTotalWidth(),height:400};
},getPaneScroller:function(){return this.__sV;
},getTable:function(){return this.__sV.getTable();
},setFocusedCell:function(K,L,M){if(K!=this.__rI||L!=this.__rJ){var N=this.__rJ;
this.__rI=K;
this.__rJ=L;
if(L!=N&&!M){if(N!==null){this.updateContent(false,null,N,true);
}
if(L!==null){this.updateContent(false,null,L,true);
}}}},onSelectionChanged:function(){this.updateContent(false,null,null,true);
},onFocusChanged:function(){this.updateContent(false,null,null,true);
},setColumnWidth:function(O,P){this.updateContent(true);
},onColOrderChanged:function(){this.updateContent(true);
},onPaneModelChanged:function(){this.updateContent(true);
},onTableModelDataChanged:function(Q,R,S,T){this.__tb();
var V=this.getFirstVisibleRow();
var U=this.getVisibleRowCount();

if(R==-1||R>=V&&Q<V+U){this.updateContent();
}},onTableModelMetaDataChanged:function(){this.updateContent(true);
},_applyMaxCacheLines:function(W,X){if(this.__ta>=W&&W!==-1){this.__tb();
}},__tb:function(){this.__sX=[];
this.__ta=0;
},__tc:function(Y,ba,bb){if(!ba&&!bb&&this.__sX[Y]){return this.__sX[Y];
}else{return null;
}},__td:function(bc,bd,be,bf){var bg=this.getMaxCacheLines();

if(!be&&!bf&&!this.__sX[bc]&&bg>0){this._applyMaxCacheLines(bg);
this.__sX[bc]=bd;
this.__ta+=1;
}},updateContent:function(bh,bi,bj,bk){if(bh){this.__tb();
}if(bi&&Math.abs(bi)<=Math.min(10,this.getVisibleRowCount())){this._scrollContent(bi);
}else if(bk&&!this.getTable().getAlwaysUpdateCells()){this._updateRowStyles(bj);
}else{this._updateAllRows();
}},_updateRowStyles:function(bl){var bp=this.getContentElement().getDomElement();

if(!bp||!bp.firstChild){this._updateAllRows();
return;
}var bt=this.getTable();
var bn=bt.getSelectionModel();
var bq=bt.getTableModel();
var bu=bt.getDataRowRenderer();
var bo=bp.firstChild.childNodes;
var bs={table:bt};
var bv=this.getFirstVisibleRow();
var y=0;
var bm=bo.length;

if(bl!=null){var br=bl-bv;

if(br>=0&&br<bm){bv=bl;
y=br;
bm=br+1;
}else{return;
}}
for(;y<bm;y++,bv++){bs.row=bv;
bs.selected=bn.isSelectedIndex(bv);
bs.focusedRow=(this.__rJ==bv);
bs.rowData=bq.getRowData(bv);
bu.updateDataRowElement(bs,bo[y]);
}},_getRowsHtml:function(bw,bx){var bD=this.getTable();
var bG=bD.getSelectionModel();
var bA=bD.getTableModel();
var bB=bD.getTableColumnModel();
var bV=this.getPaneScroller().getTablePaneModel();
var bL=bD.getDataRowRenderer();
bA.prefetchRows(bw,bw+bx-1);
var bS=bD.getRowHeight();
var bU=bV.getColumnCount();
var bC=0;
var bz=[];
for(var x=0;x<bU;x++){var bY=bV.getColumnAtX(x);
var bF=bB.getColumnWidth(bY);
bz.push({col:bY,xPos:x,editable:bA.isColumnEditable(bY),focusedCol:this.__rI==bY,styleLeft:bC,styleWidth:bF});
bC+=bF;
}var bX=[];
var ca=false;

for(var bE=bw;bE<bw+bx;bE++){var bH=bG.isSelectedIndex(bE);
var bK=(this.__rJ==bE);
var bP=this.__tc(bE,bH,bK);

if(bP){bX.push(bP);
continue;
}var by=[];
var bR={table:bD};
bR.styleHeight=bS;
bR.row=bE;
bR.selected=bH;
bR.focusedRow=bK;
bR.rowData=bA.getRowData(bE);

if(!bR.rowData){ca=true;
}by.push(q);
var bO=bL.getRowAttributes(bR);

if(bO){by.push(bO);
}var bN=bL.getRowClass(bR);

if(bN){by.push(r,bN,g);
}var bM=bL.createRowStyle(bR);
bM+=m+bL.getRowHeightStyle(bS)+s;

if(bM){by.push(D,bM,g);
}by.push(v);
var bW=false;

for(x=0;x<bU&&!bW;x++){var bI=bz[x];

for(var bT in bI){bR[bT]=bI[bT];
}var bY=bR.col;
bR.value=bA.getValue(bY,bE);
var bJ=bB.getDataCellRenderer(bY);
bR.style=bJ.getDefaultCellStyle();
bW=bJ.createDataCellHtml(bR,by)||false;
}by.push(h);
var bQ=by.join(k);
this.__td(bE,bQ,bH,bK);
bX.push(bQ);
}this.fireDataEvent(a,ca);
return bX.join(k);
},_scrollContent:function(cb){var cc=this.getContentElement().getDomElement();

if(!(cc&&cc.firstChild)){this._updateAllRows();
return;
}var cl=cc.firstChild;
var cd=cl.childNodes;
var cj=this.getVisibleRowCount();
var ci=this.getFirstVisibleRow();
var cg=this.getTable().getTableModel();
var cm=0;
cm=cg.getRowCount();
if(ci+cj>cm){this._updateAllRows();
return;
}var cn=cb<0?cj+cb:0;
var ce=cb<0?0:cj-cb;

for(i=Math.abs(cb)-1;i>=0;i--){var ch=cd[cn];

try{cl.removeChild(ch);
}catch(co){break;
}}if(!this.__sY){this.__sY=document.createElement(E);
}var ck=e;
ck+=this._getRowsHtml(ci+ce,Math.abs(cb));
ck+=h;
this.__sY.innerHTML=ck;
var cf=this.__sY.firstChild.childNodes;
if(cb>0){for(var i=cf.length-1;i>=0;i--){var ch=cf[0];
cl.appendChild(ch);
}}else{for(var i=cf.length-1;i>=0;i--){var ch=cf[cf.length-1];
cl.insertBefore(ch,cl.firstChild);
}}if(this.__rJ!==null){this._updateRowStyles(this.__rJ-cb);
this._updateRowStyles(this.__rJ);
}this.fireEvent(f);
},_updateAllRows:function(){var cs=this.getContentElement().getDomElement();

if(!cs){this.addListenerOnce(t,arguments.callee,this);
return;
}var cy=this.getTable();
var cv=cy.getTableModel();
var cx=this.getPaneScroller().getTablePaneModel();
var cw=cx.getColumnCount();
var cp=cy.getRowHeight();
var ct=this.getFirstVisibleRow();
var cq=this.getVisibleRowCount();
var cz=cv.getRowCount();

if(ct+cq>cz){cq=Math.max(0,cz-ct);
}var cr=cx.getTotalWidth();
var cu;
if(cq>0){cu=[l,A,(cy.getForceLineHeight()?u+cp+p:k),c,n,this._getRowsHtml(ct,cq),d];
}else{cu=[];
}var cA=cu.join(k);
cs.innerHTML=cA;
this.setWidth(cr);
this.__sW=cw;
this.__rM=cq;
this.fireEvent(f);
}},destruct:function(){this.__sY=this.__sV=this.__sX=null;
}});
})();
(function(){var e="first",d="last",c="hovered",b="__sV",a="qx.ui.table.pane.Header";
qx.Class.define(a,{extend:qx.ui.core.Widget,construct:function(f){qx.ui.core.Widget.call(this);
this._setLayout(new qx.ui.layout.HBox());
this.__jV=new qx.ui.core.Blocker(this);
this.__sV=f;
},members:{__sV:null,__te:null,__tf:null,__jV:null,getPaneScroller:function(){return this.__sV;
},getTable:function(){return this.__sV.getTable();
},getBlocker:function(){return this.__jV;
},onColOrderChanged:function(){this._updateContent(true);
},onPaneModelChanged:function(){this._updateContent(true);
},onTableModelMetaDataChanged:function(){this._updateContent();
},setColumnWidth:function(g,h,i){var j=this.getHeaderWidgetAtColumn(g);

if(j!=null){j.setWidth(h);
}},setMouseOverColumn:function(k){if(k!=this.__tf){if(this.__tf!=null){var l=this.getHeaderWidgetAtColumn(this.__tf);

if(l!=null){l.removeState(c);
}}
if(k!=null){this.getHeaderWidgetAtColumn(k).addState(c);
}this.__tf=k;
}},getHeaderWidgetAtColumn:function(m){var n=this.getPaneScroller().getTablePaneModel().getX(m);
return this._getChildren()[n];
},showColumnMoveFeedback:function(o,x){var s=this.getContainerLocation();

if(this.__te==null){var y=this.getTable();
var p=this.getPaneScroller().getTablePaneModel().getX(o);
var r=this._getChildren()[p];
var t=y.getTableModel();
var v=y.getTableColumnModel();
var w={xPos:p,col:o,name:t.getColumnName(o),table:y};
var u=v.getHeaderCellRenderer(o);
var q=u.createHeaderCell(w);
var z=r.getBounds();
q.setWidth(z.width);
q.setHeight(z.height);
q.setZIndex(1000000);
q.setOpacity(0.8);
q.setLayoutProperties({top:s.top});
this.getApplicationRoot().add(q);
this.__te=q;
}this.__te.setLayoutProperties({left:s.left+x});
this.__te.show();
},hideColumnMoveFeedback:function(){if(this.__te!=null){this.__te.destroy();
this.__te=null;
}},isShowingColumnMoveFeedback:function(){return this.__te!=null;
},_updateContent:function(A){var K=this.getTable();
var E=K.getTableModel();
var H=K.getTableColumnModel();
var J=this.getPaneScroller().getTablePaneModel();
var M=this._getChildren();
var F=J.getColumnCount();
var I=E.getSortColumnIndex();
if(A){this._cleanUpCells();
}var B={};
B.sortedAscending=E.isSortAscending();

for(var x=0;x<F;x++){var D=J.getColumnAtX(x);

if(D===undefined){continue;
}var L=H.getColumnWidth(D);
var G=H.getHeaderCellRenderer(D);
B.xPos=x;
B.col=D;
B.name=E.getColumnName(D);
B.editable=E.isColumnEditable(D);
B.sorted=(D==I);
B.table=K;
var C=M[x];
if(C==null){C=G.createHeaderCell(B);
C.set({width:L});
this._add(C);
}else{G.updateHeaderCell(B,C);
}if(x===0){C.addState(e);
C.removeState(d);
}else if(x===F-1){C.removeState(e);
C.addState(d);
}else{C.removeState(e);
C.removeState(d);
}}},_cleanUpCells:function(){var O=this._getChildren();

for(var x=O.length-1;x>=0;x--){var N=O[x];
N.destroy();
}}},destruct:function(){this.__jV.dispose();
this._disposeObjects(b);
}});
})();
(function(){var m="Boolean",l="resize-line",k="mousedown",j="qx.event.type.Data",i="mouseup",h="qx.ui.table.pane.CellEvent",g="scroll",d="focus-indicator",c="excluded",b="scrollbar-y",bo="table-scroller-focus-indicator",bn="visible",bm="mousemove",bl="header",bk="editing",bj="click",bi="modelChanged",bh="scrollbar-x",bg="cellClick",bf="pane",t="mouseout",u="__tl",r="changeHorizontalScrollBarVisible",s="bottom",p="_applyScrollTimeout",q="changeScrollX",n="_applyTablePaneModel",o="Integer",A="dblclick",B="__tm",K="dataEdited",H="__tn",S="__jf",N="mousewheel",bb="interval",X="qx.ui.table.pane.Scroller",D="__tk",be="__ti",bd="_applyShowCellFocusIndicator",bc="y",C="resize",F="vertical",G="changeScrollY",J="appear",L="__tj",O="__th",U="table-scroller",ba="beforeSort",v="cellDblclick",w="__to",E="horizontal",R="losecapture",Q="contextmenu",P="col-resize",W="disappear",V="_applyVerticalScrollBarVisible",M="_applyHorizontalScrollBarVisible",T="cellContextmenu",a="close",Y="changeTablePaneModel",y="x",z="qx.ui.table.pane.Model",I="changeVerticalScrollBarVisible";
qx.Class.define(X,{extend:qx.ui.core.Widget,include:qx.ui.core.scroll.MScrollBarFactory,construct:function(bp){qx.ui.core.Widget.call(this);
this.__tg=bp;
var bq=new qx.ui.layout.Grid();
bq.setColumnFlex(0,1);
bq.setRowFlex(1,1);
this._setLayout(bq);
this.__th=this._showChildControl(bh);
this.__ti=this._showChildControl(b);
this.__tj=this._showChildControl(bl);
this.__tk=this._showChildControl(bf);
this.__tl=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({minWidth:0});
this._add(this.__tl,{row:0,column:0,colSpan:2});
this.__tm=new qx.ui.table.pane.Clipper();
this.__tm.add(this.__tj);
this.__tm.addListener(R,this._onChangeCaptureHeader,this);
this.__tm.addListener(bm,this._onMousemoveHeader,this);
this.__tm.addListener(k,this._onMousedownHeader,this);
this.__tm.addListener(i,this._onMouseupHeader,this);
this.__tm.addListener(bj,this._onClickHeader,this);
this.__tl.add(this.__tm,{flex:1});
this.__tn=new qx.ui.table.pane.Clipper();
this.__tn.add(this.__tk);
this.__tn.addListener(N,this._onMousewheel,this);
this.__tn.addListener(bm,this._onMousemovePane,this);
this.__tn.addListener(k,this._onMousedownPane,this);
this.__tn.addListener(i,this._onMouseupPane,this);
this.__tn.addListener(bj,this._onClickPane,this);
this.__tn.addListener(Q,this._onContextMenu,this);
this.__tn.addListener(A,this._onDblclickPane,this);
this.__tn.addListener(C,this._onResizePane,this);
this._add(this.__tn,{row:1,column:0});
this.__to=this.getChildControl(d);
this.initShowCellFocusIndicator();
this.getChildControl(l).hide();
this.addListener(t,this._onMouseout,this);
this.addListener(J,this._onAppear,this);
this.addListener(W,this._onDisappear,this);
this.__jf=new qx.event.Timer();
this.__jf.addListener(bb,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":j,"changeScrollX":j,"cellClick":h,"cellDblclick":h,"cellContextmenu":h,"beforeSort":j},properties:{horizontalScrollBarVisible:{check:m,init:false,apply:M,event:r},verticalScrollBarVisible:{check:m,init:false,apply:V,event:I},tablePaneModel:{check:z,apply:n,event:Y},liveResize:{check:m,init:false},focusCellOnMouseMove:{check:m,init:false},selectBeforeFocus:{check:m,init:false},showCellFocusIndicator:{check:m,init:true,apply:bd},contextMenuFromDataCellsOnly:{check:m,init:true},resetSelectionOnHeaderClick:{check:m,init:true},scrollTimeout:{check:o,init:100,apply:p},appearance:{refine:true,init:U}},members:{__rM:null,__tg:null,__tp:null,__tq:null,__tr:null,__ts:null,__tt:null,__tu:null,__tv:null,__tw:null,__tx:null,__ty:null,__tz:null,__tA:null,__tB:false,__tC:null,__tD:null,__tE:null,__rI:null,__rJ:null,__tF:null,__tG:null,__tH:null,__th:null,__ti:null,__tj:null,__tm:null,__tk:null,__tn:null,__to:null,__tl:null,__jf:null,getPaneInsetRight:function(){var bt=this.getTopRightWidget();
var bu=bt&&bt.isVisible()&&bt.getBounds()?bt.getBounds().width+bt.getMarginLeft()+bt.getMarginRight():0;
var bs=this.__ti;
var br=this.getVerticalScrollBarVisible()?this.getVerticalScrollBarWidth()+bs.getMarginLeft()+bs.getMarginRight():0;
return Math.max(bu,br);
},setPaneWidth:function(bv){if(this.isVerticalScrollBarVisible()){bv+=this.getPaneInsetRight();
}this.setWidth(bv);
},_createChildControlImpl:function(bw,bx){var by;

switch(bw){case bl:by=(this.getTable().getNewTablePaneHeader())(this);
break;
case bf:by=(this.getTable().getNewTablePane())(this);
break;
case d:by=new qx.ui.table.pane.FocusIndicator(this);
by.setUserBounds(0,0,0,0);
by.setZIndex(1000);
by.addListener(i,this._onMouseupFocusIndicator,this);
this.__tn.add(by);
by.show();
by.setDecorator(null);
break;
case l:by=new qx.ui.core.Widget();
by.setUserBounds(0,0,0,0);
by.setZIndex(1000);
this.__tn.add(by);
break;
case bh:by=this._createScrollBar(E).set({minWidth:0,alignY:s});
by.addListener(g,this._onScrollX,this);
this._add(by,{row:2,column:0});
break;
case b:by=this._createScrollBar(F);
by.addListener(g,this._onScrollY,this);
this._add(by,{row:1,column:1});
break;
}return by||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,bw);
},_applyHorizontalScrollBarVisible:function(bz,bA){this.__th.setVisibility(bz?bn:c);
},_applyVerticalScrollBarVisible:function(bB,bC){this.__ti.setVisibility(bB?bn:c);
},_applyTablePaneModel:function(bD,bE){if(bE!=null){bE.removeListener(bi,this._onPaneModelChanged,this);
}bD.addListener(bi,this._onPaneModelChanged,this);
},_applyShowCellFocusIndicator:function(bF,bG){if(bF){this.__to.setDecorator(bo);
this._updateFocusIndicator();
}else{if(this.__to){this.__to.setDecorator(null);
}}},getScrollY:function(){return this.__ti.getPosition();
},setScrollY:function(scrollY,bH){this.__ti.scrollTo(scrollY);

if(bH){this._updateContent();
}},getScrollX:function(){return this.__th.getPosition();
},setScrollX:function(scrollX){this.__th.scrollTo(scrollX);
},getTable:function(){return this.__tg;
},onColVisibilityChanged:function(){this.updateHorScrollBarMaximum();
this._updateFocusIndicator();
},setColumnWidth:function(bI,bJ){this.__tj.setColumnWidth(bI,bJ);
this.__tk.setColumnWidth(bI,bJ);
var bK=this.getTablePaneModel();
var x=bK.getX(bI);

if(x!=-1){this.updateHorScrollBarMaximum();
this._updateFocusIndicator();
}},onColOrderChanged:function(){this.__tj.onColOrderChanged();
this.__tk.onColOrderChanged();
this.updateHorScrollBarMaximum();
},onTableModelDataChanged:function(bL,bM,bN,bO){this.__tk.onTableModelDataChanged(bL,bM,bN,bO);
var bP=this.getTable().getTableModel().getRowCount();

if(bP!=this.__rM){this.updateVerScrollBarMaximum();

if(this.getFocusedRow()>=bP){if(bP==0){this.setFocusedCell(null,null);
}else{this.setFocusedCell(this.getFocusedColumn(),bP-1);
}}this.__rM=bP;
}},onSelectionChanged:function(){this.__tk.onSelectionChanged();
},onFocusChanged:function(){this.__tk.onFocusChanged();
},onTableModelMetaDataChanged:function(){this.__tj.onTableModelMetaDataChanged();
this.__tk.onTableModelMetaDataChanged();
},_onPaneModelChanged:function(){this.__tj.onPaneModelChanged();
this.__tk.onPaneModelChanged();
},_onResizePane:function(){this.updateHorScrollBarMaximum();
this.updateVerScrollBarMaximum();
this._updateContent();
this.__tj._updateContent();
this.__tg._updateScrollBarVisibility();
},updateHorScrollBarMaximum:function(){var bT=this.__tn.getInnerSize();

if(!bT){return ;
}var bR=this.getTablePaneModel().getTotalWidth();
var bS=this.__th;

if(bT.width<bR){var bQ=Math.max(0,bR-bT.width);
bS.setMaximum(bQ);
bS.setKnobFactor(bT.width/bR);
var bU=bS.getPosition();
bS.setPosition(Math.min(bU,bQ));
}else{bS.setMaximum(0);
bS.setKnobFactor(1);
bS.setPosition(0);
}},updateVerScrollBarMaximum:function(){var cd=this.__tn.getInnerSize();

if(!cd){return ;
}var cb=this.getTable().getTableModel();
var bW=cb.getRowCount();

if(this.getTable().getKeepFirstVisibleRowComplete()){bW+=1;
}var bV=this.getTable().getRowHeight();
var bY=bW*bV;
var cc=this.__ti;

if(cd.height<bY){var bX=Math.max(0,bY-cd.height);
cc.setMaximum(bX);
cc.setKnobFactor(cd.height/bY);
var ca=cc.getPosition();
cc.setPosition(Math.min(ca,bX));
}else{cc.setMaximum(0);
cc.setKnobFactor(1);
cc.setPosition(0);
}},onKeepFirstVisibleRowCompleteChanged:function(){this.updateVerScrollBarMaximum();
this._updateContent();
},_onAppear:function(){this._startInterval(this.getScrollTimeout());
},_onDisappear:function(){this._stopInterval();
},_onScrollX:function(e){var ce=e.getData();
this.fireDataEvent(q,ce,e.getOldData());
this.__tm.scrollToX(ce);
this.__tn.scrollToX(ce);
},_onScrollY:function(e){this.fireDataEvent(G,e.getData(),e.getOldData());
this._postponedUpdateContent();
},_onMousewheel:function(e){var cf=this.getTable();

if(!cf.getEnabled()){return;
}var ci=e.getWheelDelta(bc);
if(ci>0&&ci<1){ci=1;
}else if(ci<0&&ci>-1){ci=-1;
}this.__ti.scrollBySteps(ci);
ci=e.getWheelDelta(y);
if(ci>0&&ci<1){ci=1;
}else if(ci<0&&ci>-1){ci=-1;
}this.__th.scrollBySteps(ci);
if(this.__tD&&this.getFocusCellOnMouseMove()){this._focusCellAtPagePos(this.__tD,this.__tE);
}var ch=this.__ti.getPosition();
var cg=this.__ti.getMaximum();
if(ci<0&&ch<=0||ci>0&&ch>=cg){return;
}e.stop();
},__tI:function(cj){var co=this.getTable();
var cp=this.__tj.getHeaderWidgetAtColumn(this.__tx);
var ck=cp.getSizeHint().minWidth;
var cm=Math.max(ck,this.__tz+cj-this.__ty);

if(this.getLiveResize()){var cl=co.getTableColumnModel();
cl.setColumnWidth(this.__tx,cm,true);
}else{this.__tj.setColumnWidth(this.__tx,cm,true);
var cn=this.getTablePaneModel();
this._showResizeLine(cn.getColumnLeft(this.__tx)+cm);
}this.__ty+=cm-this.__tz;
this.__tz=cm;
},__tJ:function(cq){var cr=qx.ui.table.pane.Scroller.CLICK_TOLERANCE;

if(this.__tj.isShowingColumnMoveFeedback()||cq>this.__tw+cr||cq<this.__tw-cr){this.__tt+=cq-this.__tw;
this.__tj.showColumnMoveFeedback(this.__ts,this.__tt);
var cs=this.__tg.getTablePaneScrollerAtPageX(cq);

if(this.__tv&&this.__tv!=cs){this.__tv.hideColumnMoveFeedback();
}
if(cs!=null){this.__tu=cs.showColumnMoveFeedback(cq);
}else{this.__tu=null;
}this.__tv=cs;
this.__tw=cq;
}},_onMousemoveHeader:function(e){var cz=this.getTable();

if(!cz.getEnabled()){return;
}var cA=false;
var ct=null;
var cx=e.getDocumentLeft();
var cy=e.getDocumentTop();
this.__tD=cx;
this.__tE=cy;

if(this.__tx!=null){this.__tI(cx);
cA=true;
e.stopPropagation();
}else if(this.__ts!=null){this.__tJ(cx);
e.stopPropagation();
}else{var cu=this._getResizeColumnForPageX(cx);

if(cu!=-1){cA=true;
}else{var cw=cz.getTableModel();
var cB=this._getColumnForPageX(cx);

if(cB!=null&&cw.isColumnSortable(cB)){ct=cB;
}}}var cv=cA?P:null;
this.getApplicationRoot().setGlobalCursor(cv);
this.setCursor(cv);
this.__tj.setMouseOverColumn(ct);
},_onMousemovePane:function(e){var cC=this.getTable();

if(!cC.getEnabled()){return;
}var cE=e.getDocumentLeft();
var cF=e.getDocumentTop();
this.__tD=cE;
this.__tE=cF;
var cD=this._getRowForPagePos(cE,cF);

if(cD!=null&&this._getColumnForPageX(cE)!=null){if(this.getFocusCellOnMouseMove()){this._focusCellAtPagePos(cE,cF);
}}this.__tj.setMouseOverColumn(null);
},_onMousedownHeader:function(e){if(!this.getTable().getEnabled()){return;
}var cH=e.getDocumentLeft();
var cI=this._getResizeColumnForPageX(cH);

if(cI!=-1){this._startResizeHeader(cI,cH);
e.stop();
}else{var cG=this._getColumnForPageX(cH);

if(cG!=null){this._startMoveHeader(cG,cH);
e.stop();
}}},_startResizeHeader:function(cJ,cK){var cL=this.getTable().getTableColumnModel();
this.__tx=cJ;
this.__ty=cK;
this.__tz=cL.getColumnWidth(this.__tx);
this.__tm.capture();
},_startMoveHeader:function(cM,cN){this.__ts=cM;
this.__tw=cN;
this.__tt=this.getTablePaneModel().getColumnLeft(cM);
this.__tm.capture();
},_onMousedownPane:function(e){var cR=this.getTable();

if(!cR.getEnabled()){return;
}
if(cR.isEditing()){cR.stopEditing();
}var cO=e.getDocumentLeft();
var cQ=e.getDocumentTop();
var cT=this._getRowForPagePos(cO,cQ);
var cS=this._getColumnForPageX(cO);

if(cT!==null){this.__tA={row:cT,col:cS};
this.__tB=false;
var cP=this.getSelectBeforeFocus();

if(cP){cR.getSelectionManager().handleMouseDown(cT,e);
}if(!this.getFocusCellOnMouseMove()){this._focusCellAtPagePos(cO,cQ);
}
if(!cP){cR.getSelectionManager().handleMouseDown(cT,e);
}}},_onMouseupFocusIndicator:function(e){if(this.__tA&&!this.__tB&&!this.isEditing()&&this.__to.getRow()==this.__tA.row&&this.__to.getColumn()==this.__tA.col){this.fireEvent(bg,qx.ui.table.pane.CellEvent,[this,e,this.__tA.row,this.__tA.col],true);
this.__tB=true;
}else if(!this.isEditing()){this._onMousedownPane(e);
}},_onChangeCaptureHeader:function(e){if(this.__tx!=null){this._stopResizeHeader();
}
if(this.__ts!=null){this._stopMoveHeader();
}},_stopResizeHeader:function(){var cU=this.getTable().getTableColumnModel();
if(!this.getLiveResize()){this._hideResizeLine();
cU.setColumnWidth(this.__tx,this.__tz,true);
}this.__tx=null;
this.__tm.releaseCapture();
this.getApplicationRoot().setGlobalCursor(null);
this.setCursor(null);
if(this.isEditing()){var cV=this.__tF.getBounds().height;
this.__tF.setUserBounds(0,0,this.__tz,cV);
}},_stopMoveHeader:function(){var db=this.getTable().getTableColumnModel();
var dc=this.getTablePaneModel();
this.__tj.hideColumnMoveFeedback();

if(this.__tv){this.__tv.hideColumnMoveFeedback();
}
if(this.__tu!=null){var de=dc.getFirstColumnX()+dc.getX(this.__ts);
var da=this.__tu;

if(da!=de&&da!=de+1){var dd=db.getVisibleColumnAtX(de);
var cY=db.getVisibleColumnAtX(da);
var cX=db.getOverallX(dd);
var cW=(cY!=null)?db.getOverallX(cY):db.getOverallColumnCount();

if(cW>cX){cW--;
}db.moveColumn(cX,cW);
this._updateFocusIndicator();
}}this.__ts=null;
this.__tu=null;
this.__tm.releaseCapture();
},_onMouseupPane:function(e){var df=this.getTable();

if(!df.getEnabled()){return;
}var dg=this._getRowForPagePos(e.getDocumentLeft(),e.getDocumentTop());

if(dg!=-1&&dg!=null&&this._getColumnForPageX(e.getDocumentLeft())!=null){df.getSelectionManager().handleMouseUp(dg,e);
}},_onMouseupHeader:function(e){var dh=this.getTable();

if(!dh.getEnabled()){return;
}
if(this.__tx!=null){this._stopResizeHeader();
this.__tC=true;
e.stop();
}else if(this.__ts!=null){this._stopMoveHeader();
e.stop();
}},_onClickHeader:function(e){if(this.__tC){this.__tC=false;
return;
}var dm=this.getTable();

if(!dm.getEnabled()){return;
}var dk=dm.getTableModel();
var dl=e.getDocumentLeft();
var dj=this._getResizeColumnForPageX(dl);

if(dj==-1){var dq=this._getColumnForPageX(dl);

if(dq!=null&&dk.isColumnSortable(dq)){var di=dk.getSortColumnIndex();
var dn=(dq!=di)?true:!dk.isSortAscending();
var dp={column:dq,ascending:dn,clickEvent:e};

if(this.fireDataEvent(ba,dp,null,true)){dk.sortByColumn(dq,dn);

if(this.getResetSelectionOnHeaderClick()){dm.getSelectionModel().resetSelection();
}}}}e.stop();
},_onClickPane:function(e){var dr=this.getTable();

if(!dr.getEnabled()){return;
}var du=e.getDocumentLeft();
var dv=e.getDocumentTop();
var ds=this._getRowForPagePos(du,dv);
var dt=this._getColumnForPageX(du);

if(ds!=null&&dt!=null){dr.getSelectionManager().handleClick(ds,e);

if(this.__to.isHidden()||(this.__tA&&!this.__tB&&!this.isEditing()&&ds==this.__tA.row&&dt==this.__tA.col)){this.fireEvent(bg,qx.ui.table.pane.CellEvent,[this,e,ds,dt],true);
this.__tB=true;
}}},_onContextMenu:function(e){var dz=e.getDocumentLeft();
var dA=e.getDocumentTop();
var dx=this._getRowForPagePos(dz,dA);
var dy=this._getColumnForPageX(dz);
if(dx===null&&this.getContextMenuFromDataCellsOnly()){return;
}
if(!this.getShowCellFocusIndicator()||dx===null||(this.__tA&&dx==this.__tA.row&&dy==this.__tA.col)){this.fireEvent(T,qx.ui.table.pane.CellEvent,[this,e,dx,dy],true);
var dw=this.getTable().getContextMenu();

if(dw){if(dw.getChildren().length>0){dw.openAtMouse(e);
}else{dw.exclude();
}e.preventDefault();
}}},_onContextMenuOpen:function(e){},_onDblclickPane:function(e){var dC=e.getDocumentLeft();
var dD=e.getDocumentTop();
this._focusCellAtPagePos(dC,dD);
this.startEditing();
var dB=this._getRowForPagePos(dC,dD);

if(dB!=-1&&dB!=null){this.fireEvent(v,qx.ui.table.pane.CellEvent,[this,e,dB],true);
}},_onMouseout:function(e){var dE=this.getTable();

if(!dE.getEnabled()){return;
}if(this.__tx==null){this.setCursor(null);
this.getApplicationRoot().setGlobalCursor(null);
}this.__tj.setMouseOverColumn(null);
},_showResizeLine:function(x){var dG=this._showChildControl(l);
var dF=dG.getWidth();
var dH=this.__tn.getBounds();
dG.setUserBounds(x-Math.round(dF/2),0,dF,dH.height);
},_hideResizeLine:function(){this._excludeChildControl(l);
},showColumnMoveFeedback:function(dI){var dR=this.getTablePaneModel();
var dQ=this.getTable().getTableColumnModel();
var dL=this.__tk.getContainerLocation().left;
var dP=dR.getColumnCount();
var dM=0;
var dK=0;
var dU=dL;

for(var dJ=0;dJ<dP;dJ++){var dN=dR.getColumnAtX(dJ);
var dS=dQ.getColumnWidth(dN);

if(dI<dU+dS/2){break;
}dU+=dS;
dM=dJ+1;
dK=dU-dL;
}var dO=this.__tn.getContainerLocation().left;
var dT=this.__tn.getBounds().width;
var scrollX=dO-dL;
dK=qx.lang.Number.limit(dK,scrollX+2,scrollX+dT-1);
this._showResizeLine(dK);
return dR.getFirstColumnX()+dM;
},hideColumnMoveFeedback:function(){this._hideResizeLine();
},_focusCellAtPagePos:function(dV,dW){var dY=this._getRowForPagePos(dV,dW);

if(dY!=-1&&dY!=null){var dX=this._getColumnForPageX(dV);
this.__tg.setFocusedCell(dX,dY);
}},setFocusedCell:function(ea,eb){if(!this.isEditing()){this.__tk.setFocusedCell(ea,eb,this.__tq);
this.__rI=ea;
this.__rJ=eb;
this._updateFocusIndicator();
}},getFocusedColumn:function(){return this.__rI;
},getFocusedRow:function(){return this.__rJ;
},scrollCellVisible:function(ec,ed){var en=this.getTablePaneModel();
var ee=en.getX(ec);

if(ee!=-1){var ek=this.__tn.getInnerSize();

if(!ek){return;
}var el=this.getTable().getTableColumnModel();
var eh=en.getColumnLeft(ec);
var eo=el.getColumnWidth(ec);
var ef=this.getTable().getRowHeight();
var ep=ed*ef;
var scrollX=this.getScrollX();
var scrollY=this.getScrollY();
var em=Math.min(eh,eh+eo-ek.width);
var ej=eh;
this.setScrollX(Math.max(em,Math.min(ej,scrollX)));
var eg=ep+ef-ek.height;

if(this.getTable().getKeepFirstVisibleRowComplete()){eg+=ef;
}var ei=ep;
this.setScrollY(Math.max(eg,Math.min(ei,scrollY)),true);
}},isEditing:function(){return this.__tF!=null;
},startEditing:function(){var eu=this.getTable();
var es=eu.getTableModel();
var ew=this.__rI;

if(!this.isEditing()&&(ew!=null)&&es.isColumnEditable(ew)){var ex=this.__rJ;
var eq=this.getTablePaneModel().getX(ew);
var er=es.getValue(ew,ex);
this.scrollCellVisible(eq,ex);
this.__tG=eu.getTableColumnModel().getCellEditorFactory(ew);
var et={col:ew,row:ex,xPos:eq,value:er,table:eu};
this.__tF=this.__tG.createCellEditor(et);
if(this.__tF===null){return false;
}else if(this.__tF instanceof qx.ui.window.Window){this.__tF.setModal(true);
this.__tF.setShowClose(false);
this.__tF.addListener(a,this._onCellEditorModalWindowClose,this);
var f=eu.getModalCellEditorPreOpenFunction();

if(f!=null){f(this.__tF,et);
}this.__tF.open();
}else{var ev=this.__to.getInnerSize();
this.__tF.setUserBounds(0,0,ev.width,ev.height);
this.__to.addListener(k,function(e){this.__tA={row:this.__rJ,col:this.__rI};
e.stopPropagation();
},this);
this.__to.add(this.__tF);
this.__to.addState(bk);
this.__to.setKeepActive(false);
this.__to.setDecorator(bo);
this.__tF.focus();
this.__tF.activate();
}return true;
}return false;
},stopEditing:function(){if(!this.getShowCellFocusIndicator()){this.__to.setDecorator(null);
}this.flushEditor();
this.cancelEditing();
},flushEditor:function(){if(this.isEditing()){var ez=this.__tG.getCellEditorValue(this.__tF);
var ey=this.getTable().getTableModel().getValue(this.__rI,this.__rJ);
this.getTable().getTableModel().setValue(this.__rI,this.__rJ,ez);
this.__tg.focus();
this.__tg.fireDataEvent(K,{row:this.__rJ,col:this.__rI,oldValue:ey,value:ez});
}},cancelEditing:function(){if(this.isEditing()&&!this.__tF.pendingDispose){if(this._cellEditorIsModalWindow){this.__tF.destroy();
this.__tF=null;
this.__tG=null;
this.__tF.pendingDispose=true;
}else{this.__to.removeState(bk);
this.__to.setKeepActive(true);
this.__tF.destroy();
this.__tF=null;
this.__tG=null;
}}},_onCellEditorModalWindowClose:function(e){this.stopEditing();
},_getColumnForPageX:function(eA){var eD=this.getTable().getTableColumnModel();
var eE=this.getTablePaneModel();
var eC=eE.getColumnCount();
var eG=this.__tk.getContentLocation().left;

for(var x=0;x<eC;x++){var eB=eE.getColumnAtX(x);
var eF=eD.getColumnWidth(eB);
eG+=eF;

if(eA<eG){return eB;
}}return null;
},_getResizeColumnForPageX:function(eH){var eL=this.getTable().getTableColumnModel();
var eM=this.getTablePaneModel();
var eK=eM.getColumnCount();
var eO=this.__tj.getContainerLocation().left;
var eI=qx.ui.table.pane.Scroller.RESIZE_REGION_RADIUS;

for(var x=0;x<eK;x++){var eJ=eM.getColumnAtX(x);
var eN=eL.getColumnWidth(eJ);
eO+=eN;

if(eH>=(eO-eI)&&eH<=(eO+eI)){return eJ;
}}return -1;
},_getRowForPagePos:function(eP,eQ){var eR=this.__tk.getContentLocation();

if(eP<eR.left||eP>eR.right){return null;
}
if(eQ>=eR.top&&eQ<=eR.bottom){var eS=this.getTable().getRowHeight();
var scrollY=this.__ti.getPosition();

if(this.getTable().getKeepFirstVisibleRowComplete()){scrollY=Math.floor(scrollY/eS)*eS;
}var eV=scrollY+eQ-eR.top;
var eX=Math.floor(eV/eS);
var eW=this.getTable().getTableModel();
var eT=eW.getRowCount();
return (eX<eT)?eX:null;
}var eU=this.__tj.getContainerLocation();

if(eQ>=eU.top&&eQ<=eU.bottom&&eP<=eU.right){return -1;
}return null;
},setTopRightWidget:function(eY){var fa=this.__tH;

if(fa!=null){this.__tl.remove(fa);
}
if(eY!=null){this.__tl.add(eY);
}this.__tH=eY;
},getTopRightWidget:function(){return this.__tH;
},getHeader:function(){return this.__tj;
},getTablePane:function(){return this.__tk;
},getVerticalScrollBarWidth:function(){var fb=this.__ti;
return fb.isVisible()?(fb.getSizeHint().width||0):0;
},getNeededScrollBars:function(fc,fd){var fm=this.__ti;
var fq=fm.getSizeHint().width+fm.getMarginLeft()+fm.getMarginRight();
var fs=this.__th;
var fr=fs.getSizeHint().height+fs.getMarginTop()+fs.getMarginBottom();
var fk=this.__tn.getInnerSize();
var fe=fk?fk.width:0;

if(this.getVerticalScrollBarVisible()){fe+=fq;
}var fp=fk?fk.height:0;

if(this.getHorizontalScrollBarVisible()){fp+=fr;
}var fl=this.getTable().getTableModel();
var fi=fl.getRowCount();
var ff=this.getTablePaneModel().getTotalWidth();
var fn=this.getTable().getRowHeight()*fi;
var fh=false;
var fo=false;

if(ff>fe){fh=true;

if(fn>fp-fr){fo=true;
}}else if(fn>fp){fo=true;

if(!fd&&(ff>fe-fq)){fh=true;
}}var fj=qx.ui.table.pane.Scroller.HORIZONTAL_SCROLLBAR;
var fg=qx.ui.table.pane.Scroller.VERTICAL_SCROLLBAR;
return ((fc||fh)?fj:0)|((fd||!fo)?0:fg);
},getPaneClipper:function(){return this.__tn;
},_applyScrollTimeout:function(ft,fu){this._startInterval(ft);
},_startInterval:function(fv){this.__jf.setInterval(fv);
this.__jf.start();
},_stopInterval:function(){this.__jf.stop();
},_postponedUpdateContent:function(){this._updateContent();
},_oninterval:qx.event.GlobalError.observeMethod(function(){if(this.__tq&&!this.__tk._layoutPending){this.__tq=false;
this._updateContent();
}}),_updateContent:function(){var fA=this.__tn.getInnerSize();

if(!fA){return;
}var fD=fA.height;
var scrollX=this.__th.getPosition();
var scrollY=this.__ti.getPosition();
var fx=this.getTable().getRowHeight();
var fy=Math.floor(scrollY/fx);
var fC=this.__tk.getFirstVisibleRow();
this.__tk.setFirstVisibleRow(fy);
var fz=Math.ceil(fD/fx);
var fw=0;
var fB=this.getTable().getKeepFirstVisibleRowComplete();

if(!fB){fz++;
fw=scrollY%fx;
}this.__tk.setVisibleRowCount(fz);

if(fy!=fC){this._updateFocusIndicator();
}this.__tn.scrollToX(scrollX);
if(!fB){this.__tn.scrollToY(fw);
}},_updateFocusIndicator:function(){var fE=this.getTable();

if(!fE.getEnabled()){return;
}this.__to.moveToCell(this.__rI,this.__rJ);
}},destruct:function(){this._stopInterval();
var fF=this.getTablePaneModel();

if(fF){fF.dispose();
}this.__tA=this.__tH=this.__tg=null;
this._disposeObjects(O,be,B,H,w,L,D,u,S);
}});
})();
(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 g="Integer",f="Escape",d="keypress",c="Enter",b="excluded",a="qx.ui.table.pane.FocusIndicator";
qx.Class.define(a,{extend:qx.ui.container.Composite,construct:function(h){qx.ui.container.Composite.call(this);
this.__tK=h;
this.setKeepActive(true);
this.addListener(d,this._onKeyPress,this);
},properties:{visibility:{refine:true,init:b},row:{check:g,nullable:true},column:{check:g,nullable:true}},members:{__tK:null,_onKeyPress:function(e){var i=e.getKeyIdentifier();

if(i!==f&&i!==c){e.stopPropagation();
}},moveToCell:function(j,k){if(!this.__tK.getShowCellFocusIndicator()&&!this.__tK.getTable().getTableModel().isColumnEditable(j)){this.exclude();
return;
}else{this.show();
}
if(j==null){this.hide();
this.setRow(null);
this.setColumn(null);
}else{var l=this.__tK.getTablePaneModel().getX(j);

if(l==-1){this.hide();
this.setRow(null);
this.setColumn(null);
}else{var q=this.__tK.getTable();
var o=q.getTableColumnModel();
var p=this.__tK.getTablePaneModel();
var n=this.__tK.getTablePane().getFirstVisibleRow();
var m=q.getRowHeight();
this.setUserBounds(p.getColumnLeft(j)-2,(k-n)*m-2,o.getColumnWidth(j)+3,m+3);
this.show();
this.setRow(k);
this.setColumn(j);
}}}},destruct:function(){this.__tK=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(c,d,e,f){d.clone(this);
this.setBubbles(false);

if(e!=null){this.setRow(e);
}else{this.setRow(c._getRowForPagePos(this.getDocumentLeft(),this.getDocumentTop()));
}
if(f!=null){this.setColumn(f);
}else{this.setColumn(c._getColumnForPageX(this.getDocumentLeft()));
}},clone:function(g){var h=qx.event.type.Mouse.prototype.clone.call(this,g);
h.set({row:this.getRow(),column:this.getColumn()});
return h;
}}});
})();
(function(){var a="qx.lang.Number";
qx.Class.define(a,{statics:{isInRange:function(b,c,d){return b>=c&&b<=d;
},isBetweenRange:function(e,f,g){return e>f&&e<g;
},limit:function(h,i,j){if(j!=null&&h>j){return j;
}else if(i!=null&&h<i){return i;
}else{return h;
}}}});
})();
(function(){var h="headerCellRendererChanged",g="visibilityChangedPre",f="Number",e="qx.event.type.Event",d="_applyFirstColumnX",c="Integer",b="qx.ui.table.pane.Model",a="_applyMaxColumnCount";
qx.Class.define(b,{extend:qx.core.Object,construct:function(i){qx.core.Object.call(this);
this.setTableColumnModel(i);
},events:{"modelChanged":e},statics:{EVENT_TYPE_MODEL_CHANGED:"modelChanged"},properties:{firstColumnX:{check:c,init:0,apply:d},maxColumnCount:{check:f,init:-1,apply:a}},members:{__tL:null,__tM:null,_applyFirstColumnX:function(j,k){this.__tL=null;
this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);
},_applyMaxColumnCount:function(l,m){this.__tL=null;
this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);
},setTableColumnModel:function(n){if(this.__tM){this.__tM.removeListener(g,this._onColVisibilityChanged,this);
this.__tM.removeListener(h,this._onColVisibilityChanged,this);
}this.__tM=n;
this.__tM.addListener(g,this._onColVisibilityChanged,this);
this.__tM.addListener(h,this._onHeaderCellRendererChanged,this);
this.__tL=null;
},_onColVisibilityChanged:function(o){this.__tL=null;
this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);
},_onHeaderCellRendererChanged:function(p){this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);
},getColumnCount:function(){if(this.__tL==null){var q=this.getFirstColumnX();
var s=this.getMaxColumnCount();
var r=this.__tM.getVisibleColumnCount();

if(s==-1||(q+s)>r){this.__tL=r-q;
}else{this.__tL=s;
}}return this.__tL;
},getColumnAtX:function(t){var u=this.getFirstColumnX();
return this.__tM.getVisibleColumnAtX(u+t);
},getX:function(v){var w=this.getFirstColumnX();
var y=this.getMaxColumnCount();
var x=this.__tM.getVisibleX(v)-w;

if(x>=0&&(y==-1||x<y)){return x;
}else{return -1;
}},getColumnLeft:function(z){var C=0;
var B=this.getColumnCount();

for(var x=0;x<B;x++){var A=this.getColumnAtX(x);

if(A==z){return C;
}C+=this.__tM.getColumnWidth(A);
}return -1;
},getTotalWidth:function(){var D=0;
var E=this.getColumnCount();

for(var x=0;x<E;x++){var F=this.getColumnAtX(x);
D+=this.__tM.getColumnWidth(F);
}return D;
}},destruct:function(){if(this.__tM){this.__tM.removeListener(g,this._onColVisibilityChanged,this);
this.__tM.removeListener(h,this._onColVisibilityChanged,this);
}this.__tM=null;
}});
})();
(function(){var d="grfind.Table",c="12",b="statusbar",a="white";
qx.Class.define(d,{extend:qx.ui.table.Table,construct:function(e,f){if(f){qx.ui.table.Table.call(this,e,{tableColumnModel:function(g){return new qx.ui.table.columnmodel.Resize(g);
}});
}else{qx.ui.table.Table.call(this,e);
}this.setApp(qx.core.Init.getApplication());
this.getChildControl(b).set({font:c});
this.set({backgroundColor:a});
e.setCaseSensitiveSorting(false);
},properties:{app:{init:null}}});
})();
(function(){var n="appear",m="columnVisibilityMenuCreateEnd",l="tableWidthChanged",k="verticalScrollBarChanged",j="qx.ui.table.columnmodel.resizebehavior.Abstract",i="qx.ui.table.columnmodel.Resize",h="_applyBehavior",g="separator",f="visibilityChanged",e="Reset column widths",b="changeBehavior",d="user-button",c="widthChanged",a="execute";
qx.Class.define(i,{extend:qx.ui.table.columnmodel.Basic,include:qx.locale.MTranslation,construct:function(){qx.ui.table.columnmodel.Basic.call(this);
this.__tN=false;
this.__tO=false;
},properties:{behavior:{check:j,init:null,nullable:true,apply:h,event:b}},members:{__tO:null,__tN:null,__tg:null,_applyBehavior:function(p,q){if(q!=null){q.dispose();
q=null;
}p._setNumColumns(this.getOverallColumnCount());
p.setTableColumnModel(this);
},init:function(r,s){qx.ui.table.columnmodel.Basic.prototype.init.call(this,r,s);

if(this.__tg==null){this.__tg=s;
s.addListener(n,this._onappear,this);
s.addListener(l,this._onTableWidthChanged,this);
s.addListener(k,this._onverticalscrollbarchanged,this);
s.addListener(m,this._addResetColumnWidthButton,this);
this.addListener(c,this._oncolumnwidthchanged,this);
this.addListener(f,this._onvisibilitychanged,this);
}if(this.getBehavior()==null){this.setBehavior(new qx.ui.table.columnmodel.resizebehavior.Default());
}this.getBehavior()._setNumColumns(r);
},getTable:function(){return this.__tg;
},_addResetColumnWidthButton:function(event){var v=event.getData();
var u=v.columnButton;
var t=v.menu;
var o;
o=u.factory(g);
t.add(o);
o=u.factory(d,{text:this.tr(e)});
t.add(o);
o.addListener(a,this._onappear,this);
},_onappear:function(event){if(this.__tN){return ;
}this.__tN=true;
this.getBehavior().onAppear(event,event.getType()!==n);
this.__tg._updateScrollerWidths();
this.__tg._updateScrollBarVisibility();
this.__tN=false;
this.__tO=true;
},_onTableWidthChanged:function(event){if(this.__tN||!this.__tO){return ;
}this.__tN=true;
this.getBehavior().onTableWidthChanged(event);
this.__tN=false;
},_onverticalscrollbarchanged:function(event){if(this.__tN||!this.__tO){return ;
}this.__tN=true;
this.getBehavior().onVerticalScrollBarChanged(event);
qx.event.Timer.once(function(){if(this.__tg&&!this.__tg.isDisposed()){this.__tg._updateScrollerWidths();
this.__tg._updateScrollBarVisibility();
}},this,0);
this.__tN=false;
},_oncolumnwidthchanged:function(event){if(this.__tN||!this.__tO){return ;
}this.__tN=true;
this.getBehavior().onColumnWidthChanged(event);
this.__tN=false;
},_onvisibilitychanged:function(event){if(this.__tN||!this.__tO){return ;
}this.__tN=true;
this.getBehavior().onVisibilityChanged(event);
this.__tN=false;
}},destruct:function(){this.__tg=null;
}});
})();
(function(){var e="auto",d="string",c="number",b="*",a="qx.ui.core.ColumnData";
qx.Class.define(a,{extend:qx.ui.core.LayoutItem,construct:function(){qx.ui.core.LayoutItem.call(this);
this.setColumnWidth(e);
},members:{__tP:null,renderLayout:function(f,top,g,h){this.__tP=g;
},getComputedWidth:function(){return this.__tP;
},getFlex:function(){return this.getLayoutProperties().flex||0;
},setColumnWidth:function(i,j){var j=j||0;
var k=null;

if(typeof i==c){this.setWidth(i);
}else if(typeof i==d){if(i==e){j=1;
}else{var l=i.match(/^[0-9]+(?:\.[0-9]+)?([%\*])$/);

if(l){if(l[1]==b){j=parseFloat(i);
}else{k=i;
}}}}this.setLayoutProperties({flex:j,width:k});
}},environment:{"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(c){throw new Error("_setNumColumns is abstract");
},onAppear:function(event,d){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 f=this.getTableColumnModel();
var i=f.getTable();
var e=i._getPaneScrollerArr();

if(!e[0]||!e[0].getLayoutParent().getBounds()){return null;
}var h=e[0].getLayoutParent().getBounds().width;
var g=e[e.length-1];
h-=g.getPaneInsetRight();
return h;
}}});
})();
(function(){var j="Function",h="Boolean",g="minWidth",f="width",e="qx.ui.table.columnmodel.Resize",d="qx.ui.table.columnmodel.resizebehavior.Default",c="__tR",b="maxWidth",a="__tS";
qx.Class.define(d,{extend:qx.ui.table.columnmodel.resizebehavior.Abstract,construct:function(){qx.ui.table.columnmodel.resizebehavior.Abstract.call(this);
this.__tQ=[];
this.__tR=new qx.ui.layout.HBox();
this.__tR.connectToWidget(this);
this.__tS=new qx.util.DeferredCall(this._computeColumnsFlexWidth,this);
},properties:{newResizeBehaviorColumnData:{check:j,init:function(k){return new qx.ui.core.ColumnData();
}},initializeWidthsOnEveryAppear:{check:h,init:false},tableColumnModel:{check:e}},members:{__tR:null,__tT:null,__tQ:null,__tS:null,__tU:false,setWidth:function(m,n,o){if(m>=this.__tQ.length){throw new Error("Column number out of range");
}this.__tQ[m].setColumnWidth(n,o);
this.__tS.schedule();
},setMinWidth:function(p,q){if(p>=this.__tQ.length){throw new Error("Column number out of range");
}this.__tQ[p].setMinWidth(q);
this.__tS.schedule();
},setMaxWidth:function(r,s){if(r>=this.__tQ.length){throw new Error("Column number out of range");
}this.__tQ[r].setMaxWidth(s);
this.__tS.schedule();
},set:function(t,u){for(var v in u){switch(v){case f:this.setWidth(t,u[v]);
break;
case g:this.setMinWidth(t,u[v]);
break;
case b:this.setMaxWidth(t,u[v]);
break;
default:throw new Error("Unknown property: "+v);
}}},onAppear:function(event,w){if(w===true||!this.__tU||this.getInitializeWidthsOnEveryAppear()){this._computeColumnsFlexWidth();
this.__tU=true;
}},onTableWidthChanged:function(event){this._computeColumnsFlexWidth();
},onVerticalScrollBarChanged:function(event){this._computeColumnsFlexWidth();
},onColumnWidthChanged:function(event){this._extendNextColumn(event);
},onVisibilityChanged:function(event){var x=event.getData();
if(x.visible){this._computeColumnsFlexWidth();
return;
}this._extendLastColumn(event);
},_setNumColumns:function(y){var z=this.__tQ;
if(y<=z.length){z.splice(y,z.length);
return;
}for(var i=z.length;i<y;i++){z[i]=this.getNewResizeBehaviorColumnData()();
z[i].columnNumber=i;
}},getLayoutChildren:function(){return this.__tT;
},_computeColumnsFlexWidth:function(){this.__tS.cancel();
var E=this._getAvailableWidth();

if(E===null){return;
}var A=this.getTableColumnModel();
var C=A.getVisibleColumns();
var D=C.length;
var B=this.__tQ;
var i,l;

if(D===0){return;
}var G=[];

for(i=0;i<D;i++){G.push(B[C[i]]);
}this.__tT=G;
this.__tV();
this.__tR.renderLayout(E,100);
for(i=0,l=G.length;i<l;i++){var F=G[i].getComputedWidth();
A.setColumnWidth(C[i],F);
}},__tV:function(){this.__tR.invalidateChildrenCache();
var H=this.__tT;

for(var i=0,l=H.length;i<l;i++){H[i].invalidateLayoutCache();
}},_extendNextColumn:function(event){var M=this.getTableColumnModel();
var P=event.getData();
var K=M.getVisibleColumns();
var J=this._getAvailableWidth();
var I=K.length;
if(P.newWidth>P.oldWidth){return ;
}var i;
var L;
var O=0;

for(i=0;i<I;i++){O+=M.getColumnWidth(K[i]);
}if(O<J){for(i=0;i<K.length;i++){if(K[i]==P.col){L=K[i+1];
break;
}}
if(L){var N=(J-(O-M.getColumnWidth(L)));
M.setColumnWidth(L,N);
}}},_extendLastColumn:function(event){var T=this.getTableColumnModel();
var X=event.getData();
if(X.visible){return;
}var S=T.getVisibleColumns();
if(S.length==0){return;
}var R=this._getAvailableWidth(T);
var Q=S.length;
var i;
var V;
var W=0;

for(i=0;i<Q;i++){W+=T.getColumnWidth(S[i]);
}if(W<R){V=S[S.length-1];
var U=(R-(W-T.getColumnWidth(V)));
T.setColumnWidth(V,U);
}},_getResizeColumnData:function(){return this.__tQ;
}},destruct:function(){this.__tQ=this.__tT=null;
this._disposeObjects(c,a);
}});
})();
(function(){var k="input-timer",j="",i="changeValue",h="12",g="application/json",f="widget",d="Select Value From Below",c='fieldchooser-value',b="interval",a="dbname",A="input",z="visible",y="searchForStoreItems",x="group",w="grfind.window.SearchFieldChooserWindow",v="keep this window open after selection",u="completed",t="POST",s="small",r="click",p="cellClick",q="search",n="changeFieldSelection",o="white",l="label",m="resource/images/grfind/tabclose.png";
qx.Class.define(w,{extend:grfind.Window,construct:function(B){grfind.Window.call(this);
this.setStoreViewModel(B);
this.set({width:300,height:350,showMaximize:false});
var C=new qx.ui.container.Composite(new qx.ui.layout.VBox(5)).set({padding:5,backgroundColor:o});
C.add(this._createHeader());
C.add(this._createTable(),{flex:1});
this.add(C,{edge:0});
},properties:{storeViewModel:{init:null},field:{init:null},fieldLabel:{init:null},dbName:{init:null},fieldValue:{init:null},searchFields:{init:{}},keepWindowOpen:{init:false}},members:{_initialize:function(D,E){this.setField(D);
this.setFieldLabel(D.getUserData(l));
this.setFieldValue(D.getUserData(f).getValue());
this.setDbName(D.getUserData(a));
this.setCaption(this.getFieldLabel());
this.setSearchFields(E);

if(this.getVisibility()==z){this.searchTextField.setValue(j);
this._populateSearchList();
}},_clearTextField:function(){this.searchTextField.setValue(j);
this._populateSearchList();
},getCurrentDbName:function(){return this.getDbName();
},setCurrentDbName:function(F){this.setDbName(F);
},_populateSearchList:function(){var I={'program-name':this.getApp().getProgramName(),'database-type':this.getStoreViewModel().getDatabaseType(),'field-xref':this.getStoreViewModel().getFieldXRef(),'table-header':this.getStoreViewModel().getTableFields(),'item-limit':8000,'fields-only':true,'dbname':this.getDbName()};
I[this.getDbName()]=this.searchTextField.getValue();
var G=this.getSearchFields();

for(var J in G){I[J]=G[J];
}var H=new grfind.HttpRequest(y,t,g,12000,I);
H.addListener(u,function(e){this.table.getTableModel().setData(eval(e.getData()[c]));
this.table.getTableModel().sortByColumn(0,true);
this.table.getSelectionModel().resetSelection();
},this);
H.start();
},_createHeader:function(){var L=new qx.ui.container.Composite(new qx.ui.layout.VBox(4)).set({font:h});
var O=new qx.ui.container.Composite(new qx.ui.layout.HBox(4));
var K=new qx.ui.basic.Atom(null,m).set({padding:[0,6,0,2]});
var N=new qx.ui.form.CheckBox(v);
var M=new qx.event.Timer();
M.addListener(b,function(e){e.getCurrentTarget().stop();
this.setFieldValue(this.searchTextField.getValue());
this._populateSearchList();
},this);
this.searchTextField=new qx.ui.form.TextField();
this.searchTextField.set({placeholder:q});
this.searchTextField.setUserData(k,M);
this.searchTextField.addListener(A,function(e){e.getCurrentTarget().getUserData(k).restartWith(750);
},this);
this.searchTextField.addListener(i,function(e){e.getCurrentTarget().getUserData(k).restartWith(50);
},this);
N.addListener(i,function(e){this.setKeepWindowOpen(e.getData());
},this);
K.addListener(r,function(e){this.searchTextField.setValue(j);
},this);
O.add(this.searchTextField,{flex:1});
O.add(K);
L.add(N);
L.add(O);
return L;
},_createTable:function(){var Q=new qx.ui.container.Composite(new qx.ui.layout.Canvas()).set({decorator:x,padding:5});
var P=new qx.ui.table.model.Simple();
P.setColumns([d]);
this.table=new grfind.Table(P,true).set({decorator:null,showCellFocusIndicator:false,columnVisibilityButtonVisible:false});
this.table.getPaneScroller(0).getHeader().set({font:s,decorator:null});
this.table.addListener(p,function(e){var R=this.table.getTableModel().getValue(0,e.getRow());

if(R!=this.getFieldValue()){!this.getKeepWindowOpen()?this.close():null;
this.fireDataEvent(n,[this.getField(),R]);
}},this);
Q.add(this.table,{edge:0});
return Q;
}}});
})();
(function(){var k='page',j='name',i="atom",h="close-tab",g="page",f="click",d="close-other-tabs",c="contextmenu",b="grfind-background",a="close-all-tabs",H="resource/images/grfind/tab-",G="application/json",F=".png",E="Close Tab",D="default",C="bottom",B="store",A="close-button",z="group",y='store-list',r="Close Other Tabs",s="getStoreList",p="close",q="14px sans-serif italic",n="completed",o="Default Layout",l="POST",m="Close All Tabs",t="grfind.ApplicationBody",u="small",w="ApplicationBody - unknown button was pressed ",v="left";
qx.Class.define(t,{extend:qx.ui.container.Composite,construct:function(I,J){qx.ui.container.Composite.call(this);
this.setApp(qx.core.Init.getApplication());
this.setMarketType(I);
this.setMarketName(J);
this.setLayout(new qx.ui.layout.Canvas());
this.hiddenPages=new qx.ui.container.Composite(new qx.ui.layout.Canvas());
this.mainTabView=new qx.ui.tabview.TabView().set({font:D});
var K=new qx.ui.container.Composite(new qx.ui.layout.VBox()).set({decorator:b});
this.tabContextMenu=this._createTabContextMenu();
this.storeChooserCanvas=new qx.ui.container.Composite(new qx.ui.layout.Grow());
K.add(this.storeChooserCanvas);
K.add(this.mainTabView,{flex:1});
this.add(K,{edge:0});
this._getStoreList();
},properties:{app:{init:null},marketType:{init:null},marketName:{init:null},storeList:{init:[]},layoutName:{init:o}},members:{_createStoreChooser:function(){var N=new qx.ui.container.Composite(new qx.ui.layout.HBox(10).set({alignY:C,alignX:v})).set({padding:5,decorator:b});
var M=this.getStoreList();

for(var x=0;x<M.length;x++){var L=new qx.ui.basic.Atom(M[x][1]);
L.set({rich:true,padding:5,font:qx.bom.Font.fromString(q)});
this.getApp().highlightOnMouseOver(L);
L.addListener(c,function(e){e.stop();
});
L.addListener(f,function(e){this.mainTabView.show();
this._addTab(e.getCurrentTarget().getUserData(j),e.getCurrentTarget().getLabel());
},this);
N.add(L);
L.setUserData(j,M[x][0]);
}return N;
},_removeTab:function(O){var Q=O;
this.mainTabView.remove(O);
this.mainTabView.getChildren().length==0?this.mainTabView.hide():null;
var P=Q.getChildren();

for(var x=0;x<P.length;x++){if(x==1&&P[x].table&&P[x].searchCriteriaCanvas&&P[x].getStoreType()){this.hiddenPages.add(P[x]);
}}},_removeOtherTabs:function(R){var S=this.mainTabView.getChildren();

for(var x=S.length-1;x>=0;x--){if(S[x]!=R){this._removeTab(S[x]);
}}},_removeAllTabs:function(){var T=this.mainTabView.getChildren();

for(var x=T.length-1;x>=0;x--){this._removeTab(T[x]);
}},_createTabContextMenu:function(){var W=new qx.ui.popup.Popup(new qx.ui.layout.VBox()).set({decorator:z,padding:5,font:u});
var X=new grfind.Button(this,i,h,E);
var U=new grfind.Button(this,i,d,r);
var V=new grfind.Button(this,i,a,m);
W.addListener(f,function(e){e.getCurrentTarget().hide();
},this);
W.add(X);
W.add(U);
W.add(V);
return W;
},_addTab:function(Y,ba){var bc=new qx.ui.tabview.Page(ba,H+Y+F).set({showCloseButton:true});
bc.setLayout(new qx.ui.layout.Canvas());
bc.setUserData(j,Y);
bc.getButton().setUserData(k,bc);
this.getApp().highlightOnMouseOver(bc.getButton().getChildControl(A));
bc.getButton().addListener(c,function(e){e.stop();
this.tabContextMenu.setUserData(k,e.getCurrentTarget().getUserData(k));
this.tabContextMenu.placeToMouse(e);
this.tabContextMenu.show();
},this);
bc.addListener(p,function(e){this._removeTab(e.getCurrentTarget());
},this);
var bb=null;
this.mainTabView.add(bc);
this.mainTabView.setSelection([bc]);
bb=new grfind.StoreCanvas(Y,ba,this.getLayoutName(),[],B);
bc.add(bb,{edge:0});
},_getStoreList:function(){var bd=new grfind.HttpRequest(s,l,G,6000,{'market-name':this.getMarketType()});
bd.addListener(n,function(e){if(e.getData().error==0){this.setStoreList(e.getData()[y]);
this.storeChooserCanvas.add(this._createStoreChooser());
this._addTab(this.getStoreList()[0][0],this.getStoreList()[0][1]);
}else{this.getApp().userMessage(e.getData().msg);
}},this);
bd.start();
},_doButton:function(be,bf){switch(be){case h:{var bg=this.tabContextMenu.getUserData(g);
bg?this._removeTab(bg):null;
};
break;
case d:{var bg=this.tabContextMenu.getUserData(g);
bg?this._removeOtherTabs(bg):null;
};
break;
case a:{this._removeAllTabs();
};
break;
default:{this.getApp().userMessage(w+be);
};
}}}});
})();
(function(){var m="pane",k="lastTab",j="bar",h="page",g="firstTab",f="close",d="right",c="bottom",b="button",a="changeSelection",B="top",A="left",z="__tX",y="qx.event.type.Data",x="barRight",w="beforeChangeSelection",v="close-button",u="tabview",t="vertical",s="_applyBarPosition",q="barLeft",r="horizontal",o="qx.ui.tabview.TabView",p="barTop",n="barBottom";
qx.Class.define(o,{extend:qx.ui.core.Widget,implement:qx.ui.core.ISingleSelection,include:[qx.ui.core.MContentPadding],construct:function(C){qx.ui.core.Widget.call(this);
this.__tW={top:p,right:x,bottom:n,left:q};
this._createChildControl(j);
this._createChildControl(m);
var D=this.__tX=new qx.ui.form.RadioGroup;
D.setWrap(false);
D.addListener(a,this._onChangeSelection,this);
if(C!=null){this.setBarPosition(C);
}else{this.initBarPosition();
}},events:{"changeSelection":y},properties:{appearance:{refine:true,init:u},barPosition:{check:[A,d,B,c],init:B,apply:s}},members:{__tX:null,_createChildControlImpl:function(E,F){var G;

switch(E){case j:G=new qx.ui.container.SlideBar();
G.setZIndex(10);
this._add(G);
break;
case m:G=new qx.ui.container.Stack;
G.setZIndex(5);
this._add(G,{flex:1});
break;
}return G||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,E);
},_getContentPaddingTarget:function(){return this.getChildControl(m);
},add:function(H){var I=H.getButton();
var J=this.getChildControl(j);
var L=this.getChildControl(m);
H.exclude();
J.add(I);
L.add(H);
this.__tX.add(I);
H.addState(this.__tW[this.getBarPosition()]);
H.addState(k);
var K=this.getChildren();

if(K[0]==H){H.addState(g);
}else{K[K.length-2].removeState(k);
}H.addListener(f,this._onPageClose,this);
},addAt:function(M,N){var Q=this.getChildren();

if(!(N==null)&&N>Q.length){throw new Error("Index should be less than : "+Q.length);
}
if(N==null){N=Q.length;
}var O=M.getButton();
var P=this.getChildControl(j);
var R=this.getChildControl(m);
M.exclude();
P.addAt(O,N);
R.addAt(M,N);
this.__tX.add(O);
M.addState(this.__tW[this.getBarPosition()]);
Q=this.getChildren();

if(N==Q.length-1){M.addState(k);
}
if(Q[0]==M){M.addState(g);
}else{Q[Q.length-2].removeState(k);
}M.addListener(f,this._onPageClose,this);
},remove:function(S){var X=this.getChildControl(m);
var V=this.getChildControl(j);
var U=S.getButton();
var W=X.getChildren();
if(this.getSelection()[0]==S){var T=W.indexOf(S);

if(T==0){if(W[1]){this.setSelection([W[1]]);
}else{this.resetSelection();
}}else{this.setSelection([W[T-1]]);
}}V.remove(U);
X.remove(S);
this.__tX.remove(U);
S.removeState(this.__tW[this.getBarPosition()]);
if(S.hasState(g)){S.removeState(g);

if(W[0]){W[0].addState(g);
}}
if(S.hasState(k)){S.removeState(k);

if(W.length>0){W[W.length-1].addState(k);
}}S.removeListener(f,this._onPageClose,this);
},getChildren:function(){return this.getChildControl(m).getChildren();
},indexOf:function(Y){return this.getChildControl(m).indexOf(Y);
},__tW:null,_applyBarPosition:function(ba,bb){var bc=this.getChildControl(j);
var bh=ba==A||ba==d;
var bf=ba==d||ba==c;
var bg=bh?qx.ui.layout.HBox:qx.ui.layout.VBox;
var bj=this._getLayout();

if(bj&&bj instanceof bg){}else{this._setLayout(bj=new bg);
}bj.setReversed(bf);
bc.setOrientation(bh?t:r);
var bi=this.getChildren();
if(bb){var bd=this.__tW[bb];
bc.removeState(bd);
for(var i=0,l=bi.length;i<l;i++){bi[i].removeState(bd);
}}
if(ba){var be=this.__tW[ba];
bc.addState(be);
for(var i=0,l=bi.length;i<l;i++){bi[i].addState(be);
}}},getSelection:function(){var bk=this.__tX.getSelection();
var bl=[];

for(var i=0;i<bk.length;i++){bl.push(bk[i].getUserData(h));
}return bl;
},setSelection:function(bm){var bn=[];

for(var i=0;i<bm.length;i++){bn.push(bm[i].getChildControl(b));
}this.__tX.setSelection(bn);
},resetSelection:function(){this.__tX.resetSelection();
},isSelected:function(bo){var bp=bo.getChildControl(b);
return this.__tX.isSelected(bp);
},isSelectionEmpty:function(){return this.__tX.isSelectionEmpty();
},getSelectables:function(bq){var br=this.__tX.getSelectables(bq);
var bs=[];

for(var i=0;i<br.length;i++){bs.push(br[i].getUserData(h));
}return bs;
},_onChangeSelection:function(e){var bx=this.getChildControl(m);
var bu=e.getData()[0];
var bw=e.getOldData()[0];
var bt=[];
var bv=[];

if(bu){bt=[bu.getUserData(h)];
bx.setSelection(bt);
bu.focus();
this.scrollChildIntoView(bu,null,null,false);
}else{bx.resetSelection();
}
if(bw){bv=[bw.getUserData(h)];
}this.fireDataEvent(a,bt,bv);
},_onBeforeChangeSelection:function(e){if(!this.fireNonBubblingEvent(w,qx.event.type.Event,[false,true])){e.preventDefault();
}},_onRadioChangeSelection:function(e){var by=e.getData()[0];

if(by){this.setSelection([by.getUserData(h)]);
}else{this.resetSelection();
}},_onPageClose:function(e){var bA=e.getTarget();
var bz=bA.getButton().getChildControl(v);
bz.reset();
this.remove(bA);
}},destruct:function(){this._disposeObjects(z);
this.__tW=null;
}});
})();
(function(){var d="_applyDynamic",c="changeSelection",b="Boolean",a="qx.ui.container.Stack";
qx.Class.define(a,{extend:qx.ui.core.Widget,implement:qx.ui.core.ISingleSelection,include:[qx.ui.core.MSingleSelectionHandling,qx.ui.core.MChildrenHandling],construct:function(){qx.ui.core.Widget.call(this);
this._setLayout(new qx.ui.layout.Grow);
this.addListener(c,this.__qK,this);
},properties:{dynamic:{check:b,init:false,apply:d}},members:{_applyDynamic:function(f){var h=this._getChildren();
var g=this.getSelection()[0];
var j;

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

if(j!=g){if(f){h[i].exclude();
}else{h[i].hide();
}}}},_getItems:function(){return this.getChildren();
},_isAllowEmptySelection:function(){return true;
},_isItemSelectable:function(k){return true;
},__qK:function(e){var m=e.getOldData()[0];
var n=e.getData()[0];

if(m){if(this.isDynamic()){m.exclude();
}else{m.hide();
}}
if(n){n.show();
}},_afterAddChild:function(o){var p=this.getSelection()[0];

if(!p){this.setSelection([o]);
}else if(p!==o){if(this.isDynamic()){o.exclude();
}else{o.hide();
}}},_afterRemoveChild:function(q){if(this.getSelection()[0]===q){var r=this._getChildren()[0];

if(r){this.setSelection([r]);
}else{this.resetSelection();
}}},previous:function(){var u=this.getSelection()[0];
var s=this._indexOf(u)-1;
var v=this._getChildren();

if(s<0){s=v.length-1;
}var t=v[s];
this.setSelection([t]);
},next:function(){var x=this.getSelection()[0];
var w=this._indexOf(x)+1;
var y=this._getChildren();
var z=y[w]||y[0];
this.setSelection([z]);
}}});
})();
(function(){var l="button",k="",j="close",i="String",h="_applyIcon",g="page",f="qx.event.type.Event",e="_applyShowCloseButton",d="tabview-page",c="qx.ui.tabview.Page",a="_applyLabel",b="Boolean";
qx.Class.define(c,{extend:qx.ui.container.Composite,construct:function(m,n){qx.ui.container.Composite.call(this);
this._createChildControl(l);
if(m!=null){this.setLabel(m);
}
if(n!=null){this.setIcon(n);
}},events:{"close":f},properties:{appearance:{refine:true,init:d},label:{check:i,init:k,apply:a},icon:{check:i,init:k,apply:h},showCloseButton:{check:b,init:false,apply:e}},members:{_forwardStates:{barTop:1,barRight:1,barBottom:1,barLeft:1,firstTab:1,lastTab:1},_applyIcon:function(o,p){this.getChildControl(l).setIcon(o);
},_applyLabel:function(q,r){this.getChildControl(l).setLabel(q);
},_applyEnabled:function(s,t){qx.ui.container.Composite.prototype._applyEnabled.call(this,s,t);
var u=this.getChildControl(l);
s==null?u.resetEnabled():u.setEnabled(s);
},_createChildControlImpl:function(v,w){var x;

switch(v){case l:x=new qx.ui.tabview.TabButton;
x.setAllowGrowX(true);
x.setAllowGrowY(true);
x.setUserData(g,this);
x.addListener(j,this._onButtonClose,this);
break;
}return x||qx.ui.container.Composite.prototype._createChildControlImpl.call(this,v);
},_applyShowCloseButton:function(y,z){this.getChildControl(l).setShowCloseButton(y);
},_onButtonClose:function(){this.fireEvent(j);
},getButton:function(){return this.getChildControl(l);
}}});
})();
(function(){var o="close-button",n="middle",m="left",l="icon",k="label",j="right",i="click",h="Boolean",g="bottom",f="qx.ui.tabview.TabButton",c="center",e="_applyShowCloseButton",d="top",b="close",a="qx.event.type.Data";
qx.Class.define(f,{extend:qx.ui.form.RadioButton,implement:qx.ui.form.IRadioItem,construct:function(){qx.ui.form.RadioButton.call(this);
var p=new qx.ui.layout.Grid(2,0);
p.setRowAlign(0,m,n);
p.setColumnAlign(0,j,n);
this._getLayout().dispose();
this._setLayout(p);
this.initShowCloseButton();
},events:{"close":a},properties:{showCloseButton:{check:h,init:false,apply:e}},members:{_forwardStates:{focused:true,checked:true},_applyIconPosition:function(q,r){var s={icon:this.getChildControl(l),label:this.getChildControl(k),closeButton:this.getShowCloseButton()?this.getChildControl(o):null};
for(var t in s){if(s[t]){this._remove(s[t]);
}}
switch(q){case d:this._add(s.label,{row:3,column:2});
this._add(s.icon,{row:1,column:2});

if(s.closeButton){this._add(s.closeButton,{row:0,column:4});
}break;
case g:this._add(s.label,{row:1,column:2});
this._add(s.icon,{row:3,column:2});

if(s.closeButton){this._add(s.closeButton,{row:0,column:4});
}break;
case m:this._add(s.label,{row:0,column:2});
this._add(s.icon,{row:0,column:0});

if(s.closeButton){this._add(s.closeButton,{row:0,column:4});
}break;
case j:this._add(s.label,{row:0,column:0});
this._add(s.icon,{row:0,column:2});

if(s.closeButton){this._add(s.closeButton,{row:0,column:4});
}break;
}},_createChildControlImpl:function(u,v){var w;

switch(u){case k:var w=new qx.ui.basic.Label(this.getLabel());
w.setAnonymous(true);
this._add(w,{row:0,column:2});
this._getLayout().setColumnFlex(2,1);
break;
case l:w=new qx.ui.basic.Image(this.getIcon());
w.setAnonymous(true);
this._add(w,{row:0,column:0});
break;
case o:w=new qx.ui.form.Button();
w.addListener(i,this._onCloseButtonClick,this);
this._add(w,{row:0,column:4});

if(!this.getShowCloseButton()){w.exclude();
}break;
}return w||qx.ui.form.RadioButton.prototype._createChildControlImpl.call(this,u);
},_onCloseButtonClick:function(){this.fireDataEvent(b,this);
},_applyShowCloseButton:function(x,y){if(x){this._showChildControl(o);
}else{this._excludeChildControl(o);
}},_applyCenter:function(z){var A=this._getLayout();

if(z){A.setColumnAlign(2,c,n);
}else{A.setColumnAlign(2,m,n);
}}}});
})();
(function(){var eq="css.gradients",ep="widget",eo="atom",en="-css",em="button-frame",el="css.borderradius",ek="css.boxshadow",ej="main",ei="button",eh="bold",cC="text-selected",cB="image",cA="text-disabled",cz="middle",cy="selected",cx="background-light",cw="label",cv="groupbox",cu="decoration/arrows/down.png",ct="popup",ex="cell",ey="border-invalid",ev="input-disabled",ew="menu-button",et="input",eu="input-focused-invalid",er="toolbar-button",es="spinner",ez="input-focused",eA="tooltip",dI="qx/static/blank.gif",dH="radiobutton",dK="list",dJ="tree-item",dM="combobox",dL="treevirtual-contract",dO="scrollbar",dN="datechooser/nav-button",dF="center",dE="checkbox",v="treevirtual-expand",w="",x="textfield",y="-invalid",z="decoration/arrows/right.png",A="background-application",B="invalid",C="right-top",D="selectbox",E="text-title",eQ="icon/16/places/folder-open.png",eP="radiobutton-hovered",eO="group-item",eN="scrollbar/button",eU="right",eT="combobox/button",eS="virtual-list",eR="icon/16/places/folder.png",eW="radiobutton-checked-focused",eV="text-label",bz="decoration/tree/closed.png",bA="table-scroller-header",bx="scrollbar-slider-horizontal",by="checkbox-hovered",bD="checkbox-checked",bE="decoration/arrows/left.png",bB="radiobutton-checked",bC="button-focused",bv="text-light",bw="menu-slidebar-button",bb="tree",ba="checkbox-undetermined",bd="table-scroller-header-css",bc="text-input",W="slidebar/button-forward",V="background-splitpane",Y="text-hovered",X=".png",U="decoration/tree/open.png",T="default",bK="decoration/arrows/down-small.png",bL="datechooser",bM="slidebar/button-backward",bN="radiobutton-checked-disabled",bG="checkbox-focused",bH="radiobutton-checked-hovered",bI="treevirtual-folder",bJ="shadow-popup",bO="icon/16/mimetypes/office-document.png",bP="background-medium",bo="icon/32/places/folder-open.png",bn="icon/22/places/folder-open.png",bm="table",bl="decoration/arrows/up.png",bk="decoration/form/",bj="radiobutton-focused",bi="button-checked",bh="decoration/window/maximize-active-hovered.png",bs="keyboard-focus",br="menu-css",bQ="decoration/cursors/",bR="icon/16/apps/office-calendar.png",bS="slidebar",bT="tooltip-error-arrow",bU="table-scroller-focus-indicator",bV="popup-css",bW="move-frame",bX="nodrop",bY="decoration/table/boolean-true.png",ca="-invalid-css",cK="menu",cJ="app-header",cI="row-layer",cH="text-inactive",cO="move",cN="decoration/window/restore-active-hovered.png",cM="border-separator",cL="shadow-window",cS="tree-folder",cR="window-pane-css",ds="right.png",dt="checkbox-undetermined-hovered",dq="window-incl-statusbar-css",dr="tabview-page-button-bottom-inactive",dn="tooltip-error",dp="window-css",dl="window-statusbar",dm="button-hovered",dA="decoration/scrollbar/scrollbar-",dB="background-tip",dT="menubar-css",dS="scrollbar-slider-horizontal-disabled",dV="radiobutton-disabled",dU="window-resize-frame-css",dX="button-pressed",dW="table-pane",ea="decoration/window/close-active.png",dY="native",dQ="button-invalid-shadow",dP="decoration/window/minimize-active-hovered.png",eH="menubar",eI="icon/16/actions/dialog-cancel.png",eJ="tabview-page-button-top-inactive",eK="tabview-page-button-left-inactive",eD="menu-slidebar",eE="toolbar-button-checked",eF="decoration/tree/open-selected.png",eG="decoration/window/minimize-inactive.png",eB="group-item-css",eC="group",k="tabview-page-button-right-inactive",j="decoration/window/minimize-active.png",i="decoration/window/restore-inactive.png",h="checkbox-checked-focused",g="splitpane",f="combobox/textfield",e="decoration/window/close-active-hovered.png",d="qx/icon/Tango/16/actions/window-close.png",c="checkbox-pressed",b="button-disabled",J="selected-dragover",K="tooltip-error-css",H="decoration/window/maximize-inactive.png",I="dragover",N="scrollarea",O="scrollbar-vertical",L="decoration/menu/checkbox-invert.gif",M="decoration/toolbar/toolbar-handle-knob.gif",Q="icon/22/mimetypes/office-document.png",R="table-header-cell",cW="button-checked-focused",cQ="up.png",de="best-fit",da="pane-css",cF="decoration/tree/closed-selected.png",cD="qx.theme.modern.Appearance",bf="text-active",cG="checkbox-disabled",bq="toolbar-button-hovered",bp="window-resize-frame-incl-statusbar-css",ck="decoration/form/checked.png",cl="progressive-table-header",cm="decoration/table/select-column-order.png",cn="decoration/menu/radiobutton.gif",co="decoration/arrows/forward.png",cp="decoration/table/descending.png",cq="decoration/form/undetermined.png",cr="tree-file",ch="window-captionbar-active",ci="checkbox-checked-hovered",cE="scrollbar-slider-vertical",dd="toolbar",dc="alias",db="decoration/window/restore-active.png",di="decoration/table/boolean-false.png",dh="icon/32/mimetypes/office-document.png",dg="tabview-pane",df="decoration/arrows/rewind.png",cY="top",cX="icon/16/actions/dialog-ok.png",P="progressbar-background",bu="table-header-cell-hovered",bt="window-statusbar-css",cP="window",bF="text-gray",cV="decoration/menu/radiobutton-invert.gif",cU="text-placeholder",cT="slider",be="toolbar-css",dk="keep-align",S="down.png",bg="groupitem-text",cb="tabview-page-button-top-active",cc="icon/22/places/folder.png",cd="decoration/window/maximize-active.png",ce="checkbox-checked-pressed",cf="decoration/window/close-inactive.png",cg="tabview-page-button-left-active",dD="toolbar-part",cj="decoration/splitpane/knob-vertical.png",ec=".gif",eb="virtual-row-layer-background-odd",ee="table-statusbar",ed="progressive-table-header-cell-css",eg="window-captionbar-inactive",ef="copy",cs="decoration/arrows/down-invert.png",dR="decoration/menu/checkbox.gif",dj="window-caption-active-text",dG="decoration/splitpane/knob-horizontal.png",F="group-css",G="icon/32/places/folder.png",dy="virtual-row-layer-background-even",dz="toolbar-separator",dw="tabview-page-button-bottom-active",dx="decoration/arrows/up-small.png",du="decoration/table/ascending.png",dv="decoration/arrows/up-invert.png",a="small",dC="tabview-page-button-right-active",s="-disabled",r="scrollbar-horizontal",q="progressbar",p="checkbox-undetermined-focused",o="progressive-table-header-cell",n="menu-separator",m="tabview-pane-css",l="pane",u="htmlarea-background",t="decoration/arrows/right-invert.png",eL="left.png",eM="icon/16/actions/view-refresh.png";
qx.Theme.define(cD,{appearances:{"widget":{},"root":{style:function(eX){return {backgroundColor:A,textColor:eV,font:T};
}},"label":{style:function(eY){return {textColor:eY.disabled?cA:undefined};
}},"move-frame":{style:function(fa){return {decorator:ej};
}},"resize-frame":bW,"dragdrop-cursor":{style:function(fb){var fc=bX;

if(fb.copy){fc=ef;
}else if(fb.move){fc=cO;
}else if(fb.alias){fc=dc;
}return {source:bQ+fc+ec,position:C,offset:[2,16,2,6]};
}},"image":{style:function(fd){return {opacity:!fd.replacement&&fd.disabled?0.3:1};
}},"atom":{},"atom/label":cw,"atom/icon":cB,"popup":{style:function(fe){var ff=qx.core.Environment.get(ek);
return {decorator:ff?bV:ej,backgroundColor:cx,shadow:ff?undefined:bJ};
}},"button-frame":{alias:eo,style:function(fg){var fk,fj;
var fh=[3,9];

if(fg.checked&&fg.focused&&!fg.inner){fk=cW;
fj=undefined;
fh=[1,7];
}else if(fg.disabled){fk=b;
fj=undefined;
}else if(fg.pressed){fk=dX;
fj=Y;
}else if(fg.checked){fk=bi;
fj=undefined;
}else if(fg.hovered){fk=dm;
fj=Y;
}else if(fg.focused&&!fg.inner){fk=bC;
fj=undefined;
fh=[1,7];
}else{fk=ei;
fj=undefined;
}var fi;
if(qx.core.Environment.get(el)&&qx.core.Environment.get(eq)){if(fg.invalid&&!fg.disabled){fk+=ca;
}else{fk+=en;
}}else{fi=fg.invalid&&!fg.disabled?dQ:undefined;
fh=[2,8];
}return {decorator:fk,textColor:fj,shadow:fi,padding:fh,margin:[1,0]};
}},"button-frame/image":{style:function(fl){return {opacity:!fl.replacement&&fl.disabled?0.5:1};
}},"button":{alias:em,include:em,style:function(fm){return {center:true};
}},"hover-button":{alias:eo,include:eo,style:function(fn){var fo=fn.hovered?cy:undefined;

if(fo&&qx.core.Environment.get(eq)){fo+=en;
}return {decorator:fo,textColor:fn.hovered?cC:undefined};
}},"splitbutton":{},"splitbutton/button":ei,"splitbutton/arrow":{alias:ei,include:ei,style:function(fp,fq){return {icon:cu,padding:[fq.padding[0],fq.padding[1]-6],marginLeft:1};
}},"checkbox":{alias:eo,style:function(fr){var fs=qx.core.Environment.get(eq)&&qx.core.Environment.get(ek);
var fu;

if(fs){if(fr.checked){fu=ck;
}else if(fr.undetermined){fu=cq;
}else{fu=dI;
}}else{if(fr.checked){if(fr.disabled){fu=bD;
}else if(fr.focused){fu=h;
}else if(fr.pressed){fu=ce;
}else if(fr.hovered){fu=ci;
}else{fu=bD;
}}else if(fr.undetermined){if(fr.disabled){fu=ba;
}else if(fr.focused){fu=p;
}else if(fr.hovered){fu=dt;
}else{fu=ba;
}}else if(!fr.disabled){if(fr.focused){fu=bG;
}else if(fr.pressed){fu=c;
}else if(fr.hovered){fu=by;
}}fu=fu||dE;
var ft=fr.invalid&&!fr.disabled?y:w;
fu=bk+fu+ft+X;
}return {icon:fu,minWidth:fs?14:undefined,gap:fs?8:6};
}},"checkbox/icon":{style:function(fv){var fx=qx.core.Environment.get(eq)&&qx.core.Environment.get(ek);

if(!fx){return {opacity:!fv.replacement&&fv.disabled?0.3:1};
}var fy;

if(fv.disabled){fy=cG;
}else if(fv.focused){fy=bG;
}else if(fv.hovered){fy=by;
}else{fy=dE;
}fy+=fv.invalid&&!fv.disabled?y:w;
var fw;
if(fv.undetermined){fw=[2,0];
}return {decorator:fy,padding:fw,width:12,height:10};
}},"radiobutton":{alias:eo,style:function(fz){var fA=qx.core.Environment.get(el)&&qx.core.Environment.get(ek);
var fC;

if(fA){fC=dI;
}else{if(fz.checked&&fz.focused){fC=eW;
}else if(fz.checked&&fz.disabled){fC=bN;
}else if(fz.checked&&fz.hovered){fC=bH;
}else if(fz.checked){fC=bB;
}else if(fz.focused){fC=bj;
}else if(fz.hovered){fC=eP;
}else{fC=dH;
}var fB=fz.invalid&&!fz.disabled?y:w;
fC=bk+fC+fB+X;
}return {icon:fC,gap:fA?8:6};
}},"radiobutton/icon":{style:function(fD){var fE=qx.core.Environment.get(el)&&qx.core.Environment.get(ek);

if(!fE){return {opacity:!fD.replacement&&fD.disabled?0.3:1};
}var fF;

if(fD.disabled&&!fD.checked){fF=dV;
}else if(fD.checked&&fD.focused){fF=eW;
}else if(fD.checked&&fD.disabled){fF=bN;
}else if(fD.checked&&fD.hovered){fF=bH;
}else if(fD.checked){fF=bB;
}else if(fD.focused){fF=bj;
}else if(fD.hovered){fF=eP;
}else{fF=dH;
}fF+=fD.invalid&&!fD.disabled?y:w;
return {decorator:fF,width:12,height:10};
}},"textfield":{style:function(fG){var fL;
var fJ=!!fG.focused;
var fK=!!fG.invalid;
var fH=!!fG.disabled;

if(fJ&&fK&&!fH){fL=eu;
}else if(fJ&&!fK&&!fH){fL=ez;
}else if(fH){fL=ev;
}else if(!fJ&&fK&&!fH){fL=ey;
}else{fL=et;
}
if(qx.core.Environment.get(eq)){fL+=en;
}var fI;

if(fG.disabled){fI=cA;
}else if(fG.showingPlaceholder){fI=cU;
}else{fI=bc;
}return {decorator:fL,padding:[2,4,1],textColor:fI};
}},"textarea":{include:x,style:function(fM){return {padding:4};
}},"spinner":{style:function(fN){var fR;
var fP=!!fN.focused;
var fQ=!!fN.invalid;
var fO=!!fN.disabled;

if(fP&&fQ&&!fO){fR=eu;
}else if(fP&&!fQ&&!fO){fR=ez;
}else if(fO){fR=ev;
}else if(!fP&&fQ&&!fO){fR=ey;
}else{fR=et;
}
if(qx.core.Environment.get(eq)){fR+=en;
}return {decorator:fR};
}},"spinner/textfield":{style:function(fS){return {marginRight:2,padding:[2,4,1],textColor:fS.disabled?cA:bc};
}},"spinner/upbutton":{alias:em,include:em,style:function(fT,fU){return {icon:dx,padding:[fU.padding[0]-1,fU.padding[1]-5],shadow:undefined,margin:0};
}},"spinner/downbutton":{alias:em,include:em,style:function(fV,fW){return {icon:bK,padding:[fW.padding[0]-1,fW.padding[1]-5],shadow:undefined,margin:0};
}},"datefield":dM,"datefield/button":{alias:eT,include:eT,style:function(fX){return {icon:bR,padding:[0,3],decorator:undefined};
}},"datefield/textfield":f,"datefield/list":{alias:bL,include:bL,style:function(fY){return {decorator:undefined};
}},"groupbox":{style:function(ga){return {legendPosition:cY};
}},"groupbox/legend":{alias:eo,style:function(gb){return {padding:[1,0,1,4],textColor:gb.invalid?B:E,font:eh};
}},"groupbox/frame":{style:function(gc){var gd=qx.core.Environment.get(el);
return {padding:gd?10:12,margin:gd?1:undefined,decorator:gd?F:eC};
}},"check-groupbox":cv,"check-groupbox/legend":{alias:dE,include:dE,style:function(ge){return {padding:[1,0,1,4],textColor:ge.invalid?B:E,font:eh};
}},"radio-groupbox":cv,"radio-groupbox/legend":{alias:dH,include:dH,style:function(gf){return {padding:[1,0,1,4],textColor:gf.invalid?B:E,font:eh};
}},"scrollarea":{style:function(gg){return {minWidth:50,minHeight:50};
}},"scrollarea/corner":{style:function(gh){return {backgroundColor:A};
}},"scrollarea/pane":ep,"scrollarea/scrollbar-x":dO,"scrollarea/scrollbar-y":dO,"scrollbar":{style:function(gi){if(gi[dY]){return {};
}var gj=qx.core.Environment.get(eq);
var gk=gi.horizontal?r:O;

if(gj){gk+=en;
}return {width:gi.horizontal?undefined:16,height:gi.horizontal?16:undefined,decorator:gk,padding:1};
}},"scrollbar/slider":{alias:cT,style:function(gl){return {padding:gl.horizontal?[0,1,0,1]:[1,0,1,0]};
}},"scrollbar/slider/knob":{include:em,style:function(gm){var gn=qx.core.Environment.get(eq);
var go=gm.horizontal?bx:cE;

if(gm.disabled){go+=s;
}
if(gn){go+=en;
}return {decorator:go,minHeight:gm.horizontal?undefined:9,minWidth:gm.horizontal?9:undefined,padding:undefined,margin:0};
}},"scrollbar/button":{alias:em,include:em,style:function(gp){var gs=dA;

if(gp.left){gs+=eL;
}else if(gp.right){gs+=ds;
}else if(gp.up){gs+=cQ;
}else{gs+=S;
}var gr=qx.core.Environment.get(eq);

if(gp.left||gp.right){var gq=gp.left?3:4;
return {padding:gr?[3,0,3,gq]:[2,0,2,gq],icon:gs,width:15,height:14,margin:0};
}else{return {padding:gr?3:[3,2],icon:gs,width:14,height:15,margin:0};
}}},"scrollbar/button-begin":eN,"scrollbar/button-end":eN,"slider":{style:function(gt){var gx;
var gv=!!gt.focused;
var gw=!!gt.invalid;
var gu=!!gt.disabled;

if(gv&&gw&&!gu){gx=eu;
}else if(gv&&!gw&&!gu){gx=ez;
}else if(gu){gx=ev;
}else if(!gv&&gw&&!gu){gx=ey;
}else{gx=et;
}
if(qx.core.Environment.get(eq)){gx+=en;
}return {decorator:gx};
}},"slider/knob":{include:em,style:function(gy){return {decorator:gy.disabled?dS:bx,shadow:undefined,height:14,width:14,padding:0};
}},"list":{alias:N,style:function(gz){var gD;
var gB=!!gz.focused;
var gC=!!gz.invalid;
var gA=!!gz.disabled;

if(gB&&gC&&!gA){gD=eu;
}else if(gB&&!gC&&!gA){gD=ez;
}else if(gA){gD=ev;
}else if(!gB&&gC&&!gA){gD=ey;
}else{gD=et;
}
if(qx.core.Environment.get(eq)){gD+=en;
}return {backgroundColor:cx,decorator:gD};
}},"list/pane":ep,"listitem":{alias:eo,style:function(gE){var gF;

if(gE.dragover){gF=gE.selected?J:I;
}else{gF=gE.selected?cy:undefined;

if(gF&&qx.core.Environment.get(eq)){gF+=en;
}}return {padding:gE.dragover?[4,4,2,4]:4,textColor:gE.selected?cC:undefined,decorator:gF};
}},"slidebar":{},"slidebar/scrollpane":{},"slidebar/content":{},"slidebar/button-forward":{alias:em,include:em,style:function(gG){return {padding:5,center:true,icon:gG.vertical?cu:z};
}},"slidebar/button-backward":{alias:em,include:em,style:function(gH){return {padding:5,center:true,icon:gH.vertical?bl:bE};
}},"tabview":{style:function(gI){return {contentPadding:16};
}},"tabview/bar":{alias:bS,style:function(gJ){var gK=qx.core.Environment.get(el)&&qx.core.Environment.get(ek)&&qx.core.Environment.get(eq);
var gL={marginBottom:gJ.barTop?-1:0,marginTop:gJ.barBottom?gK?-4:-7:0,marginLeft:gJ.barRight?gK?-3:-5:0,marginRight:gJ.barLeft?-1:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0};

if(gJ.barTop||gJ.barBottom){gL.paddingLeft=5;
gL.paddingRight=7;
}else{gL.paddingTop=5;
gL.paddingBottom=7;
}return gL;
}},"tabview/bar/button-forward":{include:W,alias:W,style:function(gM){if(gM.barTop||gM.barBottom){return {marginTop:2,marginBottom:2};
}else{return {marginLeft:2,marginRight:2};
}}},"tabview/bar/button-backward":{include:bM,alias:bM,style:function(gN){if(gN.barTop||gN.barBottom){return {marginTop:2,marginBottom:2};
}else{return {marginLeft:2,marginRight:2};
}}},"tabview/bar/scrollpane":{},"tabview/pane":{style:function(gO){var gP=qx.core.Environment.get(eq)&&qx.core.Environment.get(el);
return {decorator:gP?m:dg,minHeight:100,marginBottom:gO.barBottom?-1:0,marginTop:gO.barTop?-1:0,marginLeft:gO.barLeft?-1:0,marginRight:gO.barRight?-1:0};
}},"tabview-page":{alias:ep,include:ep,style:function(gQ){var gR=qx.core.Environment.get(eq)&&qx.core.Environment.get(el);
return {padding:gR?[4,3]:undefined};
}},"tabview-page/button":{alias:eo,style:function(gS){var ha,gV=0;
var gY=0,gT=0,gW=0,gX=0;
var gU=qx.core.Environment.get(el)&&qx.core.Environment.get(ek)&&qx.core.Environment.get(eq);

if(gS.checked){if(gS.barTop){ha=cb;
gV=gU?[5,11]:[6,14];
gW=gS.firstTab?0:-5;
gX=gS.lastTab?0:-5;
}else if(gS.barBottom){ha=dw;
gV=gU?[5,11]:[6,14];
gW=gS.firstTab?0:-5;
gX=gS.lastTab?0:-5;
gY=3;
}else if(gS.barRight){ha=dC;
gV=gU?[5,10]:[6,13];
gY=gS.firstTab?0:-5;
gT=gS.lastTab?0:-5;
gW=2;
}else{ha=cg;
gV=gU?[5,10]:[6,13];
gY=gS.firstTab?0:-5;
gT=gS.lastTab?0:-5;
}}else{if(gS.barTop){ha=eJ;
gV=gU?[3,9]:[4,10];
gY=4;
gW=gS.firstTab?5:1;
gX=1;
}else if(gS.barBottom){ha=dr;
gV=gU?[3,9]:[4,10];
gT=4;
gW=gS.firstTab?5:1;
gX=1;
gY=3;
}else if(gS.barRight){ha=k;
gV=gU?[3,9]:[4,10];
gX=5;
gY=gS.firstTab?5:1;
gT=1;
gW=3;
}else{ha=eK;
gV=gU?[3,9]:[4,10];
gW=5;
gY=gS.firstTab?5:1;
gT=1;
gX=1;
}}
if(ha&&gU){ha+=en;
}return {zIndex:gS.checked?10:5,decorator:ha,padding:gV,marginTop:gY,marginBottom:gT,marginLeft:gW,marginRight:gX,textColor:gS.disabled?cA:gS.checked?bf:cH};
}},"tabview-page/button/label":{alias:cw,style:function(hb){return {padding:[0,1,0,1],margin:hb.focused?0:1,decorator:hb.focused?bs:undefined};
}},"tabview-page/button/close-button":{alias:eo,style:function(hc){return {icon:d};
}},"toolbar":{style:function(hd){var he=qx.core.Environment.get(eq);
return {decorator:he?be:dd,spacing:2};
}},"toolbar/part":{style:function(hf){return {decorator:dD,spacing:2};
}},"toolbar/part/container":{style:function(hg){return {paddingLeft:2,paddingRight:2};
}},"toolbar/part/handle":{style:function(hh){return {source:M,marginLeft:3,marginRight:3};
}},"toolbar-button":{alias:eo,style:function(hi){var hk;

if(hi.pressed||(hi.checked&&!hi.hovered)||(hi.checked&&hi.disabled)){hk=eE;
}else if(hi.hovered&&!hi.disabled){hk=bq;
}var hj=qx.core.Environment.get(eq)&&qx.core.Environment.get(el);

if(hj&&hk){hk+=en;
}return {marginTop:2,marginBottom:2,padding:(hi.pressed||hi.checked||hi.hovered)&&!hi.disabled||(hi.disabled&&hi.checked)?3:5,decorator:hk};
}},"toolbar-menubutton":{alias:er,include:er,style:function(hl){return {showArrow:true};
}},"toolbar-menubutton/arrow":{alias:cB,include:cB,style:function(hm){return {source:bK};
}},"toolbar-splitbutton":{style:function(hn){return {marginTop:2,marginBottom:2};
}},"toolbar-splitbutton/button":{alias:er,include:er,style:function(ho){return {icon:cu,marginTop:undefined,marginBottom:undefined};
}},"toolbar-splitbutton/arrow":{alias:er,include:er,style:function(hp){if(hp.pressed||hp.checked||(hp.hovered&&!hp.disabled)){var hq=1;
}else{var hq=3;
}return {padding:hq,icon:cu,marginTop:undefined,marginBottom:undefined};
}},"toolbar-separator":{style:function(hr){return {decorator:dz,margin:7};
}},"tree":dK,"tree-item":{style:function(hs){var ht=hs.selected?cy:undefined;

if(ht&&qx.core.Environment.get(eq)){ht+=en;
}return {padding:[2,6],textColor:hs.selected?cC:undefined,decorator:ht};
}},"tree-item/icon":{include:cB,style:function(hu){return {paddingRight:5};
}},"tree-item/label":cw,"tree-item/open":{include:cB,style:function(hv){var hw;

if(hv.selected&&hv.opened){hw=eF;
}else if(hv.selected&&!hv.opened){hw=cF;
}else if(hv.opened){hw=U;
}else{hw=bz;
}return {padding:[0,5,0,2],source:hw};
}},"tree-folder":{include:dJ,alias:dJ,style:function(hx){var hz,hy;

if(hx.small){hz=hx.opened?eQ:eR;
hy=eQ;
}else if(hx.large){hz=hx.opened?bo:G;
hy=bo;
}else{hz=hx.opened?bn:cc;
hy=bn;
}return {icon:hz,iconOpened:hy};
}},"tree-file":{include:dJ,alias:dJ,style:function(hA){return {icon:hA.small?bO:hA.large?dh:Q};
}},"treevirtual":bm,"treevirtual-folder":{style:function(hB){return {icon:hB.opened?eQ:eR};
}},"treevirtual-file":{include:bI,alias:bI,style:function(hC){return {icon:bO};
}},"treevirtual-line":{style:function(hD){return {icon:dI};
}},"treevirtual-contract":{style:function(hE){return {icon:U,paddingLeft:5,paddingTop:2};
}},"treevirtual-expand":{style:function(hF){return {icon:bz,paddingLeft:5,paddingTop:2};
}},"treevirtual-only-contract":dL,"treevirtual-only-expand":v,"treevirtual-start-contract":dL,"treevirtual-start-expand":v,"treevirtual-end-contract":dL,"treevirtual-end-expand":v,"treevirtual-cross-contract":dL,"treevirtual-cross-expand":v,"treevirtual-end":{style:function(hG){return {icon:dI};
}},"treevirtual-cross":{style:function(hH){return {icon:dI};
}},"tooltip":{include:ct,style:function(hI){return {backgroundColor:dB,padding:[1,3,2,3],offset:[15,5,5,5]};
}},"tooltip/atom":eo,"tooltip-error":{include:eA,style:function(hJ){var hK=qx.core.Environment.get(el)&&qx.core.Environment.get(ek);
return {textColor:cC,backgroundColor:undefined,placeMethod:ep,offset:[0,0,0,14],marginTop:-2,position:C,showTimeout:100,hideTimeout:10000,decorator:hK?K:dn,shadow:bT,font:eh,padding:hK?3:undefined};
}},"tooltip-error/atom":eo,"window":{style:function(hL){var hN=qx.core.Environment.get(el)&&qx.core.Environment.get(eq)&&qx.core.Environment.get(ek);
var hO;
var hM;

if(hN){if(hL.showStatusbar){hO=dq;
}else{hO=dp;
}}else{hM=cL;
}return {decorator:hO,shadow:hM,contentPadding:[10,10,10,10],margin:[0,5,5,0]};
}},"window-resize-frame":{style:function(hP){var hQ=qx.core.Environment.get(el);
var hR;

if(hQ){if(hP.showStatusbar){hR=bp;
}else{hR=dU;
}}else{hR=ej;
}return {decorator:hR};
}},"window/pane":{style:function(hS){var hT=qx.core.Environment.get(el)&&qx.core.Environment.get(eq)&&qx.core.Environment.get(ek);
return {decorator:hT?cR:cP};
}},"window/captionbar":{style:function(hU){var hV=qx.core.Environment.get(el)&&qx.core.Environment.get(eq)&&qx.core.Environment.get(ek);
var hW=hU.active?ch:eg;

if(hV){hW+=en;
}return {decorator:hW,textColor:hU.active?dj:bF,minHeight:26,paddingRight:2};
}},"window/icon":{style:function(hX){return {margin:[5,0,3,6]};
}},"window/title":{style:function(hY){return {alignY:cz,font:eh,marginLeft:6,marginRight:12};
}},"window/minimize-button":{alias:eo,style:function(ia){return {icon:ia.active?ia.hovered?dP:j:eG,margin:[4,8,2,0]};
}},"window/restore-button":{alias:eo,style:function(ib){return {icon:ib.active?ib.hovered?cN:db:i,margin:[5,8,2,0]};
}},"window/maximize-button":{alias:eo,style:function(ic){return {icon:ic.active?ic.hovered?bh:cd:H,margin:[4,8,2,0]};
}},"window/close-button":{alias:eo,style:function(id){return {icon:id.active?id.hovered?e:ea:cf,margin:[4,8,2,0]};
}},"window/statusbar":{style:function(ie){var ig=qx.core.Environment.get(el)&&qx.core.Environment.get(eq)&&qx.core.Environment.get(ek);
return {padding:[2,6],decorator:ig?bt:dl,minHeight:18};
}},"window/statusbar-text":{style:function(ih){return {font:a};
}},"iframe":{style:function(ii){return {decorator:ej};
}},"resizer":{style:function(ij){var ik=qx.core.Environment.get(ek)&&qx.core.Environment.get(el)&&qx.core.Environment.get(eq);
return {decorator:ik?da:l};
}},"splitpane":{style:function(il){return {decorator:g};
}},"splitpane/splitter":{style:function(im){return {width:im.horizontal?3:undefined,height:im.vertical?3:undefined,backgroundColor:V};
}},"splitpane/splitter/knob":{style:function(io){return {source:io.horizontal?dG:cj};
}},"splitpane/slider":{style:function(ip){return {width:ip.horizontal?3:undefined,height:ip.vertical?3:undefined,backgroundColor:V};
}},"selectbox":em,"selectbox/atom":eo,"selectbox/popup":ct,"selectbox/list":{alias:dK},"selectbox/arrow":{include:cB,style:function(iq){return {source:cu,paddingLeft:5};
}},"datechooser":{style:function(ir){var iv;
var it=!!ir.focused;
var iu=!!ir.invalid;
var is=!!ir.disabled;

if(it&&iu&&!is){iv=eu;
}else if(it&&!iu&&!is){iv=ez;
}else if(is){iv=ev;
}else if(!it&&iu&&!is){iv=ey;
}else{iv=et;
}
if(qx.core.Environment.get(eq)){iv+=en;
}return {padding:2,decorator:iv,backgroundColor:cx};
}},"datechooser/navigation-bar":{},"datechooser/nav-button":{include:em,alias:em,style:function(iw){var ix={padding:[2,4],shadow:undefined};

if(iw.lastYear){ix.icon=df;
ix.marginRight=1;
}else if(iw.lastMonth){ix.icon=bE;
}else if(iw.nextYear){ix.icon=co;
ix.marginLeft=1;
}else if(iw.nextMonth){ix.icon=z;
}return ix;
}},"datechooser/last-year-button-tooltip":eA,"datechooser/last-month-button-tooltip":eA,"datechooser/next-year-button-tooltip":eA,"datechooser/next-month-button-tooltip":eA,"datechooser/last-year-button":dN,"datechooser/last-month-button":dN,"datechooser/next-month-button":dN,"datechooser/next-year-button":dN,"datechooser/month-year-label":{style:function(iy){return {font:eh,textAlign:dF,textColor:iy.disabled?cA:undefined};
}},"datechooser/date-pane":{style:function(iz){return {textColor:iz.disabled?cA:undefined,marginTop:2};
}},"datechooser/weekday":{style:function(iA){return {textColor:iA.disabled?cA:iA.weekend?bv:undefined,textAlign:dF,paddingTop:2,backgroundColor:bP};
}},"datechooser/week":{style:function(iB){return {textAlign:dF,padding:[2,4],backgroundColor:bP};
}},"datechooser/day":{style:function(iC){var iD=iC.disabled?undefined:iC.selected?cy:undefined;

if(iD&&qx.core.Environment.get(eq)){iD+=en;
}return {textAlign:dF,decorator:iD,textColor:iC.disabled?cA:iC.selected?cC:iC.otherMonth?bv:undefined,font:iC.today?eh:undefined,padding:[2,4]};
}},"combobox":{style:function(iE){var iI;
var iG=!!iE.focused;
var iH=!!iE.invalid;
var iF=!!iE.disabled;

if(iG&&iH&&!iF){iI=eu;
}else if(iG&&!iH&&!iF){iI=ez;
}else if(iF){iI=ev;
}else if(!iG&&iH&&!iF){iI=ey;
}else{iI=et;
}
if(qx.core.Environment.get(eq)){iI+=en;
}return {decorator:iI};
}},"combobox/popup":ct,"combobox/list":{alias:dK},"combobox/button":{include:em,alias:em,style:function(iJ,iK){var iL={icon:cu,padding:[iK.padding[0],iK.padding[1]-6],shadow:undefined,margin:undefined};

if(iJ.selected){iL.decorator=bC;
}return iL;
}},"combobox/textfield":{include:x,style:function(iM){return {decorator:undefined};
}},"menu":{style:function(iN){var iO=qx.core.Environment.get(eq)&&qx.core.Environment.get(ek);
var iP={decorator:iO?br:cK,shadow:iO?undefined:bJ,spacingX:6,spacingY:1,iconColumnWidth:16,arrowColumnWidth:4,placementModeY:iN.submenu||iN.contextmenu?de:dk};

if(iN.submenu){iP.position=C;
iP.offset=[-2,-3];
}return iP;
}},"menu/slidebar":eD,"menu-slidebar":ep,"menu-slidebar-button":{style:function(iQ){var iR=iQ.hovered?cy:undefined;

if(iR&&qx.core.Environment.get(eq)){iR+=en;
}return {decorator:iR,padding:7,center:true};
}},"menu-slidebar/button-backward":{include:bw,style:function(iS){return {icon:iS.hovered?dv:bl};
}},"menu-slidebar/button-forward":{include:bw,style:function(iT){return {icon:iT.hovered?cs:cu};
}},"menu-separator":{style:function(iU){return {height:0,decorator:n,margin:[4,2]};
}},"menu-button":{alias:eo,style:function(iV){var iW=iV.selected?cy:undefined;

if(iW&&qx.core.Environment.get(eq)){iW+=en;
}return {decorator:iW,textColor:iV.selected?cC:undefined,padding:[4,6]};
}},"menu-button/icon":{include:cB,style:function(iX){return {alignY:cz};
}},"menu-button/label":{include:cw,style:function(iY){return {alignY:cz,padding:1};
}},"menu-button/shortcut":{include:cw,style:function(ja){return {alignY:cz,marginLeft:14,padding:1};
}},"menu-button/arrow":{include:cB,style:function(jb){return {source:jb.selected?t:z,alignY:cz};
}},"menu-checkbox":{alias:ew,include:ew,style:function(jc){return {icon:!jc.checked?undefined:jc.selected?L:dR};
}},"menu-radiobutton":{alias:ew,include:ew,style:function(jd){return {icon:!jd.checked?undefined:jd.selected?cV:cn};
}},"menubar":{style:function(je){var jf=qx.core.Environment.get(eq);
return {decorator:jf?dT:eH};
}},"menubar-button":{alias:eo,style:function(jg){var jh=(jg.pressed||jg.hovered)&&!jg.disabled?cy:undefined;

if(jh&&qx.core.Environment.get(eq)){jh+=en;
}return {decorator:jh,textColor:jg.pressed||jg.hovered?cC:undefined,padding:[3,8]};
}},"colorselector":ep,"colorselector/control-bar":ep,"colorselector/control-pane":ep,"colorselector/visual-pane":cv,"colorselector/preset-grid":ep,"colorselector/colorbucket":{style:function(ji){return {decorator:ej,width:16,height:16};
}},"colorselector/preset-field-set":cv,"colorselector/input-field-set":cv,"colorselector/preview-field-set":cv,"colorselector/hex-field-composite":ep,"colorselector/hex-field":x,"colorselector/rgb-spinner-composite":ep,"colorselector/rgb-spinner-red":es,"colorselector/rgb-spinner-green":es,"colorselector/rgb-spinner-blue":es,"colorselector/hsb-spinner-composite":ep,"colorselector/hsb-spinner-hue":es,"colorselector/hsb-spinner-saturation":es,"colorselector/hsb-spinner-brightness":es,"colorselector/preview-content-old":{style:function(jj){return {decorator:ej,width:50,height:10};
}},"colorselector/preview-content-new":{style:function(jk){return {decorator:ej,backgroundColor:cx,width:50,height:10};
}},"colorselector/hue-saturation-field":{style:function(jl){return {decorator:ej,margin:5};
}},"colorselector/brightness-field":{style:function(jm){return {decorator:ej,margin:[5,7]};
}},"colorselector/hue-saturation-pane":ep,"colorselector/hue-saturation-handle":ep,"colorselector/brightness-pane":ep,"colorselector/brightness-handle":ep,"colorpopup":{alias:ct,include:ct,style:function(jn){return {padding:5,backgroundColor:A};
}},"colorpopup/field":{style:function(jo){return {decorator:ej,margin:2,width:14,height:14,backgroundColor:cx};
}},"colorpopup/selector-button":ei,"colorpopup/auto-button":ei,"colorpopup/preview-pane":cv,"colorpopup/current-preview":{style:function(jp){return {height:20,padding:4,marginLeft:4,decorator:ej,allowGrowX:true};
}},"colorpopup/selected-preview":{style:function(jq){return {height:20,padding:4,marginRight:4,decorator:ej,allowGrowX:true};
}},"colorpopup/colorselector-okbutton":{alias:ei,include:ei,style:function(jr){return {icon:cX};
}},"colorpopup/colorselector-cancelbutton":{alias:ei,include:ei,style:function(js){return {icon:eI};
}},"table":{alias:ep,style:function(jt){return {decorator:bm};
}},"table/statusbar":{style:function(ju){return {decorator:ee,padding:[0,2]};
}},"table/column-button":{alias:em,style:function(jv){var jw=qx.core.Environment.get(eq);
return {decorator:jw?bd:bA,padding:3,icon:cm};
}},"table-column-reset-button":{include:ew,alias:ew,style:function(){return {icon:eM};
}},"table-scroller":ep,"table-scroller/scrollbar-x":dO,"table-scroller/scrollbar-y":dO,"table-scroller/header":{style:function(jx){var jy=qx.core.Environment.get(eq);
return {decorator:jy?bd:bA};
}},"table-scroller/pane":{style:function(jz){return {backgroundColor:dW};
}},"table-scroller/focus-indicator":{style:function(jA){return {decorator:bU};
}},"table-scroller/resize-line":{style:function(jB){return {backgroundColor:cM,width:2};
}},"table-header-cell":{alias:eo,style:function(jC){return {minWidth:13,minHeight:20,padding:jC.hovered?[3,4,2,4]:[3,4],decorator:jC.hovered?bu:R,sortIcon:jC.sorted?(jC.sortedAscending?du:cp):undefined};
}},"table-header-cell/label":{style:function(jD){return {minWidth:0,alignY:cz,paddingRight:5};
}},"table-header-cell/sort-icon":{style:function(jE){return {alignY:cz,alignX:eU};
}},"table-header-cell/icon":{style:function(jF){return {minWidth:0,alignY:cz,paddingRight:5};
}},"table-editor-textfield":{include:x,style:function(jG){return {decorator:undefined,padding:[2,2],backgroundColor:cx};
}},"table-editor-selectbox":{include:D,alias:D,style:function(jH){return {padding:[0,2],backgroundColor:cx};
}},"table-editor-combobox":{include:dM,alias:dM,style:function(jI){return {decorator:undefined,backgroundColor:cx};
}},"progressive-table-header":{alias:ep,style:function(jJ){return {decorator:cl};
}},"progressive-table-header-cell":{alias:eo,style:function(jK){var jL=qx.core.Environment.get(eq);
return {minWidth:40,minHeight:25,paddingLeft:6,decorator:jL?ed:o};
}},"app-header":{style:function(jM){return {font:eh,textColor:cC,padding:[8,12],decorator:cJ};
}},"app-header-label":cw,"virtual-list":dK,"virtual-list/row-layer":cI,"row-layer":{style:function(jN){return {colorEven:dy,colorOdd:eb};
}},"group-item":{include:cw,alias:cw,style:function(jO){return {padding:4,decorator:qx.core.Environment.get(eq)?eB:eO,textColor:bg,font:eh};
}},"virtual-selectbox":D,"virtual-selectbox/dropdown":ct,"virtual-selectbox/dropdown/list":{alias:eS},"virtual-combobox":dM,"virtual-combobox/dropdown":ct,"virtual-combobox/dropdown/list":{alias:eS},"virtual-tree":{include:bb,alias:bb,style:function(jP){return {itemHeight:26};
}},"virtual-tree-folder":cS,"virtual-tree-file":cr,"column-layer":ep,"cell":{style:function(jQ){return {textColor:jQ.selected?cC:eV,padding:[3,6],font:T};
}},"cell-string":ex,"cell-number":{include:ex,style:function(jR){return {textAlign:eU};
}},"cell-image":ex,"cell-boolean":{include:ex,style:function(jS){return {iconTrue:bY,iconFalse:di};
}},"cell-atom":ex,"cell-date":ex,"cell-html":ex,"htmlarea":{"include":ep,style:function(jT){return {backgroundColor:u};
}},"progressbar":{style:function(jU){return {decorator:q,padding:[1],backgroundColor:P};
}},"progressbar/progress":{style:function(jV){var jW=jV.disabled?eO:cy;

if(qx.core.Environment.get(eq)){jW+=en;
}return {decorator:jW};
}}}});
})();
(function(){var j="atom",i="window-icon",h="main",g="#ff0000",f="#0000ff",e="decoration/window/minimize-active-hovered.png",d="decoration/window/maximize-active-hovered.png",c="resource/images/grfind/knob-horizontal.png",b="decoration/window/maximize-inactive.png",a="decoration/window/close-inactive.png",y="yellow",x="decoration/window/minimize-inactive.png",w="decoration/window/restore-active.png",v="decoration/window/restore-active-hovered.png",u="decoration/window/restore-inactive.png",t="group",s="grfind.theme.Appearance",r="decoration/window/maximize-active.png",q="decoration/window/minimize-active.png",p="splitpane",n="decoration/window/close-active-hovered.png",o="resource/images/grfind/knob-vertical.png",l="white",m="decoration/window/close-active.png",k="shadow-window";
qx.Theme.define(s,{extend:qx.theme.modern.Appearance,appearances:{"highlight-box":{alias:j,style:function(z){var B,A;

if(z.hovered){B=t;
A=g;
}else if(z.normal){B=null;
A=f;
}else if(z.selected){B=h;
A=g;
}else{B=null;
A=f;
}return {decorator:B,textColor:A};
}},"widget-box":{alias:j,style:function(C){var E,D;

if(C.hovered){E=h;
}else if(C.selected){E=h;
}else if(C.normal){E=null;
}else{E=null;
D=undefined;
}return {decorator:E};
}},"tabview":{style:function(F){return {contentPadding:4};
}},"splitpane":{style:function(G){return {decorator:p};
}},"splitpane/splitter":{style:function(H){return {width:H.horizontal?4:undefined,height:H.vertical?4:undefined,backgroundColor:l};
}},"splitpane/splitter/knob":{style:function(I){return {source:I.horizontal?o:c};
}},"splitpane/slider":{style:function(J){return {width:J.horizontal?1:undefined,height:J.vertical?1:undefined,backgroundColor:y};
}},"window":{style:function(K){return {shadow:k,contentPadding:[0,0,0,0]};
}},"window/minimize-button":{alias:j,style:function(L){return {icon:L.active?L.hovered?e:q:x,margin:[4,5,3,0],padding:[3,3,2,3],decorator:i};
}},"window/restore-button":{alias:j,style:function(M){return {icon:M.active?M.hovered?v:w:u,margin:[4,5,3,0],padding:[3,3,2,3],decorator:i};
}},"window/maximize-button":{alias:j,style:function(N){return {icon:N.active?N.hovered?d:r:b,margin:[4,5,3,0],padding:[3,3,2,3],decorator:i};
}},"window/close-button":{alias:j,style:function(O){return {icon:O.active?O.hovered?n:m:a,margin:[4,5,3,0],padding:[3,3,2,3],decorator:i};
}}}});
})();
(function(){var c="Oxygen",b="qx.theme.icon.Oxygen",a="qx/icon/Oxygen";
qx.Theme.define(b,{title:c,aliases:{"icon":a}});
})();
(function(){var bB="white",bA="#EEEEEE",bz="#E4E4E4",by="#F3F3F3",bx="#F0F0F0",bw="#E8E8E8",bv="#CCCCCC",bu="#EFEFEF",bt="#1a1a1a",bs="#00204D",bh="gray",bg="#F4F4F4",bf="#fffefe",be="#AFAFAF",bd="#084FAB",bc="#FCFCFC",bb="#CCC",ba="#F2F2F2",Y="black",X="#ffffdd",bI="#b6b6b6",bJ="#004DAD",bG="#BABABA",bH="#005BC3",bE="#334866",bF="#CECECE",bC="#D9D9D9",bD="#D8D8D8",bK="#99C3FE",bL="#001533",bl="#B3B3B3",bk="#D5D5D5",bn="#C3C3C3",bm="#DDDDDD",bp="#FF9999",bo="css.rgba",br="#E8E8E9",bq="#084FAA",bj="#C5C5C5",bi="rgba(0, 0, 0, 0.4)",a="#DBDBDB",b="#4a4a4a",c="#83BAEA",d="#D7E7F4",e="#07125A",f="#FAF2F2",g="#87AFE7",h="#F7EAEA",i="#777D8D",j="#FBFBFB",bP="#CACACA",bO="#909090",bN="#9B9B9B",bM="#F0F9FE",bT="#314a6e",bS="#B4B4B4",bR="#787878",bQ="qx.theme.modern.Color",bV="#000000",bU="#26364D",H="#A7A7A7",I="#D1E4FF",F="#5CB0FD",G="#EAEAEA",L="#003B91",M="#80B4EF",J="#FF6B78",K="#949494",D="#808080",E="#930000",r="#7B7B7B",q="#C82C2C",t="#DFDFDF",s="#B6B6B6",n="#0880EF",m="#4d4d4d",p="#f4f4f4",o="#7B7A7E",l="#D0D0D0",k="#f8f8f8",R="#404955",S="#959595",T="#AAAAAA",U="#F7E9E9",N="#314A6E",O="#C72B2B",P="#FAFAFA",Q="#FBFCFB",V="#B2D2FF",W="#666666",B="#CBC8CD",A="#999999",z="#8EB8D6",y="#b8b8b8",x="#727272",w="#33508D",v="#F1F1F1",u="#990000",C="#00368A";
qx.Theme.define(bQ,{colors:{"background-application":t,"background-pane":by,"background-light":bc,"background-medium":bA,"background-splitpane":be,"background-tip":X,"background-tip-error":O,"background-odd":bz,"htmlarea-background":bB,"progressbar-background":bB,"text-light":bO,"text-gray":b,"text-label":bt,"text-title":bT,"text-input":bV,"text-hovered":bL,"text-disabled":o,"text-selected":bf,"text-active":bU,"text-inactive":R,"text-placeholder":B,"border-inner-scrollbar":bB,"border-main":m,"menu-separator-top":bj,"menu-separator-bottom":P,"border-separator":D,"border-toolbar-button-outer":bI,"border-toolbar-border-inner":k,"border-toolbar-separator-right":p,"border-toolbar-separator-left":y,"border-input":bE,"border-inner-input":bB,"border-disabled":s,"border-pane":bs,"border-button":W,"border-column":bv,"border-focused":bK,"invalid":u,"border-focused-invalid":bp,"border-dragover":w,"keyboard-focus":Y,"table-pane":by,"table-focus-indicator":n,"table-row-background-focused-selected":bd,"table-row-background-focused":M,"table-row-background-selected":bd,"table-row-background-even":by,"table-row-background-odd":bz,"table-row-selected":bf,"table-row":bt,"table-row-line":bb,"table-column-line":bb,"table-header-hovered":bB,"progressive-table-header":T,"progressive-table-header-border-right":ba,"progressive-table-row-background-even":bg,"progressive-table-row-background-odd":bz,"progressive-progressbar-background":bh,"progressive-progressbar-indicator-done":bv,"progressive-progressbar-indicator-undone":bB,"progressive-progressbar-percent-background":bh,"progressive-progressbar-percent-text":bB,"selected-start":bJ,"selected-end":C,"tabview-background":e,"shadow":qx.core.Environment.get(bo)?bi:A,"pane-start":j,"pane-end":bx,"group-background":bw,"group-border":bS,"radiobutton-background":bu,"checkbox-border":N,"checkbox-focus":g,"checkbox-hovered":V,"checkbox-hovered-inner":I,"checkbox-inner":bA,"checkbox-start":bz,"checkbox-end":by,"checkbox-disabled-border":bR,"checkbox-disabled-inner":bP,"checkbox-disabled-start":l,"checkbox-disabled-end":bD,"checkbox-hovered-inner-invalid":f,"checkbox-hovered-invalid":U,"radiobutton-checked":bH,"radiobutton-disabled":bk,"radiobutton-checked-disabled":r,"radiobutton-hovered-invalid":h,"tooltip-error":q,"scrollbar-start":bv,"scrollbar-end":v,"scrollbar-slider-start":bA,"scrollbar-slider-end":bn,"button-border-disabeld":S,"button-start":bx,"button-end":be,"button-disabled-start":bg,"button-disabled-end":bG,"button-hovered-start":bM,"button-hovered-end":z,"button-focused":c,"border-invalid":E,"input-start":bx,"input-end":Q,"input-focused-start":d,"input-focused-end":F,"input-focused-inner-invalid":J,"input-border-disabled":bN,"input-border-inner":bB,"toolbar-start":bu,"toolbar-end":bm,"window-border":bs,"window-border-caption":x,"window-caption-active-text":bB,"window-caption-active-start":bq,"window-caption-active-end":L,"window-caption-inactive-start":ba,"window-caption-inactive-end":a,"window-statusbar-background":bu,"tabview-start":bc,"tabview-end":bA,"tabview-inactive":i,"tabview-inactive-start":G,"tabview-inactive-end":bF,"table-header-start":bw,"table-header-end":bl,"menu-start":br,"menu-end":bC,"menubar-start":bw,"groupitem-start":H,"groupitem-end":K,"groupitem-text":bB,"virtual-row-layer-background-even":bB,"virtual-row-layer-background-odd":bB}});
})();
(function(){var e="#6cccff",d="grfind.theme.Color",c="#5ED4FF",b="#202020",a="transparent";
qx.Theme.define(d,{extend:qx.theme.modern.Color,colors:{"border-input":c,"table-row-background-focused-selected":e,"table-row-selected":b,"table-row-background-focused":a,"table-row-background-selected":e}});
})();
(function(){var t="os.version",s="os.name",r="win",q="7",p="vista",o="osx",n="Liberation Sans",m="Tahoma",l="sans-serif",k="Arial",d="Lucida Grande",j="Candara",g="Segoe UI",c="Consolas",b="monospace",f="Courier New",e="Lucida Console",h="Monaco",a="qx.theme.modern.Font",i="DejaVu Sans Mono";
qx.Theme.define(a,{fonts:{"default":{size:(qx.core.Environment.get(s)==r&&(qx.core.Environment.get(t)==q||qx.core.Environment.get(t)==p))?12:11,lineHeight:1.4,family:qx.core.Environment.get(s)==o?[d]:((qx.core.Environment.get(s)==r&&(qx.core.Environment.get(t)==q||qx.core.Environment.get(t)==p)))?[g,j]:[m,n,k,l]},"bold":{size:(qx.core.Environment.get(s)==r&&(qx.core.Environment.get(t)==q||qx.core.Environment.get(t)==p))?12:11,lineHeight:1.4,family:qx.core.Environment.get(s)==o?[d]:((qx.core.Environment.get(s)==r&&(qx.core.Environment.get(t)==q||qx.core.Environment.get(t)==p)))?[g,j]:[m,n,k,l],bold:true},"small":{size:(qx.core.Environment.get(s)==r&&(qx.core.Environment.get(t)==q||qx.core.Environment.get(t)==p))?11:10,lineHeight:1.4,family:qx.core.Environment.get(s)==o?[d]:((qx.core.Environment.get(s)==r&&(qx.core.Environment.get(t)==q||qx.core.Environment.get(t)==p)))?[g,j]:[m,n,k,l]},"monospace":{size:11,lineHeight:1.4,family:qx.core.Environment.get(s)==o?[e,h]:((qx.core.Environment.get(s)==r&&(qx.core.Environment.get(t)==q||qx.core.Environment.get(t)==p)))?[c]:[c,i,f,b]}}});
})();
(function(){var j="os.version",i="os.name",h="7",g="vista",f="win",e="Tahoma",d="Lucida Grande",c="Liberation Sans",b="osx",a="sans-serif",v="Bitstream Vera Sans",u="Candara",t="Segoe UI",s="Arial",r="Verdana",q="Consolas",p="Monaco",o="Courier New",n="grfind.theme.Font",m="DejaVu Sans Mono",k="Lucida Console",l="monospace";
qx.Theme.define(n,{extend:qx.theme.modern.Font,fonts:{"default":{size:(qx.core.Environment.get(i)==f&&(qx.core.Environment.get(j)==h||qx.core.Environment.get(j)==g))?12:11,lineHeight:1.4,family:qx.core.Environment.get(i)==b?[d]:((qx.core.Environment.get(i)==f&&(qx.core.Environment.get(j)==h||qx.core.Environment.get(j)==g)))?[t,u]:[e,c,s,a]},"bold":{size:(qx.core.Environment.get(i)==f&&(qx.core.Environment.get(j)==h||qx.core.Environment.get(j)==g))?12:11,lineHeight:1.4,family:qx.core.Environment.get(i)==b?[d]:((qx.core.Environment.get(i)==f&&(qx.core.Environment.get(j)==h||qx.core.Environment.get(j)==g)))?[t,u]:[e,c,s,a],bold:true},"small":{size:(qx.core.Environment.get(i)==f&&(qx.core.Environment.get(j)==h||qx.core.Environment.get(j)==g))?11:10,lineHeight:1.4,family:qx.core.Environment.get(i)==b?[d]:((qx.core.Environment.get(i)==f&&(qx.core.Environment.get(j)==h||qx.core.Environment.get(j)==g)))?[t,u]:[e,c,s,a]},"monospace":{size:11,lineHeight:1.4,family:qx.core.Environment.get(i)==b?[k,p]:((qx.core.Environment.get(i)==f&&(qx.core.Environment.get(j)==h||qx.core.Environment.get(j)==g)))?[q]:[q,m,o,l]},"toolbar":{size:14,lineHeight:1.4,family:[d,e,r,v,c]},"12":{size:12,lineHeight:1.4,family:[d,e,r,v,c]},"14":{size:14,lineHeight:1.4,family:[d,e,r,v,c]}}});
})();
(function(){var k="_applyBoxShadow",j="px ",i="Integer",h="shadowHorizontalLength",g="box-shadow",f="-webkit-box-shadow",e="shadowVerticalLength",d="-moz-box-shadow",c="shorthand",b="qx.ui.decoration.MBoxShadow",a="Color";
qx.Mixin.define(b,{properties:{shadowHorizontalLength:{nullable:true,check:i,apply:k},shadowVerticalLength:{nullable:true,check:i,apply:k},shadowBlurRadius:{nullable:true,check:i,apply:k},shadowColor:{nullable:true,check:a,apply:k},shadowLength:{group:[h,e],mode:c}},members:{_styleBoxShadow:function(l){var m=qx.theme.manager.Color.getInstance();
var p=m.resolve(this.getShadowColor());

if(p!=null){var q=this.getShadowVerticalLength()||0;
var n=this.getShadowHorizontalLength()||0;
var blur=this.getShadowBlurRadius()||0;
var o=n+j+q+j+blur+j+p;
l[d]=o;
l[f]=o;
l[g]=o;
}},_applyBoxShadow:function(){}}});
})();
(function(){var j="_applyLinearBackgroundGradient",i=" ",h=")",g="engine.name",f="horizontal",e=",",d=" 0",c="px",b="browser.name",a="0",K="shorthand",J="Color",I="vertical",H="",G="Number",F="webkit",E="%",D="),to(",C="from(",B="background-image",q="engine.version",r="-moz-",o="-webkit-gradient(linear,",p="startColorPosition",m="-o-",n="deg, ",k="startColor",l="ie",s="qx.ui.decoration.MLinearBackgroundGradient",t="endColorPosition",w="opera",v="linear-gradient(",y="endColor",x="-ms-",A="gecko",z="background",u="-webkit-";
qx.Mixin.define(s,{properties:{startColor:{check:J,nullable:true,apply:j},endColor:{check:J,nullable:true,apply:j},orientation:{check:[f,I],init:I,apply:j},startColorPosition:{check:G,init:0,apply:j},endColorPosition:{check:G,init:100,apply:j},colorPositionUnit:{check:[c,E],init:E,apply:j},gradientStart:{group:[k,p],mode:K},gradientEnd:{group:[y,t],mode:K}},members:{_styleLinearBackgroundGradient:function(L){var O=qx.theme.manager.Color.getInstance();
var U=this.getColorPositionUnit();
if(qx.core.Environment.get(g)==F&&parseFloat(qx.core.Environment.get(q))<534.16){U=U===c?H:U;

if(this.getOrientation()==f){var T=this.getStartColorPosition()+U+d+U;
var S=this.getEndColorPosition()+U+d+U;
}else{var T=a+U+i+this.getStartColorPosition()+U;
var S=a+U+i+this.getEndColorPosition()+U;
}var Q=C+O.resolve(this.getStartColor())+D+O.resolve(this.getEndColor())+h;
var P=o+T+e+S+e+Q+h;
L[z]=P;
}else{var V=this.getOrientation()==f?0:270;
var N=O.resolve(this.getStartColor())+i+this.getStartColorPosition()+U;
var M=O.resolve(this.getEndColor())+i+this.getEndColorPosition()+U;
var R=H;

if(qx.core.Environment.get(g)==A){R=r;
}else if(qx.core.Environment.get(b)==w){R=m;
}else if(qx.core.Environment.get(b)==l){R=x;
}else if(qx.core.Environment.get(g)==F){R=u;
}L[B]=R+v+V+n+N+e+M+h;
}},_resizeLinearBackgroundGradient:function(W,X,Y){var ba=this.getInsets();
X-=ba.left+ba.right;
Y-=ba.top+ba.bottom;
return {left:ba.left,top:ba.top,width:X,height:Y};
},_applyLinearBackgroundGradient:function(){}}});
})();
(function(){var j="px ",i=" ",h='',g="Color",f="Number",e="border-top",d="border-left",c="border-bottom",b="border-right",a="shorthand",C="line-height",B="engine.name",A="mshtml",z="innerWidthRight",y="top",x="innerColorBottom",w="innerWidthTop",v="innerColorRight",u="innerColorTop",t="relative",q="browser.documentmode",r="innerColorLeft",o="qx.ui.decoration.MDoubleBorder",p="left",m="engine.version",n="innerWidthBottom",k="innerWidthLeft",l="position",s="absolute";
qx.Mixin.define(o,{include:[qx.ui.decoration.MSingleBorder,qx.ui.decoration.MBackgroundImage],construct:function(){this._getDefaultInsetsForBorder=this.__ud;
this._resizeBorder=this.__uc;
this._styleBorder=this.__ua;
this._generateMarkup=this.__ub;
},properties:{innerWidthTop:{check:f,init:0},innerWidthRight:{check:f,init:0},innerWidthBottom:{check:f,init:0},innerWidthLeft:{check:f,init:0},innerWidth:{group:[w,z,n,k],mode:a},innerColorTop:{nullable:true,check:g},innerColorRight:{nullable:true,check:g},innerColorBottom:{nullable:true,check:g},innerColorLeft:{nullable:true,check:g},innerColor:{group:[u,v,x,r],mode:a}},members:{__tY:null,__ua:function(D){var E=qx.theme.manager.Color.getInstance();
D.position=t;
var F=this.getInnerWidthTop();

if(F>0){D[e]=F+j+this.getStyleTop()+i+E.resolve(this.getInnerColorTop());
}var F=this.getInnerWidthRight();

if(F>0){D[b]=F+j+this.getStyleRight()+i+E.resolve(this.getInnerColorRight());
}var F=this.getInnerWidthBottom();

if(F>0){D[c]=F+j+this.getStyleBottom()+i+E.resolve(this.getInnerColorBottom());
}var F=this.getInnerWidthLeft();

if(F>0){D[d]=F+j+this.getStyleLeft()+i+E.resolve(this.getInnerColorLeft());
}},__ub:function(G){var J=this._generateBackgroundMarkup(G);
var H=qx.theme.manager.Color.getInstance();
G[e]=h;
G[b]=h;
G[c]=h;
G[d]=h;
G[C]=0;
if((qx.core.Environment.get(B)==A&&parseFloat(qx.core.Environment.get(m))<8)||(qx.core.Environment.get(B)==A&&qx.core.Environment.get(q)<8)){G[C]=h;
}var I=this.getWidthTop();

if(I>0){G[e]=I+j+this.getStyleTop()+i+H.resolve(this.getColorTop());
}var I=this.getWidthRight();

if(I>0){G[b]=I+j+this.getStyleRight()+i+H.resolve(this.getColorRight());
}var I=this.getWidthBottom();

if(I>0){G[c]=I+j+this.getStyleBottom()+i+H.resolve(this.getColorBottom());
}var I=this.getWidthLeft();

if(I>0){G[d]=I+j+this.getStyleLeft()+i+H.resolve(this.getColorLeft());
}G[l]=s;
G[y]=0;
G[p]=0;
return this.__tY=this._generateBackgroundMarkup(G,J);
},__uc:function(K,L,M){var N=this.getInsets();
L-=N.left+N.right;
M-=N.top+N.bottom;
var O=N.left-this.getWidthLeft()-this.getInnerWidthLeft();
var top=N.top-this.getWidthTop()-this.getInnerWidthTop();
return {left:O,top:top,width:L,height:M,elementToApplyDimensions:K.firstChild};
},__ud:function(){return {top:this.getWidthTop()+this.getInnerWidthTop(),right:this.getWidthRight()+this.getInnerWidthRight(),bottom:this.getWidthBottom()+this.getInnerWidthBottom(),left:this.getWidthLeft()+this.getInnerWidthLeft()};
}}});
})();
(function(){var c="px",b="qx.ui.decoration.Background",a="absolute";
qx.Class.define(b,{extend:qx.ui.decoration.Abstract,include:[qx.ui.decoration.MBackgroundImage,qx.ui.decoration.MBackgroundColor],construct:function(d){qx.ui.decoration.Abstract.call(this);

if(d!=null){this.setBackgroundColor(d);
}},members:{__ue:null,_getDefaultInsets:function(){return {top:0,right:0,bottom:0,left:0};
},_isInitialized:function(){return !!this.__ue;
},getMarkup:function(e){if(this.__ue){return this.__ue;
}var f={position:a,top:0,left:0};
var g=this._generateBackgroundMarkup(f);
return this.__ue=g;
},resize:function(h,i,j){var k=this.getInsets();
h.style.width=(i-k.left-k.right)+c;
h.style.height=(j-k.top-k.bottom)+c;
h.style.left=-k.left+c;
h.style.top=-k.top+c;
},tint:function(l,m){this._tintBackgroundColor(l,m,l.style);
}},destruct:function(){this.__ue=null;
}});
})();
(function(){var j='"></div>',i="_applyStyle",h="1px",g='<div style="',f='border:',e="1px solid ",d="Color",c=";",b="px",a='</div>',x="qx.ui.decoration.Beveled",w="css.boxmodel",v='<div style="position:absolute;top:1px;left:1px;',u='border-bottom:',t='border-right:',s="",r="content",q='border-left:',p='border-top:',o="Number",m='<div style="position:absolute;top:1px;left:0px;',n='position:absolute;top:0px;left:1px;',k='<div style="overflow:hidden;font-size:0;line-height:0;">',l="absolute";
qx.Class.define(x,{extend:qx.ui.decoration.Abstract,include:[qx.ui.decoration.MBackgroundImage,qx.ui.decoration.MBackgroundColor],construct:function(y,z,A){qx.ui.decoration.Abstract.call(this);
if(y!=null){this.setOuterColor(y);
}
if(z!=null){this.setInnerColor(z);
}
if(A!=null){this.setInnerOpacity(A);
}},properties:{innerColor:{check:d,nullable:true,apply:i},innerOpacity:{check:o,init:1,apply:i},outerColor:{check:d,nullable:true,apply:i}},members:{__ue:null,_getDefaultInsets:function(){return {top:2,right:2,bottom:2,left:2};
},_isInitialized:function(){return !!this.__ue;
},_applyStyle:function(){},getMarkup:function(){if(this.__ue){return this.__ue;
}var B=qx.theme.manager.Color.getInstance();
var C=[];
var F=e+B.resolve(this.getOuterColor())+c;
var E=e+B.resolve(this.getInnerColor())+c;
C.push(k);
C.push(g);
C.push(f,F);
C.push(qx.bom.element.Opacity.compile(0.35));
C.push(j);
C.push(m);
C.push(q,F);
C.push(t,F);
C.push(qx.bom.element.Opacity.compile(1));
C.push(j);
C.push(g);
C.push(n);
C.push(p,F);
C.push(u,F);
C.push(qx.bom.element.Opacity.compile(1));
C.push(j);
var D={position:l,top:h,left:h,opacity:1};
C.push(this._generateBackgroundMarkup(D));
C.push(v);
C.push(f,E);
C.push(qx.bom.element.Opacity.compile(this.getInnerOpacity()));
C.push(j);
C.push(a);
return this.__ue=C.join(s);
},resize:function(G,H,I){if(H<4){H=4;
}
if(I<4){I=4;
}if(qx.core.Environment.get(w)==r){var outerWidth=H-2;
var outerHeight=I-2;
var O=outerWidth;
var N=outerHeight;
var innerWidth=H-4;
var innerHeight=I-4;
}else{var outerWidth=H;
var outerHeight=I;
var O=H-2;
var N=I-2;
var innerWidth=O;
var innerHeight=N;
}var Q=b;
var M=G.childNodes[0].style;
M.width=outerWidth+Q;
M.height=outerHeight+Q;
var L=G.childNodes[1].style;
L.width=outerWidth+Q;
L.height=N+Q;
var K=G.childNodes[2].style;
K.width=O+Q;
K.height=outerHeight+Q;
var J=G.childNodes[3].style;
J.width=O+Q;
J.height=N+Q;
var P=G.childNodes[4].style;
P.width=innerWidth+Q;
P.height=innerHeight+Q;
},tint:function(R,S){this._tintBackgroundColor(R,S,R.childNodes[3].style);
}},destruct:function(){this.__ue=null;
}});
})();
(function(){var a="qx.ui.decoration.Uniform";
qx.Class.define(a,{extend:qx.ui.decoration.Single,construct:function(b,c,d){qx.ui.decoration.Single.call(this);
if(b!=null){this.setWidth(b);
}
if(c!=null){this.setStyle(c);
}
if(d!=null){this.setColor(d);
}}});
})();
(function(){var o="Number",n="_applyInsets",m="-l",l="insetRight",k="insetTop",j="_applyBaseImage",i="insetBottom",h="-b",g="set",f="shorthand",c="-t",e="insetLeft",d="String",b="qx.ui.decoration.Grid",a="-r";
qx.Class.define(b,{extend:qx.core.Object,implement:[qx.ui.decoration.IDecorator],construct:function(p,q){qx.core.Object.call(this);

if(qx.ui.decoration.css3.BorderImage.IS_SUPPORTED){this.__uf=new qx.ui.decoration.css3.BorderImage();

if(p){this.__ug(p);
}}else{this.__uf=new qx.ui.decoration.GridDiv(p);
}
if(q!=null){this.__uf.setInsets(q);
}},properties:{baseImage:{check:d,nullable:true,apply:j},insetLeft:{check:o,nullable:true,apply:n},insetRight:{check:o,nullable:true,apply:n},insetBottom:{check:o,nullable:true,apply:n},insetTop:{check:o,nullable:true,apply:n},insets:{group:[k,l,i,e],mode:f}},members:{__uf:null,getMarkup:function(){return this.__uf.getMarkup();
},resize:function(r,s,t){this.__uf.resize(r,s,t);
},tint:function(u,v){},getInsets:function(){return this.__uf.getInsets();
},_applyInsets:function(w,x,name){var y=g+qx.lang.String.firstUp(name);
this.__uf[y](w);
},_applyBaseImage:function(z,A){if(this.__uf instanceof qx.ui.decoration.GridDiv){this.__uf.setBaseImage(z);
}else{this.__ug(z);
}},__ug:function(B){var G,H,J,I;
this.__uf.setBorderImage(B);
var L=qx.util.AliasManager.getInstance().resolve(B);
var M=/(.*)(\.[a-z]+)$/.exec(L);
var K=M[1];
var C=M[2];
var F=qx.util.ResourceManager.getInstance();
var N=F.getImageHeight(K+c+C);
var D=F.getImageWidth(K+a+C);
var E=F.getImageHeight(K+h+C);
var O=F.getImageWidth(K+m+C);
this.__uf.setSlice([N,D,E,O]);
}},destruct:function(){this.__uf=null;
}});
})();
(function(){var j="_applyStyle",i="stretch",h="Integer",g="px",f=" ",e="repeat",d="round",c="shorthand",b="px ",a="sliceBottom",y=";'></div>",x="<div style='",w="sliceLeft",v="sliceRight",u="repeatX",t="String",s="qx.ui.decoration.css3.BorderImage",r="border-box",q="",p='") ',n="sliceTop",o='url("',l="hidden",m="repeatY",k="absolute";
qx.Class.define(s,{extend:qx.ui.decoration.Abstract,construct:function(z,A){qx.ui.decoration.Abstract.call(this);
if(z!=null){this.setBorderImage(z);
}
if(A!=null){this.setSlice(A);
}},statics:{IS_SUPPORTED:qx.bom.element.Style.isPropertySupported("borderImage")},properties:{borderImage:{check:t,nullable:true,apply:j},sliceTop:{check:h,init:0,apply:j},sliceRight:{check:h,init:0,apply:j},sliceBottom:{check:h,init:0,apply:j},sliceLeft:{check:h,init:0,apply:j},slice:{group:[n,v,a,w],mode:c},repeatX:{check:[i,e,d],init:i,apply:j},repeatY:{check:[i,e,d],init:i,apply:j},repeat:{group:[u,m],mode:c}},members:{__ue:null,_getDefaultInsets:function(){return {top:0,right:0,bottom:0,left:0};
},_isInitialized:function(){return !!this.__ue;
},getMarkup:function(){if(this.__ue){return this.__ue;
}var B=this._resolveImageUrl(this.getBorderImage());
var C=[this.getSliceTop(),this.getSliceRight(),this.getSliceBottom(),this.getSliceLeft()];
var D=[this.getRepeatX(),this.getRepeatY()].join(f);
this.__ue=[x,qx.bom.element.Style.compile({"borderImage":o+B+p+C.join(f)+f+D,position:k,lineHeight:0,fontSize:0,overflow:l,boxSizing:r,borderWidth:C.join(b)+g}),y].join(q);
return this.__ue;
},resize:function(E,F,G){E.style.width=F+g;
E.style.height=G+g;
},tint:function(H,I){},_applyStyle:function(){},_resolveImageUrl:function(J){return qx.util.ResourceManager.getInstance().toUri(qx.util.AliasManager.getInstance().resolve(J));
}},destruct:function(){this.__ue=null;
}});
})();
(function(){var j="px",i="0px",h="-1px",g="no-repeat",f="engine.version",e="scale-x",d="scale-y",c="-tr",b="-l",a='</div>',z="scale",y="-br",x="-t",w="browser.quirksmode",v="-tl",u="-r",t='<div style="position:absolute;top:0;left:0;overflow:hidden;font-size:0;line-height:0;">',s="_applyBaseImage",r="-b",q="String",o="",p="-bl",m="qx.ui.decoration.GridDiv",n="-c",k="mshtml",l="engine.name";
qx.Class.define(m,{extend:qx.ui.decoration.Abstract,construct:function(A,B){qx.ui.decoration.Abstract.call(this);
if(A!=null){this.setBaseImage(A);
}
if(B!=null){this.setInsets(B);
}},properties:{baseImage:{check:q,nullable:true,apply:s}},members:{_markup:null,_images:null,_edges:null,_getDefaultInsets:function(){return {top:0,right:0,bottom:0,left:0};
},_isInitialized:function(){return !!this._markup;
},getMarkup:function(){if(this._markup){return this._markup;
}var C=qx.bom.element.Decoration;
var D=this._images;
var E=this._edges;
var F=[];
F.push(t);
F.push(C.create(D.tl,g,{top:0,left:0}));
F.push(C.create(D.t,e,{top:0,left:E.left+j}));
F.push(C.create(D.tr,g,{top:0,right:0}));
F.push(C.create(D.bl,g,{bottom:0,left:0}));
F.push(C.create(D.b,e,{bottom:0,left:E.left+j}));
F.push(C.create(D.br,g,{bottom:0,right:0}));
F.push(C.create(D.l,d,{top:E.top+j,left:0}));
F.push(C.create(D.c,z,{top:E.top+j,left:E.left+j}));
F.push(C.create(D.r,d,{top:E.top+j,right:0}));
F.push(a);
return this._markup=F.join(o);
},resize:function(G,H,I){var J=this._edges;
var innerWidth=H-J.left-J.right;
var innerHeight=I-J.top-J.bottom;
if(innerWidth<0){innerWidth=0;
}
if(innerHeight<0){innerHeight=0;
}G.style.width=H+j;
G.style.height=I+j;
G.childNodes[1].style.width=innerWidth+j;
G.childNodes[4].style.width=innerWidth+j;
G.childNodes[7].style.width=innerWidth+j;
G.childNodes[6].style.height=innerHeight+j;
G.childNodes[7].style.height=innerHeight+j;
G.childNodes[8].style.height=innerHeight+j;

if((qx.core.Environment.get(l)==k)){if(parseFloat(qx.core.Environment.get(f))<7||(qx.core.Environment.get(w)&&parseFloat(qx.core.Environment.get(f))<8)){if(H%2==1){G.childNodes[2].style.marginRight=h;
G.childNodes[5].style.marginRight=h;
G.childNodes[8].style.marginRight=h;
}else{G.childNodes[2].style.marginRight=i;
G.childNodes[5].style.marginRight=i;
G.childNodes[8].style.marginRight=i;
}
if(I%2==1){G.childNodes[3].style.marginBottom=h;
G.childNodes[4].style.marginBottom=h;
G.childNodes[5].style.marginBottom=h;
}else{G.childNodes[3].style.marginBottom=i;
G.childNodes[4].style.marginBottom=i;
G.childNodes[5].style.marginBottom=i;
}}}},tint:function(K,L){},_applyBaseImage:function(M,N){if(M){var R=this._resolveImageUrl(M);
var S=/(.*)(\.[a-z]+)$/.exec(R);
var Q=S[1];
var P=S[2];
var O=this._images={tl:Q+v+P,t:Q+x+P,tr:Q+c+P,bl:Q+p+P,b:Q+r+P,br:Q+y+P,l:Q+b+P,c:Q+n+P,r:Q+u+P};
this._edges=this._computeEdgeSizes(O);
}},_resolveImageUrl:function(T){return qx.util.AliasManager.getInstance().resolve(T);
},_computeEdgeSizes:function(U){var V=qx.util.ResourceManager.getInstance();
return {top:V.getImageHeight(U.t),bottom:V.getImageHeight(U.b),left:V.getImageWidth(U.l),right:V.getImageWidth(U.r)};
}},destruct:function(){this._markup=this._images=this._edges=null;
}});
})();
(function(){var j="px",i="Integer",h="_applyBorderRadius",g="radiusTopRight",f="radiusTopLeft",e="-webkit-border-bottom-left-radius",d="-webkit-background-clip",c="radiusBottomRight",b="-webkit-border-bottom-right-radius",a="border-top-left-radius",w="border-top-right-radius",v="border-bottom-left-radius",u="radiusBottomLeft",t="-webkit-border-top-left-radius",s="shorthand",r="-moz-border-radius-bottomright",q="padding-box",p="border-bottom-right-radius",o="qx.ui.decoration.MBorderRadius",n="-moz-border-radius-topright",l="-webkit-border-top-right-radius",m="-moz-border-radius-topleft",k="-moz-border-radius-bottomleft";
qx.Mixin.define(o,{properties:{radiusTopLeft:{nullable:true,check:i,apply:h},radiusTopRight:{nullable:true,check:i,apply:h},radiusBottomLeft:{nullable:true,check:i,apply:h},radiusBottomRight:{nullable:true,check:i,apply:h},radius:{group:[f,g,c,u],mode:s}},members:{_styleBorderRadius:function(x){x[d]=q;
var y=this.getRadiusTopLeft();

if(y>0){x[m]=y+j;
x[t]=y+j;
x[a]=y+j;
}y=this.getRadiusTopRight();

if(y>0){x[n]=y+j;
x[l]=y+j;
x[w]=y+j;
}y=this.getRadiusBottomLeft();

if(y>0){x[k]=y+j;
x[e]=y+j;
x[v]=y+j;
}y=this.getRadiusBottomRight();

if(y>0){x[r]=y+j;
x[b]=y+j;
x[p]=y+j;
}},_applyBorderRadius:function(){}}});
})();
(function(){var cJ="solid",cI="invalid",cH="scale",cG="border-main",cF="border-invalid",cE="shadow",cD="border-separator",cC="checkbox-hovered",cB="button-start",cA="button-end",bK="background-light",bJ="tabview-background",bI="repeat-x",bH="radiobutton",bG="button-css",bF="border-input",bE="border-inner-input",bD="border-inner-scrollbar",bC="radiobutton-checked",bB="tabview-inactive",cQ="checkbox",cR="window-border",cO="radiobutton-disabled",cP="radiobutton-hovered-invalid",cM="tabview-page-button-top-active-css",cN="button-border-disabeld",cK="tabview-page-button-top-inactive-css",cL="decoration/form/input.png",cS="border-toolbar-border-inner",cT="input-css",cj="border-toolbar-button-outer",ci="border-disabled",cl="background-pane",ck="checkbox-disabled-border",cn="button-hovered-end",cm="repeat-y",cp="border-dragover",co="button-hovered-start",ch="progressive-table-header-border-right",cg="decoration/scrollbar/scrollbar-button-bg-vertical.png",k="radiobutton-background",l="checkbox-focus",m="scrollbar-slider-horizontal-css",n="menu-end",o="decoration/selection.png",p="horizontal",q="table-header-start",r="decoration/scrollbar/scrollbar-button-bg-horizontal.png",s="decoration/form/input-focused.png",t="checkbox-hovered-invalid",di="decoration/table/header-cell.png",dh="tabview-inactive-start",dg="table-header-end",df="border-button",dm="border-focused-invalid",dl="button-focused-css",dk="checkbox-border",dj="tabview-start",dp="checkbox-start",dn="decoration/tabview/tab-button-top-active.png",bb="group-background",bc="decoration/form/button-c.png",Y="keyboard-focus",ba="button-disabled-start",bf="selected-end",bg="table-header-hovered",bd="decoration/groupbox/groupbox.png",be="decoration/pane/pane.png",W="decoration/menu/background.png",X="tooltip-error",J="decoration/toolbar/toolbar-part.gif",I="input-focused-css",L="decoration/menu/bar-background.png",K="window-border-caption",F="radiobutton-hovered",E="decoration/tabview/tab-button-bottom-active.png",H="radiobutton-checked-focused",G="groupitem-end",D="button-disabled-css",C="group-border",bl="scrollbar-slider-vertical-css",bm="decoration/form/button-checked.png",bn="window-css",bo="selected-start",bh="window-resize-frame-css",bi="tabview-end",bj="window-statusbar-background",bk="decoration/scrollbar/scrollbar-bg-vertical.png",bp="button-pressed-css",bq="toolbar-button-hovered-css",T="window-caption-active-end",S="dotted",R="checkbox-disabled-end",Q="window-caption-active-start",P="button-focused",O="menu-start",N="decoration/form/tooltip-error.png",M="window-captionbar-active-css",V="qx/decoration/Modern",U="border-toolbar-separator-left",br="decoration/scrollbar/scrollbar-bg-horizontal.png",bs="decoration/tabview/tab-button-left-active.png",bt="decoration/tabview/tab-button-right-inactive.png",bu="decoration/tabview/tab-button-bottom-inactive.png",bv="decoration/form/button-disabled.png",bw="decoration/form/button-pressed.png",bx="background-splitpane",by="decoration/form/button-checked-focused.png",bz="px",bA="decoration/window/statusbar.png",bO="input-border-disabled",bN="checkbox-inner",bM="scrollbar-horizontal-css",bL="button-disabled-end",bS="center",bR="toolbar-end",bQ="groupitem-start",bP="decoration/form/button-hovered.png",bU="checkbox-hovered-inner",bT="input-focused-start",cc="scrollbar-start",cd="scrollbar-slider-start",ca="radiobutton-checked-disabled",cb="checkbox-focused",bX="qx.theme.modern.Decoration",bY="decoration/form/button.png",bV="decoration/app-header.png",bW="decoration/form/button-focused.png",ce="radiobutton-checked-hovered",cf="button-hovered-css",ct="checkbox-disabled-inner",cs="border-toolbar-separator-right",cv="border-focused",cu="decoration/shadow/shadow.png",cx="scrollbar-end",cw="decoration/group-item.png",cz="window-caption-inactive-end",cy="checkbox-end",cr="tabview-inactive-end",cq="input-end",db="no-repeat",dc="decoration/tabview/tab-button-left-inactive.png",dd="input-focused-inner-invalid",de="menu-separator-top",cW="window-caption-inactive-start",cX="scrollbar-slider-end",cY="decoration/window/captionbar-inactive.png",da="decoration/tabview/tab-button-top-inactive.png",cU="pane-end",cV="input-focused-end",j="decoration/form/tooltip-error-arrow.png",i="menubar-start",h="toolbar-start",g="checkbox-disabled-start",f="radiobutton-focused",e="pane-start",d="table-focus-indicator",c="button-checked-css",b="decoration/form/button-checked-c.png",a="menu-separator-bottom",w="decoration/shadow/shadow-small.png",x="input-start",u="decoration/tabview/tabview-pane.png",v="decoration/window/captionbar-active.png",A="decoration/tabview/tab-button-right-active.png",B="button-checked-focused-css",y="decoration/toolbar/toolbar-gradient.png",z="checkbox-hovered-inner-invalid";
qx.Theme.define(bX,{aliases:{decoration:V},decorations:{"main":{decorator:qx.ui.decoration.Uniform,style:{width:1,color:cG}},"selected":{decorator:qx.ui.decoration.Background,style:{backgroundImage:o,backgroundRepeat:cH}},"selected-css":{decorator:[qx.ui.decoration.MLinearBackgroundGradient],style:{startColorPosition:0,endColorPosition:100,startColor:bo,endColor:bf}},"selected-dragover":{decorator:qx.ui.decoration.Single,style:{backgroundImage:o,backgroundRepeat:cH,bottom:[2,cJ,cp]}},"dragover":{decorator:qx.ui.decoration.Single,style:{bottom:[2,cJ,cp]}},"pane":{decorator:qx.ui.decoration.Grid,style:{baseImage:be,insets:[0,2,3,0]}},"pane-css":{decorator:[qx.ui.decoration.MSingleBorder,qx.ui.decoration.MBorderRadius,qx.ui.decoration.MBoxShadow,qx.ui.decoration.MLinearBackgroundGradient],style:{width:1,color:bJ,radius:3,shadowColor:cE,shadowBlurRadius:2,shadowLength:0,gradientStart:[e,0],gradientEnd:[cU,100]}},"group":{decorator:qx.ui.decoration.Grid,style:{baseImage:bd}},"group-css":{decorator:[qx.ui.decoration.MBackgroundColor,qx.ui.decoration.MBorderRadius,qx.ui.decoration.MSingleBorder],style:{backgroundColor:bb,radius:4,color:C,width:1}},"border-invalid":{decorator:qx.ui.decoration.Beveled,style:{outerColor:cI,innerColor:bE,innerOpacity:0.5,backgroundImage:cL,backgroundRepeat:bI,backgroundColor:bK}},"keyboard-focus":{decorator:qx.ui.decoration.Single,style:{width:1,color:Y,style:S}},"radiobutton":{decorator:[qx.ui.decoration.MDoubleBorder,qx.ui.decoration.MBackgroundColor,qx.ui.decoration.MBorderRadius,qx.ui.decoration.MBoxShadow],style:{backgroundColor:k,radius:5,width:1,innerWidth:2,color:dk,innerColor:k,shadowLength:0,shadowBlurRadius:0,shadowColor:l,insetLeft:5}},"radiobutton-checked":{include:bH,style:{backgroundColor:bC}},"radiobutton-checked-focused":{include:bC,style:{shadowBlurRadius:4}},"radiobutton-checked-hovered":{include:bC,style:{innerColor:cC}},"radiobutton-focused":{include:bH,style:{shadowBlurRadius:4}},"radiobutton-hovered":{include:bH,style:{backgroundColor:cC,innerColor:cC}},"radiobutton-disabled":{include:bH,style:{innerColor:cO,backgroundColor:cO,color:ck}},"radiobutton-checked-disabled":{include:cO,style:{backgroundColor:ca}},"radiobutton-invalid":{include:bH,style:{color:cI}},"radiobutton-checked-invalid":{include:bC,style:{color:cI}},"radiobutton-checked-focused-invalid":{include:H,style:{color:cI,shadowColor:cI}},"radiobutton-checked-hovered-invalid":{include:ce,style:{color:cI,innerColor:cP}},"radiobutton-focused-invalid":{include:f,style:{color:cI,shadowColor:cI}},"radiobutton-hovered-invalid":{include:F,style:{color:cI,innerColor:cP,backgroundColor:cP}},"separator-horizontal":{decorator:qx.ui.decoration.Single,style:{widthLeft:1,colorLeft:cD}},"separator-vertical":{decorator:qx.ui.decoration.Single,style:{widthTop:1,colorTop:cD}},"tooltip-error":{decorator:qx.ui.decoration.Grid,style:{baseImage:N,insets:[2,5,5,2]}},"tooltip-error-css":{decorator:[qx.ui.decoration.MBackgroundColor,qx.ui.decoration.MBorderRadius,qx.ui.decoration.MBoxShadow],style:{backgroundColor:X,radius:4,shadowColor:cE,shadowBlurRadius:2,shadowLength:1}},"tooltip-error-arrow":{decorator:qx.ui.decoration.Background,style:{backgroundImage:j,backgroundPositionY:bS,backgroundRepeat:db,insets:[0,0,0,10]}},"shadow-window":{decorator:qx.ui.decoration.Grid,style:{baseImage:cu,insets:[4,8,8,4]}},"shadow-window-css":{decorator:[qx.ui.decoration.MBoxShadow,qx.ui.decoration.MBackgroundColor],style:{shadowColor:cE,shadowBlurRadius:2,shadowLength:1}},"shadow-popup":{decorator:qx.ui.decoration.Grid,style:{baseImage:w,insets:[0,3,3,0]}},"popup-css":{decorator:[qx.ui.decoration.MSingleBorder,qx.ui.decoration.MBoxShadow,qx.ui.decoration.MBackgroundColor],style:{width:1,color:cG,shadowColor:cE,shadowBlurRadius:3,shadowLength:1}},"scrollbar-horizontal":{decorator:qx.ui.decoration.Background,style:{backgroundImage:br,backgroundRepeat:bI}},"scrollbar-vertical":{decorator:qx.ui.decoration.Background,style:{backgroundImage:bk,backgroundRepeat:cm}},"scrollbar-slider-horizontal":{decorator:qx.ui.decoration.Beveled,style:{backgroundImage:r,backgroundRepeat:cH,outerColor:cG,innerColor:bD,innerOpacity:0.5}},"scrollbar-slider-horizontal-disabled":{decorator:qx.ui.decoration.Beveled,style:{backgroundImage:r,backgroundRepeat:cH,outerColor:ci,innerColor:bD,innerOpacity:0.3}},"scrollbar-slider-vertical":{decorator:qx.ui.decoration.Beveled,style:{backgroundImage:cg,backgroundRepeat:cH,outerColor:cG,innerColor:bD,innerOpacity:0.5}},"scrollbar-slider-vertical-disabled":{decorator:qx.ui.decoration.Beveled,style:{backgroundImage:cg,backgroundRepeat:cH,outerColor:ci,innerColor:bD,innerOpacity:0.3}},"scrollbar-horizontal-css":{decorator:[qx.ui.decoration.MLinearBackgroundGradient],style:{gradientStart:[cc,0],gradientEnd:[cx,100]}},"scrollbar-vertical-css":{include:bM,style:{orientation:p}},"scrollbar-slider-horizontal-css":{decorator:[qx.ui.decoration.MSingleBorder,qx.ui.decoration.MLinearBackgroundGradient],style:{gradientStart:[cd,0],gradientEnd:[cX,100],color:cG,width:1}},"scrollbar-slider-vertical-css":{include:m,style:{orientation:p}},"scrollbar-slider-horizontal-disabled-css":{include:m,style:{color:cN}},"scrollbar-slider-vertical-disabled-css":{include:bl,style:{color:cN}},"button-css":{decorator:[qx.ui.decoration.MSingleBorder,qx.ui.decoration.MLinearBackgroundGradient,qx.ui.decoration.MBorderRadius],style:{radius:3,color:df,width:1,startColor:cB,endColor:cA,startColorPosition:35,endColorPosition:100}},"button-disabled-css":{include:bG,style:{color:cN,startColor:ba,endColor:bL}},"button-hovered-css":{include:bG,style:{startColor:co,endColor:cn}},"button-checked-css":{include:bG,style:{endColor:cB,startColor:cA}},"button-pressed-css":{include:bG,style:{endColor:co,startColor:cn}},"button-focused-css":{decorator:[qx.ui.decoration.MDoubleBorder,qx.ui.decoration.MLinearBackgroundGradient,qx.ui.decoration.MBorderRadius],style:{radius:3,color:df,width:1,innerColor:P,innerWidth:2,startColor:cB,endColor:cA,startColorPosition:30,endColorPosition:100}},"button-checked-focused-css":{include:dl,style:{endColor:cB,startColor:cA}},"button-invalid-css":{include:bG,style:{color:cF}},"button-disabled-invalid-css":{include:D,style:{color:cF}},"button-hovered-invalid-css":{include:cf,style:{color:cF}},"button-checked-invalid-css":{include:c,style:{color:cF}},"button-pressed-invalid-css":{include:bp,style:{color:cF}},"button-focused-invalid-css":{include:dl,style:{color:cF}},"button-checked-focused-invalid-css":{include:B,style:{color:cF}},"button":{decorator:qx.ui.decoration.Grid,style:{baseImage:bY,insets:2}},"button-disabled":{decorator:qx.ui.decoration.Grid,style:{baseImage:bv,insets:2}},"button-focused":{decorator:qx.ui.decoration.Grid,style:{baseImage:bW,insets:2}},"button-hovered":{decorator:qx.ui.decoration.Grid,style:{baseImage:bP,insets:2}},"button-pressed":{decorator:qx.ui.decoration.Grid,style:{baseImage:bw,insets:2}},"button-checked":{decorator:qx.ui.decoration.Grid,style:{baseImage:bm,insets:2}},"button-checked-focused":{decorator:qx.ui.decoration.Grid,style:{baseImage:by,insets:2}},"button-invalid-shadow":{decorator:qx.ui.decoration.Single,style:{color:cI,width:1}},"checkbox-invalid-shadow":{decorator:qx.ui.decoration.Beveled,style:{outerColor:cI,innerColor:dm,insets:[0]}},"checkbox":{decorator:[qx.ui.decoration.MDoubleBorder,qx.ui.decoration.MLinearBackgroundGradient,qx.ui.decoration.MBoxShadow],style:{width:1,color:dk,innerWidth:1,innerColor:bN,gradientStart:[dp,0],gradientEnd:[cy,100],shadowLength:0,shadowBlurRadius:0,shadowColor:l,insetLeft:4}},"checkbox-hovered":{include:cQ,style:{innerColor:bU,gradientStart:[cC,0],gradientEnd:[cC,100]}},"checkbox-focused":{include:cQ,style:{shadowBlurRadius:4}},"checkbox-disabled":{include:cQ,style:{color:ck,innerColor:ct,gradientStart:[g,0],gradientEnd:[R,100]}},"checkbox-invalid":{include:cQ,style:{color:cI}},"checkbox-hovered-invalid":{include:cC,style:{color:cI,innerColor:z,gradientStart:[t,0],gradientEnd:[t,100]}},"checkbox-focused-invalid":{include:cb,style:{color:cI,shadowColor:cI}},"input-css":{decorator:[qx.ui.decoration.MDoubleBorder,qx.ui.decoration.MLinearBackgroundGradient,qx.ui.decoration.MBackgroundColor],style:{color:bF,innerColor:bE,innerWidth:1,width:1,backgroundColor:bK,startColor:x,endColor:cq,startColorPosition:0,endColorPosition:12,colorPositionUnit:bz}},"border-invalid-css":{include:cT,style:{color:cF}},"input-focused-css":{include:cT,style:{startColor:bT,innerColor:cV,endColorPosition:4}},"input-focused-invalid-css":{include:I,style:{innerColor:dd,color:cF}},"input-disabled-css":{include:cT,style:{color:bO}},"input":{decorator:qx.ui.decoration.Beveled,style:{outerColor:bF,innerColor:bE,innerOpacity:0.5,backgroundImage:cL,backgroundRepeat:bI,backgroundColor:bK}},"input-focused":{decorator:qx.ui.decoration.Beveled,style:{outerColor:bF,innerColor:cv,backgroundImage:s,backgroundRepeat:bI,backgroundColor:bK}},"input-focused-invalid":{decorator:qx.ui.decoration.Beveled,style:{outerColor:cI,innerColor:dm,backgroundImage:s,backgroundRepeat:bI,backgroundColor:bK,insets:[2]}},"input-disabled":{decorator:qx.ui.decoration.Beveled,style:{outerColor:ci,innerColor:bE,innerOpacity:0.5,backgroundImage:cL,backgroundRepeat:bI,backgroundColor:bK}},"toolbar":{decorator:qx.ui.decoration.Background,style:{backgroundImage:y,backgroundRepeat:cH}},"toolbar-css":{decorator:[qx.ui.decoration.MLinearBackgroundGradient],style:{startColorPosition:40,endColorPosition:60,startColor:h,endColor:bR}},"toolbar-button-hovered":{decorator:qx.ui.decoration.Beveled,style:{outerColor:cj,innerColor:cS,backgroundImage:bc,backgroundRepeat:cH}},"toolbar-button-checked":{decorator:qx.ui.decoration.Beveled,style:{outerColor:cj,innerColor:cS,backgroundImage:b,backgroundRepeat:cH}},"toolbar-button-hovered-css":{decorator:[qx.ui.decoration.MDoubleBorder,qx.ui.decoration.MLinearBackgroundGradient,qx.ui.decoration.MBorderRadius],style:{color:cj,width:1,innerWidth:1,innerColor:cS,radius:2,gradientStart:[cB,30],gradientEnd:[cA,100]}},"toolbar-button-checked-css":{include:bq,style:{gradientStart:[cA,30],gradientEnd:[cB,100]}},"toolbar-separator":{decorator:qx.ui.decoration.Single,style:{widthLeft:1,widthRight:1,colorLeft:U,colorRight:cs,styleLeft:cJ,styleRight:cJ}},"toolbar-part":{decorator:qx.ui.decoration.Background,style:{backgroundImage:J,backgroundRepeat:cm}},"tabview-pane":{decorator:qx.ui.decoration.Grid,style:{baseImage:u,insets:[4,6,7,4]}},"tabview-pane-css":{decorator:[qx.ui.decoration.MBorderRadius,qx.ui.decoration.MLinearBackgroundGradient,qx.ui.decoration.MSingleBorder],style:{width:1,color:cR,radius:3,gradientStart:[dj,90],gradientEnd:[bi,100]}},"tabview-page-button-top-active":{decorator:qx.ui.decoration.Grid,style:{baseImage:dn}},"tabview-page-button-top-inactive":{decorator:qx.ui.decoration.Grid,style:{baseImage:da}},"tabview-page-button-bottom-active":{decorator:qx.ui.decoration.Grid,style:{baseImage:E}},"tabview-page-button-bottom-inactive":{decorator:qx.ui.decoration.Grid,style:{baseImage:bu}},"tabview-page-button-left-active":{decorator:qx.ui.decoration.Grid,style:{baseImage:bs}},"tabview-page-button-left-inactive":{decorator:qx.ui.decoration.Grid,style:{baseImage:dc}},"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:bt}},"tabview-page-button-top-active-css":{decorator:[qx.ui.decoration.MBorderRadius,qx.ui.decoration.MSingleBorder,qx.ui.decoration.MBackgroundColor,qx.ui.decoration.MBoxShadow],style:{radius:[3,3,0,0],width:[1,1,0,1],color:bJ,backgroundColor:dj,shadowLength:1,shadowColor:cE,shadowBlurRadius:2}},"tabview-page-button-top-inactive-css":{decorator:[qx.ui.decoration.MBorderRadius,qx.ui.decoration.MSingleBorder,qx.ui.decoration.MLinearBackgroundGradient],style:{radius:[3,3,0,0],color:bB,colorBottom:bJ,width:1,gradientStart:[dh,0],gradientEnd:[cr,100]}},"tabview-page-button-bottom-active-css":{include:cM,style:{radius:[0,0,3,3],width:[0,1,1,1],backgroundColor:dh}},"tabview-page-button-bottom-inactive-css":{include:cK,style:{radius:[0,0,3,3],width:[0,1,1,1],colorBottom:bB,colorTop:bJ}},"tabview-page-button-left-active-css":{include:cM,style:{radius:[3,0,0,3],width:[1,0,1,1],shadowLength:0,shadowBlurRadius:0}},"tabview-page-button-left-inactive-css":{include:cK,style:{radius:[3,0,0,3],width:[1,0,1,1],colorBottom:bB,colorRight:bJ}},"tabview-page-button-right-active-css":{include:cM,style:{radius:[0,3,3,0],width:[1,1,1,0],shadowLength:0,shadowBlurRadius:0}},"tabview-page-button-right-inactive-css":{include:cK,style:{radius:[0,3,3,0],width:[1,1,1,0],colorBottom:bB,colorLeft:bJ}},"splitpane":{decorator:qx.ui.decoration.Uniform,style:{backgroundColor:cl,width:3,color:bx,style:cJ}},"window":{decorator:qx.ui.decoration.Single,style:{backgroundColor:cl,width:1,color:cG,widthTop:0}},"window-captionbar-active":{decorator:qx.ui.decoration.Grid,style:{baseImage:v}},"window-captionbar-inactive":{decorator:qx.ui.decoration.Grid,style:{baseImage:cY}},"window-statusbar":{decorator:qx.ui.decoration.Grid,style:{baseImage:bA}},"window-css":{decorator:[qx.ui.decoration.MBorderRadius,qx.ui.decoration.MBoxShadow,qx.ui.decoration.MSingleBorder],style:{radius:[5,5,0,0],shadowBlurRadius:4,shadowLength:2,shadowColor:cE}},"window-incl-statusbar-css":{include:bn,style:{radius:[5,5,5,5]}},"window-resize-frame-css":{decorator:[qx.ui.decoration.MBorderRadius,qx.ui.decoration.MSingleBorder],style:{radius:[5,5,0,0],width:1,color:cG}},"window-resize-frame-incl-statusbar-css":{include:bh,style:{radius:[5,5,5,5]}},"window-captionbar-active-css":{decorator:[qx.ui.decoration.MSingleBorder,qx.ui.decoration.MBorderRadius,qx.ui.decoration.MLinearBackgroundGradient],style:{width:1,color:cR,colorBottom:K,radius:[5,5,0,0],gradientStart:[Q,30],gradientEnd:[T,70]}},"window-captionbar-inactive-css":{include:M,style:{gradientStart:[cW,30],gradientEnd:[cz,70]}},"window-statusbar-css":{decorator:[qx.ui.decoration.MBackgroundColor,qx.ui.decoration.MSingleBorder,qx.ui.decoration.MBorderRadius],style:{backgroundColor:bj,width:[0,1,1,1],color:cR,radius:[0,0,5,5]}},"window-pane-css":{decorator:[qx.ui.decoration.MSingleBorder,qx.ui.decoration.MBackgroundColor],style:{backgroundColor:cl,width:1,color:cR,widthTop:0}},"table":{decorator:qx.ui.decoration.Single,style:{width:1,color:cG,style:cJ}},"table-statusbar":{decorator:qx.ui.decoration.Single,style:{widthTop:1,colorTop:cG,style:cJ}},"table-scroller-header":{decorator:qx.ui.decoration.Single,style:{backgroundImage:di,backgroundRepeat:cH,widthBottom:1,colorBottom:cG,style:cJ}},"table-scroller-header-css":{decorator:[qx.ui.decoration.MSingleBorder,qx.ui.decoration.MLinearBackgroundGradient],style:{gradientStart:[q,10],gradientEnd:[dg,90],widthBottom:1,colorBottom:cG}},"table-header-cell":{decorator:qx.ui.decoration.Single,style:{widthRight:1,colorRight:cD,styleRight:cJ}},"table-header-cell-hovered":{decorator:qx.ui.decoration.Single,style:{widthRight:1,colorRight:cD,styleRight:cJ,widthBottom:1,colorBottom:bg,styleBottom:cJ}},"table-scroller-focus-indicator":{decorator:qx.ui.decoration.Single,style:{width:2,color:d,style:cJ}},"progressive-table-header":{decorator:qx.ui.decoration.Single,style:{width:1,color:cG,style:cJ}},"progressive-table-header-cell":{decorator:qx.ui.decoration.Single,style:{backgroundImage:di,backgroundRepeat:cH,widthRight:1,colorRight:ch,style:cJ}},"progressive-table-header-cell-css":{decorator:[qx.ui.decoration.MSingleBorder,qx.ui.decoration.MLinearBackgroundGradient],style:{gradientStart:[q,10],gradientEnd:[dg,90],widthRight:1,colorRight:ch}},"menu":{decorator:qx.ui.decoration.Single,style:{backgroundImage:W,backgroundRepeat:cH,width:1,color:cG,style:cJ}},"menu-css":{decorator:[qx.ui.decoration.MLinearBackgroundGradient,qx.ui.decoration.MBoxShadow,qx.ui.decoration.MSingleBorder],style:{gradientStart:[O,0],gradientEnd:[n,100],shadowColor:cE,shadowBlurRadius:2,shadowLength:1,width:1,color:cG}},"menu-separator":{decorator:qx.ui.decoration.Single,style:{widthTop:1,colorTop:de,widthBottom:1,colorBottom:a}},"menubar":{decorator:qx.ui.decoration.Single,style:{backgroundImage:L,backgroundRepeat:cH,width:1,color:cD,style:cJ}},"menubar-css":{decorator:[qx.ui.decoration.MSingleBorder,qx.ui.decoration.MLinearBackgroundGradient],style:{gradientStart:[i,0],gradientEnd:[n,100],width:1,color:cD}},"app-header":{decorator:qx.ui.decoration.Background,style:{backgroundImage:bV,backgroundRepeat:cH}},"progressbar":{decorator:qx.ui.decoration.Single,style:{width:1,color:bF}},"group-item":{decorator:qx.ui.decoration.Background,style:{backgroundImage:cw,backgroundRepeat:cH}},"group-item-css":{decorator:[qx.ui.decoration.MLinearBackgroundGradient],style:{startColorPosition:0,endColorPosition:100,startColor:bQ,endColor:G}}}});
})();
(function(){var l="solid",k="#ff0000",j="resource/images/grfind/paper.jpg",i="#000000",h="#FF0000",g="#35DB35",f="dashed",e="#FF6EB4",d="grfind.theme.Decoration",c="green",a="#F0F2FF",b="aqua";
qx.Theme.define(d,{extend:qx.theme.modern.Decoration,decorations:{"grfind-background":{decorator:qx.ui.decoration.Background,style:{backgroundImage:j}},"dbmaker-background":{decorator:qx.ui.decoration.Background,style:{backgroundImage:j}},"app-background":{decorator:qx.ui.decoration.Background,style:{backgroundImage:j}},"im-box":{decorator:qx.ui.decoration.Single,style:{color:k,style:l,width:[0,0,1,0]}},"atom-selected":{decorator:qx.ui.decoration.Uniform,style:{width:2,color:k,style:l}},"aqua-box":{decorator:qx.ui.decoration.Uniform,style:{width:1,color:b,style:l}},"pink-box":{decorator:qx.ui.decoration.Uniform,style:{width:1,color:e,style:l}},"red-box":{decorator:qx.ui.decoration.Uniform,style:{width:1,color:h,style:l}},"red-box-2":{decorator:qx.ui.decoration.Uniform,style:{width:2,color:h,style:l}},"online":{decorator:qx.ui.decoration.Uniform,style:{width:1,color:g,style:l}},"online-2":{decorator:qx.ui.decoration.Uniform,style:{width:2,color:g,style:l}},"offline":{decorator:qx.ui.decoration.Uniform,style:{width:1,color:k,style:l}},"window-icon":{decorator:qx.ui.decoration.Uniform,style:{width:1,color:a}},"frame-black":{decorator:qx.ui.decoration.Uniform,style:{width:1,color:i}},"frame-dashed":{decorator:qx.ui.decoration.Uniform,style:{width:1,color:k,style:f}},"upload-button":{decorator:qx.ui.decoration.Uniform,style:{width:3,color:i,backgroundImage:null}},"plain-white":{decorator:qx.ui.decoration.Background,style:{backgroundColor:c}}}});
})();
(function(){var a="grfind.theme.Theme";
qx.Theme.define(a,{meta:{color:grfind.theme.Color,decoration:grfind.theme.Decoration,font:grfind.theme.Font,icon:qx.theme.icon.Oxygen,appearance:grfind.theme.Appearance}});
})();


qx.$$loader.init();


