(function(){ if (!window.qx) window.qx = {}; qx.$$start = new Date(); if (!qx.$$environment) qx.$$environment = {}; var envinfo = {"qx.application":"websynapse.Application","qx.debug":false,"qx.debug.databinding":false,"qx.debug.dispose":false,"qx.debug.io":false,"qx.debug.ui.queue":false,"qx.emulatemouse":true,"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":"websynapse.theme.Theme","qx.version":"5.0.2","widgetbrowser.themes":"qx.theme.Indigo qx.theme.Modern qx.theme.Simple qx.theme.Classic"}; for (var k in envinfo) qx.$$environment[k] = envinfo[k]; if (!qx.$$libraries) qx.$$libraries = {}; var libinfo = {"__out__":{"sourceUri":"script"},"qx":{"resourceUri":"resource","sourceUri":"script","sourceViewUri":"https://github.com/qooxdoo/qooxdoo/blob/%{qxGitBranch}/framework/source/class/%{classFilePath}#L%{lineNumber}"},"websynapse":{"resourceUri":"resource","sourceUri":"script"}}; for (var k in libinfo) qx.$$libraries[k] = libinfo[k]; qx.$$resources = {}; qx.$$translations = {"C":null,"es":null,"es_ES":null}; qx.$$locales = {"C":null,"es":null,"es_ES":null}; qx.$$packageData = {}; qx.$$g = {} qx.$$loader = { parts : {"boot":[0]}, packages : {"0":{"uris":["__out__:websynapse.f281df999774.js"]}}, urisBefore : [], cssBefore : [], boot : "boot", closureParts : {}, 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['0']={"locales":{"C":{"alternateQuotationEnd":"’","alternateQuotationStart":"‘","cldr_am":"AM","cldr_date_format_full":"EEEE, MMMM d, y","cldr_date_format_long":"MMMM d, y","cldr_date_format_medium":"MMM d, y","cldr_date_format_short":"M/d/yy","cldr_date_time_format_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":"“"},"es":{"alternateQuotationEnd":"”","alternateQuotationStart":"“","cldr_am":"a. m.","cldr_date_format_full":"EEEE, d 'de' MMMM 'de' y","cldr_date_format_long":"d 'de' MMMM 'de' y","cldr_date_format_medium":"d/M/y","cldr_date_format_short":"d/M/yy","cldr_date_time_format_EHm":"E, H:mm","cldr_date_time_format_EHms":"E, H:mm:ss","cldr_date_time_format_Ed":"E d","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 'de' y G","cldr_date_time_format_GyMMMEd":"E, d 'de' MMMM 'de' y G","cldr_date_time_format_GyMMMd":"d MMM 'de' y G","cldr_date_time_format_H":"H","cldr_date_time_format_Hm":"H:mm","cldr_date_time_format_Hms":"H:mm:ss","cldr_date_time_format_M":"L","cldr_date_time_format_MEd":"E, d/M","cldr_date_time_format_MMM":"LLL","cldr_date_time_format_MMMEd":"E d 'de' MMM","cldr_date_time_format_MMMMd":"d 'de' MMMM","cldr_date_time_format_MMMd":"d 'de' MMM","cldr_date_time_format_MMMdd":"dd-MMM","cldr_date_time_format_MMd":"d/M","cldr_date_time_format_MMdd":"d/M","cldr_date_time_format_Md":"d/M","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":"EEE, d/M/y","cldr_date_time_format_yMM":"M/y","cldr_date_time_format_yMMM":"MMM 'de' y","cldr_date_time_format_yMMMEd":"EEE, d 'de' MMMM 'de' y","cldr_date_time_format_yMMMM":"MMMM 'de' y","cldr_date_time_format_yMMMd":"d 'de' MMM 'de' y","cldr_date_time_format_yMd":"d/M/y","cldr_date_time_format_yQQQ":"QQQ y","cldr_date_time_format_yQQQQ":"QQQQ 'de' y","cldr_day_format_abbreviated_fri":"vie.","cldr_day_format_abbreviated_mon":"lun.","cldr_day_format_abbreviated_sat":"sáb.","cldr_day_format_abbreviated_sun":"dom.","cldr_day_format_abbreviated_thu":"jue.","cldr_day_format_abbreviated_tue":"mar.","cldr_day_format_abbreviated_wed":"mié.","cldr_day_format_narrow_fri":"V","cldr_day_format_narrow_mon":"L","cldr_day_format_narrow_sat":"S","cldr_day_format_narrow_sun":"D","cldr_day_format_narrow_thu":"J","cldr_day_format_narrow_tue":"M","cldr_day_format_narrow_wed":"X","cldr_day_format_short_fri":"VI","cldr_day_format_short_mon":"LU","cldr_day_format_short_sat":"SA","cldr_day_format_short_sun":"DO","cldr_day_format_short_thu":"JU","cldr_day_format_short_tue":"MA","cldr_day_format_short_wed":"MI","cldr_day_format_wide_fri":"viernes","cldr_day_format_wide_mon":"lunes","cldr_day_format_wide_sat":"sábado","cldr_day_format_wide_sun":"domingo","cldr_day_format_wide_thu":"jueves","cldr_day_format_wide_tue":"martes","cldr_day_format_wide_wed":"miércoles","cldr_day_stand-alone_abbreviated_fri":"Vie.","cldr_day_stand-alone_abbreviated_mon":"Lun.","cldr_day_stand-alone_abbreviated_sat":"Sáb.","cldr_day_stand-alone_abbreviated_sun":"Dom.","cldr_day_stand-alone_abbreviated_thu":"Jue.","cldr_day_stand-alone_abbreviated_tue":"Mar.","cldr_day_stand-alone_abbreviated_wed":"Mié.","cldr_day_stand-alone_narrow_fri":"V","cldr_day_stand-alone_narrow_mon":"L","cldr_day_stand-alone_narrow_sat":"S","cldr_day_stand-alone_narrow_sun":"D","cldr_day_stand-alone_narrow_thu":"J","cldr_day_stand-alone_narrow_tue":"M","cldr_day_stand-alone_narrow_wed":"X","cldr_day_stand-alone_short_fri":"VI","cldr_day_stand-alone_short_mon":"LU","cldr_day_stand-alone_short_sat":"SA","cldr_day_stand-alone_short_sun":"DO","cldr_day_stand-alone_short_thu":"JU","cldr_day_stand-alone_short_tue":"MA","cldr_day_stand-alone_short_wed":"MI","cldr_day_stand-alone_wide_fri":"Viernes","cldr_day_stand-alone_wide_mon":"Lunes","cldr_day_stand-alone_wide_sat":"Sábado","cldr_day_stand-alone_wide_sun":"Domingo","cldr_day_stand-alone_wide_thu":"Jueves","cldr_day_stand-alone_wide_tue":"Martes","cldr_day_stand-alone_wide_wed":"Miércoles","cldr_month_format_abbreviated_1":"ene.","cldr_month_format_abbreviated_10":"oct.","cldr_month_format_abbreviated_11":"nov.","cldr_month_format_abbreviated_12":"dic.","cldr_month_format_abbreviated_2":"feb.","cldr_month_format_abbreviated_3":"mar.","cldr_month_format_abbreviated_4":"abr.","cldr_month_format_abbreviated_5":"may.","cldr_month_format_abbreviated_6":"jun.","cldr_month_format_abbreviated_7":"jul.","cldr_month_format_abbreviated_8":"ago.","cldr_month_format_abbreviated_9":"sept.","cldr_month_format_narrow_1":"E","cldr_month_format_narrow_10":"O","cldr_month_format_narrow_11":"N","cldr_month_format_narrow_12":"D","cldr_month_format_narrow_2":"F","cldr_month_format_narrow_3":"M","cldr_month_format_narrow_4":"A","cldr_month_format_narrow_5":"M","cldr_month_format_narrow_6":"J","cldr_month_format_narrow_7":"J","cldr_month_format_narrow_8":"A","cldr_month_format_narrow_9":"S","cldr_month_format_wide_1":"enero","cldr_month_format_wide_10":"octubre","cldr_month_format_wide_11":"noviembre","cldr_month_format_wide_12":"diciembre","cldr_month_format_wide_2":"febrero","cldr_month_format_wide_3":"marzo","cldr_month_format_wide_4":"abril","cldr_month_format_wide_5":"mayo","cldr_month_format_wide_6":"junio","cldr_month_format_wide_7":"julio","cldr_month_format_wide_8":"agosto","cldr_month_format_wide_9":"septiembre","cldr_month_stand-alone_abbreviated_1":"Ene.","cldr_month_stand-alone_abbreviated_10":"Oct.","cldr_month_stand-alone_abbreviated_11":"Nov.","cldr_month_stand-alone_abbreviated_12":"Dic.","cldr_month_stand-alone_abbreviated_2":"Feb.","cldr_month_stand-alone_abbreviated_3":"Mar.","cldr_month_stand-alone_abbreviated_4":"Abr.","cldr_month_stand-alone_abbreviated_5":"May.","cldr_month_stand-alone_abbreviated_6":"Jun.","cldr_month_stand-alone_abbreviated_7":"Jul.","cldr_month_stand-alone_abbreviated_8":"Ago.","cldr_month_stand-alone_abbreviated_9":"Sept.","cldr_month_stand-alone_narrow_1":"E","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_month_stand-alone_wide_1":"Enero","cldr_month_stand-alone_wide_10":"Octubre","cldr_month_stand-alone_wide_11":"Noviembre","cldr_month_stand-alone_wide_12":"Diciembre","cldr_month_stand-alone_wide_2":"Febrero","cldr_month_stand-alone_wide_3":"Marzo","cldr_month_stand-alone_wide_4":"Abril","cldr_month_stand-alone_wide_5":"Mayo","cldr_month_stand-alone_wide_6":"Junio","cldr_month_stand-alone_wide_7":"Julio","cldr_month_stand-alone_wide_8":"Agosto","cldr_month_stand-alone_wide_9":"Septiembre","cldr_number_decimal_separator":",","cldr_number_group_separator":".","cldr_number_percent_format":"#,##0%","cldr_pm":"p. m.","cldr_time_format_full":"H:mm:ss (zzzz)","cldr_time_format_long":"H:mm:ss z","cldr_time_format_medium":"H:mm:ss","cldr_time_format_short":"H:mm","quotationEnd":"»","quotationStart":"«"},"es_ES":{}},"resources":{"qx/decoration/Modern/arrows-combined.png":[87,8,"png","qx"],"qx/decoration/Modern/arrows/down-invert.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-74,0],"qx/decoration/Modern/arrows/down-small.png":[5,3,"png","qx","qx/decoration/Modern/arrows-combined.png",-49,0],"qx/decoration/Modern/arrows/down.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-20,0],"qx/decoration/Modern/arrows/forward.png":[10,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-59,0],"qx/decoration/Modern/arrows/left.png":[5,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-44,0],"qx/decoration/Modern/arrows/rewind.png":[10,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-10,0],"qx/decoration/Modern/arrows/right-invert.png":[5,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-5,0],"qx/decoration/Modern/arrows/right.png":[5,8,"png","qx","qx/decoration/Modern/arrows-combined.png",-54,0],"qx/decoration/Modern/arrows/up-invert.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-28,0],"qx/decoration/Modern/arrows/up-small.png":[5,3,"png","qx","qx/decoration/Modern/arrows-combined.png",-82,0],"qx/decoration/Modern/arrows/up.png":[8,5,"png","qx","qx/decoration/Modern/arrows-combined.png",-36,0],"qx/decoration/Modern/colorselector-combined.gif":[46,11,"gif","qx"],"qx/decoration/Modern/colorselector/brightness-field.png":[19,256,"png","qx"],"qx/decoration/Modern/colorselector/brightness-handle.gif":[35,11,"gif","qx","qx/decoration/Modern/colorselector-combined.gif",0,0],"qx/decoration/Modern/colorselector/huesaturation-field.jpg":[256,256,"jpeg","qx"],"qx/decoration/Modern/colorselector/huesaturation-handle.gif":[11,11,"gif","qx","qx/decoration/Modern/colorselector-combined.gif",-35,0],"qx/decoration/Modern/cursors-combined.gif":[71,20,"gif","qx"],"qx/decoration/Modern/cursors/alias.gif":[19,15,"gif","qx","qx/decoration/Modern/cursors-combined.gif",-52,0],"qx/decoration/Modern/cursors/copy.gif":[19,15,"gif","qx","qx/decoration/Modern/cursors-combined.gif",-33,0],"qx/decoration/Modern/cursors/move.gif":[13,9,"gif","qx","qx/decoration/Modern/cursors-combined.gif",-20,0],"qx/decoration/Modern/cursors/nodrop.gif":[20,20,"gif","qx","qx/decoration/Modern/cursors-combined.gif",0,0],"qx/decoration/Modern/form/checked.png":[6,6,"png","qx"],"qx/decoration/Modern/form/tooltip-error-arrow-right.png":[11,14,"png","qx"],"qx/decoration/Modern/form/tooltip-error-arrow.png":[11,14,"png","qx"],"qx/decoration/Modern/form/undetermined.png":[6,2,"png","qx"],"qx/decoration/Modern/menu-checkradio-combined.gif":[64,7,"gif","qx"],"qx/decoration/Modern/menu/checkbox-invert.gif":[16,7,"gif","qx","qx/decoration/Modern/menu-checkradio-combined.gif",-16,0],"qx/decoration/Modern/menu/checkbox.gif":[16,7,"gif","qx","qx/decoration/Modern/menu-checkradio-combined.gif",-48,0],"qx/decoration/Modern/menu/radiobutton-invert.gif":[16,5,"gif","qx","qx/decoration/Modern/menu-checkradio-combined.gif",-32,0],"qx/decoration/Modern/menu/radiobutton.gif":[16,5,"gif","qx","qx/decoration/Modern/menu-checkradio-combined.gif",0,0],"qx/decoration/Modern/scrollbar-combined.png":[54,12,"png","qx"],"qx/decoration/Modern/scrollbar/scrollbar-down.png":[6,4,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-28,0],"qx/decoration/Modern/scrollbar/scrollbar-left.png":[4,6,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-50,0],"qx/decoration/Modern/scrollbar/scrollbar-right.png":[4,6,"png","qx","qx/decoration/Modern/scrollbar-combined.png",-46,0],"qx/decoration/Modern/scrollbar/scrollbar-up.png":[6,4,"png","qx","qx/decoration/Modern/scrollbar-combined.png",0,0],"qx/decoration/Modern/splitpane-knobs-combined.png":[8,9,"png","qx"],"qx/decoration/Modern/splitpane/knob-horizontal.png":[1,8,"png","qx","qx/decoration/Modern/splitpane-knobs-combined.png",0,-1],"qx/decoration/Modern/splitpane/knob-vertical.png":[8,1,"png","qx","qx/decoration/Modern/splitpane-knobs-combined.png",0,0],"qx/decoration/Modern/table-combined.png":[94,18,"png","qx"],"qx/decoration/Modern/table/ascending.png":[8,5,"png","qx","qx/decoration/Modern/table-combined.png",0,0],"qx/decoration/Modern/table/boolean-false.png":[14,14,"png","qx","qx/decoration/Modern/table-combined.png",-80,0],"qx/decoration/Modern/table/boolean-true.png":[14,14,"png","qx","qx/decoration/Modern/table-combined.png",-26,0],"qx/decoration/Modern/table/descending.png":[8,5,"png","qx","qx/decoration/Modern/table-combined.png",-18,0],"qx/decoration/Modern/table/select-column-order.png":[10,9,"png","qx","qx/decoration/Modern/table-combined.png",-8,0],"qx/decoration/Modern/toolbar/toolbar-handle-knob.gif":[1,8,"gif","qx"],"qx/decoration/Modern/toolbar/toolbar-part.gif":[7,1,"gif","qx"],"qx/decoration/Modern/tree-combined.png":[32,8,"png","qx"],"qx/decoration/Modern/tree/closed-selected.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",-24,0],"qx/decoration/Modern/tree/closed.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",-16,0],"qx/decoration/Modern/tree/open-selected.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",-8,0],"qx/decoration/Modern/tree/open.png":[8,8,"png","qx","qx/decoration/Modern/tree-combined.png",0,0],"qx/decoration/Modern/window-captionbar-buttons-combined.png":[108,9,"png","qx"],"qx/decoration/Modern/window/close-active-hovered.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-27,0],"qx/decoration/Modern/window/close-active.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-9,0],"qx/decoration/Modern/window/close-inactive.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-90,0],"qx/decoration/Modern/window/maximize-active-hovered.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-18,0],"qx/decoration/Modern/window/maximize-active.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-81,0],"qx/decoration/Modern/window/maximize-inactive.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-54,0],"qx/decoration/Modern/window/minimize-active-hovered.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-63,0],"qx/decoration/Modern/window/minimize-active.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-72,0],"qx/decoration/Modern/window/minimize-inactive.png":[9,9,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-36,0],"qx/decoration/Modern/window/restore-active-hovered.png":[9,8,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",0,0],"qx/decoration/Modern/window/restore-active.png":[9,8,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-99,0],"qx/decoration/Modern/window/restore-inactive.png":[9,8,"png","qx","qx/decoration/Modern/window-captionbar-buttons-combined.png",-45,0],"qx/icon/Tango/16/actions/dialog-cancel.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/dialog-ok.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/view-refresh.png":[16,16,"png","qx"],"qx/icon/Tango/16/actions/window-close.png":[16,16,"png","qx"],"qx/icon/Tango/16/apps/office-calendar.png":[16,16,"png","qx"],"qx/icon/Tango/16/apps/utilities-color-chooser.png":[16,16,"png","qx"],"qx/icon/Tango/16/mimetypes/office-document.png":[16,16,"png","qx"],"qx/icon/Tango/16/places/folder-open.png":[16,16,"png","qx"],"qx/icon/Tango/16/places/folder.png":[16,16,"png","qx"],"qx/icon/Tango/22/mimetypes/office-document.png":[22,22,"png","qx"],"qx/icon/Tango/22/places/folder-open.png":[22,22,"png","qx"],"qx/icon/Tango/22/places/folder.png":[22,22,"png","qx"],"qx/icon/Tango/32/mimetypes/office-document.png":[32,32,"png","qx"],"qx/icon/Tango/32/places/folder-open.png":[32,32,"png","qx"],"qx/icon/Tango/32/places/folder.png":[32,32,"png","qx"],"qx/static/blank.gif":[1,1,"gif","qx"],"qx/static/blank.png":[1,1,"png","qx"],"websynapse/Crystal-Inventory-Summary.pdf":"websynapse","websynapse/Crystal-Item-Master.pdf":"websynapse","websynapse/Crystal-Revenue-Reporting-Codes.pdf":"websynapse","websynapse/Crystal-Shipping-Detail.pdf":"websynapse","websynapse/Pencil-icon.png":[24,24,"png","websynapse"],"websynapse/customer-home-image.jpg":[1280,390,"jpeg","websynapse"],"websynapse/customer-login-image.jpg":[1600,1014,"jpeg","websynapse"],"websynapse/dialog-apply.png":[22,22,"png","websynapse"],"websynapse/dialog-cancel.png":[22,22,"png","websynapse"],"websynapse/edit-delete.png":[22,22,"png","websynapse"],"websynapse/edit-find-16.png":[16,16,"png","websynapse"],"websynapse/edit-find.png":[22,22,"png","websynapse"],"websynapse/edit-undo.png":[22,22,"png","websynapse"],"websynapse/eraser-icon.png":[16,16,"png","websynapse"],"websynapse/excel-icon.png":[24,24,"png","websynapse"],"websynapse/excel24.png":[24,24,"png","websynapse"],"websynapse/excel36.png":[64,64,"png","websynapse"],"websynapse/go-home.png":[22,22,"png","websynapse"],"websynapse/go-next.png":[22,22,"png","websynapse"],"websynapse/go-previous.png":[22,22,"png","websynapse"],"websynapse/list-add-16.png":[16,16,"png","websynapse"],"websynapse/list-add.png":[22,22,"png","websynapse"],"websynapse/list-remove-16.png":[16,16,"png","websynapse"],"websynapse/list-remove.png":[22,22,"png","websynapse"],"websynapse/loginbg.jpg":[1600,1014,"jpeg","websynapse"],"websynapse/logo.gif":[91,28,"gif","websynapse"],"websynapse/logo.jpg":[91,28,"jpeg","websynapse"],"websynapse/logo_main2.jpg":[327,73,"jpeg","websynapse"],"websynapse/pdf-icon.png":[24,24,"png","websynapse"],"websynapse/pdf24.png":[24,24,"png","websynapse"],"websynapse/pdf36.png":[64,64,"png","websynapse"],"websynapse/spinner1.gif":[214,206,"gif","websynapse"],"websynapse/spinner128.gif":[128,128,"gif","websynapse"],"websynapse/system-search.png":[22,22,"png","websynapse"],"websynapse/waitIcon.gif":[60,60,"gif","websynapse"]},"translations":{"C":{},"es":{"%1 of %2 rows":"%1 de %2 filas","%1 rows":"%1 filas","Cancel":"Cancelar","Last month":"Último mes","Last year":"Último año","Next month":"Mes siguiente","Next year":"Año siguiente","Reset column widths":"Reestablecer anchos de columnas","This field is required":"Este cuadro es obligatorio","key_full_Alt":"Alt","key_full_Apps":"Aplicaciones","key_full_Backspace":"Retroceso","key_full_CapsLock":"Bloqueo Mayúsculas","key_full_Control":"Control","key_full_Delete":"Suprimir","key_full_Down":"Flecha abajo","key_full_End":"Fin","key_full_Enter":"Intro","key_full_Escape":"Escape","key_full_Home":"Inicio","key_full_Insert":"Insertar","key_full_Left":"Flecha izquierda","key_full_Meta":"Meta","key_full_NumLock":"Bloqueo Numérico","key_full_PageDown":"Avanzar Página","key_full_PageUp":"Retroceder Página","key_full_Pause":"Pausa","key_full_PrintScreen":"Imprimir Pantalla","key_full_Right":"Flecha derecha","key_full_Scroll":"Bloq. Despl.","key_full_Shift":"Mayúscula","key_full_Space":"Espacio","key_full_Tab":"Tabulador","key_full_Up":"Flecha arriba","key_full_Win":"Windows","key_short_Alt":"Alt","key_short_Apps":"Aplic","key_short_Backspace":"Retroceso","key_short_CapsLock":"BloqMayús","key_short_Control":"Ctrl","key_short_Delete":"Supr","key_short_Down":"Abajo","key_short_End":"Fin","key_short_Enter":"Intro","key_short_Escape":"Esc","key_short_Home":"Inicio","key_short_Insert":"Insert","key_short_Left":"Izquierda","key_short_Meta":"Meta","key_short_NumLock":"BloqNum","key_short_PageDown":"AvPág","key_short_PageUp":"RePág","key_short_Pause":"Pausa","key_short_PrintScreen":"ImprPant","key_short_Right":"Derecha","key_short_Scroll":"BloqDespl","key_short_Shift":"Mayús","key_short_Space":"Espacio","key_short_Tab":"Tab","key_short_Up":"Arriba","key_short_Win":"Win","one of one row":"una de una fila","one row":"una fila"}}}; (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.__Jo[H]!=undefined){window.setTimeout(function(){K.call(self,L.__Jo[H]);},0);return;};var I=this._asyncChecks[H];if(I){I(function(N){L.__Jo[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.__Jo[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.__Jp(this.get(Q),P);},selectAsync:function(S,R,self){this.getAsync(S,function(T){var U=this.__Jp(S,R);U.call(self,T);},this);},__Jp: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.__Kj(M,L,false);},patch:function(O,N){{};qx.Class.__Kj(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.__Ku(br.targetObject,br.targetPropertyChain,br.options.converter());}else {this.__Kt(br.targetObject,br.targetPropertyChain);};}else {this.__Kt(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.__Ky(bm,br.targetObject,br.targetPropertyChain,br.options,br.sources[br.index]);br.listenerIds[j]=this.__KA(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.__Ky(bm,br.targetObject,br.targetPropertyChain,br.options,br.sources[br.index]);};var bn=this.__Ks(bp,br.propertyNames[j]);if(!bn){this.__Kt(br.targetObject,br.targetPropertyChain);break;};br.listenerIds[j]=this.__KA(bp,bn,br.targetObject,br.targetPropertyChain,br.options);};}else {if(br.listeners[j]==null){var bo=qx.lang.Function.bind(this.__Kq,this,br);br.listeners.push(bo);};if(qx.Class.implementsInterface(bp,qx.data.IListData)){var bn=s;}else {var bn=this.__Ks(bp,br.propertyNames[j]);};if(!bn){this.__Kt(br.targetObject,br.targetPropertyChain);return;};br.listenerIds[j]=bp.addListener(bn,br.listeners[j]);};};},__Kr:function(bw,bE,bI,bA,bC){var bz=bA.split(D);var bx=this.__Kz(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.__KC(cS,cO,cM,cK,cG);{};try{if(cS!==undefined){qx.data.SingleValueBinding.__Ku(cO,cM,cS);}else {qx.data.SingleValueBinding.__Kt(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;},__KB:function(da,cU,cX,db,cY){var cV;cV=cU.toHashCode();if(this.__Ko[cV]===undefined){this.__Ko[cV]=[];};var cW=[da,cU,cX,db,cY];this.__Ko[cV].push(cW);cV=db.toHashCode();if(this.__Kp[cV]===undefined){this.__Kp[cV]=[];};this.__Kp[cV].push(cW);},__KC: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.__Kw(de);var dd=this.__Kx(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.__KE(df,dk);};},__KD:function(dn,dq){var dp=qx.Class.getPropertyDefinition(dn.constructor,dq);if(dp==null){return null;};return dp.event;},__KE: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.__Ko[dI]===undefined){this.__Ko[dI]=[];};var dJ=this.__Ko[dI];var dG=this.__Kp[dI]?this.__Kp[dI]:[];return qx.lang.Array.unique(dJ.concat(dG));},removeAllBindings:function(){for(var dL in this.__Ko){var dK=qx.core.ObjectRegistry.fromHashCode(dL);if(dK==null){delete this.__Ko[dL];continue;};this.removeAllBindingsForObject(dK);};this.__Ko={};},getAllBindings:function(){return this.__Ko;},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.__KI(bb);T.push(ba+m+Q);};if(T.length>0){return this.__KK(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.__KI(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.__KI(bb);T.push(ba+m+Q+m+P);};if(T.length>0){return this.__KK(T);};R=/Line\ (\d+?)\ of\ linked\ script\ (.*?)$/gm;while((S=R.exec(U))!=null){Q=S[1];bb=S[2];ba=this.__KI(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.__KI(O[2]);T.push(bf+m+Q);};};}else if(bd.sourceURL&&bd.line){T.push(this.__KI(bd.sourceURL)+m+bd.line);};return this.__KK(T);},__KI: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.__KJ(bh);},__KJ: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;},__KK: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:{__Co:null,__KR:null,__KS:null,__KT:function(){if(qx.core&&qx.core.Environment){return qx.core.Environment.get(a);}else {return !!qx.Bootstrap.getEnvironmentSetting(a);};},setErrorHandler:function(c,d){this.__Co=c||null;this.__KS=d||window;if(this.__KT()){if(c&&window.onerror){var e=qx.Bootstrap.bind(this.__KU,this);if(this.__KR==null){this.__KR=window.onerror;};var self=this;window.onerror=function(f,g,h){self.__KR(f,g,h);e(f,g,h);};};if(c&&!window.onerror){window.onerror=qx.Bootstrap.bind(this.__KU,this);};if(this.__Co==null){if(this.__KR!=null){window.onerror=this.__KR;this.__KR=null;}else {window.onerror=null;};};};},__KU:function(i,j,k){if(this.__Co){this.handleError(new qx.core.WindowError(i,j,k));};},observeMethod:function(l){if(this.__KT()){var self=this;return function(){if(!self.__Co){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.__Co){this.__Co.call(this.__KS,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.__KV=c;this.__KW=e||a;this.__KX=f===undefined?-1:f;},members:{__KV:null,__KW:null,__KX:null,toString:function(){return this.__KV;},getUri:function(){return this.__KW;},getLineNumber:function(){return this.__KX;}}});})();(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.__KV=a+(e&&e.message?e.message:e);var d=Error.call(this,this.__KV);if(d.stack){this.stack=d.stack;};if(d.stacktrace){this.stacktrace=d.stacktrace;};this.__KY=c;this.__La=e;},members:{__La:null,__KY:null,__KV:null,toString:function(){return this.__KV;},getArguments:function(){return this.__KY;},getSourceException:function(){return this.__La;}},destruct:function(){this.__La=null;this.__KY=null;this.__KV=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:{__Lb:true,__Lc: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.__Lc(cp||Q,v);},fail:function(cr,cs){var ct=cs?Q:bS;this.__Lc(cr||Q,ct);},assertTrue:function(cv,cu){(cv===true)||this.__Lc(cu||Q,m,cv,x);},assertFalse:function(cx,cw){(cx===false)||this.__Lc(cw||Q,W,cx,x);},assertEquals:function(cy,cz,cA){cy==cz||this.__Lc(cA||Q,D,cy,z,cz,O);},assertNotEquals:function(cB,cC,cD){cB!=cC||this.__Lc(cD||Q,D,cB,h,cC,O);},assertIdentical:function(cE,cF,cG){cE===cF||this.__Lc(cG||Q,D,cE,T,cF,O);},assertNotIdentical:function(cH,cI,cJ){cH!==cI||this.__Lc(cJ||Q,D,cH,bH,cI,O);},assertNotUndefined:function(cL,cK){cL!==undefined||this.__Lc(cK||Q,J);},assertUndefined:function(cN,cM){cN===undefined||this.__Lc(cM||Q,p,cN,I);},assertNotNull:function(cP,cO){cP!==null||this.__Lc(cO||Q,bN);},assertNull:function(cR,cQ){cR===null||this.__Lc(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.__Lc(cV||Q,E,cX,bG,cW.toString(),O);},assertArgumentsCount:function(db,dc,dd,cY){var da=db.length;(da>=dc&&da<=dd)||this.__Lc(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.__Lc(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.__Lc(ds||Q,G,event,f);dn.removeListenerById(dt);},assertException:function(dx,dw,dv,du){var dw=dw||Error;var dy;try{this.__Lb=false;dx();}catch(dz){dy=dz;}finally{this.__Lb=true;};if(dy==null){this.__Lc(du||Q,o);};dy instanceof dw||this.__Lc(du||Q,M,dw,a,dy);if(dv){this.assertMatch(dy.toString(),dv,du);};},assertInArray:function(dC,dB,dA){dB.indexOf(dC)!==-1||this.__Lc(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.__Lc(dR||Q,bY,dS,I);},assertInteger:function(dU,dT){(qx.lang.Type.isNumber(dU)&&isFinite(dU)&&dU%1===0)||this.__Lc(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.__Lc(dV||Q,g,dX,I);},assertInRange:function(eb,ec,ea,dY){(eb>=ec&&eb<=ea)||this.__Lc(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.__Lc(ed||Q,R,(ee),I);},assertArray:function(eh,eg){qx.lang.Type.isArray(eh)||this.__Lc(eg||Q,c,eh,I);},assertMap:function(ej,ei){qx.lang.Type.isObject(ej)||this.__Lc(ei||Q,n,ej,I);},assertRegExp:function(el,ek){qx.lang.Type.isRegExp(el)||this.__Lc(ek||Q,r,el,I);},assertType:function(eo,en,em){this.assertString(en,u);typeof (eo)===en||this.__Lc(em||Q,bE,en,S,eo,I);},assertInstance:function(er,es,ep){var eq=es.classname||es+Q;er instanceof es||this.__Lc(ep||Q,ca,eq,S,er,I);},assertInterface:function(ev,eu,et){qx.Class&&qx.Class.implementsInterface(ev,eu)||this.__Lc(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.__Lc(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.__Lc(eB||Q,H,ey,d,ey.join(B),bT,ez,d,eA.join(B),bO);},assertElement:function(eG,eF){!!(eG&&eG.nodeType===1)||this.__Lc(eF||Q,q,eG,O);},assertQxObject:function(eI,eH){this.__Le(eI,b)||this.__Lc(eH||Q,bJ,eI,I);},assertQxWidget:function(eK,eJ){this.__Le(eK,X)||this.__Lc(eJ||Q,bD,eK,I);},__Le: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.__Lf=null,dq.__Lf={"toString":1},dq).toString!=cr){cG=function(ds){var dt=this.__Lf,du=ds in (this.__Lf=null,this);this.__Lf=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:{__Lg:g,__Lh:null,__Li:{},camelCase:function(v){var u=this.__Li[v];if(!u){u=v.replace(/\-([a-z])/g,function(x,w){return w.toUpperCase();});if(v.indexOf(a)>=0){this.__Li[v]=u;};};return u;},hyphenate:function(z){var y=this.__Li[z];if(!y){y=z.replace(/[A-Z]/g,function(A){return (j+A.charAt(0).toLowerCase());});if(z.indexOf(a)==-1){this.__Li[z]=y;};};return y;},capitalize:function(C){if(this.__Lh===null){var B=c;this.__Lh=new RegExp(n+this.__Lg.replace(/[0-9A-F]{4}/g,function(D){return B+D;})+t+this.__Lg.replace(/[0-9A-F]{4}/g,function(E){return B+E;})+b,k);};return C.replace(this.__Lh,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,__Jv:{},__Lj:0,__Lk:[],__Ll:d,__Lm:{},register:function(n){var q=this.__Jv;if(!q){return;};var p=n.$$hash;if(p==null){var o=this.__Lk;if(o.length>0&&true){p=o.pop();}else {p=(this.__Lj++ )+this.__Ll;};n.$$hash=p;{};};{};q[p]=n;},unregister:function(r){var s=r.$$hash;if(s==null){return;};var t=this.__Jv;if(t&&t[s]){delete t[s];this.__Lk.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.__Lk;if(w.length>0){x=w.pop();}else {x=(this.__Lj++ )+this.__Ll;};return v.$$hash=x;},clearHashCode:function(y){{};var z=y.$$hash;if(z!=null){this.__Lk.push(z);try{delete y.$$hash;}catch(A){if(y.removeAttribute){y.removeAttribute(g);};};};},fromHashCode:function(B){return this.__Jv[B]||null;},shutdown:function(){this.inShutDown=true;var D=this.__Jv;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.__Lo){f=this.__Lo;};if(j&&this.__Lp&&(f>this.__Lq)){f=this.__Lq;};if(f>0){var h=this.__Lt(this.__Ln,-1);var g=this.__Lt(h,-f+1);var i;if(g<=h){i=this.__Lr.slice(g,h+1);}else {i=this.__Lr.slice(g,this.__Lo).concat(this.__Lr.slice(0,h+1));};}else {i=[];};return i;},clear:function(){this.__Lr=new Array(this.getMaxEntries());this.__Lo=0;this.__Lq=0;this.__Ln=0;},__Lt: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:{__Lu:F,setLevel:function(K){this.__Lu=K;},getLevel:function(){return this.__Lu;},setTreshold:function(L){this.__Lw.setMaxMessages(L);},getTreshold:function(){return this.__Lw.getMaxMessages();},__Lv:{},__ty:0,register:function(P){if(P.$$id){return;};var M=this.__ty++ ;this.__Lv[M]=P;P.$$id=M;var N=this.__Lx;var O=this.__Lw.getAllLogEvents();for(var i=0,l=O.length;i=N[this.__Lu]){P.process(O[i]);};};},unregister:function(Q){var R=Q.$$id;if(R==null){return;};delete this.__Lv[R];delete Q.$$id;},debug:function(T,S){qx.log.Logger.__Ly(F,arguments);},info:function(V,U){qx.log.Logger.__Ly(f,arguments);},warn:function(X,W){qx.log.Logger.__Ly(q,arguments);},error:function(ba,Y){qx.log.Logger.__Ly(m,arguments);},trace:function(bb){var bc=qx.dev.StackTrace.getStackTrace();qx.log.Logger.__Ly(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.__Lw.clearHistory();},__Lw:new qx.log.appender.RingBuffer(50),__Lx:{debug:0,info:1,warn:2,error:3},__Ly:function(bz,bB){var bE=this.__Lx;if(bE[bz]20){bM.push(c+(l-i)+e);break;};bM.push(this.__LA(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.__LA(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;};},__LI:{"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="UNKNOWN_",b="|bubble",c="",d="_",e="c",f="|",g="qx.globalErrorHandling",h="unload",j="|capture",k="DOM_",m="__LO",n="WIN_",o="QX_",p="qx.event.Manager",q="capture",r="__LN",s="DOCUMENT_";qx.Class.define(p,{extend:Object,construct:function(t,v){this.__LJ=t;this.__LK=qx.core.ObjectRegistry.toHashCode(t);this.__LL=v;if(t.qx!==qx){var self=this;var u=function(){qx.bom.Event.removeNativeListener(t,h,arguments.callee);self.dispose();};if(qx.core.Environment.get(g)){qx.bom.Event.addNativeListener(t,h,qx.event.GlobalError.observeMethod(u));}else {qx.bom.Event.addNativeListener(t,h,u);};};this.__LM={};this.__LN={};this.__LO={};this.__LP={};},statics:{__LQ:0,getNextUniqueId:function(){return (this.__LQ++ )+c;}},members:{__LL:null,__LM:null,__LO:null,__LR:null,__LN:null,__LP:null,__LJ:null,__LK:null,getWindow:function(){return this.__LJ;},getWindowId:function(){return this.__LK;},getHandler:function(x){var w=this.__LN[x.classname];if(w){return w;};return this.__LN[x.classname]=new x(this);},getDispatcher:function(z){var y=this.__LO[z.classname];if(y){return y;};return this.__LO[z.classname]=new z(this,this.__LL);},getListeners:function(B,F,A){var D=B.$$hash||qx.core.ObjectRegistry.toHashCode(B);var G=this.__LM[D];if(!G){return null;};var E=F+(A?j:b);var C=G[E];return C?C.concat():null;},getAllListeners:function(){return this.__LM;},serializeListeners:function(I){var M=I.$$hash||qx.core.ObjectRegistry.toHashCode(I);var Q=this.__LM[M];var L=[];if(Q){var J,P,H,K,N;for(var O in Q){J=O.indexOf(f);P=O.substring(0,J);H=O.charAt(J+1)==e;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.__LM[bo]={};var bm=qx.event.Manager;for(var bj in bk){var bn=bk[bj];var bp=bn.type+(bn.capture?j:b);var bl=bq[bp];if(!bl){bl=bq[bp]=[];this.__LS(bi,bn.type,bn.capture);};bl.push({handler:bn.listener,context:bn.self,unique:bn.unique||(bm.__LQ++ )+c});};},addListener:function(bt,bA,bv,self,br){{var bx;};var bs=bt.$$hash||qx.core.ObjectRegistry.toHashCode(bt);var bB=this.__LM[bs];if(!bB){bB=this.__LM[bs]={};};var bw=bA+(br?j:b);var bu=bB[bw];if(!bu){bu=bB[bw]=[];};if(bu.length===0){this.__LS(bt,bA,br);};var bz=(qx.event.Manager.__LQ++ )+c;var by={handler:bv,context:self,unique:bz};bu.push(by);return bw+f+bz;},findHandler:function(bG,bP){var bN=false,bF=false,bQ=false,bC=false;var bM;if(bG.nodeType===1){bN=true;bM=k+bG.tagName.toLowerCase()+d+bP;}else if(bG.nodeType===9){bC=true;bM=s+bP;}else if(bG==this.__LJ){bF=true;bM=n+bP;}else if(bG.classname){bQ=true;bM=o+bG.classname+d+bP;}else {bM=a+bG+d+bP;};var bE=this.__LP;if(bE[bM]){return bE[bM];};var bL=this.__LL.getHandlers();var bH=qx.event.IEventHandler;var bJ,bK,bI,bD;for(var i=0,l=bL.length;i0){cu=cw.split(f);cx=cu[0];cs=cu[1]===q;this.__LT(ct,cx,cs);};};delete this.__LM[cv];return true;},deleteAllListeners:function(cz){delete this.__LM[cz];},__LT: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.__LL.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.__LY;var n,o,i,l;for(n in p){o=p[n];for(i=0,l=o.length;i8)){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.__Ru),"false":this.__Ru});C.apply(this,arguments);},__Ru:function(){this.__Rq=true;this.__Rt();},_onNativeUnload:function(){var D=qx.core.Environment.select(i,{"true":qx.event.GlobalError.observeMethod(this.__Rv),"false":this.__Rv});D.apply(this,arguments);},__Rv:function(){if(!this.__Rs){this.__Rs=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,__Rn:function(e){var f=this.getApplication();if(f){e.setReturnValue(f.close());};},__Ro: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.__Ro,h);qx.event.Registration.addListener(window,c,h.__Rn,h);}});})();(function(){var a="Abstract method call",b="abstract",c="*",d="",e="-webkit-tap-highlight-color: transparent;",f="-ms-touch-select: none;",g="qx.application.AbstractGui",h="-webkit-touch-callout: none;",i="-webkit-tap-highlight-color: rgba(0,0,0,0);";qx.Class.define(g,{type:b,extend:qx.core.Object,implement:[qx.application.IApplication],include:qx.locale.MTranslation,members:{__Po:null,_createRootWidget:function(){throw new Error(a);},getRoot:function(){return this.__Po;},main:function(){qx.theme.manager.Meta.getInstance().initialize();qx.ui.tooltip.Manager.getInstance();var j=[h,f,i,e].join(d);qx.ui.style.Stylesheet.getInstance().addRule(c,j);this.__Po=this._createRootWidget();window.scrollTo(0,0);},finalize:function(){this.render();},render:function(){qx.ui.core.queue.Manager.flush();},close:function(k){},terminate:function(){}},destruct:function(){this.__Po=null;}});})();(function(){var a="The theme to use is not available: ",b="_applyTheme",c="qx.theme",d="qx.theme.manager.Meta",f="qx.theme.Modern",g="qx.event.type.Event",h="Theme",i="changeTheme",j="singleton";qx.Class.define(d,{type:j,extend:qx.core.Object,events:{"changeTheme":g},properties:{theme:{check:h,nullable:false,apply:b}},members:{_applyTheme:function(k,m){var u=true;var w=true;var o=true;var q=true;var l=true;if(m){u=k.meta.color!==m.meta.color;w=k.meta.decoration!==m.meta.decoration;o=k.meta.font!==m.meta.font;q=k.meta.icon!==m.meta.icon;l=k.meta.appearance!==m.meta.appearance;};var n=qx.theme.manager.Color.getInstance();var t=qx.theme.manager.Decoration.getInstance();var r=qx.theme.manager.Font.getInstance();var p=qx.theme.manager.Icon.getInstance();var s=qx.theme.manager.Appearance.getInstance();this._suspendEvents();if(u){if(!w){var v=t.getTheme();t._applyTheme(v);};n.setTheme(k.meta.color);};t.setTheme(k.meta.decoration);r.setTheme(k.meta.font);p.setTheme(k.meta.icon);s.setTheme(k.meta.appearance);if(u||w||o||q||l){this.fireEvent(i);};this._activateEvents();},__Mj:null,_fireEvent:function(e){if(e.getTarget()===qx.theme.manager.Color.getInstance()){qx.theme.manager.Decoration.getInstance().refresh();};this.fireEvent(i);},_suspendEvents:function(){var B=qx.theme.manager.Color.getInstance();var A=qx.theme.manager.Decoration.getInstance();var x=qx.theme.manager.Font.getInstance();var z=qx.theme.manager.Icon.getInstance();var y=qx.theme.manager.Appearance.getInstance();if(B.hasListener(i)){B.removeListener(i,this._fireEvent,this);};if(A.hasListener(i)){A.removeListener(i,this._fireEvent,this);};if(x.hasListener(i)){x.removeListener(i,this._fireEvent,this);};if(z.hasListener(i)){z.removeListener(i,this._fireEvent,this);};if(y.hasListener(i)){y.removeListener(i,this._fireEvent,this);};},_activateEvents:function(){var G=qx.theme.manager.Color.getInstance();var F=qx.theme.manager.Decoration.getInstance();var C=qx.theme.manager.Font.getInstance();var E=qx.theme.manager.Icon.getInstance();var D=qx.theme.manager.Appearance.getInstance();if(!G.hasListener(i)){G.addListener(i,this._fireEvent,this);};if(!F.hasListener(i)){F.addListener(i,this._fireEvent,this);};if(!C.hasListener(i)){C.addListener(i,this._fireEvent,this);};if(!E.hasListener(i)){E.addListener(i,this._fireEvent,this);};if(!D.hasListener(i)){D.addListener(i,this._fireEvent,this);};},initialize:function(){var J=qx.core.Environment;var H,I;H=J.get(c);if(H){I=qx.Theme.getByName(H);if(!I){throw new Error(a+H);};this.setTheme(I);};}},environment:{"qx.theme":f}});})();(function(){var a="qx.util.ValueManager",b="abstract";qx.Class.define(a,{type:b,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this._dynamic={};},members:{_dynamic:null,resolveDynamic:function(c){return this._dynamic[c];},isDynamic:function(d){return !!this._dynamic[d];},resolve:function(e){if(e&&this._dynamic[e]){return this._dynamic[e];};return e;},_setDynamic:function(f){this._dynamic=f;},_getDynamic:function(){return this._dynamic;}},destruct:function(){this._dynamic=null;}});})();(function(){var a="Could not parse color: ",b="_applyTheme",c="qx.theme.manager.Color",d="Theme",e="changeTheme",f="string",g="singleton";qx.Class.define(c,{type:g,extend:qx.util.ValueManager,properties:{theme:{check:d,nullable:true,apply:b,event:e}},members:{_applyTheme:function(j){var h={};if(j){var i=j.colors;for(var name in i){h[name]=this.__Mk(i,name);};};this._setDynamic(h);},__Mk:function(l,name){var k=l[name];if(typeof k===f){if(!qx.util.ColorUtil.isCssString(k)){if(l[k]!=undefined){return this.__Mk(l,k);};throw new Error(a+k);};return k;}else if(k instanceof Array){return qx.util.ColorUtil.rgbToRgbString(k);};throw new Error(a+k);},resolve:function(p){var o=this._dynamic;var m=o[p];if(m){return m;};var n=this.getTheme();if(n!==null&&n.colors[p]){return o[p]=n.colors[p];};return p;},isDynamic:function(s){var r=this._dynamic;if(s&&(r[s]!==undefined)){return true;};var q=this.getTheme();if(q!==null&&s&&(q.colors[s]!==undefined)){r[s]=q.colors[s];return true;};return false;}}});})();(function(){var a="Could not parse color: ",c="",d="Invalid hex value: ",e="Could not convert system colors to RGB: ",h="(",j=")",k="#",l="a",m="Invalid hex3 value: ",n="qx.theme.manager.Color",o="qx.util.ColorUtil",q="Invalid hex6 value: ",s="rgb",u=",";qx.Bootstrap.define(o,{statics:{REGEXP:{hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,rgb:/^rgb\(\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*\)$/,rgba:/^rgba\(\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*\)$/},SYSTEM:{activeborder:true,activecaption:true,appworkspace:true,background:true,buttonface:true,buttonhighlight:true,buttonshadow:true,buttontext:true,captiontext:true,graytext:true,highlight:true,highlighttext:true,inactiveborder:true,inactivecaption:true,inactivecaptiontext:true,infobackground:true,infotext:true,menu:true,menutext:true,scrollbar:true,threeddarkshadow:true,threedface:true,threedhighlight:true,threedlightshadow:true,threedshadow:true,window:true,windowframe:true,windowtext:true},NAMED:{black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:[-1,-1,-1],magenta:[255,0,255],orange:[255,165,0],brown:[165,42,42]},isNamedColor:function(v){return this.NAMED[v]!==undefined;},isSystemColor:function(w){return this.SYSTEM[w]!==undefined;},supportsThemes:function(){if(qx.Class){return qx.Class.isDefined(n);};return false;},isThemedColor:function(x){if(!this.supportsThemes()){return false;};if(qx.theme&&qx.theme.manager&&qx.theme.manager.Color){return qx.theme.manager.Color.getInstance().isDynamic(x);};return false;},stringToRgb:function(y){if(this.supportsThemes()&&this.isThemedColor(y)){y=qx.theme.manager.Color.getInstance().resolveDynamic(y);};if(this.isNamedColor(y)){return this.NAMED[y].concat();}else if(this.isSystemColor(y)){throw new Error(e+y);}else if(this.isRgbaString(y)){return this.__Mm(y);}else if(this.isRgbString(y)){return this.__Ml();}else if(this.isHex3String(y)){return this.__Mn();}else if(this.isHex6String(y)){return this.__Mo();};throw new Error(a+y);},cssStringToRgb:function(z){if(this.isNamedColor(z)){return this.NAMED[z];}else if(this.isSystemColor(z)){throw new Error(e+z);}else if(this.isRgbString(z)){return this.__Ml();}else if(this.isRgbaString(z)){return this.__Mm();}else if(this.isHex3String(z)){return this.__Mn();}else if(this.isHex6String(z)){return this.__Mo();};throw new Error(a+z);},stringToRgbString:function(A){return this.rgbToRgbString(this.stringToRgb(A));},rgbToRgbString:function(B){return s+(B[3]!==undefined?l:c)+h+B.join(u)+j;},rgbToHexString:function(C){return (k+qx.lang.String.pad(C[0].toString(16).toUpperCase(),2)+qx.lang.String.pad(C[1].toString(16).toUpperCase(),2)+qx.lang.String.pad(C[2].toString(16).toUpperCase(),2));},isValidPropertyValue:function(D){return (this.isThemedColor(D)||this.isNamedColor(D)||this.isHex3String(D)||this.isHex6String(D)||this.isRgbString(D)||this.isRgbaString(D));},isCssString:function(E){return (this.isSystemColor(E)||this.isNamedColor(E)||this.isHex3String(E)||this.isHex6String(E)||this.isRgbString(E)||this.isRgbaString(E));},isHex3String:function(F){return this.REGEXP.hex3.test(F);},isHex6String:function(G){return this.REGEXP.hex6.test(G);},isRgbString:function(H){return this.REGEXP.rgb.test(H);},isRgbaString:function(I){return this.REGEXP.rgba.test(I);},__Ml:function(){var L=parseInt(RegExp.$1,10);var K=parseInt(RegExp.$2,10);var J=parseInt(RegExp.$3,10);return [L,K,J];},__Mm:function(){var P=parseInt(RegExp.$1,10);var O=parseInt(RegExp.$2,10);var M=parseInt(RegExp.$3,10);var N=parseFloat(RegExp.$4,10);if(P===0&&O===0&M===0&&N===0){return [-1,-1,-1];};return [P,O,M];},__Mn:function(){var S=parseInt(RegExp.$1,16)*17;var R=parseInt(RegExp.$2,16)*17;var Q=parseInt(RegExp.$3,16)*17;return [S,R,Q];},__Mo:function(){var V=(parseInt(RegExp.$1,16)*16)+parseInt(RegExp.$2,16);var U=(parseInt(RegExp.$3,16)*16)+parseInt(RegExp.$4,16);var T=(parseInt(RegExp.$5,16)*16)+parseInt(RegExp.$6,16);return [V,U,T];},hex3StringToRgb:function(W){if(this.isHex3String(W)){return this.__Mn(W);};throw new Error(m+W);},hex3StringToHex6String:function(X){if(this.isHex3String(X)){return this.rgbToHexString(this.hex3StringToRgb(X));};return X;},hex6StringToRgb:function(Y){if(this.isHex6String(Y)){return this.__Mo(Y);};throw new Error(q+Y);},hexStringToRgb:function(ba){if(this.isHex3String(ba)){return this.__Mn(ba);};if(this.isHex6String(ba)){return this.__Mo(ba);};throw new Error(d+ba);},rgbToHsb:function(bi){var bc,bd,bf;var bm=bi[0];var bj=bi[1];var bb=bi[2];var bl=(bm>bj)?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="__Mr",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.__Mp=[];this.__Mq=(qx.core.Environment.get(b)==a&&qx.core.Environment.get(r)<9);},properties:{theme:{check:n,nullable:true,apply:c,event:p}},members:{__Mr:null,__Mp:null,__Mq: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.__Mq?A:A+(C?s:d);this.__Mp.push(E+D);w.addRule(E+D,x);continue;};G+=D+s+v[D]+k;};if(G){w.addRule(A,G);this.__Mp.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.__MA={};this.add(j,b);},members:{__MA: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.__MA[n]){return this.__MA[n];};var l=n.substring(0,n.indexOf(i));var k=this.__MA[l];if(k!==undefined){m[n]=k+n.substring(l.length);};};return n;},add:function(o,q){this.__MA[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.__MA[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.__MA){v[w]=this.__MA[w];};return v;}},destruct:function(){this.__MA=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:{__MB:qx.$$libraries||{}},members:{has:function(c){return !!this.self(arguments).__MB[c];},get:function(d,e){return this.self(arguments).__MB[d][e]?this.self(arguments).__MB[d][e]:null;},set:function(f,g,h){this.self(arguments).__MB[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:{__Jv:qx.$$resources||{},__MC:{}},members:{has:function(r){return !!this.self(arguments).__Jv[r];},getData:function(s){return this.self(arguments).__Jv[s]||null;},getImageWidth:function(u){var t=this.self(arguments).__Jv[u];return t?t[0]:null;},getImageHeight:function(w){var v=this.self(arguments).__Jv[w];return v?v[1]:null;},getImageFormat:function(y){var x=this.self(arguments).__Jv[y];return x?x[2]:null;},getCombinedFormat:function(D){var A=e;var C=this.self(arguments).__Jv[D];var z=C&&C.length>4&&typeof (C[4])==i&&this.constructor.__Jv[C[4]];if(z){var E=C[4];var B=this.constructor.__Jv[E];A=B[2];};return A;},toUri:function(I){if(I==null){return I;};var F=this.self(arguments).__Jv[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).__MC[H];};return G+qx.util.LibraryManager.getInstance().get(H,n)+m+I;},toDataUri:function(L){var K=this.constructor.__Jv[L];var N=this.constructor.__Jv[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.__MC[Q]=e;continue;};if(O.match(/^\/\//)!=null){P.__MC[Q]=window.location.protocol;}else if(O.match(/^\//)!=null){P.__MC[Q]=window.location.protocol+c+window.location.host;}else if(O.match(/^\.\//)!=null){var S=document.URL;P.__MC[Q]=S.substring(0,S.lastIndexOf(m)+1);}else if(O.match(/^http/)!=null){P.__MC[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.__MC[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.__MF;this._styleBorder=this.__MD;},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:{__MD: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.__ME(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};};},__ME: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(){{};},__MF: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:{__MG: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.__MG=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.__MG=true;};};if(!ch){return null;};var ci=/(.*?)\(/.exec(ch);return ci?ci[1]:null;},getFilterGradient:function(){return qx.bom.client.Css.__MH(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.__MG===null){qx.bom.client.Css.getLinearGradient();};return qx.bom.client.Css.__MG;},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.__MH(L,W);},__MH: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.__MI(T);return {top:this.getSliceTop()||U[0],right:this.getSliceRight()||U[1],bottom:this.getSliceBottom()||U[2],left:this.getSliceLeft()||U[3]};},_applyBorderImage:function(){{};},__MI: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:{__MJ:null,_styleLinearBackgroundGradient:function(W){var bj=this.__MK();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.__MJ){this.__MJ=document.createElement(F);};var X=this.getOrientation()==z;var bj=this.__MK();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.__MJ.width=ba;this.__MJ.height=bg;var bd=this.__MJ.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.__MJ.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.__MK();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;};};},__MK: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:{__ML: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.__ML=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.__ML;}}});})();(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(m){var l=this._dynamic;var i=l[m];if(i){return i;};var k=this.getTheme();if(k!==null&&k.fonts[m]){var j=this.__MN(k.fonts[m]);return l[m]=(new j).set(k.fonts[m]);};return m;},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.__MN(o.fonts[q]);p[q]=(new n).set(o.fonts[q]);return true;};return false;},__MM: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.__MM(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.__MM(v,x);};var w=this.__MN(v[x]);u[x]=(new w).set(v[x]);u[x].themed=true;};};this._setDynamic(u);},__MN: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.__MO={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;},__MP:{fontFamily:r,fontSize:r,fontWeight:r,fontStyle:r,textDecoration:r,lineHeight:1.2,color:r,textShadow:r},getDefaultStyles:function(){return this.__MP;}},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:{__MO:null,_applySize:function(M,L){this.__MO.fontSize=M===null?null:M+b;},_applyLineHeight:function(O,N){this.__MO.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.__MO.fontFamily=R;},_applyBold:function(T,S){this.__MO.fontWeight=T==null?null:T?v:t;},_applyItalic:function(V,U){this.__MO.fontStyle=V==null?null:V?s:t;},_applyDecoration:function(X,W){this.__MO.textDecoration=X==null?null:X;},_applyColor:function(ba,Y){this.__MO.color=null;if(ba){this.__MO.color=qx.theme.manager.Color.getInstance().resolve(ba);};},_applyTextShadow:function(bc,bb){this.__MO.textShadow=bc==null?null:bc;},getStyles:function(){return this.__MO;}}});})();(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:{__MQ: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.__MW){this.__MW=new qx.event.Timer(100);this.__MW.addListener(t,this.__MY,this);};if(!this.__MW.isEnabled()){this.__MW.start();};this.__MT.push([bm,bl,bo,bq]);}else {this.__MX(bm,bl,bo,bq);};},remove:function(bs){var br=null;for(var i=0,l=this.__MR.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.__MR=[];if(this.__MV){qx.bom.Stylesheet.removeSheet(this.__MV);};this.__MV=null;},__MX:function(bA,bC,bz,bD){if(!qx.lang.Array.contains(this.__MR,bA)){var bE=this.__Nb(bC);var bB=this.__Nc(bA,bE);if(!bB){throw new Error(R+bA+w);};if(!this.__MV){this.__MV=qx.bom.Stylesheet.createElement();};try{this.__Ne(bB);}catch(bF){{};};this.__MR.push(bA);};if(!this.__MS[bA]){this.__MS[bA]=new qx.bom.webfonts.Validator(bA);this.__MS[bA].setTimeout(qx.bom.webfonts.Manager.VALIDATION_TIMEOUT);this.__MS[bA].addListenerOnce(s,this.__Na,this);};if(bz){var by=bD||window;this.__MS[bA].addListenerOnce(s,bz,by);};this.__MS[bA].validate();},__MY:function(){if(this.__MT.length==0){this.__MW.stop();return;};var bG=this.__MT.shift();this.__MX.apply(this,bG);},__Na:function(bH){var bI=bH.getData();if(bI.valid===false){qx.event.Timer.once(function(){this.remove(bI.family);},this,250);};},__Nb:function(bJ){var bL=qx.bom.webfonts.Manager.FONT_FORMATS;var bK={};for(var i=0,l=bJ.length;i0?this.__MU:qx.bom.webfonts.Manager.FONT_FORMATS;for(var i=0,l=bP.length;i=this.getTimeout()){this.__Nn.stop();this._reset();this.fireDataEvent(b,{family:this.getFontFamily(),valid:false});};};}},destruct:function(){this._reset();this.__Nn.stop();this.__Nn.removeListener(h,this.__Np,this);this._disposeObjects(r);}});})();(function(){var a="mshtml",b="engine.name",c="qx.bom.element.Dimension",d="0px",e="paddingRight",f="paddingLeft",g="opera",h="paddingBottom",i="paddingTop",j="overflowX",k="overflowY";qx.Bootstrap.define(c,{statics:{getWidth:function(m){var l=m.getBoundingClientRect();return Math.round(l.right-l.left);},getHeight:function(o){var n=o.getBoundingClientRect();return Math.round(n.bottom-n.top);},getSize:function(p){return {width:this.getWidth(p),height:this.getHeight(p)};},__Nq:{visible:true,hidden:true},getContentWidth:function(t){var q=qx.bom.element.Style;var r=qx.bom.element.Style.get(t,j);var s=parseInt(q.get(t,f)||d,10);var w=parseInt(q.get(t,e)||d,10);if(this.__Nq[r]){var v=t.clientWidth;if((qx.core.Environment.get(b)==g)||qx.dom.Node.isBlockNode(t)){v=v-s-w;};if(qx.core.Environment.get(b)==a){if(v===0&&t.offsetHeight===0){return t.offsetWidth;};};return v;}else {if(t.clientWidth>=t.scrollWidth){return Math.max(t.clientWidth,t.scrollWidth)-s-w;}else {var u=t.scrollWidth-s;if(qx.core.Environment.get(b)==a){u-=w;};return u;};};},getContentHeight:function(B){var x=qx.bom.element.Style;var A=qx.bom.element.Style.get(B,k);var z=parseInt(x.get(B,i)||d,10);var y=parseInt(x.get(B,h)||d,10);if(this.__Nq[A]){return B.clientHeight-z-y;}else {if(B.clientHeight>=B.scrollHeight){return Math.max(B.clientHeight,B.scrollHeight)-z-y;}else {return B.scrollHeight-z;};};},getContentSize:function(C){return {width:this.getContentWidth(C),height:this.getContentHeight(C)};}}});})();(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="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:{__Nr:{},compile:function(o){return a+(this.__Nr[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.__Nr[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.__Nr[g]=l;u.__Nr[j]=e;};}});})();(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:{__Ns:{tags:{button:true,select:true},types:{search:true,button:true,submit:true,reset:true,checkbox:true,radio:true}},__Nt:function(j){var i=this.__Ns;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.__Nt(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="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:{__Nu:null,__Nv:null,__Nw: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.__Nv={};for(var x in qx.lang.Object.clone(y)){if(!y[x]){delete y[x];}else {if(x===t){this.__Nv[b]=x;}else {this.__Nv[x]=qx.bom.Style.getCssName(y[x]);};};};this.__Nu=y;},__Nx:function(name){var z=qx.bom.Style.getPropertyName(name);if(z){this.__Nu[name]=z;};return z;},__Ny:{width:s,height:j,left:n,right:f,top:l,bottom:r},__Nz:{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.__Nz;var C=this.__Nv;var name,B;for(name in A){B=A[name];if(B==null){continue;};name=this.__Nv[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.__Nz[I]||this.__Nu[I]||I in document.documentElement.style);},COMPUTED_MODE:1,CASCADED_MODE:2,LOCAL_MODE:3,set:function(L,name,J,K){{};name=this.__Nu[name]||this.__Nx(name)||name;if(K!==false&&this.__Nz[name]){this.__Nz[name].set(L,J);}else {L.style[name]=J!==null?J:q;};},setStyles:function(S,M,T){{};var P=this.__Nu;var Q=this.__Nz;var N=S.style;for(var R in M){var O=M[R];var name=P[R]||this.__Nx(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.__Nu[name]||this.__Nx(name)||name;if(U!==false&&this.__Nz[name]){this.__Nz[name].reset(V);}else {V.style[name]=q;};},get:function(ba,name,bc,be){name=this.__Nu[name]||this.__Nx(name)||name;if(be!==false&&this.__Nz[name]){return this.__Nz[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.__Ny[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.__Nw();}});})();(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;},__NA: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};};},__NB: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.__NB==null){this.__NB=this.__NA(p);};q=this.__NB[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.__NC={};this.__ND={};},properties:{theme:{check:f,nullable:true,event:g,apply:b}},members:{__NE:{},__NC:null,__ND:null,_applyTheme:function(){this.__ND={};this.__NC={};},__NF: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.__NF(v,u,l,w);};};};for(var i=0;i0){P+=e+E;};};var F=this.__NC;if(F[P]!==undefined){return F[P];};if(!J){J=this.__NE;};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.__NC=this.__ND=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.__NG(w.include);w.patch=this.__NG(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.__NJ(v,w);this.__NH(v,w);this.$$registry[name]=v;for(var i=0,a=w.include,l=a.length;iP.width){P.width=P.minWidth;};if(P.maxWidthP.height){P.height=P.minHeight;};if(P.maxHeight=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.__NN;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;},__NO:function(){var t=qx.ui.core.queue.Visibility;this.__NN={};var s=[];var r=this.__MT;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;},__NP:function(){var x=[];var z=this.__NO();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:{__o:[],$$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.__NS(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.__NS(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.__NS(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.__NS(z,A,f,this);}else {C=qx.bom.element.Dimension.getContentWidth(z);};return C;};return null;},__NQ:{},__NR:function(G,D){var F=qx.module.Css.__NQ;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;},__NS: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.__NR(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.__Oa);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="foo",b="function",c="event.mouseevent",d="event.help",e="qx.bom.client.Event",f="event.dispatchevent",g="mousewheel",h="event.touch",j="onhelp",k="event.hashchange",l="PointerEvent",m="pointerEnabled",n="event.customevent",o="documentMode",p="ontouchstart",q="mshtml",r="onhashchange",s="event.mousewheel",t="wheel",u="DOMMouseScroll",v="msPointerEnabled",w="event.mspointer";qx.Bootstrap.define(e,{statics:{getTouch:function(){return (p in window);},getMsPointer:function(){if(l in window){return true;};if(m in window.navigator){return window.navigator.pointerEnabled;}else if(v in window.navigator){return window.navigator.msPointerEnabled;};return false;},getHelp:function(){return (j in document);},getHashChange:function(){var x=qx.bom.client.Engine.getName();var y=r in window;return (x!==q&&y)||(x===q&&o in document&&document.documentMode>=8&&y);},getDispatchEvent:function(){return typeof document.dispatchEvent==b;},getCustomEvent:function(){if(!window.CustomEvent){return false;};try{new window.CustomEvent(a);return true;}catch(z){return false;};},getMouseEvent:function(){if(!window.MouseEvent){return false;};try{new window.MouseEvent(a);return true;}catch(A){return false;};},getMouseWheel:function(B){if(!B){B=window;};var E=[B,B.document,B.document.body];var D=B;var C=u;for(var i=0;i8){qx.bom.Event.addNativeListener(document,r,w);}else {var z=function(){if(qx.module.Event.__Oe){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.__Oc;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:{__Og:[]},members:{__Ai:null,__Oh:null,on:function(name,c,d){var e=qx.event.Emitter.__Og.length;this.__Oi(name).push({listener:c,ctx:d,id:e,name:name});qx.event.Emitter.__Og.push({name:name,listener:c,ctx:d});return e;},once:function(name,f,g){var h=qx.event.Emitter.__Og.length;this.__Oi(name).push({listener:f,ctx:g,once:true,id:h});qx.event.Emitter.__Og.push({name:name,listener:f,ctx:g});return h;},off:function(name,m,k){var l=this.__Oi(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.__Og[n.id]=null;return n.id;};};return null;},offById:function(p){var o=qx.event.Emitter.__Og[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.__Oi(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.__Ai;},getEntryById:function(F){for(var name in this.__Ai){var E=this.__Ai[name];for(var i=0,j=E.length;i=0;i-- ){var bq=new qx.event.type.dom.Pointer(o,bl,{identifier:this.__Oo[i].identifier,target:bl.target,pointerType:h,pointerId:this.__Oo[i].identifier+2});this._fireEvent(bq,o,bl.target);};this.__Os=null;this.__Oo=[];return;};if(bl.type==q&&this.__Os===null){this.__Os=bo[0].identifier;};for(var i=0,l=bo.length;i1){return;};if(bt.type==M&&bw>0){return;};if(bt.type==O){this.__On[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.__OE();};},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.__OF=h&&h[e];this.__OG=true;},events:{"start":b,"end":b,"iteration":b},members:{__OF:null,__OG:false,__OH:false,isPlaying:function(){return this.__OG;},isEnded:function(){return this.__OH;},isPaused:function(){return this.el.style[this.__OF]==f;},pause:function(){if(this.el){this.el.style[this.__OF]=f;this.el.$$animation.__OG=false;if(this.animationId&&qx.bom.element.AnimationJs){qx.bom.element.AnimationJs.pause(this);};};},play:function(){if(this.el){this.el.style[this.__OF]=g;this.el.$$animation.__OG=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.__OF]=c;this.el.style[qx.core.Environment.get(a).name]=c;this.el.$$animation.__OG=false;this.el.$$animation.__OH=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:{__OI:30,__OJ:[k,p,c,d,l,t,f,g,q],__Ov:{"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.__OS(L);var K=this.__OR(P,J);var N=parseInt(P/K,10);this.__OK(L,G);var O=this.__OM(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.__OP(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;},__OK: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.__ON(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.__OJ.indexOf(Y[name])!=-1){T[name]=e+Y[name];};};};};},__OL:function(bb){bb=qx.lang.Object.clone(bb);var bc;for(var name in bb){if(name in this.__Ov){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;},__OM:function(bw,bh,bo,bi,be,bq){var bp=new Array(bw);var bm=1;bp[0]=this.__OL(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.__Ov){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.__OL(bi[100]);return bp;},__ON:function(by){return by.substring((parseFloat(by)+h).length,by.length);},__OO:function(bC,bB,bz,x){var bA=parseFloat(bC)-parseFloat(bB);return (parseFloat(bB)+bA*qx.bom.AnimationFrame.calculateTiming(bz,x))+this.__ON(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.__OQ(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.__OQ(bH,bJ.keyFrames[bL]);}else {this.__OQ(bH,bI);};bH.$$animation=null;bK.el=null;bK.ended=true;bK.animationId=null;bK.emit(s,bH);return bK;},__OP:function(bN,bM){if(bM==undefined){return bN;};if(bM==n){return Number.MAX_VALUE;};return bN*bM;},__OQ: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];};};},__OR:function(bT,bR){var bU=100;for(var i=0;ithis.__OI){bS=bS/2;};return Math.round(bS);},__OS: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.__OU=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)){bj.style.visibility=bg.__Pq?q:N;};};};delete bd[bf];};var scroll=this._scroll;for(var bf in scroll){bg=scroll[bf];var bo=bg.__Pn;if(bo&&bo.offsetWidth){var ba=true;if(bg.__Pt!=null){bg.__Pn.scrollLeft=bg.__Pt;delete bg.__Pt;};if(bg.__Pu!=null){bg.__Pn.scrollTop=bg.__Pu;delete bg.__Pu;};var bk=bg.__Pr;if(bk!=null){var be=bk.element.getDomElement();if(be&&be.offsetWidth){qx.bom.element.Scroll.intoViewX(be,bo,bk.align);delete bg.__Pr;}else {ba=false;};};var bl=bg.__Ps;if(bl!=null){var be=bl.element.getDomElement();if(be&&be.offsetWidth){qx.bom.element.Scroll.intoViewY(be,bo,bl.align);delete bg.__Ps;}else {ba=false;};};if(ba){delete scroll[bf];};};};var Y={"releaseCapture":1,"blur":1,"deactivate":1};for(var i=0;i0){this._insertChildren();};}else {this._syncData();if(this.__PB){this._syncChildren();};};delete this.__PB;},_insertChildren:function(){var bv=this.__PA;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.__Pp||bD.__PC!==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.__Pe]){return true;};return false;},setSelectable:function(cG){this.setAttribute(A,cG?D:C);var cF=qx.core.Environment.get(n);if(cF){this.setStyle(cF,cG?b:qx.core.Environment.get(P));};},isNativelyFocusable:function(){return !!qx.event.handler.Focus.FOCUSABLE_ELEMENTS[this.__Pe];},include:function(){if(this.__Pp){return this;};delete this.__Pp;if(this.__PC){this.__PC._scheduleChildrenUpdate();};return this;},exclude:function(){if(!this.__Pp){return this;};this.__Pp=false;if(this.__PC){this.__PC._scheduleChildrenUpdate();};return this;},isIncluded:function(){return this.__Pp===true;},fadeIn:function(cH){var cI=qxWeb(this.__Pn);if(cI.isPlaying()){cI.stop();};if(!this.__Pn){this.__PD();cI.push(this.__Pn);};if(this.__Pn){cI.fadeIn(cH);return cI.getAnimationHandles()[0];};},fadeOut:function(cJ){var cK=qxWeb(this.__Pn);if(cK.isPlaying()){cK.stop();};if(this.__Pn){cK.fadeOut(cJ).once(o,function(){this.hide();qx.html.Element.flush();},this);return cK.getAnimationHandles()[0];};},show:function(){if(this.__Pq){return this;};if(this.__Pn){qx.html.Element._visibility[this.$$hash]=this;qx.html.Element._scheduleFlush(w);};if(this.__PC){this.__PC._scheduleChildrenUpdate();};delete this.__Pq;return this;},hide:function(){if(!this.__Pq){return this;};if(this.__Pn){qx.html.Element._visibility[this.$$hash]=this;qx.html.Element._scheduleFlush(w);};this.__Pq=false;return this;},isVisible:function(){return this.__Pq===true;},scrollChildIntoViewX:function(cO,cM,cP){var cL=this.__Pn;var cN=cO.getDomElement();if(cP!==false&&cL&&cL.offsetWidth&&cN&&cN.offsetWidth){qx.bom.element.Scroll.intoViewX(cN,cL,cM);}else {this.__Pr={element:cO,align:cM};qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(w);};delete this.__Pt;},scrollChildIntoViewY:function(cT,cR,cU){var cQ=this.__Pn;var cS=cT.getDomElement();if(cU!==false&&cQ&&cQ.offsetWidth&&cS&&cS.offsetWidth){qx.bom.element.Scroll.intoViewY(cS,cQ,cR);}else {this.__Ps={element:cT,align:cR};qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(w);};delete this.__Pu;},scrollToX:function(x,cV){var cW=this.__Pn;if(cV!==true&&cW&&cW.offsetWidth){cW.scrollLeft=x;delete this.__Pt;}else {this.__Pt=x;qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(w);};delete this.__Pr;},getScrollX:function(){var cX=this.__Pn;if(cX){return cX.scrollLeft;};return this.__Pt||0;},scrollToY:function(y,da){var cY=this.__Pn;if(da!==true&&cY&&cY.offsetWidth){cY.scrollTop=y;delete this.__Pu;}else {this.__Pu=y;qx.html.Element._scroll[this.$$hash]=this;qx.html.Element._scheduleFlush(w);};delete this.__Ps;},getScrollY:function(){var dc=this.__Pn;if(dc){return dc.scrollTop;};return this.__Pu||0;},disableScrolling:function(){this.enableScrolling();this.scrollToX(0);this.scrollToY(0);this.addListener(L,this.__PJ,this);},enableScrolling:function(){this.removeListener(L,this.__PJ,this);},__PI:null,__PJ:function(e){if(!this.__PI){this.__PI=true;this.__Pn.scrollTop=0;this.__Pn.scrollLeft=0;delete this.__PI;};},getTextSelection:function(){var dd=this.__Pn;if(dd){return qx.bom.Selection.get(dd);};return null;},getTextSelectionLength:function(){var de=this.__Pn;if(de){return qx.bom.Selection.getLength(de);};return null;},getTextSelectionStart:function(){var df=this.__Pn;if(df){return qx.bom.Selection.getStart(df);};return null;},getTextSelectionEnd:function(){var dg=this.__Pn;if(dg){return qx.bom.Selection.getEnd(dg);};return null;},setTextSelection:function(dh,di){var dj=this.__Pn;if(dj){qx.bom.Selection.set(dj,dh,di);return;};qx.html.Element.__Ph[this.toHashCode()]={element:this,start:dh,end:di};qx.html.Element._scheduleFlush(w);},clearTextSelection:function(){var dk=this.__Pn;if(dk){qx.bom.Selection.clear(dk);};delete qx.html.Element.__Ph[this.toHashCode()];},__PK:function(dl,dm){var dn=qx.html.Element._actions;dn.push({type:dl,element:this,args:dm||[]});qx.html.Element._scheduleFlush(w);},focus:function(){this.__PK(g);},blur:function(){this.__PK(h);},activate:function(){this.__PK(F);},deactivate:function(){this.__PK(m);},capture:function(dp){this.__PK(p,[dp!==false]);},releaseCapture:function(){this.__PK(u);},setStyle:function(dq,dr,ds){if(!this.__Pf){this.__Pf={};};if(this.__Pf[dq]==dr){return this;};if(dr==null){delete this.__Pf[dq];}else {this.__Pf[dq]=dr;};if(this.__Pn){if(ds){qx.bom.element.Style.set(this.__Pn,dq,dr);return this;};if(!this.__Pv){this.__Pv={};};this.__Pv[dq]=true;qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(w);};return this;},setStyles:function(du,dw){var dv=qx.bom.element.Style;if(!this.__Pf){this.__Pf={};};if(this.__Pn){if(!this.__Pv){this.__Pv={};};for(var dt in du){var dx=du[dt];if(this.__Pf[dt]==dx){continue;};if(dx==null){delete this.__Pf[dt];}else {this.__Pf[dt]=dx;};if(dw){dv.set(this.__Pn,dt,dx);continue;};this.__Pv[dt]=true;};qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(w);}else {for(var dt in du){var dx=du[dt];if(this.__Pf[dt]==dx){continue;};if(dx==null){delete this.__Pf[dt];}else {this.__Pf[dt]=dx;};};};return this;},removeStyle:function(dz,dy){this.setStyle(dz,null,dy);return this;},getStyle:function(dA){return this.__Pf?this.__Pf[dA]:null;},getAllStyles:function(){return this.__Pf||null;},setAttribute:function(dB,dC,dD){if(!this.__Pg){this.__Pg={};};if(this.__Pg[dB]==dC){return this;};if(dC==null){delete this.__Pg[dB];}else {this.__Pg[dB]=dC;};if(this.__Pn){if(dD){qx.bom.element.Attribute.set(this.__Pn,dB,dC);return this;};if(!this.__Pw){this.__Pw={};};this.__Pw[dB]=true;qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(w);};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.__Pg?this.__Pg[dJ]:null;},addClass:function(name){var dK=((this.getAttribute(k)||z)+M+name).trim();this.setAttribute(k,dK);},removeClass:function(name){var dL=this.getAttribute(k);if(dL){this.setAttribute(k,(dL.replace(name,z)).trim());};},_applyProperty:function(name,dM){},_setProperty:function(dN,dO,dP){if(!this.__Py){this.__Py={};};if(this.__Py[dN]==dO){return this;};if(dO==null){delete this.__Py[dN];}else {this.__Py[dN]=dO;};if(this.__Pn){if(dP){this._applyProperty(dN,dO);return this;};if(!this.__Px){this.__Px={};};this.__Px[dN]=true;qx.html.Element._modified[this.$$hash]=this;qx.html.Element._scheduleFlush(w);};return this;},_removeProperty:function(dR,dQ){return this._setProperty(dR,null,dQ);},_getProperty:function(dT){var dS=this.__Py;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.__Pn){return qx.event.Registration.addListener(this.__Pn,ea,dW,self,dV);};if(!this.__Pz){this.__Pz={};};if(dV==null){dV=false;};var dY=qx.event.Manager.getNextUniqueId();var eb=ea+(dV?d:t)+dY;this.__Pz[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.__Pn){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.__Pn,ej,ed,self,ec);}else {var ef=this.__Pz;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.__Pn){qx.event.Registration.removeListenerById(this.__Pn,ek);}else {delete this.__Pz[ek];};return this;},hasListener:function(en,em){if(this.$$disposed){return false;};if(this.__Pn){return qx.event.Registration.hasListener(this.__Pn,en,em);};var eo=this.__Pz;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.__Pn){return qx.event.Registration.getManager(this.__Pn).serializeListeners(this.__Pn);};var er=[];for(var et in this.__Pz){var es=this.__Pz[et];er.push({type:es.type,handler:es.listener,self:es.self,capture:es.capture});};return er;}},defer:function(eu){eu.__PL=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.__Pn;if(ev){qx.event.Registration.getManager(ev).removeAllListeners(ev);ev.$$element=z;};if(!qx.core.ObjectRegistry.inShutDown){var parent=this.__PC;if(parent&&!parent.$$disposed){parent.remove(this);};};this._disposeArray(f);this.__Pg=this.__Pf=this.__Pz=this.__Py=this.__Pw=this.__Pv=this.__Px=this.__Pn=this.__PC=this.__Pr=this.__Ps=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.__Pd=g;this.__PM={};qx.event.handler.Appear.__PN[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,__PN:{},refresh:function(){var h=this.__PN;for(var i in h){h[i].refresh();};}},members:{__Pd:null,__PM:null,canHandleEvent:function(k,j){},registerEvent:function(o,p,m){var n=qx.core.ObjectRegistry.toHashCode(o)+p;var l=this.__PM;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.__PM;if(!q){return;};if(q[s]){delete q[s];};},refresh:function(){var A=this.__PM;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.__Pd.dispatchEvent(x,z);};};}},destruct:function(){this.__Pd=this.__PM=null;delete qx.event.handler.Appear.__PN[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.__PT){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;},__Qf: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.__PS[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);},__Qg:function(cx,cz){if(!cx.isPrimary){var cy=this._calcAngle();cx.angle=Math.round((cy-this.__PY)%360);this._fireEvent(cx,k,this.__PW);};},__Qh:function(cC,cD){if(!cC.isPrimary){var cA=this._calcDistance();var cB=cA/this.__Qb;cC.scale=(Math.round(cB*100)/100);this._fireEvent(cC,b,this.__PW);};},__Qi:function(cE,cF){var cG=this.__PS[cE.pointerId];if(cG){this._fireEvent(cE,f,cE.target||cF);cG.longTapTimer=null;cG.isTap=false;};},__Qj: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.__PS){this.__Qj(cK);};this._stopObserver();this.__Ok=this.__Ol=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.__Qk(f);};if(d===a){var x=0;if(e.wheelDelta!==undefined){if(e.wheelDeltaX!==undefined){x=e.wheelDeltaX?this.__Qk(-e.wheelDeltaX):0;};}else {if(e.axis&&e.axis==e.HORIZONTAL_AXIS&&(e.detail!==undefined)&&(e.detail>0)){x=this.__Qk(e.detail);}else if(e.deltaX!==undefined){x=this.__Qk(e.deltaX);};};return x;};if(d===b){var y=0;if(e.wheelDelta!==undefined){if(e.wheelDeltaY!==undefined){y=e.wheelDeltaY?this.__Qk(-e.wheelDeltaY):0;}else {y=this.__Qk(-e.wheelDelta);};}else {if(!(e.axis&&e.axis==e.HORIZONTAL_AXIS)&&(e.detail!==undefined)&&(e.detail>0)){y=this.__Qk(e.detail);}else if(e.deltaY!==undefined){y=this.__Qk(e.deltaY);};};return y;};return 0;},__Qk: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.__Ql();};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="browser.name",l="textarea",m="_applyActive",n='character',o="input",p="ios",q="",r="qxSelectable",s="tabIndex",t="off",u="on",v="activate",w="focusin",x="mshtml",y="engine.name",z="mouseup",A="DOMFocusOut",B="focusout",C="qxKeepFocus",D="draggesture",E="qxKeepActive";qx.Class.define(g,{extend:qx.core.Object,implement:qx.event.IEventHandler,construct:function(F){qx.core.Object.call(this);this._manager=F;this._window=F.getWindow();this._document=this._window.document;this._root=this._document.documentElement;this._body=this._document.body;if((qx.core.Environment.get(b)==p&&parseFloat(qx.core.Environment.get(f))>6)&&(!qx.application.Inline||!qx.core.Init.getApplication() instanceof qx.application.Inline)){this.__QH=true;};this._initObserver();},properties:{active:{apply:m,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(y,{"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:{__QI:null,__QJ:null,__QK:null,__QL:null,__QM:null,__QN:null,__QO:null,__QP:null,__QQ:null,__QR:null,__QS:q,__QT:q,__QH:false,__QU:null,canHandleEvent:function(H,G){},registerEvent:function(K,J,I){},unregisterEvent:function(N,M,L){},focus:function(O){if((qx.core.Environment.get(y)==x)){window.setTimeout(function(){try{O.focus();var P=qx.bom.Selection.get(O);if(P.length==0){var Q=O.createTextRange();Q.moveStart(n,O.value.length);Q.collapse();Q.select();};}catch(R){};},0);}else {try{O.focus();}catch(S){};};this.setFocus(O);this.setActive(O);},activate:function(T){this.setActive(T);},blur:function(U){try{U.blur();}catch(V){};if(this.getActive()===U){this.resetActive();};if(this.getFocus()===U){this.resetFocus();};},deactivate:function(W){if(this.getActive()===W){this.resetActive();};},tryActivate:function(Y){var X=this.__Rj(Y);if(X){this.setActive(X);};},__Qu:function(ba,bc,bf,be){var bd=qx.event.Registration;var bb=bd.createEvent(bf,qx.event.type.Focus,[ba,bc,be]);bd.dispatchEvent(ba,bb);},_windowFocused:true,__QV:function(){if(this._windowFocused){this._windowFocused=false;this.__Qu(this._window,null,c,false);};},__QW:function(){if(!this._windowFocused){this._windowFocused=true;this.__Qu(this._window,null,e,false);};},_initObserver:qx.core.Environment.select(y,{"gecko":function(){this.__QI=qx.lang.Function.listener(this.__Rd,this);this.__QJ=qx.lang.Function.listener(this.__Re,this);this.__QK=qx.lang.Function.listener(this.__Rc,this);this.__QL=qx.lang.Function.listener(this.__Rb,this);this.__QM=qx.lang.Function.listener(this.__QX,this);qx.bom.Event.addNativeListener(this._document,d,this.__QI,true);qx.bom.Event.addNativeListener(this._document,z,this.__QJ,true);qx.bom.Event.addNativeListener(this._window,e,this.__QK,true);qx.bom.Event.addNativeListener(this._window,c,this.__QL,true);qx.bom.Event.addNativeListener(this._window,D,this.__QM,true);},"mshtml":function(){this.__QI=qx.lang.Function.listener(this.__Rd,this);this.__QJ=qx.lang.Function.listener(this.__Re,this);this.__QO=qx.lang.Function.listener(this.__QY,this);this.__QP=qx.lang.Function.listener(this.__Ra,this);this.__QN=qx.lang.Function.listener(this.__Rg,this);qx.bom.Event.addNativeListener(this._document,d,this.__QI);qx.bom.Event.addNativeListener(this._document,z,this.__QJ);qx.bom.Event.addNativeListener(this._document,w,this.__QO);qx.bom.Event.addNativeListener(this._document,B,this.__QP);qx.bom.Event.addNativeListener(this._document,a,this.__QN);},"webkit":qx.core.Environment.select(k,{"edge":function(bg){this.__QI=qx.lang.Function.listener(this.__Rd,this);this.__QJ=qx.lang.Function.listener(this.__Re,this);this.__QP=qx.lang.Function.listener(this.__Ra,this);this.__QK=qx.lang.Function.listener(this.__Rc,this);this.__QL=qx.lang.Function.listener(this.__Rb,this);this.__QN=qx.lang.Function.listener(this.__Rg,this);qx.bom.Event.addNativeListener(this._document,d,this.__QI,true);qx.bom.Event.addNativeListener(this._document,z,this.__QJ,true);qx.bom.Event.addNativeListener(this._document,a,this.__QN,false);qx.bom.Event.addNativeListener(this._document,w,this.__QO);qx.bom.Event.addNativeListener(this._document,B,this.__QP);},"default":function(bh){this.__QI=qx.lang.Function.listener(this.__Rd,this);this.__QJ=qx.lang.Function.listener(this.__Re,this);this.__QP=qx.lang.Function.listener(this.__Ra,this);this.__QK=qx.lang.Function.listener(this.__Rc,this);this.__QL=qx.lang.Function.listener(this.__Rb,this);this.__QN=qx.lang.Function.listener(this.__Rg,this);qx.bom.Event.addNativeListener(this._document,d,this.__QI,true);qx.bom.Event.addNativeListener(this._document,z,this.__QJ,true);qx.bom.Event.addNativeListener(this._document,a,this.__QN,false);qx.bom.Event.addNativeListener(this._window,A,this.__QP,true);qx.bom.Event.addNativeListener(this._window,e,this.__QK,true);qx.bom.Event.addNativeListener(this._window,c,this.__QL,true);}}),"opera":function(){this.__QI=qx.lang.Function.listener(this.__Rd,this);this.__QJ=qx.lang.Function.listener(this.__Re,this);this.__QO=qx.lang.Function.listener(this.__QY,this);this.__QP=qx.lang.Function.listener(this.__Ra,this);qx.bom.Event.addNativeListener(this._document,d,this.__QI,true);qx.bom.Event.addNativeListener(this._document,z,this.__QJ,true);qx.bom.Event.addNativeListener(this._window,i,this.__QO,true);qx.bom.Event.addNativeListener(this._window,A,this.__QP,true);}}),_stopObserver:qx.core.Environment.select(y,{"gecko":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__QI,true);qx.bom.Event.removeNativeListener(this._document,z,this.__QJ,true);qx.bom.Event.removeNativeListener(this._window,e,this.__QK,true);qx.bom.Event.removeNativeListener(this._window,c,this.__QL,true);qx.bom.Event.removeNativeListener(this._window,D,this.__QM,true);},"mshtml":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__QI);qx.bom.Event.removeNativeListener(this._document,z,this.__QJ);qx.bom.Event.removeNativeListener(this._document,w,this.__QO);qx.bom.Event.removeNativeListener(this._document,B,this.__QP);qx.bom.Event.removeNativeListener(this._document,a,this.__QN);},"webkit":qx.core.Environment.select(k,{"edge":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__QI);qx.bom.Event.removeNativeListener(this._document,z,this.__QJ);qx.bom.Event.removeNativeListener(this._document,w,this.__QO);qx.bom.Event.removeNativeListener(this._document,B,this.__QP);qx.bom.Event.removeNativeListener(this._document,a,this.__QN);},"default":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__QI,true);qx.bom.Event.removeNativeListener(this._document,z,this.__QJ,true);qx.bom.Event.removeNativeListener(this._document,a,this.__QN,false);qx.bom.Event.removeNativeListener(this._window,A,this.__QP,true);qx.bom.Event.removeNativeListener(this._window,e,this.__QK,true);qx.bom.Event.removeNativeListener(this._window,c,this.__QL,true);}}),"opera":function(){qx.bom.Event.removeNativeListener(this._document,d,this.__QI,true);qx.bom.Event.removeNativeListener(this._document,z,this.__QJ,true);qx.bom.Event.removeNativeListener(this._window,i,this.__QO,true);qx.bom.Event.removeNativeListener(this._window,A,this.__QP,true);}}),__QX:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"gecko":function(bi){var bj=qx.bom.Event.getTarget(bi);if(!this.__Rk(bj)){qx.bom.Event.preventDefault(bi);};},"default":null})),__QY:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"mshtml":function(bl){this.__QW();var bm=qx.bom.Event.getTarget(bl);var bk=this.__Ri(bm);if(bk){this.setFocus(bk);};this.tryActivate(bm);},"webkit":qx.core.Environment.select(k,{"edge":function(bo){this.__QW();var bp=qx.bom.Event.getTarget(bo);var bn=this.__Ri(bp);if(bn){this.setFocus(bn);};this.tryActivate(bp);},"default":null}),"opera":function(bq){var br=qx.bom.Event.getTarget(bq);if(br==this._document||br==this._window){this.__QW();if(this.__QQ){this.setFocus(this.__QQ);delete this.__QQ;};if(this.__QR){this.setActive(this.__QR);delete this.__QR;};}else {this.setFocus(br);this.tryActivate(br);if(!this.__Rk(br)){br.selectionStart=0;br.selectionEnd=0;};};},"default":null})),__Ra:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"mshtml":function(bs){var bt=qx.bom.Event.getRelatedTarget(bs);if(bt==null){this.__QV();this.resetFocus();this.resetActive();};},"webkit":qx.core.Environment.select(k,{"edge":function(bu){var bv=qx.bom.Event.getRelatedTarget(bu);if(bv==null){this.__QV();this.resetFocus();this.resetActive();};},"default":function(bw){var bx=qx.bom.Event.getTarget(bw);if(bx===this.getFocus()){this.resetFocus();};if(bx===this.getActive()){this.resetActive();};}}),"opera":function(by){var bz=qx.bom.Event.getTarget(by);if(bz==this._document){this.__QV();this.__QQ=this.getFocus();this.__QR=this.getActive();this.resetFocus();this.resetActive();}else {if(bz===this.getFocus()){this.resetFocus();};if(bz===this.getActive()){this.resetActive();};};},"default":null})),__Rb:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"gecko":function(bA){var bB=qx.bom.Event.getTarget(bA);if(bB===this._window||bB===this._document){this.__QV();this.resetActive();this.resetFocus();};},"webkit":function(bC){var bD=qx.bom.Event.getTarget(bC);if(bD===this._window||bD===this._document){this.__QV();this.__QQ=this.getFocus();this.__QR=this.getActive();this.resetActive();this.resetFocus();};},"default":null})),__Rc:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"gecko":function(bE){var bF=qx.bom.Event.getTarget(bE);if(bF===this._window||bF===this._document){this.__QW();bF=this._body;};this.setFocus(bF);this.tryActivate(bF);},"webkit":function(bG){var bH=qx.bom.Event.getTarget(bG);if(bH===this._window||bH===this._document){this.__QW();if(this.__QQ){this.setFocus(this.__QQ);delete this.__QQ;};if(this.__QR){this.setActive(this.__QR);delete this.__QR;};}else {this.__QU=bG.relatedTarget;this.setFocus(bH);this.__QU=null;this.tryActivate(bH);};},"default":null})),__Rd:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"mshtml":function(bJ){var bK=qx.bom.Event.getTarget(bJ);var bI=this.__Ri(bK);if(bI){if(!this.__Rk(bK)){bK.unselectable=u;try{document.selection.empty();}catch(bL){};try{bI.focus();}catch(bM){};};}else {qx.bom.Event.preventDefault(bJ);if(!this.__Rk(bK)){bK.unselectable=u;};};},"webkit":function(bO){var bP=qx.bom.Event.getTarget(bO);var bN=this.__Ri(bP);if(bN){this.setFocus(bN);}else {qx.bom.Event.preventDefault(bO);};},"gecko":function(bR){var bS=qx.bom.Event.getTarget(bR);var bQ=this.__Ri(bS);if(bQ){this.setFocus(bQ);}else {qx.bom.Event.preventDefault(bR);};},"opera":function(bV){var bW=qx.bom.Event.getTarget(bV);var bT=this.__Ri(bW);if(!this.__Rk(bW)){qx.bom.Event.preventDefault(bV);if(bT){var bU=this.getFocus();if(bU&&bU.selectionEnd){bU.selectionStart=0;bU.selectionEnd=0;bU.blur();};if(bT){this.setFocus(bT);};};}else if(bT){this.setFocus(bT);};},"default":null})),__Re:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"mshtml":function(bX){var bY=qx.bom.Event.getTarget(bX);if(bY.unselectable){bY.unselectable=t;};this.tryActivate(this.__Rf(bY));},"gecko":function(ca){var cb=qx.bom.Event.getTarget(ca);while(cb&&cb.offsetWidth===undefined){cb=cb.parentNode;};if(cb){this.tryActivate(cb);};},"webkit":function(cc){var cd=qx.bom.Event.getTarget(cc);this.tryActivate(this.__Rf(cd));},"opera":function(ce){var cf=qx.bom.Event.getTarget(ce);this.tryActivate(this.__Rf(cf));},"default":null})),__Rf:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"mshtml":function(cg){var ch=this.getFocus();if(ch&&cg!=ch&&(ch.nodeName.toLowerCase()===o||ch.nodeName.toLowerCase()===l)){cg=ch;};return cg;},"webkit":function(ci){var cj=this.getFocus();if(cj&&ci!=cj&&(cj.nodeName.toLowerCase()===o||cj.nodeName.toLowerCase()===l)){ci=cj;};return ci;},"default":function(ck){return ck;}})),__Rg:qx.event.GlobalError.observeMethod(qx.core.Environment.select(y,{"mshtml":function(cl){var cm=qx.bom.Event.getTarget(cl);if(!this.__Rk(cm)){qx.bom.Event.preventDefault(cl);};},"webkit":function(cn){var co=qx.bom.Event.getTarget(cn);if(!this.__Rk(co)){qx.bom.Event.preventDefault(cn);};},"default":null})),__Rh:function(cp){var cq=qx.bom.element.Attribute.get(cp,s);if(cq>=1){return true;};var cr=qx.event.handler.Focus.FOCUSABLE_ELEMENTS;if(cq>=0&&cr[cp.tagName]){return true;};return false;},__Ri:function(cs){while(cs&&cs.nodeType===1){if(cs.getAttribute(C)==u){return null;};if(this.__Rh(cs)){return cs;};cs=cs.parentNode;};return this._body;},__Rj:function(ct){var cu=ct;while(ct&&ct.nodeType===1){if(ct.getAttribute(E)==u){return null;};ct=ct.parentNode;};return cu;},__Rk:function(cv){while(cv&&cv.nodeType===1){var cw=cv.getAttribute(r);if(cw!=null){return cw===u;};cv=cv.parentNode;};return true;},_applyActive:function(cy,cx){if(cx){this.__Qu(cx,cy,j,true);};if(cy){this.__Qu(cy,cx,v,true);};if(this.__QH){window.scrollTo(0,0);};},_applyFocus:function(cA,cz){if(cz){this.__Qu(cz,cA,B,true);};if(cA){this.__Qu(cA,cz,w,true);};if(cz){this.__Qu(cz,cA,c,false);};if(cA){this.__Qu(cA,cz||this.__QU,e,false);};}},destruct:function(){this._stopObserver();this._manager=this._window=this._document=this._root=this._body=this.__Rl=this.__QU=null;},defer:function(cC){qx.event.Registration.addHandler(cC);var cD=cC.FOCUSABLE_ELEMENTS;for(var cB in cD){cD[cB.toUpperCase()]=1;};}});})();(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.__Rw(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.__Rw(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.__Rw(x)){return x.selectionEnd-x.selectionStart;}else {return this.get(x).length;};}}),getStart:qx.core.Environment.select(m,{"selection":function(D){if(this.__Rw(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.__Rw(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.__Rw(bb)){return bb.selectionEnd;}else {return qx.bom.Selection.getSelectionObject(qx.dom.Node.getDocument(bb)).focusOffset;};}}),__Rw: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.__Rx=F;this.__Ol=G;this._initTouchObserver();this.__Ry=[];this.__Rz={};},members:{__Rx:null,__Ol:null,__RA:null,__RB:null,__Rz:null,__RC:null,__RD:null,__RE:null,__Ry:null,__RF:null,_initTouchObserver:function(){this.__RA=qx.lang.Function.listener(this._onTouchEvent,this);this.__RF=[E,a,n,t];if(qx.core.Environment.get(h)){var H=parseInt(qx.core.Environment.get(e),10);if(H==10){this.__RF=[c,u,p,j];}else {this.__RF=[o,A,m,f];};};for(var i=0;i1){this.__RD=this._getScalingDistance(V.touches[0],V.touches[1]);this.__RE=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.__RD;};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.__RE;};V.delta=this._calcTouchesDelta(V.targetTouches);};this._fireEvent(V,ba,this.__RB);if(qx.core.Environment.get(h)){if(ba==n||ba==t){delete this.__Ry[V.pointerId];};};if((ba==n||ba==t)&&V.changedTouches[0]){delete this.__Rz[V.changedTouches[0].identifier];};},_detectTouchesByPointer:function(bd,bf){var bc=[];if(bf==E){this.__Ry[bd.pointerId]=bd;}else if(bf==a){this.__Ry[bd.pointerId]=bd;};for(var be in this.__Ry){var bb=this.__Ry[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.__RG(bi);if(bh){bj=bh;};};return bj;},__RG: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.__RM(g).pageX;},getDocumentTop:function(h){return this.__RM(h).pageY;},getScreenLeft:function(j){return this.__RM(j).screenX;},getScreenTop:function(k){return this.__RM(k).screenY;},getViewportLeft:function(l){return this.__RM(l).clientX;},getViewportTop:function(m){return this.__RM(m).clientY;},getIdentifier:function(n){return this.__RM(n).identifier;},__RM:function(o){o=o==null?0:o;return this.__RN()[o];},__RN: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:{__RO:false,__RP:null,__RQ:null,__RR: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.__RS){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.__RS=true;};}else {if(G===m){this.__RT(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);};};};};},__RT: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.__RS){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.__RS;}catch(R){Q.__RS=null;};};}else {if(P===m){this.__RU(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);};};};},__RU: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.__RQ){this.__RQ=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.__RQ){this.__RQ=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.__RR){this.__RR=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.__RO=true;};},"default":null}),_onKeyUp:qx.core.Environment.select(v,{"opera":function(e){if(e.keyCode===13){this.__RO=false;};},"default":null}),_onInput:qx.event.GlobalError.observeMethod(function(e){var bc=qx.bom.Event.getTarget(e);var bb=bc.tagName.toLowerCase();if(!this.__RO||bb!==m){if((qx.core.Environment.get(v)==s)&&qx.core.Environment.get(r)<10.6){this.__RP=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.__RV=this.__LJ=this.__LL=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:{__Sd:false,__OU:false,__Se:{},__Sf:0,MAX_RETRIES:10,scheduleFlush:function(h){var self=qx.ui.core.queue.Manager;self.__Se[h]=true;if(!self.__Sd){self.__OU=false;qx.bom.AnimationFrame.request(function(){if(self.__OU){self.__OU=false;return;};self.flush();},self);self.__Sd=true;};},flush:function(){var self=qx.ui.core.queue.Manager;if(self.__Sg){return;};self.__Sg=true;self.__OU=true;var i=self.__Se;self.__Sh(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.__Sd=false;});self.__Sh(function(){if(i.dispose){delete i.dispose;{qx.ui.core.queue.Dispose.flush();};};},function(){self.__Sg=false;});self.__Sf=0;},__Sh:function(j,k){var self=qx.ui.core.queue.Manager;try{j();}catch(e){{};self.__Sd=false;self.__Sg=false;self.__Sf+=1;if(self.__Sf<=self.MAX_RETRIES){self.scheduleFlush();}else {throw new Error(g+(self.__Sf-1)+f+b);};throw e;}finally{k();};},__Si: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.__Si:l.flush);}});})();(function(){var a="qx.ui.core.queue.Widget",b="widget",c="$$default";qx.Class.define(a,{statics:{__MT:[],__Se:{},remove:function(e,g){var d=this.__MT;if(!qx.lang.Array.contains(d,e)){return;};var f=e.$$hash;if(g==null){qx.lang.Array.remove(d,e);delete this.__Se[f];return;};if(this.__Se[f]){delete this.__Se[f][g];if(qx.lang.Object.getLength(this.__Se[f])==0){qx.lang.Array.remove(d,e);};};},add:function(j,l){var h=this.__MT;if(!qx.lang.Array.contains(h,j)){h.unshift(j);};if(l==null){l=c;};var k=j.$$hash;if(!this.__Se[k]){this.__Se[k]={};};this.__Se[k][l]=true;qx.ui.core.queue.Manager.scheduleFlush(b);},flush:function(){var m=this.__MT;var n,o;for(var i=m.length-1;i>=0;i-- ){n=m[i];o=this.__Se[n.$$hash];m.splice(i,1);n.syncWidget(o);};if(m.length!=0){return;};this.__MT=[];this.__Se={};}}});})();(function(){var a="qx.ui.core.queue.Visibility",b="visibility";qx.Class.define(a,{statics:{__MT:[],__mR:{},remove:function(c){delete this.__mR[c.$$hash];qx.lang.Array.remove(this.__MT,c);},isVisible:function(d){return this.__mR[d.$$hash]||false;},__Sj:function(f){var h=this.__mR;var g=f.$$hash;var e;if(f.isExcluded()){e=false;}else {var parent=f.$$parent;if(parent){e=this.__Sj(parent);}else {e=f.isRootWidget();};};return h[g]=e;},add:function(k){var j=this.__MT;if(qx.lang.Array.contains(j,k)){return;};j.unshift(k);qx.ui.core.queue.Manager.scheduleFlush(b);},flush:function(){var o=this.__MT;var p=this.__mR;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.__Sj(m);};if(p[n]&&p[n]!=l[n]){m.checkAppearanceNeeds();};};this.__MT=[];}}});})();(function(){var a="appearance",b="qx.ui.core.queue.Appearance";qx.Class.define(b,{statics:{__MT:[],remove:function(c){qx.lang.Array.remove(this.__MT,c);},add:function(e){var d=this.__MT;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.__MT,f);},flush:function(){var j=qx.ui.core.queue.Visibility;var g=this.__MT;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:{__MT:[],add:function(d){var c=this.__MT;if(qx.lang.Array.contains(c,d)){return;};c.unshift(d);qx.ui.core.queue.Manager.scheduleFlush(a);},isEmpty:function(){return this.__MT.length==0;},flush:function(){var e=this.__MT;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.__MT=[];}}});})();(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="qxanonymous",s="Unsupported control: ",t="dragstart",u="__So",v="Font",w="qx.dynlocale",x="dragchange",y="_applyEnabled",z="_applySelectable",A="Number",B="_applyKeepActive",C="qx.event.type.Pinch",D="dragend",E="__Sp",F="__Sk",G="_applyVisibility",H="Child control '",I="qxDraggable",J="qx.event.type.Roll",K="syncAppearance",L="paddingLeft",M="' of widget ",N="qx.event.type.Mouse",O="_applyPadding",P="#",Q="At least one child in control ",R="visible",S="qx.event.type.Event",T="qx.event.type.MouseWheel",U="_applyCursor",V="changeVisibility",W="_applyDraggable",X="resize",Y="Decorator",cK="Remove Error: ",cL="zIndex",cM="changeTextColor",cG="$$widget",cH="changeContextMenu",cI="on",cJ="paddingTop",cR="opacity",cS="This widget has no children!",cT="changeSelectable",cU="_applyAnonymous",cN="none",cO="outline",cP="hidden",cQ="_applyAppearance",cY="__Sr",dB="hovered",eo="_applyOpacity",da="Boolean",cV="px",cW="qx.ui.core.Widget",ej="longtap",cX="default",db="TabIndex property must be between 1 and 32000",dc="_applyFont",dd="cursor",di="qxDroppable",dj="' already created!",dk="changeZIndex",de=": ",df="Color",dg="changeEnabled",dh="Abstract method call: _getContentHeightForWidth()!",dp="changeFont",dq="qx.event.type.Focus",dr="_applyDecorator",ds="_applyZIndex",dl="_applyTextColor",dm="Widget is not focusable!",ek="qx.ui.menu.Menu",dn="engine.name",dw="qx.event.type.Drag",dx="qx.event.type.KeySequence",en="excluded",dy="DOM element is not yet created!",dt="_applyToolTipText",du="Exception while creating child control '",em="qx.event.type.Rotate",dv="_applyDroppable",dz=" is not a child of this widget!",dA="true",dM="widget",dL="changeDecorator",dK="qx.event.type.Tap",dQ="Integer",dP="_applyTabIndex",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(cW,{extend:qx.ui.core.LayoutItem,include:[qx.locale.MTranslation],construct:function(){qx.ui.core.LayoutItem.call(this);this.__Sk=this.__Sq();this.initFocusable();this.initSelectable();this.initNativeContextMenu();},events:{appear:S,disappear:S,createChildControl:h,resize:h,move:h,syncAppearance:h,mousemove:N,mouseover:N,mouseout:N,mousedown:N,mouseup:N,click:N,dblclick:N,contextmenu:N,beforeContextmenuOpen:h,mousewheel:T,touchstart:ei,touchend:ei,touchmove:ei,touchcancel:ei,tap:dK,longtap:dK,dbltap:dK,swipe:ei,rotate:em,pinch:C,track:dN,roll:J,pointermove:ef,pointerover:ef,pointerout:ef,pointerdown:ef,pointerup:ef,pointercancel:ef,keyup:dx,keydown:dx,keypress:dx,keyinput:m,focus:dq,blur:dq,focusin:dq,focusout:dq,activate:dq,deactivate:dq,capture:S,losecapture:S,drop:dw,dragleave:dw,dragover:dw,drag:dw,dragstart:dw,dragend:dw,dragchange:dw,droprequest:dw},properties:{paddingTop:{check:dQ,init:0,apply:O,themeable:true},paddingRight:{check:dQ,init:0,apply:O,themeable:true},paddingBottom:{check:dQ,init:0,apply:O,themeable:true},paddingLeft:{check:dQ,init:0,apply:O,themeable:true},padding:{group:[cJ,dT,dW,L],mode:dF,themeable:true},zIndex:{nullable:true,init:10,apply:ds,event:dk,check:dQ,themeable:true},decorator:{nullable:true,init:null,apply:dr,event:dL,check:Y,themeable:true},backgroundColor:{nullable:true,check:df,apply:g,event:dS,themeable:true},textColor:{nullable:true,check:df,apply:dl,event:cM,themeable:true,inheritable:true},font:{nullable:true,apply:dc,check:v,event:dp,themeable:true,inheritable:true,dereference:true},opacity:{check:A,apply:eo,themeable:true,nullable:true,init:null},cursor:{check:dD,apply:U,themeable:true,inheritable:true,nullable:true,init:null},toolTip:{check:eb,nullable:true},toolTipText:{check:dD,nullable:true,event:dH,apply:dt},toolTipIcon:{check:dD,nullable:true,event:dH},blockToolTip:{check:da,init:false},showToolTipWhenDisabled:{check:da,init:false},visibility:{check:[R,cP,en],init:R,apply:G,event:V},enabled:{init:true,check:da,inheritable:true,apply:y,event:dg},anonymous:{init:false,check:da,apply:cU},tabIndex:{check:dQ,nullable:true,apply:dP},focusable:{check:da,init:false,apply:j},keepFocus:{check:da,init:false,apply:dY},keepActive:{check:da,init:false,apply:B},draggable:{check:da,init:false,apply:W},droppable:{check:da,init:false,apply:dv},selectable:{check:da,init:false,event:cT,apply:z},contextMenu:{check:ek,apply:dI,nullable:true,event:cH},nativeContextMenu:{check:da,init:false,themeable:true,event:dU,apply:c},appearance:{check:dD,init:dM,apply:cQ,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;},__Sl:new qx.util.ObjectPool()},members:{__Sk:null,__Sm:null,__Sn:null,__So:null,_getLayout:function(){return this.__So;},_setLayout:function(eu){{};if(this.__So){this.__So.connectToWidget(null);};if(eu){eu.connectToWidget(this);};this.__So=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=cV;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.__So&&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.__So.renderLayout(innerWidth,innerHeight,ex);}else if(this.hasLayoutChildren()){throw new Error(Q+this._findTopControl()+k);};};if(eC.position&&this.hasListener(p)){this.fireDataEvent(p,this.getBounds());};if(eC.size&&this.hasListener(X)){this.fireDataEvent(X,this.getBounds());};delete this._updateInsets;return eC;},__Sp:null,clearSeparators:function(){var eH=this.__Sp;if(!eH){return;};var eI=qx.ui.core.Widget.__Sl;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;},__Sq:function(){var fx=this._createContentElement();fx.setAttribute(cG,this.toHashCode());{};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:cP,overflowY:cP});},getContentElement:function(){return this.__Sk;},__Sr:null,getLayoutChildren:function(){var fz=this.__Sr;if(!fz){return this.__Ss;};var fA;for(var i=0,l=fz.length;i=0;i-- ){this.__Su(ga[i]);};qx.ui.core.queue.Layout.add(this);return ga;},_afterAddChild:null,_afterRemoveChild:null,__St: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);};},__Su:function(gd){{};if(gd.getLayoutParent()!==this){throw new Error(cK+gd+dz);};gd.setLayoutParent(null);if(this.__So){this.__So.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.__Sv(name,gj);},__Sv: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+cV);},_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.__Sn){return;};var gq=qx.locale.Manager.getInstance();this.__Sn=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(cL,gx==null?0:gx);},_applyVisibility:function(gz,gy){var content=this.getContentElement();if(gz===R){content.show();}else {content.hide();};var parent=this.$$parent;if(parent&&(gy==null||gz==null||gy===en||gz===en)){parent.invalidateLayoutChildren();};qx.ui.core.queue.Visibility.add(this);},_applyOpacity:function(gB,gA){this.getContentElement().setStyle(cR,gB==1?null:gB);},_applyCursor:function(gD,gC){if(gD==null&&!this.isSelectable()){gD=cX;};this.getContentElement().setStyle(dd,gD,qx.core.Environment.get(dn)==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);};},__Sw:null,$$stateChanges:null,_forwardStates:null,hasState:function(gM){var gL=this.__Sw;return !!gL&&!!gL[gM];},addState:function(gQ){var gP=this.__Sw;if(!gP){gP=this.__Sw={};};if(gP[gQ]){return;};this.__Sw[gQ]=true;if(gQ===dB){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.__Sz;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.__Sw;if(!gU||!gU[gV]){return;};delete this.__Sw[gV];if(gV===dB){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.__Sz;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.__Sw;if(!hb){hb=this.__Sw={};};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.__Sz;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);};};};},__Sx:null,__Sy:null,syncAppearance:function(){var hi=this.__Sw;var hh=this.__Sx;var hj=qx.theme.manager.Appearance.getInstance();var hf=qx.core.Property.$$method.setThemed;var hn=qx.core.Property.$$method.resetThemed;if(this.__Sy){delete this.__Sy;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.__Sx=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(K,this.__Sw);},_applyAppearance:function(hp,ho){this.updateAppearance();},checkAppearanceNeeds:function(){if(!this.__Sm){qx.ui.core.queue.Appearance.add(this);this.__Sm=true;}else if(this.$$stateChanges){qx.ui.core.queue.Appearance.add(this);delete this.$$stateChanges;};},updateAppearance:function(){this.__Sy=true;qx.ui.core.queue.Appearance.add(this);var hs=this.__Sz;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(cO,cN);}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?cI:null);},_applyKeepActive:function(hD){var hC=this.getContentElement();hC.setAttribute(eh,hD?cI:null);},_applyTabIndex:function(hE){if(hE==null){hE=1;}else if(hE<1||hE>32000){throw new Error(db);};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(dB);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(ej,this._onContextMenuOpen);hL.removeListener(V,this._onBeforeContextMenuOpen,this);};};if(hM){hM.setOpener(this);hM.addState(ea);if(!hL){this.addListener(ea,this._onContextMenuOpen);this.addListener(ej,this._onContextMenuOpen);hM.addListener(V,this._onBeforeContextMenuOpen,this);};};},_onContextMenuOpen:function(e){if(e.getType()==ej){if(e.getPointerType()!==d){return;};};this.getContextMenu().openAtPointer(e);e.stop();},_onBeforeContextMenuOpen:function(e){if(e.getData()==R&&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(t,this._onDragStart);this.addListener(b,this._onDrag);this.addListener(D,this._onDragEnd);this.addListener(x,this._onDragChange);}else {this.removeListener(t,this._onDragStart);this.removeListener(b,this._onDrag);this.removeListener(D,this._onDragEnd);this.removeListener(x,this._onDragChange);};this.getContentElement().setAttribute(I,hO?cI:null);},_applyDroppable:function(hQ,hP){if(!this.isEnabled()&&hQ===true){hQ=false;};this.getContentElement().setAttribute(di,hQ?cI:null);},_onDragStart:function(e){this._getDragDropCursor().placeToPointer(e);this.getApplicationRoot().setGlobalCursor(cX);},_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(dm);};},blur:function(){if(this.isFocusable()){this.getFocusElement().blur();}else {throw new Error(dm);};},activate:function(){this.getContentElement().activate();},deactivate:function(){this.getContentElement().deactivate();},tabFocus:function(){this.getFocusElement().focus();},hasChildControl:function(ii){if(!this.__Sz){return false;};return !!this.__Sz[ii];},__Sz:null,_getCreatedChildControls:function(){return this.__Sz;},getChildControl:function(il,ik){if(!this.__Sz){if(ik){return null;};this.__Sz={};};var ij=this.__Sz[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(s+iw);};delete it.$$subcontrol;delete it.$$subparent;var iu=this.__Sw;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.__Sz[iw];return it;},_createChildControl:function(iB){if(!this.__Sz){this.__Sz={};}else if(this.__Sz[iB]){throw new Error(H+iB+dj);};var iy=iB.indexOf(P);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=du+iB+M+this.toString()+de+iC.message;throw iC;};if(!ix){throw new Error(s+iB);};ix.$$subcontrol=iB;ix.$$subparent=this;var iz=this.__Sw;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.__Sz[iB]=ix;},_createChildControlImpl:function(iE,iD){return null;},_disposeChildControls:function(){var iI=this.__Sz;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.__Sz;},_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+cV;}else {throw new Error(dy);};},setDomTop:function(iP){var iO=this.getContentElement().getDomElement();if(iO){iO.style.top=iP+cV;}else {throw new Error(dy);};},setDomPosition:function(iR,top){var iQ=this.getContentElement().getDomElement();if(iQ){iQ.style.left=iR+cV;iQ.style.top=top+cV;}else {throw new Error(dy);};},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.__SJ){return;};if(!this.__Qu(h,this.__SD,this.__SC,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.__SR(bv);if(bw&&bw!=this.__SC){if(this.__SC){this.__Qu(F,this.__SC,this.__SD,false,e);};this.__SK=true;this.__SC=bw;this.__SK=this.__Qu(H,bw,this.__SD,true,e);}else if(!bw&&this.__SC){this.__Qu(F,this.__SC,this.__SD,false,e);this.__SC=null;this.__SK=false;qx.event.Timer.once(this.__SP,this,0);};};var bz=this.__SG;bz.Control=e.isCtrlPressed();bz.Shift=e.isShiftPressed();bz.Alt=e.isAltPressed();this.__SP();},_getDelta:function(e){if(!this.__SN){return null;};var bB=e.getDocumentLeft()-this.__SN.left;var bC=e.getDocumentTop()-this.__SN.top;return {"x":bB,"y":bC};},_onPointerup:function(e){if(!e.isPrimary()){return;};if(this.__SK&&this.__SL){this.__Qu(l,this.__SC,this.__SD,false,e);};if(e.getTarget()==this.__SD){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.__SG[bD]){this.__SG[bD]=true;this.__SP();};};},_onKeyUp:function(e){var bE=e.getKeyIdentifier();switch(bE){case C:case q:case r:if(this.__SG[bE]){this.__SG[bE]=false;this.__SP();};};},_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.__SD=this.__SC=this.__Pd=this.__Po=this.__SE=this.__SF=this.__SG=this.__Jo=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:{__Pq:null,__SS:J,setVisibleElement:function(K){this.__Pq=K;},getVisibleElement:function(){return this.__Pq;},setMoveDirection:function(L){if(L===A||L===J){this.__SS=L;}else {throw new Error(v+n+L+e+D);};},getMoveDirection:function(){return this.__SS;}},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:{__ST:null,__SU:null,__SV: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="__Th",s="top",t="0 0",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.__Th={};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:{__Ti:null,__Tj:null,__RK:null,__Th:null,__Tk:null,__Tl:null,__Tm:0,_onChangeTheme:function(){qx.ui.core.Widget.prototype._onChangeTheme.call(this);this._styleSource();},getContentElement:function(){return this.__Tq();},_createContentElement:function(){return this.__Tq();},_getContentHint:function(){return {width:this.__Ti||0,height:this.__Tj||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.__Tl){bp=bp.getChild(0);};this.__Ty(bp,bs);},_applyPadding:function(bu,bt,name){qx.ui.core.Widget.prototype._applyPadding.call(this,bu,bt,name);var bv=this.getContentElement();if(this.__Tl){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.__Tl){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();},__Tn:function(bF){this.__RK=bF;},__To:function(){if(this.__RK==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.__RK=bi;}else if(this.getScale()){this.__RK=P;}else {this.__RK=o;};};return this.__RK;},__Tp: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.__Tl=new qx.html.Element(l);bL.setAttribute(L,this.toHashCode());bL.setStyle(X,bk);bL.add(bM);return bL;};return bM;},__Tq:function(){if(this.$$disposed){return null;};var bN=this.__To();if(this.__Th[bN]==null){this.__Th[bN]=this.__Tp(bN);};var bO=this.__Th[bN];if(!this.__Tk){this.__Tk=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.__Tl){bU=bU.getChild(0);};if(!bV){bU.resetSource();return;};this.__Tt(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.__Ts();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.__Tk.setStyle(n,bP);this.setSource(bW);bV=bW;};this.__Tv(bR,bV);this.__Tr();}else if(qx.io.ImageLoader.isLoaded(bV)){this.__Tw(bR,bV);this.__Tr();}else {this.__Tx(bR,bV);};},__Tr:function(){this.__Tm++ ;qx.bom.AnimationFrame.request(function(ca){if(ca===this.__Tm){this.fireEvent(v);}else {this.fireEvent(m);};}.bind(this,this.__Tm));},__Ts:function(){var cb=this.__Tk;if(this.__Tl){cb=cb.getChild(0);};return cb;},__Tt: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.__To()!=bi){this.__Tn(bi);}else if(!this.getScale()&&this.__To()!=o){this.__Tn(o);};}else {if(this.getScale()&&this.__To()!=P){this.__Tn(P);}else if(!this.getScale()&&this.__To()!=o){this.__Tn(o);};};this.__Tu(this.__Tq());},"default":function(cf){if(this.getScale()&&this.__To()!=P){this.__Tn(P);}else if(!this.getScale()&&this.__To(o)){this.__Tn(o);};this.__Tu(this.__Tq());}}),__Tu:function(cj){var ci=this.__Tk;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(s)||cp.top)+cu;cg.zIndex=10;var cm=this.__Tl?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.__Ts();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.__Tk=cj;};};},__Tv: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.__Ty(cx,cz);this.__TA(cy.getImageWidth(cz),cy.getImageHeight(cz));},__Tw:function(cA,cE){var cC=qx.io.ImageLoader;this.__Ty(cA,cE);var cD=cC.getWidth(cE);var cB=cC.getHeight(cE);this.__TA(cD,cB);},__Tx:function(cF,cI){var cJ=qx.io.ImageLoader;{var cH,cG,self;};if(!cJ.isFailed(cI)){cJ.load(cI,this.__Tz,this);}else {if(cF!=null){cF.resetSource();};};},__Ty: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||t),"backgroundRepeat":(cM.style.backgroundRepeat||bm)};if(cN){cQ[H]+=bj+cR[bn]||t;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;},__Tz: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.__Tw(this.__Ts(),dd);},__TA:function(df,dg){if(df!==this.__Ti||dg!==this.__Tj){this.__Ti=df;this.__Tj=dg;qx.ui.core.queue.Layout.add(this);};}},destruct:function(){for(var dh in this.__Th){if(this.__Th.hasOwnProperty(dh)){this.__Th[dh].setAttribute(L,null,true);};};delete this.__Tk;if(this.__Tl){delete this.__Tl;};this._disposeMap(r);}});})();(function(){var a="mshtml",b='img',c="",d="qx.globalErrorHandling",e="load",f="qx.io.ImageLoader";qx.Bootstrap.define(f,{statics:{__mR:{},__TB:{width:null,height:null},__TC:/\.(png|gif|jpg|jpeg|bmp)\b/i,__TD:/^data:image\/(png|gif|jpg|jpeg|bmp)\b/i,isLoaded:function(g){var h=this.__mR[g];return !!(h&&h.loaded);},isFailed:function(j){var k=this.__mR[j];return !!(k&&k.failed);},isLoading:function(m){var n=this.__mR[m];return !!(n&&n.loading);},getFormat:function(r){var q=this.__mR[r];if(!q||!q.format){var o=this.__TD.exec(r);if(o!=null){var p=(q&&qx.lang.Type.isNumber(q.width)?q.width:this.__TB.width);var s=(q&&qx.lang.Type.isNumber(q.height)?q.height:this.__TB.height);q={loaded:true,format:o[1],width:p,height:s};};};return q?q.format:null;},getSize:function(t){var u=this.__mR[t];return u?{width:u.width,height:u.height}:this.__TB;},getWidth:function(v){var w=this.__mR[v];return w?w.width:null;},getHeight:function(x){var y=this.__mR[x];return y?y.height:null;},load:function(B,A,C){var D=this.__mR[B];if(!D){D=this.__mR[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.__TE,this,z,B);z.onload=E;z.onerror=E;z.src=B;D.element=z;};},abort:function(F){var I=this.__mR[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;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.__Uo();};var bl=qx.ui.layout.Util;var X=this.__PA;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.__Ul=this.__Um=this.__PA=null;}});})();(function(){var a="middle",b="qx.ui.layout.Util",c="left",d="center",e="top",f="bottom",g="right";qx.Class.define(b,{statics:{PERCENT_VALUE:/[0-9]+(?:\.[0-9]+)?%/,computeFlexOffsets:function(j,n,h){var r,q,s,k;var m=n>h;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="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 x,r;var G,L;var C=this.getGap();var J=this.getCenter();var M=[d,m,c,j];if(M.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];L=G.getSizeHint();x=Math.min(L.maxWidth,Math.max(E,L.minWidth));r=L.height;N=z.computeHorizontalAlignOffset(g,x,E)+D.left;G.renderLayout(N,u,x,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];x=G.getSizeHint().width;if(x>0){if(!p&&G instanceof qx.ui.basic.Label){p=G;}else {w-=x;};I++ ;};};if(I>1){var H=(I-1)*C;w-=H;};if(p){var L=p.getSizeHint();var B=Math.max(L.minWidth,Math.min(w,L.maxWidth));w-=B;};if(J&&w>0){N+=Math.round(w/2);};for(var i=A;i!=v;i+=s){G=t[i];L=G.getSizeHint();r=Math.min(L.maxHeight,Math.max(y,L.minHeight));if(G===p){x=B;}else {x=L.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,L.height,y);G.renderLayout(N,u,x,r);if(x>0){N+=x+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="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:{__Up:null,__Uq:null,__Ur:null,__Us:null,_getContentHint:function(){if(this.__Uq){this.__Ut=this.__Uu();delete this.__Uq;};return {width:this.__Ut.width,height:this.__Ut.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.__Uu(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);};},__Ut:{width:0,height:0},_applyFont:function(Y,X){if(X&&this.__Up&&this.__Us){this.__Up.removeListenerById(this.__Us);this.__Us=null;};var W;if(Y){this.__Up=qx.theme.manager.Font.getInstance().resolve(Y);if(this.__Up instanceof qx.bom.webfonts.WebFont){this.__Us=this.__Up.addListener(h,this._onWebFontStatusChange,this);};W=this.__Up.getStyles();}else {this.__Up=null;W=qx.bom.Font.getDefaultStyles();};if(this.getTextColor()!=null){delete W[m];};this.getContentElement().setStyles(W);this.__Uq=true;qx.ui.core.queue.Layout.add(this);},__Uu:function(bc){var bb=qx.bom.Label;var be=this.getFont();var ba=be?this.__Up.getStyles():qx.bom.Font.getDefaultStyles();var content=this.getValue()||O;var bd=this.getRich();if(this.__Us){this.__Uv();};return bd?bb.getHtmlSize(content,ba,bc):bb.getTextSize(content,ba);},__Uv: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.__Ur);this.__Ur=null;};if(bh!=null){bh.bind(u,this,u);this.__Ur=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.__Uq=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.__Uq=true;qx.ui.core.queue.Layout.add(this);}.bind(this),0);};this.__Uq=true;qx.ui.core.queue.Layout.add(this);};},_applyValue:function(bo,bn){this.getContentElement().setValue(bo);this.__Uq=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.__Up&&this.__Us){this.__Up.removeListenerById(this.__Us);};this.__Up=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:{__Uw: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.__Uw;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.__Uw==j){return this;};this.__Uw=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:{__Ux:{fontFamily:1,fontSize:1,fontWeight:1,fontStyle:1,lineHeight:1},__Uy:function(){var z=this.__UA(false);document.body.insertBefore(z,document.body.firstChild);return this._textElement=z;},__Uz:function(){var A=this.__UA(true);document.body.insertBefore(A,document.body.firstChild);return this._htmlElement=A;},__UA: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.__Ux){C[F]=t;};B.appendChild(E);};};return B;},__UB: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.__Ux){M.style[N]=t;};M.setAttribute(e,g);I.appendChild(M);}else {qx.bom.element.Style.setStyles(I,this.__UB(L));};if(content){this.setValue(I,content);};return I;},__UC:null,setSanitizer:function(O){{};qx.bom.Label.__UC=O;},setValue:function(Q,P){P=P||q;if(Q.useHtml){if(qx.bom.Label.__UC&&typeof (qx.bom.Label.__UC)===b){P=qx.bom.Label.__UC(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.__Uz();U.style.width=T!=undefined?T+c:j;U.innerHTML=content;return this.__UD(U,S);},getTextSize:function(W,V){var X=this._textElement||this.__Uy();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.__UD(X,V);},__UD:function(bd,Y){var ba=this.__Ux;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="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="qx.application.Standalone";qx.Class.define(a,{extend:qx.application.AbstractGui,members:{_createRootWidget:function(){return new qx.ui.root.Application(document);}}});})();(function(){var a="_applyActiveWindow",b="__YB",c="changeModal",d="windowAdded",f="changeVisibility",g="windowRemoved",h="qx.ui.window.Window",i="__Pd",j="changeActive",k="qx.ui.window.MDesktop",l="changeActiveWindow",m="qx.event.type.Data";qx.Mixin.define(k,{properties:{activeWindow:{check:h,apply:a,event:l,init:null,nullable:true}},events:{windowAdded:m,windowRemoved:m},members:{__YB:null,__Pd:null,getWindowManager:function(){if(!this.__Pd){this.setWindowManager(new qx.ui.window.Window.DEFAULT_MANAGER_CLASS());};return this.__Pd;},supportsMaximize:function(){return true;},setWindowManager:function(n){if(this.__Pd){this.__Pd.setDesktop(null);};n.setDesktop(this);this.__Pd=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(h)&&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(h)&&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(g,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.__YB){this.__YB=[];};return this.__YB;}},destruct:function(){this._disposeArray(b);this._disposeObjects(i);}});})();(function(){var a="__YC",b="_applyBlockerColor",c="Number",d="qx.ui.core.MBlocker",e="_applyBlockerOpacity",f="Color";qx.Mixin.define(d,{properties:{blockerColor:{check:f,init:null,nullable:true,apply:b,themeable:true},blockerOpacity:{check:c,init:1,apply:e,themeable:true}},members:{__YC: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.__YC&&this.__YC.isBlocked();},unblock:function(){if(this.__YC){this.__YC.unblock();};},forceUnblock:function(){if(this.__YC){this.__YC.forceUnblock();};},blockContent:function(k){this.getBlocker().blockContent(k);},getBlocker:function(){if(!this.__YC){this.__YC=this._createBlocker();};return this.__YC;}},destruct:function(){this._disposeObjects(a);}});})();(function(){var a="qx.dyntheme",b="backgroundColor",c="_applyOpacity",d="Boolean",f="px",g="keydown",h="deactivate",j="changeTheme",k="opacity",l="Tab",m="qx.event.type.Event",n="move",o="Color",p="resize",q="zIndex",r="appear",s="qx.ui.root.Abstract",t="keyup",u="keypress",v="__YC",w="Number",x="unblocked",y="qx.ui.core.Blocker",z="disappear",A="__Mj",B="blocked",C="_applyColor";qx.Class.define(y,{extend:qx.core.Object,events:{blocked:m,unblocked:m},construct:function(D){qx.core.Object.call(this);this._widget=D;D.addListener(p,this.__bat,this);D.addListener(n,this.__bat,this);D.addListener(z,this.__bav,this);if(qx.Class.isDefined(s)&&D instanceof qx.ui.root.Abstract){this._isRoot=true;this.setKeepBlockerActive(true);};if(qx.core.Environment.get(a)){qx.theme.manager.Meta.getInstance().addListener(j,this._onChangeTheme,this);};this.__bap=[];this.__baq=[];},properties:{color:{check:o,init:null,nullable:true,apply:C,themeable:true},opacity:{check:w,init:1,apply:c,themeable:true},keepBlockerActive:{check:d,init:false}},members:{__YC:null,__bar:0,__bap:null,__baq:null,__Mj:null,_widget:null,_isRoot:false,__bas:null,__bat:function(e){var E=e.getData();if(this.isBlocked()){this._updateBlockerBounds(E);};},__bau:function(){this._updateBlockerBounds(this._widget.getBounds());if(this._widget.isRootWidget()){this._widget.getContentElement().add(this.getBlockerElement());}else {this._widget.getLayoutParent().getContentElement().add(this.getBlockerElement());};},__bav:function(){if(this.isBlocked()){this.getBlockerElement().getParent().remove(this.getBlockerElement());this._widget.addListenerOnce(r,this.__bau,this);};},_updateBlockerBounds:function(F){this.getBlockerElement().setStyles({width:F.width+f,height:F.height+f,left:F.left+f,top:F.top+f});},_applyColor:function(I,H){var G=qx.theme.manager.Color.getInstance().resolve(I);this.__baw(b,G);},_applyOpacity:function(K,J){this.__baw(k,K);},_onChangeTheme:qx.core.Environment.select(a,{"true":function(){this._applyColor(this.getColor());},"false":null}),__baw:function(M,N){var L=[];this.__YC&&L.push(this.__YC);for(var i=0;i0){Q=this.__baq.pop();if(Q&&!Q.isDisposed()&&Q.isFocusable()){Q.focus();};};var R=this.__bap.length;if(R>0){Q=this.__bap.pop();if(Q&&!Q.isDisposed()){Q.activate();};};},__bax:function(){return new qx.html.Blocker(this.getColor(),this.getOpacity());},getBlockerElement:function(S){if(!this.__YC){this.__YC=this.__bax();this.__YC.setStyle(q,15);if(!S){if(this._isRoot){S=this._widget;}else {S=this._widget.getLayoutParent();};};S.getContentElement().add(this.__YC);this.__YC.exclude();};return this.__YC;},block:function(){this._block();},_block:function(T,V){if(!this._isRoot&&!this._widget.getLayoutParent()){this.__bas=this._widget.addListenerOnce(r,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(q,T);};this.__bar++ ;if(this.__bar<2){this._backupActiveWidget();var W=this._widget.getBounds();if(W){this._updateBlockerBounds(W);};U.include();if(!V){U.activate();};U.addListener(h,this.__baA,this);U.addListener(u,this.__baz,this);U.addListener(g,this.__baz,this);U.addListener(t,this.__baz,this);this.fireEvent(B,qx.event.type.Event);};},isBlocked:function(){return this.__bar>0;},unblock:function(){if(this.__bas){this._widget.removeListenerById(this.__bas);};if(!this.isBlocked()){return;};this.__bar-- ;if(this.__bar<1){this.__bay();this.__bar=0;};},forceUnblock:function(){if(!this.isBlocked()){return;};this.__bar=0;this.__bay();},__bay:function(){this._restoreActiveWidget();var X=this.getBlockerElement();X.removeListener(h,this.__baA,this);X.removeListener(u,this.__baz,this);X.removeListener(g,this.__baz,this);X.removeListener(t,this.__baz,this);X.exclude();this.fireEvent(x,qx.event.type.Event);},blockContent:function(Y){this._block(Y,true);},__baz:function(e){if(e.getKeyIdentifier()==l){e.stop();};},__baA: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(p,this.__bat,this);this._widget.removeListener(n,this.__bat,this);this._widget.removeListener(r,this.__bau,this);this._widget.removeListener(z,this.__bav,this);if(this.__bas){this._widget.removeListenerById(this.__bas);};this._disposeObjects(v,A);this.__bap=this.__baq=this._widget=null;}});})();(function(){var a="swipe",b="repeat",c="mousedown",d="url(",f="pointerover",g=")",h="longtap",i="mouseout",j="div",k="roll",l="cursor",m="dblclick",n="mousewheel",o="qx.html.Blocker",p="mousemove",q="dbltap",r="pointerup",s="mouseover",t="appear",u="click",v="pointerdown",w="mshtml",x="engine.name",y="mouseup",z="contextmenu",A="disappear",B="tap",C="pointermove",D="pointerout",E="qx/static/blank.gif",F="absolute";qx.Class.define(o,{extend:qx.html.Element,construct:function(I,G){var I=I?qx.theme.manager.Color.getInstance().resolve(I):null;var H={position:F,opacity:G||0,backgroundColor:I};if((qx.core.Environment.get(x)==w)){H.backgroundImage=d+qx.util.ResourceManager.getInstance().toUri(E)+g;H.backgroundRepeat=b;};qx.html.Element.call(this,j,H);this.addListener(c,this._stopPropagation,this);this.addListener(y,this._stopPropagation,this);this.addListener(u,this._stopPropagation,this);this.addListener(m,this._stopPropagation,this);this.addListener(p,this._stopPropagation,this);this.addListener(s,this._stopPropagation,this);this.addListener(i,this._stopPropagation,this);this.addListener(n,this._stopPropagation,this);this.addListener(k,this._stopPropagation,this);this.addListener(z,this._stopPropagation,this);this.addListener(v,this._stopPropagation,this);this.addListener(r,this._stopPropagation,this);this.addListener(C,this._stopPropagation,this);this.addListener(f,this._stopPropagation,this);this.addListener(D,this._stopPropagation,this);this.addListener(B,this._stopPropagation,this);this.addListener(q,this._stopPropagation,this);this.addListener(a,this._stopPropagation,this);this.addListener(h,this._stopPropagation,this);this.addListener(t,this.__baB,this);this.addListener(A,this.__baB,this);},members:{_stopPropagation:function(e){e.stopPropagation();},__baB:function(){var J=this.getStyle(l);this.setStyle(l,null,true);this.setStyle(l,J,true);}}});})();(function(){var a="changeGlobalCursor",b="engine.name",c="keypress",d="Boolean",f="root",g="help",h="",i="contextmenu",j=" !important",k="input",l="_applyGlobalCursor",m="Space",n="_applyNativeHelp",o=";",p="event.help",q="qx.ui.root.Abstract",r="abstract",s="textarea",t="String",u="*";qx.Class.define(q,{type:r,extend:qx.ui.core.Widget,include:[qx.ui.core.MChildrenHandling,qx.ui.core.MBlocker,qx.ui.window.MDesktop],construct:function(){qx.ui.core.Widget.call(this);qx.ui.core.FocusHandler.getInstance().addRoot(this);qx.ui.core.queue.Visibility.add(this);this.initNativeHelp();this.addListener(c,this.__YE,this);},properties:{appearance:{refine:true,init:f},enabled:{refine:true,init:true},focusable:{refine:true,init:true},globalCursor:{check:t,nullable:true,themeable:true,apply:l,event:a},nativeContextMenu:{refine:true,init:false},nativeHelp:{check:d,init:false,apply:n}},members:{__YD:null,isRootWidget:function(){return true;},getLayout:function(){return this._getLayout();},_applyGlobalCursor:qx.core.Environment.select(b,{"mshtml":function(w,v){},"default":function(A,z){var y=qx.bom.Stylesheet;var x=this.__YD;if(!x){this.__YD=x=y.createElement();};y.removeAllRules(x);if(A){y.addRule(x,u,qx.bom.element.Cursor.compile(A).replace(o,h)+j);};}}),_applyNativeContextMenu:function(C,B){if(C){this.removeListener(i,this._onNativeContextMenu,this,true);}else {this.addListener(i,this._onNativeContextMenu,this,true);};},_onNativeContextMenu:function(e){if(e.getTarget().getNativeContextMenu()){return;};e.preventDefault();},__YE:function(e){if(e.getKeyIdentifier()!==m){return;};var E=e.getTarget();var D=qx.ui.core.FocusHandler.getInstance();if(!D.isFocused(E)){return;};var F=E.getContentElement().getNodeName();if(F===k||F===s){return;};e.preventDefault();},_applyNativeHelp:function(H,G){if(qx.core.Environment.get(p)){if(G===false){qx.bom.Event.removeNativeListener(document,g,(function(){return false;}));};if(H===false){qx.bom.Event.addNativeListener(document,g,(function(){return false;}));};};}},destruct:function(){this.__YD=null;},defer:function(I,J){qx.ui.core.MChildrenHandling.remap(J);}});})();(function(){var a="keypress",b="focusout",c="activate",d="Tab",f="singleton",g="deactivate",h="__Wk",j="focusin",k="qx.ui.core.FocusHandler";qx.Class.define(k,{extend:qx.core.Object,type:f,construct:function(){qx.core.Object.call(this);this.__Wk={};},members:{__Wk:null,__Wl:null,__Wm:null,__Wn:null,connectTo:function(m){m.addListener(a,this.__QG,this);m.addListener(j,this._onFocusIn,this,true);m.addListener(b,this._onFocusOut,this,true);m.addListener(c,this._onActivate,this,true);m.addListener(g,this._onDeactivate,this,true);},addRoot:function(n){this.__Wk[n.$$hash]=n;},removeRoot:function(o){delete this.__Wk[o.$$hash];},getActiveWidget:function(){return this.__Wl;},isActive:function(p){return this.__Wl==p;},getFocusedWidget:function(){return this.__Wm;},isFocused:function(q){return this.__Wm==q;},isFocusRoot:function(r){return !!this.__Wk[r.$$hash];},_onActivate:function(e){var t=e.getTarget();this.__Wl=t;var s=this.__Wo(t);if(s!=this.__Wn){this.__Wn=s;};},_onDeactivate:function(e){var u=e.getTarget();if(this.__Wl==u){this.__Wl=null;};},_onFocusIn:function(e){var v=e.getTarget();if(v!=this.__Wm){this.__Wm=v;v.visualizeFocus();};},_onFocusOut:function(e){var w=e.getTarget();if(w==this.__Wm){this.__Wm=null;w.visualizeBlur();};},__QG:function(e){if(e.getKeyIdentifier()!=d){return;};if(!this.__Wn){return;};e.stopPropagation();e.preventDefault();var x=this.__Wm;if(!e.isShiftPressed()){var y=x?this.__Ws(x):this.__Wq();}else {var y=x?this.__Wt(x):this.__Wr();};if(y){y.tabFocus();};},__Wo:function(z){var A=this.__Wk;while(z){if(A[z.$$hash]){return z;};z=z.getLayoutParent();};return null;},__Wp:function(I,H){if(I===H){return 0;};var C=I.getTabIndex()||0;var B=H.getTabIndex()||0;if(C!=B){return C-B;};var J=I.getContentElement().getDomElement();var G=H.getContentElement().getDomElement();var F=qx.bom.element.Location;var E=F.get(J);var D=F.get(G);if(E.top!=D.top){return E.top-D.top;};if(E.left!=D.left){return E.left-D.left;};var K=I.getZIndex();var L=H.getZIndex();if(K!=L){return K-L;};return 0;},__Wq:function(){return this.__Ww(this.__Wn,null);},__Wr:function(){return this.__Wx(this.__Wn,null);},__Ws:function(M){var N=this.__Wn;if(N==M){return this.__Wq();};while(M&&M.getAnonymous()){M=M.getLayoutParent();};if(M==null){return [];};var O=[];this.__Wu(N,M,O);O.sort(this.__Wp);var P=O.length;return P>0?O[0]:this.__Wq();},__Wt:function(Q){var R=this.__Wn;if(R==Q){return this.__Wr();};while(Q&&Q.getAnonymous()){Q=Q.getLayoutParent();};if(Q==null){return [];};var S=[];this.__Wv(R,Q,S);S.sort(this.__Wp);var T=S.length;return T>0?S[T-1]:this.__Wr();},__Wu:function(parent,U,V){var X=parent.getLayoutChildren();var W;for(var i=0,l=X.length;i0){ba.push(bb);};this.__Wv(bb,Y,ba);};};},__Ww:function(parent,bd){var bf=parent.getLayoutChildren();var be;for(var i=0,l=bf.length;i0){bg=bh;};};bg=this.__Wx(bh,bg);};};return bg;}},destruct:function(){this._disposeMap(h);this.__Wm=this.__Wl=this.__Wn=null;}});})();(function(){var a="touchmove",b="os.name",c="-webkit-overflow-scrolling",d="touch",f="paddingLeft",g="div",h="100%",i="The root widget does not support 'left', or 'top' paddings!",j="0px",k="The application could not be started due to a missing body tag in the HTML file!",l="ios",m="overflowY",n="resize",o="",p="$$widget",q="paddingTop",r="engine.name",s="none",t="webkit",u="-webkit-backface-visibility",v="touch-action",w="qx.ui.root.Application",x="hidden",y="tap",z="overflowX",A="absolute";qx.Class.define(w,{extend:qx.ui.root.Abstract,construct:function(B){this.__LJ=qx.dom.Node.getWindow(B);this.__YF=B;qx.ui.root.Abstract.call(this);qx.event.Registration.addListener(this.__LJ,n,this._onResize,this);this._setLayout(new qx.ui.layout.Canvas());qx.ui.core.queue.Layout.add(this);qx.ui.core.FocusHandler.getInstance().connectTo(this);this.getContentElement().disableScrolling();this.getContentElement().setStyle(u,x);this.addListener(a,this.__YG,this);if(qx.core.Environment.get(b)==l){this.getContentElement().addListener(y,function(e){var C=qx.ui.core.Widget.getWidgetByElement(e.getTarget());while(C&&!C.isFocusable()){C=C.getLayoutParent();};if(C&&C.isFocusable()){C.getContentElement().focus();};},this,true);};},members:{__LJ:null,__YF:null,_createContentElement:function(){var D=this.__YF;if((qx.core.Environment.get(r)==t)){if(!D.body){alert(k);};};var H=D.documentElement.style;var E=D.body.style;H.overflow=E.overflow=x;H.padding=H.margin=E.padding=E.margin=j;H.width=H.height=E.width=E.height=h;var G=D.createElement(g);D.body.appendChild(G);var F=new qx.html.Root(G);F.setStyles({"position":A,"overflowX":x,"overflowY":x});F.setAttribute(p,this.toHashCode());return F;},_onResize:function(e){qx.ui.core.queue.Layout.add(this);if(qx.ui.popup&&qx.ui.popup.Manager){qx.ui.popup.Manager.getInstance().hideAll();};if(qx.ui.menu&&qx.ui.menu.Manager){qx.ui.menu.Manager.getInstance().hideAll();};},_computeSizeHint:function(){var I=qx.bom.Viewport.getWidth(this.__LJ);var J=qx.bom.Viewport.getHeight(this.__LJ);return {minWidth:I,width:I,maxWidth:I,minHeight:J,height:J,maxHeight:J};},_applyPadding:function(L,K,name){if(L&&(name==q||name==f)){throw new Error(i);};qx.ui.root.Abstract.prototype._applyPadding.call(this,L,K,name);},__YG:function(e){var M=e.getOriginalTarget();while(M&&M.style){var Q=qx.bom.element.Style.get(M,v)!==s&&qx.bom.element.Style.get(M,v)!==o;var P=qx.bom.element.Style.get(M,c)===d;var O=qx.bom.element.Style.get(M,z)!=x;var N=qx.bom.element.Style.get(M,m)!=x;if(Q||P||N||O){return;};M=M.parentNode;};e.preventDefault();}},destruct:function(){this.__LJ=this.__YF=null;}});})();(function(){var a="qx.ui.layout.Canvas",b="number",c="Boolean";qx.Class.define(a,{extend:qx.ui.layout.Abstract,properties:{desktop:{check:c,init:false}},members:{verifyLayoutProperty:null,renderLayout:function(g,j,m){var s=this._getLayoutChildren();var d,u,r;var f,top,e,h,n,k;var q,p,t,o;for(var i=0,l=s.length;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;i0){return;};if(this.__bk){try{this.__bk.destroy();this.__bk=null;}catch(L){};};}}});})();(function(){var b="text",c="Excel2007",d="TIMEOUT",e="websynapse.common.util.Statics",f="static",g="source",h=" []",j="MODIFY",k="TRANSIENT",l=": ",m="appesc",n="VARCHAR",o="Error",q="",r="NUMBER",s="Session Timeout, Please Log Back in to Re-Validate Your Credentials",t="DATE",u="OKAY",v="/",w="] ",x="PDF",y="INQUIRY",z="MM/dd/yyyy",A="integer",B=" [";qx.Class.define(e,{type:f,statics:{USERNAME:null,USER_ACCESS:null,CURR_CUSTID:null,CURR_FACILITY:null,CURR_FACNAME:null,HELP_URL:null,REPORT_DEST:null,REPORT_URL:null,REPORT_PATH:null,REPORT_FORMAT:null,REPORTS:null,USERREPORTS:null,USER_CUSTOMERS:null,USER_FACILITIES:null,CUST_USER_FACILITIES:null,CUST_SHIPTO:null,CUST_BILLTO:null,CUST_SHIPPER:null,CUST_LOTREQUIRED_DFLT:null,CUSTDICT:null,LAST_ACTIVITY_DTTM:null,TIMEOUT_MINUTES:null,MASSENTRY_ALLOWED:null,PAGE_SIZE:null,COMBO_LISTS:null,COMBO_LISTS_PHP:null,RESOURCE_NAMESPACE:null,APPLICATION:null,DATEFORMAT_MDY:null,PHP_BASE:null,MAIN_WINDOW:null,REFRESH_USER_MAINT:null,REPORT_TYPE_EXCEL:c,REPORT_TYPE_PDF:x,ORDER_SEARCH_INQUIRY:y,ORDER_SEARCH_MODIFY:j,DONE_ORDER_ID:null,WIDGET_TYPE_VARCHAR:n,WIDGET_TYPE_DATE:t,WIDGET_TYPE_NUMBER:r,WIDGET_TYPE_TRANSIENT:k,initStatics:function(D,C,F,E){var p=websynapse.common.util.Statics;p.COMBO_LISTS={};p.DATEFORMAT_MDY=new qx.util.format.DateFormat(z);p.APPLICATION=D;p.RESOURCE_NAMESPACE=C;p.PHP_BASE=F;p.COMBO_LISTS_PHP=E;p.REFRESH_USER_MAINT=true;},showResults:function(H){for(var I in H){var G=H[I];if(G){new websynapse.common.util.Errmsg(G);}else {new websynapse.common.util.Errmsg(qx.locale.Manager.tr(o)+l+qx.locale.Manager.tr(g)+B+I+w+qx.locale.Manager.tr(b)+h);};break;};},phpPath:function(J){return websynapse.common.util.Statics.PHP_BASE+J;},mapToArrayOfArrays:function(O,M,L){var N=[];for(var i=0;ibc){websynapse.common.util.Statics.timeoutAction(bb);return d;};websynapse.common.util.Statics.LAST_ACTIVITY_DTTM=new Date();return u;},timeoutAction:function(be){var bd=qx.lang.Function.bind(function(){be.fireEvent(m);},this);new websynapse.common.util.CallbackDialog(s,bd);},getResource:function(bf){return websynapse.common.util.Statics.RESOURCE_NAMESPACE+v+bf;},getAbsolutePosition:function(bh){var bj=bh.getBounds();var bi=0;var top=0;if(bj!=null){bi=bi+(bj.left!=null?bj.left:0);top=top+(bj.top!=null?bj.top:0);};if(bh.getLayoutParent()){var bg=this.getAbsolutePosition(bh.getLayoutParent());bi=bi+bg.left;top=top+bg.top;};return {"left":bi,"top":top};}}});})();(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.__Ug=qx.locale.Manager.getInstance().getLocale();this.__UI=qx.locale.Manager.getInstance().bind(C,this,C);}else {this.__Ug=gi;this.setLocale(gi);};this.__UJ=this.__Ug;if(gj!=null){this.__dW=gj.toString();if(this.__dW in qx.util.format.DateFormat.ISO_MASKS){if(this.__dW===dK){this.__UK=true;};this.__dW=qx.util.format.DateFormat.ISO_MASKS[this.__dW];};}else {this.__dW=qx.locale.Date.getDateFormat(ev,this.__Ug)+fS+qx.locale.Date.getDateTimeFormat(ek,U,this.__Ug);};},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.__dW!=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.__dW!=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:{__UI:null,__Ug:null,__UJ:null,__dW:null,__UL:null,__UM:null,__UN:null,__UK:null,__UO: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.__UX();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.__UO(parseInt(gW/4)+1,hg);};if(hg==3){hp=fm+(parseInt(gW/4)+1);};break;case L:if(hg==1||hg==2){hp=this.__UO(parseInt(gW/4)+1,hg);};if(hg==3){hp=fm+(parseInt(gW/4)+1);};break;case fc:hp=this.__UO(this.__UP(hj),hg);break;case fG:hp=this.__UO(ha,hg);break;case ea:hp=this.__UO(this.__UR(hj),hg);break;case c:hp=this.__US(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.__UO(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.__UO(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.__UO(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.__UO(hh,hg);break;case fn:hp=this.__UO((hh==0)?24:hh,hg);break;case fw:hp=this.__UO(hh%12,hg);break;case eD:hp=this.__UO(((hh%12)==0)?12:(hh%12),hg);break;case fX:hp=this.__UO(ho,hg);break;case eF:hp=this.__UO(hf,hg);break;case eX:hp=this.__UO(hm,3);if(hghp.length){hp+=ge;};};break;case eQ:if(hg>=1&&hg<=4){hp=T+((hi>0)?a:W)+this.__UO(Math.abs(gT),2)+y+this.__UO(hl,2);};break;case fY:if(hg>=1&&hg<=3){hp=((hi>0)?a:W)+this.__UO(Math.abs(gT),2)+this.__UO(hl,2);}else {hp=T+((hi>0)?a:W)+this.__UO(Math.abs(gT),2)+y+this.__UO(hl,2);};break;};hn+=hp;};};return hn;},parse:function(hw){this.__UY();var hz=this.__UL.regex.exec(hw);if(hz==null){throw new Error(n+hw+fI+this.__dW);};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.__UN.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.__UN.push({type:fx,text:hI});hI=dL;};}else {hI+=hH;i++ ;};break;};};if(hG!=null){this.__UN.push({type:fC,character:hG,size:hE});}else if(hI.length>0){this.__UN.push({type:fx,text:hI});};},__UY:function(){if(this.__UL!=null){return;};var hM=this.__dW;this.__Vb();this.__UX();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],ik,jg[0],true);for(var i=0,l=jm.length;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.__Vc.getTerritory()||this.__Vc.getLanguage();};return bF.toUpperCase();},__Vd:function(bI,bH,bL,bK){var bJ=this.__Vc.localize(bL,[],bK);if(bJ==bL){var bG=bL.replace(e+bI+e,e+bH+e);return this.__Vc.localize(bG,[],bK);}else {return bJ;};}}});})();(function(){var a="qx.ui.window.IWindowManager";qx.Interface.define(a,{members:{setDesktop:function(b){this.assertInterface(b,qx.ui.window.IDesktop);},changeActiveWindow:function(c,d){},updateStack:function(){},bringToFront:function(e){this.assertInstance(e,qx.ui.window.Window);},sendToBack:function(f){this.assertInstance(f,qx.ui.window.Window);}}});})();(function(){var a="qx.ui.window.IDesktop";qx.Interface.define(a,{members:{setWindowManager:function(b){this.assertInterface(b,qx.ui.window.IWindowManager);},getWindows:function(){},supportsMaximize:function(){},blockContent:function(c){this.assertInteger(c);},unblock:function(){},isBlocked:function(){}}});})();(function(){var a="qx.ui.window.Manager",b="__Vx";qx.Class.define(a,{extend:qx.core.Object,implement:qx.ui.window.IWindowManager,members:{__Vx:null,setDesktop:function(c){this.__Vx=c;this.updateStack();},getDesktop:function(){return this.__Vx;},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.__Vx.forceUnblock();var h=this.__Vx.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.__Vx.setActiveWindow(k);},bringToFront:function(o){var n=this.__Vx.getWindows();var p=qx.lang.Array.remove(n,o);if(p){n.push(o);this.updateStack();};},sendToBack:function(r){var q=this.__Vx.getWindows();var s=qx.lang.Array.remove(q,r);if(s){q.unshift(r);this.updateStack();};}},destruct:function(){this._disposeObjects(b);}});})();(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:{__Vy: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.__Vy(j);},hasChildren:function(){return this.__Vy(g);},add:function(s,r){return this.__Vy(c,s,r);},remove:function(t){return this.__Vy(k,t);},removeAll:function(){return this.__Vy(i);},indexOf:function(u){return this.__Vy(a,u);},addAt:function(x,v,w){this.__Vy(f,x,v,w);},addBefore:function(y,A,z){this.__Vy(d,y,A,z);},addAfter:function(D,B,C){this.__Vy(b,D,B,C);},removeAt:function(E){return this.__Vy(h,E);}}});})();(function(){var a="pointerup",b="Boolean",c="losecapture",d="__Vz",f="move",g="qx.ui.core.MMovable",h="__VA",i="The move handle could not be redefined!",j="pointerdown",k="maximized",l="pointermove",m="roll",n="move-frame";qx.Mixin.define(g,{properties:{movable:{check:b,init:true},useMoveFrame:{check:b,init:false}},members:{__Vz:null,__VA:null,__VB:null,__VC:null,__VD:null,__VE:null,__VF:null,__VG:false,__VH:null,__VI:0,_activateMoveHandle:function(o){if(this.__Vz){throw new Error(i);};this.__Vz=o;o.addListener(j,this._onMovePointerDown,this);o.addListener(a,this._onMovePointerUp,this);o.addListener(l,this._onMovePointerMove,this);o.addListener(c,this.__VM,this);},__VJ:function(){var p=this.__VA;if(!p){p=this.__VA=new qx.ui.core.Widget();p.setAppearance(n);p.exclude();qx.core.Init.getApplication().getRoot().add(p);};return p;},__VK:function(){var location=this.getContentLocation();var r=this.getBounds();var q=this.__VJ();q.setUserBounds(location.left,location.top,r.width,r.height);q.show();q.setZIndex(this.getZIndex()+1);},__VL:function(e){var t=this.__VB;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.__VC+s;var w=this.__VD+v;return {viewportLeft:parseInt(u,10),viewportTop:parseInt(w,10),parentLeft:parseInt(u-this.__VE,10),parentTop:parseInt(w-this.__VF,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.__VH=parent.getBlockerColor();this.__VI=parent.getBlockerOpacity();parent.setBlockerColor(null);parent.setBlockerOpacity(1);parent.blockContent(this.getZIndex()-1);this.__VG=true;};};this.__VB={left:x.left,top:x.top,right:x.left+z.width,bottom:x.top+z.height};var y=this.getContentLocation();this.__VE=x.left;this.__VF=x.top;this.__VC=y.left-e.getDocumentLeft();this.__VD=y.top-e.getDocumentTop();this.addState(f);this.__Vz.capture();if(this.getUseMoveFrame()){this.__VK();};e.stop();},_onMovePointerMove:function(e){if(!this.hasState(f)){return;};var B=this.__VL(e);if(this.getUseMoveFrame()){this.__VJ().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.removeListener(m,this._onMoveRoll,this);};if(!this.hasState(f)){return;};this.removeState(f);var parent=this.getLayoutParent();if(qx.Class.implementsInterface(parent,qx.ui.window.IDesktop)){if(this.__VG){parent.unblock();parent.setBlockerColor(this.__VH);parent.setBlockerOpacity(this.__VI);this.__VH=null;this.__VI=0;this.__VG=false;};};this.__Vz.releaseCapture();var D=this.__VL(e);var C=this.getLayoutParent().getInsets();this.setLayoutProperties({left:D.parentLeft-(C.left||0),top:D.parentTop-(C.top||0)});if(this.getUseMoveFrame()){this.__VJ().exclude();};e.stopPropagation();},__VM:function(e){if(!this.hasState(f)){return;};this.removeState(f);if(this.getUseMoveFrame()){this.__VJ().exclude();};}},destruct:function(){this._disposeObjects(h,d);this.__VB=null;}});})();(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="resetPaddingRight",b="setPaddingTop",c="_applyContentPadding",d="setPaddingBottom",e="resetThemed",f="contentPaddingRight",g="Integer",h="contentPaddingLeft",i="setThemedPaddingLeft",j="resetPaddingTop",k="shorthand",l="setThemedPaddingRight",m="setThemed",n="setPaddingRight",o="contentPaddingBottom",p="resetPaddingBottom",q="qx.ui.core.MContentPadding",r="resetPaddingLeft",s="setThemedPaddingTop",t="setPaddingLeft",u="setThemedPaddingBottom",v="contentPaddingTop";qx.Mixin.define(q,{properties:{contentPaddingTop:{check:g,init:0,apply:c,themeable:true},contentPaddingRight:{check:g,init:0,apply:c,themeable:true},contentPaddingBottom:{check:g,init:0,apply:c,themeable:true},contentPaddingLeft:{check:g,init:0,apply:c,themeable:true},contentPadding:{group:[v,f,o,h],mode:k,themeable:true}},members:{__VN:{contentPaddingTop:b,contentPaddingRight:n,contentPaddingBottom:d,contentPaddingLeft:t},__VO:{contentPaddingTop:s,contentPaddingRight:l,contentPaddingBottom:u,contentPaddingLeft:i},__VP:{contentPaddingTop:j,contentPaddingRight:a,contentPaddingBottom:p,contentPaddingLeft:r},_applyContentPadding:function(z,w,name,y){var A=this._getContentPaddingTarget();if(z==null){var x=this.__VP[name];A[x]();}else {if(y==m||y==e){var B=this.__VO[name];A[B](z);}else {var B=this.__VN[name];A[B](z);};};}}});})();(function(){var a="Boolean",b="w-resize",c="touch",d="sw-resize",f="n-resize",g="resizableRight",h="ne-resize",i="se-resize",j="Integer",k="e-resize",l="resizableLeft",m="move",n="shorthand",o="maximized",p="resize",q="nw-resize",r="pointerup",s="pointerdown",t="qx.ui.core.MResizable",u="losecapture",v="resize-frame",w="resizableBottom",x="s-resize",y="pointermove",z="resizableTop",A="pointerout";qx.Mixin.define(t,{construct:function(){var content=this.getContentElement();content.addListener(s,this.__Wd,this,true);content.addListener(r,this.__We,this);content.addListener(y,this.__Wg,this);content.addListener(A,this.__Wh,this);content.addListener(u,this.__Wf,this);var B=content.getDomElement();if(B==null){B=window;};this.__VQ=qx.event.Registration.getManager(B).getHandler(qx.event.handler.DragDrop);},properties:{resizableTop:{check:a,init:true},resizableRight:{check:a,init:true},resizableBottom:{check:a,init:true},resizableLeft:{check:a,init:true},resizable:{group:[z,g,w,l],mode:n},resizeSensitivity:{check:j,init:5},useResizeFrame:{check:a,init:true}},members:{__VQ:null,__VR:null,__VS:null,__VT:null,__VU:null,__VV:null,__VW:null,RESIZE_TOP:1,RESIZE_BOTTOM:2,RESIZE_LEFT:4,RESIZE_RIGHT:8,_getResizeFrame:function(){var C=this.__VR;if(!C){C=this.__VR=new qx.ui.core.Widget();C.setAppearance(v);C.exclude();qx.core.Init.getApplication().getRoot().add(C);};return C;},__VX:function(){var location=this.getContentLocation();var D=this._getResizeFrame();D.setUserBounds(location.left,location.top,location.right-location.left,location.bottom-location.top);D.show();D.setZIndex(this.getZIndex()+1);},__VY:function(e){var F=this.__VS;var E=this.getSizeHint();var I=this.__VW;var H=this.__VV;var J=H.width;var G=H.height;var L=H.left;var top=H.top;var K;if((F&this.RESIZE_TOP)||(F&this.RESIZE_BOTTOM)){K=Math.max(I.top,Math.min(I.bottom,e.getDocumentTop()))-this.__VU;if(F&this.RESIZE_TOP){G-=K;}else {G+=K;};if(GE.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.__VT;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};},__Wa:{'1':f,'2':x,'4':b,'8':k,'5':q,'6':d,'9':h,'10':i},__Wb:function(e){var location=this.getContentLocation();var O=this.getResizeSensitivity();var N=e.getDocumentLeft();var P=e.getDocumentTop();var M=this.__Wc(location,N,P,O);if(M>0){M=M|this.__Wc(location,N,P,O*2);};this.__VS=M;},__Wc: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&&R0){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.__Uo();};var W=qx.ui.layout.Util;var bl=this.__PA;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.__Vp=this.__Um=this.__PA=null;}});})();(function(){var a="' must be defined!",b="height",c="hAlign",d="vAlign",e="Integer",f="'",g="_applyLayoutChange",h="qx.ui.layout.Grid",m="maxHeight",n="Cannot add widget '",o="width",p=") for '",q="'!. ",r="top",s="minHeight",t="' in this cell (",u=", ",v="The layout properties 'row' and 'column' of the child widget '",w="minWidth",z="flex",A="left",B="maxWidth",C="There is already a widget '";qx.Class.define(h,{extend:qx.ui.layout.Abstract,construct:function(E,D){qx.ui.layout.Abstract.call(this);this.__Ve=[];this.__Vf=[];if(E){this.setSpacingX(E);};if(D){this.setSpacingY(D);};},properties:{spacingX:{check:e,init:0,apply:g},spacingY:{check:e,init:0,apply:g}},members:{__Vg:null,__Ve:null,__Vf:null,__Vh:null,__Vi:null,__Vj:null,__Vk:null,__Vl:null,__Vm:null,verifyLayoutProperty:null,__Vn:function(){var L=[];var G=[];var J=[];var I=-1;var F=-1;var K=this._getLayoutChildren();for(var i=0,l=K.length;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.__Vg=L;this.__Vh=G;this.__Vi=J;this.__Vj=I;this.__Vk=F;this.__Vl=null;this.__Vm=null;delete this._invalidChildrenCache;},_setRowData:function(S,Q,R){var P=this.__Ve[S];if(!P){this.__Ve[S]={};this.__Ve[S][Q]=R;}else {P[Q]=R;};},_setColumnData:function(T,V,W){var U=this.__Vf[T];if(!U){this.__Vf[T]={};this.__Vf[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.__Vf[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.__Ve[bi]||{};return {vAlign:bh.vAlign||r,hAlign:bh.hAlign||A};},getCellWidget:function(bk,bj){if(this._invalidChildrenCache){this.__Vn();};var bk=this.__Vg[bk]||{};return bk[bj]||null;},getRowCount:function(){if(this._invalidChildrenCache){this.__Vn();};return this.__Vj+1;},getColumnCount:function(){if(this._invalidChildrenCache){this.__Vn();};return this.__Vk+1;},getCellAlign:function(bs,bm){var br=r;var bp=A;var bq=this.__Ve[bs];var bn=this.__Vf[bm];var bl=this.__Vg[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.__Vf[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.__Ve[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.__Vf[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.__Vf[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.__Vf[bM]||{};return bN.minWidth||0;},setRowMaxHeight:function(bP,bO){this._setRowData(bP,m,bO);this._applyLayoutChange();return this;},getRowMaxHeight:function(bR){var bQ=this.__Ve[bR]||{};return bQ.maxHeight||Infinity;},setRowHeight:function(bS,bT){this._setRowData(bS,b,bT);this._applyLayoutChange();return this;},getRowHeight:function(bV){var bU=this.__Ve[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.__Ve[ca]||{};return bY.minHeight||0;},__Vo: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.__Vi.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.__Vo(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.__Vi.length>0){this._fixHeightsRowSpan(cY);};this.__Vl=cY;return cY;},_getColWidths:function(){if(this.__Vm!=null){return this.__Vm;};var df=[];var dc=this.__Vk;var de=this.__Vj;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.__Vg[dl][dk];if(!db){continue;};var dg=db.getLayoutProperties().colSpan||0;if(dg>1){continue;};var dj=this.__Vo(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.__Vh.length>0){this._fixWidthsColSpan(df);};this.__Vm=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.__Vn();};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.__Vk;var dC=this.__Vj;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.__Vg[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.__Vg=this.__Ve=this.__Vf=this.__Vh=this.__Vi=this.__Vm=this.__Vl=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:{__UE:null,__UF:false,__UG:null,_bindableProperties:[f,c,b,a,g,m],execute:function(){var o=this.getCommand();if(o){if(this.__UF){this.__UF=false;}else {this.__UF=true;o.execute(this);};};this.fireEvent(j);},__UH:function(e){if(this.__UF){this.__UF=false;return;};if(this.isEnabled()){this.__UF=true;this.execute();};},_applyCommand:function(r,p){if(p!=null){p.removeListenerById(this.__UG);};if(r!=null){this.__UG=r.addListener(j,this.__UH,this);};var q=this.__UE;if(q==null){this.__UE=q={};};var u;for(var i=0;i0){return;};var cp=new websynapse.common.util.Request(websynapse.common.util.Statics.COMBO_LISTS_PHP,this.__Al,this);cp.setMethod(w);cp.setParameter(F,T);cp.setParameter(M,cq);cp.send();},__Al:function(cr){if(M in cr){websynapse.common.util.Statics.COMBO_LISTS[cr.listname]=cr.listdata;};if(this._hasRequiredData){this._requiredDataCompleted();};},_requiredDataCompleted:function(){},_changeCustomerAction:function(){var cs=new websynapse.ChangeCustomerDialog();cs.setInParam({screen:this.classname});cs.openAndCenter();},_changeFacilityAction:function(){var ct=new websynapse.ChangeFacilityDialog();ct.setInParam({screen:this.classname});ct.openAndCenter();},validateLeavingScreen:function(screen,cv){if(this._isScreenDirty()){var cu=qx.lang.Function.bind(function(){this.fireDataEvent(h,{screen:screen,param:cv,validate:true});},this);new websynapse.common.util.CallbackConfirmationDialog(this.tr(d),cu);return true;};return false;},validateGoToHome:function(){if(this._isScreenDirty()){var cw=qx.lang.Function.bind(function(){this.fireDataEvent(S,{validate:true});},this);new websynapse.common.util.CallbackConfirmationDialog(this.tr(d),cw);return true;};return false;}}});})();(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.__Vq,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);},__Vq: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.__Vq,this);};}});})();(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="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.__Wy={};var H=this._transport=this._createTransport();this._setPhase(z);this.__bcW=qx.lang.Function.bind(this._onReadyStateChange,this);this.__bcX=qx.lang.Function.bind(this._onLoad,this);this.__bcY=qx.lang.Function.bind(this._onLoadEnd,this);this.__bda=qx.lang.Function.bind(this._onAbort,this);this.__YY=qx.lang.Function.bind(this._onTimeout,this);this.__bdb=qx.lang.Function.bind(this._onError,this);H.onreadystatechange=this.__bcW;H.onload=this.__bcX;H.onloadend=this.__bcY;H.onabort=this.__bda;H.ontimeout=this.__YY;H.onerror=this.__bdb;},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:{__bcW:null,__bcX:null,__bcY:null,__bda:null,__YY:null,__bdb:null,__bdc:null,__bac:null,__bdd:null,__Wy:null,__bde: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.__bac=true;this.__bdd=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.__bdf());qx.lang.Object.mergeWith(R,this.__bde);qx.lang.Object.mergeWith(R,this.__Wy);return R;},__bdf: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.__Wy[V]=W;},getRequestHeader:function(X){return this.__Wy[X];},removeRequestHeader:function(Y){if(this.__Wy[Y]){delete this.__Wy[Y];};},getTransport:function(){return this._transport;},getReadyState:function(){return this._transport.readyState;},getPhase:function(){return this.__bdd;},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.__bdc;},_setResponse:function(bd){var bc=bd;if(this.__bdc!==bd){this.__bdc=bd;this.fireEvent(A,qx.event.type.Data,[this.__bdc,bc]);};},_onReadyStateChange:function(){var be=this.getReadyState();{};this.fireEvent(w);if(this.__bac){return;};if(be===3){this._setPhase(l);};if(this.isDone()){this.__bdg();};},__bdg: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.__bdd;{};this.__bdd=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.__bds();};this.__bdp.onreadystatechange=this.__bdi;try{{};this.__bdp.open(V,R,S,U,T);}catch(W){if(!qx.util.Request.isCrossDomain(R)){throw W;};if(!this.__bdn){this.__bdo=W;};if(this.__bdn){if(window.XDomainRequest){this.readyState=4;this.__bdp=new XDomainRequest();this.__bdp.onerror=qx.Bootstrap.bind(function(){this._emit(F);this._emit(m);this._emit(n);},this);{};this.__bdp.open(V,R,S,U,T);return;};window.setTimeout(qx.Bootstrap.bind(function(){if(this.__bae){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.__bdp.readyState>0){this.__bdp.setRequestHeader(f,j);};if(qx.core.Environment.get(u)===C&&parseInt(qx.core.Environment.get(g),10)<2&&!this.__bdn){this.readyState=qx.bom.request.Xhr.OPENED;this._emit(F);};},setRequestHeader:function(X,Y){this.__bdD();if(X==D||X==f||X==c||X==J){this.__bdm=true;};this.__bdp.setRequestHeader(X,Y);return this;},send:function(bb){this.__bdD();if(!this.__bdn&&this.__bdo){throw this.__bdo;};if(qx.core.Environment.get(u)===y&&this.timeout===0){this.timeout=10000;};if(this.timeout>0){this.__bdq=window.setTimeout(this.__YY,this.timeout);};bb=typeof bb==O?null:bb;var ba=qx.Bootstrap.getClass(bb);bb=(bb!==null&&this.__bdr.indexOf(ba)===-1)?bb.toString():bb;try{{};this.__bdp.send(bb);}catch(bd){if(!this.__bdn){throw bd;};if(this._getProtocol()===H){this.readyState=2;this.__bdv();var bc=this;window.setTimeout(function(){if(bc.__bae){return;};bc.readyState=3;bc.__bdv();bc.readyState=4;bc.__bdv();});};};if(qx.core.Environment.get(u)===C&&!this.__bdn){this.__bdu();};this.__bdl=true;return this;},abort:function(){this.__bdD();this.__bac=true;this.__bdp.abort();if(this.__bdp){this.readyState=this.__bdp.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.__bdD();if(qx.core.Environment.get(s)===9&&this.__bdp.aborted){return t;};return this.__bdp.getResponseHeader(bg);},getAllResponseHeaders:function(){this.__bdD();if(qx.core.Environment.get(s)===9&&this.__bdp.aborted){return t;};return this.__bdp.getAllResponseHeaders();},overrideMimeType:function(bh){this.__bdD();if(this.__bdp.overrideMimeType){this.__bdp.overrideMimeType(bh);}else {throw new Error(P);};return this;},getRequest:function(){return this.__bdp;},dispose:function(){if(this.__bae){return false;};window.clearTimeout(this.__bdq);if(window.detachEvent){window.detachEvent(h,this.__bdk);};try{this.__bdp.onreadystatechange;}catch(bj){return false;};var bi=function(){};this.__bdp.onreadystatechange=bi;this.__bdp.onload=bi;this.__bdp.onerror=bi;this.abort();this.__bdp=null;this.__bae=true;return true;},isDisposed:function(){return !!this.__bae;},_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.__bad;var bm=/^(\w+:)\/\//;if(bl!==null&&bl.match){var bn=bl.match(bm);if(bn&&bn[1]){return bn[1];};};return window.location.protocol;},__bdp:null,__bdn:null,__bdi:null,__bdj:null,__bdk:null,__YY:null,__bdl:null,__bad:null,__bac:null,__Pc:null,__bae:null,__bdq:null,__bdo:null,__bdm:null,__bdr:null,__bds:function(){this.__bdp=this._createNativeXhr();this.__bdp.onreadystatechange=this.__bdi;if(this.__bdp.onabort){this.__bdp.onabort=this.__bdj;};this.__bae=this.__bdl=this.__bac=false;this.__bdr=[N,o,l,r,I];},__bdt:function(){if(!this.__bac){this.abort();};},__bdu:function(){var bo=this.__bdp,bp=true;{};if(this.readyState==bo.readyState){return;};this.readyState=bo.readyState;if(this.readyState===qx.bom.request.Xhr.DONE&&this.__bac&&!this.__bdl){return;};if(!this.__bdn&&(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.__bdz();this.__bdA();};};this.__bdv();if(this.readyState==qx.bom.request.Xhr.DONE){if(bo){bo.onreadystatechange=function(){};};};},__bdv:function(){if(this.readyState===qx.bom.request.Xhr.DONE){window.clearTimeout(this.__bdq);};this._emit(F);if(this.readyState===qx.bom.request.Xhr.DONE){this.__bdw();};},__bdw:function(){if(this.__Pc){this._emit(B);if(qx.core.Environment.get(u)===y){this._emit(m);};this.__Pc=false;}else {if(this.__bac){this._emit(q);}else {if(this.__bdx()){this._emit(m);}else {this._emit(p);};};};this._emit(n);},__bdx:function(){var br;if(this._getProtocol()===H){br=!this.responseText;}else {br=!this.statusText&&this.status!==204;};return br;},__bdy:function(){var bs=this.__bdp;this.readyState=qx.bom.request.Xhr.DONE;this.__Pc=true;bs.aborted=true;bs.abort();this.responseText=t;this.responseXML=null;this.__bdv();},__bdz:function(){var bt=this.readyState===qx.bom.request.Xhr.DONE;if(this._getProtocol()===H&&this.status===0&&bt){if(!this.__bdx()){this.status=200;};};if(this.status===1223){this.status=204;};if(qx.core.Environment.get(u)===y){if(bt&&this.__bdm&&!this.__bac&&this.status===0){this.status=304;};};},__bdA: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;};},__bdB:function(){try{if(this){this.dispose();};}catch(e){};},__bdC: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);},__bdD:function(){if(this.__bae){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:{__bdE: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.__bdE=qx.util.ResponseParser.PARSER[h];};{};return this.__bdE=h;},_getParser:function(j){var i=this.__bdE,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="oracle",b="useraccess",c="php",d="Oracle error - ",f="request completed with status error",g="User Access error - ",h="websynapse.common.util.Request",i="stack",j="Request Aborted",k="abort",l="success",m="Request Timeout",n=":",o="",p="statusError",q="Oracle application error - ",r="POST",s="request timeout",t="PHP error - ",u="Request Error",v="request aborted",w="timeout",x="Request exception: ",y="oraAppErr";qx.Class.define(h,{extend:qx.io.request.Xhr,construct:function(G,z,E,A,D,F){var B=websynapse.common.util.Statics.phpPath(G);qx.io.request.Xhr.call(this,B);this.setMethod(r);websynapse.common.util.Statics.recordActivity(E);this.__Am={};this.__An=G;this.__Ao=z;this.__Ap=E;this.__Aq=A;this.__Ar=D;var C=websynapse.common.util.Statics.APPLICATION;C.incrementGlassPane(F);this.addListener(l,function(e){var I=websynapse.common.util.Statics.APPLICATION;I.decrementGlassPane();var J=this.getResponse();try{var H=qx.lang.Json.parse(J);if(y in H.results){console.log(q+H.results.oraAppErr);new websynapse.common.util.ExceptionMsg(H.results.oraAppErr,o);if(A){var K=qx.lang.Function.bind(A,D);K(e);};}else if(c in H.results){console.log(t+H.results.php);new websynapse.common.util.ExceptionMsg(H.results.php,o);if(A){var K=qx.lang.Function.bind(A,D);K(e);};}else if(a in H.results){console.log(d+H.results.oracle);new websynapse.common.util.ExceptionMsg(H.results.oracle,o);if(A){var K=qx.lang.Function.bind(A,D);K(e);};}else if(b in H.results){console.log(g+H.results.useraccess);new websynapse.common.util.ExceptionMsg(H.results.useraccess,o);}else if(z){var K=qx.lang.Function.bind(z,E);K(H);};}catch(L){console.log(x+L.name+n+L.message);if(i in L){console.log(L.stack);};if(A){var K=qx.lang.Function.bind(A,D);K(L,J);}else {new websynapse.common.util.ExceptionMsg(L,J,this.__As);};};});this.addListener(p,function(e){var M=websynapse.common.util.Statics.APPLICATION;M.decrementGlassPane();console.log(f);if(A){var N=qx.lang.Function.bind(A,D);N(e);}else {new websynapse.common.util.ExceptionMsg(u,o);};});this.addListener(k,function(e){var O=websynapse.common.util.Statics.APPLICATION;O.decrementGlassPane();console.log(v);if(A){var P=qx.lang.Function.bind(A,D);P(e);}else {new websynapse.common.util.ExceptionMsg(j,o);};});this.addListener(w,function(e){var Q=websynapse.common.util.Statics.APPLICATION;Q.decrementGlassPane();console.log(s);if(A){var R=qx.lang.Function.bind(A,D);R(e);}else {new websynapse.common.util.ExceptionMsg(m,o);};});},members:{__As:null,__An:null,__Ao:null,__Ap:null,__Aq:null,__Ar:null,__Am:null,setFocusField:function(S){this.__As=S;},setParameter:function(T,U){this.__Am[T]=U;},setFormField:function(V,W){this.__Am[V]=W;},send:function(){this.setRequestData(this.__Am);qx.io.request.Xhr.prototype.send.call(this);}}});})();(function(){var a="red",b="websynapse.common.util.ExceptionMsg",c="
",d="Exception",e="Close",f="close",g="execute";qx.Class.define(b,{extend:websynapse.common.util.Dialog,construct:function(k,h){function i(){this.destroy();};websynapse.common.util.Dialog.call(this);this.set({caption:this.tr(d),modal:true,showMaximize:false,showMinimize:false});this.setLayout(new qx.ui.layout.VBox(10));this.add(new qx.ui.basic.Label(k+c+h).set({rich:true,width:200,textColor:a}));var j=new qx.ui.form.Button(this.tr(e)).set({height:25});j.addListener(g,i,this);this.add(j);this.addListener(f,i,this);this.open();this.center();}});})();(function(){var a="screen-background",b="websynapse.common.ui.screens.AbstractDialogScreen";qx.Class.define(b,{extend:qx.ui.window.Window,construct:function(c,e,d){qx.ui.window.Window.call(this,c);this.setLayout(e);this.setDecorator(a);this.set({showMinimize:false,allowMinimize:false,showMaximize:false,allowMaximize:false,showClose:true,modal:true,showStatusbar:false,allowClose:true,resizable:false});if(d){this.__i=d;};},events:{},members:{__i:null,setInParam:function(f){this.__i=f;},getInParam:function(){return this.__i;},openAndCenter:function(){this._preOpenAction();this.open();this.center();},_preOpenAction:function(){}}});})();(function(){var a="websynapse.order.OrderShipDetails",b="websynapse.order.OrderSummary",c="Change Customer Request Failed",d="websynapse.reports.ReportList",f="websynapse.reports.ReportSetup",g="custname",h="longtap",j="Please select a customer",k="bottom",l="Change Customer",m="execute",n="websynapse.inventory.InventorySummary",o="",p="dialog-cancel.png",q="POST",r="idName",t="websynapse.order.OrderSearch",u="websynapse.inventory.InventoryDetail",v="input",w=":",x="changeSelection",y="Filter",z="websynapse.inventory.PickNotShipDetail",A="change_customer",B="name",C="custid",D="websynapse.inventory.CommitDetail",E="utility.php",F="websynapse.inventory.InventorySearch",G="minIndex",H="Cancel",I="cellDblclick",J="websynapse.order.OrderItems",K="enter",L="Name",M="opcode",N="bold",O="rounded-table",P="Change Customer Request Denied - Licensing",Q="|",R=".*",S="login",T="left",U="Apply",V="websynapse.ChangeCustomerDialog",W="ID",X="dialog-apply.png";qx.Class.define(V,{extend:websynapse.common.ui.screens.AbstractDialogScreen,construct:function(parent){websynapse.common.ui.screens.AbstractDialogScreen.call(this,this.tr(l),new qx.ui.layout.VBox(),null);this.set({maxHeight:250});this.__At=parent;var Y=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:T}));Y.add(new qx.ui.basic.Label(this.tr(j)).set({alignY:k,font:N,paddingLeft:5}));Y.add(new qx.ui.container.Composite().set({alignY:k,maxHeight:10}),{flex:1});var ba=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({marginRight:10});ba.add(new qx.ui.basic.Label(this.tr(y)+w).set({alignY:k,marginRight:5,font:N}));ba.add(this.__Au=new qx.ui.form.TextField().set({alignY:k,maxLength:10}));Y.add(ba);this.add(Y,{flex:0});var bd=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:T})).set({margin:5});var bc=[{"column":C,"header":this.tr(W),"width":100,"minWidth":100,"maxWidth":100,"disappearOrder":-1},{"column":B,"header":this.tr(L),"width":300,"minWidth":250,"maxWidth":300,"disappearOrder":-1},{"column":r,"hidden":1}];this.__bR=new websynapse.common.ui.widgets.table.ResizableTable(bc).set({showCellFocusIndicator:false,columnVisibilityButtonVisible:false});this.__bR.setDecorator(O);bd.add(this.__bR,{flex:1});this.add(bd,{flex:1});var bb=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({marginTop:10});bb.add(new qx.ui.container.Composite().set({maxWidth:75,alignY:k,maxHeight:10}),{flex:1});bb.add(this.__Av=new qx.ui.form.Button(this.tr(U),websynapse.common.util.Statics.getResource(X)).set({paddingTop:0,paddingBottom:0}),{flex:0});bb.add(new qx.ui.container.Composite().set({maxWidth:75,alignY:k,maxHeight:10}),{flex:1});bb.add(this.__Aw=new qx.ui.form.Button(this.tr(H),websynapse.common.util.Statics.getResource(p)),{flex:0});bb.add(new qx.ui.container.Composite().set({maxWidth:75,alignY:k,maxHeight:10}),{flex:1});this.add(bb,{flex:0});this.__Ay();},members:{__Av:null,__Aw:null,__At:null,__Ax:null,__bR:null,__Au:null,__Ay:function(){this.__Av.setEnabled(false);this.__Aw.addListener(m,function(){this.close();},this);this.__Au.addListener(v,this.__Az,this);this.__Av.addListener(m,this.__AA,this);this.__bR.addListener(I,this.__AA,this);this.__bR.addListener(h,this.__AA,this);this.__bR.getSelectionModel().addListener(x,this._enableButtons,this);},__Az:function(e){var be=this.__bR.getTableModel();be.resetHiddenRows();var bf=this.__Au.getValue();if(bf!=null&&bf!=o){be.addNotRegex(R+bf+R,r,true);be.applyFilters();};},_enableButtons:function(){this.__Av.setEnabled(this.__bR.getSelectionModel().getSelectedCount()>0);},__AA:function(){var bj=this.__bR.getSelectionModel();var bk=bj.getSelectedRanges()[0];var bg=bk[G];var bh=this.__bR.getTableModel().getRowDataAsMap(bg);var bi=new websynapse.common.util.Request(E,this.__AB,this,this.__AC,this);bi.setMethod(q);bi.setParameter(M,A);bi.setParameter(C,bh.custid);bi.setParameter(g,bh.name);bi.send();},__AB:function(bo){if(S in bo){new websynapse.common.util.ExceptionMsg(this.tr(P),o);this.close();return;};var s=websynapse.common.util.Statics;s.CURR_CUSTID=bo.current_customer;s.CUST_USER_FACILITIES=bo.user_customer_lists[0].custuserfacility;s.CUST_SHIPTO=bo.user_customer_lists[0].custshipto;s.CUST_BILLTO=bo.user_customer_lists[0].custbillto;s.CUST_SHIPPER=bo.user_customer_lists[0].custshipper;s.CUST_LOTREQUIRED_DFLT=bo.user_customer_lists[0].custlotdflt.key;s.CUSTDICT=bo.user_customer_lists[0].custdict;var bm=this.getInParam();if(bm.screen==F||bm.screen==n||bm.screen==u||bm.screen==D||bm.screen==z){s.MAIN_WINDOW.changeScreen(websynapse.inventory.InventorySearch,bm);}else if(bm.screen==t||bm.screen==b||bm.screen==J||bm.screen==a){s.MAIN_WINDOW.homeScreen();}else if(bm.screen==d||bm.screen==f){s.MAIN_WINDOW.changeScreen(websynapse.reports.ReportList,bm);}else {s.MAIN_WINDOW.homeScreen();};var bl=0;for(var i=0;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.__Vs=!qx.core.Environment.get(X);if(cD!=null){this.setValue(cD);};this.getContentElement().addListener(bO,this._onChangeContent,this);if(this.__Vs){this.addListener(B,this._syncPlaceholder,this);}else {qx.ui.form.AbstractField.__Vr();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:{__Be:true,_placeholder:null,__RQ:null,__RR:null,__Vs:true,__Up:null,__Us: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.__Vs){if(this.__Vs){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.__Vs){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.__Vs){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.__Vs){if(cS){this._showPlaceholder();}else {this._removePlaceholder();};}else {var cQ=this.getContentElement();cQ.setAttribute(bW,cS?this.getPlaceholder():cm);};},__Vt:{width:16,height:16},_getContentHint:function(){return {width:this.__Vt.width*10,height:this.__Vt.height||16};},_applyFont:function(cV,cU){if(cU&&this.__Up&&this.__Us){this.__Up.removeListenerById(this.__Us);this.__Us=null;};var cT;if(cV){this.__Up=qx.theme.manager.Font.getInstance().resolve(cV);if(this.__Up instanceof qx.bom.webfonts.WebFont){this.__Us=this.__Up.addListener(C,this._onWebFontStatusChange,this);};cT=this.__Up.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.__Vs){delete cT[F];this._getPlaceholderElement().setStyles(cT);};if(cV){this.__Vt=qx.bom.Label.getTextSize(D,cT);}else {delete this.__Vt;};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.__Vt;},_onHtmlInput:function(e){var dd=e.getData();var dc=true;this.__Be=false;if(this.__RR&&this.__RR===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.__RR);this.__RR=dd;if(this.getLiveUpdate()){this.__Vu(dd);};};},_onWebFontStatusChange:function(dh){if(dh.getData().valid===true){var dg=this.__Up.getStyles();this.__Vt=qx.bom.Label.getTextSize(D,dg);qx.ui.core.queue.Layout.add(this);};},__Vu:function(dj){var di=this.__RQ;this.__RQ=dj;if(di!=dj){this.fireNonBubblingEvent(c,qx.event.type.Data,[dj,di]);};},setValue:function(dn){if(dn===null){if(this.__Be){return dn;};dn=cm;this.__Be=true;}else {this.__Be=false;if(this.__Vs){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.__Be?null:dn;this.__RQ=dk;this.__Vu(dl);this.__RR=this.__RQ;};if(this.__Vs){this._showPlaceholder();};return dn;};throw new Error(J+dn);},getValue:function(){var dp=this.getContentElement().getValue();return this.__Be?null:dp;},resetValue:function(){this.setValue(null);},_onChangeContent:function(e){this.__Be=e.getData()===null;this.__Vu(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.__Vs){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.__Vs){this._getPlaceholderElement().setStyle(cv,Y);};this.removeState(j);};},_syncPlaceholder:function(){if(this.hasState(j)&&this.__Vs){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":n,"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.__Vs&&qx.ui.form.AbstractField.__Mx){qx.bom.Stylesheet.removeSheet(qx.ui.form.AbstractField.__Mx);qx.ui.form.AbstractField.__Mx=null;qx.ui.form.AbstractField.__Vr();};},_applyPlaceholder:function(dx,dw){if(this.__Vs){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+u;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.__Up=null;if(qx.core.Environment.get(s)){qx.locale.Manager.getInstance().removeListener(cg,this._onChangeLocale,this);};if(this.__Up&&this.__Us){this.__Up.removeListenerById(this.__Us);};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.__Ex=s;},members:{__Ex:null,__Vv:null,__Vw:null,_createDomElement:function(){return qx.bom.Input.create(this.__Ex);},_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.__Vw=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.__Vv?null:d});};};},setSelectable:qx.core.Environment.select(a,{"webkit":function(x){this.__Vv=x;qx.html.Element.prototype.setSelectable.call(this,this.__Vw&&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.__Ex===n){this._setProperty(c,C,D);}else {throw new Error(e);};return this;},getWrap:function(){if(this.__Ex===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:{__SE:{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;i0){return o;}else if(y.bottom<=x&&y.bottom>0){return g;}else {return null;};},_getAxis:function(A){if(this.__XC.indexOf(A)!==-1){return a;}else if(this.__XD.indexOf(A)!==-1){return q;}else {throw new Error(l+A+f);};},_getThresholdByEdgeType:function(B){if(this.__XC.indexOf(B)!==-1){return this.getDragScrollThresholdX();}else if(this.__XD.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.__XE.stop();};S.scrollBy(R);},__XF:function(e){if(this.__XE){this.__XE.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.__XE){this.__XE.dispose();};this.__XE=new qx.event.Timer(50);this.__XE.addListener(h,function(be,bg,bf){this._scrollBy(be,bg,bf);}.bind(this,U,bd,bb));this.__XE.start();e.stopPropagation();return;}else {U=this._findScrollableParent(U);};};},__XG:function(e){if(this.__XE){this.__XE.stop();};}},destruct:function(){if(this.__XE){this.__XE.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.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="__XI",b="qx.ui.core.scroll.NativeScrollBar",c="px",d="PositiveNumber",f="frame",g="end",h="box-sizing",i="Integer",j="track",k="browser.name",l="hidden",m="content-box",n="pointerup",o="vertical",p="_applyOrientation",q="scrollAnimationEnd",r="appear",s="pointerdown",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(b,{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(s,this._stopPropagation,this);this.addListener(n,this._stopPropagation,this);this.addListener(D,this._stopPropagation,this);this.addListener(r,this._onAppear,this);this.getContentElement().add(this._getScrollPaneElement());this.getContentElement().setStyle(h,m);if(G!=null){this.setOrientation(G);}else {this.initOrientation();};this.addListener(j,function(e){e.stopPropagation();},this);},events:{scrollAnimationEnd:u},properties:{appearance:{refine:true,init:B},orientation:{check:[x,o],init:x,apply:p},maximum:{check:t,apply:C,init:100},position:{check:y,init:0,apply:A,event:F},singleStep:{check:i,init:20},knobFactor:{check:d,nullable:true}},members:{__XH:null,__XI:null,__Tm:null,__XJ:null,_getScrollPaneElement:function(){if(!this.__XI){this.__XI=new qx.html.Element();};return this.__XI;},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.__XH?100:L,maxWidth:this.__XH?null:L,minWidth:this.__XH?null:L,height:this.__XH?L:100,maxHeight:this.__XH?L:null,minHeight:this.__XH?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.__XH){content.scrollToX(P);}else {content.scrollToY(P);};},_applyOrientation:function(S,Q){var R=this.__XH=S===x;this.set({allowGrowX:R,allowShrinkX:R,allowGrowY:!R,allowShrinkY:!R});if(R){this.replaceState(o,x);}else {this.replaceState(x,o);};this.getContentElement().setStyles({overflowX:R?F:l,overflowY:R?l:F});qx.ui.core.queue.Layout.add(this);},_updateScrollBar:function(){var U=this.__XH;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(k)==z){var V=this.getBounds();this.getContentElement().setStyles({left:(U?V.left:(V.left-1))+c,top:(U?(V.top-1):V.top)+c,width:(U?V.width:V.width+1)+c,height:(U?V.height+1:V.height)+c});};this._getScrollPaneElement().setStyles({left:0,top:0,width:(U?T:1)+c,height:(U?1:T)+c});this.updatePosition(this.getPosition());},scrollTo:function(Y,X){this.stopScrollAnimation();if(X){var ba=this.getPosition();this.__XJ=new qx.bom.AnimationFrame();this.__XJ.on(f,function(bc){var bb=parseInt(bc/X*(Y-ba)+ba);this.updatePosition(bb);},this);this.__XJ.on(g,function(){this.setPosition(Math.max(0,Math.min(this.getMaximum(),Y)));this.__XJ=null;this.fireEvent(q);},this);this.__XJ.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.__XJ){this.__XJ.cancelSequence();this.__XJ=null;};},_onScroll:function(e){var bj=this.getContentElement();var bk=this.__XH?bj.getScrollX():bj.getScrollY();this.setPosition(bk);},_onAppear:function(e){this._applyPosition(this.getPosition());},_stopPropagation:function(e){e.stopPropagation();}},destruct:function(){this._disposeObjects(a);}});})();(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:{__XK:2,__XL:0,_computeSizeHint:function(){var H=qx.ui.core.Widget.prototype._computeSizeHint.call(this);if(this.getOrientation()===x){this.__XL=H.minWidth;H.minWidth=0;}else {this.__XL=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.__XL>=(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.__XP){return;};var bw=this.__XH;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.__XM=qx.bom.element.Location.get(this.getContentElement().getDomElement())[bv];bB+=by;var bx=this.__XN=qx.bom.element.Location.get(bu.getContentElement().getDomElement())[bv];if(e.getTarget()===bu){this.__XP=true;if(!this.__XU){this.__XU=new qx.event.Timer(100);this.__XU.addListener(r,this._fireValue,this);};this.__XU.start();this.__XQ=bA+bB-bx;bu.addState(c);}else {this.__XR=true;this.__XS=bA<=bx?-1:1;this.__XY(e);this._onInterval();if(!this.__Mj){this.__Mj=new qx.event.Timer(100);this.__Mj.addListener(r,this._onInterval,this);};this.__Mj.start();};this.addListener(w,this._onPointerMove);this.capture();e.stopPropagation();},_onPointerUp:function(e){if(this.__XP){this.releaseCapture();delete this.__XP;this.__XU.stop();this._fireValue();delete this.__XQ;this.getChildControl(P).removeState(c);if(e.getType()===B){var bE;var bF;var bD;if(this.__XH){bE=e.getDocumentLeft()-(this._valueToPosition(this.getValue())+this.__XM);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.__XM);bD=qx.bom.element.Location.get(this.getContentElement().getDomElement())[G];bF=e.getDocumentLeft()-(bD+this.getChildControl(P).getBounds().left);};if(bF<0||bF>this.__XO||bE<0||bE>this.__XO){this.getChildControl(P).removeState(b);};};}else if(this.__XR){this.__Mj.stop();this.releaseCapture();delete this.__XR;delete this.__XS;delete this.__XT;};this.removeListener(w,this._onPointerMove);if(e.getType()===B){e.stopPropagation();};},_onPointerMove:function(e){if(this.__XP){var bH=this.__XH?e.getDocumentLeft():e.getDocumentTop();var bG=bH-this.__XQ;this.slideTo(this._positionToValue(bG));}else if(this.__XR){this.__XY(e);};e.stopPropagation();},_onInterval:function(e){var bI=this.getValue()+(this.__XS*this.getPageStep());if(bIthis.getMaximum()){bI=this.getMaximum();};var bJ=this.__XS==-1;if((bJ&&bI<=this.__XT)||(!bJ&&bI>=this.__XT)){bI=this.__XT;};this.slideTo(bI);},_onUpdate:function(e){var bL=this.getInnerSize();var bM=this.getChildControl(P).getBounds();var bK=this.__XH?E:x;this._updateKnobSize();this.__XX=bL[bK]-bM[bK];this.__XO=bM[bK];this._updateKnobPosition();},__XH:false,__XX:0,__XY:function(e){var bN=this.__XH;var bU=bN?e.getDocumentLeft():e.getDocumentTop();var bX=this.__XM;var bO=this.__XN;var bY=this.__XO;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.__XS<0?I:Q;bR=bW+(Math[bS]((bR-bW)/bT)*bT);};if(this.__XT==null||(this.__XS==-1&&bR<=this.__XT)||(this.__XS==1&&bR>=this.__XT)){this.__XT=bR;};},_positionToValue:function(cb){var ca=this.__XX;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.__XX;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.__XH){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.__XH){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.__Yb(cu,ct);}else {this.updatePosition(cu);};},updatePosition:function(cv){this.setValue(this.__Ya(cv));},stopSlideAnimation:function(){if(this.__XJ){this.__XJ.cancelSequence();this.__XJ=null;};},__Ya:function(cw){if(cwthis.getMaximum()){cw=this.getMaximum();}else {cw=this.getMinimum()+Math.round((cw-this.getMinimum())/this.getSingleStep())*this.getSingleStep();};return cw;},__Yb:function(cy,cx){cy=this.__Ya(cy);var cz=this.getValue();this.__XJ=new qx.bom.AnimationFrame();this.__XJ.on(i,function(cA){this.setValue(parseInt(cA/cx*(cy-cz)+cz));},this);this.__XJ.on(j,function(){this.setValue(cy);this.__XJ=null;this.fireEvent(O);},this);this.__XJ.startSequence(cx);},_applyOrientation:function(cD,cC){var cB=this.getChildControl(P);this.__XH=cD===N;if(this.__XH){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.__XH){this.getChildControl(P).resetWidth();}else {this.getChildControl(P).resetHeight();};};},_applyValue:function(cH,cG){if(cH!=null){this._updateKnobPosition();if(this.__XP){this.__XW=[cH,cG];}else {this.fireEvent(h,qx.event.type.Data,[cH,cG]);};}else {this.resetValue();};},_fireValue:function(){if(!this.__XW){return;};var cI=this.__XW;this.__XW=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="press",b="hovered",c="qx.ui.form.RepeatButton",d="release",f="Enter",g="pressed",h="interval",i="__Mj",j="qx.event.type.Event",k="Space",l="abandoned",m="Integer",n="execute";qx.Class.define(c,{extend:qx.ui.form.Button,construct:function(o,p){qx.ui.form.Button.call(this,o,p);this.__Mj=new qx.event.AcceleratingTimer();this.__Mj.addListener(h,this._onInterval,this);},events:{"execute":j,"press":j,"release":j},properties:{interval:{check:m,init:100},firstInterval:{check:m,init:500},minTimer:{check:m,init:20},timerDecrease:{check:m,init:2}},members:{__Yc:null,__Mj:null,press:function(){if(this.isEnabled()){if(!this.hasState(g)){this.__Yd();};this.removeState(l);this.addState(g);};},release:function(q){if(!this.isEnabled()){return;};if(this.hasState(g)){if(!this.__Yc){this.execute();};};this.removeState(g);this.removeState(l);this.__Ye();},_applyEnabled:function(s,r){qx.ui.form.Button.prototype._applyEnabled.call(this,s,r);if(!s){if(this.isCapturing()){this.releaseCapture();};this.removeState(g);this.removeState(l);this.__Ye();};},_onPointerOver:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;};if(this.hasState(l)){this.removeState(l);this.addState(g);this.__Mj.start();};this.addState(b);},_onPointerOut:function(e){if(!this.isEnabled()||e.getTarget()!==this){return;};this.removeState(b);if(this.hasState(g)){this.removeState(g);this.addState(l);this.__Mj.stop();};},_onPointerDown:function(e){if(!e.isLeftPressed()){return;};this.capture();this.__Yd();e.stopPropagation();},_onPointerUp:function(e){this.releaseCapture();if(!this.hasState(l)){this.addState(b);if(this.hasState(g)&&!this.__Yc){this.execute();};};this.__Ye();e.stopPropagation();},_onTap:function(e){},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case f:case k:if(this.hasState(g)){if(!this.__Yc){this.execute();};this.removeState(g);this.removeState(l);e.stopPropagation();this.__Ye();};};},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case f:case k:this.removeState(l);this.addState(g);e.stopPropagation();this.__Yd();};},_onInterval:function(e){this.__Yc=true;this.fireEvent(n);},__Yd:function(){this.fireEvent(a);this.__Yc=false;this.__Mj.set({interval:this.getInterval(),firstInterval:this.getFirstInterval(),minimum:this.getMinTimer(),decrease:this.getTimerDecrease()}).start();this.removeState(l);this.addState(g);},__Ye:function(){this.fireEvent(d);this.__Mj.stop();this.removeState(l);this.removeState(g);}},destruct:function(){this._disposeObjects(i);}});})();(function(){var a="Integer",b="interval",c="qx.event.type.Event",d="qx.event.AcceleratingTimer",e="__Mj";qx.Class.define(d,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__Mj=new qx.event.Timer(this.getInterval());this.__Mj.addListener(b,this._onInterval,this);},events:{"interval":c},properties:{interval:{check:a,init:100},firstInterval:{check:a,init:500},minimum:{check:a,init:20},decrease:{check:a,init:2}},members:{__Mj:null,__Yf:null,start:function(){this.__Mj.setInterval(this.getFirstInterval());this.__Mj.start();},stop:function(){this.__Mj.stop();this.__Yf=null;},_onInterval:function(){this.__Mj.stop();if(this.__Yf==null){this.__Yf=this.getInterval();};this.__Yf=Math.max(this.getMinimum(),this.__Yf-this.getDecrease());this.__Mj.setInterval(this.__Yf);this.__Mj.start();this.fireEvent(b);}},destruct:function(){this._disposeObjects(e);}});})();(function(){var a="_applyStatusBarVisible",b="columnVisibilityMenuCreateStart",c="function",d="blur",f="qx.ui.table.Table",g="Boolean",h="_applyFocusCellOnPointerMove",k="columnVisibilityMenuCreateEnd",m="changeVisible",n="verticalScrollBarChanged",o="_applyMetaColumnCounts",p="PageUp",q="focus",r="changeDataRowRenderer",s="dataChanged",t="changeHeaderCellHeight",u="Escape",v="A",w="changeSelectionModel",y="Left",z="Down",A="Integer",B="_applyHeaderCellHeight",C="Up",D="qx.event.type.Data",E="statusbar",F="Function",G="menu",H="qx.ui.table.ITableModel",I="column-button",J="_applySelectionModel",K="changeLocale",L="__baT",M="menu-button",N="_applyResetSelectionOnHeaderTap",O="_applyAdditionalStatusBarText",P="table",Q="_applyColumnVisibilityButtonVisible",R="__baM",S="changeTableModel",T="qx.event.type.Event",U="tableWidthChanged",V="changeSelection",W="_applyHeaderCellsVisible",X="Object",Y="_applyShowCellFocusIndicator",bQ="__baV",bR="resize",bS="changeScrollY",bM="_applyTableModel",bN="End",bO="_applyKeepFirstVisibleRowComplete",bP="widthChanged",bW="one of one row",bX="Home",bY="_applyRowHeight",cs="F2",bT="appear",bU="__Mj",bV="visibilityChanged",bJ="qx.dynlocale",cq="%1 rows",bL="qx.ui.table.selection.Model",cc='"',cd="one row",bK="PageDown",ca="%1 of %2 rows",ck="__baU",cb="keypress",ce="changeRowHeight",cf="Enter",cg="Number",cl="metaDataChanged",cm="header",cp="_applyContextMenuFromDataCellsOnly",cr="qx.ui.table.IRowRenderer",ch="__baN",ci="Right",cj="orderChanged",cn="qx.ui.table.pane.CellEvent",co="Space";qx.Class.define(f,{extend:qx.ui.core.Widget,include:qx.ui.core.MDragDropScrolling,construct:function(ct,cv){qx.ui.core.Widget.call(this);if(!cv){cv={};};if(cv.initiallyHiddenColumns){this.setInitiallyHiddenColumns(cv.initiallyHiddenColumns);};if(cv.selectionManager){this.setNewSelectionManager(cv.selectionManager);};if(cv.selectionModel){this.setNewSelectionModel(cv.selectionModel);};if(cv.tableColumnModel){this.setNewTableColumnModel(cv.tableColumnModel);};if(cv.tablePane){this.setNewTablePane(cv.tablePane);};if(cv.tablePaneHeader){this.setNewTablePaneHeader(cv.tablePaneHeader);};if(cv.tablePaneScroller){this.setNewTablePaneScroller(cv.tablePaneScroller);};if(cv.tablePaneModel){this.setNewTablePaneModel(cv.tablePaneModel);};if(cv.columnMenu){this.setNewColumnMenu(cv.columnMenu);};this._setLayout(new qx.ui.layout.VBox());this.__baM=new qx.ui.container.Composite(new qx.ui.layout.HBox());this._add(this.__baM,{flex:1});this.setDataRowRenderer(new qx.ui.table.rowrenderer.Default(this));this.__baN=this.getNewSelectionManager()(this);this.setSelectionModel(this.getNewSelectionModel()(this));this.setTableModel(ct||this.getEmptyTableModel());this.setMetaColumnCounts([-1]);this.setTabIndex(1);this.addListener(cb,this._onKeyPress);this.addListener(q,this._onFocusChanged);this.addListener(d,this._onFocusChanged);var cu=new qx.ui.core.Widget().set({height:0});this._add(cu);cu.addListener(bR,this._onResize,this);this.__baO=null;this.__baP=null;if(qx.core.Environment.get(bJ)){qx.locale.Manager.getInstance().addListener(K,this._onChangeLocale,this);};this.initStatusBarVisible();ct=this.getTableModel();if(ct.init&&typeof (ct.init)==c){ct.init(this);};},events:{"columnVisibilityMenuCreateStart":D,"columnVisibilityMenuCreateEnd":D,"tableWidthChanged":T,"verticalScrollBarChanged":D,"cellTap":cn,"cellDbltap":cn,"cellContextmenu":cn,"dataEdited":D},statics:{__baQ:{cellTap:1,cellDbltap:1,cellContextmenu:1}},properties:{appearance:{refine:true,init:P},focusable:{refine:true,init:true},minWidth:{refine:true,init:50},initiallyHiddenColumns:{init:null},selectable:{refine:true,init:false},selectionModel:{check:bL,apply:J,event:w},tableModel:{check:H,apply:bM,event:S},rowHeight:{check:cg,init:20,apply:bY,event:ce,themeable:true},forceLineHeight:{check:g,init:true},headerCellsVisible:{check:g,init:true,apply:W,themeable:true},headerCellHeight:{check:A,init:16,apply:B,event:t,nullable:true,themeable:true},statusBarVisible:{check:g,init:true,apply:a},additionalStatusBarText:{nullable:true,init:null,apply:O},columnVisibilityButtonVisible:{check:g,init:true,apply:Q,themeable:true},metaColumnCounts:{check:X,apply:o},focusCellOnPointerMove:{check:g,init:false,apply:h},rowFocusChangeModifiesSelection:{check:g,init:true},showCellFocusIndicator:{check:g,init:true,apply:Y},contextMenuFromDataCellsOnly:{check:g,init:true,apply:cp},keepFirstVisibleRowComplete:{check:g,init:true,apply:bO},alwaysUpdateCells:{check:g,init:false},resetSelectionOnHeaderTap:{check:g,init:true,apply:N},dataRowRenderer:{check:cr,init:null,nullable:true,event:r},modalCellEditorPreOpenFunction:{check:F,init:null,nullable:true},newColumnMenu:{check:F,init:function(){return new qx.ui.table.columnmenu.Button();}},newSelectionManager:{check:F,init:function(cw){return new qx.ui.table.selection.Manager(cw);}},newSelectionModel:{check:F,init:function(cx){return new qx.ui.table.selection.Model(cx);}},newTableColumnModel:{check:F,init:function(cy){return new qx.ui.table.columnmodel.Basic(cy);}},newTablePane:{check:F,init:function(cz){return new qx.ui.table.pane.Pane(cz);}},newTablePaneHeader:{check:F,init:function(cA){return new qx.ui.table.pane.Header(cA);}},newTablePaneScroller:{check:F,init:function(cB){return new qx.ui.table.pane.Scroller(cB);}},newTablePaneModel:{check:F,init:function(cC){return new qx.ui.table.pane.Model(cC);}}},members:{__baO:null,__baP:null,__baM:null,__baN:null,__baR:null,__baS:null,__baF:null,__baT:null,__baU:null,__baV:null,__baW:null,__Mj:null,_createChildControlImpl:function(cG,cF){var cD;switch(cG){case E:cD=new qx.ui.basic.Label();cD.set({allowGrowX:true});this._add(cD);break;case I:cD=this.getNewColumnMenu()();cD.set({focusable:false});var cE=cD.factory(G,{table:this});cE.addListener(bT,this._initColumnMenu,this);break;};return cD||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,cG);},_applySelectionModel:function(cI,cH){this.__baN.setSelectionModel(cI);if(cH!=null){cH.removeListener(V,this._onSelectionChanged,this);};cI.addListener(V,this._onSelectionChanged,this);},_applyRowHeight:function(cL,cK){var cJ=this._getPaneScrollerArr();for(var i=0;idj){var dr=qx.event.Registration.getManager(dg[0]);for(var di in qx.ui.table.Table.__baQ){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.__baP<(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.__baN.handleSelectKeyDown(this.__baP,ep);break;case cs:case cf:this.startEditing();ek=true;break;case bX:this.setFocusedCell(this.__baO,0,true);break;case bN:var el=this.getTableModel().getRowCount();this.setFocusedCell(this.__baO,el-1,true);break;case y:this.moveFocusedCell(-1,0);break;case ci:this.moveFocusedCell(1,0);break;case C:this.moveFocusedCell(0,-1);break;case z:this.moveFocusedCell(0,1);break;case p:case bK: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.__baP&&this.getRowFocusChangeModifiesSelection()){this.__baN.handleMoveKeyDown(this.__baP,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(cd,cq,fo,fo);}else {fp=this.trn(bW,ca,fo,fn,fo);};};if(this.__baR){if(fp){fp+=this.__baR;}else {fp=this.__baR;};};if(fp){this.getChildControl(E).setValue(fp);};};},_updateScrollerWidths:function(){var fq=this._getPaneScrollerArr();for(var i=0;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.__Yj;for(var i=0;i=0;i-- ){N[i].exclude();};};},getActiveMenu:function(){var O=this.__Yj;return O.length>0?O[O.length-1]:null;},scheduleOpen:function(P){this.cancelClose(P);if(P.isVisible()){if(this.__bbc){this.cancelOpen(this.__bbc);};}else if(this.__bbc!=P){this.__bbc=P;this.__bba.restartWith(P.getOpenInterval());};},scheduleClose:function(Q){this.cancelOpen(Q);if(!Q.isVisible()){if(this.__bbd){this.cancelClose(this.__bbd);};}else if(this.__bbd!=Q){this.__bbd=Q;this.__bbb.restartWith(Q.getCloseInterval());};},cancelOpen:function(R){if(this.__bbc==R){this.__bba.stop();this.__bbc=null;};},cancelClose:function(S){if(this.__bbd==S){this.__bbb.stop();this.__bbd=null;};},_onOpenInterval:function(e){this.__bba.stop();this.__bbc.open();this.__bbc=null;},_onCloseInterval:function(e){this.__bbb.stop();this.__bbd.exclude();this.__bbd=null;},preventContextMenuOnce:function(){qx.event.Registration.addListener(document.body,g,this.__bbe,this,true);},__bbe: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.__bbe,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.__Yj.length>0&&!this._isInMenu(U)){this.hideAll();};},__bbf:{"Enter":1,"Space":1},__Xz:{"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.__Xz[W]||(this.__bbf[W]&&V.getSelectedButton())){e.stopPropagation();};},_onKeyPress:function(e){var ba=this.getActiveMenu();if(!ba){return;};var X=e.getKeyIdentifier();var bc=this.__Xz[X];var Y=this.__bbf[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.__Yj.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,q);this._disposeArray(f);}});})();(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="_applyOpenInterval",y="Unknown target: ",z="_applySpacingX",A="_applyBlockerOpacity",B="Could not open menu instance because 'opener' widget is not visible",C="_applyArrowColumnWidth",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:C},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:x},closeInterval:{check:g,themeable:true,init:250,apply:p},blockBackground:{check:a,themeable:true,init:false}},members:{__bbg:null,__bbh:null,_blocker:null,open:function(){if(this.getOpener()!=null){var F=this.placeToWidget(this.getOpener(),true);if(F){this.__bbj();this.show();this._placementTarget=this.getOpener();}else {this.warn(B);};}else {this.warn(r);};},openAtPointer:function(e){this.placeToPointer(e);this.__bbj();this.show();this._placementTarget={left:e.getDocumentLeft(),top:e.getDocumentTop()};},openAtPoint:function(G){this.placeToPoint(G);this.__bbj();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.__bbh=bp;qx.ui.core.queue.Widget.add(this);},syncWidget:function(bq){this.getChildControl(h);if(this.__bbh){this.__bbh.call(this);delete this.__bbh;};},_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.__bbj();};},_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.__bbg=bs;}else {var bv=this.getOpenedButton();if(bv){bt.scheduleClose(bv.getMenu());};if(this.__bbg){bt.cancelOpen(this.__bbg);this.__bbg=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.__bbg){bw.cancelOpen(this.__bbg);};};}},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:{__bbk:null,_computeSizeHint:function(){var q=this._getLayoutChildren();var o,g,k;var e=this.getSpanColumn();var j=this.__bbk=[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;};};},__bbl: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;i0&&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(TM){O=M;};this.stopScrollAnimation();if(L){var N=this.getScrollX();this.__WI=new qx.bom.AnimationFrame();this.__WI.on(o,function(){this.setScrollX(O);this.__WI=null;this.fireEvent(c);},this);this.__WI.on(i,function(Q){var P=parseInt(Q/L*(O-N)+N);this.setScrollX(P);},this);this.__WI.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.__WI=new qx.bom.AnimationFrame();this.__WI.on(o,function(){this.setScrollY(U);this.__WI=null;this.fireEvent(c);},this);this.__WI.on(i,function(W){var V=parseInt(W/R*(U-T)+T);this.setScrollY(V);},this);this.__WI.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.__WI){this.__WI.cancelSequence();this.__WI=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;iF);}else if(this.__bbm.length>0){do {var Q=this.__bbm[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.__bbm.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.__bbo(Q);G+=I;if(E&&this.__bbm.length==0){E.setVisibility(y);};}else {return;};};}while(F>=G&&this.__bbm.length>0);};},__bbo:function(R){R.setVisibility(o);this.__bbm.shift();this.fireDataEvent(m,R);},__bbp:function(S){if(!S){return;};this.__bbm.unshift(S);S.setVisibility(y);this.fireDataEvent(A,S);},_getNextToHide:function(){for(var i=this.__bbn.length-1;i>=0;i-- ){var T=this.__bbn[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.__bbn[W]!=undefined){throw new Error(v);};this.__bbn[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;i0;},getAnchorSelectionIndex:function(){return this.__bbu;},_setAnchorSelectionIndex:function(o){this.__bbu=o;},getLeadSelectionIndex:function(){return this.__bbv;},_setLeadSelectionIndex:function(p){this.__bbv=p;},_getSelectedRangeArr:function(){return this.__bbt;},resetSelection:function(){if(!this.isSelectionEmpty()){this._resetSelection();this._fireChangeSelection();};},isSelectionEmpty:function(){return this.__bbt.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.__bbt.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.__bbt.splice(i+1,0,I);J.maxIndex=D-1;break;};};};this._fireChangeSelection();},_resetSelection:function(){this.__bbt=[];this.__bbu=-1;this.__bbv=-1;},_addSelectionInterval:function(O,M){this.__bbu=O;this.__bbv=M;var L=Math.min(O,M);var P=Math.max(O,M);var N=0;for(;NL){break;};};this.__bbt.splice(N,0,{minIndex:L,maxIndex:P});var R=this.__bbt[0];for(var i=1;i=Q.minIndex){R.maxIndex=Math.max(R.maxIndex,Q.maxIndex);this.__bbt.splice(i,1);i-- ;}else {R=Q;};};},_dumpRanges:function(){var S=h;for(var i=0;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="-",b="Boolean",c='{0,1}[0-9]{3}){0,}){0,1}',d=")?$",e="Number string '",f="' does not match the number format",g="Wrong argument type. String is expected.",h="0",i="^(",j="changeLocale",k=')?([-+]){0,1}',l='(',m="-Infinity",n="String",o="",p='\\d+){0,1}(',q='([0-9]{1,3}(?:',r="g",s="qx.util.format.NumberFormat",t="qx.dynlocale",u="locale",v="Wrong number of arguments.",w="Number",x="NaN",y="changeNumberFormat",z=".",A="Infinity";qx.Class.define(s,{extend:qx.core.Object,implement:qx.util.format.IFormat,construct:function(B){qx.core.Object.call(this);if(arguments.length>0){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="cldr_number_decimal_separator",b="cldr_number_percent_format",c="qx.locale.Number",d="cldr_number_group_separator";qx.Class.define(c,{statics:{getDecimalSeparator:function(e){return qx.locale.Manager.getInstance().localize(a,[],e);},getGroupSeparator:function(f){return qx.locale.Manager.getInstance().localize(d,[],f);},getPercentFormat:function(g){return qx.locale.Manager.getInstance().localize(b,[],g);}}});})();(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="__bbD",b="__bbE",c="visibilityChanged",d="__bbC",e="orderChanged",f="widthChanged",g="qx.ui.table.columnmodel.Basic",h=". The column is not added to this TablePaneModel.",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(g,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__bby=[];this.__bbz=[];},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:{__baF:null,__bbA:null,__bbz:null,__bby:null,__bbB:null,__bbC:null,__bbD:null,__bbE:null,init:function(s,v){{};this.__bbB=[];var r=qx.ui.table.columnmodel.Basic.DEFAULT_WIDTH;var t=this.__bbC||(this.__bbC=new qx.ui.table.columnmodel.Basic.DEFAULT_HEADER_RENDERER());var q=this.__bbD||(this.__bbD=new qx.ui.table.columnmodel.Basic.DEFAULT_DATA_RENDERER());var p=this.__bbE||(this.__bbE=new qx.ui.table.columnmodel.Basic.DEFAULT_EDITOR_FACTORY());this.__bby=[];this.__bbz=[];var u;if(v){u=v.getInitiallyHiddenColumns();};u=u||[];for(var z=0;z=T&&U=Y&&Y!==-1){this.__bbK();};},__bbK:function(){this.__bbH=[];this.__bbJ=0;},__bbL:function(bc,ba,bb){if(!ba&&!bb&&this.__bbH[bc]){return this.__bbH[bc];}else {return null;};},__bbM:function(bh,bg,be,bf){var bd=this.getMaxCacheLines();if(!be&&!bf&&!this.__bbH[bh]&&bd>0){this._applyMaxCacheLines(bd);this.__bbH[bh]=bg;this.__bbJ+=1;};},updateContent:function(bi,bl,bk,bj){if(bi){this.__bbK();};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.__bbI){this.__bbI=document.createElement(g);};var ck=a;ck+=this._getRowsHtml(ci+ce,Math.abs(cn));ck+=e;this.__bbI.innerHTML=ck;var cj=this.__bbI.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.__baP!==null){this._updateRowStyles(this.__baP-cn);this._updateRowStyles(this.__baP);};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.__bbG=cx;this.__baS=cr;this.fireEvent(t);}},destruct:function(){this.__bbI=this.__bbF=this.__bbH=null;this.removeListener(k,this._onTrack,this);}});})();(function(){var a="first",b="hovered",c="__bbF",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.__YC=new qx.ui.core.Blocker(this);this.__bbF=f;},members:{__bbF:null,__bbN:null,__bbO:null,__YC:null,getPaneScroller:function(){return this.__bbF;},getTable:function(){return this.__bbF.getTable();},getBlocker:function(){return this.__YC;},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.__bbO){if(this.__bbO!=null){var k=this.getHeaderWidgetAtColumn(this.__bbO);if(k!=null){k.removeState(b);};};if(l!=null){this.getHeaderWidgetAtColumn(l).addState(b);};this.__bbO=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.__bbN==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.__bbN=p;};this.__bbN.setLayoutProperties({left:r.left+x});this.__bbN.show();},hideColumnMoveFeedback:function(){if(this.__bbN!=null){this.__bbN.destroy();this.__bbN=null;};},isShowingColumnMoveFeedback:function(){return this.__bbN!=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.__YC.dispose();this._disposeObjects(c);}});})();(function(){var a="changeScrollX",b="Boolean",c="scroll",d="focus-indicator",g="_paneClipper",h="__bbP",i="changeHorizontalScrollBarVisible",j="cellDbltap",k="excluded",l="__bbQ",m="bottom",n="_applyScrollTimeout",o="_applyTablePaneModel",p="Integer",q="cellTap",r="roll",s="qx.event.type.Data",t="dblclick",u="dataEdited",v="__bbT",w="mouse",y="changeVerticalScrollBarVisible",z="interval",A="qx.ui.table.pane.Scroller",B="scrollbar-y",C="table-scroller-focus-indicator",D="_headerClipper",E="__bbU",F="visible",G="__bbS",H="resize-line",I="_applyShowCellFocusIndicator",J="header",K="dbltap",L="resize",M="pointerup",N="vertical",O="changeScrollY",P="device.type",Q="os.scrollBarOverlayed",R="pointerdown",S="modelChanged",T="changeTablePaneModel",U="beforeSort",V="scrollbar-x",W="__Mj",X="cellContextmenu",Y="horizontal",bz="table-scroller",bA="appear",bB="losecapture",bv="contextmenu",bw="__bbR",bx="col-resize",by="disappear",bF="_applyVerticalScrollBarVisible",bG="_applyHorizontalScrollBarVisible",bH="editing",bL="pane",bC="desktop",bD="close",bE="tap",bt="pointermove",bK="__bbV",bu="qx.ui.table.pane.Model",bI="qx.ui.table.pane.CellEvent",bJ="pointerout";qx.Class.define(A,{extend:qx.ui.core.Widget,include:[qx.ui.core.scroll.MScrollBarFactory],construct:function(bM){qx.ui.core.Widget.call(this);this.__bR=bM;var bN=new qx.ui.layout.Grid();bN.setColumnFlex(0,1);bN.setRowFlex(1,1);this._setLayout(bN);this.__bbP=this._showChildControl(J);this.__bbQ=this._showChildControl(bL);this.__bbR=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({minWidth:0});this._add(this.__bbR,{row:0,column:0,colSpan:2});this._headerClipper=this._createHeaderClipper();this._headerClipper.add(this.__bbP);this._headerClipper.addListener(bB,this._onChangeCaptureHeader,this);this._headerClipper.addListener(bt,this._onPointermoveHeader,this);this._headerClipper.addListener(R,this._onPointerdownHeader,this);this._headerClipper.addListener(M,this._onPointerupHeader,this);this._headerClipper.addListener(bE,this._onTapHeader,this);this.__bbR.add(this._headerClipper,{flex:1});this._paneClipper=this._createPaneClipper();this._paneClipper.add(this.__bbQ);this._paneClipper.addListener(r,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(bv,this._onTapPane,this);this._paneClipper.addListener(bv,this._onContextMenu,this);if(qx.core.Environment.get(P)===bC){this._paneClipper.addListener(t,this._onDbltapPane,this);}else {this._paneClipper.addListener(K,this._onDbltapPane,this);};this._paneClipper.addListener(L,this._onResizePane,this);if(qx.core.Environment.get(Q)){this.__bbS=new qx.ui.container.Composite();this.__bbS.setLayout(new qx.ui.layout.Canvas());this.__bbS.add(this._paneClipper,{edge:0});this._add(this.__bbS,{row:1,column:0});}else {this._add(this._paneClipper,{row:1,column:0});};this.__bbT=this._showChildControl(V);this.__bbU=this._showChildControl(B);this.__bbV=this.getChildControl(d);this.initShowCellFocusIndicator();this.getChildControl(H).hide();this.addListener(bJ,this._onPointerout,this);this.addListener(bA,this._onAppear,this);this.addListener(by,this._onDisappear,this);this.__Mj=new qx.event.Timer();this.__Mj.addListener(z,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":s,"changeScrollX":s,"cellTap":bI,"cellDbltap":bI,"cellContextmenu":bI,"beforeSort":s},properties:{horizontalScrollBarVisible:{check:b,init:false,apply:bG,event:i},verticalScrollBarVisible:{check:b,init:false,apply:bF,event:y},tablePaneModel:{check:bu,apply:o,event:T},liveResize:{check:b,init:false},focusCellOnPointerMove:{check:b,init:false},selectBeforeFocus:{check:b,init:false},showCellFocusIndicator:{check:b,init:true,apply:I},contextMenuFromDataCellsOnly:{check:b,init:true},resetSelectionOnHeaderTap:{check:b,init:true},scrollTimeout:{check:p,init:100,apply:n},appearance:{refine:true,init:bz}},members:{__baS:null,__bR:null,__bbW:null,__bbX:null,__bbY:null,_moveColumn:null,__bca:null,_lastMoveTargetX:null,_lastMoveTargetScroller:null,__bcb:null,__bcc:null,__bcd:null,__bce:null,__bcf:null,__bcg:false,__bch:null,__bci:null,__bcj:null,__baO:null,__baP:null,_cellEditor:null,__bck:null,__bcl:null,__bbT:null,__bbU:null,__bbP:null,_headerClipper:null,__bbQ:null,_paneClipper:null,__bbS:null,__bbV:null,__bbR:null,__Mj: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.__bbU;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 J:bT=(this.getTable().getNewTablePaneHeader())(this);break;case bL:bT=(this.getTable().getNewTablePane())(this);break;case d:bT=new qx.ui.table.pane.FocusIndicator(this);bT.setUserBounds(0,0,0,0);bT.setZIndex(1000);bT.addListener(M,this._onPointerupFocusIndicator,this);this._paneClipper.add(bT);bT.show();bT.setDecorator(null);break;case H: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(Y).set({alignY:m});bT.addListener(c,this._onScrollX,this);if(this.__bbS!=null){bT.setMinHeight(qx.ui.core.scroll.AbstractScrollArea.DEFAULT_SCROLLBAR_WIDTH);this.__bbS.add(bT,{bottom:0,right:0,left:0});}else {this._add(bT,{row:2,column:0});};break;case B:bT=this._createScrollBar(N);bT.addListener(c,this._onScrollY,this);if(this.__bbS!=null){this.__bbS.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.__bbT.setVisibility(bX?F:k);},_applyVerticalScrollBarVisible:function(ca,bY){this.__bbU.setVisibility(ca?F: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.__bbV.setDecorator(C);this._updateFocusIndicator();}else {if(this.__bbV){this.__bbV.setDecorator(null);};};},getScrollY:function(){return this.__bbU.getPosition();},setScrollY:function(scrollY,cf){this.__bbU.scrollTo(scrollY);if(cf){this._updateContent();};},getScrollX:function(){return this.__bbT.getPosition();},setScrollX:function(scrollX){this.__bbT.scrollTo(scrollX);},getTable:function(){return this.__bR;},_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.__bbP.setColumnWidth(ci,ch);this.__bbQ.setColumnWidth(ci,ch);var cg=this.getTablePaneModel();var x=cg.getX(ci);if(x!=-1){this.updateHorScrollBarMaximum();this._updateFocusIndicator();};},onColOrderChanged:function(){this.__bbP.onColOrderChanged();this.__bbQ.onColOrderChanged();this.updateHorScrollBarMaximum();},onTableModelDataChanged:function(cm,ck,cn,cl){this.__bbQ.onTableModelDataChanged(cm,ck,cn,cl);var cj=this.getTable().getTableModel().getRowCount();if(cj!=this.__baS){this.updateVerScrollBarMaximum();if(this.getFocusedRow()>=cj){if(cj==0){this.setFocusedCell(null,null);}else {this.setFocusedCell(this.getFocusedColumn(),cj-1);};};this.__baS=cj;};},onSelectionChanged:function(){this.__bbQ.onSelectionChanged();},onFocusChanged:function(){this.__bbQ.onFocusChanged();},onTableModelMetaDataChanged:function(){this.__bbP.onTableModelMetaDataChanged();this.__bbQ.onTableModelMetaDataChanged();},_onPaneModelChanged:function(){this.__bbP.onPaneModelChanged();this.__bbQ.onPaneModelChanged();},_onResizePane:function(){this.updateHorScrollBarMaximum();this.updateVerScrollBarMaximum();this._updateContent();this.__bbP._updateContent();this.__bR._updateScrollBarVisibility();},updateHorScrollBarMaximum:function(){var cs=this._paneClipper.getInnerSize();if(!cs){return;};var cp=this.getTablePaneModel().getTotalWidth();var cq=this.__bbT;if(cs.width0&&cE.y<1){cE.y=1;}else if(cE.y<0&&cE.y>-1){cE.y=-1;};this.__bbU.scrollBy(parseInt(cE.y,10));var cC=cE.y!=0&&!this.__bcm(this.__bbU,cE.y);if(cE.x>0&&cE.x<1){cE.x=1;}else if(cE.x<0&&cE.x>-1){cE.x=-1;};this.__bbT.scrollBy(parseInt(cE.x,10));if(this.__bci&&this.getFocusCellOnPointerMove()){this._focusCellAtPagePos(this.__bci,this.__bcj);};cC=cC||(cE.x!=0&&!this.__bcm(this.__bbT,cE.x));if(cC){e.stop();}else {e.stopMomentum();};},__bcm:function(cG,cH){var cF=cG.getPosition();return (cH<0&&cF<=0)||(cH>0&&cF>=cG.getMaximum());},__bcn:function(cN){var cL=this.getTable();var cO=this.__bbP.getHeaderWidgetAtColumn(this.__bcc);var cI=cO.getSizeHint().minWidth;var cK=Math.max(cI,this.__bce+cN-this.__bcd);if(this.getLiveResize()){var cJ=cL.getTableColumnModel();cJ.setColumnWidth(this.__bcc,cK,true);}else {this.__bbP.setColumnWidth(this.__bcc,cK,true);var cM=this.getTablePaneModel();this._showResizeLine(cM.getColumnLeft(this.__bcc)+cK);};this.__bcd+=cK-this.__bce;this.__bce=cK;},__bco:function(cR){var cQ=qx.ui.table.pane.Scroller.TAP_TOLERANCE;if(this.__bbP.isShowingColumnMoveFeedback()||cR>this.__bcb+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.__bcc!=null){this._stopResizeHeader();this.__bch=true;e.stop();}else if(this._moveColumn!=null){this._stopMoveHeader();e.stop();};},_onTapHeader:function(e){if(this.__bch){this.__bch=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.__bbV.isHidden()||(this.__bcf&&!this.__bcg&&!this.isEditing()&&dS==this.__bcf.row&&dR==this.__bcf.col)){this.fireEvent(q,qx.ui.table.pane.CellEvent,[this,e,dS,dR],true);this.__bcg=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.__bcf&&dX==this.__bcf.row&&dW==this.__bcf.col)){this.fireEvent(X,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.__bcc==null){this.setCursor(null);this.getApplicationRoot().setGlobalCursor(null);};this.__bbP.setPointerOverColumn(null);if(this.getFocusCellOnPointerMove()){this.__bR.setFocusedCell();};},_showResizeLine:function(x){var ef=this._showChildControl(H);var ee=ef.getWidth();var eg=this._paneClipper.getBounds();ef.setUserBounds(x-Math.round(ee/2),0,ee,eg.height);},_hideResizeLine:function(){this._excludeChildControl(H);},showColumnMoveFeedback:function(ep){var eq=this.getTablePaneModel();var ej=this.getTable().getTableColumnModel();var ek=this.__bbQ.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.__bbQ.getContentLocation();if(fufo.right){return null;};if(fv>=fo.top&&fv<=fo.bottom){var fp=this.getTable().getRowHeight();var scrollY=this.__bbU.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.__bcl;if(fy!=null){this.__bbR.remove(fy);};if(fx!=null){this.__bbR.add(fx);};this.__bcl=fx;},getTopRightWidget:function(){return this.__bcl;},getHeader:function(){return this.__bbP;},getTablePane:function(){return this.__bbQ;},getVerticalScrollBarWidth:function(){var fz=this.__bbU;return fz.isVisible()?(fz.getSizeHint().width||0):0;},getNeededScrollBars:function(fD,fE){var fP=this.__bbU;var fO=fP.getSizeHint().width+fP.getMarginLeft()+fP.getMarginRight();var fJ=this.__bbT;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.__Mj.setInterval(fT);this.__Mj.start();},_stopInterval:function(){this.__Mj.stop();},_postponedUpdateContent:function(){this._updateContent();},_oninterval:qx.event.GlobalError.observeMethod(function(){if(this.__bbX&&!this.__bbQ._layoutPending){this.__bbX=false;this._updateContent();};}),_updateContent:function(){var gc=this._paneClipper.getInnerSize();if(!gc){return;};var ga=gc.height;var scrollX=this.__bbT.getPosition();var scrollY=this.__bbU.getPosition();var fV=this.getTable().getRowHeight();var fX=Math.floor(scrollY/fV);var gb=this.__bbQ.getFirstVisibleRow();this.__bbQ.setFirstVisibleRow(fX);var fW=Math.ceil(ga/fV);var fU=0;var fY=this.getTable().getKeepFirstVisibleRowComplete();if(!fY){fW++ ;fU=scrollY%fV;};this.__bbQ.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.__bbV.moveToCell(this.__baO,this.__baP);}},destruct:function(){this._stopInterval();var ge=this.getTablePaneModel();if(ge){ge.dispose();};this.__bcf=this.__bcl=this.__bR=null;this._disposeObjects(v,E,D,g,bK,h,l,bw,W,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.__bg=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:{__bg:null,_onKeyPress:function(e){var i=e.getKeyIdentifier();if(i!==a&&i!==c){e.stopPropagation();};},moveToCell:function(p,q){if(!this.__bg.getShowCellFocusIndicator()&&!this.__bg.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.__bg.getTablePaneModel().getX(p);if(j==-1){this.hide();this.setRow(null);this.setColumn(null);}else {var o=this.__bg.getTable();var m=o.getTableColumnModel();var n=this.__bg.getTablePaneModel();var l=this.__bg.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.__bg=null;}});})();(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:{__XB: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.__XB=e.getPointerId();},_onRoll:function(e){if(e.getPointerType()==a){return;};if(this.__XB&&e.getMomentum()){qx.event.Registration.getManager(e.getOriginalTarget()).getHandler(qx.event.handler.Gesture).gestureCancel(this.__XB);e.stopMomentum();this.__XB=null;return;};this.__XB=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="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.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="qx.lang.Number";qx.Class.define(a,{statics:{isInRange:function(c,d,b){return c>=d&&c<=b;},isBetweenRange:function(f,g,e){return f>g&&fh){return h;}else if(j!=null&&is){this.__bcp=s-r;}else {this.__bcp=t;};};return this.__bcp;},getColumnAtX:function(v){var u=this.getFirstColumnX();return this.__bcq.getVisibleColumnAtX(u+v);},getX:function(z){var w=this.getFirstColumnX();var y=this.getMaxColumnCount();var x=this.__bcq.getVisibleX(z)-w;if(x>=0&&(y==-1||xn)?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.__baG.length){throw new Error(c+bj+g+this.__baG.length+e);};return this.__baG[bj][bk];},setValue:function(bm,bl,bo){if(this.__baG[bl][bm]!=bo){this.__baG[bl][bm]=bo;if(this.hasListener(f)){var bn={firstRow:bl,lastRow:bl,firstColumn:bm,lastColumn:bm};this.fireDataEvent(f,bn);};if(bm==this.__baH){this.clearSorting();};};},setData:function(bq,bp){this.__baG=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.__baG;},setDataAsMapArray:function(bt,bs,bu){this.setData(this._mapArray2RowArr(bt,bs),bu);},addRows:function(bx,bw,bv){if(bw==null){bw=this.__baG.length;};bx.splice(0,0,bw,0);Array.prototype.splice.apply(this.__baG,bx);var by={firstRow:bw,lastRow:this.__baG.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.__baG,bF);var bG={firstRow:bE,lastRow:this.__baG.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.__baG.splice(bM,bN);var bO={firstRow:bM,lastRow:this.__baG.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;ithis.Filters[i][1]){ba=true;};break;case h:if(S=this.Filters[i][1]){ba=true;};break;case t:if(S<=this.Filters[i][1]){ba=true;};break;};}else if(this._js_in_array(this.Filters[i][0],this.betweenAllowed)&&ba==false){S=this.getValueById(this.Filters[i][3],bd);switch(this.Filters[i][0]){case g:if(S>=this.Filters[i][1]&&S<=this.Filters[i][2]){ba=true;};break;case o:if(Sthis.Filters[i][2]){ba=true;};break;};}else if(this.Filters[i][0]==l&&ba==false){S=this.getValueById(this.Filters[i][2],bd);var V=new RegExp(this.Filters[i][1],this.Filters[i][3]);ba=V.test(S);}else if(this.Filters[i][0]==d&&ba==false){S=this.getValueById(this.Filters[i][2],bd);var V=new RegExp(this.Filters[i][1],this.Filters[i][3]);ba=!V.test(S);};};if(ba==true){U.push(bd);};};var X=U.length;for(i=0;i0){this.set({maxWidth:p});};this.addListener(a,this._tableWidthChanged,this);this.addListener(f,this.startFiltering,this);this.addListener(n,this.startFiltering,this);};},members:{filterColumn:null,filterColName:null,filterData:null,filterOpen:null,_tableWidthChanged:function(){var y=this.getBounds()[d];var B=this.getTableColumnModel();for(var i=0;i0){var z=this.__AH(B,A,x[l]);B.setColumnVisible(A,y>=z);};};},__AH:function(F,G,H){var E=0;for(var i=0;iH)||(D[l]<0)){if(j in D&&D[j]==1){continue;};if(!F.isColumnVisible(C)){continue;};E=E+F.getColumnWidth(C);};};return E;},__AI:function(J){var L=0;for(var i=0;i=this.__bcu.length){throw new Error(a);};this.__bcu[p].setColumnWidth(o,q);this.__bcw.schedule();},setMinWidth:function(s,r){if(s>=this.__bcu.length){throw new Error(a);};this.__bcu[s].setMinWidth(r);this.__bcw.schedule();},setMaxWidth:function(u,t){if(u>=this.__bcu.length){throw new Error(a);};this.__bcu[u].setMaxWidth(t);this.__bcw.schedule();},set:function(w,v){for(var x in v){switch(x){case e:this.setWidth(w,v[x]);break;case d:this.setMinWidth(w,v[x]);break;case m:this.setMaxWidth(w,v[x]);break;default:throw new Error(j+x);};};},onAppear:function(event,y){if(y===true||!this.__bcy||this.getInitializeWidthsOnEveryAppear()){this._computeColumnsFlexWidth();this.__bcy=true;};},onTableWidthChanged:function(event){this._computeColumnsFlexWidth();},onVerticalScrollBarChanged:function(event){this._computeColumnsFlexWidth();},onColumnWidthChanged:function(event){this._extendNextColumn(event);},onVisibilityChanged:function(event){var z=event.getData();if(z.visible){this._computeColumnsFlexWidth();return;};this._extendLastColumn(event);},_setNumColumns:function(B){var A=this.__bcu;if(B<=A.length){A.splice(B,A.length);return;};for(var i=A.length;iR.oldWidth){return;};var i;var N;var Q=0;for(i=0;i0);},_preOpenAction:function(){var R=[];var P=this.__AK.getTableModel();for(var i=0;iW[i+1].value){X=true;Y=W[i+1].value;W[i+1].value=W[i].value;W[i].value=Y;};};};if(X==false)break;};}}});})();(function(){var a="inventory.php",b="search_init",c="eq",d="item",f="excluded",g="bottom",h="productgroups",i="key",j="execute",k="dblclick",l="equals",m="custid",n="co",o="contains",p="Item",q="visible",r=":",s="changeSelection",t="pushscreen",u="sw",v="Product Group",w="websynapse/edit-find.png",x="",y="websynapse.inventory.InventorySearch",z="appear",A="facility",B="starts with",C="POST",D="bold",E="opcode",F="keypress",G="enter",H="DoubleClick for List",I="websynapse/edit-undo.png",J="Inventory Inquiry",K="Facility",L="hidden",M="left",N="productgroup",O="items",P="",Q="display";qx.Class.define(y,{extend:websynapse.common.ui.screens.AbstractScreen,construct:function(){websynapse.common.ui.screens.AbstractScreen.call(this,this.tr(J));this._requiredData=[];var U=new qx.ui.container.Composite(new qx.ui.layout.HBox(5).set({alignX:M,alignY:g})).set({marginLeft:10,marginRight:10});var toolbar=this.__AO=new qx.ui.toolbar.ToolBar;toolbar.setDecorator(null);toolbar.add(this.__AP=new qx.ui.form.Button(null,w));toolbar.add(this.__AQ=new qx.ui.form.Button(null,I).set({marginLeft:5}));U.add(toolbar);this.add(U);var T=new qx.ui.container.Composite(new qx.ui.layout.VBox(10)).set({margin:10});var R=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:M,alignY:g}));R.add(new qx.ui.basic.Label(this.tr(K)+r).set({font:D,alignY:g}));R.add(this.__AR=new websynapse.common.ui.widgets.SelectBox(true,this.tr(P)).set({marginLeft:5,alignY:g}));T.add(R);var S=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:M,alignY:g}));S.add(new qx.ui.basic.Label(this.tr(v)+r).set({font:D,alignY:g}));S.add(this.__AS=new websynapse.common.ui.widgets.SelectBox(true,P).set({marginLeft:5,alignY:g}));T.add(S);var S=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:M,alignY:g}));S.add(new qx.ui.basic.Label(this.tr(p)+r).set({font:D,alignY:g}));S.add(this.__AT=new websynapse.common.ui.widgets.SelectBox(true,this.tr(P)).set({marginLeft:5,alignY:g}));S.add(this.__AU=new websynapse.common.ui.widgets.UpperTextField().set({marginLeft:5,alignY:g,maxLength:20,width:200,maxWidth:200,visibility:L}));this.__AU.setPlaceholder(H);S.add(this.__AV=new websynapse.common.ui.widgets.SelectBox(false).set({marginLeft:5,width:250,minWidth:150}));T.add(S);this.add(T,{flex:1});this._getRequiredData();this.__AX();this.__AW=this.addListener(z,this.__o,this);},members:{__AW:null,__AO:null,__AP:null,__AQ:null,__AR:null,__AS:null,__AT:null,__AU:null,__AV:null,__AX:function(e){this.__AT.addListener(s,this.__AY,this);this.__AQ.addListener(j,this.__Ba,this);this.__AP.addListener(j,this.__Bc,this);this.__AU.addListener(k,function(W){var X=new websynapse.order.SelectItemDialog();X.setCaller(this);X.setInParam({screen:this.classname});X.openAndCenter();},this);function V(e){var Y=e.getKeyIdentifier().toLowerCase();if(G==Y){this.__Bc();};};this.addListener(F,V,this);},__AY:function(){var ba=this.__AT.getSelection();var bb=this.__AT.isSelectionEmpty()?x:ba[0].getUserData(i);this.__AU.setValue(x);this.__AU.setVisibility(bb!=x?q:f);this.__AV.setVisibility(f);},setItem:function(bc){this.__AU.setValue(bc);},__Ba:function(){this.__AR.resetSelection();this.__AS.resetSelection();this.__AT.resetSelection();this.__AV.resetSelection();this.__AU.setValue(x);},__o:function(){this.__AR.removeAll();this.__AR.loadList(websynapse.common.util.Statics.USER_FACILITIES,null,A,A);this.__AR.selectItem(websynapse.common.util.Statics.CURR_FACILITY);this.__AS.removeAll();this.__AS.loadList([]);var bd=[{key:c,value:this.tr(l)},{key:u,value:this.tr(B)},{key:n,value:this.tr(o)}];this.__AT.removeAll();this.__AT.loadList(bd);var be=new websynapse.common.util.Request(a,this.__Bb,this);be.setMethod(C);be.setFormField(E,b);be.setFormField(m,websynapse.common.util.Statics.CURR_CUSTID.custid);be.send();this.removeListenerById(this.__AW);},__Bb:function(bf){if(h in bf){this.__AS.removeAll();this.__AS.loadList(bf.productgroups,null,N,N);};if(O in bf){this.__AV.removeAll();this.__AV.loadList(bf.items,null,d,Q);};},__Bc:function(){var bj=this.__AR.getSelection();var bi=this.__AR.isSelectionEmpty()?x:bj[0].getUserData(i);bj=this.__AS.getSelection();var bk=this.__AS.isSelectionEmpty()?x:bj[0].getUserData(i);bj=this.__AT.getSelection();var bh=this.__AT.isSelectionEmpty()?x:bj[0].getUserData(i);var bg=this.__AU.getValue();var bm=bg;var bl={custid:websynapse.common.util.Statics.CURR_CUSTID.custid,facility:bi,productGroup:bk,itemExpression:bh,itemString:bg,itemSelected:bm};this.fireDataEvent(t,{"screen":websynapse.inventory.InventorySummary,"inparam":bl});}}});})();(function(){var a="__Pd",b=" array contains ",c="qx.ui.core.MSingleSelectionHandling",d=" items!",f="changeSelection",g="changeSelected",h="Could only select one item, but the selection",i="qx.event.type.Data";qx.Mixin.define(c,{events:{"changeSelection":i},members:{__Pd:null,getSelection:function(){var j=this.__WR().getSelected();if(j){return [j];}else {return [];};},setSelection:function(k){switch(k.length){case 0:this.resetSelection();break;case 1:this.__WR().setSelected(k[0]);break;default:throw new Error(h+b+k.length+d);};},resetSelection:function(){this.__WR().resetSelected();},isSelected:function(l){return this.__WR().isSelected(l);},isSelectionEmpty:function(){return this.__WR().isSelectionEmpty();},getSelectables:function(m){return this.__WR().getSelectables(m);},_onChangeSelected:function(e){var o=e.getData();var n=e.getOldData();o==null?o=[]:o=[o];n==null?n=[]:n=[n];this.fireDataEvent(f,o,n);},__WR:function(){if(this.__Pd==null){var p=this;this.__Pd=new qx.ui.core.SingleSelectionManager({getItems:function(){return p._getItems();},isItemSelectable:function(q){if(p._isItemSelectable){return p._isItemSelectable(q);}else {return q.isVisible();};}});this.__Pd.addListener(g,this._onChangeSelected,this);};this.__Pd.setAllowEmptySelection(this._isAllowEmptySelection());return this.__Pd;}},destruct:function(){this._disposeObjects(a);}});})();(function(){var a=", because it is not a child element!",b=" because it is not a child element!",c="Boolean",d="qx.ui.core.SingleSelectionManager",e="Could not check if ",f=" is selected,",g="__WS",h="Could not select ",j="__IY",k="changeSelected",l="__WT",m="qx.event.type.Data";qx.Class.define(d,{extend:qx.core.Object,construct:function(n){qx.core.Object.call(this);{};this.__WS=n;},events:{"changeSelected":m},properties:{allowEmptySelection:{check:c,init:true,apply:l}},members:{__IY:null,__WS:null,getSelected:function(){return this.__IY;},setSelected:function(o){if(!this.__WV(o)){throw new Error(h+o+a);};this.__WU(o);},resetSelected:function(){this.__WU(null);},isSelected:function(p){if(!this.__WV(p)){throw new Error(e+p+f+b);};return this.__IY===p;},isSelectionEmpty:function(){return this.__IY==null;},getSelectables:function(r){var q=this.__WS.getItems();var s=[];for(var i=0;i=0;i-- ){if(!s[i].getEnabled()){s.splice(i,1);};};};return s;},__WT:function(u,t){if(!u){this.__WU(this.__IY);};},__WU:function(v){var y=this.__IY;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.__IY=w;this.fireDataEvent(k,w,y);},__WV:function(z){var A=this.__WS.getItems();for(var i=0;i1){this.__Xc=[];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.__Xc.unshift(arguments[i]);this.__Xd();this.__Xe(0,this.length);this.fireDataEvent(o,{value:[this.__Xc[0]],name:m,old:[this.__Xc[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.__Xc;},getItem:function(R){return this.__Xc[R];},setItem:function(S,U){var T=this.__Xc[S];if(T===U){return;};this.__Xc[S]=U;this._registerEventChaining(U,T,S);if(this.length!=this.__Xc.length){this.__Xd();};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.__Xc.indexOf(V);},lastIndexOf:function(W){return this.__Xc.lastIndexOf(W);},toString:function(){if(this.__Xc!=null){return this.__Xc.toString();};return f;},contains:function(X){return this.__Xc.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;i]+?>/g,i);L=qx.bom.String.unescape(L);};return L;},_onBlur:function(e){this.close();},_onKeyPress:function(e){var M=e.getKeyIdentifier();var N=this.getChildControl(w);if(N.isHidden()&&(M==u||M==b)){e.stopPropagation();}else if(!N.isHidden()&&M==f){this.close();e.stop();}else {this.getChildControl(q).handleKeyPress(e);};},_onResize:function(e){this.getChildControl(w).setMinWidth(e.getData().width);},_onListChangeSelection:function(e){throw new Error(n);},_onListPointerDown:function(e){throw new Error(j);},_onPopupChangeVisibility:function(e){e.getData()==k?this.addState(a):this.removeState(a);}}});})();(function(){var c="os.name",d="Abstract method call: _getLastSelectable()",f="Could not select more than one items in mode: ",g="Boolean",h="one",j="Abstract method call: _getLocation()",k="Left",m="Abstract method call: _scrollBy()",n="The method getSelectedItem() is only supported in 'single' and 'one' selection mode!",o="Abstract method call: _scrollItemIntoView()",p="Escape",q="Abstract method call: _isSelectable()",r="Space",s="Abstract method call: _getPage()",t="right",u="lead",v="Down",w="Abstract method call: _getFirstSelectable()",x="Up",y="qx.event.type.Data",z="under",A="A",B="_applyMode",C="PageDown",D="Can not select multiple items in selection mode: ",E="osx",F="mouse",G="interval",H="Abstract method call: _styleSelectable()",I="anchor",J="Abstract method call: _capture()",K="Abstract method call: _getDimension()",L="The method invertSelection() is only supported in 'multi' and 'additive' selection mode!",M="!",N="Abstract method call: _getScroll()",O="Abstract method call: _getRelatedSelectable()",P="End",Q="quick",R="selected",S="key",T="Abstract method call: _getSelectableLocationX()",U="__Xh",V="multi",W="left",X="Abstract method call: _selectableToHashCode()",Y="Home",bt="Can not select all items in selection mode: ",bu="single",bv="Right",bp="Abstract method call: getSelectables()",bq="Abstract method call: _getSelectableLocationY()",br="additive",bs="abstract",bA="changeSelection",bB="above",bC="Abstract method call: _getSelectableRange()",bD="tap",bw="drag",bx="PageUp",by="qx.ui.core.selection.Abstract",bz="Abstract method call: _releaseCapture()";qx.Class.define(by,{type:bs,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__Ph={};},events:{"changeSelection":y},properties:{mode:{check:[bu,V,br,h],init:bu,apply:B},drag:{check:g,init:false},quick:{check:g,init:false}},members:{__Xf:0,__Xg:0,__Xh:null,__Xi:null,__Xj:null,__Xk:null,__Xl:null,__Xm:null,__Xn:null,__Xo:null,__Xp:null,__Xq:null,__Xr:null,__Xs:null,__Xt:null,__Xu:null,__Xv:null,__Ph:null,__Xw:null,__Xx:null,_userInteraction:false,__Xy:null,getSelectionContext:function(){return this.__Xu;},selectAll:function(){var bE=this.getMode();if(bE==bu||bE==h){throw new Error(bt+bE);};this._selectAllItems();this._fireChange();},selectItem:function(bF){this._setSelectedItem(bF);var bG=this.getMode();if(bG!==bu&&bG!==h){this._setLeadItem(bF);this._setAnchorItem(bF);};this._scrollItemIntoView(bF);this._fireChange();},addItem:function(bH){var bI=this.getMode();if(bI===bu||bI===h){this._setSelectedItem(bH);}else {if(this._getAnchorItem()==null){this._setAnchorItem(bH);};this._setLeadItem(bH);this._addToSelection(bH);};this._scrollItemIntoView(bH);this._fireChange();},removeItem:function(bJ){this._removeFromSelection(bJ);if(this.getMode()===h&&this.isSelectionEmpty()){var bK=this._applyDefaultSelection();if(bK==bJ){return;};};if(this.getLeadItem()==bJ){this._setLeadItem(null);};if(this._getAnchorItem()==bJ){this._setAnchorItem(null);};this._fireChange();},selectItemRange:function(bL,bM){var bN=this.getMode();if(bN==bu||bN==h){throw new Error(D+bN);};this._selectItemRange(bL,bM);this._setAnchorItem(bL);this._setLeadItem(bM);this._scrollItemIntoView(bM);this._fireChange();},clearSelection:function(){if(this.getMode()==h){var bO=this._applyDefaultSelection(true);if(bO!=null){return;};};this._clearSelection();this._setLeadItem(null);this._setAnchorItem(null);this._fireChange();},replaceSelection:function(bP){var bQ=this.getMode();if(bQ==h||bQ===bu){if(bP.length>1){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.__Ph);},getSortedSelection:function(){var bU=this.getSelectables();var bT=qx.lang.Object.getValues(this.__Ph);bT.sort(function(a,b){return bU.indexOf(a)-bU.indexOf(b);});return bT;},isItemSelected:function(bV){var bW=this._selectableToHashCode(bV);return this.__Ph[bW]!==undefined;},isSelectionEmpty:function(){return qx.lang.Object.isEmpty(this.__Ph);},invertSelection:function(){var bY=this.getMode();if(bY===bu||bY===h){throw new Error(L);};var bX=this.getSelectables();for(var i=0;ithis.__Xm){this.__Xr=1;}else if(cIthis.__Xn){this.__Xs=1;}else if(cJlocation.right){this.__Xf=this.__Xp-location.right;}else {this.__Xf=0;};if(this.__Xqlocation.bottom){this.__Xg=this.__Xq-location.bottom;}else {this.__Xg=0;};if(!this.__Xh){this.__Xh=new qx.event.Timer(100);this.__Xh.addListener(G,this._onInterval,this);};this.__Xh.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.__Xo){return;};if(this.__Xt){this._fireChange(bD);};delete this.__Xo;delete this.__Xj;delete this.__Xk;this._releaseCapture();if(this.__Xh){this.__Xh.stop();};},_onInterval:function(e){this._scrollBy(this.__Xf,this.__Xg);this.__Xi=this._getScroll();this._autoSelect();},_autoSelect:function(){var cT=this._getDimension();var cM=Math.max(0,Math.min(this.__Xp-this.__Xl.left,cT.width))+this.__Xi.left;var cL=Math.max(0,Math.min(this.__Xq-this.__Xl.top,cT.height))+this.__Xi.top;if(this.__Xj===cM&&this.__Xk===cL){return;};this.__Xj=cM;this.__Xk=cL;var cQ=this._getAnchorItem();var cO=cQ;var cR=this.__Xr;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.__Xs;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);},__Xz:{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.__Xz[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.__Xy=this._getScroll().top;this._scrollItemIntoView(dc);};};if(db){event.stop();this._fireChange(S);};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.__Ph[dD]==null&&this._isSelectable(dC)){this.__Ph[dD]=dC;this._styleSelectable(dC,R,true);this.__Xt=true;};},_toggleInSelection:function(dE){var dF=this._selectableToHashCode(dE);if(this.__Ph[dF]==null){this.__Ph[dF]=dE;this._styleSelectable(dE,R,true);}else {delete this.__Ph[dF];this._styleSelectable(dE,R,false);};this.__Xt=true;},_removeFromSelection:function(dG){var dH=this._selectableToHashCode(dG);if(this.__Ph[dH]!=null){delete this.__Ph[dH];this._styleSelectable(dG,R,false);this.__Xt=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.__sb.getOrientation()===a;var P=this.__sb.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="__Pd",h="_applyDragSelection",j="Could not add + ",k=" from selection, because it is not a child element!",l="changeSelection",m="Could not test if ",n="Could not remove ",o="addItem",p="multi",q="_applyQuickSelection",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.__Pd=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(o,E.handleAddItem,E);this.addListener(A,E.handleRemoveItem,E);E.addListener(l,this._onSelectionChange,this);},events:{"changeSelection":d},properties:{selectionMode:{check:[r,p,w,b],init:r,apply:v},dragSelection:{check:a,init:false,apply:h},quickSelection:{check:a,init:false,apply:q}},members:{__Pd:null,selectAll:function(){this.__Pd.selectAll();},isSelected:function(G){if(!qx.ui.core.Widget.contains(this,G)){throw new Error(m+G+u);};return this.__Pd.isItemSelected(G);},addToSelection:function(H){if(!qx.ui.core.Widget.contains(this,H)){throw new Error(j+H+D);};this.__Pd.addItem(H);},removeFromSelection:function(I){if(!qx.ui.core.Widget.contains(this,I)){throw new Error(n+I+k);};this.__Pd.removeItem(I);},selectRange:function(J,K){this.__Pd.selectItemRange(J,K);},resetSelection:function(){this.__Pd.clearSelection();},setSelection:function(L){for(var i=0;i1000){this.__Yh=s;};this.__Yh+=e.getChar();var K=this.findItemByLabelFuzzy(this.__Yh);if(K){this.setSelection([K]);};this.__Yi=(new Date).valueOf();},findItemByLabelFuzzy:function(M){M=M.toLowerCase();var L=this.getChildren();for(var i=0,l=L.length;i0){O[0].removeListener(h,this.__Yo,this);O[0].removeListener(g,this.__Yp,this);};if(Q.length>0){var N=this.getChildControl(u);var P=this.getChildControl(l);var R=P.getSelectionContext();if(N.isVisible()&&(R==p||R==k)){this.__Ym=Q[0];}else {this.setSelection([Q[0]]);this.__Ym=null;};Q[0].addListener(h,this.__Yo,this);Q[0].addListener(g,this.__Yp,this);}else {this.resetSelection();};},_onPopupChangeVisibility:function(e){qx.ui.form.AbstractSelectBox.prototype._onPopupChangeVisibility.call(this,e);var T=this.getChildControl(u);if(!T.isVisible()){var V=this.getChildControl(l);if(V.hasChildren()){V.setSelection(this.getSelection());};}else {var S=T.getLayoutLocation(this);var X=qx.bom.Viewport.getHeight();var W=S.top;var Y=X-S.bottom;var U=W>Y?W:Y;var ba=this.getMaxListHeight();var V=this.getChildControl(l);if(ba==null||ba>U){V.setMaxHeight(U);}else if(ba0){for(var a=0;a0);},_preOpenAction:function(){var bb=new websynapse.common.util.Request(y,this.__Bg,this,this.__Bh,this);bb.setMethod(x);bb.setParameter(z,L);bb.setParameter(g,websynapse.common.util.Statics.CURR_CUSTID.custid);bb.setParameter(r,this.__Bf);bb.send();},__Bg:function(bc){this.__AE(bc.custitems);this.__bR.refreshData(bc.custitems);},__Bh:function(){new websynapse.common.util.ExceptionMsg(this.tr(t),q);this.close();},__AE:function(bd){for(var i=0;i0?L:co);},__BE:function(cP){var cN=null;if(cP===websynapse.common.util.Statics.REPORT_TYPE_EXCEL){cN=ct;}else if(cP===websynapse.common.util.Statics.REPORT_TYPE_PDF){cN=cd;}else {new websynapse.common.util.ExceptionMsg(this.tr(V)+bU+cP,cz);};this.__By.loadAllData();var cO=new websynapse.common.util.Request(cN,this.__BF,this,this.__BG,this);cO.setTimeout(120000);cO.setFormField(K,cP);cO.setFormField(M,this.tr(cx));cO.setFormField(cj,qx.lang.Json.stringify(this.__Bo));cO.setFormField(J,qx.lang.Json.stringify(this.__bR.getTableModel().getDataAsMapArray()));cO.send();},__BF:function(cQ){if(l in cQ){if(this.__Bs!=null&&this.indexOf(this.__Bs)>=0){this.remove(this.__Bs);};this.__Bs=new qx.ui.embed.Iframe(U+cQ.filename);this.add(this.__Bs);this.__Bs.set({width:0,height:0,decorator:null});};this.__By.resetPaging();},__BG:function(){this.__By.resetPaging();new websynapse.common.util.ExceptionMsg(bT,cz);},__BH:function(e){var cT=this.__bR.getSelectionModel();var cU=cT.getSelectedRanges()[0];var cR=cU[Y];var cS=this.__bR.getTableModel().getRowDataAsMap(cR);this.fireDataEvent(bV,{"screen":websynapse.inventory.InventoryDetail,"inparam":cS});},__Az:function(e){},__BI:function(){this.__By.firstPage();this.__An();},__BJ:function(){this.__By.lastPage();this.__An();},__BK:function(){this.__By.nextPage();this.__An();},__BL:function(){this.__By.prevPage();this.__An();},__An:function(){this.__BA.remove(this.__Bz);var cX=this.__By.getPageSize();var cY=this.__By.getMaxRow();var cW=(this.__By.getHiRow()0)?this.__By.getLoRow():0;this.__Bz=new qx.ui.basic.Label(cB+cV+cH+cW+G+this.__By.getMaxRow()).set({font:t});this.__BA.add(this.__Bz);this.__Bz.setVisibility(L);this.__Bv.setVisibility((cWcX)?L:W);this.__Bu.setVisibility((this.__By.getHiRow()>cX)?L:W);},__BM:function(){this.removeListenerById(this.__AW);var db=this.getInParam();this.__Bo=[];this.__BB=P;var da=new websynapse.common.util.Request(R,this.__BO,this,this.__BP,this,this.tr(ce));da.setTimeout(120000);da.setMethod(D);da.setFormField(s,c);da.setFormField(f,u);da.setFormField(cg,cK);da.setFormField(cJ,Q);da.setFormField(cf,db.custid);da.send();},__BN:function(dk){var dj=dk[cy];var dd=dk[j];var di=parseInt(dk[k]);var dh=parseInt(dk[ci]);var dc=dk[ca]==O?cz:dk[ca];var df=dk[cc];var de=cz;var dg=S;if(dj.substr(0,3)==F){dg=x;};if(di==0){de={column:dj,hidden:1};}else if(df==Q&&dg!=S){de={column:dj,header:dd,width:di,minWidth:di,maxWidth:di+15,disappearOrder:dh,hideTypes:dc,type:dg};}else if(df==Q){de={column:dj,header:dd,width:di,minWidth:di,maxWidth:di+15,disappearOrder:dh,hideTypes:dc};}else {de={column:dj,header:dd,width:di,minWidth:di,maxWidth:di+15,disappearOrder:dh,hideTypes:dc,hidden:1};};this.__Bo.push(de);},__BO:function(dl){if(cn in dl){for(var i=0;i=0){this.remove(this.__Bs);};this.__Bs=null;},this);},__Bb:function(dO){var dN=this.__By.getPageSize();this.__BA.remove(this.__Bz);if(C in dO){this.__By.refreshData(dO.tabledata);};var dP=this.__By.getMaxRow();var dM=(this.__By.getHiRow()0)?this.__By.getLoRow():0;this.__Bz=new qx.ui.basic.Label(cB+dL+cH+dM+G+this.__By.getMaxRow()).set({font:t});this.__BA.add(this.__Bz);this.__Bz.setVisibility(L);this.__Bx.setVisibility((this.__By.getMaxRow()>dN)?L:W);this.__Bw.setVisibility((this.__By.getHiRow()>dN)?L:W);this.__Bv.setVisibility((dM0;this.__bdO=0;},members:{__PA:null,__bdM:null,__bdN:null,__bdO:null,computeNextLine:function(k){var k=k||Infinity;if(!this.__bdN){throw new Error(a);};var p=this.__PA;var n=0;var f=0;var o=[];var j=[];for(var i=this.__bdO;ik){this.__bdO=i;break;};var l=q.height+m.getMarginTop()+m.getMarginBottom();o.push(m);j.push(g);f+=h;n=Math.max(n,l);if(m.getLayoutProperties().lineBreak){this.__bdO=i+1;break;};};if(i>=p.length){this.__bdN=false;};return {height:n,width:f,children:o,gapsBefore:j};},__bdP:function(r){var s=r==this.__bdO;if(s){return this.__PA[r].getMarginLeft();}else {return Math.max(this.__PA[r-1].getMarginRight(),this.__PA[r].getMarginLeft(),this.__bdM);};},hasMoreLines:function(){return this.__bdN;}}});})();(function(){var a="regex cannot be null!",b="font-weight",c="==",d="Condition not recognized or value1/value2 is null!",e=";",f="",g=">",h="text-align",j="between",k="regex",l="<",m='g',n="Condition not recognized or value is null!",o=":",p="qx.ui.table.cellrenderer.Conditional",q="!between",r=">=",s="color",t="font-style",u="!=",v="<=";qx.Class.define(p,{extend:qx.ui.table.cellrenderer.Default,construct:function(y,w,x,z){qx.ui.table.cellrenderer.Default.call(this);this.numericAllowed=[c,u,g,l,r,v];this.betweenAllowed=[j,q];this.conditions=[];this.__bcQ=y||f;this.__bcR=w||f;this.__bcS=x||f;this.__bcT=z||f;},members:{__bcQ:null,__bcR:null,__bcS:null,__bcT:null,__bcU:function(B,A){if(B[1]!=null){A[h]=B[1];};if(B[2]!=null){A[s]=B[2];};if(B[3]!=null){A[t]=B[3];};if(B[4]!=null){A[b]=B[4];};},addNumericCondition:function(J,I,G,F,C,E,D){var H=null;if(qx.lang.Array.contains(this.numericAllowed,J)){if(I!=null){H=[J,G,F,C,E,I,D];};};if(H!=null){this.conditions.push(H);}else {throw new Error(n);};},addBetweenCondition:function(R,Q,S,O,N,K,M,L){if(qx.lang.Array.contains(this.betweenAllowed,R)){if(Q!=null&&S!=null){var P=[R,O,N,K,M,Q,S,L];};};if(P!=null){this.conditions.push(P);}else {throw new Error(d);};},addRegex:function(T,Y,X,U,W,V){if(T!=null){var ba=[k,Y,X,U,W,T,V];};if(ba!=null){this.conditions.push(ba);}else {throw new Error(a);};},_getCellStyle:function(bi){var bf=bi.table.getTableModel();var i;var be;var bb;var bd={"text-align":this.__bcQ,"color":this.__bcR,"font-style":this.__bcS,"font-weight":this.__bcT};for(i in this.conditions){be=false;if(qx.lang.Array.contains(this.numericAllowed,this.conditions[i][0])){if(this.conditions[i][6]==null){bb=bi.value;}else {bb=bf.getValueById(this.conditions[i][6],bi.row);};switch(this.conditions[i][0]){case c:if(bb==this.conditions[i][5]){be=true;};break;case u:if(bb!=this.conditions[i][5]){be=true;};break;case g:if(bb>this.conditions[i][5]){be=true;};break;case l:if(bb=this.conditions[i][5]){be=true;};break;case v:if(bb<=this.conditions[i][5]){be=true;};break;};}else if(qx.lang.Array.contains(this.betweenAllowed,this.conditions[i][0])){if(this.conditions[i][7]==null){bb=bi.value;}else {bb=bf.getValueById(this.conditions[i][7],bi.row);};switch(this.conditions[i][0]){case j:if(bb>=this.conditions[i][5]&&bb<=this.conditions[i][6]){be=true;};break;case q:if(bbthis.conditions[i][6]){be=true;};break;};}else if(this.conditions[i][0]==k){if(this.conditions[i][6]==null){bb=bi.value;}else {bb=bf.getValueById(this.conditions[i][6],bi.row);};var bc=new RegExp(this.conditions[i][5],m);be=bc.test(bb);};if(be==true){this.__bcU(this.conditions[i],bd);};};var bg=[];for(var bh in bd){if(bd[bh]){bg.push(bh,o,bd[bh],e);};};return bg.join(f);}},destruct:function(){this.numericAllowed=this.betweenAllowed=this.conditions=null;}});})();(function(){var a="qooxdoo-table-cell qooxdoo-table-cell-right",b="0",c="qx.util.format.NumberFormat",d="qx.ui.table.cellrenderer.Number",e="";qx.Class.define(d,{extend:qx.ui.table.cellrenderer.Conditional,properties:{numberFormat:{check:c,init:null,nullable:true}},members:{_getContentHtml:function(f){var g=this.getNumberFormat();if(g){if(f.value||f.value==0){return g.format(f.value);}else {return e;};}else {return f.value==0?b:(f.value||e);};},_getCellClass:function(h){return a;}}});})();(function(){var a="qx.ui.table.cellrenderer.String",b="qooxdoo-table-cell",c="";qx.Class.define(a,{extend:qx.ui.table.cellrenderer.Conditional,members:{_getContentHtml:function(d){return qx.bom.String.escape(d.value||c);},_getCellClass:function(e){return b;}}});})();(function(){var a="css.inlineblock",b="repeat",c="px",d="scale",e="_identifyImage is abstract",f="string",g="static",h="'",i="qx.ui.table.cellrenderer.AbstractImage",j="}",k=" text-align:center;",l="scale-x",m="repeat-y",n=".qooxdoo-table-cell-icon {",o="",p="
",q="top",r="abstract",s=" qooxdoo-table-cell-icon",t="no-repeat",u="repeat-x",v=" padding-top:1px;",w="title='",x="scale-y";qx.Class.define(i,{extend:qx.ui.table.cellrenderer.Abstract,type:r,construct:function(){qx.ui.table.cellrenderer.Abstract.call(this);var y=this.self(arguments);if(!y.stylesheet){y.stylesheet=qx.bom.Stylesheet.createElement(n+k+v+j);};},properties:{repeat:{check:function(A){var z=[d,l,x,b,u,m,t];return qx.lang.Array.contains(z,A);},init:t}},members:{__bdQ:16,__bdR:16,__bdS:null,_insetY:2,_identifyImage:function(B){throw new Error(e);},_getImageInfos:function(C){var D=this._identifyImage(C);if(D==null||typeof D==f){D={url:D,tooltip:null};};if(!D.imageWidth||!D.imageHeight){var E=this.__bdT(D.url);D.imageWidth=E.width;D.imageHeight=E.height;};D.width=D.imageWidth;D.height=D.imageHeight;return D;},__bdT:function(H){var I=qx.util.ResourceManager.getInstance();var G=qx.io.ImageLoader;var F,J;if(I.has(H)){F=I.getImageWidth(H);J=I.getImageHeight(H);}else if(G.isLoaded(H)){F=G.getWidth(H);J=G.getHeight(H);}else {F=this.__bdQ;J=this.__bdR;};return {width:F,height:J};},createDataCellHtml:function(K,L){this.__bdS=this._getImageInfos(K);return qx.ui.table.cellrenderer.Abstract.prototype.createDataCellHtml.call(this,K,L);},_getCellClass:function(M){return qx.ui.table.cellrenderer.Abstract.prototype._getCellClass.call(this)+s;},_getContentHtml:function(N){var content=p;if(this.__bdS.url){content=qx.bom.element.Decoration.create(this.__bdS.url,this.getRepeat(),{width:this.__bdS.width+c,height:this.__bdS.height+c,display:qx.core.Environment.get(a),verticalAlign:q,position:g});};return content;},_getCellAttributes:function(O){var P=this.__bdS.tooltip;if(P){return w+P+h;}else {return o;};}},destruct:function(){this.__bdS=null;}});})();(function(){var a="qx.dyntheme",b="_applyIconTrue",c="decoration/table/boolean-true.png",d="qx.ui.table.cellrenderer.Boolean",e=";padding-top:4px;",f="decoration/table/boolean-false.png",g="_applyIconFalse",h="changeTheme",i="String";qx.Class.define(d,{extend:qx.ui.table.cellrenderer.AbstractImage,construct:function(){qx.ui.table.cellrenderer.AbstractImage.call(this);this.__bdU=qx.util.AliasManager.getInstance();this.initIconTrue();this.initIconFalse();if(qx.core.Environment.get(a)){qx.theme.manager.Meta.getInstance().addListener(h,this._onChangeTheme,this);};},properties:{iconTrue:{check:i,init:c,apply:b},iconFalse:{check:i,init:f,apply:g}},members:{__bdV:null,__bdW:false,__bdU:null,_onChangeTheme:qx.core.Environment.select(a,{"true":function(){this._applyIconTrue(this.getIconTrue());this._applyIconFalse(this.getIconFalse());},"false":null}),_applyIconTrue:function(j){this.__bdV=this.__bdU.resolve(j);},_applyIconFalse:function(k){this.__bdW=this.__bdU.resolve(k);},_insetY:5,_getCellStyle:function(l){return qx.ui.table.cellrenderer.AbstractImage.prototype._getCellStyle.call(this,l)+e;},_identifyImage:function(m){var n={imageWidth:11,imageHeight:11};switch(m.value){case true:n.url=this.__bdV;break;case false:n.url=this.__bdW;break;default:n.url=null;break;};return n;}},destruct:function(){this.__bdU=null;if(qx.core.Environment.get(a)){qx.theme.manager.Meta.getInstance().removeListener(h,this._onChangeTheme,this);};}});})();(function(){var a="Inventory Class",b="inventory.php",c="Reference",d="item",f="tabledata",g="Quantity Ordered",h="spinner128.gif",i="commit_detail",j="Loading...",k="websynapse.inventory.CommitDetail",l="PO",m="Customer",n="Quantity Committed",o="shiptoname",p="center",q="Order ID",r="Item",s=":",t="lotnumber",u="invstatus",v="invclass",w="custid",x="Inventory Status",y="UOM",z="opcode",A="appear",B="facility",C="orderid",D="right",E="POST",F="po",G="qtycommit",H="bold",I="Ship To",J="Committed Inventory",K="uom",L="rounded-table",M="qtyorder",N="Lot",O="Facility",P="left",Q="reference";qx.Class.define(k,{extend:websynapse.common.ui.screens.AbstractScreen,construct:function(){websynapse.common.ui.screens.AbstractScreen.call(this,J);this._requiredData=[];var U=new qx.ui.container.Composite(new qx.ui.layout.Flow().set({alignX:P,spacingX:10})).set({margin:10});var bd=new qx.ui.container.Composite(new qx.ui.layout.HBox());bd.add(new qx.ui.basic.Label(this.tr(m)+s).set({font:H}));bd.add(this.__Ca=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(bd);var V=new qx.ui.container.Composite(new qx.ui.layout.HBox());V.add(new qx.ui.basic.Label(this.tr(O)+s).set({font:H}));V.add(this.__Cb=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(V);var bb=new qx.ui.container.Composite(new qx.ui.layout.HBox());bb.add(new qx.ui.basic.Label(this.tr(r)+s).set({font:H}));bb.add(this.__Cc=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(bb);var Y=new qx.ui.container.Composite(new qx.ui.layout.HBox());Y.add(new qx.ui.basic.Label(this.tr(N)+s).set({font:H}));Y.add(this.__Ch=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(Y,{lineBreak:true});var W=new qx.ui.container.Composite(new qx.ui.layout.HBox());W.add(new qx.ui.basic.Label(this.tr(x)+s).set({font:H}));W.add(this.__Ci=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(W);var R=new qx.ui.container.Composite(new qx.ui.layout.HBox());R.add(new qx.ui.basic.Label(this.tr(a)+s).set({font:H}));R.add(this.__Cj=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(R);this.add(U,{flex:1});var bc=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:P})).set({margin:10});var ba=[{"column":C,"header":this.tr(q),"width":75,"minWidth":75,"maxWidth":75,"disappearOrder":-1},{"column":Q,"header":this.tr(c),"width":100,"minWidth":100,"maxWidth":100,"disappearOrder":-1},{"column":F,"header":this.tr(l),"width":100,"minWidth":100,"maxWidth":100,"disappearOrder":-1},{"column":o,"header":this.tr(I),"width":150,"minWidth":100,"maxWidth":200,"disappearOrder":-1},{"column":K,"header":this.tr(y),"width":75,"minWidth":75,"maxWidth":75,"disappearOrder":-1},{"column":M,"header":this.tr(g),"width":100,"minWidth":100,"maxWidth":100,"disappearOrder":-1},{"column":G,"header":this.tr(n),"width":100,"minWidth":100,"maxWidth":100,"disappearOrder":-1}];this.__bR=new websynapse.common.ui.widgets.table.ResizableTable(ba).set({showCellFocusIndicator:false,columnVisibilityButtonVisible:false,headerCellHeight:32});this.__bR.setDecorator(L);this.__bR.setSpinnerImage(h);var S=new qx.util.format.NumberFormat().set({groupingUsed:true,maximumFractionDigits:0});var T=new qx.ui.table.cellrenderer.Number(D).set({numberFormat:S});this.__bR.getTableColumnModel().setDataCellRenderer(5,T);this.__bR.getTableColumnModel().setDataCellRenderer(6,T);var X=new qx.ui.table.cellrenderer.String(p);this.__bR.getTableColumnModel().setDataCellRenderer(0,X);this.__bR.getTableColumnModel().setDataCellRenderer(1,X);this.__bR.getTableColumnModel().setDataCellRenderer(4,X);bc.add(this.__bR,{flex:1});this.add(bc,{flex:1000});this.__AX();this.__AW=this.addListener(A,this.__o,this);},members:{__AW:null,__bR:null,__bP:null,__Ca:null,__Cb:null,__Cc:null,__Ci:null,__Cj:null,__AX:function(e){},__o:function(){var bf=this.getInParam();this.__Ca.setValue(bf.custid);this.__Cb.setValue(bf.facility);this.__Cc.setValue(bf.item);this.__Ch.setValue(bf.lotnumber);this.__Ci.setValue(bf.invstatusabbrev);this.__Cj.setValue(bf.inventoryclassabbrev);var be=new websynapse.common.util.Request(b,this.__Bb,this,this.__BY,this,this.tr(j));be.setTimeout(120000);be.setMethod(E);be.setFormField(z,i);be.setFormField(w,bf.custid);be.setFormField(B,bf.facility);be.setFormField(d,bf.item);be.setFormField(t,bf.lotnumber);be.setFormField(v,bf.inventoryclass);be.setFormField(u,bf.invstatus);be.send();this.removeListenerById(this.__AW);},__Bb:function(bg){if(f in bg){this.__bR.refreshData(bg.tabledata);};},__BY:function(e){}}});})();(function(){var a="Inventory Class",b="inventory.php",c="Reference",d="picknotship_detail",f="item",g="Quantity Picked",h="tabledata",i="Quantity Ordered",j="spinner128.gif",k="Loading...",l="PO",m="Customer",n="center",o="shiptoname",p="Order ID",q="Item",r=":",s="lotnumber",t="websynapse.inventory.PickNotShipDetail",u="invstatus",v="invclass",w="custid",x="Inventory Status",y="UOM",z="appear",A="facility",B="qtypick",C="orderid",D="right",E="POST",F="po",G="opcode",H="bold",I="Ship To",J="rounded-table",K="Picked But Not Shipped",L="uom",M="qtyorder",N="Lot",O="Facility",P="left",Q="reference";qx.Class.define(t,{extend:websynapse.common.ui.screens.AbstractScreen,construct:function(){websynapse.common.ui.screens.AbstractScreen.call(this,this.tr(K));this._requiredData=[];var U=new qx.ui.container.Composite(new qx.ui.layout.Flow().set({alignX:P,spacingX:10})).set({margin:10});var bd=new qx.ui.container.Composite(new qx.ui.layout.HBox());bd.add(new qx.ui.basic.Label(this.tr(m)+r).set({font:H}));bd.add(this.__Ca=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(bd);var V=new qx.ui.container.Composite(new qx.ui.layout.HBox());V.add(new qx.ui.basic.Label(this.tr(O)+r).set({font:H}));V.add(this.__Cb=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(V);var bb=new qx.ui.container.Composite(new qx.ui.layout.HBox());bb.add(new qx.ui.basic.Label(this.tr(q)+r).set({font:H}));bb.add(this.__Cc=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(bb);var Y=new qx.ui.container.Composite(new qx.ui.layout.HBox());Y.add(new qx.ui.basic.Label(this.tr(N)+r).set({font:H}));Y.add(this.__Ch=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(Y,{lineBreak:true});var W=new qx.ui.container.Composite(new qx.ui.layout.HBox());W.add(new qx.ui.basic.Label(this.tr(x)+r).set({font:H}));W.add(this.__Ci=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(W);var R=new qx.ui.container.Composite(new qx.ui.layout.HBox());R.add(new qx.ui.basic.Label(this.tr(a)+r).set({font:H}));R.add(this.__Cj=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});U.add(R);this.add(U,{flex:1});var bc=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:P})).set({margin:10});var ba=[{"column":C,"header":this.tr(p),"width":75,"minWidth":75,"maxWidth":75,"disappearOrder":-1},{"column":Q,"header":this.tr(c),"width":100,"minWidth":100,"maxWidth":100,"disappearOrder":-1},{"column":F,"header":this.tr(l),"width":100,"minWidth":100,"maxWidth":100,"disappearOrder":-1},{"column":o,"header":this.tr(I),"width":150,"minWidth":100,"maxWidth":200,"disappearOrder":-1},{"column":L,"header":this.tr(y),"width":75,"minWidth":75,"maxWidth":75,"disappearOrder":-1},{"column":M,"header":this.tr(i),"width":100,"minWidth":100,"maxWidth":100,"disappearOrder":-1},{"column":B,"header":this.tr(g),"width":100,"minWidth":100,"maxWidth":100,"disappearOrder":-1}];this.__bR=new websynapse.common.ui.widgets.table.ResizableTable(ba).set({showCellFocusIndicator:false,columnVisibilityButtonVisible:false,headerCellHeight:32});this.__bR.setDecorator(J);this.__bR.setSpinnerImage(j);var S=new qx.util.format.NumberFormat().set({groupingUsed:true,maximumFractionDigits:0});var T=new qx.ui.table.cellrenderer.Number(D).set({numberFormat:S});this.__bR.getTableColumnModel().setDataCellRenderer(5,T);this.__bR.getTableColumnModel().setDataCellRenderer(6,T);var X=new qx.ui.table.cellrenderer.String(n);this.__bR.getTableColumnModel().setDataCellRenderer(0,X);this.__bR.getTableColumnModel().setDataCellRenderer(1,X);this.__bR.getTableColumnModel().setDataCellRenderer(4,X);bc.add(this.__bR,{flex:1});this.add(bc,{flex:1000});this.__AX();this.__AW=this.addListener(z,this.__o,this);},members:{__AW:null,__bR:null,__bP:null,__Ca:null,__Cb:null,__Cc:null,__Ci:null,__Cj:null,__AX:function(e){},__o:function(){var bf=this.getInParam();this.__Ca.setValue(bf.custid);this.__Cb.setValue(bf.facility);this.__Cc.setValue(bf.item);this.__Ch.setValue(bf.lotnumber);this.__Ci.setValue(bf.invstatusabbrev);this.__Cj.setValue(bf.inventoryclassabbrev);var be=new websynapse.common.util.Request(b,this.__Bb,this,this.__BY,this,this.tr(k));be.setTimeout(120000);be.setMethod(E);be.setFormField(G,d);be.setFormField(w,bf.custid);be.setFormField(A,bf.facility);be.setFormField(f,bf.item);be.setFormField(s,bf.lotnumber);be.setFormField(v,bf.inventoryclass);be.setFormField(u,bf.invstatus);be.send();this.removeListenerById(this.__AW);},__Bb:function(bg){if(h in bg){this.__bR.refreshData(bg.tabledata);};},__BY:function(e){}}});})();(function(){var a="websynapse.common.util.Paging";qx.Class.define(a,{extend:qx.core.Object,construct:function(b,c){qx.core.Object.call(this);this.__Ck=parseInt(b);this.__Cl=parseInt(b);this.__bR=c;},members:{__Cm:1,__Cl:websynapse.common.util.Statics.PAGE_SIZE,__Ck:websynapse.common.util.Statics.PAGE_SIZE,__bR:null,__Cn:null,loadAllData:function(){if(this.__Cn){this.__bR.getSelectionModel().resetSelection();this.__bR._tableModel.setData(websynapse.common.util.Statics.mapToArrayOfArrays(this.__Cn,this.__bR.getColumnIds(),this.__bR.getColumnTypes()));};},resetPaging:function(){if(this.__Cn){this.__bR.getSelectionModel().resetSelection();this.__bR._tableModel.setData(websynapse.common.util.Statics.mapToArrayOfArraysPage(this.__Cn,this.__bR.getColumnIds(),this.__bR.getColumnTypes(),this.__Cm,this.__Cl));};},refreshData:function(d){this.__Cn=d;this.__bR.getSelectionModel().resetSelection();this.__bR._tableModel.setData(websynapse.common.util.Statics.mapToArrayOfArraysPage(this.__Cn,this.__bR.getColumnIds(),this.__bR.getColumnTypes(),this.__Cm,this.__Cl));},firstPage:function(){this.__Cm=1;this.__Cl=parseInt(this.__Ck);this.__bR.getSelectionModel().resetSelection();this.__bR._tableModel.setData(websynapse.common.util.Statics.mapToArrayOfArraysPage(this.__Cn,this.__bR.getColumnIds(),this.__bR.getColumnTypes(),this.__Cm,this.__Cl));},lastPage:function(){var x=this.getMaxRow()/this.getPageSize();this.__Cm=((~~x)*this.getPageSize())+1;this.__Cl=this.getMaxRow();this.__bR.getSelectionModel().resetSelection();this.__bR._tableModel.setData(websynapse.common.util.Statics.mapToArrayOfArraysPage(this.__Cn,this.__bR.getColumnIds(),this.__bR.getColumnTypes(),this.__Cm,this.__Cl));},nextPage:function(){this.__Cm+=parseInt(this.__Ck);this.__Cl+=parseInt(this.__Ck);this.__bR.getSelectionModel().resetSelection();this.__bR._tableModel.setData(websynapse.common.util.Statics.mapToArrayOfArraysPage(this.__Cn,this.__bR.getColumnIds(),this.__bR.getColumnTypes(),this.__Cm,this.__Cl));},prevPage:function(){this.__Cm-=parseInt(this.__Ck);this.__Cl=parseInt(this.__Cm)+parseInt(this.__Ck)-1;if(this.__Cm<1){this.__Cm=1;this.__Cl=parseInt(this.__Ck);};this.__bR.getSelectionModel().resetSelection();this.__bR._tableModel.setData(websynapse.common.util.Statics.mapToArrayOfArraysPage(this.__Cn,this.__bR.getColumnIds(),this.__bR.getColumnTypes(),this.__Cm,this.__Cl));},getMaxRow:function(){return this.__Cn.length;},getLoRow:function(){return parseInt(this.__Cm);},getHiRow:function(){return parseInt(this.__Cl);},getPageSize:function(){return parseInt(this.__Ck);}}});})();(function(){var a="Cancel",b="dialog-cancel.png",c="red",d="close",e="execute",f="websynapse.common.util.CallbackConfirmationDialog",g="Ok",h="bottom",i="Confirm",j="dialog-apply.png";qx.Class.define(f,{extend:websynapse.common.util.Dialog,construct:function(k,l){websynapse.common.util.Dialog.call(this);this.__Co=l;this.set({modal:true,showMaximize:false,showMinimize:false,width:250,maxWidth:250,caption:i});this.setLayout(new qx.ui.layout.VBox(10));this.add(new qx.ui.basic.Label(k).set({rich:true,width:200,textColor:c}));var m=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({marginTop:10});m.add(new qx.ui.container.Composite().set({alignY:h,maxHeight:10}),{flex:1});m.add(this.__Av=new qx.ui.form.Button(g,websynapse.common.util.Statics.getResource(j)).set({paddingTop:0,paddingBottom:0}),{flex:0});m.add(new qx.ui.container.Composite().set({alignY:h,maxHeight:10}),{flex:1});m.add(this.__Aw=new qx.ui.form.Button(a,websynapse.common.util.Statics.getResource(b)),{flex:0});m.add(new qx.ui.container.Composite().set({alignY:h,maxHeight:10}),{flex:1});this.add(m);this.__AX();this.open();this.center();},members:{__Av:null,__Aw:null,__Co:null,__AX:function(){this.__Aw.addListener(e,this.__Cp,this);this.addListener(d,this.__Cp,this);this.__Av.addListener(e,this.__Cq,this);},__Cp:function(){this.destroy();},__Cq:function(){this.destroy();this.__Co();}}});})();(function(){var a="websynapse.reports.ReportList",b="Report List",c="Select Report",d="longtap",f="tabledata",g="excluded",h="spinner128.gif",i="bottom",j="execute",k="report_list",l="custid",m="Loading...",n="reports.php",o="center",p="visible",q="changeSelection",r="pushscreen",s="name",t="cellDbltap",u="",v="appear",w="minIndex",x="Report Title",y="POST",z="opcode",A="rounded-table",B="id";qx.Class.define(a,{extend:websynapse.common.ui.screens.AbstractScreen,construct:function(){websynapse.common.ui.screens.AbstractScreen.call(this,this.tr(b));var C=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({marginLeft:10,marginRight:10});;C.add(this.__bS=new qx.ui.form.Button(this.tr(c)).set({visibility:g,marginBottom:5,alignY:i,allowGrowY:false}));C.add(new qx.ui.container.Composite().set({alignY:i,maxHeight:10}),{flex:1});this.add(C);var D=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:o})).set({marginLeft:10,marginRight:10,marginBottom:10});this.__Bo=[{column:B,hidden:1},{column:s,header:this.tr(x),width:650,minWidth:650,maxWidth:850,disappearOrder:-1},];this.__bR=new websynapse.common.ui.widgets.table.ResizableTable(this.__Bo).set({showCellFocusIndicator:false,columnVisibilityButtonVisible:false,headerCellHeight:32});this.__bR.setDecorator(A);this.__bR.setSpinnerImage(h);D.add(this.__bR,{flex:1});this.add(D,{flex:1});this.add(this.__Bs=new qx.ui.embed.Iframe(u).set({width:0,height:0,decorator:null}));this.__AX();this.__AW=this.addListener(v,this.__o,this);},members:{__AW:null,__bR:null,__Bo:null,__bP:null,__Bs:null,__bS:null,__AX:function(e){this.__bR.addListener(t,this.__BH,this);this.__bR.addListener(d,this.__BH,this);this.__bS.addListener(j,this.__BH,this);this.__bR.getSelectionModel().addListener(q,this.__BD,this);},__BD:function(){var E=this.__bR.getSelectionModel().getSelectedCount();this.__bS.setVisibility(E>0?p:g);},__BH:function(e){var H=this.__bR.getSelectionModel();var I=H.getSelectedRanges()[0];var F=I[w];var G=this.__bR.getTableModel().getRowDataAsMap(F);this.fireDataEvent(r,{"screen":websynapse.reports.ReportSetup,"inparam":G});},__o:function(){var K=this.getInParam();var J=new websynapse.common.util.Request(n,this.__Bb,this,this.__BY,this,this.tr(m));J.setTimeout(120000);J.setMethod(y);J.setFormField(z,k);J.setFormField(l,websynapse.common.util.Statics.CURR_CUSTID.custid);J.send();},__Bb:function(L){if(f in L){this.__bR.getSelectionModel().resetSelection();this.__bR.refreshData(L.tabledata);};},__BY:function(e){}}});})();(function(){var a="Saving...",b="CUSTID",c="Database Request Failed",d="Word For Windows",f="Rich Text Format",g="CustomerID",h="varchar",j="range",k="report_parm_request",l="filename",m="reports.php",n=".pdf$",o="set_report_parms",p="Report Setup",q="FACIL",r="errmsg",s="XLSX",t="Excel Record",u="number",v="Crystal Report",w=".doc$",x="HTML40",y="get_report_parms",z="opcode",A="bold",B='load',C="Facility",D="Report Formats",E="PDF",F="Missing or Invalid Parameters:",G="Word",H="sans-serif",I="Check If True",J=".xlsx$",K="Error Updating Report Parms",L="execute",M="Debug Optional",N="Crystal",O="Loading...",P="visible",Q="parmdata",R=":",S="middle",T="Report Has No Parameters",U=".xls$",V="N",W="Excel",X="Run Report",Y="3px 3px 3px #C0C0C0",ca="rptfmt",cb="websynapse.reports.ReportSetup",cc="CUST",bV="HTML 4.0",bW="Cust ID",bX="CUSTOMER",bY="Choose Format",ch="POST",ci="center",cj='_blank',ck="HTML32",cd="y-M-d",ce="custid",cf="required",cg="date",co="right",cL='',cM="rptid",cp="
",cl="HTML 3.2",cm="left",cO="False",cn="updatedata",cq="rpturl",cr="RTF",cs="rptdest",cw="Crystal Reports Error: ",cP="IN_FAC",cx=".htm$",ct="FACILITY",cu="excluded",cN="Getting Report Parameters...",cv="bottom",cC=".rpt$",cD="True",cQ="resp",cE="IN_DEBUG",cy=".rtf$",cz="report_create_request",cA="Creating Report...",cB="",cH="appear",cI="DEBUG",cJ="Please Select a Report Type",cK="Verdana",cF="boolean",cG="Report: ";qx.Class.define(cb,{extend:websynapse.common.ui.screens.AbstractScreen,construct:function(){websynapse.common.ui.screens.AbstractScreen.call(this,this.tr(p));var cR=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({marginLeft:10,marginRight:10});;cR.add(this.__Cr=new qx.ui.form.Button(this.tr(X)).set({visibility:cu,marginBottom:5,alignY:cv,allowGrowY:false}));this.__Cr.setVisibility(P);cR.add(new qx.ui.container.Composite().set({alignY:cv,maxHeight:10}),{flex:1});this.add(cR);this.__Cs=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:ci})).set({marginLeft:10,marginRight:10,marginBottom:10});this.__Cs.add(this.__Ct=new qx.ui.basic.Label(cB).set({font:A}));this.add(this.__Cs,{flex:1});this.__Cu=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:cm,alignY:cv}));this.__Cu.add(this.__Cv=new websynapse.common.ui.widgets.SelectBox(true,this.tr(bY)).set({marginLeft:5,alignY:cv}));this.__Cw=new qx.ui.container.Composite(new qx.ui.layout.Grid(10,2)).set({marginLeft:10,marginRight:10,marginBottom:10});this.__Cs.add(this.__Cw,{flex:1});this.__AX();this.__AW=this.addListener(cH,this.__o,this);},members:{__AW:null,__Cs:null,__Cw:null,__Ct:null,__Cx:null,__Cr:null,__Cy:null,__Cv:null,__Cu:null,__Cz:null,__AX:function(e){this.__Cr.addListener(L,this.__CA,this);},__CA:function(){var cS=0;var cV=cB;var cU=this.__Cz;var cT=this.__Cv.getSelectedValue();if(cT==cB){new websynapse.common.util.ExceptionMsg(this.tr(cJ),cB);return;};for(var i=0;i1)cV+=cp;cV+=cU.parmdata[i].descr;continue;};if(cU.parmdata[i].type==h){cU.parmdata[i].val=e;}else if(cU.parmdata[i].type==cg||cU.parmdata[i].type==j){cU.parmdata[i].val=websynapse.reports.ReportUtility.formatDate(e);}else if(cU.parmdata[i].type==u){if(websynapse.reports.ReportUtility.isNumeric(e)){cU.parmdata[i].val=e;}else {cS++ ;if(cS>1)cV+=cp;cV+=cU.parmdata[i].descr;continue;};}else if(cU.parmdata[i].type==j){cU.parmdata[i].val=e;};};if(cU.parmdata.length>0){if(cS>0){new websynapse.common.util.ExceptionMsg(this.tr(F),cV);return;}else {this.__CE(cU);};}else {this.__CB(cU);};},__CB:function(cY){var cW=this.__Cv.getSelectedValue();if(cW==cB){new websynapse.common.util.ExceptionMsg(this.tr(cJ),cB);return;};websynapse.common.util.Statics.REPORT_FORMAT=cW;var da=this.getInParam();var cX=new websynapse.common.util.Request(m,this.__CC,this,this.__CD,this,this.tr(cA));cX.setTimeout(120000);cX.setMethod(ch);cX.setFormField(z,cz);cX.setFormField(ce,websynapse.common.util.Statics.CURR_CUSTID.custid);cX.setFormField(cM,websynapse.common.util.Statics.REPORT_PATH+da.id);cX.setFormField(ca,cW);cX.setFormField(cs,websynapse.common.util.Statics.REPORT_DEST);cX.setFormField(cq,websynapse.common.util.Statics.REPORT_URL);cX.send();},__CC:function(dd){if(r in dd){new websynapse.common.util.ExceptionMsg(cw+dd.errmsg,cB);return;};var db=cB;if(l in dd){db=dd.filename;};if(db.match(n)||db.match(U)||db.match(J)||db.match(w)||db.match(cC)||db.match(cx)||db.match(cy)){}else {new websynapse.common.util.ExceptionMsg(cw+dd.filename,cB);return;};var dc=qx.bom.Window.open(db,cj);qx.bom.Event.addNativeListener(dc,B,function(e){var de=qx.dom.Node.getBodyElement(dc);var dg=qx.dom.Node.getDocumentElement(dc);if((dg&&qx.dom.Hierarchy.isEmpty(dg))||(de&&qx.dom.Hierarchy.isEmpty(de))){dc.close();};});},__CD:function(dj,dh){var di=JSON.parse(dh);this.__CC(di);},__CE:function(dl){var dm=this.getInParam();var dk=new websynapse.common.util.Request(m,this.__CF,this,this.__CG,this,this.tr(a));dk.setTimeout(120000);dk.setMethod(ch);dk.setFormField(z,o);dk.setFormField(ce,websynapse.common.util.Statics.CURR_CUSTID.custid);dk.setFormField(cM,websynapse.common.util.Statics.REPORT_PATH+dm.id);dk.setFormField(cn,qx.lang.Json.stringify(websynapse.reports.ReportUtility.formatSaveData(dl.parmdata)));dk.send();},__CF:function(dn){var dn=this.__Cz;this.__CB(dn);},__CG:function(){new websynapse.common.util.ExceptionMsg(this.tr(K),cB);},__Ba:function(){this.__Cv.removeAll();var dp=[{key:E,value:E},{key:s,value:W},{key:s,value:t},{key:G,value:d},{key:N,value:v},{key:ck,value:cl},{key:x,value:bV},{key:cr,value:f}];this.__Cv.loadList(dp);this.__Cv.selectItem(websynapse.common.util.Statics.REPORT_FORMAT);},__o:function(){this.__Ba();var dr=this.getInParam();this.__Cx=dr.name;this.__Cs.remove(this.__Ct);this.__Cs.add(this.__Ct=new qx.ui.basic.Label(cG+this.__Cx).set({font:new qx.bom.Font(14,[cK,H]).set({bold:true,textShadow:Y})}));var dq=new websynapse.common.util.Request(m,this.__Bb,this,this.__BY,this,this.tr(cN));dq.setTimeout(120000);dq.setMethod(ch);dq.setFormField(z,k);dq.setFormField(ce,websynapse.common.util.Statics.CURR_CUSTID.custid);dq.setFormField(cM,websynapse.common.util.Statics.REPORT_PATH+dr.id);dq.send();},__Bb:function(ds){if(cQ in ds){this.__CH();};},__CH:function(){var du=this.getInParam();var dt=new websynapse.common.util.Request(m,this.__CI,this,this.__BY,this,this.tr(O));dt.setTimeout(120000);dt.setMethod(ch);dt.setFormField(z,y);dt.setFormField(ce,websynapse.common.util.Statics.CURR_CUSTID.custid);dt.setFormField(cM,websynapse.common.util.Statics.REPORT_PATH+du.id);dt.send();},__CI:function(dy){if(Q in dy){this.__Cz=dy;this.__Cw.removeAll();this.__Cy=[];var dv=new qx.ui.basic.Label(this.tr(D)+R).set({font:A,alignY:cv});this.__Cw.add(dv,{row:1,column:1});this.__Cw.add(this.__Cu,{row:1,column:2});var dx=new qx.util.format.DateFormat(cd);for(var i=0;i=0||dy.parmdata[i].descr.toUpperCase().indexOf(cP)>=0||dy.parmdata[i].descr.toUpperCase().indexOf(q)>=0){this.__Cy[i].setValue(websynapse.common.util.Statics.CURR_FACILITY);this.__Cy[i].setReadOnly(true);}else if(dy.parmdata[i].descr==g||dy.parmdata[i].descr==bW||dy.parmdata[i].descr.toUpperCase().indexOf(b)>=0||dy.parmdata[i].descr.toUpperCase().indexOf(bX)>=0||dy.parmdata[i].descr.toUpperCase().indexOf(cc)>=0){this.__Cy[i].setValue(websynapse.common.util.Statics.CURR_CUSTID.custid);this.__Cy[i].setReadOnly(true);}else if(dy.parmdata[i].descr==M||dy.parmdata[i].descr.toUpperCase().indexOf(cE)>=0||dy.parmdata[i].descr.toUpperCase().indexOf(cI)>=0){this.__Cy[i].setValue(V);this.__Cy[i].setReadOnly(true);};}else if(dy.parmdata[i].type==cg||dy.parmdata[i].type==j){this.__Cw.add(this.__Cy[i]=new qx.ui.form.DateField().set({width:200}),{row:i+2,column:2});this.__Cy[i].setDateFormat(dx);}else if(dy.parmdata[i].type==u){this.__Cw.add(this.__Cy[i]=new qx.ui.form.TextField().set({maxLength:50,width:200}),{row:i+2,column:2});this.__Cy[i].setFilter(/[0-9]/);}else if(dy.parmdata[i].type==j){this.__Cw.add(this.__Cy[i]=new qx.ui.form.TextField().set({maxLength:50,width:200}),{row:i+2,column:2});}else if(dy.parmdata[i].type==cF){this.__Cw.add(this.__Cy[i]=new qx.ui.form.CheckBox(this.tr(I)).set({marginLeft:5}),{row:i+2,column:2});};};if(dy.parmdata.length==0){var dz=new qx.ui.basic.Label(T);dz.set({alignX:co,font:A,alignY:S});this.__Cw.add(dz,{row:2,column:1});};};},__BY:function(e){new websynapse.common.util.ExceptionMsg(c,cB);}}});})();(function(){var a="-",b="name",c="0",d="",e="websynapse.reports.ReportUtility",f="Required Field",g="message",h="|",j="tab",k="form",l="field",m="key",n="Invalid Number Format",o='&',p="static";qx.Class.define(e,{type:p,statics:{REQUIRED_FIELD:f,INVALID_NUMBER_FORMAT:n,addValidationItem:function(s,q,r,name){s.add(q);q.setUserData(j,r);q.setUserData(b,name);},invalidFormData:function(u){var v=[];var t=u.getInvalidFormItems();for(var i=0;i0){U.push(T[i].num+h+T[i].type+h+T[i].val);};};return U;}}});})();(function(){var a="Validation Errors",b="rounded-table",c="websynapse.reports.ReportValidationDialog",d="left",e="Field",f="message",g="Tab",h="form",i="Message",j="field";qx.Class.define(c,{extend:websynapse.common.ui.screens.AbstractDialogScreen,construct:function(parent){websynapse.common.ui.screens.AbstractDialogScreen.call(this,this.tr(a),new qx.ui.layout.VBox(),null);this.set({maxHeight:250});this.__At=parent;var l=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:d})).set({margin:5});var k=[{"column":h,"header":this.tr(g),"width":100,"minWidth":100,"maxWidth":100,"disappearOrder":-1},{"column":j,"header":this.tr(e),"width":150,"minWidth":150,"maxWidth":150,"disappearOrder":-1},{"column":f,"header":this.tr(i),"width":150,"minWidth":150,"maxWidth":200,"disappearOrder":-1}];this.__bR=new websynapse.common.ui.widgets.table.ResizableTable(k).set({showCellFocusIndicator:false,columnVisibilityButtonVisible:false});this.__bR.setDecorator(b);l.add(this.__bR,{flex:1});this.add(l,{flex:1});this.__Ay();},members:{__Av:null,__Aw:null,__At:null,__Ax:null,__bR:null,__Ay:function(){},_preOpenAction:function(){var m=this.getInParam();this.__bR.refreshData(m.data);}}});})();(function(){var a="no",b="px",c="qx.bom.Window",d="Cross-Domain Scripting problem: Could not resize window!",e="' is not supported for native windows.",f="interval",g="dialogWidth",h="resizable",i=":",j="yes",k="dialogTop",l="qxNativeWindow",m="Cross-Domain Scripting problem: Could not move window!",n="",o="Option '",p="javascript:/",q="dialogLeft",r="dialogHeight",s="' is not supported for modal windows.",t='load',u="scrollbars",v="=",w=";",x="scroll",y=",";qx.Class.define(c,{statics:{__YC:null,__bdX:null,__Mj:null,__bdY:{"top":k,left:q,width:g,height:r,scrollbars:x,resizable:h},__bea:{"top":1,left:1,width:1,height:1,dependent:1,resizable:1,status:1,location:1,menubar:1,scrollbars:1,toolbar:1},__beb:function(){return window.showModalDialog!=null;},open:function(z,name,H,E,A,D,self){var C=null;if(z==null){z=p;};if(name==null){name=l+new Date().getTime();};if(A==null){A=true;};var G=this.__bec(H,E&&A);if(E){if(this.__beb()&&A){C=window.showModalDialog(z,[window.self],G);}else {this.getBlocker().block();if(this.__Mj==null){this.__Mj=new qx.event.Timer(500);this.__Mj.addListener(f,this.__bed,this);};this.__bdX=window.open(z,name,G);this.__Mj.restart();C=this.__bdX;};}else {C=window.open(z,name,G);};if(C&&D&&(D instanceof Function)){var F=self||C;var B=qx.lang.Function.bind(D,F);qx.bom.Event.addNativeListener(C,t,function(){B();qx.bom.Event.removeNativeListener(C,t,arguments.callee);});};return C;},__bec:function(K,O){var M;var J;var N=[];if(O&&this.__beb()){for(var L in K){if(qx.bom.Window.__bdY[L]){var I=n;if(L!=u&&L!=h){I=b;};J=qx.bom.Window.__bdY[L]+i+K[L]+I;N.push(J);}else {qx.log.Logger.warn(o+L+s);};};M=N.join(w);}else {for(var L in K){if(qx.bom.Window.__bea[L]){if(qx.lang.Type.isBoolean(K[L])){J=L+v+(K[L]?j:a);}else {J=L+v+K[L];};N.push(J);}else {qx.log.Logger.warn(o+L+e);};};M=N.join(y);};return M;},__bed:function(){if(this.isClosed(this.__bdX)){this.getBlocker().unblock();this.__Mj.stop();};},getBlocker:function(){if(this.__YC==null){this.__YC=new qx.bom.Blocker;};return this.__YC;},close:function(P){if(P){return P.close();};},isClosed:function(Q){var closed=true;if(Q){try{closed=Q.closed;}catch(R){};};return closed;},moveTo:function(S,top,T){if(!qx.bom.Window.isClosed(S)){try{S.moveTo(T,top);}catch(U){qx.log.Logger.error(m,U);};};},resizeTo:function(V,W,X){if(!qx.bom.Window.isClosed(V)){try{V.resizeTo(W,X);}catch(Y){qx.log.Logger.error(d,Y);};};}}});})();(function(){var a="resize",b="mshtml",c="backgroundColor",d="block",f="transparent",g="px",h="zIndex",i="src",j="engine.name",k="0px",l="allowTransparency",m="div",n="javascript:false;",o="qx.bom.Blocker",p="absolute";qx.Class.define(o,{extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__o();},members:{__bee:null,__bdJ:null,__bef:null,__beg:false,__beh:10000,__bei:0,__bej:f,block:function(r){if(!this.__beg){this.__bef=r;var q=this.__bem();this.__ben(q);this.__beg=true;};},unblock:function(){if(this.__beg){this.__beo();this.__beg=false;};},isBlocked:function(){return this.__beg;},getBlockerElement:function(){return this.__bdJ;},setBlockerColor:function(s){qx.bom.element.Style.set(this.__bdJ,c,s);},getBlockerColor:function(){return qx.bom.element.Style.get(this.__bdJ,c);},setBlockerOpacity:function(t){qx.bom.element.Opacity.set(this.__bdJ,t);},getBlockerOpacity:function(){return qx.bom.element.Opacity.get(this.__bdJ);},setBlockerZIndex:function(u){qx.bom.element.Style.set(this.__bdJ,h,u);},getBlockerZIndex:function(){return qx.bom.element.Style.get(this.__bdJ,h);},__o:function(){this.__bek();if((qx.core.Environment.get(j)==b)){this.__bel();};qx.event.Registration.addListener(window,a,this.__bep,this);},__bek:function(){this.__bdJ=qx.dom.Element.create(m);qx.bom.element.Style.setStyles(this.__bdJ,{display:d,opacity:this.__bei,backgroundColor:this.__bej});this.setBlockerZIndex(this.__beh);},__bel:function(){this.__bee=qx.bom.Iframe.create();qx.bom.element.Attribute.set(this.__bee,l,false);qx.bom.element.Attribute.set(this.__bee,i,n);qx.bom.element.Style.setStyles(this.__bee,{display:d,opacity:this.__bei});},__bem:function(){var v={position:p};if(this.__ber()){v.left=k;v.top=k;v.right=null;v.bottom=null;v.width=qx.bom.Document.getWidth()+g;v.height=qx.bom.Document.getHeight()+g;}else {v.width=qx.bom.element.Dimension.getWidth(this.__bef)+g;v.height=qx.bom.element.Dimension.getHeight(this.__bef)+g;v.left=qx.bom.element.Location.getLeft(this.__bef)+g;v.top=qx.bom.element.Location.getTop(this.__bef)+g;};return v;},__ben:function(w){var x=document.body;qx.bom.element.Style.setStyles(this.__bdJ,w);qx.dom.Element.insertEnd(this.__bdJ,x);if((qx.core.Environment.get(j)==b)){w.zIndex=this.getBlockerZIndex()-1;qx.bom.element.Style.setStyles(this.__bee,w);qx.dom.Element.insertEnd(this.__bee,document.body);};},__beo:function(){qx.dom.Element.remove(this.__bdJ);if((qx.core.Environment.get(j)==b)){qx.dom.Element.remove(this.__bee);};},__bep:function(e){if(this.__ber()){this.__beq({width:k,height:k});qx.event.Timer.once(function(){var y={width:qx.bom.Document.getWidth()+g,height:qx.bom.Document.getHeight()+g};this.__beq(y);},this,0);};},__beq:function(z){qx.bom.element.Style.setStyles(this.__bdJ,z);if((qx.core.Environment.get(j)==b)){qx.bom.element.Style.setStyles(this.__bee,z);};},__ber:function(){return (this.__bef==null||qx.dom.Node.isWindow(this.__bef)||qx.dom.Node.isDocument(this.__bef));}},destruct:function(){qx.event.Registration.removeListener(window,a,this.__bep,this);this.__bee=this.__bdJ=this.__bef=null;}});})();(function(){var a="qx.ui.form.IDateForm",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="popupOpen",b="blur",c="qx.util.format.DateFormat",d="Escape",f="changeValue",g="Left",h="Down",i="button",j="Up",k="execute",l="qx.event.type.Data",m="inner",n="list",o="changeLocale",p="visible",q="middle",r="String",s="_applyDateFormat",t="pointerup",u="",v="changeVisibility",w="textfield",x="qx.dynlocale",y="medium",z="focusin",A="popup",B="qx.ui.form.DateField",C="focusout",D="datefield",E="_applyPlaceholder",F="hidden",G="tap",H="Right";qx.Class.define(B,{extend:qx.ui.core.Widget,include:[qx.ui.core.MRemoteChildrenHandling,qx.ui.form.MForm],implement:[qx.ui.form.IForm,qx.ui.form.IDateForm],construct:function(){qx.ui.core.Widget.call(this);var J=new qx.ui.layout.HBox();this._setLayout(J);J.setAlignY(q);var I=this._createChildControl(w);this._createChildControl(i);this.addListener(G,this._onTap,this);this.addListener(b,this._onBlur,this);this.addListener(z,function(e){I.fireNonBubblingEvent(z,qx.event.type.Focus);I.setTextSelection(0,0);},this);this.addListener(C,function(e){I.fireNonBubblingEvent(C,qx.event.type.Focus);},this);this._setDefaultDateFormat();this._addLocaleChangeListener();},events:{"changeValue":l},properties:{dateFormat:{check:c,apply:s},placeholder:{check:r,nullable:true,apply:E},appearance:{refine:true,init:D},focusable:{refine:true,init:true},width:{refine:true,init:120}},statics:{__bcA:null,__bcB:null,getDefaultDateFormatter:function(){var K=qx.locale.Date.getDateFormat(y).toString();if(K==this.__bcA){return this.__bcB;};if(this.__bcB){this.__bcB.dispose();};this.__bcB=new qx.util.format.DateFormat(K,qx.locale.Manager.getInstance().getLocale());this.__bcA=K;return this.__bcB;}},members:{__bcC:null,_forwardStates:{focused:true,invalid:true},_setDefaultDateFormat:function(){this.setDateFormat(qx.ui.form.DateField.getDefaultDateFormatter());},_addLocaleChangeListener:function(){if(qx.core.Environment.get(x)){this.__bcC=qx.locale.Manager.getInstance().addListener(o,function(){this._setDefaultDateFormat();},this);};},setValue:function(N){var L=this.getChildControl(w);L.setValue(this.getDateFormat().format(N));var M=this.getChildControl(n);M.setValue(N);},getValue:function(){var O=this.getChildControl(w).getValue();try{return this.getDateFormat().parse(O);}catch(P){return null;};},resetValue:function(){var Q=this.getChildControl(w);Q.setValue(u);var R=this.getChildControl(n);R.setValue(null);},open:function(){var S=this.getChildControl(A);S.placeToWidget(this,true);S.show();},close:function(){this.getChildControl(A).hide();},toggle:function(){var T=this.getChildControl(A).isVisible();if(T){this.close();}else {this.open();};},_applyDateFormat:function(Y,W){if(!W){return;};try{var V=this.getChildControl(w);var X=V.getValue();var U=W.parse(X);V.setValue(Y.format(U));}catch(ba){};},_applyPlaceholder:function(bc,bb){this.getChildControl(w).setPlaceholder(bc);},_createChildControlImpl:function(bf,be){var bd;switch(bf){case w:bd=new qx.ui.form.TextField();bd.setFocusable(false);bd.addState(m);bd.addListener(f,this._onTextFieldChangeValue,this);bd.addListener(b,this.close,this);this._add(bd,{flex:1});break;case i:bd=new qx.ui.form.Button();bd.setFocusable(false);bd.setKeepActive(true);bd.addState(m);bd.addListener(k,this.toggle,this);this._add(bd);break;case n:bd=new qx.ui.control.DateChooser();bd.setFocusable(false);bd.setKeepFocus(true);bd.addListener(k,this._onChangeDate,this);break;case A:bd=new qx.ui.popup.Popup(new qx.ui.layout.VBox);bd.setAutoHide(false);bd.add(this.getChildControl(n));bd.addListener(t,this._onChangeDate,this);bd.addListener(v,this._onPopupChangeVisibility,this);break;};return bd||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,bf);},_onChangeDate:function(e){var bg=this.getChildControl(w);var bh=this.getChildControl(n).getValue();bg.setValue(this.getDateFormat().format(bh));this.close();},_onTap:function(e){this.close();},_onBlur:function(e){this.close();},_onKeyPress:function(e){var bi=e.getKeyIdentifier();if(bi==h&&e.isAltPressed()){this.toggle();e.stopPropagation();return;};var bj=this.getChildControl(A);if(bj.getVisibility()==F){return;};if(bi==d){this.close();e.stopPropagation();return;};if(bi===g||bi===H||bi===h||bi===j){e.preventDefault();};this.getChildControl(n).handleKeyPress(e);},_onPopupChangeVisibility:function(e){e.getData()==p?this.addState(a):this.removeState(a);var bl=this.getChildControl(A);if(bl.isVisible()){var bm=this.getChildControl(n);var bk=this.getValue();bm.setValue(bk);};},_onTextFieldChangeValue:function(e){var bn=this.getValue();if(bn!=null){var bo=this.getChildControl(n);bo.setValue(bn);};this.fireDataEvent(f,this.getValue());},isEmpty:function(){var bp=this.getChildControl(w).getValue();return bp==null||bp==u;}},destruct:function(){if(qx.core.Environment.get(x)){if(this.__bcC){qx.locale.Manager.getInstance().removeListenerById(this.__bcC);};};}});})();(function(){var a="PageUp",b="day",c="lastMonth",d="yyyyMMMM",f="Next month",g="Escape",h="Left",j="last-month-button",k="default",l="today",m="weekday",n="changeValue",o="Space",p="selected",q="Down",r="Integer",s="qx.ui.control.DateChooser",t="Up",u="Enter",v="PageDown",w="day#",z="changeLocale",A="Next year",B="ww",C="_applyValue",D="next-month-button",E="next-month-button-tooltip",F="weekday#",G="last-month-button-tooltip",H="datechooser",I="header",J="week",K="lastYear",L="pointerup",M="otherMonth",N="month-year-label",O="nextYear",P="last-year-button",Q="changeShownYear",R="week#",S="qx.dynlocale",T="next-year-button",U="Last month",V="Right",W="Last year",X="MMMM yyyy",Y="EE",bs="week#0",bt="keypress",bu="",bo="navigation-bar",bp="nextMonth",bq="last-year-button-tooltip",br="next-year-button-tooltip",by="Date",bz="tap",bA="pointerdown",bB="date-pane",bv="dbltap",bw="weekend",bx="changeShownMonth";qx.Class.define(s,{extend:qx.ui.core.Widget,include:[qx.ui.core.MExecutable,qx.ui.form.MForm],implement:[qx.ui.form.IExecutable,qx.ui.form.IForm,qx.ui.form.IDateForm],construct:function(bC){qx.ui.core.Widget.call(this);var bF=new qx.ui.layout.VBox();this._setLayout(bF);this._createChildControl(bo);this._createChildControl(bB);this.addListener(bt,this._onKeyPress);var bD=qx.ui.control.DateChooser;if(!bD.MONTH_YEAR_FORMAT){bD.MONTH_YEAR_FORMAT=qx.locale.Date.getDateTimeFormat(d,X);};var bE=(bC!=null)?bC:new Date();this.showMonth(bE.getMonth(),bE.getFullYear());if(qx.core.Environment.get(S)){qx.locale.Manager.getInstance().addListener(z,this._updateDatePane,this);};this.addListener(bA,this._onPointerUpDown,this);this.addListener(L,this._onPointerUpDown,this);},statics:{MONTH_YEAR_FORMAT:null,WEEKDAY_FORMAT:Y,WEEK_FORMAT:B},properties:{appearance:{refine:true,init:H},width:{refine:true,init:200},height:{refine:true,init:150},shownMonth:{check:r,init:null,nullable:true,event:bx},shownYear:{check:r,init:null,nullable:true,event:Q},value:{check:by,init:null,nullable:true,event:n,apply:C}},members:{__bcD:null,__bcE:null,__bcF:null,_forwardStates:{invalid:true},_createChildControlImpl:function(bK,bH){var bG;switch(bK){case bo:bG=new qx.ui.container.Composite(new qx.ui.layout.HBox());bG.add(this.getChildControl(P));bG.add(this.getChildControl(j));bG.add(this.getChildControl(N),{flex:1});bG.add(this.getChildControl(D));bG.add(this.getChildControl(T));this._add(bG);break;case bq:bG=new qx.ui.tooltip.ToolTip(this.tr(W));break;case P:bG=new qx.ui.toolbar.Button();bG.addState(K);bG.setFocusable(false);bG.setToolTip(this.getChildControl(bq));bG.addListener(bz,this._onNavButtonTap,this);break;case G:bG=new qx.ui.tooltip.ToolTip(this.tr(U));break;case j:bG=new qx.ui.toolbar.Button();bG.addState(c);bG.setFocusable(false);bG.setToolTip(this.getChildControl(G));bG.addListener(bz,this._onNavButtonTap,this);break;case E:bG=new qx.ui.tooltip.ToolTip(this.tr(f));break;case D:bG=new qx.ui.toolbar.Button();bG.addState(bp);bG.setFocusable(false);bG.setToolTip(this.getChildControl(E));bG.addListener(bz,this._onNavButtonTap,this);break;case br:bG=new qx.ui.tooltip.ToolTip(this.tr(A));break;case T:bG=new qx.ui.toolbar.Button();bG.addState(O);bG.setFocusable(false);bG.setToolTip(this.getChildControl(br));bG.addListener(bz,this._onNavButtonTap,this);break;case N:bG=new qx.ui.basic.Label();bG.setAllowGrowX(true);bG.setAnonymous(true);break;case J:bG=new qx.ui.basic.Label();bG.setAllowGrowX(true);bG.setAllowGrowY(true);bG.setSelectable(false);bG.setAnonymous(true);bG.setCursor(k);break;case m:bG=new qx.ui.basic.Label();bG.setAllowGrowX(true);bG.setAllowGrowY(true);bG.setSelectable(false);bG.setAnonymous(true);bG.setCursor(k);break;case b:bG=new qx.ui.basic.Label();bG.setAllowGrowX(true);bG.setAllowGrowY(true);bG.setCursor(k);bG.addListener(bA,this._onDayTap,this);bG.addListener(bv,this._onDayDblTap,this);break;case bB:var bJ=new qx.ui.layout.Grid();bG=new qx.ui.container.Composite(bJ);for(var i=0;i<8;i++ ){bJ.setColumnFlex(i,1);};for(var i=0;i<7;i++ ){bJ.setRowFlex(i,1);};var bI=this.getChildControl(bs);bI.addState(I);bG.add(bI,{column:0,row:0});this.__bcD=[];for(var i=0;i<7;i++ ){bI=this.getChildControl(F+i);bG.add(bI,{column:i+1,row:0});this.__bcD.push(bI);};this.__bcE=[];this.__bcF=[];for(var y=0;y<6;y++ ){var bI=this.getChildControl(R+(y+1));bG.add(bI,{column:0,row:y+1});this.__bcF.push(bI);for(var x=0;x<7;x++ ){var bI=this.getChildControl(w+((y*7)+x));bG.add(bI,{column:x+1,row:y+1});this.__bcE.push(bI);};};this._add(bG);break;};return bG||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,bK);},_applyValue:function(bN,bM){if((bN!=null)&&(this.getShownMonth()!=bN.getMonth()||this.getShownYear()!=bN.getFullYear())){this.showMonth(bN.getMonth(),bN.getFullYear());}else {var bL=(bN==null)?-1:bN.getDate();for(var i=0;i<6*7;i++ ){var bO=this.__bcE[i];if(bO.hasState(M)){if(bO.hasState(p)){bO.removeState(p);};}else {var bP=parseInt(bO.getValue(),10);if(bP==bL){bO.addState(p);}else if(bO.hasState(p)){bO.removeState(p);};};};};},_onPointerUpDown:function(e){var bQ=e.getTarget();if(bQ==this.getChildControl(bo)||bQ==this.getChildControl(bB)){e.stopPropagation();return;};},_onNavButtonTap:function(bS){var bR=this.getShownYear();var bT=this.getShownMonth();switch(bS.getCurrentTarget()){case this.getChildControl(P):bR-- ;break;case this.getChildControl(j):bT-- ;if(bT<0){bT=11;bR-- ;};break;case this.getChildControl(D):bT++ ;if(bT>=12){bT=0;bR++ ;};break;case this.getChildControl(T):bR++ ;break;};this.showMonth(bT,bR);},_onDayTap:function(bU){var bV=bU.getCurrentTarget().dateTime;this.setValue(new Date(bV));},_onDayDblTap:function(){this.execute();},_onKeyPress:function(bY){var ca=null;var cb=null;var bX=null;if(bY.getModifiers()==0){switch(bY.getKeyIdentifier()){case h:ca=-1;break;case V:ca=1;break;case t:ca=-7;break;case q:ca=7;break;case a:cb=-1;break;case v:cb=1;break;case g:if(this.getValue()!=null){this.setValue(null);return;};break;case u:case o:if(this.getValue()!=null){this.execute();};return;};}else if(bY.isShiftPressed()){switch(bY.getKeyIdentifier()){case a:bX=-1;break;case v:bX=1;break;};};if(ca!=null||cb!=null||bX!=null){var bW=this.getValue();if(bW!=null){bW=new Date(bW.getTime());};if(bW==null){bW=new Date();}else {if(ca!=null){bW.setDate(bW.getDate()+ca);};if(cb!=null){bW.setMonth(bW.getMonth()+cb);};if(bX!=null){bW.setFullYear(bW.getFullYear()+bX);};};this.setValue(bW);};},showMonth:function(cc,cd){if((cc!=null&&cc!=this.getShownMonth())||(cd!=null&&cd!=this.getShownYear())){if(cc!=null){this.setShownMonth(cc);};if(cd!=null){this.setShownYear(cd);};this._updateDatePane();};},handleKeyPress:function(e){this._onKeyPress(e);},_updateDatePane:function(){var ct=qx.ui.control.DateChooser;var cq=new Date();var ci=cq.getFullYear();var co=cq.getMonth();var cl=cq.getDate();var cu=this.getValue();var cx=(cu==null)?-1:cu.getFullYear();var cE=(cu==null)?-1:cu.getMonth();var cn=(cu==null)?-1:cu.getDate();var cm=this.getShownMonth();var cB=this.getShownYear();var cj=qx.locale.Date.getWeekStart();var cv=new Date(this.getShownYear(),this.getShownMonth(),1);var cs=new qx.util.format.DateFormat(ct.MONTH_YEAR_FORMAT);this.getChildControl(N).setValue(cs.format(cv));var cD=cv.getDay();var cp=1+((7-cD)%7);var cw=new qx.util.format.DateFormat(ct.WEEKDAY_FORMAT);for(var i=0;i<7;i++ ){var cy=(i+cj)%7;var cA=this.__bcD[i];cv.setDate(cp+cy);cA.setValue(cw.format(cv));if(qx.locale.Date.isWeekend(cy)){cA.addState(bw);}else {cA.removeState(bw);};};cv=new Date(cB,cm,1,12,0,0);var cf=(7+cD-cj)%7;cv.setDate(cv.getDate()-cf);var cz=new qx.util.format.DateFormat(ct.WEEK_FORMAT);for(var cr=0;cr<6;cr++ ){this.__bcF[cr].setValue(cz.format(cv));for(var i=0;i<7;i++ ){var cA=this.__bcE[cr*7+i];var ch=cv.getFullYear();var cg=cv.getMonth();var ck=cv.getDate();var ce=(cx==ch&&cE==cg&&cn==ck);if(ce){cA.addState(p);}else {cA.removeState(p);};if(cg!=cm){cA.addState(M);}else {cA.removeState(M);};var cC=(ch==ci&&cg==co&&ck==cl);if(cC){cA.addState(l);}else {cA.removeState(l);};cA.setValue(bu+ck);cA.dateTime=cv.getTime();cv.setDate(cv.getDate()+1);};};cs.dispose();cw.dispose();cz.dispose();}},destruct:function(){if(qx.core.Environment.get(S)){qx.locale.Manager.getInstance().removeListener(z,this._updateDatePane,this);};this.__bcD=this.__bcE=this.__bcF=null;}});})();(function(){var a="qx.ui.form.IRadioItem",b="qx.event.type.Data";qx.Interface.define(a,{events:{"changeValue":b},members:{setValue:function(c){},getValue:function(){},setGroup:function(d){this.assertInstance(d,qx.ui.form.RadioGroup);},getGroup:function(){}}});})();(function(){var a="_applyAllowEmptySelection",b="_applyInvalidMessage",c="qx.ui.form.RadioGroup",d="Boolean",f="_applyValid",g="",h="changeRequired",j="changeValid",k="changeEnabled",m="__Gb",n="changeInvalidMessage",o="changeSelection",p="changeValue",q="_applyEnabled",r="String";qx.Class.define(c,{extend:qx.core.Object,implement:[qx.ui.core.ISingleSelection,qx.ui.form.IForm,qx.ui.form.IModelSelection],include:[qx.ui.core.MSingleSelectionHandling,qx.ui.form.MModelSelection],construct:function(s){qx.core.Object.call(this);this.__Gb=[];this.addListener(o,this.__Yn,this);if(s!=null){this.add.apply(this,arguments);};},properties:{enabled:{check:d,apply:q,event:k,init:true},wrap:{check:d,init:true},allowEmptySelection:{check:d,init:false,apply:a},valid:{check:d,init:true,apply:f,event:j},required:{check:d,init:false,event:h},invalidMessage:{check:r,init:g,event:n,apply:b},requiredInvalidMessage:{check:r,nullable:true,event:n}},members:{__Gb:null,getItems:function(){return this.__Gb;},add:function(u){var v=this.__Gb;var t;for(var i=0,l=arguments.length;i0&&!this.getSelection()[0]){this.setSelection([v[0]]);};},remove:function(w){var x=this.__Gb;if(qx.lang.Array.contains(x,w)){qx.lang.Array.remove(x,w);if(w.getGroup()===this){w.resetGroup();};w.removeListener(p,this._onItemChangeChecked,this);if(w.getValue()){this.resetSelection();};};},getChildren:function(){return this.__Gb;},_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;i0);},__CJ:function(){var bj=this.__bR.getSelectionModel();var bk=bj.getSelectedRanges()[0];var bg=bk[I];var bh=this.__bR.getTableModel().getRowDataAsMap(bg);var bi=new websynapse.common.util.Request(E,this.__CK,this,this.__CL,this);bi.setMethod(o);bi.setParameter(P,K);bi.setParameter(m,websynapse.common.util.Statics.CURR_CUSTID.custid);bi.setParameter(G,bh.key);bi.setParameter(A,bh.value);bi.send();},__CK:function(bl){var s=websynapse.common.util.Statics;s.CURR_FACILITY=bl.current_facility.facility;s.CURR_FACNAME=bl.current_facility.name;var bm=this.getInParam();if(bm.screen==F||bm.screen==k||bm.screen==r||bm.screen==C||bm.screen==y){s.MAIN_WINDOW.changeScreen(websynapse.inventory.InventorySearch,bm);}else if(bm.screen==q||bm.screen==z||bm.screen==M||bm.screen==a){s.MAIN_WINDOW.homeScreen();}else if(bm.screen==b||bm.screen==c){s.MAIN_WINDOW.changeScreen(websynapse.reports.ReportList,bm);}else {s.MAIN_WINDOW.homeScreen();};this.close();},__CL:function(){new websynapse.common.util.ExceptionMsg(this.tr(l),B);this.close();},__AD:function(e){var bn=e.getKeyIdentifier().toLowerCase();if(N==bn&&this.__matchingPasswords()){this.__resetPassword();};},_preOpenAction:function(){this.__AE(websynapse.common.util.Statics.CUST_USER_FACILITIES);this.__bR.refreshData(websynapse.common.util.Statics.CUST_USER_FACILITIES);},__AE:function(bo){for(var i=0;i1?G:k);websynapse.common.util.Statics.recordActivity(this);},homeScreen:function(bw){if(bw===undefined){bw=false;};websynapse.common.util.Statics.recordActivity(this);if(!bw&&this.__be[0].classname!=b){if(this.__be[0].validateGoToHome()){return;};};var bx=this.__Ah.getChildren();for(var i=0;i0){this.__DA.setVisibility(z);}else {this.__DA.setVisibility(j);};},__DG:function(){var bY=this.__DB.getSelection();var bX=this.__DB.isSelectionEmpty()?f:bY[0].getUserData(m);if(bX==f||bX==s||bX==I){this.__DC.setVisibility(j);this.__DD.setVisibility(j);return;};this.__DC.setVisibility(z);this.__DD.setVisibility(z);},__DH:function(){this.__Ba();this.__DB.resetSelection();},__Ba:function(){this.__Dv.removeAll();this.__Dv.loadList(websynapse.common.util.Statics.COMBO_LISTS.ordertype,o);var ca=[{key:bE,value:L+this.tr(b)},{key:F,value:a+this.tr(b)},{key:bx,value:d+this.tr(b)},{key:q,value:h+this.tr(b)},{key:U,value:bI+this.tr(b)}];this.__Dx.removeAll();this.__Dx.loadList(ca);this.__Dw.resetSelectByAll();this.__Dz.setValue(I);this.__DA.setVisibility(j);this.__DC.setVisibility(j);this.__DD.setVisibility(j);},__o:function(){this.__Ba();var cb=this.getInParam();if(cb.type==websynapse.common.util.Statics.ORDER_SEARCH_MODIFY){this._title.setValue(this.tr(t));};this.removeListenerById(this.__AW);this.__DI();},__DI:function(){var cc=new websynapse.common.util.Request(D,this.__Bb,this,this.__BY,this,this.tr(c));cc.setTimeout(120000);cc.setMethod(X);cc.setFormField(bA,P);cc.setFormField(C,o);cc.send();},__Bb:function(cd){if(by in cd){this.__DE=cd.queries;this.__DB.removeAll();this.__DB.loadList(this.__DE,null,bH,bH);};},__BY:function(){this.__DE=[{key:f,value:f}];this.__DB.removeAll();this.__DB.loadList(this.__DE);},_requiredDataCompleted:function(){this.__Ba();},__DJ:function(){var cf=this.__DB.getSelection();var cg=this.__DB.isSelectionEmpty()?f:cf[0].getUserData(m);if(cg==f||cg==s||cg==I)return;var ce=qx.lang.Function.bind(function(){this.__DK(cg);},this);new websynapse.common.util.CallbackConfirmationDialog(this.tr(N),ce);},__DK:function(ch){var ci=new websynapse.common.util.Request(D,this.__DL,this,this.__DM,this,this.tr(K));ci.setTimeout(120000);ci.setMethod(X);ci.setFormField(bA,W);ci.setFormField(M,websynapse.common.util.Statics.CURR_CUSTID.custid);ci.setFormField(C,o);ci.setFormField(n,ch);ci.send();},__DL:function(cj){this.__Ba();this.__DI();},__DM:function(){},__DN:function(){var cl=this.__DB.getSelection();var ck=this.__DB.isSelectionEmpty()?f:cl[0].getUserData(m);if(ck==f||ck==s||ck==I)return;var cm=new websynapse.common.util.Request(D,this.__DO,this,this.__DP,this,this.tr(bC));cm.setTimeout(120000);cm.setMethod(X);cm.setFormField(bA,S);cm.setFormField(M,websynapse.common.util.Statics.CURR_CUSTID.custid);cm.setFormField(C,o);cm.setFormField(n,ck);cm.send();},__DO:function(cn){if(bz in cn){this.__Ba();for(var i=0;i0);},__Eo:function(){var bb=this.__bR.getSelectionModel();var bc=bb.getSelectedRanges()[0];var Y=bc[z];var ba=this.__bR.getTableModel().getRowDataAsMap(Y);this.__Co(ba.carrier,qx.lang.Json.parse(ba.deliveryServiceStringify));this.close();},_preOpenAction:function(){if(w in websynapse.common.util.Statics.COMBO_LISTS){this.__Er();}else {var bd=new websynapse.common.util.Request(I,this.__Ep,this,this.__Eq,this);bd.setMethod(C);bd.setParameter(E,h);bd.send();};},__Ep:function(be){if(w in be){websynapse.common.util.Statics.COMBO_LISTS.carriers=be.carriers;};this.__Er();},__Eq:function(){var bf=qx.lang.Function.bind(function(){this.close();},this);new websynapse.common.util.CallbackDialog(this.tr(b),bf);},__Er:function(){this.__AE(websynapse.common.util.Statics.COMBO_LISTS.carriers);if(this.__Em==K){this.__bR.refreshDataFilter(websynapse.common.util.Statics.COMBO_LISTS.carriers,d,K);}else {this.__bR.refreshData(websynapse.common.util.Statics.COMBO_LISTS.carriers);};},__AE:function(bh){for(var i=0;i0){var fB=this.__bR.getSelectionModel();var fz=fB.getSelectedRanges()[0];var fG=fz[dW];var fD=this.__bR.getTableModel().getRowDataAsMap(fG);fE=fD[ed];fy=fD[J];this.__Ey=fD[eP];};var fC=(fE==eH||fE==dO||fE==fr)?true:false;this.__Es.setVisibility(fA&&fx>0?dv:fa);this.__Et.setVisibility(fA&&fC&&fx>0?dv:fa);this.__Ew.setVisibility(this.__Ey!=fo?dv:fa);this.__Ev.setVisibility(fF&&fE==eb&&fy!=Y?dv:dJ);},__Ez:function(){this.__bR.resetSelection();var fH=this.__bR.getTableModel();fH.resetHiddenRows();if(this.__Eu.getValue()){fH.addNotRegex(eD,dF,true);fH.applyFilters();};},__EA:function(){var fK=this.__bR.getSelectionModel();var fM=fK.getSelectedRanges()[0];var fI=fM[dW];var fJ=this.__bR.getTableModel().getRowDataAsMap(fI);var fL=new websynapse.order.SelectAttachmentDialog();fL.setCaller(this);fL.setOrder(fJ[eN].split(b)[0]);fL.setInParam({screen:this.classname});fL.openAndCenter();},setAttachment:function(a){this.__Ey=a;var fN=new websynapse.common.util.Request(q,this.__EB,this,this.__EC,this,this.tr(m));fN.setTimeout(120000);fN.setMethod(dC);fN.setFormField(E,fd);fN.setFormField(ff,this.__Ey);fN.setFormField(eI,websynapse.common.util.Statics.REPORT_DEST);fN.setFormField(es,websynapse.common.util.Statics.REPORT_URL);fN.send();},__EB:function(fQ){var fO=fo;if(p in fQ){fO=fQ.filename;};if(fO.match(t)||fO.match(dy)||fO.match(B)||fO.match(D)||fO.match(fc)||fO.match(eF)||fO.match(eV)||fO.match(fh)||fO.match(S)||fO.match(dE)||fO.match(P)||fO.match(dn)||fO.match(eS)||fO.match(eh)||fO.match(l)||fO.match(M)||fO.match(dz)||fO.match(fl)||fO.match(en)||fO.match(eE)||fO.match(fu)||fO.match(dr)){}else {new websynapse.common.util.ExceptionMsg(fQ.errmsg,fo);return;};var fP=qx.bom.Window.open(fO,dX);qx.bom.Event.addNativeListener(fP,eB,function(e){var fR=qx.dom.Node.getBodyElement(fP);var fS=qx.dom.Node.getDocumentElement(fP);if((fS&&qx.dom.Hierarchy.isEmpty(fS))||(fR&&qx.dom.Hierarchy.isEmpty(fR))){fP.close();};});},__EC:function(fV,fT){var fU=JSON.parse(fT);this.__EB(fU);},__BH:function(){if(this.__Ex==websynapse.common.util.Statics.ORDER_SEARCH_MODIFY){this.__ED();}else {this.__EE();};},__ED:function(){var fY=this.__bR.getSelectionModel();var gb=fY.getSelectedRanges()[0];var fW=gb[dW];var fX=this.__bR.getTableModel().getRowDataAsMap(fW);websynapse.common.util.Statics.DONE_ORDER_ID=fo;var ga=fX.orderstatus==eb&&fX.websynapse_order_status!=Y;if(ga&&fX.ordertype==dS){this.fireDataEvent(ea,{"screen":websynapse.order.OrderModifyOutbound,"inparam":fX});}else if(ga&&fX.ordertype==x){this.fireDataEvent(ea,{"screen":websynapse.order.OrderModifyInbound,"inparam":fX});};},__BI:function(){this.__By.firstPage();this.__An();},__BJ:function(){this.__By.lastPage();this.__An();},__BK:function(){this.__By.nextPage();this.__An();},__BL:function(){this.__By.prevPage();this.__An();},__An:function(){this.__BA.remove(this.__Bz);var ge=this.__By.getPageSize();var gf=this.__By.getMaxRow();var gd=(this.__By.getHiRow()0)?this.__By.getLoRow():0;this.__Bz=new qx.ui.basic.Label(fm+gc+fk+gd+U+this.__By.getMaxRow()).set({font:F});this.__BA.add(this.__Bz);this.__Bz.setVisibility(dv);this.__Bv.setVisibility((gdge)?dv:dJ);this.__Bu.setVisibility((this.__By.getHiRow()>ge)?dv:dJ);},__EE:function(){var gi=this.__bR.getSelectionModel();var gk=gi.getSelectedRanges()[0];var gg=gk[dW];var gh=this.__bR.getTableModel().getRowDataAsMap(gg);var gj=this.getInParam();gh[X]=gj.orderType;this.fireDataEvent(ea,{"screen":websynapse.order.OrderItems,"inparam":gh});},__EF:function(){var gn=this.__bR.getSelectionModel();var go=gn.getSelectedRanges()[0];var gl=go[dW];var gm=this.__bR.getTableModel().getRowDataAsMap(gl);this.fireDataEvent(ea,{"screen":websynapse.order.OrderShipDetails,"inparam":gm});},__BE:function(gr){var gp=null;if(gr===websynapse.common.util.Statics.REPORT_TYPE_EXCEL){gp=fe;}else if(gr===websynapse.common.util.Statics.REPORT_TYPE_PDF){gp=eC;}else {new websynapse.common.util.ExceptionMsg(this.tr(dI)+dY+gr,fo);};this.__By.loadAllData();var gq=new websynapse.common.util.Request(gp,this.__BF,this,this.__BG,this,this.tr(eJ));gq.setTimeout(120000);gq.setFormField(dA,gr);gq.setFormField(dx,this.tr(w));gq.setFormField(eM,qx.lang.Json.stringify(this.__EG()));gq.setFormField(dt,qx.lang.Json.stringify(this.__bR.getTableModel().getDataAsMapArray()));gq.send();},__EG:function(){var gu=[];var gv=this.__bR.getTableModel();var gt=this.__bR.getTableColumnModel();for(var i=0;i=0){this.remove(this.__Bs);};this.__Bs=new qx.ui.embed.Iframe(dH+gw.filename);this.add(this.__Bs);this.__Bs.set({width:0,height:0,decorator:null});};this.__By.resetPaging();},__BG:function(){this.__By.resetPaging();new websynapse.common.util.ExceptionMsg(eL,fo);},__o:function(){this.__By=new websynapse.common.util.Paging(websynapse.common.util.Statics.PAGE_SIZE,this.__bR);var gy=this.getInParam();this.__Ex=gy.type;if(this.__Ex==websynapse.common.util.Statics.ORDER_SEARCH_MODIFY){this.__Bl.setVisibility(fa);this.__Bm.setVisibility(fa);this.__Eu.setVisibility(dv);this.__Eu.setValue(true);this._title.setValue(this.tr(dp));};var gx=new websynapse.common.util.Request(dD,this.__Bb,this,this.__BY,this,this.tr(ei));gx.setTimeout(120000);gx.setMethod(dC);gx.setFormField(E,O);gx.setFormField(ej,gy.custid);gx.setFormField(dV,gy.orderType);gx.setFormField(eq,gy.orderAge);gx.setFormField(fp,qx.lang.Json.stringify(gy.qualifiers));gx.setFormField(eT,gy.hdrpassthru);gx.send();if(this.__Ex==websynapse.common.util.Statics.ORDER_SEARCH_INQUIRY){this.__AW=this.addListener(fn,function(){if(this.__Bs==null){return;};if(this.indexOf(this.__Bs)>=0){this.remove(this.__Bs);};this.__Bs=null;},this);};},__Bb:function(gE){var gC=this.__By.getPageSize();this.__BA.remove(this.__Bz);if(ev in gE){this.__bP=gE.tabledata;this.__AE(gE.tabledata);this.__By.refreshData(gE.tabledata);var gA=this.getInParam();this.__EH(gA.orderType);if(this.__Ex==websynapse.common.util.Statics.ORDER_SEARCH_MODIFY){this.__Ez();};var gz=this.__By.getMaxRow();var gB=(this.__By.getHiRow()0)?this.__By.getLoRow():0;this.__Bz=new qx.ui.basic.Label(fm+gD+fk+gB+U+this.__By.getMaxRow()).set({font:F});this.__BA.add(this.__Bz);this.__Bz.setVisibility(dv);this.__Bv.setVisibility((gBgC)?dv:dJ);this.__Bw.setVisibility((this.__By.getHiRow()>gC)?dv:dJ);this.__bR.getTableColumnModel().addListener(d,this.__BC,this);this.__bR.getTableColumnModel().addListener(dG,this.__BC,this);this.__bR.getTableColumnModel().addListener(er,this.__BC,this);};},__AE:function(gH){for(var i=0;i0);},_preOpenAction:function(){var U=new websynapse.common.util.Request(o,this.__EI,this,this.__EJ,this);U.setMethod(y);U.setParameter(A,p);U.setParameter(x,this.__cq);U.send();},__EI:function(V){this.__AE(V.attachments);this.__bR.refreshData(V.attachments);},__EJ:function(){new websynapse.common.util.ExceptionMsg(this.tr(a),r);this.close();},__AE:function(W){for(var i=0;iS.length){throw new Error(m+S.length);};if(N==null){N=S.length;};var P=Q.getButton();var O=this.getChildControl(k);var R=this.getChildControl(A);Q.exclude();O.addAt(P,N);R.addAt(Q,N);this.__bcV.add(P);Q.addState(this.__bes[this.getBarPosition()]);S=this.getChildren();if(N==S.length-1){Q.addState(d);};if(S[0]==Q){Q.addState(C);}else {S[S.length-2].removeState(d);};Q.addListener(q,this._onPageClose,this);},remove:function(W){var X=this.getChildControl(A);var U=this.getChildControl(k);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.__bcV.remove(V);W.removeState(this.__bes[this.getBarPosition()]);if(W.hasState(C)){W.removeState(C);if(Y[0]){Y[0].addState(C);};};if(W.hasState(d)){W.removeState(d);if(Y.length>0){Y[Y.length-1].addState(d);};};W.removeListener(q,this._onPageClose,this);},getChildren:function(){return this.getChildControl(A).getChildren();},indexOf:function(ba){return this.getChildControl(A).indexOf(ba);},__bes:null,_applyBarPosition:function(be,bg){var bb=this.getChildControl(k);var bh=this.getChildControl(A);var bj=be==B||be==w;var bk=be==w||be==a;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?o:u);var bf=this.getChildren();var i,l;if(bg){var bd=this.__bes[bg];bb.removeState(bd);bh.removeState(bd);for(i=0,l=bf.length;iN){this.getContentElement().setStyle(G,k);}else {this.getContentElement().setStyle(G,F);};};var P=Math.max(Q,this.__bcJ);this._setAreaHeight(P);}else {this.getContentElement().addListenerOnce(u,function(){this.__bcK();},this);};};},_getAreaHeight:function(){return this.getInnerSize().height;},_setAreaHeight:function(R){if(this._getAreaHeight()!==R){this.__bcI=R;qx.ui.core.queue.Layout.add(this);qx.ui.core.queue.Manager.flush();this.__bcO();};},_getScrolledAreaHeight:function(){var T=this.__bcL();var S=T.getDomElement();if(S){if(!S.parentNode){qx.html.Element.flush();return this._getScrolledAreaHeight();};if(qx.core.Environment.get(A)===C||(qx.core.Environment.get(A)==z)){T.setWrap(!this.getWrap(),true);};T.setWrap(this.getWrap(),true);if(qx.core.Environment.get(A)===C||(qx.core.Environment.get(A)==z)){S.style.overflow=F;};if(qx.core.Environment.get(A)==z&&qx.core.Environment.get(q)>=8){S.style.overflow=p;S.style.overflowX=F;};T.setValue(this.getValue()||r);if(qx.core.Environment.get(A)==z){S.style.height=k;qx.html.Element.flush();S.style.height=l;};this.__bcN(T);if(qx.core.Environment.get(A)==z&&qx.core.Environment.get(q)==8){if(!S.scrollTop){qx.html.Element.flush();};};return S.scrollTop;};},__bcL:function(){this.__bcH=this.__bcH||this.__bcM();return this.__bcH;},__bcM:function(){var W,V,X,U;W=this.getContentElement();if(!W.getDomElement()){return null;};X=qx.bom.Element.clone(W.getDomElement());U=new qx.html.Input(j);U.useElement(X);V=U;V.setStyles({position:H,top:0,left:m,height:0,overflow:F},true);V.removeAttribute(E);V.removeAttribute(w);V.setAttribute(v,g);V.setValue(W.getValue()||r);V.insertBefore(W);this.__bcN(V);return V;},__bcN:function(Y){Y=Y.getDomElement();if(Y){Y.scrollTop=10000;};},_createInputElement:function(){return new qx.html.Input(j,{overflowX:k,overflowY:k});},_applyWrap:function(bc,ba){this.getContentElement().setWrap(bc);if(this._placeholder){var bb=bc?y:d;this._placeholder.setStyle(o,bb);};this.__bcK();},_applyMinimalLineHeight:function(){qx.ui.core.queue.Layout.add(this);},_applyAutoSize:function(be,bd){{};if(be){this.__bcK();this.addListener(a,this.__bcK,this);if(!this.getBounds()){this.addListenerOnce(u,function(){this.getContentElement().setStyle(G,F);});}else {this.getContentElement().setStyle(G,F);};}else {this.removeListener(a,this.__bcK);this.getContentElement().setStyle(G,k);};},_applyDimension:function(bf){qx.ui.form.AbstractField.prototype._applyDimension.call(this);{};if(bf===this.getMaxHeight()){this.__bcK();};},__bcO:function(){var content=this.getContentElement();var bh=content.getDomElement();var bg=content.getStyle(s);content.setStyle(s,parseInt(bg,10)+1000+c,true);if(bh){qx.bom.element.Dimension.getWidth(bh);};content.setStyle(s,bg,true);},__bcP:function(){if(this.isAutoSize()&&this.getHeight()){this.warn(x);};},_getContentHint:function(){var bi=qx.ui.form.AbstractField.prototype._getContentHint.call(this);bi.height=bi.height*this.getMinimalLineHeight();bi.width=this._getTextSize().width*20;if(this.isAutoSize()){bi.height=this.__bcI||bi.height;};return bi;}},destruct:function(){this.setAutoSize(false);if(this.__bcH){this.__bcH.dispose();};}});})();(function(){var a="name",b="'",c="Unknown Carrier",d="websynapse.order.OrderUtility",e="",f="Required Field",g="message",h="|",j="tab",k="0",l="form",m="field",n="key",o="Invalid Number Format",p='&',q="static",r="'";qx.Class.define(d,{type:q,statics:{REQUIRED_FIELD:f,INVALID_NUMBER_FORMAT:o,addValidationItem:function(u,s,t,name){u.add(s);s.setUserData(j,t);s.setUserData(a,name);},invalidFormData:function(w){var x=[];var v=w.getInvalidFormItems();for(var i=0;i0;if(cs){p.fldShipTo.loadList(websynapse.common.util.Statics.CUST_SHIPTO);}else {p.fldShipToOneTime.setValue(true);};p.fldShipToState.loadList(websynapse.common.util.Statics.COMBO_LISTS.state);p.fldShipToCountry.loadList(websynapse.common.util.Statics.COMBO_LISTS.country);p.fldShipmentType.loadList(websynapse.common.util.Statics.COMBO_LISTS.shipmenttype);p._registerWidget(p.fldShipTo,bM,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldShipToOneTime,a,s.WIDGET_TYPE_TRANSIENT);p._registerWidget(p.fldShipmentType,bQ,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldCarrier,D,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldDeliveryService,M,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldSaturdayOk,x,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldArrivalDate,F,s.WIDGET_TYPE_DATE);p._registerWidget(p.fldShipDate,Y,s.WIDGET_TYPE_DATE);p._registerWidget(p.fldShipToCompanyName,z,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldShipToContactName,ce,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldShipToStreet1,c,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldShipToStreet2,X,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldShipToCity,bW,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldShipToState,H,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldShipToPostalCode,f,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldShipToCountry,A,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldShipToPhone,cf,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldShipToFax,T,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldShipToEmail,C,s.WIDGET_TYPE_VARCHAR);},__EQ:function(e){var p=this._parent;p.fldShipDate.addListener(cd,function(){this.__ET();},this);p.fldArrivalDate.addListener(cd,function(){this.__ES();},this);},__ER:function(e){var p=this._parent;this.__EO.setVisibility(e.getData()?v:m);var ct=websynapse.common.util.Statics.CUST_SHIPTO!=null&&websynapse.common.util.Statics.CUST_SHIPTO.length>0;p.fldBillToUseShipTo.setEnabled(e.getData());p.fldShipTo.setEnabled(!e.getData()&&ct);if(!ct&&!p.fldShipToOneTime.getValue()){p.fldShipToOneTime.setValue(true);};if(!p.fldShipToOneTime.getValue()){p.fldBillToUseShipTo.setValue(false);}else {p.fldShipTo.resetSelection();};this.__EM.validate();},__ES:function(){var p=this._parent;var cv=p.fldArrivalDate.getValue();var cu=p.fldShipDate.getValue();if(cu!=null)return;if(cv==null||cv.length==0)return;var cx=websynapse.order.OrderUtility.formatDate(cv,S);var cw=new websynapse.common.util.Request(L,this.__EU,this,this.__EV,this,this.tr(bY));cw.setTimeout(120000);cw.setMethod(bH);cw.setFormField(bO,r);cw.setFormField(y,websynapse.common.util.Statics.CURR_FACILITY);cw.setFormField(bM,p.fldShipTo.getUserData(bV));cw.setFormField(F,cx);cw.send();},__ET:function(){var p=this._parent;var cz=p.fldArrivalDate.getValue();var cy=p.fldShipDate.getValue();if(cz!=null)return;if(cy==null||cy.length==0)return;var cB=websynapse.order.OrderUtility.formatDate(cy,S);var cA=new websynapse.common.util.Request(L,this.__EU,this,this.__EV,this,this.tr(bP));cA.setTimeout(120000);cA.setMethod(bH);cA.setFormField(bO,j);cA.setFormField(y,websynapse.common.util.Statics.CURR_FACILITY);cA.setFormField(bM,p.fldShipTo.getUserData(bV));cA.setFormField(Y,cB);cA.send();},__EU:function(cD){var p=this._parent;if(Y in cD){var cC=new Date(cD.shipdate);p.fldShipDate.setValue(cC);}else if(F in cD){var cC=new Date(cD.arrivaldate);p.fldArrivalDate.setValue(cC);};},__EV:function(){new websynapse.common.util.ExceptionMsg(this.tr(B),S);},__EW:function(){var p=this._parent;var cE=p.fldCarrier.getValue();var cF=this.__EX(websynapse.common.util.Statics.COMBO_LISTS.carriers,cE);p.fldDeliveryService.removeAll();if(cF!=null)p.fldDeliveryService.loadList(cF);p.fldDeliveryService.setEnabled(cE!=null&&cE!=S&&cF!=null&&cF.length>0);},__EX:function(cI,cG){this.__EP=U;for(var i=0;i0);p.fldCarrier.setUserData(bV,cL);p._enableSaveButtons();this.__EL();},__EL:function(){if(!this.validate()||!this._parent.validationManager.isValid()){this._parent.validationManager.validate();};},validate:function(){var cN=true;var p=this._parent;var cO=websynapse.order.OrderUtility;cN=cO.checkRequiredSelectionField(p.fldShipTo,cN,p.fldShipToOneTime.getValue());cN=cO.checkRequiredTextField(p.fldCarrier,cN);cN=cO.checkRequiredCarrierField(p.fldCarrier,cN);cN=cO.checkRequiredTextField(p.fldArrivalDate,cN);cN=cO.checkRequiredTextField(p.fldShipDate,cN);cN=cO.checkRequiredSelectionField(p.fldShipmentType,cN);cN=cO.checkRequiredTextField(p.fldShipToCompanyName,cN,!p.fldShipToOneTime.getValue());cN=cO.checkRequiredTextField(p.fldShipToStreet1,cN,!p.fldShipToOneTime.getValue());cN=cO.checkRequiredTextField(p.fldShipToCity,cN,!p.fldShipToOneTime.getValue());cN=cO.checkRequiredSelectionField(p.fldShipToState,cN,!p.fldShipToOneTime.getValue());cN=cO.checkRequiredTextField(p.fldShipToPostalCode,cN,!p.fldShipToOneTime.getValue());if(this.__EP==Q){cN=cO.checkRequiredSelectionField(p.fldDeliveryService,cN);};return cN;}}});})();(function(){var a="Shipment Terms",b="Use Ship To One Time",c="Bill To Postal Code",d="PPD",f="Phone",g="excluded",h="billtoshipto",i="Email",j="Company Name",k="input",l="Bill To Company Name",m="billtocontact",n="Bill To City",o="billtoemail",q="Bill To",r="billtoonetime",t="Street 2",u="billtostate",v="visible",w=":",x="changeSelection",y="middle",z="billtocity",A="billtoaddr2",B="Street",C="One Time",D="Bill To State",E="City",F="billtoaddr1",G="billtopostalcode",H="billtoname",I="Bill To Country",J="Fax",K="right",L="billtofax",M="screenready",N="Contact Name",O="consignee",P="Bill To Street",Q="websynapse.order.OutboundBillTo",R="bold",S="3RD",T="State",U="Country",V="Postal Code:",W="billtocountrycode",X="shipterms",Y="left",bc="changeValue",bd="billtophone";qx.Class.define(Q,{extend:websynapse.common.ui.screens.AbstractTabScreen,construct:function(bi,parent){websynapse.common.ui.screens.AbstractTabScreen.call(this,new qx.ui.layout.VBox(),bi,parent);this.setDecorator(null);var be=new qx.ui.container.Scroll();var bh=new qx.ui.container.Composite(new qx.ui.layout.Grid(5,5));var p=this._parent;this.__EM=p.validationManager;var bj=websynapse.order.OrderUtility;bh.add(new qx.ui.basic.Label(this.tr(a)+w).set({alignX:K,font:R,alignY:y}),{row:1,column:1});bh.add(p.fldShipmentTerms=new websynapse.common.ui.widgets.SelectBox(true).set({width:200,minWidth:200,maxWidth:200}),{row:1,column:2});bh.add(new qx.ui.container.Composite().set({maxHeight:30,height:30,width:10,minWidth:10,maxWidth:10}),{row:1,column:3});bj.addValidationItem(p.validationManager,p.fldShipmentTerms,this._tab,this.tr(a));bh.add(new qx.ui.basic.Label(this.tr(q)+w).set({alignX:K,font:R,alignY:y}),{row:2,column:1});var bg=new qx.ui.container.Composite(new qx.ui.layout.HBox());bg.add(p.fldBillTo=new websynapse.common.ui.widgets.SelectBox(true));bj.addValidationItem(p.validationManager,p.fldBillTo,this._tab,this.tr(q));bg.add(p.fldBillToOneTime=new qx.ui.form.CheckBox(this.tr(C)).set({marginLeft:5}));bg.add(p.fldBillToUseShipTo=new qx.ui.form.CheckBox(this.tr(b)).set({marginLeft:5,enabled:false}));bh.add(bg,{row:2,column:2,colSpan:4});this.__Fa=new qx.ui.container.Composite(new qx.ui.layout.Grid(5,5));this.__Fa.add(new qx.ui.basic.Label(this.tr(j)+w).set({alignX:K,font:R,alignY:y}),{row:1,column:1});this.__Fa.add(p.fldBillToCompanyName=new websynapse.common.ui.widgets.UpperTextField().set({width:325,minWidth:325,maxWidth:325,alignX:Y,allowGrowX:false,maxLength:40}),{row:1,column:2});bj.addValidationItem(p.validationManager,p.fldBillToCompanyName,this._tab,this.tr(l));this.__Fa.add(new qx.ui.basic.Label(this.tr(N)+w).set({alignX:K,font:R,alignY:y}),{row:2,column:1});this.__Fa.add(p.fldBillToContactName=new websynapse.common.ui.widgets.UpperTextField().set({width:325,minWidth:325,maxWidth:325,alignX:Y,allowGrowX:false,maxLength:40}),{row:2,column:2});this.__Fa.add(new qx.ui.basic.Label(this.tr(B)+w).set({alignX:K,font:R,alignY:y}),{row:3,column:1});this.__Fa.add(p.fldBillToStreet1=new websynapse.common.ui.widgets.UpperTextField().set({width:325,minWidth:325,maxWidth:325,alignX:Y,allowGrowX:false,maxLength:40}),{row:3,column:2});bj.addValidationItem(p.validationManager,p.fldBillToStreet1,this._tab,this.tr(P));this.__Fa.add(new qx.ui.basic.Label(this.tr(t)+w).set({alignX:K,font:R,alignY:y}),{row:4,column:1});this.__Fa.add(p.fldBillToStreet2=new websynapse.common.ui.widgets.UpperTextField().set({width:325,minWidth:325,maxWidth:325,alignX:Y,allowGrowX:false,maxLength:40}),{row:4,column:2});this.__Fa.add(new qx.ui.basic.Label(this.tr(E)+w).set({alignX:K,font:R,alignY:y}),{row:5,column:1});this.__Fa.add(p.fldBillToCity=new websynapse.common.ui.widgets.UpperTextField().set({width:240,minWidth:240,maxWidth:240,alignX:Y,allowGrowX:false,maxLength:30}),{row:5,column:2});bj.addValidationItem(p.validationManager,p.fldBillToCity,this._tab,this.tr(n));this.__Fa.add(new qx.ui.basic.Label(this.tr(T)+w).set({alignX:K,font:R,alignY:y}),{row:6,column:1});var bf=new qx.ui.container.Composite(new qx.ui.layout.HBox());bf.add(p.fldBillToState=new websynapse.common.ui.widgets.SelectBox(true).set({width:120,minWidth:120,maxWidth:120}));bj.addValidationItem(p.validationManager,p.fldBillToState,this._tab,this.tr(D));bf.add(new qx.ui.basic.Label(V).set({alignX:K,font:R,alignY:y,marginLeft:20}));bf.add(p.fldBillToPostalCode=new websynapse.common.ui.widgets.UpperTextField().set({width:100,minWidth:100,maxWidth:100,alignX:Y,allowGrowX:false,maxLength:12,marginLeft:5}));bj.addValidationItem(p.validationManager,p.fldBillToPostalCode,this._tab,this.tr(c));this.__Fa.add(bf,{row:6,column:2});this.__Fa.add(new qx.ui.basic.Label(this.tr(U)+w).set({alignX:K,font:R,alignY:y}),{row:7,column:1});this.__Fa.add(p.fldBillToCountry=new websynapse.common.ui.widgets.SelectBox(true).set({width:300,minWidth:300,maxWidth:300}),{row:7,column:2});bj.addValidationItem(p.validationManager,p.fldBillToCountry,this._tab,this.tr(I));this.__Fa.add(new qx.ui.basic.Label(this.tr(f)+w).set({alignX:K,font:R,alignY:y}),{row:8,column:1});this.__Fa.add(p.fldBillToPhone=new qx.ui.form.TextField().set({width:240,minWidth:240,maxWidth:240,alignX:Y,allowGrowX:false,maxLength:25}),{row:8,column:2});this.__Fa.add(new qx.ui.basic.Label(this.tr(J)+w).set({alignX:K,font:R,alignY:y}),{row:9,column:1});this.__Fa.add(p.fldBillToFax=new qx.ui.form.TextField().set({width:240,minWidth:240,maxWidth:240,alignX:Y,allowGrowX:false,maxLength:25}),{row:9,column:2});this.__Fa.add(new qx.ui.basic.Label(this.tr(i)+w).set({alignX:K,font:R,alignY:y}),{row:10,column:1});this.__Fa.add(p.fldBillToEmail=new qx.ui.form.TextField().set({width:325,minWidth:325,maxWidth:325,alignX:Y,allowGrowX:false,maxLength:255}),{row:10,column:2});this.__Fa.add(new qx.ui.container.Composite().set({maxHeight:10}),{row:11,column:1});bh.add(this.__Fa,{row:3,column:1,colSpan:5});this.__Fa.setVisibility(g);be.add(bh);this.add(be,{flex:1});this.__CP();this.addListener(M,this.__o,this);},members:{__EK:null,__AW:null,__EO:null,__EM:null,__CP:function(e){var p=this._parent;p.fldShipmentTerms.addListener(x,this.__Fb,this);p.fldBillTo.addListener(x,this.__EL,this);p.fldBillToOneTime.addListener(bc,this.__Fc,this);p.fldBillToUseShipTo.addListener(bc,this.__Fd,this);p.fldBillToCompanyName.addListener(k,this.__EL,this);p.fldBillToStreet1.addListener(k,this.__EL,this);p.fldBillToCity.addListener(k,this.__EL,this);p.fldBillToState.addListener(x,this.__EL,this);p.fldBillToPostalCode.addListener(k,this.__EL,this);p.fldBillToCountry.addListener(x,this.__EL,this);},__o:function(e){var p=this._parent;var s=websynapse.common.util.Statics;var bk=websynapse.common.util.Statics.CUST_BILLTO!=null&&websynapse.common.util.Statics.CUST_BILLTO.length>0;if(bk){p.fldBillTo.loadList(websynapse.common.util.Statics.CUST_BILLTO);}else {};p.fldShipmentTerms.loadList(websynapse.common.util.Statics.COMBO_LISTS.shipmentterms);p.fldBillToState.loadList(websynapse.common.util.Statics.COMBO_LISTS.state);p.fldBillToCountry.loadList(websynapse.common.util.Statics.COMBO_LISTS.country);p._registerWidget(p.fldShipmentTerms,X,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillTo,O,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillToOneTime,r,s.WIDGET_TYPE_TRANSIENT);p._registerWidget(p.fldBillToUseShipTo,h,s.WIDGET_TYPE_TRANSIENT);p._registerWidget(p.fldBillToCompanyName,H,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillToContactName,m,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillToStreet1,F,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillToStreet2,A,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillToCity,z,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillToState,u,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillToPostalCode,G,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillToCountry,W,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillToPhone,bd,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillToFax,L,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldBillToEmail,o,s.WIDGET_TYPE_VARCHAR);p.fldShipmentTerms.selectItem(d);},__Fb:function(){var p=this._parent;if(p.fldShipmentTerms.getSelectedValue()==S){p.fldBillToOneTime.setValue(true);}else {p.fldBillToOneTime.setValue(false);};this.__EL();},__Fc:function(e){var p=this._parent;this.__Fa.setVisibility(e.getData()?v:g);if(e.getData()){p.fldBillToUseShipTo.setValue(false);p.fldBillTo.resetSelection();};var bl=websynapse.common.util.Statics.CUST_BILLTO!=null&&websynapse.common.util.Statics.CUST_BILLTO.length>0;p.fldBillTo.setEnabled(!e.getData()&&bl&&!p.fldBillToUseShipTo.getValue());if(p.fldShipmentTerms.getSelectedValue()==S){p.fldBillToOneTime.setValue(true);};this.__EL();},__Fd:function(e){var p=this._parent;if(e.getData()){this._parent.fldBillToOneTime.setValue(false);p.fldBillTo.resetSelection();};var bm=websynapse.common.util.Statics.CUST_BILLTO!=null&&websynapse.common.util.Statics.CUST_BILLTO.length>0;p.fldBillTo.setEnabled(!e.getData()&&bm&&!p.fldBillToOneTime.getValue());if(p.fldBillToOneTime.getValue()==S){p.fldBillToOneTime.setValue(true);};this.__EL();},__EL:function(){if(!this.validate()||!this._parent.validationManager.isValid()){this.__EM.validate();};},validate:function(){var bn=true;var p=this._parent;var bo=websynapse.order.OrderUtility;bn=bo.checkRequiredTextField(p.fldBillToCompanyName,bn,!p.fldBillToOneTime.getValue());bn=bo.checkRequiredTextField(p.fldBillToStreet1,bn,!p.fldBillToOneTime.getValue());bn=bo.checkRequiredTextField(p.fldBillToCity,bn,!p.fldBillToOneTime.getValue());bn=bo.checkRequiredSelectionField(p.fldBillToState,bn,!p.fldBillToOneTime.getValue());bn=bo.checkRequiredTextField(p.fldBillToPostalCode,bn,!p.fldBillToOneTime.getValue());bn=bo.checkRequiredSelectionField(p.fldShipmentTerms,bn);return bn;}}});})();(function(){var a="message",b="HDR",c="hdrpassthrunum",d="hdrpassthrudate",f="button",g="PassThru Num",h="0",j="websynapse.order.HeaderPassThruEntry",k="PassThru Doll",l="input",m=":",n="middle",o=": ",q="hdrpassthruchar",r="name",t="",u="hdrpassthrudoll",v="textfield",w="PassThru Date",x="Invalid Number Format",y="screenready",z="bold",A="tab",B=" ",C="PassThru Char",D="MM/dd/yyyy";qx.Class.define(j,{extend:websynapse.common.ui.screens.AbstractTabScreen,construct:function(J,parent){websynapse.common.ui.screens.AbstractTabScreen.call(this,new qx.ui.layout.VBox(),J,parent);this.setDecorator(null);var F=new qx.ui.container.Scroll();var I=new qx.ui.container.Composite(new qx.ui.layout.Flow(20,10));var p=this._parent;var K=websynapse.order.OrderUtility;p.fldCharPassThrus={};for(var i=1;i0){var ch=this.__bR.getSelectionModel();var ci=ch.getSelectedRanges()[0];var ck=ci[j];var cj=this.__bR.getTableModel().getRowDataAsMap(ck);var status=cj[O];};this.__Fn.setVisibility(cg>0&&status==g&&this.__Fv!=D?N:o);this.__Fo.setVisibility(cg>0&&status==bS&&this.__Fv!=D?N:o);this.__Fp.setVisibility(cg>0&&status==bS&&this.__Fv!=D?N:o);},__FE:function(){var co=this.getInParam();var cl=this.__bR.getSelectionModel().getSelectedCount();var cp=Q;var cs=Q;if(cl>0){var cr=this.__bR.getSelectionModel();var cm=cr.getSelectedRanges()[0];var ct=cm[j];var cq=this.__bR.getTableModel().getRowDataAsMap(ct);cp=cq[l];cs=cq[f];};var cn=new websynapse.common.util.Request(bC,this.__FL,this,this.__FN,this,A);cn.setTimeout(120000);cn.setMethod(bH);cn.setFormField(bE,bD);cn.setFormField(z,websynapse.common.util.Statics.CURR_CUSTID.custid);cn.setFormField(V,websynapse.common.util.Statics.CURR_FACILITY);cn.setFormField(Y,co.ordershipid.split(a)[0]);cn.setFormField(t,co.ordershipid.split(a)[1]);cn.setFormField(l,cp);cn.setFormField(f,cs);cn.send();this.removeListenerById(this.__AW);},__FF:function(){var cx=this.getInParam();var cu=this.__bR.getSelectionModel().getSelectedCount();var cy=Q;var cB=Q;if(cu>0){var cA=this.__bR.getSelectionModel();var cv=cA.getSelectedRanges()[0];var cC=cv[j];var cz=this.__bR.getTableModel().getRowDataAsMap(cC);cy=cz[l];cB=cz[f];};var cw=new websynapse.common.util.Request(bC,this.__FL,this,this.__FN,this,A);cw.setTimeout(120000);cw.setMethod(bH);cw.setFormField(bE,w);cw.setFormField(z,websynapse.common.util.Statics.CURR_CUSTID.custid);cw.setFormField(V,websynapse.common.util.Statics.CURR_FACILITY);cw.setFormField(Y,cx.ordershipid.split(a)[0]);cw.setFormField(t,cx.ordershipid.split(a)[1]);cw.setFormField(l,cy);cw.setFormField(f,cB);cw.send();this.removeListenerById(this.__AW);},__FG:function(){var cG=this.getInParam();var cD=this.__bR.getSelectionModel().getSelectedCount();var cH=Q;var cK=Q;if(cD>0){var cJ=this.__bR.getSelectionModel();var cE=cJ.getSelectedRanges()[0];var cL=cE[j];var cI=this.__bR.getTableModel().getRowDataAsMap(cL);cH=cI[l];cK=cI[f];};var cF=new websynapse.common.util.Request(bC,this.__FL,this,this.__FN,this,A);cF.setTimeout(120000);cF.setMethod(bH);cF.setFormField(bE,bU);cF.setFormField(z,websynapse.common.util.Statics.CURR_CUSTID.custid);cF.setFormField(V,websynapse.common.util.Statics.CURR_FACILITY);cF.setFormField(Y,cG.ordershipid.split(a)[0]);cF.setFormField(t,cG.ordershipid.split(a)[1]);cF.setFormField(l,cH);cF.setFormField(f,cK);cF.send();this.removeListenerById(this.__AW);},__FH:function(){return this.__bR.getTableModel().getRowCount();},__FJ:function(){var cM=qx.lang.Function.bind(function(){this.__FK();},this);new websynapse.common.util.CallbackConfirmationDialog(this.tr(d),cM);},__FK:function(){var cO=this.getInParam();var cN=new websynapse.common.util.Request(bC,this.__FM,this,this.__FN,this,bJ);cN.setTimeout(120000);cN.setMethod(bH);cN.setFormField(bE,E);cN.setFormField(z,websynapse.common.util.Statics.CURR_CUSTID.custid);cN.setFormField(V,websynapse.common.util.Statics.CURR_FACILITY);cN.setFormField(Y,cO.ordershipid.split(a)[0]);cN.setFormField(t,cO.ordershipid.split(a)[1]);cN.setFormField(k,this.__Fw);cN.send();},__o:function(){var cQ=this.getInParam();this.__Ft.setValue(cQ.ordershipid);var cP=new websynapse.common.util.Request(bC,this.__Bb,this,this.__BY,this,A);cP.setTimeout(120000);cP.setMethod(bH);cP.setFormField(bE,bP);cP.setFormField(Y,cQ.ordershipid.split(a)[0]);cP.setFormField(t,cQ.ordershipid.split(a)[1]);cP.send();},__Bb:function(cR){if(n in cR){this.__AE(cR.tabledata);this.__bR.refreshData(cR.tabledata);};this.__Fv=Q;if(bV in cR){this.__Fv=cR.wsstatus[0].websynapse_order_status;};this.__Fl.setVisibility(this.__Fv!=D?N:o);this.__Fm.setVisibility(this.__Fv!=D&&websynapse.common.util.Statics.MASSENTRY_ALLOWED==C&&cR.tabledata.length==0?N:o);this.__Fr.setVisibility(this.__FH()>0&&this.__Fv==K?N:o);},__FL:function(cS){if(v in cS){this.__o();};},__FM:function(cT){var cU=this.getInParam();if(v in cT){if(this.__Fw==C){new websynapse.common.util.ExceptionMsg(this.tr(b),Q);this.fireDataEvent(I,{});}else {new websynapse.common.util.ExceptionMsg(this.tr(s),Q);this.fireDataEvent(I,{});};};},__FN:function(cV){},__FO:function(){var cX=this.getInParam();var cW=new websynapse.common.util.Request(bC,this.__FP,this,this.__BY,this,T);cW.setTimeout(120000);cW.setMethod(bH);cW.setFormField(bE,x);cW.send();},__FP:function(cY){if(v in cY){this.__Fw=cY.releasefromhold;this.__o();}else {new websynapse.common.util.ExceptionMsg(this.tr(bB),Q);};},__AE:function(da){for(var i=0;i0){this.__FX.selectItem(dh.baseuom[0].baseuom);};if(dh.uomdata.length==0){this.__FX.loadList(dh.baseuom,null,ce,ce);};};};},__Gl:function(e){var di=qx.lang.Function.bind(function(){this.fireDataEvent(cr,{});},this);new websynapse.common.util.CallbackDialog(this.tr(u)+r+e,di);},__o:function(){var dk=this.getInParam();this.__Ft.setValue(dk.ordershipid);var dj=new websynapse.common.util.Request(bN,this.__Bb,this,this.__BY,this,bU);dj.setTimeout(120000);dj.setMethod(k);dj.setFormField(bO,cd);dj.setFormField(D,websynapse.common.util.Statics.CURR_CUSTID.custid);dj.setFormField(bX,dk.ordershipid.split(a)[0]);dj.setFormField(v,dk.ordershipid.split(a)[1]);dj.send();},__Bb:function(dl){if(H in dl){this.__FT.removeAll();this.__FT.loadList(dl.items,null,n,ck,[M]);this.__Gb=dl.items;};if(G in dl){this.__Bf=dl.ordertype[0].ordertype;};},__BY:function(e){var dm=qx.lang.Function.bind(function(){this.fireDataEvent(cr,{});},this);new websynapse.common.util.CallbackDialog(this.tr(co)+r+e,dm);},__dk:function(dn){var dp=this.__Go(dn);if(this.__Bf!=x){if(dp==x||dp==l||dp==bT){return bT;};return bM;};if(dp==x||dp==l){return bT;};return bM;},__Gm:function(dq,ds){var dr=this.__Go(dq);if(this.__Bf!=x){if(dr==x||dr==l||dr==bT){if(ds!=null&&ds!=W)return cf;else return P;};return cf;};if(dr==x){if(ds!=null&&ds!=W)return cf;else return P;};return cf;},__Gn:function(dt){for(var i=0;idt)break;};return cm;},__Go:function(dv){for(var i=0;idv)break;};return this.__Gp();},__Gp:function(){return websynapse.common.util.Statics.CUST_LOTREQUIRED_DFLT==m?bM:websynapse.common.util.Statics.CUST_LOTREQUIRED_DFLT;}}});})();(function(){var a="-",b="get_allocable_items",c="Item: ",d="item",f="changeValue",g="displayic",h="Description",j="LAYR",k="Refresh Screen",l="changeSelection",m="Display Instructions/Comments",n="Lot
Number",o="Mass Entry of Order Items",p="Order now complete and released.",q="Fetching Items...",r="bolcomments",s="Error Updating Database",t="CS",u="facility",v="Order:",w="opcode",y="bold",z="Qty Allocable",A="Inventory
Status",B="descr",C="yn",D="lotnumber",E="Must Order at least one Item.",F="tabledata",G="qty",H="uoms",I="results",J="table key pressed: ",K="get_mass_item_settings",L=", LotNumber is Required.",M="inventoryclass",N="visible",O="Instructions",P="invstatus",Q="(none)",R="Error Converting UOM Quantity",S="Quantity",T="Inventory
Class",U="Order now complete and available for release.",V="N",W="OKAY",X="Y",Y="invclassdescr",ch="orders.php",ci="integer",cj="keypress",cd="Display Inventory Class",ce="hidden",cf="websynapse.order.MassAddOrderItems",cg="minIndex",co="BOL
Comments",cp="spinner128.gif",cq="Fetching Settings...",cr="O",ck="cellTap",cl="allocable",cm="Display Inventory Status",cn="dataEdited",cv="POST",cU="add_order_items",cV="Item",cw="lotrequired",cs="origallocable",ct="custid",db="orderid",cu="right",cx="Initialization Failure",cy="rounded-table",cz="Are you sure you want to refresh? Will lose entered data.",cD="|",dc=", Cannot Order More Than Allocable.",cE="left",cA="updatedata",cB="instructions",da="excluded",cC="bottom",cI="shipid",cJ="EA",cK="'",cL="releaseorder",cF="'",cG="execute",dd="popscreen",cH="Initialization Failed",cP="baseuom",cQ="invclass",df="invstatusdescr",cR="",cM="UOM",cN="newqty",de="appear",cO="Updating Order...",cS="Order Items are Complete",cT="convert_qty_uom",cY="uom",cX="Converting Quantity...",cW="PLT";qx.Class.define(cf,{extend:websynapse.common.ui.screens.AbstractScreen,construct:function(){websynapse.common.ui.screens.AbstractScreen.call(this,this.tr(o));var dj=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({marginLeft:10,marginTop:10});dj.add(this.__GI=new qx.ui.form.CheckBox(this.tr(cm)).set({font:y,alignY:cC}));this.__GI.setValue(false);this.__GI.setVisibility(N);dj.add(this.__GJ=new qx.ui.form.CheckBox(this.tr(cd)).set({font:y,alignY:cC,marginLeft:5}));this.__GJ.setValue(false);this.__GJ.setVisibility(N);dj.add(this.__GK=new qx.ui.form.CheckBox(this.tr(m)).set({font:y,alignY:cC,marginLeft:5}));this.__GK.setValue(false);this.__GK.setVisibility(N);dj.add(this.__GL=new qx.ui.form.Button(this.tr(k)).set({marginLeft:5}));this.__GL.setVisibility(ce);dj.add(this.__Fr=new qx.ui.form.Button(this.tr(cS)).set({marginLeft:5}));this.__Fr.setVisibility(ce);this.add(dj);var dp=new qx.ui.container.Composite(new qx.ui.layout.Flow().set({alignX:cE,spacingX:10})).set({margin:10});var dh=new qx.ui.container.Composite(new qx.ui.layout.HBox());dh.add(new qx.ui.basic.Label(v).set({font:y}));dh.add(this.__Ft=new qx.ui.basic.Label().set({marginLeft:5}),{flex:1});dp.add(dh);this.add(dp);var dn=new qx.ui.container.Composite(new qx.ui.layout.HBox().set({alignX:cE})).set({margin:10});this.__Bo=[{column:d,header:this.tr(cV),width:75,minWidth:75,maxWidth:125,disappearOrder:-1},{column:B,header:this.tr(h),width:100,minWidth:100,maxWidth:125,disappearOrder:-1},{column:D,header:this.tr(n),width:75,minWidth:75,maxWidth:75,disappearOrder:-1},{column:df,header:this.tr(A),width:80,minWidth:75,maxWidth:90,disappearOrder:-1},{column:Y,header:this.tr(T),width:80,minWidth:75,maxWidth:90,disappearOrder:-1},{column:cl,header:this.tr(z),width:60,minWidth:60,maxWidth:60,disappearOrder:-1,type:ci},{column:G,header:this.tr(S),width:60,minWidth:60,maxWidth:60,disappearOrder:-1,type:ci},{column:cY,header:this.tr(cM),width:60,minWidth:60,maxWidth:60,disappearOrder:-1},{column:H,hidden:1},{column:cB,header:this.tr(O),width:100,minWidth:100,maxWidth:150,disappearOrder:-1},{column:r,header:this.tr(co),width:100,minWidth:100,maxWidth:150,disappearOrder:-1},{column:cw,hidden:1},{column:cP,hidden:1},{column:P,hidden:1},{column:M,hidden:1},{column:cs,hidden:1},];this.__bR=new websynapse.common.ui.widgets.table.ResizableTable(this.__Bo).set({showCellFocusIndicator:true,columnVisibilityButtonVisible:false,headerCellHeight:32});this.__bR.setDecorator(cy);this.__bR.setSpinnerImage(cp);var dg=new qx.util.format.NumberFormat().set({groupingUsed:true,maximumFractionDigits:0});var di=new qx.ui.table.cellrenderer.Number(cu).set({numberFormat:dg});var dl=this.__bR.getTableModel();this.__bR.getTableColumnModel().setDataCellRenderer(dl.getColumnIndexById(G),di);this.__bR.getTableColumnModel().setDataCellRenderer(dl.getColumnIndexById(cl),di);this.__bR.getTableColumnModel().setDataCellRenderer(dl.getColumnIndexById(cs),di);dl.setColumnEditable(dl.getColumnIndexById(G),true);dl.setColumnEditable(dl.getColumnIndexById(cB),true);dl.setColumnEditable(dl.getColumnIndexById(r),true);dl.setColumnEditable(dl.getColumnIndexById(cY),true);dl.setColumnEditable(dl.getColumnIndexById(H),true);var dm=this.__bR.getTableColumnModel();this.__Fu=new websynapse.common.ui.widgets.celleditor.SelectBox(this.__bR);this.__Fu.setListData([t,cJ,cW,j]);dm.setCellEditorFactory(dl.getColumnIndexById(cY),this.__Fu);var dk=new websynapse.common.ui.widgets.celleditor.TextField(this.__bR);dm.setCellEditorFactory(dl.getColumnIndexById(G),dk);dm.setCellEditorFactory(dl.getColumnIndexById(cB),dk);dm.setCellEditorFactory(dl.getColumnIndexById(r),dk);dn.add(this.__bR,{flex:1});this.add(dn,{flex:1});this.__GM=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({marginLeft:10,marginRight:10});this.__GM.add(this.__GN=new qx.ui.form.Button(this.tr(cS)).set({marginBottom:5,alignY:cC,allowGrowY:false}));this.__GN.setVisibility(ce);this.add(this.__GM);this.__AX();this.__AW=this.addListener(de,this.__FO,this);},members:{__AW:null,__bR:null,__Bo:null,__bP:null,__Bp:null,__GI:null,__GJ:null,__GK:null,__GO:null,__Fw:null,__GL:null,__Fr:null,__GN:null,__GP:null,__Fu:null,__AX:function(e){this.__bR.getSelectionModel().addListener(l,this.__BD,this);this.__GL.addListener(cG,this.__GS,this);this.__Fr.addListener(cG,this.__GW,this);this.__GN.addListener(cG,this.__GW,this);this.__bR.addListener(cn,this.__zP,this);this.__bR.addListener(ck,this.__Fx,this);this.__bR.addListener(cj,this.__AD,this);},__BD:function(){var dq=this.__bR.getSelectionModel().getSelectedCount();if(dq>0){var dt=this.__bR.getSelectionModel();var du=dt.getSelectedRanges()[0];var ds=du[cg];var dr=this.__bR.getTableModel().getRowDataAsMap(ds);this.__FC(ds);};},__GQ:function(){this.__GL.setVisibility(N);},__GR:function(){this.__GL.setVisibility(ce);},__AD:function(e){var dv=e.getKeyIdentifier().toLowerCase();console.log(J+dv);},__Fx:function(e){this.__bR.startEditing();},__zP:function(dw){this.__Fr.setVisibility(this.__He()>0?N:da);this.__GN.setVisibility(this.__He()>0?N:da);var dy=this.__bR.getTableModel();var dz=this.__bR.getTableColumnModel();var dB=this.__bR.getFocusedColumn();var dA=dy.getColumnIndexById(G);var dx=dy.getColumnIndexById(cY);if(dB!=dx&&dB!=dA)return;var dC=this.__bR.getFocusedRow();this.__GT(dC);},__FO:function(){var dE=this.getInParam();var dD=new websynapse.common.util.Request(ch,this.__FP,this,this.__BY,this,cq);dD.setTimeout(120000);dD.setMethod(cv);dD.setFormField(w,K);dD.send();},__GS:function(){if(this.__He()>0){var dF=qx.lang.Function.bind(function(){this.__o();},this);new websynapse.common.util.CallbackConfirmationDialog(this.tr(cz),dF);}else this.__o();},__o:function(){var dH=this.getInParam();this.__Ft.setValue(dH.ordershipid);var dG=new websynapse.common.util.Request(ch,this.__Bb,this,this.__BY,this,q);dG.setTimeout(120000);dG.setMethod(cv);dG.setFormField(w,b);dG.setFormField(ct,websynapse.common.util.Statics.CURR_CUSTID.custid);dG.setFormField(u,websynapse.common.util.Statics.CURR_FACILITY);dG.setFormField(db,dH.ordershipid.split(a)[0]);dG.setFormField(cI,dH.ordershipid.split(a)[1]);dG.setFormField(P,this.__GI.getValue()?X:V);dG.setFormField(cQ,this.__GJ.getValue()?X:V);dG.setFormField(g,this.__GK.getValue()?X:V);dG.send();this.__GR();},__Bb:function(dN){var dK=this.__bR.getTableModel();var dL=this.__bR.getTableColumnModel();var dM=dK.getColumnIndexById(df);var dJ=dK.getColumnIndexById(Y);var dO=dK.getColumnIndexById(cB);var dI=dK.getColumnIndexById(r);dL.setColumnVisible(dM,this.__GI.getValue()?true:false);dL.setColumnVisible(dJ,this.__GJ.getValue()?true:false);dL.setColumnVisible(dO,this.__GK.getValue()?true:false);dL.setColumnVisible(dI,this.__GK.getValue()?true:false);if(F in dN){this.__bR.refreshData(dN.tabledata);this.__bP=dN.tabledata;this.__AE();};},__FP:function(dP){if(I in dP){this.__GI.setValue(dP.invstatus==X?true:false);this.__GJ.setValue(dP.invclass==X?true:false);this.__GK.setValue(dP.displayic==X?true:false);this.__GO=dP.allowgtallocable;this.__Fw=dP.releasefromhold;this.__GI.addListener(f,this.__GQ,this);this.__GJ.addListener(f,this.__GQ,this);this.__GK.addListener(f,this.__GQ,this);this.__o();}else {new websynapse.common.util.ExceptionMsg(this.tr(cx),cR);};},__GT:function(dX){var dR=this.getInParam();var dU=this.__bR.getTableModel();this.__GP=dX;var dT=dU.getValue(dU.getColumnIndexById(d),dX);var dS=dU.getValue(dU.getColumnIndexById(G),dX);var dW=dU.getValue(dU.getColumnIndexById(cY),dX);var dV=dU.getValue(dU.getColumnIndexById(cP),dX);var dQ=new websynapse.common.util.Request(ch,this.__GU,this,this.__GV,this,cX);dQ.setTimeout(120000);dQ.setMethod(cv);dQ.setFormField(w,cT);dQ.setFormField(ct,websynapse.common.util.Statics.CURR_CUSTID.custid);dQ.setFormField(d,dT);dQ.setFormField(G,dS);dQ.setFormField(cY,dW);dQ.setFormField(cP,dV);dQ.setFormField(C,X);dQ.send();},__GU:function(ea){var dY=this.__bR.getTableModel();if(cN in ea){var ec=dY.getValue(dY.getColumnIndexById(cs),this.__GP);var eb=Number(ec)-Number(ea.newqty);dY.setValue(dY.getColumnIndexById(cl),this.__GP,eb);};},__GV:function(ed){new websynapse.common.util.ExceptionMsg(this.tr(R),cR);},__GW:function(){var ee=this.__GY();if(ee!=W){new websynapse.common.util.ExceptionMsg(ee,cR);return;};var eg=this.getInParam();this.__Fw=V;this.__Ft.setValue(eg.ordershipid);var ef=new websynapse.common.util.Request(ch,this.__GX,this,this.__FN,this,cO);ef.setTimeout(120000);ef.setMethod(cv);ef.setFormField(w,cU);ef.setFormField(ct,websynapse.common.util.Statics.CURR_CUSTID.custid);ef.setFormField(u,websynapse.common.util.Statics.CURR_FACILITY);ef.setFormField(db,eg.ordershipid.split(a)[0]);ef.setFormField(cI,eg.ordershipid.split(a)[1]);ef.setFormField(cA,qx.lang.Json.stringify(this.__Ha()));ef.setFormField(P,this.__GI.getValue()?X:V);ef.setFormField(cQ,this.__GJ.getValue()?X:V);ef.setFormField(g,this.__GK.getValue()?X:V);ef.setFormField(cL,this.__Fw);ef.send();},__GX:function(eh){var ei=this.getInParam();if(this.__Fw==X){if(I in eh){new websynapse.common.util.ExceptionMsg(this.tr(p),cR);this.fireDataEvent(dd,{});}else {new websynapse.common.util.ExceptionMsg(eh.relmsg,cR);};}else {if(I in eh){new websynapse.common.util.ExceptionMsg(this.tr(U),cR);this.fireDataEvent(dd,{});}else {new websynapse.common.util.ExceptionMsg(eh.savemsg,cR);};};},__GY:function(){var x=W;if(this.__He()==0){return E;};var ek=this.__bR.getTableModel();for(var i=0;i0){if(en<0&&this.__GO!=X){return c+ep+dc;};if(et==cr&&(es==cR||es==Q)){return c+ep+L;};};};return x;},__Ha:function(){var x=[];var ev=this.__bR.getTableModel();for(var i=0;i0){x.push(this.__Hb(i));};};return x;},__Hb:function(ey){var ex=this.__bR.getTableModel();return ex.getValue(ex.getColumnIndexById(d),ey)+cD+ex.getValue(ex.getColumnIndexById(G),ey)+cD+ex.getValue(ex.getColumnIndexById(cY),ey)+cD+ex.getValue(ex.getColumnIndexById(P),ey)+cD+ex.getValue(ex.getColumnIndexById(M),ey)+cD+ex.getValue(ex.getColumnIndexById(cw),ey)+cD+ex.getValue(ex.getColumnIndexById(D),ey)+cD+this.__Hi(ex.getValue(ex.getColumnIndexById(cB),ey))+cD+this.__Hi(ex.getValue(ex.getColumnIndexById(r),ey));},__He:function(){var eA=0;var ez=this.__bR.getTableModel();for(var i=0;i0){break;};};return eA;},__AE:function(){var eE=this.__bR.getTableModel();var eG=this.__bR.getTableColumnModel();var eJ=eE.getColumnIndexById(H);var eF=eE.getColumnIndexById(cY);var eD=eE.getColumnIndexById(cP);var eH=eE.getColumnIndexById(cl);var eI=eE.getColumnIndexById(cs);for(var i=0;i0;if(I){p.fldSupplier.loadList(websynapse.common.util.Statics.CUST_SHIPPER);}else {p.fldSupplier.setEnabled(false);};p._registerWidget(p.fldFacility,E,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldCustomerPO,z,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldPriority,j,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldReference,B,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldSupplier,d,s.WIDGET_TYPE_VARCHAR);p._registerWidget(p.fldAppointmentDate,a,s.WIDGET_TYPE_DATE);p._registerWidget(p.fldInstructions,l,s.WIDGET_TYPE_VARCHAR);p.fldPriority.selectItem(c);p.fldFacility.selectItem(websynapse.common.util.Statics.CURR_FACILITY);},__EL:function(){if(this._parent.noValidation){return;};if(!this.validate()||!this._parent.validationManager.isValid()){this._parent.validationManager.validate();};},validate:function(){var K=true;var L=websynapse.order.OrderUtility;var p=this._parent;K=L.checkRequiredSelectionField(p.fldFacility,K);return K;}}});})();(function(){var a="-",b="Revert changes?",c="Saving...",d="Duplicate Reference Not Allowed, Please Re-Enter.",f="Checking...",g="Save changes?",j="Status",k="excluded",l="Items",m="shipid",n="Error Finding Order Information",o="execute",p="Modify Inbound Order",q="Order Not Modifiable",r="",s="Loading...",t="Y",u="DONE",v="There are unsaved changes.
Are you sure you want to leave page?",w="websynapse.order.OrderModifyInbound",x="order_header",y="visible",z=":",A="popscreen",B="middle",C="Error Updating Order",D="pushscreen",E="check_order_modifiable",F="hdrpassthruchar",G="custid",H="hdrpassthrudoll",I="Order",J="check_order_duplicate",K="textfield",L="fmthdrpassthrudate",M="Type",N="0",O="orderid",P="right",Q="POST",R="orders.php",S="ref",T="po",U="opcode",V="bold",W="websynapse/edit-undo.png",X="Error Checking Order",Y="hdrpassthrunum",bh="
",bi="W",bj="order_modify",bf="OK",bg="updatedata";qx.Class.define(w,{extend:websynapse.order.OrderCreateInbound,construct:function(){websynapse.order.OrderCreateInbound.call(this);this._title.setValue(this.tr(p));this.noValidation=true;this._btnCancel.setIcon(W);this._btnCancel.set({marginLeft:5,enabled:true});this._buttonPanel.addAfter(this._btnCancel,this._btnApply);this._btnItems=new qx.ui.form.Button(l);this._buttonPanel.addAfter(this._btnItems,this._btnExit);this._informationPanel=new qx.ui.container.Composite(new qx.ui.layout.HBox()).set({marginTop:5,marginLeft:10});this._informationPanel.add(new qx.ui.basic.Label(this.tr(I)+z).set({alignX:P,font:V,alignY:B}));this._informationPanel.add(this._lblOrder=new qx.ui.basic.Label().set({marginLeft:5}));this._informationPanel.add(new qx.ui.basic.Label(this.tr(M)+z).set({alignX:P,font:V,alignY:B,marginLeft:20}));this._informationPanel.add(this._lblOrderType=new qx.ui.basic.Label().set({marginLeft:5}));this._informationPanel.add(new qx.ui.basic.Label(this.tr(j)+z).set({alignX:P,font:V,alignY:B,marginLeft:20}));this._informationPanel.add(this._lblOrderStatus=new qx.ui.basic.Label().set({marginLeft:5}));this.addAfter(this._informationPanel,this._buttonPanel);this.__Fh();},members:{_informationPanel:null,_lblOrder:null,_lblOrderType:null,_lblOrderStatus:null,_btnItems:null,__Fg:null,__Fh:function(){this._btnCancel.removeListenerById(this._cancelListener);this._btnCancel.addListener(o,this._preCancelAction,this);this._btnItems.addListener(o,function(){this.fireDataEvent(D,{"screen":websynapse.order.ModifyOrderItems,"inparam":this.getInParam()});},this);},_saveAction:function(){var bk=qx.lang.Function.bind(function(){this.__Fi();},this);new websynapse.common.util.CallbackConfirmationDialog(this.tr(g),bk);},__Fi:function(){var bm=this.getInParam();var bl=new websynapse.common.util.Request(R,this.__Fj,this,this.__Fj,this,this.tr(c));bl.setTimeout(120000);bl.setMethod(Q);bl.setFormField(U,E);bl.setFormField(O,bm.ordershipid.split(a)[0]);bl.setFormField(m,bm.ordershipid.split(a)[1]);bl.send();},_checkDupOrder:function(){var bo=this.getInParam();var bn=new websynapse.common.util.Request(R,this._checkDupCompleted,this,this._checkDupFailed,this,this.tr(f));bn.setTimeout(120000);bn.setMethod(Q);bn.setFormField(U,J);bn.setFormField(G,websynapse.common.util.Statics.CURR_CUSTID.custid);bn.setFormField(S,this.fldReference.getValue());bn.setFormField(T,this.fldCustomerPO.getValue());bn.setFormField(O,bo.ordershipid.split(a)[0]);bn.setFormField(m,bo.ordershipid.split(a)[1]);bn.send();},_checkDupCompleted:function(bp){if(bp.answer==t||bp.answer==bi){new websynapse.common.util.ExceptionMsg(this.tr(d),r);}else {this._saveOrder();};},_checkDupFailed:function(){new websynapse.common.util.ExceptionMsg(this.tr(X),r);},_saveOrder:function(){var br=this.getInParam();var bq=new websynapse.common.util.Request(R,this._saveCompleted,this,this._saveFailed,this,this.tr(c));bq.setTimeout(120000);bq.setMethod(Q);bq.setFormField(U,bj);bq.setFormField(O,br.ordershipid.split(a)[0]);bq.setFormField(m,br.ordershipid.split(a)[1]);bq.setFormField(bg,qx.lang.Json.stringify(websynapse.order.OrderUtility.formatSaveData(this._getSaveData(true))));bq.send();},_saveCompleted:function(bs){this.__Bb(bs);},_saveFailed:function(){new websynapse.common.util.ExceptionMsg(this.tr(C),r);},__Fj:function(bt){if(bt.answer==bf)this._checkDupOrder();else new websynapse.common.util.ExceptionMsg(q,r);},_exitAction:function(){if(this._isScreenDirty()){var bu=qx.lang.Function.bind(function(){this.fireDataEvent(A,{});},this);new websynapse.common.util.CallbackConfirmationDialog(this.tr(v),bu);return;};this.fireDataEvent(A,{});},_enableSaveButtons:function(){var bv=this._isScreenDirty();this._btnApply.setEnabled(bv&&this.validationManager.isValid()&&this.__Fg.websynapse_order_status!=u);this._btnCancel.setEnabled(bv);},_changeValid:function(e){this._validationButton.setVisibility(e.getData()?k:y);this._enableSaveButtons();},_init:function(){websynapse.order.OrderCreateInbound.prototype._init.call(this);var bx=this.getInParam();this._lblOrder.setValue(bx.ordershipid);var bw=new websynapse.common.util.Request(R,this.__Bb,this,this.__BY,this,this.tr(s));bw.setTimeout(120000);bw.setMethod(Q);bw.setFormField(U,x);bw.setFormField(O,bx.ordershipid.split(a)[0]);bw.setFormField(m,bx.ordershipid.split(a)[1]);bw.send();},__Bb:function(bC){this.__Fg=bC.header;var h=this.__Fg;var bB=websynapse.order.OrderUtility.cleanString;var by=this.getInParam();by.websynapse_order_status=this.__Fg.websynapse_order_status;try{this._lblOrderType.setValue(h.ordertypeabbrev);this._lblOrderStatus.setValue(h.orderstatusabbrev);this.fldFacility.selectItem(h.tofacility);this.fldCustomerPO.setValue(h.po);this.fldSupplier.selectItem(h.shipper);this.fldAppointmentDate.getChildControl(K).setValue(h.fmtapptdate);this.fldPriority.selectItem(h.dfltpriority);this.fldReference.setValue(h.reference);this.fldInstructions.setValue(h.comment1);for(var i=1;iM){break;};};this.__Hq.addAt(new qx.ui.form.ListItem(M),i);this.__Hn.focus();},__Hs:function(){var N=this.__Hq.getSelection();for(var i=0;i0);this.__Hp.setVisibility(this.__Hq.getSelection().length>0?j:c);var P=this.__Hn.getValue();this.__Ho.setVisibility(P!=null&&P!=s?j:c);},__Ba:function(){this.__Hn.setValue(s);this.__Hq.removeAll();this.__Hn.focus();},__o:function(){this.__Ba();this.removeListenerById(this.__AW);},__Bb:function(Q){},__DT:function(){var R={custid:websynapse.common.util.Statics.CURR_CUSTID.custid,references:this.__Hv()};this.fireDataEvent(m,{"screen":websynapse.order.OrderCancelDetail,"inparam":R});},__Hv:function(){var T=s;var S=this.__Hq.getSelectables(true);for(var i=0;i0){this.__HF.set({enabled:true,visibility:F});}else {this.__HF.set({enabled:false,visibility:T});};},this);this.__bR.addListener(l,this.__BH,this);this.__bR.addListener(bT,this.__BH,this);this.__Bq.addListener(B,this.__BH,this);this.__HF.addListener(B,this.__HJ,this);this.__HE.addListener(ct,function(){this.__HI=new websynapse.admin.AssignPasswordDialog();this.__HI.setInParam(this.getInParam());this.__HI.openAndCenter();},this);this.__bR.getSelectionModel().addListener(g,this._enableButtons,this);},_enableButtons:function(){if(this.__bR.getSelectionModel().getSelectedCount()>0&&this._hasRequiredData()){this.__Bq.set({enabled:true,visibility:F});}else {this.__Bq.set({enabled:false,visibility:T});};},__BH:function(e){var cM=this.__bR.getSelectionModel();var cN=cM.getSelectedRanges()[0];var cK=cN[cg];if(this._hasRequiredData()){var cL=this.__bR.getTableModel().getRowDataAsMap(cK);this.fireDataEvent(cd,{"screen":websynapse.admin.UserDetail,"inparam":this.__HM(cL.nameid)});}else {console.log(this.tr(cq));};},__HJ:function(){var cO=this.__HE.getValue();this.__HN(cO);},__HK:function(){if(this.__HG==bP){new websynapse.common.util.ExceptionMsg(this.tr(cs),cp);return;};if(this.__HI==null||this.__HI.usrPassword==null){new websynapse.common.util.ExceptionMsg(this.tr(n),cp);return;};var cR=this.__HE.getValue();var cQ=c+websynapse.common.util.Statics.CURR_CUSTID.custid+K;var cS=co+websynapse.common.util.Statics.CURR_FACILITY+Y;var cP=L+cl+cR+b+V+this.__HI.usrPassword+b+cr+U+k+websynapse.common.util.Statics.CURR_FACILITY+b+cv+f+bY+o+cD+bV+R+ci+x+ce+H+C+M+m+cn+cS+cm+cj+cQ+cm+bS+cC;this.__HL=JSON.parse(cP);this.fireDataEvent(cd,{"screen":websynapse.admin.UserDetail,"inparam":this.__HL});this.__HE.setValue(cp);this.__HF.set({enabled:false,visibility:T});},__HM:function(cU){if(this.__bP==null){return null;};for(var i=0;i0){this.__HG=bP;};};this.__HK();},__o:function(){if(websynapse.common.util.Statics.REFRESH_USER_MAINT){var db=new websynapse.common.util.Request(W,this.__Bb,this,this.__BY,this,this.tr(D));db.setMethod(O);db.setParameter(r,j);db.setParameter(bW,websynapse.common.util.Statics.CURR_CUSTID.custid);db.send();};},__Bb:function(dc){if(J in dc){this.__AE(dc.users);this.__bR.refreshData(dc.users);this.__bP=dc.users;};},__BY:function(e){new websynapse.common.util.ExceptionMsg(a,cp);},__AE:function(dd){for(var i=0;i0){this.__IY.resetSelection();this.__Hy();};},this);this.__IY.addListener(M,function(){if(this.__IY.getSelection().length>0){this.__IU.resetSelection();this.__Hy();};},this);this.__IT.addListener(bw,function(){this.__IV.set({maxHeight:this.__Jb()});},this);this.__IU.addListener(I,function(e){if(this.__IU.getSelection().length==0){e.preventDefault();};e.addAction(bo);e.addType(b);},this);this.__IY.addListener(I,function(e){if(this.__IY.getSelection().length==0){e.preventDefault();};e.addAction(bo);e.addType(b);},this);this.__IU.addListener(D,function(e){var bF=e.getCurrentType();var bG=this.__IU.getSelection();var bH=[];for(var i=0;i0){this.__Jd(this.__IU,this.__IY);}else if(this.__IY.getSelection().length>0){this.__Jd(this.__IY,this.__IU);};},this);},__Jb:function(){var bN=0;var bO=this.__IU.getBounds();bN=bN+bO.height;return bN;},__Jc:function(bQ){var bP=bQ.clone();bP.setUserData(k,bQ.getUserData(k));bP.setUserData(c,bQ.getUserData(c));return bP;},__Jd:function(bU,bT){var bS=bU.getSelection();for(var i=0;ibV.getLabel()){break;};};bW.addAt(bV,i);},__o:function(e){var bY=e.getData();this.setInParam(bY);this._registerWidget(this.__IP,bs);this.__Iv(bY);},__Iv:function(cc){cc[q]=cc.allcusts==g?g:bx;this.__IU.removeAll();this.__IY.removeAll();var ca=websynapse.common.util.Statics.USER_CUSTOMERS;this.__Jg(ca);this.__IU.loadList(ca,E);this.__IP.setSelection([cc.calcAllCusts==g?this.__IQ:this.__IR]);for(var i=0;i0){this.__IW.setIcon(websynapse.common.util.Statics.getResource(bv));this.__IW.setEnabled(true);}else if(this.__IY.getSelection().length>0){this.__IW.setIcon(websynapse.common.util.Statics.getResource(br));this.__IW.setEnabled(true);}else {this.__IW.setIcon(websynapse.common.util.Statics.getResource(bv));this.__IW.setEnabled(false);};this._enableSaveButtons();},_isScreenDirty:function(){var cj=websynapse.common.ui.screens.AbstractTabScreen.prototype._isScreenDirty.call(this);if(!cj){cj=this.__Jf();};return cj;},__Jf:function(){var ck=this.__IU.getSelectables(true);for(var i=0;i=0;i-- ){this.__bcV.remove(y[i]);};return this._removeAll();},getSelection:function(){return this.__bcV.getSelection();},setSelection:function(z){this.__bcV.setSelection(z);},resetSelection:function(){this.__bcV.resetSelection();},isSelected:function(A){return this.__bcV.isSelected(A);},isSelectionEmpty:function(){return this.__bcV.isSelectionEmpty();},getSelectables:function(B){return this.__bcV.getSelectables(B);}},destruct:function(){this._disposeObjects(g);}});})();(function(){var a="initlist",b="key",c="available",d="websynapse.common.ui.widgets.List";qx.Class.define(d,{extend:qx.ui.form.List,construct:function(){qx.ui.form.List.call(this);},members:{loadList:function(g,e){for(var i=0;i0){this.__IY.resetSelection();this.__Hy();};},this);this.__IY.addListener(M,function(){if(this.__IY.getSelection().length>0){this.__IU.resetSelection();this.__Hy();};},this);this.__IT.addListener(bs,function(){this.__IV.set({maxHeight:this.__Jb()});},this);this.__IU.addListener(I,function(e){if(this.__IU.getSelection().length==0){e.preventDefault();};e.addAction(bo);e.addType(Q);},this);this.__IY.addListener(I,function(e){if(this.__IY.getSelection().length==0){e.preventDefault();};e.addAction(bo);e.addType(Q);},this);this.__IU.addListener(F,function(e){var bx=e.getCurrentType();var by=this.__IU.getSelection();var bz=[];for(var i=0;i0){this.__Jd(this.__IU,this.__IY);}else if(this.__IY.getSelection().length>0){this.__Jd(this.__IY,this.__IU);};},this);},__Jb:function(){var bF=0;var bG=this.__IU.getBounds();bF=bF+bG.height;return bF;},__Jc:function(bI){var bH=bI.clone();bH.setUserData(n,bI.getUserData(n));bH.setUserData(f,bI.getUserData(f));return bH;},__Jd:function(bM,bL){var bK=bM.getSelection();for(var i=0;ibN.getLabel()){break;};};bO.addAt(bN,i);},__o:function(e){var bQ=e.getData();this.setInParam(bQ);this._registerWidget(this.__IP,S);this.__Iv(bQ);},__Iv:function(bS){bS[d]=bS.chgfacility==j?j:bt;this.__IU.removeAll();this.__IY.removeAll();var bR=websynapse.common.util.Statics.USER_FACILITIES;this.__Ix(bR);this.__IU.loadList(bR,n);this.__IP.setSelection([bS.calcAllFacilty==j?this.__IQ:this.__IR]);for(var i=0;i0){this.__IW.setIcon(websynapse.common.util.Statics.getResource(br));this.__IW.setEnabled(true);}else if(this.__IY.getSelection().length>0){this.__IW.setIcon(websynapse.common.util.Statics.getResource(bk));this.__IW.setEnabled(true);}else {this.__IW.setIcon(websynapse.common.util.Statics.getResource(br));this.__IW.setEnabled(false);};this._enableSaveButtons();},_isScreenDirty:function(){var cd=websynapse.common.ui.screens.AbstractTabScreen.prototype._isScreenDirty.call(this);if(!cd){cd=this.__Jf();};return cd;},__Jf:function(){var ce=this.__IU.getSelectables(true);for(var i=0;i0){this.__IY.resetSelection();this.__Hy();};},this);this.__IY.addListener(N,function(){if(this.__IY.getSelection().length>0){this.__IU.resetSelection();this.__Hy();};},this);this.__IT.addListener(bu,function(){this.__IV.set({maxHeight:this.__Jb()});},this);this.__IU.addListener(J,function(e){if(this.__IU.getSelection().length==0){e.preventDefault();};e.addAction(bs);e.addType(S);},this);this.__IY.addListener(J,function(e){if(this.__IY.getSelection().length==0){e.preventDefault();};e.addAction(bs);e.addType(S);},this);this.__IU.addListener(F,function(e){var bD=e.getCurrentType();var bE=this.__IU.getSelection();var bF=[];for(var i=0;i0){this.__Jd(this.__IU,this.__IY);}else if(this.__IY.getSelection().length>0){this.__Jd(this.__IY,this.__IU);};},this);},__Jb:function(){var bL=0;var bM=this.__IU.getBounds();bL=bL+bM.height;return bL;},__Jc:function(bO){var bN=bO.clone();bN.setUserData(o,bO.getUserData(o));bN.setUserData(d,bO.getUserData(d));return bN;},__Jd:function(bS,bR){var bQ=bS.getSelection();for(var i=0;ibT.getLabel()){break;};};bU.addAt(bT,i);},__o:function(e){var bW=e.getData();this.setInParam(bW);this._registerWidget(this.__IP,b);this.__Iv(bW);},__Iv:function(ca){var bY=this.getInParam();ca[R]=websynapse.common.util.Statics.USERREPORTS;this.__IU.removeAll();this.__IY.removeAll();var cb=websynapse.common.util.Statics.REPORTS;this.__Jj(cb);this.__IU.loadList(cb,H);for(var i=0;i0){this.__IW.setIcon(websynapse.common.util.Statics.getResource(bz));this.__IW.setEnabled(true);}else if(this.__IY.getSelection().length>0){this.__IW.setIcon(websynapse.common.util.Statics.getResource(bp));this.__IW.setEnabled(true);}else {this.__IW.setIcon(websynapse.common.util.Statics.getResource(bz));this.__IW.setEnabled(false);};this._enableSaveButtons();},_isScreenDirty:function(){var ci=websynapse.common.ui.screens.AbstractTabScreen.prototype._isScreenDirty.call(this);if(!ci){ci=this.__Jf();};return ci;},__Jf:function(){var cj=this.__IU.getSelectables(true);for(var i=0;i0&&X!=-1){X=bb.search(/[-+]+/);a.push((bb.length==1||X==-1)?bb:bb.substring(0,X));bb=bb.substring(X+1);};var ba=a.length;for(var i=0;i=Q&&bg<=R){return bg.toUpperCase();};bg=bg.toLowerCase();var bh=this.__beK[bg]||qx.lang.String.firstUp(bg);if(bf.isValidKeyIdentifier(bh)){return bh;}else {return z;};},toString:function(){var bj=this.__beH;var bk=[];for(var bi in this.__beG){if(this.__beG[bi]){bk.push(qx.locale.Key.getKeyName(m,bi));};};if(bj){bk.push(qx.locale.Key.getKeyName(m,bj));};return bk.join(g);}},destruct:function(){this.setEnabled(false);this.__beG=this.__beH=null;}});})();(function(){var a="End",b="key_full_Meta",c="PrintScreen",d="NumLock",e="Escape",f="Left",g="Meta",h="key_short_Alt",i="key_short_Control_Mac",j="key_short_Insert",k="Del",l="Pause",m="Num",n="key_full_Enter",o="key_full_Control",p="qx.locale.Key",q="Tabulator",r="key_full_Space",s="key_short_Meta",t="key_short_PageUp",u="key_short_Pause",v="key_full_Down",w="key_short_Apps",x="key_short_Win",y="key_full_Right",z="os.name",A="key_short_Up",B="key_full_PageDown",C="key_full_Alt",D="PgDn",E="Down",F="Esc",G="key_full_Insert",H="osx",I="Ctrl",J="key_short_Space",K="key_short_Backspace",L="key_short_Home",M="key_short_Down",N="Home",O="Apps",P="PgUp",Q="Win",R="_Mac",S="key_short_CapsLock",T="Right",U="Backspace",V="PageUp",W="key_full_Up",X="Space",Y="key_full_Home",bX="Up",bY="key_full_Backspace",ca="PageDown",bT="CapsLock",bU="Ins",bV="Control",bW="key_short_PrintScreen",cf="Tab",cg="Shift",ch="key_full_Apps",ci="key_short_Tab",cb="key_short_End",cc="_",cd="Caps",ce="key_short_NumLock",cm="key_full_Scroll",cI="key_short_Left",cJ="key_short_Scroll",cn="key_",cj="key_full_Pause",ck="Enter",cL="key_short_Right",cl="key_full_PrintScreen",co="key_full_Win",cp="key_full_Control_Mac",cq="key_short_Shift",cu="key_short_PageDown",cM="key_short_Enter",cv="key_short_Control",cr="Insert",cs="key_short_Escape",cK="Scroll",ct="key_full_Tab",cA="Print",cB="Delete",cC="key_full_CapsLock",cD="key_full_Escape",cw="key_short_Delete",cx="key_full_PageUp",cy="key_full_Shift",cz="Alt",cE="key_full_NumLock",cF="key_full_Delete",cG="key_full_End",cH="key_full_Left";qx.Class.define(p,{statics:{getKeyName:function(cR,cO,cN){{};var cQ=cn+cR+cc+cO;if(qx.core.Environment.get(z)==H&&cO==bV){cQ+=R;};var cP=qx.locale.Manager.getInstance().translate(cQ,[],cN);if(cP==cQ){return qx.locale.Key._keyNames[cQ]||cO;}else {return cP;};}},defer:function(cS){var cU={};var cT=qx.locale.Manager;cU[cT.marktr(K)]=U;cU[cT.marktr(ci)]=cf;cU[cT.marktr(J)]=X;cU[cT.marktr(cM)]=ck;cU[cT.marktr(cq)]=cg;cU[cT.marktr(cv)]=I;cU[cT.marktr(i)]=I;cU[cT.marktr(h)]=cz;cU[cT.marktr(S)]=cd;cU[cT.marktr(s)]=g;cU[cT.marktr(cs)]=F;cU[cT.marktr(cI)]=f;cU[cT.marktr(A)]=bX;cU[cT.marktr(cL)]=T;cU[cT.marktr(M)]=E;cU[cT.marktr(t)]=P;cU[cT.marktr(cu)]=D;cU[cT.marktr(cb)]=a;cU[cT.marktr(L)]=N;cU[cT.marktr(j)]=bU;cU[cT.marktr(cw)]=k;cU[cT.marktr(ce)]=m;cU[cT.marktr(bW)]=cA;cU[cT.marktr(cJ)]=cK;cU[cT.marktr(u)]=l;cU[cT.marktr(x)]=Q;cU[cT.marktr(w)]=O;cU[cT.marktr(bY)]=U;cU[cT.marktr(ct)]=q;cU[cT.marktr(r)]=X;cU[cT.marktr(n)]=ck;cU[cT.marktr(cy)]=cg;cU[cT.marktr(o)]=bV;cU[cT.marktr(cp)]=bV;cU[cT.marktr(C)]=cz;cU[cT.marktr(cC)]=bT;cU[cT.marktr(b)]=g;cU[cT.marktr(cD)]=e;cU[cT.marktr(cH)]=f;cU[cT.marktr(W)]=bX;cU[cT.marktr(y)]=T;cU[cT.marktr(v)]=E;cU[cT.marktr(cx)]=V;cU[cT.marktr(B)]=ca;cU[cT.marktr(cG)]=a;cU[cT.marktr(Y)]=N;cU[cT.marktr(G)]=cr;cU[cT.marktr(cF)]=cB;cU[cT.marktr(cE)]=d;cU[cT.marktr(cl)]=c;cU[cT.marktr(cm)]=cK;cU[cT.marktr(cj)]=l;cU[cT.marktr(co)]=Q;cU[cT.marktr(ch)]=O;cS._keyNames=cU;}});})();(function(){var a="application/xml",b="Boolean",c="application/json",d="text/html",f="application/x-www-form-urlencoded",g="qx.io.remote.Exchange",h="GET",i="Pragma",j="aborted",k="Integer",l="X-Qooxdoo-Response-Type",m="HEAD",n="qx.io.remote.Request",o="no-url-params-on-post",p="failed",q="_applyResponseType",r="_applyState",s="qx.event.type.Event",t="queued",u="text/javascript",w="changeState",x="PUT",y="_applyProhibitCaching",z="String",A="",B="sending",C="nocache",D="completed",E="qx.io.remote.Response",F="_applyMethod",G="DELETE",H="POST",I="receiving",J="boolean",K="configured",L="no-cache",M="Aborting already sent request!",N="Cache-Control",O="Content-Type",P="timeout",Q="text/plain";qx.Class.define(n,{extend:qx.core.Object,construct:function(S,R,T){qx.core.Object.call(this);this.__Wy={};this.__Wz={};this.__WA={};this.__WB={};if(S!==undefined){this.setUrl(S);};if(R!==undefined){this.setMethod(R);};if(T!==undefined){this.setResponseType(T);};this.setProhibitCaching(true);this.__WC= ++qx.io.remote.Request.__WC;},events:{"created":s,"configured":s,"sending":s,"receiving":s,"completed":E,"aborted":s,"failed":E,"timeout":E},statics:{__WC:0,methodAllowsRequestBody:function(U){return (U==H)||(U==x);}},properties:{url:{check:z,init:A},method:{check:[h,H,x,m,G],apply:F,init:h},asynchronous:{check:b,init:true},data:{check:z,nullable:true},username:{check:z,nullable:true},password:{check:z,nullable:true},state:{check:[K,t,B,I,D,j,P,p],init:K,apply:r,event:w},responseType:{check:[Q,u,c,a,d],init:Q,apply:q},timeout:{check:k,nullable:true},prohibitCaching:{check:function(v){return typeof v==J||v===o;},init:true,apply:y},crossDomain:{check:b,init:false},fileUpload:{check:b,init:false},transport:{check:g,nullable:true},useBasicHttpAuth:{check:b,init:false},parseJson:{check:b,init:true}},members:{__Wy:null,__Wz:null,__WA:null,__WB:null,__WC:null,send:function(){qx.io.remote.RequestQueue.getInstance().add(this);},abort:function(){qx.io.remote.RequestQueue.getInstance().abort(this);},reset:function(){switch(this.getState()){case B:case I:this.error(M);case t:this.abort();break;};},isConfigured:function(){return this.getState()===K;},isQueued:function(){return this.getState()===t;},isSending:function(){return this.getState()===B;},isReceiving:function(){return this.getState()===I;},isCompleted:function(){return this.getState()===D;},isAborted:function(){return this.getState()===j;},isTimeout:function(){return this.getState()===P;},isFailed:function(){return this.getState()===p;},__WD:qx.event.GlobalError.observeMethod(function(e){var V=e.clone();V.setTarget(this);this.dispatchEvent(V);}),_onqueued:function(e){this.setState(t);this.__WD(e);},_onsending:function(e){this.setState(B);this.__WD(e);},_onreceiving:function(e){this.setState(I);this.__WD(e);},_oncompleted:function(e){this.setState(D);this.__WD(e);this.dispose();},_onaborted:function(e){this.setState(j);this.__WD(e);this.dispose();},_ontimeout:function(e){this.setState(P);this.__WD(e);this.dispose();},_onfailed:function(e){this.setState(p);this.__WD(e);this.dispose();},_applyState:function(X,W){{};},_applyProhibitCaching:function(ba,Y){if(!ba){this.removeParameter(C);this.removeRequestHeader(i);this.removeRequestHeader(N);return;};if(ba!==o||this.getMethod()!=H){this.setParameter(C,new Date().valueOf());}else {this.removeParameter(C);};this.setRequestHeader(i,L);this.setRequestHeader(N,L);},_applyMethod:function(bc,bb){if(qx.io.remote.Request.methodAllowsRequestBody(bc)){this.setRequestHeader(O,f);}else {this.removeRequestHeader(O);};var bd=this.getProhibitCaching();this._applyProhibitCaching(bd,bd);},_applyResponseType:function(bf,be){this.setRequestHeader(l,bf);},setRequestHeader:function(bg,bh){this.__Wy[bg]=bh;},removeRequestHeader:function(bi){delete this.__Wy[bi];},getRequestHeader:function(bj){return this.__Wy[bj]||null;},getRequestHeaders:function(){return this.__Wy;},setParameter:function(bl,bm,bk){if(bk){this.__WA[bl]=bm;}else {this.__Wz[bl]=bm;};},removeParameter:function(bn,bo){if(bo){delete this.__WA[bn];}else {delete this.__Wz[bn];};},getParameter:function(bp,bq){if(bq){return this.__WA[bp]||null;}else {return this.__Wz[bp]||null;};},getParameters:function(br){return (br?this.__WA:this.__Wz);},setFormField:function(bs,bt){this.__WB[bs]=bt;},removeFormField:function(bu){delete this.__WB[bu];},getFormField:function(bv){return this.__WB[bv]||null;},getFormFields:function(){return this.__WB;},getSequenceNumber:function(){return this.__WC;}},destruct:function(){this.setTransport(null);this.__Wy=this.__Wz=this.__WA=this.__WB=null;}});})();(function(){var a="_on",b="Boolean",c=" handler ",d="__WE",f="ms",g="aborted",h="Integer",j=" threw an error: ",k="Timeout: transport ",l="singleton",m="interval",n="receiving",o="queued",p="io.maxrequests",q="_applyEnabled",r="sending",s="completed",t="ms > ",u="failed",v="_onaborted",w="Request ",x="__Mj",y="qx.io.remote.RequestQueue",z="timeout";qx.Class.define(y,{type:l,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.__MT=[];this.__WE=[];this.__WF=0;this.__Mj=new qx.event.Timer(500);this.__Mj.addListener(m,this._oninterval,this);},properties:{enabled:{init:true,check:b,apply:q},maxTotalRequests:{check:h,nullable:true},maxConcurrentRequests:{check:h,init:qx.core.Environment.get(p)},defaultTimeout:{check:h,init:5000}},members:{__MT:null,__WE:null,__WF:null,__Mj:null,getRequestQueue:function(){return this.__MT;},getActiveQueue:function(){return this.__WE;},_debug:function(){{var A;};},_check:function(){this._debug();if(this.__WE.length==0&&this.__MT.length==0){this.__Mj.stop();};if(!this.getEnabled()){return;};if(this.__MT.length==0||(this.__MT[0].isAsynchronous()&&this.__WE.length>=this.getMaxConcurrentRequests())){return;};if(this.getMaxTotalRequests()!=null&&this.__WF>=this.getMaxTotalRequests()){return;};var B=this.__MT.shift();var C=new qx.io.remote.Exchange(B);this.__WF++ ;this.__WE.push(C);this._debug();C.addListener(r,this._onsending,this);C.addListener(n,this._onreceiving,this);C.addListener(s,this._oncompleted,this);C.addListener(g,this._oncompleted,this);C.addListener(z,this._oncompleted,this);C.addListener(u,this._oncompleted,this);C._start=(new Date).valueOf();C.send();if(this.__MT.length>0){this._check();};},_remove:function(D){qx.lang.Array.remove(this.__WE,D);D.dispose();this._check();},__WG:0,_onsending:function(e){{};e.getTarget().getRequest()._onsending(e);},_onreceiving:function(e){e.getTarget().getRequest()._onreceiving(e);},_oncompleted:function(e){{};var E=e.getTarget().getRequest();var F=a+e.getType();this._remove(e.getTarget());try{if(E[F]){E[F](e);};}catch(G){this.error(w+E+c+F+j,G);try{if(E[v]){var event=qx.event.Registration.createEvent(g,qx.event.type.Event);E[v](event);};}catch(H){};};},_oninterval:function(e){var O=this.__WE;if(O.length==0){this.__Mj.stop();return;};var J=(new Date).valueOf();var M;var K;var N=this.getDefaultTimeout();var L;var I;for(var i=O.length-1;i>=0;i-- ){M=O[i];K=M.getRequest();if(K.isAsynchronous()){L=K.getTimeout();if(L==0){continue;};if(L==null){L=N;};I=J-M._start;if(I>L){this.warn(k+M.toHashCode());this.warn(I+t+L+f);M.timeout();};};};},_applyEnabled:function(Q,P){if(Q){this._check();};this.__Mj.setEnabled(Q);},add:function(R){R.setState(o);if(R.isAsynchronous()){this.__MT.push(R);}else {this.__MT.unshift(R);};this._check();if(this.getEnabled()){this.__Mj.start();};},abort:function(S){var T=S.getTransport();if(T){T.abort();}else if(qx.lang.Array.contains(this.__MT,S)){qx.lang.Array.remove(this.__MT,S);};}},destruct:function(){this._disposeArray(d);this._disposeObjects(x);this.__MT=null;}});})();(function(){var a="], ",b="qx.io.remote.transport.XmlHttp",c="qx.io.remote.transport.Abstract",d="Request-URL too large",f="MSHTML-specific HTTP status code",g="Not available",h="Precondition failed",j="Server error",k=")",m="There is no transport implementation available to handle this request: ",n="qx.io.remote.Exchange",o="Bad gateway",p="Gone",q="See other",r="Timeout: forcing state to timeout",s="Partial content",t="aborted",u="Server timeout",v="qx.io.remote.transport.Script",w="No supported transport types were found!",x="Unauthorized",y="=",z="Multiple choices",A="Proxy authentication required",B="Payment required",C="Request handler throws error",D="_applyState",E="Not implemented",F='Unknown status code. Possibly due to a cross-domain request?',G="Length required",H="failed",I="Unknown status code: ",J="Method not allowed",K="qx.event.type.Event",L="changeState",M="Not modified",N="HTTP version not supported",O="qx.io.remote.Request",P="Connection dropped",Q="Connection closed by server",R="Moved permanently",S="_applyImplementation",T="",U="sending",V=" (",W="Moved temporarily",X="Timeout: implementation ",Y="Forbidden",bH="completed",bI="&",bJ="Use proxy",bD="Ok",bE="qx.io.remote.Response",bF="Not found",bG=", ",bN="receiving",bO="Not acceptable",bP="Request time-out",cc="Bad request",bK="Conflict",bL="No content",bM="configured",bB='Unknown status code. Possibly due to application URL using \'file:\' protocol?',bS="file:",bC="qx.io.remote.transport.Iframe",bT="Request entity too large",bU="Unknown status code",bY="timeout",bQ="Unsupported media type",cb="Gateway time-out",bR="created",bV="Out of resources",bW="undefined",bX="Please attach a request object first",ca=" [";qx.Class.define(n,{extend:qx.core.Object,construct:function(cd){qx.core.Object.call(this);this.setRequest(cd);cd.setTransport(this);},events:{"sending":K,"receiving":K,"completed":bE,"aborted":K,"failed":bE,"timeout":bE},statics:{typesOrder:[b,bC,v],typesReady:false,typesAvailable:{},typesSupported:{},registerType:function(ce,cf){qx.io.remote.Exchange.typesAvailable[cf]=ce;},initTypes:function(){if(qx.io.remote.Exchange.typesReady){return;};for(var cg in qx.io.remote.Exchange.typesAvailable){var ch=qx.io.remote.Exchange.typesAvailable[cg];if(ch.isSupported()){qx.io.remote.Exchange.typesSupported[cg]=ch;};};qx.io.remote.Exchange.typesReady=true;if(qx.lang.Object.isEmpty(qx.io.remote.Exchange.typesSupported)){throw new Error(w);};},canHandle:function(ck,cj,ci){if(!qx.lang.Array.contains(ck.handles.responseTypes,ci)){return false;};for(var cl in cj){if(!ck.handles[cl]){return false;};};return true;},_nativeMap:{'0':bR,'1':bM,'2':U,'3':bN,'4':bH},wasSuccessful:function(cm,cn,co){if(co){switch(cm){case null:case 0:return true;case -1:return cn<4;default:return typeof cm===bW;};}else {switch(cm){case -1:{};return cn<4;case 200:case 304:return true;case 201:case 202:case 203:case 204:case 205:return true;case 206:{};return cn!==4;case 300:case 301:case 302:case 303:case 305:case 400:case 401:case 402:case 403:case 404:case 405:case 406:case 407:case 408:case 409:case 410:case 411:case 412:case 413:case 414:case 415:case 500:case 501:case 502:case 503:case 504:case 505:{};return false;case 12002:case 12007:case 12029:case 12030:case 12031:case 12152:case 13030:{};return false;default:if(cm>206&&cm<300){return true;};qx.log.Logger.debug(this,I+cm+V+cn+k);return false;};};},statusCodeToString:function(cp){switch(cp){case -1:return g;case 0:var cq=window.location.href;if(qx.lang.String.startsWith(cq.toLowerCase(),bS)){return bB;}else {return F;};break;case 200:return bD;case 304:return M;case 206:return s;case 204:return bL;case 300:return z;case 301:return R;case 302:return W;case 303:return q;case 305:return bJ;case 400:return cc;case 401:return x;case 402:return B;case 403:return Y;case 404:return bF;case 405:return J;case 406:return bO;case 407:return A;case 408:return bP;case 409:return bK;case 410:return p;case 411:return G;case 412:return h;case 413:return bT;case 414:return d;case 415:return bQ;case 500:return j;case 501:return E;case 502:return o;case 503:return bV;case 504:return cb;case 505:return N;case 12002:return u;case 12029:return P;case 12030:return P;case 12031:return P;case 12152:return Q;case 13030:return f;default:return bU;};}},properties:{request:{check:O,nullable:true},implementation:{check:c,nullable:true,apply:S},state:{check:[bM,U,bN,bH,t,bY,H],init:bM,event:L,apply:D}},members:{send:function(){var cu=this.getRequest();if(!cu){return this.error(bX);};qx.io.remote.Exchange.initTypes();var cs=qx.io.remote.Exchange.typesOrder;var cr=qx.io.remote.Exchange.typesSupported;var cw=cu.getResponseType();var cx={};if(cu.getAsynchronous()){cx.asynchronous=true;}else {cx.synchronous=true;};if(cu.getCrossDomain()){cx.crossDomain=true;};if(cu.getFileUpload()){cx.fileUpload=true;};for(var cv in cu.getFormFields()){cx.programaticFormFields=true;break;};var cy,ct;for(var i=0,l=cs.length;i0){cI.setData(cK.join(bI));};}else {cI.setData(cL);};cI.setResponseType(cH.getResponseType());cI.addListener(U,this._onsending,this);cI.addListener(bN,this._onreceiving,this);cI.addListener(bH,this._oncompleted,this);cI.addListener(t,this._onabort,this);cI.addListener(bY,this._ontimeout,this);cI.addListener(H,this._onfailed,this);};},_applyState:function(cQ,cO){{};switch(cQ){case U:this.fireEvent(U);break;case bN:this.fireEvent(bN);break;case bH:case t:case bY:case H:var cR=this.getImplementation();if(!cR){break;};this.__WH();if(this.hasListener(cQ)){var cP=qx.event.Registration.createEvent(cQ,qx.io.remote.Response);if(cQ==bH){var cN=cR.getResponseContent();cP.setContent(cN);if(cN===null){{};cQ=H;};}else if(cQ==H){cP.setContent(cR.getResponseContent());};cP.setStatusCode(cR.getStatusCode());cP.setResponseHeaders(cR.getResponseHeaders());this.dispatchEvent(cP);};this.setImplementation(null);cR.dispose();break;};}},environment:{"qx.debug.io.remote":false,"qx.debug.io.remote.data":false},destruct:function(){var cS=this.getImplementation();if(cS){this.setImplementation(null);cS.dispose();};this.setRequest(null);}});})();(function(){var a="Boolean",b="setRequestHeader is abstract",c="getFetchedLength is abstract",d="getStatusText is abstract",e="getStatusCode is abstract",f="GET",g="aborted",h="Object",i="send is abstract",j="receiving",k="_applyState",l="qx.event.type.Event",m="changeState",n="String",o="getResponseHeader is abstract",p="sending",q="getResponseHeaders is abstract",r="completed",s="failed",t="getResponseText is abstract",u="abstract",v="configured",w="qx.io.remote.transport.Abstract",x="getResponseXml is abstract",y="created",z="timeout";qx.Class.define(w,{type:u,extend:qx.core.Object,construct:function(){qx.core.Object.call(this);this.setRequestHeaders({});this.setParameters({});this.setFormFields({});},events:{"created":l,"configured":l,"sending":l,"receiving":l,"completed":l,"aborted":l,"failed":l,"timeout":l},properties:{url:{check:n,nullable:true},method:{check:n,nullable:true,init:f},asynchronous:{check:a,nullable:true,init:true},data:{check:n,nullable:true},username:{check:n,nullable:true},password:{check:n,nullable:true},state:{check:[y,v,p,j,r,g,z,s],init:y,event:m,apply:k},requestHeaders:{check:h,nullable:true},parameters:{check:h,nullable:true},formFields:{check:h,nullable:true},responseType:{check:n,nullable:true},useBasicHttpAuth:{check:a,nullable:true}},members:{send:function(){throw new Error(i);},abort:function(){{};this.setState(g);},timeout:function(){{};this.setState(z);},failed:function(){{};this.setState(s);},setRequestHeader:function(A,B){throw new Error(b);},getResponseHeader:function(C){throw new Error(o);},getResponseHeaders:function(){throw new Error(q);},getStatusCode:function(){throw new Error(e);},getStatusText:function(){throw new Error(d);},getResponseText:function(){throw new Error(t);},getResponseXml:function(){throw new Error(x);},getFetchedLength:function(){throw new Error(c);},_applyState:function(E,D){{};switch(E){case y:this.fireEvent(y);break;case v:this.fireEvent(v);break;case p:this.fireEvent(p);break;case j:this.fireEvent(j);break;case r:this.fireEvent(r);break;case g:this.fireEvent(g);break;case s:this.fireEvent(s);break;case z:this.fireEvent(z);break;};return true;}},destruct:function(){this.setRequestHeaders(null);this.setParameters(null);this.setFormFields(null);}});})();(function(){var a="application/xml",b=")!",c="application/json",d="text/html",f=")",g="gecko",h="frame_",j="Could not execute json: (",k="aborted",l="textarea",m="_data_",n="No valid responseType specified (",o="load",p="text/plain",q="text/javascript",r="pre",s="javascript:void(0)",t="",u="sending",v="readystatechange",w="completed",x="form",y="Could not execute javascript: (",z="failed",A="mshtml",B="engine.name",C="Ignore Ready State Change",D="form_",E="?",F="qx.io.remote.transport.Iframe",G="&",H="=",I="none",J="opera",K="timeout",L="qx/static/blank.gif",M="display";qx.Class.define(F,{extend:qx.io.remote.transport.Abstract,construct:function(){qx.io.remote.transport.Abstract.call(this);var N=(new Date).valueOf();var O=h+N;var P=D+N;var Q;if((qx.core.Environment.get(B)==A)){Q=s;};this.__WI=qx.bom.Iframe.create({id:O,name:O,src:Q});qx.bom.element.Style.set(this.__WI,M,I);this.__WJ=qx.dom.Element.create(x,{id:P,name:P,target:O});qx.bom.element.Style.set(this.__WJ,M,I);qx.dom.Element.insertEnd(this.__WJ,qx.dom.Node.getBodyElement(document));this.__mR=qx.dom.Element.create(l,{id:m,name:m});qx.dom.Element.insertEnd(this.__mR,this.__WJ);qx.dom.Element.insertEnd(this.__WI,qx.dom.Node.getBodyElement(document));qx.event.Registration.addListener(this.__WI,o,this._onload,this);this.__WK=qx.lang.Function.listener(this._onreadystatechange,this);qx.bom.Event.addNativeListener(this.__WI,v,this.__WK);},statics:{handles:{synchronous:false,asynchronous:true,crossDomain:false,fileUpload:true,programaticFormFields:true,responseTypes:[p,q,c,a,d]},isSupported:function(){return true;},_numericMap:{"uninitialized":1,"loading":2,"loaded":2,"interactive":3,"complete":4}},members:{__mR:null,__WL:0,__WJ:null,__WI:null,__WK:null,send:function(){var S=this.getMethod();var U=this.getUrl();var Y=this.getParameters(false);var X=[];for(var T in Y){var V=Y[T];if(V instanceof Array){for(var i=0;i0){U+=(U.indexOf(E)>=0?G:E)+X.join(G);};if(this.getData()===null){var Y=this.getParameters(true);var X=[];for(var T in Y){var V=Y[T];if(V instanceof Array){for(var i=0;i0){this.setData(X.join(G));};};var R=this.getFormFields();for(var T in R){var W=document.createElement(l);W.name=T;W.appendChild(document.createTextNode(R[T]));this.__WJ.appendChild(W);};this.__WJ.action=U;this.__WJ.method=S;this.__mR.appendChild(document.createTextNode(this.getData()));this.__WJ.submit();this.setState(u);},_onload:qx.event.GlobalError.observeMethod(function(e){if(qx.core.Environment.get(B)==J&&this.getIframeHtmlContent()==t){return;};if(this.__WJ.src){return;};this._switchReadyState(qx.io.remote.transport.Iframe._numericMap.complete);}),_onreadystatechange:qx.event.GlobalError.observeMethod(function(e){this._switchReadyState(qx.io.remote.transport.Iframe._numericMap[this.__WI.readyState]);}),_switchReadyState:function(ba){switch(this.getState()){case w:case k:case z:case K:this.warn(C);return;};while(this.__WL0?qx.lang.Json.parse(bg):null;}catch(bh){return this.error(j+bg+f,bh);};case q:bg=this.getIframeHtmlContent();{};try{return bg&&bg.length>0?window.eval(bg):null;}catch(bi){return this.error(y+bg+f,bi);};case a:bg=this.getIframeDocument();{};return bg;default:this.warn(n+this.getResponseType()+b);return null;};}},defer:function(){qx.io.remote.Exchange.registerType(qx.io.remote.transport.Iframe,F);},destruct:function(){if(this.__WI){qx.event.Registration.removeListener(this.__WI,o,this._onload,this);qx.bom.Event.removeNativeListener(this.__WI,v,this.__WK);if((qx.core.Environment.get(B)==g)){this.__WI.src=qx.util.ResourceManager.getInstance().toUri(L);};qx.dom.Element.remove(this.__WI);};if(this.__WJ){qx.dom.Element.remove(this.__WJ);};this.__WI=this.__WJ=this.__mR=null;}});})();(function(){var a="&",b="Ignore Ready State Change",c="Illegal parameter name. The following prefix is used internally by qooxdoo): ",d="",e="_ScriptTransport_data",f="?",g="application/json",h=")!",j="script",k="=",l="timeout",m="completed",n="_ScriptTransport_",o="text/plain",p="text/javascript",q="_ScriptTransport_id",r="No valid responseType specified (",s="aborted",t="utf-8",u="failed",v="qx.io.remote.transport.Script";qx.Class.define(v,{extend:qx.io.remote.transport.Abstract,construct:function(){qx.io.remote.transport.Abstract.call(this);var w= ++qx.io.remote.transport.Script.__WN;if(w>=2000000000){qx.io.remote.transport.Script.__WN=w=1;};this.__Pn=null;this.__WN=w;},statics:{__WN:0,_instanceRegistry:{},ScriptTransport_PREFIX:n,ScriptTransport_ID_PARAM:q,ScriptTransport_DATA_PARAM:e,handles:{synchronous:false,asynchronous:true,crossDomain:true,fileUpload:false,programaticFormFields:false,responseTypes:[o,p,g]},isSupported:function(){return true;},_numericMap:{"uninitialized":1,"loading":2,"loaded":2,"interactive":3,"complete":4},_requestFinished:qx.event.GlobalError.observeMethod(function(x,content){var y=qx.io.remote.transport.Script._instanceRegistry[x];if(y==null){{};}else {y._responseContent=content;y._switchReadyState(qx.io.remote.transport.Script._numericMap.complete);};})},members:{__WL:0,__Pn:null,__WN:null,send:function(){var B=this.getUrl();B+=(B.indexOf(f)>=0?a:f)+qx.io.remote.transport.Script.ScriptTransport_ID_PARAM+k+this.__WN;var E=this.getParameters();var D=[];for(var A in E){if(A.indexOf(qx.io.remote.transport.Script.ScriptTransport_PREFIX)==0){this.error(c+qx.io.remote.transport.Script.ScriptTransport_PREFIX);};var C=E[A];if(C instanceof Array){for(var i=0;i0){B+=a+D.join(a);};var z=this.getData();if(z!=null){B+=a+qx.io.remote.transport.Script.ScriptTransport_DATA_PARAM+k+encodeURIComponent(z);};qx.io.remote.transport.Script._instanceRegistry[this.__WN]=this;this.__Pn=document.createElement(j);this.__Pn.charset=t;this.__Pn.src=B;{};document.body.appendChild(this.__Pn);},_switchReadyState:function(F){switch(this.getState()){case m:case s:case u:case l:this.warn(b);return;};while(this.__WL0){bi+=(bi.indexOf(S)>=0?O:S)+bk.join(O);};if(this.getData()===null){var bm=this.getParameters(true);var bk=[];for(var bd in bm){var bh=bm[bd];if(bh instanceof Array){for(var i=0;i0){this.setData(bk.join(O));};};var bl=function(bw){var bv=G;var bq=I;var bp,bo,bn;var bs,bt,bu,br;var i=0;do {bp=bw.charCodeAt(i++ );bo=bw.charCodeAt(i++ );bn=bw.charCodeAt(i++ );bs=bp>>2;bt=((bp&3)<<4)|(bo>>4);bu=((bo&15)<<2)|(bn>>6);br=bn&63;if(isNaN(bo)){bu=br=64;}else if(isNaN(bn)){br=64;};bq+=bv.charAt(bs)+bv.charAt(bt)+bv.charAt(bu)+bv.charAt(br);}while(i/,I);bW.loadXML(s);};if(!bW.documentElement){throw new Error(u);};if(bW.documentElement.tagName==Q){throw new Error(x);};}else {throw new Error(z+this.getRequest().responseText+L);};return bW;},getFetchedLength:function(){var bY=this.getResponseText();return typeof bY==q?bY.length:0;},getResponseContent:function(){var ca=this.getState();if(ca!==M&&ca!=N){{};return null;};{};var cb=this.getResponseText();if(ca==N){{};return cb;};switch(this.getResponseType()){case C:case j:{};return cb;case g:{};try{if(cb&&cb.length>0){var cc;if(this.getParseJson()){cc=qx.lang.Json.parse(cb);cc=(cc===0?0:(cc||null));}else {cc=cb;};return cc;}else {return null;};}catch(cd){this.error(k+cb+L,cd);return B+cb+p;};case D:{};try{if(cb&&cb.length>0){var cc=window.eval(cb);return (cc===0?0:(cc||null));}else {return null;};}catch(ce){this.error(H+cb+L,ce);return null;};case a:cb=this.getResponseXml();{};return (cb===0?0:(cb||null));default:this.warn(A+this.getResponseType()+b);return null;};},_applyState:function(cg,cf){{};switch(cg){case W:this.fireEvent(W);break;case R:this.fireEvent(R);break;case w:this.fireEvent(w);break;case y:this.fireEvent(y);break;case M:this.fireEvent(M);break;case N:this.fireEvent(N);break;case o:this.getRequest().abort();this.fireEvent(o);break;case X:this.getRequest().abort();this.fireEvent(X);break;};}},defer:function(){qx.io.remote.Exchange.registerType(qx.io.remote.transport.XmlHttp,c);},destruct:function(){var ch=this.getRequest();if(ch){ch.onreadystatechange=(function(){});switch(ch.readyState){case 1:case 2:case 3:ch.abort();};};this.__WP=null;}});})();(function(){var a="Object",b="_applyResponseHeaders",c="Integer",d="qx.io.remote.Response";qx.Class.define(d,{extend:qx.event.type.Event,properties:{state:{check:c,nullable:true},statusCode:{check:c,nullable:true},content:{nullable:true},responseHeaders:{check:a,nullable:true,apply:b}},members:{__WQ:null,clone:function(e){var f=qx.event.type.Event.prototype.clone.call(this,e);f.setType(this.getType());f.setState(this.getState());f.setStatusCode(this.getStatusCode());f.setContent(this.getContent());f.setResponseHeaders(this.getResponseHeaders());return f;},getResponseHeader:function(g){if(this.__WQ){return this.__WQ[g.toLowerCase()]||null;};return null;},_applyResponseHeaders:function(i,h){var j={};if(i!==null){Object.keys(i).forEach(function(k){j[k.toLowerCase()]=i[k];});this.__WQ=j;};}}});})();(function(){var a="button-checked",b="window-resize-frame",c="decoration/window/maximize-active-hovered.png",d="radiobutton-hovered",e="decoration/arrows/right.png",f="background-application",g="keyboard-focus",h="group-item",i="scrollbar/button",j="decoration/cursors/",k="icon/16/actions/dialog-ok.png",l="border-invalid",m="combobox/button",n="icon/16/apps/office-calendar.png",o="slidebar",p="menu",q="table-scroller-focus-indicator",r="move-frame",s="nodrop",t="decoration/table/boolean-true.png",u="table-header-cell",v="app-header",w="row-layer",x="icon/16/places/folder.png",y="text-inactive",z="image",A="radiobutton",B="move",C="window-resize-frame-incl-statusbar",D="radiobutton-checked-focused",E="decoration/window/restore-active-hovered.png",F="window-captionbar-inactive",G="list",H="text-label",I="tree-folder",J="right.png",K="tabview-page-button-bottom-inactive",L="tooltip-error",M="decoration/tree/closed.png",N="window-statusbar",O="button-hovered",P="bold",Q="decoration/scrollbar/scrollbar-",R="background-tip",S="scrollbar-slider-horizontal-disabled",T="text-disabled",U="table-scroller-header",V="radiobutton-disabled",W="scrollbar-slider-horizontal",X="button-pressed",Y="table-pane",fD="decoration/window/close-active.png",fz="native",fE="checkbox-hovered",fA="decoration/window/minimize-active-hovered.png",fB="input-disabled",fw="virtual-list",fC="menubar",fJ="groupbox",fK="icon/16/actions/dialog-cancel.png",fL="tabview-page-button-top-inactive",fM="tabview-page-button-left-inactive",fF="menu-slidebar",fG="toolbar-button-checked",fH="decoration/arrows/left.png",fI="decoration/tree/open-selected.png",fQ="tree-item",gs="radiobutton-checked",fR="decoration/window/minimize-inactive.png",fS="menu-button",fN="button-focused",fO="input",ht="text-light",fP="menu-slidebar-button",fT="decoration/arrows/down.png",fU="middle",fV="group",gb="tree",gc="tabview-page-button-right-inactive",gd="decoration/window/minimize-active.png",fW="decoration/window/restore-inactive.png",fX="input-focused-invalid",fY="text-active",ga="splitpane",gh="text-input",gi="combobox/textfield",hy="decoration/window/close-active-hovered.png",gj="invalid",ge="qx/icon/Tango/16/actions/window-close.png",gf="combobox",hx="button-disabled",gg="tabview-page-button-left-active",gn="slidebar/button-forward",go="border-separator",hD="treevirtual-contract",gp="decoration/window/maximize-inactive.png",gk="scrollbar",gl="icon/22/places/folder-open.png",hB="right-top",gm="scrollarea",gq="background-splitpane",gr="datechooser/nav-button",gD="scrollbar-vertical",gC="decoration/toolbar/toolbar-handle-knob.gif",gB="icon/22/mimetypes/office-document.png",gH="text-selected",gG="cell",gF="button-checked-focused",gE="text-title",gw="best-fit",gv="decoration/tree/closed-selected.png",gu="text-hovered",gt="qx.theme.modern.Appearance",gA="decoration/tree/open.png",gz="default",gy="decoration/arrows/up-invert.png",gx="checkbox-disabled",gO="selected",gN="toolbar-button-hovered",gM="decoration/form/checked.png",gL="button",gS="progressive-table-header",gR="decoration/menu/radiobutton.gif",gQ="window-incl-statusbar",gP="decoration/arrows/down-small.png",gK="decoration/arrows/forward.png",gJ="decoration/table/descending.png",gI="decoration/form/undetermined.png",he="tree-file",hd="decoration/form/tooltip-error-arrow-right.png",hc="keep-align",hi="scrollbar-slider-vertical",hh="center",hg="toolbar",hf="alias",gW="decoration/window/restore-active.png",gV="datechooser",gU="toolbar-button",gT="decoration/table/boolean-false.png",hb="qx/static/blank.png",ha="window-pane",gY="icon/32/mimetypes/office-document.png",gX="slidebar/button-backward",ho="radiobutton-checked-disabled",hn="tabview-pane",hm="decoration/arrows/rewind.png",hl="checkbox-focused",hs="selectbox",hr="background-light",hq="top",hp="right",hk="main",hj="button-frame",eB="progressbar-background",eA="radiobutton-checked-hovered",hE="popup",ey="treevirtual-folder",ez="checkbox",ex="table-header-cell-hovered",hC="window",ev="icon/16/mimetypes/office-document.png",ew="treevirtual-expand",eu="text-gray",hz="left",es="decoration/menu/radiobutton-invert.gif",et="text-placeholder",er="atom",eK="up.png",eL="slider",eI="background-medium",eJ="decoration/table/select-column-order.png",eG="down.png",eH="widget",eF="groupitem-text",eq="tabview-page-button-top-active",eD="icon/32/places/folder-open.png",eE="icon/22/places/folder.png",eC="decoration/window/maximize-active.png",eY="decoration/window/close-inactive.png",eW="toolbar-part",eX="decoration/splitpane/knob-vertical.png",eU="left.png",eV="decoration/menu/checkbox-invert.gif",eT="table",hw="decoration/arrows/up.png",eR="table-statusbar",eS="decoration/form/tooltip-error-arrow.png",eQ="window-captionbar-active",hA="copy",eO="radiobutton-focused",eP="decoration/arrows/down-invert.png",eM="decoration/menu/checkbox.gif",eN="",fh="window-caption-active-text",fi="decoration/splitpane/knob-horizontal.png",ff="textfield",fg="icon/32/places/folder.png",fd="toolbar-separator",fe="tabview-page-button-bottom-active",fc="decoration/arrows/up-small.png",hv="decoration/table/ascending.png",fa="small",fb="tabview-page-button-right-active",fv="spinner",hu="tooltip",fx="-disabled",fs="label",fr="scrollbar-horizontal",fu="-invalid",ft="progressbar",fo="progressive-table-header-cell",fn="menu-separator",fq="pane",fp="decoration/arrows/right-invert.png",fk="icon/16/places/folder-open.png",fj="qx/static/blank.gif",fm=".gif",fl="icon/16/actions/view-refresh.png",fy="input-focused";qx.Theme.define(gt,{appearances:{"widget":{},"root":{style:function(hF){return {backgroundColor:f,textColor:H,font:gz};}},"label":{style:function(hG){return {textColor:hG.disabled?T:undefined};}},"move-frame":{style:function(hH){return {decorator:hk};}},"resize-frame":r,"dragdrop-cursor":{style:function(hI){var hJ=s;if(hI.copy){hJ=hA;}else if(hI.move){hJ=B;}else if(hI.alias){hJ=hf;};return {source:j+hJ+fm,position:hB,offset:[2,16,2,6]};}},"image":{style:function(hK){return {opacity:!hK.replacement&&hK.disabled?0.3:1};}},"atom":{},"atom/label":fs,"atom/icon":z,"popup":{style:function(hL){return {decorator:hE,backgroundColor:hr};}},"button-frame":{alias:er,style:function(hM){var hP,hO;var hN=[3,9];if(hM.checked&&hM.focused&&!hM.inner){hP=gF;hO=undefined;hN=[1,7];}else if(hM.disabled){hP=hx;hO=undefined;}else if(hM.pressed){hP=X;hO=gu;}else if(hM.checked){hP=a;hO=undefined;}else if(hM.hovered){hP=O;hO=gu;}else if(hM.focused&&!hM.inner){hP=fN;hO=undefined;hN=[1,7];}else {hP=gL;hO=undefined;};if(hM.invalid&&!hM.disabled){hP+=fu;};return {decorator:hP,textColor:hO,padding:hN,margin:[1,0]};}},"button-frame/image":{style:function(hQ){return {opacity:!hQ.replacement&&hQ.disabled?0.5:1};}},"button":{alias:hj,include:hj,style:function(hR){return {center:true};}},"hover-button":{alias:er,include:er,style:function(hS){var hT=hS.hovered?gO:undefined;return {decorator:hT,textColor:hS.hovered?gH:undefined};}},"menubutton":{include:gL,alias:gL,style:function(hU){return {icon:fT,iconPosition:hp};}},"splitbutton":{},"splitbutton/button":gL,"splitbutton/arrow":{alias:gL,include:gL,style:function(hV,hW){return {icon:fT,padding:[hW.padding[0],hW.padding[1]-6],marginLeft:1};}},"form-renderer-label":{include:fs,style:function(){return {paddingTop:4};}},"checkbox":{alias:er,style:function(hX){var hY;if(hX.checked){hY=gM;}else if(hX.undetermined){hY=gI;}else {hY=fj;};return {icon:hY,minWidth:14,gap:8,paddingLeft:2};}},"checkbox/icon":{style:function(ia){var ic;if(ia.disabled){ic=gx;}else if(ia.focused){ic=hl;}else if(ia.hovered){ic=fE;}else {ic=ez;};ic+=ia.invalid&&!ia.disabled?fu:eN;var ib=ia.undetermined?[3,1]:1;return {decorator:ic,padding:ib,width:10,height:10};}},"radiobutton":{alias:er,style:function(id){return {icon:hb,gap:8,paddingLeft:2};}},"radiobutton/icon":{style:function(ie){var ig;if(ie.disabled&&!ie.checked){ig=V;}else if(ie.checked&&ie.focused){ig=D;}else if(ie.checked&&ie.disabled){ig=ho;}else if(ie.checked&&ie.hovered){ig=eA;}else if(ie.checked){ig=gs;}else if(ie.focused){ig=eO;}else if(ie.hovered){ig=d;}else {ig=A;};ig+=ie.invalid&&!ie.disabled?fu:eN;return {decorator:ig,width:10,height:10};}},"textfield":{style:function(ih){var im;var ik=!!ih.focused;var ii=!!ih.invalid;var ij=!!ih.disabled;if(ik&&ii&&!ij){im=fX;}else if(ik&&!ii&&!ij){im=fy;}else if(ij){im=fB;}else if(!ik&&ii&&!ij){im=l;}else {im=fO;};var il;if(ih.disabled){il=T;}else if(ih.showingPlaceholder){il=et;}else {il=gh;};return {decorator:im,padding:[2,4,1],textColor:il};}},"textarea":{include:ff,style:function(io){return {padding:4};}},"spinner":{style:function(ip){var is;var ir=!!ip.focused;var it=!!ip.invalid;var iq=!!ip.disabled;if(ir&&it&&!iq){is=fX;}else if(ir&&!it&&!iq){is=fy;}else if(iq){is=fB;}else if(!ir&&it&&!iq){is=l;}else {is=fO;};return {decorator:is};}},"spinner/textfield":{style:function(iu){return {marginRight:2,padding:[2,4,1],textColor:iu.disabled?T:gh};}},"spinner/upbutton":{alias:hj,include:hj,style:function(iv,iw){return {icon:fc,padding:[iw.padding[0]-1,iw.padding[1]-5],margin:0};}},"spinner/downbutton":{alias:hj,include:hj,style:function(ix,iy){return {icon:gP,padding:[iy.padding[0]-1,iy.padding[1]-5],margin:0};}},"datefield":gf,"datefield/button":{alias:m,include:m,style:function(iz){return {icon:n,padding:[0,3],decorator:undefined};}},"datefield/textfield":gi,"datefield/list":{alias:gV,include:gV,style:function(iA){return {decorator:undefined};}},"groupbox":{style:function(iB){return {legendPosition:hq};}},"groupbox/legend":{alias:er,style:function(iC){return {padding:[1,0,1,4],textColor:iC.invalid?gj:gE,font:P};}},"groupbox/frame":{style:function(iD){return {padding:10,margin:1,decorator:fV};}},"check-groupbox":fJ,"check-groupbox/legend":{alias:ez,include:ez,style:function(iE){return {padding:[1,0,1,4],textColor:iE.invalid?gj:gE,font:P};}},"radio-groupbox":fJ,"radio-groupbox/legend":{alias:A,include:A,style:function(iF){return {padding:[1,0,1,4],textColor:iF.invalid?gj:gE,font:P};}},"scrollarea":{style:function(iG){return {minWidth:50,minHeight:50};}},"scrollarea/corner":{style:function(iH){return {backgroundColor:f};}},"scrollarea/pane":eH,"scrollarea/scrollbar-x":gk,"scrollarea/scrollbar-y":gk,"scrollbar":{style:function(iI){if(iI[fz]){return {};};return {width:iI.horizontal?undefined:16,height:iI.horizontal?16:undefined,decorator:(iI.horizontal?fr:gD),padding:1};}},"scrollbar/slider":{alias:eL,style:function(iJ){return {padding:iJ.horizontal?[0,1,0,1]:[1,0,1,0]};}},"scrollbar/slider/knob":{include:hj,style:function(iK){var iL=iK.horizontal?W:hi;if(iK.disabled){iL+=fx;};return {decorator:iL,minHeight:iK.horizontal?undefined:9,minWidth:iK.horizontal?9:undefined,padding:undefined,margin:0};}},"scrollbar/button":{alias:hj,include:hj,style:function(iM){var iO=Q;if(iM.left){iO+=eU;}else if(iM.right){iO+=J;}else if(iM.up){iO+=eK;}else {iO+=eG;};if(iM.left||iM.right){var iN=iM.left?3:4;return {padding:[3,0,3,iN],icon:iO,width:15,height:14,margin:0};}else {return {padding:3,icon:iO,width:14,height:15,margin:0};};}},"scrollbar/button-begin":i,"scrollbar/button-end":i,"slider":{style:function(iP){var iS;var iR=!!iP.focused;var iT=!!iP.invalid;var iQ=!!iP.disabled;if(iR&&iT&&!iQ){iS=fX;}else if(iR&&!iT&&!iQ){iS=fy;}else if(iQ){iS=fB;}else if(!iR&&iT&&!iQ){iS=l;}else {iS=fO;};return {decorator:iS};}},"slider/knob":{include:hj,style:function(iU){return {decorator:iU.disabled?S:W,height:14,width:14,padding:0,margin:0};}},"list":{alias:gm,style:function(iV){var iY;var iX=!!iV.focused;var ja=!!iV.invalid;var iW=!!iV.disabled;if(iX&&ja&&!iW){iY=fX;}else if(iX&&!ja&&!iW){iY=fy;}else if(iW){iY=fB;}else if(!iX&&ja&&!iW){iY=l;}else {iY=fO;};return {backgroundColor:hr,decorator:iY};}},"list/pane":eH,"listitem":{alias:er,style:function(jb){return {padding:jb.dragover?[4,4,2,4]:4,textColor:jb.selected?gH:undefined,decorator:jb.selected?gO:undefined,opacity:jb.drag?0.5:undefined};}},"slidebar":{},"slidebar/scrollpane":{},"slidebar/content":{},"slidebar/button-forward":{alias:hj,include:hj,style:function(jc){return {padding:5,center:true,icon:jc.vertical?fT:e};}},"slidebar/button-backward":{alias:hj,include:hj,style:function(jd){return {padding:5,center:true,icon:jd.vertical?hw:fH};}},"tabview":{style:function(je){return {contentPadding:16};}},"tabview/bar":{alias:o,style:function(jf){var jg={marginBottom:jf.barTop?-1:0,marginTop:jf.barBottom?-4:0,marginLeft:jf.barRight?-3:0,marginRight:jf.barLeft?-1:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0};if(jf.barTop||jf.barBottom){jg.paddingLeft=5;jg.paddingRight=7;}else {jg.paddingTop=5;jg.paddingBottom=7;};return jg;}},"tabview/bar/button-forward":{include:gn,alias:gn,style:function(jh){if(jh.barTop||jh.barBottom){return {marginTop:2,marginBottom:2};}else {return {marginLeft:2,marginRight:2};};}},"tabview/bar/button-backward":{include:gX,alias:gX,style:function(ji){if(ji.barTop||ji.barBottom){return {marginTop:2,marginBottom:2};}else {return {marginLeft:2,marginRight:2};};}},"tabview/bar/scrollpane":{},"tabview/pane":{style:function(jj){return {decorator:hn,marginBottom:jj.barBottom?-1:0,marginTop:jj.barTop?-1:0,marginLeft:jj.barLeft?-1:0,marginRight:jj.barRight?-1:0};}},"tabview-page":{alias:eH,include:eH,style:function(jk){return {padding:[4,3]};}},"tabview-page/button":{alias:er,style:function(jl){var jr,jn=0;var jq=0,jm=0,jo=0,jp=0;if(jl.checked){if(jl.barTop){jr=eq;jn=[5,11];jo=jl.firstTab?0:-5;jp=jl.lastTab?0:-5;}else if(jl.barBottom){jr=fe;jn=[5,11];jo=jl.firstTab?0:-5;jp=jl.lastTab?0:-5;jq=3;}else if(jl.barRight){jr=fb;jn=[5,10];jq=jl.firstTab?0:-5;jm=jl.lastTab?0:-5;jo=2;}else {jr=gg;jn=[5,10];jq=jl.firstTab?0:-5;jm=jl.lastTab?0:-5;};}else {if(jl.barTop){jr=fL;jn=[3,9];jq=4;jo=jl.firstTab?5:1;jp=1;}else if(jl.barBottom){jr=K;jn=[3,9];jm=4;jo=jl.firstTab?5:1;jp=1;jq=3;}else if(jl.barRight){jr=gc;jn=[3,9];jp=5;jq=jl.firstTab?5:1;jm=1;jo=3;}else {jr=fM;jn=[3,9];jo=5;jq=jl.firstTab?5:1;jm=1;jp=1;};};return {zIndex:jl.checked?10:5,decorator:jr,padding:jn,marginTop:jq,marginBottom:jm,marginLeft:jo,marginRight:jp,textColor:jl.disabled?T:jl.checked?fY:y};}},"tabview-page/button/label":{alias:fs,style:function(js){return {padding:js.focused?[0,1,0,1]:[1,2,1,2],decorator:js.focused?g:undefined};}},"tabview-page/button/close-button":{alias:er,style:function(jt){return {icon:ge};}},"toolbar":{style:function(ju){return {decorator:hg,spacing:2};}},"toolbar/part":{style:function(jv){return {decorator:eW,spacing:2};}},"toolbar/part/container":{style:function(jw){return {paddingLeft:2,paddingRight:2};}},"toolbar/part/handle":{style:function(jx){return {source:gC,marginLeft:3,marginRight:3};}},"toolbar-button":{alias:er,style:function(jy){var jz;if(jy.pressed||(jy.checked&&!jy.hovered)||(jy.checked&&jy.disabled)){jz=fG;}else if(jy.hovered&&!jy.disabled){jz=gN;};return {marginTop:2,marginBottom:2,padding:(jy.pressed||jy.checked||jy.hovered)&&!jy.disabled||(jy.disabled&&jy.checked)?3:5,decorator:jz};}},"toolbar-menubutton":{alias:gU,include:gU,style:function(jA){return {showArrow:true};}},"toolbar-menubutton/arrow":{alias:z,include:z,style:function(jB){return {source:gP};}},"toolbar-splitbutton":{style:function(jC){return {marginTop:2,marginBottom:2};}},"toolbar-splitbutton/button":{alias:gU,include:gU,style:function(jD){return {icon:fT,marginTop:undefined,marginBottom:undefined};}},"toolbar-splitbutton/arrow":{alias:gU,include:gU,style:function(jE){if(jE.pressed||jE.checked||(jE.hovered&&!jE.disabled)){var jF=1;}else {var jF=3;};return {padding:jF,icon:fT,marginTop:undefined,marginBottom:undefined};}},"toolbar-separator":{style:function(jG){return {decorator:fd,margin:7};}},"tree":G,"tree-item":{style:function(jH){var jI=jH.selected?gO:undefined;return {padding:[2,6],textColor:jH.selected?gH:undefined,decorator:jI,opacity:jH.drag?0.5:undefined};}},"tree-item/icon":{include:z,style:function(jJ){return {paddingRight:5};}},"tree-item/label":fs,"tree-item/open":{include:z,style:function(jK){var jL;if(jK.selected&&jK.opened){jL=fI;}else if(jK.selected&&!jK.opened){jL=gv;}else if(jK.opened){jL=gA;}else {jL=M;};return {padding:[0,5,0,2],source:jL};}},"tree-folder":{include:fQ,alias:fQ,style:function(jM){var jO,jN;if(jM.small){jO=jM.opened?fk:x;jN=fk;}else if(jM.large){jO=jM.opened?eD:fg;jN=eD;}else {jO=jM.opened?gl:eE;jN=gl;};return {icon:jO,iconOpened:jN};}},"tree-file":{include:fQ,alias:fQ,style:function(jP){return {icon:jP.small?ev:jP.large?gY:gB};}},"treevirtual":eT,"treevirtual-folder":{style:function(jQ){return {icon:jQ.opened?fk:x};}},"treevirtual-file":{include:ey,alias:ey,style:function(jR){return {icon:ev};}},"treevirtual-line":{style:function(jS){return {icon:fj};}},"treevirtual-contract":{style:function(jT){return {icon:gA,paddingLeft:5,paddingTop:2};}},"treevirtual-expand":{style:function(jU){return {icon:M,paddingLeft:5,paddingTop:2};}},"treevirtual-only-contract":hD,"treevirtual-only-expand":ew,"treevirtual-start-contract":hD,"treevirtual-start-expand":ew,"treevirtual-end-contract":hD,"treevirtual-end-expand":ew,"treevirtual-cross-contract":hD,"treevirtual-cross-expand":ew,"treevirtual-end":{style:function(jV){return {icon:fj};}},"treevirtual-cross":{style:function(jW){return {icon:fj};}},"tooltip":{include:hE,style:function(jX){return {backgroundColor:R,padding:[1,3,2,3],offset:[15,5,5,5]};}},"tooltip/atom":er,"tooltip-error":{style:function(jY){return {placeMethod:eH,offset:[-3,1,0,0],arrowPosition:jY.placementLeft?hz:hp,position:hB,showTimeout:100,hideTimeout:10000,padding:[0,4,4,0]};}},"tooltip-error/arrow":{include:z,style:function(ka){var kb=ka.placementLeft?hd:eS;return {source:kb,padding:[6,0,0,0],zIndex:10000001};}},"tooltip-error/atom":{include:hE,style:function(kc){return {textColor:gH,backgroundColor:undefined,decorator:L,font:P,padding:[3,4,4,4],margin:[1,0,0,0],maxWidth:333};}},"window":{style:function(kd){return {decorator:kd.showStatusbar?gQ:hC,contentPadding:[10,10,10,10],margin:kd.maximized?0:[0,5,5,0]};}},"window-resize-frame":{style:function(ke){return {decorator:ke.showStatusbar?C:b};}},"window/pane":{style:function(kf){return {decorator:ha};}},"window/captionbar":{style:function(kg){return {decorator:(kg.active?eQ:F),textColor:kg.active?fh:eu,minHeight:26,paddingRight:2};}},"window/icon":{style:function(kh){return {margin:[5,0,3,6]};}},"window/title":{style:function(ki){return {alignY:fU,font:P,marginLeft:6,marginRight:12};}},"window/minimize-button":{alias:er,style:function(kj){return {icon:kj.active?kj.hovered?fA:gd:fR,margin:[4,8,2,0]};}},"window/restore-button":{alias:er,style:function(kk){return {icon:kk.active?kk.hovered?E:gW:fW,margin:[5,8,2,0]};}},"window/maximize-button":{alias:er,style:function(kl){return {icon:kl.active?kl.hovered?c:eC:gp,margin:[4,8,2,0]};}},"window/close-button":{alias:er,style:function(km){return {icon:km.active?km.hovered?hy:fD:eY,margin:[4,8,2,0]};}},"window/statusbar":{style:function(kn){return {padding:[2,6],decorator:N,minHeight:18};}},"window/statusbar-text":{style:function(ko){return {font:fa};}},"iframe":{style:function(kp){return {decorator:hk};}},"resizer":{style:function(kq){return {decorator:fq};}},"splitpane":{style:function(kr){return {decorator:ga};}},"splitpane/splitter":{style:function(ks){return {width:ks.horizontal?3:undefined,height:ks.vertical?3:undefined,backgroundColor:gq};}},"splitpane/splitter/knob":{style:function(kt){return {source:kt.horizontal?fi:eX};}},"splitpane/slider":{style:function(ku){return {width:ku.horizontal?3:undefined,height:ku.vertical?3:undefined,backgroundColor:gq};}},"selectbox":hj,"selectbox/atom":er,"selectbox/popup":hE,"selectbox/list":{alias:G},"selectbox/arrow":{include:z,style:function(kv){return {source:fT,paddingLeft:5};}},"datechooser":{style:function(kw){var kz;var ky=!!kw.focused;var kA=!!kw.invalid;var kx=!!kw.disabled;if(ky&&kA&&!kx){kz=fX;}else if(ky&&!kA&&!kx){kz=fy;}else if(kx){kz=fB;}else if(!ky&&kA&&!kx){kz=l;}else {kz=fO;};return {padding:2,decorator:kz,backgroundColor:hr};}},"datechooser/navigation-bar":{},"datechooser/nav-button":{include:hj,alias:hj,style:function(kB){var kC={padding:[2,4]};if(kB.lastYear){kC.icon=hm;kC.marginRight=1;}else if(kB.lastMonth){kC.icon=fH;}else if(kB.nextYear){kC.icon=gK;kC.marginLeft=1;}else if(kB.nextMonth){kC.icon=e;};return kC;}},"datechooser/last-year-button-tooltip":hu,"datechooser/last-month-button-tooltip":hu,"datechooser/next-year-button-tooltip":hu,"datechooser/next-month-button-tooltip":hu,"datechooser/last-year-button":gr,"datechooser/last-month-button":gr,"datechooser/next-month-button":gr,"datechooser/next-year-button":gr,"datechooser/month-year-label":{style:function(kD){return {font:P,textAlign:hh,textColor:kD.disabled?T:undefined};}},"datechooser/date-pane":{style:function(kE){return {textColor:kE.disabled?T:undefined,marginTop:2};}},"datechooser/weekday":{style:function(kF){return {textColor:kF.disabled?T:kF.weekend?ht:undefined,textAlign:hh,paddingTop:2,backgroundColor:eI};}},"datechooser/week":{style:function(kG){return {textAlign:hh,padding:[2,4],backgroundColor:eI};}},"datechooser/day":{style:function(kH){var kI=kH.disabled?undefined:kH.selected?gO:undefined;return {textAlign:hh,decorator:kI,textColor:kH.disabled?T:kH.selected?gH:kH.otherMonth?ht:undefined,font:kH.today?P:undefined,padding:[2,4]};}},"combobox":{style:function(kJ){var kM;var kL=!!kJ.focused;var kN=!!kJ.invalid;var kK=!!kJ.disabled;if(kL&&kN&&!kK){kM=fX;}else if(kL&&!kN&&!kK){kM=fy;}else if(kK){kM=fB;}else if(!kL&&kN&&!kK){kM=l;}else {kM=fO;};return {decorator:kM};}},"combobox/popup":hE,"combobox/list":{alias:G},"combobox/button":{include:hj,alias:hj,style:function(kO,kP){var kQ={icon:fT,padding:[kP.padding[0],kP.padding[1]-6],margin:undefined};if(kO.selected){kQ.decorator=fN;};return kQ;}},"combobox/textfield":{include:ff,style:function(kR){return {decorator:undefined};}},"menu":{style:function(kS){var kT={decorator:p,spacingX:6,spacingY:1,iconColumnWidth:16,arrowColumnWidth:4,placementModeY:kS.submenu||kS.contextmenu?gw:hc};if(kS.submenu){kT.position=hB;kT.offset=[-2,-3];};return kT;}},"menu/slidebar":fF,"menu-slidebar":eH,"menu-slidebar-button":{style:function(kU){var kV=kU.hovered?gO:undefined;return {decorator:kV,padding:7,center:true};}},"menu-slidebar/button-backward":{include:fP,style:function(kW){return {icon:kW.hovered?gy:hw};}},"menu-slidebar/button-forward":{include:fP,style:function(kX){return {icon:kX.hovered?eP:fT};}},"menu-separator":{style:function(kY){return {height:0,decorator:fn,margin:[4,2]};}},"menu-button":{alias:er,style:function(la){var lb=la.selected?gO:undefined;return {decorator:lb,textColor:la.selected?gH:undefined,padding:[4,6]};}},"menu-button/icon":{include:z,style:function(lc){return {alignY:fU};}},"menu-button/label":{include:fs,style:function(ld){return {alignY:fU,padding:1};}},"menu-button/shortcut":{include:fs,style:function(le){return {alignY:fU,marginLeft:14,padding:1};}},"menu-button/arrow":{include:z,style:function(lf){return {source:lf.selected?fp:e,alignY:fU};}},"menu-checkbox":{alias:fS,include:fS,style:function(lg){return {icon:!lg.checked?undefined:lg.selected?eV:eM};}},"menu-radiobutton":{alias:fS,include:fS,style:function(lh){return {icon:!lh.checked?undefined:lh.selected?es:gR};}},"menubar":{style:function(li){return {decorator:fC};}},"menubar-button":{alias:er,style:function(lj){var lk=(lj.pressed||lj.hovered)&&!lj.disabled?gO:undefined;return {decorator:lk,textColor:lj.pressed||lj.hovered?gH:undefined,padding:[3,8]};}},"colorselector":eH,"colorselector/control-bar":eH,"colorselector/control-pane":eH,"colorselector/visual-pane":fJ,"colorselector/preset-grid":eH,"colorselector/colorbucket":{style:function(ll){return {decorator:hk,width:16,height:16};}},"colorselector/preset-field-set":fJ,"colorselector/input-field-set":{include:fJ,alias:fJ,style:function(){return {paddingTop:20};}},"colorselector/preview-field-set":{include:fJ,alias:fJ,style:function(){return {paddingTop:20};}},"colorselector/hex-field-composite":eH,"colorselector/hex-field":ff,"colorselector/rgb-spinner-composite":eH,"colorselector/rgb-spinner-red":fv,"colorselector/rgb-spinner-green":fv,"colorselector/rgb-spinner-blue":fv,"colorselector/hsb-spinner-composite":eH,"colorselector/hsb-spinner-hue":fv,"colorselector/hsb-spinner-saturation":fv,"colorselector/hsb-spinner-brightness":fv,"colorselector/preview-content-old":{style:function(lm){return {decorator:hk,width:50,height:10};}},"colorselector/preview-content-new":{style:function(ln){return {decorator:hk,backgroundColor:hr,width:50,height:10};}},"colorselector/hue-saturation-field":{style:function(lo){return {decorator:hk,margin:5};}},"colorselector/brightness-field":{style:function(lp){return {decorator:hk,margin:[5,7]};}},"colorselector/hue-saturation-pane":eH,"colorselector/hue-saturation-handle":eH,"colorselector/brightness-pane":eH,"colorselector/brightness-handle":eH,"colorpopup":{alias:hE,include:hE,style:function(lq){return {padding:5,backgroundColor:f};}},"colorpopup/field":{style:function(lr){return {decorator:hk,margin:2,width:14,height:14,backgroundColor:hr};}},"colorpopup/selector-button":gL,"colorpopup/auto-button":gL,"colorpopup/preview-pane":fJ,"colorpopup/current-preview":{style:function(ls){return {height:20,padding:4,marginLeft:4,decorator:hk,allowGrowX:true};}},"colorpopup/selected-preview":{style:function(lt){return {height:20,padding:4,marginRight:4,decorator:hk,allowGrowX:true};}},"colorpopup/colorselector-okbutton":{alias:gL,include:gL,style:function(lu){return {icon:k};}},"colorpopup/colorselector-cancelbutton":{alias:gL,include:gL,style:function(lv){return {icon:fK};}},"table":{alias:eH,style:function(lw){return {decorator:eT};}},"table/statusbar":{style:function(lx){return {decorator:eR,padding:[0,2]};}},"table/column-button":{alias:hj,style:function(ly){return {decorator:U,padding:3,icon:eJ};}},"table-column-reset-button":{include:fS,alias:fS,style:function(){return {icon:fl};}},"table-scroller":eH,"table-scroller/scrollbar-x":gk,"table-scroller/scrollbar-y":gk,"table-scroller/header":{style:function(lz){return {decorator:U,textColor:lz.disabled?T:undefined};}},"table-scroller/pane":{style:function(lA){return {backgroundColor:Y};}},"table-scroller/focus-indicator":{style:function(lB){return {decorator:q};}},"table-scroller/resize-line":{style:function(lC){return {backgroundColor:go,width:2};}},"table-header-cell":{alias:er,style:function(lD){return {minWidth:13,minHeight:20,padding:lD.hovered?[3,4,2,4]:[3,4],decorator:lD.hovered?ex:u,sortIcon:lD.sorted?(lD.sortedAscending?hv:gJ):undefined};}},"table-header-cell/label":{style:function(lE){return {minWidth:0,alignY:fU,paddingRight:5};}},"table-header-cell/sort-icon":{style:function(lF){return {alignY:fU,alignX:hp,opacity:lF.disabled?0.3:1};}},"table-header-cell/icon":{style:function(lG){return {minWidth:0,alignY:fU,paddingRight:5,opacity:lG.disabled?0.3:1};}},"table-editor-textfield":{include:ff,style:function(lH){return {decorator:undefined,padding:[2,2],backgroundColor:hr};}},"table-editor-selectbox":{include:hs,alias:hs,style:function(lI){return {padding:[0,2],backgroundColor:hr};}},"table-editor-combobox":{include:gf,alias:gf,style:function(lJ){return {decorator:undefined,backgroundColor:hr};}},"progressive-table-header":{alias:eH,style:function(lK){return {decorator:gS};}},"progressive-table-header-cell":{alias:er,style:function(lL){return {minWidth:40,minHeight:25,paddingLeft:6,decorator:fo};}},"app-header":{style:function(lM){return {font:P,textColor:gH,padding:[8,12],decorator:v};}},"app-header-label":fs,"app-splitpane":{alias:ga,style:function(lN){return {padding:0};}},"virtual-list":G,"virtual-list/row-layer":w,"row-layer":eH,"group-item":{include:fs,alias:fs,style:function(lO){return {padding:4,decorator:h,textColor:eF,font:P};}},"virtual-selectbox":hs,"virtual-selectbox/dropdown":hE,"virtual-selectbox/dropdown/list":{alias:fw},"virtual-combobox":gf,"virtual-combobox/dropdown":hE,"virtual-combobox/dropdown/list":{alias:fw},"virtual-tree":{include:gb,alias:gb,style:function(lP){return {itemHeight:26};}},"virtual-tree-folder":I,"virtual-tree-file":he,"column-layer":eH,"cell":{style:function(lQ){return {textColor:lQ.selected?gH:H,padding:[3,6],font:gz};}},"cell-string":gG,"cell-number":{include:gG,style:function(lR){return {textAlign:hp};}},"cell-image":gG,"cell-boolean":{include:gG,style:function(lS){return {iconTrue:t,iconFalse:gT};}},"cell-atom":gG,"cell-date":gG,"cell-html":gG,"progressbar":{style:function(lT){return {decorator:ft,padding:[1],backgroundColor:eB,width:200,height:20};}},"progressbar/progress":{style:function(lU){return {decorator:(lU.disabled?h:gO)};}}}});})();(function(){var a="rounded-input-focused-invalid",b="rounded-input-focused",c="label",d="rounded-input",e="rounded-input-disabled",f="rounded-border-invalid",g="background-light",h="scrollarea",i="websynapse.theme.Appearance";qx.Theme.define(i,{extend:qx.theme.modern.Appearance,appearances:{"toolbar/part/handle":{style:function(j){return {source:null,marginLeft:0,marginRight:0};}},"rounded-list":{alias:h,style:function(k){var n;var m=!!k.focused;var o=!!k.invalid;var l=!!k.disabled;if(m&&o&&!l){n=a;}else if(m&&!o&&!l){n=b;}else if(l){n=e;}else if(!m&&o&&!l){n=f;}else {n=d;};return {backgroundColor:g,decorator:n};}},"tabview-page/button/label":{alias:c,style:function(p){return {padding:p.focused?[0,1,0,1]:[1,2,1,2],decorator:p.focused?undefined:undefined};}}}});})();(function(){var a="Tango",b="qx/icon/Tango",c="qx.theme.icon.Tango";qx.Theme.define(c,{title:a,aliases:{"icon":b}});})();(function(){var a="Liberation Sans",b="Tahoma",c="os.name",d="sans-serif",e="monospace",f="win",g="Arial",h="Lucida Grande",i="osx",j="Courier New",k="os.version",l="Lucida Console",m="7",n="Monaco",o="Candara",p="Segoe UI",q="Consolas",r="vista",s="qx.theme.modern.Font",t="DejaVu Sans Mono";qx.Theme.define(s,{fonts:{"default":{size:(qx.core.Environment.get(c)==f&&(qx.core.Environment.get(k)==m||qx.core.Environment.get(k)==r))?12:11,lineHeight:1.4,family:qx.core.Environment.get(c)==i?[h]:((qx.core.Environment.get(c)==f&&(qx.core.Environment.get(k)==m||qx.core.Environment.get(k)==r)))?[p,o]:[b,a,g,d]},"bold":{size:(qx.core.Environment.get(c)==f&&(qx.core.Environment.get(k)==m||qx.core.Environment.get(k)==r))?12:11,lineHeight:1.4,family:qx.core.Environment.get(c)==i?[h]:((qx.core.Environment.get(c)==f&&(qx.core.Environment.get(k)==m||qx.core.Environment.get(k)==r)))?[p,o]:[b,a,g,d],bold:true},"small":{size:(qx.core.Environment.get(c)==f&&(qx.core.Environment.get(k)==m||qx.core.Environment.get(k)==r))?11:10,lineHeight:1.4,family:qx.core.Environment.get(c)==i?[h]:((qx.core.Environment.get(c)==f&&(qx.core.Environment.get(k)==m||qx.core.Environment.get(k)==r)))?[p,o]:[b,a,g,d]},"monospace":{size:11,lineHeight:1.4,family:qx.core.Environment.get(c)==i?[l,n]:((qx.core.Environment.get(c)==f&&(qx.core.Environment.get(k)==m||qx.core.Environment.get(k)==r)))?[q]:[q,t,j,e]}}});})();(function(){var a="websynapse.theme.Font";qx.Theme.define(a,{extend:qx.theme.modern.Font,fonts:{}});})();(function(){var a="black",b="#EEEEEE",c="#1a1a1a",d="#ffffdd",e="#b6b6b6",f="#004DAD",g="#BABABA",h="#005BC3",i="#334866",j="#00204D",k="#CECECE",l="gray",m="#D9D9D9",n="#D8D8D8",o="#99C3FE",p="#001533",q="#B3B3B3",r="#F4F4F4",s="#D5D5D5",t="#fffefe",u="#C3C3C3",v="#E4E4E4",w="#DDDDDD",x="#FF9999",y="css.rgba",z="#E8E8E9",A="#084FAA",B="#AFAFAF",C="white",D="#C5C5C5",E="rgba(0, 0, 0, 0.4)",F="#DBDBDB",G="#4a4a4a",H="#83BAEA",I="#D7E7F4",J="#07125A",K="#084FAB",L="#FAF2F2",M="#87AFE7",N="#F7EAEA",O="#777D8D",P="#FBFBFB",Q="#CACACA",R="#909090",S="#9B9B9B",T="#F0F9FE",U="#314a6e",V="#B4B4B4",W="#787878",X="qx.theme.modern.Color",Y="#000000",cb="#26364D",cc="#A7A7A7",cd="#D1E4FF",bW="#5CB0FD",bX="#FCFCFC",bY="#EAEAEA",ca="#003B91",ci="#80B4EF",cj="#FF6B78",ck="#949494",cl="#808080",ce="#F3F3F3",cf="#930000",cg="#7B7B7B",ch="#F0F0F0",cp="#C82C2C",cN="#DFDFDF",cO="#B6B6B6",cq="#0880EF",cm="#4d4d4d",cn="#f4f4f4",cQ="#7B7A7E",co="#D0D0D0",cr="#f8f8f8",cs="#404955",ct="#959595",cx="#AAAAAA",cR="#F7E9E9",cy="#314A6E",cu="#C72B2B",cv="#FAFAFA",cP="#FBFCFB",cw="#B2D2FF",cD="#666666",cE="#CBC8CD",cF="#999999",cG="#8EB8D6",cz="#b8b8b8",cA="#727272",cB="#33508D",cC="#E8E8E8",cK="#CCCCCC",cL="#CCC",cS="#EFEFEF",cM="#F2F2F2",cH="#F1F1F1",cI="#990000",cJ="#00368A";qx.Theme.define(X,{colors:{"background-application":cN,"background-pane":ce,"background-light":bX,"background-medium":b,"background-splitpane":B,"background-tip":d,"background-tip-error":cu,"background-odd":v,"progressbar-background":C,"text-light":R,"text-gray":G,"text-label":c,"text-title":U,"text-input":Y,"text-hovered":p,"text-disabled":cQ,"text-selected":t,"text-active":cb,"text-inactive":cs,"text-placeholder":cE,"border-inner-scrollbar":C,"border-main":cm,"menu-separator-top":D,"menu-separator-bottom":cv,"border-separator":cl,"border-toolbar-button-outer":e,"border-toolbar-border-inner":cr,"border-toolbar-separator-right":cn,"border-toolbar-separator-left":cz,"border-input":i,"border-inner-input":C,"border-disabled":cO,"border-pane":j,"border-button":cD,"border-column":cK,"border-focused":o,"invalid":cI,"border-focused-invalid":x,"border-dragover":cB,"keyboard-focus":a,"table-pane":ce,"table-focus-indicator":cq,"table-row-background-focused-selected":K,"table-row-background-focused":ci,"table-row-background-selected":K,"table-row-background-even":ce,"table-row-background-odd":v,"table-row-selected":t,"table-row":c,"table-row-line":cL,"table-column-line":cL,"table-header-hovered":C,"progressive-table-header":cx,"progressive-table-header-border-right":cM,"progressive-table-row-background-even":r,"progressive-table-row-background-odd":v,"progressive-progressbar-background":l,"progressive-progressbar-indicator-done":cK,"progressive-progressbar-indicator-undone":C,"progressive-progressbar-percent-background":l,"progressive-progressbar-percent-text":C,"selected-start":f,"selected-end":cJ,"background-selected":cJ,"tabview-background":J,"shadow":qx.core.Environment.get(y)?E:cF,"pane-start":P,"pane-end":ch,"group-background":cC,"group-border":V,"radiobutton-background":cS,"checkbox-border":cy,"checkbox-focus":M,"checkbox-hovered":cw,"checkbox-hovered-inner":cd,"checkbox-inner":b,"checkbox-start":v,"checkbox-end":ce,"checkbox-disabled-border":W,"checkbox-disabled-inner":Q,"checkbox-disabled-start":co,"checkbox-disabled-end":n,"checkbox-hovered-inner-invalid":L,"checkbox-hovered-invalid":cR,"radiobutton-checked":h,"radiobutton-disabled":s,"radiobutton-checked-disabled":cg,"radiobutton-hovered-invalid":N,"tooltip-error":cp,"scrollbar-start":cK,"scrollbar-end":cH,"scrollbar-slider-start":b,"scrollbar-slider-end":u,"button-border-disabled":ct,"button-start":ch,"button-end":B,"button-disabled-start":r,"button-disabled-end":g,"button-hovered-start":T,"button-hovered-end":cG,"button-focused":H,"border-invalid":cf,"input-start":ch,"input-end":cP,"input-focused-start":I,"input-focused-end":bW,"input-focused-inner-invalid":cj,"input-border-disabled":S,"input-border-inner":C,"toolbar-start":cS,"toolbar-end":w,"window-border":j,"window-border-caption":cA,"window-caption-active-text":C,"window-caption-active-start":A,"window-caption-active-end":ca,"window-caption-inactive-start":cM,"window-caption-inactive-end":F,"window-statusbar-background":cS,"tabview-start":bX,"tabview-end":b,"tabview-inactive":O,"tabview-inactive-start":bY,"tabview-inactive-end":k,"table-header-start":cC,"table-header-end":q,"menu-start":z,"menu-end":m,"menubar-start":cC,"groupitem-start":cc,"groupitem-end":ck,"groupitem-text":C,"virtual-row-layer-background-even":C,"virtual-row-layer-background-odd":C}});})();(function(){var a="websynapse.theme.Color",b="#FF3300";qx.Theme.define(a,{extend:qx.theme.modern.Color,colors:{"shadow-color":[136,136,136],"custid-red":b}});})();(function(){var a="button-checked-focused",b="window-resize-frame",c="checkbox-disabled-border",d="group-background",e="menu-end",f="keyboard-focus",g="button-disabled-start",h="selected-end",i="table-header-hovered",j="border-invalid",k="decoration/toolbar/toolbar-part.gif",l="border-separator",m="window-border-caption",n="radiobutton-hovered",o="button-hovered-end",p="border-input",q="radiobutton",r="repeat-y",s="border-dragover",t="border-inner-input",u="radiobutton-checked-focused",v="groupitem-end",w="group-border",x="input-start",y="button-hovered-start",z="tooltip-error",A="button-hovered",B="selected-start",C="progressive-table-header-border-right",D="button-border-disabled",E="scrollbar-slider-horizontal",F="button-pressed",G="window-statusbar-background",H="tabview-end",I="radiobutton-hovered-invalid",J="checkbox-hovered",K="radiobutton-background",L="window-captionbar-active",M="checkbox-hovered-inner",N="toolbar-button-hovered",O="window-caption-active-end",P="solid",Q="button-start",R="dotted",S="radiobutton-disabled",T="radiobutton-checked",U="checkbox-disabled-end",V="window-caption-active-start",W="window-border",X="button-focused",Y="input",cv="tabview-inactive",cw="qx/decoration/Modern",cx="border-toolbar-separator-left",cr="invalid",cs="button-disabled",ct="horizontal",cu="table-header-start",cC="background-splitpane",cD="button-end",cE="button-checked",cF="border-toolbar-border-inner",cy="px",cz="input-border-disabled",cA="scrollbar-slider-vertical",cB="checkbox-inner",cJ="button",dk="button-disabled-end",dI="toolbar-end",cK="groupitem-start",cG="menu-start",cH="input-focused-start",dD="scrollbar-start",cI="scrollbar-slider-start",cL="radiobutton-checked-disabled",cM="checkbox-focused",cN="border-toolbar-button-outer",cS="background-light",cT="qx.theme.modern.Decoration",cU="checkbox-hovered-invalid",cO="radiobutton-checked-hovered",cP="tabview-page-button-top-inactive",cQ="#243B58",cR="checkbox",cY="checkbox-focus",da="window",dF="checkbox-disabled-inner",db="border-toolbar-separator-right",cV="tabview-inactive-start",cW="scrollbar-end",dE="table-header-end",cX="tabview-background",df="checkbox-end",dg="border-button",dH="tabview-inactive-end",dh="input-end",dc="tabview-page-button-top-active",dd="input-focused-inner-invalid",dG="menu-separator-top",de="shadow",di="window-caption-inactive-start",dj="scrollbar-slider-end",dw="background-pane",dv="pane-end",du="input-focused-end",dA="menubar-start",dz="toolbar-start",dy="radiobutton-focused",dx="pane-start",dp="table-focus-indicator",dn="menu-separator-bottom",dm="#1D2D45",dl="border-main",dt="scrollbar-horizontal",ds="window-caption-inactive-end",dr="checkbox-border",dq="tabview-start",dC="checkbox-hovered-inner-invalid",dB="input-focused";qx.Theme.define(cT,{aliases:{decoration:cw},decorations:{"main":{style:{width:1,color:dl}},"selected":{style:{startColorPosition:0,endColorPosition:100,startColor:B,endColor:h}},"dragover":{style:{bottom:[2,P,s]}},"pane":{style:{width:1,color:cX,radius:3,shadowColor:de,shadowBlurRadius:2,shadowLength:0,gradientStart:[dx,0],gradientEnd:[dv,100]}},"group":{style:{backgroundColor:d,radius:4,color:w,width:1}},"keyboard-focus":{style:{width:1,color:f,style:R}},"radiobutton":{style:{backgroundColor:K,radius:5,width:1,innerWidth:2,color:dr,innerColor:K,shadowLength:0,shadowBlurRadius:0,shadowColor:cY}},"radiobutton-checked":{include:q,style:{backgroundColor:T}},"radiobutton-checked-focused":{include:T,style:{shadowBlurRadius:4}},"radiobutton-checked-hovered":{include:T,style:{innerColor:J}},"radiobutton-focused":{include:q,style:{shadowBlurRadius:4}},"radiobutton-hovered":{include:q,style:{backgroundColor:J,innerColor:J}},"radiobutton-disabled":{include:q,style:{innerColor:S,backgroundColor:S,color:c}},"radiobutton-checked-disabled":{include:S,style:{backgroundColor:cL}},"radiobutton-invalid":{include:q,style:{color:cr}},"radiobutton-checked-invalid":{include:T,style:{color:cr}},"radiobutton-checked-focused-invalid":{include:u,style:{color:cr,shadowColor:cr}},"radiobutton-checked-hovered-invalid":{include:cO,style:{color:cr,innerColor:I}},"radiobutton-focused-invalid":{include:dy,style:{color:cr,shadowColor:cr}},"radiobutton-hovered-invalid":{include:n,style:{color:cr,innerColor:I,backgroundColor:I}},"separator-horizontal":{style:{widthLeft:1,colorLeft:l}},"separator-vertical":{style:{widthTop:1,colorTop:l}},"tooltip-error":{style:{backgroundColor:z,radius:4,shadowColor:de,shadowBlurRadius:2,shadowLength:1}},"popup":{style:{width:1,color:dl,shadowColor:de,shadowBlurRadius:3,shadowLength:1}},"scrollbar-horizontal":{style:{gradientStart:[dD,0],gradientEnd:[cW,100]}},"scrollbar-vertical":{include:dt,style:{orientation:ct}},"scrollbar-slider-horizontal":{style:{gradientStart:[cI,0],gradientEnd:[dj,100],color:dl,width:1,radius:3}},"scrollbar-slider-vertical":{include:E,style:{orientation:ct}},"scrollbar-slider-horizontal-disabled":{include:E,style:{color:D}},"scrollbar-slider-vertical-disabled":{include:cA,style:{color:D}},"button":{style:{radius:3,color:dg,width:1,startColor:Q,endColor:cD,startColorPosition:35,endColorPosition:100}},"button-disabled":{include:cJ,style:{color:D,startColor:g,endColor:dk}},"button-hovered":{include:cJ,style:{startColor:y,endColor:o}},"button-checked":{include:cJ,style:{endColor:Q,startColor:cD}},"button-pressed":{include:cJ,style:{endColor:y,startColor:o}},"button-focused":{style:{radius:3,color:dg,width:1,innerColor:X,innerWidth:2,startColor:Q,endColor:cD,startColorPosition:30,endColorPosition:100}},"button-checked-focused":{include:X,style:{endColor:Q,startColor:cD}},"button-invalid":{include:cJ,style:{color:j}},"button-disabled-invalid":{include:cs,style:{color:j}},"button-hovered-invalid":{include:A,style:{color:j}},"button-checked-invalid":{include:cE,style:{color:j}},"button-pressed-invalid":{include:F,style:{color:j}},"button-focused-invalid":{include:X,style:{color:j}},"button-checked-focused-invalid":{include:a,style:{color:j}},"checkbox":{style:{width:1,color:dr,innerWidth:1,innerColor:cB,backgroundColor:df,shadowLength:0,shadowBlurRadius:0,shadowColor:cY}},"checkbox-hovered":{include:cR,style:{innerColor:M,backgroundColor:J}},"checkbox-focused":{include:cR,style:{shadowBlurRadius:4}},"checkbox-disabled":{include:cR,style:{color:c,innerColor:dF,backgroundColor:U}},"checkbox-invalid":{include:cR,style:{color:cr}},"checkbox-hovered-invalid":{include:J,style:{color:cr,innerColor:dC,backgroundColor:cU}},"checkbox-focused-invalid":{include:cM,style:{color:cr,shadowColor:cr}},"input":{style:{color:p,innerColor:t,innerWidth:1,width:1,backgroundColor:cS,startColor:x,endColor:dh,startColorPosition:0,endColorPosition:12,colorPositionUnit:cy}},"border-invalid":{include:Y,style:{color:j}},"input-focused":{include:Y,style:{startColor:cH,innerColor:du,endColorPosition:4}},"input-focused-invalid":{include:dB,style:{innerColor:dd,color:j}},"input-disabled":{include:Y,style:{color:cz}},"toolbar":{style:{startColorPosition:40,endColorPosition:60,startColor:dz,endColor:dI}},"toolbar-button-hovered":{style:{color:cN,width:1,innerWidth:1,innerColor:cF,radius:2,gradientStart:[Q,30],gradientEnd:[cD,100]}},"toolbar-button-checked":{include:N,style:{gradientStart:[cD,30],gradientEnd:[Q,100]}},"toolbar-separator":{style:{widthLeft:1,widthRight:1,colorLeft:cx,colorRight:db,styleLeft:P,styleRight:P}},"toolbar-part":{style:{backgroundImage:k,backgroundRepeat:r}},"tabview-pane":{style:{width:1,color:W,radius:3,gradientStart:[dq,90],gradientEnd:[H,100]}},"tabview-page-button-top-active":{style:{radius:[3,3,0,0],width:[1,1,0,1],color:cX,backgroundColor:dq,shadowLength:1,shadowColor:de,shadowBlurRadius:2}},"tabview-page-button-top-inactive":{style:{radius:[3,3,0,0],color:cv,colorBottom:cX,width:1,gradientStart:[cV,0],gradientEnd:[dH,100]}},"tabview-page-button-bottom-active":{include:dc,style:{radius:[0,0,3,3],width:[0,1,1,1],backgroundColor:cV,shadowLength:0,shadowBlurRadius:0}},"tabview-page-button-bottom-inactive":{include:cP,style:{radius:[0,0,3,3],width:[0,1,1,1],colorBottom:cv,colorTop:cX}},"tabview-page-button-left-active":{include:dc,style:{radius:[3,0,0,3],width:[1,0,1,1],shadowLength:0,shadowBlurRadius:0}},"tabview-page-button-left-inactive":{include:cP,style:{radius:[3,0,0,3],width:[1,0,1,1],colorBottom:cv,colorRight:cX}},"tabview-page-button-right-active":{include:dc,style:{radius:[0,3,3,0],width:[1,1,1,0],shadowLength:0,shadowBlurRadius:0}},"tabview-page-button-right-inactive":{include:cP,style:{radius:[0,3,3,0],width:[1,1,1,0],colorBottom:cv,colorLeft:cX}},"splitpane":{style:{backgroundColor:dw,width:3,color:cC,style:P}},"window":{style:{radius:[5,5,0,0],shadowBlurRadius:4,shadowLength:2,shadowColor:de}},"window-incl-statusbar":{include:da,style:{radius:[5,5,5,5]}},"window-resize-frame":{style:{radius:[5,5,0,0],width:1,color:dl}},"window-resize-frame-incl-statusbar":{include:b,style:{radius:[5,5,5,5]}},"window-captionbar-active":{style:{width:1,color:W,colorBottom:m,radius:[5,5,0,0],gradientStart:[V,30],gradientEnd:[O,70]}},"window-captionbar-inactive":{include:L,style:{gradientStart:[di,30],gradientEnd:[ds,70]}},"window-statusbar":{style:{backgroundColor:G,width:[0,1,1,1],color:W,radius:[0,0,5,5]}},"window-pane":{style:{backgroundColor:dw,width:1,color:W,widthTop:0}},"table":{style:{width:1,color:dl,style:P}},"table-statusbar":{style:{widthTop:1,colorTop:dl,style:P}},"table-scroller-header":{style:{gradientStart:[cu,10],gradientEnd:[dE,90],widthBottom:1,colorBottom:dl}},"table-header-cell":{style:{widthRight:1,colorRight:l,styleRight:P}},"table-header-cell-hovered":{style:{widthRight:1,colorRight:l,styleRight:P,widthBottom:1,colorBottom:i,styleBottom:P}},"table-scroller-focus-indicator":{style:{width:2,color:dp,style:P}},"progressive-table-header":{style:{width:1,color:dl,style:P}},"progressive-table-header-cell":{style:{gradientStart:[cu,10],gradientEnd:[dE,90],widthRight:1,colorRight:C}},"menu":{style:{gradientStart:[cG,0],gradientEnd:[e,100],shadowColor:de,shadowBlurRadius:2,shadowLength:1,width:1,color:dl}},"menu-separator":{style:{widthTop:1,colorTop:dG,widthBottom:1,colorBottom:dn}},"menubar":{style:{gradientStart:[dA,0],gradientEnd:[e,100],width:1,color:l}},"app-header":{style:{gradientStart:[cQ,0],gradientEnd:[dm,100]}},"progressbar":{style:{width:1,color:p}},"group-item":{style:{startColorPosition:0,endColorPosition:100,startColor:cK,endColor:v}}}});})();(function(){var a="button-checked",b="button-checked-focused",c="black",d="button-hovered",e="#EEEEEE",f="input-disabled",g="websynapse.theme.Decoration",h="border-invalid",i="input-focused-inner-invalid",j="input",k="button",l="button-focused",m="table",n="center",o="shadow-color",p="#CCCCCC",q="#930000",r="input-focused-invalid",s="group-border",t="websynapse/customer-home-image.jpg",u="rounded",v="button-disabled",w="horizontal",x="no-repeat",y="websynapse/customer-login-image.jpg",z="button-pressed",A="white",B="input-focused";qx.Theme.define(g,{extend:qx.theme.modern.Decoration,decorations:{"toolbar-part":{style:{backgroundImage:null,backgroundRepeat:x}},"background-left":{style:{backgroundColor:c,orientation:w,startColor:p,endColor:c,startColorPosition:0,endColorPosition:100}},"background-right":{style:{backgroundColor:c,orientation:w,startColor:c,endColor:p,startColorPosition:0,endColorPosition:100}},"screen-background":{style:{backgroundColor:e}},"home-background":{style:{backgroundImage:t,backgroundRepeat:x,backgroundPositionX:n}},"login-background":{style:{backgroundImage:y,backgroundRepeat:x,backgroundPositionX:n}},"rounded":{decorator:[qx.ui.decoration.MBorderRadius],style:{radius:3}},"rounded-table":{include:m,decorator:[qx.ui.decoration.MBorderRadius],style:{radius:3}},"rounded-input-focused-invalid":{include:r,decorator:[qx.ui.decoration.MBorderRadius],style:{radius:3}},"rounded-input-focused":{include:B,decorator:[qx.ui.decoration.MBorderRadius],style:{radius:3}},"rounded-input-disabled":{include:f,decorator:[qx.ui.decoration.MBorderRadius],style:{radius:3}},"rounded-border-invalid":{include:h,decorator:[qx.ui.decoration.MBorderRadius],style:{radius:3}},"rounded-input":{include:j,decorator:[qx.ui.decoration.MBorderRadius],style:{radius:3}},"shadow-label":{shadowColor:o,shadowHorizontalLength:5,shadowVerticalLength:5,shadowBlurRadius:5},"rounded-shadow-container":{include:u,style:{backgroundColor:A,shadowColor:o,shadowHorizontalLength:5,shadowVerticalLength:5,shadowBlurRadius:5}},"groupbox-clear-background":{style:{radius:4,color:s,width:1}},"border-invalid":{include:j,style:{color:q,innerWidth:2,width:3}},"input-focused-invalid":{include:B,style:{innerColor:i,color:h,innerWidth:0,width:3}},"button-invalid":{include:k,style:{color:h,width:3}},"button-disabled-invalid":{include:v,style:{color:h,width:3}},"button-hovered-invalid":{include:d,style:{color:h,width:3}},"button-checked-invalid":{include:a,style:{color:h,width:3}},"button-pressed-invalid":{include:z,style:{color:h,width:3}},"button-focused-invalid":{include:l,style:{color:h,width:3}},"button-checked-focused-invalid":{include:b,style:{color:h,width:3}}}});})();(function(){var a="websynapse.theme.Theme";qx.Theme.define(a,{meta:{color:websynapse.theme.Color,decoration:websynapse.theme.Decoration,font:websynapse.theme.Font,icon:qx.theme.icon.Tango,appearance:websynapse.theme.Appearance}});})(); qx.$$loader.init();