(function(){ if (!window.qx) window.qx = {}; qx.$$start = new Date(); if (!qx.$$environment) qx.$$environment = {}; var envinfo = {"qx.application":"darktheme.demo.Application","qx.debug":false,"qx.debug.databinding":false,"qx.debug.dispose":false,"qx.debug.io":false,"qx.debug.ui.queue":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.optimization.whitespace":true,"qx.revision":"","qx.theme":"darktheme.demo.theme.Theme","qx.version":"5.0.1"}; for (var k in envinfo) qx.$$environment[k] = envinfo[k]; if (!qx.$$libraries) qx.$$libraries = {}; var libinfo = {"__out__":{"sourceUri":"script"},"darktheme":{"resourceUri":"resource","sourceUri":"script"},"darktheme.demo":{"resourceUri":"resource","sourceUri":"script"},"qx":{"resourceUri":"resource","sourceUri":"script","sourceViewUri":"https://github.com/qooxdoo/qooxdoo/blob/%{qxGitBranch}/framework/source/class/%{classFilePath}#L%{lineNumber}"},"qxc.application.formdemo":{"resourceUri":"resource","sourceUri":"script"}}; for (var k in libinfo) qx.$$libraries[k] = libinfo[k]; qx.$$resources = {}; qx.$$translations = {"C":null,"en":null}; qx.$$locales = {"C":null,"en":null}; qx.$$packageData = {}; qx.$$g = {} qx.$$loader = { parts : {"boot":[1023],"embed":[1023,1019,256],"embedframe":[1023,1019,16],"form":[1023,1019,41,513,33,65,1],"list":[1023,1019,41,33,40,32],"misc":[1023,1019,2],"tab":[1023,1019,128],"toolbar":[1023,1019,513,512],"tree":[1023,1019,41,40,8],"window":[1023,1019,65,64]}, packages : {"1":{"uris":["__out__:darktheme.demo.8cd8085da2db.js"]},"2":{"uris":["__out__:darktheme.demo.6f5373193eca.js"]},"8":{"uris":["__out__:darktheme.demo.83c2785d630c.js"]},"16":{"uris":["__out__:darktheme.demo.1479d5f0c9e6.js"]},"32":{"uris":["__out__:darktheme.demo.95a6f57e8834.js"]},"33":{"uris":["__out__:darktheme.demo.dc45f6b1bd55.js"]},"40":{"uris":["__out__:darktheme.demo.c0bc8d5b6480.js"]},"41":{"uris":["__out__:darktheme.demo.4b99ada33419.js"]},"64":{"uris":["__out__:darktheme.demo.5a5e2f29811b.js"]},"65":{"uris":["__out__:darktheme.demo.31a173d44600.js"]},"128":{"uris":["__out__:darktheme.demo.9c2d5e2c54ca.js"]},"256":{"uris":["__out__:darktheme.demo.8a736ca3cb11.js"]},"512":{"uris":["__out__:darktheme.demo.de9ea91a396f.js"]},"513":{"uris":["__out__:darktheme.demo.bf1387e78782.js"]},"1019":{"uris":["__out__:darktheme.demo.444bf03d198a.js"]},"1023":{"uris":["__out__:darktheme.demo.c4bc62850688.js"]}}, urisBefore : [], cssBefore : [], boot : "boot", closureParts : {"embed":true,"embedframe":true,"form":true,"list":true,"misc":true,"tab":true,"toolbar":true,"tree":true,"window":true}, bootIsInline : true, addNoCacheParam : false, decodeUris : function(compressedUris) { var libs = qx.$$libraries; var uris = []; for (var i=0; i0) { for (var i=0, m=l.cssBefore.length; i0){ 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['1023']={"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_EHm":"E HH:mm","cldr_date_time_format_EHms":"E HH:mm:ss","cldr_date_time_format_Ed":"d E","cldr_date_time_format_Ehm":"E h:mm a","cldr_date_time_format_Ehms":"E h:mm:ss a","cldr_date_time_format_Gy":"y G","cldr_date_time_format_GyMMM":"MMM y G","cldr_date_time_format_GyMMMEd":"E, MMM d, y G","cldr_date_time_format_GyMMMd":"MMM d, y G","cldr_date_time_format_H":"HH","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_h":"h a","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":"E, M/d/y","cldr_date_time_format_yMMM":"MMM y","cldr_date_time_format_yMMMEd":"E, MMM d, y","cldr_date_time_format_yMMMd":"MMM d, y","cldr_date_time_format_yMd":"M/d/y","cldr_date_time_format_yQQQ":"QQQ y","cldr_date_time_format_yQQQQ":"QQQQ 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_short_fri":"Fr","cldr_day_format_short_mon":"Mo","cldr_day_format_short_sat":"Sa","cldr_day_format_short_sun":"Su","cldr_day_format_short_thu":"Th","cldr_day_format_short_tue":"Tu","cldr_day_format_short_wed":"We","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","quotationEnd":"”","quotationStart":"“"},"en":{"alternateQuotationEnd":"’","alternateQuotationStart":"‘","cldr_am":"AM","cldr_date_format_full":"EEEE, MMMM d, y","cldr_date_format_long":"MMMM d, y","cldr_date_format_medium":"MMM d, y","cldr_date_format_short":"M/d/yy","cldr_date_time_format_EHm":"E HH:mm","cldr_date_time_format_EHms":"E HH:mm:ss","cldr_date_time_format_Ed":"d E","cldr_date_time_format_Ehm":"E h:mm a","cldr_date_time_format_Ehms":"E h:mm:ss a","cldr_date_time_format_Gy":"y G","cldr_date_time_format_GyMMM":"MMM y G","cldr_date_time_format_GyMMMEd":"E, MMM d, y G","cldr_date_time_format_GyMMMd":"MMM d, y G","cldr_date_time_format_H":"HH","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_h":"h a","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":"E, M/d/y","cldr_date_time_format_yMMM":"MMM y","cldr_date_time_format_yMMMEd":"E, MMM d, y","cldr_date_time_format_yMMMd":"MMM d, y","cldr_date_time_format_yMd":"M/d/y","cldr_date_time_format_yQQQ":"QQQ y","cldr_date_time_format_yQQQQ":"QQQQ 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_short_fri":"Fr","cldr_day_format_short_mon":"Mo","cldr_day_format_short_sat":"Sa","cldr_day_format_short_sun":"Su","cldr_day_format_short_thu":"Th","cldr_day_format_short_tue":"Tu","cldr_day_format_short_wed":"We","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","quotationEnd":"”","quotationStart":"“"}},"resources":{"darktheme/decoration/application/app-header.jpg":[420,60,"jpeg","darktheme"],"darktheme/decoration/arrows/down-invert.png":[8,5,"png","darktheme"],"darktheme/decoration/arrows/down-small-invert.png":[5,3,"png","darktheme"],"darktheme/decoration/arrows/forward-invert.png":[10,8,"png","darktheme"],"darktheme/decoration/arrows/forward.png":[10,8,"png","darktheme"],"darktheme/decoration/arrows/left-invert.png":[5,8,"png","darktheme"],"darktheme/decoration/arrows/rewind-invert.png":[10,8,"png","darktheme"],"darktheme/decoration/arrows/rewind.png":[10,8,"png","darktheme"],"darktheme/decoration/arrows/right-invert.png":[5,8,"png","darktheme"],"darktheme/decoration/arrows/up-invert.png":[8,5,"png","darktheme"],"darktheme/decoration/arrows/up-small-invert.png":[5,3,"png","darktheme"],"darktheme/decoration/bar/background-selected.png":[4,36,"png","darktheme"],"darktheme/decoration/bar/background.png":[4,36,"png","darktheme"],"darktheme/decoration/button/button-disabled.png":[34,34,"png","darktheme"],"darktheme/decoration/button/button-hovered.png":[34,34,"png","darktheme"],"darktheme/decoration/button/button-invalid.png":[34,34,"png","darktheme"],"darktheme/decoration/button/button-pressed-disabled.png":[34,34,"png","darktheme"],"darktheme/decoration/button/button-pressed-invalid.png":[34,34,"png","darktheme"],"darktheme/decoration/button/button-pressed.png":[34,34,"png","darktheme"],"darktheme/decoration/button/button-simple-disabled.png":[20,20,"png","darktheme"],"darktheme/decoration/button/button-simple-hovered.png":[16,16,"png","darktheme"],"darktheme/decoration/button/button-simple-pressed-disabled.png":[20,22,"png","darktheme"],"darktheme/decoration/button/button-simple-pressed.png":[20,22,"png","darktheme"],"darktheme/decoration/button/button-simple.png":[20,22,"png","darktheme"],"darktheme/decoration/button/button.png":[34,34,"png","darktheme"],"darktheme/decoration/button/split-button-disabled.png":[29,34,"png","darktheme"],"darktheme/decoration/button/split-button-hovered.png":[29,34,"png","darktheme"],"darktheme/decoration/button/split-button-pressed.png":[29,34,"png","darktheme"],"darktheme/decoration/button/split-button-right-disabled.png":[29,34,"png","darktheme"],"darktheme/decoration/button/split-button-right-hovered.png":[29,34,"png","darktheme"],"darktheme/decoration/button/split-button-right-pressed.png":[29,34,"png","darktheme"],"darktheme/decoration/button/split-button-right.png":[29,34,"png","darktheme"],"darktheme/decoration/button/split-button.png":[29,34,"png","darktheme"],"darktheme/decoration/checkbox/blank.png":[1,1,"png","darktheme"],"darktheme/decoration/checkbox/undetermined-disabled.png":[16,16,"png","darktheme"],"darktheme/decoration/checkbox/undetermined-hovered.png":[15,15,"png","darktheme"],"darktheme/decoration/checkbox/undetermined.png":[15,15,"png","darktheme"],"darktheme/decoration/colorselector/brightness-field.png":[19,256,"png","darktheme"],"darktheme/decoration/colorselector/brightness-handle.gif":[35,11,"gif","darktheme"],"darktheme/decoration/colorselector/huesaturation-field.jpg":[256,256,"jpeg","darktheme"],"darktheme/decoration/colorselector/huesaturation-handle.gif":[11,11,"gif","darktheme"],"darktheme/decoration/cursors/alias.gif":[19,15,"gif","darktheme"],"darktheme/decoration/cursors/copy.gif":[19,15,"gif","darktheme"],"darktheme/decoration/cursors/move.gif":[13,9,"gif","darktheme"],"darktheme/decoration/cursors/nodrop.gif":[20,20,"gif","darktheme"],"darktheme/decoration/form/display-blue.png":[148,39,"png","darktheme"],"darktheme/decoration/form/display-gray.png":[148,39,"png","darktheme"],"darktheme/decoration/form/display.png":[148,39,"png","darktheme"],"darktheme/decoration/form/groupbox-focused.png":[148,39,"png","darktheme"],"darktheme/decoration/form/groupbox.png":[148,39,"png","darktheme"],"darktheme/decoration/form/input-error.png":[148,39,"png","darktheme"],"darktheme/decoration/form/input-invalid.png":[148,39,"png","darktheme"],"darktheme/decoration/form/tooltip-error-arrow-left.png":[11,14,"png","darktheme"],"darktheme/decoration/form/tooltip-error-arrow-right.png":[11,14,"png","darktheme"],"darktheme/decoration/menu/bar-background.png":[4,36,"png","darktheme"],"darktheme/decoration/menu/button-red.png":[4,36,"png","darktheme"],"darktheme/decoration/menu/button-selected.png":[4,36,"png","darktheme"],"darktheme/decoration/menu/checkbox-invert.gif":[16,7,"gif","darktheme"],"darktheme/decoration/menu/checkbox.gif":[16,7,"gif","darktheme"],"darktheme/decoration/menu/menu-pane-c.png":[20,41,"png","darktheme"],"darktheme/decoration/menu/radiobutton-invert.gif":[16,5,"gif","darktheme"],"darktheme/decoration/menu/radiobutton.gif":[16,5,"gif","darktheme"],"darktheme/decoration/scrollbar/down-invert.png":[6,4,"png","darktheme"],"darktheme/decoration/scrollbar/left-invert.png":[4,6,"png","darktheme"],"darktheme/decoration/scrollbar/right-invert.png":[4,6,"png","darktheme"],"darktheme/decoration/scrollbar/scrollbar-bg-horizontal.png":[76,15,"png","darktheme"],"darktheme/decoration/scrollbar/scrollbar-bg-pressed-horizontal.png":[19,10,"png","darktheme"],"darktheme/decoration/scrollbar/scrollbar-bg-pressed-vertical.png":[10,19,"png","darktheme"],"darktheme/decoration/scrollbar/scrollbar-bg-vertical.png":[15,76,"png","darktheme"],"darktheme/decoration/scrollbar/scrollbar-button-bg-horizontal.png":[12,10,"png","darktheme"],"darktheme/decoration/scrollbar/scrollbar-button-bg-vertical.png":[10,12,"png","darktheme"],"darktheme/decoration/scrollbar/scrollbar-button-horizontal-left-hovered.png":[25,14,"png","darktheme"],"darktheme/decoration/scrollbar/scrollbar-button-horizontal-left.png":[25,14,"png","darktheme"],"darktheme/decoration/scrollbar/scrollbar-button-horizontal-right-hovered.png":[25,14,"png","darktheme"],"darktheme/decoration/scrollbar/scrollbar-button-horizontal-right.png":[25,14,"png","darktheme"],"darktheme/decoration/scrollbar/scrollbar-button-vertical-down-hovered.png":[14,25,"png","darktheme"],"darktheme/decoration/scrollbar/scrollbar-button-vertical-down.png":[14,25,"png","darktheme"],"darktheme/decoration/scrollbar/scrollbar-button-vertical-up-hovered.png":[14,25,"png","darktheme"],"darktheme/decoration/scrollbar/scrollbar-button-vertical-up.png":[14,25,"png","darktheme"],"darktheme/decoration/scrollbar/scrollbar-slider-horizontal-hovered.png":[25,14,"png","darktheme"],"darktheme/decoration/scrollbar/scrollbar-slider-horizontal.png":[25,14,"png","darktheme"],"darktheme/decoration/scrollbar/scrollbar-slider-vertical-hovered.png":[14,25,"png","darktheme"],"darktheme/decoration/scrollbar/scrollbar-slider-vertical.png":[14,25,"png","darktheme"],"darktheme/decoration/scrollbar/slider-knob-background.png":[12,10,"png","darktheme"],"darktheme/decoration/scrollbar/up-invert.png":[6,4,"png","darktheme"],"darktheme/decoration/slider/slider-horizontal.png":[4,16,"png","darktheme"],"darktheme/decoration/slider/slider-vertical.png":[16,4,"png","darktheme"],"darktheme/decoration/splitpane/knob-horizontal.png":[4,12,"png","darktheme"],"darktheme/decoration/splitpane/knob-vertical.png":[12,4,"png","darktheme"],"darktheme/decoration/table/ascending-invert.png":[10,10,"png","darktheme"],"darktheme/decoration/table/ascending.png":[8,5,"png","darktheme"],"darktheme/decoration/table/boolean-false.png":[14,14,"png","darktheme"],"darktheme/decoration/table/boolean-true.png":[14,14,"png","darktheme"],"darktheme/decoration/table/descending-invert.png":[10,10,"png","darktheme"],"darktheme/decoration/table/descending.png":[8,5,"png","darktheme"],"darktheme/decoration/table/header-cell.png":[40,18,"png","darktheme"],"darktheme/decoration/table/select-column-order-invert.png":[10,9,"png","darktheme"],"darktheme/decoration/table/select-column-order.png":[10,9,"png","darktheme"],"darktheme/decoration/tabview/close-button-hovered.png":[16,16,"png","darktheme"],"darktheme/decoration/tabview/close-button.png":[16,16,"png","darktheme"],"darktheme/decoration/tabview/tabview-button-bottom-active-c.png":[20,29,"png","darktheme"],"darktheme/decoration/tabview/tabview-button-bottom-c.png":[20,29,"png","darktheme"],"darktheme/decoration/tabview/tabview-button-bottom-disabled-c.png":[20,29,"png","darktheme"],"darktheme/decoration/tabview/tabview-button-left-active-c.png":[20,29,"png","darktheme"],"darktheme/decoration/tabview/tabview-button-left-c.png":[20,29,"png","darktheme"],"darktheme/decoration/tabview/tabview-button-left-disabled-c.png":[20,29,"png","darktheme"],"darktheme/decoration/tabview/tabview-button-right-active-c.png":[20,29,"png","darktheme"],"darktheme/decoration/tabview/tabview-button-right-c.png":[20,29,"png","darktheme"],"darktheme/decoration/tabview/tabview-button-right-disabled-c.png":[20,29,"png","darktheme"],"darktheme/decoration/tabview/tabview-button-top-active-c.png":[20,29,"png","darktheme"],"darktheme/decoration/tabview/tabview-button-top-c.png":[20,29,"png","darktheme"],"darktheme/decoration/tabview/tabview-button-top-disabled-c.png":[20,29,"png","darktheme"],"darktheme/decoration/toolbar/toolbar-black.png":[20,22,"png","darktheme"],"darktheme/decoration/toolbar/toolbar-handle-knob.png":[4,12,"png","darktheme"],"darktheme/decoration/tree/closed-selected.png":[8,8,"png","darktheme"],"darktheme/decoration/tree/closed.png":[8,8,"png","darktheme"],"darktheme/decoration/tree/minus.gif":[19,16,"gif","darktheme"],"darktheme/decoration/tree/open-selected.png":[8,8,"png","darktheme"],"darktheme/decoration/tree/open.png":[8,8,"png","darktheme"],"darktheme/decoration/tree/plus.gif":[19,16,"gif","darktheme"],"darktheme/decoration/window/captionbar-active.png":[20,22,"png","darktheme"],"darktheme/decoration/window/captionbar-inactive.png":[20,29,"png","darktheme"],"darktheme/decoration/window/close-button-hovered.png":[16,17,"png","darktheme"],"darktheme/decoration/window/close-button-pressed.png":[16,17,"png","darktheme"],"darktheme/decoration/window/close-button.png":[16,17,"png","darktheme"],"darktheme/decoration/window/maximize-button-hovered.png":[16,17,"png","darktheme"],"darktheme/decoration/window/maximize-button-pressed.png":[16,17,"png","darktheme"],"darktheme/decoration/window/maximize-button.png":[16,17,"png","darktheme"],"darktheme/decoration/window/minimize-button-hovered.png":[16,17,"png","darktheme"],"darktheme/decoration/window/minimize-button-pressed.png":[16,17,"png","darktheme"],"darktheme/decoration/window/minimize-button.png":[16,17,"png","darktheme"],"darktheme/decoration/window/restore-button-hovered.png":[16,17,"png","darktheme"],"darktheme/decoration/window/restore-button-pressed.png":[16,17,"png","darktheme"],"darktheme/decoration/window/restore-button.png":[16,17,"png","darktheme"],"darktheme/decoration/window/statusbar.png":[20,7,"png","darktheme"],"darktheme/decoration/window/window-pane.png":[20,18,"png","darktheme"],"darktheme/demo/about.html":"darktheme.demo","darktheme/demo/blank.html":"darktheme.demo","darktheme/demo/fo_tester.swf":"darktheme.demo","darktheme/demo/fonts/JosefinSlab-Bold.ttf":"darktheme.demo","darktheme/demo/fonts/JosefinSlab-Regular.ttf":"darktheme.demo","darktheme/demo/icon/16/nm-signal-00.png":[16,16,"png","darktheme.demo"],"darktheme/demo/icon/16/nm-signal-100.png":[16,16,"png","darktheme.demo"],"darktheme/demo/icon/16/nm-signal-25.png":[16,16,"png","darktheme.demo"],"darktheme/demo/icon/16/nm-signal-50.png":[16,16,"png","darktheme.demo"],"darktheme/demo/icon/16/nm-signal-75.png":[16,16,"png","darktheme.demo"],"darktheme/demo/icon/16/wikipedia.png":[16,16,"png","darktheme.demo"],"darktheme/demo/icon/16/youtube.jpg":[16,16,"jpeg","darktheme.demo"],"darktheme/demo/loader.gif":[16,16,"gif","darktheme.demo"],"darktheme/demo/loading66.gif":[66,66,"gif","darktheme.demo"],"darktheme/demo/people.json":"darktheme.demo","darktheme/demo/playlist.json":"darktheme.demo","darktheme/demo/tree.json":"darktheme.demo","darktheme/icon/16/office-calendar.png":[16,16,"png","darktheme"],"qx/icon/Oxygen/16/actions/dialog-cancel.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/actions/dialog-ok.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/actions/edit-undo.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/actions/go-home.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/actions/go-next.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/actions/go-previous.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/actions/list-add.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/actions/list-remove.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/actions/media-playback-start.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/actions/media-skip-backward.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/actions/media-skip-forward.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/actions/view-refresh.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/apps/media-audio-player.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/apps/office-calendar.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/apps/office-chart.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/apps/utilities-calculator.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/apps/utilities-color-chooser.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/apps/utilities-statistics.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/categories/internet.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/mimetypes/office-document.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/places/folder-open.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/places/folder.png":[16,16,"png","qx"],"qx/icon/Oxygen/16/status/dialog-information.png":[16,16,"png","qx"],"qx/icon/Oxygen/22/actions/media-playback-pause.png":[22,22,"png","qx"],"qx/icon/Oxygen/22/actions/media-playback-start.png":[22,22,"png","qx"],"qx/icon/Oxygen/22/mimetypes/office-document.png":[22,22,"png","qx"],"qx/icon/Oxygen/22/places/folder-open.png":[22,22,"png","qx"],"qx/icon/Oxygen/22/places/folder.png":[22,22,"png","qx"],"qx/icon/Oxygen/32/apps/media-audio-player.png":[32,32,"png","qx"],"qx/icon/Oxygen/32/apps/media-photo-album.png":[32,32,"png","qx"],"qx/icon/Oxygen/32/apps/office-address-book.png":[32,32,"png","qx"],"qx/icon/Oxygen/32/apps/office-chart.png":[32,32,"png","qx"],"qx/icon/Oxygen/32/apps/utilities-calculator.png":[32,32,"png","qx"],"qx/icon/Oxygen/32/apps/utilities-color-chooser.png":[32,32,"png","qx"],"qx/icon/Oxygen/32/apps/utilities-statistics.png":[32,32,"png","qx"],"qx/icon/Oxygen/32/apps/utilities-text-editor.png":[32,32,"png","qx"],"qx/icon/Oxygen/32/categories/internet.png":[32,32,"png","qx"],"qx/icon/Oxygen/32/mimetypes/office-document.png":[32,32,"png","qx"],"qx/icon/Oxygen/32/places/folder-open.png":[32,32,"png","qx"],"qx/icon/Oxygen/32/places/folder.png":[32,32,"png","qx"],"qx/static/blank.gif":[1,1,"gif","qx"],"qx/static/blank.html":"qx","qx/static/blank.png":[1,1,"png","qx"],"qx/static/drawer.png":[23,23,"png","qx"],"qx/static/drawer@2x.png":[45,45,"png","qx"],"qx/static/ellipsis.xml":"qx","qx/static/empty.pdf":"qx"},"translations":{"C":{},"en":{}}}; (function(){var b=".prototype",c="function",d="Boolean",e="Error",f="Object.keys requires an object as argument.",g="constructor",h="warn",j="default",k="Null",m="hasOwnProperty",n="Undefined",o="string",p="Object",q="toLocaleString",r="error",s="toString",t="qx.debug",u="()",v="RegExp",w="String",x="info",y="BROKEN_IE",z="isPrototypeOf",A="Date",B="",C="qx.Bootstrap",D="Function",E="]",F="Cannot call super class. Method is not derived: ",G="Array",H="[Class ",I="valueOf",J="Number",K="Class",L="debug",M="ES5",N=".",O="propertyIsEnumerable",P="object";if(!window.qx){window.qx={};};qx.Bootstrap={genericToString:function(){return H+this.classname+E;},createNamespace:function(name,Q){var T=name.split(N);var S=T[0];var parent=qx.$$namespaceRoot&&qx.$$namespaceRoot[S]?qx.$$namespaceRoot:window;for(var i=0,R=T.length-1;i-1){var C=A.slice(0,E);var z=A.slice(E+1);var B=qx.Bootstrap.getByName(C);if(B!=undefined){return [B,z];};};};return [undefined,undefined];},getAsync:function(H,K,self){var L=this;if(this.__c[H]!=undefined){window.setTimeout(function(){K.call(self,L.__c[H]);},0);return;};var I=this._asyncChecks[H];if(I){I(function(N){L.__c[H]=N;K.call(self,N);});return;};var G=this._getClassNameFromEnvKey(H);if(G[0]!=undefined){var J=G[0];var M=G[1];J[M](function(O){L.__c[H]=O;K.call(self,O);});return;};if(qx.Bootstrap.DEBUG){qx.Bootstrap.warn(H+r+h);qx.Bootstrap.trace(this);};},select:function(Q,P){return this.__d(this.get(Q),P);},selectAsync:function(S,R,self){this.getAsync(S,function(T){var U=this.__d(S,R);U.call(self,T);},this);},__d:function(Y,X){var W=X[Y];if(X.hasOwnProperty(Y)){return W;};for(var ba in X){if(ba.indexOf(g)!=-1){var V=ba.split(g);for(var i=0;i=0;i-- ){if(this[i]===r){return i;};};return -1;},forEach:function(t,u){var l=this.length;for(var i=0;i=0;i-- ){if(i in this){P=N.call(undefined,P,this[i],i,this);};};return P;}},defer:function(Q){if(!qx.core.Environment.get(g)){Array.prototype.indexOf=Q.indexOf;};if(!qx.core.Environment.get(b)){Array.prototype.lastIndexOf=Q.lastIndexOf;};if(!qx.core.Environment.get(k)){Array.prototype.forEach=Q.forEach;};if(!qx.core.Environment.get(d)){Array.prototype.filter=Q.filter;};if(!qx.core.Environment.get(c)){Array.prototype.map=Q.map;};if(!qx.core.Environment.get(n)){Array.prototype.some=Q.some;};if(!qx.core.Environment.get(o)){Array.prototype.every=Q.every;};if(!qx.core.Environment.get(j)){Array.prototype.reduce=Q.reduce;};if(!qx.core.Environment.get(m)){Array.prototype.reduceRight=Q.reduceRight;};}});})();(function(){var a="qx.Mixin",b=".prototype",c="]",d='Conflict between mixin "',e="constructor",f="Array",g='"!',h='" and "',j="destruct",k='" in property "',m="Mixin",n='" in member "',o="[Mixin ";qx.Bootstrap.define(a,{statics:{define:function(name,q){if(q){if(q.include&&!(qx.Bootstrap.getClass(q.include)===f)){q.include=[q.include];};{};var r=q.statics?q.statics:{};qx.Bootstrap.setDisplayNames(r,name);for(var p in r){if(r[p] instanceof Function){r[p].$$mixin=r;};};if(q.construct){r.$$constructor=q.construct;qx.Bootstrap.setDisplayName(q.construct,name,e);};if(q.include){r.$$includes=q.include;};if(q.properties){r.$$properties=q.properties;};if(q.members){r.$$members=q.members;qx.Bootstrap.setDisplayNames(q.members,name+b);};for(var p in r.$$members){if(r.$$members[p] instanceof Function){r.$$members[p].$$mixin=r;};};if(q.events){r.$$events=q.events;};if(q.destruct){r.$$destructor=q.destruct;qx.Bootstrap.setDisplayName(q.destruct,name,j);};}else {var r={};};r.$$type=m;r.name=name;r.toString=this.genericToString;r.basename=qx.Bootstrap.createNamespace(name,r);this.$$registry[name]=r;return r;},checkCompatibility:function(t){var u=this.flatten(t);var v=u.length;if(v<2){return true;};var w={};var x={};var z={};var y;for(var i=0;i=1;i-- ){var I=J[i];var parent=J[i-1];if(qx.Bootstrap.isFunction(I)||qx.Bootstrap.objectGetLength(I)===0){delete parent[K[i-1]];}else {break;};};},isDefined:qx.util.OOUtil.classIsDefined,getTotalNumber:function(){return qx.Bootstrap.objectGetLength(this.$$registry);},getByName:qx.Bootstrap.getByName,include:function(M,L){{};qx.Class.__W(M,L,false);},patch:function(O,N){{};qx.Class.__W(O,N,true);},isSubClassOf:function(Q,P){if(!Q){return false;};if(Q==P){return true;};if(Q.prototype instanceof P){return true;};return false;},getPropertyDefinition:qx.util.OOUtil.getPropertyDefinition,getProperties:function(S){var R=[];while(S){if(S.$$properties){R.push.apply(R,Object.keys(S.$$properties));};S=S.superclass;};return R;},getByProperty:function(T,name){while(T){if(T.$$properties&&T.$$properties[name]){return T;};T=T.superclass;};return null;},hasProperty:qx.util.OOUtil.hasProperty,getEventType:qx.util.OOUtil.getEventType,supportsEvent:qx.util.OOUtil.supportsEvent,hasOwnMixin:function(V,U){return V.$$includes&&V.$$includes.indexOf(U)!==-1;},getByMixin:function(Y,X){var W,i,l;while(Y){if(Y.$$includes){W=Y.$$flatIncludes;for(i=0,l=W.length;i0:false;};if(!bl){this.__bi(br.targetObject,br.targetPropertyChain,br.options.converter());}else {this.__bh(br.targetObject,br.targetPropertyChain);};}else {this.__bh(br.targetObject,br.targetPropertyChain);};break;};if(j==br.propertyNames.length-1){if(qx.Class.implementsInterface(bp,qx.data.IListData)){var bt=br.arrayIndexValues[j]===N?bp.length-1:br.arrayIndexValues[j];var bm=bp.getItem(bt);this.__bm(bm,br.targetObject,br.targetPropertyChain,br.options,br.sources[br.index]);br.listenerIds[j]=this.__bo(bp,s,br.targetObject,br.targetPropertyChain,br.options,br.arrayIndexValues[j]);}else {if(br.propertyNames[j]!=null&&bp[u+qx.lang.String.firstUp(br.propertyNames[j])]!=null){var bm=bp[u+qx.lang.String.firstUp(br.propertyNames[j])]();this.__bm(bm,br.targetObject,br.targetPropertyChain,br.options,br.sources[br.index]);};var bn=this.__bg(bp,br.propertyNames[j]);if(!bn){this.__bh(br.targetObject,br.targetPropertyChain);break;};br.listenerIds[j]=this.__bo(bp,bn,br.targetObject,br.targetPropertyChain,br.options);};}else {if(br.listeners[j]==null){var bo=qx.lang.Function.bind(this.__be,this,br);br.listeners.push(bo);};if(qx.Class.implementsInterface(bp,qx.data.IListData)){var bn=s;}else {var bn=this.__bg(bp,br.propertyNames[j]);};if(!bn){this.__bh(br.targetObject,br.targetPropertyChain);return;};br.listenerIds[j]=bp.addListener(bn,br.listeners[j]);};};},__bf:function(bw,bE,bI,bA,bC){var bz=bA.split(D);var bx=this.__bn(bz);var bH=[];var bG=[];var bB=[];var bF=[];var by=bI;for(var i=0;icP){return;};}else {var cS=e.getData();};{};cS=qx.data.SingleValueBinding.__bq(cS,cO,cM,cK,cG);{};try{if(cS!==undefined){qx.data.SingleValueBinding.__bi(cO,cM,cS);}else {qx.data.SingleValueBinding.__bh(cO,cM);};if(cK&&cK.onUpdate){cK.onUpdate(cG,cO,cS);};}catch(cT){if(!(cT instanceof qx.core.ValidationError)){throw cT;};if(cK&&cK.onSetFail){cK.onSetFail(cT);}else {qx.log.Logger.warn(r+cS+H+cO+a+cT);};};};if(!cI){cI=z;};cL=qx.lang.Function.bind(cL,cG,cI);var cN=cG.addListener(cJ,cL);return cN;},__bp:function(da,cU,cX,db,cY){var cV;cV=cU.toHashCode();if(this.__bc[cV]===undefined){this.__bc[cV]=[];};var cW=[da,cU,cX,db,cY];this.__bc[cV].push(cW);cV=db.toHashCode();if(this.__bd[cV]===undefined){this.__bd[cV]=[];};this.__bd[cV].push(cW);},__bq:function(df,dl,de,dh,dc){if(dh&&dh.converter){var di;if(dl.getModel){di=dl.getModel();};return dh.converter(df,di,dc,dl);}else {var dg=this.__bk(de);var dd=this.__bl(dl,dg);var dm=de.substring(de.lastIndexOf(D)+1,de.length);if(dd==null){return df;};var dj=qx.Class.getPropertyDefinition(dd.constructor,dm);var dk=dj==null?z:dj.check;return this.__bs(df,dk);};},__br:function(dn,dq){var dp=qx.Class.getPropertyDefinition(dn.constructor,dq);if(dp==null){return null;};return dp.event;},__bs:function(dt,ds){var dr=qx.lang.Type.getClass(dt);if((dr==J||dr==x)&&(ds==l||ds==E)){dt=parseInt(dt,10);};if((dr==b||dr==J||dr==L)&&ds==x){dt=dt+z;};if((dr==J||dr==x)&&(ds==J||ds==A)){dt=parseFloat(dt);};return dt;},removeBindingFromObject:function(du,dy){if(dy.type==f){for(var i=0;i=0;i-- ){this.removeBindingFromObject(dA,dz[i][0]);};};},removeRelatedBindings:function(dC,dD){{};var dF=this.getAllBindingsForObject(dC);if(dF!=undefined){for(var i=dF.length-1;i>=0;i-- ){var dE=dF[i][1];var dB=dF[i][3];if(dE===dD||dB===dD){this.removeBindingFromObject(dC,dF[i][0]);};};};},getAllBindingsForObject:function(dH){var dI=dH.toHashCode();if(this.__bc[dI]===undefined){this.__bc[dI]=[];};var dJ=this.__bc[dI];var dG=this.__bd[dI]?this.__bd[dI]:[];return qx.lang.Array.unique(dJ.concat(dG));},removeAllBindings:function(){for(var dL in this.__bc){var dK=qx.core.ObjectRegistry.fromHashCode(dL);if(dK==null){delete this.__bc[dL];continue;};this.removeAllBindingsForObject(dK);};this.__bc={};},getAllBindings:function(){return this.__bc;},showBindingInLog:function(dN,dP){var dO;for(var i=0;iy.length?B:y;for(var i=0;i=0){continue;};var s=null;var C=w.split(n);var v=/(.*?)\(/.exec(C[C.length-1]);if(v&&v.length==2){s=v[1];C.pop();};if(C[C.length-1]==p){C.pop();};var E=C.join(n);var u=y[i];var F=u.split(m);var A=F[0];var z=F[1];var r;if(F[2]){r=F[2];};var x=null;if(qx.Class&&qx.Class.getByName(A)){x=A;}else {x=E;};var D=x;if(s){D+=n+s;};D+=m+z;if(r){D+=m+r;};t[i]=D;};}else {t=this.getStackTraceFromCaller(arguments);};};return t;},getStackTraceFromCaller:function(K){var J=[];var M=qx.lang.Function.getCaller(K);var H={};while(M){var L=qx.lang.Function.getName(M);J.push(L);try{M=M.caller;}catch(N){break;};if(!M){break;};var I=qx.core.ObjectRegistry.toHashCode(M);if(H[I]){J.push(b);break;};H[I]=M;};return J;},getStackTraceFromError:function(bd){var T=[];var R,S,ba,Q,P,bf,bb;var bc=qx.dev.StackTrace.hasEnvironmentCheck?qx.core.Environment.get(j):null;if(bc===l){if(!bd.stack){return T;};R=/@(.+):(\d+)$/gm;while((S=R.exec(bd.stack))!=null){bb=S[1];Q=S[2];ba=this.__bw(bb);T.push(ba+m+Q);};if(T.length>0){return this.__by(T);};R=/at (.*)/gm;var be=/\((.*?)(:[^\/].*)\)/;var Y=/(.*?)(:[^\/].*)/;while((S=R.exec(bd.stack))!=null){var X=be.exec(S[1]);if(!X){X=Y.exec(S[1]);};if(X){ba=this.__bw(X[1]);T.push(ba+X[2]);}else {T.push(S[1]);};};}else if(bc===q){var U=bd.stacktrace;if(!U){return T;};if(U.indexOf(h)>=0){U=U.split(h)[0];};R=/line\ (\d+?),\ column\ (\d+?)\ in\ (?:.*?)\ in\ (.*?):[^\/]/gm;while((S=R.exec(U))!=null){Q=S[1];P=S[2];bb=S[3];ba=this.__bw(bb);T.push(ba+m+Q+m+P);};if(T.length>0){return this.__by(T);};R=/Line\ (\d+?)\ of\ linked\ script\ (.*?)$/gm;while((S=R.exec(U))!=null){Q=S[1];bb=S[2];ba=this.__bw(bb);T.push(ba+m+Q);};}else if(bd.message&&bd.message.indexOf(k)>=0){var W=bd.message.split(k)[1].trim();var V=W.split(e);for(var i=0;i=2){Q=O[1];bf=this.__bw(O[2]);T.push(bf+m+Q);};};}else if(bd.sourceURL&&bd.line){T.push(this.__bw(bd.sourceURL)+m+bd.line);};return this.__by(T);},__bw:function(bh){if(typeof qx.dev.StackTrace.FILENAME_TO_CLASSNAME==o){var bg=qx.dev.StackTrace.FILENAME_TO_CLASSNAME(bh);{};return bg;};return qx.dev.StackTrace.__bx(bh);},__bx:function(bk){var bl=g;var bi=bk.indexOf(bl);var bm=bk.indexOf(f);if(bm>=0){bk=bk.substring(0,bm);};var bj=(bi==-1)?bk:bk.substring(bi+bl.length).replace(/\//g,n).replace(/\.js$/,d);return bj;},__by:function(bn){if(typeof qx.dev.StackTrace.FORMAT_STACKTRACE==o){bn=qx.dev.StackTrace.FORMAT_STACKTRACE(bn);{};};return bn;}},defer:function(bo){bo.hasEnvironmentCheck=qx.bom&&qx.bom.client&&qx.bom.client.EcmaScript&&qx.bom.client.EcmaScript.getStackTrace;}});})();(function(){var a="mshtml",b="engine.name",c="[object Array]",d="qx.lang.Array",e="Cannot clean-up map entry doneObjects[",f="]",g="qx",h="number",j="][",k="string";qx.Bootstrap.define(d,{statics:{cast:function(m,o,p){if(m.constructor===o){return m;};if(qx.data&&qx.data.IListData){if(qx.Class&&qx.Class.hasInterface(m,qx.data.IListData)){var m=m.toArray();};};var n=new o;if((qx.core.Environment.get(b)==a)){if(m.item){for(var i=p||0,l=m.length;iX){X=W[i];};};return X===undefined?null:X;},min:function(ba){{};var i,bc=ba.length,bb=ba[0];for(i=1;i-1;}},defer:function(G){qx.core.Environment.add(j,G.getVersion);qx.core.Environment.add(u,G.getName);}});})();(function(){var a='anonymous()',b="()",c="qx.globalErrorHandling",d="qx.lang.Function",e=".",f=".prototype.",g=".constructor()";qx.Bootstrap.define(d,{statics:{getCaller:function(h){return h.caller?h.caller.callee:h.callee.caller;},getName:function(i){if(i.displayName){return i.displayName;};if(i.$$original||i.wrapper||i.classname){return i.classname+g;};if(i.$$mixin){for(var j in i.$$mixin.$$members){if(i.$$mixin.$$members[j]==i){return i.$$mixin.name+f+j+b;};};for(var j in i.$$mixin){if(i.$$mixin[j]==i){return i.$$mixin.name+e+j+b;};};};if(i.self){var l=i.self.constructor;if(l){for(var j in l.prototype){if(l.prototype[j]==i){return l.classname+f+j+b;};};for(var j in l){if(l[j]==i){return l.classname+e+j+b;};};};};var k=i.toString().match(/function\s*(\w*)\s*\(.*/);if(k&&k.length>=1&&k[1]){return k[1]+b;};return a;},globalEval:function(data){if(window.execScript){return window.execScript(data);}else {return eval.call(window,data);};},create:function(n,m){{};if(!m){return n;};if(!(m.self||m.args||m.delay!=null||m.periodical!=null||m.attempt)){return n;};return function(event){{};var p=qx.lang.Array.fromArguments(arguments);if(m.args){p=m.args.concat(p);};if(m.delay||m.periodical){var o=function(){return n.apply(m.self||this,p);};if(qx.core.Environment.get(c)){o=qx.event.GlobalError.observeMethod(o);};if(m.delay){return window.setTimeout(o,m.delay);};if(m.periodical){return window.setInterval(o,m.periodical);};}else if(m.attempt){var q=false;try{q=n.apply(m.self||this,p);}catch(r){};return q;}else {return n.apply(m.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(x,self,y){if(arguments.length<3){return function(event){return x.call(self||this,event||window.event);};}else {var w=qx.lang.Array.fromArguments(arguments,2);return function(event){var z=[event||window.event];z.push.apply(z,w);x.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(D,C,self,E){return this.create(D,{delay:C,self:self,args:arguments.length>3?qx.lang.Array.fromArguments(arguments,3):null})();},periodical:function(G,F,self,H){return this.create(G,{periodical:F,self:self,args:arguments.length>3?qx.lang.Array.fromArguments(arguments,3):null})();}}});})();(function(){var a="qx.globalErrorHandling",b="qx.event.GlobalError";qx.Bootstrap.define(b,{statics:{__bF:null,__bG:null,__bH:null,__bI:function(){if(qx.core&&qx.core.Environment){return qx.core.Environment.get(a);}else {return !!qx.Bootstrap.getEnvironmentSetting(a);};},setErrorHandler:function(c,d){this.__bF=c||null;this.__bH=d||window;if(this.__bI()){if(c&&window.onerror){var e=qx.Bootstrap.bind(this.__bJ,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.__bJ,this);};if(this.__bF==null){if(this.__bG!=null){window.onerror=this.__bG;this.__bG=null;}else {window.onerror=null;};};};},__bJ:function(i,j,k){if(this.__bF){this.handleError(new qx.core.WindowError(i,j,k));};},observeMethod:function(l){if(this.__bI()){var self=this;return function(){if(!self.__bF){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.__bF){this.__bF.call(this.__bH,n);};}},defer:function(o){if(qx.core&&qx.core.Environment){qx.core.Environment.add(a,true);}else {qx.Bootstrap.setEnvironmentSetting(a,true);};o.setErrorHandler(null,null);}});})();(function(){var a="",b="qx.core.WindowError";qx.Bootstrap.define(b,{extend:Error,construct:function(c,e,f){var d=Error.call(this,c);if(d.stack){this.stack=d.stack;};if(d.stacktrace){this.stacktrace=d.stacktrace;};this.__bK=c;this.__bL=e||a;this.__bM=f===undefined?-1:f;},members:{__bK:null,__bL:null,__bM:null,toString:function(){return this.__bK;},getUri:function(){return this.__bL;},getLineNumber:function(){return this.__bM;}}});})();(function(){var a="GlobalError: ",b="qx.core.GlobalError";qx.Bootstrap.define(b,{extend:Error,construct:function(e,c){if(qx.Bootstrap.DEBUG){qx.core.Assert.assertNotUndefined(e);};this.__bK=a+(e&&e.message?e.message:e);var d=Error.call(this,this.__bK);if(d.stack){this.stack=d.stack;};if(d.stacktrace){this.stacktrace=d.stacktrace;};this.__bN=c;this.__bO=e;},members:{__bO:null,__bN:null,__bK:null,toString:function(){return this.__bK;},getArguments:function(){return this.__bN;},getSourceException:function(){return this.__bO;}},destruct:function(){this.__bO=null;this.__bN=null;this.__bK=null;}});})();(function(){var a="qx.lang.Type",b="Error",c="RegExp",d="Date",e="Number",f="Boolean";qx.Bootstrap.define(a,{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)==c;},isNumber:function(h){return (h!==null&&(this.getClass(h)==e||h instanceof Number));},isBoolean:function(i){return (i!==null&&(this.getClass(i)==f||i instanceof Boolean));},isDate:function(j){return (j!==null&&(this.getClass(j)==d||j instanceof Date));},isError:function(k){return (k!==null&&(this.getClass(k)==b||k instanceof Error));}}});})();(function(){var a=" != ",b="qx.core.Object",c="Expected value to be an array but found ",d="' (rgb(",f=") was fired.",g="Expected value to be an integer >= 0 but found ",h="' to be not equal with '",j="' to '",k="Expected object '",m="Called assertTrue with '",n="Expected value to be a map but found ",o="The function did not raise an exception!",p="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 ",s="' to implement the interface '",t="Expected value to be null but found ",u="Invalid argument 'type'",v="Called assert with 'false'",w="Assertion error! ",x="'",y="null",z="' but found '",A="'undefined'",B=",",C="' must must be a key of the map '",D="Expected '",E="The String '",F="Expected value to be a string but found ",G="Event (",H="Expected value to be the CSS color '",I="!",J="Expected value not to be undefined but found undefined!",K="qx.util.ColorUtil",L=": ",M="The raised exception does not have the expected type! ",N=") not fired.",O="'!",P="qx.core.Assert",Q="",R="Expected value to be typeof object but found ",S="' but found ",T="' (identical) but found '",U="' must have any of the values defined in the array '",V="Expected value to be a number but found ",W="Called assertFalse with '",X="qx.ui.core.Widget",Y="]",bJ="Expected value to be a qooxdoo object but found ",bK="' arguments.",bL="Expected value '%1' to be in the range '%2'..'%3'!",bF="Array[",bG="' does not match the regular expression '",bH="' to be not identical with '",bI="Expected [",bP="' arguments but found '",bQ="', which cannot be converted to a CSS color!",bR=", ",cg="qx.core.AssertionError",bM="Expected value to be a boolean but found ",bN="Expected value not to be null but found null!",bO="))!",bD="Expected value to be a qooxdoo widget but found ",bU="The value '",bE="Expected value to be typeof '",bV="\n Stack trace: \n",bW="Expected value to be typeof function but found ",cb="Expected value to be an integer but found ",bS="Called fail().",cf="The parameter 're' must be a string or a regular expression.",bT=")), but found value '",bX="qx.util.ColorUtil not available! Your code must have a dependency on 'qx.util.ColorUtil'",bY="Expected value to be a number >= 0 but found ",ca="Expected value to be instanceof '",cc="], but found [",cd="Wrong number of arguments given. Expected '",ce="object";qx.Bootstrap.define(P,{statics:{__bP:true,__bQ:function(ch,ci){var cm=Q;for(var i=1,l=arguments.length;i10){cn=bF+co.length+Y;}else if((co instanceof Object)&&(co.toString==null)){cn=qx.lang.Json.stringify(co,null,2);}else {try{cn=co.toString();}catch(e){cn=Q;};};return cn;},assert:function(cq,cp){cq==true||this.__bQ(cp||Q,v);},fail:function(cr,cs){var ct=cs?Q:bS;this.__bQ(cr||Q,ct);},assertTrue:function(cv,cu){(cv===true)||this.__bQ(cu||Q,m,cv,x);},assertFalse:function(cx,cw){(cx===false)||this.__bQ(cw||Q,W,cx,x);},assertEquals:function(cy,cz,cA){cy==cz||this.__bQ(cA||Q,D,cy,z,cz,O);},assertNotEquals:function(cB,cC,cD){cB!=cC||this.__bQ(cD||Q,D,cB,h,cC,O);},assertIdentical:function(cE,cF,cG){cE===cF||this.__bQ(cG||Q,D,cE,T,cF,O);},assertNotIdentical:function(cH,cI,cJ){cH!==cI||this.__bQ(cJ||Q,D,cH,bH,cI,O);},assertNotUndefined:function(cL,cK){cL!==undefined||this.__bQ(cK||Q,J);},assertUndefined:function(cN,cM){cN===undefined||this.__bQ(cM||Q,p,cN,I);},assertNotNull:function(cP,cO){cP!==null||this.__bQ(cO||Q,bN);},assertNull:function(cR,cQ){cR===null||this.__bQ(cQ||Q,t,cR,I);},assertJsonEquals:function(cS,cT,cU){this.assertEquals(qx.lang.Json.stringify(cS),qx.lang.Json.stringify(cT),cU);},assertMatch:function(cX,cW,cV){this.assertString(cX);this.assert(qx.lang.Type.isRegExp(cW)||qx.lang.Type.isString(cW),cf);cX.search(cW)>=0||this.__bQ(cV||Q,E,cX,bG,cW.toString(),O);},assertArgumentsCount:function(db,dc,dd,cY){var da=db.length;(da>=dc&&da<=dd)||this.__bQ(cY||Q,cd,dc,j,dd,bP,da,bK);},assertEventFired:function(de,event,dh,di,dj){var df=false;var dg=function(e){if(di){di.call(de,e);};df=true;};var dk;try{dk=de.addListener(event,dg,de);dh.call(de);}catch(dl){throw dl;}finally{try{de.removeListenerById(dk);}catch(dm){};};df===true||this.__bQ(dj||Q,G,event,N);},assertEventNotFired:function(dn,event,dr,ds){var dp=false;var dq=function(e){dp=true;};var dt=dn.addListener(event,dq,dn);dr.call();dp===false||this.__bQ(ds||Q,G,event,f);dn.removeListenerById(dt);},assertException:function(dx,dw,dv,du){var dw=dw||Error;var dy;try{this.__bP=false;dx();}catch(dz){dy=dz;}finally{this.__bP=true;};if(dy==null){this.__bQ(du||Q,o);};dy instanceof dw||this.__bQ(du||Q,M,dw,a,dy);if(dv){this.assertMatch(dy.toString(),dv,du);};},assertInArray:function(dC,dB,dA){dB.indexOf(dC)!==-1||this.__bQ(dA||Q,bU,dC,U,dB,x);},assertArrayEquals:function(dD,dE,dF){this.assertArray(dD,dF);this.assertArray(dE,dF);dF=dF||bI+dD.join(bR)+cc+dE.join(bR)+Y;if(dD.length!==dE.length){this.fail(dF,true);};for(var i=0;i=0)||this.__bQ(dR||Q,bY,dS,I);},assertInteger:function(dU,dT){(qx.lang.Type.isNumber(dU)&&isFinite(dU)&&dU%1===0)||this.__bQ(dT||Q,cb,dU,I);},assertPositiveInteger:function(dX,dV){var dW=(qx.lang.Type.isNumber(dX)&&isFinite(dX)&&dX%1===0&&dX>=0);dW||this.__bQ(dV||Q,g,dX,I);},assertInRange:function(eb,ec,ea,dY){(eb>=ec&&eb<=ea)||this.__bQ(dY||Q,qx.lang.String.format(bL,[eb,ec,ea]));},assertObject:function(ee,ed){var ef=ee!==null&&(qx.lang.Type.isObject(ee)||typeof ee===ce);ef||this.__bQ(ed||Q,R,(ee),I);},assertArray:function(eh,eg){qx.lang.Type.isArray(eh)||this.__bQ(eg||Q,c,eh,I);},assertMap:function(ej,ei){qx.lang.Type.isObject(ej)||this.__bQ(ei||Q,n,ej,I);},assertRegExp:function(el,ek){qx.lang.Type.isRegExp(el)||this.__bQ(ek||Q,r,el,I);},assertType:function(eo,en,em){this.assertString(en,u);typeof (eo)===en||this.__bQ(em||Q,bE,en,S,eo,I);},assertInstance:function(er,es,ep){var eq=es.classname||es+Q;er instanceof es||this.__bQ(ep||Q,ca,eq,S,er,I);},assertInterface:function(ev,eu,et){qx.Class&&qx.Class.implementsInterface(ev,eu)||this.__bQ(et||Q,k,ev,s,eu,O);},assertCssColor:function(eC,ez,eB){var ew=qx.Class?qx.Class.getByName(K):null;if(!ew){throw new Error(bX);};var ey=ew.stringToRgb(eC);try{var eA=ew.stringToRgb(ez);}catch(eE){this.__bQ(eB||Q,H,eC,d,ey.join(B),bT,ez,bQ);};var eD=ey[0]==eA[0]&&ey[1]==eA[1]&&ey[2]==eA[2];eD||this.__bQ(eB||Q,H,ey,d,ey.join(B),bT,ez,d,eA.join(B),bO);},assertElement:function(eG,eF){!!(eG&&eG.nodeType===1)||this.__bQ(eF||Q,q,eG,O);},assertQxObject:function(eI,eH){this.__bS(eI,b)||this.__bQ(eH||Q,bJ,eI,I);},assertQxWidget:function(eK,eJ){this.__bS(eK,X)||this.__bQ(eJ||Q,bD,eK,I);},__bS:function(eM,eL){if(!eM){return false;};var eN=eM.constructor;while(eN){if(eN.classname===eL){return true;};eN=eN.superclass;};return false;}}});})();(function(){var a="\x00\b\n\f\r\t",b="-",c="function",d="[null,null,null]",e="T",f="+",g=",\n",h="constructor",i="{\n",j='"+275760-09-13T00:00:00.000Z"',k="true",l="\\n",m="false",n='"-271821-04-20T00:00:00.000Z"',o="json",p='object',q='""',r="qx.lang.Json",s="{}",t="hasOwnProperty",u="@",v="prototype",w='hasOwnProperty',x='"',y="toLocaleString",z="0",A='function',B="",C='\\"',D="\t",E="string",F="}",G="\r",H="toJSON",I=":",J="[\n 1,\n 2\n]",K="\\f",L='"1969-12-31T23:59:59.999Z"',M="/",N="\\b",O="Z",P="\\t",Q="\b",R="[object Number]",S="isPrototypeOf",T="{",U="toString",V="0x",W="[1]",X="\\r",Y="]",bO=",",bP="null",bQ="\\u00",bK="\n",bL="json-stringify",bM="[]",bN="1",bU="000000",bV="[object Boolean]",bW="valueOf",cm="\\\\",bR="[object String]",bS="json-parse",bT="bug-string-char-index",bG="[object Array]",ca="$",bJ="[\n",cb='"-000001-01-01T00:00:00.000Z"',cc="[",bI="[null]",bX="\\",cl="[object Date]",bY='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}',cd="a",ce=" ",cf=".",ci="[object Function]",cj="01",ck='"\t"',bH="propertyIsEnumerable",cg="\f",ch="object";qx.Bootstrap.define(r,{statics:{stringify:null,parse:null}});(function(){var co;var cn;var cp;(function(window){var cr={}.toString,cG,cQ,cC;var cy=typeof cp===c&&cp.amd,cx=typeof cn==ch&&cn;if(cx||cy){if(typeof JSON==ch&&JSON){if(cx){cx.stringify=JSON.stringify;cx.parse=JSON.parse;}else {cx=JSON;};}else if(cy){cx=window.JSON={};};}else {cx=window.JSON||(window.JSON={});};var cU=new Date(-3509827334573292);try{cU=cU.getUTCFullYear()==-109252&&cU.getUTCMonth()===0&&cU.getUTCDate()===1&&cU.getUTCHours()==10&&cU.getUTCMinutes()==37&&cU.getUTCSeconds()==6&&cU.getUTCMilliseconds()==708;}catch(da){};function cJ(name){if(name==bT){return cd[0]!=cd;};var de,dd=bY,dh=name==o;if(dh||name==bL||name==bS){if(name==bL||dh){var db=cx.stringify,dg=typeof db==c&&cU;if(dg){(de=function(){return 1;}).toJSON=de;try{dg=db(0)===z&&db(new Number())===z&&db(new String())==q&&db(cr)===cC&&db(cC)===cC&&db()===cC&&db(de)===bN&&db([de])==W&&db([cC])==bI&&db(null)==bP&&db([cC,cr,null])==d&&db({"a":[de,true,false,null,a]})==dd&&db(null,de)===bN&&db([1,2],null,1)==J&&db(new Date(-8.64e15))==n&&db(new Date(8.64e15))==j&&db(new Date(-621987552e5))==cb&&db(new Date(-1))==L;}catch(di){dg=false;};};if(!dh){return dg;};};if(name==bS||dh){var df=cx.parse;if(typeof df==c){try{if(df(z)===0&&!df(false)){de=df(dd);var dc=de[cd].length==5&&de[cd][0]===1;if(dc){try{dc=!df(ck);}catch(dj){};if(dc){try{dc=df(cj)!==1;}catch(dk){};};};};}catch(dl){dc=false;};};if(!dh){return dc;};};return dg&&dc;};};if(!cJ(o)){var cV=ci;var cN=cl;var cv=R;var cY=bR;var cR=bG;var cF=bV;var cE=cJ(bT);if(!cU){var cD=Math.floor;var cM=[0,31,59,90,120,151,181,212,243,273,304,334];var cX=function(dm,dn){return cM[dn]+365*(dm-1970)+cD((dm-1969+(dn=+(dn>1)))/4)-cD((dm-1901+dn)/100)+cD((dm-1601+dn)/400);};};if(!(cG={}.hasOwnProperty)){cG=function(dp){var dq={},dr;if((dq.__bT=null,dq.__bT={"toString":1},dq).toString!=cr){cG=function(ds){var dt=this.__bT,du=ds in (this.__bT=null,this);this.__bT=dt;return du;};}else {dr=dq.constructor;cG=function(dv){var parent=(this.constructor||dr).prototype;return dv in this&&!(dv in parent&&this[dv]===parent[dv]);};};dq=null;return cG.call(this,dp);};};var cH={'boolean':1,'number':1,'string':1,'undefined':1};var cP=function(dy,dw){var dx=typeof dy[dw];return dx==p?!!dy[dw]:!cH[dx];};cQ=function(dz,dA){var dF=0,dE,dC,dD,dB;(dE=function(){this.valueOf=0;}).prototype.valueOf=0;dC=new dE();for(dD in dC){if(cG.call(dC,dD)){dF++ ;};};dE=dC=null;if(!dF){dC=[bW,U,y,bH,S,t,h];dB=function(dH,dI){var dJ=cr.call(dH)==cV,dK,length;var dG=!dJ&&typeof dH.constructor!=A&&cP(dH,w)?dH.hasOwnProperty:cG;for(dK in dH){if(!(dJ&&dK==v)&&dG.call(dH,dK)){dI(dK);};};for(length=dC.length;dK=dC[ --length];dG.call(dH,dK)&&dI(dK));};}else if(dF==2){dB=function(dP,dL){var dO={},dM=cr.call(dP)==cV,dN;for(dN in dP){if(!(dM&&dN==v)&&!cG.call(dO,dN)&&(dO[dN]=1)&&cG.call(dP,dN)){dL(dN);};};};}else {dB=function(dT,dQ){var dR=cr.call(dT)==cV,dS,dU;for(dS in dT){if(!(dR&&dS==v)&&cG.call(dT,dS)&&!(dU=dS===h)){dQ(dS);};};if(dU||cG.call(dT,(dS=h))){dQ(dS);};};};return dB(dz,dA);};if(!cJ(bL)){var cT={'92':cm,'34':C,'8':N,'12':K,'10':l,'13':X,'9':P};var cI=bU;var cW=function(dV,dW){return (cI+(dW||0)).slice(-dV);};var cB=bQ;var cL=function(dY){var eb=x,dX=0,length=dY.length,ec=length>10&&cE,ea;if(ec){ea=dY.split(B);};for(;dX-1/0&&et<1/0){if(cX){er=cD(et/864e5);for(ei=cD(er/365.2425)+1970-1;cX(ei+1,0)<=er;ei++ );for(ef=cD((er-cX(ei,0))/30.42);cX(ei,ef+1)<=er;ef++ );er=1+er-cX(ei,ef);ey=(et%864e5+864e5)%864e5;ep=cD(ey/36e5)%24;eA=cD(ey/6e4)%60;en=cD(ey/1e3)%60;em=ey%1e3;}else {ei=et.getUTCFullYear();ef=et.getUTCMonth();er=et.getUTCDate();ep=et.getUTCHours();eA=et.getUTCMinutes();en=et.getUTCSeconds();em=et.getUTCMilliseconds();};et=(ei<=0||ei>=1e4?(ei<0?b:f)+cW(6,ei<0?-ei:ei):cW(4,ei))+b+cW(2,ef+1)+b+cW(2,er)+e+cW(2,ep)+I+cW(2,eA)+I+cW(2,en)+cf+cW(3,em)+O;}else {et=null;};}else if(typeof et.toJSON==c&&((ev!=cv&&ev!=cY&&ev!=cR)||cG.call(et,H))){et=et.toJSON(ez);};};if(ew){et=ew.call(eo,ez,et);};if(et===null){return bP;};ev=cr.call(et);if(ev==cF){return B+et;}else if(ev==cv){return et>-1/0&&et<1/0?B+et:bP;}else if(ev==cY){return cL(B+et);};if(typeof et==ch){for(length=es.length;length-- ;){if(es[length]===et){throw TypeError();};};es.push(et);ee=[];eg=ex;ex+=ek;if(ev==cR){for(ej=0,length=et.length;ej0){for(eF=B,eL>10&&(eL=10);eF.length=48&&eR<=57||eR>=97&&eR<=102||eR>=65&&eR<=70)){cw();};};eN+=cA(V+eO.slice(eM,cq));break;default:cw();};}else {if(eR==34){break;};eR=eO.charCodeAt(cq);eM=cq;while(eR>=32&&eR!=92&&eR!=34){eR=eO.charCodeAt( ++cq);};eN+=eO.slice(eM,cq);};};if(eO.charCodeAt(cq)==34){cq++ ;return eN;};cw();default:eM=cq;if(eR==45){eP=true;eR=eO.charCodeAt( ++cq);};if(eR>=48&&eR<=57){if(eR==48&&((eR=eO.charCodeAt(cq+1)),eR>=48&&eR<=57)){cw();};eP=false;for(;cq=48&&eR<=57);cq++ );if(eO.charCodeAt(cq)==46){eQ= ++cq;for(;eQ=48&&eR<=57);eQ++ );if(eQ==cq){cw();};cq=eQ;};eR=eO.charCodeAt(cq);if(eR==101||eR==69){eR=eO.charCodeAt( ++cq);if(eR==43||eR==45){cq++ ;};for(eQ=cq;eQ=48&&eR<=57);eQ++ );if(eQ==cq){cw();};cq=eQ;};return +eO.slice(eM,cq);};if(eP){cw();};if(eO.slice(cq,cq+4)==k){cq+=4;return true;}else if(eO.slice(cq,cq+5)==m){cq+=5;return false;}else if(eO.slice(cq,cq+4)==bP){cq+=4;return null;};cw();};};return ca;};var cK=function(eU){var eT,eS;if(eU==ca){cw();};if(typeof eU==E){if((cE?eU.charAt(0):eU[0])==u){return eU.slice(1);};if(eU==cc){eT=[];for(;;eS||(eS=true)){eU=cS();if(eU==Y){break;};if(eS){if(eU==bO){eU=cS();if(eU==Y){cw();};}else {cw();};};if(eU==bO){cw();};eT.push(cK(eU));};return eT;}else if(eU==T){eT={};for(;;eS||(eS=true)){eU=cS();if(eU==F){break;};if(eS){if(eU==bO){eU=cS();if(eU==F){cw();};}else {cw();};};if(eU==bO||typeof eU!=E||(cE?eU.charAt(0):eU[0])!=u||cS()!=I){cw();};eT[eU.slice(1)]=cK(cS());};return eT;};cw();};return eU;};var cO=function(eV,eW,eX){var eY=ct(eV,eW,eX);if(eY===cC){delete eV[eW];}else {eV[eW]=eY;};};var ct=function(fa,fb,fd){var fc=fa[fb],length;if(typeof fc==ch&&fc){if(cr.call(fc)==cR){for(length=fc.length;length-- ;){cO(fc,length,fd);};}else {cQ(fc,function(fe){cO(fc,fe,fd);});};};return fd.call(fa,fb,fc);};cx.parse=function(ff,fi){var fg,fh;cq=0;cu=B+ff;fg=cK(cS());if(cS()!=ca){cw();};cq=cu=null;return fi&&cr.call(fi)==cV?ct((fh={},fh[B]=fg,fh),B,fi):fg;};};};if(cy){cp(function(){return cx;});};}(this));}());qx.lang.Json.stringify=window.JSON.stringify;qx.lang.Json.parse=window.JSON.parse;})();(function(){var a="-",b="]",c='\\u',d="undefined",e="",f='\\$1',g="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="\\\\",j='-',k="g",l="\\\"",m="qx.lang.String",n="(^|[^",o="0",p="%",q='"',r=' ',s='\n',t="])[";qx.Bootstrap.define(m,{statics:{__bU:g,__bV:null,__bW:{},camelCase:function(v){var u=this.__bW[v];if(!u){u=v.replace(/\-([a-z])/g,function(x,w){return w.toUpperCase();});if(v.indexOf(a)>=0){this.__bW[v]=u;};};return u;},hyphenate:function(z){var y=this.__bW[z];if(!y){y=z.replace(/[A-Z]/g,function(A){return (j+A.charAt(0).toLowerCase());});if(z.indexOf(a)==-1){this.__bW[z]=y;};};return y;},capitalize:function(C){if(this.__bV===null){var B=c;this.__bV=new RegExp(n+this.__bU.replace(/[0-9A-F]{4}/g,function(D){return B+D;})+t+this.__bU.replace(/[0-9A-F]{4}/g,function(E){return B+E;})+b,k);};return C.replace(this.__bV,function(F){return F.toUpperCase();});},clean:function(G){return G.replace(/\s+/g,r).trim();},trimLeft:function(H){return H.replace(/^\s+/,e);},trimRight:function(I){return I.replace(/\s+$/,e);},startsWith:function(K,J){return K.indexOf(J)===0;},endsWith:function(M,L){return M.substring(M.length-L.length,M.length)===L;},repeat:function(N,O){return N.length>0?new Array(O+1).join(N):e;},pad:function(Q,length,P){var R=length-Q.length;if(R>0){if(typeof P===d){P=o;};return this.repeat(P,R)+Q;}else {return Q;};},firstUp:qx.Bootstrap.firstUp,firstLow:qx.Bootstrap.firstLow,contains:function(T,S){return T.indexOf(S)!=-1;},format:function(U,V){var W=U;var i=V.length;while(i-- ){W=W.replace(new RegExp(p+(i+1),k),function(){return V[i]+e;});};return W;},escapeRegexpChars:function(X){return X.replace(/([.*+?^${}()|[\]\/\\])/g,f);},toArray:function(Y){return Y.split(/\B|\b/g);},stripTags:function(ba){return ba.replace(/<\/?[^>]+>/gi,e);},stripScripts:function(bd,bc){var be=e;var bb=bd.replace(/]*>([\s\S]*?)<\/script>/gi,function(){be+=arguments[1]+s;return e;});if(bc===true){qx.lang.Function.globalEval(be);};return bb;},quote:function(bf){return q+bf.replace(/\\/g,h).replace(/\"/g,l)+q;}}});})();(function(){var c="-",d="",e="qx.core.ObjectRegistry",f="Disposed ",g="$$hash",h="-0",j=" objects",k="Could not dispose object ",m=": ";qx.Bootstrap.define(e,{statics:{inShutDown:false,__j:{},__bX:0,__bY:[],__ca:d,__cb:{},register:function(n){var q=this.__j;if(!q){return;};var p=n.$$hash;if(p==null){var o=this.__bY;if(o.length>0&&true){p=o.pop();}else {p=(this.__bX++ )+this.__ca;};n.$$hash=p;{};};{};q[p]=n;},unregister:function(r){var s=r.$$hash;if(s==null){return;};var t=this.__j;if(t&&t[s]){delete t[s];this.__bY.push(s);};try{delete r.$$hash;}catch(u){if(r.removeAttribute){r.removeAttribute(g);};};},toHashCode:function(v){{};var x=v.$$hash;if(x!=null){return x;};var w=this.__bY;if(w.length>0){x=w.pop();}else {x=(this.__bX++ )+this.__ca;};return v.$$hash=x;},clearHashCode:function(y){{};var z=y.$$hash;if(z!=null){this.__bY.push(z);try{delete y.$$hash;}catch(A){if(y.removeAttribute){y.removeAttribute(g);};};};},fromHashCode:function(B){return this.__j[B]||null;},shutdown:function(){this.inShutDown=true;var D=this.__j;var F=[];for(var C in D){F.push(C);};F.sort(function(a,b){return parseInt(b,10)-parseInt(a,10);});var E,i=0,l=F.length;while(true){try{for(;ithis.__cd){f=this.__cd;};if(j&&this.__ce&&(f>this.__cf)){f=this.__cf;};if(f>0){var h=this.__ci(this.__cc,-1);var g=this.__ci(h,-f+1);var i;if(g<=h){i=this.__cg.slice(g,h+1);}else {i=this.__cg.slice(g,this.__cd).concat(this.__cg.slice(0,h+1));};}else {i=[];};return i;},clear:function(){this.__cg=new Array(this.getMaxEntries());this.__cd=0;this.__cf=0;this.__cc=0;},__ci:function(n,l){var k=this.getMaxEntries();var m=(n+l)%k;if(m<0){m+=k;};return m;}}});})();(function(){var a="qx.log.appender.RingBuffer";qx.Bootstrap.define(a,{extend:qx.util.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 a="qx.log.Logger",b="[",c="...(+",d="array",e=")",f="info",g="node",h="instance",j="string",k="null",m="error",n="#",o="class",p=": ",q="warn",r="document",s="{...(",t="",u="number",v="stringify",w="]",x="date",y="unknown",z="function",A="text[",B="[...(",C="boolean",D="\n",E=")}",F="debug",G=")]",H="map",I="undefined",J="object";qx.Bootstrap.define(a,{statics:{__cj:F,setLevel:function(K){this.__cj=K;},getLevel:function(){return this.__cj;},setTreshold:function(L){this.__cm.setMaxMessages(L);},getTreshold:function(){return this.__cm.getMaxMessages();},__ck:{},__cl:0,register:function(P){if(P.$$id){return;};var M=this.__cl++ ;this.__ck[M]=P;P.$$id=M;var N=this.__cn;var O=this.__cm.getAllLogEvents();for(var i=0,l=O.length;i=N[this.__cj]){P.process(O[i]);};};},unregister:function(Q){var R=Q.$$id;if(R==null){return;};delete this.__ck[R];delete Q.$$id;},debug:function(T,S){qx.log.Logger.__co(F,arguments);},info:function(V,U){qx.log.Logger.__co(f,arguments);},warn:function(X,W){qx.log.Logger.__co(q,arguments);},error:function(ba,Y){qx.log.Logger.__co(m,arguments);},trace:function(bb){var bc=qx.dev.StackTrace.getStackTrace();qx.log.Logger.__co(f,[(typeof bb!==I?[bb].concat(bc):bc).join(D)]);},deprecatedMethodWarning:function(bf,bd){{var be;};},deprecatedClassWarning:function(bi,bg){{var bh;};},deprecatedEventWarning:function(bl,event,bj){{var bk;};},deprecatedMixinWarning:function(bn,bm){{var bo;};},deprecatedConstantWarning:function(bs,bq,bp){{var self,br;};},deprecateMethodOverriding:function(bv,bu,bw,bt){{var bx;};},clear:function(){this.__cm.clearHistory();},__cm:new qx.log.appender.RingBuffer(50),__cn:{debug:0,info:1,warn:2,error:3},__co:function(bz,bB){var bE=this.__cn;if(bE[bz]20){bM.push(c+(l-i)+e);break;};bM.push(this.__cq(bP[i],false));};}else {bM=B+bP.length+G;};break;case H:if(bO){var bK;var bR=[];for(var bQ in bP){bR.push(bQ);};bR.sort();bM=[];for(var i=0,l=bR.length;i20){bM.push(c+(l-i)+e);break;};bQ=bR[i];bK=this.__cq(bP[bQ],false);bK.key=bQ;bM.push(bK);};}else {var bN=0;for(var bQ in bP){bN++ ;};bM=s+bN+E;};break;};return {type:bS,text:bM,trace:bL};}},defer:function(bT){var bU=qx.Bootstrap.$$logs;for(var i=0;i9){return true;};var bc=[p,s];if(bb===D&&bc.indexOf(ba)>-1){var W=[b,C,j,F,k,t,x,d,n,u,E];if(W.indexOf(be.toLowerCase())>-1){return true;};};if(V!=window&&be.toLowerCase().indexOf(f)!=-1){var bd=qx.core.Environment.get(o);return (bd&&bd[z]==be);};var X=G+be.toLowerCase();var Y=(X in V);if(!Y){Y=typeof V[X]==a;if(!Y&&V.setAttribute){V.setAttribute(X,q);Y=typeof V[X]==a;V.removeAttribute(X);};};return Y;},getEventName:function(bf,bi){var bg=[v].concat(qx.bom.Style.VENDOR_PREFIXES);for(var i=0,l=bg.length;i=8){return qx.bom.client.Engine.DOCUMENT_MODE===5;}else {return document.compatMode!==a;};},__cy:{"webkit":i,"gecko":p,"mshtml":q,"opera":H}[qx.bom.client.Engine.getName()]},defer:function(V){qx.core.Environment.add(k,V.getName);qx.core.Environment.add(C,V.getVersion);qx.core.Environment.add(K,V.getDocumentMode);qx.core.Environment.add(j,V.getQuirksMode);}});})();(function(){var a="qx.bom.client.CssTransition",b="E",c="transitionEnd",d="e",e="nd",f="transition",g="css.transition",h="Trans";qx.Bootstrap.define(a,{statics:{getTransitionName:function(){return qx.bom.Style.getPropertyName(f);},getSupport:function(){var name=qx.bom.client.CssTransition.getTransitionName();if(!name){return null;};var i=qx.bom.Event.getEventName(window,c);i=i==c?i.toLowerCase():i;if(!i){i=name+(name.indexOf(h)>0?b:d)+e;};return {name:name,"end-event":i};}},defer:function(j){qx.core.Environment.add(g,j.getSupport);}});})();(function(){var a="__cD",b="UNKNOWN_",c="|bubble",d="",e="_",f="__cE",g="c",h="|",j="qx.globalErrorHandling",k="unload",m="|capture",n="DOM_",o="WIN_",p="QX_",q="qx.event.Manager",r="capture",s="DOCUMENT_";qx.Class.define(q,{extend:Object,construct:function(t,v){this.__cz=t;this.__cA=qx.core.ObjectRegistry.toHashCode(t);this.__cB=v;if(t.qx!==qx){var self=this;var u=function(){qx.bom.Event.removeNativeListener(t,k,arguments.callee);self.dispose();};if(qx.core.Environment.get(j)){qx.bom.Event.addNativeListener(t,k,qx.event.GlobalError.observeMethod(u));}else {qx.bom.Event.addNativeListener(t,k,u);};};this.__cC={};this.__cD={};this.__cE={};this.__cF={};},statics:{__cG:0,getNextUniqueId:function(){return (this.__cG++ )+d;}},members:{__cB:null,__cC:null,__cE:null,__cH:null,__cD:null,__cF:null,__cz:null,__cA:null,getWindow:function(){return this.__cz;},getWindowId:function(){return this.__cA;},getHandler:function(x){var w=this.__cD[x.classname];if(w){return w;};return this.__cD[x.classname]=new x(this);},getDispatcher:function(z){var y=this.__cE[z.classname];if(y){return y;};return this.__cE[z.classname]=new z(this,this.__cB);},getListeners:function(B,F,A){var D=B.$$hash||qx.core.ObjectRegistry.toHashCode(B);var G=this.__cC[D];if(!G){return null;};var E=F+(A?m:c);var C=G[E];return C?C.concat():null;},getAllListeners:function(){return this.__cC;},serializeListeners:function(I){var M=I.$$hash||qx.core.ObjectRegistry.toHashCode(I);var Q=this.__cC[M];var L=[];if(Q){var J,P,H,K,N;for(var O in Q){J=O.indexOf(h);P=O.substring(0,J);H=O.charAt(J+1)==g;K=Q[O];for(var i=0,l=K.length;i0);},importListeners:function(bi,bk){{};var bo=bi.$$hash||qx.core.ObjectRegistry.toHashCode(bi);var bq=this.__cC[bo]={};var bm=qx.event.Manager;for(var bj in bk){var bn=bk[bj];var bp=bn.type+(bn.capture?m:c);var bl=bq[bp];if(!bl){bl=bq[bp]=[];this.__cI(bi,bn.type,bn.capture);};bl.push({handler:bn.listener,context:bn.self,unique:bn.unique||(bm.__cG++ )+d});};},addListener:function(bt,bA,bv,self,br){{var bx;};var bs=bt.$$hash||qx.core.ObjectRegistry.toHashCode(bt);var bB=this.__cC[bs];if(!bB){bB=this.__cC[bs]={};};var bw=bA+(br?m:c);var bu=bB[bw];if(!bu){bu=bB[bw]=[];};if(bu.length===0){this.__cI(bt,bA,br);};var bz=(qx.event.Manager.__cG++ )+d;var by={handler:bv,context:self,unique:bz};bu.push(by);return bw+h+bz;},findHandler:function(bG,bP){var bN=false,bF=false,bQ=false,bC=false;var bM;if(bG.nodeType===1){bN=true;bM=n+bG.tagName.toLowerCase()+e+bP;}else if(bG.nodeType===9){bC=true;bM=s+bP;}else if(bG==this.__cz){bF=true;bM=o+bP;}else if(bG.classname){bQ=true;bM=p+bG.classname+e+bP;}else {bM=b+bG+e+bP;};var bE=this.__cF;if(bE[bM]){return bE[bM];};var bL=this.__cB.getHandlers();var bH=qx.event.IEventHandler;var bJ,bK,bI,bD;for(var i=0,l=bL.length;i0){cu=cw.split(h);cx=cu[0];cs=cu[1]===r;this.__cJ(ct,cx,cs);};};delete this.__cC[cv];return true;},deleteAllListeners:function(cz){delete this.__cC[cz];},__cJ:function(cD,cC,cA){var cB=this.findHandler(cD,cC);if(cB){cB.unregisterEvent(cD,cC,cA);return;};{};},dispatchEvent:function(cF,event){{var cJ;};var cK=event.getType();if(!event.getBubbles()&&!this.hasListener(cF,cK)){qx.event.Pool.getInstance().poolObject(event);return true;};if(!event.getTarget()){event.setTarget(cF);};var cI=this.__cB.getDispatchers();var cH;var cE=false;for(var i=0,l=cI.length;i=0;i-- ){s=r[i];if(s){s.dispose();};};}catch(t){throw new Error(h+p+d+q+f+t);};r.length=0;q[p]=null;},disposeMap:function(v,u){var w=v[u];if(!w){return;};if(qx.core.ObjectRegistry.inShutDown){v[u]=null;return;};try{var y;for(var x in w){y=w[x];if(w.hasOwnProperty(x)&&y){y.dispose();};};}catch(z){throw new Error(g+u+d+v+f+z);};v[u]=null;},disposeTriggeredBy:function(A,C){var B=C.dispose;C.dispose=function(){B.call(C);A.dispose();};},destroyContainer:function(E){{};var D=[];this._collectContainerChildren(E,D);var F=D.length;for(var i=F-1;i>=0;i-- ){D[i].destroy();};E.destroy();},_collectContainerChildren:function(I,H){var J=I.getChildren();for(var i=0;ithis.getSize()){if(k.destroy){k.destroy();}else {k.dispose();};return;};k.$$pooled=true;m.push(k);}},destruct:function(){var p=this.__cO;var n,o,i,l;for(n in p){o=p[n];for(i=0,l=o.length;iP.width){P.width=P.minWidth;};if(P.maxWidthP.height){P.height=P.minHeight;};if(P.maxHeightbj)?bm:bj;if(bb>bl){bl=bb;};var be=(bm=1.0){bo%=1.0;};if(bp>1.0){bp=1.0;};if(bq>1.0){bq=1.0;};var br=Math.floor(255*bq);var bs={};if(bp==0.0){bs.red=bs.green=bs.blue=br;}else {bo*=6.0;i=Math.floor(bo);f=bo-i;p=Math.floor(br*(1.0-bp));r=Math.floor(br*(1.0-(bp*f)));t=Math.floor(br*(1.0-(bp*(1.0-f))));switch(i){case 0:bs.red=br;bs.green=t;bs.blue=p;break;case 1:bs.red=r;bs.green=br;bs.blue=p;break;case 2:bs.red=p;bs.green=br;bs.blue=t;break;case 3:bs.red=p;bs.green=r;bs.blue=br;break;case 4:bs.red=t;bs.green=p;bs.blue=br;break;case 5:bs.red=br;bs.green=p;bs.blue=r;break;};};return [bs.red,bs.green,bs.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 a="mshtml",b="engine.name",c="_applyTheme",d="",e="'.",f="qx-",g="__di",h="Unable to resolve decorator '",j="singleton",k=";",l="qx.theme.manager.Decoration",m=".",n="Theme",o="object",p="changeTheme",q="string",r="browser.documentmode",s=":";qx.Class.define(l,{type:j,extend:qx.core.Object,statics:{CSS_CLASSNAME_PREFIX:f},construct:function(){qx.core.Object.call(this);this.__dg=[];this.__dh=(qx.core.Environment.get(b)==a&&qx.core.Environment.get(r)<9);},properties:{theme:{check:n,nullable:true,apply:c,event:p}},members:{__di:null,__dg:null,__dh:false,getCssClassName:function(u){var t=qx.theme.manager.Decoration.CSS_CLASSNAME_PREFIX;if(qx.lang.Type.isString(u)){return t+u;}else {return t+u.toHashCode();};},addCssClass:function(z){var w=qx.ui.style.Stylesheet.getInstance();var B=z;z=this.getCssClassName(z);var A=m+z;if(w.hasRule(A)){return z;};if(qx.lang.Type.isString(B)){B=this.resolve(B);};if(!B){throw new Error(h+z+e);};var G=d;var v=B.getStyles(true);for(var D in v){if(qx.Bootstrap.isObject(v[D])){var x=d;var F=v[D];var C=false;for(var y in F){C=true;x+=y+s+F[y]+k;};var E=this.__dh?A:A+(C?s:d);this.__dg.push(E+D);w.addRule(E+D,x);continue;};G+=D+s+v[D]+k;};if(G){w.addRule(A,G);this.__dg.push(A);};return z;},removeAllCssClasses:function(){for(var i=0;i=0; --i){if(B[i].selectorText==E){C.deleteRule(i);};};}else {var B=C.rules;var D=B.length;for(var i=D-1;i>=0; --i){if(B[i].selectorText==E){C.removeRule(i);};};};},removeSheet:function(G){var F=G.ownerNode?G.ownerNode:G.owningElement;qx.dom.Element.removeChild(F,F.parentNode);},removeAllRules:function(I){if(qx.core.Environment.get(m)){var H=I.cssRules;var J=H.length;for(var i=J-1;i>=0;i-- ){I.deleteRule(i);};}else {var H=I.rules;var J=H.length;for(var i=J-1;i>=0;i-- ){I.removeRule(i);};};},addImport:function(L,K){if(qx.core.Environment.get(c)){L.addImport(K);}else {L.insertRule(g+K+k,L.cssRules.length);};},removeImport:function(M,N){if(qx.core.Environment.get(l)){var O=M.imports;var P=O.length;for(var i=P-1;i>=0;i-- ){if(O[i].href==N||O[i].href==qx.util.Uri.getAbsolute(N)){M.removeImport(i);};};}else {var Q=M.cssRules;var P=Q.length;for(var i=P-1;i>=0;i-- ){if(Q[i].href==N){M.deleteRule(i);};};};},removeAllImports:function(S){if(qx.core.Environment.get(l)){var U=S.imports;var T=U.length;for(var i=T-1;i>=0;i-- ){S.removeImport(i);};}else {var R=S.cssRules;var T=R.length;for(var i=T-1;i>=0;i-- ){if(R[i].type==R[i].IMPORT_RULE){S.deleteRule(i);};};};}}});})();(function(){var a="engine.name",b="",c="none",d="qx.dom.Element",e="webkit",f="The tag name is missing!",g="div";qx.Bootstrap.define(d,{statics:{hasChild:function(parent,h){return h.parentNode===parent;},hasChildren:function(j){return !!j.firstChild;},hasChildElements:function(k){k=k.firstChild;while(k){if(k.nodeType===1){return true;};k=k.nextSibling;};return false;},getParentElement:function(m){return m.parentNode;},isInDom:function(p,n){if(!n){n=window;};var o=n.document.getElementsByTagName(p.nodeName);for(var i=0,l=o.length;i0){I[j]=M+b+this.getStyleTop()+G+(O||t);};var M=this.getWidthRight();if(M>0){I[m]=M+b+this.getStyleRight()+G+(L||t);};var M=this.getWidthBottom();if(M>0){I[u]=M+b+this.getStyleBottom()+G+(J||t);};var M=this.getWidthLeft();if(M>0){I[k]=M+b+this.getStyleLeft()+G+(N||t);};{};I.position=H;},_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 a=', url(',b="repeat",c="backgroundPositionX",d="backgroundPositionY",e="px",f="background-position",g=" ",h="background-repeat",i="no-repeat",j=')',k="scale",l="_applyBackgroundPosition",m='url(',n="repeat-x",o="background-image",p="100% 100%",q="repeat-y",r="qx.ui.decoration.MBackgroundImage",s="background-size",t="String",u="_applyBackgroundImage";qx.Mixin.define(r,{properties:{backgroundImage:{check:t,nullable:true,apply:u},backgroundRepeat:{check:[b,n,q,i,k],init:b,apply:u},backgroundPositionX:{nullable:true,apply:l},backgroundPositionY:{nullable:true,apply:l},backgroundPosition:{group:[d,c]}},members:{_styleBackgroundImage:function(v){var x=this.getBackgroundImage();if(!x){return;};var y=qx.util.AliasManager.getInstance().resolve(x);var z=qx.util.ResourceManager.getInstance().toUri(y);if(v[o]){v[o]+=a+z+j;}else {v[o]=m+z+j;};var w=this.getBackgroundRepeat();if(w===k){v[s]=p;}else {v[h]=w;};var top=this.getBackgroundPositionY()||0;var A=this.getBackgroundPositionX()||0;if(!isNaN(top)){top+=e;};if(!isNaN(A)){A+=e;};v[f]=A+g+top;{};},_applyBackgroundImage:function(){{};},_applyBackgroundPosition:function(){{};}}});})();(function(){var a="0",b="qx/static",c="http://",d="https://",e="file://",f="qx.util.AliasManager",g="singleton",h=".",i="/",j="static";qx.Class.define(f,{type:g,extend:qx.util.ValueManager,construct:function(){qx.util.ValueManager.call(this);this.__dr={};this.add(j,b);},members:{__dr:null,_preprocess:function(n){var m=this._getDynamic();if(m[n]===false){return n;}else if(m[n]===undefined){if(n.charAt(0)===i||n.charAt(0)===h||n.indexOf(c)===0||n.indexOf(d)===a||n.indexOf(e)===0){m[n]=false;return n;};if(this.__dr[n]){return this.__dr[n];};var l=n.substring(0,n.indexOf(i));var k=this.__dr[l];if(k!==undefined){m[n]=k+n.substring(l.length);};};return n;},add:function(o,q){this.__dr[o]=q;var p=this._getDynamic();for(var r in p){if(r.substring(0,r.indexOf(i))===o){p[r]=q+r.substring(o.length);};};},remove:function(s){delete this.__dr[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.__dr){v[w]=this.__dr[w];};return v;}},destruct:function(){this.__dr=null;}});})();(function(){var a="Microsoft.XMLHTTP",b="xhr",c="io.ssl",d="io.xhr",e="",f="file:",g="https:",h="webkit",i="gecko",j="activex",k="opera",l=".",m="io.maxrequests",n="qx.bom.client.Transport";qx.Bootstrap.define(n,{statics:{getMaxConcurrentRequestCount:function(){var p;var r=qx.bom.client.Engine.getVersion().split(l);var o=0;var s=0;var q=0;if(r[0]){o=r[0];};if(r[1]){s=r[1];};if(r[2]){q=r[2];};if(window.maxConnectionsPerServer){p=window.maxConnectionsPerServer;}else if(qx.bom.client.Engine.getName()==k){p=8;}else if(qx.bom.client.Engine.getName()==h){p=4;}else if(qx.bom.client.Engine.getName()==i&&((o>1)||((o==1)&&(s>9))||((o==1)&&(s==9)&&(q>=1)))){p=6;}else {p=2;};return p;},getSsl:function(){return window.location.protocol===g;},getXmlHttpRequest:function(){var t=window.ActiveXObject?(function(){if(window.location.protocol!==f){try{new window.XMLHttpRequest();return b;}catch(u){};};try{new window.ActiveXObject(a);return j;}catch(v){};})():(function(){try{new window.XMLHttpRequest();return b;}catch(w){};})();return t||e;}},defer:function(x){qx.core.Environment.add(m,x.getMaxConcurrentRequestCount);qx.core.Environment.add(c,x.getSsl);qx.core.Environment.add(d,x.getXmlHttpRequest);}});})();(function(){var a="singleton",b="qx.util.LibraryManager";qx.Class.define(b,{extend:qx.core.Object,type:a,statics:{__ds:qx.$$libraries||{}},members:{has:function(c){return !!this.self(arguments).__ds[c];},get:function(d,e){return this.self(arguments).__ds[d][e]?this.self(arguments).__ds[d][e]:null;},set:function(f,g,h){this.self(arguments).__ds[f][g]=h;}}});})();(function(){var a="mshtml",b="engine.name",c="//",d="io.ssl",e="",f="encoding",g="?",h="data",i="string",j="type",k="data:image/",l=";",m="/",n="resourceUri",o="qx.util.ResourceManager",p="singleton",q=",";qx.Class.define(o,{extend:qx.core.Object,type:p,construct:function(){qx.core.Object.call(this);},statics:{__j:qx.$$resources||{},__dt:{}},members:{has:function(r){return !!this.self(arguments).__j[r];},getData:function(s){return this.self(arguments).__j[s]||null;},getImageWidth:function(u){var t=this.self(arguments).__j[u];return t?t[0]:null;},getImageHeight:function(w){var v=this.self(arguments).__j[w];return v?v[1]:null;},getImageFormat:function(y){var x=this.self(arguments).__j[y];return x?x[2]:null;},getCombinedFormat:function(D){var A=e;var C=this.self(arguments).__j[D];var z=C&&C.length>4&&typeof (C[4])==i&&this.constructor.__j[C[4]];if(z){var E=C[4];var B=this.constructor.__j[E];A=B[2];};return A;},toUri:function(I){if(I==null){return I;};var F=this.self(arguments).__j[I];if(!F){return I;};if(typeof F===i){var H=F;}else {var H=F[3];if(!H){return I;};};var G=e;if((qx.core.Environment.get(b)==a)&&qx.core.Environment.get(d)){G=this.self(arguments).__dt[H];};return G+qx.util.LibraryManager.getInstance().get(H,n)+m+I;},toDataUri:function(L){var K=this.constructor.__j[L];var N=this.constructor.__j[K[4]];var M;if(N){var J=N[4][L];M=k+J[j]+l+J[f]+q+J[h];}else {M=this.toUri(L);};return M;}},defer:function(P){if((qx.core.Environment.get(b)==a)){if(qx.core.Environment.get(d)){for(var Q in qx.$$libraries){var O;if(qx.util.LibraryManager.getInstance().get(Q,n)){O=qx.util.LibraryManager.getInstance().get(Q,n);}else {P.__dt[Q]=e;continue;};if(O.match(/^\/\//)!=null){P.__dt[Q]=window.location.protocol;}else if(O.match(/^\//)!=null){P.__dt[Q]=window.location.protocol+c+window.location.host;}else if(O.match(/^\.\//)!=null){var S=document.URL;P.__dt[Q]=S.substring(0,S.lastIndexOf(m)+1);}else if(O.match(/^http/)!=null){P.__dt[Q]=e;}else {var R=window.location.href.indexOf(g);var T;if(R==-1){T=window.location.href;}else {T=window.location.href.substring(0,R);};P.__dt[Q]=T.substring(0,T.lastIndexOf(m)+1);};};};};}});})();(function(){var a="innerWidthRight",b="innerColorBottom",c="css.borderradius",d="px ",e='""',f="_applyDoubleBorder",g="border-top",h="inset 0 -",i="css.boxsizing",j="innerWidthTop",k="100%",l="border-left",m="innerColorRight",n="css.boxshadow",o="innerColorTop",p="innerColorLeft",q="inset ",r="shorthand",s="inset -",t="Color",u="border-box",v="qx.ui.decoration.MDoubleBorder",w="border-bottom",x=":before",y="inset 0 ",z="px solid ",A="innerWidthBottom",B="css.rgba",C="inherit",D="Number",E="innerWidthLeft",F="px 0 ",G="inset 0 0 0 ",H="border-right",I=" ",J=",",K="absolute";qx.Mixin.define(v,{include:[qx.ui.decoration.MSingleBorder,qx.ui.decoration.MBackgroundImage],construct:function(){this._getDefaultInsetsForBorder=this.__dw;this._styleBorder=this.__du;},properties:{innerWidthTop:{check:D,init:0,apply:f},innerWidthRight:{check:D,init:0,apply:f},innerWidthBottom:{check:D,init:0,apply:f},innerWidthLeft:{check:D,init:0,apply:f},innerWidth:{group:[j,a,A,E],mode:r},innerColorTop:{nullable:true,check:t,apply:f},innerColorRight:{nullable:true,check:t,apply:f},innerColorBottom:{nullable:true,check:t,apply:f},innerColorLeft:{nullable:true,check:t,apply:f},innerColor:{group:[o,m,b,p],mode:r},innerOpacity:{check:D,init:1,apply:f}},members:{__du:function(L){var U=qx.core.Environment.get(n);var O,Y,innerWidth;{var T=qx.theme.manager.Color.getInstance();O={top:T.resolve(this.getColorTop()),right:T.resolve(this.getColorRight()),bottom:T.resolve(this.getColorBottom()),left:T.resolve(this.getColorLeft())};Y={top:T.resolve(this.getInnerColorTop()),right:T.resolve(this.getInnerColorRight()),bottom:T.resolve(this.getInnerColorBottom()),left:T.resolve(this.getInnerColorLeft())};};innerWidth={top:this.getInnerWidthTop(),right:this.getInnerWidthRight(),bottom:this.getInnerWidthBottom(),left:this.getInnerWidthLeft()};var R=this.getWidthTop();if(R>0){L[g]=R+d+this.getStyleTop()+I+O.top;};R=this.getWidthRight();if(R>0){L[H]=R+d+this.getStyleRight()+I+O.right;};R=this.getWidthBottom();if(R>0){L[w]=R+d+this.getStyleBottom()+I+O.bottom;};R=this.getWidthLeft();if(R>0){L[l]=R+d+this.getStyleLeft()+I+O.left;};var X=this.getInnerOpacity();if(X<1){this.__dv(Y,X);};if(innerWidth.top>0||innerWidth.right>0||innerWidth.bottom>0||innerWidth.left>0){var W=(innerWidth.top||0)+z+Y.top;var V=(innerWidth.right||0)+z+Y.right;var Q=(innerWidth.bottom||0)+z+Y.bottom;var S=(innerWidth.left||0)+z+Y.left;L[x]={"width":k,"height":k,"position":K,"content":e,"border-top":W,"border-right":V,"border-bottom":Q,"border-left":S,"left":0,"top":0};var M=qx.bom.Style.getCssName(qx.core.Environment.get(i));L[x][M]=u;var N=qx.core.Environment.get(c);if(N){N=qx.bom.Style.getCssName(N);L[x][N]=C;};var P=[];if(Y.top&&innerWidth.top&&Y.top==Y.bottom&&Y.top==Y.right&&Y.top==Y.left&&innerWidth.top==innerWidth.bottom&&innerWidth.top==innerWidth.right&&innerWidth.top==innerWidth.left){P.push(G+innerWidth.top+d+Y.top);}else {if(Y.top){P.push(y+(innerWidth.top||0)+d+Y.top);};if(Y.right){P.push(s+(innerWidth.right||0)+F+Y.right);};if(Y.bottom){P.push(h+(innerWidth.bottom||0)+d+Y.bottom);};if(Y.left){P.push(q+(innerWidth.left||0)+F+Y.left);};};if(P.length>0&&U){U=qx.bom.Style.getCssName(U);if(!L[U]){L[U]=P.join(J);}else {L[U]+=J+P.join(J);};};}else {L[x]={border:0};};},__dv:function(bd,ba){if(!qx.core.Environment.get(B)){{};return;};for(var be in bd){var bb=qx.util.ColorUtil.stringToRgb(bd[be]);bb.push(ba);var bc=qx.util.ColorUtil.rgbToRgbString(bb);bd[be]=bc;};},_applyDoubleBorder:function(){{};},__dw:function(){return {top:this.getWidthTop()+this.getInnerWidthTop(),right:this.getWidthRight()+this.getInnerWidthRight(),bottom:this.getWidthBottom()+this.getInnerWidthBottom(),left:this.getWidthLeft()+this.getInnerWidthLeft()};}}});})();(function(){var a="css.float",b="foo",c="css.borderimage.standardsyntax",d="detect",e="borderRadius",f="boxSizing",g="stretch",h="css.borderradius",j="content",k="css.inlineblock",l="css.gradient.filter",m="css.appearance",n="css.opacity",o="div",p="pointerEvents",q="css.gradient.radial",r="css.pointerevents",s="input",t="color",u="string",v="borderImage",w="userSelect",x="styleFloat",y="css.textShadow.filter",z="css.usermodify",A="flexbox",B='url("foo.png") 4 4 4 4 fill stretch',C="css.boxmodel",D="qx.bom.client.Css",E="css.boxshadow",F="appearance",G="-ms-flexbox",H="placeholder",I="-moz-none",J="backgroundImage",K="css.textShadow",L="DXImageTransform.Microsoft.Shadow",M="flex",N="css.alphaimageloaderneeded",O="css.gradient.legacywebkit",P="css.flexboxSyntax",Q="linear-gradient(0deg, #fff, #000)",R="textShadow",S="auto",T="css.borderimage",U="foo.png",V="rgba(1, 2, 3, 0.5)",W="color=#666666,direction=45",X="radial-gradient(0px 0px, cover, red 50%, blue 100%)",Y="rgba",bG="(",bH="-webkit-flex",bI='url("foo.png") 4 4 4 4 stretch',bC="css.gradient.linear",bD="DXImageTransform.Microsoft.Gradient",bE="css.userselect",bF="span",bM="css.boxsizing",bN="-webkit-gradient(linear,0% 0%,100% 100%,from(white), to(red))",bO="mshtml",ca="css.rgba",bJ=");",bK="4 fill",bL="none",bA="startColorStr=#550000FF, endColorStr=#55FFFF00",bR="progid:",bB="css.placeholder",bS="css.userselect.none",bT="css.textoverflow",bX="inline-block",bP="-moz-inline-box",bY="textOverflow",bQ="userModify",bU="boxShadow",bV="cssFloat",bW="border";qx.Bootstrap.define(D,{statics:{__dx:null,getBoxModel:function(){var content=qx.bom.client.Engine.getName()!==bO||!qx.bom.client.Browser.getQuirksMode();return content?j:bW;},getTextOverflow:function(){return qx.bom.Style.getPropertyName(bY);},getPlaceholder:function(){var i=document.createElement(s);return H in i;},getAppearance:function(){return qx.bom.Style.getPropertyName(F);},getBorderRadius:function(){return qx.bom.Style.getPropertyName(e);},getBoxShadow:function(){return qx.bom.Style.getPropertyName(bU);},getBorderImage:function(){return qx.bom.Style.getPropertyName(v);},getBorderImageSyntax:function(){var cc=qx.bom.client.Css.getBorderImage();if(!cc){return null;};var cb=document.createElement(o);if(cc===v){cb.style[cc]=B;if(cb.style.borderImageSource.indexOf(U)>=0&&cb.style.borderImageSlice.indexOf(bK)>=0&&cb.style.borderImageRepeat.indexOf(g)>=0){return true;};}else {cb.style[cc]=bI;if(cb.style[cc].indexOf(U)>=0){return false;};};return null;},getUserSelect:function(){return qx.bom.Style.getPropertyName(w);},getUserSelectNone:function(){var ce=qx.bom.client.Css.getUserSelect();if(ce){var cd=document.createElement(bF);cd.style[ce]=I;return cd.style[ce]===I?I:bL;};return null;},getUserModify:function(){return qx.bom.Style.getPropertyName(bQ);},getFloat:function(){var cf=document.documentElement.style;return cf.cssFloat!==undefined?bV:cf.styleFloat!==undefined?x:null;},getLinearGradient:function(){qx.bom.client.Css.__dx=false;var cj=Q;var cg=document.createElement(o);var ch=qx.bom.Style.getAppliedStyle(cg,J,cj);if(!ch){cj=bN;var ch=qx.bom.Style.getAppliedStyle(cg,J,cj,false);if(ch){qx.bom.client.Css.__dx=true;};};if(!ch){return null;};var ci=/(.*?)\(/.exec(ch);return ci?ci[1]:null;},getFilterGradient:function(){return qx.bom.client.Css.__dy(bD,bA);},getRadialGradient:function(){var cn=X;var ck=document.createElement(o);var cl=qx.bom.Style.getAppliedStyle(ck,J,cn);if(!cl){return null;};var cm=/(.*?)\(/.exec(cl);return cm?cm[1]:null;},getLegacyWebkitGradient:function(){if(qx.bom.client.Css.__dx===null){qx.bom.client.Css.getLinearGradient();};return qx.bom.client.Css.__dx;},getRgba:function(){var co;try{co=document.createElement(o);}catch(cp){co=document.createElement();};try{co.style[t]=V;if(co.style[t].indexOf(Y)!=-1){return true;};}catch(cq){};return false;},getBoxSizing:function(){return qx.bom.Style.getPropertyName(f);},getInlineBlock:function(){var cr=document.createElement(bF);cr.style.display=bX;if(cr.style.display==bX){return bX;};cr.style.display=bP;if(cr.style.display!==bP){return bP;};return null;},getOpacity:function(){return (typeof document.documentElement.style.opacity==u);},getTextShadow:function(){return !!qx.bom.Style.getPropertyName(R);},getFilterTextShadow:function(){return qx.bom.client.Css.__dy(L,W);},__dy:function(cv,ct){var cu=false;var cw=bR+cv+bG+ct+bJ;var cs=document.createElement(o);document.body.appendChild(cs);cs.style.filter=cw;if(cs.filters&&cs.filters.length>0&&cs.filters.item(cv).enabled==true){cu=true;};document.body.removeChild(cs);return cu;},getAlphaImageLoaderNeeded:function(){return qx.bom.client.Engine.getName()==bO&&qx.bom.client.Browser.getDocumentMode()<9;},getPointerEvents:function(){var cx=document.documentElement;if(p in cx.style){var cz=cx.style.pointerEvents;cx.style.pointerEvents=S;cx.style.pointerEvents=b;var cy=cx.style.pointerEvents==S;cx.style.pointerEvents=cz;return cy;};return false;},getFlexboxSyntax:function(){var cB=null;var cA=document.createElement(d);var cC=[{value:M,syntax:M},{value:G,syntax:A},{value:bH,syntax:M}];for(var i=0;i0){B=true;A[y]=C+c;A[n]=C+c;A[j]=C+c;};C=this.getRadiusTopRight();if(C>0){B=true;A[t]=C+c;A[w]=C+c;A[k]=C+c;};C=this.getRadiusBottomLeft();if(C>0){B=true;A[z]=C+c;A[d]=C+c;A[l]=C+c;};C=this.getRadiusBottomRight();if(C>0){B=true;A[p]=C+c;A[h]=C+c;A[r]=C+c;};if(B&&qx.core.Environment.get(u)==x){A[e]=q;}else {A[i]=q;};},_applyBorderRadius:function(){{};}}});})();(function(){var a="border-width",b="css.borderimage.standardsyntax",c="repeat",d="Boolean",e="-l",f="stretch",g="px ",h="sliceBottom",i="-t",j="Integer",k="solid",l="borderImage",m="-r",n="border-style",o="sliceLeft",p="-b",q="sliceRight",r="px",s="repeatX",t=" fill",u="String",v="vertical",w="",x="transparent",y="round",z='") ',A="shorthand",B="qx.ui.decoration.MBorderImage",C="sliceTop",D="horizontal",E="_applyBorderImage",F="border-color",G='url("',H=" ",I="grid",J="repeatY";qx.Mixin.define(B,{properties:{borderImage:{check:u,nullable:true,apply:E},sliceTop:{check:j,nullable:true,init:null,apply:E},sliceRight:{check:j,nullable:true,init:null,apply:E},sliceBottom:{check:j,nullable:true,init:null,apply:E},sliceLeft:{check:j,nullable:true,init:null,apply:E},slice:{group:[C,q,h,o],mode:A},repeatX:{check:[f,c,y],init:f,apply:E},repeatY:{check:[f,c,y],init:f,apply:E},repeat:{group:[s,J],mode:A},fill:{check:d,init:true,apply:E},borderImageMode:{check:[D,v,I],init:I}},members:{_styleBorderImage:function(K){if(!this.getBorderImage()){return;};var M=qx.util.AliasManager.getInstance().resolve(this.getBorderImage());var O=qx.util.ResourceManager.getInstance().toUri(M);var R=this._getDefaultInsetsForBorderImage();var L=[R.top,R.right,R.bottom,R.left];var P=[this.getRepeatX(),this.getRepeatY()].join(H);var S=this.getFill()&&qx.core.Environment.get(b)?t:w;var N=qx.bom.Style.getPropertyName(l);if(N){var Q=qx.bom.Style.getCssName(N);K[Q]=G+O+z+L.join(H)+S+H+P;};K[n]=k;K[F]=x;K[a]=L.join(g)+r;},_getDefaultInsetsForBorderImage:function(){if(!this.getBorderImage()){return {top:0,right:0,bottom:0,left:0};};var T=qx.util.AliasManager.getInstance().resolve(this.getBorderImage());var U=this.__dz(T);return {top:this.getSliceTop()||U[0],right:this.getSliceRight()||U[1],bottom:this.getSliceBottom()||U[2],left:this.getSliceLeft()||U[3]};},_applyBorderImage:function(){{};},__dz:function(bc){var bb=this.getBorderImageMode();var bd=0;var Y=0;var ba=0;var be=0;var bf=/(.*)(\.[a-z]+)$/.exec(bc);var V=bf[1];var X=bf[2];var W=qx.util.ResourceManager.getInstance();if(bb==I||bb==v){bd=W.getImageHeight(V+i+X);ba=W.getImageHeight(V+p+X);};if(bb==I||bb==D){Y=W.getImageWidth(V+m+X);be=W.getImageWidth(V+e+X);};return [bd,Y,ba,be];}}});})();(function(){var a=" 0",b="),to(",c="px",d="css.borderradius",e="from(",f=")",g="background-image",h="background",i="filter",j="background-size",k="', ",l="0",m="_applyLinearBackgroundGradient",n="-webkit-gradient(linear,",o="startColorPosition",p="background-color",q="deg, ",r="url(",s="css.gradient.legacywebkit",t="EndColorStr='#FF",u="startColor",v="shorthand",w="Color",x="px 100%",y="StartColorStr='#FF",z="vertical",A="",B="transparent",C="qx.ui.decoration.MLinearBackgroundGradient",D="% 100%",E="endColorPosition",F="canvas",G="(",H="css.gradient.linear",I="';)",J="endColor",K=", ",L="css.gradient.filter",M="horizontal",N="Number",O="100% ",P='2d',Q="%",R=" ",S="white",T="linear-gradient",U='progid:DXImageTransform.Microsoft.Gradient(GradientType=',V=",";qx.Mixin.define(C,{properties:{startColor:{check:w,nullable:true,apply:m},endColor:{check:w,nullable:true,apply:m},orientation:{check:[M,z],init:z,apply:m},startColorPosition:{check:N,init:0,apply:m},endColorPosition:{check:N,init:100,apply:m},colorPositionUnit:{check:[c,Q],init:Q,apply:m},gradientStart:{group:[u,o],mode:v},gradientEnd:{group:[J,E],mode:v}},members:{__dA:null,_styleLinearBackgroundGradient:function(W){var bj=this.__dB();var bn=bj.start;var bh=bj.end;var bf;if(!bn||!bh){return;};var bq=this.getColorPositionUnit();if(qx.core.Environment.get(s)){bq=bq===c?A:bq;if(this.getOrientation()==M){var bm=this.getStartColorPosition()+bq+a+bq;var bk=this.getEndColorPosition()+bq+a+bq;}else {var bm=l+bq+R+this.getStartColorPosition()+bq;var bk=l+bq+R+this.getEndColorPosition()+bq;};var bb=e+bn+b+bh+f;bf=n+bm+V+bk+V+bb+f;W[h]=bf;}else if(qx.core.Environment.get(L)&&!qx.core.Environment.get(H)&&qx.core.Environment.get(d)){if(!this.__dA){this.__dA=document.createElement(F);};var X=this.getOrientation()==z;var bj=this.__dB();var bg=X?200:1;var ba=X?1:200;var be=Math.max(100,this.getEndColorPosition()-this.getStartColorPosition());if(bq===c){if(X){bg=Math.max(bg,this.getEndColorPosition()-this.getStartColorPosition());}else {ba=Math.max(ba,this.getEndColorPosition()-this.getStartColorPosition());};}else {if(X){bg=Math.max(bg,(this.getEndColorPosition()-this.getStartColorPosition())*2);}else {ba=Math.max(ba,(this.getEndColorPosition()-this.getStartColorPosition())*2);};};this.__dA.width=ba;this.__dA.height=bg;var bd=this.__dA.getContext(P);if(X){var bp=bd.createLinearGradient(0,0,0,bg);}else {var bp=bd.createLinearGradient(0,0,ba,0);};if(bq===Q){bp.addColorStop(Math.max(0,this.getStartColorPosition())/be,bj.start);bp.addColorStop(this.getEndColorPosition()/be,bj.end);}else {var bc=X?bg:ba;bp.addColorStop(Math.max(0,this.getStartColorPosition())/bc,bj.start);bp.addColorStop(this.getEndColorPosition()/bc,bj.end);};bd.fillStyle=bp;bd.fillRect(0,0,ba,bg);var bf=r+this.__dA.toDataURL()+f;W[g]=bf;if(bq===Q){if(X){W[j]=O+be+Q;}else {W[j]=be+D;};}else {W[j]=X?bg+x:O+ba+c;};}else if(qx.core.Environment.get(L)&&!qx.core.Environment.get(H)){var bj=this.__dB();var bo=this.getOrientation()==M?1:0;var bn=bj.start;var bh=bj.end;if(!qx.util.ColorUtil.isHex6String(bn)){bn=qx.util.ColorUtil.stringToRgb(bn);bn=qx.util.ColorUtil.rgbToHexString(bn);};if(!qx.util.ColorUtil.isHex6String(bh)){bh=qx.util.ColorUtil.stringToRgb(bh);bh=qx.util.ColorUtil.rgbToHexString(bh);};bn=bn.substring(1,bn.length);bh=bh.substring(1,bh.length);bf=U+bo+K+y+bn+k+t+bh+I;if(W[i]){W[i]+=K+bf;}else {W[i]=bf;};if(!W[p]||W[p]==B){W[p]=S;};}else {var br=this.getOrientation()==M?0:270;var bi=bn+R+this.getStartColorPosition()+bq;var Y=bh+R+this.getEndColorPosition()+bq;var bl=qx.core.Environment.get(H);if(bl===T){br=this.getOrientation()==M?br+90:br-90;};bf=bl+G+br+q+bi+V+Y+f;if(W[g]){W[g]+=K+bf;}else {W[g]=bf;};};},__dB:function(){{var bs=qx.theme.manager.Color.getInstance();var bu=bs.resolve(this.getStartColor());var bt=bs.resolve(this.getEndColor());};return {start:bu,end:bt};},_applyLinearBackgroundGradient:function(){{};}}});})();(function(){var a="_applyBoxShadow",b="shadowHorizontalLength",c="Boolean",d="",e="px ",f="css.boxshadow",g="shadowVerticalLength",h="inset ",i="shorthand",j="qx.ui.decoration.MBoxShadow",k="Integer",l="Color",m=",";qx.Mixin.define(j,{properties:{shadowHorizontalLength:{nullable:true,check:k,apply:a},shadowVerticalLength:{nullable:true,check:k,apply:a},shadowBlurRadius:{nullable:true,check:k,apply:a},shadowSpreadRadius:{nullable:true,check:k,apply:a},shadowColor:{nullable:true,check:l,apply:a},inset:{init:false,check:c,apply:a},shadowLength:{group:[b,g],mode:i}},members:{_styleBoxShadow:function(n){var v=qx.core.Environment.get(f);if(!v||this.getShadowVerticalLength()==null&&this.getShadowHorizontalLength()==null){return;};{var r=qx.theme.manager.Color.getInstance();var o=r.resolve(this.getShadowColor());};if(o!=null){var u=this.getShadowVerticalLength()||0;var p=this.getShadowHorizontalLength()||0;var blur=this.getShadowBlurRadius()||0;var t=this.getShadowSpreadRadius()||0;var s=this.getInset()?h:d;var q=s+p+e+u+e+blur+e+t+e+o;v=qx.bom.Style.getCssName(v);if(!n[v]){n[v]=q;}else {n[v]+=m+q;};};},_applyBoxShadow:function(){{};}}});})();(function(){var a="qx.ui.decoration.Decorator",b="_style",c="_getDefaultInsetsFor",d="bottom",e="top",f="left",g="right";qx.Class.define(a,{extend:qx.ui.decoration.Abstract,implement:[qx.ui.decoration.IDecorator],include:[qx.ui.decoration.MBackgroundColor,qx.ui.decoration.MBorderRadius,qx.ui.decoration.MBoxShadow,qx.ui.decoration.MDoubleBorder,qx.ui.decoration.MLinearBackgroundGradient,qx.ui.decoration.MBorderImage],members:{__dC:false,getPadding:function(){var k=this.getInset();var h=this._getDefaultInsetsForBorderImage();var n=k.top-(h.top?h.top:this.getWidthTop());var m=k.right-(h.right?h.right:this.getWidthRight());var j=k.bottom-(h.bottom?h.bottom:this.getWidthBottom());var l=k.left-(h.left?h.left:this.getWidthLeft());return {top:k.top?n:this.getInnerWidthTop(),right:k.right?m:this.getInnerWidthRight(),bottom:k.bottom?j:this.getInnerWidthBottom(),left:k.left?l:this.getInnerWidthLeft()};},getStyles:function(r){if(r){return this._getStyles();};var q={};var p=this._getStyles();for(var o in p){q[qx.lang.String.camelCase(o)]=p[o];};return q;},_getStyles:function(){var s={};for(var name in this){if(name.indexOf(b)==0&&this[name] instanceof Function){this[name](s);};};this.__dC=true;return s;},_getDefaultInsets:function(){var w=[e,g,d,f];var u={};for(var name in this){if(name.indexOf(c)==0&&this[name] instanceof Function){var v=this[name]();for(var i=0;iu[t]){u[t]=v[t];};};};};if(u[e]!=undefined){return u;};return {top:0,right:0,bottom:0,left:0};},_isInitialized:function(){return this.__dC;}}});})();(function(){var a="_applyTheme",b="qx.theme.manager.Font",c="_dynamic",d="Theme",e="changeTheme",f="singleton";qx.Class.define(b,{type:f,extend:qx.util.ValueManager,properties:{theme:{check:d,nullable:true,apply:a,event:e}},members:{resolveDynamic:function(h){var g=this._dynamic;return h instanceof qx.bom.Font?h:g[h];},resolve:function(l){var k=this._dynamic;var i=k[l];if(i){return i;};var j=this.getTheme();if(j!==null&&j.fonts[l]){var m=this.__dE(j.fonts[l]);return k[l]=(new m).set(j.fonts[l]);};return l;},isDynamic:function(q){var p=this._dynamic;if(q&&(q instanceof qx.bom.Font||p[q]!==undefined)){return true;};var o=this.getTheme();if(o!==null&&q&&o.fonts[q]){var n=this.__dE(o.fonts[q]);p[q]=(new n).set(o.fonts[q]);return true;};return false;},__dD:function(s,r){if(s[r].include){var t=s[s[r].include];s[r].include=null;delete s[r].include;s[r]=qx.lang.Object.mergeWith(s[r],t,false);this.__dD(s,r);};},_applyTheme:function(y){var u=this._dynamic;for(var x in u){if(u[x].themed){u[x].dispose();delete u[x];};};if(y){var v=y.fonts;for(var x in v){if(v[x].include&&v[v[x].include]){this.__dD(v,x);};var w=this.__dE(v[x]);u[x]=(new w).set(v[x]);u[x].themed=true;};};this._setDynamic(u);},__dE:function(z){if(z.sources){return qx.bom.webfonts.WebFont;};return qx.bom.Font;}},destruct:function(){this._disposeMap(c);}});})();(function(){var a="Boolean",b="px",c="_applyItalic",d="_applyBold",e="underline",f="_applyTextShadow",g="Integer",h="_applyFamily",j="_applyLineHeight",k='"',m="Array",n="line-through",o="overline",p="Color",q="String",r="",s="italic",t="normal",u="qx.bom.Font",v="bold",w="Number",x="_applyDecoration",y=" ",z="_applySize",A=",",B="_applyColor";qx.Class.define(u,{extend:qx.core.Object,construct:function(D,C){qx.core.Object.call(this);this.__dF={fontFamily:r,fontSize:null,fontWeight:null,fontStyle:null,textDecoration:null,lineHeight:null,color:null,textShadow:null};if(D!==undefined){this.setSize(D);};if(C!==undefined){this.setFamily(C);};},statics:{fromString:function(H){var I=new qx.bom.Font();var F=H.split(/\s+/);var name=[];var G;for(var i=0;i0){I.setFamily(name);};return I;},fromConfig:function(K){var J=new qx.bom.Font;J.set(K);return J;},__dG:{fontFamily:r,fontSize:r,fontWeight:r,fontStyle:r,textDecoration:r,lineHeight:1.2,color:r,textShadow:r},getDefaultStyles:function(){return this.__dG;}},properties:{size:{check:g,nullable:true,apply:z},lineHeight:{check:w,nullable:true,apply:j},family:{check:m,nullable:true,apply:h},bold:{check:a,nullable:true,apply:d},italic:{check:a,nullable:true,apply:c},decoration:{check:[e,n,o],nullable:true,apply:x},color:{check:p,nullable:true,apply:B},textShadow:{nullable:true,check:q,apply:f}},members:{__dF:null,_applySize:function(M,L){this.__dF.fontSize=M===null?null:M+b;},_applyLineHeight:function(O,N){this.__dF.lineHeight=O===null?null:O;},_applyFamily:function(P,Q){var R=r;for(var i=0,l=P.length;i0){R+=k+P[i]+k;}else {R+=P[i];};if(i!==l-1){R+=A;};};this.__dF.fontFamily=R;},_applyBold:function(T,S){this.__dF.fontWeight=T==null?null:T?v:t;},_applyItalic:function(V,U){this.__dF.fontStyle=V==null?null:V?s:t;},_applyDecoration:function(X,W){this.__dF.textDecoration=X==null?null:X;},_applyColor:function(ba,Y){this.__dF.color=null;if(ba){this.__dF.color=qx.theme.manager.Color.getInstance().resolve(ba);};},_applyTextShadow:function(bc,bb){this.__dF.textShadow=bc==null?null:bc;},getStyles:function(){return this.__dF;}}});})();(function(){var a="changeStatus",b="qx.bom.webfonts.WebFont",c="_applySources",d="",e="qx.event.type.Data";qx.Class.define(b,{extend:qx.bom.Font,events:{"changeStatus":e},properties:{sources:{nullable:true,apply:c}},members:{__dH:null,_applySources:function(h,k){var f=[];for(var i=0,l=h.length;i1){bk=bk+u+bp[1];};bl.push(bk);};if(qx.core.Environment.get(T)==S&&(parseInt(qx.core.Environment.get(Q))<9||qx.core.Environment.get(E)<9)){if(!this.__dN){this.__dN=new qx.event.Timer(100);this.__dN.addListener(t,this.__dP,this);};if(!this.__dN.isEnabled()){this.__dN.start();};this.__dK.push([bm,bl,bo,bq]);}else {this.__dO(bm,bl,bo,bq);};},remove:function(bs){var br=null;for(var i=0,l=this.__dI.length;i=9)||(bx==v&&bu>=3.6)||(bx==g&&bu>=6)){bt.push(bh);};if((bx==P&&bu>=10)||(bx==G&&bu>=3.1)||(bx==v&&bu>=3.5)||(bx==g&&bu>=4)||(bx==F&&bw==z&&bv>=4.2)){bt.push(J);};if(bx==bi&&bu>=4){bt.push(y);};if(bx==p&&bw==z&&bv>=4.1){bt.push(f);};return bt;},removeStyleSheet:function(){this.__dI=[];if(this.__dM){qx.bom.Stylesheet.removeSheet(this.__dM);};this.__dM=null;},__dO:function(bA,bC,bz,bD){if(!qx.lang.Array.contains(this.__dI,bA)){var bE=this.__dR(bC);var bB=this.__dS(bA,bE);if(!bB){throw new Error(R+bA+w);};if(!this.__dM){this.__dM=qx.bom.Stylesheet.createElement();};try{this.__dU(bB);}catch(bF){{};};this.__dI.push(bA);};if(!this.__dJ[bA]){this.__dJ[bA]=new qx.bom.webfonts.Validator(bA);this.__dJ[bA].setTimeout(qx.bom.webfonts.Manager.VALIDATION_TIMEOUT);this.__dJ[bA].addListenerOnce(s,this.__dQ,this);};if(bz){var by=bD||window;this.__dJ[bA].addListenerOnce(s,bz,by);};this.__dJ[bA].validate();},__dP:function(){if(this.__dK.length==0){this.__dN.stop();return;};var bG=this.__dK.shift();this.__dO.apply(this,bG);},__dQ:function(bH){var bI=bH.getData();if(bI.valid===false){qx.event.Timer.once(function(){this.remove(bI.family);},this,250);};},__dR:function(bJ){var bL=qx.bom.webfonts.Manager.FONT_FORMATS;var bK={};for(var i=0,l=bJ.length;i0?this.__dL:qx.bom.webfonts.Manager.FONT_FORMATS;for(var i=0,l=bP.length;i=this.getTimeout()){this.__ee.stop();this._reset();this.fireDataEvent(b,{family:this.getFontFamily(),valid:false});};};}},destruct:function(){this._reset();this.__ee.stop();this.__ee.removeListener(h,this.__eh,this);this._disposeObjects(m);}});})();(function(){var a="mshtml",b="engine.name",c="qx.bom.element.Dimension",d="0px",e="paddingRight",f="paddingLeft",g="opera",h="overflowY",i="paddingTop",j="overflowX",k="browser.documentmode",l="paddingBottom";qx.Bootstrap.define(c,{statics:{getWidth:function(n){var m=this._getBoundingClientRect(n);return Math.round(m.right-m.left);},getHeight:function(p){var o=this._getBoundingClientRect(p);return Math.round(o.bottom-o.top);},_getBoundingClientRect:function(t){var s=t.getBoundingClientRect();if(qx.core.Environment.get(k)===11&&!!document.msFullscreenElement&&window!==window.top&&this.__ei(t)){var q={};for(var r in s){q[r]=s[r]*100;};s=q;};return s;},__ei:function(u){if(document.msFullscreenElement===u){return true;};return qx.dom.Hierarchy.contains(document.msFullscreenElement,u);},getSize:function(v){return {width:this.getWidth(v),height:this.getHeight(v)};},__ej:{visible:true,hidden:true},getContentWidth:function(z){var w=qx.bom.element.Style;var x=qx.bom.element.Style.get(z,j);var y=parseInt(w.get(z,f)||d,10);var C=parseInt(w.get(z,e)||d,10);if(this.__ej[x]){var B=z.clientWidth;if((qx.core.Environment.get(b)==g)||qx.dom.Node.isBlockNode(z)){B=B-y-C;};if(qx.core.Environment.get(b)==a){if(B===0&&z.offsetHeight===0){return z.offsetWidth;};};return B;}else {if(z.clientWidth>=z.scrollWidth){return Math.max(z.clientWidth,z.scrollWidth)-y-C;}else {var A=z.scrollWidth-y;if(qx.core.Environment.get(b)==a){A-=C;};return A;};};},getContentHeight:function(H){var D=qx.bom.element.Style;var G=qx.bom.element.Style.get(H,h);var F=parseInt(D.get(H,i)||d,10);var E=parseInt(D.get(H,l)||d,10);if(this.__ej[G]){return H.clientHeight-F-E;}else {if(H.clientHeight>=H.scrollHeight){return Math.max(H.clientHeight,H.scrollHeight)-F-E;}else {return H.scrollHeight-F;};};},getContentSize:function(I){return {width:this.getContentWidth(I),height:this.getContentHeight(I)};}}});})();(function(){var a="qx.dom.Hierarchy",b="previousSibling",c="html.element.contains",d="html.element.compareDocumentPosition",e="nextSibling",f="parentNode",g="*";qx.Bootstrap.define(a,{statics:{getNodeIndex:function(h){var i=0;while(h&&(h=h.previousSibling)){i++ ;};return i;},getElementIndex:function(l){var j=0;var k=qx.dom.Node.ELEMENT;while(l&&(l=l.previousSibling)){if(l.nodeType==k){j++ ;};};return j;},getNextElementSibling:function(m){while(m&&(m=m.nextSibling)&&!qx.dom.Node.isElement(m)){continue;};return m||null;},getPreviousElementSibling:function(n){while(n&&(n=n.previousSibling)&&!qx.dom.Node.isElement(n)){continue;};return n||null;},contains:function(q,p){if(qx.core.Environment.get(c)){if(qx.dom.Node.isDocument(q)){var o=qx.dom.Node.getDocument(p);return q&&o==q;}else if(qx.dom.Node.isDocument(p)){return false;}else {return q.contains(p);};}else if(qx.core.Environment.get(d)){return !!(q.compareDocumentPosition(p)&16);}else {while(p){if(q==p){return true;};p=p.parentNode;};return false;};},isRendered:function(s){var r=s.ownerDocument||s.document;if(qx.core.Environment.get(c)){if(!s.parentNode){return false;};return r.body.contains(s);}else if(qx.core.Environment.get(d)){return !!(r.compareDocumentPosition(s)&16);}else {while(s){if(s==r.body){return true;};s=s.parentNode;};return false;};},isDescendantOf:function(u,t){return this.contains(t,u);},getCommonParent:function(w,x){if(w===x){return w;};if(qx.core.Environment.get(c)){while(w&&qx.dom.Node.isElement(w)){if(w.contains(x)){return w;};w=w.parentNode;};return null;}else {var v=[];while(w||x){if(w){if(qx.lang.Array.contains(v,w)){return w;};v.push(w);w=w.parentNode;};if(x){if(qx.lang.Array.contains(v,x)){return x;};v.push(x);x=x.parentNode;};};return null;};},getAncestors:function(y){return this._recursivelyCollect(y,f);},getChildElements:function(A){A=A.firstChild;if(!A){return [];};var z=this.getNextSiblings(A);if(A.nodeType===1){z.unshift(A);};return z;},getDescendants:function(B){return qx.lang.Array.fromCollection(B.getElementsByTagName(g));},getFirstDescendant:function(C){C=C.firstChild;while(C&&C.nodeType!=1){C=C.nextSibling;};return C;},getLastDescendant:function(D){D=D.lastChild;while(D&&D.nodeType!=1){D=D.previousSibling;};return D;},getPreviousSiblings:function(E){return this._recursivelyCollect(E,b);},getNextSiblings:function(F){return this._recursivelyCollect(F,e);},_recursivelyCollect:function(I,G){var H=[];while(I=I[G]){if(I.nodeType==1){H.push(I);};};return H;},getSiblings:function(J){return this.getPreviousSiblings(J).reverse().concat(this.getNextSiblings(J));},isEmpty:function(K){K=K.firstChild;while(K){if(K.nodeType===qx.dom.Node.ELEMENT||K.nodeType===qx.dom.Node.TEXT){return false;};K=K.nextSibling;};return true;},cleanWhitespace:function(N){var L=N.firstChild;while(L){var M=L.nextSibling;if(L.nodeType==3&&!/\S/.test(L.nodeValue)){N.removeChild(L);};L=M;};}}});})();(function(){var a="border-box",b="qx.bom.element.BoxSizing",c="css.boxsizing",d="",e="boxSizing",f="content-box",g=":",h=";";qx.Bootstrap.define(b,{statics:{__ek:{tags:{button:true,select:true},types:{search:true,button:true,submit:true,reset:true,checkbox:true,radio:true}},__el:function(j){var i=this.__ek;return i.tags[j.tagName.toLowerCase()]||i.types[j.type];},compile:function(k){if(qx.core.Environment.get(c)){var l=qx.bom.Style.getCssName(qx.core.Environment.get(c));return l+g+k+h;}else {{};};},get:function(m){if(qx.core.Environment.get(c)){return qx.bom.element.Style.get(m,e,null,false)||d;};if(qx.bom.Document.isStandardMode(qx.dom.Node.getWindow(m))){if(!this.__el(m)){return f;};};return a;},set:function(o,n){if(qx.core.Environment.get(c)){try{o.style[qx.core.Environment.get(c)]=n;}catch(p){{};};}else {{};};},reset:function(q){this.set(q,d);}}});})();(function(){var a="cursor:",b="engine.name",c="",d="mshtml",e="nw-resize",f="engine.version",g="nesw-resize",h="browser.documentmode",i=";",j="nwse-resize",k="qx.bom.element.Cursor",l="ne-resize",m="browser.quirksmode",n="cursor";qx.Bootstrap.define(k,{statics:{__em:{},compile:function(o){return a+(this.__em[o]||o)+i;},get:function(q,p){return qx.bom.element.Style.get(q,n,p,false);},set:function(s,r){s.style.cursor=this.__em[r]||r;},reset:function(t){t.style.cursor=c;}},defer:function(u){if(qx.core.Environment.get(b)==d&&((parseFloat(qx.core.Environment.get(f))<9||qx.core.Environment.get(h)<9)&&!qx.core.Environment.get(m))){u.__em[g]=l;u.__em[j]=e;};}});})();(function(){var a="engine.name",b=");",c="",d=")",e="zoom:1;filter:alpha(opacity=",f="qx.bom.element.Opacity",g="css.opacity",h=";",i="opacity:",j="alpha(opacity=",k="opacity",l="filter";qx.Bootstrap.define(f,{statics:{compile:qx.core.Environment.select(a,{"mshtml":function(m){if(m>=1){m=1;};if(m<0.00001){m=0;};if(qx.core.Environment.get(g)){return i+m+h;}else {return e+(m*100)+b;};},"default":function(n){return i+n+h;}}),set:qx.core.Environment.select(a,{"mshtml":function(q,o){if(qx.core.Environment.get(g)){q.style.opacity=o;}else {var p=qx.bom.element.Style.get(q,l,qx.bom.element.Style.COMPUTED_MODE,false);if(o>=1){o=1;};if(o<0.00001){o=0;};if(!q.currentStyle||!q.currentStyle.hasLayout){q.style.zoom=1;};q.style.filter=p.replace(/alpha\([^\)]*\)/gi,c)+j+o*100+d;};},"default":function(s,r){s.style.opacity=r;}}),reset:qx.core.Environment.select(a,{"mshtml":function(u){if(qx.core.Environment.get(g)){u.style.opacity=c;}else {var t=qx.bom.element.Style.get(u,l,qx.bom.element.Style.COMPUTED_MODE,false);u.style.filter=t.replace(/alpha\([^\)]*\)/gi,c);};},"default":function(v){v.style.opacity=c;}}),get:qx.core.Environment.select(a,{"mshtml":function(z,y){if(qx.core.Environment.get(g)){var w=qx.bom.element.Style.get(z,k,y,false);if(w!=null){return parseFloat(w);};return 1.0;}else {var x=qx.bom.element.Style.get(z,l,y,false);if(x){var w=x.match(/alpha\(opacity=(.*)\)/);if(w&&w[1]){return parseFloat(w[1])/100;};};return 1.0;};},"default":function(C,B){var A=qx.bom.element.Style.get(C,k,B,false);if(A!=null){return parseFloat(A);};return 1.0;}})}});})();(function(){var a="clip:auto;",b="rect(",c=")",d=");",e="",f="px",g="Could not parse clip string: ",h="qx.bom.element.Clip",i="string",j="clip:rect(",k=" ",l="clip",m="rect(auto,auto,auto,auto)",n="rect(auto, auto, auto, auto)",o="auto",p=",";qx.Bootstrap.define(h,{statics:{compile:function(q){if(!q){return a;};var v=q.left;var top=q.top;var u=q.width;var t=q.height;var r,s;if(v==null){r=(u==null?o:u+f);v=o;}else {r=(u==null?o:v+u+f);v=v+f;};if(top==null){s=(t==null?o:t+f);top=o;}else {s=(t==null?o:top+t+f);top=top+f;};return j+top+p+r+p+s+p+v+d;},get:function(z,D){var x=qx.bom.element.Style.get(z,l,D,false);var C,top,A,E;var w,y;if(typeof x===i&&x!==o&&x!==e){x=x.trim();if(/\((.*)\)/.test(x)){var F=RegExp.$1;if(/,/.test(F)){var B=F.split(p);}else {var B=F.split(k);};top=B[0].trim();w=B[1].trim();y=B[2].trim();C=B[3].trim();if(C===o){C=null;};if(top===o){top=null;};if(w===o){w=null;};if(y===o){y=null;};if(top!=null){top=parseInt(top,10);};if(w!=null){w=parseInt(w,10);};if(y!=null){y=parseInt(y,10);};if(C!=null){C=parseInt(C,10);};if(w!=null&&C!=null){A=w-C;}else if(w!=null){A=w;};if(y!=null&&top!=null){E=y-top;}else if(y!=null){E=y;};}else {throw new Error(g+x);};};return {left:C||null,top:top||null,width:A||null,height:E||null};},set:function(L,G){if(!G){L.style.clip=m;return;};var M=G.left;var top=G.top;var K=G.width;var J=G.height;var H,I;if(M==null){H=(K==null?o:K+f);M=o;}else {H=(K==null?o:M+K+f);M=M+f;};if(top==null){I=(J==null?o:J+f);top=o;}else {I=(J==null?o:top+J+f);top=top+f;};L.style.clip=b+top+p+H+p+I+p+M+c;},reset:function(N){N.style.clip=n;}}});})();(function(){var a="css.float",b='cssFloat',c="px",d="Cascaded styles are not supported in this browser!",e="css.appearance",f="pixelRight",g="css.userselect",h="css.boxsizing",i="css.textoverflow",j="pixelHeight",k=":",l="pixelTop",m="css.borderimage",n="pixelLeft",o="css.usermodify",p="qx.bom.element.Style",q="",r="pixelBottom",s="pixelWidth",t='float',u=";",v="\"\"",w="style";qx.Bootstrap.define(p,{statics:{__en:null,__eo:null,__ep:function(){var y={"appearance":qx.core.Environment.get(e),"userSelect":qx.core.Environment.get(g),"textOverflow":qx.core.Environment.get(i),"borderImage":qx.core.Environment.get(m),"float":qx.core.Environment.get(a),"userModify":qx.core.Environment.get(o),"boxSizing":qx.core.Environment.get(h)};this.__eo={};for(var x in qx.lang.Object.clone(y)){if(!y[x]){delete y[x];}else {if(x===t){this.__eo[b]=x;}else {this.__eo[x]=qx.bom.Style.getCssName(y[x]);};};};this.__en=y;},__eq:function(name){var z=qx.bom.Style.getPropertyName(name);if(z){this.__en[name]=z;};return z;},__er:{width:s,height:j,left:n,right:f,top:l,bottom:r},__es:{clip:qx.bom.element.Clip,cursor:qx.bom.element.Cursor,opacity:qx.bom.element.Opacity,boxSizing:qx.bom.element.BoxSizing},compile:function(A){var D=[];var E=this.__es;var C=this.__eo;var name,B;for(name in A){B=A[name];if(B==null){continue;};name=this.__eo[name]||name;if(E[name]){D.push(E[name].compile(B));}else {if(!C[name]){C[name]=qx.bom.Style.getCssName(name);};D.push(C[name],k,B===q?v:B,u);};};return D.join(q);},setCss:function(G,F){G.setAttribute(w,F);},getCss:function(H){return H.getAttribute(w);},isPropertySupported:function(I){return (this.__es[I]||this.__en[I]||I in document.documentElement.style);},COMPUTED_MODE:1,CASCADED_MODE:2,LOCAL_MODE:3,set:function(L,name,J,K){{};name=this.__en[name]||this.__eq(name)||name;if(K!==false&&this.__es[name]){this.__es[name].set(L,J);}else {L.style[name]=J!==null?J:q;};},setStyles:function(S,M,T){{};var P=this.__en;var Q=this.__es;var N=S.style;for(var R in M){var O=M[R];var name=P[R]||this.__eq(R)||R;if(O===undefined){if(T!==false&&Q[name]){Q[name].reset(S);}else {N[name]=q;};}else {if(T!==false&&Q[name]){Q[name].set(S,O);}else {N[name]=O!==null?O:q;};};};},reset:function(V,name,U){name=this.__en[name]||this.__eq(name)||name;if(U!==false&&this.__es[name]){this.__es[name].reset(V);}else {V.style[name]=q;};},get:function(ba,name,bc,be){name=this.__en[name]||this.__eq(name)||name;if(be!==false&&this.__es[name]){return this.__es[name].get(ba,bc);};switch(bc){case this.LOCAL_MODE:return ba.style[name]||q;case this.CASCADED_MODE:if(ba.currentStyle){return ba.currentStyle[name]||q;};throw new Error(d);default:var X=qx.dom.Node.getDocument(ba);var bb=X.defaultView?X.defaultView.getComputedStyle:undefined;if(bb!==undefined){var W=bb(ba,null);if(W&&W[name]){return W[name];};}else {if(!ba.currentStyle){return ba.style[name]||q;};var bg=ba.currentStyle[name]||ba.style[name]||q;if(/^-?[\.\d]+(px)?$/i.test(bg)){return bg;};var bf=this.__er[name];if(bf&&(bf in ba.style)){var bd=ba.style[name];ba.style[name]=bg||0;var Y=ba.style[bf]+c;ba.style[name]=bd;return Y;};return bg;};return ba.style[name]||q;};}},defer:function(bh){bh.__ep();}});})();(function(){var a="engine.name",b="CSS1Compat",c="position:absolute;width:0;height:0;width:1",d="engine.version",e="qx.bom.Document",f="1px",g="div";qx.Bootstrap.define(e,{statics:{isQuirksMode:qx.core.Environment.select(a,{"mshtml":function(h){if(qx.core.Environment.get(d)>=8){return (h||window).document.documentMode===5;}else {return (h||window).document.compatMode!==b;};},"webkit":function(i){if(document.compatMode===undefined){var j=(i||window).document.createElement(g);j.style.cssText=c;return j.style.width===f?true:false;}else {return (i||window).document.compatMode!==b;};},"default":function(k){return (k||window).document.compatMode!==b;}}),isStandardMode:function(l){return !this.isQuirksMode(l);},getWidth:function(m){var o=(m||window).document;var n=qx.bom.Viewport.getWidth(m);var scroll=this.isStandardMode(m)?o.documentElement.scrollWidth:o.body.scrollWidth;return Math.max(scroll,n);},getHeight:function(p){var r=(p||window).document;var q=qx.bom.Viewport.getHeight(p);var scroll=this.isStandardMode(p)?r.documentElement.scrollHeight:r.body.scrollHeight;return Math.max(scroll,q);}}});})();(function(){var a="ios",b="os.name",c="undefined",d="qx.bom.Viewport";qx.Bootstrap.define(d,{statics:{getWidth:function(e){var e=e||window;var f=e.document;return qx.bom.Document.isStandardMode(e)?f.documentElement.clientWidth:f.body.clientWidth;},getHeight:function(g){var g=g||window;var h=g.document;if(qx.core.Environment.get(b)==a&&window.innerHeight!=h.documentElement.clientHeight){return window.innerHeight;};return qx.bom.Document.isStandardMode(g)?h.documentElement.clientHeight:h.body.clientHeight;},getScrollLeft:function(i){var i=i?i:window;if(typeof i.pageXOffset!==c){return i.pageXOffset;};var j=i.document;return j.documentElement.scrollLeft||j.body.scrollLeft;},getScrollTop:function(k){var k=k?k:window;if(typeof k.pageYOffset!==c){return k.pageYOffset;};var l=k.document;return l.documentElement.scrollTop||l.body.scrollTop;},__et:function(m){var o=this.getWidth(m)>this.getHeight(m)?90:0;var n=m.orientation;if(n==null||Math.abs(n%180)==o){return {"-270":90,"-180":180,"-90":-90,"0":0,"90":90,"180":180,"270":-90};}else {return {"-270":180,"-180":-90,"-90":0,"0":90,"90":180,"180":-90,"270":0};};},__eu:null,getOrientation:function(p){var p=p||window.top;var q=p.orientation;if(q==null){q=this.getWidth(p)>this.getHeight(p)?90:0;}else {if(this.__eu==null){this.__eu=this.__et(p);};q=this.__eu[q];};return q;},isLandscape:function(r){var s=this.getOrientation(r);return s===-90||s===90;},isPortrait:function(t){var u=this.getOrientation(t);return u===0||u===180;}}});})();(function(){var a="qx.theme.manager.Icon",b="Theme",c="changeTheme",d="_applyTheme",e="singleton";qx.Class.define(a,{type:e,extend:qx.core.Object,properties:{theme:{check:b,nullable:true,apply:d,event:c}},members:{_applyTheme:function(i,g){var h=qx.util.AliasManager.getInstance();if(g){for(var f in g.aliases){h.remove(f);};};if(i){for(var f in i.aliases){h.add(f,i.aliases[f]);};};}}});})();(function(){var a="Missing appearance: ",b="_applyTheme",c="string",d="qx.theme.manager.Appearance",e=":",f="Theme",g="changeTheme",h="/",j="singleton";qx.Class.define(d,{type:j,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__ev={};this.__ew={};},properties:{theme:{check:f,nullable:true,event:g,apply:b}},members:{__ex:{},__ev:null,__ew:null,_applyTheme:function(){this.__ew={};this.__ev={};},__ey:function(y,u,l,p){var r=u.appearances;var m=r[y];if(!m){var x=h;var n=[];var q=y.split(x);var w=qx.lang.Array.clone(q);var t;while(!m&&q.length>0){n.unshift(q.pop());var o=q.join(x);m=r[o];if(m){t=m.alias||m;if(typeof t===c){var v=t+x+n.join(x);return this.__ey(v,u,l,w);};};};for(var i=0;i0){P+=e+E;};};var F=this.__ev;if(F[P]!==undefined){return F[P];};if(!J){J=this.__ex;};var M;if(O.include||O.base){var Q;if(O.include){Q=this.styleFrom(O.include,J,K,A);};var I=O.style(J,Q);M={};if(O.base){var N=this.styleFrom(z,J,O.base,A);if(O.include){for(var C in N){if(!Q.hasOwnProperty(C)&&!I.hasOwnProperty(C)){M[C]=N[C];};};}else {for(var L in N){if(!I.hasOwnProperty(L)){M[L]=N[L];};};};};if(O.include){for(var B in Q){if(!I.hasOwnProperty(B)){M[B]=Q[B];};};};for(var S in I){M[S]=I[S];};}else {M=O.style(J);};return F[P]=M||null;}},destruct:function(){this.__ev=this.__ew=null;}});})();(function(){var b="'!",c="other",d="widgets",e="undefined",f="fonts",g="appearances",h="qx.Theme",j="]",k="Mixin theme is not a valid theme!",m="[Theme ",n="colors",o="decorations",p="' are not compatible '",q="Theme",r="meta",s="The mixins '",t="borders",u="icons";qx.Bootstrap.define(h,{statics:{define:function(name,w){if(!w){var w={};};w.include=this.__ez(w.include);w.patch=this.__ez(w.patch);{};var v={$$type:q,name:name,title:w.title,toString:this.genericToString};if(w.extend){v.supertheme=w.extend;};v.basename=qx.Bootstrap.createNamespace(name,v);this.__eC(v,w);this.__eA(v,w);this.$$registry[name]=v;for(var i=0,a=w.include,l=a.length;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(l){var k=this.__eG;var n=0;var parent=l;while(true){if(k[parent.$$hash]!=null){n+=k[parent.$$hash];break;};if(!parent.$$parent){break;};parent=parent.$$parent;n+=1;};var m=n;while(l&&l!==parent){k[l.$$hash]=m-- ;l=l.$$parent;};return n;},__eH:function(){var t=qx.ui.core.queue.Visibility;this.__eG={};var s=[];var r=this.__dK;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;},__eI:function(){var x=[];var z=this.__eH();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 a="mshtml",b="engine.name",c="pop.push.reverse.shift.sort.splice.unshift.join.slice",d="number",e="qx.type.BaseArray",f=".";qx.Bootstrap.define(e,{extend:Array,construct:function(g){},members:{toArray:null,valueOf:null,pop:null,push:null,reverse:null,shift:null,sort:null,splice:null,unshift:null,concat:null,join:null,slice:null,toString:null,indexOf:null,lastIndexOf:null,forEach:null,filter:null,map:null,some:null,every:null}});(function(){function h(p){if((qx.core.Environment.get(b)==a)){j.prototype={length:0,$$isArray:true};var n=c.split(f);for(var length=n.length;length;){j.prototype[n[ --length]]=Array.prototype[n[length]];};};var m=Array.prototype.slice;j.prototype.concat=function(){var r=this.slice(0);for(var i=0,length=arguments.length;i>.5?length:this.push(length);}else if(arguments.length){this.push.apply(this,arguments);};};function k(){};k.prototype=[];j.prototype=new k;j.prototype.length=0;qx.type.BaseArray=h(j);})();})();(function(){var a="name",b="qxWeb",c="toString",d="$",e="number",f="_",g="data-qx-class",h="basename",j="classname";qx.Bootstrap.define(b,{extend:qx.type.BaseArray,statics:{__eg:[],$$qx:qx,$init:function(p,n){if(p.length&&p.length==1&&p[0]&&p[0].$widget instanceof qxWeb){return p[0].$widget;};var o=[];for(var i=0;i>10|0xD800,fR&0x3FF|0xDC00);};try{fG.apply((ev=eI.call(eH.childNodes)),eH.childNodes);ev[eH.childNodes.length].nodeType;}catch(e){fG={apply:ev.length?function(fT,fS){fD.apply(fT,eI.call(fS));}:function(fV,fU){var j=fV.length,i=0;while((fV[j++ ]=fU[i++ ])){};fV.length=j-1;}};};function fL(gg,fX,gb,gd){var gi,fY,m,fW,i,ge,gh,ga,gf,gc;if((fX?fX.ownerDocument||fX:eH)!==document){eD(fX);};fX=fX||document;gb=gb||[];if(!gg||typeof gg!==T){return gb;};if((fW=fX.nodeType)!==1&&fW!==9){return [];};if(fq&&!gd){if((gi=fF.exec(gg))){if((m=gi[1])){if(fW===9){fY=fX.getElementById(m);if(fY&&fY.parentNode){if(fY.id===m){gb.push(fY);return gb;};}else {return gb;};}else {if(fX.ownerDocument&&(fY=fX.ownerDocument.getElementById(m))&&eN(fX,fY)&&fY.id===m){gb.push(fY);return gb;};};}else if(gi[2]){fG.apply(gb,fX.getElementsByTagName(gg));return gb;}else if((m=gi[3])&&eM.getElementsByClassName&&fX.getElementsByClassName){fG.apply(gb,fX.getElementsByClassName(m));return gb;};};if(eM.qsa&&(!fe||!fe.test(gg))){ga=gh=fa;gf=fX;gc=fW===9&≫if(fW===1&&fX.nodeName.toLowerCase()!==dA){ge=eV(gg);if((gh=fX.getAttribute(N))){ga=gh.replace(fm,ef);}else {fX.setAttribute(N,ga);};ga=dY+ga+f;i=ge.length;while(i-- ){ge[i]=ga+eQ(ge[i]);};gf=fc.test(gg)&&eC(fX.parentNode)||fX;gc=ge.join(ek);};if(gc){try{fG.apply(gb,gf.querySelectorAll(gc));return gb;}catch(gj){}finally{if(!gh){fX.removeAttribute(N);};};};};};return eG(gg.replace(fp,dN),fX,gb,gd);};function ey(){var gk=[];function gl(gm,gn){if(gk.push(gm+cV)>fM.cacheLength){delete gl[gk.shift()];};return (gl[gm+cV]=gn);};return gl;};function fy(go){go[fa]=true;return go;};function fk(gq){var gp=document.createElement(k);try{return !!gq(gp);}catch(e){return false;}finally{if(gp.parentNode){gp.parentNode.removeChild(gp);};gp=null;};};function fo(gt,gs){var gr=gt.split(dv),i=gt.length;while(i-- ){fM.attrHandle[gr[i]]=gs;};};function eY(a,b){var gv=b&&a,gu=gv&&a.nodeType===1&&b.nodeType===1&&(~b.sourceIndex||ft)-(~a.sourceIndex||ft);if(gu){return gu;};if(gv){while((gv=gv.nextSibling)){if(gv===b){return -1;};};};return a?1:-1;};function fE(gw){return function(gx){var name=gx.nodeName.toLowerCase();return name===l&&gx.type===gw;};};function er(gy){return function(gz){var name=gz.nodeName.toLowerCase();return (name===l||name===de)&&gz.type===gy;};};function fi(gA){return fy(function(gB){gB=+gB;return fy(function(gE,gC){var j,gD=gA([],gE.length,gB),i=gD.length;while(i-- ){if(gE[(j=gD[i])]){gE[j]=!(gC[j]=gE[j]);};};});});};function eC(gF){return gF&&typeof gF.getElementsByTagName!==eR&&gF;};eM=fL.support={};eB=fL.isXML=function(gG){var gH=gG&&(gG.ownerDocument||gG).documentElement;return gH?gH.nodeName!==eh:false;};eD=fL.setDocument=function(gI){var gK,gJ=gI?gI.ownerDocument||gI:eH,parent=gJ.defaultView;if(gJ===document||gJ.nodeType!==9||!gJ.documentElement){return document;};document=gJ;fK=gJ.documentElement;fq=!eB(gJ);if(parent&&parent!==parent.top){if(parent.addEventListener){parent.addEventListener(M,function(){eD();},false);}else if(parent.attachEvent){parent.attachEvent(dk,function(){eD();});};};eM.attributes=fk(function(gL){gL.className=C;return !gL.getAttribute(dP);});eM.getElementsByTagName=fk(function(gM){gM.appendChild(gJ.createComment(eb));return !gM.getElementsByTagName(z).length;});eM.getElementsByClassName=fz.test(gJ.getElementsByClassName)&&fk(function(gN){gN.innerHTML=cU;gN.firstChild.className=C;return gN.getElementsByClassName(C).length===2;});eM.getById=fk(function(gO){fK.appendChild(gO).id=fa;return !gJ.getElementsByName||!gJ.getElementsByName(fa).length;});if(eM.getById){fM.find[ej]=function(gP,gQ){if(typeof gQ.getElementById!==eR&&fq){var m=gQ.getElementById(gP);return m&&m.parentNode?[m]:[];};};fM.filter[ej]=function(gS){var gR=gS.replace(eu,fs);return function(gT){return gT.getAttribute(N)===gR;};};}else {delete fM.find[ej];fM.filter[ej]=function(gV){var gU=gV.replace(eu,fs);return function(gX){var gW=typeof gX.getAttributeNode!==eR&&gX.getAttributeNode(N);return gW&&gW.value===gU;};};};fM.find[dF]=eM.getElementsByTagName?function(gY,ha){if(typeof ha.getElementsByTagName!==eR){return ha.getElementsByTagName(gY);};}:function(he,hf){var hc,hb=[],i=0,hd=hf.getElementsByTagName(he);if(he===z){while((hc=hd[i++ ])){if(hc.nodeType===1){hb.push(hc);};};return hb;};return hd;};fM.find[g]=eM.getElementsByClassName&&function(hg,hh){if(typeof hh.getElementsByClassName!==eR&&fq){return hh.getElementsByClassName(hg);};};eq=[];fe=[];if((eM.qsa=fz.test(gJ.querySelectorAll))){fk(function(hi){hi.innerHTML=da;if(hi.querySelectorAll(I).length){fe.push(dW+eK+dR);};if(!hi.querySelectorAll(cM).length){fe.push(dm+eK+t+fd+dd);};if(!hi.querySelectorAll(ee).length){fe.push(ee);};});fk(function(hk){var hj=gJ.createElement(l);hj.setAttribute(cN,cW);hk.appendChild(hj).setAttribute(dn,dp);if(hk.querySelectorAll(W).length){fe.push(dn+eK+eo);};if(!hk.querySelectorAll(dO).length){fe.push(dO,h);};hk.querySelectorAll(dV);fe.push(dU);});};if((eM.matchesSelector=fz.test((ff=fK.webkitMatchesSelector||fK.mozMatchesSelector||fK.oMatchesSelector||fK.msMatchesSelector)))){fk(function(hl){eM.disconnectedMatch=ff.call(hl,k);ff.call(hl,S);eq.push(dx,fg);});};fe=fe.length&&new RegExp(fe.join(dv));eq=eq.length&&new RegExp(eq.join(dv));gK=fz.test(fK.compareDocumentPosition);eN=gK||fz.test(fK.contains)?function(a,b){var hm=a.nodeType===9?a.documentElement:a,hn=b&&b.parentNode;return a===hn||!!(hn&&hn.nodeType===1&&(hm.contains?hm.contains(hn):a.compareDocumentPosition&&a.compareDocumentPosition(hn)&16));}:function(a,b){if(b){while((b=b.parentNode)){if(b===a){return true;};};};return false;};eT=gK?function(a,b){if(a===b){eF=true;return 0;};var ho=!a.compareDocumentPosition-!b.compareDocumentPosition;if(ho){return ho;};ho=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1;if(ho&1||(!eM.sortDetached&&b.compareDocumentPosition(a)===ho)){if(a===gJ||a.ownerDocument===eH&&eN(eH,a)){return -1;};if(b===gJ||b.ownerDocument===eH&&eN(eH,b)){return 1;};return eE?(eS.call(eE,a)-eS.call(eE,b)):0;};return ho&4?-1:1;}:function(a,b){if(a===b){eF=true;return 0;};var hp,i=0,hq=a.parentNode,hr=b.parentNode,hs=[a],ht=[b];if(!hq||!hr){return a===gJ?-1:b===gJ?1:hq?-1:hr?1:eE?(eS.call(eE,a)-eS.call(eE,b)):0;}else if(hq===hr){return eY(a,b);};hp=a;while((hp=hp.parentNode)){hs.unshift(hp);};hp=b;while((hp=hp.parentNode)){ht.unshift(hp);};while(hs[i]===ht[i]){i++ ;};return i?eY(hs[i],ht[i]):hs[i]===eH?-1:ht[i]===eH?1:0;};return gJ;};fL.matches=function(hu,hv){return fL(hu,null,null,hv);};fL.matchesSelector=function(hx,hw){if((hx.ownerDocument||hx)!==document){eD(hx);};hw=hw.replace(fj,E);if(eM.matchesSelector&&fq&&(!eq||!eq.test(hw))&&(!fe||!fe.test(hw))){try{var hy=ff.call(hx,hw);if(hy||eM.disconnectedMatch||hx.document&&hx.document.nodeType!==11){return hy;};}catch(e){};};return fL(hw,document,null,[hx]).length>0;};fL.contains=function(hA,hz){if((hA.ownerDocument||hA)!==document){eD(hA);};return eN(hA,hz);};fL.attr=function(hC,name){if((hC.ownerDocument||hC)!==document){eD(hC);};var hB=fM.attrHandle[name.toLowerCase()],hD=hB&&fA.call(fM.attrHandle,name.toLowerCase())?hB(hC,name,!fq):undefined;return hD!==undefined?hD:eM.attributes||!fq?hC.getAttribute(name):(hD=hC.getAttributeNode(name))&&hD.specified?hD.value:null;};fL.error=function(hE){throw new Error(em+hE);};fL.uniqueSort=function(hG){var hH,hF=[],j=0,i=0;eF=!eM.detectDuplicates;eE=!eM.sortStable&&hG.slice(0);hG.sort(eT);if(eF){while((hH=hG[i++ ])){if(hH===hG[i]){j=hF.push(i);};};while(j-- ){hG.splice(hF[j],1);};};eE=null;return hG;};ew=fL.getText=function(hK){var hI,hL=eb,i=0,hJ=hK.nodeType;if(!hJ){while((hI=hK[i++ ])){hL+=ew(hI);};}else if(hJ===1||hJ===9||hJ===11){if(typeof hK.textContent===T){return hK.textContent;}else {for(hK=hK.firstChild;hK;hK=hK.nextSibling){hL+=ew(hK);};};}else if(hJ===3||hJ===4){return hK.nodeValue;};return hL;};fM=fL.selectors={cacheLength:50,createPseudo:fy,match:fB,attrHandle:{},find:{},relative:{">":{dir:cI,first:true}," ":{dir:cI},"+":{dir:v,first:true},"~":{dir:v}},preFilter:{"ATTR":function(hM){hM[1]=hM[1].replace(eu,fs);hM[3]=(hM[4]||hM[5]||eb).replace(eu,fs);if(hM[2]===u){hM[3]=cV+hM[3]+cV;};return hM.slice(0,4);},"CHILD":function(hN){hN[1]=hN[1].toLowerCase();if(hN[1].slice(0,3)===o){if(!hN[3]){fL.error(hN[0]);};hN[4]=+(hN[4]?hN[5]+(hN[6]||1):2*(hN[3]===cY||hN[3]===dq));hN[5]=+((hN[7]+hN[8])||hN[3]===dq);}else if(hN[3]){fL.error(hN[0]);};return hN;},"PSEUDO":function(hP){var hQ,hO=!hP[5]&&hP[2];if(fB[ea].test(hP[0])){return null;};if(hP[3]&&hP[4]!==undefined){hP[2]=hP[4];}else if(hO&&fu.test(hO)&&(hQ=eV(hO,true))&&(hQ=hO.indexOf(dd,hO.length-hQ)-hO.length)){hP[0]=hP[0].slice(0,hQ);hP[2]=hO.slice(0,hQ);};return hP.slice(0,3);}},filter:{"TAG":function(hR){var hS=hR.replace(eu,fs).toLowerCase();return hR===z?function(){return true;}:function(hT){return hT.nodeName&&hT.nodeName.toLowerCase()===hS;};},"CLASS":function(hU){var hV=es[hU+cV];return hV||(hV=new RegExp(d+eK+dd+hU+cS+eK+dE))&&es(hU,function(hW){return hV.test(typeof hW.className===T&&hW.className||typeof hW.getAttribute!==eR&&hW.getAttribute(dr)||eb);});},"ATTR":function(name,hX,hY){return function(ia){var ib=fL.attr(ia,name);if(ib==null){return hX===dx;};if(!hX){return true;};ib+=eb;return hX===L?ib===hY:hX===dx?ib!==hY:hX===G?hY&&ib.indexOf(hY)===0:hX===du?hY&&ib.indexOf(hY)>-1:hX===R?hY&&ib.slice(-hY.length)===hY:hX===u?(cV+ib+cV).indexOf(hY)>-1:hX===dl?ib===hY||ib.slice(0,hY.length+1)===hY+c:false;};},"CHILD":function(ij,ic,ii,ik,ie){var ih=ij.slice(0,3)!==o,forward=ij.slice(-4)!==ei,ig=ic===dG;return ik===1&&ie===0?function(il){return !!il.parentNode;}:function(ir,iu,im){var iq,iv,io,iw,ip,is,ix=ih!==forward?Q:v,parent=ir.parentNode,name=ig&&ir.nodeName.toLowerCase(),it=!im&&!ig;if(parent){if(ih){while(ix){io=ir;while((io=io[ix])){if(ig?io.nodeName.toLowerCase()===name:io.nodeType===1){return false;};};is=ix=ij===y&&!is&&Q;};return true;};is=[forward?parent.firstChild:parent.lastChild];if(forward&&it){iv=parent[fa]||(parent[fa]={});iq=iv[ij]||[];ip=iq[0]===eW&&iq[1];iw=iq[0]===eW&&iq[2];io=ip&&parent.childNodes[ip];while((io= ++ip&&io&&io[ix]||(iw=ip=0)||is.pop())){if(io.nodeType===1&& ++iw&&io===ir){iv[ij]=[eW,ip,iw];break;};};}else if(it&&(iq=(ir[fa]||(ir[fa]={}))[ij])&&iq[0]===eW){iw=iq[1];}else {while((io= ++ip&&io&&io[ix]||(iw=ip=0)||is.pop())){if((ig?io.nodeName.toLowerCase()===name:io.nodeType===1)&& ++iw){if(it){(io[fa]||(io[fa]={}))[ij]=[eW,iw];};if(io===ir){break;};};};};iw-=ie;return iw===ik||(iw%ik===0&&iw/ik>=0);};};},"PSEUDO":function(iz,iA){var iy,iB=fM.pseudos[iz]||fM.setFilters[iz.toLowerCase()]||fL.error(cR+iz);if(iB[fa]){return iB(iA);};if(iB.length>1){iy=[iz,iz,eb,iA];return fM.setFilters.hasOwnProperty(iz.toLowerCase())?fy(function(iD,iC){var iE,iF=iB(iD,iA),i=iF.length;while(i-- ){iE=eS.call(iD,iF[i]);iD[iE]=!(iC[iE]=iF[i]);};}):function(iG){return iB(iG,0,iy);};};return iB;}},pseudos:{"not":fy(function(iI){var iH=[],iJ=[],iK=fC(iI.replace(fp,dN));return iK[fa]?fy(function(iP,iM,iQ,iL){var iN,iO=iK(iP,null,iL,[]),i=iP.length;while(i-- ){if((iN=iO[i])){iP[i]=!(iM[i]=iN);};};}):function(iS,iT,iR){iH[0]=iS;iK(iH,null,iR,iJ);return !iJ.pop();};}),"has":fy(function(iU){return function(iV){return fL(iU,iV).length>0;};}),"contains":fy(function(iW){return function(iX){return (iX.textContent||iX.innerText||ew(iX)).indexOf(iW)>-1;};}),"lang":fy(function(iY){if(!eX.test(iY||eb)){fL.error(A+iY);};iY=iY.replace(eu,fs).toLowerCase();return function(jb){var ja;do {if((ja=fq?jb.lang:jb.getAttribute(x)||jb.getAttribute(dt))){ja=ja.toLowerCase();return ja===iY||ja.indexOf(iY+c)===0;};}while((jb=jb.parentNode)&&jb.nodeType===1);return false;};}),"target":function(jd){var jc=window.location&&window.location.hash;return jc&&jc.slice(1)===jd.id;},"root":function(je){return je===fK;},"focus":function(jf){return jf===document.activeElement&&(!document.hasFocus||document.hasFocus())&&!!(jf.type||jf.href||~jf.tabIndex);},"enabled":function(jg){return jg.disabled===false;},"disabled":function(jh){return jh.disabled===true;},"checked":function(ji){var jj=ji.nodeName.toLowerCase();return (jj===l&&!!ji.checked)||(jj===dh&&!!ji.selected);},"selected":function(jk){if(jk.parentNode){jk.parentNode.selectedIndex;};return jk.selected===true;},"empty":function(jl){for(jl=jl.firstChild;jl;jl=jl.nextSibling){if(jl.nodeType<6){return false;};};return true;},"parent":function(jm){return !fM.pseudos[dK](jm);},"header":function(jn){return et.test(jn.nodeName);},"input":function(jo){return fl.test(jo.nodeName);},"button":function(jp){var name=jp.nodeName.toLowerCase();return name===l&&jp.type===de||name===de;},"text":function(jq){var jr;return jq.nodeName.toLowerCase()===l&&jq.type===O&&((jr=jq.getAttribute(cN))==null||jr.toLowerCase()===O);},"first":fi(function(){return [0];}),"last":fi(function(js,length){return [length-1];}),"eq":fi(function(jt,length,ju){return [ju<0?ju+length:ju];}),"even":fi(function(jv,length){var i=0;for(;i=0;){jx.push(i);};return jx;}),"gt":fi(function(jz,length,jA){var i=jA<0?jA+length:jA;for(; ++i1?function(kg,kh,kf){var i=ke.length;while(i-- ){if(!ke[i](kg,kh,kf)){return false;};};return true;}:ke[0];};function fw(kl,ki,kj){var i=0,kk=ki.length;for(;i-1){kJ[kC]=!(kE[kC]=kG);};};};}else {kH=ex(kH===kE?kH.splice(kD,kH.length):kH);if(kv){kv(null,kE,kH,kB);}else {fG.apply(kE,kH);};};});};function fb(kS){var kN,kP,j,kQ=kS.length,kO=fM.relative[kS[0].type],kV=kO||fM.relative[cV],i=kO?1:0,kU=eO(function(kW){return kW===kN;},kV,true),kR=eO(function(kX){return eS.call(kN,kX)>-1;},kV,true),kT=[function(la,lb,kY){return (!kO&&(kY||lb!==ep))||((kN=lb).nodeType?kU(la,lb,kY):kR(la,lb,kY));}];for(;i1&&eP(kT),i>1&&eQ(kS.slice(0,i-1).concat({value:kS[i-2].type===cV?z:eb})).replace(fp,dN),kP,i0,le=lg.length>0,lf=function(lp,ls,lh,ll,lk){var ln,j,lt,li=0,i=df,lm=lp&&[],lo=[],lj=ep,lu=lp||le&&fM.find[dF](z,lk),lq=(eW+=lj==null?1:Math.random()||0.1),lr=lu.length;if(lk){ep=ls!==document&&ls;};for(;i!==lr&&(ln=lu[i])!=null;i++ ){if(le&&ln){j=0;while((lt=lg[j++ ])){if(lt(ln,ls,lh)){ll.push(ln);break;};};if(lk){eW=lq;};};if(lc){if((ln=!lt&&ln)){li-- ;};if(lp){lm.push(ln);};};};li+=i;if(lc&&i!==li){j=0;while((lt=ld[j++ ])){lt(lm,lo,ls,lh);};if(lp){if(li>0){while(i-- ){if(!(lm[i]||lo[i])){lo[i]=ez.call(ll);};};};lo=ex(lo);};fG.apply(ll,lo);if(lk&&!lp&&lo.length>0&&(li+ld.length)>1){fL.uniqueSort(ll);};};if(lk){eW=lq;ep=lj;};return lm;};return lc?fy(lf):lf;};fC=fL.compile=function(lw,lz){var i,ly=[],lv=[],lx=fI[lw+cV];if(!lx){if(!lz){lz=eV(lw);};i=lz.length;while(i-- ){lx=fb(lz[i]);if(lx[fa]){ly.push(lx);}else {lv.push(lx);};};lx=fI(lw,eU(lv,ly));lx.selector=lw;};return lx;};eG=fL.select=function(lC,lG,lB,lF){var i,lD,lE,lH,find,lA=typeof lC===db&&lC,lI=!lF&&eV((lC=lA.selector||lC));lB=lB||[];if(lI.length===1){lD=lI[0]=lI[0].slice(0);if(lD.length>2&&(lE=lD[0]).type===ej&&eM.getById&&lG.nodeType===9&&fq&&fM.relative[lD[1].type]){lG=(fM.find[ej](lE.matches[0].replace(eu,fs),lG)||[])[0];if(!lG){return lB;}else if(lA){lG=lG.parentNode;};lC=lC.slice(lD.shift().value.length);};i=fB[P].test(lC)?0:lD.length;while(i-- ){lE=lD[i];if(fM.relative[(lH=lE.type)]){break;};if((find=fM.find[lH])){if((lF=find(lE.matches[0].replace(eu,fs),fc.test(lD[0].type)&&eC(lG.parentNode)||lG))){lD.splice(i,1);lC=lF.length&&eQ(lD);if(!lC){fG.apply(lB,lF);return lB;};break;};};};};(lA||fC(lC,lI))(lF,lG,!fq,lB,fc.test(lC)&&eC(lG.parentNode)||lG);return lB;};eM.sortStable=fa.split(eb).sort(eT).join(eb)===fa;eM.detectDuplicates=!!eF;eD();eM.sortDetached=fk(function(lJ){return lJ.compareDocumentPosition(document.createElement(k))&1;});if(!fk(function(lK){lK.innerHTML=dD;return lK.firstChild.getAttribute(cJ)===cL;})){fo(q,function(lL,name,lM){if(!lM){return lL.getAttribute(name,name.toLowerCase()===cN?1:2);};});};if(!eM.attributes||!fk(function(lN){lN.innerHTML=dy;lN.firstChild.setAttribute(dH,eb);return lN.firstChild.getAttribute(dH)===eb;})){fo(dH,function(lO,name,lP){if(!lP&&lO.nodeName.toLowerCase()===l){return lO.defaultValue;};});};if(!fk(function(lQ){return lQ.getAttribute(s)==null;})){fo(fd,function(lS,name,lR){var lT;if(!lR){return lS[name]===true?name.toLowerCase():(lT=lS.getAttributeNode(name))&&lT.specified?lT.value:null;};});};qx.bom.Selector.query=function(lV,lU){return fL(lV,lU);};qx.bom.Selector.matches=function(lX,lW){return fL(lX,null,null,lW);};})(window);})();(function(){var a="display",b="",c="block",d="none",e="_getHeight",f="_getContentWidth",g="_getContentHeight",h="hidden",j="_getWidth",k="qx.module.Css",m="absolute";qx.Bootstrap.define(k,{statics:{_getHeight:function(p){var q=this[0];if(q){if(qx.dom.Node.isElement(q)){var n;if(p){var o={display:c,position:m,visibility:h};n=qx.module.Css.__eL(q,o,e,this);}else {n=qx.bom.element.Dimension.getHeight(q);};return n;}else if(qx.dom.Node.isDocument(q)){return qx.bom.Document.getHeight(qx.dom.Node.getWindow(q));}else if(qx.dom.Node.isWindow(q)){return qx.bom.Viewport.getHeight(q);};};return null;},_getWidth:function(t){var u=this[0];if(u){if(qx.dom.Node.isElement(u)){var r;if(t){var s={display:c,position:m,visibility:h};r=qx.module.Css.__eL(u,s,j,this);}else {r=qx.bom.element.Dimension.getWidth(u);};return r;}else if(qx.dom.Node.isDocument(u)){return qx.bom.Document.getWidth(qx.dom.Node.getWindow(u));}else if(qx.dom.Node.isWindow(u)){return qx.bom.Viewport.getWidth(u);};};return null;},_getContentHeight:function(w){var y=this[0];if(qx.dom.Node.isElement(y)){var x;if(w){var v={position:m,visibility:h,display:c};x=qx.module.Css.__eL(y,v,g,this);}else {x=qx.bom.element.Dimension.getContentHeight(y);};return x;};return null;},_getContentWidth:function(B){var z=this[0];if(qx.dom.Node.isElement(z)){var C;if(B){var A={position:m,visibility:h,display:c};C=qx.module.Css.__eL(z,A,f,this);}else {C=qx.bom.element.Dimension.getContentWidth(z);};return C;};return null;},__eJ:{},__eK:function(G,D){var F=qx.module.Css.__eJ;if(!F[G]){var H=D||document;var E=qxWeb(H.createElement(G)).appendTo(D.body);F[G]=E.getStyle(a);E.remove();};return F[G]||b;},__eL:function(L,I,J,O){var M={};for(var N in I){M[N]=L.style[N];L.style[N]=I[N];};var K=O[J]();for(var N in M){L.style[N]=M[N];};return K;},includeStylesheet:function(Q,P){qx.bom.Stylesheet.includeFile(Q,P);}},members:{getHeight:function(R){return this._getHeight(R);},getWidth:function(S){return this._getWidth(S);},getContentHeight:function(T){return this._getContentHeight(T);},getContentWidth:function(U){return this._getContentWidth(U);},show:function(){this._forEachElementWrapped(function(X){var Y=X.getStyle(a);var W=X[0].$$qPrevDisp;var V;if(Y==d){if(W&&W!=d){V=W;}else {var ba=qxWeb.getDocument(X[0]);V=qx.module.Css.__eK(X[0].tagName,ba);};X.setStyle(a,V);X[0].$$qPrevDisp=d;};});return this;},hide:function(){this._forEachElementWrapped(function(bb){var bc=bb.getStyle(a);if(bc!==d){bb[0].$$qPrevDisp=bc;bb.setStyle(a,d);};});return this;},getPosition:function(){var bd=this[0];if(qx.dom.Node.isElement(bd)){return qx.bom.element.Location.getPosition(bd);};return null;},getOffset:function(be){var bf=this[0];if(bf&&qx.dom.Node.isElement(bf)){return qx.bom.element.Location.get(bf,be);};return null;},setStyle:function(name,bg){if(/\w-\w/.test(name)){name=qx.lang.String.camelCase(name);};this._forEachElement(function(bh){qx.bom.element.Style.set(bh,name,bg);});return this;},getStyle:function(name){if(this[0]&&qx.dom.Node.isElement(this[0])){if(/\w-\w/.test(name)){name=qx.lang.String.camelCase(name);};return qx.bom.element.Style.get(this[0],name);};return null;},setStyles:function(bi){for(var name in bi){this.setStyle(name,bi[name]);};return this;},getStyles:function(bk){var bj={};for(var i=0;i0){t.classList.add(name);};return name;},"default":function(u,name){if(!this.has(u,name)){u.className+=(u.className?n:f)+name;};return name;}}[qx.core.Environment.get(k)?q:m],addClasses:{"native":function(w,v){for(var i=0;i0){w.classList.add(v[i]);};};return w.className;},"default":function(y,A){var z={};var B;var x=y.className;if(x){B=x.split(this.__eS);for(var i=0,l=B.length;i0||window.navigator.msMaxTouchPoints>0);}},defer:function(I){qx.core.Environment.add(v,I.getName);qx.core.Environment.add(w,I.getTouch);qx.core.Environment.add(e,I.getType);qx.core.Environment.add(y,I.getDevicePixelRatio);}});})();(function(){var a="mshtml",b="function",c="event.mouseevent",d="pointerEnabled",e="onhashchange",f="event.help",g="mousewheel",h="event.customevent",j="event.mousewheel",k="event.touch",l="wheel",m="DOMMouseScroll",n="msPointerEnabled",o="event.hashchange",p="onhelp",q="documentMode",r="qx.bom.client.Event",s="ontouchstart",t="foo",u="event.mspointer",v="event.dispatchevent";qx.Bootstrap.define(r,{statics:{getTouch:function(){return (s in window);},getMsPointer:function(){if(d in window.navigator){return window.navigator.pointerEnabled;}else if(n in window.navigator){return window.navigator.msPointerEnabled;};return false;},getHelp:function(){return (p in document);},getHashChange:function(){var w=qx.bom.client.Engine.getName();var x=e in window;return (w!==a&&x)||(w===a&&q in document&&document.documentMode>=8&&x);},getDispatchEvent:function(){return typeof document.dispatchEvent==b;},getCustomEvent:function(){if(!window.CustomEvent){return false;};try{new window.CustomEvent(t);return true;}catch(y){return false;};},getMouseEvent:function(){if(!window.MouseEvent){return false;};try{new window.MouseEvent(t);return true;}catch(z){return false;};},getMouseWheel:function(A){if(!A){A=window;};var D=[A,A.document,A.document.body];var C=A;var B=m;for(var i=0;i8){qx.bom.Event.addNativeListener(document,r,w);}else {var z=function(){if(qx.module.Event.__eW){return;};try{document.documentElement.doScroll(o);if(document.body){w();};}catch(A){window.setTimeout(z,100);};};z();};},$registerEventNormalization:function(E,B){if(!qx.lang.Type.isArray(E)){E=[E];};var C=qx.module.Event.__eU;for(var i=0,l=E.length;i0;},copyEventsTo:function(bT){var bR=this.concat();var bS=bT.concat();for(var i=bR.length-1;i>=0;i-- ){var bO=bR[i].getElementsByTagName(t);for(var j=0;j=0;i-- ){var bO=bS[i].getElementsByTagName(t);for(var j=0;j=0;j-- ){var bQ=bP[name][j].listener;if(bQ.original){bQ=bQ.original;};qxWeb(bS[i]).on(name,bQ,bP[name][j].ctx);};};};},hover:function(bV,bW){this.on(g,bV,this);if(qx.lang.Type.isFunction(bW)){this.on(f,bW,this);};return this;},onMatchTarget:function(bY,ca,cc,cb){cb=cb!==undefined?cb:this;var bX=function(e){var cd=qxWeb(e.getTarget());var ce=typeof ca==h?this.find(ca):qxWeb(ca);if(cd.is(ca)){cc.call(cb,cd,qxWeb.object.clone(e));}else {for(var i=0,l=ce.length;i=0;i-- ){var cn=cm[i];if(cn.type==ch&&cn.callback==ck&&cn.context==cj){this.off(ch,cn.listener);cm.splice(i,1);};};if(cm.length===0){cl.$$matchTargetInfo=null;};};},this);return this;},hasMatchListener:function(ct,co,cp,cq){cq=cq!==undefined?cq:this;for(var j=0,l=this.length;j=0;i-- ){var cr=cs[i];if(cr.type==ct&&cr.callback==cp&&cr.target==co&&cr.context==cq){return true;};};};return false;}},defer:function(cu){qxWeb.$attachAll(this);qxWeb.$attachStatic({"$registerEventNormalization":cu.$registerEventNormalization,"$unregisterEventNormalization":cu.$unregisterEventNormalization,"$getEventNormalizationRegistry":cu.$getEventNormalizationRegistry,"$registerEventHook":cu.$registerEventHook,"$unregisterEventHook":cu.$unregisterEventHook,"$getEventHookRegistry":cu.$getEventHookRegistry});}});})();(function(){var a="qx.module.event.PointerHandler",b="pointerup",c="event.dispatchevent",d="gesturemove",e="pointerover",f="gesturebegin",g="pointerdown",h="pointermove",i="gesturefinish",j="qx.event.handler.Pointer",k="gesturecancel",l="pointercancel",m="pointerout";qx.Bootstrap.define(a,{statics:{TYPES:[h,e,m,g,b,l,f,d,i,k],register:function(o,n){if(!o.$$pointerHandler){if(!qx.core.Environment.get(c)){if(!o.$$emitter){o.$$emitter=new qx.event.Emitter();};};o.$$pointerHandler=new qx.event.handler.PointerCore(o,o.$$emitter);};},unregister:function(r){if(r.$$pointerHandler){if(r.$$pointerHandler.classname===j){return;};var p=r.$$emitter.getListeners();for(var q in p){if(qx.module.event.PointerHandler.TYPES.indexOf(q)!==-1){if(p[q].length>0){return;};};};r.$$pointerHandler.dispose();r.$$pointerHandler=undefined;};}},defer:function(s){qxWeb.$registerEventHook(s.TYPES,s.register,s.unregister);}});})();(function(){var a="qx.event.Emitter",b="*";qx.Bootstrap.define(a,{extend:Object,statics:{__fa:[]},members:{__eX:null,__fb:null,on:function(name,c,d){var e=qx.event.Emitter.__fa.length;this.__fc(name).push({listener:c,ctx:d,id:e,name:name});qx.event.Emitter.__fa.push({name:name,listener:c,ctx:d});return e;},once:function(name,f,g){var h=qx.event.Emitter.__fa.length;this.__fc(name).push({listener:f,ctx:g,once:true,id:h});qx.event.Emitter.__fa.push({name:name,listener:f,ctx:g});return h;},off:function(name,m,k){var l=this.__fc(name);for(var i=l.length-1;i>=0;i-- ){var n=l[i];if(n.listener==m&&n.ctx==k){l.splice(i,1);qx.event.Emitter.__fa[n.id]=null;return n.id;};};return null;},offById:function(p){var o=qx.event.Emitter.__fa[p];if(o){this.off(o.name,o.listener,o.ctx);};return null;},addListener:function(name,q,r){return this.on(name,q,r);},addListenerOnce:function(name,s,t){return this.once(name,s,t);},removeListener:function(name,u,v){this.off(name,u,v);},removeListenerById:function(w){this.offById(w);},emit:function(name,A){var x=this.__fc(name).concat();var y=[];for(var i=0;i=0;i-- ){var z=x[i];z.listener.call(z.ctx,A);};},getListeners:function(){return this.__eX;},getEntryById:function(F){for(var name in this.__eX){var E=this.__eX[name];for(var i=0,j=E.length;i=0;i-- ){var bq=new qx.event.type.dom.Pointer(o,bl,{identifier:this.__fi[i].identifier,target:bl.target,pointerType:h,pointerId:this.__fi[i].identifier+2});this._fireEvent(bq,o,bl.target);};this.__fm=null;this.__fi=[];return;};if(bl.type==q&&this.__fm===null){this.__fm=bo[0].identifier;};for(var i=0,l=bo.length;i1){return;};if(bt.type==M&&bw>0){return;};if(bt.type==O){this.__fh[bt.which]=0;return;};var by=new qx.event.type.dom.Pointer(bv,bt,bz);this._fireEvent(by,bv,bu);},_determineActiveTouches:function(bD,bC){if(bD==q){for(var i=0;i=8){bj.READONLY_PROPERTIES=bj.READONLY_PROPERTIES.concat(bj.MOUSE_PROPERTIES);};}});})();(function(){var a="start",b="animationEnd",c="",d="none",e="browser.name",f="browser.version",g="qx.module.Animation",h="animationIteration",j="end",k="animationStart",l="ease-in",m="iteration",n="ease-out",o="ie",p="display";qx.Bootstrap.define(g,{events:{"animationStart":undefined,"animationIteration":undefined,"animationEnd":undefined},statics:{_fadeOut:{duration:700,timing:n,keep:100,keyFrames:{'0':{opacity:1},'100':{opacity:0,display:d}}},_fadeIn:{duration:700,timing:l,keep:100,keyFrames:{'0':{opacity:0},'100':{opacity:1}}},_animate:function(s,q,r){this._forEachElement(function(t,i){if(t.$$animation){t.$$animation.stop();};var u;if(r){u=qx.bom.element.Animation.animateReverse(t,s,q);}else {u=qx.bom.element.Animation.animate(t,s,q);};var self=this;if(i==0){u.on(a,function(){self.emit(k);},u);u.on(m,function(){self.emit(h);},u);};u.on(j,function(){for(var i=0;i=8){document.addEventListener(l,function(){if(!document.hidden){bm.__fy();};},false);};}});})();(function(){var a="css.animation",b="Element",c="",d="qx.bom.element.AnimationHandle",e="play-state",f="paused",g="running";qx.Bootstrap.define(d,{extend:qx.event.Emitter,construct:function(){var h=qx.core.Environment.get(a);this.__fz=h&&h[e];this.__fA=true;},events:{"start":b,"end":b,"iteration":b},members:{__fz:null,__fA:false,__fB:false,isPlaying:function(){return this.__fA;},isEnded:function(){return this.__fB;},isPaused:function(){return this.el.style[this.__fz]==f;},pause:function(){if(this.el){this.el.style[this.__fz]=f;this.el.$$animation.__fA=false;if(this.animationId&&qx.bom.element.AnimationJs){qx.bom.element.AnimationJs.pause(this);};};},play:function(){if(this.el){this.el.style[this.__fz]=g;this.el.$$animation.__fA=true;if(this.i!=undefined&&qx.bom.element.AnimationJs){qx.bom.element.AnimationJs.play(this);};};},stop:function(){if(this.el&&qx.core.Environment.get(a)&&!this.jsAnimation){this.el.style[this.__fz]=c;this.el.style[qx.core.Environment.get(a).name]=c;this.el.$$animation.__fA=false;this.el.$$animation.__fB=true;}else if(this.jsAnimation){this.stopped=true;qx.bom.element.AnimationJs.stop(this);};}}});})();(function(){var c="cm",d="mm",e="0",f="pt",g="pc",h="",k="%",l="em",m="qx.bom.element.AnimationJs",n="infinite",o="#",p="in",q="px",r="start",s="end",t="ex",u=";",v="undefined",w="iteration",y="string",z=":";qx.Bootstrap.define(m,{statics:{__fC:30,__fD:[k,p,c,d,l,t,f,g,q],__fp:{"scale":true,"rotate":true,"skew":true,"translate":true},animate:function(B,C,A){return this._animate(B,C,A,false);},animateReverse:function(E,F,D){return this._animate(E,F,D,true);},_animate:function(G,Q,P,I){if(G.$$animation){return G.$$animation;};Q=qx.lang.Object.clone(Q,true);if(P==undefined){P=Q.duration;};var L=Q.keyFrames;var J=this.__fM(L);var K=this.__fL(P,J);var N=parseInt(P/K,10);this.__fE(L,G);var O=this.__fG(N,K,J,L,P,Q.timing);var H=new qx.bom.element.AnimationHandle();H.jsAnimation=true;if(I){O.reverse();H.reverse=true;};H.desc=Q;H.el=G;H.delta=O;H.stepTime=K;H.steps=N;G.$$animation=H;H.i=0;H.initValues={};H.repeatSteps=this.__fJ(N,Q.repeat);var M=Q.delay||0;var self=this;H.delayId=window.setTimeout(function(){H.delayId=null;self.play(H);},M);return H;},__fE:function(V,R){var Y={};for(var U in V){for(var name in V[U]){var S=qx.bom.Style.getPropertyName(name);if(S&&S!=name){var X=qx.bom.Style.getCssName(S);V[U][X]=V[U][name];delete V[U][name];name=X;};if(Y[name]==undefined){var W=V[U][name];if(typeof W==y){Y[name]=this.__fH(W);}else {Y[name]=h;};};};};for(var U in V){var T=V[U];for(var name in Y){if(T[name]==undefined){if(name in R.style){if(window.getComputedStyle){T[name]=getComputedStyle(R,null)[name];}else {T[name]=R.style[name];};}else {T[name]=R[name];};if(T[name]===h&&this.__fD.indexOf(Y[name])!=-1){T[name]=e+Y[name];};};};};},__fF:function(bb){bb=qx.lang.Object.clone(bb);var bc;for(var name in bb){if(name in this.__fp){if(!bc){bc={};};bc[name]=bb[name];delete bb[name];};};if(bc){var ba=qx.bom.element.Transform.getCss(bc).split(z);if(ba.length>1){bb[ba[0]]=ba[1].replace(u,h);};};return bb;},__fG:function(bw,bh,bo,bi,be,bq){var bp=new Array(bw);var bm=1;bp[0]=this.__fF(bi[0]);var bt=bi[0];var bj=bi[bo[bm]];var bf=Math.floor(bo[bm]/(bh/be*100));var bs=1;for(var i=1;ibo[bm]){bt=bj;bm++ ;bj=bi[bo[bm]];bf=Math.floor(bo[bm]/(bh/be*100))-bf;bs=1;};bp[i]={};var bd;for(var name in bj){var br=bj[name]+h;if(name in this.__fp){if(!bd){bd={};};if(qx.Bootstrap.isArray(bt[name])){if(!qx.Bootstrap.isArray(bj[name])){bj[name]=[bj[name]];};bd[name]=[];for(var j=0;j1){bp[i][bx[0]]=bx[1].replace(u,h);};};bs++ ;};bp[bp.length-1]=this.__fF(bi[100]);return bp;},__fH:function(by){return by.substring((parseFloat(by)+h).length,by.length);},__fI:function(bC,bB,bz,x){var bA=parseFloat(bC)-parseFloat(bB);return (parseFloat(bB)+bA*qx.bom.AnimationFrame.calculateTiming(bz,x))+this.__fH(bC);},play:function(bD){bD.emit(r,bD.el);var bE=window.setInterval(function(){bD.repeatSteps-- ;var bF=bD.delta[bD.i%bD.steps];if(bD.i===0){for(var name in bF){if(bD.initValues[name]===undefined){if(bD.el[name]!==undefined){bD.initValues[name]=bD.el[name];}else if(qx.bom.element.Style){bD.initValues[name]=qx.bom.element.Style.get(bD.el,qx.lang.String.camelCase(name));}else {bD.initValues[name]=bD.el.style[qx.lang.String.camelCase(name)];};};};};qx.bom.element.AnimationJs.__fK(bD.el,bF);bD.i++ ;if(bD.i%bD.steps==0){bD.emit(w,bD.el);if(bD.desc.alternate){bD.delta.reverse();};};if(bD.repeatSteps<0){qx.bom.element.AnimationJs.stop(bD);};},bD.stepTime);bD.animationId=bE;return bD;},pause:function(bG){window.clearInterval(bG.animationId);bG.animationId=null;return bG;},stop:function(bK){var bJ=bK.desc;var bH=bK.el;var bI=bK.initValues;if(bK.animationId){window.clearInterval(bK.animationId);};if(bK.delayId){window.clearTimeout(bK.delayId);};if(bH==undefined){return bK;};var bL=bJ.keep;if(bL!=undefined&&!bK.stopped){if(bK.reverse||(bJ.alternate&&bJ.repeat&&bJ.repeat%2==0)){bL=100-bL;};this.__fK(bH,bJ.keyFrames[bL]);}else {this.__fK(bH,bI);};bH.$$animation=null;bK.el=null;bK.ended=true;bK.animationId=null;bK.emit(s,bH);return bK;},__fJ:function(bN,bM){if(bM==undefined){return bN;};if(bM==n){return Number.MAX_VALUE;};return bN*bM;},__fK:function(bP,bO){for(var bQ in bO){if(bO[bQ]===undefined){continue;};if(typeof bP.style[bQ]===v&&bQ in bP){bP[bQ]=bO[bQ];continue;};var name=qx.bom.Style.getPropertyName(bQ)||bQ;if(qx.bom.element.Style){qx.bom.element.Style.set(bP,name,bO[bQ]);}else {bP.style[name]=bO[bQ];};};},__fL:function(bT,bR){var bU=100;for(var i=0;ithis.__fC){bS=bS/2;};return Math.round(bS);},__fM:function(bW){var bV=Object.keys(bW);for(var i=0;i-1&&qx.core.Environment.get(b)){bm+=this._compute3dProperty(bj,bk);}else {bm+=this._computeAxisProperties(bj,bk);};}else {bm+=bj+p+bk+c;};};return bm.trim();},_compute3dProperty:function(bo,bn){var bp=n;bo+=l;for(var i=0;i=m+l){this.emit(g);this.id=null;}else {var o=Math.max(p-m,0);this.emit(f,o);this.id=qx.bom.AnimationFrame.request(n,this);};};this.id=qx.bom.AnimationFrame.request(n,this);},cancelSequence:function(){this.__fO=true;}},statics:{TIMEOUT:30,calculateTiming:function(q,x){if(q==j){var a=[3.1223e-7,0.0757,1.2646,-0.167,-0.4387,0.2654];}else if(q==k){var a=[-7.0198e-8,1.652,-0.551,-0.0458,0.1255,-0.1807];}else if(q==h){return x;}else if(q==b){var a=[2.482e-7,-0.2289,3.3466,-1.0857,-1.7354,0.7034];}else {var a=[-0.0021,0.2472,9.8054,-21.6869,17.7611,-5.1226];};var y=0;for(var i=0;i=8)){bk.style.visibility=bh.__gk?p:N;};};};delete be[bg];};var scroll=this._scroll;for(var bg in scroll){bh=scroll[bg];var X=bh.__gh;if(X&&X.offsetWidth){var bb=true;if(bh.__gn!=null){bh.__gh.scrollLeft=bh.__gn;delete bh.__gn;};if(bh.__go!=null){bh.__gh.scrollTop=bh.__go;delete bh.__go;};var bl=bh.__gl;if(bl!=null){var bf=bl.element.getDomElement();if(bf&&bf.offsetWidth){qx.bom.element.Scroll.intoViewX(bf,X,bl.align);delete bh.__gl;}else {bb=false;};};var bm=bh.__gm;if(bm!=null){var bf=bm.element.getDomElement();if(bf&&bf.offsetWidth){qx.bom.element.Scroll.intoViewY(bf,X,bm.align);delete bh.__gm;}else {bb=false;};};if(bb){delete scroll[bg];};};};var ba={"releaseCapture":1,"blur":1,"deactivate":1};for(var i=0;i0){this._insertChildren();};}else {this._syncData();if(this.__gv){this._syncChildren();};};delete this.__gv;},_insertChildren:function(){var bv=this.__gu;var length=bv.length;var bx;if(length>2){var bw=document.createDocumentFragment();for(var i=0;i=0;i-- ){bE=bG[i];bD=bH.fromHashCode(bE.$$element);if(!bD||!bD.__gj||bD.__gw!==this){bB.removeChild(bE);{};};};for(var i=0;i=1){return true;};var cD=qx.event.handler.Focus.FOCUSABLE_ELEMENTS;if(cE>=0&&cD[this.__fX]){return true;};return false;},setSelectable:function(cG){this.setAttribute(z,cG?C:B);var cF=qx.core.Environment.get(m);if(cF){this.setStyle(cF,cG?b:qx.core.Environment.get(P));};},isNativelyFocusable:function(){return !!qx.event.handler.Focus.FOCUSABLE_ELEMENTS[this.__fX];},include:function(){if(this.__gj){return this;};delete this.__gj;if(this.__gw){this.__gw._scheduleChildrenUpdate();};return this;},exclude:function(){if(!this.__gj){return this;};this.__gj=false;if(this.__gw){this.__gw._scheduleChildrenUpdate();};return this;},isIncluded:function(){return this.__gj===true;},fadeIn:function(cH){var cI=qxWeb(this.__gh);if(cI.isPlaying()){cI.stop();};if(!this.__gh){this.__gx();cI.push(this.__gh);};if(this.__gh){cI.fadeIn(cH);return cI.getAnimationHandles()[0];};},fadeOut:function(cJ){var cK=qxWeb(this.__gh);if(cK.isPlaying()){cK.stop();};if(this.__gh){cK.fadeOut(cJ).once(n,function(){this.hide();qx.html.Element.flush();},this);return cK.getAnimationHandles()[0];};},show:function(){if(this.__gk){return this;};if(this.__gh){qx.html.Element._visibility[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};if(this.__gw){this.__gw._scheduleChildrenUpdate();};delete this.__gk;return this;},hide:function(){if(!this.__gk){return this;};if(this.__gh){qx.html.Element._visibility[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};this.__gk=false;return this;},isVisible:function(){return this.__gk===true;},scrollChildIntoViewX:function(cO,cM,cP){var cL=this.__gh;var cN=cO.getDomElement();if(cP!==false&&cL&&cL.offsetWidth&&cN&&cN.offsetWidth){qx.bom.element.Scroll.intoViewX(cN,cL,cM);}else {this.__gl={element:cO,align:cM};qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};delete this.__gn;},scrollChildIntoViewY:function(cT,cR,cU){var cQ=this.__gh;var cS=cT.getDomElement();if(cU!==false&&cQ&&cQ.offsetWidth&&cS&&cS.offsetWidth){qx.bom.element.Scroll.intoViewY(cS,cQ,cR);}else {this.__gm={element:cT,align:cR};qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};delete this.__go;},scrollToX:function(x,cV){var cW=this.__gh;if(cV!==true&&cW&&cW.offsetWidth){cW.scrollLeft=x;delete this.__gn;}else {this.__gn=x;qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};delete this.__gl;},getScrollX:function(){var cX=this.__gh;if(cX){return cX.scrollLeft;};return this.__gn||0;},scrollToY:function(y,da){var cY=this.__gh;if(da!==true&&cY&&cY.offsetWidth){cY.scrollTop=y;delete this.__go;}else {this.__go=y;qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};delete this.__gm;},getScrollY:function(){var dc=this.__gh;if(dc){return dc.scrollTop;};return this.__go||0;},disableScrolling:function(){this.enableScrolling();this.scrollToX(0);this.scrollToY(0);this.addListener(K,this.__gD,this);},enableScrolling:function(){this.removeListener(K,this.__gD,this);},__gC:null,__gD:function(e){if(!this.__gC){this.__gC=true;this.__gh.scrollTop=0;this.__gh.scrollLeft=0;delete this.__gC;};},getTextSelection:function(){var dd=this.__gh;if(dd){return qx.bom.Selection.get(dd);};return null;},getTextSelectionLength:function(){var de=this.__gh;if(de){return qx.bom.Selection.getLength(de);};return null;},getTextSelectionStart:function(){var df=this.__gh;if(df){return qx.bom.Selection.getStart(df);};return null;},getTextSelectionEnd:function(){var dg=this.__gh;if(dg){return qx.bom.Selection.getEnd(dg);};return null;},setTextSelection:function(dh,di){var dj=this.__gh;if(dj){qx.bom.Selection.set(dj,dh,di);return;};qx.html.Element.__gb[this.toHashCode()]={element:this,start:dh,end:di};qx.html.Element._scheduleFlush(v);},clearTextSelection:function(){var dk=this.__gh;if(dk){qx.bom.Selection.clear(dk);};delete qx.html.Element.__gb[this.toHashCode()];},__gE:function(dl,dm){var dn=qx.html.Element._actions;dn.push({type:dl,element:this,args:dm||[]});qx.html.Element._scheduleFlush(v);},focus:function(){this.__gE(f);},blur:function(){this.__gE(g);},activate:function(){this.__gE(E);},deactivate:function(){this.__gE(k);},capture:function(dp){this.__gE(o,[dp!==false]);},releaseCapture:function(){this.__gE(t);},setStyle:function(dq,dr,ds){if(!this.__fY){this.__fY={};};if(this.__fY[dq]==dr){return this;};if(dr==null){delete this.__fY[dq];}else {this.__fY[dq]=dr;};if(this.__gh){if(ds){qx.bom.element.Style.set(this.__gh,dq,dr);return this;};if(!this.__gp){this.__gp={};};this.__gp[dq]=true;qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};return this;},setStyles:function(du,dw){var dv=qx.bom.element.Style;if(!this.__fY){this.__fY={};};if(this.__gh){if(!this.__gp){this.__gp={};};for(var dt in du){var dx=du[dt];if(this.__fY[dt]==dx){continue;};if(dx==null){delete this.__fY[dt];}else {this.__fY[dt]=dx;};if(dw){dv.set(this.__gh,dt,dx);continue;};this.__gp[dt]=true;};qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(v);}else {for(var dt in du){var dx=du[dt];if(this.__fY[dt]==dx){continue;};if(dx==null){delete this.__fY[dt];}else {this.__fY[dt]=dx;};};};return this;},removeStyle:function(dz,dy){this.setStyle(dz,null,dy);return this;},getStyle:function(dA){return this.__fY?this.__fY[dA]:null;},getAllStyles:function(){return this.__fY||null;},setAttribute:function(dB,dC,dD){if(!this.__ga){this.__ga={};};if(this.__ga[dB]==dC){return this;};if(dC==null){delete this.__ga[dB];}else {this.__ga[dB]=dC;};if(this.__gh){if(dD){qx.bom.element.Attribute.set(this.__gh,dB,dC);return this;};if(!this.__gq){this.__gq={};};this.__gq[dB]=true;qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};return this;},setAttributes:function(dE,dF){for(var dG in dE){this.setAttribute(dG,dE[dG],dF);};return this;},removeAttribute:function(dI,dH){return this.setAttribute(dI,null,dH);},getAttribute:function(dJ){return this.__ga?this.__ga[dJ]:null;},addClass:function(name){var dK=((this.getAttribute(j)||w)+M+name).trim();this.setAttribute(j,dK);},removeClass:function(name){var dL=this.getAttribute(j);if(dL){this.setAttribute(j,(dL.replace(name,w)).trim());};},_applyProperty:function(name,dM){},_setProperty:function(dN,dO,dP){if(!this.__gs){this.__gs={};};if(this.__gs[dN]==dO){return this;};if(dO==null){delete this.__gs[dN];}else {this.__gs[dN]=dO;};if(this.__gh){if(dP){this._applyProperty(dN,dO);return this;};if(!this.__gr){this.__gr={};};this.__gr[dN]=true;qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(v);};return this;},_removeProperty:function(dR,dQ){return this._setProperty(dR,null,dQ);},_getProperty:function(dT){var dS=this.__gs;if(!dS){return null;};var dU=dS[dT];return dU==null?null:dU;},addListener:function(ea,dW,self,dV){if(this.$$disposed){return null;};{var dX;};if(this.__gh){return qx.event.Registration.addListener(this.__gh,ea,dW,self,dV);};if(!this.__gt){this.__gt={};};if(dV==null){dV=false;};var dY=qx.event.Manager.getNextUniqueId();var eb=ea+(dV?d:s)+dY;this.__gt[eb]={type:ea,listener:dW,self:self,capture:dV,unique:dY};return eb;},removeListener:function(ej,ed,self,ec){if(this.$$disposed){return null;};{var eh;};if(this.__gh){if(ed.$$wrapped_callback&&ed.$$wrapped_callback[ej+this.$$hash]){var ee=ed.$$wrapped_callback[ej+this.$$hash];delete ed.$$wrapped_callback[ej+this.$$hash];ed=ee;};qx.event.Registration.removeListener(this.__gh,ej,ed,self,ec);}else {var ef=this.__gt;var ei;if(ec==null){ec=false;};for(var eg in ef){ei=ef[eg];if(ei.listener===ed&&ei.self===self&&ei.capture===ec&&ei.type===ej){delete ef[eg];break;};};};return this;},removeListenerById:function(ek){if(this.$$disposed){return null;};if(this.__gh){qx.event.Registration.removeListenerById(this.__gh,ek);}else {delete this.__gt[ek];};return this;},hasListener:function(en,em){if(this.$$disposed){return false;};if(this.__gh){return qx.event.Registration.hasListener(this.__gh,en,em);};var eo=this.__gt;var eq;if(em==null){em=false;};for(var ep in eo){eq=eo[ep];if(eq.capture===em&&eq.type===en){return true;};};return false;},getListeners:function(){if(this.$$disposed){return null;};if(this.__gh){return qx.event.Registration.getManager(this.__gh).serializeListeners(this.__gh);};var er=[];for(var et in this.__gt){var es=this.__gt[et];er.push({type:es.type,handler:es.listener,self:es.self,capture:es.capture});};return er;}},defer:function(eu){eu.__gF=new qx.util.DeferredCall(eu.flush,eu);},destruct:function(){if(this.$$hash){delete qx.html.Element._modified[this.$$hash];delete qx.html.Element._scroll[this.$$hash];};var ev=this.__gh;if(ev){qx.event.Registration.getManager(ev).removeAllListeners(ev);ev.$$element=w;};if(!qx.core.ObjectRegistry.inShutDown){var parent=this.__gw;if(parent&&!parent.$$disposed){parent.remove(this);};};this._disposeArray(L);this.__ga=this.__fY=this.__gt=this.__gs=this.__gq=this.__gp=this.__gr=this.__gh=this.__gw=this.__gl=this.__gm=null;}});})();(function(){var a="qx.event.handler.Appear",b="engine.name",c="mshtml",d="disappear",e="appear",f="browser.documentmode";qx.Class.define(a,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(g){qx.core.Object.call(this);this.__fW=g;this.__gG={};qx.event.handler.Appear.__gH[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,__gH:{},refresh:function(){var h=this.__gH;for(var i in h){h[i].refresh();};}},members:{__fW:null,__gG:null,canHandleEvent:function(k,j){},registerEvent:function(o,p,m){var n=qx.core.ObjectRegistry.toHashCode(o)+p;var l=this.__gG;if(l&&!l[n]){l[n]=o;o.$$displayed=o.offsetWidth>0;};},unregisterEvent:function(t,u,r){var s=qx.core.ObjectRegistry.toHashCode(t)+u;var q=this.__gG;if(!q){return;};if(q[s]){delete q[s];};},refresh:function(){var A=this.__gG;var x;var y=qx.core.Environment.get(b)==c&&qx.core.Environment.get(f)<9;for(var v in A){x=A[v];var w=x.offsetWidth>0;if(!w&&y){w=x.offsetWidth>0;};if((!!x.$$displayed)!==w){x.$$displayed=w;var z=qx.event.Registration.createEvent(w?e:d);this.__fW.dispatchEvent(x,z);};};}},destruct:function(){this.__fW=this.__gG=null;delete qx.event.handler.Appear.__gH[this.$$hash];},defer:function(B){qx.event.Registration.addHandler(B);}});})();(function(){var a="abstract",b="Missing implementation",c="qx.event.dispatch.AbstractBubbling";qx.Class.define(c,{extend:qx.core.Object,implement:qx.event.IEventDispatcher,type:a,construct:function(d){this._manager=d;},members:{_getParent:function(e){throw new Error(b);},canDispatchEvent:function(g,event,f){return event.getBubbles();},dispatchEvent:function(l,event,w){var parent=l;var s=this._manager;var o,x;var n;var v,u;var y;var q=[];o=s.getListeners(l,w,true);x=s.getListeners(l,w,false);if(o){q.push(o);};if(x){q.push(x);};var parent=this._getParent(l);var k=[];var h=[];var m=[];var p=[];while(parent!=null){o=s.getListeners(parent,w,true);if(o){m.push(o);p.push(parent);};x=s.getListeners(parent,w,false);if(x){k.push(x);h.push(parent);};parent=this._getParent(parent);};event.setEventPhase(qx.event.type.Event.CAPTURING_PHASE);for(var i=m.length-1;i>=0;i-- ){y=p[i];event.setCurrentTarget(y);n=m[i];for(var j=0,r=n.length;j0){var be=Date.now()-qx.event.handler.GestureCore.DOUBLETAP_TIME;for(var bg in this.__gN){if(bg=Math.abs(cn.y))?D:n;var cf=cn[cp];var cg=ck.SWIPE_DIRECTION[cp][cf<0?0:1];var cm=(cl!==0)?cf/cl:0;var cj={startTime:co.startTime,duration:cl,axis:cp,direction:cg,distance:cf,velocity:cm};return cj;},__gY:function(cq,cr,cs){cr.delta=this._getDeltaCoordinates(cr);this._fireEvent(cr,cq,cr.target||cs);},_fireRoll:function(cu,ct,cv){if(cu.type===qx.core.Environment.get(g).type){cu.delta={x:qx.util.Wheel.getDelta(cu,D)*qx.event.handler.GestureCore.ROLL_FACTOR,y:qx.util.Wheel.getDelta(cu,n)*qx.event.handler.GestureCore.ROLL_FACTOR};cu.delta.axis=Math.abs(cu.delta.x/cu.delta.y)<1?n:D;cu.pointerType=j;}else {var cw=this.__gM[cu.pointerId];cu.delta={x:-cw.velocityX,y:-cw.velocityY,axis:Math.abs(cw.velocityX/cw.velocityY)<1?n:D};};this._fireEvent(cu,h,cu.target||cv);},__ha:function(cx,cz){if(!cx.isPrimary){var cy=this._calcAngle();cx.angle=Math.round((cy-this.__gS)%360);this._fireEvent(cx,k,this.__gQ);};},__hb:function(cC,cD){if(!cC.isPrimary){var cA=this._calcDistance();var cB=cA/this.__gU;cC.scale=(Math.round(cB*100)/100);this._fireEvent(cC,b,this.__gQ);};},__hc:function(cE,cF){var cG=this.__gM[cE.pointerId];if(cG){this._fireEvent(cE,f,cE.target||cF);cG.longTapTimer=null;cG.isTap=false;};},__hd:function(cH){if(cH.longTapTimer){window.clearTimeout(cH.longTapTimer);cH.longTapTimer=null;};},isBelowTapMaxDistance:function(event){var cI=this._calcDelta(event);var cJ=qx.event.handler.GestureCore;return (Math.abs(cI.x)<=cJ.TAP_MAX_DISTANCE&&Math.abs(cI.y)<=cJ.TAP_MAX_DISTANCE);},dispose:function(){for(var cK in this.__gM){this.__hd(cK);};this._stopObserver();this.__fe=this.__ff=null;}}});})();(function(){var a="x",b="y",c="qx.util.Wheel";qx.Bootstrap.define(c,{statics:{MAXSCROLL:null,MINSCROLL:null,FACTOR:1,getDelta:function(e,d){if(d===undefined){var f=0;if(e.wheelDelta!==undefined){f=-e.wheelDelta;}else if(e.detail!==0){f=e.detail;}else if(e.deltaY!==undefined){f=e.deltaY;};return this.__he(f);};if(d===a){var x=0;if(e.wheelDelta!==undefined){if(e.wheelDeltaX!==undefined){x=e.wheelDeltaX?this.__he(-e.wheelDeltaX):0;};}else {if(e.axis&&e.axis==e.HORIZONTAL_AXIS&&(e.detail!==undefined)&&(e.detail>0)){x=this.__he(e.detail);}else if(e.deltaX!==undefined){x=this.__he(e.deltaX);};};return x;};if(d===b){var y=0;if(e.wheelDelta!==undefined){if(e.wheelDeltaY!==undefined){y=e.wheelDeltaY?this.__he(-e.wheelDeltaY):0;}else {y=this.__he(-e.wheelDelta);};}else {if(!(e.axis&&e.axis==e.HORIZONTAL_AXIS)&&(e.detail!==undefined)&&(e.detail>0)){y=this.__he(e.detail);}else if(e.deltaY!==undefined){y=this.__he(e.deltaY);};};return y;};return 0;},__he:function(j){var g=Math.abs(j);if(g===0){return 0;};if(qx.util.Wheel.MINSCROLL==null||qx.util.Wheel.MINSCROLL>g){qx.util.Wheel.MINSCROLL=g;this.__hf();};if(qx.util.Wheel.MAXSCROLL==null||qx.util.Wheel.MAXSCROLL=this.charCodeA&&bv<=this.charCodeZ){return true;};if(bv>=this.charCode0&&bv<=this.charCode9){return true;};if(this.specialCharCodeMap[bv]){return true;};if(this.numpadToCharCode[bv]){return true;};if(this.isNonPrintableKeyCode(bv)){return true;};return false;},isNonPrintableKeyCode:function(bw){return this.keyCodeToIdentifierMap[bw]?true:false;},isValidKeyIdentifier:function(bx){if(this.identifierToKeyCodeMap[bx]){return true;};if(bx.length!=1){return false;};if(bx>=s&&bx<=bq){return true;};if(bx>=i&&bx<=I){return true;};switch(bx){case e:case a:case J:case G:case br:return true;default:return false;};},isPrintableKeyIdentifier:function(by){if(by===j){return true;}else {return this.identifierToKeyCodeMap[by]?false:true;};}},defer:function(bz,bA){if(!bz.identifierToKeyCodeMap){bz.identifierToKeyCodeMap={};for(var bB in bz.keyCodeToIdentifierMap){bz.identifierToKeyCodeMap[bz.keyCodeToIdentifierMap[bB]]=parseInt(bB,10);};for(var bB in bz.specialCharCodeMap){bz.identifierToKeyCodeMap[bz.specialCharCodeMap[bB]]=parseInt(bB,10);};};}});})();(function(){var a="selectstart",b="os.name",c="blur",d="mousedown",e="focus",f="os.version",g="qx.event.handler.Focus",h="_applyFocus",i="DOMFocusIn",j="deactivate",k="textarea",l="_applyActive",m='character',n="input",o="ios",p="",q="qxSelectable",r="tabIndex",s="off",t="on",u="activate",v="focusin",w="mshtml",x="engine.name",y="mouseup",z="DOMFocusOut",A="focusout",B="qxKeepFocus",C="draggesture",D="qxKeepActive";qx.Class.define(g,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(E){qx.core.Object.call(this);this._manager=E;this._window=E.getWindow();this._document=this._window.document;this._root=this._document.documentElement;this._body=this._document.body;if((qx.core.Environment.get(b)==o&&parseFloat(qx.core.Environment.get(f))>6)&&(!qx.application.Inline||!qx.core.Init.getApplication() instanceof qx.application.Inline)){this.__hB=true;};this._initObserver();},properties:{active:{apply:l,nullable:true},focus:{apply:h,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(x,{"mshtml":{a:1,body:1,button:1,frame:1,iframe:1,img:1,input:1,object:1,select:1,textarea:1},"gecko":{a:1,body:1,button:1,frame:1,iframe:1,img:1,input:1,object:1,select:1,textarea:1},"opera":{button:1,input:1,select:1,textarea:1},"webkit":{button:1,input:1,select:1,textarea:1}})},members:{__hC:null,__hD:null,__hE:null,__hF:null,__hG:null,__hH:null,__hI:null,__hJ:null,__hK:null,__hL:null,__hM:p,__hN:p,__hB:false,__hO:null,canHandleEvent:function(G,F){},registerEvent:function(J,I,H){},unregisterEvent:function(M,L,K){},focus:function(N){if((qx.core.Environment.get(x)==w)){window.setTimeout(function(){try{N.focus();var O=qx.bom.Selection.get(N);if(O.length==0){var P=N.createTextRange();P.moveStart(m,N.value.length);P.collapse();P.select();};}catch(Q){};},0);}else {try{N.focus();}catch(R){};};this.setFocus(N);this.setActive(N);},activate:function(S){this.setActive(S);},blur:function(T){try{T.blur();}catch(U){};if(this.getActive()===T){this.resetActive();};if(this.getFocus()===T){this.resetFocus();};},deactivate:function(V){if(this.getActive()===V){this.resetActive();};},tryActivate:function(X){var W=this.__id(X);if(W){this.setActive(W);};},__ho:function(Y,bb,be,bd){var bc=qx.event.Registration;var ba=bc.createEvent(be,qx.event.type.Focus,[Y,bb,bd]);bc.dispatchEvent(Y,ba);},_windowFocused:true,__hP:function(){if(this._windowFocused){this._windowFocused=false;this.__ho(this._window,null,c,false);};},__hQ:function(){if(!this._windowFocused){this._windowFocused=true;this.__ho(this._window,null,e,false);};},_initObserver:qx.core.Environment.select(x,{"gecko":function(){this.__hC=qx.lang.Function.listener(this.__hW,this);this.__hD=qx.lang.Function.listener(this.__hX,this);this.__hE=qx.lang.Function.listener(this.__hV,this);this.__hF=qx.lang.Function.listener(this.__hU,this);this.__hG=qx.lang.Function.listener(this.__hR,this);qx.bom.Event.addNativeListener(this._document,d,this.__hC,true);qx.bom.Event.addNativeListener(this._document,y,this.__hD,true);qx.bom.Event.addNativeListener(this._window,e,this.__hE,true);qx.bom.Event.addNativeListener(this._window,c,this.__hF,true);qx.bom.Event.addNativeListener(this._window,C,this.__hG,true);},"mshtml":function(){this.__hC=qx.lang.Function.listener(this.__hW,this);this.__hD=qx.lang.Function.listener(this.__hX,this);this.__hI=qx.lang.Function.listener(this.__hS,this);this.__hJ=qx.lang.Function.listener(this.__hT,this);this.__hH=qx.lang.Function.listener(this.__ia,this);qx.bom.Event.addNativeListener(this._document,d,this.__hC);qx.bom.Event.addNativeListener(this._document,y,this.__hD);qx.bom.Event.addNativeListener(this._document,v,this.__hI);qx.bom.Event.addNativeListener(this._document,A,this.__hJ);qx.bom.Event.addNativeListener(this._document,a,this.__hH);},"webkit":function(){this.__hC=qx.lang.Function.listener(this.__hW,this);this.__hD=qx.lang.Function.listener(this.__hX,this);this.__hJ=qx.lang.Function.listener(this.__hT,this);this.__hE=qx.lang.Function.listener(this.__hV,this);this.__hF=qx.lang.Function.listener(this.__hU,this);this.__hH=qx.lang.Function.listener(this.__ia,this);qx.bom.Event.addNativeListener(this._document,d,this.__hC,true);qx.bom.Event.addNativeListener(this._document,y,this.__hD,true);qx.bom.Event.addNativeListener(this._document,a,this.__hH,false);qx.bom.Event.addNativeListener(this._window,z,this.__hJ,true);qx.bom.Event.addNativeListener(this._window,e,this.__hE,true);qx.bom.Event.addNativeListener(this._window,c,this.__hF,true);},"opera":function(){this.__hC=qx.lang.Function.listener(this.__hW,this);this.__hD=qx.lang.Function.listener(this.__hX,this);this.__hI=qx.lang.Function.listener(this.__hS,this);this.__hJ=qx.lang.Function.listener(this.__hT,this);qx.bom.Event.addNativeListener(this._document,d,this.__hC,true);qx.bom.Event.addNativeListener(this._document,y,this.__hD,true);qx.bom.Event.addNativeListener(this._window,i,this.__hI,true);qx.bom.Event.addNativeListener(this._window,z,this.__hJ,true);}}),_stopObserver:qx.core.Environment.select(x,{"gecko":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__hC,true);qx.bom.Event.removeNativeListener(this._document,y,this.__hD,true);qx.bom.Event.removeNativeListener(this._window,e,this.__hE,true);qx.bom.Event.removeNativeListener(this._window,c,this.__hF,true);qx.bom.Event.removeNativeListener(this._window,C,this.__hG,true);},"mshtml":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__hC);qx.bom.Event.removeNativeListener(this._document,y,this.__hD);qx.bom.Event.removeNativeListener(this._document,v,this.__hI);qx.bom.Event.removeNativeListener(this._document,A,this.__hJ);qx.bom.Event.removeNativeListener(this._document,a,this.__hH);},"webkit":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__hC,true);qx.bom.Event.removeNativeListener(this._document,y,this.__hD,true);qx.bom.Event.removeNativeListener(this._document,a,this.__hH,false);qx.bom.Event.removeNativeListener(this._window,z,this.__hJ,true);qx.bom.Event.removeNativeListener(this._window,e,this.__hE,true);qx.bom.Event.removeNativeListener(this._window,c,this.__hF,true);},"opera":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__hC,true);qx.bom.Event.removeNativeListener(this._document,y,this.__hD,true);qx.bom.Event.removeNativeListener(this._window,i,this.__hI,true);qx.bom.Event.removeNativeListener(this._window,z,this.__hJ,true);}}),__hR:qx.event.GlobalError.observeMethod(qx.core.Environment.select(x,{"gecko":function(bf){var bg=qx.bom.Event.getTarget(bf);if(!this.__ie(bg)){qx.bom.Event.preventDefault(bf);};},"default":null})),__hS:qx.event.GlobalError.observeMethod(qx.core.Environment.select(x,{"mshtml":function(bi){this.__hQ();var bj=qx.bom.Event.getTarget(bi);var bh=this.__ic(bj);if(bh){this.setFocus(bh);};this.tryActivate(bj);},"opera":function(bk){var bl=qx.bom.Event.getTarget(bk);if(bl==this._document||bl==this._window){this.__hQ();if(this.__hK){this.setFocus(this.__hK);delete this.__hK;};if(this.__hL){this.setActive(this.__hL);delete this.__hL;};}else {this.setFocus(bl);this.tryActivate(bl);if(!this.__ie(bl)){bl.selectionStart=0;bl.selectionEnd=0;};};},"default":null})),__hT:qx.event.GlobalError.observeMethod(qx.core.Environment.select(x,{"mshtml":function(bm){var bn=qx.bom.Event.getRelatedTarget(bm);if(bn==null){this.__hP();this.resetFocus();this.resetActive();};},"webkit":function(bo){var bp=qx.bom.Event.getTarget(bo);if(bp===this.getFocus()){this.resetFocus();};if(bp===this.getActive()){this.resetActive();};},"opera":function(bq){var br=qx.bom.Event.getTarget(bq);if(br==this._document){this.__hP();this.__hK=this.getFocus();this.__hL=this.getActive();this.resetFocus();this.resetActive();}else {if(br===this.getFocus()){this.resetFocus();};if(br===this.getActive()){this.resetActive();};};},"default":null})),__hU:qx.event.GlobalError.observeMethod(qx.core.Environment.select(x,{"gecko":function(bs){var bt=qx.bom.Event.getTarget(bs);if(bt===this._window||bt===this._document){this.__hP();this.resetActive();this.resetFocus();};},"webkit":function(bu){var bv=qx.bom.Event.getTarget(bu);if(bv===this._window||bv===this._document){this.__hP();this.__hK=this.getFocus();this.__hL=this.getActive();this.resetActive();this.resetFocus();};},"default":null})),__hV:qx.event.GlobalError.observeMethod(qx.core.Environment.select(x,{"gecko":function(bw){var bx=qx.bom.Event.getTarget(bw);if(bx===this._window||bx===this._document){this.__hQ();bx=this._body;};this.setFocus(bx);this.tryActivate(bx);},"webkit":function(by){var bz=qx.bom.Event.getTarget(by);if(bz===this._window||bz===this._document){this.__hQ();if(this.__hK){this.setFocus(this.__hK);delete this.__hK;};if(this.__hL){this.setActive(this.__hL);delete this.__hL;};}else {this.__hO=by.relatedTarget;this.setFocus(bz);this.__hO=null;this.tryActivate(bz);};},"default":null})),__hW:qx.event.GlobalError.observeMethod(qx.core.Environment.select(x,{"mshtml":function(bB){var bC=qx.bom.Event.getTarget(bB);var bA=this.__ic(bC);if(bA){if(!this.__ie(bC)){bC.unselectable=t;try{document.selection.empty();}catch(bD){};try{bA.focus();}catch(bE){};};}else {qx.bom.Event.preventDefault(bB);if(!this.__ie(bC)){bC.unselectable=t;};};},"webkit":function(bG){var bH=qx.bom.Event.getTarget(bG);var bF=this.__ic(bH);if(bF){this.setFocus(bF);}else {qx.bom.Event.preventDefault(bG);};},"gecko":function(bJ){var bK=qx.bom.Event.getTarget(bJ);var bI=this.__ic(bK);if(bI){this.setFocus(bI);}else {qx.bom.Event.preventDefault(bJ);};},"opera":function(bN){var bO=qx.bom.Event.getTarget(bN);var bL=this.__ic(bO);if(!this.__ie(bO)){qx.bom.Event.preventDefault(bN);if(bL){var bM=this.getFocus();if(bM&&bM.selectionEnd){bM.selectionStart=0;bM.selectionEnd=0;bM.blur();};if(bL){this.setFocus(bL);};};}else if(bL){this.setFocus(bL);};},"default":null})),__hX:qx.event.GlobalError.observeMethod(qx.core.Environment.select(x,{"mshtml":function(bP){var bQ=qx.bom.Event.getTarget(bP);if(bQ.unselectable){bQ.unselectable=s;};this.tryActivate(this.__hY(bQ));},"gecko":function(bR){var bS=qx.bom.Event.getTarget(bR);while(bS&&bS.offsetWidth===undefined){bS=bS.parentNode;};if(bS){this.tryActivate(bS);};},"webkit":function(bT){var bU=qx.bom.Event.getTarget(bT);this.tryActivate(this.__hY(bU));},"opera":function(bV){var bW=qx.bom.Event.getTarget(bV);this.tryActivate(this.__hY(bW));},"default":null})),__hY:qx.event.GlobalError.observeMethod(qx.core.Environment.select(x,{"mshtml":function(bX){var bY=this.getFocus();if(bY&&bX!=bY&&(bY.nodeName.toLowerCase()===n||bY.nodeName.toLowerCase()===k)){bX=bY;};return bX;},"webkit":function(ca){var cb=this.getFocus();if(cb&&ca!=cb&&(cb.nodeName.toLowerCase()===n||cb.nodeName.toLowerCase()===k)){ca=cb;};return ca;},"default":function(cc){return cc;}})),__ia:qx.event.GlobalError.observeMethod(qx.core.Environment.select(x,{"mshtml":function(cd){var ce=qx.bom.Event.getTarget(cd);if(!this.__ie(ce)){qx.bom.Event.preventDefault(cd);};},"webkit":function(cf){var cg=qx.bom.Event.getTarget(cf);if(!this.__ie(cg)){qx.bom.Event.preventDefault(cf);};},"default":null})),__ib:function(ch){var ci=qx.bom.element.Attribute.get(ch,r);if(ci>=1){return true;};var cj=qx.event.handler.Focus.FOCUSABLE_ELEMENTS;if(ci>=0&&cj[ch.tagName]){return true;};return false;},__ic:function(ck){while(ck&&ck.nodeType===1){if(ck.getAttribute(B)==t){return null;};if(this.__ib(ck)){return ck;};ck=ck.parentNode;};return this._body;},__id:function(cl){var cm=cl;while(cl&&cl.nodeType===1){if(cl.getAttribute(D)==t){return null;};cl=cl.parentNode;};return cm;},__ie:function(cn){while(cn&&cn.nodeType===1){var co=cn.getAttribute(q);if(co!=null){return co===t;};cn=cn.parentNode;};return true;},_applyActive:function(cq,cp){if(cp){this.__ho(cp,cq,j,true);};if(cq){this.__ho(cq,cp,u,true);};if(this.__hB){window.scrollTo(0,0);};},_applyFocus:function(cs,cr){if(cr){this.__ho(cr,cs,A,true);};if(cs){this.__ho(cs,cr,v,true);};if(cr){this.__ho(cr,cs,c,false);};if(cs){this.__ho(cs,cr||this.__hO,e,false);};}},destruct:function(){this._stopObserver();this._manager=this._window=this._document=this._root=this._body=this.__if=this.__hO=null;},defer:function(cu){qx.event.Registration.addHandler(cu);var cv=cu.FOCUSABLE_ELEMENTS;for(var ct in cv){cv[ct.toUpperCase()]=1;};}});})();(function(){var a="qx.core.BaseInit",b="engine.name",c="Main runtime: ",d="",f='darktheme.demo.Application',g="os.name",h="engine.version",i="Missing application class: ",j="Load runtime: ",k="ms",l="Could not detect engine!",m="Finalize runtime: ",n="Could not detect operating system!",o="Could not detect the version of the engine!";qx.Class.define(a,{statics:{__ig:null,getApplication:function(){return this.__ig||null;},ready:function(){if(this.__ig){return;};if(qx.core.Environment.get(b)==d){qx.log.Logger.warn(l);};if(qx.core.Environment.get(h)==d){qx.log.Logger.warn(o);};if(qx.core.Environment.get(g)==d){qx.log.Logger.warn(n);};qx.log.Logger.debug(this,j+(new Date-qx.Bootstrap.LOADSTART)+k);var q=f;var r=qx.Class.getByName(q);if(r){this.__ig=new r;var p=new Date;this.__ig.main();qx.log.Logger.debug(this,c+(new Date-p)+k);var p=new Date;this.__ig.finalize();qx.log.Logger.debug(this,m+(new Date-p)+k);}else {qx.log.Logger.warn(i+q);};},__ih:function(e){var s=this.__ig;if(s){s.close();};},__ii:function(){var t=this.__ig;if(t){t.terminate();};qx.core.ObjectRegistry.shutdown();}}});})();(function(){var a="qx.globalErrorHandling",b="qx.event.handler.Window";qx.Class.define(b,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(c){qx.core.Object.call(this);this._manager=c;this._window=c.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(f,d){},registerEvent:function(i,h,g){},unregisterEvent:function(l,k,j){},_initWindowObserver:function(){this._onNativeWrapper=qx.lang.Function.listener(this._onNative,this);var m=qx.event.handler.Window.SUPPORTED_TYPES;for(var n in m){qx.bom.Event.addNativeListener(this._window,n,this._onNativeWrapper);};},_stopWindowObserver:function(){var o=qx.event.handler.Window.SUPPORTED_TYPES;for(var p in o){qx.bom.Event.removeNativeListener(this._window,p,this._onNativeWrapper);};},_onNative:function(){var q=qx.core.Environment.select(a,{"true":qx.event.GlobalError.observeMethod(this.__ij),"false":this.__ij});q.apply(this,arguments);},__ij:function(e){if(this.isDisposed()){return;};var v=this._window;var s;try{s=v.document;}catch(w){return;};var t=s.documentElement;var r=qx.bom.Event.getTarget(e);if(r==null||r===v||r===s||r===t){var event=qx.event.Registration.createEvent(e.type,qx.event.type.Native,[e,v]);qx.event.Registration.dispatchEvent(v,event);var u=event.getReturnValue();if(u!=null){e.returnValue=u;return u;};};}},destruct:function(){this._stopWindowObserver();this._manager=this._window=null;},defer:function(x){qx.event.Registration.addHandler(x);}});})();(function(){var a="ready",b="mshtml",c="engine.name",d="qx.event.handler.Application",f="complete",g="webkit",h="gecko",i="qx.globalErrorHandling",j="load",k="unload",l="opera",m="left",n="DOMContentLoaded",o="shutdown",p="browser.documentmode";qx.Class.define(d,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(q){qx.core.Object.call(this);this._window=q.getWindow();this.__ik=false;this.__il=false;this.__eW=false;this.__im=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 r=qx.event.handler.Application.$$instance;if(r){r.__in();};}},members:{canHandleEvent:function(t,s){},registerEvent:function(w,v,u){},unregisterEvent:function(z,y,x){},__eW:null,__ik:null,__il:null,__im:null,__in:function(){if(!this.__eW&&this.__ik&&qx.$$loader.scriptLoaded){if((qx.core.Environment.get(c)==b)){if(qx.event.Registration.hasListener(this._window,a)){this.__eW=true;qx.event.Registration.fireEvent(this._window,a);};}else {this.__eW=true;qx.event.Registration.fireEvent(this._window,a);};};},isApplicationReady:function(){return this.__eW;},_initObserver:function(){if(qx.$$domReady||document.readyState==f||document.readyState==a){this.__ik=true;this.__in();}else {this._onNativeLoadWrapped=qx.lang.Function.bind(this._onNativeLoad,this);if(qx.core.Environment.get(c)==h||qx.core.Environment.get(c)==l||qx.core.Environment.get(c)==g||(qx.core.Environment.get(c)==b&&qx.core.Environment.get(p)>8)){qx.bom.Event.addNativeListener(this._window,n,this._onNativeLoadWrapped);}else {var self=this;var A=function(){try{document.documentElement.doScroll(m);if(document.body){self._onNativeLoadWrapped();};}catch(B){window.setTimeout(A,100);};};A();};qx.bom.Event.addNativeListener(this._window,j,this._onNativeLoadWrapped);};this._onNativeUnloadWrapped=qx.lang.Function.bind(this._onNativeUnload,this);qx.bom.Event.addNativeListener(this._window,k,this._onNativeUnloadWrapped);},_stopObserver:function(){if(this._onNativeLoadWrapped){qx.bom.Event.removeNativeListener(this._window,j,this._onNativeLoadWrapped);};qx.bom.Event.removeNativeListener(this._window,k,this._onNativeUnloadWrapped);this._onNativeLoadWrapped=null;this._onNativeUnloadWrapped=null;},_onNativeLoad:function(){var C=qx.core.Environment.select(i,{"true":qx.event.GlobalError.observeMethod(this.__io),"false":this.__io});C.apply(this,arguments);},__io:function(){this.__ik=true;this.__in();},_onNativeUnload:function(){var D=qx.core.Environment.select(i,{"true":qx.event.GlobalError.observeMethod(this.__ip),"false":this.__ip});D.apply(this,arguments);},__ip:function(){if(!this.__im){this.__im=true;try{qx.event.Registration.fireEvent(this._window,o);}catch(e){throw e;}finally{qx.core.ObjectRegistry.shutdown();};};}},destruct:function(){this._stopObserver();this._window=null;},defer:function(E){qx.event.Registration.addHandler(E);}});})();(function(){var a="ready",b="shutdown",c="beforeunload",d="qx.core.Init";qx.Class.define(d,{statics:{getApplication:qx.core.BaseInit.getApplication,ready:qx.core.BaseInit.ready,__ih:function(e){var f=this.getApplication();if(f){e.setReturnValue(f.close());};},__ii:function(){var g=this.getApplication();if(g){g.terminate();};}},defer:function(h){qx.event.Registration.addListener(window,a,h.ready,h);qx.event.Registration.addListener(window,b,h.__ii,h);qx.event.Registration.addListener(window,c,h.__ih,h);}});})();(function(){var a="engine.name",b="qx.bom.Selection",c="character",d="button",e='character',f="#text",g="webkit",h="input",i="gecko",j="EndToEnd",k="opera",l="StartToStart",m="html.selection",n="textarea",o="body";qx.Bootstrap.define(b,{statics:{getSelectionObject:qx.core.Environment.select(m,{"selection":function(p){return p.selection;},"default":function(q){return qx.dom.Node.getWindow(q).getSelection();}}),get:qx.core.Environment.select(m,{"selection":function(r){var s=qx.bom.Range.get(qx.dom.Node.getDocument(r));return s.text;},"default":function(t){if(this.__iq(t)){return t.value.substring(t.selectionStart,t.selectionEnd);}else {return this.getSelectionObject(qx.dom.Node.getDocument(t)).toString();};}}),getLength:qx.core.Environment.select(m,{"selection":function(u){var w=this.get(u);var v=qx.util.StringSplit.split(w,/\r\n/);return w.length-(v.length-1);},"default":function(x){if(qx.core.Environment.get(a)==k){var B,C,A;if(this.__iq(x)){var z=x.selectionStart;var y=x.selectionEnd;B=x.value.substring(z,y);C=y-z;}else {B=qx.bom.Selection.get(x);C=B.length;};A=qx.util.StringSplit.split(B,/\r\n/);return C-(A.length-1);};if(this.__iq(x)){return x.selectionEnd-x.selectionStart;}else {return this.get(x).length;};}}),getStart:qx.core.Environment.select(m,{"selection":function(D){if(this.__iq(D)){var I=qx.bom.Range.get();if(!D.contains(I.parentElement())){return -1;};var J=qx.bom.Range.get(D);var H=D.value.length;J.moveToBookmark(I.getBookmark());J.moveEnd(e,H);return H-J.text.length;}else {var J=qx.bom.Range.get(D);var F=J.parentElement();var K=qx.bom.Range.get();try{K.moveToElementText(F);}catch(M){return 0;};var E=qx.bom.Range.get(qx.dom.Node.getBodyElement(D));E.setEndPoint(l,J);E.setEndPoint(j,K);if(K.compareEndPoints(l,E)==0){return 0;};var G;var L=0;while(true){G=E.moveStart(c,-1);if(K.compareEndPoints(l,E)==0){break;};if(G==0){break;}else {L++ ;};};return ++L;};},"default":function(N){if(qx.core.Environment.get(a)===i||qx.core.Environment.get(a)===g){if(this.__iq(N)){return N.selectionStart;}else {var P=qx.dom.Node.getDocument(N);var O=this.getSelectionObject(P);if(O.anchorOffsetbc.anchorOffset){return bc.focusOffset;}else {return bc.anchorOffset;};};};if(this.__iq(bb)){return bb.selectionEnd;}else {return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bb)).focusOffset;};}}),__iq:function(be){return qx.dom.Node.isElement(be)&&(be.nodeName.toLowerCase()==h||be.nodeName.toLowerCase()==n);},set:qx.core.Environment.select(m,{"selection":function(bf,bi,bh){var bg;if(qx.dom.Node.isDocument(bf)){bf=bf.body;};if(qx.dom.Node.isElement(bf)||qx.dom.Node.isText(bf)){switch(bf.nodeName.toLowerCase()){case h:case n:case d:if(bh===undefined){bh=bf.value.length;};if(bi>=0&&bi<=bf.value.length&&bh>=0&&bh<=bf.value.length){bg=qx.bom.Range.get(bf);bg.collapse(true);bg.moveStart(c,bi);bg.moveEnd(c,bh-bi);bg.select();return true;};break;case f:if(bh===undefined){bh=bf.nodeValue.length;};if(bi>=0&&bi<=bf.nodeValue.length&&bh>=0&&bh<=bf.nodeValue.length){bg=qx.bom.Range.get(qx.dom.Node.getBodyElement(bf));bg.moveToElementText(bf.parentNode);bg.collapse(true);bg.moveStart(c,bi);bg.moveEnd(c,bh-bi);bg.select();return true;};break;default:if(bh===undefined){bh=bf.childNodes.length-1;};if(bf.childNodes[bi]&&bf.childNodes[bh]){bg=qx.bom.Range.get(qx.dom.Node.getBodyElement(bf));bg.moveToElementText(bf.childNodes[bi]);bg.collapse(true);var bj=qx.bom.Range.get(qx.dom.Node.getBodyElement(bf));bj.moveToElementText(bf.childNodes[bh]);bg.setEndPoint(j,bj);bg.select();return true;};};};return false;},"default":function(bk,bp,bm){var bn=bk.nodeName.toLowerCase();if(qx.dom.Node.isElement(bk)&&(bn==h||bn==n)){if(bm===undefined){bm=bk.value.length;};if(bp>=0&&bp<=bk.value.length&&bm>=0&&bm<=bk.value.length){bk.focus();bk.select();bk.setSelectionRange(bp,bm);return true;};}else {var bq=false;var bl=qx.dom.Node.getWindow(bk).getSelection();var bo=qx.bom.Range.get(bk);if(qx.dom.Node.isText(bk)){if(bm===undefined){bm=bk.length;};if(bp>=0&&bp=0&&bm<=bk.length){bq=true;};}else if(qx.dom.Node.isElement(bk)){if(bm===undefined){bm=bk.childNodes.length-1;};if(bp>=0&&bk.childNodes[bp]&&bm>=0&&bk.childNodes[bm]){bq=true;};}else if(qx.dom.Node.isDocument(bk)){bk=bk.body;if(bm===undefined){bm=bk.childNodes.length-1;};if(bp>=0&&bk.childNodes[bp]&&bm>=0&&bk.childNodes[bm]){bq=true;};};if(bq){if(!bl.isCollapsed){bl.collapseToStart();};bo.setStart(bk,bp);if(qx.dom.Node.isText(bk)){bo.setEnd(bk,bm);}else {bo.setEndAfter(bk.childNodes[bm]);};if(bl.rangeCount>0){bl.removeAllRanges();};bl.addRange(bo);return true;};};return false;}}),setAll:function(br){return qx.bom.Selection.set(br,0);},clear:qx.core.Environment.select(m,{"selection":function(bs){var bu=qx.bom.Range.get(bs);var parent=bu.parentElement();var bv=qx.bom.Range.get(qx.dom.Node.getDocument(bs));if(qx.dom.Node.isText(bs)){bs=bs.parentNode;};if(parent==bv.parentElement()&&parent==bs){var bt=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bs));bt.empty();};},"default":function(bw){var bB=qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bw));var bx=bw.nodeName.toLowerCase();if(qx.dom.Node.isElement(bw)&&(bx==h||bx==n)){bw.setSelectionRange(0,0);if(qx.bom.Element&&qx.bom.Element.blur){qx.bom.Element.blur(bw);};}else if(qx.dom.Node.isDocument(bw)||bx==o){bB.collapse(bw.body?bw.body:bw,0);}else {var by=qx.bom.Range.get(bw);if(!by.collapsed){var bz;var bA=by.commonAncestorContainer;if(qx.dom.Node.isElement(bw)&&qx.dom.Node.isText(bA)){bz=bA.parentNode;}else {bz=bA;};if(bz==bw){bB.collapse(bw,0);};};};}})}});})();(function(){var a="qx.bom.Range",b="text",c="password",d="file",e="submit",f="reset",g="textarea",h="input",i="hidden",j="html.selection",k="button",l="body";qx.Bootstrap.define(a,{statics:{get:qx.core.Environment.select(j,{"selection":function(m){if(qx.dom.Node.isElement(m)){switch(m.nodeName.toLowerCase()){case h:switch(m.type){case b:case c:case i:case k:case f:case d:case e:return m.createTextRange();default:return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(m)).createRange();};break;case g:case l:case k:return m.createTextRange();default:return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(m)).createRange();};}else {if(m==null){m=window;};return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(m)).createRange();};},"default":function(n){var o=qx.dom.Node.getDocument(n);var p=qx.bom.Selection.getSelectionObject(o);if(p.rangeCount>0){return p.getRangeAt(0);}else {return o.createRange();};}})}});})();(function(){var a="m",b="g",c="^",d="",e="qx.util.StringSplit",f="i",g="$(?!\\s)",h="[object RegExp]",j="y";qx.Bootstrap.define(e,{statics:{split:function(k,p,o){if(Object.prototype.toString.call(p)!==h){return String.prototype.split.call(k,p,o);};var r=[],l=0,m=(p.ignoreCase?f:d)+(p.multiline?a:d)+(p.sticky?j:d),p=RegExp(p.source,m+b),n,t,q,u,s=/()??/.exec(d)[1]===undefined;k=k+d;if(!s){n=RegExp(c+p.source+g,m);};if(o===undefined||+o<0){o=Infinity;}else {o=Math.floor(+o);if(!o){return [];};};while(t=p.exec(k)){q=t.index+t[0].length;if(q>l){r.push(k.slice(l,t.index));if(!s&&t.length>1){t[0].replace(n,function(){for(var i=1;i1&&t.index=o){break;};};if(p.lastIndex===t.index){p.lastIndex++ ;};};if(l===k.length){if(u||!p.test(d)){r.push(d);};}else {r.push(k.slice(l));};return r.length>o?r.slice(0,o):r;}}});})();(function(){var a="qx.event.type.Focus";qx.Class.define(a,{extend:qx.event.type.Event,members:{init:function(d,b,c){qx.event.type.Event.prototype.init.call(this,c,false);this._target=d;this._relatedTarget=b;return this;}}});})();(function(){var a="touchmove",b="os.name",c="MSPointerDown",d="android",e="engine.version",f="pointercancel",g="qx.event.handler.TouchCore",h="event.mspointer",j="MSPointerCancel",k="y",l="pointer-events",m="pointerup",n="touchend",o="pointerdown",p="MSPointerUp",q="right",r="engine.name",s="undefined",t="touchcancel",u="MSPointerMove",v="webkit",w="none",z="left",A="pointermove",B="down",C="x",D="up",E="touchstart";qx.Bootstrap.define(g,{extend:Object,statics:{TAP_MAX_DISTANCE:qx.core.Environment.get(b)!=d?10:40,SWIPE_DIRECTION:{x:[z,q],y:[D,B]},SWIPE_MIN_DISTANCE:qx.core.Environment.get(b)!=d?11:41,SWIPE_MIN_VELOCITY:0,LONGTAP_TIME:500},construct:function(F,G){this.__ir=F;this.__ff=G;this._initTouchObserver();this.__is=[];this.__it={};},members:{__ir:null,__ff:null,__iu:null,__iv:null,__it:null,__iw:null,__ix:null,__iy:null,__is:null,__iz:null,_initTouchObserver:function(){this.__iu=qx.lang.Function.listener(this._onTouchEvent,this);this.__iz=[E,a,n,t];if(qx.core.Environment.get(h)){var H=parseInt(qx.core.Environment.get(e),10);if(H==10){this.__iz=[c,u,p,j];}else {this.__iz=[o,A,m,f];};};for(var i=0;i1){this.__ix=this._getScalingDistance(V.touches[0],V.touches[1]);this.__iy=this._getRotationAngle(V.touches[0],V.touches[1]);};for(var i=0;i1){var W=this._getScalingDistance(V.targetTouches[0],V.targetTouches[1]);V.scale=W/this.__ix;};if((typeof V.rotation==s||qx.core.Environment.get(h))&&V.targetTouches.length>1){var X=this._getRotationAngle(V.targetTouches[0],V.targetTouches[1]);V._rotation=X-this.__iy;};V.delta=this._calcTouchesDelta(V.targetTouches);};this._fireEvent(V,ba,this.__iv);if(qx.core.Environment.get(h)){if(ba==n||ba==t){delete this.__is[V.pointerId];};};if((ba==n||ba==t)&&V.changedTouches[0]){delete this.__it[V.changedTouches[0].identifier];};},_detectTouchesByPointer:function(bd,bf){var bc=[];if(bf==E){this.__is[bd.pointerId]=bd;}else if(bf==a){this.__is[bd.pointerId]=bd;};for(var be in this.__is){var bb=this.__is[be];bc.push(bb);};return bc;},_mapPointerEvent:function(bg){bg=bg.toLowerCase();if(bg.indexOf(o)!==-1){return E;}else if(bg.indexOf(m)!==-1){return n;}else if(bg.indexOf(A)!==-1){return a;}else if(bg.indexOf(f)!==-1){return t;};return bg;},_getTarget:function(bi){var bj=qx.bom.Event.getTarget(bi);if(qx.core.Environment.get(r)==v){if(bj&&bj.nodeType==3){bj=bj.parentNode;};}else if(qx.core.Environment.get(h)){var bh=this.__iA(bi);if(bh){bj=bh;};};return bj;},__iA:function(bm){var bk=null;var bl=null;if(bm&&bm.touches&&bm.touches.length!==0){bk=bm.touches[0].clientX;bl=bm.touches[0].clientY;};var bo=document.msElementsFromPoint(bk,bl);if(bo){for(var i=0;i1;},getScale:function(){return this._native.scale;},getRotation:function(){if(typeof this._native._rotation===d){return this._native.rotation;}else {return this._native._rotation;};},getDelta:function(){return this._native.delta;},getDocumentLeft:function(g){return this.__iG(g).pageX;},getDocumentTop:function(h){return this.__iG(h).pageY;},getScreenLeft:function(j){return this.__iG(j).screenX;},getScreenTop:function(k){return this.__iG(k).screenY;},getViewportLeft:function(l){return this.__iG(l).clientX;},getViewportTop:function(m){return this.__iG(m).clientY;},getIdentifier:function(n){return this.__iG(n).identifier;},__iG:function(o){o=o==null?0:o;return this.__iH()[o];},__iH:function(){var p=(this._isTouchEnd()?this.getChangedTargetTouches():this.getTargetTouches());return p;},_isTouchEnd:function(){return (this.getType()==c||this.getType()==a);}}});})();(function(){var a="text",b="engine.version",c="keydown",d="radio",f="textarea",g="password",h="propertychange",j="select-multiple",k="change",m="input",n="value",p="select",q="browser.documentmode",r="browser.version",s="opera",t="keyup",u="mshtml",v="engine.name",w="keypress",x="checkbox",y="qx.event.handler.Input",z="checked";qx.Class.define(y,{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(v)==s)){this._onKeyDownWrapper=qx.lang.Function.listener(this._onKeyDown,this);this._onKeyUpWrapper=qx.lang.Function.listener(this._onKeyUp,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:{__iI:false,__iJ:null,__iK:null,__iL:null,canHandleEvent:function(C,B){var A=C.tagName.toLowerCase();if(B===m&&(A===m||A===f)){return true;};if(B===k&&(A===m||A===f||A===p)){return true;};return false;},registerEvent:function(H,G,E){if(qx.core.Environment.get(v)==u&&(qx.core.Environment.get(b)<9||(qx.core.Environment.get(b)>=9&&qx.core.Environment.get(q)<9))){if(!H.__iM){var F=H.tagName.toLowerCase();var D=H.type;if(D===a||D===g||F===f||D===x||D===d){qx.bom.Event.addNativeListener(H,h,this._onPropertyWrapper);};if(D!==x&&D!==d){qx.bom.Event.addNativeListener(H,k,this._onChangeValueWrapper);};if(D===a||D===g){this._onKeyPressWrapped=qx.lang.Function.listener(this._onKeyPress,this,H);qx.bom.Event.addNativeListener(H,w,this._onKeyPressWrapped);};H.__iM=true;};}else {if(G===m){this.__iN(H);}else if(G===k){if(H.type===d||H.type===x){qx.bom.Event.addNativeListener(H,k,this._onChangeCheckedWrapper);}else {qx.bom.Event.addNativeListener(H,k,this._onChangeValueWrapper);};if((qx.core.Environment.get(v)==s)||(qx.core.Environment.get(v)==u)){if(H.type===a||H.type===g){this._onKeyPressWrapped=qx.lang.Function.listener(this._onKeyPress,this,H);qx.bom.Event.addNativeListener(H,w,this._onKeyPressWrapped);};};};};},__iN:qx.core.Environment.select(v,{"mshtml":function(I){if(qx.core.Environment.get(b)>=9&&qx.core.Environment.get(q)>=9){qx.bom.Event.addNativeListener(I,m,this._onInputWrapper);if(I.type===a||I.type===g||I.type===f){this._inputFixWrapper=qx.lang.Function.listener(this._inputFix,this,I);qx.bom.Event.addNativeListener(I,t,this._inputFixWrapper);};};},"webkit":function(K){var J=K.tagName.toLowerCase();if(parseFloat(qx.core.Environment.get(b))<532&&J==f){qx.bom.Event.addNativeListener(K,w,this._onInputWrapper);};qx.bom.Event.addNativeListener(K,m,this._onInputWrapper);},"opera":function(L){qx.bom.Event.addNativeListener(L,t,this._onKeyUpWrapper);qx.bom.Event.addNativeListener(L,c,this._onKeyDownWrapper);qx.bom.Event.addNativeListener(L,m,this._onInputWrapper);},"default":function(M){qx.bom.Event.addNativeListener(M,m,this._onInputWrapper);}}),unregisterEvent:function(Q,P){if(qx.core.Environment.get(v)==u&&qx.core.Environment.get(b)<9&&qx.core.Environment.get(q)<9){if(Q.__iM){var O=Q.tagName.toLowerCase();var N=Q.type;if(N===a||N===g||O===f||N===x||N===d){qx.bom.Event.removeNativeListener(Q,h,this._onPropertyWrapper);};if(N!==x&&N!==d){qx.bom.Event.removeNativeListener(Q,k,this._onChangeValueWrapper);};if(N===a||N===g){qx.bom.Event.removeNativeListener(Q,w,this._onKeyPressWrapped);};try{delete Q.__iM;}catch(R){Q.__iM=null;};};}else {if(P===m){this.__iO(Q);}else if(P===k){if(Q.type===d||Q.type===x){qx.bom.Event.removeNativeListener(Q,k,this._onChangeCheckedWrapper);}else {qx.bom.Event.removeNativeListener(Q,k,this._onChangeValueWrapper);};};if((qx.core.Environment.get(v)==s)||(qx.core.Environment.get(v)==u)){if(Q.type===a||Q.type===g){qx.bom.Event.removeNativeListener(Q,w,this._onKeyPressWrapped);};};};},__iO:qx.core.Environment.select(v,{"mshtml":function(S){if(qx.core.Environment.get(b)>=9&&qx.core.Environment.get(q)>=9){qx.bom.Event.removeNativeListener(S,m,this._onInputWrapper);if(S.type===a||S.type===g||S.type===f){qx.bom.Event.removeNativeListener(S,t,this._inputFixWrapper);};};},"webkit":function(U){var T=U.tagName.toLowerCase();if(parseFloat(qx.core.Environment.get(b))<532&&T==f){qx.bom.Event.removeNativeListener(U,w,this._onInputWrapper);};qx.bom.Event.removeNativeListener(U,m,this._onInputWrapper);},"opera":function(V){qx.bom.Event.removeNativeListener(V,t,this._onKeyUpWrapper);qx.bom.Event.removeNativeListener(V,c,this._onKeyDownWrapper);qx.bom.Event.removeNativeListener(V,m,this._onInputWrapper);},"default":function(W){qx.bom.Event.removeNativeListener(W,m,this._onInputWrapper);}}),_onKeyPress:qx.core.Environment.select(v,{"mshtml":function(e,X){if(e.keyCode===13){if(X.value!==this.__iK){this.__iK=X.value;qx.event.Registration.fireEvent(X,k,qx.event.type.Data,[X.value]);};};},"opera":function(e,Y){if(e.keyCode===13){if(Y.value!==this.__iK){this.__iK=Y.value;qx.event.Registration.fireEvent(Y,k,qx.event.type.Data,[Y.value]);};};},"default":null}),_inputFix:qx.core.Environment.select(v,{"mshtml":function(e,ba){if(e.keyCode===46||e.keyCode===8){if(ba.value!==this.__iL){this.__iL=ba.value;qx.event.Registration.fireEvent(ba,m,qx.event.type.Data,[ba.value]);};};},"default":null}),_onKeyDown:qx.core.Environment.select(v,{"opera":function(e){if(e.keyCode===13){this.__iI=true;};},"default":null}),_onKeyUp:qx.core.Environment.select(v,{"opera":function(e){if(e.keyCode===13){this.__iI=false;};},"default":null}),_onInput:qx.event.GlobalError.observeMethod(function(e){var bc=qx.bom.Event.getTarget(e);var bb=bc.tagName.toLowerCase();if(!this.__iI||bb!==m){if((qx.core.Environment.get(v)==s)&&qx.core.Environment.get(r)<10.6){this.__iJ=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 bd=qx.bom.Event.getTarget(e);var be=bd.value;if(bd.type===j){var be=[];for(var i=0,o=bd.options,l=o.length;i0){J=K[i];for(var j=0,F=B.length;j7&&qx.core.Environment.get(k)>9)),nativeSetCapture:qx.core.Environment.select(b,{"mshtml":function(w,v){w.setCapture(v!==false);},"default":(function(){})}),nativeReleaseCapture:qx.core.Environment.select(b,{"mshtml":function(x){x.releaseCapture();},"default":(function(){})})},destruct:function(){this.__iP=this.__cz=this.__cB=null;},defer:function(y){qx.event.Registration.addDispatcher(y);}});})();(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(c,b){},registerEvent:function(f,e,d){},unregisterEvent:function(i,h,g){}},defer:function(j){qx.event.Registration.addHandler(j);}});})();(function(){var a="function",b="plugin.silverlight.version",c="Silverlight",d="Skype.Detection",f="QuickTimeCheckObject.QuickTimeCheck.1",g="Adobe Acrobat",h="plugin.windowsmedia",k="QuickTime",l="plugin.silverlight",m="pdf",n="wmv",o="qx.bom.client.Plugin",p="application/x-skype",q=',',r="plugin.divx",s='=',t="Chrome PDF Viewer",u="divx",v="Windows Media",w="",x="mshtml",y="skype.click2call",z="plugin.skype",A="plugin.gears",B="plugin.quicktime",C="plugin.windowsmedia.version",D="quicktime",E="DivX Web Player",F="AgControl.AgControl",G="Microsoft.XMLHTTP",H="silverlight",I="plugin.pdf",J="plugin.pdf.version",K="MSXML2.DOMDocument.6.0",L="WMPlayer.OCX.7",M="AcroPDF.PDF",N="plugin.activex",O="plugin.quicktime.version",P="plugin.divx.version",Q="npdivx.DivXBrowserPlugin.1",R="object";qx.Bootstrap.define(o,{statics:{getGears:function(){return !!(window.google&&window.google.gears);},getActiveX:function(){if(typeof window.ActiveXObject===a){return true;};try{return (typeof (new window.ActiveXObject(G))===R||typeof (new window.ActiveXObject(K))===R);}catch(S){return false;};},getSkype:function(){if(qx.bom.client.Plugin.getActiveX()){try{new ActiveXObject(d);return true;}catch(e){};};var T=navigator.mimeTypes;if(T){if(p in T){return true;};for(var i=0;i1){bm=bm[0].split(s);if(bm.length===2){return bm[1];};};};bm=bh.versionInfo;if(bm!=undefined){return bm;};bm=bh.version;if(bm!=undefined){return bm;};bm=bh.settings.version;if(bm!=undefined){return bm;};}catch(bp){return w;};return w;}else {var bn=navigator.plugins;var bl=/([0-9]\.[0-9])/g;for(var i=0;iparent.clientWidth&&(parent===Y||qx.bom.element.Style.get(parent,x)!=b)){if(parent===Y){Q=parent.scrollLeft;V=Q+qx.bom.Viewport.getWidth();R=qx.bom.Viewport.getWidth();P=parent.clientWidth;S=parent.scrollWidth;bb=0;T=0;O=0;}else {be=qx.bom.element.Location.get(parent);Q=be.left;V=be.right;R=parent.offsetWidth;P=parent.clientWidth;S=parent.scrollWidth;bb=parseInt(qx.bom.element.Style.get(parent,l),10)||0;T=parseInt(qx.bom.element.Style.get(parent,v),10)||0;O=R-P-bb-T;};X=qx.bom.element.Location.get(bi);bc=X.left;bd=X.right;ba=bi.offsetWidth;bf=bc-Q-bb;U=bd-V+T;bj=0;if(N){bj=bf;}else if(W){bj=U+O;}else if(bf<0||ba>P){bj=bf;}else if(U>0){bj=U+O;};parent.scrollLeft+=bj;qx.event.Registration.fireNonBubblingEvent(parent,w);};if(parent===Y){break;};parent=parent.parentNode;};},intoViewY:function(bD,stop,bC){var parent=bD.parentNode;var bB=qx.dom.Node.getDocument(bD);var bk=bB.body;var by,bt,bw;var bE,bx,bu;var bp,bl,bA;var br,bs,bq,bm;var bn,bv,bz;var bo=bC===f;var bF=bC===k;stop=stop?stop.parentNode:bB;while(parent&&parent!=stop){if(parent.scrollHeight>parent.clientHeight&&(parent===bk||qx.bom.element.Style.get(parent,x)!=b)){if(parent===bk){bt=parent.scrollTop;bw=bt+qx.bom.Viewport.getHeight();bE=qx.bom.Viewport.getHeight();bx=parent.clientHeight;bu=parent.scrollHeight;bp=0;bl=0;bA=0;}else {by=qx.bom.element.Location.get(parent);bt=by.top;bw=by.bottom;bE=parent.offsetHeight;bx=parent.clientHeight;bu=parent.scrollHeight;bp=parseInt(qx.bom.element.Style.get(parent,e),10)||0;bl=parseInt(qx.bom.element.Style.get(parent,a),10)||0;bA=bE-bx-bp-bl;};br=qx.bom.element.Location.get(bD);bs=br.top;bq=br.bottom;bm=bD.offsetHeight;bn=bs-bt-bp;bv=bq-bw+bl;bz=0;if(bo){bz=bn;}else if(bF){bz=bv+bA;}else if(bn<0||bm>bx){bz=bn;}else if(bv>0){bz=bv+bA;};parent.scrollTop+=bz;qx.event.Registration.fireNonBubblingEvent(parent,w);};if(parent===bk){break;};parent=parent.parentNode;};},intoView:function(bI,stop,bH,bG){this.intoViewX(bI,stop,bH);this.intoViewY(bI,stop,bG);}}});})();(function(){var a="useraction",b=" due to exceptions in user code. The application has to be reloaded!",c="event.touch",d="qx.ui.core.queue.Manager",f=" times in a row",g="Fatal Error: Flush terminated ";qx.Class.define(d,{statics:{__iW:false,__fO:false,__iX:{},__iY:0,MAX_RETRIES:10,scheduleFlush:function(h){var self=qx.ui.core.queue.Manager;self.__iX[h]=true;if(!self.__iW){self.__fO=false;qx.bom.AnimationFrame.request(function(){if(self.__fO){self.__fO=false;return;};self.flush();},self);self.__iW=true;};},flush:function(){var self=qx.ui.core.queue.Manager;if(self.__ja){return;};self.__ja=true;self.__fO=true;var i=self.__iX;self.__jb(function(){while(i.visibility||i.widget||i.appearance||i.layout||i.element){if(i.widget){delete i.widget;{qx.ui.core.queue.Widget.flush();};};if(i.visibility){delete i.visibility;{qx.ui.core.queue.Visibility.flush();};};if(i.appearance){delete i.appearance;{qx.ui.core.queue.Appearance.flush();};};if(i.widget||i.visibility||i.appearance){continue;};if(i.layout){delete i.layout;{qx.ui.core.queue.Layout.flush();};};if(i.widget||i.visibility||i.appearance||i.layout){continue;};if(i.element){delete i.element;qx.html.Element.flush();};};},function(){self.__iW=false;});self.__jb(function(){if(i.dispose){delete i.dispose;{qx.ui.core.queue.Dispose.flush();};};},function(){self.__ja=false;});self.__iY=0;},__jb:function(j,k){var self=qx.ui.core.queue.Manager;try{j();}catch(e){{};self.__iW=false;self.__ja=false;self.__iY+=1;if(self.__iY<=self.MAX_RETRIES){self.scheduleFlush();}else {throw new Error(g+(self.__iY-1)+f+b);};throw e;}finally{k();};},__jc:function(e){qx.ui.core.queue.Manager.flush();}},defer:function(l){qx.html.Element._scheduleFlush=l.scheduleFlush;qx.event.Registration.addListener(window,a,qx.core.Environment.get(c)?l.__jc:l.flush);}});})();(function(){var a="qx.ui.core.queue.Widget",b="widget",c="$$default";qx.Class.define(a,{statics:{__dK:[],__iX:{},remove:function(e,g){var d=this.__dK;if(!qx.lang.Array.contains(d,e)){return;};var f=e.$$hash;if(g==null){qx.lang.Array.remove(d,e);delete this.__iX[f];return;};if(this.__iX[f]){delete this.__iX[f][g];if(qx.lang.Object.getLength(this.__iX[f])==0){qx.lang.Array.remove(d,e);};};},add:function(j,l){var h=this.__dK;if(!qx.lang.Array.contains(h,j)){h.unshift(j);};if(l==null){l=c;};var k=j.$$hash;if(!this.__iX[k]){this.__iX[k]={};};this.__iX[k][l]=true;qx.ui.core.queue.Manager.scheduleFlush(b);},flush:function(){var m=this.__dK;var n,o;for(var i=m.length-1;i>=0;i-- ){n=m[i];o=this.__iX[n.$$hash];m.splice(i,1);n.syncWidget(o);};if(m.length!=0){return;};this.__dK=[];this.__iX={};}}});})();(function(){var a="qx.ui.core.queue.Visibility",b="visibility";qx.Class.define(a,{statics:{__dK:[],__cP:{},remove:function(c){delete this.__cP[c.$$hash];qx.lang.Array.remove(this.__dK,c);},isVisible:function(d){return this.__cP[d.$$hash]||false;},__jd:function(f){var h=this.__cP;var g=f.$$hash;var e;if(f.isExcluded()){e=false;}else {var parent=f.$$parent;if(parent){e=this.__jd(parent);}else {e=f.isRootWidget();};};return h[g]=e;},add:function(k){var j=this.__dK;if(qx.lang.Array.contains(j,k)){return;};j.unshift(k);qx.ui.core.queue.Manager.scheduleFlush(b);},flush:function(){var o=this.__dK;var p=this.__cP;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.__jd(m);};if(p[n]&&p[n]!=l[n]){m.checkAppearanceNeeds();};};this.__dK=[];}}});})();(function(){var a="appearance",b="qx.ui.core.queue.Appearance";qx.Class.define(b,{statics:{__dK:[],remove:function(c){qx.lang.Array.remove(this.__dK,c);},add:function(e){var d=this.__dK;if(qx.lang.Array.contains(d,e)){return;};d.unshift(e);qx.ui.core.queue.Manager.scheduleFlush(a);},has:function(f){return qx.lang.Array.contains(this.__dK,f);},flush:function(){var j=qx.ui.core.queue.Visibility;var g=this.__dK;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 a="dispose",b="qx.ui.core.queue.Dispose";qx.Class.define(b,{statics:{__dK:[],add:function(d){var c=this.__dK;if(qx.lang.Array.contains(c,d)){return;};c.unshift(d);qx.ui.core.queue.Manager.scheduleFlush(a);},isEmpty:function(){return this.__dK.length==0;},flush:function(){var e=this.__dK;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.__dK=[];}}});})();(function(){var a="backgroundColor",b="drag",c="_applyNativeContextMenu",d="touch",f="div",g="_applyBackgroundColor",h="qx.event.type.Data",j="_applyFocusable",k=" requires a layout, but no one was defined!",m="qx.event.type.KeyInput",n="focused",o="disabled",p="move",q="createChildControl",r="__jj",s="qxanonymous",t="Unsupported control: ",u="dragstart",v="Font",w="qx.dynlocale",x="dragchange",y="_applyEnabled",z="_applySelectable",A="Number",B="_applyKeepActive",C="qx.event.type.Pinch",D="dragend",E="_applyVisibility",F="Child control '",G="qxDraggable",H="qx.event.type.Roll",I="syncAppearance",J="paddingLeft",K="' of widget ",L="qx.event.type.Mouse",M="_applyPadding",N="#",O="At least one child in control ",P="visible",Q="qx.event.type.Event",R="qx.event.type.MouseWheel",S="_applyCursor",T="changeVisibility",U="_applyDraggable",V="resize",W="Decorator",X="__ji",Y="Remove Error: ",cK="zIndex",cL="changeTextColor",cM="$$widget",cG="changeContextMenu",cH="on",cI="paddingTop",cJ="opacity",cR="This widget has no children!",cS="changeSelectable",cT="_applyAnonymous",cU="none",cN="outline",cO="hidden",cP="_applyAppearance",cQ="hovered",cY="_applyOpacity",dB="Boolean",eo="__jl",da="px",cV="qx.ui.core.Widget",cW="longtap",ej="default",cX="TabIndex property must be between 1 and 32000",db="_applyFont",dc="cursor",dd="qxDroppable",di="' already created!",dj="changeZIndex",dk=": ",de="Color",df="changeEnabled",dg="Abstract method call: _getContentHeightForWidth()!",dh="changeFont",dp="qx.event.type.Focus",dq="_applyDecorator",dr="_applyZIndex",ds="_applyTextColor",dl="Widget is not focusable!",dm="qx.ui.menu.Menu",ek="engine.name",dn="qx.event.type.Drag",dw="qx.event.type.KeySequence",dx="excluded",en="DOM element is not yet created!",dy="_applyToolTipText",dt="Exception while creating child control '",du="qx.event.type.Rotate",em="_applyDroppable",dv=" is not a child of this widget!",dz="true",dA="widget",dM="changeDecorator",dL="qx.event.type.Tap",dK="Integer",dQ="_applyTabIndex",dP="__je",dO="changeAppearance",dN="qx.event.type.Track",dF="shorthand",dE="/",dD="String",dC="border-box",dJ="",dI="_applyContextMenu",dH="changeToolTipText",dG="padding",dX="tabIndex",dW="paddingBottom",dV="beforeContextmenuOpen",dU="changeNativeContextMenu",ec="undefined",eb="qx.ui.tooltip.ToolTip",ea="contextmenu",dY="_applyKeepFocus",dT="paddingRight",dS="changeBackgroundColor",dR="changeLocale",ef="qx.event.type.Pointer",ee="qxKeepFocus",ed="opera",ei="qx.event.type.Touch",eh="qxKeepActive",eg="absolute";qx.Class.define(cV,{extend:qx.ui.core.LayoutItem,include:[qx.locale.MTranslation],construct:function(){qx.ui.core.LayoutItem.call(this);this.__je=this.__jk();this.initFocusable();this.initSelectable();this.initNativeContextMenu();},events:{appear:Q,disappear:Q,createChildControl:h,resize:h,move:h,syncAppearance:h,mousemove:L,mouseover:L,mouseout:L,mousedown:L,mouseup:L,click:L,dblclick:L,contextmenu:L,beforeContextmenuOpen:h,mousewheel:R,touchstart:ei,touchend:ei,touchmove:ei,touchcancel:ei,tap:dL,longtap:dL,dbltap:dL,swipe:ei,rotate:du,pinch:C,track:dN,roll:H,pointermove:ef,pointerover:ef,pointerout:ef,pointerdown:ef,pointerup:ef,pointercancel:ef,keyup:dw,keydown:dw,keypress:dw,keyinput:m,focus:dp,blur:dp,focusin:dp,focusout:dp,activate:dp,deactivate:dp,capture:Q,losecapture:Q,drop:dn,dragleave:dn,dragover:dn,drag:dn,dragstart:dn,dragend:dn,dragchange:dn,droprequest:dn},properties:{paddingTop:{check:dK,init:0,apply:M,themeable:true},paddingRight:{check:dK,init:0,apply:M,themeable:true},paddingBottom:{check:dK,init:0,apply:M,themeable:true},paddingLeft:{check:dK,init:0,apply:M,themeable:true},padding:{group:[cI,dT,dW,J],mode:dF,themeable:true},zIndex:{nullable:true,init:10,apply:dr,event:dj,check:dK,themeable:true},decorator:{nullable:true,init:null,apply:dq,event:dM,check:W,themeable:true},backgroundColor:{nullable:true,check:de,apply:g,event:dS,themeable:true},textColor:{nullable:true,check:de,apply:ds,event:cL,themeable:true,inheritable:true},font:{nullable:true,apply:db,check:v,event:dh,themeable:true,inheritable:true,dereference:true},opacity:{check:A,apply:cY,themeable:true,nullable:true,init:null},cursor:{check:dD,apply:S,themeable:true,inheritable:true,nullable:true,init:null},toolTip:{check:eb,nullable:true},toolTipText:{check:dD,nullable:true,event:dH,apply:dy},toolTipIcon:{check:dD,nullable:true,event:dH},blockToolTip:{check:dB,init:false},showToolTipWhenDisabled:{check:dB,init:false},visibility:{check:[P,cO,dx],init:P,apply:E,event:T},enabled:{init:true,check:dB,inheritable:true,apply:y,event:df},anonymous:{init:false,check:dB,apply:cT},tabIndex:{check:dK,nullable:true,apply:dQ},focusable:{check:dB,init:false,apply:j},keepFocus:{check:dB,init:false,apply:dY},keepActive:{check:dB,init:false,apply:B},draggable:{check:dB,init:false,apply:U},droppable:{check:dB,init:false,apply:em},selectable:{check:dB,init:false,event:cS,apply:z},contextMenu:{check:dm,apply:dI,nullable:true,event:cG},nativeContextMenu:{check:dB,init:false,themeable:true,event:dU,apply:c},appearance:{check:dD,init:dA,apply:cP,event:dO}},statics:{DEBUG:false,getWidgetByElement:function(es,eq){while(es){var ep=es.$$widget;if(ep!=null){var er=qx.core.ObjectRegistry.fromHashCode(ep);if(!eq||!er.getAnonymous()){return er;};};try{es=es.parentNode;}catch(e){return null;};};return null;},contains:function(parent,et){while(et){et=et.getLayoutParent();if(parent==et){return true;};};return false;},__jf:new qx.util.ObjectPool()},members:{__je:null,__jg:null,__jh:null,__ji:null,_getLayout:function(){return this.__ji;},_setLayout:function(eu){{};if(this.__ji){this.__ji.connectToWidget(null);};if(eu){eu.connectToWidget(this);};this.__ji=eu;qx.ui.core.queue.Layout.add(this);},setLayoutParent:function(parent){if(this.$$parent===parent){return;};var content=this.getContentElement();if(this.$$parent&&!this.$$parent.$$disposed){this.$$parent.getContentElement().remove(content);};this.$$parent=parent||null;if(parent&&!parent.$$disposed){this.$$parent.getContentElement().add(content);};this.$$refreshInheritables();qx.ui.core.queue.Visibility.add(this);},_updateInsets:null,renderLayout:function(eB,top,ey,ew){var eC=qx.ui.core.LayoutItem.prototype.renderLayout.call(this,eB,top,ey,ew);if(!eC){return null;};if(qx.lang.Object.isEmpty(eC)&&!this._updateInsets){return null;};var content=this.getContentElement();var eF=eC.size||this._updateInsets;var eD=da;var ev={};if(eC.position){ev.left=eB+eD;ev.top=top+eD;};if(eF||eC.margin){ev.width=ey+eD;ev.height=ew+eD;};if(Object.keys(ev).length>0){content.setStyles(ev);};if(eF||eC.local||eC.margin){if(this.__ji&&this.hasLayoutChildren()){var eA=this.getInsets();var innerWidth=ey-eA.left-eA.right;var innerHeight=ew-eA.top-eA.bottom;var eE=this.getDecorator();var ez={left:0,right:0,top:0,bottom:0};if(eE){eE=qx.theme.manager.Decoration.getInstance().resolve(eE);ez=eE.getPadding();};var ex={top:this.getPaddingTop()+ez.top,right:this.getPaddingRight()+ez.right,bottom:this.getPaddingBottom()+ez.bottom,left:this.getPaddingLeft()+ez.left};this.__ji.renderLayout(innerWidth,innerHeight,ex);}else if(this.hasLayoutChildren()){throw new Error(O+this._findTopControl()+k);};};if(eC.position&&this.hasListener(p)){this.fireDataEvent(p,this.getBounds());};if(eC.size&&this.hasListener(V)){this.fireDataEvent(V,this.getBounds());};delete this._updateInsets;return eC;},__jj:null,clearSeparators:function(){var eH=this.__jj;if(!eH){return;};var eI=qx.ui.core.Widget.__jf;var content=this.getContentElement();var eG;for(var i=0,l=eH.length;ieP&&eP!=null){eO=eP;};};};if(eQ==null){eQ=eW;if(eV.minHeight!=null){eQ+=eV.minHeight;if(eQ>eR&&eR!=null){eQ=eR;};};};if(eP==null){if(eV.maxWidth==null){eP=Infinity;}else {eP=eV.maxWidth+eX;if(eP0;};return false;},__jk:function(){var fx=this._createContentElement();fx.setAttribute(cM,this.toHashCode());fx.setStyles({"touch-action":cU,"-ms-touch-action":cU});{};var fw={"zIndex":10,"boxSizing":dC};if(!qx.ui.root.Inline||!(this instanceof qx.ui.root.Inline)){fw.position=eg;};fx.setStyles(fw);return fx;},_createContentElement:function(){return new qx.html.Element(f,{overflowX:cO,overflowY:cO});},getContentElement:function(){return this.__je;},__jl:null,getLayoutChildren:function(){var fz=this.__jl;if(!fz){return this.__jm;};var fA;for(var i=0,l=fz.length;i=0;i-- ){this.__jo(ga[i]);};qx.ui.core.queue.Layout.add(this);return ga;},_afterAddChild:null,_afterRemoveChild:null,__jn:function(gc,gb){{};var parent=gc.getLayoutParent();if(parent&&parent!=this){parent._remove(gc);};gc.setLayoutParent(this);if(gb){gc.setLayoutProperties(gb);}else {this.updateLayoutProperties();};if(this._afterAddChild){this._afterAddChild(gc);};},__jo:function(gd){{};if(gd.getLayoutParent()!==this){throw new Error(Y+gd+dv);};gd.setLayoutParent(null);if(this.__ji){this.__ji.invalidateChildrenCache();};qx.ui.core.queue.Layout.add(this);if(this._afterRemoveChild){this._afterRemoveChild(gd);};},capture:function(ge){this.getContentElement().capture(ge);},releaseCapture:function(){this.getContentElement().releaseCapture();},isCapturing:function(){var gf=this.getContentElement().getDomElement();if(!gf){return false;};var gg=qx.event.Registration.getManager(gf);var gh=gg.getDispatcher(qx.event.dispatch.MouseCapture);return gf==gh.getCaptureElement();},_applyPadding:function(gj,gi,name){this._updateInsets=true;qx.ui.core.queue.Layout.add(this);this.__jp(name,gj);},__jp:function(gk,gn){var content=this.getContentElement();var gl=this.getDecorator();gl=qx.theme.manager.Decoration.getInstance().resolve(gl);if(gl){var gm=qx.Bootstrap.firstLow(gk.replace(dG,dJ));gn+=gl.getPadding()[gm]||0;};content.setStyle(gk,gn+da);},_applyDecorator:function(gp,go){var content=this.getContentElement();if(go){go=qx.theme.manager.Decoration.getInstance().getCssClassName(go);content.removeClass(go);};if(gp){gp=qx.theme.manager.Decoration.getInstance().addCssClass(gp);content.addClass(gp);};if(gp||go){qx.ui.core.queue.Layout.add(this);};},_applyToolTipText:function(gs,gr){if(qx.core.Environment.get(w)){if(this.__jh){return;};var gq=qx.locale.Manager.getInstance();this.__jh=gq.addListener(dR,function(){var gt=this.getToolTipText();if(gt&>.translate){this.setToolTipText(gt.translate());};},this);};},_applyTextColor:function(gv,gu){},_applyZIndex:function(gx,gw){this.getContentElement().setStyle(cK,gx==null?0:gx);},_applyVisibility:function(gz,gy){var content=this.getContentElement();if(gz===P){content.show();}else {content.hide();};var parent=this.$$parent;if(parent&&(gy==null||gz==null||gy===dx||gz===dx)){parent.invalidateLayoutChildren();};qx.ui.core.queue.Visibility.add(this);},_applyOpacity:function(gB,gA){this.getContentElement().setStyle(cJ,gB==1?null:gB);},_applyCursor:function(gD,gC){if(gD==null&&!this.isSelectable()){gD=ej;};this.getContentElement().setStyle(dc,gD,qx.core.Environment.get(ek)==ed);},_applyBackgroundColor:function(gH,gG){var gF=this.getBackgroundColor();var content=this.getContentElement();var gE=qx.theme.manager.Color.getInstance().resolve(gF);content.setStyle(a,gE);},_applyFont:function(gJ,gI){},_onChangeTheme:function(){if(this.isDisposed()){return;};qx.ui.core.LayoutItem.prototype._onChangeTheme.call(this);this.updateAppearance();var gK=this.getDecorator();this._applyDecorator(null,gK);this._applyDecorator(gK);gK=this.getFont();if(qx.lang.Type.isString(gK)){this._applyFont(gK,gK);};gK=this.getTextColor();if(qx.lang.Type.isString(gK)){this._applyTextColor(gK,gK);};gK=this.getBackgroundColor();if(qx.lang.Type.isString(gK)){this._applyBackgroundColor(gK,gK);};},__jq:null,$$stateChanges:null,_forwardStates:null,hasState:function(gM){var gL=this.__jq;return !!gL&&!!gL[gM];},addState:function(gQ){var gP=this.__jq;if(!gP){gP=this.__jq={};};if(gP[gQ]){return;};this.__jq[gQ]=true;if(gQ===cQ){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 gO=this.__jt;if(forward&&forward[gQ]&&gO){var gN;for(var gR in gO){gN=gO[gR];if(gN instanceof qx.ui.core.Widget){gO[gR].addState(gQ);};};};},removeState:function(gV){var gU=this.__jq;if(!gU||!gU[gV]){return;};delete this.__jq[gV];if(gV===cQ){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 gT=this.__jt;if(forward&&forward[gV]&&gT){for(var gW in gT){var gS=gT[gW];if(gS instanceof qx.ui.core.Widget){gS.removeState(gV);};};};},replaceState:function(gY,hc){var hb=this.__jq;if(!hb){hb=this.__jq={};};if(!hb[hc]){hb[hc]=true;};if(hb[gY]){delete hb[gY];};if(!qx.ui.core.queue.Visibility.isVisible(this)){this.$$stateChanges=true;}else {qx.ui.core.queue.Appearance.add(this);};var forward=this._forwardStates;var ha=this.__jt;if(forward&&forward[hc]&&ha){for(var hd in ha){var gX=ha[hd];if(gX instanceof qx.ui.core.Widget){gX.replaceState(gY,hc);};};};},__jr:null,__js:null,syncAppearance:function(){var hi=this.__jq;var hh=this.__jr;var hj=qx.theme.manager.Appearance.getInstance();var hf=qx.core.Property.$$method.setThemed;var hn=qx.core.Property.$$method.resetThemed;if(this.__js){delete this.__js;if(hh){var he=hj.styleFrom(hh,hi,null,this.getAppearance());hh=null;};};if(!hh){var hg=this;var hk=[];do {hk.push(hg.$$subcontrol||hg.getAppearance());}while(hg=hg.$$subparent);hh=hk.reverse().join(dE).replace(/#[0-9]+/g,dJ);this.__jr=hh;};var hm=hj.styleFrom(hh,hi,null,this.getAppearance());if(hm){if(he){for(var hl in he){if(hm[hl]===undefined){this[hn[hl]]();};};};{var hl;};for(var hl in hm){hm[hl]===undefined?this[hn[hl]]():this[hf[hl]](hm[hl]);};}else if(he){for(var hl in he){this[hn[hl]]();};};this.fireDataEvent(I,this.__jq);},_applyAppearance:function(hp,ho){this.updateAppearance();},checkAppearanceNeeds:function(){if(!this.__jg){qx.ui.core.queue.Appearance.add(this);this.__jg=true;}else if(this.$$stateChanges){qx.ui.core.queue.Appearance.add(this);delete this.$$stateChanges;};},updateAppearance:function(){this.__js=true;qx.ui.core.queue.Appearance.add(this);var hs=this.__jt;if(hs){var hq;for(var hr in hs){hq=hs[hr];if(hq instanceof qx.ui.core.Widget){hq.updateAppearance();};};};},syncWidget:function(ht){},getEventTarget:function(){var hu=this;while(hu.getAnonymous()){hu=hu.getLayoutParent();if(!hu){return null;};};return hu;},getFocusTarget:function(){var hv=this;if(!hv.getEnabled()){return null;};while(hv.getAnonymous()||!hv.getFocusable()){hv=hv.getLayoutParent();if(!hv||!hv.getEnabled()){return null;};};return hv;},getFocusElement:function(){return this.getContentElement();},isTabable:function(){return (!!this.getContentElement().getDomElement())&&this.isFocusable();},_applyFocusable:function(hy,hw){var hx=this.getFocusElement();if(hy){var hz=this.getTabIndex();if(hz==null){hz=1;};hx.setAttribute(dX,hz);hx.setStyle(cN,cU);}else {if(hx.isNativelyFocusable()){hx.setAttribute(dX,-1);}else if(hw){hx.setAttribute(dX,null);};};},_applyKeepFocus:function(hB){var hA=this.getFocusElement();hA.setAttribute(ee,hB?cH:null);},_applyKeepActive:function(hD){var hC=this.getContentElement();hC.setAttribute(eh,hD?cH:null);},_applyTabIndex:function(hE){if(hE==null){hE=1;}else if(hE<1||hE>32000){throw new Error(cX);};if(this.getFocusable()&&hE!=null){this.getFocusElement().setAttribute(dX,hE);};},_applySelectable:function(hG,hF){if(hF!==null){this._applyCursor(this.getCursor());};this.getContentElement().setSelectable(hG);},_applyEnabled:function(hI,hH){if(hI===false){this.addState(o);this.removeState(cQ);if(this.isFocusable()){this.removeState(n);this._applyFocusable(false,true);};if(this.isDraggable()){this._applyDraggable(false,true);};if(this.isDroppable()){this._applyDroppable(false,true);};}else {this.removeState(o);if(this.isFocusable()){this._applyFocusable(true,false);};if(this.isDraggable()){this._applyDraggable(true,false);};if(this.isDroppable()){this._applyDroppable(true,false);};};},_applyNativeContextMenu:function(hK,hJ,name){},_applyContextMenu:function(hM,hL){if(hL){hL.removeState(ea);if(hL.getOpener()==this){hL.resetOpener();};if(!hM){this.removeListener(ea,this._onContextMenuOpen);this.removeListener(cW,this._onContextMenuOpen);hL.removeListener(T,this._onBeforeContextMenuOpen,this);};};if(hM){hM.setOpener(this);hM.addState(ea);if(!hL){this.addListener(ea,this._onContextMenuOpen);this.addListener(cW,this._onContextMenuOpen);hM.addListener(T,this._onBeforeContextMenuOpen,this);};};},_onContextMenuOpen:function(e){if(e.getType()==cW){if(e.getPointerType()!==d){return;};};this.getContextMenu().openAtPointer(e);e.stop();},_onBeforeContextMenuOpen:function(e){if(e.getData()==P&&this.hasListener(dV)){this.fireDataEvent(dV,e);};},_onStopEvent:function(e){e.stopPropagation();},_getDragDropCursor:function(){return qx.ui.core.DragDropCursor.getInstance();},_applyDraggable:function(hO,hN){if(!this.isEnabled()&&hO===true){hO=false;};this._getDragDropCursor();if(hO){this.addListener(u,this._onDragStart);this.addListener(b,this._onDrag);this.addListener(D,this._onDragEnd);this.addListener(x,this._onDragChange);}else {this.removeListener(u,this._onDragStart);this.removeListener(b,this._onDrag);this.removeListener(D,this._onDragEnd);this.removeListener(x,this._onDragChange);};this.getContentElement().setAttribute(G,hO?cH:null);},_applyDroppable:function(hQ,hP){if(!this.isEnabled()&&hQ===true){hQ=false;};this.getContentElement().setAttribute(dd,hQ?cH:null);},_onDragStart:function(e){this._getDragDropCursor().placeToPointer(e);this.getApplicationRoot().setGlobalCursor(ej);},_onDrag:function(e){this._getDragDropCursor().placeToPointer(e);},_onDragEnd:function(e){this._getDragDropCursor().moveTo(-1000,-1000);this.getApplicationRoot().resetGlobalCursor();},_onDragChange:function(e){var hR=this._getDragDropCursor();var hS=e.getCurrentAction();hS?hR.setAction(hS):hR.resetAction();},visualizeFocus:function(){this.addState(n);},visualizeBlur:function(){this.removeState(n);},scrollChildIntoView:function(hX,hW,hV,hU){hU=typeof hU==ec?true:hU;var hT=qx.ui.core.queue.Layout;var parent;if(hU){hU=!hT.isScheduled(hX);parent=hX.getLayoutParent();if(hU&&parent){hU=!hT.isScheduled(parent);if(hU){parent.getChildren().forEach(function(hY){hU=hU&&!hT.isScheduled(hY);});};};};this.scrollChildIntoViewX(hX,hW,hU);this.scrollChildIntoViewY(hX,hV,hU);},scrollChildIntoViewX:function(ic,ia,ib){this.getContentElement().scrollChildIntoViewX(ic.getContentElement(),ia,ib);},scrollChildIntoViewY:function(ih,ie,ig){this.getContentElement().scrollChildIntoViewY(ih.getContentElement(),ie,ig);},focus:function(){if(this.isFocusable()){this.getFocusElement().focus();}else {throw new Error(dl);};},blur:function(){if(this.isFocusable()){this.getFocusElement().blur();}else {throw new Error(dl);};},activate:function(){this.getContentElement().activate();},deactivate:function(){this.getContentElement().deactivate();},tabFocus:function(){this.getFocusElement().focus();},hasChildControl:function(ii){if(!this.__jt){return false;};return !!this.__jt[ii];},__jt:null,_getCreatedChildControls:function(){return this.__jt;},getChildControl:function(il,ik){if(!this.__jt){if(ik){return null;};this.__jt={};};var ij=this.__jt[il];if(ij){return ij;};if(ik===true){return null;};return this._createChildControl(il);},_showChildControl:function(io){var im=this.getChildControl(io);im.show();return im;},_excludeChildControl:function(iq){var ip=this.getChildControl(iq,true);if(ip){ip.exclude();};},_isChildControlVisible:function(is){var ir=this.getChildControl(is,true);if(ir){return ir.isVisible();};return false;},_releaseChildControl:function(iw){var it=this.getChildControl(iw,false);if(!it){throw new Error(t+iw);};delete it.$$subcontrol;delete it.$$subparent;var iu=this.__jq;var forward=this._forwardStates;if(iu&&forward&&it instanceof qx.ui.core.Widget){for(var iv in iu){if(forward[iv]){it.removeState(iv);};};};delete this.__jt[iw];return it;},_createChildControl:function(iB){if(!this.__jt){this.__jt={};}else if(this.__jt[iB]){throw new Error(F+iB+di);};var iy=iB.indexOf(N);try{if(iy==-1){var ix=this._createChildControlImpl(iB);}else {var ix=this._createChildControlImpl(iB.substring(0,iy),iB.substring(iy+1,iB.length));};}catch(iC){iC.message=dt+iB+K+this.toString()+dk+iC.message;throw iC;};if(!ix){throw new Error(t+iB);};ix.$$subcontrol=iB;ix.$$subparent=this;var iz=this.__jq;var forward=this._forwardStates;if(iz&&forward&&ix instanceof qx.ui.core.Widget){for(var iA in iz){if(forward[iA]){ix.addState(iA);};};};this.fireDataEvent(q,ix);return this.__jt[iB]=ix;},_createChildControlImpl:function(iE,iD){return null;},_disposeChildControls:function(){var iI=this.__jt;if(!iI){return;};var iG=qx.ui.core.Widget;for(var iH in iI){var iF=iI[iH];if(!iG.contains(this,iF)){iF.destroy();}else {iF.dispose();};};delete this.__jt;},_findTopControl:function(){var iJ=this;while(iJ){if(!iJ.$$subparent){return iJ;};iJ=iJ.$$subparent;};return null;},getContentLocation:function(iL){var iK=this.getContentElement().getDomElement();return iK?qx.bom.element.Location.get(iK,iL):null;},setDomLeft:function(iN){var iM=this.getContentElement().getDomElement();if(iM){iM.style.left=iN+da;}else {throw new Error(en);};},setDomTop:function(iP){var iO=this.getContentElement().getDomElement();if(iO){iO.style.top=iP+da;}else {throw new Error(en);};},setDomPosition:function(iR,top){var iQ=this.getContentElement().getDomElement();if(iQ){iQ.style.left=iR+da;iQ.style.top=top+da;}else {throw new Error(en);};},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 iS=qx.ui.core.LayoutItem.prototype.clone.call(this);if(this.getChildren){var iT=this.getChildren();for(var i=0,l=iT.length;ibu||Math.abs(bA.y)>bu)){if(!this._start(e)){this.clearSession();return;};};};if(!this.__jD){return;};if(!this.__ho(h,this.__jx,this.__jw,true,e)){this.clearSession();};var bv=e.getTarget();var by=this.getCursor();if(!by){by=qx.ui.core.DragDropCursor.getInstance();};var bx=by.getContentElement().getDomElement();if(bv!==bx){var bw=this.__jL(bv);if(bw&&bw!=this.__jw){if(this.__jw){this.__ho(F,this.__jw,this.__jx,false,e);};this.__jE=true;this.__jw=bw;this.__jE=this.__ho(H,bw,this.__jx,true,e);}else if(!bw&&this.__jw){this.__ho(F,this.__jw,this.__jx,false,e);this.__jw=null;this.__jE=false;qx.event.Timer.once(this.__jJ,this,0);};};var bz=this.__jA;bz.Control=e.isCtrlPressed();bz.Shift=e.isShiftPressed();bz.Alt=e.isAltPressed();this.__jJ();},_getDelta:function(e){if(!this.__jH){return null;};var bB=e.getDocumentLeft()-this.__jH.left;var bC=e.getDocumentTop()-this.__jH.top;return {"x":bB,"y":bC};},_onPointerup:function(e){if(!e.isPrimary()){return;};if(this.__jE&&this.__jF){this.__ho(l,this.__jw,this.__jx,false,e);};if(e.getTarget()==this.__jx){e.stopPropagation();};this.clearSession();},_onRoll:function(e){e.stop();},_onWindowBlur:function(e){this.clearSession();},_onKeyDown:function(e){var bD=e.getKeyIdentifier();switch(bD){case C:case q:case r:if(!this.__jA[bD]){this.__jA[bD]=true;this.__jJ();};};},_onKeyUp:function(e){var bE=e.getKeyIdentifier();switch(bE){case C:case q:case r:if(this.__jA[bE]){this.__jA[bE]=false;this.__jJ();};};},_onKeyPress:function(e){var bF=e.getKeyIdentifier();switch(bF){case g:this.clearSession();};}},destruct:function(){qx.event.Registration.removeListener(window,a,this._onWindowBlur,this);this.__jx=this.__jw=this.__fW=this.__gi=this.__jy=this.__jz=this.__jA=this.__c=null;},defer:function(bG){qx.event.Registration.addHandler(bG);}});})();(function(){var a="qx.event.type.Drag",b="touch";qx.Class.define(a,{extend:qx.event.type.Event,members:{init:function(c,d){qx.event.type.Event.prototype.init.call(this,true,c);if(d){this._native=d.getNativeEvent()||null;this._originalTarget=d.getOriginalTarget()||null;}else {this._native=null;this._originalTarget=null;};return this;},clone:function(e){var f=qx.event.type.Event.prototype.clone.call(this,e);f._native=this._native;return f;},getDocumentLeft:function(){if(this._native==null){return 0;};var x=this._native.pageX;if(x!==undefined){if(x==0&&this._native.pointerType==b){x=this._native._original.changedTouches[0].pageX||0;};return Math.round(x);}else {var g=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientX)+qx.bom.Viewport.getScrollLeft(g);};},getDocumentTop:function(){if(this._native==null){return 0;};var y=this._native.pageY;if(y!==undefined){if(y==0&&this._native.pointerType==b){y=this._native._original.changedTouches[0].pageY||0;};return Math.round(y);}else {var h=qx.dom.Node.getWindow(this._native.srcElement);return Math.round(this._native.clientY)+qx.bom.Viewport.getScrollTop(h);};},getManager:function(){return qx.event.Registration.getManager(this.getTarget()).getHandler(qx.event.handler.DragDrop);},addType:function(i){this.getManager().addType(i);},addAction:function(j){this.getManager().addAction(j);},supportsType:function(k){return this.getManager().supportsType(k);},supportsAction:function(l){return this.getManager().supportsAction(l);},addData:function(m,n){this.getManager().addData(m,n);},getData:function(o){return this.getManager().getData(o);},getCurrentType:function(){return this.getManager().getCurrentType();},getCurrentAction:function(){if(this.getDefaultPrevented()){return null;};return this.getManager().getCurrentAction();},setDropAllowed:function(p){this.getManager().setDropAllowed(p);},getDragTarget:function(){return this.getManager().getDragTarget();},stopSession:function(){this.getManager().clearSession();}}});})();(function(){var a="best-fit",b="placementRight",c="Boolean",d="bottom-right",e="' ",f="widget",g="placementLeft",h="qx.ui.core.MPlacement",i="left-top",j="Integer",k="left-middle",l="right-middle",m="top-center",n="[qx.ui.core.MPlacement.setMoveDirection()], the value was '",o="offsetRight",p="interval",q="keep-align",r="bottom-left",s="pointer",t="direct",u="shorthand",v="Invalid value for the parameter 'direction' ",w="offsetLeft",x="top-left",y="appear",z="offsetBottom",A="top",B="top-right",C="offsetTop",D="but 'top' or 'left' are allowed.",E="right-bottom",F="disappear",G="right-top",H="bottom-center",I="left-bottom",J="left";qx.Mixin.define(h,{statics:{__gk:null,__jM:J,setVisibleElement:function(K){this.__gk=K;},getVisibleElement:function(){return this.__gk;},setMoveDirection:function(L){if(L===A||L===J){this.__jM=L;}else {throw new Error(v+n+L+e+D);};},getMoveDirection:function(){return this.__jM;}},properties:{position:{check:[x,m,B,r,H,d,i,k,I,G,l,E],init:r,themeable:true},placeMethod:{check:[f,s],init:s,themeable:true},domMove:{check:c,init:false},placementModeX:{check:[t,q,a],init:q,themeable:true},placementModeY:{check:[t,q,a],init:q,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:[C,o,z,w],mode:u,themeable:true}},members:{__jN:null,__jO:null,__jP:null,getLayoutLocation:function(N){var P,O,R,top;O=N.getBounds();if(!O){return null;};R=O.left;top=O.top;var Q=O;N=N.getLayoutParent();while(N&&!N.isRootWidget()){O=N.getBounds();R+=O.left;top+=O.top;P=N.getInsets();R+=P.left;top+=P.top;N=N.getLayoutParent();};if(N.isRootWidget()){var M=N.getContentLocation();if(M){R+=M.left;top+=M.top;};};return {left:R,top:top,right:R+Q.width,bottom:top+Q.height};},moveTo:function(Y,top){var X=qx.ui.core.MPlacement.getVisibleElement();if(X){var W=this.getBounds();var V=X.getContentLocation();if(W&&V){var U=top+W.height;var T=Y+W.width;if((T>V.left&&YV.top&&top=0&&r+s<=q;}}});})();(function(){var a="qx.util.placement.DirectAxis";qx.Bootstrap.define(a,{statics:{_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,computeStart:function(d,e,f,b,c){return this._moveToEdgeAndAlign(d,e,f,c);}}});})();(function(){var a="qx.util.placement.KeepAlignAxis",b="edge-start",c="edge-end";qx.Bootstrap.define(a,{statics:{_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,_isInRange:qx.util.placement.AbstractAxis._isInRange,computeStart:function(k,f,g,d,j){var i=this._moveToEdgeAndAlign(k,f,g,j);var e,h;if(this._isInRange(i,k,d)){return i;};if(j==b||j==c){e=f.start-g.end;h=f.end+g.start;}else {e=f.end-g.end;h=f.start+g.start;};if(e>d-h){i=Math.max(0,e-k);}else {i=h;};return i;}}});})();(function(){var a="qx.util.placement.BestFitAxis";qx.Bootstrap.define(a,{statics:{_isInRange:qx.util.placement.AbstractAxis._isInRange,_moveToEdgeAndAlign:qx.util.placement.AbstractAxis._moveToEdgeAndAlign,computeStart:function(g,c,d,b,f){var e=this._moveToEdgeAndAlign(g,c,d,f);if(this._isInRange(e,g,b)){return e;};if(e<0){e=Math.min(0,b-g);};if(e+g>b){e=Math.max(0,b-g);};return e;}}});})();(function(){var a="Image could not be loaded: ",b="Boolean",c="px",d=".png",e="background-image",f="engine.version",g="scale",h="changeSource",j="x",l="div",m="aborted",n="background-size",o="nonScaled",p="3",q="qx.ui.basic.Image",r="top",s="0 0",t="__kb",u=", no-repeat",v="loaded",w="backgroundImage",x="backgroundRepeat",y="-disabled.$1",z="class",A="qx.event.type.Event",B="image",C="loadingFailed",D="css.alphaimageloaderneeded",E="1.5",F="String",G="browser.documentmode",H="backgroundPosition",I="border-box",J="left",K="_applySource",L="$$widget",M="@",N="px, ",O='.',P="scaled",Q=", ",R="2",S="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",T="mshtml",U="engine.name",V=", 0 0",W="_applyScale",X="position",Y="replacement",bl="img",bm="no-repeat",bn="background-position",bh="hidden",bi="alphaScaled",bj=",",bk="absolute";qx.Class.define(q,{extend:qx.ui.core.Widget,construct:function(bo){this.__kb={};qx.ui.core.Widget.call(this);if(bo){this.setSource(bo);};},properties:{source:{check:F,init:null,nullable:true,event:h,apply:K,themeable:true},scale:{check:b,init:false,themeable:true,apply:W},appearance:{refine:true,init:B},allowShrinkX:{refine:true,init:false},allowShrinkY:{refine:true,init:false},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false}},events:{loadingFailed:A,loaded:A,aborted:A},statics:{PLACEHOLDER_IMAGE:S},members:{__kc:null,__kd:null,__iE:null,__kb:null,__ke:null,__kf:null,__kg:0,_onChangeTheme:function(){qx.ui.core.Widget.prototype._onChangeTheme.call(this);this._styleSource();},getContentElement:function(){return this.__kk();},_createContentElement:function(){return this.__kk();},_getContentHint:function(){return {width:this.__kc||0,height:this.__kd||0};},_applyDecorator:function(br,bq){qx.ui.core.Widget.prototype._applyDecorator.call(this,br,bq);var bs=this.getSource();bs=qx.util.AliasManager.getInstance().resolve(bs);var bp=this.getContentElement();if(this.__kf){bp=bp.getChild(0);};this.__ks(bp,bs);},_applyPadding:function(bu,bt,name){qx.ui.core.Widget.prototype._applyPadding.call(this,bu,bt,name);var bv=this.getContentElement();if(this.__kf){bv.getChild(0).setStyles({top:this.getPaddingTop()||0,left:this.getPaddingLeft()||0});}else {bv.setPadding(this.getPaddingLeft()||0,this.getPaddingTop()||0);};},renderLayout:function(by,top,bw,bz){qx.ui.core.Widget.prototype.renderLayout.call(this,by,top,bw,bz);var bx=this.getContentElement();if(this.__kf){bx.getChild(0).setStyles({width:bw-(this.getPaddingLeft()||0)-(this.getPaddingRight()||0),height:bz-(this.getPaddingTop()||0)-(this.getPaddingBottom()||0),top:this.getPaddingTop()||0,left:this.getPaddingLeft()||0});};},_applyEnabled:function(bB,bA){qx.ui.core.Widget.prototype._applyEnabled.call(this,bB,bA);if(this.getSource()){this._styleSource();};},_applySource:function(bD,bC){if(bC){if(qx.io.ImageLoader.isLoading(bC)){qx.io.ImageLoader.abort(bC);};};this._styleSource();},_applyScale:function(bE){this._styleSource();},__kh:function(bF){this.__iE=bF;},__ki:function(){if(this.__iE==null){var bH=this.getSource();var bG=false;if(bH!=null){bG=qx.lang.String.endsWith(bH,d);};if(this.getScale()&&bG&&qx.core.Environment.get(D)){this.__iE=bi;}else if(this.getScale()){this.__iE=P;}else {this.__iE=o;};};return this.__iE;},__kj:function(bK){var bJ;var bI;if(bK==bi){bJ=true;bI=l;}else if(bK==o){bJ=false;bI=l;}else {bJ=true;bI=bl;};var bM=new qx.html.Image(bI);bM.setAttribute(L,this.toHashCode());bM.setScale(bJ);bM.setStyles({"overflowX":bh,"overflowY":bh,"boxSizing":I});if(qx.core.Environment.get(D)){var bL=this.__kf=new qx.html.Element(l);bL.setAttribute(L,this.toHashCode());bL.setStyle(X,bk);bL.add(bM);return bL;};return bM;},__kk:function(){if(this.$$disposed){return null;};var bN=this.__ki();if(this.__kb[bN]==null){this.__kb[bN]=this.__kj(bN);};var bO=this.__kb[bN];if(!this.__ke){this.__ke=bO;};return bO;},_styleSource:function(){var bT=qx.util.AliasManager.getInstance();var bS=qx.util.ResourceManager.getInstance();var bV=bT.resolve(this.getSource());var bU=this.getContentElement();if(this.__kf){bU=bU.getChild(0);};if(!bV){bU.resetSource();return;};this.__kn(bV);if((qx.core.Environment.get(U)==T)&&(parseInt(qx.core.Environment.get(f),10)<9||qx.core.Environment.get(G)<9)){var bQ=this.getScale()?g:bm;bU.tagNameHint=qx.bom.element.Decoration.getTagName(bQ,bV);};var bR=this.__km();if(qx.util.ResourceManager.getInstance().has(bV)){var bW=this._findHighResolutionSource(bV);if(bW){var bY=bS.getImageHeight(bV);var bX=bS.getImageWidth(bV);this.setWidth(bY);this.setHeight(bX);var bP=bY+N+bX+c;this.__ke.setStyle(n,bP);this.setSource(bW);bV=bW;};this.__kp(bR,bV);this.__kl();}else if(qx.io.ImageLoader.isLoaded(bV)){this.__kq(bR,bV);this.__kl();}else {this.__kr(bR,bV);};},__kl:function(){this.__kg++ ;qx.bom.AnimationFrame.request(function(ca){if(ca===this.__kg){this.fireEvent(v);}else {this.fireEvent(m);};}.bind(this,this.__kg));},__km:function(){var cb=this.__ke;if(this.__kf){cb=cb.getChild(0);};return cb;},__kn:qx.core.Environment.select(U,{"mshtml":function(cd){var ce=qx.core.Environment.get(D);var cc=qx.lang.String.endsWith(cd,d);if(ce&&cc){if(this.getScale()&&this.__ki()!=bi){this.__kh(bi);}else if(!this.getScale()&&this.__ki()!=o){this.__kh(o);};}else {if(this.getScale()&&this.__ki()!=P){this.__kh(P);}else if(!this.getScale()&&this.__ki()!=o){this.__kh(o);};};this.__ko(this.__kk());},"default":function(cf){if(this.getScale()&&this.__ki()!=P){this.__kh(P);}else if(!this.getScale()&&this.__ki(o)){this.__kh(o);};this.__ko(this.__kk());}}),__ko:function(cj){var ci=this.__ke;if(ci!=cj){if(ci!=null){var cu=c;var cg={};var co=this.getBounds();if(co!=null){cg.width=co.width+cu;cg.height=co.height+cu;};var cp=this.getInsets();cg.left=parseInt(ci.getStyle(J)||cp.left)+cu;cg.top=parseInt(ci.getStyle(r)||cp.top)+cu;cg.zIndex=10;var cm=this.__kf?cj.getChild(0):cj;cm.setStyles(cg,true);cm.setSelectable(this.getSelectable());if(!ci.isVisible()){cj.hide();};if(!ci.isIncluded()){cj.exclude();};var cr=ci.getParent();if(cr){var ch=cr.getChildren().indexOf(ci);cr.removeAt(ch);cr.addAt(cj,ch);};var cl=cm.getNodeName();cm.setSource(null);var ck=this.__km();cm.tagNameHint=cl;cm.setAttribute(z,ck.getAttribute(z));qx.html.Element.flush();var ct=ck.getDomElement();var cs=cj.getDomElement();var cq=ci.getListeners()||[];cq.forEach(function(cv){cj.addListener(cv.type,cv.handler,cv.self,cv.capture);});if(ct&&cs){var cn=ct.$$hash;ct.$$hash=cs.$$hash;cs.$$hash=cn;};this.__ke=cj;};};},__kp:function(cx,cz){var cy=qx.util.ResourceManager.getInstance();if(!this.getEnabled()){var cw=cz.replace(/\.([a-z]+)$/,y);if(cy.has(cw)){cz=cw;this.addState(Y);}else {this.removeState(Y);};};if(cx.getSource()===cz){return;};this.__ks(cx,cz);this.__ku(cy.getImageWidth(cz),cy.getImageHeight(cz));},__kq:function(cA,cE){var cC=qx.io.ImageLoader;this.__ks(cA,cE);var cD=cC.getWidth(cE);var cB=cC.getHeight(cE);this.__ku(cD,cB);},__kr:function(cF,cI){var cJ=qx.io.ImageLoader;{var cH,cG,self;};if(!cJ.isFailed(cI)){cJ.load(cI,this.__kt,this);}else {if(cF!=null){cF.resetSource();};};},__ks:function(cK,cO){if(cK.getNodeName()==l){var cS=qx.theme.manager.Decoration.getInstance().resolve(this.getDecorator());if(cS){var cP=(cS.getStartColor()&&cS.getEndColor());var cN=cS.getBackgroundImage();if(cP||cN){var cL=this.getScale()?g:bm;var cM=qx.bom.element.Decoration.getAttributes(cO,cL);var cR=cS.getStyles(true);var cQ={"backgroundImage":cM.style.backgroundImage,"backgroundPosition":(cM.style.backgroundPosition||s),"backgroundRepeat":(cM.style.backgroundRepeat||bm)};if(cN){cQ[H]+=bj+cR[bn]||s;cQ[x]+=Q+cS.getBackgroundRepeat();};if(cP){cQ[H]+=V;cQ[x]+=u;};cQ[w]+=bj+cR[e];cK.setStyles(cQ);return;};}else {cK.setSource(null);};};cK.setSource(cO);},_findHighResolutionSource:function(cT){var cW=[p,R,E];var cV=parseFloat(qx.bom.client.Device.getDevicePixelRatio().toFixed(2));if(cV<=1){return false;};var i=cW.length;while(i>0&&cV>cW[ --i]){};var cU;var k;for(k=i;k>=0;k-- ){cU=this._getHighResolutionSource(cT,cW[k]);if(cU){return cU;};};for(k=i+1;k-1){var da=M+cY+j;var dc=cX.slice(0,db)+da+cX.slice(db);if(qx.util.ResourceManager.getInstance().has(dc)){return dc;};};return null;},__kt:function(dd,de){if(this.$$disposed===true){return;};if(dd!==qx.util.AliasManager.getInstance().resolve(this.getSource())){this.fireEvent(m);return;};if(de.failed){this.warn(a+dd);this.fireEvent(C);}else if(de.aborted){this.fireEvent(m);return;}else {this.fireEvent(v);};this.__kq(this.__km(),dd);},__ku:function(df,dg){if(df!==this.__kc||dg!==this.__kd){this.__kc=df;this.__kd=dg;qx.ui.core.queue.Layout.add(this);};}},destruct:function(){for(var dh in this.__kb){if(this.__kb.hasOwnProperty(dh)){this.__kb[dh].setAttribute(L,null,true);};};delete this.__ke;if(this.__kf){delete this.__kf;};this._disposeMap(t);}});})();(function(){var a="mshtml",b='img',c="",d="qx.globalErrorHandling",e="load",f="qx.io.ImageLoader";qx.Bootstrap.define(f,{statics:{__cP:{},__kv:{width:null,height:null},__kw:/\.(png|gif|jpg|jpeg|bmp)\b/i,__kx:/^data:image\/(png|gif|jpg|jpeg|bmp)\b/i,isLoaded:function(g){var h=this.__cP[g];return !!(h&&h.loaded);},isFailed:function(j){var k=this.__cP[j];return !!(k&&k.failed);},isLoading:function(m){var n=this.__cP[m];return !!(n&&n.loading);},getFormat:function(r){var q=this.__cP[r];if(!q||!q.format){var o=this.__kx.exec(r);if(o!=null){var p=(q&&qx.lang.Type.isNumber(q.width)?q.width:this.__kv.width);var s=(q&&qx.lang.Type.isNumber(q.height)?q.height:this.__kv.height);q={loaded:true,format:o[1],width:p,height:s};};};return q?q.format:null;},getSize:function(t){var u=this.__cP[t];return u?{width:u.width,height:u.height}:this.__kv;},getWidth:function(v){var w=this.__cP[v];return w?w.width:null;},getHeight:function(x){var y=this.__cP[x];return y?y.height:null;},load:function(B,A,C){var D=this.__cP[B];if(!D){D=this.__cP[B]={};};if(A&&!C){C=window;};if(D.loaded||D.loading||D.failed){if(A){if(D.loading){D.callbacks.push(A,C);}else {A.call(C,B,D);};};}else {D.loading=true;D.callbacks=[];if(A){D.callbacks.push(A,C);};var z=document.createElement(b);var E=qx.lang.Function.listener(this.__ky,this,z,B);z.onload=E;z.onerror=E;z.src=B;D.element=z;};},abort:function(F){var I=this.__cP[F];if(I&&!I.loaded){I.aborted=true;var H=I.callbacks;var G=I.element;G.onload=G.onerror=null;G.src=c;delete I.callbacks;delete I.element;delete I.loading;for(var i=0,l=H.length;i0){var bm=[];for(var i=0;iu.maxWidth){n=u.maxWidth;};f+=o;}else {n=r.width;if(n==null){n=u.width;}else {n=Math.round(parseFloat(n)*g/100);if(nu.maxWidth){n=u.maxWidth;};};if(e!=null){f=g-n-e-p-o;}else if(f==null){f=o;}else {f+=o;};};if(top!=null&&h!=null){k=j-top-h-q-t;if(ku.maxHeight){k=u.maxHeight;};top+=q;}else {k=r.height;if(k==null){k=u.height;}else {k=Math.round(parseFloat(k)*j/100);if(ku.maxHeight){k=u.maxHeight;};};if(h!=null){top=j-k-h-t-q;}else if(top==null){top=q;}else {top+=q;};};f+=m.left;top+=m.top;d.renderLayout(f,top,n,k);};},_computeSizeHint:function(){var M=0,y=0;var J=0,I=0;var H,v;var E,C;var L=this._getLayoutChildren();var w,B,z;var K=this.isDesktop();var A,top,x,D;for(var i=0,l=L.length;ih;var t=Math.abs(n-h);var u,o;var p={};for(q in j){r=j[q];p[q]={potential:m?r.max-r.value:r.value-r.min,flex:m?r.flex:1/r.flex,offset:0};};while(t!=0){k=Infinity;s=0;for(q in p){r=p[q];if(r.potential>0){s+=r.flex;k=Math.min(k,r.potential/r.flex);};};if(s==0){break;};k=Math.min(t,k*s)/s;u=0;for(q in p){r=p[q];if(r.potential>0){o=Math.min(t,r.potential,Math.ceil(k*r.flex));u+=o-k*r.flex;if(u>=1){u-=1;o-=1;};r.potential-=o;if(m){r.offset+=o;}else {r.offset-=o;};t-=o;};};};return p;},computeHorizontalAlignOffset:function(w,v,y,z,A){if(z==null){z=0;};if(A==null){A=0;};var x=0;switch(w){case c:x=z;break;case g:x=y-v-A;break;case d:x=Math.round((y-v)/2);if(x0){I=Math.max(I,J);};};return I+H;},computeHorizontalGaps:function(O,M,L){if(M==null){M=0;};var N=0;if(L){N+=O[0].getMarginLeft();for(var i=1,l=O.length;ibk||bo>bp){if(bn>bk&&bo>bp){bn=bk;bo=bp;}else if(bn>bk){bo+=(bn-bk);bn=bk;if(bo>bp){bo=bp;};}else if(bo>bp){bn+=(bo-bp);bo=bp;if(bn>bk){bn=bk;};};};return {begin:bn,end:bo};}}});})();(function(){var a="qx.event.type.Data",b="qx.ui.form.IStringForm";qx.Interface.define(b,{events:{"changeValue":a},members:{setValue:function(c){return arguments.length==1;},resetValue:function(){},getValue:function(){}}});})();(function(){var a="safari",b="os.name",c="_applyTextAlign",d="Boolean",f="qx.ui.core.Widget",g="nowrap",h="changeStatus",i="changeTextAlign",j="_applyWrap",k="changeValue",l="browser.name",m="color",n="qx.ui.basic.Label",o="osx",p="css.textoverflow",q="html.xul",r="_applyValue",s="center",t="_applyBuddy",u="enabled",v="String",w="toggleValue",x="whiteSpace",y="textAlign",z="function",A="browser.version",B="qx.dynlocale",C="engine.version",D="right",E="gecko",F="justify",G="changeRich",H="normal",I="_applyRich",J="engine.name",K="label",L="changeLocale",M="left",N="tap",O="A";qx.Class.define(n,{extend:qx.ui.core.Widget,implement:[qx.ui.form.IStringForm],construct:function(P){qx.ui.core.Widget.call(this);if(P!=null){this.setValue(P);};if(qx.core.Environment.get(B)){qx.locale.Manager.getInstance().addListener(L,this._onChangeLocale,this);};},properties:{rich:{check:d,init:false,event:G,apply:I},wrap:{check:d,init:true,apply:j},value:{check:v,apply:r,event:k,nullable:true},buddy:{check:f,apply:t,nullable:true,init:null,dereference:true},textAlign:{check:[M,s,D,F],nullable:true,themeable:true,apply:c,event:i},appearance:{refine:true,init:K},selectable:{refine:true,init:false},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false},allowShrinkY:{refine:true,init:false}},members:{__lh:null,__li:null,__lj:null,__lk:null,_getContentHint:function(){if(this.__li){this.__ll=this.__lm();delete this.__li;};return {width:this.__ll.width,height:this.__ll.height};},_hasHeightForWidth:function(){return this.getRich()&&this.getWrap();},_applySelectable:function(Q){if(!qx.core.Environment.get(p)&&qx.core.Environment.get(q)){if(Q&&!this.isRich()){{};return;};};qx.ui.core.Widget.prototype._applySelectable.call(this,Q);},_getContentHeightForWidth:function(R){if(!this.getRich()&&!this.getWrap()){return null;};return this.__lm(R).height;},_createContentElement:function(){return new qx.html.Label;},_applyTextAlign:function(T,S){this.getContentElement().setStyle(y,T);},_applyTextColor:function(V,U){if(V){this.getContentElement().setStyle(m,qx.theme.manager.Color.getInstance().resolve(V));}else {this.getContentElement().removeStyle(m);};},__ll:{width:0,height:0},_applyFont:function(Y,X){if(X&&this.__lh&&this.__lk){this.__lh.removeListenerById(this.__lk);this.__lk=null;};var W;if(Y){this.__lh=qx.theme.manager.Font.getInstance().resolve(Y);if(this.__lh instanceof qx.bom.webfonts.WebFont){this.__lk=this.__lh.addListener(h,this._onWebFontStatusChange,this);};W=this.__lh.getStyles();}else {this.__lh=null;W=qx.bom.Font.getDefaultStyles();};if(this.getTextColor()!=null){delete W[m];};this.getContentElement().setStyles(W);this.__li=true;qx.ui.core.queue.Layout.add(this);},__lm:function(bc){var bb=qx.bom.Label;var be=this.getFont();var ba=be?this.__lh.getStyles():qx.bom.Font.getDefaultStyles();var content=this.getValue()||O;var bd=this.getRich();if(this.__lk){this.__ln();};return bd?bb.getHtmlSize(content,ba,bc):bb.getTextSize(content,ba);},__ln:function(){if(!this.getContentElement()){return;};if(qx.core.Environment.get(b)==o&&qx.core.Environment.get(J)==E&&parseInt(qx.core.Environment.get(C),10)<16&&parseInt(qx.core.Environment.get(C),10)>9){var bf=this.getContentElement().getDomElement();if(bf){bf.innerHTML=bf.innerHTML;};};},_applyBuddy:function(bh,bg){if(bg!=null){this.removeRelatedBindings(bg);this.removeListenerById(this.__lj);this.__lj=null;};if(bh!=null){bh.bind(u,this,u);this.__lj=this.addListener(N,function(){if(bh.isFocusable()){bh.focus.apply(bh);};if(w in bh&&typeof bh.toggleValue===z){bh.toggleValue();};},this);};},_applyRich:function(bi){this.getContentElement().setRich(bi);this.__li=true;qx.ui.core.queue.Layout.add(this);},_applyWrap:function(bl,bj){if(bl&&!this.isRich()){{};};if(this.isRich()){var bk=bl?H:g;this.getContentElement().setStyle(x,bk);};},_onChangeLocale:qx.core.Environment.select(B,{"true":function(e){var content=this.getValue();if(content&&content.translate){this.setValue(content.translate());};},"false":null}),_onWebFontStatusChange:function(bm){if(bm.getData().valid===true){if(qx.core.Environment.get(l)==a&&parseFloat(qx.core.Environment.get(A))>=8){window.setTimeout(function(){this.__li=true;qx.ui.core.queue.Layout.add(this);}.bind(this),0);};this.__li=true;qx.ui.core.queue.Layout.add(this);};},_applyValue:function(bo,bn){this.getContentElement().setValue(bo);this.__li=true;qx.ui.core.queue.Layout.add(this);}},destruct:function(){if(qx.core.Environment.get(B)){qx.locale.Manager.getInstance().removeListener(L,this._onChangeLocale,this);};if(this.__lh&&this.__lk){this.__lh.removeListenerById(this.__lk);};this.__lh=null;}});})();(function(){var a="value",b="qx.html.Label",c="The label mode cannot be modified after initial creation",d='hidden';qx.Class.define(b,{extend:qx.html.Element,members:{__lo:null,_applyProperty:function(name,e){qx.html.Element.prototype._applyProperty.call(this,name,e);if(name==a){var f=this.getDomElement();qx.bom.Label.setValue(f,e);};},_createDomElement:function(){var h=this.__lo;var g=qx.bom.Label.create(this._content,h);g.style.overflow=d;return g;},_copyData:function(i){return qx.html.Element.prototype._copyData.call(this,true);},setRich:function(j){var k=this.getDomElement();if(k){throw new Error(c);};j=!!j;if(this.__lo==j){return this;};this.__lo=j;return this;},setValue:function(l){this._setProperty(a,l);return this;},getValue:function(){return this._getProperty(a);}}});})();(function(){var a="text",b="function",c="px",d="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",e="crop",f="nowrap",g="end",h="div",i="100%",j="auto",k="0",l="css.textoverflow",m="html.xul",n="value",o="visible",p="qx.bom.Label",q="",r="ellipsis",s="normal",t="inherit",u="block",v="label",w="-1000px",x="hidden",y="absolute";qx.Bootstrap.define(p,{statics:{__lp:{fontFamily:1,fontSize:1,fontWeight:1,fontStyle:1,lineHeight:1},__lq:function(){var z=this.__ls(false);document.body.insertBefore(z,document.body.firstChild);return this._textElement=z;},__lr:function(){var A=this.__ls(true);document.body.insertBefore(A,document.body.firstChild);return this._htmlElement=A;},__ls:function(D){var B=qx.dom.Element.create(h);var C=B.style;C.width=C.height=j;C.left=C.top=w;C.visibility=x;C.position=y;C.overflow=o;C.display=u;if(D){C.whiteSpace=s;}else {C.whiteSpace=f;if(!qx.core.Environment.get(l)&&qx.core.Environment.get(m)){var E=document.createElementNS(d,v);var C=E.style;C.padding=k;C.margin=k;C.width=j;for(var F in this.__lp){C[F]=t;};B.appendChild(E);};};return B;},__lt:function(H){var G={};if(H){G.whiteSpace=s;}else if(!qx.core.Environment.get(l)&&qx.core.Environment.get(m)){G.display=u;}else {G.overflow=x;G.whiteSpace=f;G[qx.core.Environment.get(l)]=r;};return G;},create:function(content,L,K){if(!K){K=window;};var I=K.document.createElement(h);if(L){I.useHtml=true;}else if(!qx.core.Environment.get(l)&&qx.core.Environment.get(m)){var M=K.document.createElementNS(d,v);var J=M.style;J.cursor=t;J.color=t;J.overflow=x;J.maxWidth=i;J.padding=k;J.margin=k;J.width=j;for(var N in this.__lp){M.style[N]=t;};M.setAttribute(e,g);I.appendChild(M);}else {qx.bom.element.Style.setStyles(I,this.__lt(L));};if(content){this.setValue(I,content);};return I;},__lu:null,setSanitizer:function(O){{};qx.bom.Label.__lu=O;},setValue:function(Q,P){P=P||q;if(Q.useHtml){if(qx.bom.Label.__lu&&typeof (qx.bom.Label.__lu)===b){P=qx.bom.Label.__lu(P);};Q.innerHTML=P;}else if(!qx.core.Environment.get(l)&&qx.core.Environment.get(m)){Q.firstChild.setAttribute(n,P);}else {qx.bom.element.Attribute.set(Q,a,P);};},getValue:function(R){if(R.useHtml){return R.innerHTML;}else if(!qx.core.Environment.get(l)&&qx.core.Environment.get(m)){return R.firstChild.getAttribute(n)||q;}else {return qx.bom.element.Attribute.get(R,a);};},getHtmlSize:function(content,S,T){var U=this._htmlElement||this.__lr();U.style.width=T!=undefined?T+c:j;U.innerHTML=content;return this.__lv(U,S);},getTextSize:function(W,V){var X=this._textElement||this.__lq();if(!qx.core.Environment.get(l)&&qx.core.Environment.get(m)){X.firstChild.setAttribute(n,W);}else {qx.bom.element.Attribute.set(X,a,W);};return this.__lv(X,V);},__lv:function(bd,Y){var ba=this.__lp;if(!Y){Y={};};for(var bc in ba){bd.style[bc]=Y[bc]||q;};var bb=qx.bom.element.Dimension.getSize(bd);bb.width++ ;return bb;}}});})();(function(){var a="Decorator",b="_applyLayoutChange",c="center",d="_applyReversed",e="bottom",f="qx.ui.layout.VBox",g="top",h="left",j="middle",k="Integer",m="right",n="Boolean";qx.Class.define(f,{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:[g,j,e],init:g,apply:b},alignX:{check:[h,c,m],init:h,apply:b},spacing:{check:k,init:0,apply:b},separator:{check:a,nullable:true,apply:b},reversed:{check:n,init:false,apply:d}},members:{__lw:null,__lx:null,__ly:null,__gu:null,_applyReversed:function(){this._invalidChildrenCache=true;this._applyLayoutChange();},__lz:function(){var w=this._getLayoutChildren();var length=w.length;var s=false;var r=this.__lw&&this.__lw.length!=length&&this.__lx&&this.__lw;var u;var t=r?this.__lw:new Array(length);var v=r?this.__lx:new Array(length);if(this.getReversed()){w=w.concat().reverse();};for(var i=0;i0){E=D[i].getSizeHint();F[i]={min:E.minHeight,value:I[i],max:E.maxHeight,flex:L};};};var B=N.computeFlexOffsets(F,G,P);for(i in B){y=B[i].offset;I[i]+=y;P+=y;};};var top=D[0].getMarginTop();if(P0){if(T){top+=x+M;this._renderSeparator(T,{top:top+R.top,left:R.left,height:Q,width:O});top+=Q+M+S.getMarginTop();}else {top+=N.collapseMargins(M,x,S.getMarginTop());};};S.renderLayout(V+R.left,top+R.top,J,z);top+=z;x=S.getMarginBottom();};},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__lz();};var W=qx.ui.layout.Util;var bl=this.__gu;var ba=0,bb=0,bj=0;var bc=0,bd=0;var bh,X,bk;for(var i=0,l=bl.length;ibd){bd=X.width+bk;};if((X.minWidth+bk)>bc){bc=X.minWidth+bk;};};ba+=bj;var bf=this.getSpacing();var bi=this.getSeparator();if(bi){var be=W.computeVerticalSeparatorGaps(bl,bf,bi);}else {var be=W.computeVerticalGaps(bl,bf,true);};return {minHeight:ba+be,height:bb+be,minWidth:bc,width:bd};}},destruct:function(){this.__lw=this.__lx=this.__gu=null;}});})();(function(){var a="qx.ui.form.IForm",b="qx.event.type.Data";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="Boolean",b="changeGap",c="changeShow",d="bottom",e="bottom-right",f="_applyCenter",g="changeIcon",h="qx.ui.basic.Atom",i="changeLabel",j="both",k="Integer",l="_applyIconPosition",m="bottom-left",n="String",o="icon",p="top-left",q="top",r="top-right",s="right",t="_applyRich",u="_applyIcon",v="label",w="_applyShow",x="left",y="_applyLabel",z="_applyGap",A="atom";qx.Class.define(h,{extend:qx.ui.core.Widget,construct:function(B,C){{};qx.ui.core.Widget.call(this);this._setLayout(new qx.ui.layout.Atom());if(B!=null){this.setLabel(B);};if(C!==undefined){this.setIcon(C);};},properties:{appearance:{refine:true,init:A},label:{apply:y,nullable:true,check:n,event:i},rich:{check:a,init:false,apply:t},icon:{check:n,apply:u,nullable:true,themeable:true,event:g},gap:{check:k,nullable:false,event:b,apply:z,themeable:true,init:4},show:{init:j,check:[j,v,o],themeable:true,inheritable:true,apply:w,event:c},iconPosition:{init:x,check:[q,s,d,x,p,m,r,e],themeable:true,apply:l},center:{init:false,check:a,themeable:true,apply:f}},members:{_createChildControlImpl:function(F,E){var D;switch(F){case v:D=new qx.ui.basic.Label(this.getLabel());D.setAnonymous(true);D.setRich(this.getRich());this._add(D);if(this.getLabel()==null||this.getShow()===o){D.exclude();};break;case o:D=new qx.ui.basic.Image(this.getIcon());D.setAnonymous(true);this._addAt(D,0);if(this.getIcon()==null||this.getShow()===v){D.exclude();};break;};return D||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,F);},_forwardStates:{focused:true,hovered:true},_handleLabel:function(){if(this.getLabel()==null||this.getShow()===o){this._excludeChildControl(v);}else {this._showChildControl(v);};},_handleIcon:function(){if(this.getIcon()==null||this.getShow()===v){this._excludeChildControl(o);}else {this._showChildControl(o);};},_applyLabel:function(H,G){var I=this.getChildControl(v,true);if(I){I.setValue(H);};this._handleLabel();},_applyRich:function(K,J){var L=this.getChildControl(v,true);if(L){L.setRich(K);};},_applyIcon:function(N,M){var O=this.getChildControl(o,true);if(O){O.setSource(N);};this._handleIcon();},_applyGap:function(Q,P){this._getLayout().setGap(Q);},_applyShow:function(S,R){this._handleLabel();this._handleIcon();},_applyIconPosition:function(U,T){this._getLayout().setIconPosition(U);},_applyCenter:function(W,V){this._getLayout().setCenter(W);},_applySelectable:function(Y,X){qx.ui.core.Widget.prototype._applySelectable.call(this,Y,X);var ba=this.getChildControl(v,true);if(ba){this.getChildControl(v).setSelectable(Y);};}}});})();(function(){var a="middle",b="_applyLayoutChange",c="top-right",d="bottom",e="top-left",f="bottom-left",g="center",h="qx.ui.layout.Atom",j="bottom-right",k="top",l="left",m="right",n="Integer",o="Boolean";qx.Class.define(h,{extend:qx.ui.layout.Abstract,properties:{gap:{check:n,init:4,apply:b},iconPosition:{check:[l,k,m,d,e,f,c,j],init:l,apply:b},center:{check:o,init:false,apply:b}},members:{verifyLayoutProperty:null,renderLayout:function(E,y,D){var N=D.left;var top=D.top;var z=qx.ui.layout.Util;var q=this.getIconPosition();var t=this._getLayoutChildren();var length=t.length;var M,r;var G,x;var C=this.getGap();var J=this.getCenter();var L=[d,m,c,j];if(L.indexOf(q)!=-1){var A=length-1;var v=-1;var s=-1;}else {var A=0;var v=length;var s=1;};if(q==k||q==d){if(J){var F=0;for(var i=A;i!=v;i+=s){r=t[i].getSizeHint().height;if(r>0){F+=r;if(i!=A){F+=C;};};};top+=Math.round((y-F)/2);};var u=top;for(var i=A;i!=v;i+=s){G=t[i];x=G.getSizeHint();M=Math.min(x.maxWidth,Math.max(E,x.minWidth));r=x.height;N=z.computeHorizontalAlignOffset(g,M,E)+D.left;G.renderLayout(N,u,M,r);if(r>0){u=top+r+C;};};}else {var w=E;var p=null;var I=0;for(var i=A;i!=v;i+=s){G=t[i];M=G.getSizeHint().width;if(M>0){if(!p&&G instanceof qx.ui.basic.Label){p=G;}else {w-=M;};I++ ;};};if(I>1){var H=(I-1)*C;w-=H;};if(p){var x=p.getSizeHint();var B=Math.max(x.minWidth,Math.min(w,x.maxWidth));w-=B;};if(J&&w>0){N+=Math.round(w/2);};for(var i=A;i!=v;i+=s){G=t[i];x=G.getSizeHint();r=Math.min(x.maxHeight,Math.max(y,x.minHeight));if(G===p){M=B;}else {M=x.width;};var K=a;if(q==e||q==c){K=k;}else if(q==f||q==j){K=d;};var u=top+z.computeVerticalAlignOffset(K,x.height,y);G.renderLayout(N,u,M,r);if(M>0){N+=M+C;};};};},_computeSizeHint:function(){var Y=this._getLayoutChildren();var length=Y.length;var P,W;if(length===1){var P=Y[0].getSizeHint();W={width:P.width,height:P.height,minWidth:P.minWidth,minHeight:P.minHeight};}else {var U=0,V=0;var R=0,T=0;var S=this.getIconPosition();var Q=this.getGap();if(S===k||S===d){var O=0;for(var i=0;i0){T+=P.height;R+=P.minHeight;O++ ;};};if(O>1){var X=(O-1)*Q;T+=X;R+=X;};}else {var O=0;for(var i=0;i0){V+=P.width;U+=P.minWidth;O++ ;};};if(O>1){var X=(O-1)*Q;V+=X;U+=X;};};W={minWidth:U,width:V,minHeight:R,height:T};};return W;}}});})();(function(){var a="Decorator",b="middle",c="_applyLayoutChange",d="_applyReversed",e="bottom",f="center",g="Boolean",h="top",j="left",k="right",m="Integer",n="qx.ui.layout.HBox";qx.Class.define(n,{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:[j,f,k],init:j,apply:c},alignY:{check:[h,b,e],init:h,apply:c},spacing:{check:m,init:0,apply:c},separator:{check:a,nullable:true,apply:c},reversed:{check:g,init:false,apply:d}},members:{__lA:null,__lx:null,__ly:null,__gu:null,_applyReversed:function(){this._invalidChildrenCache=true;this._applyLayoutChange();},__lz:function(){var w=this._getLayoutChildren();var length=w.length;var t=false;var r=this.__lA&&this.__lA.length!=length&&this.__lx&&this.__lA;var u;var s=r?this.__lA:new Array(length);var v=r?this.__lx:new Array(length);if(this.getReversed()){w=w.concat().reverse();};for(var i=0;i0){F=D[i].getSizeHint();G[i]={min:F.minWidth,value:Q[i],max:F.maxWidth,flex:K};};};var B=P.computeFlexOffsets(G,N,E);for(i in B){y=B[i].offset;Q[i]+=y;E+=y;};};var V=D[0].getMarginLeft();if(E0){if(R){V+=C+L;this._renderSeparator(R,{left:V+M.left,top:M.top,width:U,height:H});V+=U+L+O.getMarginLeft();}else {V+=P.collapseMargins(L,C,O.getMarginLeft());};};O.renderLayout(V+M.left,top+M.top,J,z);V+=J;C=O.getMarginRight();};},_computeSizeHint:function(){if(this._invalidChildrenCache){this.__lz();};var bl=qx.ui.layout.Util;var X=this.__gu;var bd=0,be=0,W=0;var bb=0,bc=0;var bi,Y,bk;for(var i=0,l=X.length;ibc){bc=Y.height+bk;};if((Y.minHeight+bk)>bb){bb=Y.minHeight+bk;};};bd+=W;var bg=this.getSpacing();var bj=this.getSeparator();if(bj){var bf=bl.computeHorizontalSeparatorGaps(X,bg,bj);}else {var bf=bl.computeHorizontalGaps(X,bg,true);};return {minWidth:bd+bf,width:be+bf,minHeight:bb,height:bc};}},destruct:function(){this.__lA=this.__lx=this.__gu=null;}});})();(function(){var a="toolTipText",b="icon",c="label",d="qx.ui.core.MExecutable",f="enabled",g="value",h="qx.event.type.Event",j="execute",k="_applyCommand",l="qx.ui.command.Command",m="menu",n="changeCommand";qx.Mixin.define(d,{events:{"execute":h},properties:{command:{check:l,apply:k,event:n,nullable:true}},members:{__lB:null,__lC:false,__lD:null,_bindableProperties:[f,c,b,a,g,m],execute:function(){var o=this.getCommand();if(o){if(this.__lC){this.__lC=false;}else {this.__lC=true;o.execute(this);};};this.fireEvent(j);},__lE:function(e){if(this.__lC){this.__lC=false;return;};if(this.isEnabled()){this.__lC=true;this.execute();};},_applyCommand:function(r,p){if(p!=null){p.removeListenerById(this.__lD);};if(r!=null){this.__lD=r.addListener(j,this.__lE,this);};var q=this.__lB;if(q==null){this.__lB=q={};};var u;for(var i=0;i0){Q=this.__lL.pop();if(Q&&!Q.isDisposed()&&Q.isFocusable()){Q.focus();};};var R=this.__lK.length;if(R>0){Q=this.__lK.pop();if(Q&&!Q.isDisposed()){Q.activate();};};},__lT:function(){return new qx.html.Blocker(this.getColor(),this.getOpacity());},getBlockerElement:function(S){if(!this.__lM){this.__lM=this.__lT();this.__lM.setStyle(r,15);if(!S){if(this._isRoot){S=this._widget;}else {S=this._widget.getLayoutParent();};};S.getContentElement().add(this.__lM);this.__lM.exclude();};return this.__lM;},block:function(){this._block();},_block:function(T,V){if(!this._isRoot&&!this._widget.getLayoutParent()){this.__lO=this._widget.addListenerOnce(s,this._block.bind(this,T));return;};var parent;if(this._isRoot||V){parent=this._widget;}else {parent=this._widget.getLayoutParent();};var U=this.getBlockerElement(parent);if(T!=null){U.setStyle(r,T);};this.__lN++ ;if(this.__lN<2){this._backupActiveWidget();var W=this._widget.getBounds();if(W){this._updateBlockerBounds(W);};U.include();if(!V){U.activate();};U.addListener(h,this.__lW,this);U.addListener(v,this.__lV,this);U.addListener(g,this.__lV,this);U.addListener(u,this.__lV,this);this.fireEvent(A,qx.event.type.Event);};},isBlocked:function(){return this.__lN>0;},unblock:function(){if(this.__lO){this._widget.removeListenerById(this.__lO);};if(!this.isBlocked()){return;};this.__lN-- ;if(this.__lN<1){this.__lU();this.__lN=0;};},forceUnblock:function(){if(!this.isBlocked()){return;};this.__lN=0;this.__lU();},__lU:function(){this._restoreActiveWidget();var X=this.getBlockerElement();X.removeListener(h,this.__lW,this);X.removeListener(v,this.__lV,this);X.removeListener(g,this.__lV,this);X.removeListener(u,this.__lV,this);X.exclude();this.fireEvent(x,qx.event.type.Event);},blockContent:function(Y){this._block(Y,true);},__lV:function(e){if(e.getKeyIdentifier()==l){e.stop();};},__lW:function(){if(this.getKeepBlockerActive()){this.getBlockerElement().activate();};}},destruct:function(){if(qx.core.Environment.get(a)){qx.theme.manager.Meta.getInstance().removeListener(j,this._onChangeTheme,this);};this._widget.removeListener(q,this.__lP,this);this._widget.removeListener(o,this.__lP,this);this._widget.removeListener(s,this.__lQ,this);this._widget.removeListener(z,this.__lR,this);if(this.__lO){this._widget.removeListenerById(this.__lO);};this._disposeObjects(m,B);this.__lK=this.__lL=this._widget=null;}});})();(function(){var a="",b="qx.ui.form.MForm",c="Boolean",d="_applyValid",f="changeLocale",g="changeRequired",h="changeValid",i="qx.dynlocale",j="changeInvalidMessage",k="String",l="invalid";qx.Mixin.define(b,{construct:function(){if(qx.core.Environment.get(i)){qx.locale.Manager.getInstance().addListener(f,this.__lX,this);};},properties:{valid:{check:c,init:true,apply:d,event:h},required:{check:c,init:false,event:g},invalidMessage:{check:k,init:a,event:j},requiredInvalidMessage:{check:k,nullable:true,event:j}},members:{_applyValid:function(n,m){n?this.removeState(l):this.addState(l);},__lX:qx.core.Environment.select(i,{"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(i)){qx.locale.Manager.getInstance().removeListener(f,this.__lX,this);};}});})();(function(){var a="mouse",b="scrollbar-y",c="qx.ui.core.scroll.MRoll",d="pointerdown",f="scrollbar-x",g="roll";qx.Mixin.define(c,{members:{__lY:null,_addRollHandling:function(){this.addListener(g,this._onRoll,this);this.addListener(d,this._onPointerDownForRoll,this);},_removeRollHandling:function(){this.removeListener(g,this._onRoll,this);this.removeListener(d,this._onPointerDownForRoll,this);},_onPointerDownForRoll:function(e){this.__lY=e.getPointerId();},_onRoll:function(e){if(e.getPointerType()==a){return;};if(this.__lY&&e.getMomentum()){qx.event.Registration.getManager(e.getOriginalTarget()).getHandler(qx.event.handler.Gesture).gestureCancel(this.__lY);e.stopMomentum();this.__lY=null;return;};this.__lY=null;var k=this._isChildControlVisible(f);var l=this._isChildControlVisible(b);var q=l?this.getChildControl(b,true):null;var p=k?this.getChildControl(f,true):null;var m=e.getDelta().y;var h=e.getDelta().x;var j=!l;var o=!k;if(q){if(m!==0){q.scrollBy(parseInt(m,10));};var n=q.getPosition();var i=q.getMaximum();if(m<0&&n<=0||m>0&&n>=i){j=true;};};if(p){if(h!==0){p.scrollBy(parseInt(h,10));};var n=p.getPosition();var i=p.getMaximum();if(h<0&&n<=0||h>0&&n>=i){o=true;};};if(o&&j){e.stopMomentum();};if((!j&&h===0)||(!o&&m===0)||((!o||!j)&&h!==0&&m!==0)){e.stop();};}}});})();(function(){var a='qx.event.type.Event',b="qx.ui.core.scroll.IScrollBar",c="qx.event.type.Data";qx.Interface.define(b,{events:{"scroll":c,"scrollAnimationEnd":a},properties:{orientation:{},maximum:{},position:{},knobFactor:{}},members:{scrollTo:function(e,d){this.assertNumber(e);},scrollBy:function(g,f){this.assertNumber(g);},scrollBySteps:function(i,h){this.assertNumber(i);}}});})();(function(){var a="slider",b="slideAnimationEnd",c="PositiveNumber",d="changeValue",f="Integer",g="execute",h="track",i="qx.lang.Type.isNumber(value)&&value>=0&&value<=this.getMaximum()",j="_applyKnobFactor",k="visible",l="qx.event.type.Event",m="knob",n="button-begin",o="hidden",p="qx.ui.core.scroll.ScrollBar",q="resize",r="vertical",s="_applyOrientation",t="scrollAnimationEnd",u="_applyPageStep",v="right",w="PositiveInteger",x="horizontal",y="up",z="_applyPosition",A="scrollbar",B="_applyMaximum",C="left",D="button-end",E="down",F="scroll";qx.Class.define(p,{extend:qx.ui.core.Widget,implement:qx.ui.core.scroll.IScrollBar,construct:function(G){qx.ui.core.Widget.call(this);this._createChildControl(n);this._createChildControl(a).addListener(q,this._onResizeSlider,this);this._createChildControl(D);if(G!=null){this.setOrientation(G);}else {this.initOrientation();};this.addListener(h,function(e){e.stopPropagation();},this);},events:{"scrollAnimationEnd":l},properties:{appearance:{refine:true,init:A},orientation:{check:[x,r],init:x,apply:s},maximum:{check:w,apply:B,init:100},position:{check:i,init:0,apply:z,event:F},singleStep:{check:f,init:20},pageStep:{check:f,init:10,apply:u},knobFactor:{check:c,apply:j,nullable:true}},members:{__ma:2,__mb:0,_computeSizeHint:function(){var H=qx.ui.core.Widget.prototype._computeSizeHint.call(this);if(this.getOrientation()===x){this.__mb=H.minWidth;H.minWidth=0;}else {this.__mb=H.minHeight;H.minHeight=0;};return H;},renderLayout:function(M,top,J,I){var L=qx.ui.core.Widget.prototype.renderLayout.call(this,M,top,J,I);var K=this.getOrientation()===x;if(this.__mb>=(K?J:I)){this.getChildControl(n).setVisibility(o);this.getChildControl(D).setVisibility(o);}else {this.getChildControl(n).setVisibility(k);this.getChildControl(D).setVisibility(k);};return L;},_createChildControlImpl:function(P,O){var N;switch(P){case a:N=new qx.ui.core.scroll.ScrollSlider();N.setPageStep(100);N.setFocusable(false);N.addListener(d,this._onChangeSliderValue,this);N.addListener(b,this._onSlideAnimationEnd,this);this._add(N,{flex:1});break;case n:N=new qx.ui.form.RepeatButton();N.setFocusable(false);N.addListener(g,this._onExecuteBegin,this);this._add(N);break;case D:N=new qx.ui.form.RepeatButton();N.setFocusable(false);N.addListener(g,this._onExecuteEnd,this);this._add(N);break;};return N||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,P);},_applyMaximum:function(Q){this.getChildControl(a).setMaximum(Q);},_applyPosition:function(R){this.getChildControl(a).setValue(R);},_applyKnobFactor:function(S){this.getChildControl(a).setKnobFactor(S);},_applyPageStep:function(T){this.getChildControl(a).setPageStep(T);},_applyOrientation:function(W,U){var V=this._getLayout();if(V){V.dispose();};if(W===x){this._setLayout(new qx.ui.layout.HBox());this.setAllowStretchX(true);this.setAllowStretchY(false);this.replaceState(r,x);this.getChildControl(n).replaceState(y,C);this.getChildControl(D).replaceState(E,v);}else {this._setLayout(new qx.ui.layout.VBox());this.setAllowStretchX(false);this.setAllowStretchY(true);this.replaceState(x,r);this.getChildControl(n).replaceState(C,y);this.getChildControl(D).replaceState(v,E);};this.getChildControl(a).setOrientation(W);},scrollTo:function(Y,X){this.getChildControl(a).slideTo(Y,X);},scrollBy:function(bb,ba){this.getChildControl(a).slideBy(bb,ba);},scrollBySteps:function(bd,bc){var be=this.getSingleStep();this.getChildControl(a).slideBy(bd*be,bc);},updatePosition:function(bf){this.getChildControl(a).updatePosition(bf);},stopScrollAnimation:function(){this.getChildControl(a).stopSlideAnimation();},_onExecuteBegin:function(e){this.scrollBy(-this.getSingleStep(),50);},_onExecuteEnd:function(e){this.scrollBy(this.getSingleStep(),50);},_onSlideAnimationEnd:function(){this.fireEvent(t);},_onChangeSliderValue:function(e){this.setPosition(e.getData());},_onResizeSlider:function(e){var bg=this.getChildControl(a).getChildControl(m);var bj=bg.getSizeHint();var bh=false;var bi=this.getChildControl(a).getInnerSize();if(this.getOrientation()==r){if(bi.height0?1:br<0?-1:0;this.slideBy(bp*this.getSingleStep());e.stop();},_onKeyPress:function(e){var bt=this.getOrientation()===N;var bs=bt?l:t;var forward=bt?D:m;switch(e.getKeyIdentifier()){case forward:this.slideForward();break;case bs:this.slideBack();break;case q:this.slidePageForward(100);break;case g:this.slidePageBack(100);break;case H:this.slideToBegin(200);break;case v:this.slideToEnd(200);break;default:return;};e.stop();},_onPointerDown:function(e){if(this.__mf){return;};var bw=this.__mp;var bu=this.getChildControl(P);var bv=bw?G:L;var bA=bw?e.getDocumentLeft():e.getDocumentTop();var bC=this.getDecorator();bC=qx.theme.manager.Decoration.getInstance().resolve(bC);if(bw){var bz=bC?bC.getInsets().left:0;var by=(this.getPaddingLeft()||0)+bz;}else {var bz=bC?bC.getInsets().top:0;var by=(this.getPaddingTop()||0)+bz;};var bB=this.__mc=qx.bom.element.Location.get(this.getContentElement().getDomElement())[bv];bB+=by;var bx=this.__md=qx.bom.element.Location.get(bu.getContentElement().getDomElement())[bv];if(e.getTarget()===bu){this.__mf=true;if(!this.__mk){this.__mk=new qx.event.Timer(100);this.__mk.addListener(r,this._fireValue,this);};this.__mk.start();this.__mg=bA+bB-bx;bu.addState(c);}else {this.__mh=true;this.__mi=bA<=bx?-1:1;this.__mq(e);this._onInterval();if(!this.__da){this.__da=new qx.event.Timer(100);this.__da.addListener(r,this._onInterval,this);};this.__da.start();};this.addListener(w,this._onPointerMove);this.capture();e.stopPropagation();},_onPointerUp:function(e){if(this.__mf){this.releaseCapture();delete this.__mf;this.__mk.stop();this._fireValue();delete this.__mg;this.getChildControl(P).removeState(c);if(e.getType()===B){var bE;var bF;var bD;if(this.__mp){bE=e.getDocumentLeft()-(this._valueToPosition(this.getValue())+this.__mc);bD=qx.bom.element.Location.get(this.getContentElement().getDomElement())[L];bF=e.getDocumentTop()-(bD+this.getChildControl(P).getBounds().top);}else {bE=e.getDocumentTop()-(this._valueToPosition(this.getValue())+this.__mc);bD=qx.bom.element.Location.get(this.getContentElement().getDomElement())[G];bF=e.getDocumentLeft()-(bD+this.getChildControl(P).getBounds().left);};if(bF<0||bF>this.__me||bE<0||bE>this.__me){this.getChildControl(P).removeState(b);};};}else if(this.__mh){this.__da.stop();this.releaseCapture();delete this.__mh;delete this.__mi;delete this.__mj;};this.removeListener(w,this._onPointerMove);if(e.getType()===B){e.stopPropagation();};},_onPointerMove:function(e){if(this.__mf){var bH=this.__mp?e.getDocumentLeft():e.getDocumentTop();var bG=bH-this.__mg;this.slideTo(this._positionToValue(bG));}else if(this.__mh){this.__mq(e);};e.stopPropagation();},_onInterval:function(e){var bI=this.getValue()+(this.__mi*this.getPageStep());if(bIthis.getMaximum()){bI=this.getMaximum();};var bJ=this.__mi==-1;if((bJ&&bI<=this.__mj)||(!bJ&&bI>=this.__mj)){bI=this.__mj;};this.slideTo(bI);},_onUpdate:function(e){var bL=this.getInnerSize();var bM=this.getChildControl(P).getBounds();var bK=this.__mp?E:x;this._updateKnobSize();this.__mo=bL[bK]-bM[bK];this.__me=bM[bK];this._updateKnobPosition();},__mp:false,__mo:0,__mq:function(e){var bN=this.__mp;var bU=bN?e.getDocumentLeft():e.getDocumentTop();var bX=this.__mc;var bO=this.__md;var bY=this.__me;var bV=bU-bX;if(bU>=bO){bV-=bY;};var bR=this._positionToValue(bV);var bP=this.getMinimum();var bQ=this.getMaximum();if(bRbQ){bR=bQ;}else {var bW=this.getValue();var bT=this.getPageStep();var bS=this.__mi<0?I:Q;bR=bW+(Math[bS]((bR-bW)/bT)*bT);};if(this.__mj==null||(this.__mi==-1&&bR<=this.__mj)||(this.__mi==1&&bR>=this.__mj)){this.__mj=bR;};},_positionToValue:function(cb){var ca=this.__mo;if(ca==null||ca==0){return 0;};var cd=cb/ca;if(cd<0){cd=0;}else if(cd>1){cd=1;};var cc=this.getMaximum()-this.getMinimum();return this.getMinimum()+Math.round(cc*cd);},_valueToPosition:function(ch){var ce=this.__mo;if(ce==null){return 0;};var cf=this.getMaximum()-this.getMinimum();if(cf==0){return 0;};var ch=ch-this.getMinimum();var cg=ch/cf;if(cg<0){cg=0;}else if(cg>1){cg=1;};return Math.round(ce*cg);},_updateKnobPosition:function(){this._setKnobPosition(this._valueToPosition(this.getValue()));},_setKnobPosition:function(ck){var ci=this.getChildControl(P);var cj=this.getDecorator();cj=qx.theme.manager.Decoration.getInstance().resolve(cj);var content=ci.getContentElement();if(this.__mp){if(cj&&cj.getPadding()){ck+=cj.getPadding().left;};ck+=this.getPaddingLeft()||0;content.setStyle(G,ck+d,true);}else {if(cj&&cj.getPadding()){ck+=cj.getPadding().top;};ck+=this.getPaddingTop()||0;content.setStyle(L,ck+d,true);};},_updateKnobSize:function(){var cm=this.getKnobFactor();if(cm==null){return;};var cl=this.getInnerSize();if(cl==null){return;};if(this.__mp){this.getChildControl(P).setWidth(Math.round(cm*cl.width));}else {this.getChildControl(P).setHeight(Math.round(cm*cl.height));};},slideToBegin:function(cn){this.slideTo(this.getMinimum(),cn);},slideToEnd:function(co){this.slideTo(this.getMaximum(),co);},slideForward:function(){this.slideBy(this.getSingleStep());},slideBack:function(){this.slideBy(-this.getSingleStep());},slidePageForward:function(cp){this.slideBy(this.getPageStep(),cp);},slidePageBack:function(cq){this.slideBy(-this.getPageStep(),cq);},slideBy:function(cs,cr){this.slideTo(this.getValue()+cs,cr);},slideTo:function(cu,ct){this.stopSlideAnimation();if(ct){this.__ms(cu,ct);}else {this.updatePosition(cu);};},updatePosition:function(cv){this.setValue(this.__mr(cv));},stopSlideAnimation:function(){if(this.__mn){this.__mn.cancelSequence();this.__mn=null;};},__mr:function(cw){if(cwthis.getMaximum()){cw=this.getMaximum();}else {cw=this.getMinimum()+Math.round((cw-this.getMinimum())/this.getSingleStep())*this.getSingleStep();};return cw;},__ms:function(cy,cx){cy=this.__mr(cy);var cz=this.getValue();this.__mn=new qx.bom.AnimationFrame();this.__mn.on(i,function(cA){this.setValue(parseInt(cA/cx*(cy-cz)+cz));},this);this.__mn.on(j,function(){this.setValue(cy);this.__mn=null;this.fireEvent(O);},this);this.__mn.startSequence(cx);},_applyOrientation:function(cD,cC){var cB=this.getChildControl(P);this.__mp=cD===N;if(this.__mp){this.removeState(C);cB.removeState(C);this.addState(N);cB.addState(N);cB.setLayoutProperties({top:0,right:null,bottom:0});}else {this.removeState(N);cB.removeState(N);this.addState(C);cB.addState(C);cB.setLayoutProperties({right:0,bottom:null,left:0});};this._updateKnobPosition();},_applyKnobFactor:function(cF,cE){if(cF!=null){this._updateKnobSize();}else {if(this.__mp){this.getChildControl(P).resetWidth();}else {this.getChildControl(P).resetHeight();};};},_applyValue:function(cH,cG){if(cH!=null){this._updateKnobPosition();if(this.__mf){this.__mm=[cH,cG];}else {this.fireEvent(h,qx.event.type.Data,[cH,cG]);};}else {this.resetValue();};},_fireValue:function(){if(!this.__mm){return;};var cI=this.__mm;this.__mm=null;this.fireEvent(h,qx.event.type.Data,cI);},_applyMinimum:function(cK,cJ){if(this.getValue()cM){this.setValue(cM);};this._updateKnobPosition();}}});})();(function(){var a="dblclick",b="qx.ui.core.scroll.ScrollSlider",c="horizontal",d="keypress",f="roll",g="knob";qx.Class.define(b,{extend:qx.ui.form.Slider,construct:function(h){qx.ui.form.Slider.call(this,h);this.removeListener(d,this._onKeyPress);this.removeListener(f,this._onRoll);},members:{_createChildControlImpl:function(k,j){var i;switch(k){case g:i=qx.ui.form.Slider.prototype._createChildControlImpl.call(this,k);i.addListener(a,function(e){e.stopPropagation();});};return i||qx.ui.form.Slider.prototype._createChildControlImpl.call(this,k);},getSizeHint:function(l){var m=qx.ui.form.Slider.prototype.getSizeHint.call(this);if(this.getOrientation()===c){m.width=0;}else {m.height=0;};return m;}}});})();(function(){var a="qx.ui.embed.AbstractIframe",b="name",c="Abstract method call",d="",f="about:blank",g="_applySource",h="navigate",i="qx.event.type.Event",j="String",k="_applyFrameName",l="qx.event.type.Data";qx.Class.define(a,{extend:qx.ui.core.Widget,construct:function(m){qx.ui.core.Widget.call(this);if(m){this.setSource(m);};this._getIframeElement().addListener(h,this.__mt,this);},events:{"load":i,"navigate":l},properties:{source:{check:j,apply:g,init:f},frameName:{check:j,init:d,apply:k}},members:{_getIframeElement:function(){throw new Error(c);},_applySource:function(o,n){this._getIframeElement().setSource(o);},_applyFrameName:function(q,p){this._getIframeElement().setAttribute(b,q);},getWindow:function(){return this._getIframeElement().getWindow();},getDocument:function(){return this._getIframeElement().getDocument();},getBody:function(){return this._getIframeElement().getBody();},getName:function(){return this._getIframeElement().getName();},reload:function(){this._getIframeElement().reload();},__mt:function(e){var r=e.getData();if(r){this.setSource(r);};this.fireDataEvent(h,r);}}});})();(function(){var a="resize",b="scroll",c="interval",d="horizontal",f="pointerdown",g="roll",h="qx.ui.embed.ThemedIframe",i="_updateScrollbars",j="iframe",k="scrollbarX",l="scrollbarY",m="scrollbar-y",n="load",o="off",p="corner",q="on",r="scrollarea",s="scrollbar-x",t="hidden",u="auto",v="vertical";qx.Class.define(h,{extend:qx.ui.embed.AbstractIframe,include:qx.ui.core.scroll.MRoll,construct:function(w){qx.ui.embed.AbstractIframe.call(this,w);var z=new qx.ui.layout.Grid();z.setColumnFlex(0,1);z.setRowFlex(0,1);this._setLayout(z);this._showChildControl(j);},properties:{appearance:{refine:true,init:r},scrollbarX:{check:[u,q,o],init:u,themeable:true,apply:i},scrollbarY:{check:[u,q,o],init:u,themeable:true,apply:i},scrollbar:{group:[k,l]}},members:{__mu:null,__mv:null,_getIframeElement:function(){return this.getChildControl(j).getContentElement();},_createChildControlImpl:function(C,B){var A;switch(C){case j:A=new qx.ui.embed.Iframe(this.getSource());A.addListener(n,this._onIframeLoad,this);A.addListener(a,this._onIframeResize,this);this._add(A,{row:0,column:0});break;case s:A=new qx.ui.core.scroll.ScrollBar(d);A.setMinWidth(0);A.exclude();A.addListener(b,this._onScrollBarX,this);this._add(A,{row:1,column:0});break;case m:A=new qx.ui.core.scroll.ScrollBar(v);A.setMinHeight(0);A.exclude();A.addListener(b,this._onScrollBarY,this);this._add(A,{row:0,column:1});break;case p:A=new qx.ui.core.Widget();A.setWidth(0);A.setHeight(0);A.exclude();this._add(A,{row:1,column:1});break;};return A||qx.ui.embed.AbstractIframe.prototype._createChildControlImpl.call(this,C);},_onIframeLoad:function(){this._disableScollbars();var D=this._getIframeElement().getBody();if(D){this._startIframeObserver();this._addRollListener();};this.fireEvent(n);},_onIframeResize:function(){this._updateScrollbars();},_disableScollbars:function(){this._excludeChildControl(s);this._excludeChildControl(m);this._excludeChildControl(p);this._stopIframeObserver();},_addRollListener:function(){try{var E=this._getIframeElement().getBody();qx.bom.Element.addListener(E,g,this._onRoll,this);qx.bom.Element.addListener(E,f,this._onPointerDownForRoll,this);}catch(e){this._disableScollbars();};},_startIframeObserver:function(){if(this.__mv){this._stopIframeObserver();};var F=qx.event.Idle.getInstance();this.__mv=F.addListener(c,this._onIframeObserverInterval,this);},_stopIframeObserver:function(){this.__mu=null;if(!this.__mv){return;};var G=qx.event.Idle.getInstance();G.removeListenerById(this.__mv);},_onIframeObserverInterval:function(){var H=this._getIframeSize();if(!H){this._disableScollbars();return;};if(this.__mu&&H.width==this.__mu.width&&H.height==this.__mu.height){return;};this.__mu=H;this._preventIframeScrolling();this._updateScrollbars();},_preventIframeScrolling:function(){try{var I=this._getIframeElement().getWindow();var J=this._getIframeElement().getDocument();if(qx.bom.Document.isStandardMode(I)){J.documentElement.style.overflow=t;}else {J.body.style.overflow=t;};}catch(e){this._disableScollbars();};},_updateScrollbars:function(){var K=this.__mu;var N=this.getChildControl(j).getBounds();var L=this.getChildControl(j).getInnerSize();if(!K||!L||!L){return;};var M=false;var Q=false;var O=this.getScrollbarX();var P=this.getScrollbarY();if(O===u&&P===u){var M=K.width>L.width;var Q=K.height>L.height;if((M||Q)&&!(M&&Q)){if(M){Q=K.height>N.height;}else if(Q){M=K.width>N.width;};};}else {var M=O===q;var Q=P===q;if(K.width>(M?N.width:L.width)&&O===u){M=true;};if(K.height>(M?N.height:L.height)&&P===u){Q=true;};};this._configureScrollbar(s,M,L.width,K.width);this._configureScrollbar(m,Q,L.height,K.height);this._updateCornerWidget();},_getIframeSize:function(){try{var R=this._getIframeElement().getWindow();var S={width:qx.bom.Document.getWidth(R),height:qx.bom.Document.getHeight(R)};return S;}catch(e){return null;};},_updateCornerWidget:function(){if(this._isChildControlVisible(s)&&this._isChildControlVisible(m)){this._showChildControl(p);}else {this._excludeChildControl(p);};},_configureScrollbar:function(T,U,X,W){if(!U){this._excludeChildControl(T);return;};var V=this._showChildControl(T);if(X>=W){V.set({position:0,maximum:W,knobFactor:1,enabled:false});}else {V.setMaximum(1000000);V.set({position:Math.min(V.getPosition(),W),maximum:W-X,knobFactor:X/W,enabled:true});};},_onScrollBarX:function(e){this.scrollToX(e.getData());},_onScrollBarY:function(e){this.scrollToY(e.getData());},scrollToX:function(x){try{var Y=this._getIframeElement().getWindow();Y.scroll(x,qx.bom.Viewport.getScrollTop(Y));}catch(e){this._disableScollbars();};},scrollToY:function(y){try{var ba=this._getIframeElement().getWindow();ba.scroll(qx.bom.Viewport.getScrollLeft(ba),y);}catch(e){this._disableScollbars();};}},destruct:function(){this._stopIframeObserver();this.__mu=null;}});})();(function(){var a="no",b="Boolean",c="px",d="event.help",f="gecko",g="auto",h="_applyScrollbar",i="__mx",j="DOMNodeInserted",k="load",l="_applyNativeHelp",m="yes",n="scrolling",o="/",p="help",q="pointerup",r="appear",s="pointerdown",t="engine.name",u="block",v="qx.ui.embed.Iframe",w="losecapture",x="contextmenu",y="none",z="iframe",A="display";qx.Class.define(v,{extend:qx.ui.embed.AbstractIframe,construct:function(B){if(B!=null){this.__mw=B;};qx.ui.embed.AbstractIframe.call(this,B);qx.event.Registration.addListener(document.body,s,this.block,this,true);qx.event.Registration.addListener(document.body,q,this.release,this,true);qx.event.Registration.addListener(document.body,w,this.release,this,true);this.__mx=this._createBlockerElement();if((qx.core.Environment.get(t)==f)){this.addListenerOnce(r,function(e){var C=this.getContentElement().getDomElement();qx.bom.Event.addNativeListener(C,j,this._onDOMNodeInserted);});this._onDOMNodeInserted=qx.lang.Function.listener(this._syncSourceAfterDOMMove,this);};},properties:{appearance:{refine:true,init:z},nativeContextMenu:{refine:true,init:false},nativeHelp:{check:b,init:false,apply:l},scrollbar:{check:[g,a,m],nullable:true,themeable:true,apply:h}},members:{__mw:null,__mx:null,renderLayout:function(H,top,F,D){qx.ui.embed.AbstractIframe.prototype.renderLayout.call(this,H,top,F,D);var G=c;var E=this.getInsets();this.__mx.setStyles({"left":(H+E.left)+G,"top":(top+E.top)+G,"width":(F-E.left-E.right)+G,"height":(D-E.top-E.bottom)+G});},_createContentElement:function(){var I=new qx.html.Iframe(this.__mw);I.addListener(k,this._onIframeLoad,this);return I;},_getIframeElement:function(){return this.getContentElement();},_createBlockerElement:function(){var J=new qx.html.Blocker();J.setStyles({"zIndex":20,"display":y});return J;},_onIframeLoad:function(e){this._applyNativeContextMenu(this.getNativeContextMenu(),null);this._applyNativeHelp(this.getNativeHelp(),null);this.fireNonBubblingEvent(k);},block:function(){this.__mx.setStyle(A,u);},release:function(){this.__mx.setStyle(A,y);},_applyNativeContextMenu:function(M,L){if(M!==false&&L!==false){return;};var K=this.getDocument();if(!K){return;};try{var N=K.documentElement;}catch(e){return;};if(L===false){qx.event.Registration.removeListener(N,x,this._onNativeContextMenu,this,true);};if(M===false){qx.event.Registration.addListener(N,x,this._onNativeContextMenu,this,true);};},_onNativeContextMenu:function(e){e.preventDefault();},_applyNativeHelp:function(P,O){if(qx.core.Environment.get(d)){var document=this.getDocument();if(!document){return;};try{if(O===false){qx.bom.Event.removeNativeListener(document,p,(function(){return false;}));};if(P===false){qx.bom.Event.addNativeListener(document,p,(function(){return false;}));};}catch(e){{};};};},_syncSourceAfterDOMMove:function(){var R=this.getContentElement().getDomElement();var Q=R.src;if(Q.charAt(Q.length-1)==o){Q=Q.substring(0,Q.length-1);};if(Q!=this.getSource()){qx.bom.Iframe.getWindow(R).stop();R.src=this.getSource();};},_applyScrollbar:function(S){this.getContentElement().setAttribute(n,S);},setLayoutParent:function(parent){qx.ui.embed.AbstractIframe.prototype.setLayoutParent.call(this,parent);if(parent){this.getLayoutParent().getContentElement().add(this.__mx);};}},destruct:function(){if(this.getLayoutParent()&&this.__mx.getParent()){this.getLayoutParent().getContentElement().remove(this.__mx);};this._disposeObjects(i);qx.event.Registration.removeListener(document.body,s,this.block,this,true);qx.event.Registration.removeListener(document.body,q,this.release,this,true);qx.event.Registration.removeListener(document.body,w,this.release,this,true);}});})();(function(){var a="source",b="element",c="name",d="qx.event.type.Event",f="iframe",g="qx.html.Iframe",h="navigate",i="qx.event.type.Data";qx.Class.define(g,{extend:qx.html.Element,construct:function(j,k,l){qx.html.Element.call(this,f,k,l);this.setSource(j);this.addListener(h,this.__mt,this);qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(b);},events:{"load":d,"navigate":i},members:{_applyProperty:function(name,n){qx.html.Element.prototype._applyProperty.call(this,name,n);if(name==a){var o=this.getDomElement();var m=qx.bom.Iframe.queryCurrentUrl(o);if(n===m){return;};qx.bom.Iframe.setSource(o,n);};},_createDomElement:function(){return qx.bom.Iframe.create(this._content);},getWindow:function(){var p=this.getDomElement();if(p){return qx.bom.Iframe.getWindow(p);}else {return null;};},getDocument:function(){var q=this.getDomElement();if(q){return qx.bom.Iframe.getDocument(q);}else {return null;};},getBody:function(){var r=this.getDomElement();if(r){return qx.bom.Iframe.getBody(r);}else {return null;};},setSource:function(s){this._setProperty(a,s,true);return this;},getSource:function(){return this._getProperty(a);},setName:function(name){this.setAttribute(c,name);return this;},getName:function(){return this.getAttribute(c);},reload:function(){var u=this.getDomElement();if(u){var t=this.getSource();this.setSource(null);this.setSource(t);};},__mt:function(e){var v=e.getData();if(v){this.setSource(v);};}}});})();(function(){var a="qx.event.handler.Iframe",b="load",c="iframe",d="navigate";qx.Class.define(a,{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(f){var e=qx.bom.Iframe.queryCurrentUrl(f);if(e!==f.$$url){qx.event.Registration.fireEvent(f,d,qx.event.type.Data,[e]);f.$$url=e;};qx.event.Registration.fireEvent(f,b);})},members:{canHandleEvent:function(h,g){return h.tagName.toLowerCase()===c;},registerEvent:function(k,j,i){},unregisterEvent:function(n,m,l){}},defer:function(o){qx.event.Registration.addHandler(o);}});})();(function(){var a="Iframe source could not be set!",b="contentDocument",c="engine.name",d="",e="qx.bom.Iframe",f="osx",g="qx.event.handler.Iframe.onevent(this)",h="os.name",i="webkit",j="load",k="iframe",l="body";qx.Class.define(e,{statics:{DEFAULT_ATTRIBUTES:{onload:g,frameBorder:0,frameSpacing:0,marginWidth:0,marginHeight:0,hspace:0,vspace:0,border:0,allowTransparency:true},create:function(m,p){var m=m?qx.lang.Object.clone(m):{};var n=qx.bom.Iframe.DEFAULT_ATTRIBUTES;for(var o in n){if(m[o]==null){m[o]=n[o];};};return qx.dom.Element.create(k,m,p);},getWindow:function(q){try{return q.contentWindow;}catch(r){return null;};},getDocument:function(t){if(b in t){try{return t.contentDocument;}catch(u){return null;};};try{var s=this.getWindow(t);return s?s.document:null;}catch(v){return null;};},getBody:function(x){try{var w=this.getDocument(x);return w?w.getElementsByTagName(l)[0]:null;}catch(y){return null;};},setSource:function(B,z){try{if(this.getWindow(B)&&qx.dom.Hierarchy.isRendered(B)){try{if((qx.core.Environment.get(c)==i)&&qx.core.Environment.get(h)==f){var A=this.getWindow(B);if(A){A.stop();};};this.getWindow(B).location.replace(z);}catch(C){B.src=z;};}else {B.src=z;};this.__my(B);}catch(D){qx.log.Logger.warn(a);};},queryCurrentUrl:function(F){var E=this.getDocument(F);try{if(E&&E.location){return E.location.href;};}catch(G){};return d;},__my:function(I){var H=function(){qx.bom.Event.removeNativeListener(I,j,H);I.$$url=qx.bom.Iframe.queryCurrentUrl(I);};qx.bom.Event.addNativeListener(I,j,H);}}});})();(function(){var a="indexOf",b="addAfter",c="add",d="addBefore",e="_",f="addAt",g="hasChildren",h="removeAt",i="removeAll",j="getChildren",k="remove",l="qx.ui.core.MRemoteChildrenHandling";qx.Mixin.define(l,{members:{__mz:function(q,m,o,n){var p=this.getChildrenContainer();if(p===this){q=e+q;};return (p[q])(m,o,n);},getChildren:function(){return this.__mz(j);},hasChildren:function(){return this.__mz(g);},add:function(s,r){return this.__mz(c,s,r);},remove:function(t){return this.__mz(k,t);},removeAll:function(){return this.__mz(i);},indexOf:function(u){return this.__mz(a,u);},addAt:function(x,v,w){this.__mz(f,x,v,w);},addBefore:function(y,A,z){this.__mz(d,y,A,z);},addAfter:function(D,B,C){this.__mz(b,D,B,C);},removeAt:function(E){return this.__mz(h,E);}}});})();(function(){var a="Could not set the model selection. Maybe your models are not unique? ",b="qx.ui.form.MModelSelection",c="change",d="__mA",f="changeSelection",g="qx.event.type.Data";qx.Mixin.define(b,{construct:function(){this.__mA=new qx.data.Array();this.__mA.addListener(c,this.__mD,this);this.addListener(f,this.__mC,this);},events:{changeModelSelection:g},members:{__mA:null,__mB:false,__mC:function(){if(this.__mB){return;};var l=this.getSelection();var m=[];for(var i=0;i1){this.__mF=[];for(var i=0;i0;var D=arguments.length>2;if(L||D){var B=qx.lang.Array.fromArguments(arguments,2);if(I.length==0){var M=b;var E=F+B.length;}else if(B.length==0){var M=l;var E=this.length-1;}else {var M=d;var E=F+Math.max(B.length,I.length)-1;};this.fireDataEvent(g,{start:F,end:E,type:M,added:B,removed:I},null);};for(var i=0;i=0;i-- ){this.__mF.unshift(arguments[i]);this.__mG();this.__mH(0,this.length);this.fireDataEvent(o,{value:[this.__mF[0]],name:m,old:[this.__mF[1]],item:this});this.fireDataEvent(g,{start:0,end:this.length-1,type:b,added:[arguments[i]],removed:[]},null);};return this.length;},toArray:function(){return this.__mF;},getItem:function(R){return this.__mF[R];},setItem:function(S,U){var T=this.__mF[S];if(T===U){return;};this.__mF[S]=U;this._registerEventChaining(U,T,S);if(this.length!=this.__mF.length){this.__mG();};this.fireDataEvent(o,{value:[U],name:S+f,old:[T],item:this});this.fireDataEvent(g,{start:S,end:S,type:d,added:[U],removed:[T]},null);},getLength:function(){return this.length;},indexOf:function(V){return this.__mF.indexOf(V);},lastIndexOf:function(W){return this.__mF.lastIndexOf(W);},toString:function(){if(this.__mF!=null){return this.__mF.toString();};return f;},contains:function(X){return this.__mF.indexOf(X)!==-1;},copy:function(){return this.concat();},insertAt:function(Y,ba){this.splice(Y,0,ba).dispose();},insertBefore:function(bc,bb){var bd=this.indexOf(bc);if(bd==-1){this.push(bb);}else {this.splice(bd,0,bb).dispose();};},insertAfter:function(bf,be){var bg=this.indexOf(bf);if(bg==-1||bg==(this.length-1)){this.push(be);}else {this.splice(bg+1,0,be).dispose();};},removeAt:function(bh){var bi=this.splice(bh,1);var bj=bi.getItem(0);bi.dispose();return bj;},removeAll:function(){for(var i=0;ibs){bs=this.getItem(i);};};return bs===undefined?null:bs;},min:function(){var bt=this.getItem(0);for(var i=1;iM){O=M;};this.stopScrollAnimation();if(L){var N=this.getScrollX();this.__mI=new qx.bom.AnimationFrame();this.__mI.on(o,function(){this.setScrollX(O);this.__mI=null;this.fireEvent(c);},this);this.__mI.on(i,function(Q){var P=parseInt(Q/L*(O-N)+N);this.setScrollX(P);},this);this.__mI.startSequence(L);}else {this.setScrollX(O);};},scrollToY:function(U,R){var S=this.getScrollMaxY();if(U<0){U=0;}else if(U>S){U=S;};this.stopScrollAnimation();if(R){var T=this.getScrollY();this.__mI=new qx.bom.AnimationFrame();this.__mI.on(o,function(){this.setScrollY(U);this.__mI=null;this.fireEvent(c);},this);this.__mI.on(i,function(W){var V=parseInt(W/R*(U-T)+T);this.setScrollY(V);},this);this.__mI.startSequence(R);}else {this.setScrollY(U);};},scrollByX:function(x,X){this.scrollToX(this.getScrollX()+x,X);},scrollByY:function(y,Y){this.scrollToY(this.getScrollY()+y,Y);},stopScrollAnimation:function(){if(this.__mI){this.__mI.cancelSequence();this.__mI=null;};},_applyScrollX:function(ba){this.getContentElement().scrollToX(ba);},_applyScrollY:function(bb){this.getContentElement().scrollToY(bb);}}});})();(function(){var a="qx.ui.layout.Grow";qx.Class.define(a,{extend:qx.ui.layout.Abstract,members:{verifyLayoutProperty:null,renderLayout:function(b,c,e){var h=this._getLayoutChildren();var g,j,f,d;for(var i=0,l=h.length;ij.maxWidth){f=j.maxWidth;};d=c;if(dj.maxHeight){d=j.maxHeight;};g.renderLayout(e.left,e.top,f,d);};},_computeSizeHint:function(){var r=this._getLayoutChildren();var p,t;var s=0,q=0;var o=0,m=0;var k=Infinity,n=Infinity;for(var i=0,l=r.length;i0?O[0]:this.__mP();},__mS:function(Q){var R=this.__mM;if(R==Q){return this.__mQ();};while(Q&&Q.getAnonymous()){Q=Q.getLayoutParent();};if(Q==null){return [];};var S=[];this.__mU(R,Q,S);S.sort(this.__mO);var T=S.length;return T>0?S[T-1]:this.__mQ();},__mT:function(parent,U,V){var X=parent.getLayoutChildren();var W;for(var i=0,l=X.length;i0){ba.push(bb);};this.__mU(bb,Y,ba);};};},__mV:function(parent,bd){var bf=parent.getLayoutChildren();var be;for(var i=0,l=bf.length;i0){bg=bh;};};bg=this.__mW(bh,bg);};};return bg;}},destruct:function(){this._disposeMap(h);this.__mL=this.__mK=this.__mM=null;}});})();(function(){var a="loadEnd",b="qx.io.request.AbstractRequest",c="changePhase",d="GET",f="sent",g="qx.event.type.Data",h="qx.io.request.authentication.IAuthentication",i="error",j="Blob",k="fail",l="loading",m="load",n="qx.event.type.Event",o="abort",p="success",q="String",r="",s="opened",t="POST",u="timeout",v="statusError",w="readyStateChange",x="Abstract method call",y="abstract",z="unsent",A="changeResponse",B="Number",C="FormData",D="Content-Type",E="ArrayBuffer",F="undefined";qx.Class.define(b,{type:y,extend:qx.core.Object,construct:function(G){qx.core.Object.call(this);if(G!==undefined){this.setUrl(G);};this.__mX={};var H=this._transport=this._createTransport();this._setPhase(z);this.__mY=qx.lang.Function.bind(this._onReadyStateChange,this);this.__na=qx.lang.Function.bind(this._onLoad,this);this.__nb=qx.lang.Function.bind(this._onLoadEnd,this);this.__nc=qx.lang.Function.bind(this._onAbort,this);this.__nd=qx.lang.Function.bind(this._onTimeout,this);this.__ne=qx.lang.Function.bind(this._onError,this);H.onreadystatechange=this.__mY;H.onload=this.__na;H.onloadend=this.__nb;H.onabort=this.__nc;H.ontimeout=this.__nd;H.onerror=this.__ne;},events:{"readyStateChange":n,"success":n,"load":n,"loadEnd":n,"abort":n,"timeout":n,"error":n,"statusError":n,"fail":n,"changeResponse":g,"changePhase":g},properties:{url:{check:q},timeout:{check:B,nullable:true,init:0},requestData:{check:function(I){return qx.lang.Type.isString(I)||qx.Class.isSubClassOf(I.constructor,qx.core.Object)||qx.lang.Type.isObject(I)||qx.lang.Type.isArray(I)||qx.Bootstrap.getClass(I)==j||qx.Bootstrap.getClass(I)==E||qx.Bootstrap.getClass(I)==C;},nullable:true},authentication:{check:h,nullable:true}},members:{__mY:null,__na:null,__nb:null,__nc:null,__nd:null,__ne:null,__nf:null,__ng:null,__nh:null,__mX:null,__ni:null,_transport:null,_createTransport:function(){throw new Error(x);},_getConfiguredUrl:function(){},_getConfiguredRequestHeaders:function(){},_getParsedResponse:function(){throw new Error(x);},_getMethod:function(){return d;},_isAsync:function(){return true;},send:function(){var M=this._transport,K,L,N,J;K=this._getConfiguredUrl();if(/\#/.test(K)){K=K.replace(/\#.*/,r);};M.timeout=this.getTimeout();L=this._getMethod();N=this._isAsync();{};M.open(L,K,N);this._setPhase(s);J=this.getRequestData();if([E,j,C].indexOf(qx.Bootstrap.getClass(J))==-1){J=this._serializeData(J);};this._setRequestHeaders();{};L==d?M.send():M.send(J);this._setPhase(f);},abort:function(){{};this.__ng=true;this.__nh=o;this._transport.abort();},_setRequestHeaders:function(){var P=this._transport,O=this._getAllRequestHeaders();for(var Q in O){P.setRequestHeader(Q,O[Q]);};},_getAllRequestHeaders:function(){var R={};qx.lang.Object.mergeWith(R,this._getConfiguredRequestHeaders());qx.lang.Object.mergeWith(R,this.__nj());qx.lang.Object.mergeWith(R,this.__ni);qx.lang.Object.mergeWith(R,this.__mX);return R;},__nj:function(){var T=this.getAuthentication(),S={};if(T){T.getAuthHeaders().forEach(function(U){S[U.key]=U.value;});return S;};},setRequestHeader:function(V,W){this.__mX[V]=W;},getRequestHeader:function(X){return this.__mX[X];},removeRequestHeader:function(Y){if(this.__mX[Y]){delete this.__mX[Y];};},getTransport:function(){return this._transport;},getReadyState:function(){return this._transport.readyState;},getPhase:function(){return this.__nh;},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(ba){return this._transport.getResponseHeader(ba);},overrideResponseContentType:function(bb){return this._transport.overrideMimeType(bb);},getResponseContentType:function(){return this.getResponseHeader(D);},isDone:function(){return this.getReadyState()===4;},getResponse:function(){return this.__nf;},_setResponse:function(bd){var bc=bd;if(this.__nf!==bd){this.__nf=bd;this.fireEvent(A,qx.event.type.Data,[this.__nf,bc]);};},_onReadyStateChange:function(){var be=this.getReadyState();{};this.fireEvent(w);if(this.__ng){return;};if(be===3){this._setPhase(l);};if(this.isDone()){this.__nk();};},__nk:function(){{};this._setPhase(m);if(qx.util.Request.isSuccessful(this.getStatus())){{};this._setResponse(this._getParsedResponse());this._fireStatefulEvent(p);}else {try{this._setResponse(this._getParsedResponse());}catch(e){};if(this.getStatus()!==0){this._fireStatefulEvent(v);this.fireEvent(k);};};},_onLoad:function(){this.fireEvent(m);},_onLoadEnd:function(){this.fireEvent(a);},_onAbort:function(){this._fireStatefulEvent(o);},_onTimeout:function(){this._fireStatefulEvent(u);this.fireEvent(k);},_onError:function(){this.fireEvent(i);this.fireEvent(k);},_fireStatefulEvent:function(bf){{};this._setPhase(bf);this.fireEvent(bf);},_setPhase:function(bg){var bh=this.__nh;{};this.__nh=bg;this.fireDataEvent(c,bg,bh);},_serializeData:function(bk){var bi=typeof this.getMethod!==F&&this.getMethod()==t,bj=/application\/.*\+?json/.test(this.getRequestHeader(D));if(!bk){return null;};if(qx.lang.Type.isString(bk)){return bk;};if(qx.Class.isSubClassOf(bk.constructor,qx.core.Object)){return qx.util.Serializer.toUriParameter(bk);};if(bj&&(qx.lang.Type.isObject(bk)||qx.lang.Type.isArray(bk))){return qx.lang.Json.stringify(bk);};if(qx.lang.Type.isObject(bk)){return qx.util.Uri.toParameter(bk,bi);};return null;}},environment:{"qx.debug.io":false},destruct:function(){var bm=this._transport,bl=function(){};if(this._transport){bm.onreadystatechange=bm.onload=bm.onloadend=bm.onabort=bm.ontimeout=bm.onerror=bl;window.setTimeout(function(){bm.dispose();},0);};}});})();(function(){var a="HEAD",b="CONNECT",c="OPTIONS",d="PUT",e="GET",f="PATCH",g="//",h="DELETE",i="POST",j="TRACE",k="qx.util.Request";qx.Bootstrap.define(k,{statics:{isCrossDomain:function(l){var n=qx.util.Uri.parseUri(l),location=window.location;if(!location){return false;};var m=location.protocol;if(!(l.indexOf(g)!==-1)){return false;};if(m.substr(0,m.length-1)==n.protocol&&location.host===n.host&&location.port===n.port){return false;};return true;},isSuccessful:function(status){return (status>=200&&status<300||status===304);},isMethod:function(p){var o=[e,i,d,h,a,c,j,b,f];return (o.indexOf(p)!==-1)?true:false;},methodAllowsRequestBody:function(q){return !((/^(GET|HEAD)$/).test(q));}}});})();(function(){var a="qx.util.Serializer",b='\\\\',c='\\f',d='"',e="null",f='\\"',g="}",h="get",j="{",k='\\r',l="",m='\\t',n="]",o="Class",p="Interface",q="[",r="Mixin",s='":',t="&",u='\\b',v="=",w='\\n',x=",";qx.Class.define(a,{statics:{toUriParameter:function(z,C,y){var E=l;var B=qx.util.PropertyUtil.getAllProperties(z.constructor);for(var name in B){if(B[name].group!=undefined){continue;};var A=z[h+qx.lang.String.firstUp(name)]();if(qx.lang.Type.isArray(A)){var D=qx.data&&qx.data.IListData&&qx.Class.hasInterface(A&&A.constructor,qx.data.IListData);for(var i=0;iqx.bom.request.Xhr.UNSENT){this.dispose();this.__ny();};this.__nu.onreadystatechange=this.__nm;try{{};this.__nu.open(V,R,S,U,T);}catch(W){if(!qx.util.Request.isCrossDomain(R)){throw W;};if(!this.__ns){this.__nt=W;};if(this.__ns){if(window.XDomainRequest){this.readyState=4;this.__nu=new XDomainRequest();this.__nu.onerror=qx.Bootstrap.bind(function(){this._emit(F);this._emit(m);this._emit(n);},this);{};this.__nu.open(V,R,S,U,T);return;};window.setTimeout(qx.Bootstrap.bind(function(){if(this.__nw){return;};this.readyState=4;this._emit(F);this._emit(m);this._emit(n);},this));};};if(qx.core.Environment.get(u)===E&&qx.core.Environment.get(s)<9&&this.__nu.readyState>0){this.__nu.setRequestHeader(f,j);};if(qx.core.Environment.get(u)===C&&parseInt(qx.core.Environment.get(g),10)<2&&!this.__ns){this.readyState=qx.bom.request.Xhr.OPENED;this._emit(F);};},setRequestHeader:function(X,Y){this.__nJ();if(X==D||X==f||X==c||X==J){this.__nq=true;};this.__nu.setRequestHeader(X,Y);return this;},send:function(bb){this.__nJ();if(!this.__ns&&this.__nt){throw this.__nt;};if(qx.core.Environment.get(u)===y&&this.timeout===0){this.timeout=10000;};if(this.timeout>0){this.__nv=window.setTimeout(this.__nd,this.timeout);};bb=typeof bb==O?null:bb;var ba=qx.Bootstrap.getClass(bb);bb=(bb!==null&&this.__nx.indexOf(ba)===-1)?bb.toString():bb;try{{};this.__nu.send(bb);}catch(bd){if(!this.__ns){throw bd;};if(this._getProtocol()===H){this.readyState=2;this.__nB();var bc=this;window.setTimeout(function(){if(bc.__nw){return;};bc.readyState=3;bc.__nB();bc.readyState=4;bc.__nB();});};};if(qx.core.Environment.get(u)===C&&!this.__ns){this.__nA();};this.__np=true;return this;},abort:function(){this.__nJ();this.__ng=true;this.__nu.abort();if(this.__nu){this.readyState=this.__nu.readyState;};return this;},_emit:function(event){if(this[M+event]){this[M+event]();};this._emitter.emit(event,this);},onreadystatechange:function(){},onload:function(){},onloadend:function(){},onerror:function(){},onabort:function(){},ontimeout:function(){},on:function(name,be,bf){this._emitter.on(name,be,bf);return this;},getResponseHeader:function(bg){this.__nJ();if(qx.core.Environment.get(s)===9&&this.__nu.aborted){return t;};return this.__nu.getResponseHeader(bg);},getAllResponseHeaders:function(){this.__nJ();if(qx.core.Environment.get(s)===9&&this.__nu.aborted){return t;};return this.__nu.getAllResponseHeaders();},overrideMimeType:function(bh){this.__nJ();if(this.__nu.overrideMimeType){this.__nu.overrideMimeType(bh);}else {throw new Error(P);};return this;},getRequest:function(){return this.__nu;},dispose:function(){if(this.__nw){return false;};window.clearTimeout(this.__nv);if(window.detachEvent){window.detachEvent(h,this.__no);};try{this.__nu.onreadystatechange;}catch(bj){return false;};var bi=function(){};this.__nu.onreadystatechange=bi;this.__nu.onload=bi;this.__nu.onerror=bi;this.abort();this.__nu=null;this.__nw=true;return true;},isDisposed:function(){return !!this.__nw;},_createNativeXhr:function(){var bk=qx.core.Environment.get(L);if(bk===d){return new XMLHttpRequest();};if(bk==a){return new window.ActiveXObject(v);};qx.Bootstrap.error(this,b);},_getProtocol:function(){var bl=this.__nr;var bm=/^(\w+:)\/\//;if(bl!==null&&bl.match){var bn=bl.match(bm);if(bn&&bn[1]){return bn[1];};};return window.location.protocol;},__nu:null,__ns:null,__nm:null,__nn:null,__no:null,__nd:null,__np:null,__nr:null,__ng:null,__fV:null,__nw:null,__nv:null,__nt:null,__nq:null,__nx:null,__ny:function(){this.__nu=this._createNativeXhr();this.__nu.onreadystatechange=this.__nm;if(this.__nu.onabort){this.__nu.onabort=this.__nn;};this.__nw=this.__np=this.__ng=false;this.__nx=[N,o,l,r,I];},__nz:function(){if(!this.__ng){this.abort();};},__nA:function(){var bo=this.__nu,bp=true;{};if(this.readyState==bo.readyState){return;};this.readyState=bo.readyState;if(this.readyState===qx.bom.request.Xhr.DONE&&this.__ng&&!this.__np){return;};if(!this.__ns&&(bo.readyState==2||bo.readyState==3)){return;};this.status=0;this.statusText=this.responseText=t;this.responseXML=null;if(this.readyState>=qx.bom.request.Xhr.HEADERS_RECEIVED){try{this.status=bo.status;this.statusText=bo.statusText;this.responseText=bo.responseText;this.responseXML=bo.responseXML;}catch(bq){bp=false;};if(bp){this.__nF();this.__nG();};};this.__nB();if(this.readyState==qx.bom.request.Xhr.DONE){if(bo){bo.onreadystatechange=function(){};};};},__nB:function(){if(this.readyState===qx.bom.request.Xhr.DONE){window.clearTimeout(this.__nv);};this._emit(F);if(this.readyState===qx.bom.request.Xhr.DONE){this.__nC();};},__nC:function(){if(this.__fV){this._emit(B);if(qx.core.Environment.get(u)===y){this._emit(m);};this.__fV=false;}else {if(this.__ng){this._emit(q);}else {if(this.__nD()){this._emit(m);}else {this._emit(p);};};};this._emit(n);},__nD:function(){var br;if(this._getProtocol()===H){br=!this.responseText;}else {br=!this.statusText&&this.status!==204;};return br;},__nE:function(){var bs=this.__nu;this.readyState=qx.bom.request.Xhr.DONE;this.__fV=true;bs.aborted=true;bs.abort();this.responseText=t;this.responseXML=null;this.__nB();},__nF:function(){var bt=this.readyState===qx.bom.request.Xhr.DONE;if(this._getProtocol()===H&&this.status===0&&bt){if(!this.__nD()){this.status=200;};};if(this.status===1223){this.status=204;};if(qx.core.Environment.get(u)===y){if(bt&&this.__nq&&!this.__ng&&this.status===0){this.status=304;};};},__nG:function(){if(qx.core.Environment.get(u)==E&&(this.getResponseHeader(K)||t).match(/[^\/]+\/[^\+]+\+xml/)&&this.responseXML&&!this.responseXML.documentElement){var bu=new window.ActiveXObject(G);bu.async=false;bu.validateOnParse=false;bu.loadXML(this.responseText);this.responseXML=bu;};},__nH:function(){try{if(this){this.dispose();};}catch(e){};},__nI:function(){var name=qx.core.Environment.get(u);var bv=qx.core.Environment.get(x);return !(name==E&&bv<9||name==C&&bv<3.5);},__nJ:function(){if(this.__nw){throw new Error(w);};}},defer:function(){qx.core.Environment.add(k,false);}});})();(function(){var a="function",b="qx.util.ResponseParser",c="";qx.Bootstrap.define(b,{construct:function(d){if(d!==undefined){this.setParser(d);};},statics:{PARSER:{json:qx.lang.Json.parse,xml:qx.xml.Document.fromString}},members:{__nK:null,parse:function(g,f){var e=this._getParser(f);if(typeof e===a){if(g!==c){return e.call(this,g);};};return g;},setParser:function(h){if(typeof qx.util.ResponseParser.PARSER[h]===a){return this.__nK=qx.util.ResponseParser.PARSER[h];};{};return this.__nK=h;},_getParser:function(j){var i=this.__nK,l=c,k=c;if(i){return i;};l=j||c;k=l.replace(/;.*$/,c);if(/^application\/(\w|\.)*\+?json$/.test(k)){i=qx.util.ResponseParser.PARSER.json;};if(/^application\/xml$/.test(k)){i=qx.util.ResponseParser.PARSER.xml;};if(/[^\/]+\/[^\+]+\+xml$/.test(l)){i=qx.util.ResponseParser.PARSER.xml;};return i;}}});})();(function(){var a="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 a="qx.ui.core.MRemoteLayoutHandling";qx.Mixin.define(a,{members:{setLayout:function(b){this.getChildrenContainer().setLayout(b);},getLayout:function(){return this.getChildrenContainer().getLayout();}}});})();(function(){var a="qx.ui.container.SlideBar",b="scrollY",c="button-backward",d="horizontal",f="update",g="scrollX",h="_applyOrientation",i="button-forward",j="scrollAnimationEnd",k="content",l="mouse",m="qx.event.type.Event",n="scrollpane",o="vertical",p="Integer",q="slidebar",r="roll",s="execute";qx.Class.define(a,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MRemoteLayoutHandling],construct:function(t){qx.ui.core.Widget.call(this);var u=this.getChildControl(n);this._add(u,{flex:1});if(t!=null){this.setOrientation(t);}else {this.initOrientation();};this.addListener(r,this._onRoll,this);},properties:{appearance:{refine:true,init:q},orientation:{check:[d,o],init:d,apply:h},scrollStep:{check:p,init:15,themeable:true}},events:{scrollAnimationEnd:m},members:{getChildrenContainer:function(){return this.getChildControl(k);},_createChildControlImpl:function(x,w){var v;switch(x){case i:v=new qx.ui.form.RepeatButton;v.addListener(s,this._onExecuteForward,this);v.setFocusable(false);this._addAt(v,2);break;case c:v=new qx.ui.form.RepeatButton;v.addListener(s,this._onExecuteBackward,this);v.setFocusable(false);this._addAt(v,0);break;case k:v=new qx.ui.container.Composite();this.getChildControl(n).add(v);break;case n:v=new qx.ui.core.scroll.ScrollPane();v.addListener(f,this._onResize,this);v.addListener(g,this._onScroll,this);v.addListener(b,this._onScroll,this);v.addListener(j,this._onScrollAnimationEnd,this);break;};return v||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,x);},_forwardStates:{barLeft:true,barTop:true,barRight:true,barBottom:true},scrollBy:function(A,y){var z=this.getChildControl(n);if(this.getOrientation()===d){z.scrollByX(A,y);}else {z.scrollByY(A,y);};},scrollTo:function(C,B){var D=this.getChildControl(n);if(this.getOrientation()===d){D.scrollToX(C,B);}else {D.scrollToY(C,B);};},_applyEnabled:function(F,E,name){qx.ui.core.Widget.prototype._applyEnabled.call(this,F,E,name);this._updateArrowsEnabled();},_applyOrientation:function(J,H){var I=[this.getLayout(),this._getLayout()];var K=this.getChildControl(i);var G=this.getChildControl(c);if(H==o&&J==d){K.removeState(o);G.removeState(o);K.addState(d);G.addState(d);}else if(H==d&&J==o){K.removeState(d);G.removeState(d);K.addState(o);G.addState(o);};if(J==d){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(I[0]){I[0].dispose();};if(I[1]){I[1].dispose();};},_onRoll:function(e){if(e.getPointerType()==l){return;};var O=0;var N=this.getChildControl(n);if(this.getOrientation()===d){O=e.getDelta().x;var P=N.getScrollX();var L=N.getScrollMaxX();var M=parseInt(O);if(!(M<0&&P<=0||M>0&&P>=L||O==0)){e.stop();}else {e.stopMomentum();};}else {O=e.getDelta().y;var P=N.getScrollY();var L=N.getScrollMaxY();var M=parseInt(O);if(!(M<0&&P<=0||M>0&&P>=L||O==0)){e.stop();}else {e.stopMomentum();};};this.scrollBy(parseInt(O,10));if(e.getMomentum()){e.stop();};},_onScroll:function(){this._updateArrowsEnabled();},_onScrollAnimationEnd:function(){this.fireEvent(j);},_onResize:function(e){var content=this.getChildControl(n).getChildren()[0];if(!content){return;};var Q=this.getInnerSize();var S=content.getBounds();var R=(this.getOrientation()===d)?S.width>Q.width:S.height>Q.height;if(R){this._showArrows();this._updateArrowsEnabled();}else {this._hideArrows();};},_onExecuteBackward:function(){this.scrollBy(-this.getScrollStep());},_onExecuteForward:function(){this.scrollBy(this.getScrollStep());},_updateArrowsEnabled:function(){if(!this.getEnabled()){this.getChildControl(c).setEnabled(false);this.getChildControl(i).setEnabled(false);return;};var U=this.getChildControl(n);if(this.getOrientation()===d){var T=U.getScrollX();var V=U.getScrollMaxX();}else {var T=U.getScrollY();var V=U.getScrollMaxY();};this.getChildControl(c).setEnabled(T>0);this.getChildControl(i).setEnabled(TE.maxHeight){G=E.maxHeight;};if(F&this.RESIZE_TOP){top+=H.height-G;};};if((F&this.RESIZE_LEFT)||(F&this.RESIZE_RIGHT)){K=Math.max(I.left,Math.min(I.right,e.getDocumentLeft()))-this.__nO;if(F&this.RESIZE_LEFT){J-=K;}else {J+=K;};if(JE.maxWidth){J=E.maxWidth;};if(F&this.RESIZE_LEFT){L+=H.width-J;};};return {viewportLeft:L,viewportTop:top,parentLeft:H.bounds.left+L-H.left,parentTop:H.bounds.top+top-H.top,width:J,height:G};},__nU:{'1':f,'2':x,'4':b,'8':k,'5':q,'6':d,'9':h,'10':i},__nV:function(e){var location=this.getContentLocation();var O=this.getResizeSensitivity();var N=e.getDocumentLeft();var P=e.getDocumentTop();var M=this.__nW(location,N,P,O);if(M>0){M=M|this.__nW(location,N,P,O*2);};this.__nN=M;},__nW:function(location,T,R,S){var Q=0;if(this.getResizableTop()&&Math.abs(location.top-R)location.left-S&&Tlocation.left-S&&Tlocation.top-S&&Rlocation.top-S&&R=0;i-- ){if(!s[i].getEnabled()){s.splice(i,1);};};};return s;},__om:function(u,t){if(!u){this.__on(this.__ol);};},__on:function(v){var y=this.__ol;var w=v;if(w!=null&&y===w){return;};if(!this.isAllowEmptySelection()&&w==null){var x=this.getSelectables(true)[0];if(x){w=x;};};this.__ol=w;this.fireDataEvent(k,w,y);},__oo:function(z){var A=this.__ok.getItems();for(var i=0;i0&&!this.getSelection()[0]){this.setSelection([v[0]]);};},remove:function(w){var x=this.__op;if(qx.lang.Array.contains(x,w)){qx.lang.Array.remove(x,w);if(w.getGroup()===this){w.resetGroup();};w.removeListener(o,this._onItemChangeChecked,this);if(w.getValue()){this.resetSelection();};};},getChildren:function(){return this.__op;},_onItemChangeChecked:function(e){var y=e.getTarget();if(y.getValue()){this.setSelection([y]);}else if(this.getSelection()[0]==y){this.resetSelection();};},_applyInvalidMessage:function(A,z){for(var i=0;i1){J.push(M);};if(N.colSpan>1){G.push(M);};};for(var y=0;y<=I;y++ ){if(L[y]==undefined){L[y]=[];};};this.__ot=L;this.__ou=G;this.__ov=J;this.__ow=I;this.__ox=F;this.__oy=null;this.__oz=null;delete this._invalidChildrenCache;},_setRowData:function(S,Q,R){var P=this.__or[S];if(!P){this.__or[S]={};this.__or[S][Q]=R;}else {P[Q]=R;};},_setColumnData:function(T,V,W){var U=this.__os[T];if(!U){this.__os[T]={};this.__os[T][V]=W;}else {U[V]=W;};},setSpacing:function(X){this.setSpacingY(X);this.setSpacingX(X);return this;},setColumnAlign:function(Y,ba,bb){{};this._setColumnData(Y,c,ba);this._setColumnData(Y,d,bb);this._applyLayoutChange();return this;},getColumnAlign:function(bc){var bd=this.__os[bc]||{};return {vAlign:bd.vAlign||r,hAlign:bd.hAlign||A};},setRowAlign:function(bf,be,bg){{};this._setRowData(bf,c,be);this._setRowData(bf,d,bg);this._applyLayoutChange();return this;},getRowAlign:function(bi){var bh=this.__or[bi]||{};return {vAlign:bh.vAlign||r,hAlign:bh.hAlign||A};},getCellWidget:function(bk,bj){if(this._invalidChildrenCache){this.__oA();};var bk=this.__ot[bk]||{};return bk[bj]||null;},getRowCount:function(){if(this._invalidChildrenCache){this.__oA();};return this.__ow+1;},getColumnCount:function(){if(this._invalidChildrenCache){this.__oA();};return this.__ox+1;},getCellAlign:function(bs,bm){var br=r;var bp=A;var bq=this.__or[bs];var bn=this.__os[bm];var bl=this.__ot[bs][bm];if(bl){var bo={vAlign:bl.getAlignY(),hAlign:bl.getAlignX()};}else {bo={};};if(bo.vAlign){br=bo.vAlign;}else if(bq&&bq.vAlign){br=bq.vAlign;}else if(bn&&bn.vAlign){br=bn.vAlign;};if(bo.hAlign){bp=bo.hAlign;}else if(bn&&bn.hAlign){bp=bn.hAlign;}else if(bq&&bq.hAlign){bp=bq.hAlign;};return {vAlign:br,hAlign:bp};},setColumnFlex:function(bt,bu){this._setColumnData(bt,z,bu);this._applyLayoutChange();return this;},getColumnFlex:function(bv){var bw=this.__os[bv]||{};return bw.flex!==undefined?bw.flex:0;},setRowFlex:function(by,bx){this._setRowData(by,z,bx);this._applyLayoutChange();return this;},getRowFlex:function(bB){var bz=this.__or[bB]||{};var bA=bz.flex!==undefined?bz.flex:0;return bA;},setColumnMaxWidth:function(bC,bD){this._setColumnData(bC,B,bD);this._applyLayoutChange();return this;},getColumnMaxWidth:function(bE){var bF=this.__os[bE]||{};return bF.maxWidth!==undefined?bF.maxWidth:Infinity;},setColumnWidth:function(bG,bH){this._setColumnData(bG,o,bH);this._applyLayoutChange();return this;},getColumnWidth:function(bI){var bJ=this.__os[bI]||{};return bJ.width!==undefined?bJ.width:null;},setColumnMinWidth:function(bK,bL){this._setColumnData(bK,w,bL);this._applyLayoutChange();return this;},getColumnMinWidth:function(bM){var bN=this.__os[bM]||{};return bN.minWidth||0;},setRowMaxHeight:function(bP,bO){this._setRowData(bP,m,bO);this._applyLayoutChange();return this;},getRowMaxHeight:function(bR){var bQ=this.__or[bR]||{};return bQ.maxHeight||Infinity;},setRowHeight:function(bS,bT){this._setRowData(bS,b,bT);this._applyLayoutChange();return this;},getRowHeight:function(bV){var bU=this.__or[bV]||{};return bU.height!==undefined?bU.height:null;},setRowMinHeight:function(bX,bW){this._setRowData(bX,s,bW);this._applyLayoutChange();return this;},getRowMinHeight:function(ca){var bY=this.__or[ca]||{};return bY.minHeight||0;},__oB:function(cc){var cb=cc.getSizeHint();var ce=cc.getMarginLeft()+cc.getMarginRight();var cd=cc.getMarginTop()+cc.getMarginBottom();var cf={height:cb.height+cd,width:cb.width+ce,minHeight:cb.minHeight+cd,minWidth:cb.minWidth+ce,maxHeight:cb.maxHeight+cd,maxWidth:cb.maxWidth+ce};return cf;},_fixHeightsRowSpan:function(cA){var cm=this.getSpacingY();for(var i=0,l=this.__ov.length;i0){cj[cn]={min:cw.minHeight,value:cw.height,max:cw.maxHeight,flex:cy};};cx+=cw.height;cg+=cw.minHeight;};if(cx0){cI[cJ]={min:cM.minWidth,value:cM.width,max:cM.maxWidth,flex:cL};};cN+=cM.width;cG+=cM.minWidth;};if(cN1){continue;};var cW=this.__oB(cP);if(this.getRowFlex(da)>0){cS=Math.max(cS,cW.minHeight);}else {cS=Math.max(cS,cW.height);};cU=Math.max(cU,cW.height);};var cS=Math.max(cS,this.getRowMinHeight(da));var cT=this.getRowMaxHeight(da);if(this.getRowHeight(da)!==null){var cU=this.getRowHeight(da);}else {var cU=Math.max(cS,Math.min(cU,cT));};cY[da]={minHeight:cS,height:cU,maxHeight:cT};};if(this.__ov.length>0){this._fixHeightsRowSpan(cY);};this.__oy=cY;return cY;},_getColWidths:function(){if(this.__oz!=null){return this.__oz;};var df=[];var dc=this.__ox;var de=this.__ow;for(var dk=0;dk<=dc;dk++ ){var di=0;var dh=0;var dd=Infinity;for(var dl=0;dl<=de;dl++ ){var db=this.__ot[dl][dk];if(!db){continue;};var dg=db.getLayoutProperties().colSpan||0;if(dg>1){continue;};var dj=this.__oB(db);if(this.getColumnFlex(dk)>0){dh=Math.max(dh,dj.minWidth);}else {dh=Math.max(dh,dj.width);};di=Math.max(di,dj.width);};dh=Math.max(dh,this.getColumnMinWidth(dk));dd=this.getColumnMaxWidth(dk);if(this.getColumnWidth(dk)!==null){var di=this.getColumnWidth(dk);}else {var di=Math.max(dh,Math.min(di,dd));};df[dk]={minWidth:dh,width:di,maxWidth:dd};};if(this.__ou.length>0){this._fixWidthsColSpan(df);};this.__oz=df;return df;},_getColumnFlexOffsets:function(dq){var dm=this.getSizeHint();var ds=dq-dm.width;if(ds==0){return {};};var dp=this._getColWidths();var dn={};for(var i=0,l=dp.length;i0)||(dt.width==dt.minWidth&&ds<0)){continue;};dn[i]={min:dt.minWidth,value:dt.width,max:dt.maxWidth,flex:dr};};return qx.ui.layout.Util.computeFlexOffsets(dn,dq,dm.width);},_getRowFlexOffsets:function(dw){var du=this.getSizeHint();var dy=dw-du.height;if(dy==0){return {};};var dx=this._getRowHeights();var dv={};for(var i=0,l=dx.length;i0)||(dA.height==dA.minHeight&&dy<0)){continue;};dv[i]={min:dA.minHeight,value:dA.height,max:dA.maxHeight,flex:dz};};return qx.ui.layout.Util.computeFlexOffsets(dv,dw,du.height);},renderLayout:function(dV,dB,dU){if(this._invalidChildrenCache){this.__oA();};var dP=qx.ui.layout.Util;var dD=this.getSpacingX();var dJ=this.getSpacingY();var dT=this._getColWidths();var dW=this._getColumnFlexOffsets(dV);var dE=[];var dY=this.__ox;var dC=this.__ow;var dX;for(var ea=0;ea<=dY;ea++ ){dX=dW[ea]?dW[ea].offset:0;dE[ea]=dT[ea].width+dX;};var dM=this._getRowHeights();var dO=this._getRowFlexOffsets(dB);var eg=[];for(var dK=0;dK<=dC;dK++ ){dX=dO[dK]?dO[dK].offset:0;eg[dK]=dM[dK].height+dX;};var ee=0;for(var ea=0;ea<=dY;ea++ ){var top=0;for(var dK=0;dK<=dC;dK++ ){var dR=this.__ot[dK][ea];if(!dR){top+=eg[dK]+dJ;continue;};var dF=dR.getLayoutProperties();if(dF.row!==dK||dF.column!==ea){top+=eg[dK]+dJ;continue;};var ef=dD*(dF.colSpan-1);for(var i=0;i0){ei+=ep.minWidth;}else {ei+=ep.width;};eq+=ep.width;};var er=this._getRowHeights();var el=0,em=0;for(var i=0,l=er.length;i0){el+=es.minHeight;}else {el+=es.height;};em+=es.height;};var eo=this.getSpacingX()*(ek.length-1);var en=this.getSpacingY()*(er.length-1);var ej={minWidth:ei+eo,width:eq+eo,minHeight:el+en,height:em+en};return ej;}},destruct:function(){this.__ot=this.__or=this.__os=this.__ou=this.__ov=this.__oz=this.__oy=null;}});})();(function(){var a="_applyOverflowX",b="_applyOverflowY",c="auto",d="overflowX",e="visible",f="hidden",g="qx.ui.core.MNativeOverflow",h="scroll",i="overflowY";qx.Mixin.define(g,{properties:{overflowX:{check:[f,e,h,c],nullable:true,apply:a},overflowY:{check:[f,e,h,c],nullable:true,apply:b},overflow:{group:[d,i]}},members:{_applyOverflowX:function(j){this.getContentElement().setStyle(d,j);},_applyOverflowY:function(k){this.getContentElement().setStyle(i,k);}}});})();(function(){var a="mshtml",b="engine.name",c="relative",d="",e="text",f="none",g="position",h="webkit",i="changeHtml",j="_applyCssClass",k="qx.ui.embed.Html",l="_applyHtml",m="userSelect",n="color",o="String",p="browser.documentmode",q="html";qx.Class.define(k,{extend:qx.ui.core.Widget,include:[qx.ui.core.MNativeOverflow],construct:function(r){qx.ui.core.Widget.call(this);if(r!=null){this.setHtml(r);};},properties:{html:{check:o,apply:l,event:i,nullable:true},cssClass:{check:o,init:d,apply:j},selectable:{refine:true,init:true},focusable:{refine:true,init:true}},members:{getFocusElement:function(){return this.getContentElement();},_applyHtml:function(u,s){var t=this.getContentElement();if(qx.core.Environment.get(b)==a&&qx.core.Environment.get(p)==9){t.setStyle(g,c);};t.setAttribute(q,u||d);},_applyCssClass:function(w,v){this.getContentElement().removeClass(v);this.getContentElement().addClass(w);},_applySelectable:function(x){qx.ui.core.Widget.prototype._applySelectable.call(this,x);if((qx.core.Environment.get(b)==h)){this.getContentElement().setStyle(m,x?e:f);};},_applyFont:function(A,z){var y=A?qx.theme.manager.Font.getInstance().resolve(A).getStyles():qx.bom.Font.getDefaultStyles();if(this.getTextColor()!=null){delete y[n];};this.getContentElement().setStyles(y);},_applyTextColor:function(C,B){if(C){this.getContentElement().setStyle(n,qx.theme.manager.Color.getInstance().resolve(C));}else {this.getContentElement().removeStyle(n);};}}});})();(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);},unblock:function(){},isBlocked:function(){}}});})();(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="__oC",b="qx.ui.window.Manager";qx.Class.define(b,{extend:qx.core.Object,implement:qx.ui.window.IWindowManager,members:{__oC:null,setDesktop:function(c){this.__oC=c;this.updateStack();},getDesktop:function(){return this.__oC;},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.__oC.forceUnblock();var h=this.__oC.getWindows();var g=this._minZIndex;var m=g+h.length*2;var j=g+h.length*4;var k=null;for(var i=0,l=h.length;ik.getZIndex()){k=f;};};this.__oC.setActiveWindow(k);},bringToFront:function(o){var n=this.__oC.getWindows();var p=qx.lang.Array.remove(n,o);if(p){n.push(o);this.updateStack();};},sendToBack:function(r){var q=this.__oC.getWindows();var s=qx.lang.Array.remove(q,r);if(s){q.unshift(r);this.updateStack();};}},destruct:function(){this._disposeObjects(a);}});})();(function(){var a="pointerup",b="Boolean",c="losecapture",d="move",f="qx.ui.core.MMovable",g="__oE",h="The move handle could not be redefined!",i="__oD",j="pointerdown",k="maximized",l="pointermove",m="roll",n="move-frame";qx.Mixin.define(f,{properties:{movable:{check:b,init:true},useMoveFrame:{check:b,init:false}},members:{__oD:null,__oE:null,__oF:null,__oG:null,__oH:null,__oI:null,__oJ:null,__oK:false,__oL:null,__oM:0,_activateMoveHandle:function(o){if(this.__oD){throw new Error(h);};this.__oD=o;o.addListener(j,this._onMovePointerDown,this);o.addListener(a,this._onMovePointerUp,this);o.addListener(l,this._onMovePointerMove,this);o.addListener(c,this.__oQ,this);},__oN:function(){var p=this.__oE;if(!p){p=this.__oE=new qx.ui.core.Widget();p.setAppearance(n);p.exclude();qx.core.Init.getApplication().getRoot().add(p);};return p;},__oO:function(){var location=this.getContentLocation();var r=this.getBounds();var q=this.__oN();q.setUserBounds(location.left,location.top,r.width,r.height);q.show();q.setZIndex(this.getZIndex()+1);},__oP:function(e){var t=this.__oF;var s=Math.max(t.left,Math.min(t.right,e.getDocumentLeft()));var v=Math.max(t.top,Math.min(t.bottom,e.getDocumentTop()));var u=this.__oG+s;var w=this.__oH+v;return {viewportLeft:parseInt(u,10),viewportTop:parseInt(w,10),parentLeft:parseInt(u-this.__oI,10),parentTop:parseInt(w-this.__oJ,10)};},_onMoveRoll:function(e){e.stop();},_onMovePointerDown:function(e){if(!this.getMovable()||this.hasState(k)){return;};this.addListener(m,this._onMoveRoll,this);var parent=this.getLayoutParent();var x=parent.getContentLocation();var z=parent.getBounds();if(qx.Class.implementsInterface(parent,qx.ui.window.IDesktop)){if(!parent.isBlocked()){this.__oL=parent.getBlockerColor();this.__oM=parent.getBlockerOpacity();parent.setBlockerColor(null);parent.setBlockerOpacity(1);parent.blockContent(this.getZIndex()-1);this.__oK=true;};};this.__oF={left:x.left,top:x.top,right:x.left+z.width,bottom:x.top+z.height};var y=this.getContentLocation();this.__oI=x.left;this.__oJ=x.top;this.__oG=y.left-e.getDocumentLeft();this.__oH=y.top-e.getDocumentTop();this.addState(d);this.__oD.capture();if(this.getUseMoveFrame()){this.__oO();};e.stop();},_onMovePointerMove:function(e){if(!this.hasState(d)){return;};var B=this.__oP(e);if(this.getUseMoveFrame()){this.__oN().setDomPosition(B.viewportLeft,B.viewportTop);}else {var A=this.getLayoutParent().getInsets();this.setDomPosition(B.parentLeft-(A.left||0),B.parentTop-(A.top||0));};e.stopPropagation();},_onMovePointerUp:function(e){if(this.hasListener(m,this._onMoveRoll,this)){this.removeListener(m,this._onMoveRoll,this);};if(!this.hasState(d)){return;};this.removeState(d);var parent=this.getLayoutParent();if(qx.Class.implementsInterface(parent,qx.ui.window.IDesktop)){if(this.__oK){parent.unblock();parent.setBlockerColor(this.__oL);parent.setBlockerOpacity(this.__oM);this.__oL=null;this.__oM=0;this.__oK=false;};};this.__oD.releaseCapture();var D=this.__oP(e);var C=this.getLayoutParent().getInsets();this.setLayoutProperties({left:D.parentLeft-(C.left||0),top:D.parentTop-(C.top||0)});if(this.getUseMoveFrame()){this.__oN().exclude();};e.stopPropagation();},__oQ:function(e){if(!this.hasState(d)){return;};this.removeState(d);if(this.getUseMoveFrame()){this.__oN().exclude();};}},destruct:function(){this._disposeObjects(g,i);this.__oF=null;}});})();(function(){var a="beforeClose",b="beforeMinimize",c="Boolean",d="window-resize-frame",f="changeStatus",g="changeIcon",h="excluded",i="_applyModal",j="execute",k="restore-button",l="_applyActive",m="minimize-button",n="qx.event.type.Event",o="close-button",p="beforeRestore",q="statusbar",r="captionbar",s="String",t="minimize",u="dbltap",v="modal",w="changeModal",x="title",y="icon",z="showStatusbar",A="changeAlwaysOnTop",B="_applyShowStatusbar",C="pointerdown",D="maximized",E="_applyStatus",F="qx.ui.window.Window",G="normal",H="changeCaption",I="engine.name",J="statusbar-text",K="focusout",L="beforeMaximize",M="maximize",N="maximize-button",O="restore",P="window",Q="pane",R="close",S="changeActive",T="mshtml",U="_applyCaptionBarChange",V="active",W="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(X,Y){qx.ui.core.Widget.call(this);this._setLayout(new qx.ui.layout.VBox());this._createChildControl(r);this._createChildControl(Q);if(Y!=null){this.setIcon(Y);};if(X!=null){this.setCaption(X);};this._updateCaptionBar();this.addListener(C,this._onWindowPointerDown,this,true);this.addListener(K,this._onWindowFocusOut,this);qx.core.Init.getApplication().getRoot().add(this);this.initVisibility();qx.ui.core.FocusHandler.getInstance().addRoot(this);this._getResizeFrame().setAppearance(d);},statics:{DEFAULT_MANAGER_CLASS:qx.ui.window.Manager},events:{"beforeClose":n,"close":n,"beforeMinimize":n,"minimize":n,"beforeMaximize":n,"maximize":n,"beforeRestore":n,"restore":n},properties:{appearance:{refine:true,init:P},visibility:{refine:true,init:h},focusable:{refine:true,init:true},active:{check:c,init:false,apply:l,event:S},alwaysOnTop:{check:c,init:false,event:A},modal:{check:c,init:false,event:w,apply:i},caption:{apply:U,event:H,nullable:true},icon:{check:s,nullable:true,apply:U,event:g,themeable:true},status:{check:s,nullable:true,apply:E,event:f},showClose:{check:c,init:true,apply:U,themeable:true},showMaximize:{check:c,init:true,apply:U,themeable:true},showMinimize:{check:c,init:true,apply:U,themeable:true},allowClose:{check:c,init:true,apply:U},allowMaximize:{check:c,init:true,apply:U},allowMinimize:{check:c,init:true,apply:U},showStatusbar:{check:c,init:false,apply:B}},members:{__oR:null,__oS:null,getChildrenContainer:function(){return this.getChildControl(Q);},_forwardStates:{active:true,maximized:true,showStatusbar:true,modal:true},setLayoutParent:function(parent){{};qx.ui.core.Widget.prototype.setLayoutParent.call(this,parent);},_createChildControlImpl:function(be,bd){var ba;switch(be){case q:ba=new qx.ui.container.Composite(new qx.ui.layout.HBox());this._add(ba);ba.add(this.getChildControl(J));break;case J:ba=new qx.ui.basic.Label();ba.setValue(this.getStatus());break;case Q:ba=new qx.ui.container.Composite();this._add(ba,{flex:1});break;case r:var bb=new qx.ui.layout.Grid();bb.setRowFlex(0,1);bb.setColumnFlex(1,1);ba=new qx.ui.container.Composite(bb);this._add(ba);ba.addListener(u,this._onCaptionPointerDblTap,this);this._activateMoveHandle(ba);break;case y:ba=new qx.ui.basic.Image(this.getIcon());this.getChildControl(r).add(ba,{row:0,column:0});break;case x:ba=new qx.ui.basic.Label(this.getCaption());ba.setWidth(0);ba.setAllowGrowX(true);var bc=this.getChildControl(r);bc.add(ba,{row:0,column:1});break;case m:ba=new qx.ui.form.Button();ba.setFocusable(false);ba.addListener(j,this._onMinimizeButtonTap,this);this.getChildControl(r).add(ba,{row:0,column:2});break;case k:ba=new qx.ui.form.Button();ba.setFocusable(false);ba.addListener(j,this._onRestoreButtonTap,this);this.getChildControl(r).add(ba,{row:0,column:3});break;case N:ba=new qx.ui.form.Button();ba.setFocusable(false);ba.addListener(j,this._onMaximizeButtonTap,this);this.getChildControl(r).add(ba,{row:0,column:4});break;case o:ba=new qx.ui.form.Button();ba.setFocusable(false);ba.addListener(j,this._onCloseButtonTap,this);this.getChildControl(r).add(ba,{row:0,column:6});break;};return ba||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,be);},_updateCaptionBar:function(){var bg;var bh=this.getIcon();if(bh){this.getChildControl(y).setSource(bh);this._showChildControl(y);}else {this._excludeChildControl(y);};var bf=this.getCaption();if(bf){this.getChildControl(x).setValue(bf);this._showChildControl(x);}else {this._excludeChildControl(x);};if(this.getShowMinimize()){this._showChildControl(m);bg=this.getChildControl(m);this.getAllowMinimize()?bg.resetEnabled():bg.setEnabled(false);}else {this._excludeChildControl(m);};if(this.getShowMaximize()){if(this.isMaximized()){this._showChildControl(k);this._excludeChildControl(N);}else {this._showChildControl(N);this._excludeChildControl(k);};bg=this.getChildControl(N);this.getAllowMaximize()?bg.resetEnabled():bg.setEnabled(false);}else {this._excludeChildControl(N);this._excludeChildControl(k);};if(this.getShowClose()){this._showChildControl(o);bg=this.getChildControl(o);this.getAllowClose()?bg.resetEnabled():bg.setEnabled(false);}else {this._excludeChildControl(o);};},close:function(){if(!this.isVisible()){return;};if(this.fireNonBubblingEvent(a,qx.event.type.Event,[false,true])){this.hide();this.fireEvent(R);};},open:function(){this.show();this.setActive(true);this.focus();},center:function(){var parent=this.getLayoutParent();if(parent){var bj=parent.getBounds();if(bj){var bk=this.getSizeHint();var bi=Math.round((bj.width-bk.width)/2);var top=Math.round((bj.height-bk.height)/2);if(top<0){top=0;};this.moveTo(bi,top);return;};};{};},maximize:function(){if(this.isMaximized()){return;};var parent=this.getLayoutParent();if(parent!=null&&parent.supportsMaximize()){if(this.fireNonBubblingEvent(L,qx.event.type.Event,[false,true])){if(!this.isVisible()){this.open();};var bl=this.getLayoutProperties();this.__oS=bl.left===undefined?0:bl.left;this.__oR=bl.top===undefined?0:bl.top;this.setLayoutProperties({left:null,top:null,edge:0});this.addState(D);this._updateCaptionBar();this.fireEvent(M);};};},minimize:function(){if(!this.isVisible()){return;};if(this.fireNonBubblingEvent(b,qx.event.type.Event,[false,true])){var bm=this.getLayoutProperties();this.__oS=bm.left===undefined?0:bm.left;this.__oR=bm.top===undefined?0:bm.top;this.removeState(D);this.hide();this.fireEvent(t);};},restore:function(){if(this.getMode()===G){return;};if(this.fireNonBubblingEvent(p,qx.event.type.Event,[false,true])){if(!this.isVisible()){this.open();};var bn=this.__oS;var top=this.__oR;this.setLayoutProperties({edge:null,left:bn,top:top});this.removeState(D);this._updateCaptionBar();this.fireEvent(O);};},moveTo:function(bo,top){if(this.isMaximized()){return;};this.setLayoutProperties({left:bo,top:top});},isMaximized:function(){return this.hasState(D);},getMode:function(){if(!this.isVisible()){return W;}else {if(this.isMaximized()){return D;}else {return G;};};},_applyActive:function(bq,bp){if(bp){this.removeState(V);}else {this.addState(V);};},_applyModal:function(bs,br){if(br){this.removeState(v);}else {this.addState(v);};},_getContentPaddingTarget:function(){return this.getChildControl(Q);},_applyShowStatusbar:function(bv,bt){var bu=this._getResizeFrame();if(bv){this.addState(z);bu.addState(z);}else {this.removeState(z);bu.removeState(z);};if(bv){this._showChildControl(q);}else {this._excludeChildControl(q);};},_applyCaptionBarChange:function(bx,bw){this._updateCaptionBar();},_applyStatus:function(bz,by){var bA=this.getChildControl(J,true);if(bA){bA.setValue(bz);};},_applyFocusable:function(bC,bB){if(qx.core.Environment.get(I)!==T){qx.ui.core.Widget.prototype._applyFocusable.call(this,bC,bB);};},_onWindowEventStop:function(e){e.stopPropagation();},_onWindowPointerDown:function(e){this.setActive(true);},_onWindowFocusOut:function(e){if(this.getModal()){return;};var bD=e.getRelatedTarget();if(bD!=null&&!qx.ui.core.Widget.contains(this,bD)){this.setActive(false);};},_onCaptionPointerDblTap:function(e){if(this.getAllowMaximize()){this.isMaximized()?this.restore():this.maximize();};},_onMinimizeButtonTap:function(e){this.minimize();this.getChildControl(m).reset();},_onRestoreButtonTap:function(e){this.restore();this.getChildControl(k).reset();},_onMaximizeButtonTap:function(e){this.maximize();this.getChildControl(N).reset();},_onCloseButtonTap:function(e){this.close();this.getChildControl(o).reset();}}});})();(function(){var a="_applyActiveWindow",b="__oT",c="changeModal",d="windowAdded",f="changeVisibility",g="__fW",h="windowRemoved",i="qx.ui.window.Window",j="changeActive",k="qx.ui.window.MDesktop",l="changeActiveWindow",m="qx.event.type.Data";qx.Mixin.define(k,{properties:{activeWindow:{check:i,apply:a,event:l,init:null,nullable:true}},events:{windowAdded:m,windowRemoved:m},members:{__oT:null,__fW:null,getWindowManager:function(){if(!this.__fW){this.setWindowManager(new qx.ui.window.Window.DEFAULT_MANAGER_CLASS());};return this.__fW;},supportsMaximize:function(){return true;},setWindowManager:function(n){if(this.__fW){this.__fW.setDesktop(null);};n.setDesktop(this);this.__fW=n;},_onChangeActive:function(e){if(e.getData()){this.setActiveWindow(e.getTarget());}else if(this.getActiveWindow()==e.getTarget()){this.setActiveWindow(null);};},_applyActiveWindow:function(p,o){this.getWindowManager().changeActiveWindow(p,o);this.getWindowManager().updateStack();},_onChangeModal:function(e){this.getWindowManager().updateStack();},_onChangeVisibility:function(){this.getWindowManager().updateStack();},_afterAddChild:function(q){if(qx.Class.isDefined(i)&&q instanceof qx.ui.window.Window){this._addWindow(q);};},_addWindow:function(r){if(!qx.lang.Array.contains(this.getWindows(),r)){this.getWindows().push(r);this.fireDataEvent(d,r);r.addListener(j,this._onChangeActive,this);r.addListener(c,this._onChangeModal,this);r.addListener(f,this._onChangeVisibility,this);};if(r.getActive()){this.setActiveWindow(r);};this.getWindowManager().updateStack();},_afterRemoveChild:function(s){if(qx.Class.isDefined(i)&&s instanceof qx.ui.window.Window){this._removeWindow(s);};},_removeWindow:function(t){if(qx.lang.Array.contains(this.getWindows(),t)){qx.lang.Array.remove(this.getWindows(),t);this.fireDataEvent(h,t);t.removeListener(j,this._onChangeActive,this);t.removeListener(c,this._onChangeModal,this);t.removeListener(f,this._onChangeVisibility,this);this.getWindowManager().updateStack();};},getWindows:function(){if(!this.__oT){this.__oT=[];};return this.__oT;}},destruct:function(){this._disposeArray(b);this._disposeObjects(g);}});})();(function(){var a="_applyBlockerColor",b="Number",c="__lM",d="qx.ui.core.MBlocker",e="_applyBlockerOpacity",f="Color";qx.Mixin.define(d,{properties:{blockerColor:{check:f,init:null,nullable:true,apply:a,themeable:true},blockerOpacity:{check:b,init:1,apply:e,themeable:true}},members:{__lM:null,_createBlocker:function(){return new qx.ui.core.Blocker(this);},_applyBlockerColor:function(h,g){this.getBlocker().setColor(h);},_applyBlockerOpacity:function(j,i){this.getBlocker().setOpacity(j);},block:function(){this.getBlocker().block();},isBlocked:function(){return this.__lM&&this.__lM.isBlocked();},unblock:function(){if(this.__lM){this.__lM.unblock();};},forceUnblock:function(){if(this.__lM){this.__lM.forceUnblock();};},blockContent:function(k){this.getBlocker().blockContent(k);},getBlocker:function(){if(!this.__lM){this.__lM=this._createBlocker();};return this.__lM;}},destruct:function(){this._disposeObjects(c);}});})();(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().set({desktop:true}));this.setWindowManager(b);}});})();(function(){var a="keypress",b="Boolean",c="Right",d="label",f="Left",g="_applyValue",h="changeValue",i="Up",j="value",k="qx.ui.form.RadioButton",l="radiobutton",m="toolTipText",n="enabled",o="qx.ui.form.RadioGroup",p="Down",q="_applyGroup",r="checked",s="menu",t="execute";qx.Class.define(k,{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(t,this._onExecute);this.addListener(a,this._onKeyPress);},properties:{group:{check:o,nullable:true,apply:q},value:{check:b,nullable:true,event:h,apply:g,init:false},appearance:{refine:true,init:l},allowGrowX:{refine:true,init:false}},members:{_forwardStates:{checked:true,focused:true,invalid:true,hovered:true},_bindableProperties:[n,d,m,j,s],_applyValue:function(w,v){w?this.addState(r):this.removeState(r);},_applyGroup:function(y,x){if(x){x.remove(this);};if(y){y.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 f:case i:A.selectPrevious();break;case c:case p:A.selectNext();break;};}}});})();(function(){var a="resize",b="qx.ui.groupbox.GroupBox",c="groupbox",d="frame",f="legend",g="top",h="middle",i="_applyLegendPosition";qx.Class.define(b,{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(d);this._createChildControl(f);if(j!=null){this.setLegend(j);};if(k!=null){this.setIcon(k);};},properties:{appearance:{refine:true,init:c},legendPosition:{check:[g,h],init:h,apply:i,themeable:true}},members:{_forwardStates:{invalid:true},_createChildControlImpl:function(n,m){var l;switch(n){case d:l=new qx.ui.container.Composite();this._add(l,{left:0,top:6,right:0,bottom:0});break;case f:l=new qx.ui.basic.Atom();l.addListener(a,this._repositionFrame,this);this._add(l,{left:0,right:0});break;};return l||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,n);},_getContentPaddingTarget:function(){return this.getChildControl(d);},_applyLegendPosition:function(e){if(this.getChildControl(f).getBounds()){this._repositionFrame();};},_repositionFrame:function(){var p=this.getChildControl(f);var o=this.getChildControl(d);var q=p.getBounds().height;if(this.getLegendPosition()==h){o.setLayoutProperties({"top":Math.round(q/2)});}else if(this.getLegendPosition()==g){o.setLayoutProperties({"top":q});};},getChildrenContainer:function(){return this.getChildControl(d);},setLegend:function(s){var r=this.getChildControl(f);if(s!==null){r.setLabel(s);r.show();}else {r.exclude();};},getLegend:function(){return this.getChildControl(f).getLabel();},setIcon:function(t){this.getChildControl(f).setIcon(t);},getIcon:function(){return this.getChildControl(f).getIcon();}}});})();(function(){var a="__oV",b="bottom",c="button",d="qx.event.type.Data",f="lastTab",g="barRight",h="beforeChangeSelection",j="close-button",k="changeSelection",m="bar",n="Index should be less than : ",o="tabview",p="vertical",q="page",r="close",s="_applyBarPosition",t="barLeft",u="top",v="horizontal",w="qx.ui.tabview.TabView",x="right",y="barTop",z="barBottom",A="pane",B="left",C="firstTab";qx.Class.define(w,{extend:qx.ui.core.Widget,implement:qx.ui.core.ISingleSelection,include:[qx.ui.core.MContentPadding],construct:function(E){qx.ui.core.Widget.call(this);this.__oU={top:y,right:g,bottom:z,left:t};this._createChildControl(m);this._createChildControl(A);var D=this.__oV=new qx.ui.form.RadioGroup;D.setWrap(false);D.addListener(k,this._onChangeSelection,this);if(E!=null){this.setBarPosition(E);}else {this.initBarPosition();};},events:{"changeSelection":d},properties:{appearance:{refine:true,init:o},barPosition:{check:[B,x,u,b],init:u,apply:s}},members:{__oV:null,_createChildControlImpl:function(H,G){var F;switch(H){case m:F=new qx.ui.container.SlideBar();F.setZIndex(10);this._add(F);break;case A:F=new qx.ui.container.Stack;F.setZIndex(5);this._add(F,{flex:1});break;};return F||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,H);},_getContentPaddingTarget:function(){return this.getChildControl(A);},add:function(M){{};var I=M.getButton();var J=this.getChildControl(m);var L=this.getChildControl(A);M.exclude();J.add(I);L.add(M);this.__oV.add(I);M.addState(this.__oU[this.getBarPosition()]);M.addState(f);var K=this.getChildren();if(K[0]==M){M.addState(C);}else {K[K.length-2].removeState(f);};M.addListener(r,this._onPageClose,this);},addAt:function(Q,N){{};var S=this.getChildren();if(!(N==null)&&N>S.length){throw new Error(n+S.length);};if(N==null){N=S.length;};var P=Q.getButton();var O=this.getChildControl(m);var R=this.getChildControl(A);Q.exclude();O.addAt(P,N);R.addAt(Q,N);this.__oV.add(P);Q.addState(this.__oU[this.getBarPosition()]);S=this.getChildren();if(N==S.length-1){Q.addState(f);};if(S[0]==Q){Q.addState(C);}else {S[S.length-2].removeState(f);};Q.addListener(r,this._onPageClose,this);},remove:function(W){var X=this.getChildControl(A);var U=this.getChildControl(m);var V=W.getButton();var Y=X.getChildren();if(this.getSelection()[0]==W){var T=Y.indexOf(W);if(T==0){if(Y[1]){this.setSelection([Y[1]]);}else {this.resetSelection();};}else {this.setSelection([Y[T-1]]);};};U.remove(V);X.remove(W);this.__oV.remove(V);W.removeState(this.__oU[this.getBarPosition()]);if(W.hasState(C)){W.removeState(C);if(Y[0]){Y[0].addState(C);};};if(W.hasState(f)){W.removeState(f);if(Y.length>0){Y[Y.length-1].addState(f);};};W.removeListener(r,this._onPageClose,this);},getChildren:function(){return this.getChildControl(A).getChildren();},indexOf:function(ba){return this.getChildControl(A).indexOf(ba);},__oU:null,_applyBarPosition:function(be,bg){var bb=this.getChildControl(m);var bh=this.getChildControl(A);var bj=be==B||be==x;var bk=be==x||be==b;var bi=bj?qx.ui.layout.HBox:qx.ui.layout.VBox;var bl=this._getLayout();if(bl&&bl instanceof bi){}else {this._setLayout(bl=new bi);};bl.setReversed(bk);bb.setOrientation(bj?p:v);var bf=this.getChildren();var i,l;if(bg){var bd=this.__oU[bg];bb.removeState(bd);bh.removeState(bd);for(i=0,l=bf.length;i=0;i+=A){C=D[i];if(C.isEnabled()&&!C.isAnonymous()&&C.isVisible()){return C;};};if(E){i=i==length?0:length-1;for(;i!=B;i+=A){C=D[i];if(C.isEnabled()&&!C.isAnonymous()&&C.isVisible()){return C;};};};return null;},_isInMenu:function(F){while(F){if(F instanceof qx.ui.menu.Menu){return true;};F=F.getLayoutParent();};return false;},_isMenuOpener:function(H){var G=this.__od;for(var i=0;i=0;i-- ){N[i].exclude();};};},getActiveMenu:function(){var O=this.__od;return O.length>0?O[O.length-1]:null;},scheduleOpen:function(P){this.cancelClose(P);if(P.isVisible()){if(this.__oY){this.cancelOpen(this.__oY);};}else if(this.__oY!=P){this.__oY=P;this.__oW.restartWith(P.getOpenInterval());};},scheduleClose:function(Q){this.cancelOpen(Q);if(!Q.isVisible()){if(this.__pa){this.cancelClose(this.__pa);};}else if(this.__pa!=Q){this.__pa=Q;this.__oX.restartWith(Q.getCloseInterval());};},cancelOpen:function(R){if(this.__oY==R){this.__oW.stop();this.__oY=null;};},cancelClose:function(S){if(this.__pa==S){this.__oX.stop();this.__pa=null;};},_onOpenInterval:function(e){this.__oW.stop();this.__oY.open();this.__oY=null;},_onCloseInterval:function(e){this.__oX.stop();this.__pa.exclude();this.__pa=null;},preventContextMenuOnce:function(){qx.event.Registration.addListener(document.body,g,this.__pb,this,true);},__pb:function(e){var T=e.getTarget();T=qx.ui.core.Widget.getWidgetByElement(T,true);if(this._isInMenu(T)){e.stopPropagation();e.preventDefault();};qx.event.Registration.removeListener(document.body,g,this.__pb,this,true);},_onPointerDown:function(e){var U=e.getTarget();U=qx.ui.core.Widget.getWidgetByElement(U,true);if(U==null){this.hideAll();return;};if(U.getMenu&&U.getMenu()&&U.getMenu().isVisible()){return;};if(this.__od.length>0&&!this._isInMenu(U)){this.hideAll();};},__pc:{"Enter":1,"Space":1},__pd:{"Escape":1,"Up":1,"Down":1,"Left":1,"Right":1},_onKeyUpDown:function(e){var V=this.getActiveMenu();if(!V){return;};var W=e.getKeyIdentifier();if(this.__pd[W]||(this.__pc[W]&&V.getSelectedButton())){e.stopPropagation();};},_onKeyPress:function(e){var ba=this.getActiveMenu();if(!ba){return;};var X=e.getKeyIdentifier();var bc=this.__pd[X];var Y=this.__pc[X];if(bc){switch(X){case d:this._onKeyPressUp(ba);break;case s:this._onKeyPressDown(ba);break;case p:this._onKeyPressLeft(ba);break;case t:this._onKeyPressRight(ba);break;case l:this.hideAll();break;};e.stopPropagation();e.preventDefault();}else if(Y){var bb=ba.getSelectedButton();if(bb){switch(X){case c:this._onKeyPressEnter(ba,bb,e);break;case w:this._onKeyPressSpace(ba,bb,e);break;};e.stopPropagation();e.preventDefault();};};},_onKeyPressUp:function(bh){var bd=bh.getSelectedButton();var be=bh.getChildren();var bf=bd?bh.indexOf(bd)-1:be.length-1;var bg=this._getChild(bh,bf,-1,true);if(bg){bh.setSelectedButton(bg);}else {bh.resetSelectedButton();};},_onKeyPressDown:function(bi){var bj=bi.getSelectedButton();var bl=bj?bi.indexOf(bj)+1:0;var bk=this._getChild(bi,bl,1,true);if(bk){bi.setSelectedButton(bk);}else {bi.resetSelectedButton();};},_onKeyPressLeft:function(bo){var bq=bo.getOpener();if(!bq){return;};if(bq instanceof qx.ui.menu.AbstractButton){var bn=bq.getLayoutParent();bn.resetOpenedButton();bn.setSelectedButton(bq);}else if(bq instanceof qx.ui.menubar.Button){var br=bq.getMenuBar().getMenuButtons();var bm=br.indexOf(bq);if(bm===-1){return;};var bs=null;var length=br.length;for(var i=1;i<=length;i++ ){var bp=br[(bm-i+length)%length];if(bp.isEnabled()&&bp.isVisible()){bs=bp;break;};};if(bs&&bs!=bq){bs.open(true);};};},_onKeyPressRight:function(bw){var bu=bw.getSelectedButton();if(bu){var bt=bu.getMenu();if(bt){bw.setOpenedButton(bu);var bB=this._getChild(bt,0,1);if(bB){bt.setSelectedButton(bB);};return;};}else if(!bw.getOpenedButton()){var bB=this._getChild(bw,0,1);if(bB){bw.setSelectedButton(bB);if(bB.getMenu()){bw.setOpenedButton(bB);};return;};};var by=bw.getOpener();if(by instanceof qx.ui.menu.Button&&bu){while(by){by=by.getLayoutParent();if(by instanceof qx.ui.menu.Menu){by=by.getOpener();if(by instanceof qx.ui.menubar.Button){break;};}else {break;};};if(!by){return;};};if(by instanceof qx.ui.menubar.Button){var bz=by.getMenuBar().getMenuButtons();var bv=bz.indexOf(by);if(bv===-1){return;};var bA=null;var length=bz.length;for(var i=1;i<=length;i++ ){var bx=bz[(bv+i)%length];if(bx.isEnabled()&&bx.isVisible()){bA=bx;break;};};if(bA&&bA!=by){bA.open(true);};};},_onKeyPressEnter:function(bC,bD,e){if(bD.hasListener(b)){var bE=e.clone();bE.setBubbles(false);bE.setTarget(bD);bD.dispatchEvent(bE);};this.hideAll();},_onKeyPressSpace:function(bF,bG,e){if(bG.hasListener(b)){var bH=e.clone();bH.setBubbles(false);bH.setTarget(bG);bG.dispatchEvent(bH);};},_onRoll:function(e){var bI=e.getTarget();bI=qx.ui.core.Widget.getWidgetByElement(bI,true);if(this.__od.length>0&&!this._isInMenu(bI)&&!this._isMenuOpener(bI)&&!e.getMomentum()){this.hideAll();};}},destruct:function(){var bK=qx.event.Registration;var bJ=document.body;bK.removeListener(window.document.documentElement,m,this._onPointerDown,this,true);bK.removeListener(bJ,o,this._onKeyUpDown,this,true);bK.removeListener(bJ,u,this._onKeyUpDown,this,true);bK.removeListener(bJ,b,this._onKeyPress,this,true);this._disposeObjects(j,f);this._disposeArray(q);}});})();(function(){var a="Boolean",b="pointerover",c="qx.ui.core.Widget",d="excluded",f="selected",g="Integer",h="slidebar",j="menu",k="visible",l="_applySelectedButton",m="_applySpacingY",n="resize",o="_blocker",p="_applyCloseInterval",q="_applyBlockerColor",r="The menu instance needs a configured 'opener' widget!",s="_applyIconColumnWidth",t="qx.ui.menu.Menu",u="_applyOpenedButton",v="Color",w="Number",x="_applyArrowColumnWidth",y="Unknown target: ",z="_applySpacingX",A="_applyBlockerOpacity",B="Could not open menu instance because 'opener' widget is not visible",C="_applyOpenInterval",D="pointerout";qx.Class.define(t,{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 E=this.getApplicationRoot();E.add(this);this.addListener(b,this._onPointerOver);this.addListener(D,this._onPointerOut);this.addListener(n,this._onResize,this);E.addListener(n,this._onResize,this);this._blocker=new qx.ui.core.Blocker(E);this.initVisibility();this.initKeepFocus();this.initKeepActive();},properties:{appearance:{refine:true,init:j},allowGrowX:{refine:true,init:false},allowGrowY:{refine:true,init:false},visibility:{refine:true,init:d},keepFocus:{refine:true,init:true},keepActive:{refine:true,init:true},spacingX:{check:g,apply:z,init:0,themeable:true},spacingY:{check:g,apply:m,init:0,themeable:true},iconColumnWidth:{check:g,init:0,themeable:true,apply:s},arrowColumnWidth:{check:g,init:0,themeable:true,apply:x},blockerColor:{check:v,init:null,nullable:true,apply:q,themeable:true},blockerOpacity:{check:w,init:1,apply:A,themeable:true},selectedButton:{check:c,nullable:true,apply:l},openedButton:{check:c,nullable:true,apply:u},opener:{check:c,nullable:true},openInterval:{check:g,themeable:true,init:250,apply:C},closeInterval:{check:g,themeable:true,init:250,apply:p},blockBackground:{check:a,themeable:true,init:false}},members:{__pe:null,__pf:null,_blocker:null,open:function(){if(this.getOpener()!=null){var F=this.placeToWidget(this.getOpener(),true);if(F){this.__ph();this.show();this._placementTarget=this.getOpener();}else {this.warn(B);};}else {this.warn(r);};},openAtPointer:function(e){this.placeToPointer(e);this.__ph();this.show();this._placementTarget={left:e.getDocumentLeft(),top:e.getDocumentTop()};},openAtPoint:function(G){this.placeToPoint(G);this.__ph();this.show();this._placementTarget=G;},addSeparator:function(){this.add(new qx.ui.menu.Separator);},getColumnSizes:function(){return this._getMenuLayout().getColumnSizes();},getSelectables:function(){var H=[];var I=this.getChildren();for(var i=0;ibm){this._assertSlideBar(function(){this.setHeight(bm-top);});}else {this.setHeight(null);};},_assertSlideBar:function(bp){if(this.hasChildControl(h)){return bp.call(this);};this.__pf=bp;qx.ui.core.queue.Widget.add(this);},syncWidget:function(bq){this.getChildControl(h);if(this.__pf){this.__pf.call(this);delete this.__pf;};},_onResize:function(){if(this.isVisible()){var br=this._placementTarget;if(!br){return;}else if(br instanceof qx.ui.core.Widget){this.placeToWidget(br,true);}else if(br.top!==undefined){this.placeToPoint(br);}else {throw new Error(y+br);};this.__ph();};},_onPointerOver:function(e){var bt=qx.ui.menu.Manager.getInstance();bt.cancelClose(this);var bu=e.getTarget();if(bu.isEnabled()&&bu instanceof qx.ui.menu.AbstractButton){this.setSelectedButton(bu);var bs=bu.getMenu&&bu.getMenu();if(bs){bs.setOpener(bu);bt.scheduleOpen(bs);this.__pe=bs;}else {var bv=this.getOpenedButton();if(bv){bt.scheduleClose(bv.getMenu());};if(this.__pe){bt.cancelOpen(this.__pe);this.__pe=null;};};}else if(!this.getOpenedButton()){this.resetSelectedButton();};},_onPointerOut:function(e){var bw=qx.ui.menu.Manager.getInstance();if(!qx.ui.core.Widget.contains(this,e.getRelatedTarget())){var bx=this.getOpenedButton();bx?this.setSelectedButton(bx):this.resetSelectedButton();if(bx){bw.cancelClose(bx.getMenu());};if(this.__pe){bw.cancelOpen(this.__pe);};};}},destruct:function(){if(!qx.core.ObjectRegistry.inShutDown){qx.ui.menu.Manager.getInstance().remove(this);};this.getApplicationRoot().removeListener(n,this._onResize,this);this._placementTarget=null;this._disposeObjects(o);}});})();(function(){var a="qx.ui.menu.Layout",b="Integer",c="_applyLayoutChange";qx.Class.define(a,{extend:qx.ui.layout.VBox,properties:{columnSpacing:{check:b,init:0,apply:c},spanColumn:{check:b,init:1,nullable:true,apply:c},iconColumnWidth:{check:b,init:0,themeable:true,apply:c},arrowColumnWidth:{check:b,init:0,themeable:true,apply:c}},members:{__pi:null,_computeSizeHint:function(){var q=this._getLayoutChildren();var o,g,k;var e=this.getSpanColumn();var j=this.__pi=[0,0,0,0];var n=this.getColumnSpacing();var m=0;var f=0;for(var i=0,l=q.length;i0){u+=q[i]+m;};};},__pj:function(v){while(!(v instanceof qx.ui.menu.Menu)){v=v.getLayoutParent();};return v;},_computeSizeHint:function(){var y=this._getLayoutChildren();var x=0;var z=0;for(var i=0,l=y.length;iF);}else if(this.__pk.length>0){do {var Q=this.__pk[0];if(Q){var P=Q.getMarginLeft()+Q.getMarginRight();P=Math.max(P,this.getSpacing());if(Q.getContentElement().getDomElement()==null){Q.syncAppearance();Q.invalidateLayoutCache();};var I=Q.getSizeHint().width;var O=false;if(this.__pk.length==1&&L>0){var N=P-this.getSpacing();var M=G-L+I+N;O=F>M;};if(F>G+I+P||O){this.__pm(Q);G+=I;if(E&&this.__pk.length==0){E.setVisibility(y);};}else {return;};};}while(F>=G&&this.__pk.length>0);};},__pm:function(R){R.setVisibility(o);this.__pk.shift();this.fireDataEvent(m,R);},__pn:function(S){if(!S){return;};this.__pk.unshift(S);S.setVisibility(y);this.fireDataEvent(A,S);},_getNextToHide:function(){for(var i=this.__pl.length-1;i>=0;i-- ){var T=this.__pl[i];if(T&&T.getVisibility&&T.getVisibility()==o){return T;};};var U=this._getChildren();for(var i=U.length-1;i>=0;i-- ){var V=U[i];if(V==this.getOverflowIndicator()){continue;};if(V.getVisibility&&V.getVisibility()==o){return V;};};},setRemovePriority:function(X,W,Y){if(!Y&&this.__pl[W]!=undefined){throw new Error(v);};this.__pl[W]=X;},_applyOverflowHandling:function(bc,ba){this.invalidateLayoutCache();var parent=this.getLayoutParent();if(parent){parent.invalidateLayoutCache();};var bb=this.getBounds();if(bb&&bb.width){this._recalculateOverflow(bb.width);};if(bc){this.addListener(q,this._onResize,this);}else {this.removeListener(q,this._onResize,this);var bd=this.getOverflowIndicator();if(bd){bd.setVisibility(y);};for(var i=0;i1){throw new Error(f+bQ+M);};if(bP.length==1){this.selectItem(bP[0]);}else {this.clearSelection();};return;}else {this._replaceMultiSelection(bP);};},getSelectedItem:function(){var bR=this.getMode();if(bR===bu||bR===h){var bS=this._getSelectedItem();return bS!=undefined?bS:null;};throw new Error(n);},getSelection:function(){return qx.lang.Object.getValues(this.__gb);},getSortedSelection:function(){var bU=this.getSelectables();var bT=qx.lang.Object.getValues(this.__gb);bT.sort(function(a,b){return bU.indexOf(a)-bU.indexOf(b);});return bT;},isItemSelected:function(bV){var bW=this._selectableToHashCode(bV);return this.__gb[bW]!==undefined;},isSelectionEmpty:function(){return qx.lang.Object.isEmpty(this.__gb);},invertSelection:function(){var bY=this.getMode();if(bY===bu||bY===h){throw new Error(L);};var bX=this.getSelectables();for(var i=0;ithis.__px){this.__pC=1;}else if(cIthis.__py){this.__pD=1;}else if(cJlocation.right){this.__pq=this.__pA-location.right;}else {this.__pq=0;};if(this.__pBlocation.bottom){this.__pr=this.__pB-location.bottom;}else {this.__pr=0;};if(!this.__ps){this.__ps=new qx.event.Timer(100);this.__ps.addListener(G,this._onInterval,this);};this.__ps.start();this._autoSelect();event.stopPropagation();this._userInteraction=false;},handleAddItem:function(e){var cK=e.getData();if(this.getMode()===h&&this.isSelectionEmpty()){this.addItem(cK);};},handleRemoveItem:function(e){this.removeItem(e.getData());},_cleanup:function(){if(!this.getDrag()&&this.__pz){return;};if(this.__pE){this._fireChange(bD);};delete this.__pz;delete this.__pu;delete this.__pv;this._releaseCapture();if(this.__ps){this.__ps.stop();};},_onInterval:function(e){this._scrollBy(this.__pq,this.__pr);this.__pt=this._getScroll();this._autoSelect();},_autoSelect:function(){var cT=this._getDimension();var cM=Math.max(0,Math.min(this.__pA-this.__pw.left,cT.width))+this.__pt.left;var cL=Math.max(0,Math.min(this.__pB-this.__pw.top,cT.height))+this.__pt.top;if(this.__pu===cM&&this.__pv===cL){return;};this.__pu=cM;this.__pv=cL;var cQ=this._getAnchorItem();var cO=cQ;var cR=this.__pC;var cU,cN;while(cR!==0){cU=cR>0?this._getRelatedSelectable(cO,t):this._getRelatedSelectable(cO,W);if(cU!==null){cN=this._getSelectableLocationX(cU);if((cR>0&&cN.left<=cM)||(cR<0&&cN.right>=cM)){cO=cU;continue;};};break;};var cS=this.__pD;var cV,cP;while(cS!==0){cV=cS>0?this._getRelatedSelectable(cO,z):this._getRelatedSelectable(cO,bB);if(cV!==null){cP=this._getSelectableLocationY(cV);if((cS>0&&cP.top<=cL)||(cS<0&&cP.bottom>=cL)){cO=cV;continue;};};break;};var cW=this.getMode();if(cW===V){this._selectItemRange(cQ,cO);}else if(cW===br){if(this.isItemSelected(cQ)){this._selectItemRange(cQ,cO,true);}else {this._deselectItemRange(cQ,cO);};this._setAnchorItem(cO);};this._fireChange(bw);},__pd:{Home:1,Down:1,Right:1,PageDown:1,End:1,Up:1,Left:1,PageUp:1},handleKeyPress:function(event){this._userInteraction=true;var dd,dc;var df=event.getKeyIdentifier();var de=this.getMode();var cY=event.isCtrlPressed()||(qx.core.Environment.get(c)==E&&event.isMetaPressed());var da=event.isShiftPressed();var db=false;if(df===A&&cY){if(de!==bu&&de!==h){this._selectAllItems();db=true;};}else if(df===p){if(de!==bu&&de!==h){this._clearSelection();db=true;};}else if(df===r){var cX=this.getLeadItem();if(cX!=null&&!da){if(cY||de===br){this._toggleInSelection(cX);}else {this._setSelectedItem(cX);};db=true;};}else if(this.__pd[df]){db=true;if(de===bu||de==h){dd=this._getSelectedItem();}else {dd=this.getLeadItem();};if(dd!==null){switch(df){case Y:dc=this._getFirstSelectable();break;case P:dc=this._getLastSelectable();break;case x:dc=this._getRelatedSelectable(dd,bB);break;case v:dc=this._getRelatedSelectable(dd,z);break;case k:dc=this._getRelatedSelectable(dd,W);break;case bv:dc=this._getRelatedSelectable(dd,t);break;case bx:dc=this._getPage(dd,true);break;case C:dc=this._getPage(dd,false);break;};}else {switch(df){case Y:case v:case bv:case C:dc=this._getFirstSelectable();break;case P:case x:case k:case bx:dc=this._getLastSelectable();break;};};if(dc!==null){switch(de){case bu:case h:this._setSelectedItem(dc);break;case br:this._setLeadItem(dc);break;case V:if(da){var dg=this._getAnchorItem();if(dg===null){this._setAnchorItem(dg=this._getFirstSelectable());};this._setLeadItem(dc);this._selectItemRange(dg,dc,cY);}else {this._setAnchorItem(dc);this._setLeadItem(dc);if(!cY){this._setSelectedItem(dc);};};break;};this.__pJ=this._getScroll().top;this._scrollItemIntoView(dc);};};if(db){event.stop();this._fireChange(T);};this._userInteraction=false;},_selectAllItems:function(){var dh=this.getSelectables();for(var i=0,l=dh.length;i=2)){this._clearSelection();this._addToSelection(dA);};};},_addToSelection:function(dC){var dD=this._selectableToHashCode(dC);if(this.__gb[dD]==null&&this._isSelectable(dC)){this.__gb[dD]=dC;this._styleSelectable(dC,R,true);this.__pE=true;};},_toggleInSelection:function(dE){var dF=this._selectableToHashCode(dE);if(this.__gb[dF]==null){this.__gb[dF]=dE;this._styleSelectable(dE,R,true);}else {delete this.__gb[dF];this._styleSelectable(dE,R,false);};this.__pE=true;},_removeFromSelection:function(dG){var dH=this._selectableToHashCode(dG);if(this.__gb[dH]!=null){delete this.__gb[dH];this._styleSelectable(dG,R,false);this.__pE=true;};},_replaceMultiSelection:function(dK){if(dK.length===0){this.clearSelection();return;};var dL=false;var dO,dN;var dJ={};for(var i=0,l=dK.length;i0;i-- ){if(this._isItemSelectable(J[i])){return J[i];};};return null;},_getRelatedSelectable:function(N,O){var L=this.__lf.getOrientation()===a;var P=this.__lf.getChildren();var K=P.indexOf(N);var M;if((L&&O===c)||(!L&&O===e)){for(var i=K-1;i>=0;i-- ){M=P[i];if(this._isItemSelectable(M)){return M;};};}else if((L&&O===b)||(!L&&O===f)){for(var i=K+1;i=0;i-- ){top=h.getItemTop(q[i]);if(top=p){n-=innerHeight+r-h.getItemBottom(k);s=null;continue;};return q[s];};}else {var m=innerHeight+r;var i=p;while(1){for(;im){s=i-1;break;};};if(s==null){var j=this._getLastSelectable();return j==k?null:j;};if(s<=p){m+=h.getItemTop(k)-r;s=null;continue;};return q[s];};};}}});})();(function(){var a="Boolean",b="one",c="pointerover",d="qx.event.type.Data",f=", because it is not a child element!",g="_applyDragSelection",h="Could not add + ",j=" from selection, because it is not a child element!",k="changeSelection",l="Could not test if ",m="Could not remove ",n="addItem",o="multi",p="_applyQuickSelection",q="__fW",r="single",s="qx.ui.core.MMultiSelectionHandling",t="pointermove",u=" is selected, because it is not a child element!",v="_applySelectionMode",w="additive",x="keypress",y="losecapture",z="Could not select ",A="removeItem",B="tap",C="pointerdown",D=" to selection, because it is not a child element!";qx.Mixin.define(s,{construct:function(){var F=this.SELECTION_MANAGER;var E=this.__fW=new F(this);this.addListener(C,E.handlePointerDown,E);this.addListener(B,E.handleTap,E);this.addListener(c,E.handlePointerOver,E);this.addListener(t,E.handlePointerMove,E);this.addListener(y,E.handleLoseCapture,E);this.addListener(x,E.handleKeyPress,E);this.addListener(n,E.handleAddItem,E);this.addListener(A,E.handleRemoveItem,E);E.addListener(k,this._onSelectionChange,this);},events:{"changeSelection":d},properties:{selectionMode:{check:[r,o,w,b],init:r,apply:v},dragSelection:{check:a,init:false,apply:g},quickSelection:{check:a,init:false,apply:p}},members:{__fW:null,selectAll:function(){this.__fW.selectAll();},isSelected:function(G){if(!qx.ui.core.Widget.contains(this,G)){throw new Error(l+G+u);};return this.__fW.isItemSelected(G);},addToSelection:function(H){if(!qx.ui.core.Widget.contains(this,H)){throw new Error(h+H+D);};this.__fW.addItem(H);},removeFromSelection:function(I){if(!qx.ui.core.Widget.contains(this,I)){throw new Error(m+I+j);};this.__fW.removeItem(I);},selectRange:function(J,K){this.__fW.selectItemRange(J,K);},resetSelection:function(){this.__fW.clearSelection();},setSelection:function(L){for(var i=0;i0){return o;}else if(y.bottom<=x&&y.bottom>0){return g;}else {return null;};},_getAxis:function(A){if(this.__pL.indexOf(A)!==-1){return a;}else if(this.__pM.indexOf(A)!==-1){return q;}else {throw new Error(l+A+f);};},_getThresholdByEdgeType:function(B){if(this.__pL.indexOf(B)!==-1){return this.getDragScrollThresholdX();}else if(this.__pM.indexOf(B)!==-1){return this.getDragScrollThresholdY();};},_isScrollbarVisible:function(C,D){if(C&&C._isChildControlVisible){return C._isChildControlVisible(j+D);}else {return false;};},_isScrollbarExceedingMaxPos:function(F,H,E){var G=0;if(!F){return true;};G=F.getPosition()+E;return (G>F.getMaximum()||G<0);},_calculateThresholdExceedance:function(J,I){var K=I-Math.abs(J);return J<0?(K*-1):K;},_calculateScrollAmount:function(L,M){return Math.floor(((L/100)*M)*this.getDragScrollSlowDownFactor());},_scrollBy:function(N,T,Q){var S=N.getChildControl(j+T,true);if(!S){return;};var P=S.getBounds(),O=T===a?P.width:P.height,R=this._calculateScrollAmount(O,Q);if(this._isScrollbarExceedingMaxPos(S,T,R)){this.__pN.stop();};S.scrollBy(R);},__pO:function(e){if(this.__pN){this.__pN.stop();};var W=e.getOriginalTarget();if(!W){return;};var U;if(this._isScrollable(W)){U=W;}else {U=this._findScrollableParent(W);};while(U){var Y=this._getBounds(U),V=e.getDocumentLeft(),ba=e.getDocumentTop(),bc={"left":Y.left-V,"right":Y.right-V,"top":Y.top-ba,"bottom":Y.bottom-ba},X=null,bd=d,bb=0;X=this._getEdgeType(bc,this.getDragScrollThresholdX(),this.getDragScrollThresholdY());if(!X){U=this._findScrollableParent(U);continue;};bd=this._getAxis(X);if(this._isScrollbarVisible(U,bd)){bb=this._calculateThresholdExceedance(bc[X],this._getThresholdByEdgeType(X));if(this.__pN){this.__pN.dispose();};this.__pN=new qx.event.Timer(50);this.__pN.addListener(h,function(be,bg,bf){this._scrollBy(be,bg,bf);}.bind(this,U,bd,bb));this.__pN.start();e.stopPropagation();return;}else {U=this._findScrollableParent(U);};};},__pP:function(e){if(this.__pN){this.__pN.stop();};}},destruct:function(){if(this.__pN){this.__pN.dispose();};}});})();(function(){var a="qx.ui.core.DragDropScrolling";qx.Class.define(a,{extend:qx.core.Object,include:[qx.ui.core.MDragDropScrolling],construct:function(b){qx.core.Object.call(this);this._widget=b;},members:{_widget:null,_getWidget:function(){return this._widget||qx.core.Init.getApplication().getRoot();}}});})();(function(){var a="qx.nativeScrollBars",b="qx.ui.core.scroll.MScrollBarFactory";qx.core.Environment.add(a,false);qx.Mixin.define(b,{members:{_createScrollBar:function(c){if(qx.core.Environment.get(a)){return new qx.ui.core.scroll.NativeScrollBar(c);}else {return new qx.ui.core.scroll.ScrollBar(c);};}}});})();(function(){var a="qx.ui.core.scroll.NativeScrollBar",b="px",c="PositiveNumber",d="frame",f="end",g="box-sizing",h="Integer",i="track",j="browser.name",k="hidden",l="content-box",m="pointerup",n="vertical",o="_applyOrientation",p="scrollAnimationEnd",q="appear",r="pointerdown",s="__pQ",t="PositiveInteger",u='qx.event.type.Event',v="mshtml",w="engine.name",x="horizontal",y="Number",z="edge",A="_applyPosition",B="scrollbar",C="_applyMaximum",D="pointermove",E="native",F="scroll";qx.Class.define(a,{extend:qx.ui.core.Widget,implement:qx.ui.core.scroll.IScrollBar,construct:function(G){qx.ui.core.Widget.call(this);this.addState(E);this.getContentElement().addListener(F,this._onScroll,this);this.addListener(r,this._stopPropagation,this);this.addListener(m,this._stopPropagation,this);this.addListener(D,this._stopPropagation,this);this.addListener(q,this._onAppear,this);this.getContentElement().add(this._getScrollPaneElement());this.getContentElement().setStyle(g,l);if(G!=null){this.setOrientation(G);}else {this.initOrientation();};this.addListener(i,function(e){e.stopPropagation();},this);},events:{scrollAnimationEnd:u},properties:{appearance:{refine:true,init:B},orientation:{check:[x,n],init:x,apply:o},maximum:{check:t,apply:C,init:100},position:{check:y,init:0,apply:A,event:F},singleStep:{check:h,init:20},knobFactor:{check:c,nullable:true}},members:{__mp:null,__pQ:null,__kg:null,__mn:null,_getScrollPaneElement:function(){if(!this.__pQ){this.__pQ=new qx.html.Element();};return this.__pQ;},renderLayout:function(I,top,H,K){var J=qx.ui.core.Widget.prototype.renderLayout.call(this,I,top,H,K);this._updateScrollBar();return J;},_getContentHint:function(){var L=qx.bom.element.Scroll.getScrollbarWidth();return {width:this.__mp?100:L,maxWidth:this.__mp?null:L,minWidth:this.__mp?null:L,height:this.__mp?L:100,maxHeight:this.__mp?L:null,minHeight:this.__mp?L:null};},_applyEnabled:function(N,M){qx.ui.core.Widget.prototype._applyEnabled.call(this,N,M);this._updateScrollBar();},_applyMaximum:function(O){this._updateScrollBar();},_applyPosition:function(P){var content=this.getContentElement();if(this.__mp){content.scrollToX(P);}else {content.scrollToY(P);};},_applyOrientation:function(S,Q){var R=this.__mp=S===x;this.set({allowGrowX:R,allowShrinkX:R,allowGrowY:!R,allowShrinkY:!R});if(R){this.replaceState(n,x);}else {this.replaceState(x,n);};this.getContentElement().setStyles({overflowX:R?F:k,overflowY:R?k:F});qx.ui.core.queue.Layout.add(this);},_updateScrollBar:function(){var U=this.__mp;var V=this.getBounds();if(!V){return;};if(this.isEnabled()){var W=U?V.width:V.height;var T=this.getMaximum()+W;}else {T=0;};if(qx.core.Environment.get(w)==v||qx.core.Environment.get(j)==z){var V=this.getBounds();this.getContentElement().setStyles({left:(U?V.left:(V.left-1))+b,top:(U?(V.top-1):V.top)+b,width:(U?V.width:V.width+1)+b,height:(U?V.height+1:V.height)+b});};this._getScrollPaneElement().setStyles({left:0,top:0,width:(U?T:1)+b,height:(U?1:T)+b});this.updatePosition(this.getPosition());},scrollTo:function(Y,X){this.stopScrollAnimation();if(X){var ba=this.getPosition();this.__mn=new qx.bom.AnimationFrame();this.__mn.on(d,function(bc){var bb=parseInt(bc/X*(Y-ba)+ba);this.updatePosition(bb);},this);this.__mn.on(f,function(){this.setPosition(Math.max(0,Math.min(this.getMaximum(),Y)));this.__mn=null;this.fireEvent(p);},this);this.__mn.startSequence(X);}else {this.updatePosition(Y);};},updatePosition:function(bd){this.setPosition(Math.max(0,Math.min(this.getMaximum(),bd)));},scrollBy:function(bf,be){this.scrollTo(this.getPosition()+bf,be);},scrollBySteps:function(bh,bg){var bi=this.getSingleStep();this.scrollBy(bh*bi,bg);},stopScrollAnimation:function(){if(this.__mn){this.__mn.cancelSequence();this.__mn=null;};},_onScroll:function(e){var bj=this.getContentElement();var bk=this.__mp?bj.getScrollX():bj.getScrollY();this.setPosition(bk);},_onAppear:function(e){this._applyPosition(this.getPosition());},_stopPropagation:function(e){e.stopPropagation();}},destruct:function(){this._disposeObjects(s);}});})();(function(){var a="scrollY",b="_computeScrollbars",c="X",d="scrollbar-y",f="scrollAnimation",g="scrollbarX",h="auto",i="End",j="corner",k="os.scrollBarOverlayed",l="scrollarea",m="changeVisibility",n="vertical",o="scrollX",p="scrollAnimationEnd",q="off",r="horizontal",s="scrollbar-x",t="Y",u='qx.event.type.Event',v="qx.ui.core.scroll.AbstractScrollArea",w="abstract",x="update",y="scrollbarY",z="pane",A="on",B="scroll";qx.Class.define(v,{extend:qx.ui.core.Widget,include:[qx.ui.core.scroll.MScrollBarFactory,qx.ui.core.scroll.MRoll,qx.ui.core.MDragDropScrolling],type:w,statics:{DEFAULT_SCROLLBAR_WIDTH:14},construct:function(){qx.ui.core.Widget.call(this);if(qx.core.Environment.get(k)){this._setLayout(new qx.ui.layout.Canvas());}else {var C=new qx.ui.layout.Grid();C.setColumnFlex(0,1);C.setRowFlex(0,1);this._setLayout(C);};this._addRollHandling();},events:{scrollAnimationXEnd:u,scrollAnimationYEnd:u},properties:{appearance:{refine:true,init:l},width:{refine:true,init:100},height:{refine:true,init:200},scrollbarX:{check:[h,A,q],init:h,themeable:true,apply:b},scrollbarY:{check:[h,A,q],init:h,themeable:true,apply:b},scrollbar:{group:[g,y]}},members:{_createChildControlImpl:function(F,E){var D;switch(F){case z:D=new qx.ui.core.scroll.ScrollPane();D.addListener(x,this._computeScrollbars,this);D.addListener(o,this._onScrollPaneX,this);D.addListener(a,this._onScrollPaneY,this);if(qx.core.Environment.get(k)){this._add(D,{edge:0});}else {this._add(D,{row:0,column:0});};break;case s:D=this._createScrollBar(r);D.setMinWidth(0);D.exclude();D.addListener(B,this._onScrollBarX,this);D.addListener(m,this._onChangeScrollbarXVisibility,this);D.addListener(p,this._onScrollAnimationEnd.bind(this,c));if(qx.core.Environment.get(k)){D.setMinHeight(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this._add(D,{bottom:0,right:0,left:0});}else {this._add(D,{row:1,column:0});};break;case d:D=this._createScrollBar(n);D.setMinHeight(0);D.exclude();D.addListener(B,this._onScrollBarY,this);D.addListener(m,this._onChangeScrollbarYVisibility,this);D.addListener(p,this._onScrollAnimationEnd.bind(this,t));if(qx.core.Environment.get(k)){D.setMinWidth(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this._add(D,{right:0,bottom:0,top:0});}else {this._add(D,{row:0,column:1});};break;case j:D=new qx.ui.core.Widget();D.setWidth(0);D.setHeight(0);D.exclude();if(!qx.core.Environment.get(k)){this._add(D,{row:1,column:1});};break;};return D||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,F);},getPaneSize:function(){return this.getChildControl(z).getInnerSize();},getItemTop:function(G){return this.getChildControl(z).getItemTop(G);},getItemBottom:function(H){return this.getChildControl(z).getItemBottom(H);},getItemLeft:function(I){return this.getChildControl(z).getItemLeft(I);},getItemRight:function(J){return this.getChildControl(z).getItemRight(J);},scrollToX:function(L,K){qx.ui.core.queue.Manager.flush();this.getChildControl(s).scrollTo(L,K);},scrollByX:function(N,M){qx.ui.core.queue.Manager.flush();this.getChildControl(s).scrollBy(N,M);},getScrollX:function(){var O=this.getChildControl(s,true);return O?O.getPosition():0;},scrollToY:function(Q,P){qx.ui.core.queue.Manager.flush();this.getChildControl(d).scrollTo(Q,P);},scrollByY:function(S,R){qx.ui.core.queue.Manager.flush();this.getChildControl(d).scrollBy(S,R);},getScrollY:function(){var T=this.getChildControl(d,true);return T?T.getPosition():0;},stopScrollAnimationX:function(){var U=this.getChildControl(s,true);if(U){U.stopScrollAnimation();};},stopScrollAnimationY:function(){var V=this.getChildControl(d,true);if(V){V.stopScrollAnimation();};},_onScrollAnimationEnd:function(W){this.fireEvent(f+W+i);},_onScrollBarX:function(e){this.getChildControl(z).scrollToX(e.getData());},_onScrollBarY:function(e){this.getChildControl(z).scrollToY(e.getData());},_onScrollPaneX:function(e){var X=this.getChildControl(s);if(X){X.updatePosition(e.getData());};},_onScrollPaneY:function(e){var Y=this.getChildControl(d);if(Y){Y.updatePosition(e.getData());};},_onChangeScrollbarXVisibility:function(e){var ba=this._isChildControlVisible(s);var bb=this._isChildControlVisible(d);if(!ba){this.scrollToX(0);};ba&&bb?this._showChildControl(j):this._excludeChildControl(j);},_onChangeScrollbarYVisibility:function(e){var bc=this._isChildControlVisible(s);var bd=this._isChildControlVisible(d);if(!bd){this.scrollToY(0);};bc&&bd?this._showChildControl(j):this._excludeChildControl(j);},_computeScrollbars:function(){var bk=this.getChildControl(z);var content=bk.getChildren()[0];if(!content){this._excludeChildControl(s);this._excludeChildControl(d);return;};var be=this.getInnerSize();var bj=bk.getInnerSize();var bh=bk.getScrollSize();if(!bj||!bh){return;};var bl=this.getScrollbarX();var bm=this.getScrollbarY();if(bl===h&&bm===h){var bi=bh.width>be.width;var bn=bh.height>be.height;if((bi||bn)&&!(bi&&bn)){if(bi){bn=bh.height>bj.height;}else if(bn){bi=bh.width>bj.width;};};}else {var bi=bl===A;var bn=bm===A;if(bh.width>(bi?bj.width:be.width)&&bl===h){bi=true;};if(bh.height>(bi?bj.height:be.height)&&bm===h){bn=true;};};if(bi){var bg=this.getChildControl(s);bg.show();bg.setMaximum(Math.max(0,bh.width-bj.width));bg.setKnobFactor((bh.width===0)?0:bj.width/bh.width);}else {this._excludeChildControl(s);};if(bn){var bf=this.getChildControl(d);bf.show();bf.setMaximum(Math.max(0,bh.height-bj.height));bf.setKnobFactor((bh.height===0)?0:bj.height/bh.height);}else {this._excludeChildControl(d);};}}});})();(function(){var a="os.version",b="os.name",c="qx.mobile.nativescroll",d="osx",e="qx.nativeScrollBars",f="event.mspointer",g="android",h="firefox",i="os.scrollBarOverlayed",j="browser.version",k="ios",l=".",m="browser.name",n="qx.bom.client.Scroll";qx.Bootstrap.define(n,{statics:{scrollBarOverlayed:function(){var o=qx.bom.element.Scroll.getScrollbarWidth();var q=qx.bom.client.OperatingSystem.getName()===d;var p=qx.core.Environment.get(e);return o===0&&q&&p;},getNativeScroll:function(){if(qx.core.Environment.get(b)==k&&parseInt(qx.core.Environment.get(j),10)>7){return true;};if(qx.core.Environment.get(m)==h){return true;};if(qx.core.Environment.get(b)==g){var s=qx.core.Environment.get(a);var r=s.split(l);if(r[0]>4||(r.length>1&&r[0]>3&&r[1]>3)){return true;};};if(qx.core.Environment.get(f)){return true;};return false;}},defer:function(t){qx.core.Environment.add(i,t.scrollBarOverlayed);qx.core.Environment.add(c,t.getNativeScroll);}});})();(function(){var a="qx.ui.form.List",b="text",c="Boolean",d="one",f="addChildWidget",g="_applySpacing",h="Enter",j="Integer",k="action",m="keyinput",n="qx.event.type.Data",o="addItem",p="vertical",q="removeChildWidget",r="",s="_applyOrientation",t="single",u="keypress",v="list",w="horizontal",x="__pR",y="label",z="pane",A="removeItem";qx.Class.define(a,{extend:qx.ui.core.scroll.AbstractScrollArea,implement:[qx.ui.core.IMultiSelection,qx.ui.form.IForm,qx.ui.form.IModelSelection],include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.core.MMultiSelectionHandling,qx.ui.form.MForm,qx.ui.form.MModelSelection],construct:function(B){qx.ui.core.scroll.AbstractScrollArea.call(this);this.__pR=this._createListItemContainer();this.__pR.addListener(f,this._onAddChild,this);this.__pR.addListener(q,this._onRemoveChild,this);this.getChildControl(z).add(this.__pR);if(B){this.setOrientation(w);}else {this.initOrientation();};this.addListener(u,this._onKeyPress);this.addListener(m,this._onKeyInput);this.__pS=r;},events:{addItem:n,removeItem:n},properties:{appearance:{refine:true,init:v},focusable:{refine:true,init:true},orientation:{check:[w,p],init:p,apply:s},spacing:{check:j,init:0,apply:g,themeable:true},enableInlineFind:{check:c,init:true}},members:{__pS:null,__pT:null,__pR:null,SELECTION_MANAGER:qx.ui.core.selection.ScrollArea,getChildrenContainer:function(){return this.__pR;},_onAddChild:function(e){this.fireDataEvent(o,e.getData());},_onRemoveChild:function(e){this.fireDataEvent(A,e.getData());},handleKeyPress:function(e){if(!this._onKeyPress(e)){this._getManager().handleKeyPress(e);};},_createListItemContainer:function(){return new qx.ui.container.Composite;},_applyOrientation:function(F,C){var D=F===w;var E=D?new qx.ui.layout.HBox():new qx.ui.layout.VBox();var content=this.__pR;content.setLayout(E);content.setAllowGrowX(!D);content.setAllowGrowY(D);this._applySpacing(this.getSpacing());},_applySpacing:function(H,G){this.__pR.getLayout().setSpacing(H);},_onKeyPress:function(e){if(e.getKeyIdentifier()==h&&!e.isAltPressed()){var I=this.getSelection();for(var i=0;i1000){this.__pS=r;};this.__pS+=e.getChar();var K=this.findItemByLabelFuzzy(this.__pS);if(K){this.setSelection([K]);};this.__pT=(new Date).valueOf();},findItemByLabelFuzzy:function(M){M=M.toLowerCase();var L=this.getChildren();for(var i=0,l=L.length;i=19){cA=E;}else {cA=O;};qx.ui.style.Stylesheet.getInstance().addRule(cA,bU+cz+m);}else if(cx==co&&cC!=cl){cA=K;qx.ui.style.Stylesheet.getInstance().addRule(cA,bU+cz);}else if(cx==W||cC==cl){var cB=cC==cl?ch:N;cA=[bY,q,a].join(cB);qx.ui.style.Stylesheet.getInstance().addRule(cA,bU+cz+m);};}},construct:function(cD){qx.ui.core.Widget.call(this);this.__pV=!qx.core.Environment.get(X);if(cD!=null){this.setValue(cD);};this.getContentElement().addListener(bO,this._onChangeContent,this);if(this.__pV){this.addListener(B,this._syncPlaceholder,this);}else {qx.ui.form.AbstractField.__pU();this.getContentElement().addClass(l);};if(qx.core.Environment.get(s)){qx.locale.Manager.getInstance().addListener(cg,this._onChangeLocale,this);};},events:{"input":i,"changeValue":i},properties:{textAlign:{check:[cb,bX,bV],nullable:true,themeable:true,apply:cu},readOnly:{check:bQ,apply:ci,event:cw,init:false},selectable:{refine:true,init:true},focusable:{refine:true,init:true},maxLength:{apply:P,check:ce,init:Infinity},liveUpdate:{check:bQ,init:false},placeholder:{check:x,nullable:true,apply:cf},filter:{check:cd,nullable:true,init:null}},members:{__pW:true,_placeholder:null,__iK:null,__iL:null,__pV:true,__lh:null,__lk:null,getFocusElement:function(){var cE=this.getContentElement();if(cE){return cE;};},_createInputElement:function(){return new qx.html.Input(A);},renderLayout:function(cN,top,cI,cG){var cF=this._updateInsets;var cL=qx.ui.core.Widget.prototype.renderLayout.call(this,cN,top,cI,cG);if(!cL){return;};var cJ=cL.size||cF;var cM=bR;if(cJ||cL.local||cL.margin){var innerWidth=cI;var innerHeight=cG;};var cK=this.getContentElement();if(cF&&this.__pV){if(this.__pV){var cH=this.getInsets();this._getPlaceholderElement().setStyles({paddingTop:cH.top+cM,paddingRight:cH.right+cM,paddingBottom:cH.bottom+cM,paddingLeft:cH.left+cM});};};if(cJ||cL.margin){if(this.__pV){var cH=this.getInsets();this._getPlaceholderElement().setStyles({"width":(innerWidth-cH.left-cH.right)+cM,"height":(innerHeight-cH.top-cH.bottom)+cM});};cK.setStyles({"width":innerWidth+cM,"height":innerHeight+cM});this._renderContentElement(innerHeight,cK);};if(cL.position){if(this.__pV){this._getPlaceholderElement().setStyles({"left":cN+cM,"top":top+cM});};};},_renderContentElement:function(innerHeight,cO){},_createContentElement:function(){var cP=this._createInputElement();cP.setSelectable(this.getSelectable());cP.setEnabled(this.getEnabled());cP.addListener(r,this._onHtmlInput,this);cP.setAttribute(U,cj);cP.addClass(v);if((qx.core.Environment.get(cr)==W)&&(qx.core.Environment.get(o)==8)){cP.setStyles({backgroundImage:bL+qx.util.ResourceManager.getInstance().toUri(cp)+bM});};return cP;},_applyEnabled:function(cS,cR){qx.ui.core.Widget.prototype._applyEnabled.call(this,cS,cR);this.getContentElement().setEnabled(cS);if(this.__pV){if(cS){this._showPlaceholder();}else {this._removePlaceholder();};}else {var cQ=this.getContentElement();cQ.setAttribute(bW,cS?this.getPlaceholder():cm);};},__pX:{width:16,height:16},_getContentHint:function(){return {width:this.__pX.width*10,height:this.__pX.height||16};},_applyFont:function(cV,cU){if(cU&&this.__lh&&this.__lk){this.__lh.removeListenerById(this.__lk);this.__lk=null;};var cT;if(cV){this.__lh=qx.theme.manager.Font.getInstance().resolve(cV);if(this.__lh instanceof qx.bom.webfonts.WebFont){this.__lk=this.__lh.addListener(C,this._onWebFontStatusChange,this);};cT=this.__lh.getStyles();}else {cT=qx.bom.Font.getDefaultStyles();};if(this.getTextColor()!=null){delete cT[F];};if(qx.core.Environment.get(cr)==W&&qx.core.Environment.get(o)<11){qx.html.Element.flush();this.getContentElement().setStyles(cT,true);}else {this.getContentElement().setStyles(cT);};if(this.__pV){delete cT[F];this._getPlaceholderElement().setStyles(cT);};if(cV){this.__pX=qx.bom.Label.getTextSize(D,cT);}else {delete this.__pX;};qx.ui.core.queue.Layout.add(this);},_applyTextColor:function(cX,cW){if(cX){this.getContentElement().setStyle(F,qx.theme.manager.Color.getInstance().resolve(cX));}else {this.getContentElement().removeStyle(F);};},_applyMaxLength:function(da,cY){if(da){this.getContentElement().setAttribute(t,da);}else {this.getContentElement().removeAttribute(t);};},tabFocus:function(){qx.ui.core.Widget.prototype.tabFocus.call(this);this.selectAllText();},_getTextSize:function(){return this.__pX;},_onHtmlInput:function(e){var dd=e.getData();var dc=true;this.__pW=false;if(this.__iL&&this.__iL===dd){dc=false;};if(this.getFilter()!=null){var df=cm;var db=dd.search(this.getFilter());var de=dd;while(db>=0){df=df+(de.charAt(db));de=de.substring(db+1,de.length);db=de.search(this.getFilter());};if(df!=dd){dc=false;dd=df;this.getContentElement().setValue(dd);};};if(dc){this.fireDataEvent(r,dd,this.__iL);this.__iL=dd;if(this.getLiveUpdate()){this.__pY(dd);};};},_onWebFontStatusChange:function(dh){if(dh.getData().valid===true){var dg=this.__lh.getStyles();this.__pX=qx.bom.Label.getTextSize(D,dg);qx.ui.core.queue.Layout.add(this);};},__pY:function(dj){var di=this.__iK;this.__iK=dj;if(di!=dj){this.fireNonBubblingEvent(c,qx.event.type.Data,[dj,di]);};},setValue:function(dn){if(dn===null){if(this.__pW){return dn;};dn=cm;this.__pW=true;}else {this.__pW=false;if(this.__pV){this._removePlaceholder();};};if(qx.lang.Type.isString(dn)){var dm=this.getContentElement();if(dm.getValue()!=dn){var dk=dm.getValue();dm.setValue(dn);var dl=this.__pW?null:dn;this.__iK=dk;this.__pY(dl);this.__iL=this.__iK;};if(this.__pV){this._showPlaceholder();};return dn;};throw new Error(J+dn);},getValue:function(){var dp=this.getContentElement().getValue();return this.__pW?null:dp;},resetValue:function(){this.setValue(null);},_onChangeContent:function(e){this.__pW=e.getData()===null;this.__pY(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(dq,dr){this.getContentElement().setTextSelection(dq,dr);},clearTextSelection:function(){this.getContentElement().clearTextSelection();},selectAllText:function(){this.setTextSelection(0);},setLayoutParent:function(parent){qx.ui.core.Widget.prototype.setLayoutParent.call(this,parent);if(this.__pV){if(parent){this.getLayoutParent().getContentElement().add(this._getPlaceholderElement());}else {var ds=this._getPlaceholderElement();ds.getParent().remove(ds);};};},_showPlaceholder:function(){var du=this.getValue()||cm;var dt=this.getPlaceholder();if(dt!=null&&du==cm&&!this.hasState(k)&&!this.hasState(ca)){if(this.hasState(j)){this._syncPlaceholder();}else {this.addState(j);};};},_onPointerDownPlaceholder:function(){window.setTimeout(function(){this.focus();}.bind(this),0);},_removePlaceholder:function(){if(this.hasState(j)){if(this.__pV){this._getPlaceholderElement().setStyle(cv,Y);};this.removeState(j);};},_syncPlaceholder:function(){if(this.hasState(j)&&this.__pV){this._getPlaceholderElement().setStyle(cv,M);};},_getPlaceholderElement:function(){if(this._placeholder==null){this._placeholder=new qx.html.Label();var dv=qx.theme.manager.Color.getInstance();this._placeholder.setStyles({"zIndex":11,"position":cq,"color":dv.resolve(cc),"whiteSpace":u,"cursor":A,"visibility":Y});this._placeholder.addListener(T,this._onPointerDownPlaceholder,this);};return this._placeholder;},_onChangeLocale:qx.core.Environment.select(s,{"true":function(e){var content=this.getPlaceholder();if(content&&content.translate){this.setPlaceholder(content.translate());};},"false":null}),_onChangeTheme:function(){qx.ui.core.Widget.prototype._onChangeTheme.call(this);if(this._placeholder){this._placeholder.dispose();this._placeholder=null;};if(!this.__pV&&qx.ui.form.AbstractField.__do){qx.bom.Stylesheet.removeSheet(qx.ui.form.AbstractField.__do);qx.ui.form.AbstractField.__do=null;qx.ui.form.AbstractField.__pU();};},_applyPlaceholder:function(dx,dw){if(this.__pV){this._getPlaceholderElement().setValue(dx);if(dx!=null){this.addListener(V,this._removePlaceholder,this);this.addListener(ct,this._showPlaceholder,this);this._showPlaceholder();}else {this.removeListener(V,this._removePlaceholder,this);this.removeListener(ct,this._showPlaceholder,this);this._removePlaceholder();};}else {if(this.getEnabled()){this.getContentElement().setAttribute(bW,dx);if(qx.core.Environment.get(g)===L&&parseFloat(qx.core.Environment.get(S))<36&&this.getContentElement().getNodeName()===h&&!this.getContentElement().getDomElement()){this.addListenerOnce(cn,function(){this.getContentElement().getDomElement().removeAttribute(bW);this.getContentElement().getDomElement().setAttribute(bW,dx);},this);};};};},_applyTextAlign:function(dz,dy){this.getContentElement().setStyle(bS,dz);},_applyReadOnly:function(dB,dA){var dC=this.getContentElement();dC.setAttribute(z,dB);if(dB){this.addState(G);this.setFocusable(false);}else {this.removeState(G);this.setFocusable(true);};}},defer:function(dD){var dE=bP+cs+y+I+R+Q+bT+w+d+H+n;qx.ui.style.Stylesheet.getInstance().addRule(f,dE);},destruct:function(){if(this._placeholder){this._placeholder.removeListener(T,this._onPointerDownPlaceholder,this);var parent=this._placeholder.getParent();if(parent){parent.remove(this._placeholder);};this._placeholder.dispose();};this._placeholder=this.__lh=null;if(qx.core.Environment.get(s)){qx.locale.Manager.getInstance().removeListener(cg,this._onChangeLocale,this);};if(this.__lh&&this.__lk){this.__lh.removeListenerById(this.__lk);};this.getContentElement().removeListener(r,this._onHtmlInput,this);}});})();(function(){var a="engine.name",b="",c="wrap",d="none",e="Text wrapping is only support by textareas!",f="overflow",g="webkit",h="input",i="qx.html.Input",j="value",k="select",l="disabled",m="read-only",n="textarea",o="overflowX",p="overflowY";qx.Class.define(i,{extend:qx.html.Element,construct:function(s,q,r){if(s===k||s===n){var t=s;}else {t=h;};qx.html.Element.call(this,t,q,r);this.__qa=s;},members:{__qa:null,__qb:null,__qc:null,_createDomElement:function(){return qx.bom.Input.create(this.__qa);},_applyProperty:function(name,u){qx.html.Element.prototype._applyProperty.call(this,name,u);var v=this.getDomElement();if(name===j){qx.bom.Input.setValue(v,u);}else if(name===c){qx.bom.Input.setWrap(v,u);this.setStyle(f,v.style.overflow,true);this.setStyle(o,v.style.overflowX,true);this.setStyle(p,v.style.overflowY,true);};},setEnabled:function(w){this.__qc=w;this.setAttribute(l,w===false);if(qx.core.Environment.get(a)==g){if(!w){this.setStyles({"userModify":m,"userSelect":d});}else {this.setStyles({"userModify":null,"userSelect":this.__qb?null:d});};};},setSelectable:qx.core.Environment.select(a,{"webkit":function(x){this.__qb=x;qx.html.Element.prototype.setSelectable.call(this,this.__qc&&x);},"default":function(y){qx.html.Element.prototype.setSelectable.call(this,y);}}),setValue:function(z){var A=this.getDomElement();if(A){if(A.value!=z){qx.bom.Input.setValue(A,z);};}else {this._setProperty(j,z);};return this;},getValue:function(){var B=this.getDomElement();if(B){return qx.bom.Input.getValue(B);};return this._getProperty(j)||b;},setWrap:function(C,D){if(this.__qa===n){this._setProperty(c,C,D);}else {throw new Error(e);};return this;},getWrap:function(){if(this.__qa===n){return this._getProperty(c);}else {throw new Error(e);};}}});})();(function(){var a="wrap",b="text",c="engine.name",d="soft",e="",f="mshtml",g="number",h="checkbox",j="select-one",k="input",m="option",n="value",o="off",p="select",q="radio",r="qx.bom.Input",s="nowrap",t="textarea",u="auto",v="normal";qx.Bootstrap.define(r,{statics:{__jy:{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(y,w,z){{};var w=w?qx.lang.Object.clone(w):{};var x;if(y===t||y===p){x=y;}else {x=k;w.type=y;};return qx.dom.Element.create(x,w,z);},setValue:function(F,E){var G=F.nodeName.toLowerCase();var B=F.type;var Array=qx.lang.Array;var H=qx.lang.Type;if(typeof E===g){E+=e;};if((B===h||B===q)){if(H.isArray(E)){F.checked=Array.contains(E,F.value);}else {F.checked=F.value==E;};}else if(G===p){var A=H.isArray(E);var I=F.options;var C,D;for(var i=0,l=I.length;i])+>/gi,function(n){if(n.indexOf(a)===0){return f;}else if(n.length>0&&n.replace(/^\s*/,b).replace(/\s*$/,b)==b){return e;}else {return b;};}));}},defer:function(o){o.FROM_CHARCODE=qx.lang.Object.invert(o.TO_CHARCODE);}});})();(function(){var a="&",b='X',c="",d='#',e="&#",f=";",g="qx.util.StringEscape";qx.Bootstrap.define(g,{statics:{escape:function(o,m){var j,n=c;for(var i=0,l=o.length;i0x7F){j=e+h+f;}else {j=k;};};n+=j;};return n;},unescape:function(p,q){return p.replace(/&[#\w]+;/gi,function(t){var r=t;var t=t.substring(1,t.length-1);var s=q[t];if(s){r=String.fromCharCode(s);}else {if(t.charAt(0)==d){if(t.charAt(1).toUpperCase()==b){s=t.substring(2);if(s.match(/^[0-9A-Fa-f]+$/gi)){r=String.fromCharCode(parseInt(s,16));};}else {s=t.substring(1);if(s.match(/^\d+$/gi)){r=String.fromCharCode(parseInt(s,10));};};};};return r;});}}});})();(function(){var a="format",b='format',c="short",d="HH:mm",e='_',f="HHmmsszz",g="HHmm",h="HHmmss",j="thu",k="This case should never happen.",l="sat",m="cldr_date_format_",n="HH:mm:ss zz",o="full",p="cldr_pm",q="cldr_day_",r="_",s="cldr_month_",t="long",u="wed",v="medium",w="fri",x="cldr_am",y="tue",z="qx.locale.Date",A="mon",B="cldr_date_time_format_",C="sun",D="cldr_time_format_",E="HH:mm:ss",F='stand-alone';qx.Class.define(z,{statics:{__qd:qx.locale.Manager.getInstance(),getAmMarker:function(G){return this.__qd.localize(x,[],G);},getPmMarker:function(H){return this.__qd.localize(p,[],H);},getDayNames:function(length,J,N,K){var N=N?N:a;{};var L=[C,A,y,u,j,w,l];var M=[];for(var i=0;ibD){return ((bC>=bD)&&(bC<=bB));}else {return ((bC>=bD)||(bC<=bB));};},_getTerritory:function(bE){if(bE){var bF=bE.split(r)[1]||bE;}else {bF=this.__qd.getTerritory()||this.__qd.getLanguage();};return bF.toUpperCase();},__qe:function(bI,bH,bL,bK){var bJ=this.__qd.localize(bL,[],bK);if(bJ==bL){var bG=bL.replace(e+bI+e,e+bH+e);return this.__qd.localize(bG,[],bK);}else {return bJ;};}}});})();(function(){var a="qx.util.format.IFormat";qx.Interface.define(a,{members:{format:function(b){},parse:function(c){}}});})();(function(){var a="-",b="QQQ",c='W',d="qqqq",e="h",f="KK",g='L',h=" is not supported",m="Z",n="Date string '",o="GGGGG",p='abbreviated',q="Y+",r=". Wildcard ",s="eeeee",t="(\\d\\d?)",u="LL",v="abbreviated",w="EEEE",x="^",y=":",z='y',A="quoted_literal",B="weekOfYear",C="locale",D="SSS",E='a',F="day",G="(-*",H="qqq",I="(\\d\\d)",J='3rd quarter',K="K",L='q',M="pm",N="Error parsing date '",O='Anno Domini',P='G',Q="a",R='2nd quarter',S="yyyy-MM-dd'T'HH:mm:ss",T="GMT",U="HH:mm:ss",V="dd",W="+",X="qx.util.format.DateFormat",Y='weekDay',el="am",eg="eee",em="quarter",ei="ee",ej="q",ef="QQQQ",ek="HHmmss",eq="ww",er="H",es='Y+',et="wide",en='wide',eo="(\\d\\d\\d?)",eh="(GMT[\\+\\-]\\d\\d:\\d\\d)",ep="_applyLocale",ex="Q",fb="c",ey="(",ez="weekOfMonth",eu="ccc",ev="long",gc="Malformed date format: ",ew="EEEEE",eA='Y',eB="EE",eC="GGG",eH='-',eI="w",eJ="mm",eD='h',eE="S",eF='s',eG='A',eO="yyyy-MM-dd",eP="G",eQ='z',eR="GG",eK=")",eL="kk",eM="ss",eN="([\\+\\-]\\d\\d\\d\\d)",eV="default",eW='BC',gg='H',eX='S',eS='1st quarter',eT="stand-alone",ge="0",eU="MMMM",eY='c',fa="d",fm='Q',fl='Q1',fk="eeee",fq="QQ",fp="LLLLL",fo="HH",fn='k',ff="m",fe="DDD",fd="D",fc='D',fj="LLLL",fi="(\\d\\d*?)",fh='e',fg="': the value for day or month is too large",fx="literal",fw='K',fv="L",fu="hh",fB="ms",fA="(\\d\\d?\\d?)",fz="cccc",fy="e",ft='y+',fs="|",fr="W",fM="dayOfYear",fL="GGGG",fK='Q2',fQ='B',fP="MM",fO='Q4',fN="y+",fF='narrow',fE="ccccc",fD="E",fC="wildcard",fJ='',fI="' does not match the date format: ",fH="short",fG='d',fW="unkown",fV="narrow",fU="\\d?",fT="'",gb="k",ga='Before Christ',fY='Z',fX='m',fS=" ",fR="yyyy-MM-dd'T'HH:mm:ss'Z'",dP="String",dO='Q3',gh="z",dM="DD",dN="min",dL="",gf='M',dJ="sec",dK='isoUtcDateTime',dI='4th quarter',gd="(\\d?)",dG="SS",dH="MMM",dF="s",dY="M",ea='w',dW="EEE",dX="$",dU="?",dV='AD',dT="\\d",dE="+?",dR="hour",dS="MMMMM",dQ='E',ee='month',ec="LLL",ed="qq",eb="format";qx.Class.define(X,{extend:qx.core.Object,implement:qx.util.format.IFormat,construct:function(gj,gi){qx.core.Object.call(this);if(!gi){this.__la=qx.locale.Manager.getInstance().getLocale();this.__qf=qx.locale.Manager.getInstance().bind(C,this,C);}else {this.__la=gi;this.setLocale(gi);};this.__qg=this.__la;if(gj!=null){this.__qh=gj.toString();if(this.__qh in qx.util.format.DateFormat.ISO_MASKS){if(this.__qh===dK){this.__qi=true;};this.__qh=qx.util.format.DateFormat.ISO_MASKS[this.__qh];};}else {this.__qh=qx.locale.Date.getDateFormat(ev,this.__la)+fS+qx.locale.Date.getDateTimeFormat(ek,U,this.__la);};},properties:{locale:{apply:ep,nullable:true,check:dP}},statics:{getDateInstance:function(){var gk=qx.util.format.DateFormat;var gl=qx.locale.Date.getDateFormat(fH)+dL;if(gk._dateInstance==null||gk._dateInstance.__qh!=gl){gk._dateInstance=new gk(gl);};return gk._dateInstance;},getDateTimeInstance:function(){var gm=qx.util.format.DateFormat;var gn=qx.locale.Date.getDateFormat(ev)+fS+qx.locale.Date.getDateTimeFormat(ek,U);if(gm._dateTimeInstance==null||gm._dateTimeInstance.__qh!=gn){gm._dateTimeInstance=new gm(gn);};return gm._dateTimeInstance;},ASSUME_YEAR_2000_THRESHOLD:30,ISO_MASKS:{isoDate:eO,isoTime:U,isoDateTime:S,isoUtcDateTime:fR},AM_MARKER:el,PM_MARKER:M},members:{__qf:null,__la:null,__qg:null,__qh:null,__qj:null,__qk:null,__ql:null,__qi:null,__qm:function(gp,go){var gq=dL+(gp<0?(-1*gp):gp);while(gq.length0?1:-1;var gT=Math.floor(Math.abs(hd)/60);var hl=Math.abs(hd)%60;this.__qv();var hn=dL;for(var i=0;ihp.length){for(var j=hp.length;jhp.length){for(var j=gX.length;j=1&&hg<=3){hp=hb>0?dV:eW;}else if(hg==4){hp=hb>0?O:ga;}else if(hg==5){hp=hb>0?eG:fQ;};break;case fm:if(hg==1||hg==2){hp=this.__qm(parseInt(gW/4)+1,hg);};if(hg==3){hp=fm+(parseInt(gW/4)+1);};break;case L:if(hg==1||hg==2){hp=this.__qm(parseInt(gW/4)+1,hg);};if(hg==3){hp=fm+(parseInt(gW/4)+1);};break;case fc:hp=this.__qm(this.__qn(hj),hg);break;case fG:hp=this.__qm(ha,hg);break;case ea:hp=this.__qm(this.__qp(hj),hg);break;case c:hp=this.__qq(hj);break;case dQ:if(hg>=1&&hg<=3){hp=qx.locale.Date.getDayName(v,he,gV,eb,true);}else if(hg==4){hp=qx.locale.Date.getDayName(et,he,gV,eb,true);}else if(hg==5){hp=qx.locale.Date.getDayName(fV,he,gV,eb,true);};break;case fh:var gY=qx.locale.Date.getWeekStart(gV);var hk=1+((he-gY>=0)?(he-gY):7+(he-gY));if(hg>=1&&hg<=2){hp=this.__qm(hk,hg);}else if(hg==3){hp=qx.locale.Date.getDayName(v,he,gV,eb,true);}else if(hg==4){hp=qx.locale.Date.getDayName(et,he,gV,eb,true);}else if(hg==5){hp=qx.locale.Date.getDayName(fV,he,gV,eb,true);};break;case eY:var gY=qx.locale.Date.getWeekStart(gV);var hk=1+((he-gY>=0)?(he-gY):7+(he-gY));if(hg==1){hp=fJ+hk;}else if(hg==3){hp=qx.locale.Date.getDayName(v,he,gV,eT,true);}else if(hg==4){hp=qx.locale.Date.getDayName(et,he,gV,eT,true);}else if(hg==5){hp=qx.locale.Date.getDayName(fV,he,gV,eT,true);};break;case gf:if(hg==1||hg==2){hp=this.__qm(gW+1,hg);}else if(hg==3){hp=qx.locale.Date.getMonthName(v,gW,gV,eb,true);}else if(hg==4){hp=qx.locale.Date.getMonthName(et,gW,gV,eb,true);}else if(hg==5){hp=qx.locale.Date.getMonthName(fV,gW,gV,eb,true);};break;case g:if(hg==1||hg==2){hp=this.__qm(gW+1,hg);}else if(hg==3){hp=qx.locale.Date.getMonthName(v,gW,gV,eT,true);}else if(hg==4){hp=qx.locale.Date.getMonthName(et,gW,gV,eT,true);}else if(hg==5){hp=qx.locale.Date.getMonthName(fV,gW,gV,eT,true);};break;case E:hp=(hh<12)?qx.locale.Date.getAmMarker(gV):qx.locale.Date.getPmMarker(gV);break;case gg:hp=this.__qm(hh,hg);break;case fn:hp=this.__qm((hh==0)?24:hh,hg);break;case fw:hp=this.__qm(hh%12,hg);break;case eD:hp=this.__qm(((hh%12)==0)?12:(hh%12),hg);break;case fX:hp=this.__qm(ho,hg);break;case eF:hp=this.__qm(hf,hg);break;case eX:hp=this.__qm(hm,3);if(hghp.length){hp+=ge;};};break;case eQ:if(hg>=1&&hg<=4){hp=T+((hi>0)?a:W)+this.__qm(Math.abs(gT),2)+y+this.__qm(hl,2);};break;case fY:if(hg>=1&&hg<=3){hp=((hi>0)?a:W)+this.__qm(Math.abs(gT),2)+this.__qm(hl,2);}else {hp=T+((hi>0)?a:W)+this.__qm(Math.abs(gT),2)+y+this.__qm(hl,2);};break;};hn+=hp;};};return hn;},parse:function(hw){this.__qw();var hz=this.__qj.regex.exec(hw);if(hz==null){throw new Error(n+hw+fI+this.__qh);};var hq={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 hu=1;var hr=false;var hs=false;for(var i=0;i=hC.length){i++ ;break;};var hD=hC.charAt(i+1);if(hD==fT){hI+=hH;i++ ;}else {i++ ;hF=fW;};}else {hI+=hH;i++ ;};break;case fC:if(hH==hG){hE++ ;i++ ;}else {this.__ql.push({type:fC,character:hG,size:hE});hG=null;hE=0;hF=eV;};break;default:if((hH>=E&&hH<=eQ)||(hH>=eG&&hH<=fY)){hG=hH;hF=fC;}else if(hH==fT){if(i+1>=hC.length){hI+=hH;i++ ;break;};var hD=hC.charAt(i+1);if(hD==fT){hI+=hH;i++ ;};i++ ;hF=A;}else {hF=eV;};if(hF!=eV){if(hI.length>0){this.__ql.push({type:fx,text:hI});hI=dL;};}else {hI+=hH;i++ ;};break;};};if(hG!=null){this.__ql.push({type:fC,character:hG,size:hE});}else if(hI.length>0){this.__ql.push({type:fx,text:hI});};},__qw:function(){if(this.__qj!=null){return;};var hM=this.__qh;this.__qy();this.__qv();var hS=[];var hN=x;for(var hK=0;hK=0){if(iD=0){if(iF=0;var jk=function(){var jq=ji?jl:jh;var jr=jo===jq[0]?eT:eb;var jp=jj.length;var js=p;switch(jp){case 4:js=en;break;case 5:js=fF;break;default:js=p;};return [jr,js];};if(!ii[jj]){ii[jj]={};var jg=jk();var jn=ji?qx.locale.Date.getMonthNames:qx.locale.Date.getDayNames;var jm=jn.call(qx.locale.Date,jg[1],ib,jg[0],true);for(var i=0,l=jm.length;ibc){this.setMinimum(bc);};if(this.getValue()>bc){this.setValue(bc);}else {this._updateButtons();};},_applyEnabled:function(be,bd){qx.ui.core.Widget.prototype._applyEnabled.call(this,be,bd);this._updateButtons();},_checkValue:function(bf){return typeof bf===s&&bf>=this.getMinimum()&&bf<=this.getMaximum();},_applyValue:function(bi,bh){var bg=this.getChildControl(t);this._updateButtons();this.__qz=bi;if(bi!==null){if(this.getNumberFormat()){bg.setValue(this.getNumberFormat().format(bi));}else {bg.setValue(bi+r);};}else {bg.setValue(r);};},_applyEditable:function(bl,bk){var bj=this.getChildControl(t);if(bj){bj.setReadOnly(!bl);};},_applyWrap:function(bn,bm){this._updateButtons();},_applyNumberFormat:function(bq,bp){var bo=this.getChildControl(t);bo.setFilter(this._getFilterRegExp());var br=this.getNumberFormat();if(br!==null){br.addListener(F,this._onChangeNumberFormat,this);};this._applyValue(this.__qz,undefined);},_getContentPaddingTarget:function(){return this.getChildControl(t);},_updateButtons:function(){var bt=this.getChildControl(y);var bs=this.getChildControl(q);var bu=this.getValue();if(!this.getEnabled()){bt.setEnabled(false);bs.setEnabled(false);}else {if(this.getWrap()){bt.setEnabled(true);bs.setEnabled(true);}else {if(bu!==null&&buthis.getMinimum()){bs.setEnabled(true);}else {bs.setEnabled(false);};};};},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case a:this.__qA=true;case p:this.getChildControl(y).press();break;case m:this.__qB=true;case h:this.getChildControl(q).press();break;default:return;};e.stopPropagation();e.preventDefault();},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case a:this.getChildControl(y).release();this.__qA=false;break;case p:this.getChildControl(y).release();break;case m:this.getChildControl(q).release();this.__qB=false;break;case h:this.getChildControl(q).release();break;};},_onRoll:function(e){if(e.getPointerType()!=D){return;};var bv=e.getDelta().y;if(bv<0){this._countUp();}else if(bv>0){this._countDown();};e.stop();},_onTextChange:function(e){var bw=this.getChildControl(t);var bx;if(this.getNumberFormat()){try{bx=this.getNumberFormat().parse(bw.getValue());}catch(by){};};if(bx===undefined){bx=parseFloat(bw.getValue());};if(!isNaN(bx)){if(bx>this.getMaximum()){bx=this.getMaximum();}else if(bxthis.getMaximum()){var bD=this.getMaximum()-bE;bE=this.getMinimum()-bD-1;};};this.gotoValue(bE);},_countDown:function(){if(this.__qB){var bG=this.getValue()-this.getPageStep();}else {var bG=this.getValue()-this.getSingleStep();};if(this.getWrap()){if(bG=d&&c<=b;},isBetweenRange:function(f,g,e){return f>g&&fh){return h;}else if(j!=null&&in)?1:((k==n)?0:-1);},_defaultSortComparatorInsensitiveAscending:function(q,r){var p=(q[arguments.callee.columnIndex].toLowerCase?q[arguments.callee.columnIndex].toLowerCase():q[arguments.callee.columnIndex]);var s=(r[arguments.callee.columnIndex].toLowerCase?r[arguments.callee.columnIndex].toLowerCase():r[arguments.callee.columnIndex]);if(qx.lang.Type.isNumber(p)&&qx.lang.Type.isNumber(s)){var t=isNaN(p)?isNaN(s)?0:1:isNaN(s)?-1:null;if(t!=null){return t;};};return (p>s)?1:((p==s)?0:-1);},_defaultSortComparatorDescending:function(v,w){var u=v[arguments.callee.columnIndex];var x=w[arguments.callee.columnIndex];if(qx.lang.Type.isNumber(u)&&qx.lang.Type.isNumber(x)){var y=isNaN(u)?isNaN(x)?0:1:isNaN(x)?-1:null;if(y!=null){return y;};};return (u=this.__qG.length){throw new Error(c+bj+g+this.__qG.length+e);};return this.__qG[bj][bk];},setValue:function(bm,bl,bo){if(this.__qG[bl][bm]!=bo){this.__qG[bl][bm]=bo;if(this.hasListener(f)){var bn={firstRow:bl,lastRow:bl,firstColumn:bm,lastColumn:bm};this.fireDataEvent(f,bn);};if(bm==this.__qH){this.clearSorting();};};},setData:function(bq,bp){this.__qG=bq;if(this.hasListener(f)){var br={firstRow:0,lastRow:bq.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};this.fireDataEvent(f,br);};if(bp!==false){this.clearSorting();};},getData:function(){return this.__qG;},setDataAsMapArray:function(bt,bs,bu){this.setData(this._mapArray2RowArr(bt,bs),bu);},addRows:function(bx,bw,bv){if(bw==null){bw=this.__qG.length;};bx.splice(0,0,bw,0);Array.prototype.splice.apply(this.__qG,bx);var by={firstRow:bw,lastRow:this.__qG.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};this.fireDataEvent(f,by);if(bv!==false){this.clearSorting();};},addRowsAsMapArray:function(bA,bB,bz,bC){this.addRows(this._mapArray2RowArr(bA,bz),bB,bC);},setRows:function(bF,bE,bD){if(bE==null){bE=0;};bF.splice(0,0,bE,bF.length);Array.prototype.splice.apply(this.__qG,bF);var bG={firstRow:bE,lastRow:this.__qG.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1};this.fireDataEvent(f,bG);if(bD!==false){this.clearSorting();};},setRowsAsMapArray:function(bI,bJ,bH,bK){this.setRows(this._mapArray2RowArr(bI,bH),bJ,bK);},removeRows:function(bM,bN,bL){this.__qG.splice(bM,bN);var bO={firstRow:bM,lastRow:this.__qG.length-1,firstColumn:0,lastColumn:this.getColumnCount()-1,removeStart:bM,removeCount:bN};this.fireDataEvent(f,bO);if(bL!==false){this.clearSorting();};},_mapArray2RowArr:function(bQ,bU){var bT=bQ.length;var bP=this.getColumnCount();var bS=new Array(bT);var bR;for(var i=0;idj){var dr=qx.event.Registration.getManager(dg[0]);for(var di in qx.ui.table.Table.__qQ){dl[di]={};dl[di].capture=dr.getListeners(dg[0],di,true);dl[di].bubble=dr.getListeners(dg[0],di,false);};};this._cleanUpMetaColumns(dn.length);var dm=0;for(var i=0;idg.length){var ds=this.getTableColumnModel();for(var i=dg.length;i0){var dh=dl[di].capture;for(var j=0;j0){var dv=dl[di].bubble;for(var j=0;j=dO;i-- ){dN[i].destroy();};};},_onChangeLocale:function(dP){this.updateContent();this._updateStatusBar();},_onChangeTheme:function(){qx.ui.core.Widget.prototype._onChangeTheme.call(this);this.getDataRowRenderer().initThemeValues();this.updateContent();this._updateStatusBar();},_onSelectionChanged:function(dR){var dQ=this._getPaneScrollerArr();for(var i=0;i=ea&&this.__qP<(ea+ed)){this.setFocusedCell();};};for(var i=0;i0){this.getSelectionModel().setSelectionInterval(0,el-1);};break;default:ek=false;break;};}else {switch(eo){case co:this.__qN.handleSelectKeyDown(this.__qP,ep);break;case bX:case ce:this.startEditing();ek=true;break;case bP:this.setFocusedCell(this.__qO,0,true);break;case bR:var el=this.getTableModel().getRowCount();this.setFocusedCell(this.__qO,el-1,true);break;case y:this.moveFocusedCell(-1,0);break;case ch:this.moveFocusedCell(1,0);break;case cb:this.moveFocusedCell(0,-1);break;case z:this.moveFocusedCell(0,1);break;case p:case cd:var ej=this.getPaneScroller(0);var em=ej.getTablePane();var ei=this.getRowHeight();var eh=(eo==p)?-1:1;el=em.getVisibleRowCount()-1;ej.setScrollY(ej.getScrollY()+eh*el*ei);this.moveFocusedCell(0,eh*el);break;default:ek=false;};};};if(en!=this.__qP&&this.getRowFocusChangeModifiesSelection()){this.__qN.handleMoveKeyDown(this.__qP,ep);};if(ek){ep.preventDefault();ep.stopPropagation();};},_onFocusChanged:function(er){var eq=this._getPaneScrollerArr();for(var i=0;i=fg.left&&fh<=fg.right){return i;};};return -1;},_getMetaColumnAtColumnX:function(fj){var fk=this.getMetaColumnCounts();var fl=0;for(var i=0;i=0){if(fn==0){fp=this.trn(bL,bV,fo,fo);}else {fp=this.trn(bO,bK,fo,fn,fo);};};if(this.__qR){if(fp){fp+=this.__qR;}else {fp=this.__qR;};};if(fp){this.getChildControl(D).setValue(fp);};};},_updateScrollerWidths:function(){var fq=this._getPaneScrollerArr();for(var i=0;i0;},getAnchorSelectionIndex:function(){return this.__rc;},_setAnchorSelectionIndex:function(o){this.__rc=o;},getLeadSelectionIndex:function(){return this.__rd;},_setLeadSelectionIndex:function(p){this.__rd=p;},_getSelectedRangeArr:function(){return this.__rb;},resetSelection:function(){if(!this.isSelectionEmpty()){this._resetSelection();this._fireChangeSelection();};},isSelectionEmpty:function(){return this.__rb.length==0;},getSelectedCount:function(){var r=0;for(var i=0;i=t.minIndex&&s<=t.maxIndex){return true;};};return false;},getSelectedRanges:function(){var u=[];for(var i=0;iH){break;}else if(J.maxIndex>=D){var K=(J.minIndex>=D)&&(J.minIndex<=H);var F=(J.maxIndex>=D)&&(J.maxIndex<=H);if(K&&F){this.__rb.splice(i,1);i-- ;}else if(K){J.minIndex=H+1;}else if(F){J.maxIndex=D-1;}else {var I={minIndex:H+1,maxIndex:J.maxIndex};this.__rb.splice(i+1,0,I);J.maxIndex=D-1;break;};};};this._fireChangeSelection();},_resetSelection:function(){this.__rb=[];this.__rc=-1;this.__rd=-1;},_addSelectionInterval:function(O,M){this.__rc=O;this.__rd=M;var L=Math.min(O,M);var P=Math.max(O,M);var N=0;for(;NL){break;};};this.__rb.splice(N,0,{minIndex:L,maxIndex:P});var R=this.__rb[0];for(var i=1;i=Q.minIndex){R.maxIndex=Math.max(R.maxIndex,Q.maxIndex);this.__rb.splice(i,1);i-- ;}else {R=Q;};};},_dumpRanges:function(){var S=h;for(var i=0;i0){if(arguments.length===1){if(qx.lang.Type.isString(B)){this.setLocale(B);}else {throw new Error(g);};}else {throw new Error(v);};};if(!B){this.setLocale(qx.locale.Manager.getInstance().getLocale());if(qx.core.Environment.get(t)){qx.locale.Manager.getInstance().bind(u,this,u);};};},properties:{minimumIntegerDigits:{check:w,init:0},maximumIntegerDigits:{check:w,nullable:true},minimumFractionDigits:{check:w,init:0},maximumFractionDigits:{check:w,nullable:true},groupingUsed:{check:b,init:true},prefix:{check:n,init:o,event:y},postfix:{check:n,init:o,event:y},locale:{check:n,init:null,event:j}},members:{format:function(H){if(isNaN(H)){return x;};switch(H){case Infinity:return A;case -Infinity:return m;};var F=(H<0);if(F){H=-H;};if(this.getMaximumFractionDigits()!=null){var N=Math.pow(10,this.getMaximumFractionDigits());H=Math.round(H*N)/N;};var L=String(Math.floor(H)).length;var C=o+H;var J=C.substring(0,L);while(J.lengththis.getMaximumIntegerDigits()){J=J.substring(J.length-this.getMaximumIntegerDigits());};var I=C.substring(L+1);while(I.lengththis.getMaximumFractionDigits()){I=I.substring(0,this.getMaximumFractionDigits());};if(this.getGroupingUsed()){var E=J;J=o;var M;for(M=E.length;M>3;M-=3){J=o+qx.locale.Number.getGroupSeparator(this.getLocale())+E.substring(M-3,M)+J;};J=E.substring(0,M)+J;};var G=this.getPrefix()?this.getPrefix():o;var D=this.getPostfix()?this.getPostfix():o;var K=G+(F?a:o)+J;if(I.length>0){K+=o+qx.locale.Number.getDecimalSeparator(this.getLocale())+I;};K+=D;return K;},parse:function(W){var S=qx.lang.String.escapeRegexpChars(qx.locale.Number.getGroupSeparator(this.getLocale())+o);var Q=qx.lang.String.escapeRegexpChars(qx.locale.Number.getDecimalSeparator(this.getLocale())+o);var O=new RegExp(i+qx.lang.String.escapeRegexpChars(this.getPrefix())+k+q+S+c+l+Q+p+qx.lang.String.escapeRegexpChars(this.getPostfix())+d);var R=O.exec(W);if(R==null){throw new Error(e+W+f);};var T=(R[2]==a);var V=R[3]||h;var U=R[4];V=V.replace(new RegExp(S,r),o);var P=(T?a:o)+V;if(U!=null&&U.length!=0){U=U.replace(new RegExp(Q),o);P+=z+U;};return parseFloat(P);}},destruct:function(){if(qx.core.Environment.get(t)){qx.locale.Manager.getInstance().removeRelatedBindings(this);};}});})();(function(){var a="qx.ui.table.ICellEditorFactory";qx.Interface.define(a,{members:{createCellEditor:function(b){return true;},getCellEditorValue:function(c){return true;}}});})();(function(){var a="Function",b="abstract",c="",d="number",e="appear",f="Abstract method call!",g="qx.ui.table.celleditor.AbstractField";qx.Class.define(g,{extend:qx.core.Object,implement:qx.ui.table.ICellEditorFactory,type:b,properties:{validationFunction:{check:a,nullable:true,init:null}},members:{_createEditor:function(){throw new Error(f);},createCellEditor:function(h){var i=this._createEditor();i.originalValue=h.value;if(h.value===null||h.value===undefined){h.value=c;};i.setValue(c+h.value);i.addListener(e,function(){i.selectAllText();});return i;},getCellEditorValue:function(j){var k=j.getValue();var l=this.getValidationFunction();if(l){k=l(k,j.originalValue);};if(typeof j.originalValue==d){k=parseFloat(k);};return k;}}});})();(function(){var a="number",b="qx.ui.table.celleditor.TextField",c="table-editor-textfield";qx.Class.define(b,{extend:qx.ui.table.celleditor.AbstractField,members:{getCellEditorValue:function(d){var e=d.getValue();var f=this.getValidationFunction();if(f){e=f(e,d.originalValue);};if(typeof d.originalValue==a){if(e!=null){e=parseFloat(e);};};return e;},_createEditor:function(){var g=new qx.ui.form.TextField();g.setAppearance(c);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 a="qx.ui.table.headerrenderer.Default",b="sortedAscending",c="sorted",d="String";qx.Class.define(a,{extend:qx.core.Object,implement:qx.ui.table.IHeaderRenderer,statics:{STATE_SORTED:c,STATE_SORTED_ASCENDING:b},properties:{toolTip:{check:d,init:null,nullable:true}},members:{createHeaderCell:function(e){var f=new qx.ui.table.headerrenderer.HeaderCell();this.updateHeaderCell(e,f);return f;},updateHeaderCell:function(j,i){var h=qx.ui.table.headerrenderer.Default;if(j.name&&j.name.translate){i.setLabel(j.name.translate());}else {i.setLabel(j.name);};var g=i.getToolTip();if(this.getToolTip()!=null){if(g==null){g=new qx.ui.tooltip.ToolTip(this.getToolTip());i.setToolTip(g);qx.util.DisposeUtil.disposeTriggeredBy(g,i);}else {g.setLabel(this.getToolTip());};};j.sorted?i.addState(h.STATE_SORTED):i.removeState(h.STATE_SORTED);j.sortedAscending?i.addState(h.STATE_SORTED_ASCENDING):i.removeState(h.STATE_SORTED_ASCENDING);}}});})();(function(){var a="_applySortIcon",b="_applyIcon",c="icon",d="label",e="table-header-cell",f="qx.ui.table.headerrenderer.HeaderCell",g="_applyLabel",h="String",i="sort-icon";qx.Class.define(f,{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:e},label:{check:h,init:null,nullable:true,apply:g},sortIcon:{check:h,init:null,nullable:true,apply:a,themeable:true},icon:{check:h,init:null,nullable:true,apply:b}},members:{_applyLabel:function(l,k){if(l){this._showChildControl(d).setValue(l);}else {this._excludeChildControl(d);};},_applySortIcon:function(n,m){if(n){this._showChildControl(i).setSource(n);}else {this._excludeChildControl(i);};},_applyIcon:function(p,o){if(p){this._showChildControl(c).setSource(p);}else {this._excludeChildControl(c);};},_createChildControlImpl:function(s,r){var q;switch(s){case d:q=new qx.ui.basic.Label(this.getLabel()).set({anonymous:true,allowShrinkX:true});this._add(q,{row:0,column:1});break;case i:q=new qx.ui.basic.Image(this.getSortIcon());q.setAnonymous(true);this._add(q,{row:0,column:2});break;case c:q=new qx.ui.basic.Image(this.getIcon()).set({anonymous:true,allowShrinkX:true});this._add(q,{row:0,column:0});break;};return q||qx.ui.container.Composite.prototype._createChildControlImpl.call(this,s);}}});})();(function(){var a="visibilityChanged",b="__rl",c="orderChanged",d="__rk",e="widthChanged",f="qx.ui.table.columnmodel.Basic",g=". The column is not added to this TablePaneModel.",h="__rm",j="Showing column failed: ",k=", got ",l="setColumnsOrder: Invalid number of column positions given, expected ",m="headerCellRendererChanged",n="qx.event.type.Data",o="visibilityChangedPre";qx.Class.define(f,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__rg=[];this.__rh=[];},events:{"widthChanged":n,"visibilityChangedPre":n,"visibilityChanged":n,"orderChanged":n,"headerCellRendererChanged":n},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:{__qF:null,__ri:null,__rh:null,__rg:null,__rj:null,__rk:null,__rl:null,__rm:null,init:function(s,v){{};this.__rj=[];var r=qx.ui.table.columnmodel.Basic.DEFAULT_WIDTH;var t=this.__rk||(this.__rk=new qx.ui.table.columnmodel.Basic.DEFAULT_HEADER_RENDERER());var q=this.__rl||(this.__rl=new qx.ui.table.columnmodel.Basic.DEFAULT_DATA_RENDERER());var p=this.__rm||(this.__rm=new qx.ui.table.columnmodel.Basic.DEFAULT_EDITOR_FACTORY());this.__rg=[];this.__rh=[];var u;if(v){u=v.getInitiallyHiddenColumns();};u=u||[];for(var z=0;z=T&&U=Y&&Y!==-1){this.__rs();};},__rs:function(){this.__rp=[];this.__rr=0;},__rt:function(bc,ba,bb){if(!ba&&!bb&&this.__rp[bc]){return this.__rp[bc];}else {return null;};},__ru:function(bh,bg,be,bf){var bd=this.getMaxCacheLines();if(!be&&!bf&&!this.__rp[bh]&&bd>0){this._applyMaxCacheLines(bd);this.__rp[bh]=bg;this.__rr+=1;};},updateContent:function(bi,bl,bk,bj){if(bi){this.__rs();};if(bl&&Math.abs(bl)<=Math.min(10,this.getVisibleRowCount())){this._scrollContent(bl);}else if(bj&&!this.getTable().getAlwaysUpdateCells()){this._updateRowStyles(bk);}else {this._updateAllRows();};},_updateRowStyles:function(br){var bq=this.getContentElement().getDomElement();if(!bq||!bq.firstChild){this._updateAllRows();return;};var bu=this.getTable();var bn=bu.getSelectionModel();var bs=bu.getTableModel();var bv=bu.getDataRowRenderer();var bp=bq.firstChild.childNodes;var bo={table:bu};var bw=this.getFirstVisibleRow();var y=0;var bm=bp.length;if(br!=null){var bt=br-bw;if(bt>=0&&btcm){this._updateAllRows();return;};var co=cn<0?cf+cn:0;var ce=cn<0?0:cf-cn;for(var i=Math.abs(cn)-1;i>=0;i-- ){var ch=cd[co];try{cl.removeChild(ch);}catch(cp){break;};};if(!this.__rq){this.__rq=document.createElement(g);};var ck=a;ck+=this._getRowsHtml(ci+ce,Math.abs(cn));ck+=e;this.__rq.innerHTML=ck;var cj=this.__rq.firstChild.childNodes;if(cn>0){for(var i=cj.length-1;i>=0;i-- ){var ch=cj[0];cl.appendChild(ch);};}else {for(var i=cj.length-1;i>=0;i-- ){var ch=cj[cj.length-1];cl.insertBefore(ch,cl.firstChild);};};if(this.__qP!==null){this._updateRowStyles(this.__qP-cn);this._updateRowStyles(this.__qP);};this.fireEvent(t);},_updateAllRows:function(){var ct=this.getContentElement().getDomElement();if(!ct){this.addListenerOnce(u,arguments.callee,this);return;};var cz=this.getTable();var cw=cz.getTableModel();var cy=this.getPaneScroller().getTablePaneModel();var cx=cy.getColumnCount();var cq=cz.getRowHeight();var cu=this.getFirstVisibleRow();var cr=this.getVisibleRowCount();var cA=cw.getRowCount();if(cu+cr>cA){cr=Math.max(0,cA-cu);};var cs=cy.getTotalWidth();var cv;if(cr>0){cv=[E,m,(cz.getForceLineHeight()?s+cq+z:q),c,B,this._getRowsHtml(cu,cr),b];}else {cv=[];};var cB=cv.join(q);ct.innerHTML=cB;this.setWidth(cs);this.__ro=cx;this.__qS=cr;this.fireEvent(t);}},destruct:function(){this.__rq=this.__rn=this.__rp=null;this.removeListener(k,this._onTrack,this);}});})();(function(){var a="__rn",b="first",c="hovered",d="last",e="qx.ui.table.pane.Header";qx.Class.define(e,{extend:qx.ui.core.Widget,construct:function(f){qx.ui.core.Widget.call(this);this._setLayout(new qx.ui.layout.HBox());this.__lM=new qx.ui.core.Blocker(this);this.__rn=f;},members:{__rn:null,__rv:null,__rw:null,__lM:null,getPaneScroller:function(){return this.__rn;},getTable:function(){return this.__rn.getTable();},getBlocker:function(){return this.__lM;},onColOrderChanged:function(){this._updateContent(true);},onPaneModelChanged:function(){this._updateContent(true);},onTableModelMetaDataChanged:function(){this._updateContent();},setColumnWidth:function(h,g,i){var j=this.getHeaderWidgetAtColumn(h);if(j!=null){j.setWidth(g);};},setPointerOverColumn:function(l){if(l!=this.__rw){if(this.__rw!=null){var k=this.getHeaderWidgetAtColumn(this.__rw);if(k!=null){k.removeState(c);};};if(l!=null){this.getHeaderWidgetAtColumn(l).addState(c);};this.__rw=l;};},getHeaderWidgetAtColumn:function(n){var m=this.getPaneScroller().getTablePaneModel().getX(n);return this._getChildren()[m];},showColumnMoveFeedback:function(y,x){var r=this.getContentLocation();if(this.__rv==null){var w=this.getTable();var o=this.getPaneScroller().getTablePaneModel().getX(y);var q=this._getChildren()[o];var s=w.getTableModel();var u=w.getTableColumnModel();var v={xPos:o,col:y,name:s.getColumnName(y),table:w};var t=u.getHeaderCellRenderer(y);var p=t.createHeaderCell(v);var z=q.getBounds();p.setWidth(z.width);p.setHeight(z.height);p.setZIndex(1000000);p.setOpacity(0.8);p.setLayoutProperties({top:r.top});this.getApplicationRoot().add(p);this.__rv=p;};this.__rv.setLayoutProperties({left:r.left+x});this.__rv.show();},hideColumnMoveFeedback:function(){if(this.__rv!=null){this.__rv.destroy();this.__rv=null;};},isShowingColumnMoveFeedback:function(){return this.__rv!=null;},_updateContent:function(B){var L=this.getTable();var E=L.getTableModel();var H=L.getTableColumnModel();var A=this.getPaneScroller().getTablePaneModel();var D=this._getChildren();var F=A.getColumnCount();var I=E.getSortColumnIndex();if(B){this._cleanUpCells();};var J={};J.sortedAscending=E.isSortAscending();for(var x=0;x=0;x-- ){var N=O[x];N.destroy();};}},destruct:function(){this.__lM.dispose();this._disposeObjects(a);}});})();(function(){var a="__da",b="changeScrollX",c="Boolean",d="scroll",g="focus-indicator",h="__rD",i="changeHorizontalScrollBarVisible",j="cellDbltap",k="excluded",l="bottom",m="_applyScrollTimeout",n="_applyTablePaneModel",o="Integer",p="cellTap",q="roll",r="qx.event.type.Data",s="dblclick",t="dataEdited",u="mouse",v="changeVerticalScrollBarVisible",w="interval",y="qx.ui.table.pane.Scroller",z="scrollbar-y",A="table-scroller-focus-indicator",B="_headerClipper",C="visible",D="__rz",E="resize-line",F="_applyShowCellFocusIndicator",G="__rB",H="header",I="dbltap",J="resize",K="pointerup",L="vertical",M="__rA",N="__rE",O="changeScrollY",P="device.type",Q="os.scrollBarOverlayed",R="pointerdown",S="modelChanged",T="changeTablePaneModel",U="beforeSort",V="scrollbar-x",W="cellContextmenu",X="horizontal",Y="table-scroller",bz="appear",bA="losecapture",bB="contextmenu",bv="_paneClipper",bw="__ry",bx="col-resize",by="disappear",bF="_applyVerticalScrollBarVisible",bG="_applyHorizontalScrollBarVisible",bH="editing",bL="pane",bC="desktop",bD="close",bE="tap",bt="pointermove",bK="__rC",bu="qx.ui.table.pane.Model",bI="qx.ui.table.pane.CellEvent",bJ="pointerout";qx.Class.define(y,{extend:qx.ui.core.Widget,include:[qx.ui.core.scroll.MScrollBarFactory],construct:function(bM){qx.ui.core.Widget.call(this);this.__rx=bM;var bN=new qx.ui.layout.Grid();bN.setColumnFlex(0,1);bN.setRowFlex(1,1);this._setLayout(bN);this.__ry=this._showChildControl(H);this.__rz=this._showChildControl(bL);this.__rA=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({minWidth:0});this._add(this.__rA,{row:0,column:0,colSpan:2});this._headerClipper=this._createHeaderClipper();this._headerClipper.add(this.__ry);this._headerClipper.addListener(bA,this._onChangeCaptureHeader,this);this._headerClipper.addListener(bt,this._onPointermoveHeader,this);this._headerClipper.addListener(R,this._onPointerdownHeader,this);this._headerClipper.addListener(K,this._onPointerupHeader,this);this._headerClipper.addListener(bE,this._onTapHeader,this);this.__rA.add(this._headerClipper,{flex:1});this._paneClipper=this._createPaneClipper();this._paneClipper.add(this.__rz);this._paneClipper.addListener(q,this._onRoll,this);this._paneClipper.addListener(bt,this._onPointermovePane,this);this._paneClipper.addListener(R,this._onPointerdownPane,this);this._paneClipper.addListener(bE,this._onTapPane,this);this._paneClipper.addListener(bB,this._onTapPane,this);this._paneClipper.addListener(bB,this._onContextMenu,this);if(qx.core.Environment.get(P)===bC){this._paneClipper.addListener(s,this._onDbltapPane,this);}else {this._paneClipper.addListener(I,this._onDbltapPane,this);};this._paneClipper.addListener(J,this._onResizePane,this);if(qx.core.Environment.get(Q)){this.__rB=new qx.ui.container.Composite();this.__rB.setLayout(new qx.ui.layout.Canvas());this.__rB.add(this._paneClipper,{edge:0});this._add(this.__rB,{row:1,column:0});}else {this._add(this._paneClipper,{row:1,column:0});};this.__rC=this._showChildControl(V);this.__rD=this._showChildControl(z);this.__rE=this.getChildControl(g);this.initShowCellFocusIndicator();this.getChildControl(E).hide();this.addListener(bJ,this._onPointerout,this);this.addListener(bz,this._onAppear,this);this.addListener(by,this._onDisappear,this);this.__da=new qx.event.Timer();this.__da.addListener(w,this._oninterval,this);this.initScrollTimeout();},statics:{MIN_COLUMN_WIDTH:10,RESIZE_REGION_RADIUS:5,TAP_TOLERANCE:5,HORIZONTAL_SCROLLBAR:1,VERTICAL_SCROLLBAR:2},events:{"changeScrollY":r,"changeScrollX":r,"cellTap":bI,"cellDbltap":bI,"cellContextmenu":bI,"beforeSort":r},properties:{horizontalScrollBarVisible:{check:c,init:false,apply:bG,event:i},verticalScrollBarVisible:{check:c,init:false,apply:bF,event:v},tablePaneModel:{check:bu,apply:n,event:T},liveResize:{check:c,init:false},focusCellOnPointerMove:{check:c,init:false},selectBeforeFocus:{check:c,init:false},showCellFocusIndicator:{check:c,init:true,apply:F},contextMenuFromDataCellsOnly:{check:c,init:true},resetSelectionOnHeaderTap:{check:c,init:true},scrollTimeout:{check:o,init:100,apply:m},appearance:{refine:true,init:Y}},members:{__qS:null,__rx:null,__rF:null,__rG:null,__rH:null,_moveColumn:null,__rI:null,_lastMoveTargetX:null,_lastMoveTargetScroller:null,__rJ:null,__rK:null,__rL:null,__rM:null,__rN:null,__rO:false,__rP:null,__rQ:null,__rR:null,__qO:null,__qP:null,_cellEditor:null,__rS:null,__rT:null,__rC:null,__rD:null,__ry:null,_headerClipper:null,__rz:null,_paneClipper:null,__rB:null,__rE:null,__rA:null,__da:null,getPaneInsetRight:function(){var bQ=this.getTopRightWidget();var bR=bQ&&bQ.isVisible()&&bQ.getBounds()?bQ.getBounds().width+bQ.getMarginLeft()+bQ.getMarginRight():0;var bP=this.__rD;var bO=this.getVerticalScrollBarVisible()?this.getVerticalScrollBarWidth()+bP.getMarginLeft()+bP.getMarginRight():0;return Math.max(bR,bO);},setPaneWidth:function(bS){if(this.isVerticalScrollBarVisible()){bS+=this.getPaneInsetRight();};this.setWidth(bS);},_createChildControlImpl:function(bV,bU){var bT;switch(bV){case H:bT=(this.getTable().getNewTablePaneHeader())(this);break;case bL:bT=(this.getTable().getNewTablePane())(this);break;case g:bT=new qx.ui.table.pane.FocusIndicator(this);bT.setUserBounds(0,0,0,0);bT.setZIndex(1000);bT.addListener(K,this._onPointerupFocusIndicator,this);this._paneClipper.add(bT);bT.show();bT.setDecorator(null);break;case E:bT=new qx.ui.core.Widget();bT.setUserBounds(0,0,0,0);bT.setZIndex(1000);this._paneClipper.add(bT);break;case V:bT=this._createScrollBar(X).set({alignY:l});bT.addListener(d,this._onScrollX,this);if(this.__rB!=null){bT.setMinHeight(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this.__rB.add(bT,{bottom:0,right:0,left:0});}else {this._add(bT,{row:2,column:0});};break;case z:bT=this._createScrollBar(L);bT.addListener(d,this._onScrollY,this);if(this.__rB!=null){this.__rB.add(bT,{right:0,bottom:0,top:0});}else {this._add(bT,{row:1,column:1});};break;};return bT||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,bV);},_applyHorizontalScrollBarVisible:function(bX,bW){this.__rC.setVisibility(bX?C:k);},_applyVerticalScrollBarVisible:function(ca,bY){this.__rD.setVisibility(ca?C:k);},_applyTablePaneModel:function(cc,cb){if(cb!=null){cb.removeListener(S,this._onPaneModelChanged,this);};cc.addListener(S,this._onPaneModelChanged,this);},_applyShowCellFocusIndicator:function(ce,cd){if(ce){this.__rE.setDecorator(A);this._updateFocusIndicator();}else {if(this.__rE){this.__rE.setDecorator(null);};};},getScrollY:function(){return this.__rD.getPosition();},setScrollY:function(scrollY,cf){this.__rD.scrollTo(scrollY);if(cf){this._updateContent();};},getScrollX:function(){return this.__rC.getPosition();},setScrollX:function(scrollX){this.__rC.scrollTo(scrollX);},getTable:function(){return this.__rx;},_createPaneClipper:function(){return new qx.ui.table.pane.Clipper();},_createHeaderClipper:function(){return new qx.ui.table.pane.Clipper();},onColVisibilityChanged:function(){this.updateHorScrollBarMaximum();this._updateFocusIndicator();},setColumnWidth:function(ci,ch){this.__ry.setColumnWidth(ci,ch);this.__rz.setColumnWidth(ci,ch);var cg=this.getTablePaneModel();var x=cg.getX(ci);if(x!=-1){this.updateHorScrollBarMaximum();this._updateFocusIndicator();};},onColOrderChanged:function(){this.__ry.onColOrderChanged();this.__rz.onColOrderChanged();this.updateHorScrollBarMaximum();},onTableModelDataChanged:function(cm,ck,cn,cl){this.__rz.onTableModelDataChanged(cm,ck,cn,cl);var cj=this.getTable().getTableModel().getRowCount();if(cj!=this.__qS){this.updateVerScrollBarMaximum();if(this.getFocusedRow()>=cj){if(cj==0){this.setFocusedCell(null,null);}else {this.setFocusedCell(this.getFocusedColumn(),cj-1);};};this.__qS=cj;};},onSelectionChanged:function(){this.__rz.onSelectionChanged();},onFocusChanged:function(){this.__rz.onFocusChanged();},onTableModelMetaDataChanged:function(){this.__ry.onTableModelMetaDataChanged();this.__rz.onTableModelMetaDataChanged();},_onPaneModelChanged:function(){this.__ry.onPaneModelChanged();this.__rz.onPaneModelChanged();},_onResizePane:function(){this.updateHorScrollBarMaximum();this.updateVerScrollBarMaximum();this._updateContent();this.__ry._updateContent();this.__rx._updateScrollBarVisibility();},updateHorScrollBarMaximum:function(){var cs=this._paneClipper.getInnerSize();if(!cs){return;};var cp=this.getTablePaneModel().getTotalWidth();var cq=this.__rC;if(cs.width0&&cE.y<1){cE.y=1;}else if(cE.y<0&&cE.y>-1){cE.y=-1;};this.__rD.scrollBy(parseInt(cE.y,10));var cC=cE.y!=0&&!this.__rU(this.__rD,cE.y);if(cE.x>0&&cE.x<1){cE.x=1;}else if(cE.x<0&&cE.x>-1){cE.x=-1;};this.__rC.scrollBy(parseInt(cE.x,10));if(this.__rQ&&this.getFocusCellOnPointerMove()){this._focusCellAtPagePos(this.__rQ,this.__rR);};cC=cC||(cE.x!=0&&!this.__rU(this.__rC,cE.x));if(cC){e.stop();}else {e.stopMomentum();};},__rU:function(cG,cH){var cF=cG.getPosition();return (cH<0&&cF<=0)||(cH>0&&cF>=cG.getMaximum());},__rV:function(cN){var cL=this.getTable();var cO=this.__ry.getHeaderWidgetAtColumn(this.__rK);var cI=cO.getSizeHint().minWidth;var cK=Math.max(cI,this.__rM+cN-this.__rL);if(this.getLiveResize()){var cJ=cL.getTableColumnModel();cJ.setColumnWidth(this.__rK,cK,true);}else {this.__ry.setColumnWidth(this.__rK,cK,true);var cM=this.getTablePaneModel();this._showResizeLine(cM.getColumnLeft(this.__rK)+cK);};this.__rL+=cK-this.__rM;this.__rM=cK;},__rW:function(cR){var cQ=qx.ui.table.pane.Scroller.TAP_TOLERANCE;if(this.__ry.isShowingColumnMoveFeedback()||cR>this.__rJ+cQ||cRdx){dw-- ;};dA.moveColumn(dx,dw);this._updateFocusIndicator();};};this._moveColumn=null;this._lastMoveTargetX=null;this._headerClipper.releaseCapture();},_onPointerupHeader:function(e){var dE=this.getTable();if(!dE.getEnabled()){return;};if(this.__rK!=null){this._stopResizeHeader();this.__rP=true;e.stop();}else if(this._moveColumn!=null){this._stopMoveHeader();e.stop();};},_onTapHeader:function(e){if(this.__rP){this.__rP=false;return;};var dJ=this.getTable();if(!dJ.getEnabled()){return;};var dH=dJ.getTableModel();var dI=e.getDocumentLeft();var dG=this._getResizeColumnForPageX(dI);if(dG==-1){var dM=this._getColumnForPageX(dI);if(dM!=null&&dH.isColumnSortable(dM)){var dF=dH.getSortColumnIndex();var dK=(dM!=dF)?true:!dH.isSortAscending();var dL={column:dM,ascending:dK,tapEvent:e};if(this.fireDataEvent(U,dL,null,true)){if(dJ.isEditing()){dJ.stopEditing();};dH.sortByColumn(dM,dK);if(this.getResetSelectionOnHeaderTap()){dJ.getSelectionModel().resetSelection();};};};};e.stop();},_onTapPane:function(e){var dQ=this.getTable();if(!dQ.getEnabled()){return;};var dO=e.getDocumentLeft();var dP=e.getDocumentTop();var dS=this._getRowForPagePos(dO,dP);var dR=this._getColumnForPageX(dO);if(dS!=null&&dR!=null){var dN=this.getSelectBeforeFocus();if(dN){dQ.getSelectionManager().handleTap(dS,e);};if(!this.getFocusCellOnPointerMove()){this._focusCellAtPagePos(dO,dP);};if(!dN){dQ.getSelectionManager().handleTap(dS,e);};if(this.__rE.isHidden()||(this.__rN&&!this.__rO&&!this.isEditing()&&dS==this.__rN.row&&dR==this.__rN.col)){this.fireEvent(p,qx.ui.table.pane.CellEvent,[this,e,dS,dR],true);this.__rO=true;};};},_onContextMenu:function(e){var dU=e.getDocumentLeft();var dV=e.getDocumentTop();var dX=this._getRowForPagePos(dU,dV);var dW=this._getColumnForPageX(dU);if(dX===null&&this.getContextMenuFromDataCellsOnly()){return;};if(!this.getShowCellFocusIndicator()||dX===null||(this.__rN&&dX==this.__rN.row&&dW==this.__rN.col)){this.fireEvent(W,qx.ui.table.pane.CellEvent,[this,e,dX,dW],true);var dT=this.getTable().getContextMenu();if(dT){if(dT.getChildren().length>0){dT.openAtPointer(e);}else {dT.exclude();};e.preventDefault();};};},_onContextMenuOpen:function(e){},_onDbltapPane:function(e){var eb=e.getDocumentLeft();var ec=e.getDocumentTop();var ea=this._getColumnForPageX(eb);if(ea!==null){this._focusCellAtPagePos(eb,ec);this.startEditing();var dY=this._getRowForPagePos(eb,ec);if(dY!=-1&&dY!=null){this.fireEvent(j,qx.ui.table.pane.CellEvent,[this,e,dY],true);};};},_onPointerout:function(e){var ed=this.getTable();if(!ed.getEnabled()){return;};if(this.__rK==null){this.setCursor(null);this.getApplicationRoot().setGlobalCursor(null);};this.__ry.setPointerOverColumn(null);if(this.getFocusCellOnPointerMove()){this.__rx.setFocusedCell();};},_showResizeLine:function(x){var ef=this._showChildControl(E);var ee=ef.getWidth();var eg=this._paneClipper.getBounds();ef.setUserBounds(x-Math.round(ee/2),0,ee,eg.height);},_hideResizeLine:function(){this._excludeChildControl(E);},showColumnMoveFeedback:function(ep){var eq=this.getTablePaneModel();var ej=this.getTable().getTableColumnModel();var ek=this.__rz.getContentLocation().left;var eo=eq.getColumnCount();var el=0;var et=0;var ei=ek;for(var eh=0;eh=(fi-fg)&&fh<=(fi+fg)){return fn;};};return -1;},_getRowForPagePos:function(fu,fv){var fo=this.__rz.getContentLocation();if(fufo.right){return null;};if(fv>=fo.top&&fv<=fo.bottom){var fp=this.getTable().getRowHeight();var scrollY=this.__rD.getPosition();if(this.getTable().getKeepFirstVisibleRowComplete()){scrollY=Math.floor(scrollY/fp)*fp;};var fs=scrollY+fv-fo.top;var fw=Math.floor(fs/fp);var fq=this.getTable().getTableModel();var ft=fq.getRowCount();return (fw=fr.top&&fv<=fr.bottom&&fu<=fr.right){return -1;};return null;},setTopRightWidget:function(fx){var fy=this.__rT;if(fy!=null){this.__rA.remove(fy);};if(fx!=null){this.__rA.add(fx);};this.__rT=fx;},getTopRightWidget:function(){return this.__rT;},getHeader:function(){return this.__ry;},getTablePane:function(){return this.__rz;},getVerticalScrollBarWidth:function(){var fz=this.__rD;return fz.isVisible()?(fz.getSizeHint().width||0):0;},getNeededScrollBars:function(fD,fE){var fP=this.__rD;var fO=fP.getSizeHint().width+fP.getMarginLeft()+fP.getMarginRight();var fJ=this.__rC;var fM=fJ.getSizeHint().height+fJ.getMarginTop()+fJ.getMarginBottom();var fG=this._paneClipper.getInnerSize();var fA=fG?fG.width:0;if(this.getVerticalScrollBarVisible()){fA+=fO;};var fK=fG?fG.height:0;if(this.getHorizontalScrollBarVisible()){fK+=fM;};var fH=this.getTable().getTableModel();var fI=fH.getRowCount();var fB=this.getTablePaneModel().getTotalWidth();var fL=this.getTable().getRowHeight()*fI;var fC=false;var fQ=false;if(fB>fA){fC=true;if(fL>fK-fM){fQ=true;};}else if(fL>fK){fQ=true;if(!fE&&(fB>fA-fO)){fC=true;};};var fF=qx.ui.table.pane.Scroller.HORIZONTAL_SCROLLBAR;var fN=qx.ui.table.pane.Scroller.VERTICAL_SCROLLBAR;return ((fD||fC)?fF:0)|((fE||!fQ)?0:fN);},getPaneClipper:function(){return this._paneClipper;},getScrollAreaContainer:function(){return this.getPaneClipper();},_applyScrollTimeout:function(fS,fR){this._startInterval(fS);},_startInterval:function(fT){this.__da.setInterval(fT);this.__da.start();},_stopInterval:function(){this.__da.stop();},_postponedUpdateContent:function(){this._updateContent();},_oninterval:qx.event.GlobalError.observeMethod(function(){if(this.__rG&&!this.__rz._layoutPending){this.__rG=false;this._updateContent();};}),_updateContent:function(){var gc=this._paneClipper.getInnerSize();if(!gc){return;};var ga=gc.height;var scrollX=this.__rC.getPosition();var scrollY=this.__rD.getPosition();var fV=this.getTable().getRowHeight();var fX=Math.floor(scrollY/fV);var gb=this.__rz.getFirstVisibleRow();this.__rz.setFirstVisibleRow(fX);var fW=Math.ceil(ga/fV);var fU=0;var fY=this.getTable().getKeepFirstVisibleRowComplete();if(!fY){fW++ ;fU=scrollY%fV;};this.__rz.setVisibleRowCount(fW);if(fX!=gb){this._updateFocusIndicator();};this._paneClipper.scrollToX(scrollX);if(!fY){this._paneClipper.scrollToY(fU);};},_updateFocusIndicator:function(){var gd=this.getTable();if(!gd.getEnabled()){return;};this.__rE.moveToCell(this.__qO,this.__qP);}},destruct:function(){this._stopInterval();var ge=this.getTablePaneModel();if(ge){ge.dispose();};this.__rN=this.__rT=this.__rx=null;this._disposeObjects(bK,h,B,bv,N,bw,D,M,a,G);}});})();(function(){var a="Escape",b="keypress",c="Enter",d="excluded",f="Integer",g="qx.ui.table.pane.FocusIndicator";qx.Class.define(g,{extend:qx.ui.container.Composite,construct:function(h){qx.ui.container.Composite.call(this);this.__rX=h;this.setKeepActive(true);this.addListener(b,this._onKeyPress,this);},properties:{visibility:{refine:true,init:d},row:{check:f,nullable:true},column:{check:f,nullable:true}},members:{__rX:null,_onKeyPress:function(e){var i=e.getKeyIdentifier();if(i!==a&&i!==c){e.stopPropagation();};},moveToCell:function(p,q){if(!this.__rX.getShowCellFocusIndicator()&&!this.__rX.getTable().getTableModel().isColumnEditable(p)){this.exclude();return;}else {this.show();};if(p==null){this.hide();this.setRow(null);this.setColumn(null);}else {var j=this.__rX.getTablePaneModel().getX(p);if(j==-1){this.hide();this.setRow(null);this.setColumn(null);}else {var o=this.__rX.getTable();var m=o.getTableColumnModel();var n=this.__rX.getTablePaneModel();var l=this.__rX.getTablePane().getFirstVisibleRow();var k=o.getRowHeight();this.setUserBounds(n.getColumnLeft(p)-2,(q-l)*k-2,m.getColumnWidth(p)+3,k+3);this.show();this.setRow(q);this.setColumn(p);};};}},destruct:function(){this.__rX=null;}});})();(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 a="Integer",b="qx.ui.table.pane.CellEvent";qx.Class.define(b,{extend:qx.event.type.Pointer,properties:{row:{check:a,nullable:true},column:{check:a,nullable:true}},members:{init:function(e,c,f,d){c.clone(this);this.setBubbles(false);if(f!=null){this.setRow(f);}else {this.setRow(e._getRowForPagePos(this.getDocumentLeft(),this.getDocumentTop()));};if(d!=null){this.setColumn(d);}else {this.setColumn(e._getColumnForPageX(this.getDocumentLeft()));};},clone:function(g){var h=qx.event.type.Pointer.prototype.clone.call(this,g);h.set({row:this.getRow(),column:this.getColumn()});return h;}}});})();(function(){var a="Number",b="qx.event.type.Event",c="modelChanged",d="_applyFirstColumnX",e="headerCellRendererChanged",f="Integer",g="qx.ui.table.pane.Model",h="_applyMaxColumnCount",i="visibilityChangedPre";qx.Class.define(g,{extend:qx.core.Object,construct:function(j){qx.core.Object.call(this);this.setTableColumnModel(j);},events:{"modelChanged":b},statics:{EVENT_TYPE_MODEL_CHANGED:c},properties:{firstColumnX:{check:f,init:0,apply:d},maxColumnCount:{check:a,init:-1,apply:h}},members:{__rY:null,__sa:null,_applyFirstColumnX:function(l,k){this.__rY=null;this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);},_applyMaxColumnCount:function(n,m){this.__rY=null;this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);},setTableColumnModel:function(o){if(this.__sa){this.__sa.removeListener(i,this._onColVisibilityChanged,this);this.__sa.removeListener(e,this._onHeaderCellRendererChanged,this);};this.__sa=o;this.__sa.addListener(i,this._onColVisibilityChanged,this);this.__sa.addListener(e,this._onHeaderCellRendererChanged,this);this.__rY=null;},_onColVisibilityChanged:function(p){this.__rY=null;this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);},_onHeaderCellRendererChanged:function(q){this.fireEvent(qx.ui.table.pane.Model.EVENT_TYPE_MODEL_CHANGED);},getColumnCount:function(){if(this.__rY==null){var r=this.getFirstColumnX();var t=this.getMaxColumnCount();var s=this.__sa.getVisibleColumnCount();if(t==-1||(r+t)>s){this.__rY=s-r;}else {this.__rY=t;};};return this.__rY;},getColumnAtX:function(v){var u=this.getFirstColumnX();return this.__sa.getVisibleColumnAtX(u+v);},getX:function(z){var w=this.getFirstColumnX();var y=this.getMaxColumnCount();var x=this.__sa.getVisibleX(z)-w;if(x>=0&&(y==-1||x=bj-20&&e.getDocumentTop()<=bj-3)){bk.setVisibility(m);}else if(e.getDocumentTop()<=bj-bi+10||e.getDocumentTop()>=bj-3){bk.setVisibility(S);};},this);return bf;},hasActiveButtons:function(bm){var bl=bm.getChildren();for(var i=0;i=2){this.__st=0;this.__sv=0;};},setSign:function(){this.__sC++ ;if(this.__sC%2==0){this.__sB=false;}else {this.__sB=true;};if(this.__ss==null){this.__ss=this.__st;};this.__ss=this.__ss*(-1);if(this.__st==0){this.__st=this.__ss;};if(this.__st!=0){this.__sw=this.__st;this.__st=this.__ss;};},deleteNumber:function(){var m=false;var p=false;if(this.__ss<0){this.__ss=this.__ss*(-1);p=true;};if(this.__ss!=null){if(this.__ss.toString().lastIndexOf(f)!=-1){this.__ss=this.__ss*this.__sz;m=true;};};var n=this.__ss%10;var o=n/10;this.__ss=this.__ss/10;this.__ss=this.__ss-o;if(m){this.__sz/=10;this.__ss=this.__ss/(this.__sz);m=false;};if(p){this.__ss=this.__ss*(-1);p=false;};},calculate:function(q){if(q==c||q==b||q==h||q==a||q==e){this.__sy=false;this.__sz=1;this.__sA=0;if(this.__su!=g){if(this.__su==c){if(this.__st==null){this.__st=this.__sw;};if(this.__sB){this.__st=this.__sw+this.__ss;}else {this.__st=this.__st+this.__ss;};this.__ss=this.__st;this.__sw=this.__st;};if(this.__su==a){if(this.__st==0){this.__st=this.__ss;this.__ss=0;};if(this.__st==null){this.__st=this.__sw;};if(this.__sB){this.__st=this.__sw-this.__ss;}else {this.__st=this.__st-this.__ss;};this.__ss=this.__st;this.__sw=this.__st;};if(this.__su==h){if(this.__st==0){this.__st=this.__ss;this.__ss=1;};if(this.__st==null){this.__st=this.__sw;};if(this.__ss!=null){if(this.__ss!=0){if(this.__sB){this.__st=this.__sw/this.__ss;}else {this.__st=this.__st/this.__ss;};}else {alert(d);};};this.__ss=this.__st;this.__sw=this.__st;};if(this.__su==b){if(this.__st==0){this.__st=1;};if(this.__ss==null){this.__ss=1;};if(this.__st==null){this.__st=this.__sw;};if(this.__sB){this.__st=this.__sw*this.__ss;}else {this.__st=this.__st*this.__ss;};this.__ss=this.__st;this.__sw=this.__st;};}else {this.__st=this.__ss;};if(q!=e){this.__su=q;}else {this.__sv++ ;this.__st=this.__sw;this.__su=g;};this.__sB=false;this.__sC=0;return;};}}});})();(function(){var a="hsb-spinner-saturation",b="rgb-spinner-red",c="hsb-spinner-brightness",d="keypress",f="center",g="Color Selector",h="hex-field",i="icon/16/apps/utilities-color-chooser.png",j="darktheme.demo.ColorChooser",k="rgb-spinner-blue",l="appear",m="Escape",n="preset-field-set",o="rgb-spinner-green",p="hsb-spinner-hue";qx.Class.define(j,{extend:qx.ui.window.Window,construct:function(){qx.ui.window.Window.call(this);this._createControls();},members:{_createControls:function(){this.set({layout:new qx.ui.layout.VBox(16),icon:i,caption:g});var q=new qx.ui.container.Composite().set({layout:new qx.ui.layout.VBox(),padding:3,allowGrowX:true,allowGrowY:true});var r=new qx.ui.control.ColorSelector();r.getChildControl(h).setWidth(65);r.getChildControl(c).setWidth(55);r.getChildControl(p).setWidth(55);r.getChildControl(a).setWidth(55);r.getChildControl(k).setWidth(55);r.getChildControl(o).setWidth(55);r.getChildControl(b).setWidth(55);r.getChildControl(n).setAlignX(f);q.add(r);this.add(q,{flex:1});this.addListenerOnce(l,this.center,this);this.addListener(l,function(){this.fadeIn(200);},this);this.addListener(d,function(e){if(e.getKeyIdentifier()==m){this.close();};},this);}}});})();(function(){var a="qx.ui.form.IColorForm",b="qx.event.type.Data";qx.Interface.define(a,{events:{"changeValue":b},members:{setValue:function(c){return arguments.length==1;},resetValue:function(){},getValue:function(){}}});})();(function(){var a="black",b="_applyGreen",c="brightnessModifier",d="blueModifier",f="changeValue",g="#333",h="aqua",k="colorbucket",l="qx.event.type.Data",m="rgb-spinner-red",n="hexField",o="Hex",p="control-pane",q="pointerup",r="preset-grid",s="saturationModifier",t="middle",u="decoration/colorselector/brightness-handle.gif",v="Visual",w="_applySaturation",x="Preview (Old/New)",y="Number",z="FFFFFF",A="decoration/colorselector/brightness-field.png",B="white",C="preset-field-set",D="orange",E="_applyRed",F="hsbSpinner",G="_applyBlue",H="maroon",I="Presets",J="#",K="_applyBrightness",L="qx.event.type.Event",M="preview-content-old",N="hex-field-composite",O="rgb-spinner-green",P="brightnessField",Q="pointerdown",R="hueSaturationField",S="#999",T="purple",U="rgb-spinner-composite",V="hue-saturation-handle",W="red",X="hsb-spinner-composite",Y="wheel",bX="pointermove",bY="control-bar",ca="hue-saturation-field",bT="hsb-spinner-brightness",bU="redModifier",bV="visual-pane",bW="input-field-set",cf="brightness-field",cg="blue",ch="navy",ci="preview-field-set",cb="_applyHue",cc="hue-saturation-pane",cd="decoration/colorselector/huesaturation-handle.gif",ce="colorselector",cm="#666",cG="rgb-spinner-blue",cH="Missing backgroundColor value for field: ",cn="qx.ui.control.ColorSelector",cj="lime",ck="#EEE",cJ="olive",cl="RGB",co="decoration/colorselector/huesaturation-field.jpg",cp="#BBB",cq="greenModifier",cu="hsb-spinner-hue",cK="rgbSpinner",cv="teal",cr="hueModifier",cs="preview-content-new",cI="green",ct="Integer",cz="roll",cA="yellow",cM="brightness-handle",cB="fuchsia",cw="Details",cx="hsb-spinner-saturation",cL="",cy="colorbucket#",cC="appear",cD="hex-field",cE="brightness-pane",cF="HSB";qx.Class.define(cn,{extend:qx.ui.core.Widget,implement:[qx.ui.form.IColorForm],construct:function(){qx.ui.core.Widget.call(this);this._setLayout(new qx.ui.layout.VBox());this._createChildControl(bY);this.addListener(cC,this._onAppear,this);},events:{"dialogok":L,"dialogcancel":L,"changeValue":l},properties:{appearance:{refine:true,init:ce},red:{check:ct,init:255,apply:E},green:{check:ct,init:255,apply:b},blue:{check:ct,init:255,apply:G},hue:{check:y,init:0,apply:cb},saturation:{check:y,init:0,apply:w},brightness:{check:y,init:100,apply:K}},members:{__sD:null,__sE:[H,W,D,cA,cJ,T,cB,cj,cI,ch,cg,h,cv,a,g,cm,S,cp,ck,B],__sF:cL,__sG:0,__sH:0,__sI:0,__pW:true,__sJ:false,_createChildControlImpl:function(cV,cQ){var cN;switch(cV){case bY:cN=new qx.ui.container.Composite(new qx.ui.layout.HBox(10));cN.add(this.getChildControl(p));cN.add(this.getChildControl(bV));this._add(cN);break;case bV:cN=new qx.ui.groupbox.GroupBox(this.tr(v));cN.setLayout(new qx.ui.layout.HBox(10));cN.add(this.getChildControl(cc));cN.add(this.getChildControl(cE));break;case p:cN=new qx.ui.container.Composite(new qx.ui.layout.VBox(0));cN.add(this.getChildControl(C));cN.add(this.getChildControl(bW));cN.add(this.getChildControl(ci),{flex:1});break;case cc:cN=new qx.ui.container.Composite(new qx.ui.layout.Canvas());cN.setAllowGrowY(false);cN.addListener(cz,this._onHueSaturationPaneRoll,this);cN.add(this.getChildControl(ca));cN.add(this.getChildControl(V),{left:0,top:256});break;case ca:cN=new qx.ui.basic.Image(co);cN.addListener(Q,this._onHueSaturationFieldPointerDown,this);break;case V:cN=new qx.ui.basic.Image(cd);cN.addListener(Q,this._onHueSaturationFieldPointerDown,this);cN.addListener(q,this._onHueSaturationHandlePointerUp,this);cN.addListener(bX,this._onHueSaturationHandlePointerMove,this);break;case cE:cN=new qx.ui.container.Composite(new qx.ui.layout.Canvas());cN.setAllowGrowY(false);cN.addListener(cz,this._onBrightnessPaneRoll,this);cN.add(this.getChildControl(cf));cN.add(this.getChildControl(cM));break;case cf:cN=new qx.ui.basic.Image(A);cN.addListener(Q,this._onBrightnessFieldPointerDown,this);break;case cM:cN=new qx.ui.basic.Image(u);cN.addListener(Q,this._onBrightnessHandlePointerDown,this);cN.addListener(q,this._onBrightnessHandlePointerUp,this);cN.addListener(bX,this._onBrightnessHandlePointerMove,this);break;case C:cN=new qx.ui.groupbox.GroupBox(this.tr(I));cN.setLayout(new qx.ui.layout.Grow());cN.add(this.getChildControl(r));break;case k:cN=new qx.ui.core.Widget();cN.addListener(Q,this._onColorFieldTap,this);break;case r:cS=new qx.ui.layout.Grid(3,3);cN=new qx.ui.container.Composite(cS);var cU;var cR;for(var i=0;i<2;i++ ){for(var j=0;j<10;j++ ){cR=i*10+j;cU=this.getChildControl(cy+cR);cU.setBackgroundColor(this.__sE[cR]);cN.add(cU,{column:j,row:i});};};break;case bW:cN=new qx.ui.groupbox.GroupBox(this.tr(cw));var cS=new qx.ui.layout.VBox();cS.setSpacing(10);cN.setLayout(cS);cN.add(this.getChildControl(N));cN.add(this.getChildControl(U));cN.add(this.getChildControl(X));break;case ci:cN=new qx.ui.groupbox.GroupBox(this.tr(x));var cS=new qx.ui.layout.HBox(10);cN.setLayout(cS);cN.add(this.getChildControl(M),{flex:1});cN.add(this.getChildControl(cs),{flex:1});break;case N:var cT=new qx.ui.layout.HBox(4);cT.setAlignY(t);cN=new qx.ui.container.Composite(cT);var cX=new qx.ui.basic.Label(this.tr(o));cX.setWidth(30);cN.add(cX);var cW=new qx.ui.basic.Label(J);cN.add(cW);cN.add(this.getChildControl(cD));break;case cD:cN=new qx.ui.form.TextField(z);cN.setMaxLength(6);cN.setFilter(/[0-9A-Fa-f]/);cN.setWidth(55);cN.addListener(f,this._onHexFieldChange,this);break;case U:var cT=new qx.ui.layout.HBox(4);cT.setAlignY(t);cN=new qx.ui.container.Composite(cT);var cO=new qx.ui.basic.Label(this.tr(cl));cO.setWidth(30);cN.add(cO);cN.add(this.getChildControl(m));cN.add(this.getChildControl(O));cN.add(this.getChildControl(cG));break;case m:cN=new qx.ui.form.Spinner(0,255,255);cN.setWidth(50);cN.addListener(f,this._setRedFromSpinner,this);break;case O:cN=new qx.ui.form.Spinner(0,255,255);cN.setWidth(50);cN.addListener(f,this._setGreenFromSpinner,this);break;case cG:cN=new qx.ui.form.Spinner(0,255,255);cN.setWidth(50);cN.addListener(f,this._setBlueFromSpinner,this);break;case X:var cT=new qx.ui.layout.HBox(4);cT.setAlignY(t);cN=new qx.ui.container.Composite(cT);var cP=new qx.ui.basic.Label(this.tr(cF));cP.setWidth(30);cN.add(cP);cN.add(this.getChildControl(cu));cN.add(this.getChildControl(cx));cN.add(this.getChildControl(bT));break;case cu:cN=new qx.ui.form.Spinner(0,0,360);cN.setWidth(50);cN.addListener(f,this._setHueFromSpinner,this);break;case cx:cN=new qx.ui.form.Spinner(0,0,100);cN.setWidth(50);cN.addListener(f,this._setSaturationFromSpinner,this);break;case bT:cN=new qx.ui.form.Spinner(0,100,100);cN.setWidth(50);cN.addListener(f,this._setBrightnessFromSpinner,this);break;case M:cN=new qx.ui.core.Widget();break;case cs:cN=new qx.ui.core.Widget();break;};return cN||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,cV);},setValue:function(da){var cY;if(da==null){this.__pW=true;cY=[255,255,255];}else {cY=qx.util.ColorUtil.stringToRgb(da);this.__pW=false;};this.__sJ=true;this.setRed(cY[0]);this.setGreen(cY[1]);this.__sJ=false;this.setBlue(cY[2]);},getValue:function(){return this.__pW?null:qx.util.ColorUtil.rgbToHexString([this.getRed(),this.getGreen(),this.getBlue()]);},resetValue:function(){this.__pW=true;this.__sJ=true;this.setRed(255);this.setGreen(255);this.__sJ=false;this.setBlue(255);},__pY:function(){if(!this.__sJ){this.__pW=false;this.fireDataEvent(f,this.getValue());};},_applyRed:function(dc,db){if(this.__sD===null){this.__sD=bU;};if(this.__sD!==cK){this.getChildControl(m).setValue(dc);};if(this.__sD!==n){this._setHexFromRgb();};switch(this.__sD){case cK:case n:case bU:this._setHueFromRgb();};this._setPreviewFromRgb();this.__pY();if(this.__sD===bU){this.__sD=null;};},_applyGreen:function(de,dd){if(this.__sD===null){this.__sD=cq;};if(this.__sD!==cK){this.getChildControl(O).setValue(de);};if(this.__sD!==n){this._setHexFromRgb();};switch(this.__sD){case cK:case n:case cq:this._setHueFromRgb();};this._setPreviewFromRgb();this.__pY();if(this.__sD===cq){this.__sD=null;};},_applyBlue:function(dg,df){if(this.__sD===null){this.__sD=d;};if(this.__sD!==cK){this.getChildControl(cG).setValue(dg);};if(this.__sD!==n){this._setHexFromRgb();};switch(this.__sD){case cK:case n:case d:this._setHueFromRgb();};this._setPreviewFromRgb();this.__pY();if(this.__sD===d){this.__sD=null;};},_applyHue:function(di,dh){if(this.__sD===null){this.__sD=cr;};if(this.__sD!==F){this.getChildControl(cu).setValue(di);};if(this.__sD!==R){if(this.getChildControl(V).getBounds()){this.getChildControl(V).setDomLeft(Math.round(di/1.40625)+this.getChildControl(cc).getPaddingLeft());}else {this.getChildControl(V).setLayoutProperties({left:Math.round(di/1.40625)});};};switch(this.__sD){case F:case R:case cr:this._setRgbFromHue();};this._setBrightnessGradiant();if(this.__sD===cr){this.__sD=null;};},_applySaturation:function(dk,dj){if(this.__sD===null){this.__sD=s;};if(this.__sD!==F){this.getChildControl(cx).setValue(dk);};if(this.__sD!==R){this._setBrightnessGradiant();if(this.getChildControl(V).getBounds()){this.getChildControl(V).setDomTop(256-Math.round(dk*2.56)+this.getChildControl(cc).getPaddingTop());}else {this.getChildControl(V).setLayoutProperties({top:256-Math.round(dk*2.56)});};};switch(this.__sD){case F:case R:case s:this._setRgbFromHue();};if(this.__sD===s){this.__sD=null;};},_applyBrightness:function(dn,dm){if(this.__sD===null){this.__sD=c;};if(this.__sD!==F){this.getChildControl(bT).setValue(dn);};if(this.__sD!==P){var dl=256-Math.round(dn*2.56);if(this.getChildControl(cM).getBounds()){this.getChildControl(cM).setDomTop(dl+this.getChildControl(cE).getPaddingTop());}else {this.getChildControl(cM).setLayoutProperties({top:dl});};};switch(this.__sD){case F:case P:case c:this._setRgbFromHue();};if(this.__sD===c){this.__sD=null;};},_onBrightnessHandlePointerDown:function(e){this.getChildControl(cM).capture();this.__sF=cM;var dr=this.getChildControl(cf).getContentLocation();var dq=this.getChildControl(cM).getContentLocation();var dp=this.getChildControl(cf).getBounds();this.__sG=dr.top+(e.getDocumentTop()-dq.top)-dp.top;e.stopPropagation();},_onBrightnessHandlePointerUp:function(e){this.getChildControl(cM).releaseCapture();this.__sF=null;},_onBrightnessHandlePointerMove:function(e){if(this.__sF===cM){this._setBrightnessOnFieldEvent(e);e.stopPropagation();};},_onBrightnessFieldPointerDown:function(e){var location=this.getChildControl(cf).getContentLocation();var ds=this.getChildControl(cM).getBounds();this.__sG=location.top+(ds.height/2);this._setBrightnessOnFieldEvent(e);this.getChildControl(cM).capture();this.__sF=cM;},_onBrightnessPaneRoll:function(e){e.stop();if(e.getPointerType()!=Y){return;};this.setBrightness(qx.lang.Number.limit((this.getBrightness()-(e.getDelta().y/10)),0,100));},_setBrightnessOnFieldEvent:function(e){var dt=qx.lang.Number.limit(e.getDocumentTop()-this.__sG,0,256);this.__sD=P;if(this.getChildControl(cM).getBounds()){this.getChildControl(cM).setDomTop(dt);}else {this.getChildControl(cM).setLayoutProperties({top:dt});};this.setBrightness(100-Math.round(dt/2.56));this.__sD=null;},_onHueSaturationHandlePointerUp:function(e){if(this.__sF){e.stopPropagation();this.getChildControl(V).releaseCapture();this.__sF=null;};},_onHueSaturationHandlePointerMove:function(e){if(this.__sF===V){this._setHueSaturationOnFieldEvent(e);e.stopPropagation();};},_onHueSaturationFieldPointerDown:function(e){var location=this.getChildControl(ca).getContentLocation();var du=this.getChildControl(V).getBounds();var dv=this.getChildControl(ca).getBounds();this.__sH=location.top+(du.height/2)-dv.top;this.__sI=location.left+(du.width/2)-dv.left;this._setHueSaturationOnFieldEvent(e);this.getChildControl(V).capture();this.__sF=V;},_onHueSaturationPaneRoll:function(e){e.stop();if(e.getPointerType()!=Y){return;};var dw=e.getDelta();this.setSaturation(qx.lang.Number.limit(this.getSaturation()-dw.y/10,0,100));this.setHue(qx.lang.Number.limit(this.getHue()+dw.x/10,0,360));},_setHueSaturationOnFieldEvent:function(e){var dy=qx.lang.Number.limit(e.getDocumentTop()-this.__sH,0,256);var dx=qx.lang.Number.limit(e.getDocumentLeft()-this.__sI,0,256);this.getChildControl(V).setDomPosition(dx,dy);this.__sD=R;this.setSaturation(100-Math.round(dy/2.56));this.setHue(Math.round(dx*1.40625));this.__sD=null;},_setRedFromSpinner:function(){if(this.__sD!==null){return;};this.__sD=cK;this.setRed(this.getChildControl(m).getValue());this.__sD=null;},_setGreenFromSpinner:function(){if(this.__sD!==null){return;};this.__sD=cK;this.setGreen(this.getChildControl(O).getValue());this.__sD=null;},_setBlueFromSpinner:function(){if(this.__sD!==null){return;};this.__sD=cK;this.setBlue(this.getChildControl(cG).getValue());this.__sD=null;},_setHueFromSpinner:function(){if(this.__sD!==null){return;};this.__sD=F;this.setHue(this.getChildControl(cu).getValue());this.__sD=null;},_setSaturationFromSpinner:function(){if(this.__sD!==null){return;};this.__sD=F;this.setSaturation(this.getChildControl(cx).getValue());this.__sD=null;},_setBrightnessFromSpinner:function(){if(this.__sD!==null){return;};this.__sD=F;this.setBrightness(this.getChildControl(bT).getValue());this.__sD=null;},_onHexFieldChange:function(e){if(this.__sD!==null){return;};try{var dA=this.getChildControl(cD);var dz=qx.util.ColorUtil.hexStringToRgb(J+dA.getValue());}catch(dB){return;};this.__sD=n;this.setRed(dz[0]);this.setGreen(dz[1]);this.setBlue(dz[2]);this.__sD=null;},_setHexFromRgb:function(){var dC=qx.util.ColorUtil.rgbToHexString([this.getRed(),this.getGreen(),this.getBlue()]);dC=dC.substring(1,dC.length);this.getChildControl(cD).setValue(dC);},_onColorFieldTap:function(e){var dD=e.getTarget().getBackgroundColor();if(!dD){this.error(cH+e.getTarget());return;};var dE=qx.util.ColorUtil.stringToRgb(dD);this.setRed(dE[0]);this.setGreen(dE[1]);this.setBlue(dE[2]);},_setHueFromRgb:function(){switch(this.__sD){case F:case R:case P:break;default:var dF=qx.util.ColorUtil.rgbToHsb([this.getRed(),this.getGreen(),this.getBlue()]);this.setHue(dF[0]);this.setSaturation(dF[1]);this.setBrightness(dF[2]);};},_setRgbFromHue:function(){switch(this.__sD){case cK:case n:break;default:var dG=qx.util.ColorUtil.hsbToRgb([this.getHue(),this.getSaturation(),this.getBrightness()]);this.setRed(dG[0]);this.setGreen(dG[1]);this.setBlue(dG[2]);};},_setPreviewFromRgb:function(){var dH=qx.util.ColorUtil.rgbToRgbString([this.getRed(),this.getGreen(),this.getBlue()]);this.getChildControl(cs).setBackgroundColor(dH);},setPreviousColor:function(dL,dK,dI){var dJ=qx.util.ColorUtil.rgbToRgbString([dL,dK,dI]);this.getChildControl(M).setBackgroundColor(dJ);this.setRed(dL);this.setGreen(dK);this.setBlue(dI);},_setBrightnessGradiant:function(){var dM=qx.util.ColorUtil;var dN=dM.hsbToRgb([this.getHue(),this.getSaturation(),255]);var dO=dM.rgbToRgbString(dN);this.getChildControl(cf).setBackgroundColor(dO);},_onAppear:function(e){var dP=qx.util.ColorUtil.rgbToRgbString([this.getRed(),this.getGreen(),this.getBlue()]);this.getChildControl(M).setBackgroundColor(dP);this.getChildControl(cs).setBackgroundColor(dP);}}});})();(function(){var a="icon/16/status/dialog-information.png",b="Escape",c="Boolean",d="Row 10 changed",f="Change ID sort method",g="changeValue",h="5 rows removed",j="icon/16/actions/edit-undo.png",k="Change row with ID 10",l="execute",m="darktheme.demo.TableWindow",n="A number",o="icon/16/apps/office-calendar.png",p="Remove 5 rows",q="Add 10 rows",r="icon/16/apps/office-chart.png",s="",t="icon/16/actions/list-remove.png",u="Table",v="appear",w="Whether the the first visible row should ",x=", ",y="icon/16/actions/list-add.png",z="keypress",A="Selected rows:
",B="Keep first row",C="A date",D="be rendered completely when scrolling.",E="Show selection",F="Demonstrate use of alternate sorting algorithm.",G="ID",H="10 rows added";qx.Class.define(m,{extend:qx.ui.window.Window,construct:function(){qx.ui.window.Window.call(this);this._createControls();},members:{table:null,nextId:0,_createControls:function(){this.set({layout:new qx.ui.layout.VBox(0),contentPadding:3,caption:u,icon:r});var I=this.createTable();this.add(this.createToolbar());this.add(I,{flex:1});this.addListenerOnce(v,this.center,this);this.addListener(v,function(){this.fadeIn(200);},this);this.addListener(z,function(e){if(e.getKeyIdentifier()==b){this.close();};},this);},createTable:function(){var M=this.createRandomRows(50);var J=this._tableModel=new qx.ui.table.model.Simple();J.setColumns([G,n,C,c]);J.setData(M);J.setColumnEditable(1,true);J.setColumnEditable(2,true);J.setColumnSortable(3,false);var L=this.table=new qx.ui.table.Table(J);L.set({width:600,height:400,showCellFocusIndicator:true,focusCellOnPointerMove:true});L.getSelectionModel().setSelectionMode(qx.ui.table.selection.Model.MULTIPLE_INTERVAL_SELECTION);var K=L.getTableColumnModel();K.setDataCellRenderer(3,new qx.ui.table.cellrenderer.Boolean());K.setHeaderCellRenderer(2,new qx.ui.table.headerrenderer.Icon(o,C));return L;},createRandomRows:function(O){var P=[];var R=new Date().getTime();var N=400*24*60*60*1000;for(var S=0;S0.5)]);};return P;},createToolbar:function(){var U=new qx.ui.toolbar.ToolBar();var W,X,T;X=new qx.ui.toolbar.Part();U.add(X);W=new qx.ui.toolbar.Button(k,j);W.addListener(l,function(bb){var ba=this.createRandomRows(1);for(var i=1;ibq)?1:((bn==bq)?0:-1);};var bl=function(bs,bt){var br=bs[arguments.callee.columnIndex];var bu=bt[arguments.callee.columnIndex];if(br%2==1&&bu%2==0){return -1;};if(bu%2==1&&br%2==0){return 1;};return (br=G.length){var J=[];for(var i=0;i=L.length){var N=[];for(var i=0;i=s.length){r.call(self);return;};var v=new qx.bom.request.Script();v.open(e,u.shift());v.onload=function(){p+=1;v.dispose();if((qx.bom.client.Engine.getName()==c)){setTimeout(function(){q.call(self,u,r,self);},0);}else {q.call(self,u,r,self);};};v.onerror=function(){if(self.__tc==d){clearTimeout(self.__fT);v.dispose();return t.call(self);};};window.setTimeout(function(){v.send();});};q(s.concat());},__ti:qx.$$loader.importPackageData}});})();(function(){var a="url: ",b="qx.debug.io",c="qx.bom.request.Script",d="Invalid state",e="head",f="error",g="loadend",h="qx.debug",i="script",j="load",k="Unknown response headers",l="browser.documentmode",m="abort",n="",o="Received native readyState: loaded",p="readystatechange",q="Response header cannot be determined for ",r="requests made with script transport.",s="opera",t="unknown",u="Open native request with ",v="Response headers cannot be determined for",w="mshtml",x="engine.name",y="Detected error",z="Send native request",A="on",B="timeout",C="Unknown environment key at this phase",D="Received native load";qx.Bootstrap.define(c,{construct:function(){this.__to();this.__tj=qx.Bootstrap.bind(this._onNativeLoad,this);this.__tk=qx.Bootstrap.bind(this._onNativeError,this);this.__nd=qx.Bootstrap.bind(this._onTimeout,this);this.__tl=document.head||document.getElementsByTagName(e)[0]||document.documentElement;this._emitter=new qx.event.Emitter();this.timeout=this.__tq()?0:15000;},events:{"readystatechange":c,"error":c,"loadend":c,"timeout":c,"abort":c,"load":c},members:{readyState:null,status:null,statusText:null,timeout:null,__tm:null,on:function(name,E,F){this._emitter.on(name,E,F);return this;},open:function(H,G){if(this.__nw){return;};this.__to();this.__ng=null;this.__nr=G;if(this.__tt(b)){qx.Bootstrap.debug(qx.bom.request.Script,u+a+G);};this._readyStateChange(1);},setRequestHeader:function(I,J){if(this.__nw){return null;};var K={};if(this.readyState!==1){throw new Error(d);};K[I]=J;this.__nr=qx.util.Uri.appendParamsToUrl(this.__nr,K);return this;},send:function(){if(this.__nw){return null;};var M=this.__tr(),L=this.__tl,N=this;if(this.timeout>0){this.__fT=window.setTimeout(this.__nd,this.timeout);};if(this.__tt(b)){qx.Bootstrap.debug(qx.bom.request.Script,z);};L.insertBefore(M,L.firstChild);window.setTimeout(function(){N._readyStateChange(2);N._readyStateChange(3);});return this;},abort:function(){if(this.__nw){return null;};this.__ng=true;this.__ts();this._emit(m);return this;},_emit:function(event){this[A+event]();this._emitter.emit(event,this);},onreadystatechange:function(){},onload:function(){},onloadend:function(){},onerror:function(){},onabort:function(){},ontimeout:function(){},getResponseHeader:function(O){if(this.__nw){return null;};if(this.__tt(h)){qx.Bootstrap.debug(q+r);};return t;},getAllResponseHeaders:function(){if(this.__nw){return null;};if(this.__tt(h)){qx.Bootstrap.debug(v+r);};return k;},setDetermineSuccess:function(P){this.__tm=P;},dispose:function(){var Q=this.__tn;if(!this.__nw){if(Q){Q.onload=Q.onreadystatechange=null;this.__ts();};if(this.__fT){window.clearTimeout(this.__fT);};this.__nw=true;};},isDisposed:function(){return !!this.__nw;},_getUrl:function(){return this.__nr;},_getScriptElement:function(){return this.__tn;},_onTimeout:function(){this.__tp();if(!this.__tq()){this._emit(f);};this._emit(B);if(!this.__tq()){this._emit(g);};},_onNativeLoad:function(){var S=this.__tn,R=this.__tm,T=this;if(this.__ng){return;};if(this.__tt(x)===w&&this.__tt(l)<9){if(!(/loaded|complete/).test(S.readyState)){return;}else {if(this.__tt(b)){qx.Bootstrap.debug(qx.bom.request.Script,o);};};};if(this.__tt(b)){qx.Bootstrap.debug(qx.bom.request.Script,D);};if(R){if(!this.status){this.status=R()?200:500;};};if(this.status===500){if(this.__tt(b)){qx.Bootstrap.debug(qx.bom.request.Script,y);};};if(this.__fT){window.clearTimeout(this.__fT);};window.setTimeout(function(){T._success();T._readyStateChange(4);T._emit(j);T._emit(g);});},_onNativeError:function(){this.__tp();this._emit(f);this._emit(g);},__tn:null,__tl:null,__nr:n,__tj:null,__tk:null,__nd:null,__fT:null,__ng:null,__nw:null,__to:function(){this.readyState=0;this.status=0;this.statusText=n;},_readyStateChange:function(U){this.readyState=U;this._emit(p);},_success:function(){this.__ts();this.readyState=4;if(!this.status){this.status=200;};this.statusText=n+this.status;},__tp:function(){this.__ts();this.readyState=4;this.status=0;this.statusText=null;},__tq:function(){var W=this.__tt(x)===w&&this.__tt(l)<9;var V=this.__tt(x)===s;return !(W||V);},__tr:function(){var X=this.__tn=document.createElement(i);X.src=this.__nr;X.onerror=this.__tk;X.onload=this.__tj;if(this.__tt(x)===w&&this.__tt(l)<9){X.onreadystatechange=this.__tj;};return X;},__ts:function(){var Y=this.__tn;if(Y&&Y.parentNode){this.__tl.removeChild(Y);};},__tt:function(ba){if(qx&&qx.core&&qx.core.Environment){return qx.core.Environment.get(ba);}else {if(ba===x){return qx.bom.client.Engine.getName();};if(ba===l){return qx.bom.client.Browser.getDocumentMode();};if(ba==b){return false;};throw new Error(C);};}},defer:function(){if(qx&&qx.core&&qx.core.Environment){qx.core.Environment.add(b,false);};}});})();(function(){var a="Invalid case! ",b="qx.io.part.Part",c="error",d="initialized",e="loading",f="complete";qx.Bootstrap.define(b,{construct:function(name,g,h){this.__tu=name;this._readyState=f;this._packages=g;this._loader=h;for(var i=0;i=h._packages.length&&j){j.call(self);};},this._loader);};};},load:function(n,self){if(this._checkCompleteLoading(n,self)){return;};this._readyState=a;if(n){this._appendPartListener(n,self,this);};this.__tv=this._packages.length;for(var i=0;iK);this._btnWikipedia.setEnabled(cn.wikipedia>K);this._btnVideo.setEnabled(cn.video>K);},_playSong:function(){var co=this._playlistData[this._currAlbum];this._setAlbumInfo(co);if(this._audio){this._uri=qx.util.ResourceManager.getInstance().toUri(this._baseUrl+co.file);this._playlist.setSelection([this._playlist.getSelectables()[this._currAlbum]]);if(this._uri.split(c).pop()!=this._audio.getSource().split(c).pop()){this._audio.setSource(this._uri);};if(this._btnPlay.getValue()){this._audio.play();};};},_formatTime:function(cr){var cq=Math.floor(cr/60);var cp=parseInt(cr%60);return cq+bK+(cp>9?cp:S+cp);},_onAppear:function(){this.fadeIn(250);},_onBeforeMinimize:function(e){this._boxRight.setVisibility(j);this._volumeControl.setVisibility(j);this._albumBox.setVisibility(j);this.setShowMinimize(false);this.setShowMaximize(true);this.setAlwaysOnTop(true);e.stop();},_onBeforeMaximize:function(e){this._boxRight.setVisibility(D);this._volumeControl.setVisibility(D);this._albumBox.setVisibility(D);this.setShowMinimize(true);this.setShowMaximize(false);this.setAlwaysOnTop(false);e.stop();},_onLoadedData:function(){var cs=this._audio.getDuration();this._maxTime.setValue(this._formatTime(cs));this._positionSlider.setMaximum(Math.round(cs));},_onChangeSelection:function(){this._currAlbum=this._playlist.indexOf(this._playlist.getSelection()[0]);this._playSong();},_onDblClick:function(){this._btnPlay.setValue(true);},_onChangeSource:function(){var ct=this._playlistData[this._currAlbum].artist+V+this._playlistData[this._currAlbum].album;this._albumCover.setToolTip(new qx.ui.tooltip.ToolTip(ct));},_onPlay:function(e){var cu=e.getData();this._btnPlay.setIcon(cu?by:w);if(cu){this._playSong(false);this._positionKnob.setDecorator(k);this._btnPlay.setToolTip(this._ttPause);}else {this._audio.pause();this._positionKnob.setDecorator(O);this._btnPlay.setToolTip(this._ttResume);};},_onTimeUpdate:function(){var cv=this._audio.getCurrentTime();this._autoChange=true;this._positionSlider.setValue(Math.round(cv));this._currTime.setValue(this._formatTime(cv));this._autoChange=false;},_onChangePosition:function(e){if(!this._autoChange){this._audio.setCurrentTime(e.getData());};},_onSkipForward:function(){this._currAlbum=this._currAlbum0?this._currAlbum-1:this._playlistData.length-1;this._playlist.setSelection([this._playlist.getSelectables()[this._currAlbum]]);},_onChangeVolume:function(e){var cw=e.getData()*-1;this._audio.setVolume(cw/100);this._volumeLabel.setValue(String(cw));var cx=this._volumeIcon.getSource();var cy=g;switch(true){case cw==100:cy=f;break;case cw>=66:cy=W;break;case cw>=33:cy=m;break;case cw>0:cy=bE;break;};if(cy!=cx){this._volumeIcon.setSource(cy);};}}});})();(function(){var a="timeupdate",b='ended',c="abstract",d="",e="none",f="metadata",g="play",h="loadeddata",i="qx.event.type.Event",j="pause",k="qx.bom.media.Abstract",l="ended",m="loadedmetadata",n="volumechange",o="auto";qx.Class.define(k,{extend:qx.core.Object,type:c,construct:function(p){qx.core.Object.call(this);this._media=p;this._hasLoop=!!this._media.loop;var Function=qx.lang.Function;this._handlePlayEventBound=Function.bind(this._handlePlayEvent,this);this._handlePauseEventBound=Function.bind(this._handlePauseEvent,this);this._handleTimeUpdateEventBound=Function.bind(this._handleTimeUpdateEvent,this);this._handleEndedEventBound=Function.bind(this._handleEndedEvent,this);this._handleVolumeChangeEventBound=Function.bind(this._handleVolumeChangeEvent,this);this._handleLoadedDataEventBound=Function.bind(this._handleLoadedDataEvent,this);this._handleLoadedMetaDataEventBound=Function.bind(this._handleLoadedMetaDataEvent,this);var Event=qx.bom.Event;Event.addNativeListener(this._media,g,this._handlePlayEventBound);Event.addNativeListener(this._media,j,this._handlePauseEventBound);Event.addNativeListener(this._media,a,this._handleTimeUpdateEventBound);Event.addNativeListener(this._media,l,this._handleEndedEventBound);Event.addNativeListener(this._media,n,this._handleVolumeChangeEventBound);Event.addNativeListener(this._media,h,this._handleLoadedDataEventBound);Event.addNativeListener(this._media,m,this._handleLoadedMetaDataEventBound);this._media.preload=o;},events:{"play":i,"pause":i,"timeupdate":i,"ended":i,"volumechange":i,"loadeddata":i,"loadedmetadata":i},members:{_media:null,_hasLoop:false,_loopId:null,getMediaObject:function(){return this._media;},play:function(){qx.event.Timer.once(function(){this._media.play();},this,0);},pause:function(){this._media.pause();},isPaused:function(){return this._media.paused;},isEnded:function(){return this._media.ended;},setId:function(q){this._media.id=q;},getId:function(){return this._media.id;},canPlayType:function(r){return this._media.canPlayType(r);},setVolume:function(s){this._media.volume=s;},getVolume:function(){return this._media.volume;},setMuted:function(t){this._media.muted=t;},isMuted:function(){return this._media.muted;},getDuration:function(){return this._media.duration;},setCurrentTime:function(u){this._media.currentTime=u;},getCurrentTime:function(){return this._media.currentTime;},setSource:function(v){this._media.src=v;},getSource:function(){return this._media.src;},hasControls:function(){return this._media.controls;},showControls:function(){this._media.controls=true;},hideControls:function(){this._media.controls=false;},setAutoplay:function(w){this._media.autoplay=w;},getAutoplay:function(){return this._media.autoplay;},setPreload:function(x){if(x==e||x==f||x==o){this._media.preload=x;}else {this._media.preload=o;};},getPreload:function(){return this._media.preload;},setLoop:function(y){if(!this._hasLoop){if(y===true){this._loopId=this.addListener(b,this.play,this);}else if(y===false&&this._loopId){this.removeListenerById(this._loopId);this._loopId=null;};};this._media.loop=y;},isLoop:function(){return !!this._media.loop;},_handlePlayEvent:function(){this.fireEvent(g);},_handlePauseEvent:function(){this.fireEvent(j);},_handleTimeUpdateEvent:function(){this.fireEvent(a);},_handleEndedEvent:function(){this.fireEvent(l);},_handleVolumeChangeEvent:function(){this.fireEvent(n);},_handleLoadedDataEvent:function(){this.fireEvent(h);},_handleLoadedMetaDataEvent:function(){this.fireEvent(m);}},destruct:function(){var Event=qx.bom.Event;Event.removeNativeListener(this._media,g,this._handlePlayEventBound);Event.removeNativeListener(this._media,j,this._handlePauseEventBound);Event.removeNativeListener(this._media,a,this._handleTimeUpdateEventBound);Event.removeNativeListener(this._media,l,this._handleEndedEventBound);Event.removeNativeListener(this._media,n,this._handleVolumeChangeEventBound);Event.removeNativeListener(this._media,h,this._handleLoadedDataEventBound);Event.removeNativeListener(this._media,m,this._handleLoadedMetaDataEventBound);try{this.pause();}catch(z){};this.setSource(d);this._media=null;}});})();(function(){var a="",b="qx.bom.media.Audio";qx.Class.define(b,{extend:qx.bom.media.Abstract,construct:function(c){this._audio=new window.Audio(c?c:a);qx.bom.media.Abstract.call(this,this._audio);},members:{_audio:null}});})();(function(){var a="Video",b="' height='",c="' src='",d="' frameborder='0' allowfullscreen>",e="input",f="appear",g="