if(!window.qx)qx={}; if(!qx.Settings)qx.Settings={}; if(!qx.Settings._customSettings)qx.Settings._customSettings={}; if(!qx.Settings._customSettings["qx.manager.object.AliasManager"])qx.Settings._customSettings["qx.manager.object.AliasManager"]={}; qx.Settings._customSettings["qx.manager.object.AliasManager"]["resourceUri"]="./resource/qx"; if(!qx.Settings._customSettings["custom.Application"])qx.Settings._customSettings["custom.Application"]={}; qx.Settings._customSettings["custom.Application"]["resourceUri"]="./resource/custom"; qx.IS_SOURCE=false; qx.VERSION="0.6.6 "; $=["string","","number","boolean","object","auto","mousedown","mouseup","appearance","solid","left","execute","right","keydown","mousemove","0","top","keypress","click",",","pressed","=","completed","function","bottom","hidden","horizontal","vertical","px","timeout","selected","enableDebug","none","mouseover","Enter","failed","middle","qx.io.remote.Exchange","change","abandoned","undefined","dblclick","100%","aborted","1*","mouseout","width","height"," ","over",".","&","interval","default","threedshadow","div","sending","M","Left","Right","-","A","static/image/blank.gif","J","inset","white","S","receiving","mousewheel","frame","appear","threedhighlight","icon","/","outset","scroll","Down",";","(\\d\\d?)","\n","center",'qx.ui.core.Widget',"input",":","'","value","on","Up","Escape","PageUp","keyup","set","location","qx.renderer.color.Color","get",": ","name","label","checked",")","absolute","error","load","Space","minWidth","PageDown","fontSize","groove",'',"position","_","translucent","ridge","minHeight","threedface","maximized","configured","scrollY","maxWidth",'"Segoe UI", Corbel, Calibri, Tahoma, "Lucida Sans Unicode", sans-serif',"Alt","D","button","blur","hsbSpinner","filter","body","window","display","black","rgbSpinner","locationX","F","maxHeight","pixelPercent","qx.ui.popup.Popup","short","HH:mm:ss","#","normal","g","threedlightshadow","locationY","focus","*","lineHeight","Control","Home","NumLock","yes","hexField","no","disabled","qx.manager.object.ToolTipManager","visibility","Meta","contextmenu","fontFamily","scrollX","html","0px","opaque","style","End","changeSelection","window-captionbar-button","title","whiteSpace","text-field","(","cursor","fontStyle","paddingLeft","list-view-content-cell-text","paddingTop","fontWeight","|","9","created","O","focused","textDecoration","paddingBottom","Tab","unselectable","imageUri","./resource/images/filter/plus.png","disappear","resourceUri","?","qx.ui.core.Widget","qx.manager.object.AliasManager","paddingRight","',sizingMethod='scale')","Shift","HH:mm","","progid:DXImageTransform.Microsoft.AlphaImageLoader(src='","text","gray","useTreeLines","dragover","visibilityChanged","changeValue","dragging","wide","hueSaturationField","abbreviated","id","N","clip","0px none","widthChanged","windowresize","param","qx.renderer.font.Font","type","mshtml","atom","fixed","overflow","]","qx.ui.menu.Menu","qx.manager.object.MenuManager","tree-folder","iframe","layout","","","s","Pause","nowrap","Insert","apply","ms","font","list","parent","“",'px',"qx.manager.object.PopupManager","%","wrap","className","dragstart","T","widthComputed","threeddarkshadow","heightComputed","changeLocale","textAlign","qx.manager.selection.RadioManager","MM/yy","","Win","narrow","lazyopaque","menu-button","#91A5BD",'execute',"1","#FAFBFE","keyinput","data","active","orderChanged","menu","icon/16/actions/dialog-ok.png","shorthand","url","QQQQ yy","Delete","long","+","zIndex","queued","state","isChecked","MozOutline","a","reset",'auto',"removeAll","Content-Type","1px dotted invert","dimension","overflowY","highlight",")!","medium","galleryCell","F3","Unidentified","tabIndex","hour",'icon',"”","outline","manager","iconSelected","left-reversed","line","wildcard","remove",'"',"tree-element-label","middle-reversed","tree-folder-icon","ThreeDLightShadow","‘","image"," ","cross","}","pixelPercentAuto","May","bold","red","gecko","literal","top-reversed","textarea","toolbar",'H',"minimized","{","loadComplete","complete","center-reversed","useDoubleClick","select","Details: Width=","changeWidth","password","end","status","_value","overflowX","brightnessField","Hex",'idAndDescription',"horizontalAlignment","e","qx.event.handler.DragAndDropHandler","beforeToolTipAppear","PrintScreen",", Style=","Backspace","tree-folder-label","qx.renderer.border.Border","=''","qx.ui.popup.ToolTip","[","resizeable","removeAt","verticalAlignment","datechooser-toolbar-button","full","tree-element","elite.ui.desktop.taskbar.TaskBar","blank.gif","wordSpacing","August","treeClose","treeOpenWhileEmpty","only_plus","./resource/images/filter/zoom.png","colorTheme","multiSelection","col-resize","hand","modal","n","100px","F2","ellipsis","focusin","columnVisibilityMenuCreateEnd",'qxtype',"greenModifier",'color',"green",';width:',"borderBottomProperty","icon/16/places/folder.png","target","minus","blueModifier","OK","down","visibilityChangedPre","row-resize","8","6","hh:mm a","only_minus","opener","Sep","dragenter","opacity","strikeout","qx.ui.embed.Flash","nextState","dd/MM/yy","No valid responseType specified (","useBasicHttpAuth","Windows",'',"balloon","sun","marginLeft","clipWidth","qx.manager.object.IframeManager","qx.client.NativeWindow","blue","widget/arrows/down.gif","layoutOrder","highlighttext","source","mai","autoActionsBeforeOnentry","Nov","qx.ui.table.SelectionModel","enableDisposerDebug","Connection dropped","","content","sáb",' in(',"javascript:void(0)","Ende","borderY","ul","dragout","_compute","F1","datechooser-weekday","resize","qx.lang.Prototypes","addAtEnd","Cancel","","100","juin"," - ","progress","pre","beforeunload","contextMenu","slice","mode","cldr_day_","columnVisibilityMenuCreateStart","listPosition","Wednesday","addAfter","M/d/yy","changeColor","Oct","childNodes","Friday","Rollen","Fin","dotted","asynchronous",'M',"scrollbars","anchor","openCloseClickSelectsRow","onexit","editable","qx.component.init.InterfaceInitComponent","tree-icon","qx.ui.basic.Inline","F12","dragleave","webkit","selectionModel",'',"script","Type","showStatusbar","list-view-content-cell","changePaddingLeft","ago","menubar","userSelect","nodeType","beforeAppear","Thu","marginX","Intro","force","balloons","#F9B119","up","qx.ui.basic.Image","padding","nocache","qx.ui.table.TableModel","F11","ThreeDShadow","","MMMM d, yyyy","qx.ui.table.TablePaneModel","V","M/d","widget/menu/radiobutton.gif","pixelPercentAutoFlex","application/x-www-form-urlencoded","popup","Cache-Control","74%","both","windowtext","descri_ser",'g',"MMM d, yyyy","margin","request","h","fieldName","Retroceso","h:mm:ss a z","December","opera","dashed",' - Flash Player Installation',"document","F8","MMMM yyyy","sec","Parsed",'#96969D',"selectedColor","text/css","Sunday","changeBorder","file:","day","qx.renderer.theme.IconTheme","F9","quoted_literal","Espacio","tableWidthChanged",'Z',".gif",";text-align:right","String","dialogok","bubbles","autoActionsBeforeOntransition","verticalScrollBarChanged","dragexit","end_plus","abcdefghijklmnopqrstuvwxyzçáàâãéêíóôõúü ",'#5E5E64',"unload","innerWidth","tree","khtml","MMM 'de' y","March"," messages removed)","textOverflow","check-box-field-set-legend","qx.ui.table.DataRowRenderer","
","addBefore","frame_","verticalSpacing",'.',"draggesture","qx.renderer.theme.WidgetTheme"," ","dependent",'a',"first","------------------------------------------------------------\n","Margin","wed","thumbMaxWidth","h:mm:ss a v","boxModelCorrection","","ThreeDDarkShadow","event","toolTip","move"," rows","qx.ui.layout.CanvasLayout","Padding","
","addAtBegin","arial","lastChild","Wed","dom","orientation","...",';height:',"Bild hoch","dragend","enableQueueDebug","cross_plus","qx.client.Command","\" />","June","heightParsed","innerHeight","responseType","Dec","concat","helperFile","codsercli","enable","qx.theme.icon.Nuvola","Ctrl","wordBreak",'(',"RGB","selectedBackgroundColor","no-cache","px\" src=\"","January","domingo","qx.ui.window.Window","cross_minus","changeHeight","changePaddingTop","hideInterval","nov","head","isEditable","firstChild",'" style="filter:'," row","ss","thu","high","tree-folder-container","indexOf","horizontalSpacing","tree-element-icon","thumbMaxHeight","qx.event.handler.FocusHandler","events","datechooser-week","qx.io.remote.Request","implementation","dd/MM/yyyy","pagingInterval",'@import "',"outerHeight","Method ","codcob","today","Monday",";font-style:italic",'qx.ui.form.ComboBoxEx',"qx.theme.appearance.Classic","#6285BA","submit","h:mm:ss a","MMMM d","1px","external","tue","hideNode","parameters","nodeName","","<","Sat","tree-label","Tuesday","qx.io.Json","spacing","paddingY","Saturday","fname","excludeSpecificTreeLines","crossDomain","sábado","#FFFFC1","qx.component.init.BasicInitComponent","beforeInitialOpen","horizontalAlign","qx.ui.form.ListItem","agosto","[native code]","focusCellOnMouseMove","ontransition","MMM yyyy","tagName","qx_log","htmlcontainer","borderX","Mar","qx.theme.color.WindowsRoyale","tipo_cob","#f0f0f0","userFocus","paddingX","jun","disabledIcon","taskBar","lastIndexOf",'changeSelection'," (","./resource/icons/pencil.png","iconWidth","W","dragmove","qx.theme.widget.Windows"," [","resource/icons/accept.png","Pos1","\r\n",'$2',"field-set-legend","arrowPosition","editingBorder","minLevel","qx.xml.Entity","clientX",";font-size:","preferredBoxHeight","Selected","Could not load from file: ","qx.ui.form.RadioButton","EEEE d' de 'MMMM' de 'yyyy","Choisissez une date","labelHex","datechooser-monthyear","Linux","max","borderBottomStyle","Vorschau (alt/neu)","Use proxy","qx.ui.menu.CheckBox","enableDetection","]: ","moveMethod","qx.ui.tree.TreeFolder","extendedmultiline","modifiers",'fadeInterval',"history","labelShortcutGap","GMT","showLocation","qx.component.AbstractApplication","showMinimize","nextSibling","descri_modc","west","hasPercentX","allowStretchY","Timeout: transport ","?instanceId=","HH'h'mm","galleryNumber","Not implemented","localeCompare","attributes","d MMM yy","HH'h'mm'min'ss's' z","CrystalClear","Not modified","selectionLength","qx.locale.translation.de_DE","postfix","qx.ui.embed.GalleryList","qx.manager.object.ColorManager.getInstance().setColorThemeById('","allowMinimize","showToolbar","Timeout: forcing state to timeout","', ((v==null)?0:v)+'px')",' ","bar-view","qx.ui.listview.ContentCellLink","qx.event.handler.EventHandler","qx.ui.component.DateChooser","Win32","firstColumnX","edge","1.0","qx.ui.menu.Separator",'border',"\"/>","MSXML2.DOMDocument.6.0","Mittwoch","key_full_Meta","TypePixel","elite.ui.form.ComboBox","","contextButton","startBtnText","Height","fullScreen","key_short_Insert",'no setter defined on widget instance','y',"qx.log.ForwardAppender","chooserTitle","textIndent","AppleWebKit","Abbruch","onpropertychange","(\\d\\d(\\d\\d)?)","qx.renderer.layout.HorizontalBoxLayoutImpl","confirmEvent","step","galleryTitle","form","EEEE d MMMM yyyy","bar-view-button","enero","textContent","\n","dia","frames","toolbar=no,scrollbars=yes,resizable=yes,","
","Number","/history/historyHelper.html","cursor:","",'">',"mac","PRE","timerDecrease","d 'de' MMMM","Operating System Default","_check","maxTotalRequests","o",'A'," fsm.debug(e);","sex","qx.ui.layout.BoxLayout","junho","Galeon","sortOrder","(.*)\n([^#\*\n].*)","qx.renderer.font.FontObject","line.gif","nachm.","field-set","-860px","tipo_contato","widget/splitpane/knob-horizontal.png","widget/arrows/up.gif","cldr_quotationEnd","parentPaddingBottom","qx.lang.Generics","key_short_End",'D',"#EEE","widget/window/maximize.gif","push","qx.log.DefaultFilter","hh","qx.util.Normalization","key_full_Win","dd.MM","Log window message: Stopping error recording, discarding ","try",'">',"cellPaddingRight","qx.manager.object.ColorManager","key_full_Up","noviembre","elite.util.Util","treevirtual-focus-indicator","yy","Mrz","key_full_PrintScreen","Search next occurrence","Rücktaste","qx.type.Version","LLL","borderTopWidth","log-body","qx.Locale","accept","key_short_Delete","Request-URL too large","objects","widths","Not acceptable","qx.locale.data.de_DE","toolbar-part-handle-line","clipboardData","$","qx.ui.table.TablePaneScroller","EEEE, d 'de' MMMM 'de' y","Año siguiente","@",") ***\n","viernes","newTableColumnModel","SSS","qx.html.Scroll","widget/colorselector/brightness-handle.gif","activecaption","Dezember","Abajo","Start 3x","qx.manager.object.ImageManager","widget/datechooser/lastYear.png","Strg","leadItem","scrollTop","qx.ui.pageview.AbstractBar","Umschalt"," !important","\\^","isAsynchronous","qx.ui.table.DefaultDataCellRenderer","key_full_Control","qx.dev.Pollution","errorClassName","menuButtonNeededWidth","qx.ui.treefullcontrol.AbstractTreeElement","galleryComment","links","qx.log.Filter",'
","","shownMonth","key_full_Alt","qx.manager.selection.TreeSelectionManager","PgDn",")","Disposing Application","fontVariant","coddep","Application error ",'Median Factor","; } .output td{padding:4px}","omniweb","borderLeftStyle","qx.util.fsm.State","computeChildrenFlexHeight","\n<","qx.theme.color.WindowsLunaBlue","seg","Flecha izquierda","window-captionbar-restore-button","Method Loops: ","Kontext",":00","qx.renderer.layout.MenuButtonLayoutImpl","canDeselect","tableColumnModel","alt","bottomColor","qx.ui.form.InputCheckSymbol","currentToolTip","width:",'MMplayerType',"self",'left:',"progid:DXImageTransform.Microsoft.AlphaImageLoader("," errors have been recorded, keeping log window open.","(passed time: ","qx.locale.translation.en","MacIntel","last","_resetRuntime","qx.ui.treefullcontrol.TreeRowStructure","scrollWidth","qooxdoo","splitpane-knob","Moved temporarily","only_minus.gif","qx.ui.table.Table","qx.locale.data.pt","\n
","mnemonic","leftHidden","hoverItem",'
","jan","qx.ui.groupbox.CheckGroupBox"," at ","qx.io.remote.Rpc","0123456789","saturation","h3",'.output{border: 1px solid black; width:100%; margin-bottom: 20px } .output thead{ font-weight: bold; } .output td, .output th{ text-align:left; width: ","Detalles","cldr_quotationStart","FORM",'dimension',"cross_minus.gif","maxShortcutWidth"," Objects)\n\n"," error ","editingOpacity","Sensible a mayúscula","key_short_Scroll","#,##0 %","parentMenu","qx.net.Http","Voltar","Windows Classic","widget/datechooser/nextYear.png","single","qx.locale.LocalizedString","combo-box-popup","/script/","qx.ui.menubar.Button","shownYear","elite.ui.form.TextAreaEx","Last month","window-resize-frame","resource/icons/application_back.png","#333","maximumFractionDigits","computeChildrenFlexWidth","splitpane-slider","00","Q yy","Automático","borderTopStyle","selectedBorder","stylesheet","strong","Wrong box sizing: Please modify the document's DOCTYPE!","H:mm:ss","ital","screenLeft",'position:absolute;left:',"sourceNodeId","window-statusbar","parentElement","xmlns:ns='",'enctype','combo-box-ex-text-field',"key_full_Right","sup","clientWidth","client-document","borderRightStyle",'stretch',"labelRGB","Flecha derecha","qx.ui.listview.ContentCellImage","unshift","Want to render an invisible child: ","Mois suivant","key_short_Space","
    ",'px;width:',"qx.event.type.Event","Ranges:","frameWidth",'fadeSteps',"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=","alwaysShowOpenCloseSymbol","/.qxrpc","Firefox","-moz-box-sizing","elite.ui.form.CheckBoxList","__firebug__","combo-box-ex","Gray() Alpha(Opacity=30)",'"/>',"descri_tco_cl","south","openInterval","key_short_CapsLock","Umschalttaste","topColor"," (#","Samstag","Einfügen","Mayúscula","list-view-header-separator","offsetTop","radio",'"\\b(.+?)\\(\\b(.+?)\\b\\)":([^\\s]+)',"static","restrictToPageOnOpen","labelDetails","minimumFractionDigits","noborder","\t
    ","defaultView","list-view-content-cell-image","toolbar-button",'allowSearch',"stretchY","qx.manager.object.ObjectManager","off","qx.html.ElementFromPoint"," -> omitting!","key_full_Scroll","qx.manager.selection.SelectionManager","

    ","unmaskedValue","=((v==null)?0:v)+'px'","qx.io.remote.RequestQueue","Insertar","direction","secondSize","custom.translation.es_ES","behavior","qx.ui.embed.NodeEmbed","Do","isIdColumnVisible",'0',"Bloqueo Numérico","window-captionbar","qx.log.RingBufferAppender","tool-tip","Flecha arriba","[object ","propertychange","Server timeout","Pré-réglages","MMM-yy","Détails","Mozilla","qx.renderer.font.FontCache","Log window message: Note: ","Ouvrir le sélecteur de couleurs","/widget/windows","resource/images/message/tips.png","javascript:/","Server error","-moz-scrollbars-none","qx.ui.table.RemoteTableModel","qx.log.DivAppender",'w',"visualizeFocusedState","prohibitCaching","widget/table/selectColumnOrder.png","qx.io.local.CookieTransport","Windowstaste","qx.locale.translation.es_ES","sub","verticalScrollBarVisible","descri_tcon","qooxdoo default appearance","Dez","cldr_number_percent_format","Del","d 'de' MMMM 'de' y","selectable","alwaysUpdateCells",",left=","clientHeight","

    Results Summary

    ","ValueExact","_cached","qx.net.Protocol","qx.html.Textile","Windows Royale","qx.core.Version","screenX","resizeableWest","toLocaleUpperCase","(measure start) ","\\*","Ignoring invisible child: ","Mois précédant","defaultCursorDeltaY","maxLength","qx.ui.listview.ContentCellText","Case sensitive","
","qx.ui.component.ColorSelector","_blank","dimanche","Imprimir Pantalla","Pixel","qx.ui.toolbar.RadioButton","codusu","qx.locale.data.C","other","firefox","Windows Luna Silver",'align',"juil.","barPosition","unrecognised node","&#","north"," for (var i = 0; i < groupObjects.length; i++)","orange","jueves","spinner-button-down"," WARN: ","In Safari/Webkit you can only remove rules that are created using qx.html.StyleSheet.addRule","elite.util.Lister","newTablePaneScroller","EEE, d","déc.","","sessionStorage","e-resize","Freitag","requestHeaders",'qx.ui.menu.RadioButton',"windowManager","EEE, d 'de' MMM 'de' yy","qx.ui.table.SelectionManager","lime","codcan","key_short_NumLock","qx.locale.Manager",", ","","qx.ui.layout.GridLayout","key_short_Left","tab-view-button","elite.ui.io.UploadForm","',"Packages","avril","codcon","domTarget","elite.ui.desktop.DesktopScreen","cldr_number_group_separator","information","U","log","ID","borderBottomWidth",']._autoCloseWindow()}catch(e){}">',"Entfernen","contentNonIconPadding","C","Bad gateway","validator","accumulatedChildrenOuterHeight","Sa","relatedTarget","qx.ui.pageview.AbstractPane","editingBackgroundColor","qx.dom.Element","qx.ui.embed.IconHtmlEmbed","OFF","split","qx.util.format.Format","Buscar siguiente","align","Log window message: Starting error recording, any errors below this line will prevent the log window from closing","qx.locale.Key","qx.util.format.NumberFormat","","cookie","maximumIntegerDigits","list-view","1px solid black","Repeat Number: ","
Round ","HH' h 'mm z","qx.ui.menubar.MenuBar","resource/images/message/warning.png","iconUrl","readOnly",'horizontal',"qx_NativeWindow","Timeout...","list-view-pane","Izquierda","novembro","loaded","controllers","netscape","focusRoot","novembre","fireChange","showIcon","qx.ui.listview.ContentCellHtml","So","descending","only_plus.gif","Tabulador","EEE, d 'de' MMM","Groß-/Kleinschreibung","qx.type.Range","setembro","qx.renderer.border.BorderCache","cldr_am","Winner
","widget/window/minimize.gif","log-debug","dd-MMM-yy","qx.ui.embed.TextEmbed","qx.log.Logger","key_full_PageDown","qx.ui.table.TablePane","qx.ui.toolbar.CheckBox","wmode","

Measured Values

","aqua"," [not readable: ","key_full_Escape","frameHeight","Finalizar","ae","allowMaximize","jeu.","tab-view","0x","qx.manager.object.ImagePreloaderManager","Anchor","elite.ui.desktop.Note",'',"#999"," ms) "," {","lightblue","forms","amountGrowth","codmodc","h([1-6])\.(.+)","$1","join","InfoBackground","d 'de' MMM 'de' yy","#FFFFE1",'d',"stretchX","borderWidthX","qx.html.StyleSheet","captiontext","win","currentStyle",'">',"debugClassName","qx.locale.translation.fr_FR","qx.ui.treevirtual.SimpleTreeDataRowRenderer",'multipart/form-data',"elite.ui.form.RadioButton","qx.locale.data.en_US","k","mergeEvents","qx.io.image.Preloader","qx.ui.listview.HeaderCell","toggle","Não","juillet","right-reversed","toolbar-part-handle","key_full_Delete","qx.util.Compare","qx.ui.groupbox.GroupBox","qx.ui.basic.Atom","wheelIncrementAmount","autoHide","window-captionbar-icon","elite.ui.form.MaskedField",'function',"ter","","menu-radio-button","log-head","widget/arrows/next.gif","qx.theme.color.WindowsClassic","TypeNull","décembre","key_full_Enter","qx.ui.listview.ContentCell","qx.core.Init","galleryText","p","qx.ui.treefullcontrol.TreeFolder","Ae","_tmp_","end_minus.gif","locale","Conflict","args","elite.ui.desktop.ToolTipBalloon","centered","qua","map","java","spinner-field","GET","qx.xml.String","qx.renderer.layout.FlowLayoutImpl","\\+","placeBarOnTop","janv.","defaultCursorDeltaX","avr.","widget/window/close.gif","doConvert","qx.ui.table.AbstractDataCellRenderer"," Element:","key_short_Home","header","uri","qx.manager.object.ImageManager.getInstance().setIconThemeById('",'eventListener requires a string type attribute',"Leertaste","resource/images/message/help.png","p.m.","purple","0 none","MMM 'de' yy","headerCellHeight","splice","clientInformation","descri_can","quality","^","qx.event.type.KeyEvent",'clipLocation',"key_short_Up","qx.ui.treevirtual.TreeVirtual","qx.renderer.layout.CanvasLayoutImpl","jue","Next year","MEAN","Aborting...","qx.ui.treevirtual.DefaultDataCellRenderer"," }","février","90%","console","--- Object: ","may","alias","quinta-feira","qx.component.DummyApplication","Unknown status code"," selected","elite.ui.desktop.Desktop","qx.ui.table.ResizeTableColumnModel","scrollMaxX","codvenc","key_","sam.","create","Not available",")+;)|[^&","application","qx.lang.Object","#e2e2e2","key_short_PageDown","serviceName","XPath","leftWidth","labelOK","resource/icons/resultset_previous.png","key_full_Tab","leftLegend","qx.ui.table.TextFieldCellEditorFactory","Buscar elementos en la lista","11px","maximum","Flush: Widget:","'Segoe UI', Corbel, Calibri, Tahoma, 'Lucida Sans Unicode', sans-serif","resource/icons/application_go.png","leftColor","spinner-button-up","No content","borderWidthY"," src='","qui","z","qx.ui.tree.TreeFile"," State:","qx.ui.form.Spinner","_recompute","multiline","Status","cellPaddingLeft","capture","maxContentWidth","labelPresets","lun","Supr","currentTarget","terça-feira","ven.","!\\b(.+?)\\b!","Local error ","dd.MM.yyyy",'
',"codven","Einfg","maxColumnCount","grayText","openMenu","resizeableEast","qx.ui.listview.ContentCellIconHtml","qx","form_","qx.dom.String",'icon/16/actions/dialog-ok.png',"ue","(","recent","hasAutoY","Server error ","/icon/VistaInspirate","Vista previa (viejo/nuevo)","rootOpenClose","maroon","unix","scale","Feststelltaste","custom.translation.pt_BR",'- ',"anchorItem",'MMredirectURL',"f","autoDispose","borderLeftWidth","body {}","qx.ui.table.TablePaneHeader","qx.ui.form.PasswordField","search","key_short_Down"," of ","Avan\u00e7ar"," errors.","Done in: ","febrero","codtords","EEE, dd/MM","maxCachedBlockCount","Components","cbusq","nome_dep","cite","qx.locale.translation.fr","height:","Année précédente",'Basic ',"Dienstag","qx.ui.toolbar.ToolBar","Bild runter","highlightFocusRow",'array',"maxSavedStates",'icon/16/apps/accessories-date.png',"focusedChild","qx.log.AlertAppender","window-captionbar-maximize-button","key_short_Tab","qx.io.remote.AbstractRemoteTransport","MSIE","Forbidden","qx.html.Entity","splitterSize","anonymous","Liste durchsuchen","substring","elite.ui.hiddenPane.LeftPane","all","widthValue","toolbar-part",'Referer',"defaultStatus","Derecha","widget/datechooser/nextMonth.png","qx.ui.basic.Label","\" style=\"vertical-align:middle;","yellow","newTablePaneHeader","html,body{margin:0;border:0;padding:0;}","qx.io.local.CookieApi",':',"bgcolor","keepFirstVisibleRowComplete","Proxy authentication required","lbusq","The use of keyCode in command is deprecated. Use keyIdentifier instead.","beforeInsertDom",';">',"noteText","startBtnMenu","qx.io.image.PreloaderSystem","resizeToInner","qx.locale.Date","qx.html.EventRegistration",".6","space","qx.html.Window",'Missing reference element',"icon/16/actions/view-refresh.png",")+>)|(&([^;]|","caption","InfoText","hue","Fr","Ue","=v","preloader","-1",'fadeTime',"Object is null","Annuller","","elite.ui.tree.TreeFile","highlightText","some","cellPaddingBottom","ownerDocument","=[not readable: ","nodrop","previousSibling","statusbar","i","qx.ui.basic.Terminator","activeWindow","elite.ui.desktop.Window","Juli","pageXOffset","Bloq. Despl.","qx.ui.pageview.AbstractPage","documentElement","qx.log.Appender","qx.util.GuiBuilder","qx.ui.pageview.tabview.Pane","defaultTimeout","stretch","widget/splitpane/knob-vertical.png",'line-height',"Choose a date","shortcut","qx.client.builder.EventListener","key_full_Insert","qx.locale.translation.C","d' de 'MMMM' de 'yyyy","splitpane-splitter","version","showCloseButton","catch(e)","hasAutoX","qx.ui.core.ScrollBar","qx.ui.table.DefaultHeaderCellRenderer"," Layout:","qx.ui.tree.AbstractTreeElement","crypto","elite.ui.io.UploadButton","preferredBoxWidth","MSXML2.XMLHTTP.3.0","progid:DXImageTransform.Microsoft.Shadow(color='Gray', Direction=135, Strength=4)","activeChild","qx.ui.embed.HtmlEmbed","hasFlexY","SS","isLiveResize","bottom-reversed","buttonResponse",":border-box;} img{","qx.event.type.FocusEvent","groupIconMessage","topStyle","Seleccione una fecha","toolbar-separator-line","qx.event.type.DomEvent","charCodeAt","Abrir selector de color","field-set-frame","<pre>Could not execute json: \n","H'h'mm'min'ss's'","qx.theme.color.WindowsLunaSilver","offsetHeight","#c5c8ca","desktopScreen","ascending","table-focus-statusbar","element","iconsSize","<th>Median</th>","MMplayerType","qx.ui.embed.LinkEmbed","qx.core.Target","showKnob","Automatic","icon/16/actions/document-open.png","qx.ui.basic.VerticalSpacer","startBtnPaneWidth","Entf","<del>$1</del>","beforeRemoveDom","widget/table/boolean-false.png","minTimer","clearCacheOnRemove","groupButtons","Aperçu (Nouveau/Ancien)","boundedWidget","Request entity too large","</td></tr>",";font-family:",'k',"inactivecaption","enableElementFocus","Gecko",'//ns:',"qx.log.LogEventProcessor",'margin',"alpha(opacity=0)","play","boxWidth","other gecko","qx.ui.treevirtual.SelectionManager","qx.renderer.border.BorderObject","lineBreak","spinner","start_plus.gif","octobre","parent,element,visible",'E',"Image","Feststell","qx.locale.data.es_ES","qx.ui.pageview.AbstractButton","Steuerung","qx.ui.listview.HeaderSeparator","MSXML2.DOMDocument.3.0",";background-color:","HHmmsszz","showHiddenExecute","qx.renderer.color.ColorCache","widget/table/ascending.png","key_short_Alt",".7","Leer","log-error","oct",'K',"resizer-frame","rowHeight","septiembre","designMode"," Display:","Automatisch","maxLabelWidth","metaColumnCounts","multiColumnSupport","qx.lang.Array","ene","MSXML2.DOMDocument","close","allowClose","widget/cursors/","hash","toLocaleLowerCase","Rück","KDE",'px; height:','</tbody></table>',"dim.","v","showTitle","BOTH","elite.ui.wizard.WizardPage","MSXML.DOMDocument","AvPág","Nächster Monat","success","parentNode","ImprPant","popUnder","qx.locale.data.pt_BR","bYES","d ","_modify","qx.ui.pageview.tabview.Page","","every","horizontalScrollBarVisible","\\\\","addChild",'(-)?([0-9',"qx.event.type.MouseEvent","

","mm","qx.ui.table.HeaderCellRenderer","login","qx.util.Mime","text/xml","disableUncheck","EEE, d 'de' MMMM","qx.event.type.DataEvent","offscreenBuffering","março","HH'H'mm''ss\" z","_change","box-sizing","list-view-content-cell-icon-html","elite.ui.io.UploadField","descri_ords",'',":content-box;}","onblur","\\b(.+?)\\b","galleryImageContainer","julho","hasFlexX","codser","qx.renderer.color.ColorObject","qx.client.builder.Script","scopeName","Caps","showMenubar","cookieName","maxIconWidth","dropDataTypes","showCaption","allowClientSelectAll","menu-layout","Année suivante","elite.ui.form.FormField","tablePaneModel","shift",'qx.ui.form.RadioButton','resizer',"unkown","px, auto, 860px)","forEach","Donnerstag","maxArrowWidth","org.w3c.dom.svg","blocker","qx.ui.pageview.buttonview.Pane","Voreinstellungen","qx.renderer.border.BorderPresets","HH:mm:ss zz","BloqNum","ordered",'$1',"qx.util.StringBuilder","toolbar-separator","qx.event.handler.KeyEventHandler","dezembro","key_full_Shift","outerText","qx.client.History","Request time-out","selectedOpacity","qx.locale.data.fr_FR","key_full_NumLock","bNO",'clip',"A shortcut containing Alt and a letter or number will not work under OS X!","menu-separator","key_full_End","link","closed","screenTop",';',"dd-MMM","  ","_data_","resource/icons/cancel.png","excactfit","qx.html.Location","qx.ui.toolbar.Part","list-view-content-cell-html","allowStretchX","valor","qx.locale.translation.pt_BR","Mes siguiente","widget/colorselector/huesaturation-field.jpg","Hoch","\n","clipLocation","list-view-header-cell","rect(auto, ","elite.ui.desktop.taskbar.Button","navigator","EndToStart","junio",'backgroundColor',"widget/colorselector/brightness-field.jpg","Multiple choices","domConfig","Win64","qx.locale.data.en","screenY","isMultiLine","dd.MM.yy","[object Error]",'event',"y","menu-separator-line","qx.xml.Document",'fadeMax',"globalStorage","qx.ui.menu.Button","qx.html.Iframe","#90AFCC","PgUp","Payment required","isAnonymous","start_plus","qx.ui.form.ComboBox","moveable",",top=","outubro","loop"," xmlns='","groups","custom.translation.es","qx.ui.splitpane.HorizontalSplitPane","sep","resizeableSouth","');","cross.gif","datechooser-datepane","qx.dev.TimeTracker","rightWidth","' value='","cellPaddingTop","charAt","bar-view-bar","innerText","setDefault","rpc.converter","nextEnabled","$1
$2","elite.ui.tree.TreeFolder","mer.","qx.ui.table.AbstractTableModel","Omni","\\?\\?",'px">',"utf-8","contentEditable","Erro","arrowOffset","MozUserFocus","cldr_alternateQuotationEnd","TypeAuto","inactivecaptiontext","qx.util.Debug","qx.xml.Namespace","idDescriptionSeparator","qx.ui.treevirtual.SimpleTreeDataCellRenderer",'fadeUnit',"Flex","removeDom","qx.theme.icon.NuoveXT","key_full_Pause","Rechts ","Retroceder Página","buttonsHeight","cldr_date_format_","newResizeBehaviorColumnData","onfocus","qx.util.fsm.FiniteStateMachine","#,##0 %","statusBarVisible","bodyClassName","key_full_PageUp","Microsoft.XMLHTTP","false","d MMMM",'\\d+)?',"/icon/Nuvola","backEnabled","qx.OO","previousState","elite.ui.hiddenPane.HiddenPane",'padding',"","elite.util.Menu","qx.ui.listview.Header","févr.","samedi","olive",'\u00A0',"pos","qx.ui.table.ResizeBehaviorColumnData","this.setStyleProperty('padding","","preferredInnerWidth","sept.","contentNonArrowPadding","Bild runter ","Bad request",'
',"qx.component.AbstractComponent","qx.ui.listview.ListViewPane"," INFO: ","a.m.","Links","labelPosition","qx.theme.color.WindowsLunaGreen","Farbauswahl","HHmm","vendredi","fev","pesquisa.listFields","key_short_PrintScreen","images","teal",'combo-box-ex-popup',"firstVisibleRow",'combo-box-ex-list',"Summary: (","widget/datechooser/lastMonth.png","MSHTML-specific HTTP status code","offsetLeft","toUpperCase","d/MM/yy","qx.ui.treefullcontrol.TreeFile","Timeout: implementation ",'manager',"qx_ui_embed_GalleryList","Local time-out expired"," var objName = groupObjects[i];","elite.ui.form.ComboBoxEx","rightColor","qx.ui.menu.Layout","globalCursor","qx.log.WindowAppender","newSelectionModel","leftStyle","Weiter suchen","newSelectionManager","size","X-Requested-With","10%","showMaximize","Último año","insertDom","captureWidget","Received id (","oe","combo-box","key_short_Enter","stretchChildrenOrthogonalAxis","b","qx.ui.pageview.buttonview.Page","_ScriptTransport_","quote","window-captionbar-minimize-button","qx.ui.table.DefaultDataRowRenderer","janvier","scrollHeight","combo-box-text-field","Error: Could not get a reference to the sheet object",'group',"qx.ui.listview.ListView","Not found","Pfeil rechts","select-multiple","qx.ui.embed.Iframe","qx.ui.treefullcontrol.Tree","qx.ui.pageview.AbstractPageView","qx.ui.table.AbstractResizeBehavior","Mayús","qx.ui.groupbox.RadioGroupBox","Gone","replace","#FFEEEE","qx_ui_embed_Gallery","serverData","\n","Unauthorized","\t","table-header-cell",".apply(this._remappingChildTarget, arguments)","You can only specify one non modifier key!","closetab","Beschreibung","qx.theme.icon.CrystalClear","show","action","end.gif","qx.ui.toolbar.PartHandle","Oktober","(\\d\\d)","key_short_Meta","qx.core.Client","MSXML2.XMLHTTP","refreshSession","key_short_Apps","key_short_Win","lunes","qx.locale.translation.en_US","/icon/CrystalClear",'object',"excludeFirstLevelTreeLines","MaxHeight","Xx","Vorheriges Jahr","resizeableNorth","qx.dom.Node","minus.gif","cldr_pm","icon/16/actions/format-color.png","other webkit","extended","nov.",'date',"prefferedCellHeight","qx.ui.table.IconHeaderCellRenderer","splitpane","navBar"," fsm.getGroupObjects('","newTablePane",'px;top:0px;width:',"elite.ui.filter.FilterEx",'icon/16/actions/dialog-cancel.png','MMdoctitle',"list-item","groupClassName","qx.manager.selection.VirtualSelectionManager","Color Theme: ","_cachedBorder"," ---\n","qx.html.String",'PlugIn',"qx.renderer.layout.LayoutImpl","key_full_Home","cldr_number_decimal_separator","qx.theme.color.System","camino",'maxVisibleRows',"SelectionNamespaces","filter:","octubre","qx.theme.icon.VistaInspirate","Color","qx.ui.core.ClientDocumentBlocker"," ERROR: ","currentAction","widget/arrows/down_small.gif","onscroll","u","qx.client.Timer",'string',"substr","graytext","[object Object]","maxConcurrentRequests","always","qx.lang.Function","infoClassName","Out of resources","hideOnHover","qx.ui.menu.RadioButton","windowText","log-group","subMenuVerticalOffset","encodeUndefined","headClassName","widget/table/descending.png","Okt","vie","Preselecciones",'fadeCounter',"Color Selector","fuchsia","qx.ui.tree.Tree","Oe","Juni","incrementAmount","margin-right:","Method not allowed","firstSize","Ok","ins","' in ","qx.ui.layout.FlowLayout","c","Unsupported media type","Kontextmenü","key_full_Left","qx.ui.form.List","d 'de' MMM","Precondition failed",'heights',"Sonntag","Debug","combo-box-list","elite.ui.tooltip.ToolTip","fieldset","filters","Arriba","Reset column widths","Aborted","PROPERTY_","allowScrollbars","MinWidth","Transport error ","resource/images/message/error.png","this._style.","MSXML2.XMLHTTP.4.0",'qx.ui.toolbar.MenuButton','$1',"contentArrowGap","&","selectionStart","Aplicaciones","originalTarget","getFirstChild",'location',"window-captionbar-title"," (r","Gateway time-out","pkcs11","dd","elite.ui.form.FormArea","outerHTML","X-Qooxdoo-Version","d. MMMM yyyy","Januar","visibleRowCount","\t","visibleChildren","codtec","Mo","Bottom","HEX","qx.manager.selection.SelectionManager.handleKeyDown is deprecated! ","Selector de color","initial","anchors","y QQQ","arrowOrientation","$version"," FATAL: ","Safari","hideFocus","custom.translation.C","#f2f2f2","MSXML2.XMLHTTP.6.0","columnVisibilityButtonVisible","indentShortcuts","KK","Percent","«","Next month","MM","qx.ui.table.IconDataCellRenderer","en",'S',"fileUpload","fevereiro","Object","qx.renderer.layout.DockLayoutImpl","Length required","Mean","qx.locale.data.fr","CSS1Compat","--- End of object ---","TaskBarWindowButtonsRadioManager","enableInlineFind","textUnderlinePosition","Pfeil links","low","d/M",")(fsm)","H:mm' Uhr 'z","TypePercent","Bloqueo Mayúsculas","März","qx.ui.toolbar.MenuButton","out","
    ",'top:0',"NuoveXT","qx.manager.object.AppearanceManager","Pfeil hoch","Error while disposing: ","brightness","start_minus.gif","window-captionbar-close-button","$1","showOnTextField",'ensureSomethingSelected',"","ActiveX","selectionText","frameName","qx.ui.popup.PopupAtom","inlineNodeId","parentPaddingTop","Start 25x",") does not match requested id ",'m',"pageIncrementAmount","key_short_Escape","rpc.rpcControl","groupingUsed","widget/arrows/up_small.gif","elite.ui.form.ListItem","StringExact","feb",'s',"Failed...","Last year","qx.ui.toolbar.Button","Not a valid key name for a command: ","markLeadingItem","qx.ui.treevirtual.SimpleTreeDataModel","boxHeight","qx.ui.splitpane.VerticalSplitPane","clientY","radio-button-field-set-legend","qx.net.HttpRequest","])*)(","Request finished for an unknown instance (probably aborted or timed out before)","?c=","qx.html.Form","BloqMayús","qx.lang.Number","noscale","qx.ui.layout.DockLayout","closeButtonImage","27px","bSelected","infotext","qx.lang.String","fontPropertiesProfile","janeiro","!\\b(.+?)\\(\\b(.+?)\\b\\)!","charCode","Nuvola","Request-Queue Progress: ","getLastChild","sourceWidget","qx.html.ScrollIntoView","qx.ui.table.CellEditorFactory","*** TOO MUCH RECURSION: not displaying ***\n","elite.ui.filter.Filter","vorm.","hasPercentY"," fsm.getObject('","key_short_PageUp","sortBy","key_short_Pause","idColumnVisible","heightValue","resource/icons/resultset_next.png","custom.translation.en","constructor not found","copy","log-info","rect(","Mean Factor","qx.ui.layout.VerticalBoxLayout","$2","Nächstes Jahr","„","Auto","pop","dez"," fsm.getObject(objName).","qx.ui.form.CheckBox","","X11","autocomplete","boundToWidget","HH","sexta-feira","qx.ui.form.TextArea","^(((<([^>]|",",selectionStart,selectionLength,selectionText","Descripción","cross_plus.gif","tab-view-page",'on',"url(","oct.","').","maxLabelWidthIncShortcut","lun.","localName","martes","Flecha abajo","qx.ui.component.ColorPopup","key_full_Backspace","east","text-area",';color:',"navy","minimumIntegerDigits",'"\\b(.+?)\\b":([^\\s]+)',"html,body{width:100%;height:100%;overflow:hidden;}","quarta-feira","best","useAutoAlign","qx.html.Style","topWidth","list-view-content-cell-link","date","Open ColorSelector","openItem",">","codtco_cl","Use keypress insted and bind it to the onkeypress event."," error: ","Description","checkbox","qx.event.type.DragEvent","applets","E","blockSize","useAdvancedFlexAllocation","return this._remappingChildTarget.","lundi","domEvent","styleSheets","key_short_Shift",'qx.ui.resizer.Resizer',"qx.ui.pageview.tabview.Button","custom.translation.pt","key_short_Control","qx.ui.basic.HorizontalSpacer","rightStyle","MinHeight","#,##0%","julio","key_full_CapsLock","qx.renderer.layout.GridLayoutImpl","Top","Camino","table-focus-indicator","Aplic","icon/16/apps/preferences-desktop-theme.png","Option","newTablePaneModel","[function]","[\s\n]-(.+?)-[\s\n]","Microsoft.XMLDOM","command","offsetWidth","Montag","yyyy Q"]; /* ID: qx.Settings */ if(!window.qx){qx={}; } if(!qx.Settings){qx.Settings={}; } if(!qx.Settings._customSettings){qx.Settings._customSettings={}; }qx.Settings._defaultSettings={}; qx._LOADSTART=(new Date).valueOf(); qx.Settings.substitute=function($0){if(typeof $0!==$[0]){return $0; }return $0.replace(/\%\{(.+)\}/g,function($1,$2){return eval($2); }); }; qx.Settings.getValue=function($0){return qx.Settings.getValueOfClass(qx.Clazz.classname,$0); }; qx.Settings.getValueOfClass=function($0,$1){var $2=qx.Settings._customSettings[$0]; if($2&&$2[$1]!=null){return $2[$1]; }var $3=qx.Settings._defaultSettings[$0]; if($3&&$3[$1]!=null){return $3[$1]; }return null; }; qx.Settings.setDefault=function($0,$1){return qx.Settings.setDefaultOfClass(qx.Clazz.classname,$0,$1); }; qx.Settings.setDefaultOfClass=function($0,$1,$2){var $3=qx.Settings._defaultSettings[$0]; if(!$3){$3=qx.Settings._defaultSettings[$0]={}; }$3[$1]=$2; }; qx.Settings.setCustom=function($0,$1){return qx.Settings.setCustomOfClass(qx.Clazz.classname,$0,$1); }; qx.Settings.setCustomOfClass=function($0,$1,$2){var $3=qx.Settings._customSettings[$0]; if(!$3){$3=qx.Settings._customSettings[$0]={}; }$3[$1]=qx.Settings.substitute($2); }; qx.Settings.init=function(){for(var $0 in qx.Settings._customSettings){var $1=qx.Settings._customSettings[$0]; for(var $2 in $1){qx.Settings.setCustomOfClass($0,$2,$1[$2]); }}}; qx.Settings.init(); /* ID: qx.OO */ qx.OO={}; qx.OO.defineClass=function(){}; qx.Clazz=qx.OO; qx.OO.defineClass($[2483]); qx.Clazz.classes={}; qx.Clazz.setter={}; qx.Clazz.getter={}; qx.Clazz.resetter={}; qx.Clazz.values={}; qx.Clazz.propertyNumber=0; qx.Clazz.defineClass=function($0,$1,$2){var $3=$0.split($[50]); var $4=$3.length-1; var $5=window; for(var $6=0;$6<$4;$6++){if(typeof $5[$3[$6]]===$[40]){$5[$3[$6]]={}; }$5=$5[$3[$6]]; }if(typeof $1===$[40]){if(typeof $2!==$[40]){throw new Error("SuperClass is undefined, but constructor was given for class: "+$0); }qx.Clazz=$5[$3[$6]]={}; qx.Proto=null; qx.Super=null; }else if(typeof $2===$[40]){qx.Clazz=$5[$3[$6]]=$1; qx.Proto=null; qx.Super=$1; }else{qx.Clazz=$5[$3[$6]]=$2; var $7=function(){}; $7.prototype=$1.prototype; qx.Proto=$2.prototype=new $7; qx.Super=$2.superclass=$1; qx.Proto.classname=$2.classname=$0; qx.Proto.constructor=$2; }qx.OO.classes[$0]=qx.Clazz; }; qx.Clazz.addFastProperty=function($0){var $1=$0.name; var $2=qx.lang.String.toFirstUp($1); var $3=$[336]+$2; var $4=$[94]+$2; var $5=$[91]+$2; var $6=$[574]+$2; qx.Proto[$3]=typeof $0.defaultValue!==$[40]?$0.defaultValue:null; if($0.noCompute){qx.Proto[$4]=function(){return this[$3]; }; }else{qx.Proto[$4]=function(){return this[$3]==null?this[$3]=this[$6]():this[$3]; }; } if($0.setOnlyOnce){qx.Proto[$5]=function($7){this[$3]=$7; this[$5]=null; return $7; }; }else{qx.Proto[$5]=function($7){return this[$3]=$7; }; } if(!$0.noCompute){qx.Proto[$6]=function(){return null; }; }}; qx.OO.addCachedProperty=function($0){var $1=$0.name; var $2=qx.lang.String.toFirstUp($1); var $3=$[1755]+$2; var $4=$[574]+$2; var $5=$[2295]+$2; if(typeof $0.defaultValue!==$[40]){qx.Proto[$3]=$0.defaultValue; }qx.Proto[$[94]+$2]=function(){if(this[$3]==null){this[$3]=this[$4](); }return this[$3]; }; qx.Proto[$[1539]+$2]=function(){if(this[$3]!=null){this[$3]=null; if($0.addToQueueRuntime){this.addToQueueRuntime($0.name); }}}; qx.Proto[$[1976]+$2]=function(){var $6=this[$3]; var $7=this[$4](); if($7!=$6){this[$3]=$7; this[$5]($7,$6); return true; }return false; }; qx.Proto[$5]=function($6,$7){}; qx.Proto[$4]=function(){return null; }; }; qx.Clazz.addPropertyGroup=function($0){if(typeof $0!==$[4]){throw new Error("Param should be an object!"); } if(typeof $0.name!=$[0]){throw new Error("Malformed input parameters: name needed!"); } if(typeof $0.members!=$[4]){throw new Error("Malformed input parameters: members needed!"); }$0.method=qx.lang.String.toFirstUp($0.name); $0.getter=[]; $0.setter=[]; for(var $1=0,$2=$0.members.length;$1<$2;$1++){$0.setter.push($[91]+qx.lang.String.toFirstUp($0.members[$1])); } for(var $1=0,$2=$0.members.length;$1<$2;$1++){$0.getter.push($[94]+qx.lang.String.toFirstUp($0.members[$1])); }qx.Proto[$[94]+$0.method]=function(){var $3=[]; var $4=$0.getter; for(var $1=0,$2=$4.length;$1<$2;$1++){$3.push(this[$4[$1]]()); }return $3; }; switch($0.mode){case $[268]:qx.Proto[$[91]+$0.method]=function(){if(arguments.length>4||arguments.length==0){throw new Error("Invalid number of arguments for property "+$0.name+": "+arguments); } try{var $3=qx.lang.Array.fromShortHand(qx.lang.Array.fromArguments(arguments)); }catch(ex){throw new Error("Invalid shorthand values for property "+$0.name+": "+arguments+": "+ex); }var $4=$0.setter; var $2=$4.length; for(var $1=0;$1<$2;$1++){this[$4[$1]]($3[$1]); }}; break; default:qx.Proto[$[91]+$0.method]=function(){var $3=$0.setter; var $2=$3.length; if(arguments.length!=$2){throw new Error("Invalid number of arguments (needs: "+$2+", is: "+arguments.length+") for property "+$0.name+": "+qx.lang.Array.fromArguments(arguments).toString()); } for(var $1=0;$1<$2;$1++){this[$3[$1]](arguments[$1]); }}; }}; qx.Clazz.removeProperty=function($0){if(typeof qx.Proto._properties!==$[0]){throw new Error("Has no properties!"); } if(typeof $0!==$[4]){throw new Error("Param should be an object!"); } if(typeof $0.name!==$[0]){throw new Error("Malformed input parameters: name needed!"); }var $1=qx.Proto; $0.method=qx.lang.String.toFirstUp($0.name); $0.implMethod=$0.impl?qx.lang.String.toFirstUp($0.impl):$0.method; var $2=$[336]+$0.method; $1._properties=qx.lang.String.removeListItem($1._properties,$0.name); $1[$2]=null; $1[$[94]+$0.method]=null; $1[$[91]+$0.method]=null; $1[$[280]+$0.method]=null; $1[$[233]+$0.method]=null; $1[$[632]+$0.method]=null; $1[$[1416]+$0.method]=null; $1[$[2439]+$0.method]=null; }; qx.Clazz._createProperty=function($0){if(typeof $0!==$[4]){throw new Error("AddProperty: Param should be an object!"); } if(typeof $0.name!==$[0]){throw new Error("AddProperty: Malformed input parameters: name needed!"); }var $1=qx.Proto; $0.method=qx.lang.String.toFirstUp($0.name); $0.implMethod=$0.impl?qx.lang.String.toFirstUp($0.impl):$0.method; if($0.defaultValue==undefined){$0.defaultValue=null; }$0.allowNull=$0.allowNull!==false; $0.allowMultipleArguments=$0.allowMultipleArguments===true; if(typeof $0.type===$[0]){$0.hasType=true; }else if(typeof $0.type!==$[40]){throw new Error("AddProperty: Invalid type definition for property "+$0.name+": "+$0.type); }else{$0.hasType=false; } if(typeof $0.instance===$[0]){$0.hasInstance=true; }else if(typeof $0.instance!==$[40]){throw new Error("AddProperty: Invalid instance definition for property "+$0.name+": "+$0.instance); }else{$0.hasInstance=false; } if(typeof $0.classname===$[0]){$0.hasClassName=true; }else if(typeof $0.classname!==$[40]){throw new Error("AddProperty: Invalid classname definition for property "+$0.name+": "+$0.classname); }else{$0.hasClassName=false; }$0.hasConvert=$0.convert!=null; $0.hasPossibleValues=$0.possibleValues!=null; $0.hasUnitDetection=$0.unitDetection!=null; $0.addToQueue=$0.addToQueue||false; $0.addToQueueRuntime=$0.addToQueueRuntime||false; $0.up=$0.name.toUpperCase(); qx.OO[$[2749]+$0.up]=$0.name; var $2=$[336]+$0.method; var $3=$[1056]+$0.method; var $4=$[38]+$0.method; var $5=$[2274]+$0.implMethod; var $6=$[1297]+$0.implMethod; if(!qx.OO.setter[$0.name]){qx.OO.setter[$0.name]=$[91]+$0.method; qx.OO.getter[$0.name]=$[94]+$0.method; qx.OO.resetter[$0.name]=$[280]+$0.method; qx.OO.values[$0.name]=$2; }if($0.hasUnitDetection){var $7=$[727]+$0.method; $1[$7+$[413]]=null; $1[$7+$[791]]=null; $1[$7+$[620]]=null; $1[$7+$[1869]]=true; $1[$7+$[1108]]=false; $1[$7+$[2822]]=false; $1[$7+$[2455]]=false; $1[$7+$[2498]]=false; var $8=$[1181]+qx.lang.String.toFirstUp($0.unitDetection); }$1[$2]=$0.defaultValue; $1[$[94]+$0.method]=function(){return this[$2]; }; $1[$[632]+$0.method]=function($9){return this[$2]=$9; }; $1[$[280]+$0.method]=function(){return this[$[91]+$0.method]($0.defaultValue); }; if($0.type===$[3]){$1[$[1849]+$0.method]=function($9){return this[$[91]+$0.method](!this[$2]); }; } if($0.allowMultipleArguments||$0.hasConvert||$0.hasInstance||$0.hasClassName||$0.hasPossibleValues||$0.hasUnitDetection||$0.addToQueue||$0.addToQueueRuntime||$0.addToStateQueue){$1[$[91]+$0.method]=function($9){if($0.allowMultipleArguments&&arguments.length>1){$9=qx.lang.Array.fromArguments(arguments); }if($0.hasConvert){try{$9=$0.convert.call(this,$9,$0); }catch(ex){throw new Error("Attention! Could not convert new value for "+$0.name+": "+$9+": "+ex); }}var $a=this[$2]; if($9===$a){return $9; } if(!($0.allowNull&&$9==null)){if($0.hasType&&typeof $9!==$0.type){return this.error("Attention! The value \""+$9+"\" is an invalid value for the property \""+$0.name+"\" which must be typeof \""+$0.type+"\" but is typeof \""+typeof $9+"\"!",new Error()); } if($0.hasInstance&&!($9 instanceof qx.OO.classes[$0.instance])){return this.error("Attention! The value \""+$9+"\" is an invalid value for the property \""+$0.name+"\" which must be an instance of \""+$0.instance+"\"!",new Error()); } if($0.hasClassName&&$9.classname!=$0.classname){return this.error("Attention! The value \""+$9+"\" is an invalid value for the property \""+$0.name+"\" which must be an object with the classname \""+$0.classname+"\"!",new Error()); } if($0.hasPossibleValues&&$9!=null&&!qx.lang.Array.contains($0.possibleValues,$9)){return this.error("Failed to save value for "+$0.name+". '"+$9+"' is not a possible value!",new Error()); }}if(this[$6]){try{$9=this[$6]($9,$0); if($9===$a){return $9; }}catch(ex){return this.error("Failed to check property "+$0.name,ex); }}this[$2]=$9; if(this[$5]){try{var $b=this[$5]($9,$a,$0); if(!$b){return this.error("Modification of property \""+$0.name+"\" failed without exception ("+$b+")",new Error()); }}catch(ex){return this.error("Modification of property \""+$0.name+"\" failed with exception",ex); }}if($0.hasUnitDetection){this[$8]($0,$9); }if($0.addToQueue){this.addToQueue($0.name); }else if($0.addToQueueRuntime){this.addToQueueRuntime($0.name); }if($0.addToStateQueue){this.addToStateQueue(); }if(this.hasEventListeners&&this.hasEventListeners($4)){try{this.createDispatchDataEvent($4,$9); }catch(ex){throw new Error("Property "+$0.name+" modified: Failed to dispatch change event: "+ex); }}return $9; }; }else{$1[$[91]+$0.method]=function($9){var $a=this[$2]; if($9===$a){return $9; } if(!($0.allowNull&&$9==null)){if($0.hasType&&typeof $9!==$0.type){return this.error("Attention! The value \""+$9+"\" is an invalid value for the property \""+$0.name+"\" which must be typeof \""+$0.type+"\" but is typeof \""+typeof $9+"\"!",new Error()); }}if(this[$6]){try{$9=this[$6]($9,$0); if($9===$a){return $9; }}catch(ex){return this.error("Failed to check property "+$0.name,ex); }}this[$2]=$9; if(this[$5]){try{var $b=this[$5]($9,$a,$0); if(!$b){var $c=new String($9).substring(0,50); return this.error("Setting property \""+$0.name+"\" to \""+$c+"\" failed without exception ("+$b+")",new Error()); }}catch(ex){var $c=new String($9).substring(0,50); return this.error("Setting property \""+$0.name+"\" to \""+$c+"\" failed with exception",ex); }}if(this.hasEventListeners&&this.hasEventListeners($4)){var $d=new qx.event.type.DataEvent($4,$9,$a,false); $d.setTarget(this); try{this.dispatchEvent($d,true); }catch(ex){throw new Error("Property "+$0.name+" modified: Failed to dispatch change event: "+ex); }}return $9; }; }if(typeof $0.getAlias===$[0]){$1[$0.getAlias]=$1[$[94]+$0.method]; }if(typeof $0.setAlias===$[0]){$1[$0.setAlias]=$1[$[91]+$0.method]; }}; qx.Clazz.changeProperty=qx.OO._createProperty; qx.Clazz.addProperty=function($0){qx.OO.propertyNumber++; qx.OO._createProperty($0); if(typeof qx.Proto._properties!==$[0]){qx.Proto._properties=$0.name; }else{qx.Proto._properties+=$[19]+$0.name; }switch($0.type){case undefined:case $[4]:case $[23]:if(typeof qx.Proto._objectproperties!==$[0]){qx.Proto._objectproperties=$0.name; }else{qx.Proto._objectproperties+=$[19]+$0.name; }}}; qx.Clazz.inheritField=function($0,$1){qx.lang.Object.carefullyMergeWith($1,qx.Super.prototype[$0]); qx.Proto[$0]=$1; }; qx.Clazz.isAvailable=function($0){return qx.OO.classes[$0]!=null; }; /* ID: qx.lang.String */ qx.OO.defineClass($[2881]); qx.Clazz.toCamelCase=function($0){var $1=$0.split($[60]),$2=$1.length; if($2==1){return $1[0]; }var $3=$0.indexOf($[60])==0?$1[0].charAt(0).toUpperCase()+$1[0].substring(1):$1[0]; for(var $4,$5=1;$5<$2;$5++){$4=$1[$5]; $3+=$4.charAt(0).toUpperCase()+$4.substring(1); }return $3; }; qx.Clazz.trimLeft=function($0){return $0.replace(/^\s+/,$[1]); }; qx.Clazz.trimRight=function($0){return $0.replace(/\s+$/,$[1]); }; qx.Clazz.trim=function($0){return $0.replace(/^\s+|\s+$/g,$[1]); }; qx.Clazz.startsWith=function($0,$1){return !$0.indexOf($1); }; qx.Clazz.endsWith=function($0,$1){return $0.lastIndexOf($1)===$0.length-$1.length; }; qx.Clazz.pad=function($0,$1,$2){if(typeof $2===$[40]){$2=$[15]; }var $3=$[1]; for(var $4=$0.length;$4<$1;$4++){$3+=$2; }return $3+$0; }; qx.Clazz.toFirstUp=function($0){return $0.charAt(0).toUpperCase()+$0.substr(1); }; qx.Clazz.addListItem=function($0,$1,$2){if($0==$1||$0==$[1]){return $1; } if($2==null){$2=$[19]; }var $3=$0.split($2); if($3.indexOf($1)==-1){$3.push($1); return $3.join($2); }else{return $0; }}; qx.Clazz.removeListItem=function($0,$1,$2){if($0==$1||$0==$[1]){return $[1]; }else{if($2==null){$2=$[19]; }var $3=$0.split($2); var $4=$3.indexOf($1); if($4===-1){return $0; } do{$3.splice($4,1); }while(($4=$3.indexOf($1))!=-1); return $3.join($2); }}; qx.Clazz.contains=function($0,$1){return $0.indexOf($1)!=-1; }; qx.Clazz.format=function($0,$1){var $2=$0; for(var $3=0;$3<$1.length;$3++){$2=$2.replace(new RegExp($[241]+($3+1),$[140]),$1[$3]); }return $2; }; qx.Clazz.escapeRegexpChars=function($0){return $0.replace(/([\\\.\(\)\[\]\{\}\^\$\?\+\*])/g,$[1573]); }; /* ID: qx.lang.Array */ qx.OO.defineClass($[2247]); qx.lang.Array.fromArguments=function($0){return Array.prototype.slice.call($0,0); }; qx.lang.Array.fromShortHand=function($0){var $1=$0.length; if($1>4||$1==0){this.error("Invalid number of arguments!"); }var $2=qx.lang.Array.copy($0); switch($1){case 1:$2[1]=$2[2]=$2[3]=$2[0]; break; case 2:$2[2]=$2[0]; case 3:$2[3]=$2[1]; }return $2; }; qx.lang.Array.copy=function($0){return $0.concat(); }; qx.lang.Array.clone=function($0){return $0.concat(); }; qx.lang.Array.getLast=function($0){return $0[$0.length-1]; }; qx.lang.Array.getFirst=function($0){return $0[0]; }; qx.lang.Array.insertAt=function($0,$1,$2){$0.splice($2,0,$1); return $0; }; qx.lang.Array.insertBefore=function($0,$1,$2){var $3=$0.indexOf($2); if($3==-1){$0.push($1); }else{$0.splice($3,0,$1); }return $0; }; qx.lang.Array.insertAfter=function($0,$1,$2){var $3=$0.indexOf($2); if($3==-1||$3==($0.length-1)){$0.push($1); }else{$0.splice($3+1,0,$1); }return $0; }; qx.lang.Array.removeAt=function($0,$1){return $0.splice($1,1); }; qx.lang.Array.removeAll=function($0){return $0.splice(0,$0.length); }; qx.lang.Array.append=function($0,$1){Array.prototype.push.apply($0,$1); }; qx.lang.Array.remove=function($0,$1){var $2=$0.indexOf($1); if($2!=-1){return $0.splice($2,1); }}; qx.lang.Array.contains=function($0,$1){return $0.indexOf($1)!=-1; }; /* ID: qx.lang.Object */ qx.OO.defineClass($[1949]); qx.Clazz.isEmpty=function($0){for(var $1 in $0){return false; }return true; }; qx.Clazz.hasMinLength=function($0,$1){var $2=0; for(var $3 in $0){if((++$2)>=$1){return true; }}return false; }; qx.Clazz.getLength=function($0){var $1=0; for(var $2 in $0){$1++; }return $1; }; qx.Clazz.getKeys=function($0){var $1=[]; for(var $2 in $0){$1.push($2); }return $1; }; qx.Clazz.getKeysAsString=function($0){return qx.lang.Object.getKeys($0).join($[1196]); }; qx.Clazz.getValues=function($0){var $1=[]; for(var $2 in $0){$1.push($0[$2]); }return $1; }; qx.Clazz.mergeWith=function($0,$1){for(var $2 in $1){$0[$2]=$1[$2]; }return $0; }; qx.Clazz.carefullyMergeWith=function($0,$1){for(var $2 in $1){if(typeof $0[$2]===$[40]){$0[$2]=$1[$2]; }}return $0; }; qx.Clazz.merge=function($0,$1){var $2=arguments.length; for(var $3=1;$3<$2;$3++){qx.lang.Object.mergeWith($0,arguments[$3]); }return $0; }; qx.Clazz.copy=function($0){return qx.lang.Object.mergeWith({},$0); }; qx.Clazz.invert=function($0){var $1={}; for(var $2 in $0){var $3=$0[$2].toString(); $1[$3]=$2; }return $1; }; /* ID: qx.lang.Core */ qx.OO.defineClass($[1058]); if(!Error.prototype.toString||Error.prototype.toString()==$[2404]){Error.prototype.toString=function(){return this.message; }; }if(!Array.prototype.indexOf){Array.prototype.indexOf=function($0,$1){if($1==null){$1=0; }else if($1<0){$1=Math.max(0,this.length+$1); } for(var $2=$1;$2=0;$2--){if(this[$2]===$0){return $2; }}return -1; }; } if(!Array.prototype.forEach){Array.prototype.forEach=function($0,$1){var $2=this.length; for(var $3=0;$3<$2;$3++){$0.call($1,this[$3],$3,this); }}; } if(!Array.prototype.filter){Array.prototype.filter=function($0,$1){var $2=this.length; var $3=[]; for(var $4=0;$4<$2;$4++){if($0.call($1,this[$4],$4,this)){$3.push(this[$4]); }}return $3; }; } if(!Array.prototype.map){Array.prototype.map=function($0,$1){var $2=this.length; var $3=[]; for(var $4=0;$4<$2;$4++){$3.push($0.call($1,this[$4],$4,this)); }return $3; }; } if(!Array.prototype.some){Array.prototype.some=function($0,$1){var $2=this.length; for(var $3=0;$3<$2;$3++){if($0.call($1,this[$3],$3,this)){return true; }}return false; }; } if(!Array.prototype.every){Array.prototype.every=function($0,$1){var $2=this.length; for(var $3=0;$3<$2;$3++){if(!$0.call($1,this[$3],$3,this)){return false; }}return true; }; }if(!String.prototype.quote){String.prototype.quote=function(){return $[304]+this.replace(/\\/g,$[2279]).replace(/\"/g,$[1426])+$[304]; }; } /* ID: qx.lang.Function */ qx.OO.defineClass($[2704]); qx.lang.Function.returnTrue=function(){return true; }; qx.lang.Function.returnFalse=function(){return false; }; qx.lang.Function.returnNull=function(){return null; }; qx.lang.Function.returnThis=function(){return this; }; qx.lang.Function.returnInstance=function(){if(!this._instance){this._instance=new this; }return this._instance; }; qx.lang.Function.returnZero=function(){return 0; }; qx.lang.Function.returnNegativeIndex=function(){return -1; }; /* ID: qx.core.Object */ qx.OO.defineClass($[519],Object,function($0){this._hashCode=qx.core.Object._availableHashCode++; if($0!==false){this._dbKey=qx.core.Object._db.length; qx.core.Object._db.push(this); }}); qx.Settings.setDefault($[563],false); qx.Clazz._availableHashCode=0; qx.Clazz._db=[]; qx.Clazz._disposeAll=false; qx.Clazz.toHashCode=function($0){if($0._hashCode!=null){return $0._hashCode; }return $0._hashCode=qx.core.Object._availableHashCode++; }; qx.Clazz.dispose=function(){var $0=qx.Settings.getValueOfClass($[519],$[563])&&window.console; if($0){console.log($[1405]); var $1=(new Date).valueOf(); }qx.core.Object._disposeAll=true; var $2; for(var $3=qx.core.Object._db.length-1;$3>=0;$3--){$2=qx.core.Object._db[$3]; if($2&&$2._disposed===false){try{$2.dispose(); }catch(ex){if($0){console.warn($[2832]+$2.classname+$[352]+$2.toHashCode()+$[1001]+ex.message); }}}} if($0){console.log($[2030]+((new Date).valueOf()-$1)+$[234]); }}; qx.Clazz.summary=function(){var $0={}; var $1=0; var $2; for(var $3=qx.core.Object._db.length-1;$3>=0;$3--){$2=qx.core.Object._db[$3]; if($2&&$2._disposed===false){if($0[$2.classname]==null){$0[$2.classname]=1; }else{$0[$2.classname]++; }$1++; }}var $4=[]; for(var $5 in $0){$4.push({classname:$5,number:$0[$5]}); }$4.sort(function($6,$7){return $7.number-$6.number; }); var $6=$[2565]+$1+$[1596]; for(var $3=0;$3<$4.length;$3++){$6+=$4[$3].number+$[95]+$4[$3].classname+$[79]; }alert($6); }; qx.Clazz.inGlobalDispose=function(){return qx.core.Object._disposeAll; }; qx.OO.addProperty({name:$[643],type:$[3],defaultValue:true,getAlias:$[681]}); qx.Proto.toString=function(){if(this.classname){return $[1717]+this.classname+$[221]; }return $[2701]; }; qx.Proto.toHashCode=function(){return this._hashCode; }; qx.Proto.getDisposed=function(){return this._disposed; }; qx.Proto.isDisposed=function(){return this._disposed; }; qx.Proto.getSetting=function($0){return qx.Settings.getValueOfClass(this.classname,$0); }; qx.Proto.tr=function($0,$1){var $2=qx.locale.Manager; return $2.tr.apply($2,arguments); }; qx.Proto.trn=function($0,$1,$2,$3){var $4=qx.locale.Manager; return $4.trn.apply($4,arguments); }; qx.Proto.marktr=function($0){var $1=qx.locale.Manager; return $1.marktr.apply($1,arguments); }; qx.Proto.getLogger=function(){return qx.log.Logger.getClassLogger(this.constructor); }; qx.Proto.debug=function($0,$1){this.getLogger().debug($0,this._hashCode,$1); }; qx.Proto.info=function($0,$1){this.getLogger().info($0,this._hashCode,$1); }; qx.Proto.warn=function($0,$1){this.getLogger().warn($0,this._hashCode,$1); }; qx.Proto.error=function($0,$1){this.getLogger().error($0,this._hashCode,$1); }; qx.Proto.set=function($0){if(typeof $0!==$[4]){throw new Error("Please use a valid hash of property key-values pairs."); } for(var $1 in $0){try{this[qx.OO.setter[$1]]($0[$1]); }catch(ex){this.error("Setter of property '"+$1+"' returned with an error",ex); }}return this; }; qx.Proto.get=function($0,$1){switch(typeof $0){case $[0]:return this[$[94]+qx.lang.String.toFirstUp($0)](); case $[4]:if(typeof $0.length===$[2]){if($1==$[2253]){var $2={}; propertyLength=$0.length; for(var $3=0;$31){return new qx.locale.LocalizedString($1,$4); }else{return new qx.locale.LocalizedString($0,$4); }}; qx.Clazz.trc=function($0,$1,$2){var $3=qx.lang.Array.fromArguments(arguments); $3.splice(0,2); return new qx.locale.LocalizedString($1,$3); }; qx.Clazz.marktr=function($0){return $0; }; qx.Proto.translate=function($0,$1,$2){var $3; if($2){var $4=this._extractLanguage($2); }else{$2=this._locale; $4=this._language; } if(!$3&&this._translationCatalog[$2]){$3=this._translationCatalog[$2][$0]; } if(!$3&&this._translationCatalog[$4]){$3=this._translationCatalog[$4][$0]; } if(!$3&&this._translationCatalog[this._defaultLocale]){$3=this._translationCatalog[this._defaultLocale][$0]; } if(!$3){$3=$0; } if($1.length>0){$3=qx.lang.String.format($3,$1); }return $3; }; qx.Clazz.getInstance=qx.lang.Function.returnInstance; /* ID: qx.core.Client */ qx.OO.defineClass($[2640],Object,function(){var $0=window.location.protocol===$[797]; var $1=navigator.userAgent; var $2=navigator.vendor; var $3=navigator.product; var $4=navigator.platform; var $5=false; var $6; var $7=null; var $8=null; var $9=0; var $a=0; var $b=0; var $c=0; var $d=null; var $e; if(window.opera&&/Opera[\s\/]([0-9\.]*)/.test($1)){$7=$[784]; $8=RegExp.$1; $8=$8.substring(0,3)+$[50]+$8.substring(3); $d=$1.indexOf($[2055])!==-1?$[217]:$1.indexOf($[1723])!==-1?$[318]:null; }else if(typeof $2===$[0]&&$2===$[2256]&&/KHTML\/([0-9-\.]*)/.test($1)){$7=$[819]; $6=$[2507]; $8=RegExp.$1; }else if($1.indexOf($[1121])!=-1&&/AppleWebKit\/([0-9-\.]*)/.test($1)){$7=$[616]; $8=RegExp.$1; if($1.indexOf($[2790])!=-1){$6=$[1415]; }else if($1.indexOf($[2446])!=-1){$6=$[1452]; }else{$6=$[2658]; }}else if(window.controllers&&typeof $3===$[0]&&$3===$[2204]&&/rv\:([^\);]+)(\)|;)/.test($1)){$7=$[318]; $8=RegExp.$1; if($1.indexOf($[1661])!=-1){$6=$[1152]; }else if($1.indexOf($[2997])!=-1){$6=$[2684]; }else if($1.indexOf($[1305])!=-1){$6=$[1824]; }else{$6=$[2211]; }}else if(/MSIE\s+([^\);]+)(\)|;)/.test($1)){$7=$[217]; $8=RegExp.$1; $5=!window.external; } if($8){$e=$8.split($[50]); $9=$e[0]||0; $a=$e[1]||0; $b=$e[2]||0; $c=$e[3]||0; }var $f=$7==$[318]?$[1662]:$7==$[217]?null:$[2296]; var $g=document.compatMode!==$[2812]; var $h=$[2803]; var $i=($7==$[217]?navigator.userLanguage:navigator.language).toLowerCase(); var $j=null; var $k=$i.indexOf($[60]); if($k!=-1){$j=$i.substr($k+1); $i=$i.substr(0,$k); }var $l=$[32]; var $m=false; var $n=false; var $o=false; var $p=false; if($4.indexOf($[406])!=-1||$4.indexOf($[1098])!=-1||$4.indexOf($[2399])!=-1){$m=true; $l=$[1836]; }else if($4.indexOf($[1051])!=-1||$4.indexOf($[1081])!=-1||$4.indexOf($[1479])!=-1){$n=true; $l=$[1292]; }else if($4.indexOf($[2931])!=-1||$4.indexOf($[994])!=-1||$4.indexOf($[2500])!=-1){$o=true; $l=$[2012]; }else{$p=true; $l=$[1151]; }var $q=false; var $r=false; var $s=false; var $t=false; if($7==$[217]){$q=true; }if(document.implementation&&document.implementation.hasFeature){if(document.implementation.hasFeature($[2330],$[1101])){$r=$s=true; }}this._runsLocally=$0; this._engineName=$7; this._engineNameMshtml=$7===$[217]; this._engineNameGecko=$7===$[318]; this._engineNameOpera=$7===$[784]; this._engineNameKhtml=$7===$[819]; this._engineNameWebkit=$7===$[616]; this._engineVersion=parseFloat($8); this._engineVersionMajor=parseInt($9); this._engineVersionMinor=parseInt($a); this._engineVersionRevision=parseInt($b); this._engineVersionBuild=parseInt($c); this._engineQuirksMode=$g; this._engineBoxSizingAttribute=$f; this._engineEmulation=$d; this._defaultLocale=$h; this._browserPlatform=$l; this._browserPlatformWindows=$m; this._browserPlatformMacintosh=$n; this._browserPlatformUnix=$o; this._browserPlatformOther=$p; this._browserModeHta=$5; this._browserLocale=$i; this._browserLocaleVariant=$j; this._gfxVml=$q; this._gfxSvg=$r; this._gfxSvgBuiltin=$s; this._gfxSvgPlugin=$t; this._fireBugActive=(window.console&&console.log&&console.debug&&console.assert); this._supportsTextContent=(document.documentElement.textContent!==undefined); this._supportsInnerText=(document.documentElement.innerText!==undefined); }); qx.Proto.getRunsLocally=function(){return this._runsLocally; }; qx.Proto.getEngine=function(){return this._engineName; }; qx.Proto.getVersion=function(){return this._engineVersion; }; qx.Proto.getMajor=function(){return this._engineVersionMajor; }; qx.Proto.getMinor=function(){return this._engineVersionMinor; }; qx.Proto.getRevision=function(){return this._engineVersionRevision; }; qx.Proto.getBuild=function(){return this._engineVersionBuild; }; qx.Proto.getEmulation=function(){return this._engineEmulation; }; qx.Proto.isMshtml=function(){return this._engineNameMshtml; }; qx.Proto.isGecko=function(){return this._engineNameGecko; }; qx.Proto.isOpera=function(){return this._engineNameOpera; }; qx.Proto.isKhtml=function(){return this._engineNameKhtml; }; qx.Proto.isWebkit=function(){return this._engineNameWebkit; }; qx.Proto.isSafari2=function(){return this._engineNameWebkit&&(this._engineVersion<420); }; qx.Proto.isInQuirksMode=function(){return this._engineQuirksMode; }; qx.Proto.getLocale=function(){return this._browserLocale; }; qx.Proto.getLocaleVariant=function(){return this._browserLocaleVariant; }; qx.Proto.getDefaultLocale=function(){return this._defaultLocale; }; qx.Proto.usesDefaultLocale=function(){return this._browserLocale===this._defaultLocale; }; qx.Proto.getEngineBoxSizingAttribute=function(){return this._engineBoxSizingAttribute; }; qx.Proto.getPlatform=function(){return this._browserPlatform; }; qx.Proto.runsOnWindows=function(){return this._browserPlatformWindows; }; qx.Proto.runsOnMacintosh=function(){return this._browserPlatformMacintosh; }; qx.Proto.runsOnUnix=function(){return this._browserPlatformUnix; }; qx.Proto.supportsVml=function(){return this._gfxVml; }; qx.Proto.supportsSvg=function(){return this._gfxSvg; }; qx.Proto.usesSvgBuiltin=function(){return this._gfxSvgBuiltin; }; qx.Proto.usesSvgPlugin=function(){return this._gfxSvgPlugin; }; qx.Proto.isFireBugActive=function(){return this._fireBugActive; }; qx.Proto.supportsTextContent=function(){return this._supportsTextContent; }; qx.Proto.supportsInnerText=function(){return this._supportsInnerText; }; qx.Clazz.getInstance=qx.lang.Function.returnInstance; /* ID: qx.locale.LocalizedString */ qx.OO.defineClass($[1608],qx.core.Object,function($0,$1,$2){qx.core.Object.call(this); this.setId($0); this._locale=$2; var $3=[]; for(var $4=0;$4<$1.length;$4++){var $5=$1[$4]; if($5 instanceof qx.locale.LocalizedString){$3.push($5); }else{$3.push($5+$[1]); }}this.setArgs($3); }); qx.OO.addProperty({name:$[208]}); qx.OO.addProperty({name:$[1882]}); qx.Proto.toString=function(){return qx.locale.Manager.getInstance().translate(this.getId(),this.getArgs(),this._locale); }; /* ID: qx.log.LogEventProcessor */ qx.OO.defineClass($[2206],qx.core.Object,function(){qx.core.Object.call(this); }); qx.Proto.addFilter=function($0){if(this._filterArr==null){this._filterArr=[]; }this._filterArr.push($0); }; qx.Proto.clearFilters=function(){this._filterArr=null; }; qx.Proto.getHeadFilter=function(){return (this._filterArr==null||this._filterArr.length==0)?null:this._filterArr[0]; }; qx.Proto._getDefaultFilter=function(){var $0=this.getHeadFilter(); if(!($0 instanceof qx.log.DefaultFilter)){this.clearFilters(); $0=new qx.log.DefaultFilter(); this.addFilter($0); }return $0; }; qx.Proto.setEnabled=function($0){this._getDefaultFilter().setEnabled($0); }; qx.Proto.setMinLevel=function($0){this._getDefaultFilter().setMinLevel($0); }; qx.Proto.decideLogEvent=function($0){var $1=qx.log.Filter.NEUTRAL; if(this._filterArr!=null){for(var $2=0;$2=this.getMinLevel())?$1.ACCEPT:$1.DENY; }}; /* ID: qx.log.Appender */ qx.OO.defineClass($[2126],qx.log.LogEventProcessor,function(){qx.log.LogEventProcessor.call(this); }); qx.OO.addProperty({name:$[489],type:$[3],defaultValue:true,allowNull:false}); qx.Proto.handleLogEvent=function($0){if(this.decideLogEvent($0)!=qx.log.Filter.DENY){this.appendLogEvent($0); }}; qx.Proto.appendLogEvent=function($0){throw new Error("appendLogEvent is abstract"); }; qx.Proto.formatLogEvent=function($0){var $1=qx.log.Logger; var $2=$[1]; var $3=new String(new Date().getTime()-qx._LOADSTART); while($3.length<6){$3=$[15]+$3; }$2+=$3; if(this.getUseLongFormat()){switch($0.level){case $1.LEVEL_DEBUG:$2+=$[1175]; break; case $1.LEVEL_INFO:$2+=$[2549]; break; case $1.LEVEL_WARN:$2+=$[1164]; break; case $1.LEVEL_ERROR:$2+=$[2692]; break; case $1.LEVEL_FATAL:$2+=$[2789]; break; }}else{$2+=$[95]; }var $4=$[1]; for(var $5=0;$5<$0.indent;$5++){$4+=$[311]; }$2+=$4; if(this.getUseLongFormat()){$2+=$0.logger.getName(); if($0.instanceId!=null){$2+=$[352]+$0.instanceId+$[221]; }$2+=$[95]; }if(typeof $0.message==$[0]){$2+=$0.message; }else{var $6=$0.message; if($6==null){$2+=$[2105]; }else{$2+=$[1932]+$6+$[2677]; var $7=new Array(); try{for(var $8 in $6){$7.push($8); }}catch(exc){$2+=$4+$[1783]+exc+$[757]; }$7.sort(); for(var $5=0;$5<$7.length;$5++){try{$2+=$4+$[311]+$7[$5]+$[21]+$6[$7[$5]]+$[79]; }catch(exc){$2+=$4+$[311]+$7[$5]+$[2113]+exc+$[757]; }}$2+=$4+$[2813]; }}if($0.throwable!=null){var $9=$0.throwable; if($9.name==null){$2+=$[95]+$9; }else{$2+=$[95]+$9.name; } if($9.message!=null){$2+=$[584]+$9.message; } if($9.number!=null){$2+=$[1674]+$9.number+$[99]; } if($9.stack!=null){$2+=$[79]+this._beautyStackTrace($9.stack); }}return $2; }; qx.Proto._beautyStackTrace=function($0){var $1=/@(.+):(\d+)$/gm; var $2; var $3=$[1]; var $4=$[1610]; while(($2=$1.exec($0))!=null){var $5=$2[1]; var $6=$5.indexOf($4); var $7=($6==-1)?$5:$5.substring($6+$4.length).replace(/\//g,$[50]); var $8=$2[2]; $3+=$[1522]+$7+$[83]+$8+$[79]; }return $3; }; /* ID: qx.log.WindowAppender */ qx.OO.defineClass($[2581],qx.log.Appender,function($0){qx.log.Appender.call(this); this._id=qx.log.WindowAppender.register(this); this._name=($0==null)?$[954]:$0; this._errorsPreventingAutoCloseCount=0; this._logWindowOpened=false; }); qx.OO.addProperty({name:$[520],type:$[2],defaultValue:500}); qx.OO.addProperty({name:$[2270],type:$[3],defaultValue:false,allowNull:false}); qx.OO.addProperty({name:$[1581],type:$[3],defaultValue:true,allowNull:false}); qx.Proto.openWindow=function(){if(this._logWindowOpened){return ; }var $0=600; var $1=350; var $2=window.screen.width-$0; var $3=window.screen.height-$1; var $4=$[1137]+$[2384]+$0+$[1552]+$1+$[1751]+$2+$[2420]+$3; this._logWindow=window.open($[1],this._name,$4); if(!this._logWindow||this._logWindow.closed){if(!this._popupBlockerWarning){alert("Couldn't open debug window. Please disable your popup blocker!"); }this._popupBlockerWarning=true; return; }this._popupBlockerWarning=false; this._logWindowOpened=true; if(this.getPopUnder()){this._logWindow.blur(); window.focus(); }var $5=this._logWindow.document; $5.open(); $5.write($[2107]+this._name+$[2276]+$[1409]+this._id+$[1233]+$[1991]); $5.close(); this._logElem=$5.getElementById($[1230]); if(this._logEventQueue!=null){for(var $6=0;$6=qx.log.Logger.LEVEL_ERROR){$1.style.backgroundColor=$[2621]; if(!this.getAutoCloseWithErrors()){this._errorsPreventingAutoCloseCount+=1; }}else if($0.level==qx.log.Logger.LEVEL_DEBUG){$1.style.color=$[199]; } if($0.isDummyEventForMessage){$1.innerHTML=$0.message; }else{$1.innerHTML=qx.html.String.fromText(this.formatLogEvent($0)); }this._logElem.appendChild($1); while(this._logElem.childNodes.length>this.getMaxMessages()){this._logElem.removeChild(this._logElem.firstChild); if(this._removedMessageCount==null){this._removedMessageCount=1; }else{this._removedMessageCount++; }} if(this._removedMessageCount!=null){this._logElem.firstChild.innerHTML=$[169]+this._removedMessageCount+$[822]; }this._logWindow.scrollTo(0,this._logElem.offsetHeight); }}; qx.Proto._modifyAutoCloseWithErrors=function($0,$1,$2){if(!$0&&$1){this._errorsPreventingAutoCloseCount=0; this._showMessageInLog($[1251]); }else if($0&&!$1){this._showMessageInLog($[1329]+this._errorsPreventingAutoCloseCount+$[2029]); }return true; }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; }this._autoCloseWindow(); return qx.log.Appender.prototype.dispose.call(this); }; qx.Clazz._nextId=1; qx.Clazz._registeredAppenders={}; qx.Clazz.register=function($0){var $1=qx.log.WindowAppender; var $2=$1._nextId++; $1._registeredAppenders[$2]=$0; return $2; }; qx.Clazz.getAppender=function($0){return qx.log.WindowAppender._registeredAppenders[$0]; }; /* ID: qx.log.FireBugAppender */ qx.OO.defineClass($[2375],qx.log.Appender,function(){qx.log.Appender.call(this); }); qx.Proto.appendLogEvent=function($0){if(typeof console!=$[733]){var $1=qx.log.Logger; var $2=this.formatLogEvent($0); switch($0.level){case $1.LEVEL_DEBUG:if(console.debug){console.debug($2); }break; case $1.LEVEL_INFO:if(console.info){console.info($2); }break; case $1.LEVEL_WARN:if(console.warn){console.warn($2); }break; default:if(console.error){console.error($2); }break; }if($0.level>$1.LEVEL_WARN&&(!$0.throwable||!$0.throwable.stack)&&console.trace){console.trace(); }}}; /* ID: qx.log.Logger */ qx.OO.defineClass($[1776],qx.log.LogEventProcessor,function($0,$1){qx.log.LogEventProcessor.call(this); this._name=$0; this._parentLogger=$1; }); qx.Proto.dispose=function(){if(this.getDisposed()){return; }this._filterArr=null; this._appenderArr=null; this._parentLogger=null; return qx.log.LogEventProcessor.prototype.dispose.call(this); }; qx.Proto.getName=function(){return this._name; }; qx.Proto.getParentLogger=function(){return this._parentLogger; }; qx.Proto.indent=function(){qx.log.Logger._indent++; }; qx.Proto.unindent=function(){qx.log.Logger._indent--; }; qx.Proto.addAppender=function($0){if(this._appenderArr==null){this._appenderArr=[]; }this._appenderArr.push($0); }; qx.Proto.removeAppender=function($0){if(this._appenderArr!=null){this._appenderArr.remove($0); }}; qx.Proto.removeAllAppenders=function(){this._appenderArr=null; }; qx.Proto.handleLogEvent=function($0){var $1=qx.log.Filter; var $2=$1.NEUTRAL; var $3=this; while($2==$1.NEUTRAL&&$3!=null){$2=$3.decideLogEvent($0); $3=$3.getParentLogger(); } if($2!=$1.DENY){this.appendLogEvent($0); }}; qx.Proto.appendLogEvent=function($0){if(this._appenderArr!=null&&this._appenderArr.length!=0){for(var $1=0;$1])+>/gi,function($1){if(/\s+/.test($1)){return $[48]; }else if(/^0x7F){$6=$[1158]+$5+$[77]; }else{$6=$4; }}$2.push($6); }return $2.join($[1]); }; qx.Clazz.unescapeEntities=function($0,$1){return $0.replace(/&[#\w]+;/gi,function($2){var $3=$2; var $2=$2.substring(1,$2.length-1); var $4=$1[$2]; if($4){$3=String.fromCharCode($4); }else{if($2.charAt(0)==$[1511]){if($2.charAt(1).toUpperCase()==$[1812]){var $4=$2.substring(2); if($4.match(/^[0-9A-Fa-f]+$/gi)){$3=String.fromCharCode(parseInt($[1791]+$4)); }}else{var $4=$2.substring(1); if($4.match(/^\d+$/gi)){$3=String.fromCharCode(parseInt($4)); }}}}return $3; }); }; qx.Clazz.stripTags=function($0){return $0.replace(/<\/?[^>]+>/gi,$[1]); }; /* ID: qx.html.Entity */ qx.OO.defineClass($[2057]); qx.Clazz.TO_CHARCODE={"quot":34,"amp":38,"lt":60,"gt":62,"nbsp":160,"iexcl":161,"cent":162,"pound":163,"curren":164,"yen":165,"brvbar":166,"sect":167,"uml":168,"copy":169,"ordf":170,"laquo":171,"not":172,"shy":173,"reg":174,"macr":175,"deg":176,"plusmn":177,"sup2":178,"sup3":179,"acute":180,"micro":181,"para":182,"middot":183,"cedil":184,"sup1":185,"ordm":186,"raquo":187,"frac14":188,"frac12":189,"frac34":190,"iquest":191,"Agrave":192,"Aacute":193,"Acirc":194,"Atilde":195,"Auml":196,"Aring":197,"AElig":198,"Ccedil":199,"Egrave":200,"Eacute":201,"Ecirc":202,"Euml":203,"Igrave":204,"Iacute":205,"Icirc":206,"Iuml":207,"ETH":208,"Ntilde":209,"Ograve":210,"Oacute":211,"Ocirc":212,"Otilde":213,"Ouml":214,"times":215,"Oslash":216,"Ugrave":217,"Uacute":218,"Ucirc":219,"Uuml":220,"Yacute":221,"THORN":222,"szlig":223,"agrave":224,"aacute":225,"acirc":226,"atilde":227,"auml":228,"aring":229,"aelig":230,"ccedil":231,"egrave":232,"eacute":233,"ecirc":234,"euml":235,"igrave":236,"iacute":237,"icirc":238,"iuml":239,"eth":240,"ntilde":241,"ograve":242,"oacute":243,"ocirc":244,"otilde":245,"ouml":246,"divide":247,"oslash":248,"ugrave":249,"uacute":250,"ucirc":251,"uuml":252,"yacute":253,"thorn":254,"yuml":255,"fnof":402,"Alpha":913,"Beta":914,"Gamma":915,"Delta":916,"Epsilon":917,"Zeta":918,"Eta":919,"Theta":920,"Iota":921,"Kappa":922,"Lambda":923,"Mu":924,"Nu":925,"Xi":926,"Omicron":927,"Pi":928,"Rho":929,"Sigma":931,"Tau":932,"Upsilon":933,"Phi":934,"Chi":935,"Psi":936,"Omega":937,"alpha":945,"beta":946,"gamma":947,"delta":948,"epsilon":949,"zeta":950,"eta":951,"theta":952,"iota":953,"kappa":954,"lambda":955,"mu":956,"nu":957,"xi":958,"omicron":959,"pi":960,"rho":961,"sigmaf":962,"sigma":963,"tau":964,"upsilon":965,"phi":966,"chi":967,"psi":968,"omega":969,"thetasym":977,"upsih":978,"piv":982,"bull":8226,"hellip":8230,"prime":8242,"Prime":8243,"oline":8254,"frasl":8260,"weierp":8472,"image":8465,"real":8476,"trade":8482,"alefsym":8501,"larr":8592,"uarr":8593,"rarr":8594,"darr":8595,"harr":8596,"crarr":8629,"lArr":8656,"uArr":8657,"rArr":8658,"dArr":8659,"hArr":8660,"forall":8704,"part":8706,"exist":8707,"empty":8709,"nabla":8711,"isin":8712,"notin":8713,"ni":8715,"prod":8719,"sum":8721,"minus":8722,"lowast":8727,"radic":8730,"prop":8733,"infin":8734,"ang":8736,"and":8743,"or":8744,"cap":8745,"cup":8746,"int":8747,"there4":8756,"sim":8764,"cong":8773,"asymp":8776,"ne":8800,"equiv":8801,"le":8804,"ge":8805,"sub":8834,"sup":8835,"sube":8838,"supe":8839,"oplus":8853,"otimes":8855,"perp":8869,"sdot":8901,"lceil":8968,"rceil":8969,"lfloor":8970,"rfloor":8971,"lang":9001,"rang":9002,"loz":9674,"spades":9824,"clubs":9827,"hearts":9829,"diams":9830,"OElig":338,"oelig":339,"Scaron":352,"scaron":353,"Yuml":376,"circ":710,"tilde":732,"ensp":8194,"emsp":8195,"thinsp":8201,"zwnj":8204,"zwj":8205,"lrm":8206,"rlm":8207,"ndash":8211,"mdash":8212,"lsquo":8216,"rsquo":8217,"sbquo":8218,"ldquo":8220,"rdquo":8221,"bdquo":8222,"dagger":8224,"Dagger":8225,"permil":8240,"lsaquo":8249,"rsaquo":8250,"euro":8364}; qx.Clazz.FROM_CHARCODE=qx.lang.Object.invert(qx.Clazz.TO_CHARCODE); /* ID: qx.html.EventRegistration */ qx.OO.defineClass($[2089]); qx.html.EventRegistration.addEventListener=function($0,$1,$2){}; qx.html.EventRegistration.removeEventListener=function($0,$1,$2){}; if(qx.core.Client.getInstance().isMshtml()){qx.html.EventRegistration.addEventListener=function($0,$1,$2){$0.attachEvent($[86]+$1,$2); }; qx.html.EventRegistration.removeEventListener=function($0,$1,$2){$0.detachEvent($[86]+$1,$2); }; }else{qx.html.EventRegistration.addEventListener=function($0,$1,$2){$0.addEventListener($1,$2,false); }; qx.html.EventRegistration.removeEventListener=function($0,$1,$2){$0.removeEventListener($1,$2,false); }; } /* ID: qx.core.Init */ qx.OO.defineClass($[1873],qx.core.Target,function(){qx.core.Target.call(this,false); var $0=this; this.__onload=function($1){return $0._onload($1); }; this.__onbeforeunload=function($1){return $0._onbeforeunload($1); }; this.__onunload=function($1){return $0._onunload($1); }; qx.html.EventRegistration.addEventListener(window,$[102],this.__onload); qx.html.EventRegistration.addEventListener(window,$[587],this.__onbeforeunload); qx.html.EventRegistration.addEventListener(window,$[816],this.__onunload); }); qx.Settings.setDefault($[461],$[611]); qx.OO.addProperty({name:$[461],type:$[4],instance:$[944]}); qx.OO.addProperty({name:$[1948],type:$[23]}); qx.Proto._modifyApplication=function($0,$1,$2){if($0){this._applicationInstance=new $0; }return true; }; qx.Proto.getApplicationInstance=function(){if(!this.getApplication()){this.setApplication(qx.component.DummyApplication); }return this._applicationInstance; }; qx.Proto.defineInitialize=function($0){this.getApplicationInstance().initialize=$0; }; qx.Proto.defineMain=function($0){this.getApplicationInstance().main=$0; }; qx.Proto.defineFinalize=function($0){this.getApplicationInstance().finalize=$0; }; qx.Proto.defineClose=function($0){this.getApplicationInstance().close=$0; }; qx.Proto.defineTerminate=function($0){this.getApplicationInstance().terminate=$0; }; qx.Proto._onload=function($0){this.debug("qooxdoo "+qx.core.Version.toString()); this.debug("loaded "+qx.lang.Object.getLength(qx.OO.classes)+" classes"); var $1=qx.core.Client.getInstance(); this.debug("client: "+$1.getEngine()+"-"+$1.getMajor()+"."+$1.getMinor()+"/"+$1.getPlatform()+"/"+$1.getLocale()); if($1.isMshtml()&&!$1.isInQuirksMode()){this.warn($[1628]); }this.setComponent(new qx.OO.classes[this.getSetting($[461])](this)); return this.getComponent()._onload($0); }; qx.Proto._onbeforeunload=function($0){return this.getComponent()._onbeforeunload($0); }; qx.Proto._onunload=function($0){this.getComponent()._onunload($0); qx.core.Object.dispose(); }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }qx.html.EventRegistration.removeEventListener(window,$[102],this.__onload); qx.html.EventRegistration.removeEventListener(window,$[587],this.__onbeforeunload); qx.html.EventRegistration.removeEventListener(window,$[816],this.__onunload); this.__onload=this.__onbeforeunload=this.__onunload=null; if(this._applicationInstance){this._applicationInstance.dispose(); this._applicationInstance=null; }qx.core.Target.prototype.dispose.call(this); }; qx.Clazz.getInstance=qx.lang.Function.returnInstance; qx.Clazz.getInstance(); /* ID: qx.component.AbstractComponent */ qx.OO.defineClass($[2547],qx.core.Target,function(){qx.core.Target.call(this); }); qx.Proto.initialize=function(){}; qx.Proto.main=function(){}; qx.Proto.finalize=function(){}; qx.Proto.close=function(){}; qx.Proto.terminate=function(){}; qx.Proto.dispose=function(){if(this.getDisposed()){return; }return qx.core.Target.prototype.dispose.call(this); }; /* ID: qx.component.init.AbstractInitComponent */ qx.OO.defineClass($[1498],qx.component.AbstractComponent,function(){qx.component.AbstractComponent.call(this); }); qx.Proto.initialize=function($0){return qx.core.Init.getInstance().getApplicationInstance().initialize($0); }; qx.Proto.main=function($0){return qx.core.Init.getInstance().getApplicationInstance().main($0); }; qx.Proto.finalize=function($0){return qx.core.Init.getInstance().getApplicationInstance().finalize($0); }; qx.Proto.close=function($0){return qx.core.Init.getInstance().getApplicationInstance().close($0); }; qx.Proto.terminate=function($0){return qx.core.Init.getInstance().getApplicationInstance().terminate($0); }; /* ID: qx.component.init.BasicInitComponent */ qx.OO.defineClass($[944],qx.component.init.AbstractInitComponent,function(){qx.component.init.AbstractInitComponent.call(this); }); qx.Proto._onload=function($0){this.initialize($0); this.main($0); this.finalize($0); }; qx.Proto._onbeforeunload=function($0){this.close($0); }; qx.Proto._onunload=function($0){this.terminate($0); }; /* ID: qx.component.AbstractApplication */ qx.OO.defineClass($[1011],qx.component.AbstractComponent,function(){qx.component.AbstractComponent.call(this); }); /* ID: qx.component.DummyApplication */ qx.OO.defineClass($[1936],qx.component.AbstractApplication,function(){qx.component.AbstractApplication.call(this); }); qx.Clazz.getInstance=qx.lang.Function.returnInstance; /* ID: qx.core.Version */ qx.OO.defineClass($[1759]); qx.Clazz.major=0; qx.Clazz.minor=0; qx.Clazz.revision=0; qx.Clazz.state=$[1]; qx.Clazz.svn=0; qx.Clazz.folder=$[1]; qx.Clazz.toString=function(){var $0=qx.core.Version; return $0.major+$[50]+$0.minor+($0.revision==0?$[1]:$[50]+$0.revision)+($0.state==$[1]?$[1]:$[60]+$0.state)+($0.svn==0?$[1]:$[2766]+$0.svn+$[99])+($0.folder==$[1]?$[1]:$[974]+$0.folder+$[221]); }; qx.Clazz._init=function(){var $0=qx.core.Version; var $1=qx.VERSION.split($[48]); var $2=$1.shift(); var $3=$1.join($[48]); if(/([0-9]+)\.([0-9]+)(\.([0-9]))?(-([a-z0-9]+))?/.test($2)){$0.major=(RegExp.$1!=$[1]?parseInt(RegExp.$1):0); $0.minor=(RegExp.$2!=$[1]?parseInt(RegExp.$2):0); $0.revision=(RegExp.$4!=$[1]?parseInt(RegExp.$4):0); $0.state=typeof RegExp.$6==$[0]?RegExp.$6:$[1]; } if(/(\(r([0-9]+)\))?(\s\[(\w+)\])?/.test($3)){$0.svn=(RegExp.$2!=$[1]?parseInt(RegExp.$2):0); $0.folder=typeof RegExp.$4==$[0]?RegExp.$4:$[1]; }}; qx.Clazz._init(); /* ID: qx.renderer.color.ColorCache */ qx.OO.defineClass($[2230]); qx.renderer.color.ColorCache=function($0){var $1; var $2=false; switch(typeof $0){case $[0]:if($0!=$[1]){$0=$1=$0.toLowerCase(); break; }return $0; case $[2]:if($0>=0&&$0<=255){$1=$0.toString(); break; }return $0; case $[4]:if($0==null||$0 instanceof qx.renderer.color.Color){return $0; }if(typeof $0.join===$[23]&&$0.length==3){$1=$[759]+$0.join($[19])+$[99]; $2=true; break; }default:return $0; } if(qx.renderer.color.ColorCache._data[$1]){return qx.renderer.color.ColorCache._data[$1]; }var $3=qx.renderer.color.ColorCache._data[$1]=qx.renderer.color.Color.themedNames[$0]?new qx.renderer.color.ColorObject($0):new qx.renderer.color.Color($0); if($2){$3._style=$1; }return $3; }; qx.renderer.color.ColorCache._data={}; /* ID: qx.renderer.color.Color */ qx.OO.defineClass($[93],qx.core.Object,function($0){if($0!=null){this.setValue($0); }qx.core.Object.call(this); }); qx.Clazz.rgb2style=function($0,$1,$2){return $[759]+$0+$[19]+$1+$[19]+$2+$[99]; }; qx.renderer.color.Color.m_hex=[$[15],$[260],$[460],$[494],$[423],$[416],$[393],$[410],$[392],$[177],$[279],$[2598],$[2732],$[502],$[342],$[2019]]; qx.renderer.color.Color.m_rgb={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,b:11,c:12,d:13,e:14,f:15}; qx.renderer.color.Color.r_hex3=/^#([0-9a-f]{1})([0-9a-f]{1})([0-9a-f]{1})$/; qx.renderer.color.Color.r_hex6=/^#([0-9a-f]{1})([0-9a-f]{1})([0-9a-f]{1})([0-9a-f]{1})([0-9a-f]{1})([0-9a-f]{1})$/; qx.renderer.color.Color.r_cssrgb=/^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*\)$/; qx.renderer.color.Color.r_rgb=/^[0-9]{1,3},[0-9]{1,3},[0-9]{1,3}$/; qx.renderer.color.Color.r_number=/^[0-9]{1,3}\.{0,1}[0-9]*$/; qx.renderer.color.Color.r_percent=/^[0-9]{1,3}\.{0,1}[0-9]*%$/; qx.Clazz.htmlNames={transparent:[-1,-1,-1],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}; qx.Clazz.themedNames={activeborder:1,activecaption:1,appworkspace:1,background:1,buttonface:1,buttonhighlight:1,buttonshadow:1,buttontext:1,captiontext:1,graytext:1,highlight:1,highlighttext:1,inactiveborder:1,inactivecaption:1,inactivecaptiontext:1,infobackground:1,infotext:1,menu:1,menutext:1,scrollbar:1,threeddarkshadow:1,threedface:1,threedhighlight:1,threedlightshadow:1,threedshadow:1,window:1,windowframe:1,windowtext:1}; qx.Clazz.fromString=function($0){return new qx.renderer.color.Color($0); }; qx.Clazz.fromRandom=function(){return new qx.renderer.color.Color([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())]); }; qx.Proto._value=null; qx.Proto._style=null; qx.Proto._isRgbColor=false; qx.Proto._isHtmlColor=false; qx.Proto._isThemedColor=false; qx.Proto._red=null; qx.Proto._green=null; qx.Proto._blue=null; qx.Proto._hex=null; qx.Proto.add=qx.lang.Function.returnTrue; qx.Proto.remove=qx.lang.Function.returnTrue; qx.Proto.isRgbColor=function(){return this._isRgbColor; }; qx.Proto.isHtmlColor=function(){return this._isHtmlColor; }; qx.Proto.isThemedColor=function(){return this._isThemedColor; }; qx.Proto.setValue=function($0){this._normalize($0); if(this._isThemedColor){throw new Error("Please use qx.renderer.color.ColorObject for themed colors!"); }}; qx.Proto.getValue=function(){return this._value||$[1]; }; qx.Proto.getStyle=function(){if(this._style==null){this._evalStyle(); }return this._style; }; qx.Proto._evalStyle=function(){if(this._isRgbColor){this._style=qx.renderer.color.Color.rgb2style(this._red,this._green,this._blue); }else if(this._isThemedColor){this._applyThemedValue(); }else if(this._isHtmlColor){this._style=this._value; }else if(this._value!=null){this.error("Could not handle non-rgb colors :"+this.getValue()+"!"); }}; qx.Proto.getHex=function(){if(this._hex==null){this._evalHex(); }return this._hex; }; qx.Proto._evalHex=function(){var $0=[$[138]]; var $1=this.getRed(); $0.push(qx.renderer.color.Color.m_hex[Math.floor($1/16)]); $0.push(qx.renderer.color.Color.m_hex[Math.floor($1%16)]); var $2=this.getGreen(); $0.push(qx.renderer.color.Color.m_hex[Math.floor($2/16)]); $0.push(qx.renderer.color.Color.m_hex[Math.floor($2%16)]); var $3=this.getBlue(); $0.push(qx.renderer.color.Color.m_hex[Math.floor($3/16)]); $0.push(qx.renderer.color.Color.m_hex[Math.floor($3%16)]); this._hex=$0.join($[1]); }; qx.Proto.getRed=function(){if(this._red==null){this._evalRgb(); }return this._red; }; qx.Proto.getGreen=function(){if(this._green==null){this._evalRgb(); }return this._green; }; qx.Proto.getBlue=function(){if(this._blue==null){this._evalRgb(); }return this._blue; }; qx.Proto._evalRgb=function(){if(this._isThemedColor){this._applyThemedValue(); }else if(this._isHtmlColor){var $0=qx.renderer.color.Color.htmlNames[this._value]; this._red=$0[0]; this._green=$0[1]; this._blue=$0[2]; }else{throw new Error("_evalRgb needs implementation!"); }}; qx.Proto._normalize=function($0){this._isThemedColor=this._isRgbColor=this._isHtmlColor=false; this._hex=null; var $1=new Error("Invalid color: "+$0); switch(typeof $0){case $[0]:$0=$0.toLowerCase(); if(qx.renderer.color.Color.htmlNames[$0]){this._isHtmlColor=true; }else if(qx.renderer.color.Color.themedNames[$0]){this._isThemedColor=true; }else if(qx.renderer.color.Color.r_cssrgb.test($0)){this._red=parseInt(RegExp.$1); this._green=parseInt(RegExp.$2); this._blue=parseInt(RegExp.$3); this._isRgbColor=true; }else if(qx.renderer.color.Color.r_hex3.test($0)){this._hex=$0; this._red=(qx.renderer.color.Color.m_rgb[RegExp.$1]*16)+qx.renderer.color.Color.m_rgb[RegExp.$1]; this._green=(qx.renderer.color.Color.m_rgb[RegExp.$2]*16)+qx.renderer.color.Color.m_rgb[RegExp.$2]; this._blue=(qx.renderer.color.Color.m_rgb[RegExp.$3]*16)+qx.renderer.color.Color.m_rgb[RegExp.$3]; this._isRgbColor=true; }else if(qx.renderer.color.Color.r_hex6.test($0)){this._hex=$0; this._red=(qx.renderer.color.Color.m_rgb[RegExp.$1]*16)+qx.renderer.color.Color.m_rgb[RegExp.$2]; this._green=(qx.renderer.color.Color.m_rgb[RegExp.$3]*16)+qx.renderer.color.Color.m_rgb[RegExp.$4]; this._blue=(qx.renderer.color.Color.m_rgb[RegExp.$5]*16)+qx.renderer.color.Color.m_rgb[RegExp.$6]; this._isRgbColor=true; }else{throw $1; }break; case $[2]:if($0>=0&&$0<=255){this._red=this._green=this._blue=$0; this._isRgbColor=true; }else{throw $1; }break; case $[4]:if(qx.util.Validation.isValidArray($0)&&$0.length==3){this._red=$0[0]; this._green=$0[1]; this._blue=$0[2]; this._isRgbColor=true; break; }default:throw $1; } if(!this._isRgbColor){this._red=this._green=this._blue=null; this._style=this._isHtmlColor?$0:null; }else{this._style=null; if(!(this._red>=0&&this._red<=255&&this._green>=0&&this._green<=255&&this._blue>=0&&this._blue<=255)){throw $1; }}return this._value=$0; }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; }delete this._value; delete this._style; delete this._red; delete this._green; delete this._blue; delete this._isRgbColor; delete this._isHtmlColor; delete this._isThemedColor; return qx.core.Object.prototype.dispose.call(this); }; /* ID: qx.util.Validation */ qx.OO.defineClass($[2530]); qx.util.Validation.isValid=function($0){switch(typeof $0){case $[40]:return false; case $[4]:return $0!==null; case $[0]:return $0!==$[1]; case $[2]:return !isNaN($0); case $[23]:case $[3]:return true; }return false; }; qx.util.Validation.isInvalid=function($0){switch(typeof $0){case $[40]:return true; case $[4]:return $0===null; case $[0]:return $0===$[1]; case $[2]:return isNaN($0); case $[23]:case $[3]:return false; }return true; }; qx.util.Validation.isValidNumber=function($0){return typeof $0===$[2]&&!isNaN($0); }; qx.util.Validation.isInvalidNumber=function($0){return typeof $0!==$[2]||isNaN($0); }; qx.util.Validation.isValidString=function($0){return typeof $0===$[0]&&$0!==$[1]; }; qx.util.Validation.isInvalidString=function($0){return typeof $0!==$[0]||$0===$[1]; }; qx.util.Validation.isValidArray=function($0){return typeof $0===$[4]&&$0!==null&&$0 instanceof Array; }; qx.util.Validation.isInvalidArray=function($0){return typeof $0!==$[4]||$0===null||!($0 instanceof Array); }; qx.util.Validation.isValidObject=function($0){return typeof $0===$[4]&&$0!==null&&!($0 instanceof Array); }; qx.util.Validation.isInvalidObject=function($0){return typeof $0!==$[4]||$0===null||$0 instanceof Array; }; qx.util.Validation.isValidNode=function($0){return typeof $0===$[4]&&$0!==null; }; qx.util.Validation.isInvalidNode=function($0){return typeof $0!==$[4]||$0===null; }; qx.util.Validation.isValidElement=function($0){return typeof $0===$[4]&&$0!==null||$0.nodeType!==1; }; qx.util.Validation.isInvalidElement=function($0){return typeof $0!==$[4]||$0===null||$0.nodeType!==1; }; qx.util.Validation.isValidFunction=function($0){return typeof $0===$[23]; }; qx.util.Validation.isInvalidFunction=function($0){return typeof $0!==$[23]; }; qx.util.Validation.isValidBoolean=function($0){return typeof $0===$[3]; }; qx.util.Validation.isInvalidBoolean=function($0){return typeof $0!==$[3]; }; qx.util.Validation.isValidStringOrNumber=function($0){switch(typeof $0){case $[0]:return $0!==$[1]; case $[2]:return !isNaN($0); }return false; }; qx.util.Validation.isInvalidStringOrNumber=function($0){switch(typeof $0){case $[0]:return $0===$[1]; case $[2]:return isNaN($0); }return false; }; /* ID: qx.renderer.color.ColorObject */ qx.OO.defineClass($[2308],qx.renderer.color.Color,function($0){this.setValue($0); if(qx.manager.object.ColorManager.getInstance().has(this.getValue())){return qx.manager.object.ColorManager.getInstance().get(this.getValue()); }qx.core.Object.call(this); qx.manager.object.ColorManager.getInstance().add(this); this._dependentObjects={}; }); qx.renderer.color.ColorObject.fromString=function($0){return new qx.renderer.color.ColorObject($0); }; qx.Proto._updateTheme=function($0){if(!this._isThemedColor){throw new Error("Could not redefine themed value of non os colors!"); }this._applyThemedValue(); this._syncObjects(); }; qx.Proto._applyThemedValue=function(){var $0=qx.manager.object.ColorManager.getInstance().getColorTheme(); var $1=$0.getValueByName(this._value); if($1){this._red=$1[0]; this._green=$1[1]; this._blue=$1[2]; }this._style=$0.getStyleByName(this._value); this._hex=null; }; qx.Proto._syncObjects=function(){for(var $0 in this._dependentObjects){this._dependentObjects[$0]._updateColors(this,this._style); }}; qx.Proto.setValue=function($0){this._normalize($0); this._syncObjects(); }; qx.Proto.add=function($0){this._dependentObjects[$0.toHashCode()]=$0; }; qx.Proto.remove=function($0){delete this._dependentObjects[$0.toHashCode()]; }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; } if(this._dependentObjects){for(var $0 in this._dependentObjects){delete this._dependentObjects[$0]; }delete this._dependentObjects; }return qx.renderer.color.Color.prototype.dispose.call(this); }; /* ID: qx.manager.object.ObjectManager */ qx.OO.defineClass($[1693],qx.core.Target,function(){qx.core.Target.call(this); this._objects={}; }); qx.Proto.add=function($0){if(this.getDisposed()){return; }this._objects[$0.toHashCode()]=$0; return true; }; qx.Proto.remove=function($0){if(this.getDisposed()){return; }delete this._objects[$0.toHashCode()]; return true; }; qx.Proto.has=function($0){return this._objects[$0.toHashCode()]!=null; }; qx.Proto.get=function($0){return this._objects[$0.toHashCode()]; }; qx.Proto.getAll=function(){return this._objects; }; qx.Proto.enableAll=function(){for(var $0 in this._objects){this._objects[$0].setEnabled(true); }}; qx.Proto.disableAll=function(){for(var $0 in this._objects){this._objects[$0].setEnabled(false); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return; } if(this._objects){for(var $0 in this._objects){delete this._objects[$0]; }delete this._objects; }return qx.core.Target.prototype.dispose.call(this); }; /* ID: qx.manager.object.ColorManager */ qx.OO.defineClass($[1333],qx.manager.object.ObjectManager,function(){qx.manager.object.ObjectManager.call(this); this._colorThemes={}; this._dependentObjects={}; }); qx.Settings.setDefault($[367],$[958]); qx.OO.addProperty({name:$[367],type:$[4],allowNull:false,instance:$[743]}); qx.Proto.registerColorTheme=function($0){this._colorThemes[$0.classname]=$0; if($0.classname==this.getSetting($[367])){this.setColorTheme($0.getInstance()); }}; qx.Proto.setColorThemeById=function($0){this.setColorTheme(this._colorThemes[$0].getInstance()); }; qx.Proto.add=function($0){var $1=$0.getValue(); this._objects[$1]=$0; if($0.isThemedColor()){this._dependentObjects[$1]=$0; }}; qx.Proto.remove=function($0){var $1=$0.getValue(); delete this._objects[$1]; delete this._dependentObjects[$1]; }; qx.Proto.has=function($0){return this._objects[$0]!=null; }; qx.Proto.get=function($0){return this._objects[$0]; }; qx.Proto._modifyColorTheme=function($0,$1,$2){$0.compile(); for(var $3 in this._dependentObjects){this._dependentObjects[$3]._updateTheme($0); }return true; }; qx.Proto.createThemeList=function($0,$1,$2){var $3; var $4=this._colorThemes; var $5=$[2657]; var $6=$[2675]; var $7=$[11]; for(var $8 in $4){var $9=$4[$8].getInstance(); var $3=new qx.ui.form.Button($6+$9.getTitle(),$5); $3.setLocation($1,$2); $3.addEventListener($7,new Function($[1033]+$8+$[421])); $0.add($3); $2+=30; }}; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this._colorThemes=null; for(var $0 in this._dependentObjects){delete this._dependentObjects[$0]; }delete this._dependentObjects; return qx.manager.object.ObjectManager.prototype.dispose.call(this); }; qx.Clazz.getInstance=qx.lang.Function.returnInstance; /* ID: qx.renderer.theme.ColorTheme */ qx.OO.defineClass($[743],qx.core.Object,function($0){qx.core.Object.call(this); this._compiledColors={}; this.setTitle($0); }); qx.OO.addProperty({name:$[166],type:$[0],allowNull:false,defaultValue:$[1]}); qx.Proto._needsCompilation=true; qx.Proto._colors={}; qx.Proto.getValueByName=function($0){return this._colors[$0]||$[1]; }; qx.Proto.getStyleByName=function($0){return this._compiledColors[$0]||$[1]; }; qx.Proto.compile=function(){if(!this._needsCompilation){return; } for(var $0 in qx.renderer.color.Color.themedNames){this._compileValue($0); }this._needsCompilation=false; }; qx.Proto._compileValue=function($0){var $1=this._colors[$0]; this._compiledColors[$0]=$1?qx.renderer.color.Color.rgb2style.apply(this,this._colors[$0]):$0; }; qx.Proto._register=function(){return qx.manager.object.ColorManager.getInstance().registerTheme(this); }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }delete this._colors; delete this._compiledColors; qx.core.Object.prototype.dispose.call(this); }; /* ID: qx.theme.color.WindowsRoyale */ qx.OO.defineClass($[958],qx.renderer.theme.ColorTheme,function(){qx.renderer.theme.ColorTheme.call(this,$[1758]); }); qx.Proto._colors=qx.lang.Object.carefullyMergeWith({activeborder:[212,208,200],activecaption:[51,94,168],appworkspace:[128,128,128],background:[0,0,64],buttonface:[235,233,237],buttonhighlight:[255,255,255],buttonshadow:[167,166,170],buttontext:[0,0,0],captiontext:[255,255,255],graytext:[167,166,170],highlight:[51,94,168],highlighttext:[255,255,255],inactiveborder:[212,208,200],inactivecaption:[111,161,217],inactivecaptiontext:[255,255,255],infobackground:[255,255,225],infotext:[0,0,0],menu:[255,255,255],menutext:[0,0,0],scrollbar:[212,208,200],threeddarkshadow:[133,135,140],threedface:[235,233,237],threedhighlight:[255,255,255],threedlightshadow:[220,223,228],threedshadow:[167,166,170],window:[255,255,255],windowframe:[0,0,0],windowtext:[0,0,0]},qx.Super.prototype._colors); qx.Clazz.getInstance=qx.lang.Function.returnInstance; qx.manager.object.ColorManager.getInstance().registerColorTheme(qx.Clazz); /* ID: qx.renderer.border.BorderCache */ qx.OO.defineClass($[1288]); qx.renderer.border.BorderCache=function($0,$1){if(qx.util.Validation.isValidArray($0)&&$0.length>1){propString=$[1]; for(var $2=0,$3=$0.length,$4;$2<$3;$2++){$4=$0[$2]; propString+=$4; if(typeof $4===$[2]){propString+=$[28]; } if($2<($3-1)){propString+=$[48]; }}$0=propString; }else if(qx.util.Validation.isInvalidString($0)){return $0; } if(qx.renderer.border.BorderCache._data[$0]){return qx.renderer.border.BorderCache._data[$0]; }return qx.renderer.border.BorderCache._data[$0]=qx.renderer.border.BorderObject.fromString($0); }; qx.renderer.border.BorderCache._data={}; /* ID: qx.renderer.border.Border */ qx.OO.defineClass($[349],qx.core.Object,function($0,$1,$2){qx.core.Object.call(this); this._themedEdges={}; this._initCache(); if($0!=null){this.setWidth($0); if($1!=null){this.setStyle($1); } if($2!=null){this.setColor($2); }}}); qx.Clazz.enhancedCrossBrowserMode=true; qx.Proto._needsCompilationTop=true; qx.Proto._needsCompilationRight=true; qx.Proto._needsCompilationBottom=true; qx.Proto._needsCompilationLeft=true; qx.OO.addProperty({name:$[2964],type:$[2],defaultValue:0,impl:$[546]}); qx.OO.addProperty({name:$[2433],type:$[2],defaultValue:0,impl:$[529]}); qx.OO.addProperty({name:$[1067],type:$[2],defaultValue:0,impl:$[383]}); qx.OO.addProperty({name:$[1954],type:$[2],defaultValue:0,impl:$[440]}); qx.OO.addProperty({name:$[2163],type:$[0],defaultValue:$[32],impl:$[546]}); qx.OO.addProperty({name:$[2990],type:$[0],defaultValue:$[32],impl:$[529]}); qx.OO.addProperty({name:$[1565],type:$[0],defaultValue:$[32],impl:$[383]}); qx.OO.addProperty({name:$[2583],type:$[0],defaultValue:$[32],impl:$[440]}); qx.OO.addProperty({name:$[1673],impl:$[546],type:$[4],instance:$[93],convert:qx.renderer.color.ColorCache}); qx.OO.addProperty({name:$[2578],impl:$[529],type:$[4],instance:$[93],convert:qx.renderer.color.ColorCache}); qx.OO.addProperty({name:$[1468],impl:$[383],type:$[4],instance:$[93],convert:qx.renderer.color.ColorCache}); qx.OO.addProperty({name:$[1966],impl:$[440],type:$[4],instance:$[93],convert:qx.renderer.color.ColorCache}); qx.renderer.border.Border.fromString=function($0){var $1=new qx.renderer.border.Border; var $2=$0.split(/\s+/); var $3,$4; for(var $5=0;$5<$2.length;$5++){switch($3=$2[$5]){case $[107]:case $[112]:case $[64]:case $[74]:case $[9]:case $[603]:case $[785]:case $[654]:case $[32]:$1.setStyle($3); break; default:$4=parseFloat($3); if($4==$3||qx.lang.String.contains($3,$[28])){$1.setWidth($4); }else{$3=$3.toLowerCase(); $1.setColor(new qx.renderer.color.Color($3)); }break; }}return $1; }; qx.Proto.addListenerWidget=qx.lang.Function.returnTrue; qx.Proto.removeListenerWidget=qx.lang.Function.returnTrue; qx.Proto._sync=qx.lang.Function.returnTrue; qx.Proto.setWidth=function($0){this.setTopWidth($0); this.setRightWidth($0); this.setBottomWidth($0); this.setLeftWidth($0); return true; }; qx.Proto.setStyle=function($0){this.setTopStyle($0); this.setRightStyle($0); this.setBottomStyle($0); this.setLeftStyle($0); return true; }; qx.Proto.setColor=function($0){this.setTopColor($0); this.setRightColor($0); this.setBottomColor($0); this.setLeftColor($0); return true; }; qx.Proto.setTop=function($0,$1,$2){this.setTopWidth($0); this.setTopStyle($1); this.setTopColor($2); return true; }; qx.Proto.setRight=function($0,$1,$2){this.setRightWidth($0); this.setRightStyle($1); this.setRightColor($2); return true; }; qx.Proto.setBottom=function($0,$1,$2){this.setBottomWidth($0); this.setBottomStyle($1); this.setBottomColor($2); return true; }; qx.Proto.setLeft=function($0,$1,$2){this.setLeftWidth($0); this.setLeftStyle($1); this.setLeftColor($2); return true; }; if(qx.core.Client.getInstance().isGecko()){qx.Proto._initCache=function(){this._defsX={borderLeft:$[1],borderRight:$[1],MozBorderLeftColors:$[1],MozBorderRightColors:$[1]}; this._defsY={borderTop:$[1],borderBottom:$[1],MozBorderTopColors:$[1],MozBorderBottomColors:$[1]}; }; }else{qx.Proto._initCache=function(){this._defsX={borderLeft:$[1],borderRight:$[1]}; this._defsY={borderTop:$[1],borderBottom:$[1]}; if(qx.renderer.border.Border.enhancedCrossBrowserMode){this._enhancedDefsX={borderLeft:$[1],borderRight:$[1]}; this._enhancedDefsY={borderTop:$[1],borderBottom:$[1]}; }}; }if(qx.core.Client.getInstance().isGecko()||qx.renderer.border.Border.enhancedCrossBrowserMode){qx.Proto._addToThemed3DColors=function($0){var $1=qx.lang.Object.isEmpty(this._themedEdges); this._themedEdges[$0]=true; if($1){(new qx.renderer.color.ColorObject($[844])).add(this); (new qx.renderer.color.ColorObject($[641])).add(this); (new qx.renderer.color.ColorObject($[308])).add(this); (new qx.renderer.color.ColorObject($[707])).add(this); }}; qx.Proto._removeFromThemed3DColors=function($0){delete this._themedEdges[$0]; if(qx.lang.Object.isEmpty(this._themedEdges)){(new qx.renderer.color.ColorObject($[844])).remove(this); (new qx.renderer.color.ColorObject($[641])).remove(this); (new qx.renderer.color.ColorObject($[308])).remove(this); (new qx.renderer.color.ColorObject($[707])).remove(this); }}; }else{qx.Proto._addToThemed3DColors=function($0){var $1=qx.lang.Object.isEmpty(this._themedEdges); this._themedEdges[$0]=true; if($1){(new qx.renderer.color.ColorObject($[308])).add(this); }}; qx.Proto._removeFromThemed3DColors=function($0){delete this._themedEdges[$0]; if(qx.lang.Object.isEmpty(this._themedEdges)){(new qx.renderer.color.ColorObject($[308])).remove(this); }}; }qx.renderer.border.Border.data={1:{outset:{top:[$[71]],right:[$[54]],bottom:[$[54]],left:[$[71]]},inset:{top:[$[54]],right:[$[71]],bottom:[$[71]],left:[$[54]]}},2:{outset:{top:[$[141],$[71]],right:[$[247],$[54]],bottom:[$[247],$[54]],left:[$[141],$[71]]},inset:{top:[$[54],$[247]],right:[$[71],$[141]],bottom:[$[71],$[141]],left:[$[54],$[247]]},ridge:{top:[$[71],$[54]],right:[$[54],$[71]],bottom:[$[54],$[71]],left:[$[71],$[54]]},groove:{top:[$[54],$[71]],right:[$[71],$[54]],bottom:[$[71],$[54]],left:[$[54],$[71]]}}}; qx.Proto._generateDefString=function($0,$1,$2){if(typeof $0!==$[2]||$0<0){return $[1]; }var $3=[$0+$[28]]; if($1!=null){$3.push($1); } if($2 instanceof qx.renderer.color.Color){$2=$2.getStyle(); } if($2!=null){$3.push($2); }return $3.join($[48]); }; qx.Proto._updateColors=function($0,$1){this._needsCompilationTop=true; this._needsCompilationRight=true; this._needsCompilationBottom=true; this._needsCompilationLeft=true; this._sync($[16]); this._sync($[12]); this._sync($[24]); this._sync($[10]); }; qx.Proto._handleColorRegistration=function($0,$1,$2){if(qx.lang.String.contains($2.name,$[2916])){switch($0){case $[74]:case $[64]:case $[107]:case $[112]:this._addToThemed3DColors($2.name); break; default:this._removeFromThemed3DColors($2.name); }} if(qx.lang.String.contains($2.name,$[2690])){if($1 instanceof qx.renderer.color.ColorObject){switch($1){case this.getTopColor():case this.getRightColor():case this.getBottomColor():case this.getLeftColor():break; default:$1.remove(this); }} if($0 instanceof qx.renderer.color.ColorObject){$0.add(this); }}}; qx.Proto._modifyBorderTopProperty=function($0,$1,$2){this._handleColorRegistration($0,$1,$2); this._needsCompilationTop=true; this._useEnhancedCrossBrowserMode=null; this._sync($[16]); return true; }; qx.Proto._modifyBorderRightProperty=function($0,$1,$2){this._handleColorRegistration($0,$1,$2); this._needsCompilationRight=true; this._useEnhancedCrossBrowserMode=null; this._sync($[12]); return true; }; qx.Proto._modifyBorderBottomProperty=function($0,$1,$2){this._handleColorRegistration($0,$1,$2); this._needsCompilationBottom=true; this._useEnhancedCrossBrowserMode=null; this._sync($[24]); return true; }; qx.Proto._modifyBorderLeftProperty=function($0,$1,$2){this._handleColorRegistration($0,$1,$2); this._needsCompilationLeft=true; this._useEnhancedCrossBrowserMode=null; this._sync($[10]); return true; }; qx.Proto.getUseEnhancedCrossBrowserMode=function(){if(this._useEnhancedCrossBrowserMode==null){this._useEnhancedCrossBrowserMode=this._evalUseEnhancedCrossBrowserMode(); }return this._useEnhancedCrossBrowserMode; }; qx.Proto._evalUseEnhancedCrossBrowserMode=function(){if(this.getTopWidth()==2){switch(this.getTopStyle()){case $[74]:case $[64]:case $[107]:case $[112]:return true; }} if(this.getRightWidth()==2){switch(this.getRightStyle()){case $[74]:case $[64]:case $[107]:case $[112]:return true; }} if(this.getBottomWidth()==2){switch(this.getBottomStyle()){case $[74]:case $[64]:case $[107]:case $[112]:return true; }} if(this.getLeftWidth()==2){switch(this.getLeftStyle()){case $[74]:case $[64]:case $[107]:case $[112]:return true; }}return false; }; qx.Proto._applyWidget=function($0){this._applyWidgetX($0); this._applyWidgetY($0); }; qx.Proto._resetWidget=function($0){this._resetWidgetX($0); this._resetWidgetY($0); }; qx.Proto._resetWidgetX=function($0){return qx.renderer.border.Border._resetBorderX($0); }; qx.Proto._resetWidgetY=function($0){return qx.renderer.border.Border._resetBorderY($0); }; qx.Proto._applyWidgetXCommon=function($0){if(this._needsCompilationLeft){this._compileLeft(); } if(this._needsCompilationRight){this._compileRight(); } for(var $1 in this._defsX){$0._style[$1]=this._defsX[$1]; } if(!qx.core.Client.getInstance().isGecko()&&qx.renderer.border.Border.enhancedCrossBrowserMode){if(this.getUseEnhancedCrossBrowserMode()){$0._createElementForEnhancedBorder(); } if($0._borderStyle){for(var $1 in this._enhancedDefsX){$0._borderStyle[$1]=this._enhancedDefsX[$1]; }}}}; qx.Proto._applyWidgetYCommon=function($0){if(this._needsCompilationTop){this._compileTop(); } if(this._needsCompilationBottom){this._compileBottom(); } for(var $1 in this._defsY){$0._style[$1]=this._defsY[$1]; } if(!qx.core.Client.getInstance().isGecko()&&qx.renderer.border.Border.enhancedCrossBrowserMode){if(this.getUseEnhancedCrossBrowserMode()){$0._createElementForEnhancedBorder(); } if($0._borderStyle){for(var $1 in this._enhancedDefsY){$0._borderStyle[$1]=this._enhancedDefsY[$1]; }}}}; if(qx.core.Client.getInstance().isGecko()){qx.Proto._applyWidgetX=qx.Proto._applyWidgetXCommon; qx.Proto._applyWidgetY=qx.Proto._applyWidgetYCommon; qx.Proto._generateMozColorDefString=function($0,$1,$2){try{try{var $3=qx.renderer.border.Border.data[$0][$1][$2]; }catch(ex){} if(typeof $3===$[4]){for(var $4=0,$5=[],$6=$3.length;$4<$6;$4++){$5.push((new qx.renderer.color.ColorObject($3[$4]).getStyle())); }return $5.join($[48]); }}catch(ex){this.error("Failed to generate Mozilla Color Definition Strings",ex); }return $[1]; }; qx.Proto._compileTop=function(){var $0=this.getTopWidth(),$1=this.getTopStyle(),$2=this._defsY; $2.borderTop=this._generateDefString($0,$1,this.getTopColor()); $2.MozBorderTopColors=this._generateMozColorDefString($0,$1,$[16]); this._needsCompilationTop=false; }; qx.Proto._compileRight=function(){var $0=this.getRightWidth(),$1=this.getRightStyle(),$2=this._defsX; $2.borderRight=this._generateDefString($0,$1,this.getRightColor()); $2.MozBorderRightColors=this._generateMozColorDefString($0,$1,$[12]); this._needsCompilationRight=false; }; qx.Proto._compileBottom=function(){var $0=this.getBottomWidth(),$1=this.getBottomStyle(),$2=this._defsY; $2.borderBottom=this._generateDefString($0,$1,this.getBottomColor()); $2.MozBorderBottomColors=this._generateMozColorDefString($0,$1,$[24]); this._needsCompilationBottom=false; }; qx.Proto._compileLeft=function(){var $0=this.getLeftWidth(),$1=this.getLeftStyle(),$2=this._defsX; $2.borderLeft=this._generateDefString($0,$1,this.getLeftColor()); $2.MozBorderLeftColors=this._generateMozColorDefString($0,$1,$[10]); this._needsCompilationLeft=false; }; qx.renderer.border.Border._resetBorderX=function($0){var $1=$0._style; $1.borderLeft=$1.borderRight=$1.MozBorderLeftColors=$1.MozBorderRightColors=$[1]; }; qx.renderer.border.Border._resetBorderY=function($0){var $1=$0._style; $1.borderTop=$1.borderBottom=$1.MozBorderTopColors=$1.MozBorderBottomColors=$[1]; }; }else{qx.Proto._applyWidgetX=function($0){this._applyWidgetXCommon($0); if(qx.renderer.border.Border.enhancedCrossBrowserMode){if(this.getUseEnhancedCrossBrowserMode()){$0._createElementForEnhancedBorder(); } if($0._borderStyle){for(var $1 in this._enhancedDefsX){$0._borderStyle[$1]=this._enhancedDefsX[$1]; }}}}; qx.Proto._applyWidgetY=function($0){this._applyWidgetYCommon($0); if(qx.renderer.border.Border.enhancedCrossBrowserMode){if(this.getUseEnhancedCrossBrowserMode()){$0._createElementForEnhancedBorder(); } if($0._borderStyle){for(var $1 in this._enhancedDefsY){$0._borderStyle[$1]=this._enhancedDefsY[$1]; }}}}; qx.Proto._compileTop=function(){var $0=this.getTopWidth(); var $1=this.getTopStyle(); var $2=this.getTopColor(); switch($0){case 1:switch($1){case $[74]:case $[64]:$2=(new qx.renderer.color.ColorObject(qx.renderer.border.Border.data[$0][$1][$[16]][0])); $1=$[9]; }break; case 2:switch($1){case $[74]:case $[64]:case $[107]:case $[112]:if(qx.renderer.border.Border.enhancedCrossBrowserMode){try{var $3=qx.renderer.border.Border.data[$0][$1][$[16]]; if(typeof $3===$[4]){$1=$[9]; $0=1; $2=(new qx.renderer.color.ColorObject($3[1])); this._enhancedDefsY.borderTop=this._generateDefString($0,$1,$2); $2=(new qx.renderer.color.ColorObject($3[0])); }}catch(ex){this.error("Failed to compile top border",ex); this.warn($[331]+$0+$[346]+$1); }}else{$2=(new qx.renderer.color.ColorObject($[141])); }}break; }this._defsY.borderTop=this._generateDefString($0,$1,$2); this._needsCompilationTop=false; }; qx.Proto._compileRight=function(){var $0=this.getRightWidth(); var $1=this.getRightStyle(); var $2=this.getRightColor(); switch($0){case 1:switch($1){case $[74]:case $[64]:$2=(new qx.renderer.color.ColorObject(qx.renderer.border.Border.data[$0][$1][$[12]][0])); $1=$[9]; }break; case 2:switch($1){case $[74]:case $[64]:case $[107]:case $[112]:if(qx.renderer.border.Border.enhancedCrossBrowserMode){try{var $3=qx.renderer.border.Border.data[$0][$1][$[12]]; if(typeof $3===$[4]){$1=$[9]; $0=1; $2=(new qx.renderer.color.ColorObject($3[1])); this._enhancedDefsX.borderRight=this._generateDefString($0,$1,$2); $2=(new qx.renderer.color.ColorObject($3[0])); }}catch(ex){this.error("Failed to compile right border",ex); this.warn($[331]+$0+$[346]+$1); }}else{$2=(new qx.renderer.color.ColorObject($[141])); }}break; }this._defsX.borderRight=this._generateDefString($0,$1,$2); this._needsCompilationRight=false; }; qx.Proto._compileBottom=function(){var $0=this.getBottomWidth(); var $1=this.getBottomStyle(); var $2=this.getBottomColor(); switch($0){case 1:switch($1){case $[74]:case $[64]:$2=(new qx.renderer.color.ColorObject(qx.renderer.border.Border.data[$0][$1][$[24]][0])); $1=$[9]; }break; case 2:switch($1){case $[74]:case $[64]:case $[107]:case $[112]:if(qx.renderer.border.Border.enhancedCrossBrowserMode){try{var $3=qx.renderer.border.Border.data[$0][$1][$[24]]; if(typeof $3===$[4]){$1=$[9]; $0=1; $2=(new qx.renderer.color.ColorObject($3[1])); this._enhancedDefsY.borderBottom=this._generateDefString($0,$1,$2); $2=(new qx.renderer.color.ColorObject($3[0])); }}catch(ex){this.error("Failed to compile bottom border",ex); this.warn($[331]+$0+$[346]+$1); }}else{$2=(new qx.renderer.color.ColorObject($[141])); }}break; }this._defsY.borderBottom=this._generateDefString($0,$1,$2); this._needsCompilationBottom=false; }; qx.Proto._compileLeft=function(){var $0=this.getLeftWidth(); var $1=this.getLeftStyle(); var $2=this.getLeftColor(); switch($0){case 1:switch($1){case $[74]:case $[64]:$2=(new qx.renderer.color.ColorObject(qx.renderer.border.Border.data[$0][$1][$[10]][0])); $1=$[9]; }break; case 2:switch($1){case $[74]:case $[64]:case $[107]:case $[112]:if(qx.renderer.border.Border.enhancedCrossBrowserMode){try{var $3=qx.renderer.border.Border.data[$0][$1][$[10]]; if(typeof $3===$[4]){$1=$[9]; $0=1; $2=(new qx.renderer.color.ColorObject($3[1])); this._enhancedDefsX.borderLeft=this._generateDefString($0,$1,$2); $2=(new qx.renderer.color.ColorObject($3[0])); }}catch(ex){this.error("Failed to compile left border",ex); this.warn($[331]+$0+$[346]+$1); }}else{$2=(new qx.renderer.color.ColorObject($[141])); }}break; }this._defsX.borderLeft=this._generateDefString($0,$1,$2); this._needsCompilationLeft=false; }; qx.renderer.border.Border._resetBorderX=function($0){var $1=$0._style; $1.borderLeft=$1.borderRight=$[211]; if(qx.renderer.border.Border.enhancedCrossBrowserMode){$1=$0._borderStyle; if($1){$1.borderLeft=$1.borderRight=$[211]; }}}; qx.renderer.border.Border._resetBorderY=function($0){var $1=$0._style; $1.borderTop=$1.borderBottom=$[211]; if(qx.renderer.border.Border.enhancedCrossBrowserMode){$1=$0._borderStyle; if($1){$1.borderTop=$1.borderBottom=$[211]; }}}; }qx.Proto.dispose=function(){if(this.getDisposed()){return; } if(typeof this._defsX===$[4]){for(var $0 in this._defsX){delete this._defsX[$0]; }}delete this._defsX; if(typeof this._defsY===$[4]){for(var $0 in this._defsY){delete this._defsY[$0]; }}delete this._defsY; if(qx.renderer.border.Border.enhancedCrossBrowserMode){if(typeof this._enhancedDefsX===$[4]){for(var $0 in this._enhancedDefsX){delete this._enhancedDefsX[$0]; }}delete this._enhancedDefsX; if(typeof this._enhancedDefsY===$[4]){for(var $0 in this._enhancedDefsY){delete this._enhancedDefsY[$0]; }}delete this._enhancedDefsY; }delete this._themedEdges; return qx.core.Object.prototype.dispose.call(this); }; /* ID: qx.renderer.border.BorderObject */ qx.OO.defineClass($[2213],qx.renderer.border.Border,function($0,$1,$2){this._dependentObjects={}; qx.renderer.border.Border.call(this,$0,$1,$2); }); qx.renderer.border.BorderObject.fromString=function($0){var $1=new qx.renderer.border.BorderObject; var $2=$0.split(/\s+/); var $3,$4; for(var $5=0;$5<$2.length;$5++){$3=$2[$5]; switch($3){case $[107]:case $[112]:case $[64]:case $[74]:case $[9]:case $[603]:case $[785]:case $[654]:case $[32]:$1.setStyle($3); break; default:$4=parseFloat($3); if($4==$3||qx.lang.String.contains($3,$[28])){$1.setWidth($4); }else{$3=$3.toLowerCase(); $1.setColor(qx.renderer.color.Color.themedNames[$3]?new qx.renderer.color.ColorObject($3):new qx.renderer.color.Color($3)); }break; }}return $1; }; qx.Proto.addListenerWidget=function($0){this._dependentObjects[$0.toHashCode()]=$0; }; qx.Proto.removeListenerWidget=function($0){delete this._dependentObjects[$0.toHashCode()]; }; qx.Proto._sync=function($0){var $1=this._dependentObjects; var $2; for(vKey in $1){$2=$1[vKey]; if($2.isCreated()){$2._updateBorder($0); }}}; qx.Proto.dispose=function(){if(this.getDisposed()){return; } if(typeof this._dependentObjects===$[4]){var $0=this._dependentObjects; for(vKey in $0){delete $0[vKey]; }$0=null; delete this._dependentObjects; }return qx.renderer.border.Border.prototype.dispose.call(this); }; /* ID: qx.manager.object.AppearanceManager */ qx.OO.defineClass($[2830],qx.manager.object.ObjectManager,function(){qx.manager.object.ObjectManager.call(this); this._appearanceThemes={}; }); qx.Settings.setDefault($[446],$[919]); qx.OO.addProperty({name:$[446],type:$[4],allowNull:false,instance:$[694]}); qx.Proto.registerAppearanceTheme=function($0){this._appearanceThemes[$0.classname]=$0; if($0.classname==this.getSetting($[446])){this.setAppearanceTheme($0.getInstance()); }}; qx.Proto._modifyAppearanceTheme=function($0,$1,$2){var $3=qx.core.Init.getInstance().getComponent(); if($3&&$3.isUiReady()){qx.ui.core.ClientDocument.getInstance()._recursiveAppearanceThemeUpdate($0,$1); }return true; }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this._appearanceThemes=null; return qx.manager.object.ObjectManager.prototype.dispose.call(this); }; qx.Clazz.getInstance=qx.lang.Function.returnInstance; /* ID: qx.renderer.theme.AppearanceTheme */ qx.OO.defineClass($[694],qx.core.Object,function($0){qx.core.Object.call(this); this.setTitle($0); }); qx.OO.addProperty({name:$[166],type:$[0],allowNull:false,defaultValue:$[1]}); qx.Proto._appearances={}; qx.Proto.registerAppearance=function($0,$1){this._appearances[$0]=$1; }; qx.Proto.getAppearance=function($0){return this._appearances[$0]; }; qx.Proto.setupAppearance=function($0){if(!$0._setupDone){if($0.setup){$0.setup(this); }$0._setupDone=true; }}; qx.Proto.initialFrom=function($0){var $1=this.getAppearance($0); if($1){this.setupAppearance($1); try{return $1.initial?$1.initial(this):{}; }catch(ex){this.error("Couldn't apply initial appearance",ex); }}else{return this.error("Missing appearance: "+$0); }}; qx.Proto.stateFrom=function($0,$1){var $2=this.getAppearance($0); if($2){this.setupAppearance($2); try{return $2.state?$2.state(this,$1):{}; }catch(ex){this.error("Couldn't apply state appearance",ex); }}else{return this.error("Missing appearance: "+$0); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this._appearances=null; return qx.core.Object.prototype.dispose.call(this); }; /* ID: qx.theme.appearance.Classic */ qx.OO.defineClass($[919],qx.renderer.theme.AppearanceTheme,function($0){qx.renderer.theme.AppearanceTheme.call(this,$0||$[1744]); }); qx.Proto._appearances=qx.lang.Object.carefullyMergeWith({"image":{initial:function($0){return {allowStretchX:false,allowStretchY:false}; }},"client-document":{setup:function(){this.bgcolor=new qx.renderer.color.ColorObject($[114]); this.color=new qx.renderer.color.ColorObject($[773]); },initial:function($0){return {backgroundColor:this.bgcolor,color:this.color,hideFocus:true,enableElementFocus:false}; }},"blocker":{initial:function($0){return {cursor:$[53],backgroundImage:$[62]}; }},"atom":{initial:function($0){return {cursor:$[53],spacing:4,width:$[5],height:$[5],horizontalChildrenAlign:$[80],verticalChildrenAlign:$[36],stretchChildrenOrthogonalAxis:false,allowStretchY:false,allowStretchX:false}; }},"label":{setup:function(){this.color_disabled=new qx.renderer.color.ColorObject($[2700]); this.font=new qx.renderer.font.Font(11,$[119]); },initial:function($0){return {font:this.font,wrap:false}; },state:function($0,$1){return {color:$1.disabled?this.color_disabled:null}; }},"htmlcontainer":{initial:function($0){return $0.initialFrom($[97]); },state:function($0,$1){return $0.stateFrom($[97],$1); }},"popup":{initial:function($0){return {width:$[5],height:$[5]}; }},"tool-tip":{setup:function(){this.bgcolor=new qx.renderer.color.ColorObject($[1828]); this.color=new qx.renderer.color.ColorObject($[2097]); },initial:function($0){return qx.lang.Object.mergeWith($0.initialFrom($[769]),{backgroundColor:this.bgcolor,color:this.color,border:qx.renderer.border.BorderPresets.getInstance().info,paddingTop:1,paddingRight:3,paddingBottom:2,paddingLeft:3}); }},"iframe":{initial:function($0){return {border:qx.renderer.border.BorderPresets.getInstance().inset}; }},"button":{setup:function(){this.bgcolor_default=new qx.renderer.color.ColorObject($[536]); this.bgcolor_over=new qx.renderer.color.Color($[1049]); this.bgcolor_left=new qx.renderer.color.Color($[449]); this.border_pressed=qx.renderer.border.BorderPresets.getInstance().inset; this.border_default=qx.renderer.border.BorderPresets.getInstance().outset; },initial:function($0){return $0.initialFrom($[218]); },state:function($0,$1){var $2={backgroundColor:$1.abandoned?this.bgcolor_left:$1.over?this.bgcolor_over:this.bgcolor_default,border:$1.pressed||$1.checked||$1.abandoned?this.border_pressed:this.border_default}; if($1.pressed||$1.abandoned){$2.paddingTop=4; $2.paddingRight=3; $2.paddingBottom=2; $2.paddingLeft=5; }else{$2.paddingTop=$2.paddingBottom=3; $2.paddingRight=$2.paddingLeft=4; }return $2; }},"toolbar":{setup:function(){this.bgcolor=new qx.renderer.color.ColorObject($[114]); },initial:function($0){return {border:qx.renderer.border.BorderPresets.getInstance().thinOutset,backgroundColor:this.bgcolor,height:$[5]}; }},"toolbar-part":{initial:function($0){return {width:$[5]}; }},"toolbar-part-handle":{initial:function($0){return {width:10}; }},"toolbar-part-handle-line":{initial:function($0){return {top:2,left:3,bottom:2,width:4,border:qx.renderer.border.BorderPresets.getInstance().thinOutset}; }},"toolbar-separator":{initial:function($0){return {width:8}; }},"toolbar-separator-line":{setup:function(){var $0=this.border=new qx.renderer.border.BorderObject; $0.setLeftColor($[54]); $0.setRightColor($[71]); $0.setLeftStyle($[9]); $0.setRightStyle($[9]); $0.setLeftWidth(1); $0.setRightWidth(1); $0.setTopWidth(0); $0.setBottomWidth(0); },initial:function($0){return {top:2,left:3,width:2,bottom:2,border:this.border}; }},"toolbar-button":{setup:function(){this.bgcolor_default=new qx.renderer.color.ColorObject($[536]); this.bgcolor_left=new qx.renderer.color.Color($[449]); this.border_pressed=qx.renderer.border.BorderPresets.getInstance().thinInset; this.border_over=qx.renderer.border.BorderPresets.getInstance().thinOutset; this.border_default=qx.renderer.border.BorderPresets.getInstance().none; this.checked_background=$[470]; },initial:function($0){return {cursor:$[53],spacing:4,width:$[5],verticalChildrenAlign:$[36]}; },state:function($0,$1){var $2={backgroundColor:$1.abandoned?this.bgcolor_left:this.bgcolor_default,backgroundImage:$1.checked&&!$1.over?this.checked_background:null}; if($1.pressed||$1.checked||$1.abandoned){$2.border=this.border_pressed; $2.paddingTop=3; $2.paddingRight=2; $2.paddingBottom=1; $2.paddingLeft=4; }else if($1.over){$2.border=this.border_over; $2.paddingTop=$2.paddingBottom=2; $2.paddingLeft=$2.paddingRight=3; }else{$2.border=this.border_default; $2.paddingTop=$2.paddingBottom=3; $2.paddingLeft=$2.paddingRight=4; }return $2; }},"bar-view":{setup:function(){this.background=new qx.renderer.color.ColorObject($[261]); },initial:function($0){return {backgroundColor:this.background,border:qx.renderer.border.BorderPresets.getInstance().shadow}; }},"bar-view-pane":{state:function($0,$1){if($1.barHorizontal){return {width:null,height:$[44]}; }else{return {width:$[44],height:null}; }}},"bar-view-page":{initial:function($0){return {left:10,right:10,top:10,bottom:10}; }},"bar-view-bar":{setup:function(){this.background_color=new qx.renderer.color.ColorObject($[658]); this.border_color=new qx.renderer.color.ColorObject($[54]); this.border_top=new qx.renderer.border.BorderObject; this.border_top.setBottom(1,$[9],this.border_color); this.border_bottom=new qx.renderer.border.BorderObject; this.border_bottom.setTop(1,$[9],this.border_color); this.border_left=new qx.renderer.border.BorderObject; this.border_left.setRight(1,$[9],this.border_color); this.border_right=new qx.renderer.border.BorderObject; this.border_right.setLeft(1,$[9],this.border_color); },initial:function($0){return {backgroundColor:this.background_color}; },state:function($0,$1){if($1.barTop){return {paddingTop:1,paddingRight:0,paddingBottom:1,paddingLeft:0,border:this.border_top,height:$[5],width:null,orientation:$[26]}; }else if($1.barBottom){return {paddingTop:1,paddingRight:0,paddingBottom:1,paddingLeft:0,border:this.border_bottom,height:$[5],width:null,orientation:$[26]}; }else if($1.barLeft){return {paddingTop:0,paddingRight:1,paddingBottom:0,paddingLeft:1,border:this.border_left,height:null,width:$[5],orientation:$[27]}; }else if($1.barRight){return {paddingTop:0,paddingRight:1,paddingBottom:0,paddingLeft:1,border:this.border_right,height:null,width:$[5],orientation:$[27]}; }}},"bar-view-button":{setup:function(){this.background_color_normal=null; this.background_color_checked=new qx.renderer.color.ColorObject($[261]); this.border_color=new qx.renderer.color.ColorObject($[54]); this.border_color_checked=new qx.renderer.color.ColorObject($[472]); this.border_top_checked=new qx.renderer.border.Border(1,$[9],this.border_color); this.border_top_checked.setBottom(3,$[9],this.border_color_checked); this.border_bottom_checked=new qx.renderer.border.Border(1,$[9],this.border_color); this.border_bottom_checked.setTop(3,$[9],this.border_color_checked); this.border_left_checked=new qx.renderer.border.Border(1,$[9],this.border_color); this.border_left_checked.setRight(3,$[9],this.border_color_checked); this.border_right_checked=new qx.renderer.border.Border(1,$[9],this.border_color); this.border_right_checked.setLeft(3,$[9],this.border_color_checked); },initial:function($0){return qx.lang.Object.mergeWith($0.initialFrom($[218]),{iconPosition:$[16]}); },state:function($0,$1){var $2={backgroundColor:$1.checked?this.background_color_checked:this.background_color_normal,allowStretchX:true,allowStretchY:true}; if($1.checked||$1.over){if($1.barTop){$2.border=this.border_top_checked; $2.paddingTop=3; $2.paddingRight=6; $2.paddingBottom=1; $2.paddingLeft=6; }else if($1.barBottom){$2.border=this.border_bottom_checked; $2.paddingTop=1; $2.paddingRight=6; $2.paddingBottom=3; $2.paddingLeft=6; }else if($1.barLeft){$2.border=this.border_left_checked; $2.paddingTop=3; $2.paddingRight=4; $2.paddingBottom=3; $2.paddingLeft=6; }else if($1.barRight){$2.border=this.border_right_checked; $2.paddingTop=3; $2.paddingRight=6; $2.paddingBottom=3; $2.paddingLeft=4; }}else{$2.border=qx.renderer.border.BorderPresets.getInstance().none; $2.paddingTop=$2.paddingBottom=4; $2.paddingRight=$2.paddingLeft=7; } if($1.barTop||$1.barBottom){$2.marginTop=$2.marginBottom=0; $2.marginRight=$2.marginLeft=1; $2.width=$[5]; $2.height=null; }else if($1.barLeft||$1.barRight){$2.marginTop=$2.marginBottom=1; $2.marginRight=$2.marginLeft=0; $2.height=$[5]; $2.width=null; }return $2; }},"window":{setup:function(){this.bgcolor=new qx.renderer.color.ColorObject($[114]); this.color=new qx.renderer.color.ColorObject($[773]); },initial:function($0){return {backgroundColor:this.bgcolor,color:this.color,paddingTop:1,paddingRight:1,paddingBottom:1,paddingLeft:1}; },state:function($0,$1){return {border:$1.maximized?qx.renderer.border.BorderPresets.getInstance().none:qx.renderer.border.BorderPresets.getInstance().outset}; }},"window-captionbar":{setup:function(){this.bgcolor_active=new qx.renderer.color.ColorObject($[1368]); this.color_active=new qx.renderer.color.ColorObject($[1835]); this.bgcolor_inactive=new qx.renderer.color.ColorObject($[2202]); this.color_inactive=new qx.renderer.color.ColorObject($[2456]); },initial:function($0){return {paddingTop:1,paddingRight:2,paddingBottom:2,paddingLeft:2,verticalChildrenAlign:$[36],height:$[5],overflow:$[25]}; },state:function($0,$1){return {backgroundColor:$1.active?this.bgcolor_active:this.bgcolor_inactive,color:$1.active?this.color_active:this.color_inactive}; }},"window-resize-frame":{initial:function($0){return {border:qx.renderer.border.BorderPresets.getInstance().shadow}; }},"window-captionbar-icon":{initial:function($0){return {marginRight:2}; }},"window-captionbar-title":{setup:function(){this.font=new qx.renderer.font.Font(11,$[119]); this.font.setBold(true); },initial:function($0){return {cursor:$[53],font:this.font,marginRight:2,wrap:false}; }},"window-captionbar-button":{initial:function($0){return $0.initialFrom($[122]); },state:function($0,$1){var $2=$0.stateFrom($[122],$1); if($1.pressed||$1.abandoned){$2.paddingTop=2; $2.paddingRight=1; $2.paddingBottom=0; $2.paddingLeft=3; }else{$2.paddingTop=$2.paddingBottom=1; $2.paddingRight=$2.paddingLeft=2; }return $2; }},"window-captionbar-minimize-button":{initial:function($0){return $0.initialFrom($[165]); },state:function($0,$1){return $0.stateFrom($[165],$1); }},"window-captionbar-restore-button":{initial:function($0){return $0.initialFrom($[165]); },state:function($0,$1){return $0.stateFrom($[165],$1); }},"window-captionbar-maximize-button":{initial:function($0){return $0.initialFrom($[165]); },state:function($0,$1){return $0.stateFrom($[165],$1); }},"window-captionbar-close-button":{initial:function($0){return qx.lang.Object.mergeWith($0.initialFrom($[165]),{marginLeft:2}); },state:function($0,$1){return $0.stateFrom($[165],$1); }},"window-statusbar":{initial:function($0){return {border:qx.renderer.border.BorderPresets.getInstance().thinInset,height:$[5]}; }},"window-statusbar-text":{initial:function($0){return {paddingTop:1,paddingRight:4,paddingBottom:1,paddingLeft:4,cursor:$[53]}; }},"resizer":{initial:function($0){return {border:qx.renderer.border.BorderPresets.getInstance().outset}; }},"resizer-frame":{initial:function($0){return {border:qx.renderer.border.BorderPresets.getInstance().shadow}; }},"menu":{setup:function(){this.bgcolor=new qx.renderer.color.ColorObject($[266]); },initial:function($0){return {width:$[5],height:$[5],backgroundColor:this.bgcolor,border:qx.renderer.border.BorderPresets.getInstance().outset,paddingTop:1,paddingRight:1,paddingBottom:1,paddingLeft:1}; }},"menu-layout":{initial:function($0){return {top:0,right:0,bottom:0,left:0}; }},"menu-button":{setup:function(){this.BGCOLOR_OVER=new qx.renderer.color.ColorObject("highlight"); this.BGCOLOR_OUT=null; this.COLOR_OVER=new qx.renderer.color.ColorObject("highlighttext"); this.COLOR_OUT=null; },initial:function($0){return {minWidth:$[5],height:$[5],spacing:2,paddingTop:2,paddingRight:4,paddingBottom:2,paddingLeft:4,cursor:$[53],verticalChildrenAlign:$[36],allowStretchX:true}; },state:function($0,$1){return {backgroundColor:$1.over?this.BGCOLOR_OVER:this.BGCOLOR_OUT,color:$1.over?this.COLOR_OVER:this.COLOR_OUT}; }},"menu-check-box":{initial:function($0){return $0.initialFrom($[257]); },state:function($0,$1){return $0.stateFrom($[257],$1); }},"menu-radio-button":{initial:function($0){return $0.initialFrom($[257]); },state:function($0,$1){return $0.stateFrom($[257],$1); }},"menu-separator":{initial:function($0){return {height:$[5],marginTop:3,marginBottom:2,paddingLeft:3,paddingRight:3}; }},"menu-separator-line":{initial:function($0){return {right:0,left:0,height:$[5],border:qx.renderer.border.BorderPresets.getInstance().verticalDivider}; }},"list":{setup:function(){this.bgcolor=new qx.renderer.color.Color($[65]); },initial:function($0){return {overflow:$[25],border:qx.renderer.border.BorderPresets.getInstance().thinInset,backgroundColor:this.bgcolor}; }},"list-item":{setup:function(){this.bgcolor_selected=new qx.renderer.color.ColorObject($[287]); this.color_selected=new qx.renderer.color.ColorObject($[557]); },initial:function($0){return {cursor:$[53],height:$[5],horizontalChildrenAlign:$[10],verticalChildrenAlign:$[36],spacing:4,paddingTop:3,paddingRight:5,paddingBottom:3,paddingLeft:5,minWidth:$[5]}; },state:function($0,$1){return {backgroundColor:$1.selected?this.bgcolor_selected:null,color:$1.selected?this.color_selected:null}; }},"text-field":{setup:function(){this.font=new qx.renderer.font.Font(11,$[119]); },initial:function($0){return {hideFocus:true,border:qx.renderer.border.BorderPresets.getInstance().inset,paddingTop:1,paddingRight:3,paddingBottom:1,paddingLeft:3,allowStretchY:false,allowStretchX:true,font:this.font,width:$[5],height:$[5]}; },state:function($0,$1){return $0.stateFrom($[97],$1); }},"text-area":{initial:function($0){return qx.lang.Object.mergeWith($0.initialFrom($[168]),{overflow:$[5],marginTop:0,marginBottom:0}); },state:function($0,$1){return $0.stateFrom($[168],$1); }},"combo-box":{setup:function(){this.bgcolor=new qx.renderer.color.Color($[65]); },initial:function($0){return {minWidth:40,width:120,height:$[5],border:qx.renderer.border.BorderPresets.getInstance().inset,backgroundColor:this.bgcolor,allowStretchY:false}; }},"combo-box-ex":{setup:function(){this.bgcolor=new qx.renderer.color.Color($[65]); },initial:function($0){return {width:$[5],height:$[5],border:qx.renderer.border.BorderPresets.getInstance().inset,backgroundColor:this.bgcolor,allowStretchY:false}; }},"combo-box-list":{initial:function($0){return qx.lang.Object.mergeWith($0.initialFrom($[236]),{top:0,right:0,bottom:0,left:0,border:null,overflow:$[117]}); }},"combo-box-ex-list":{initial:function($0){return qx.lang.Object.mergeWith($0.initialFrom($[236]),{statusBarVisible:false,columnVisibilityButtonVisible:false,height:$[281],maxHeight:150,top:0,left:0,border:null}); }},"combo-box-popup":{initial:function($0){return qx.lang.Object.mergeWith($0.initialFrom($[236]),{height:$[5],maxHeight:150,border:qx.renderer.border.BorderPresets.getInstance().shadow}); }},"combo-box-ex-popup":{initial:function($0){return qx.lang.Object.mergeWith($0.initialFrom($[236]),{width:$[5],height:$[5],border:qx.renderer.border.BorderPresets.getInstance().shadow}); }},"combo-box-text-field":{setup:function(){this.bgcolor=new qx.renderer.color.Color($[443]); },initial:function($0){return qx.lang.Object.mergeWith($0.initialFrom($[168]),{border:qx.renderer.border.BorderPresets.getInstance().none,width:$[44],backgroundColor:this.bgcolor}); }},"combo-box-ex-text-field":{setup:function(){this.bgcolor=new qx.renderer.color.Color($[443]); },initial:function($0){return qx.lang.Object.mergeWith($0.initialFrom($[168]),{border:qx.renderer.border.BorderPresets.getInstance().none,minWidth:30,width:100,backgroundColor:this.bgcolor}); }},"combo-box-button":{initial:function($0){return qx.lang.Object.mergeWith($0.initialFrom($[122]),{height:null,allowStretchY:true}); },state:function($0,$1){return qx.lang.Object.mergeWith($0.stateFrom($[122],$1),{paddingTop:0,paddingRight:3,paddingBottom:0,paddingLeft:2}); }},"treevirtual-focus-indicator":{},"tree-element":{initial:function($0){return {height:16,verticalChildrenAlign:$[36]}; }},"tree-element-icon":{initial:function($0){return {width:16,height:16}; }},"tree-element-label":{setup:function(){this.bgcolor_selected=new qx.renderer.color.ColorObject($[287]); this.color_selected=new qx.renderer.color.ColorObject($[557]); },initial:function($0){return qx.lang.Object.mergeWith($0.initialFrom($[97]),{cursor:$[53],marginLeft:3,height:15,paddingTop:2,paddingRight:2,paddingBottom:2,paddingLeft:2,allowStretchY:false}); },state:function($0,$1){return qx.lang.Object.mergeWith($0.stateFrom($[97],$1),{backgroundColor:$1.selected?this.bgcolor_selected:null,color:$1.selected?this.color_selected:null}); }},"tree-folder":{initial:function($0){return $0.initialFrom($[358]); },state:function($0,$1){return $0.stateFrom($[358],$1); }},"tree-folder-icon":{initial:function($0){return {width:16,height:16}; }},"tree-folder-label":{initial:function($0){return $0.initialFrom($[305]); },state:function($0,$1){return $0.stateFrom($[305],$1); }},"tree":{initial:function($0){return $0.initialFrom($[224]); },state:function($0,$1){return $0.stateFrom($[224],$1); }},"tree-icon":{initial:function($0){return $0.initialFrom($[307]); },state:function($0,$1){return $0.stateFrom($[307],$1); }},"tree-label":{initial:function($0){return $0.initialFrom($[348]); },state:function($0,$1){return $0.stateFrom($[348],$1); }},"tree-container":{initial:function($0){return {verticalChildrenAlign:$[16]}; }},"tree-folder-container":{initial:function($0){return {height:$[5],verticalChildrenAlign:$[16]}; }},"list-view":{initial:function($0){return {cursor:$[53],overflow:$[25]}; }},"list-view-pane":{initial:function($0){return {width:$[44],horizontalSpacing:1,overflow:$[25]}; }},"list-view-header":{setup:function(){this.border=new qx.renderer.border.Border; this.border.setBottom(1,$[9],$[1950]); this.bgcolor=new qx.renderer.color.Color($[2793]); },initial:function($0){return {height:$[5],overflow:$[25],border:this.border,backgroundColor:this.bgcolor}; }},"list-view-header-cell":{setup:function(){this.border_hover=new qx.renderer.border.Border; this.border_hover.setBottom(2,$[9],$[634]); this.bgcolor_hover=new qx.renderer.color.Color($[65]); },initial:function($0){return {overflow:$[25],paddingTop:2,paddingRight:6,paddingBottom:2,paddingLeft:6,spacing:4}; },state:function($0,$1){if($1.over){return {backgroundColor:this.bgcolor_hover,paddingBottom:0,border:this.border_hover}; }else{return {backgroundColor:null,paddingBottom:2,border:null}; }}},"list-view-header-separator":{setup:function(){this.bgcolor=new qx.renderer.color.Color($[414]); },initial:function($0){return {backgroundColor:this.bgcolor,width:1,marginTop:1,marginBottom:1}; }},"list-view-content-cell":{setup:function(){this.bgcolor_selected=new qx.renderer.color.ColorObject($[287]); this.color_selected=new qx.renderer.color.ColorObject($[557]); },state:function($0,$1){return {backgroundColor:$1.selected?this.bgcolor_selected:null,color:$1.selected?this.color_selected:null}; }},"list-view-content-cell-image":{initial:function($0){return {paddingLeft:6,paddingRight:6}; },state:function($0,$1){return $0.stateFrom($[622],$1); }},"list-view-content-cell-text":{initial:function($0){return qx.lang.Object.mergeWith($0.initialFrom($[955]),{overflow:$[25],paddingLeft:6,paddingRight:6}); },state:function($0,$1){return qx.lang.Object.mergeWith($0.stateFrom($[955],$1),$0.stateFrom($[622],$1)); }},"list-view-content-cell-html":{initial:function($0){return $0.initialFrom($[173]); },state:function($0,$1){return $0.stateFrom($[173],$1); }},"list-view-content-cell-icon-html":{initial:function($0){return $0.initialFrom($[173]); },state:function($0,$1){return $0.stateFrom($[173],$1); }},"list-view-content-cell-link":{initial:function($0){return $0.initialFrom($[173]); },state:function($0,$1){return $0.stateFrom($[173],$1); }},"tab-view":{initial:function($0){return {spacing:-1}; }},"tab-view-bar":{initial:function($0){return {height:$[5]}; }},"tab-view-pane":{setup:function(){this.border=new qx.renderer.border.Border(1,$[9],$[258]); this.bgcolor=new qx.renderer.color.ColorObject($[261]); },initial:function($0){return {height:$[44],backgroundColor:this.bgcolor,border:this.border,paddingTop:10,paddingRight:10,paddingBottom:10,paddingLeft:10}; }},"tab-view-page":{initial:function($0){return {top:0,right:0,bottom:0,left:0}; }},"tab-view-button":{setup:function(){this.bgcolor_normal=new qx.renderer.color.ColorObject($[658]); this.bgcolor_checked=new qx.renderer.color.ColorObject($[261]); this.border_top_normal=new qx.renderer.border.Border(1,$[9],$[258]); this.border_top_normal.setBottomWidth(0); this.border_top_checked=new qx.renderer.border.Border(1,$[9],$[258]); this.border_top_checked.setBottomWidth(0); this.border_top_checked.setTop(3,$[9],$[472]); this.border_bottom_normal=new qx.renderer.border.Border(1,$[9],$[258]); this.border_bottom_normal.setTopWidth(0); this.border_bottom_checked=new qx.renderer.border.Border(1,$[9],$[258]); this.border_bottom_checked.setTopWidth(0); this.border_bottom_checked.setBottom(3,$[9],$[472]); },initial:function($0){return $0.initialFrom($[218]); },state:function($0,$1){var $2; if($1.checked){$2={backgroundColor:this.bgcolor_checked,zIndex:1,paddingTop:2,paddingBottom:4,paddingLeft:7,paddingRight:8,border:$1.barTop?this.border_top_checked:this.border_bottom_checked,marginTop:0,marginBottom:0,marginRight:-1,marginLeft:-2}; if($1.alignLeft){if($1.firstChild){$2.paddingLeft=6; $2.paddingRight=7; $2.marginLeft=0; }}else{if($1.lastChild){$2.paddingLeft=8; $2.paddingRight=5; $2.marginRight=0; }}}else{$2={backgroundColor:$1.over?this.bgcolor_checked:this.bgcolor_normal,zIndex:0,paddingTop:2,paddingBottom:2,paddingLeft:5,paddingRight:6,marginRight:1,marginLeft:0}; if($1.alignLeft){if($1.firstChild){$2.paddingLeft=6; $2.paddingRight=5; }}else{if($1.lastChild){$2.paddingLeft=6; $2.paddingRight=5; $2.marginRight=0; }} if($1.barTop){$2.border=this.border_top_normal; $2.marginTop=3; $2.marginBottom=1; }else{$2.border=this.border_bottom_normal; $2.marginTop=1; $2.marginBottom=3; }}return $2; }},"field-set":{setup:function(){this.bgcolor=new qx.renderer.color.ColorObject($[114]); },initial:function($0){return {backgroundColor:this.bgcolor}; }},"field-set-legend":{setup:function(){this.bgcolor=new qx.renderer.color.ColorObject($[114]); },initial:function($0){return qx.lang.Object.mergeWith($0.initialFrom($[218]),{top:1,left:10,backgroundColor:this.bgcolor,paddingRight:3,paddingLeft:4,marginRight:10}); }},"field-set-frame":{initial:function($0){return {top:8,left:2,right:2,bottom:2,paddingTop:12,paddingRight:9,paddingBottom:12,paddingLeft:9,border:qx.renderer.border.BorderPresets.getInstance().groove}; }},"check-box-field-set-legend":{setup:function(){this.bgcolor=new qx.renderer.color.ColorObject($[114]); },initial:function($0){return qx.lang.Object.mergeWith($0.initialFrom($[218]),{top:1,left:10,backgroundColor:this.bgcolor,paddingRight:3}); }},"radio-button-field-set-legend":{initial:function($0){return $0.initialFrom($[824]); }},"spinner":{setup:function(){this.bgcolor=new qx.renderer.color.Color($[65]); },initial:function($0){return {width:60,height:22,border:qx.renderer.border.BorderPresets.getInstance().inset,backgroundColor:this.bgcolor}; }},"spinner-field":{initial:function($0){return qx.lang.Object.mergeWith($0.initialFrom($[168]),{width:$[44],border:qx.renderer.border.BorderPresets.getInstance().none}); },state:function($0,$1){return $0.stateFrom($[168],$1); }},"spinner-button-up":{initial:function($0){return qx.lang.Object.mergeWith($0.initialFrom($[310]),{height:$[44],width:16,backgroundColor:new qx.renderer.color.ColorObject($[114])}); },state:function($0,$1){return qx.lang.Object.mergeWith($0.stateFrom($[122],$1),{paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:3}); }},"spinner-button-down":{initial:function($0){return qx.lang.Object.mergeWith($0.initialFrom($[310]),{height:$[44],width:16,backgroundColor:new qx.renderer.color.ColorObject($[114])}); },state:function($0,$1){return qx.lang.Object.mergeWith($0.stateFrom($[122],$1),{paddingTop:1,paddingRight:0,paddingBottom:0,paddingLeft:3}); }},"colorselector":{setup:function(){this.border=qx.renderer.border.BorderPresets.getInstance().outset; },initial:function($0){return {border:this.border,width:$[5],height:$[5]}; },state:function($0,$1){}},"datechooser-toolbar-button":{setup:function(){this.bgcolor_default=new qx.renderer.color.ColorObject($[536]); this.bgcolor_left=new qx.renderer.color.Color($[449]); this.border_pressed=qx.renderer.border.BorderPresets.getInstance().thinInset; this.border_over=qx.renderer.border.BorderPresets.getInstance().thinOutset; this.border_default=null; this.checked_background=$[470]; },initial:function($0){return {cursor:$[53],spacing:4,width:$[5],verticalChildrenAlign:$[36]}; },state:function($0,$1){var $2={backgroundColor:$1.abandoned?this.bgcolor_left:this.bgcolor_default,backgroundImage:($1.checked&&!$1.over)?this.checked_background:null}; if($1.pressed||$1.checked||$1.abandoned){$2.border=this.border_pressed; }else if($1.over){$2.border=this.border_over; }else{$2.border=this.border_default; } if($1.pressed||$1.checked||$1.abandoned){$2.paddingTop=2; $2.paddingRight=0; $2.paddingBottom=0; $2.paddingLeft=2; }else if($1.over){$2.paddingTop=$2.paddingBottom=1; $2.paddingLeft=$2.paddingRight=1; }else{$2.paddingTop=$2.paddingBottom=2; $2.paddingLeft=$2.paddingRight=2; }return $2; }},"datechooser-monthyear":{setup:function(){this.font=new qx.renderer.font.Font(13,$[119]); },initial:function($0){return {font:this.font,textAlign:$[80],verticalAlign:$[36]}; }},"datechooser-datepane":{setup:function(){this.border=new qx.renderer.border.Border(1,$[9],$[199]); this.bgcolor=new qx.renderer.color.ColorObject($[127]); },initial:function($0){return {border:this.border,backgroundColor:this.bgcolor}; }},"datechooser-weekday":{setup:function(){this.border=new qx.renderer.border.Border; this.border.set({bottomColor:$[199],bottomStyle:$[9],bottomWidth:1}); this.color=new qx.renderer.color.ColorObject($[127]); this.bgcolor=new qx.renderer.color.ColorObject($[920]); this.font=new qx.renderer.font.Font(11,$[119]); this.font.setBold(true); },initial:function($0){return {border:this.border,font:this.font,textAlign:$[80]}; },state:function($0,$1){return {color:$1.weekend?this.bgcolor:this.color,backgroundColor:$1.weekend?this.color:this.bgcolor}; }},"datechooser-day":{setup:function(){this.font=new qx.renderer.font.Font(11,$[119]); this.selectedColor=new qx.renderer.color.ColorObject($[2109]); this.selectedBgColor=new qx.renderer.color.ColorObject($[287]); this.color=new qx.renderer.color.ColorObject($[2709]); this.otherMonthColor=new qx.renderer.color.ColorObject($[1995]); this.transparentBorder=new qx.renderer.border.Border(1,$[32]); },initial:function($0){return {cursor:$[53],border:this.border,color:this.color,font:this.font,textAlign:$[80],verticalAlign:$[36],selectable:false}; },state:function($0,$1){return {border:$1.today?qx.renderer.border.BorderPresets.getInstance().black:this.transparentBorder,color:$1.selected?this.selectedColor:($1.otherMonth?this.otherMonthColor:this.color),backgroundColor:$1.selected?this.selectedBgColor:null}; }},"datechooser-week":{setup:function(){this.border=new qx.renderer.border.Border; this.border.set({rightColor:$[199],rightStyle:$[9],rightWidth:1}); this.headerBorder=new qx.renderer.border.Border; this.headerBorder.set({rightColor:$[199],rightStyle:$[9],rightWidth:1,bottomColor:$[199],bottomStyle:$[9],bottomWidth:1}); this.color=new qx.renderer.color.ColorObject($[920]); this.font=new qx.renderer.font.Font(11,$[119]); },initial:function($0){return {border:this.border,font:this.font,color:this.color,paddingLeft:2}; },state:function($0,$1){return {border:$1.header?this.headerBorder:this.border}; }},"table-focus-statusbar":{setup:function(){this.font=new qx.renderer.font.Font(11,$[119]); this.border=new qx.renderer.border.Border; this.border.set({topColor:$[54],topStyle:$[9],topWidth:1}); },initial:function($0){return {font:this.font,border:this.border,paddingLeft:2,paddingRight:2}; }},"table-focus-indicator":{setup:function(){this.border=new qx.renderer.border.Border(3,$[9],$[760]); this.blurBorder=new qx.renderer.border.Border(3,$[9],$[2174]); this.editingBorder=new qx.renderer.border.Border(2,$[9],$[760]); },state:function($0,$1){return {border:$1.editing?this.editingBorder:($1.tableHasFocus?this.border:this.blurBorder)}; }},"table-editor-textfield":{setup:function(){this.font=new qx.renderer.font.Font(11,$[119]); },initial:function($0){return {font:this.font,border:qx.renderer.border.BorderPresets.getInstance().none,paddingLeft:2,paddingRight:2,paddingTop:0,paddingBottom:0}; }},"table-header-cell":{setup:function(){this.border=new qx.renderer.border.Border; this.border.set({rightColor:$[474],rightStyle:$[9],rightWidth:1,bottomColor:$[474],bottomStyle:$[9],bottomWidth:2}); this.mouseOverBorder=new qx.renderer.border.Border; this.mouseOverBorder.set({rightColor:$[474],rightStyle:$[9],rightWidth:1,bottomColor:$[634],bottomStyle:$[9],bottomWidth:2}); this.mouseOverBackground=new qx.renderer.color.ColorObject($[65]); this.background=new qx.renderer.color.ColorObject($[2512]); },initial:function($0){return {cursor:$[53],border:this.border,paddingLeft:2,paddingRight:2,spacing:2,overflow:$[25],selectable:false,backgroundColor:this.background,iconPosition:$[12],verticalChildrenAlign:$[36]}; },state:function($0,$1){return {backgroundColor:$1.mouseover?this.mouseOverBackground:this.background,border:$1.mouseover?this.mouseOverBorder:this.border}; }},"splitpane":{initial:function($0){return {overflow:$[25]}; }},"splitpane-glasspane":{setup:function(){this.background=new qx.renderer.color.ColorObject($[54]); },initial:function($0){return {zIndex:1e7,backgroundColor:this.background}; },state:function($0,$1){return {opacity:$1.visible?0.2:0}; }},"splitpane-splitter":{initial:function($0){return {backgroundColor:$[114]}; },state:function($0,$1){return {cursor:$1.horizontal?$[369]:$[391]}; }},"splitpane-slider":{initial:function($0){return {opacity:0.5,zIndex:1e8}; },state:function($0,$1){return {backgroundColor:$1.dragging?$[247]:$[114]}; }},"splitpane-knob":{state:function($0,$1){var $2={opacity:$1.dragging?0.5:1.0}; if($1.horizontal){$2.top=$[663]; $2.left=null; $2.marginLeft=-6; $2.marginTop=0; $2.cursor=$[369]; }else if($1.vertical){$2.top=null; $2.left=$[663]; $2.marginTop=-6; $2.marginLeft=0; $2.cursor=$[391]; }return $2; }}},qx.Super.prototype._appearances); qx.Clazz.getInstance=qx.lang.Function.returnInstance; qx.manager.object.AppearanceManager.getInstance().registerAppearanceTheme(qx.Clazz); /* ID: qx.renderer.font.Font */ qx.OO.defineClass($[215],qx.core.Object,function($0,$1){qx.core.Object.call(this); this._defs={}; if($0!=null){this.setSize($0); } if($1!=null){this.setName($1); }}); qx.OO.addProperty({name:$[2586],type:$[2],impl:$[162]}); qx.OO.addProperty({name:$[96],type:$[0],impl:$[162]}); qx.OO.addProperty({name:$[316],type:$[3],defaultValue:false,impl:$[162]}); qx.OO.addProperty({name:$[419],type:$[3],defaultValue:false,impl:$[162]}); qx.OO.addProperty({name:$[517],type:$[3],defaultValue:false,impl:$[162]}); qx.OO.addProperty({name:$[400],type:$[3],defaultValue:false,impl:$[162]}); qx.Proto._modifyStyle=function($0,$1,$2){this._needsCompilation=true; return true; }; qx.renderer.font.Font.fromString=function($0){var $1=new qx.renderer.font.Font; var $2=$0.split(/\s+/); var $3=[]; var $4; for(var $5=0;$5<$2.length;$5++){switch($4=$2[$5]){case $[316]:$1.setBold(true); break; case $[419]:$1.setItalic(true); break; case $[517]:$1.setUnderline(true); break; case $[400]:$1.setStrikeout(true); break; default:var $6=parseFloat($4); if($6==$4||qx.lang.String.contains($4,$[28])){$1.setSize($6); }else{$3.push($4); }break; }} if($3.length>0){$1.setName($3.join($[48])); }return $1; }; qx.Proto._needsCompilation=true; qx.Proto._compile=function(){var $0=this.getName(); var $1=this.getSize(); var $2=this.getBold(); var $3=this.getItalic(); var $4=this.getUnderline(); var $5=this.getStrikeout(); var $6=$[1]; if(this.getUnderline()){$6=$[517]; } if(this.getStrikeout()){$6+=$[48]+$[400]; }this._defs.fontFamily=$0||$[1]; this._defs.fontSize=typeof $1==$[2]?$1+$[28]:$[1]; this._defs.fontWeight=this.getBold()?$[316]:$[139]; this._defs.fontStyle=this.getItalic()?$[419]:$[139]; this._defs.textDecoration=$6||$[1]; this._needsCompilation=false; }; qx.Proto._applyWidget=function($0){if(this._needsCompilation){this._compile(); }$0.setStyleProperty($[157],this._defs.fontFamily); $0.setStyleProperty($[106],this._defs.fontSize); $0.setStyleProperty($[175],this._defs.fontWeight); $0.setStyleProperty($[171],this._defs.fontStyle); $0.setStyleProperty($[181],this._defs.textDecoration); }; qx.Proto._resetWidget=function($0){$0.removeStyleProperty($[157]); $0.removeStyleProperty($[106]); $0.removeStyleProperty($[175]); $0.removeStyleProperty($[171]); $0.removeStyleProperty($[181]); }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; }delete this._defs; return qx.core.Object.prototype.dispose.call(this); }; /* ID: qx.renderer.font.FontObject */ qx.OO.defineClass($[1308],qx.renderer.font.Font,function($0,$1){this._dependentObjects={}; qx.renderer.font.Font.call(this,$0,$1); }); qx.Proto.addListenerWidget=function($0){this._dependentObjects[$0.toHashCode()]=$0; }; qx.Proto.removeListenerWidget=function($0){delete this._dependentObjects[$0.toHashCode()]; }; qx.Proto._sync=function($0){var $1=this._dependentObjects; var $2; for(vKey in $1){$2=$1[vKey]; if($2.isCreated()){$2._updateFont($0); }}}; qx.Proto.dispose=function(){if(this.getDisposed()){return; } if(typeof this._dependentObjects===$[4]){for(vKey in this._dependentObjects){delete this._dependentObjects[vKey]; }delete this._dependentObjects; }return qx.renderer.font.Font.prototype.dispose.call(this); }; /* ID: qx.renderer.border.BorderPresets */ qx.OO.defineClass($[2334],qx.core.Object,function(){qx.core.Object.call(this); this.black=new qx.renderer.border.Border(1,$[9],$[129]); this.white=new qx.renderer.border.Border(1,$[9],$[65]); this.none=new qx.renderer.border.Border(0,$[32]); this.inset=new qx.renderer.border.BorderObject(2,$[64]); this.outset=new qx.renderer.border.BorderObject(2,$[74]); this.groove=new qx.renderer.border.BorderObject(2,$[107]); this.ridge=new qx.renderer.border.BorderObject(2,$[112]); this.thinInset=new qx.renderer.border.BorderObject(1,$[64]); this.thinOutset=new qx.renderer.border.BorderObject(1,$[74]); this.verticalDivider=new qx.renderer.border.BorderObject(1,$[64]); this.verticalDivider.setLeftWidth(0); this.verticalDivider.setRightWidth(0); this.horizontalDivider=new qx.renderer.border.BorderObject(1,$[64]); this.horizontalDivider.setTopWidth(0); this.horizontalDivider.setBottomWidth(0); this.shadow=new qx.renderer.border.BorderObject(1,$[9],$[54]); this.lightShadow=new qx.renderer.border.BorderObject(1,$[9],$[141]); this.info=new qx.renderer.border.BorderObject(1,$[9],$[2880]); }); qx.Proto.dispose=function(){if(this.getDisposed()){return; }this.black=this.white=this.none=this.inset=this.outset=this.groove=this.ridge=this.thinInset=this.thinOutset=this.verticalDivider=this.horizontalDivider=this.shadow=this.lightShadow=this.info=null; return qx.core.Object.prototype.dispose.call(this); }; qx.Clazz.getInstance=qx.lang.Function.returnInstance; /* ID: qx.component.init.InterfaceInitComponent */ qx.OO.defineClass($[611],qx.component.init.BasicInitComponent,function(){qx.component.init.BasicInitComponent.call(this); }); qx.Proto._uiReady=false; qx.Proto.isUiReady=function(){return this._uiReady; }; qx.Proto.initialize=function(){qx.event.handler.EventHandler.getInstance(); qx.ui.core.ClientDocument.getInstance(); var $0=(new Date).valueOf(); qx.component.init.BasicInitComponent.prototype.initialize.call(this); this.info("initialize runtime: "+((new Date).valueOf()-$0)+"ms"); }; qx.Proto.main=function(){var $0=(new Date).valueOf(); qx.component.init.BasicInitComponent.prototype.main.call(this); this.info("main runtime: "+((new Date).valueOf()-$0)+"ms"); this.debug("preloading visible images..."); new qx.io.image.PreloaderSystem(qx.manager.object.ImageManager.getInstance().getPreloadImageList(),this.finalize,this); }; qx.Proto.finalize=function(){var $0=(new Date).valueOf(); this._printPreloadComplete(); this._uiReady=true; qx.ui.core.Widget.flushGlobalQueues(); qx.event.handler.EventHandler.getInstance().attachEvents(); qx.component.init.BasicInitComponent.prototype.finalize.call(this); this.info("finalize runtime: "+((new Date).valueOf()-$0)+"ms"); }; qx.Proto.close=function(){var $0=(new Date).valueOf(); qx.component.init.BasicInitComponent.prototype.close.call(this); this.info("close runtime: "+((new Date).valueOf()-$0)+"ms"); }; qx.Proto.terminate=function(){var $0=(new Date).valueOf(); qx.component.init.BasicInitComponent.prototype.terminate.call(this); this.info("terminate runtime: "+((new Date).valueOf()-$0)+"ms"); }; qx.Proto.preload=function(){if(!this._preloadDone){this.debug("preloading hidden images..."); new qx.io.image.PreloaderSystem(qx.manager.object.ImageManager.getInstance().getPostPreloadImageList(),this._printPreloadComplete,this); this._preloadDone=true; }}; qx.Proto._printPreloadComplete=function(){this.debug("preloading complete"); }; qx.Proto._onload=function($0){this.initialize(); this.main(); }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this._preloadDone=null; this._uiReady=null; return qx.component.init.BasicInitComponent.prototype.dispose.call(this); }; /* ID: qx.event.type.DomEvent */ qx.OO.defineClass($[2166],qx.event.type.Event,function($0,$1,$2,$3,$4){qx.event.type.Event.call(this,$0); this.setDomEvent($1); this.setDomTarget($2); this.setTarget($3); this.setOriginalTarget($4); }); qx.OO.addFastProperty({name:$[809],defaultValue:true,noCompute:true}); qx.OO.addFastProperty({name:$[496],defaultValue:false,noCompute:true}); qx.OO.addFastProperty({name:$[2982],setOnlyOnce:true,noCompute:true}); qx.OO.addFastProperty({name:$[1225],setOnlyOnce:true,noCompute:true}); qx.OO.addCachedProperty({name:$[1005],defaultValue:null}); qx.Proto._computeModifiers=function(){var $0=0; var $1=this.getDomEvent(); if($1.shiftKey)$0|=qx.event.type.DomEvent.SHIFT_MASK; if($1.ctrlKey)$0|=qx.event.type.DomEvent.CTRL_MASK; if($1.altKey)$0|=qx.event.type.DomEvent.ALT_MASK; if($1.metaKey)$0|=qx.event.type.DomEvent.META_MASK; return $0; }; qx.Proto.isCtrlPressed=function(){return this.getDomEvent().ctrlKey; }; qx.Proto.getCtrlKey=qx.Proto.isCtrlPressed; qx.Proto.isShiftPressed=function(){return this.getDomEvent().shiftKey; }; qx.Proto.getShiftKey=qx.Proto.isShiftPressed; qx.Proto.isAltPressed=function(){return this.getDomEvent().altKey; }; qx.Proto.getAltKey=qx.Proto.isAltPressed; qx.Proto.isMetaPressed=function(){return this.getDomEvent().metaKey; }; qx.Proto.isCtrlOrCommandPressed=function(){if(qx.core.Client.getInstance().runsOnMacintosh()){return this.getDomEvent().metaKey; }else{return this.getDomEvent().ctrlKey; }}; if(qx.core.Client.getInstance().isMshtml()){qx.Proto.setDefaultPrevented=function($0){if(!$0){return this.error("It is not possible to set preventDefault to false if it was true before!","setDefaultPrevented"); }this.getDomEvent().returnValue=false; qx.event.type.Event.prototype.setDefaultPrevented.call(this,$0); }; }else{qx.Proto.setDefaultPrevented=function($0){if(!$0){return this.error("It is not possible to set preventDefault to false if it was true before!","setDefaultPrevented"); }this.getDomEvent().preventDefault(); this.getDomEvent().returnValue=false; qx.event.type.Event.prototype.setDefaultPrevented.call(this,$0); }; }qx.Proto.dispose=function(){if(this.getDisposed()){return; }this._valueDomEvent=null; this._valueDomTarget=null; return qx.event.type.Event.prototype.dispose.call(this); }; qx.Clazz.SHIFT_MASK=1; qx.Clazz.CTRL_MASK=2; qx.Clazz.ALT_MASK=4; qx.Clazz.META_MASK=8; /* ID: qx.event.type.KeyEvent */ qx.OO.defineClass($[1918],qx.event.type.DomEvent,function($0,$1,$2,$3,$4,$5,$6,$7){qx.event.type.DomEvent.call(this,$0,$1,$2,$3,$4); this.setKeyCode($5); this.setCharCode($6); this.setKeyIdentifier($7); }); qx.OO.addFastProperty({name:$[718],setOnlyOnce:true,noCompute:true}); qx.OO.addFastProperty({name:$[2885],setOnlyOnce:true,noCompute:true}); qx.OO.addFastProperty({name:$[713],setOnlyOnce:true,noCompute:true}); qx.event.type.KeyEvent.keys={esc:27,enter:13,tab:9,space:32,up:38,down:40,left:37,right:39,shift:16,ctrl:17,alt:18,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,print:124,del:46,backspace:8,insert:45,home:36,end:35,pageup:33,pagedown:34,numlock:144,numpad_0:96,numpad_1:97,numpad_2:98,numpad_3:99,numpad_4:100,numpad_5:101,numpad_6:102,numpad_7:103,numpad_8:104,numpad_9:105,numpad_divide:111,numpad_multiply:106,numpad_minus:109,numpad_plus:107}; (function(){qx.event.type.KeyEvent.codes={}; for(var $0 in qx.event.type.KeyEvent.keys){qx.event.type.KeyEvent.codes[qx.event.type.KeyEvent.keys[$0]]=$0; }})(); /* ID: qx.event.handler.KeyEventHandler */ qx.OO.defineClass($[2341],qx.core.Target,function(){qx.core.Target.call(this); var $0=this; this.__onkeypress=function($1){$0._onkeypress($1); }; this.__onkeyupdown=function($1){$0._onkeyupdown($1); }; }); qx.Proto._attachEvents=function(){var $0=qx.core.Client.getInstance().isGecko()?window:document.body; qx.html.EventRegistration.addEventListener($0,$[17],this.__onkeypress); qx.html.EventRegistration.addEventListener($0,$[90],this.__onkeyupdown); qx.html.EventRegistration.addEventListener($0,$[13],this.__onkeyupdown); }; qx.Proto._detachEvents=function(){var $0=qx.core.Client.getInstance().isGecko()?window:document.body; qx.html.EventRegistration.removeEventListener($0,$[17],this.__onkeypress); qx.html.EventRegistration.removeEventListener($0,$[90],this.__onkeyupdown); qx.html.EventRegistration.removeEventListener($0,$[13],this.__onkeyupdown); }; qx.Proto._specialCharCodeMap={8:$[347],9:$[183],32:$[103]}; qx.Proto._keyCodeToIdentifierMap={13:$[34],16:$[194],17:$[146],18:$[120],20:$[735],224:$[155],27:$[88],37:$[58],38:$[87],39:$[59],40:$[76],33:$[89],34:$[105],35:$[163],36:$[147],45:$[232],46:$[271],112:$[575],113:$[374],114:$[291],115:$[659],116:$[685],117:$[720],118:$[751],119:$[788],120:$[800],121:$[671],122:$[640],123:$[614],144:$[148],44:$[345],145:$[417],19:$[230],91:$[254],93:$[463]}; qx.Proto._numpadToCharCode={96:$[15].charCodeAt(0),97:$[260].charCodeAt(0),98:$[460].charCodeAt(0),99:$[494].charCodeAt(0),100:$[423].charCodeAt(0),101:$[416].charCodeAt(0),102:$[393].charCodeAt(0),103:$[410].charCodeAt(0),104:$[392].charCodeAt(0),105:$[177].charCodeAt(0),106:$[144].charCodeAt(0),107:$[273].charCodeAt(0),109:$[60].charCodeAt(0),110:$[19].charCodeAt(0),111:$[73].charCodeAt(0)}; (function(){if(!qx.Proto._identifierToKeyCodeMap){qx.Proto._identifierToKeyCodeMap={}; for(var $0 in qx.Proto._keyCodeToIdentifierMap){qx.Proto._identifierToKeyCodeMap[qx.Proto._keyCodeToIdentifierMap[$0]]=parseInt($0); } for(var $0 in qx.Proto._specialCharCodeMap){qx.Proto._identifierToKeyCodeMap[qx.Proto._specialCharCodeMap[$0]]=parseInt($0); }}})(); qx.Proto._charCodeA=$[61].charCodeAt(0); qx.Proto._charCodeZ=$[521].charCodeAt(0); qx.Proto._charCode0=$[15].charCodeAt(0); qx.Proto._charCode9=$[177].charCodeAt(0); qx.Proto._isNonPrintableKeyCode=function($0){return this._keyCodeToIdentifierMap[$0]?true:false; }; qx.Proto._isIdentifiableKeyCode=function($0){if($0>=this._charCodeA&&$0<=this._charCodeZ){return true; }if($0>=this._charCode0&&$0<=this._charCode9){return true; }if(this._specialCharCodeMap[$0]){return true; }if(this._numpadToCharCode[$0]){return true; }if(this._isNonPrintableKeyCode($0)){return true; }return false; }; qx.Proto.isValidKeyIdentifier=function($0){if(this._identifierToKeyCodeMap[$0]){return true; } if($0.length!=1){return false; } if($0>=$[15]&&$0<=$[177]){return true; } if($0>=$[61]&&$0<=$[521]){return true; } switch($0){case $[273]:case $[60]:case $[144]:case $[73]:return true; default:return false; }}; qx.Proto._keyCodeToIdentifier=function($0){if(this._isIdentifiableKeyCode($0)){var $1=this._numpadToCharCode[$0]; if($1){return String.fromCharCode($1); }return (this._keyCodeToIdentifierMap[$0]||this._specialCharCodeMap[$0]||String.fromCharCode($0)); }else{return $[292]; }}; qx.Proto._charCodeToIdentifier=function($0){return this._specialCharCodeMap[$0]||String.fromCharCode($0).toUpperCase(); }; qx.Proto._identifierToKeyCode=function($0){return this._identifierToKeyCodeMap[$0]||$0.charCodeAt(0); }; qx.Proto._idealKeyHandler=function($0,$1,$2,$3){if(!$0&&!$1){return; }var $4; if($0){$4=this._keyCodeToIdentifier($0); qx.event.handler.EventHandler.getInstance()._onkeyevent_post($3,$2,$0,$1,$4); }else{$4=this._charCodeToIdentifier($1); qx.event.handler.EventHandler.getInstance()._onkeyevent_post($3,$[17],$0,$1,$4); qx.event.handler.EventHandler.getInstance()._onkeyevent_post($3,$[262],$0,$1,$4); }}; if(qx.core.Client.getInstance().isMshtml()){qx.Proto._lastUpDownType={}; qx.Proto._charCode2KeyCode={13:13,27:27}; qx.Proto._onkeyupdown=function($0){$0=window.event||$0; var $1=$0.keyCode; var $2=0; var $3=$0.type; if(!(this._lastUpDownType[$1]==$[13]&&$3==$[13])){this._idealKeyHandler($1,$2,$3,$0); }if(this._isNonPrintableKeyCode($1)&&$3==$[13]){this._idealKeyHandler($1,$2,$[17],$0); }this._lastUpDownType[$1]=$3; }; qx.Proto._onkeypress=function($0){$0=window.event||$0; if(this._charCode2KeyCode[$0.keyCode]){this._idealKeyHandler(this._charCode2KeyCode[$0.keyCode],0,$0.type,$0); }else{this._idealKeyHandler(0,$0.keyCode,$0.type,$0); }}; }else if(qx.core.Client.getInstance().isGecko()){qx.Proto._lastUpDownType={}; qx.Proto._keyCodeFix={12:qx.Proto._identifierToKeyCode($[148])}; qx.Proto._onkeyupdown=qx.Proto._onkeypress=function($0){var $1=this._keyCodeFix[$0.keyCode]||$0.keyCode; var $2=$0.charCode; var $3=$0.type; if(qx.core.Client.getInstance().runsOnWindows()){var $4=$1?this._keyCodeToIdentifier($1):this._charCodeToIdentifier($2); if(!(this._lastUpDownType[$4]==$[17]&&$3==$[13])){this._idealKeyHandler($1,$2,$3,$0); }this._lastUpDownType[$4]=$3; }else{this._idealKeyHandler($1,$2,$3,$0); }}; }else if(qx.core.Client.getInstance().isWebkit()){qx.Proto._charCode2KeyCode={63289:qx.Proto._identifierToKeyCode($[148]),63276:qx.Proto._identifierToKeyCode($[89]),63277:qx.Proto._identifierToKeyCode($[105]),63275:qx.Proto._identifierToKeyCode($[163]),63273:qx.Proto._identifierToKeyCode($[147]),63234:qx.Proto._identifierToKeyCode($[58]),63232:qx.Proto._identifierToKeyCode($[87]),63235:qx.Proto._identifierToKeyCode($[59]),63233:qx.Proto._identifierToKeyCode($[76]),63272:qx.Proto._identifierToKeyCode($[271]),63302:qx.Proto._identifierToKeyCode($[232]),63236:qx.Proto._identifierToKeyCode($[575]),63237:qx.Proto._identifierToKeyCode($[374]),63238:qx.Proto._identifierToKeyCode($[291]),63239:qx.Proto._identifierToKeyCode($[659]),63240:qx.Proto._identifierToKeyCode($[685]),63241:qx.Proto._identifierToKeyCode($[720]),63242:qx.Proto._identifierToKeyCode($[751]),63243:qx.Proto._identifierToKeyCode($[788]),63244:qx.Proto._identifierToKeyCode($[800]),63245:qx.Proto._identifierToKeyCode($[671]),63246:qx.Proto._identifierToKeyCode($[640]),63247:qx.Proto._identifierToKeyCode($[614]),63248:qx.Proto._identifierToKeyCode($[345]),3:qx.Proto._identifierToKeyCode($[34]),12:qx.Proto._identifierToKeyCode($[148]),13:qx.Proto._identifierToKeyCode($[34])}; qx.Proto._onkeyupdown=qx.Proto._onkeypress=function($0){var $1=0; var $2=0; var $3=$0.type; if(qx.core.Client.getInstance().getVersion()<420){if(!this._lastCharCodeForType){this._lastCharCodeForType={}; }var $4=this._lastCharCodeForType[$3]>63000; if($4){this._lastCharCodeForType[$3]=null; return; }this._lastCharCodeForType[$3]=$0.charCode; } if($3==$[90]||$3==$[13]){$1=this._charCode2KeyCode[$0.charCode]||$0.keyCode; }else{if(this._charCode2KeyCode[$0.charCode]){$1=this._charCode2KeyCode[$0.charCode]; }else{$2=$0.charCode; }}this._idealKeyHandler($1,$2,$3,$0); }; }else if(qx.core.Client.getInstance().isOpera()){qx.Proto._onkeyupdown=function($0){this._idealKeyHandler($0.keyCode,0,$0.type,$0); }; qx.Proto._onkeypress=function($0){if(this._keyCodeToIdentifierMap[$0.keyCode]){this._idealKeyHandler($0.keyCode,0,$0.type,$0); }else{this._idealKeyHandler(0,$0.keyCode,$0.type,$0); }}; }qx.Proto.dispose=function(){if(this.getDisposed()){return; }this._detachEvents(); this._specialCharCodeMap=this._keyCodeToIdentifierMap=this._numpadToCharCode=null; this._identifierToKeyCodeMap=this._lastUpDownType=this._keyCodeFix=null; return qx.core.Target.prototype.dispose.call(this); }; qx.Clazz.getInstance=qx.lang.Function.returnInstance; /* ID: qx.event.handler.EventHandler */ qx.OO.defineClass($[1096],qx.core.Target,function(){qx.core.Target.call(this); var $0=this; this.__onmouseevent=function($1){return $0._onmouseevent($1); }; this.__ondragevent=function($1){return $0._ondragevent($1); }; this.__onselectevent=function($1){return $0._onselectevent($1); }; this.__onwindowblur=function($1){return $0._onwindowblur($1); }; this.__onwindowfocus=function($1){return $0._onwindowfocus($1); }; this.__onwindowresize=function($1){return $0._onwindowresize($1); }; this._commands={}; }); qx.OO.addProperty({name:$[1547],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[2317],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[2592],type:$[4],instance:$[190],allowNull:true}); qx.OO.addProperty({name:$[1275],type:$[4],instance:$[522],allowNull:true}); qx.Clazz.mouseEventTypes=[$[33],$[14],$[45],$[6],$[7],$[18],$[41],$[156],qx.core.Client.getInstance().isMshtml()?$[68]:$[725]]; qx.Clazz.keyEventTypes=[$[13],$[17],$[90]]; if(qx.core.Client.getInstance().isGecko()){qx.Clazz.dragEventTypes=[$[476],$[201],$[398],$[812],$[831]]; }else if(qx.core.Client.getInstance().isMshtml()){qx.Clazz.dragEventTypes=[$[861],$[201],$[244],$[744],$[398],$[615]]; }else{qx.Clazz.dragEventTypes=[$[244],$[476],$[201],$[744],$[615],$[398],$[812],$[831]]; }qx.Proto._lastMouseEventType=null; qx.Proto._lastMouseDown=false; qx.Proto._lastMouseEventDate=0; qx.Proto._modifyCaptureWidget=function($0,$1,$2){if($1){$1.setCapture(false); } if($0){$0.setCapture(true); }return true; }; qx.Proto._modifyFocusRoot=function($0,$1,$2){if($1){$1.setFocusedChild(null); } if($0){if($0.getFocusedChild()==null){$0.setFocusedChild($0); }}return true; }; qx.Proto.addCommand=function($0){this._commands[$0.toHashCode()]=$0; }; qx.Proto.removeCommand=function($0){delete this._commands[$0.toHashCode()]; }; qx.Proto._checkKeyEventMatch=function($0){var $1; for(var $2 in this._commands){$1=this._commands[$2]; if($1.getEnabled()&&$1._matchesKeyEvent($0)){if(!$1.execute($0.getTarget())){$0.preventDefault(); }break; }}}; qx.Proto.attachEvents=function(){this.attachEventTypes(qx.event.handler.EventHandler.mouseEventTypes,this.__onmouseevent); this.attachEventTypes(qx.event.handler.EventHandler.dragEventTypes,this.__ondragevent); qx.event.handler.KeyEventHandler.getInstance()._attachEvents(); qx.html.EventRegistration.addEventListener(window,$[123],this.__onwindowblur); qx.html.EventRegistration.addEventListener(window,$[143],this.__onwindowfocus); qx.html.EventRegistration.addEventListener(window,$[577],this.__onwindowresize); document.body.onselect=document.onselectstart=document.onselectionchange=this.__onselectevent; }; qx.Proto.detachEvents=function(){this.detachEventTypes(qx.event.handler.EventHandler.mouseEventTypes,this.__onmouseevent); this.detachEventTypes(qx.event.handler.EventHandler.dragEventTypes,this.__ondragevent); qx.event.handler.KeyEventHandler.getInstance()._detachEvents(); qx.html.EventRegistration.removeEventListener(window,$[123],this.__onwindowblur); qx.html.EventRegistration.removeEventListener(window,$[143],this.__onwindowfocus); qx.html.EventRegistration.removeEventListener(window,$[577],this.__onwindowresize); document.body.onselect=document.onselectstart=document.onselectionchange=null; }; qx.Proto.attachEventTypes=function($0,$1){try{var $2=qx.core.Client.getInstance().isGecko()?window:document.body; for(var $3=0,$4=$0.length;$3<$4;$3++){qx.html.EventRegistration.addEventListener($2,$0[$3],$1); }}catch(ex){throw new Error("qx.event.handler.EventHandler: Failed to attach window event types: "+$0+": "+ex); }}; qx.Proto.detachEventTypes=function($0,$1){try{var $2=qx.core.Client.getInstance().isGecko()?window:document.body; for(var $3=0,$4=$0.length;$3<$4;$3++){qx.html.EventRegistration.removeEventListener($2,$0[$3],$1); }}catch(ex){throw new Error("qx.event.handler.EventHandler: Failed to detach window event types: "+$0+": "+ex); }}; qx.Clazz.getOriginalTargetObject=function($0){if($0==document.documentElement){$0=document.body; }while($0!=null&&$0.qx_Widget==null){try{$0=$0.parentNode; }catch(vDomEvent){$0=null; }}return $0?$0.qx_Widget:null; }; if(qx.core.Client.getInstance().isWebkit()){qx.Clazz.getDomTarget=function($0){var $1=$0.target||$0.srcElement; if($1&&($1.nodeType==qx.dom.Node.TEXT)){$1=$1.parentNode; }return $1; }; }else if(qx.core.Client.getInstance().isMshtml()){qx.Clazz.getDomTarget=function($0){return $0.target||$0.srcElement; }; }else{qx.Clazz.getDomTarget=function($0){return $0.target; }; }qx.Clazz.getOriginalTargetObjectFromEvent=function($0,$1){var $2=qx.event.handler.EventHandler.getDomTarget($0); if($1){var $3=$1.document; if($2==$1||$2==$3||$2==$3.documentElement||$2==$3.body){return $3.body.qx_Widget; }}return qx.event.handler.EventHandler.getOriginalTargetObject($2); }; qx.Clazz.getRelatedOriginalTargetObjectFromEvent=function($0){return qx.event.handler.EventHandler.getOriginalTargetObject($0.relatedTarget||($0.type==$[33]?$0.fromElement:$0.toElement)); }; qx.Clazz.getTargetObject=function($0,$1,$2){if(!$1){var $1=qx.event.handler.EventHandler.getOriginalTargetObject($0); if(!$1){return null; }}while($1){if(!$2&&!$1.getEnabled()){return null; }if(!$1.getAnonymous()){break; }$1=$1.getParent(); }return $1; }; qx.Clazz.getTargetObjectFromEvent=function($0){return qx.event.handler.EventHandler.getTargetObject(qx.event.handler.EventHandler.getDomTarget($0)); }; qx.Clazz.getRelatedTargetObjectFromEvent=function($0){var $1=$0.relatedTarget; if(!$1){if($0.type==$[33]){$1=$0.fromElement; }else{$1=$0.toElement; }}return qx.event.handler.EventHandler.getTargetObject($1); }; qx.Clazz.stopDomEvent=function($0){}; if(qx.core.Client.getInstance().isMshtml()){qx.Clazz.stopDomEvent=function($0){$0.returnValue=false; }; }else{qx.Clazz.stopDomEvent=function($0){$0.preventDefault(); $0.returnValue=false; }; }qx.Proto._onkeyevent_post=function($0,$1,$2,$3,$4){var $5=qx.event.handler.EventHandler.getDomTarget($0); var $6=this.getFocusRoot(); var $7=this.getCaptureWidget()||($6==null?null:$6.getActiveChild()); if($7==null||!$7.getEnabled()){return false; }var $8=$7.getElement(); switch($4){case $[88]:case $[183]:if(qx.OO.isAvailable($[223])){qx.manager.object.MenuManager.getInstance().update($7,$1); }break; }if(!this.getAllowClientSelectAll()){if($0.ctrlKey&&$4==$[61]){switch($5.tagName.toLowerCase()){case $[82]:case $[321]:case $[225]:break; default:qx.event.handler.EventHandler.stopDomEvent($0); }}}var $9=new qx.event.type.KeyEvent($1,$0,$5,$7,null,$2,$3,$4); if($1==$[13]){this._checkKeyEventMatch($9); } try{$7.dispatchEvent($9); if(qx.OO.isAvailable($[343])){qx.event.handler.DragAndDropHandler.getInstance().handleKeyEvent($9); }}catch(ex){this.error("Failed to dispatch key event",ex); this.createDispatchDataEvent($[101],ex); }$9.dispose(); qx.ui.core.Widget.flushGlobalQueues(); }; if(qx.core.Client.getInstance().isMshtml()){qx.Proto._onmouseevent=function($0){qx.core.Init.getInstance().getComponent().preload(); if(!$0){$0=window.event; }var $1=qx.event.handler.EventHandler.getDomTarget($0); var $2=$0.type; if($2==$[14]){if(this._mouseIsDown&&$0.button==0){this._onmouseevent_post($0,$[7]); this._mouseIsDown=false; }}else{if($2==$[6]){this._mouseIsDown=true; }else if($2==$[7]){this._mouseIsDown=false; }if($2==$[7]&&!this._lastMouseDown&&((new Date).valueOf()-this._lastMouseEventDate)<250){this._onmouseevent_post($0,$[6]); }else if($2==$[41]&&this._lastMouseEventType==$[7]&&((new Date).valueOf()-this._lastMouseEventDate)<250){this._onmouseevent_post($0,$[18]); } switch($2){case $[6]:case $[7]:case $[18]:case $[41]:case $[156]:this._lastMouseEventType=$2; this._lastMouseEventDate=(new Date).valueOf(); this._lastMouseDown=$2==$[6]; }}this._onmouseevent_post($0,$2,$1); }; }else{qx.Proto._onmouseevent=function($0){qx.core.Init.getInstance().getComponent().preload(); var $1=qx.event.handler.EventHandler.getDomTarget($0); var $2=$0.type; switch($2){case $[725]:$2=$[68]; break; case $[18]:case $[41]:if($0.which!==1){return; }}this._onmouseevent_post($0,$2,$1); }; }if(qx.core.Client.getInstance().isGecko()){qx.Proto._onmouseevent_click_fix=function($0,$1,$2){var $3=false; switch($1){case $[6]:this._lastMouseDownDomTarget=$0; this._lastMouseDownDispatchTarget=$2; break; case $[7]:if(this._lastMouseDownDispatchTarget===$2&&$0!==this._lastMouseDownDomTarget){$3=true; }else{this._lastMouseDownDomTarget=null; this._lastMouseDownDispatchTarget=null; }}return $3; }; }else{qx.Proto._onmouseevent_click_fix=function($0,$1){return false; }; }qx.Proto._onmouseevent_post=function($0,$1,$2){try{var $3,$4,$5,$6,$7,$8,$9,$a; $4=this.getCaptureWidget(); $7=qx.event.handler.EventHandler.getOriginalTargetObject($2); if(!$4){$5=$6=qx.event.handler.EventHandler.getTargetObject(null,$7,true); }else{$5=$4; $6=qx.event.handler.EventHandler.getTargetObject(null,$7,true); }if(!$6){return; }$a=$6.getEnabled(); $9=this._onmouseevent_click_fix($2,$1,$5); if($1==$[156]&&!this.getAllowClientContextMenu()){qx.event.handler.EventHandler.stopDomEvent($0); }if($a&&$1==$[6]){qx.event.handler.FocusHandler.mouseFocus=true; var $b=$6.getFocusRoot(); if($b){this.setFocusRoot($b); $b.setActiveChild($6); var $c=$6; while(!$c.isFocusable()&&$c!=$b){$c=$c.getParent(); }$b.setFocusedChild($c); }}var $d=$6.getElement(); switch($1){case $[33]:case $[45]:$8=qx.event.handler.EventHandler.getRelatedTargetObjectFromEvent($0); if($8==$6){return; }} try{$3=new qx.event.type.MouseEvent($1,$0,$2,$6,$7,$8); }catch(ex){return this.error("Failed to create mouse event",ex); }qx.event.type.MouseEvent._storeEventState($3); if($a){var $e=false; try{$e=$5?$5.dispatchEvent($3):true; this._onmouseevent_special_post($1,$6,$7,$5,$e,$3,$0); }catch(ex){this.error("Failed to dispatch mouse event",ex); this.createDispatchDataEvent($[101],ex); }}else{if($1==$[33]){if(qx.OO.isAvailable($[153])){qx.manager.object.ToolTipManager.getInstance().handleMouseOver($3); }}}$3.dispose(); $3=null; qx.ui.core.Widget.flushGlobalQueues(); if($9){this._onmouseevent_post($0,$[18],this._lastMouseDownDomTarget); this._lastMouseDownDomTarget=null; this._lastMouseDownDispatchTarget=null; }}catch(ex){return this.error("Failed to handle mouse event",ex); }}; qx.Proto._onmouseevent_special_post=function($0,$1,$2,$3,$4,$5,$6){switch($0){case $[6]:if(qx.OO.isAvailable($[240])){qx.manager.object.PopupManager.getInstance().update($1); } if(qx.OO.isAvailable($[223])){qx.manager.object.MenuManager.getInstance().update($1,$0); } if(qx.OO.isAvailable($[552])){qx.manager.object.IframeManager.getInstance().handleMouseDown($5); }break; case $[7]:if(qx.OO.isAvailable($[223])){qx.manager.object.MenuManager.getInstance().update($1,$0); } if(qx.OO.isAvailable($[552])){qx.manager.object.IframeManager.getInstance().handleMouseUp($5); }break; case $[33]:if(qx.OO.isAvailable($[153])){qx.manager.object.ToolTipManager.getInstance().handleMouseOver($5); }break; case $[45]:if(qx.OO.isAvailable($[153])){qx.manager.object.ToolTipManager.getInstance().handleMouseOut($5); }break; case $[68]:$4?this._onmousewheel($2||$3,$5):qx.event.handler.EventHandler.stopDomEvent($6); break; }this._ignoreWindowBlur=$0===$[6]; if(qx.OO.isAvailable($[343])&&$1){qx.event.handler.DragAndDropHandler.getInstance().handleMouseEvent($5); }}; if(qx.core.Client.getInstance().isGecko()){qx.Proto._onmousewheel=function($0,$1){if($0==null){return; }if($0.getOverflowY()==$[25]){return this._onmousewheel($0.getParent(),$1); }var $2=$0.getScrollTop(); var $3=20*$1.getWheelDelta(); if($2==0&&$3>0){return this._onmousewheel($0.getParent(),$1); }var $4=$0.getScrollHeight(); var $5=$0.getClientHeight(); if($2+$5>=$4&&$3<0){return this._onmousewheel($0.getParent(),$1); }$0.setScrollTop($2-$3); $1.preventDefault(); }; }else{qx.Proto._onmousewheel=function(){}; }qx.Proto._ondragevent=function($0){if(!$0){$0=window.event; }qx.event.handler.EventHandler.stopDomEvent($0); }; qx.Proto._onselectevent=function($0){if(!$0){$0=window.event; }var $1=qx.event.handler.EventHandler.getOriginalTargetObjectFromEvent($0); if($1&&!$1.getSelectable()){qx.event.handler.EventHandler.stopDomEvent($0); }}; qx.Proto._focused=false; qx.Proto._onwindowblur=function($0){if(!this._focused||this._ignoreWindowBlur){return; }this._focused=false; this.setCaptureWidget(null); if(qx.OO.isAvailable($[240])){qx.manager.object.PopupManager.getInstance().update(); }if(qx.OO.isAvailable($[223])){qx.manager.object.MenuManager.getInstance().update(); }if(qx.OO.isAvailable($[343])){qx.event.handler.DragAndDropHandler.getInstance().globalCancelDrag(); }qx.ui.core.ClientDocument.getInstance().createDispatchEvent($[471]); }; qx.Proto._onwindowfocus=function($0){if(this._focused){return; }this._focused=true; qx.ui.core.ClientDocument.getInstance().createDispatchEvent($[1576]); }; qx.Proto._onwindowresize=function($0){qx.ui.core.ClientDocument.getInstance().createDispatchEvent($[213]); }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this.detachEvents(); this.__onmouseevent=this.__ondragevent=this.__onselectevent=null; this.__onwindowblur=this.__onwindowfocus=this.__onwindowresize=null; this._lastMouseEventType=null; this._lastMouseDown=null; this._lastMouseEventDate=null; this._lastMouseDownDomTarget=null; this._lastMouseDownDispatchTarget=null; if(this._commands){for(var $0 in this._commands){this._commands[$0].dispose(); delete this._commands[$0]; }this._commands=null; }qx.core.Target.prototype.dispose.call(this); }; qx.Clazz.getInstance=qx.lang.Function.returnInstance; /* ID: qx.ui.core.Widget */ qx.OO.defineClass($[190],qx.core.Target,function(){if(this.classname==qx.ui.core.Widget.ABSTRACT_CLASS){throw new Error("Please omit the usage of qx.ui.core.Widget directly. Choose between qx.ui.core.Parent and qx.ui.basic.Terminator instead!"); }qx.core.Target.call(this,true); this._styleProperties={position:$[100]}; this._layoutChanges={}; this._states={}; this._applyInitialAppearance(); }); qx.Clazz.ABSTRACT_CLASS="qx.ui.core.Widget"; qx.Clazz.SCROLLBAR_SIZE=16; qx.Settings.setDefault($[862],false); qx.OO.addProperty({name:$[237],type:$[4],instance:$[522],defaultValue:null}); qx.OO.addProperty({name:$[2178],dispose:true}); qx.OO.addProperty({name:$[154],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[128],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[2059],type:$[3],defaultValue:false,getAlias:$[2416]}); qx.OO.addProperty({name:$[953],type:$[0],defaultValue:$[55]}); qx.OO.addProperty({name:$[946],type:$[0]}); qx.OO.addProperty({name:$[648],type:$[0]}); qx.OO.addProperty({name:$[2367],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[1017],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[274],type:$[2]}); qx.OO.addProperty({name:$[507],type:$[4],instance:$[93],convert:qx.renderer.color.ColorCache,allowMultipleArguments:true}); qx.OO.addProperty({name:$[511],type:$[4],instance:$[93],convert:qx.renderer.color.ColorCache,allowMultipleArguments:true}); qx.OO.addProperty({name:$[1071],type:$[4],instance:$[349],convert:qx.renderer.border.BorderCache,allowMultipleArguments:true}); qx.OO.addProperty({name:$[399],type:$[2]}); qx.OO.addProperty({name:$[170],type:$[0]}); qx.OO.addProperty({name:$[481],type:$[0]}); qx.OO.addProperty({name:$[220],type:$[0],addToQueue:true}); qx.OO.addProperty({name:$[537],type:$[2],impl:$[210]}); qx.OO.addProperty({name:$[488],type:$[2],impl:$[210]}); qx.OO.addProperty({name:$[551],type:$[2],impl:$[210]}); qx.OO.addProperty({name:$[418],type:$[2],impl:$[210]}); qx.OO.addProperty({name:$[293],type:$[2],defaultValue:-1}); qx.OO.addProperty({name:$[2791],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[2203],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[180],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[1749],type:$[3],defaultValue:true,getAlias:$[1074]}); qx.OO.addProperty({name:$[846],type:$[4],instance:$[351]}); qx.OO.addProperty({name:$[588],type:$[4],instance:$[222]}); qx.OO.addProperty({name:$[1980],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[2315]}); qx.OO.addProperty({name:$[3006],type:$[4],instance:$[864]}); qx.OO.addProperty({name:$[8],type:$[0]}); qx.OO.addProperty({name:$[465],type:$[2],addToQueue:true,impl:$[657]}); qx.OO.addProperty({name:$[483],type:$[2],addToQueue:true,impl:$[630]}); qx.OO.addProperty({name:$[532],type:$[2],addToQueue:true,impl:$[657]}); qx.OO.addProperty({name:$[550],type:$[2],addToQueue:true,impl:$[630]}); qx.OO.addProperty({name:$[174],type:$[2],addToQueue:true,impl:$[937]}); qx.OO.addProperty({name:$[192],type:$[2],addToQueue:true,impl:$[962]}); qx.OO.addProperty({name:$[182],type:$[2],addToQueue:true,impl:$[937]}); qx.OO.addProperty({name:$[172],type:$[2],addToQueue:true,impl:$[962]}); qx.OO.addProperty({name:$[10],addToQueue:true,unitDetection:$[134]}); qx.OO.addProperty({name:$[12],addToQueue:true,unitDetection:$[134]}); qx.OO.addProperty({name:$[46],addToQueue:true,unitDetection:$[767]}); qx.OO.addProperty({name:$[104],addToQueue:true,unitDetection:$[314]}); qx.OO.addProperty({name:$[118],addToQueue:true,unitDetection:$[314]}); qx.OO.addProperty({name:$[16],addToQueue:true,unitDetection:$[134]}); qx.OO.addProperty({name:$[24],addToQueue:true,unitDetection:$[134]}); qx.OO.addProperty({name:$[47],addToQueue:true,unitDetection:$[767]}); qx.OO.addProperty({name:$[113],addToQueue:true,unitDetection:$[314]}); qx.OO.addProperty({name:$[133],addToQueue:true,unitDetection:$[314]}); qx.OO.addPropertyGroup({name:$[92],members:[$[10],$[16]]}); qx.OO.addPropertyGroup({name:$[285],members:[$[46],$[47]]}); qx.OO.addPropertyGroup({name:$[2091],members:[$[10],$[46],$[16],$[47]]}); qx.OO.addPropertyGroup({name:$[1100],members:[$[16],$[12],$[24],$[10]],mode:$[268]}); qx.OO.addPropertyGroup({name:$[637],members:[$[174],$[192],$[182],$[172]],mode:$[268]}); qx.OO.addPropertyGroup({name:$[777],members:[$[465],$[483],$[532],$[550]],mode:$[268]}); qx.OO.addPropertyGroup({name:$[2529],members:[$[113],$[47],$[133]]}); qx.OO.addPropertyGroup({name:$[1352],members:[$[104],$[46],$[118]]}); qx.OO.addPropertyGroup({name:$[1250],members:[$[946],$[648]]}); qx.OO.addPropertyGroup({name:$[2130],members:[$[1832],$[1692]]}); qx.OO.addPropertyGroup({name:$[2388],members:[$[537],$[488]]}); qx.OO.addPropertyGroup({name:$[1810],members:[$[551],$[418]]}); qx.OO.addPropertyGroup({name:$[210],members:[$[537],$[488],$[551],$[418]]}); qx.ui.core.Widget._autoFlushTimeout=null; qx.ui.core.Widget._initAutoFlush=function(){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._autoFlushTimeout=window.setTimeout(qx.ui.core.Widget._autoFlushHelper,0); }}; qx.ui.core.Widget._removeAutoFlush=function(){if(qx.ui.core.Widget._autoFlushTimeout!=null){window.clearTimeout(qx.ui.core.Widget._autoFlushTimeout); qx.ui.core.Widget._autoFlushTimeout=null; }}; qx.ui.core.Widget._autoFlushHelper=function(){qx.ui.core.Widget._autoFlushTimeout=null; if(!qx.core.Object.inGlobalDispose()){qx.ui.core.Widget.flushGlobalQueues(); }}; qx.ui.core.Widget.flushGlobalQueues=function(){}; if(qx.Settings.getValueOfClass($[190],$[862])){qx.ui.core.Widget.flushGlobalQueues=function(){if(qx.ui.core.Widget._autoFlushTimeout!=null){qx.ui.core.Widget._removeAutoFlush(); } if(qx.ui.core.Widget._inFlushGlobalQueues||!qx.core.Init.getInstance().getComponent().isUiReady()){return; } if(!(qx.ui.core.Widget._globalWidgetQueue.length>0||qx.ui.core.Widget._globalElementQueue.length>0||qx.ui.core.Widget._globalStateQueue.length>0||qx.ui.core.Widget._globalJobQueue.length>0||qx.ui.core.Widget._globalLayoutQueue.length>0||qx.ui.core.Widget._fastGlobalDisplayQueue.length>0||!qx.lang.Object.isEmpty(qx.ui.core.Widget._lazyGlobalDisplayQueue))){return; }var $0=qx.ui.core.Widget._globalWidgetQueue.length; var $1=qx.ui.core.Widget._globalElementQueue.length; var $2=qx.ui.core.Widget._globalStateQueue.length; var $3=qx.ui.core.Widget._globalJobQueue.length; var $4=qx.ui.core.Widget._globalLayoutQueue.length; var $5=qx.ui.core.Widget._fastGlobalDisplayQueue.length; var $6=qx.ui.core.Widget._lazyGlobalDisplayQueue?qx.ui.core.Widget._lazyGlobalDisplayQueue.length:0; qx.ui.core.Widget._inFlushGlobalQueues=true; var $7; $7=(new Date).valueOf(); qx.ui.core.Widget.flushGlobalWidgetQueue(); var $8=(new Date).valueOf()-$7; $7=(new Date).valueOf(); qx.ui.core.Widget.flushGlobalStateQueue(); var $9=(new Date).valueOf()-$7; $7=(new Date).valueOf(); qx.ui.core.Widget.flushGlobalElementQueue(); var $a=(new Date).valueOf()-$7; $7=(new Date).valueOf(); qx.ui.core.Widget.flushGlobalJobQueue(); var $b=(new Date).valueOf()-$7; $7=(new Date).valueOf(); qx.ui.core.Widget.flushGlobalLayoutQueue(); var $c=(new Date).valueOf()-$7; $7=(new Date).valueOf(); qx.ui.core.Widget.flushGlobalDisplayQueue(); var $d=(new Date).valueOf()-$7; var $e=$8+$9+$a+$b+$c+$d; if($e>0){var $f=qx.log.Logger.getClassLogger(qx.ui.core.Widget); $f.debug("Flush Global Queues"); $f.debug("Widgets: "+$8+"ms ("+$0+")"); $f.debug("State: "+$9+"ms ("+$2+")"); $f.debug("Element: "+$a+"ms ("+$1+")"); $f.debug("Job: "+$b+"ms ("+$3+")"); $f.debug("Layout: "+$c+"ms ("+$4+")"); $f.debug("Display: "+$d+"ms (fast:"+$5+",lazy:"+$6+")"); window.status=$[1963]+$8+$[1974]+$9+$[1900]+$a+$[1806]+$b+$[2146]+$c+$[2242]+$d; }delete qx.ui.core.Widget._inFlushGlobalQueues; }; }else{qx.ui.core.Widget.flushGlobalQueues=function(){if(qx.ui.core.Widget._autoFlushTimeout!=null){qx.ui.core.Widget._removeAutoFlush(); } if(qx.ui.core.Widget._inFlushGlobalQueues||!qx.core.Init.getInstance().getComponent().isUiReady()){return; }qx.ui.core.Widget._inFlushGlobalQueues=true; qx.ui.core.Widget.flushGlobalWidgetQueue(); qx.ui.core.Widget.flushGlobalStateQueue(); qx.ui.core.Widget.flushGlobalElementQueue(); qx.ui.core.Widget.flushGlobalJobQueue(); qx.ui.core.Widget.flushGlobalLayoutQueue(); qx.ui.core.Widget.flushGlobalDisplayQueue(); delete qx.ui.core.Widget._inFlushGlobalQueues; }; }qx.ui.core.Widget._globalWidgetQueue=[]; qx.ui.core.Widget.addToGlobalWidgetQueue=function($0){if(!$0._isInGlobalWidgetQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(); }qx.ui.core.Widget._globalWidgetQueue.push($0); $0._isInGlobalWidgetQueue=true; }}; qx.ui.core.Widget.removeFromGlobalWidgetQueue=function($0){if($0._isInGlobalWidgetQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalWidgetQueue,$0); delete $0._isInGlobalWidgetQueue; }}; qx.ui.core.Widget.flushGlobalWidgetQueue=function(){var $0=qx.ui.core.Widget._globalWidgetQueue,$1,$2; while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3]; $2.flushWidgetQueue(); delete $2._isInGlobalWidgetQueue; }$0.splice(0,$1); }}; qx.ui.core.Widget._globalElementQueue=[]; qx.ui.core.Widget.addToGlobalElementQueue=function($0){if(!$0._isInGlobalElementQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(); }qx.ui.core.Widget._globalElementQueue.push($0); $0._isInGlobalElementQueue=true; }}; qx.ui.core.Widget.removeFromGlobalElementQueue=function($0){if($0._isInGlobalElementQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalElementQueue,$0); delete $0._isInGlobalElementQueue; }}; qx.ui.core.Widget.flushGlobalElementQueue=function(){var $0=qx.ui.core.Widget._globalElementQueue,$1,$2; while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3]; $2._createElementImpl(); delete $2._isInGlobalElementQueue; }$0.splice(0,$1); }}; qx.ui.core.Widget._globalStateQueue=[]; qx.ui.core.Widget.addToGlobalStateQueue=function($0){if(!$0._isInGlobalStateQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(); }qx.ui.core.Widget._globalStateQueue.push($0); $0._isInGlobalStateQueue=true; }}; qx.ui.core.Widget.removeFromGlobalStateQueue=function($0){if($0._isInGlobalStateQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalStateQueue,$0); delete $0._isInGlobalStateQueue; }}; qx.ui.core.Widget.flushGlobalStateQueue=function(){var $0=qx.ui.core.Widget._globalStateQueue,$1,$2; while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3]; $2._applyStateAppearance(); delete $2._isInGlobalStateQueue; }$0.splice(0,$1); }}; qx.ui.core.Widget._globalJobQueue=[]; qx.ui.core.Widget.addToGlobalJobQueue=function($0){if(!$0._isInGlobalJobQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(); }qx.ui.core.Widget._globalJobQueue.push($0); $0._isInGlobalJobQueue=true; }}; qx.ui.core.Widget.removeFromGlobalJobQueue=function($0){if($0._isInGlobalJobQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalJobQueue,$0); delete $0._isInGlobalJobQueue; }}; qx.ui.core.Widget.flushGlobalJobQueue=function(){var $0=qx.ui.core.Widget._globalJobQueue,$1,$2; while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3]; $2._flushJobQueue($2._jobQueue); delete $2._isInGlobalJobQueue; }$0.splice(0,$1); }}; qx.ui.core.Widget._globalLayoutQueue=[]; qx.ui.core.Widget.addToGlobalLayoutQueue=function($0){if(!$0._isInGlobalLayoutQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(); }qx.ui.core.Widget._globalLayoutQueue.push($0); $0._isInGlobalLayoutQueue=true; }}; qx.ui.core.Widget.removeFromGlobalLayoutQueue=function($0){if($0._isInGlobalLayoutQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalLayoutQueue,$0); delete $0._isInGlobalLayoutQueue; }}; qx.ui.core.Widget.flushGlobalLayoutQueue=function(){var $0=qx.ui.core.Widget._globalLayoutQueue,$1,$2; while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3]; $2._flushChildrenQueue(); delete $2._isInGlobalLayoutQueue; }$0.splice(0,$1); }}; qx.ui.core.Widget._fastGlobalDisplayQueue=[]; qx.ui.core.Widget._lazyGlobalDisplayQueues={}; qx.ui.core.Widget.addToGlobalDisplayQueue=function($0){if(!$0._isInGlobalDisplayQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(); }var $1=$0.getParent(); if($1.isSeeable()){var $2=$1.toHashCode(); if(qx.ui.core.Widget._lazyGlobalDisplayQueues[$2]){qx.ui.core.Widget._lazyGlobalDisplayQueues[$2].push($0); }else{qx.ui.core.Widget._lazyGlobalDisplayQueues[$2]=[$0]; }}else{qx.ui.core.Widget._fastGlobalDisplayQueue.push($0); }$0._isInGlobalDisplayQueue=true; }}; qx.ui.core.Widget.removeFromGlobalDisplayQueue=function($0){}; qx.ui.core.Widget.flushGlobalDisplayQueue=function(){var $0,$1,$2,$3; var $4=qx.ui.core.Widget._fastGlobalDisplayQueue; var $5=qx.ui.core.Widget._lazyGlobalDisplayQueues; for(var $6=0,$7=$4.length;$6<$7;$6++){$2=$4[$6]; $2.getParent()._getTargetNode().appendChild($2.getElement()); }if(qx.OO.isAvailable($[613])){for($0 in $5){$1=$5[$0]; for(var $6=0;$6<$1.length;$6++){$2=$1[$6]; if($2 instanceof qx.ui.basic.Inline){$2._beforeInsertDom(); try{document.getElementById($2.getInlineNodeId()).appendChild($2.getElement()); }catch(ex){$2.debug("Could not append to inline id: "+$2.getInlineNodeId(),ex); }$2._afterInsertDom(); $2._afterAppear(); qx.lang.Array.remove($1,$2); $6--; delete $2._isInGlobalDisplayQueue; }}}}for($0 in $5){$1=$5[$0]; if(document.createDocumentFragment&&$1.length>=3){$3=document.createDocumentFragment(); for(var $6=0,$7=$1.length;$6<$7;$6++){$2=$1[$6]; $2._beforeInsertDom(); $3.appendChild($2.getElement()); }$1[0].getParent()._getTargetNode().appendChild($3); for(var $6=0,$7=$1.length;$6<$7;$6++){$2=$1[$6]; $2._afterInsertDom(); }}else{for(var $6=0,$7=$1.length;$6<$7;$6++){$2=$1[$6]; $2._beforeInsertDom(); $2.getParent()._getTargetNode().appendChild($2.getElement()); $2._afterInsertDom(); }}}for($0 in $5){$1=$5[$0]; for(var $6=0,$7=$1.length;$6<$7;$6++){$2=$1[$6]; if($2.getVisibility()){$2._afterAppear(); }delete $2._isInGlobalDisplayQueue; }delete $5[$0]; }for(var $6=0,$7=$4.length;$6<$7;$6++){delete $4[$6]._isInGlobalDisplayQueue; }qx.lang.Array.removeAll($4); }; qx.ui.core.Widget.getActiveSiblingHelperIgnore=function($0,$1){for(var $2=0;$2<$0.length;$2++){if($1 instanceof $0[$2]){return true; }}return false; }; qx.ui.core.Widget.getActiveSiblingHelper=function($0,$1,$2,$3,$4){if(!$3){$3=[]; }var $5=$1.getChildren(); var $6=$4==null?$5.indexOf($0)+$2:$4===$[836]?0:$5.length-1; var $7=$5[$6]; while($7&&(!$7.isEnabled()||qx.ui.core.Widget.getActiveSiblingHelperIgnore($3,$7))){$6+=$2; $7=$5[$6]; if(!$7){return null; }}return $7; }; qx.Proto.isMaterialized=function(){var $0=this._element; return (this._initialLayoutDone&&this._isDisplayable&&qx.html.Style.getStyleProperty($0,$[128])!=$[32]&&qx.html.Style.getStyleProperty($0,$[154])!=$[25]&&$0.offsetWidth>0&&$0.offsetHeight>0); }; qx.Proto.pack=function(){this.setWidth(this.getPreferredBoxWidth()); this.setHeight(this.getPreferredBoxHeight()); }; qx.Proto.auto=function(){this.setWidth($[5]); this.setHeight($[5]); }; qx.Proto.getChildren=qx.lang.Function.returnNull; qx.Proto.getChildrenLength=qx.lang.Function.returnZero; qx.Proto.hasChildren=qx.lang.Function.returnFalse; qx.Proto.isEmpty=qx.lang.Function.returnTrue; qx.Proto.indexOf=qx.lang.Function.returnNegativeIndex; qx.Proto.contains=qx.lang.Function.returnFalse; qx.Proto.getVisibleChildren=qx.lang.Function.returnNull; qx.Proto.getVisibleChildrenLength=qx.lang.Function.returnZero; qx.Proto.hasVisibleChildren=qx.lang.Function.returnFalse; qx.Proto.isVisibleEmpty=qx.lang.Function.returnTrue; qx.Proto._hasParent=false; qx.Proto._isDisplayable=false; qx.Proto.isDisplayable=function(){return this._isDisplayable; }; qx.Proto._checkParent=function($0,$1,$2){if(this.contains($0)){throw new Error("Could not insert myself into a child "+$0+"!"); }return $0; }; qx.Proto._modifyParent=function($0,$1,$2){if($1){var $3=$1.getChildren().indexOf(this); this._computedWidthValue=this._computedMinWidthValue=this._computedMaxWidthValue=this._computedLeftValue=this._computedRightValue=null; this._computedHeightValue=this._computedMinHeightValue=this._computedMaxHeightValue=this._computedTopValue=this._computedBottomValue=null; this._cachedBoxWidth=this._cachedInnerWidth=this._cachedOuterWidth=null; this._cachedBoxHeight=this._cachedInnerHeight=this._cachedOuterHeight=null; qx.lang.Array.removeAt($1.getChildren(),$3); $1._invalidateVisibleChildren(); $1._removeChildFromChildrenQueue(this); $1.getLayoutImpl().updateChildrenOnRemoveChild(this,$3); $1.addToJobQueue($[705]); $1._invalidatePreferredInnerDimensions(); this._oldParent=$1; } if($0){this._hasParent=true; if(typeof this._insertIndex==$[2]){qx.lang.Array.insertAt($0.getChildren(),this,this._insertIndex); delete this._insertIndex; }else{$0.getChildren().push(this); }}else{this._hasParent=false; }return this._handleDisplayable($[237]); }; qx.Proto._modifyDisplay=function($0,$1,$2){return this._handleDisplayable($[128]); }; qx.Proto._handleDisplayable=function($0){var $1=this._computeDisplayable(); if(this._isDisplayable==$1&&!($1&&$0==$[237])){return true; }this._isDisplayable=$1; var $2=this.getParent(); if($2){$2._invalidateVisibleChildren(); $2._invalidatePreferredInnerDimensions(); }if($0&&this._oldParent&&this._oldParent._initialLayoutDone){var $3=this.getElement(); if($3){if(this.getVisibility()){this._beforeDisappear(); }this._beforeRemoveDom(); this._oldParent._getTargetNode().removeChild($3); this._afterRemoveDom(); if(this.getVisibility()){this._afterDisappear(); }}delete this._oldParent; }if($1){if($2._initialLayoutDone){$2.getLayoutImpl().updateChildrenOnAddChild(this,$2.getChildren().indexOf(this)); $2.addToJobQueue($[2280]); }this.addToLayoutChanges($[2784]); this.addToCustomQueues($0); if(this.getVisibility()){this._beforeAppear(); }if(!this._isCreated){qx.ui.core.Widget.addToGlobalElementQueue(this); }qx.ui.core.Widget.addToGlobalStateQueue(this); if(!qx.lang.Object.isEmpty(this._jobQueue)){qx.ui.core.Widget.addToGlobalJobQueue(this); } if(!qx.lang.Object.isEmpty(this._childrenQueue)){qx.ui.core.Widget.addToGlobalLayoutQueue(this); }}else{qx.ui.core.Widget.removeFromGlobalElementQueue(this); qx.ui.core.Widget.removeFromGlobalStateQueue(this); qx.ui.core.Widget.removeFromGlobalJobQueue(this); qx.ui.core.Widget.removeFromGlobalLayoutQueue(this); this.removeFromCustomQueues($0); if($2&&$0){if(this.getVisibility()){this._beforeDisappear(); }if($2._initialLayoutDone&&this._initialLayoutDone){$2.getLayoutImpl().updateChildrenOnRemoveChild(this,$2.getChildren().indexOf(this)); $2.addToJobQueue($[705]); this._beforeRemoveDom(); $2._getTargetNode().removeChild(this.getElement()); this._afterRemoveDom(); }$2._removeChildFromChildrenQueue(this); if(this.getVisibility()){this._afterDisappear(); }}}this._handleDisplayableCustom($1,$2,$0); return true; }; qx.Proto.addToCustomQueues=qx.lang.Function.returnTrue; qx.Proto.removeFromCustomQueues=qx.lang.Function.returnTrue; qx.Proto._handleDisplayableCustom=qx.lang.Function.returnTrue; qx.Proto._computeDisplayable=function(){return this.getDisplay()&&this._hasParent&&this.getParent()._isDisplayable?true:false; }; qx.Proto._beforeAppear=function(){this.createDispatchEvent($[628]); }; qx.Proto._afterAppear=function(){this._isSeeable=true; this.createDispatchEvent($[70]); }; qx.Proto._beforeDisappear=function(){this.removeState($[49]); if(qx.OO.isAvailable($[514])){this.removeState($[20]); this.removeState($[39]); }this.createDispatchEvent($[442]); }; qx.Proto._afterDisappear=function(){this._isSeeable=false; this.createDispatchEvent($[187]); }; qx.Proto._isSeeable=false; qx.Proto.isSeeable=function(){return this._isSeeable; }; qx.Proto.isAppearRelevant=function(){return this.getVisibility()&&this._isDisplayable; }; qx.Proto._beforeInsertDom=function(){this.createDispatchEvent($[2082]); }; qx.Proto._afterInsertDom=function(){this.createDispatchEvent($[2591]); }; qx.Proto._beforeRemoveDom=function(){this.createDispatchEvent($[2191]); }; qx.Proto._afterRemoveDom=function(){this.createDispatchEvent($[2463]); }; qx.Proto._modifyVisibility=function($0,$1,$2){if($0){if(this._isDisplayable){this._beforeAppear(); }this.removeStyleProperty($[128]); if(this._isDisplayable){this._afterAppear(); }}else{if(this._isDisplayable){this._beforeDisappear(); }this.setStyleProperty($[128],$[32]); if(this._isDisplayable){this._afterDisappear(); }}return true; }; qx.Proto.show=function(){this.setVisibility(true); this.setDisplay(true); }; qx.Proto.hide=function(){this.setVisibility(false); }; qx.Proto.connect=function(){this.setDisplay(true); }; qx.Proto.disconnect=function(){this.setDisplay(false); }; if(qx.core.Client.getInstance().isGecko()){qx.Proto._createElementForEnhancedBorder=qx.lang.Function.returnTrue; }else{qx.Proto._createElementForEnhancedBorder=function(){if(qx.renderer.border.Border.enhancedCrossBrowserMode&&this.getTagName()==$[55]&&!this._borderElement){var $0=this.getElement(); var $1=this._borderElement=document.createElement($[55]); var $2=$0.style; var $3=this._borderStyle=$1.style; $3.width=$3.height=$[42]; $3.position=$[100]; for(var $4 in this._styleProperties){switch($4){case $[109]:case $[274]:case $[125]:case $[128]:break; default:$3[$4]=this._styleProperties[$4]; $2[$4]=$[1]; }} for(var $4 in this._htmlProperties){switch($4){case $[184]:$1.unselectable=this._htmlProperties[$4]; }}while($0.firstChild){$1.appendChild($0.firstChild); }$0.appendChild($1); }}; }qx.Proto._isCreated=false; if(qx.core.Client.getInstance().isGecko()){qx.Proto._getTargetNode=function(){return this._element; }; }else{qx.Proto._getTargetNode=function(){return this._borderElement||this._element; }; }qx.Proto.addToDocument=function(){qx.ui.core.ClientDocument.getInstance().add(this); }; qx.Proto.isCreated=function(){return this._isCreated; }; qx.Proto._createElementImpl=function(){this.setElement(this.getTopLevelWidget().getDocumentElement().createElement(this.getTagName())); }; qx.Proto._modifyElement=function($0,$1,$2){this._isCreated=$0!=null; if($1){$1.qx_Widget=null; this._removeInlineEvents($1); } if($0){$0.qx_Widget=this; this._element=$0; this._style=$0.style; this._applyStyleProperties($0); this._applyHtmlProperties($0); this._applyHtmlAttributes($0); this._applyElementData($0); this._addInlineEvents($0); this.createDispatchEvent($[1945]); }else{this._element=this._style=null; }return true; }; qx.Proto.addToJobQueue=function($0){if(this._hasParent){qx.ui.core.Widget.addToGlobalJobQueue(this); } if(!this._jobQueue){this._jobQueue={}; }this._jobQueue[$0]=true; return true; }; qx.Proto._flushJobQueue=function($0){try{var $1=this._jobQueue; var $2=this.getParent(); if(!$2||qx.lang.Object.isEmpty($1)){return; }var $3=this instanceof qx.ui.core.Parent?this.getLayoutImpl():null; if($3){$3.updateSelfOnJobQueueFlush($1); }}catch(ex){this.error("Flushing job queue (prechecks#1) failed",ex); }try{var $4=false; var $5=$1.marginLeft||$1.marginRight; var $6=$1.marginTop||$1.marginBottom; var $7=$1.frameWidth; var $8=$1.frameHeight; var $9=($1.frameWidth||$1.preferredInnerWidth)&&this._recomputePreferredBoxWidth(); var $a=($1.frameHeight||$1.preferredInnerHeight)&&this._recomputePreferredBoxHeight(); if($9){var $b=this.getPreferredBoxWidth(); if(this._computedWidthTypeAuto){this._computedWidthValue=$b; $1.width=true; } if(this._computedMinWidthTypeAuto){this._computedMinWidthValue=$b; $1.minWidth=true; } if(this._computedMaxWidthTypeAuto){this._computedMaxWidthValue=$b; $1.maxWidth=true; }} if($a){var $b=this.getPreferredBoxHeight(); if(this._computedHeightTypeAuto){this._computedHeightValue=$b; $1.height=true; } if(this._computedMinHeightTypeAuto){this._computedMinHeightValue=$b; $1.minHeight=true; } if(this._computedMaxHeightTypeAuto){this._computedMaxHeightValue=$b; $1.maxHeight=true; }} if(($1.width||$1.minWidth||$1.maxWidth||$1.left||$1.right)&&this._recomputeBoxWidth()){$5=$7=true; } if(($1.height||$1.minHeight||$1.maxHeight||$1.top||$1.bottom)&&this._recomputeBoxHeight()){$6=$8=true; }}catch(ex){this.error("Flushing job queue (recompute#2) failed",ex); }try{if(($5&&this._recomputeOuterWidth())||$9){$2._invalidatePreferredInnerWidth(); $2.getLayoutImpl().updateSelfOnChildOuterWidthChange(this); $4=true; } if(($6&&this._recomputeOuterHeight())||$a){$2._invalidatePreferredInnerHeight(); $2.getLayoutImpl().updateSelfOnChildOuterHeightChange(this); $4=true; } if($4){$2._flushJobQueue(); }}catch(ex){this.error("Flushing job queue (parentsignals#3) failed",ex); }try{$2._addChildToChildrenQueue(this); for(var $c in $1){this._layoutChanges[$c]=true; }}catch(ex){this.error("Flushing job queue (addjobs#4) failed",ex); }try{if(this instanceof qx.ui.core.Parent&&($1.paddingLeft||$1.paddingRight||$1.paddingTop||$1.paddingBottom)){var $d=this.getChildren(),$e=$d.length; if($1.paddingLeft){for(var $c=0;$c<$e;$c++){$d[$c].addToLayoutChanges($[1543]); }} if($1.paddingRight){for(var $c=0;$c<$e;$c++){$d[$c].addToLayoutChanges($[1575]); }} if($1.paddingTop){for(var $c=0;$c<$e;$c++){$d[$c].addToLayoutChanges($[2845]); }} if($1.paddingBottom){for(var $c=0;$c<$e;$c++){$d[$c].addToLayoutChanges($[1317]); }}} if($7){this._recomputeInnerWidth(); } if($8){this._recomputeInnerHeight(); } if(this._initialLayoutDone){if($3){$3.updateChildrenOnJobQueueFlush($1); }}}catch(ex){this.error("Flushing job queue (childrensignals#5) failed",ex); }delete this._jobQueue; }; qx.Proto._isWidthEssential=qx.lang.Function.returnTrue; qx.Proto._isHeightEssential=qx.lang.Function.returnTrue; qx.ui.core.Widget.initApplyMethods=function($0){var $1=$[2505]; var $2=$[1481]; var $3=$[2754]; var $4=$[1701]; var $5=$[2260]; var $6=[$[10],$[12],$[16],$[24],$[46],$[47],$[104],$[118],$[113],$[133]]; var $7=[$[58],$[59],$[2996],$[2780],$[724],$[1113],$[2751],$[1819],$[2991],$[2650]]; var $8=$1+$[838]; var $9=$2+$[838]; var $a=$3+$[777]; for(var $b=0;$b<4;$b++){$0[$8+$7[$b]]=new Function($5,$a+$7[$b]+$4); $0[$9+$7[$b]]=new Function($a+$7[$b]+$[350]); }var $c=$1+$[850]; var $d=$2+$[850]; var $e=$3+$[637]; if(qx.core.Client.getInstance().isGecko()){for(var $b=0;$b<4;$b++){$0[$c+$7[$b]]=new Function($5,$e+$7[$b]+$4); $0[$d+$7[$b]]=new Function($e+$7[$b]+$[350]); }}else{for(var $b=0;$b<4;$b++){$0[$c+$7[$b]]=new Function($5,$[2496]+$7[$b]+$[1037]); $0[$d+$7[$b]]=new Function($[1077]+$7[$b]+$[421]); }}if(qx.core.Client.getInstance().isMshtml()){for(var $b=0;$b<6;$b++){$0[$1+$7[$b]]=new Function($5,$3+$[2494]+$7[$b]+$[2101]); $0[$2+$7[$b]]=new Function($3+$6[$b]+$[350]); }}else{for(var $b=0;$b<10;$b++){$0[$1+$7[$b]]=new Function($5,$3+$6[$b]+$4); $0[$2+$7[$b]]=new Function($3+$6[$b]+$[350]); }}}; qx.ui.core.Widget.initApplyMethods(qx.Proto); qx.OO.addCachedProperty({name:$[817],defaultValue:null}); qx.OO.addCachedProperty({name:$[868],defaultValue:null}); qx.OO.addCachedProperty({name:$[2210],defaultValue:null}); qx.OO.addCachedProperty({name:$[2864],defaultValue:null}); qx.OO.addCachedProperty({name:$[739],defaultValue:null}); qx.OO.addCachedProperty({name:$[912],defaultValue:null}); qx.Proto._computeBoxWidthFallback=function(){return 0; }; qx.Proto._computeBoxHeightFallback=function(){return 0; }; qx.Proto._computeBoxWidth=function(){var $0=this.getParent().getLayoutImpl(); return Math.max(0,qx.lang.Number.limit($0.computeChildBoxWidth(this),this.getMinWidthValue(),this.getMaxWidthValue())); }; qx.Proto._computeBoxHeight=function(){var $0=this.getParent().getLayoutImpl(); return Math.max(0,qx.lang.Number.limit($0.computeChildBoxHeight(this),this.getMinHeightValue(),this.getMaxHeightValue())); }; qx.Proto._computeOuterWidth=function(){return Math.max(0,(this.getMarginLeft()+this.getBoxWidth()+this.getMarginRight())); }; qx.Proto._computeOuterHeight=function(){return Math.max(0,(this.getMarginTop()+this.getBoxHeight()+this.getMarginBottom())); }; qx.Proto._computeInnerWidth=function(){return Math.max(0,this.getBoxWidth()-this.getFrameWidth()); }; qx.Proto._computeInnerHeight=function(){return Math.max(0,this.getBoxHeight()-this.getFrameHeight()); }; qx.Proto.getNeededWidth=function(){var $0=this.getParent().getLayoutImpl(); return Math.max(0,$0.computeChildNeededWidth(this)); }; qx.Proto.getNeededHeight=function(){var $0=this.getParent().getLayoutImpl(); return Math.max(0,$0.computeChildNeededHeight(this)); }; qx.Proto._recomputeFlexX=function(){if(!this.getHasFlexX()){return false; } if(this._computedWidthTypeFlex){this._computedWidthValue=null; this.addToLayoutChanges($[46]); }return true; }; qx.Proto._recomputeFlexY=function(){if(!this.getHasFlexY()){return false; } if(this._computedHeightTypeFlex){this._computedHeightValue=null; this.addToLayoutChanges($[47]); }return true; }; qx.Proto._recomputePercentX=function(){if(!this.getHasPercentX()){return false; } if(this._computedWidthTypePercent){this._computedWidthValue=null; this.addToLayoutChanges($[46]); } if(this._computedMinWidthTypePercent){this._computedMinWidthValue=null; this.addToLayoutChanges($[104]); } if(this._computedMaxWidthTypePercent){this._computedMaxWidthValue=null; this.addToLayoutChanges($[118]); } if(this._computedLeftTypePercent){this._computedLeftValue=null; this.addToLayoutChanges($[10]); } if(this._computedRightTypePercent){this._computedRightValue=null; this.addToLayoutChanges($[12]); }return true; }; qx.Proto._recomputePercentY=function(){if(!this.getHasPercentY()){return false; } if(this._computedHeightTypePercent){this._computedHeightValue=null; this.addToLayoutChanges($[47]); } if(this._computedMinHeightTypePercent){this._computedMinHeightValue=null; this.addToLayoutChanges($[113]); } if(this._computedMaxHeightTypePercent){this._computedMaxHeightValue=null; this.addToLayoutChanges($[133]); } if(this._computedTopTypePercent){this._computedTopValue=null; this.addToLayoutChanges($[16]); } if(this._computedBottomTypePercent){this._computedBottomValue=null; this.addToLayoutChanges($[24]); }return true; }; if(qx.core.Client.getInstance().isMshtml()||qx.core.Client.getInstance().isOpera()){qx.Proto._recomputeRangeX=function(){if(this._computedLeftTypeNull||this._computedRightTypeNull){return false; }this.addToLayoutChanges($[46]); return true; }; qx.Proto._recomputeRangeY=function(){if(this._computedTopTypeNull||this._computedBottomTypeNull){return false; }this.addToLayoutChanges($[47]); return true; }; }else{qx.Proto._recomputeRangeX=function(){return !(this._computedLeftTypeNull||this._computedRightTypeNull); }; qx.Proto._recomputeRangeY=function(){return !(this._computedTopTypeNull||this._computedBottomTypeNull); }; }if(qx.core.Client.getInstance().isMshtml()||qx.core.Client.getInstance().isOpera()){qx.Proto._recomputeStretchingX=function(){if(this.getAllowStretchX()&&this._computedWidthTypeNull){this._computedWidthValue=null; this.addToLayoutChanges($[46]); return true; }return false; }; qx.Proto._recomputeStretchingY=function(){if(this.getAllowStretchY()&&this._computedHeightTypeNull){this._computedHeightValue=null; this.addToLayoutChanges($[47]); return true; }return false; }; }else{qx.Proto._recomputeStretchingX=function(){if(this.getAllowStretchX()&&this._computedWidthTypeNull){return true; }return false; }; qx.Proto._recomputeStretchingY=function(){if(this.getAllowStretchY()&&this._computedHeightTypeNull){return true; }return false; }; }qx.Proto._computeValuePixel=function($0){return Math.round($0); }; qx.Proto._computeValuePixelLimit=function($0){return Math.max(0,this._computeValuePixel($0)); }; qx.Proto._computeValuePercentX=function($0){return Math.round(this.getParent().getInnerWidthForChild(this)*$0*0.01); }; qx.Proto._computeValuePercentXLimit=function($0){return Math.max(0,this._computeValuePercentX($0)); }; qx.Proto._computeValuePercentY=function($0){return Math.round(this.getParent().getInnerHeightForChild(this)*$0*0.01); }; qx.Proto._computeValuePercentYLimit=function($0){return Math.max(0,this._computeValuePercentY($0)); }; qx.Proto.getWidthValue=function(){if(this._computedWidthValue!=null){return this._computedWidthValue; } switch(this._computedWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedWidthParsed); case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedWidthParsed); case qx.ui.core.Widget.TYPE_AUTO:return this._computedWidthValue=this.getPreferredBoxWidth(); case qx.ui.core.Widget.TYPE_FLEX:try{this.getParent().getLayoutImpl().computeChildrenFlexWidth(); }catch(e){if(this.getParent().getLayoutImpl()[$[1619]]==null){throw new Error("Widget "+this+": having flex size but parent layout does not support it"); }else{throw e; }}return this._computedWidthValue=this._computedWidthFlexValue; }return null; }; qx.Proto.getMinWidthValue=function(){if(this._computedMinWidthValue!=null){return this._computedMinWidthValue; } switch(this._computedMinWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedMinWidthParsed); case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedMinWidthParsed); case qx.ui.core.Widget.TYPE_AUTO:return this._computedMinWidthValue=this.getPreferredBoxWidth(); }return null; }; qx.Proto.getMaxWidthValue=function(){if(this._computedMaxWidthValue!=null){return this._computedMaxWidthValue; } switch(this._computedMaxWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedMaxWidthParsed); case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedMaxWidthParsed); case qx.ui.core.Widget.TYPE_AUTO:return this._computedMaxWidthValue=this.getPreferredBoxWidth(); }return null; }; qx.Proto.getLeftValue=function(){if(this._computedLeftValue!=null){return this._computedLeftValue; } switch(this._computedLeftType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedLeftValue=this._computeValuePixel(this._computedLeftParsed); case qx.ui.core.Widget.TYPE_PERCENT:return this._computedLeftValue=this._computeValuePercentX(this._computedLeftParsed); }return null; }; qx.Proto.getRightValue=function(){if(this._computedRightValue!=null){return this._computedRightValue; } switch(this._computedRightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedRightValue=this._computeValuePixel(this._computedRightParsed); case qx.ui.core.Widget.TYPE_PERCENT:return this._computedRightValue=this._computeValuePercentX(this._computedRightParsed); }return null; }; qx.Proto.getHeightValue=function(){if(this._computedHeightValue!=null){return this._computedHeightValue; } switch(this._computedHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedHeightValue=this._computeValuePixelLimit(this._computedHeightParsed); case qx.ui.core.Widget.TYPE_PERCENT:return this._computedHeightValue=this._computeValuePercentYLimit(this._computedHeightParsed); case qx.ui.core.Widget.TYPE_AUTO:return this._computedHeightValue=this.getPreferredBoxHeight(); case qx.ui.core.Widget.TYPE_FLEX:try{this.getParent().getLayoutImpl().computeChildrenFlexHeight(); }catch(e){if(this.getParent().getLayoutImpl()[$[1455]]==null){throw new Error("Widget "+this+": having flex size but parent layout does not support it"); }else{throw e; }}return this._computedHeightValue=this._computedHeightFlexValue; }return null; }; qx.Proto.getMinHeightValue=function(){if(this._computedMinHeightValue!=null){return this._computedMinHeightValue; } switch(this._computedMinHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedMinHeightValue=this._computeValuePixelLimit(this._computedMinHeightParsed); case qx.ui.core.Widget.TYPE_PERCENT:return this._computedMinHeightValue=this._computeValuePercentYLimit(this._computedMinHeightParsed); case qx.ui.core.Widget.TYPE_AUTO:return this._computedMinHeightValue=this.getPreferredBoxHeight(); }return null; }; qx.Proto.getMaxHeightValue=function(){if(this._computedMaxHeightValue!=null){return this._computedMaxHeightValue; } switch(this._computedMaxHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedMaxHeightValue=this._computeValuePixelLimit(this._computedMaxHeightParsed); case qx.ui.core.Widget.TYPE_PERCENT:return this._computedMaxHeightValue=this._computeValuePercentYLimit(this._computedMaxHeightParsed); case qx.ui.core.Widget.TYPE_AUTO:return this._computedMaxHeightValue=this.getPreferredBoxHeight(); }return null; }; qx.Proto.getTopValue=function(){if(this._computedTopValue!=null){return this._computedTopValue; } switch(this._computedTopType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedTopValue=this._computeValuePixel(this._computedTopParsed); case qx.ui.core.Widget.TYPE_PERCENT:return this._computedTopValue=this._computeValuePercentY(this._computedTopParsed); }return null; }; qx.Proto.getBottomValue=function(){if(this._computedBottomValue!=null){return this._computedBottomValue; } switch(this._computedBottomType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedBottomValue=this._computeValuePixel(this._computedBottomParsed); case qx.ui.core.Widget.TYPE_PERCENT:return this._computedBottomValue=this._computeValuePercentY(this._computedBottomParsed); }return null; }; qx.OO.addCachedProperty({name:$[1656],defaultValue:null,addToQueueRuntime:true}); qx.OO.addCachedProperty({name:$[1785],defaultValue:null,addToQueueRuntime:true}); qx.Proto._computeFrameWidth=function(){var $0=this._cachedBorderLeft+this.getPaddingLeft()+this.getPaddingRight()+this._cachedBorderRight; switch(this.getOverflow()){case $[75]:case $[117]:qx.ui.core.Widget.initOverflow(); $0+=qx.ui.core.Widget.SCROLLBAR_SIZE; break; case $[5]:break; }return $0; }; qx.Proto._computeFrameHeight=function(){var $0=this._cachedBorderTop+this.getPaddingTop()+this.getPaddingBottom()+this._cachedBorderBottom; switch(this.getOverflow()){case $[75]:case $[158]:qx.ui.core.Widget.initOverflow(); $0+=qx.ui.core.Widget.SCROLLBAR_SIZE; break; case $[5]:break; }return $0; }; qx.Proto._invalidateFrameDimensions=function(){this._invalidateFrameWidth(); this._invalidateFrameHeight(); }; qx.OO.addCachedProperty({name:$[2541],defaultValue:null,addToQueueRuntime:true}); qx.OO.addCachedProperty({name:$[2376],defaultValue:null,addToQueueRuntime:true}); qx.Proto._invalidatePreferredInnerDimensions=function(){this._invalidatePreferredInnerWidth(); this._invalidatePreferredInnerHeight(); }; qx.OO.addCachedProperty({name:$[2150],defaultValue:null}); qx.OO.addCachedProperty({name:$[986],defaultValue:null}); qx.Proto._computePreferredBoxWidth=function(){try{return Math.max(0,this.getPreferredInnerWidth()+this.getFrameWidth()); }catch(ex){this.error("_computePreferredBoxWidth failed",ex); }}; qx.Proto._computePreferredBoxHeight=function(){try{return Math.max(0,this.getPreferredInnerHeight()+this.getFrameHeight()); }catch(ex){this.error("_computePreferredBoxHeight failed",ex); }}; qx.Proto._initialLayoutDone=false; qx.Proto.addToLayoutChanges=function($0){if(this._isDisplayable){this.getParent()._addChildToChildrenQueue(this); }return this._layoutChanges[$0]=true; }; qx.Proto.addToQueue=function($0){this._initialLayoutDone?this.addToJobQueue($0):this.addToLayoutChanges($0); }; qx.Proto.addToQueueRuntime=function($0){return !this._initialLayoutDone||this.addToJobQueue($0); }; qx.Proto._applyBorderX=function($0,$1,$2){var $3=$0.getBorder(); $3?$3._applyWidgetX($0):qx.renderer.border.Border._resetBorderX($0); }; qx.Proto._applyBorderY=function($0,$1,$2){var $3=$0.getBorder(); $3?$3._applyWidgetY($0):qx.renderer.border.Border._resetBorderY($0); }; qx.Proto._applyPaddingX=qx.lang.Function.returnTrue; qx.Proto._applyPaddingY=qx.lang.Function.returnTrue; qx.OO.addCachedProperty({name:$[1016],defaultValue:false}); qx.OO.addCachedProperty({name:$[2895],defaultValue:false}); qx.OO.addCachedProperty({name:$[2143],defaultValue:false}); qx.OO.addCachedProperty({name:$[2006],defaultValue:false}); qx.OO.addCachedProperty({name:$[2306],defaultValue:false}); qx.OO.addCachedProperty({name:$[2155],defaultValue:false}); qx.Proto._computeHasPercentX=function(){return (this._computedLeftTypePercent||this._computedWidthTypePercent||this._computedMinWidthTypePercent||this._computedMaxWidthTypePercent||this._computedRightTypePercent); }; qx.Proto._computeHasPercentY=function(){return (this._computedTopTypePercent||this._computedHeightTypePercent||this._computedMinHeightTypePercent||this._computedMaxHeightTypePercent||this._computedBottomTypePercent); }; qx.Proto._computeHasAutoX=function(){return (this._computedWidthTypeAuto||this._computedMinWidthTypeAuto||this._computedMaxWidthTypeAuto); }; qx.Proto._computeHasAutoY=function(){return (this._computedHeightTypeAuto||this._computedMinHeightTypeAuto||this._computedMaxHeightTypeAuto); }; qx.Proto._computeHasFlexX=function(){return this._computedWidthTypeFlex; }; qx.Proto._computeHasFlexY=function(){return this._computedHeightTypeFlex; }; qx.ui.core.Widget.TYPE_NULL=0; qx.ui.core.Widget.TYPE_PIXEL=1; qx.ui.core.Widget.TYPE_PERCENT=2; qx.ui.core.Widget.TYPE_AUTO=3; qx.ui.core.Widget.TYPE_FLEX=4; qx.Proto._evalUnitsPixelPercentAutoFlex=function($0){switch($0){case $[5]:return qx.ui.core.Widget.TYPE_AUTO; case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL; } switch(typeof $0){case $[2]:return isNaN($0)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL; case $[0]:return $0.indexOf($[241])!=-1?qx.ui.core.Widget.TYPE_PERCENT:$0.indexOf($[144])!=-1?qx.ui.core.Widget.TYPE_FLEX:qx.ui.core.Widget.TYPE_NULL; }return qx.ui.core.Widget.TYPE_NULL; }; qx.Proto._evalUnitsPixelPercentAuto=function($0){switch($0){case $[5]:return qx.ui.core.Widget.TYPE_AUTO; case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL; } switch(typeof $0){case $[2]:return isNaN($0)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL; case $[0]:return $0.indexOf($[241])!=-1?qx.ui.core.Widget.TYPE_PERCENT:qx.ui.core.Widget.TYPE_NULL; }return qx.ui.core.Widget.TYPE_NULL; }; qx.Proto._evalUnitsPixelPercent=function($0){switch($0){case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL; } switch(typeof $0){case $[2]:return isNaN($0)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL; case $[0]:return $0.indexOf($[241])!=-1?qx.ui.core.Widget.TYPE_PERCENT:qx.ui.core.Widget.TYPE_NULL; }return qx.ui.core.Widget.TYPE_NULL; }; qx.ui.core.Widget.layoutPropertyTypes={}; qx.ui.core.Widget.initLayoutProperties=function(){var $0=[$[46],$[47],$[104],$[118],$[113],$[133],$[10],$[12],$[16],$[24]]; for(var $1=0,$2=$0.length,$3,$4,$5;$1<$2;$1++){$3=$0[$1]; $4=$[727]+qx.lang.String.toFirstUp($3); $5=$4+$[620]; qx.ui.core.Widget.layoutPropertyTypes[$3]={dataType:$5,dataParsed:$4+$[791],dataValue:$4+$[413],typePixel:$5+$[1147],typePercent:$5+$[2798],typeAuto:$5+$[2925],typeFlex:$5+$[2462],typeNull:$5+$[1440]}; }}; qx.ui.core.Widget.initLayoutProperties(); qx.Proto._unitDetectionPixelPercentAutoFlex=function($0,$1){var $2=qx.ui.core.Widget.layoutPropertyTypes[$0.name]; var $3=$2.dataType; var $4=$2.dataParsed; var $5=$2.dataValue; var $6=$2.typePixel; var $7=$2.typePercent; var $8=$2.typeAuto; var $9=$2.typeFlex; var $a=$2.typeNull; var $b=this[$7]; var $c=this[$8]; var $d=this[$9]; switch(this[$3]=this._evalUnitsPixelPercentAutoFlex($1)){case qx.ui.core.Widget.TYPE_PIXEL:this[$6]=true; this[$7]=this[$8]=this[$9]=this[$a]=false; this[$4]=this[$5]=Math.round($1); break; case qx.ui.core.Widget.TYPE_PERCENT:this[$7]=true; this[$6]=this[$8]=this[$9]=this[$a]=false; this[$4]=parseFloat($1); this[$5]=null; break; case qx.ui.core.Widget.TYPE_AUTO:this[$8]=true; this[$6]=this[$7]=this[$9]=this[$a]=false; this[$4]=this[$5]=null; break; case qx.ui.core.Widget.TYPE_FLEX:this[$9]=true; this[$6]=this[$7]=this[$8]=this[$a]=false; this[$4]=parseFloat($1); this[$5]=null; break; default:this[$a]=true; this[$6]=this[$7]=this[$8]=this[$9]=false; this[$4]=this[$5]=null; break; } if($b!=this[$7]){switch($0.name){case $[104]:case $[118]:case $[46]:case $[10]:case $[12]:this._invalidateHasPercentX(); break; case $[133]:case $[113]:case $[47]:case $[16]:case $[24]:this._invalidateHasPercentY(); break; }}if($c!=this[$8]){switch($0.name){case $[104]:case $[118]:case $[46]:this._invalidateHasAutoX(); break; case $[113]:case $[133]:case $[47]:this._invalidateHasAutoY(); break; }}if($d!=this[$9]){switch($0.name){case $[46]:this._invalidateHasFlexX(); break; case $[47]:this._invalidateHasFlexY(); break; }}}; qx.Proto._unitDetectionPixelPercentAuto=function($0,$1){var $2=qx.ui.core.Widget.layoutPropertyTypes[$0.name]; var $3=$2.dataType; var $4=$2.dataParsed; var $5=$2.dataValue; var $6=$2.typePixel; var $7=$2.typePercent; var $8=$2.typeAuto; var $9=$2.typeNull; var $a=this[$7]; var $b=this[$8]; switch(this[$3]=this._evalUnitsPixelPercentAuto($1)){case qx.ui.core.Widget.TYPE_PIXEL:this[$6]=true; this[$7]=this[$8]=this[$9]=false; this[$4]=this[$5]=Math.round($1); break; case qx.ui.core.Widget.TYPE_PERCENT:this[$7]=true; this[$6]=this[$8]=this[$9]=false; this[$4]=parseFloat($1); this[$5]=null; break; case qx.ui.core.Widget.TYPE_AUTO:this[$8]=true; this[$6]=this[$7]=this[$9]=false; this[$4]=this[$5]=null; break; default:this[$9]=true; this[$6]=this[$7]=this[$8]=false; this[$4]=this[$5]=null; break; } if($a!=this[$7]){switch($0.name){case $[104]:case $[118]:case $[46]:case $[10]:case $[12]:this._invalidateHasPercentX(); break; case $[113]:case $[133]:case $[47]:case $[16]:case $[24]:this._invalidateHasPercentY(); break; }}if($b!=this[$8]){switch($0.name){case $[104]:case $[118]:case $[46]:this._invalidateHasAutoX(); break; case $[113]:case $[133]:case $[47]:this._invalidateHasAutoY(); break; }}}; qx.Proto._unitDetectionPixelPercent=function($0,$1){var $2=qx.ui.core.Widget.layoutPropertyTypes[$0.name]; var $3=$2.dataType; var $4=$2.dataParsed; var $5=$2.dataValue; var $6=$2.typePixel; var $7=$2.typePercent; var $8=$2.typeNull; var $9=this[$7]; switch(this[$3]=this._evalUnitsPixelPercent($1)){case qx.ui.core.Widget.TYPE_PIXEL:this[$6]=true; this[$7]=this[$8]=false; this[$4]=this[$5]=Math.round($1); break; case qx.ui.core.Widget.TYPE_PERCENT:this[$7]=true; this[$6]=this[$8]=false; this[$4]=parseFloat($1); this[$5]=null; break; default:this[$8]=true; this[$6]=this[$7]=false; this[$4]=this[$5]=null; break; } if($9!=this[$7]){switch($0.name){case $[104]:case $[118]:case $[46]:case $[10]:case $[12]:this._invalidateHasPercentX(); break; case $[113]:case $[133]:case $[47]:case $[16]:case $[24]:this._invalidateHasPercentY(); break; }}}; if(qx.core.Client.getInstance().isMshtml()){qx.ui.core.Widget.inlineEventMap={input:$[1123],select:$[1179],scroll:$[2695],focus:$[2471],blur:$[2302]}; qx.Proto.enableInlineEvent=function($0){var $1=qx.ui.core.Widget.inlineEventMap[$0]; if(!this._inlineEvents){this._inlineEvents=[$1]; }else{this._inlineEvents.push($1); } if(this._isCreated){this.getElement()[$1]=qx.ui.core.Widget.__oninlineevent; }}; qx.Proto.disableInlineEvent=function($0){var $1=qx.ui.core.Widget.inlineEventMap[$0]; if(this._inlineEvents){qx.lang.Array.remove(this._inlineEvents,$1); } if(this._isCreated){this.getElement()[$1]=null; }}; qx.Proto._addInlineEvents=function($0){if(this._inlineEvents){for(var $1=0,$2=this._inlineEvents,$3=$2.length;$1<$3;$1++){$0[$2[$1]]=qx.ui.core.Widget.__oninlineevent; }}}; qx.Proto._removeInlineEvents=function($0){if(this._inlineEvents){for(var $1=0,$2=this._inlineEvents,$3=$2.length;$1<$3;$1++){$0[$2[$1]]=null; }}}; }else{qx.Proto.enableInlineEvent=function($0){if(!this._inlineEvents){this._inlineEvents=[$0]; }else{this._inlineEvents.push($0); } if(this._isCreated){this.getElement().addEventListener($0,qx.ui.core.Widget.__oninlineevent,false); }}; qx.Proto.disableInlineEvent=function($0){if(this._inlineEvents){qx.lang.Array.remove(this._inlineEvents,$0); } if(this._isCreated){this.getElement().removeEventListener($0,qx.ui.core.Widget.__oninlineevent,false); }}; qx.Proto._addInlineEvents=function($0){if(this._inlineEvents){for(var $1=0,$2=this._inlineEvents,$3=$2.length;$1<$3;$1++){$0.addEventListener($2[$1],qx.ui.core.Widget.__oninlineevent,false); }}}; qx.Proto._removeInlineEvents=function($0){if(this._inlineEvents){for(var $1=0,$2=this._inlineEvents,$3=$2.length;$1<$3;$1++){$0.removeEventListener($2[$1],qx.ui.core.Widget.__oninlineevent,false); }}}; }qx.ui.core.Widget.__oninlineevent=function($0){if(!$0){$0=window.event; } if(this.qx_Widget){return this.qx_Widget._oninlineevent($0); }}; qx.Proto._oninlineevent=function($0){if(qx.ui.core.Widget._inFlushGlobalQueues){return; }switch($0.type){case $[1718]:this._oninlineproperty($0); break; case $[82]:this._oninlineinput($0); break; default:this.createDispatchEvent($0.type); }}; qx.Proto._oninlineinput=function($0){this.createDispatchDataEvent($[82],this.getComputedValue()); if($0.stopPropagation){$0.stopPropagation(); }$0.returnValue=-1; }; qx.Proto._oninlineproperty=function($0){switch($0.propertyName){case $[85]:if(!this._inValueProperty){this._oninlineinput($0); }break; }}; qx.Proto.getTopLevelWidget=function(){return this._hasParent?this.getParent().getTopLevelWidget():null; }; qx.Proto.moveSelfBefore=function($0){this.getParent().addBefore(this,$0); }; qx.Proto.moveSelfAfter=function($0){this.getParent().addAfter(this,$0); }; qx.Proto.moveSelfToBegin=function(){this.getParent().addAtBegin(this); }; qx.Proto.moveSelfToEnd=function(){this.getParent().addAtEnd(this); }; qx.Proto.getPreviousSibling=function(){var $0=this.getParent(); if($0==null){return null; }var $1=$0.getChildren(); return $1[$1.indexOf(this)-1]; }; qx.Proto.getNextSibling=function(){var $0=this.getParent(); if($0==null){return null; }var $1=$0.getChildren(); return $1[$1.indexOf(this)+1]; }; qx.Proto.getPreviousVisibleSibling=function(){if(!this._hasParent){return null; }var $0=this.getParent().getVisibleChildren(); return $0[$0.indexOf(this)-1]; }; qx.Proto.getNextVisibleSibling=function(){if(!this._hasParent){return null; }var $0=this.getParent().getVisibleChildren(); return $0[$0.indexOf(this)+1]; }; qx.Proto.getPreviousActiveSibling=function($0){var $1=qx.ui.core.Widget.getActiveSiblingHelper(this,this.getParent(),-1,$0,null); return $1?$1:this.getParent().getLastActiveChild(); }; qx.Proto.getNextActiveSibling=function($0){var $1=qx.ui.core.Widget.getActiveSiblingHelper(this,this.getParent(),1,$0,null); return $1?$1:this.getParent().getFirstActiveChild(); }; qx.Proto.isFirstChild=function(){return this._hasParent&&this.getParent().getFirstChild()==this; }; qx.Proto.isLastChild=function(){return this._hasParent&&this.getParent().getLastChild()==this; }; qx.Proto.isFirstVisibleChild=function(){return this._hasParent&&this.getParent().getFirstVisibleChild()==this; }; qx.Proto.isLastVisibleChild=function(){return this._hasParent&&this.getParent().getLastVisibleChild()==this; }; qx.Proto._modifyEnabled=function($0,$1,$2){if($0){this.removeState($[152]); }else{this.addState($[152]); this.removeState($[49]); if(qx.OO.isAvailable($[514])){this.removeState($[39]); this.removeState($[20]); }}return true; }; qx.Proto.hasState=function($0){return this._states[$0]?true:false; }; qx.Proto.addState=function($0){if(!this._states[$0]){this._states[$0]=true; if(this._hasParent){qx.ui.core.Widget.addToGlobalStateQueue(this); }}}; qx.Proto.removeState=function($0){if(this._states[$0]){delete this._states[$0]; if(this._hasParent){qx.ui.core.Widget.addToGlobalStateQueue(this); }}}; qx.Proto.setState=function($0,$1){if($1){this.addState($0); }else{this.removeState($0); }}; qx.Proto._applyInitialAppearance=function(){var $0=this.getAppearance(); if($0){try{var $1=qx.manager.object.AppearanceManager.getInstance().getAppearanceTheme().initialFrom($0); if($1){this.set($1); }}catch(ex){this.error("Could not apply initial appearance",ex); }}}; qx.Proto._applyStateAppearance=function(){this._applyStateStyleFocus(this._states); var $0=this.getAppearance(); if($0){try{var $1=qx.manager.object.AppearanceManager.getInstance().getAppearanceTheme().stateFrom($0,this._states); if($1){this.set($1); }}catch(ex){this.error("Could not apply state appearance",ex); }}}; qx.Proto._resetAppearanceThemeWrapper=function($0,$1){var $2=this.getAppearance(); if($2){var $3=qx.manager.object.AppearanceManager.getInstance().getThemeById($1); var $4=qx.manager.object.AppearanceManager.getInstance().getThemeById($0); var $5=qx.lang.Object.mergeWith($3.initialFrom($2),$3.stateFrom($2,this._states)); var $6=qx.lang.Object.mergeWith($4.initialFrom($2),$4.stateFrom($2,this._states)); for(var $7 in $5){if(!($7 in $6)){this[qx.OO.resetter[$7]](); }}this.set($6); }}; if(qx.core.Client.getInstance().isMshtml()){qx.Proto._applyStateStyleFocus=function($0){}; }else if(qx.core.Client.getInstance().isGecko()){qx.Proto._applyStateStyleFocus=function($0){if($0.focused){if(!qx.event.handler.FocusHandler.mouseFocus&&!this.getHideFocus()){this.setStyleProperty($[278],$[284]); }}else{this.removeStyleProperty($[278]); }}; }else{qx.Proto._applyStateStyleFocus=function($0){if($0.focused){if(!qx.event.handler.FocusHandler.mouseFocus&&!this.getHideFocus()){this.setStyleProperty($[297],$[284]); }}else{this.setStyleProperty($[297],$[211]); }}; }qx.Proto.addToStateQueue=function(){qx.ui.core.Widget.addToGlobalStateQueue(this); }; qx.Proto.recursiveAddToStateQueue=function(){this.addToStateQueue(); }; qx.Proto._modifyAppearance=function($0,$1,$2){var $3=qx.manager.object.AppearanceManager.getInstance().getAppearanceTheme(); var $4=$3.initialFrom($0); if(this.isCreated()){qx.lang.Object.mergeWith($4,$3.stateFrom($0,this._states)); } if($1){var $5=$3.initialFrom($1); if(this.isCreated()){qx.lang.Object.mergeWith($5,$3.stateFrom($1,this._states)); } for(var $6 in $5){if(!($6 in $4)){this[qx.OO.resetter[$6]](); }}}this.set($4); return true; }; qx.Proto._recursiveAppearanceThemeUpdate=function($0,$1){try{this._resetAppearanceThemeWrapper($0,$1); }catch(ex){this.error("Failed to update appearance theme",ex); }}; qx.Proto._applyElementData=function($0){}; qx.Proto.setHtmlProperty=function($0,$1){if(!this._htmlProperties){this._htmlProperties={}; }this._htmlProperties[$0]=$1; if(this._isCreated&&this.getElement()[$0]!=$1){this.getElement()[$0]=$1; }return true; }; if(qx.core.Client.getInstance().isMshtml()){qx.Proto.removeHtmlProperty=function($0){if(!this._htmlProperties){return; }delete this._htmlProperties[$0]; if(this._isCreated){this.getElement().removeAttribute($0); }return true; }; }else{qx.Proto.removeHtmlProperty=function($0){if(!this._htmlProperties){return; }delete this._htmlProperties[$0]; if(this._isCreated){this.getElement().removeAttribute($0); delete this.getElement()[$0]; }return true; }; }qx.Proto.getHtmlProperty=function($0){if(!this._htmlProperties){return $[1]; }return this._htmlProperties[$0]||$[1]; }; qx.Proto._applyHtmlProperties=function($0){var $1=this._htmlProperties; if($1){var $2; for($2 in $1){$0[$2]=$1[$2]; }}}; qx.Proto.setHtmlAttribute=function($0,$1){if(!this._htmlAttributes){this._htmlAttributes={}; }this._htmlAttributes[$0]=$1; if(this._isCreated){this.getElement().setAttribute($0,$1); }return true; }; qx.Proto.removeHtmlAttribute=function($0){if(!this._htmlAttributes){return; }delete this._htmlAttributes[$0]; if(this._isCreated){this.getElement().removeAttribute($0); }return true; }; qx.Proto.getHtmlAttribute=function($0){if(!this._htmlAttributes){return $[1]; }return this._htmlAttributes[$0]||$[1]; }; qx.Proto._applyHtmlAttributes=function($0){var $1=this._htmlAttributes; if($1){var $2; for($2 in $1){$0.setAttribute($2,$1[$2]); }}}; qx.Proto.getStyleProperty=function($0){return this._styleProperties[$0]||$[1]; }; qx.Proto.setStyleProperty=function($0,$1){this._styleProperties[$0]=$1; if(this._isCreated){switch($0){case $[274]:case $[125]:case $[128]:case $[154]:var $2=this.getElement(); break; default:var $2=this._getTargetNode(); } if($2){$2.style[$0]=$1; }}return true; }; qx.Proto.removeStyleProperty=function($0){delete this._styleProperties[$0]; if(this._isCreated){switch($0){case $[274]:case $[125]:case $[128]:case $[154]:var $1=this.getElement(); break; default:var $1=this._getTargetNode(); } if($1){$1.style[$0]=$[1]; }}return true; }; qx.Proto._applyStyleProperties=function($0){var $1=this._styleProperties; var $2; var $3=$0; var $4=this._getTargetNode(); for($2 in $1){switch($2){case $[274]:case $[125]:$0=$3; break; default:$0=$4; }var $5=$1[$2]; $0.style[$2]=($5==null)?$[1]:$5; }}; qx.Proto.isFocusable=function(){return this.isEnabled()&&this.isSeeable()&&this.getTabIndex()>=0; }; qx.Proto.isFocusRoot=function(){return false; }; qx.Proto.getFocusRoot=function(){if(this._hasParent){return this.getParent().getFocusRoot(); }return null; }; qx.Proto.getActiveChild=function(){var $0=this.getFocusRoot(); if($0){return $0.getActiveChild(); }return null; }; qx.Proto._ontabfocus=qx.lang.Function.returnTrue; qx.Proto._modifyFocused=function($0,$1,$2){if(!this.isCreated()){return true; }var $3=this.getFocusRoot(); if($3){if($0){$3.setFocusedChild(this); this._visualizeFocus(); }else{if($3.getFocusedChild()==this){$3.setFocusedChild(null); }this._visualizeBlur(); }}return true; }; qx.Proto._visualizeBlur=function(){if(this.getEnableElementFocus()&&(!this.getFocusRoot().getFocusedChild()||(this.getFocusRoot().getFocusedChild()&&this.getFocusRoot().getFocusedChild().getEnableElementFocus()))){try{this.getElement().blur(); }catch(ex){}}this.removeState($[180]); return true; }; qx.Proto._visualizeFocus=function(){if(!qx.event.handler.FocusHandler.mouseFocus&&this.getEnableElementFocus()){try{this.getElement().focus(); }catch(ex){}}this.addState($[180]); return true; }; qx.Proto.focus=function(){delete qx.event.handler.FocusHandler.mouseFocus; this.setFocused(true); }; qx.Proto.blur=function(){delete qx.event.handler.FocusHandler.mouseFocus; this.setFocused(false); }; qx.Proto._modifyCapture=function($0,$1,$2){var $3=qx.event.handler.EventHandler.getInstance(); if($1){$3.setCaptureWidget(null); }else if($0){$3.setCaptureWidget(this); }return true; }; qx.Proto._modifyZIndex=function($0,$1,$2){return this.setStyleProperty($2.name,$0); }; if(qx.core.Client.getInstance().isMshtml()){qx.Proto._modifyTabIndex=function($0,$1,$2){if($0<0||!this.getEnabled()){this.setHtmlProperty($[184],$[86]); }else{this.removeHtmlProperty($[184]); }this.setHtmlProperty($[293],$0<0?-1:1); return true; }; }else if(qx.core.Client.getInstance().isGecko()){qx.Proto._modifyTabIndex=function($0,$1,$2){this.setStyleProperty($[2453],($0<0?$[523]:$[139])); this.setStyleProperty($[961],($0<0?$[523]:$[139])); return true; }; }else{qx.Proto._modifyTabIndex=function($0,$1,$2){this.setStyleProperty($[961],($0<0?$[523]:$[139])); if($0<0||!this.getEnabled()){this.setHtmlProperty($[184],$[86]); }else{this.removeHtmlProperty($[184]); }this.setHtmlProperty($[293],$0<0?-1:1); return true; }; }qx.Proto.setCssClassName=function($0){this.setHtmlProperty($[243],$0); }; qx.Proto.getCssClassName=function(){return this.getHtmlProperty($[243]); }; qx.Proto.getWidgetFromPoint=function($0,$1){var $2=this.getWidgetFromPointHelper($0,$1); return $2&&$2!=this?$2:null; }; qx.Proto.getWidgetFromPointHelper=function($0,$1){return this; }; if(qx.core.Client.getInstance().isMshtml()){qx.Proto._modifySelectable=function($0,$1,$2){if($0){return this.removeHtmlProperty($[184]); }else{return this.setHtmlProperty($[184],$[86]); }}; }else if(qx.core.Client.getInstance().isGecko()){qx.Proto._modifySelectable=function($0,$1,$2){if($0){this.removeStyleProperty($[669]); }else{this.setStyleProperty($[669],$[32]); }return true; }; }else if(qx.core.Client.getInstance().isOpera()){qx.Proto._modifySelectable=function($0,$1,$2){return true; }; }else if(qx.core.Client.getInstance().isKhtml()||qx.core.Client.getInstance().isWebkit()){qx.Proto._modifySelectable=function($0,$1,$2){if($0){this.removeStyleProperty($[684]); }else{this.setStyleProperty($[684],$[32]); }return true; }; }else{qx.Proto._modifySelectable=function($0,$1,$2){if($0){return this.removeStyleProperty($[626]); }else{this.setStyleProperty($[626],$[32]); }}; }if(qx.core.Client.getInstance().isMshtml()){qx.Proto._modifyOpacity=function($0,$1,$2){if($0==null||$0>=1||$0<0){this.removeStyleProperty($[125]); }else{this.setStyleProperty($[125],($[1557]+Math.round($0*100)+$[99])); }return true; }; }else{qx.Proto._modifyOpacity=function($0,$1,$2){if($0==null||$0>1){if(qx.core.Client.getInstance().isGecko()){this.removeStyleProperty($[758]); }else if(qx.core.Client.getInstance().isKhtml()){this.removeStyleProperty($[647]); }this.removeStyleProperty($[399]); }else{$0=qx.lang.Number.limit($0,0,1); if(qx.core.Client.getInstance().isGecko()){this.setStyleProperty($[758],$0); }else if(qx.core.Client.getInstance().isKhtml()){this.setStyleProperty($[647],$0); }this.setStyleProperty($[399],$0); }return true; }; }qx.Proto._modifyCursor=function($0,$1,$2){if($0){if($0==$[495]&&qx.core.Client.getInstance().isMshtml()){this.setStyleProperty($[170],$[370]); }else{this.setStyleProperty($[170],$0); }}else{this.removeStyleProperty($[170]); }return true; }; qx.Proto._modifyBackgroundImage=function($0,$1,$2){return qx.util.Validation.isValidString($0)?this.setStyleProperty($[481],$[2943]+qx.manager.object.AliasManager.getInstance().resolvePath($0)+$[99]):this.removeStyleProperty($[481]); }; qx.Proto._modifyClip=function($0,$1,$2){return this._compileClipString(); }; qx.Proto._compileClipString=function(){var $0=this.getClipLeft(); var $1=this.getClipTop(); var $2=this.getClipWidth(); var $3=this.getClipHeight(); var $4,$5; if($0==null){$4=($2==null?$[5]:$2+$[28]); $0=$[5]; }else{$4=($2==null?$[5]:$0+$2+$[28]); $0=$0+$[28]; } if($1==null){$5=($3==null?$[5]:$3+$[28]); $1=$[5]; }else{$5=($3==null?$[5]:$1+$3+$[28]); $1=$1+$[28]; }return this.setStyleProperty($[210],($[2907]+$1+$[19]+$4+$[19]+$5+$[19]+$0+$[99])); }; qx.ui.core.Widget.initOverflow=function(){if(qx.ui.core.Widget.initOverflowDone){return; }var $0=document.createElement($[55]); var $1=$0.style; $1.height=$1.width=$[373]; $1.overflow=$[75]; document.body.appendChild($0); var $2=qx.html.Dimension.getScrollBarSizeRight($0); if($2){qx.ui.core.Widget.SCROLLBAR_SIZE=$2; }document.body.removeChild($0); qx.ui.core.Widget.initOverflowDone=true; }; if(qx.core.Client.getInstance().isGecko()){qx.Proto._modifyOverflow=function($0,$1,$2){var $3=$0; var $4=$2.name; switch($3){case $[25]:$3=$[1731]; break; case $[158]:$3=$[468]; break; case $[117]:$3=$[451]; break; }return this._applyOverflow($4,$3,$0,$1); }; }else if(qx.core.Client.getInstance().isMshtml()){qx.Proto._modifyOverflow=function($0,$1,$2){var $3=$0; var $4=$2.name; switch($3){case $[158]:$4=$[337]; $3=$[75]; break; case $[117]:$4=$[286]; $3=$[75]; break; }var $5=[$[220],$[337],$[286]]; for(var $6=0;$6<$5.length;$6++){if($5[$6]!=$4){this.removeStyleProperty($5[$6]); }}return this._applyOverflow($4,$3,$0,$1); }; }else{qx.Proto._modifyOverflow=function($0,$1,$2){var $3=$0; var $4=$2.name; switch($3){case $[158]:case $[117]:$3=$[75]; break; }return this._applyOverflow($4,$3,$0,$1); }; }qx.Proto._applyOverflow=function($0,$1,$2,$3){this.setStyleProperty($0,$1); this._invalidateFrameWidth(); this._invalidateFrameHeight(); return true; }; qx.Proto.getOverflowX=function(){var $0=this.getOverflow(); return $0==$[117]?$[25]:$0; }; qx.Proto.getOverflowY=function(){var $0=this.getOverflow(); return $0==$[158]?$[25]:$0; }; if(qx.core.Client.getInstance().isMshtml()){qx.Proto._modifyHideFocus=function($0,$1,$2){this.setHtmlProperty($2.name,$0); return true; }; }qx.Proto._modifyBackgroundColor=function($0,$1,$2){if($1){$1.remove(this); } if($0){this._applyBackgroundColor($0.getStyle()); $0.add(this); }else{this._resetBackgroundColor(); }return true; }; qx.Proto._modifyColor=function($0,$1,$2){if($1){$1.remove(this); } if($0){this._applyColor($0.getStyle()); $0.add(this); }else{this._resetColor(); }return true; }; qx.Proto._updateColors=function($0,$1){if(this.getColor()==$0){this._applyColor($1); } if(this.getBackgroundColor()==$0){this._applyBackgroundColor($1); }}; qx.Proto._applyColor=function($0){this.setStyleProperty($[511],$0); }; qx.Proto._applyBackgroundColor=function($0){this.setStyleProperty($[507],$0); }; qx.Proto._resetColor=function($0){this.removeStyleProperty($[511]); }; qx.Proto._resetBackgroundColor=function(){this.removeStyleProperty($[507]); }; qx.Proto._cachedBorderTop=0; qx.Proto._cachedBorderRight=0; qx.Proto._cachedBorderBottom=0; qx.Proto._cachedBorderLeft=0; qx.Proto._modifyBorder=function($0,$1,$2){var $3=this._cachedBorderTop; var $4=this._cachedBorderRight; var $5=this._cachedBorderBottom; var $6=this._cachedBorderLeft; if($1){$1.removeListenerWidget(this); } if($0){$0.addListenerWidget(this); this._cachedBorderTop=$0.getTopWidth(); this._cachedBorderRight=$0.getRightWidth(); this._cachedBorderBottom=$0.getBottomWidth(); this._cachedBorderLeft=$0.getLeftWidth(); }else{this._cachedBorderTop=this._cachedBorderRight=this._cachedBorderBottom=this._cachedBorderLeft=0; }if(($6+$4)!=(this._cachedBorderLeft+this._cachedBorderRight)){this._invalidateFrameWidth(); }this.addToQueue($[956]); if(($3+$5)!=(this._cachedBorderTop+this._cachedBorderBottom)){this._invalidateFrameHeight(); }this.addToQueue($[571]); return true; }; qx.Proto.getCachedBorderTop=function(){return this._cachedBorderTop; }; qx.Proto.getCachedBorderRight=function(){return this._cachedBorderRight; }; qx.Proto.getCachedBorderBottom=function(){return this._cachedBorderBottom; }; qx.Proto.getCachedBorderLeft=function(){return this._cachedBorderLeft; }; qx.Proto._updateBorder=function($0){var $1=this.getBorder(); var $2=qx.lang.String.toFirstUp($0); var $3=$1[$[94]+$2+$[724]](); var $4=$[2676]+$2; var $5=this[$4]!=$3; this[$4]=$3; switch($0){case $[10]:case $[12]:if($5){this.addToJobQueue($[1833]); }this.addToJobQueue($[956]); break; case $[16]:case $[24]:if($5){this.addToJobQueue($[1969]); }this.addToJobQueue($[571]); break; }}; qx.Proto._modifyPaddingX=function($0,$1,$2){this._invalidateFrameWidth(); return true; }; qx.Proto._modifyPaddingY=function($0,$1,$2){this._invalidateFrameHeight(); return true; }; qx.Proto._clonePropertyIgnoreList=$[2218]; qx.Proto.clone=function($0,$1){var $2=new this.constructor; var $3; var $4=[]; var $5=this._clonePropertyIgnoreList.split($[19]); var $6=$1!=null?$1:this._properties.split($[19]); var $7=$6.length-1; do{$3=$6[$7]; if(!qx.lang.Array.contains($5,$3)){$4.push($3); }}while($7--); propertyListLength=$4.length-1; do{$3=qx.lang.String.toFirstUp($4[propertyListLength]); $2[$[91]+$3](this[$[94]+$3]()); }while(propertyListLength--); if(qx.lang.Array.contains($6,$[237])){var $8=this.getParent(); if($8){$2.setParent($8); }}if($0){this._cloneRecursive($2); }return $2; }; qx.Proto._cloneRecursive=function($0){}; qx.Proto.execute=function(){var $0=this.getCommand(); if($0){$0.execute(this); }this.createDispatchEvent($[11]); }; qx.Proto._visualPropertyCheck=function(){if(!this.isCreated()){throw new Error("Element must be created previously!"); }}; qx.Proto.setScrollLeft=function($0){this._visualPropertyCheck(); this._getTargetNode().scrollLeft=$0; }; qx.Proto.setScrollTop=function($0){this._visualPropertyCheck(); this._getTargetNode().scrollTop=$0; }; qx.Proto.getOffsetLeft=function(){this._visualPropertyCheck(); return qx.html.Offset.getLeft(this.getElement()); }; qx.Proto.getOffsetTop=function(){this._visualPropertyCheck(); return qx.html.Offset.getTop(this.getElement()); }; qx.Proto.getScrollLeft=function(){this._visualPropertyCheck(); return this._getTargetNode().scrollLeft; }; qx.Proto.getScrollTop=function(){this._visualPropertyCheck(); return this._getTargetNode().scrollTop; }; qx.Proto.getClientWidth=function(){this._visualPropertyCheck(); return this._getTargetNode().clientWidth; }; qx.Proto.getClientHeight=function(){this._visualPropertyCheck(); return this._getTargetNode().clientHeight; }; qx.Proto.getOffsetWidth=function(){this._visualPropertyCheck(); return this.getElement().offsetWidth; }; qx.Proto.getOffsetHeight=function(){this._visualPropertyCheck(); return this.getElement().offsetHeight; }; qx.Proto.getScrollWidth=function(){this._visualPropertyCheck(); return this.getElement().scrollWidth; }; qx.Proto.getScrollHeight=function(){this._visualPropertyCheck(); return this.getElement().scrollHeight; }; qx.Proto.scrollIntoView=function($0){this.scrollIntoViewX($0); this.scrollIntoViewY($0); }; qx.Proto.scrollIntoViewX=function($0){if(!this._isCreated||!this._isDisplayable){return false; }return qx.html.ScrollIntoView.scrollX(this.getElement(),$0); }; qx.Proto.scrollIntoViewY=function($0){if(!this._isCreated||!this._isDisplayable){return false; }return qx.html.ScrollIntoView.scrollY(this.getElement(),$0); }; qx.Proto.supportsDrop=function($0){return true; }; qx.OO.addProperty({name:$[1657],type:$[2],allowNull:false,defaultValue:10}); qx.OO.addProperty({name:$[2104],type:$[2],allowNull:false,defaultValue:400}); qx.OO.addProperty({name:$[1006],type:$[2],allowNull:false,defaultValue:40}); qx.OO.addProperty({name:$[2718],type:$[2],allowNull:false,defaultValue:0}); qx.OO.addProperty({name:$[2461],type:$[2],allowNull:false,defaultValue:10}); qx.OO.addProperty({name:$[2409],type:$[2],allowNull:false,defaultValue:100}); qx.ui.core.Widget.FADE_IN='FADE_IN'; qx.ui.core.Widget.FADE_OUT='FADE_OUT'; qx.ui.core.Widget.FADE_FINISHED='FADE_FINISHED'; qx.Proto.fadeIn=function($0,$1){if($0)this.setFadeSteps($0); if($1)this.setFadeTime($1); this._fadeMode=qx.ui.core.Widget.FADE_IN; var $2=this.getFadeTimer(); $2.addEventListener($[52],this._onInterval,this); $2.start(); }; qx.Proto.fadeOut=function($0,$1){if($0)this.setFadeSteps($0); if($1)this.setFadeTime($1); this._fadeMode=qx.ui.core.Widget.FADE_OUT; var $2=this.getFadeTimer(); $2.addEventListener($[52],this._onInterval,this); $2.start(); }; qx.Proto.getFadeTimer=function(){if(this._fadeTimer){this._fadeTimer.setInterval(this.getFadeInterval()); }else{this._fadeTimer=new qx.client.Timer(this.getFadeInterval()); }return this._fadeTimer; }; qx.Proto.resetFader=function(){this.setFadeCounter(0); if(this.getFadeTimer()){this._fadeTimer.stop(); this._fadeTimer.dispose(); }this._fadeTimer.dispose(); this._fadeTimer=null; }; qx.Proto._onInterval=function($0){this.getFadeTimer().stop(); var $1=this.getFadeCounter(); switch(this._fadeMode){case qx.ui.core.Widget.FADE_IN:this.setFadeCounter(++$1); if($1<=this.getFadeSteps()){this.setOpacity(this._computeFadeOpacity()); this.getFadeTimer().restart(); }else if(this.hasEventListeners(qx.ui.core.Widget.FADE_FINISHED)){this.createDispatchDataEvent(qx.ui.core.Widget.FADE_FINISHED,qx.ui.core.Widget.FADE_IN); }break; case qx.ui.core.Widget.FADE_OUT:this.setFadeCounter(--$1); if($1>=0){this.setOpacity(this._computeFadeOpacity()); this.getFadeTimer().restart(); }else if(this.hasEventListeners(qx.ui.core.Widget.FADE_FINISHED)){this.createDispatchDataEvent(qx.ui.core.Widget.FADE_FINISHED,qx.ui.core.Widget.FADE_OUT); }break; }qx.ui.core.Widget.flushGlobalQueues(); }; qx.Proto._modifyFadeSteps=function($0,$1,$2){if($0<1)return; this.setFadeInterval(parseInt(this.getFadeTime()/$0)); this.setFadeUnit(Math.round(this.getFadeMax()/$0)); return true; }; qx.Proto._modifyFadeTime=function($0,$1,$2){if($0<1)return; this.setFadeInterval(parseInt($0/this.getFadeSteps())); return true; }; qx.Proto._modifyFadeUnit=function($0,$1,$2){this.setFadeSteps(Math.round(this.getFadeMax()/$0)); return true; }; qx.Proto._modifyFadeMax=function($0,$1,$2){this.setFadeUnit(Math.round($0/this.getFadeSteps())); return true; }; qx.Proto._computeFadeOpacity=function(){var $0=this.getFadeUnit()*this.getFadeCounter()/100; return ($0); }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }var $0=this.getElement(); if($0){this._removeInlineEvents($0); delete this._isCreated; $0.qx_Widget=null; this._element=null; this._style=null; }this._inlineEvents=null; this._element=null; this._style=null; this._borderElement=null; this._borderStyle=null; this._oldParent=null; delete this._styleProperties; delete this._htmlProperties; delete this._htmlAttributes; delete this._states; for(var $1 in this._jobQueue){delete this._jobQueue[$1]; }delete this._jobQueue; for(var $1 in this._layoutChanges){delete this._layoutChanges[$1]; }delete this._layoutChanges; if(this._fadeTimer){this._fadeTimer.dispose(); this._fadeTimer=null; }return qx.core.Target.prototype.dispose.call(this); }; /* ID: qx.html.Style */ qx.OO.defineClass($[2963]); qx.html.Style.getStylePropertySure=function($0,$1){}; qx.html.Style.getStyleProperty=function($0,$1){}; if(Boolean(document.defaultView)&&Boolean(document.defaultView.getComputedStyle)){qx.html.Style.getStylePropertySure=function($0,$1){return !$0?null:$0.ownerDocument?$0.ownerDocument.defaultView.getComputedStyle($0,$[1])[$1]:$0.style[$1]; }; qx.html.Style.getStyleProperty=function($0,$1){try{return $0.ownerDocument.defaultView.getComputedStyle($0,$[1])[$1]; }catch(ex){throw new Error("Could not evaluate computed style: "+$0+"["+$1+"]: "+ex); }}; }else if(qx.core.Client.getInstance().isMshtml()){qx.html.Style.getStyleProperty=function($0,$1){try{return $0.currentStyle[$1]; }catch(ex){throw new Error("Could not evaluate computed style: "+$0+"["+$1+"]: "+ex); }}; qx.html.Style.getStylePropertySure=function($0,$1){try{if(!$0){return null; } if($0.parentNode&&$0.currentStyle){return $0.currentStyle[$1]; }else{var $2=$0.runtimeStyle[$1]; if($2!=null&&typeof $2!=$[40]&&$2!=$[1]){return $2; }return $0.style[$1]; }}catch(ex){throw new Error("Could not evaluate computed style: "+$0+"["+$1+"]: "+ex); }}; }else{qx.html.Style.getStylePropertySure=function($0,$1){return !$0?null:$0.style[$1]; }; qx.html.Style.getStyleProperty=function($0,$1){try{return $0.style[$1]; }catch(ex){throw new Error("Could not evaluate computed style: "+$0+"["+$1+"]"); }}; }qx.html.Style.getStyleSize=function($0,$1){return parseInt(qx.html.Style.getStyleProperty($0,$1))||0; }; qx.html.Style.getMarginLeft=function($0){return qx.html.Style.getStyleSize($0,$[550]); }; qx.html.Style.getMarginTop=function($0){return qx.html.Style.getStyleSize($0,$[465]); }; qx.html.Style.getMarginRight=function($0){return qx.html.Style.getStyleSize($0,$[483]); }; qx.html.Style.getMarginBottom=function($0){return qx.html.Style.getStyleSize($0,$[532]); }; qx.html.Style.getPaddingLeft=function($0){return qx.html.Style.getStyleSize($0,$[172]); }; qx.html.Style.getPaddingTop=function($0){return qx.html.Style.getStyleSize($0,$[174]); }; qx.html.Style.getPaddingRight=function($0){return qx.html.Style.getStyleSize($0,$[192]); }; qx.html.Style.getPaddingBottom=function($0){return qx.html.Style.getStyleSize($0,$[182]); }; qx.html.Style.getBorderLeft=function($0){return qx.html.Style.getStyleProperty($0,$[1453])==$[32]?0:qx.html.Style.getStyleSize($0,$[2021]); }; qx.html.Style.getBorderTop=function($0){return qx.html.Style.getStyleProperty($0,$[1624])==$[32]?0:qx.html.Style.getStyleSize($0,$[1345]); }; qx.html.Style.getBorderRight=function($0){return qx.html.Style.getStyleProperty($0,$[1643])==$[32]?0:qx.html.Style.getStyleSize($0,$[1808]); }; qx.html.Style.getBorderBottom=function($0){return qx.html.Style.getStyleProperty($0,$[996])==$[32]?0:qx.html.Style.getStyleSize($0,$[1232]); }; /* ID: qx.ui.core.Parent */ qx.OO.defineClass($[522],qx.ui.core.Widget,function(){if(this.classname==qx.ui.core.Parent.ABSTRACT_CLASS){throw new Error("Please omit the usage of qx.ui.core.Parent directly. Choose between any widget which inherits from qx.ui.core.Parent and so comes with a layout implementation!"); }qx.ui.core.Widget.call(this); this._children=[]; this._layoutImpl=this._createLayoutImpl(); }); qx.ui.core.Parent.ABSTRACT_CLASS="qx.ui.core.Parent"; qx.OO.addProperty({name:$[1082],type:$[4],instance:$[904]}); qx.OO.addProperty({name:$[2153],type:$[4],instance:$[190]}); qx.OO.addProperty({name:$[2050],type:$[4],instance:$[190]}); qx.OO.addCachedProperty({name:$[2777],defaultValue:null}); qx.Proto.isFocusRoot=function(){return this.getFocusHandler()!=null; }; qx.Proto.getFocusRoot=function(){if(this.isFocusRoot()){return this; } if(this._hasParent){return this.getParent().getFocusRoot(); }return null; }; qx.Proto.activateFocusRoot=function(){this.setFocusHandler(new qx.event.handler.FocusHandler(this)); }; qx.Proto._onfocuskeyevent=function($0){this.getFocusHandler()._onkeyevent(this,$0); }; qx.Proto._modifyFocusHandler=function($0,$1,$2){if($0){this.addEventListener($[13],this._onfocuskeyevent); this.addEventListener($[17],this._onfocuskeyevent); if(this.getTabIndex()<1){this.setTabIndex(1); }this.setHideFocus(true); this.setActiveChild(this); }else{this.removeEventListener($[13],this._onfocuskeyevent); this.removeEventListener($[17],this._onfocuskeyevent); this.setTabIndex(-1); this.setHideFocus(false); }return true; }; qx.Proto._modifyFocusedChild=function($0,$1,$2){var $3=$0!=null; var $4=$1!=null; if(qx.OO.isAvailable($[240])&&$3){var $5=qx.manager.object.PopupManager.getInstance(); if($5){$5.update($0); }} if($4){if($1.hasEventListeners($[441])){var $6=new qx.event.type.FocusEvent($[441],$1); if($3){$6.setRelatedTarget($0); }$1.dispatchEvent($6); $6.dispose(); }} if($3){if($0.hasEventListeners($[376])){var $6=new qx.event.type.FocusEvent($[376],$0); if($4){$6.setRelatedTarget($1); }$0.dispatchEvent($6); $6.dispose(); }} if($4){if(this.getActiveChild()==$1&&!$3){this.setActiveChild(null); }$1.setFocused(false); var $6=new qx.event.type.FocusEvent($[123],$1); if($3){$6.setRelatedTarget($0); }$1.dispatchEvent($6); if(qx.OO.isAvailable($[153])){var $5=qx.manager.object.ToolTipManager.getInstance(); if($5){$5.handleBlur($6); }}$6.dispose(); } if($3){this.setActiveChild($0); $0.setFocused(true); qx.event.handler.EventHandler.getInstance().setFocusRoot(this); var $6=new qx.event.type.FocusEvent($[143],$0); if($4){$6.setRelatedTarget($1); }$0.dispatchEvent($6); if(qx.OO.isAvailable($[153])){var $5=qx.manager.object.ToolTipManager.getInstance(); if($5){$5.handleFocus($6); }}$6.dispose(); }return true; }; qx.Proto._layoutImpl=null; qx.Proto._createLayoutImpl=function(){return null; }; qx.Proto.getLayoutImpl=function(){return this._layoutImpl; }; qx.Proto.getChildren=function(){return this._children; }; qx.Proto.getChildrenLength=function(){return this.getChildren().length; }; qx.Proto.hasChildren=function(){return this.getChildrenLength()>0; }; qx.Proto.isEmpty=function(){return this.getChildrenLength()==0; }; qx.Proto.indexOf=function($0){return this.getChildren().indexOf($0); }; qx.Proto.contains=function($0){switch($0){case null:return false; case this:return true; default:return this.contains($0.getParent()); }}; qx.Proto._computeVisibleChildren=function(){var $0=[]; var $1=this.getChildren(); var $2=$1.length; for(var $3=0;$3<$2;$3++){var $4=$1[$3]; if($4._isDisplayable){$0.push($4); }}return $0; }; qx.Proto.getVisibleChildrenLength=function(){return this.getVisibleChildren().length; }; qx.Proto.hasVisibleChildren=function(){return this.getVisibleChildrenLength()>0; }; qx.Proto.isVisibleEmpty=function(){return this.getVisibleChildrenLength()==0; }; qx.Proto.add=function(){var $0; for(var $1=0,$2=arguments.length;$1<$2;$1++){$0=arguments[$1]; if(!($0 instanceof qx.ui.core.Parent)&&!($0 instanceof qx.ui.basic.Terminator)){throw new Error("Invalid Widget: "+$0); }else{$0.setParent(this); }}return this; }; qx.Proto.addAt=function($0,$1){if($1==null||$1<0){throw new Error("Not a valid index for addAt(): "+$1); } if($0.getParent()==this){var $2=this.getChildren(); var $3=$2.indexOf($0); if($3!=$1){if($3!=-1){qx.lang.Array.removeAt($2,$3); }qx.lang.Array.insertAt($2,$0,$1); if(this._initialLayoutDone){this._invalidateVisibleChildren(); this.getLayoutImpl().updateChildrenOnMoveChild($0,$1,$3); }}}else{$0._insertIndex=$1; $0.setParent(this); }}; qx.Proto.addAtBegin=function($0){return this.addAt($0,0); }; qx.Proto.addAtEnd=function($0){var $1=this.getChildrenLength(); return this.addAt($0,$0.getParent()==this?$1-1:$1); }; qx.Proto.addBefore=function($0,$1){var $2=this.getChildren(); var $3=$2.indexOf($1); if($3==-1){throw new Error("Child to add before: "+$1+" is not inside this parent."); }var $4=$2.indexOf($0); if($4==-1||$4>$3){$3++; }return this.addAt($0,Math.max(0,$3-1)); }; qx.Proto.addAfter=function($0,$1){var $2=this.getChildren(); var $3=$2.indexOf($1); if($3==-1){throw new Error("Child to add after: "+$1+" is not inside this parent."); }var $4=$2.indexOf($0); if($4!=-1&&$4<$3){$3--; }return this.addAt($0,Math.min($2.length,$3+1)); }; qx.Proto.remove=function(){var $0; for(var $1=0,$2=arguments.length;$1<$2;$1++){$0=arguments[$1]; if(!($0 instanceof qx.ui.core.Parent)&&!($0 instanceof qx.ui.basic.Terminator)){throw new Error("Invalid Widget: "+$0); }else if($0.getParent()==this){$0.setParent(null); }}}; qx.Proto.removeAt=function($0){var $1=this.getChildren()[$0]; if($1){delete $1._insertIndex; $1.setParent(null); }}; qx.Proto.removeAll=function(){var $0=this.getChildren(); var $1=$0[0]; while($1){this.remove($1); $1=$0[0]; }}; qx.Proto.getFirstChild=function(){return qx.lang.Array.getFirst(this.getChildren()); }; qx.Proto.getFirstVisibleChild=function(){return qx.lang.Array.getFirst(this.getVisibleChildren()); }; qx.Proto.getFirstActiveChild=function($0){return qx.ui.core.Widget.getActiveSiblingHelper(null,this,1,$0,$[836]); }; qx.Proto.getLastChild=function(){return qx.lang.Array.getLast(this.getChildren()); }; qx.Proto.getLastVisibleChild=function(){return qx.lang.Array.getLast(this.getVisibleChildren()); }; qx.Proto.getLastActiveChild=function($0){return qx.ui.core.Widget.getActiveSiblingHelper(null,this,-1,$0,$[1480]); }; qx.Proto.forEachChild=function($0){var $1=this.getChildren(),$2,$3=-1; while($2=$1[++$3]){$0.call($2,$3); }}; qx.Proto.forEachVisibleChild=function($0){var $1=this.getVisibleChildren(),$2,$3=-1; while($2=$1[++$3]){$0.call($2,$3); }}; qx.Proto._beforeAppear=function(){qx.ui.core.Widget.prototype._beforeAppear.call(this); this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeAppear(); }}); }; qx.Proto._afterAppear=function(){qx.ui.core.Widget.prototype._afterAppear.call(this); this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterAppear(); }}); }; qx.Proto._beforeDisappear=function(){qx.ui.core.Widget.prototype._beforeDisappear.call(this); this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeDisappear(); }}); }; qx.Proto._afterDisappear=function(){qx.ui.core.Widget.prototype._afterDisappear.call(this); this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterDisappear(); }}); }; qx.Proto._beforeInsertDom=function(){qx.ui.core.Widget.prototype._beforeInsertDom.call(this); this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeInsertDom(); }}); }; qx.Proto._afterInsertDom=function(){qx.ui.core.Widget.prototype._afterInsertDom.call(this); this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterInsertDom(); }}); }; qx.Proto._beforeRemoveDom=function(){qx.ui.core.Widget.prototype._beforeRemoveDom.call(this); this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeRemoveDom(); }}); }; qx.Proto._afterRemoveDom=function(){qx.ui.core.Widget.prototype._afterRemoveDom.call(this); this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterRemoveDom(); }}); }; qx.Proto._handleDisplayableCustom=function($0,$1,$2){this.forEachChild(function(){this._handleDisplayable(); }); }; qx.Proto._addChildrenToStateQueue=function(){this.forEachVisibleChild(function(){this.addToStateQueue(); }); }; qx.Proto.recursiveAddToStateQueue=function(){this.addToStateQueue(); this.forEachVisibleChild(function(){this.recursiveAddToStateQueue(); }); }; qx.Proto._recursiveAppearanceThemeUpdate=function($0,$1){qx.ui.core.Widget.prototype._recursiveAppearanceThemeUpdate.call(this,$0,$1); this.forEachVisibleChild(function(){this._recursiveAppearanceThemeUpdate($0,$1); }); }; qx.Proto._addChildToChildrenQueue=function($0){if(!$0._isInParentChildrenQueue&&!$0._isDisplayable){this.warn($[1765]+$0); } if(!$0._isInParentChildrenQueue&&$0._isDisplayable){qx.ui.core.Widget.addToGlobalLayoutQueue(this); if(!this._childrenQueue){this._childrenQueue={}; }this._childrenQueue[$0.toHashCode()]=$0; }}; qx.Proto._removeChildFromChildrenQueue=function($0){if(this._childrenQueue&&$0._isInParentChildrenQueue){delete this._childrenQueue[$0.toHashCode()]; if(qx.lang.Object.isEmpty(this._childrenQueue)){qx.ui.core.Widget.removeFromGlobalLayoutQueue(this); }}}; qx.Proto._flushChildrenQueue=function(){if(!qx.lang.Object.isEmpty(this._childrenQueue)){this.getLayoutImpl().flushChildrenQueue(this._childrenQueue); delete this._childrenQueue; }}; qx.Proto._addChildrenToLayoutQueue=function($0){this.forEachChild(function(){this.addToLayoutChanges($0); }); }; qx.Proto._layoutChild=function($0){if(!$0._isDisplayable){this.warn($[1649]+$0+$[1696]); return; }var $1=$0._layoutChanges; try{if($1.borderX){this._applyBorderX($0,$1); } if($1.borderY){this._applyBorderY($0,$1); }}catch(ex){this.error("Could not apply border to child "+$0,ex); } try{if($1.paddingLeft||$1.paddingRight){$0._applyPaddingX(this,$1); } if($1.paddingTop||$1.paddingBottom){$0._applyPaddingY(this,$1); }}catch(ex){this.error("Could not apply padding to child "+$0,ex); }try{this.getLayoutImpl().layoutChild($0,$1); }catch(ex){this.error("Could not layout child "+$0+" through layout handler",ex); }try{$0._layoutPost($1); }catch(ex){this.error("Could not post layout child "+$0,ex); }try{if($1.initial){$0._initialLayoutDone=true; qx.ui.core.Widget.addToGlobalDisplayQueue($0); }}catch(ex){this.error("Could not handle display updates from layout flush for child "+$0,ex); }$0._layoutChanges={}; delete $0._isInParentLayoutQueue; delete this._childrenQueue[$0.toHashCode()]; }; qx.Proto._layoutPost=qx.lang.Function.returnTrue; if(qx.core.Client.getInstance().isOpera()){qx.Proto._layoutChildOrig=qx.Proto._layoutChild; qx.Proto._layoutChild=function($0){if(!$0._initialLayoutDone||!$0._layoutChanges.borderX||!$0._layoutChanges.borderY){return this._layoutChildOrig($0); }var $1=$0.getElement().style; var $2=$1.display; $1.display=$[32]; var $3=this._layoutChildOrig($0); $1.display=$2; return $3; }; }qx.Proto._computePreferredInnerWidth=function(){return this.getLayoutImpl().computeChildrenNeededWidth(); }; qx.Proto._computePreferredInnerHeight=function(){return this.getLayoutImpl().computeChildrenNeededHeight(); }; qx.Proto._changeInnerWidth=function($0,$1){var $2=this.getLayoutImpl(); if($2.invalidateChildrenFlexWidth){$2.invalidateChildrenFlexWidth(); }this.forEachVisibleChild(function(){if($2.updateChildOnInnerWidthChange(this)&&this._recomputeBoxWidth()){this._recomputeOuterWidth(); this._recomputeInnerWidth(); }}); }; qx.Proto._changeInnerHeight=function($0,$1){var $2=this.getLayoutImpl(); if($2.invalidateChildrenFlexHeight){$2.invalidateChildrenFlexHeight(); }this.forEachVisibleChild(function(){if($2.updateChildOnInnerHeightChange(this)&&this._recomputeBoxHeight()){this._recomputeOuterHeight(); this._recomputeInnerHeight(); }}); }; qx.Proto.getInnerWidthForChild=function($0){return this.getInnerWidth(); }; qx.Proto.getInnerHeightForChild=function($0){return this.getInnerHeight(); }; qx.Proto.getWidgetFromPointHelper=function($0,$1){var $2=this.getChildren(); for(var $3=$2.length,$4=0;$4<$3;$4++){if(qx.html.ElementFromPoint.getElementAbsolutePointChecker($2[$4].getElement(),$0,$1)){return $2[$4].getWidgetFromPointHelper($0,$1); }}return this; }; qx.Proto._cloneRecursive=function($0){var $1=this.getChildren(); var $2=$1.length; var $3; for(var $4=0;$4<$2;$4++){$3=$1[$4].clone(true); $0.add($3); }}; qx.Proto._remappingChildTable=[$[662],$[303],$[729],$[852],$[579],$[354],$[827],$[595],$[282]]; qx.Proto._remapStart=$[2980]; qx.Proto._remapStop=$[2628]; qx.Proto.remapChildrenHandlingTo=function($0){var $1=this._remappingChildTable; this._remappingChildTarget=$0; for(var $2=0,$3=$1.length,$4;$2<$3;$2++){$4=$1[$2]; this[$4]=new Function(qx.ui.core.Parent.prototype._remapStart+$4+qx.ui.core.Parent.prototype._remapStop); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return; } if(this._layoutImpl){this._layoutImpl.dispose(); this._layoutImpl=null; } for(var $0 in this._childrenQueue){delete this._childrenQueue[$0]; }this._childrenQueue=null; this._remappingChildTable=null; this._remappingChildTarget=null; if(this._children){var $1=this._children.length; for(var $0=$1-1;$0>=0;$0--){this._children[$0].dispose(); this._children[$0]=null; }this._children=null; }delete this._cachedVisibleChildren; if(this.getFocusHandler()){this.removeEventListener($[13],this._onfocuskeyevent); this.removeEventListener($[17],this._onfocuskeyevent); this.forceFocusHandler(null); }return qx.ui.core.Widget.prototype.dispose.call(this); }; /* ID: qx.event.type.FocusEvent */ qx.OO.defineClass($[2161],qx.event.type.Event,function($0,$1){qx.event.type.Event.call(this,$0); this.setTarget($1); switch($0){case $[376]:case $[441]:this.setBubbles(true); this.setPropagationStopped(false); }}); /* ID: qx.ui.basic.Terminator */ qx.OO.defineClass($[2118],qx.ui.core.Widget,function(){qx.ui.core.Widget.call(this); }); qx.Proto._applyPaddingX=function($0,$1,$2){if($1.paddingLeft){this._applyRuntimePaddingLeft(this.getPaddingLeft()); } if($1.paddingRight){this._applyRuntimePaddingRight(this.getPaddingRight()); }}; qx.Proto._applyPaddingY=function($0,$1,$2){if($1.paddingTop){this._applyRuntimePaddingTop(this.getPaddingTop()); } if($1.paddingBottom){this._applyRuntimePaddingBottom(this.getPaddingBottom()); }}; qx.Proto._applyContent=function(){if(this._computedWidthTypePixel){this._cachedPreferredInnerWidth=null; }else{this._invalidatePreferredInnerWidth(); }if(this._computedHeightTypePixel){this._cachedPreferredInnerHeight=null; }else{this._invalidatePreferredInnerHeight(); }if(this._initialLayoutDone){this.addToJobQueue($[102]); }}; qx.Proto._layoutPost=function($0){if($0.initial||$0.load||$0.width||$0.height){this._postApply(); }}; qx.Proto._postApply=qx.lang.Function.returnTrue; qx.Proto._computeBoxWidthFallback=qx.Proto.getPreferredBoxWidth; qx.Proto._computeBoxHeightFallback=qx.Proto.getPreferredBoxHeight; qx.Proto._computePreferredInnerWidth=qx.lang.Function.returnZero; qx.Proto._computePreferredInnerHeight=qx.lang.Function.returnZero; qx.Proto._isWidthEssential=function(){if(!this._computedLeftTypeNull&&!this._computedRightTypeNull){return true; } if(!this._computedWidthTypeNull&&!this._computedWidthTypeAuto){return true; } if(!this._computedMinWidthTypeNull&&!this._computedMinWidthTypeAuto){return true; } if(!this._computedMaxWidthTypeNull&&!this._computedMaxWidthTypeAuto){return true; } if(this._borderElement){return true; }return false; }; qx.Proto._isHeightEssential=function(){if(!this._computedTopTypeNull&&!this._computedBottomTypeNull){return true; } if(!this._computedHeightTypeNull&&!this._computedHeightTypeAuto){return true; } if(!this._computedMinHeightTypeNull&&!this._computedMinHeightTypeAuto){return true; } if(!this._computedMaxHeightTypeNull&&!this._computedMaxHeightTypeAuto){return true; } if(this._borderElement){return true; }return false; }; /* ID: qx.ui.layout.CanvasLayout */ qx.OO.defineClass($[849],qx.ui.core.Parent,function(){qx.ui.core.Parent.call(this); }); qx.Proto._createLayoutImpl=function(){return new qx.renderer.layout.CanvasLayoutImpl(this); }; /* ID: qx.renderer.layout.LayoutImpl */ qx.OO.defineClass($[2680],qx.core.Object,function($0){qx.core.Object.call(this); this._widget=$0; }); qx.Proto.getWidget=function(){return this._widget; }; qx.Proto.computeChildBoxWidth=function($0){return $0.getWidthValue()||$0._computeBoxWidthFallback(); }; qx.Proto.computeChildBoxHeight=function($0){return $0.getHeightValue()||$0._computeBoxHeightFallback(); }; qx.Proto.computeChildNeededWidth=function($0){var $1=$0._computedMinWidthTypePercent?null:$0.getMinWidthValue(); var $2=$0._computedMaxWidthTypePercent?null:$0.getMaxWidthValue(); var $3=($0._computedWidthTypePercent||$0._computedWidthTypeFlex?null:$0.getWidthValue())||$0.getPreferredBoxWidth()||0; return qx.lang.Number.limit($3,$1,$2)+$0.getMarginLeft()+$0.getMarginRight(); }; qx.Proto.computeChildNeededHeight=function($0){var $1=$0._computedMinHeightTypePercent?null:$0.getMinHeightValue(); var $2=$0._computedMaxHeightTypePercent?null:$0.getMaxHeightValue(); var $3=($0._computedHeightTypePercent||$0._computedHeightTypeFlex?null:$0.getHeightValue())||$0.getPreferredBoxHeight()||0; return qx.lang.Number.limit($3,$1,$2)+$0.getMarginTop()+$0.getMarginBottom(); }; qx.Proto.computeChildrenNeededWidth_max=function(){for(var $0=0,$1=this.getWidget().getVisibleChildren(),$2=$1.length,$3=0;$0<$2;$0++){$3=Math.max($3,$1[$0].getNeededWidth()); }return $3; }; qx.Proto.computeChildrenNeededHeight_max=function(){for(var $0=0,$1=this.getWidget().getVisibleChildren(),$2=$1.length,$3=0;$0<$2;$0++){$3=Math.max($3,$1[$0].getNeededHeight()); }return $3; }; qx.Proto.computeChildrenNeededWidth_sum=function(){for(var $0=0,$1=this.getWidget().getVisibleChildren(),$2=$1.length,$3=0;$0<$2;$0++){$3+=$1[$0].getNeededWidth(); }return $3; }; qx.Proto.computeChildrenNeededHeight_sum=function(){for(var $0=0,$1=this.getWidget().getVisibleChildren(),$2=$1.length,$3=0;$0<$2;$0++){$3+=$1[$0].getNeededHeight(); }return $3; }; qx.Proto.computeChildrenNeededWidth=qx.Proto.computeChildrenNeededWidth_max; qx.Proto.computeChildrenNeededHeight=qx.Proto.computeChildrenNeededHeight_max; qx.Proto.updateSelfOnChildOuterWidthChange=function($0){}; qx.Proto.updateSelfOnChildOuterHeightChange=function($0){}; qx.Proto.updateChildOnInnerWidthChange=function($0){}; qx.Proto.updateChildOnInnerHeightChange=function($0){}; qx.Proto.updateSelfOnJobQueueFlush=function($0){}; qx.Proto.updateChildrenOnJobQueueFlush=function($0){}; qx.Proto.updateChildrenOnAddChild=function($0,$1){}; qx.Proto.updateChildrenOnRemoveChild=function($0,$1){}; qx.Proto.updateChildrenOnMoveChild=function($0,$1,$2){}; qx.Proto.flushChildrenQueue=function($0){var $1=this.getWidget(); for(var $2 in $0){$1._layoutChild($0[$2]); }}; qx.Proto.layoutChild=function($0,$1){}; qx.Proto.layoutChild_sizeLimitX=function($0,$1){}; qx.Proto.layoutChild_sizeLimitY=function($0,$1){}; if(qx.core.Client.getInstance().isMshtml()){qx.Proto.layoutChild_sizeLimitX=qx.lang.Function.returnTrue; qx.Proto.layoutChild_sizeLimitY=qx.lang.Function.returnTrue; }else{qx.Proto.layoutChild_sizeLimitX=function($0,$1){if($1.minWidth){$0._computedMinWidthTypeNull?$0._resetRuntimeMinWidth():$0._applyRuntimeMinWidth($0.getMinWidthValue()); }else if($1.initial&&!$0._computedMinWidthTypeNull){$0._applyRuntimeMinWidth($0.getMinWidthValue()); } if($1.maxWidth){$0._computedMaxWidthTypeNull?$0._resetRuntimeMaxWidth():$0._applyRuntimeMaxWidth($0.getMaxWidthValue()); }else if($1.initial&&!$0._computedMaxWidthTypeNull){$0._applyRuntimeMaxWidth($0.getMaxWidthValue()); }}; qx.Proto.layoutChild_sizeLimitY=function($0,$1){if($1.minHeight){$0._computedMinHeightTypeNull?$0._resetRuntimeMinHeight():$0._applyRuntimeMinHeight($0.getMinHeightValue()); }else if($1.initial&&!$0._computedMinHeightTypeNull){$0._applyRuntimeMinHeight($0.getMinHeightValue()); } if($1.maxHeight){$0._computedMaxHeightTypeNull?$0._resetRuntimeMaxHeight():$0._applyRuntimeMaxHeight($0.getMaxHeightValue()); }else if($1.initial&&!$0._computedMaxHeightTypeNull){$0._applyRuntimeMaxHeight($0.getMaxHeightValue()); }}; }qx.Proto.layoutChild_marginX=function($0,$1){if($1.marginLeft||$1.initial){var $2=$0.getMarginLeft(); $2!=null?$0._applyRuntimeMarginLeft($2):$0._resetRuntimeMarginLeft(); } if($1.marginRight||$1.initial){var $3=$0.getMarginRight(); $3!=null?$0._applyRuntimeMarginRight($3):$0._resetRuntimeMarginRight(); }}; qx.Proto.layoutChild_marginY=function($0,$1){if($1.marginTop||$1.initial){var $2=$0.getMarginTop(); $2!=null?$0._applyRuntimeMarginTop($2):$0._resetRuntimeMarginTop(); } if($1.marginBottom||$1.initial){var $3=$0.getMarginBottom(); $3!=null?$0._applyRuntimeMarginBottom($3):$0._resetRuntimeMarginBottom(); }}; qx.Proto.layoutChild_sizeX_essentialWrapper=function($0,$1){return $0._isWidthEssential()?this.layoutChild_sizeX($0,$1):$0._resetRuntimeWidth(); }; qx.Proto.layoutChild_sizeY_essentialWrapper=function($0,$1){return $0._isHeightEssential()?this.layoutChild_sizeY($0,$1):$0._resetRuntimeHeight(); }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; }this._widget=null; qx.core.Object.prototype.dispose.call(this); }; /* ID: qx.lang.Number */ qx.OO.defineClass($[2874]); qx.lang.Number.isInRange=function($0,$1,$2){return $0>=$1&&$0<=$2; }; qx.lang.Number.isBetweenRange=function($0,$1,$2){return $0>$1&&$0<$2; }; qx.lang.Number.limit=function($0,$1,$2){if(typeof $2===$[2]&&$0>$2){return $2; }else if(typeof $1===$[2]&&$0<$1){return $1; }else{return $0; }}; /* ID: qx.renderer.layout.CanvasLayoutImpl */ qx.OO.defineClass($[1922],qx.renderer.layout.LayoutImpl,function($0){qx.renderer.layout.LayoutImpl.call(this,$0); }); qx.Proto.computeChildBoxWidth=function($0){var $1=null; if($0._computedLeftTypeNull||$0._computedRightTypeNull){$1=$0.getWidthValue(); }else if($0._hasParent){$1=this.getWidget().getInnerWidth()-$0.getLeftValue()-$0.getRightValue(); }return $1||$0._computeBoxWidthFallback(); }; qx.Proto.computeChildBoxHeight=function($0){var $1=null; if($0._computedTopTypeNull||$0._computedBottomTypeNull){$1=$0.getHeightValue(); }else if($0._hasParent){$1=this.getWidget().getInnerHeight()-$0.getTopValue()-$0.getBottomValue(); }return $1||$0._computeBoxHeightFallback(); }; qx.Proto.computeChildNeededWidth=function($0){var $1=$0._computedLeftTypePercent?null:$0.getLeftValue(); var $2=$0._computedRightTypePercent?null:$0.getRightValue(); var $3=$0._computedMinWidthTypePercent?null:$0.getMinWidthValue(); var $4=$0._computedMaxWidthTypePercent?null:$0.getMaxWidthValue(); if($1!=null&&$2!=null){var $5=$0.getPreferredBoxWidth()||0; }else{var $5=($0._computedWidthTypePercent?null:$0.getWidthValue())||$0.getPreferredBoxWidth()||0; }return qx.lang.Number.limit($5,$3,$4)+$1+$2+$0.getMarginLeft()+$0.getMarginRight(); }; qx.Proto.computeChildNeededHeight=function($0){var $1=$0._computedTopTypePercent?null:$0.getTopValue(); var $2=$0._computedBottomTypePercent?null:$0.getBottomValue(); var $3=$0._computedMinHeightTypePercent?null:$0.getMinHeightValue(); var $4=$0._computedMaxHeightTypePercent?null:$0.getMaxHeightValue(); if($1!=null&&$2!=null){var $5=$0.getPreferredBoxHeight()||0; }else{var $5=($0._computedHeightTypePercent?null:$0.getHeightValue())||$0.getPreferredBoxHeight()||0; }return qx.lang.Number.limit($5,$3,$4)+$1+$2+$0.getMarginTop()+$0.getMarginBottom(); }; qx.Proto.updateChildOnInnerWidthChange=function($0){var $1=$0._recomputePercentX(); var $2=$0._recomputeRangeX(); return $1||$2; }; qx.Proto.updateChildOnInnerHeightChange=function($0){var $1=$0._recomputePercentY(); var $2=$0._recomputeRangeY(); return $1||$2; }; qx.Proto.layoutChild=function($0,$1){this.layoutChild_sizeX_essentialWrapper($0,$1); this.layoutChild_sizeY_essentialWrapper($0,$1); this.layoutChild_sizeLimitX($0,$1); this.layoutChild_sizeLimitY($0,$1); this.layoutChild_locationX($0,$1); this.layoutChild_locationY($0,$1); this.layoutChild_marginX($0,$1); this.layoutChild_marginY($0,$1); }; if(qx.core.Client.getInstance().isMshtml()||qx.core.Client.getInstance().isOpera()){qx.Proto.layoutChild_sizeX=function($0,$1){if($1.initial||$1.width||$1.minWidth||$1.maxWidth||$1.left||$1.right){if($0._computedMinWidthTypeNull&&$0._computedWidthTypeNull&&$0._computedMaxWidthTypeNull&&!(!$0._computedLeftTypeNull&&!$0._computedRightTypeNull)){$0._resetRuntimeWidth(); }else{$0._applyRuntimeWidth($0.getBoxWidth()); }}}; qx.Proto.layoutChild_sizeY=function($0,$1){if($1.initial||$1.height||$1.minHeight||$1.maxHeight||$1.top||$1.bottom){if($0._computedMinHeightTypeNull&&$0._computedHeightTypeNull&&$0._computedMaxHeightTypeNull&&!(!$0._computedTopTypeNull&&!$0._computedBottomTypeNull)){$0._resetRuntimeHeight(); }else{$0._applyRuntimeHeight($0.getBoxHeight()); }}}; }else{qx.Proto.layoutChild_sizeX=function($0,$1){if($1.initial||$1.width){$0._computedWidthTypeNull?$0._resetRuntimeWidth():$0._applyRuntimeWidth($0.getWidthValue()); }}; qx.Proto.layoutChild_sizeY=function($0,$1){if($1.initial||$1.height){$0._computedHeightTypeNull?$0._resetRuntimeHeight():$0._applyRuntimeHeight($0.getHeightValue()); }}; }qx.Proto.layoutChild_locationX=function($0,$1){var $2=this.getWidget(); if($1.initial||$1.left||$1.parentPaddingLeft){$0._computedLeftTypeNull?$0._computedRightTypeNull&&$2.getPaddingLeft()>0?$0._applyRuntimeLeft($2.getPaddingLeft()):$0._resetRuntimeLeft():$0._applyRuntimeLeft($0.getLeftValue()+$2.getPaddingLeft()); } if($1.initial||$1.right||$1.parentPaddingRight){$0._computedRightTypeNull?$0._computedLeftTypeNull&&$2.getPaddingRight()>0?$0._applyRuntimeRight($2.getPaddingRight()):$0._resetRuntimeRight():$0._applyRuntimeRight($0.getRightValue()+$2.getPaddingRight()); }}; qx.Proto.layoutChild_locationY=function($0,$1){var $2=this.getWidget(); if($1.initial||$1.top||$1.parentPaddingTop){$0._computedTopTypeNull?$0._computedBottomTypeNull&&$2.getPaddingTop()>0?$0._applyRuntimeTop($2.getPaddingTop()):$0._resetRuntimeTop():$0._applyRuntimeTop($0.getTopValue()+$2.getPaddingTop()); } if($1.initial||$1.bottom||$1.parentPaddingBottom){$0._computedBottomTypeNull?$0._computedTopTypeNull&&$2.getPaddingBottom()>0?$0._applyRuntimeBottom($2.getPaddingBottom()):$0._resetRuntimeBottom():$0._applyRuntimeBottom($0.getBottomValue()+$2.getPaddingBottom()); }}; /* ID: qx.html.StyleSheet */ qx.OO.defineClass($[1834]); qx.html.StyleSheet.includeFile=function($0){var $1=document.createElement($[2355]); $1.type=$[794]; $1.rel=$[1626]; $1.href=$0; var $2=document.getElementsByTagName($[891])[0]; $2.appendChild($1); }; qx.html.StyleSheet.createElement=function($0){}; if(document.createStyleSheet){qx.html.StyleSheet.createElement=function($0){var $1=document.createStyleSheet(); if($0){$1.cssText=$0; }return $1; }; }else{qx.html.StyleSheet.createElement=function($0){var $1=document.createElement($[162]); $1.type=$[794]; $1.appendChild(document.createTextNode($0||$[2022])); document.getElementsByTagName($[891])[0].appendChild($1); if($1.sheet){return $1.sheet; }else{var $2=document.styleSheets; for(var $3=$2.length-1;$3>=0;$3--){if($2[$3].ownerNode==$1){return $2[$3]; }}}throw $[2607]; }; }qx.html.StyleSheet.addRule=function($0,$1,$2){}; if(document.createStyleSheet){qx.html.StyleSheet.addRule=function($0,$1,$2){$0.addRule($1,$2); }; }else if(qx.core.Client.getInstance().isSafari2()){qx.html.StyleSheet.addRule=function($0,$1,$2){if(!$0._qxRules){$0._qxRules={}; } if(!$0._qxRules[$1]){var $3=document.createTextNode($1+$[325]+$2+$[313]); $0.ownerNode.appendChild($3); $0._qxRules[$1]=$3; }}; }else{qx.html.StyleSheet.addRule=function($0,$1,$2){$0.insertRule($1+$[325]+$2+$[313],$0.cssRules.length); }; }qx.html.StyleSheet.removeRule=function($0,$1){}; if(document.createStyleSheet){qx.html.StyleSheet.removeRule=function($0,$1){var $2=$0.rules; var $3=$2.length; for(var $4=$3-1;$4>=0;$4--){if($2[$4].selectorText==$1){$0.removeRule($4); }}}; }else if(qx.core.Client.getInstance().isSafari2()){qx.html.StyleSheet.removeRule=function($0,$1){var $2=function(){qx.log.Logger.ROOT_LOGGER.warn($[1165]); }; if(!$0._qxRules){$2(); }var $3=$0._qxRules[$1]; if($3){$0.ownerNode.removeChild($3); $0._qxRules[$1]=null; }else{$2(); }}; }else{qx.html.StyleSheet.removeRule=function($0,$1){var $2=$0.cssRules; var $3=$2.length; for(var $4=$3-1;$4>=0;$4--){if($2[$4].selectorText==$1){$0.deleteRule($4); }}}; }qx.html.StyleSheet.removeAllRules=function($0){}; if(document.createStyleSheet){qx.html.StyleSheet.removeAllRules=function($0){var $1=$0.rules; var $2=$1.length; for(var $3=$2-1;$3>=0;$3--){$0.removeRule($3); }}; }else if(qx.core.Client.getInstance().isSafari2()){qx.html.StyleSheet.removeAllRules=function($0){var $1=$0.ownerNode; var $2=$1.childNodes; while($2.length>0){$1.removeChild($2[0]); }}; }else{qx.html.StyleSheet.removeAllRules=function($0){var $1=$0.cssRules; var $2=$1.length; for(var $3=$2-1;$3>=0;$3--){$0.deleteRule($3); }}; }qx.html.StyleSheet.addImport=function($0,$1){}; if(document.createStyleSheet){qx.html.StyleSheet.addImport=function($0,$1){$0.addImport($1); }; }else if(qx.core.Client.getInstance().isSafari2()){qx.html.StyleSheet.addImport=function($0,$1){$0.ownerNode.appendChild(document.createTextNode($[911]+$1+$[715])); }; }else{qx.html.StyleSheet.addImport=function($0,$1){$0.insertRule($[911]+$1+$[715],$0.cssRules.length); }; }qx.html.StyleSheet.removeImport=function($0,$1){}; if(document.createStyleSheet){qx.html.StyleSheet.removeImport=function($0,$1){var $2=$0.imports; var $3=$2.length; for(var $4=$3-1;$4>=0;$4--){if($2[$4].href==$1){$0.removeImport($4); }}}; }else{qx.html.StyleSheet.removeImport=function($0,$1){var $2=$0.cssRules; var $3=$2.length; for(var $4=$3-1;$4>=0;$4--){if($2[$4].href==$1){$0.deleteRule($4); }}}; }qx.html.StyleSheet.removeAllImports=function($0){}; if(document.createStyleSheet){qx.html.StyleSheet.removeAllImports=function($0){var $1=$0.imports; var $2=$1.length; for(var $3=$2-1;$3>=0;$3--){$0.removeImport($3); }}; }else{qx.html.StyleSheet.removeAllImports=function($0){var $1=$0.cssRules; var $2=$1.length; for(var $3=$2-1;$3>=0;$3--){if($1[$3].type==$1[$3].IMPORT_RULE){$0.deleteRule($3); }}}; } /* ID: qx.ui.core.ClientDocument */ qx.OO.defineClass($[455],qx.ui.layout.CanvasLayout,function(){this._window=window; this._document=window.document; this.setElement(this._document.body); this.addToStateQueue(); qx.ui.layout.CanvasLayout.call(this); this._styleProperties={}; this.activateFocusRoot(); this._cachedInnerWidth=this._document.body.offsetWidth; this._cachedInnerHeight=this._document.body.offsetHeight; this.addEventListener($[213],this._onwindowresize); this._modalWidgets=[]; this._modalNativeWindow=null; qx.event.handler.EventHandler.getInstance().setFocusRoot(this); }); qx.OO.addProperty({name:$[2580],type:$[0]}); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[1642]}); qx.Settings.setDefault($[754],true); qx.Settings.setDefault($[842],true); qx.Proto._modifyParent=qx.lang.Function.returnTrue; qx.Proto._modifyVisible=qx.lang.Function.returnTrue; qx.Proto._modifyElement=function($0,$1,$2){this._isCreated=qx.util.Validation.isValidElement($0); if($1){$1.qx_Widget=null; } if($0){$0.qx_Widget=this; this._element=$0; this._style=$0.style; }else{this._element=null; this._style=null; }return true; }; qx.Proto.getTopLevelWidget=qx.lang.Function.returnThis; qx.Proto.getWindowElement=function(){return this._window; }; qx.Proto.getDocumentElement=function(){return this._document; }; qx.Proto.getParent=qx.Proto.getToolTip=qx.lang.Function.returnNull; qx.Proto.isMaterialized=qx.Proto.isSeeable=qx.lang.Function.returnTrue; qx.Proto._isDisplayable=true; qx.Proto._hasParent=false; qx.Proto._initialLayoutDone=true; qx.Proto._getBlocker=function(){if(!this._blocker){this._blocker=new qx.ui.core.ClientDocumentBlocker; this._blocker.addEventListener($[6],this.blockHelper,this); this._blocker.addEventListener($[7],this.blockHelper,this); this.add(this._blocker); }return this._blocker; }; qx.Proto.blockHelper=function($0){if(this._modalNativeWindow){try{this._modalNativeWindow._window.focus(); }catch(ex){this.debug("Window seems to be closed already! => Releasing Blocker: ("+$0.getType()+")",ex); this.release(this._modalNativeWindow); }}}; qx.Proto.block=function($0){this._getBlocker().show(); if(qx.OO.isAvailable($[885])&&$0 instanceof qx.ui.window.Window){this._modalWidgets.push($0); var $1=$0.getZIndex(); this._getBlocker().setZIndex($1); $0.setZIndex($1+1); }else if(qx.OO.isAvailable($[553])&&$0 instanceof qx.client.NativeWindow){this._modalNativeWindow=$0; this._getBlocker().setZIndex(1e7); }}; qx.Proto.release=function($0){if($0){if(qx.OO.isAvailable($[553])&&$0 instanceof qx.client.NativeWindow){this._modalNativeWindow=null; }else{qx.lang.Array.remove(this._modalWidgets,$0); }}var $1=this._modalWidgets.length; if($1==0){this._getBlocker().hide(); }else{var $2=this._modalWidgets[$1-1]; var $3=$2.getZIndex(); this._getBlocker().setZIndex($3); $2.setZIndex($3+1); }}; qx.Proto.createStyleElement=function($0){return qx.html.StyleSheet.createElement($0); }; qx.Proto.addCssRule=function($0,$1,$2){return qx.html.StyleSheet.addRule($0,$1,$2); }; qx.Proto.removeCssRule=function($0,$1){return qx.html.StyleSheet.removeRule($0,$1); }; qx.Proto.removeAllCssRules=function($0){return qx.html.StyleSheet.removeAllRules($0); }; if(qx.Settings.getValueOfClass($[455],$[842])){qx.html.StyleSheet.createElement($[2074]+$[2515]+qx.core.Client.getInstance().getEngineBoxSizingAttribute()+$[2160]+qx.core.Client.getInstance().getEngineBoxSizingAttribute()+$[2301]); } if(qx.Settings.getValueOfClass($[455],$[754])){qx.html.StyleSheet.createElement($[2959]); }qx.Proto._modifyGlobalCursor=function($0,$1,$2){if(!this._globalCursorStyleSheet){this._globalCursorStyleSheet=this.createStyleElement(); }this.removeAllCssRules(this._globalCursorStyleSheet); if($0){this.addCssRule(this._globalCursorStyleSheet,$[144],$[1141]+$0+$[1379]); }return true; }; qx.Proto._onwindowresize=function($0){if(qx.OO.isAvailable($[240])){qx.manager.object.PopupManager.getInstance().update(); }this._recomputeInnerWidth(); this._recomputeInnerHeight(); qx.ui.core.Widget.flushGlobalQueues(); }; qx.Proto._computeInnerWidth=function(){return this._document.body.offsetWidth; }; qx.Proto._computeInnerHeight=function(){return this._document.body.offsetHeight; }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }delete this._window; delete this._document; delete this._modalWidgets; delete this._modalNativeWindow; this.removeEventListener($[213],this._onwindowresize); this._globalCursorStyleSheet=null; if(this._blocker){this._blocker.removeEventListener($[6],this.blockHelper,this); this._blocker.removeEventListener($[7],this.blockHelper,this); this._blocker.dispose(); this._blocker=null; }return qx.ui.layout.CanvasLayout.prototype.dispose.call(this); }; qx.Clazz.getInstance=qx.lang.Function.returnInstance; /* ID: qx.ui.core.ClientDocumentBlocker */ qx.OO.defineClass($[2691],qx.ui.basic.Terminator,function(){qx.ui.basic.Terminator.call(this); this.setEdge(0); this.setZIndex(1e8); this.setDisplay(false); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[2331]}); /* ID: qx.event.handler.FocusHandler */ qx.OO.defineClass($[904],qx.core.Target,function($0){qx.core.Target.call(this); if($0!=null){this._attachedWidget=$0; }}); qx.event.handler.FocusHandler.mouseFocus=false; qx.Proto.getAttachedWidget=function(){return this._attachedWidget; }; qx.event.handler.FocusHandler.tabEventType=qx.core.Client.getInstance().isMshtml()?$[13]:$[17]; qx.Proto._onkeyevent=function($0,$1){if($1.getKeyIdentifier()!=$[183]){return; }$1.stopPropagation(); $1.preventDefault(); if($1.getType()!=qx.event.handler.FocusHandler.tabEventType){return; }qx.event.handler.FocusHandler.mouseFocus=false; var $2=this.getAttachedWidget().getFocusedChild(); if(!$1.isShiftPressed()){var $3=$2?this.getWidgetAfter($0,$2):this.getFirstWidget($0); }else{var $3=$2?this.getWidgetBefore($0,$2):this.getLastWidget($0); }if($3){$3.setFocused(true); $3._ontabfocus(); }}; qx.Proto.compareTabOrder=function($0,$1){if($0==$1){return 0; }var $2=$0.getTabIndex(); var $3=$1.getTabIndex(); if($2!=$3){return $2-$3; }var $4=qx.html.Location.getPageBoxTop($0.getElement()); var $5=qx.html.Location.getPageBoxTop($1.getElement()); if($4!=$5){return $4-$5; }var $6=qx.html.Location.getPageBoxLeft($0.getElement()); var $7=qx.html.Location.getPageBoxLeft($1.getElement()); if($6!=$7){return $6-$7; }var $8=$0.getZIndex(); var $9=$1.getZIndex(); if($8!=$9){return $8-$9; }return 0; }; qx.Proto.getFirstWidget=function($0){return this._getFirst($0,null); }; qx.Proto.getLastWidget=function($0){return this._getLast($0,null); }; qx.Proto.getWidgetAfter=function($0,$1){if($0==$1){return this.getFirstWidget($0); } if($1.getAnonymous()){$1=$1.getParent(); } if($1==null){return []; }var $2=[]; this._getAllAfter($0,$1,$2); $2.sort(this.compareTabOrder); return $2.length>0?$2[0]:this.getFirstWidget($0); }; qx.Proto.getWidgetBefore=function($0,$1){if($0==$1){return this.getLastWidget($0); } if($1.getAnonymous()){$1=$1.getParent(); } if($1==null){return []; }var $2=[]; this._getAllBefore($0,$1,$2); $2.sort(this.compareTabOrder); var $3=$2.length; return $3>0?$2[$3-1]:this.getLastWidget($0); }; qx.Proto._getAllAfter=function($0,$1,$2){var $3=$0.getChildren(); var $4; var $5=$3.length; for(var $6=0;$6<$5;$6++){$4=$3[$6]; if(!($4 instanceof qx.ui.core.Parent)&&!($4 instanceof qx.ui.basic.Terminator)){continue; } if($4.isFocusable()&&$4.getTabIndex()>0&&this.compareTabOrder($1,$4)<0){$2.push($3[$6]); } if(!$4.isFocusRoot()&&$4 instanceof qx.ui.core.Parent){this._getAllAfter($4,$1,$2); }}}; qx.Proto._getAllBefore=function($0,$1,$2){var $3=$0.getChildren(); var $4; var $5=$3.length; for(var $6=0;$6<$5;$6++){$4=$3[$6]; if(!($4 instanceof qx.ui.core.Parent)&&!($4 instanceof qx.ui.basic.Terminator)){continue; } if($4.isFocusable()&&$4.getTabIndex()>0&&this.compareTabOrder($1,$4)>0){$2.push($4); } if(!$4.isFocusRoot()&&$4 instanceof qx.ui.core.Parent){this._getAllBefore($4,$1,$2); }}}; qx.Proto._getFirst=function($0,$1){var $2=$0.getChildren(); var $3; var $4=$2.length; for(var $5=0;$5<$4;$5++){$3=$2[$5]; if(!($3 instanceof qx.ui.core.Parent)&&!($3 instanceof qx.ui.basic.Terminator)){continue; } if($3.isFocusable()&&$3.getTabIndex()>0){if($1==null||this.compareTabOrder($3,$1)<0){$1=$3; }} if(!$3.isFocusRoot()&&$3 instanceof qx.ui.core.Parent){$1=this._getFirst($3,$1); }}return $1; }; qx.Proto._getLast=function($0,$1){var $2=$0.getChildren(); var $3; var $4=$2.length; for(var $5=0;$5<$4;$5++){$3=$2[$5]; if(!($3 instanceof qx.ui.core.Parent)&&!($3 instanceof qx.ui.basic.Terminator)){continue; } if($3.isFocusable()&&$3.getTabIndex()>0){if($1==null||this.compareTabOrder($3,$1)>0){$1=$3; }} if(!$3.isFocusRoot()&&$3 instanceof qx.ui.core.Parent){$1=this._getLast($3,$1); }}return $1; }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this._attachedWidget=null; qx.core.Target.prototype.dispose.call(this); }; /* ID: qx.html.Location */ qx.OO.defineClass($[2364]); qx.html.Location.getPageOuterLeft=function($0){return qx.html.Location.getPageBoxLeft($0)-qx.html.Style.getMarginLeft($0); }; qx.html.Location.getPageOuterTop=function($0){return qx.html.Location.getPageBoxTop($0)-qx.html.Style.getMarginTop($0); }; qx.html.Location.getPageOuterRight=function($0){return qx.html.Location.getPageBoxRight($0)+qx.html.Style.getMarginRight($0); }; qx.html.Location.getPageOuterBottom=function($0){return qx.html.Location.getPageBoxBottom($0)+qx.html.Style.getMarginBottom($0); }; qx.html.Location.getClientOuterLeft=function($0){return qx.html.Location.getClientBoxLeft($0)-qx.html.Style.getMarginLeft($0); }; qx.html.Location.getClientOuterTop=function($0){return qx.html.Location.getClientBoxTop($0)-qx.html.Style.getMarginTop($0); }; qx.html.Location.getClientOuterRight=function($0){return qx.html.Location.getClientBoxRight($0)+qx.html.Style.getMarginRight($0); }; qx.html.Location.getClientOuterBottom=function($0){return qx.html.Location.getClientBoxBottom($0)+qx.html.Style.getMarginBottom($0); }; qx.html.Location.getClientBoxLeft=function($0){}; qx.html.Location.getClientBoxTop=function($0){}; qx.html.Location.getClientBoxRight=function($0){}; qx.html.Location.getClientBoxBottom=function($0){}; qx.html.Location.getPageBoxLeft=function($0){}; qx.html.Location.getPageBoxTop=function($0){}; qx.html.Location.getPageBoxRight=function($0){}; qx.html.Location.getPageBoxBottom=function($0){}; if(qx.core.Client.getInstance().isMshtml()){qx.html.Location.getClientBoxLeft=function($0){return $0.getBoundingClientRect().left; }; qx.html.Location.getClientBoxTop=function($0){return $0.getBoundingClientRect().top; }; qx.html.Location.getPageBoxLeft=function($0){return qx.html.Location.getClientBoxLeft($0)+qx.html.Scroll.getLeftSum($0); }; qx.html.Location.getPageBoxTop=function($0){return qx.html.Location.getClientBoxTop($0)+qx.html.Scroll.getTopSum($0); }; }else if(qx.core.Client.getInstance().isGecko()){qx.html.Location.getClientBoxLeft=function($0){return qx.html.Location.getClientAreaLeft($0)-qx.html.Style.getBorderLeft($0); }; qx.html.Location.getClientBoxTop=function($0){return qx.html.Location.getClientAreaTop($0)-qx.html.Style.getBorderTop($0); }; qx.html.Location.getPageBoxLeft=function($0){return qx.html.Location.getPageAreaLeft($0)-qx.html.Style.getBorderLeft($0); }; qx.html.Location.getPageBoxTop=function($0){return qx.html.Location.getPageAreaTop($0)-qx.html.Style.getBorderTop($0); }; }else{qx.html.Location.getPageBoxLeft=function($0){var $1=$0.offsetLeft; while($0.tagName.toLowerCase()!=$[126]){$0=$0.offsetParent; $1+=$0.offsetLeft; }return $1; }; qx.html.Location.getPageBoxTop=function($0){var $1=$0.offsetTop; while($0.tagName.toLowerCase()!=$[126]){$0=$0.offsetParent; $1+=$0.offsetTop; }return $1; }; qx.html.Location.getClientBoxLeft=function($0){var $1=$0.offsetLeft; while($0.tagName.toLowerCase()!=$[126]){$0=$0.offsetParent; $1+=$0.offsetLeft-$0.scrollLeft; }return $1; }; qx.html.Location.getClientBoxTop=function($0){var $1=$0.offsetTop; while($0.tagName.toLowerCase()!=$[126]){$0=$0.offsetParent; $1+=$0.offsetTop-$0.scrollTop; }return $1; }; } if(qx.core.Client.getInstance().isMshtml()){qx.html.Location.getClientBoxRight=function($0){return $0.getBoundingClientRect().right; }; qx.html.Location.getClientBoxBottom=function($0){return $0.getBoundingClientRect().bottom; }; qx.html.Location.getPageBoxRight=function($0){return qx.html.Location.getClientBoxRight($0)+qx.html.Scroll.getLeftSum($0); }; qx.html.Location.getPageBoxBottom=function($0){return qx.html.Location.getClientBoxBottom($0)+qx.html.Scroll.getTopSum($0); }; }else{qx.html.Location.getClientBoxRight=function($0){return qx.html.Location.getClientBoxLeft($0)+qx.html.Dimension.getBoxWidth($0); }; qx.html.Location.getClientBoxBottom=function($0){return qx.html.Location.getClientBoxTop($0)+qx.html.Dimension.getBoxHeight($0); }; qx.html.Location.getPageBoxRight=function($0){return qx.html.Location.getPageBoxLeft($0)+qx.html.Dimension.getBoxWidth($0); }; qx.html.Location.getPageBoxBottom=function($0){return qx.html.Location.getPageBoxTop($0)+qx.html.Dimension.getBoxHeight($0); }; }qx.html.Location.getClientAreaLeft=function($0){}; qx.html.Location.getClientAreaTop=function($0){}; qx.html.Location.getPageAreaLeft=function($0){}; qx.html.Location.getPageAreaTop=function($0){}; if(qx.core.Client.getInstance().isGecko()){qx.html.Location.getPageAreaLeft=function($0){return $0.getBoundingClientRect().left; }; qx.html.Location.getPageAreaTop=function($0){return $0.getBoundingClientRect().top; }; qx.html.Location.getClientAreaLeft=function($0){return qx.html.Location.getPageAreaLeft($0)-qx.html.Scroll.getLeftSum($0); }; qx.html.Location.getClientAreaTop=function($0){return qx.html.Location.getPageAreaTop($0)-qx.html.Scroll.getTopSum($0); }; }else{qx.html.Location.getClientAreaLeft=function($0){return qx.html.Location.getClientBoxLeft($0)+qx.html.Style.getBorderLeft($0); }; qx.html.Location.getClientAreaTop=function($0){return qx.html.Location.getClientBoxTop($0)+qx.html.Style.getBorderTop($0); }; qx.html.Location.getPageAreaLeft=function($0){return qx.html.Location.getPageBoxLeft($0)+qx.html.Style.getBorderLeft($0); }; qx.html.Location.getPageAreaTop=function($0){return qx.html.Location.getPageBoxTop($0)+qx.html.Style.getBorderTop($0); }; }qx.html.Location.getClientAreaRight=function($0){return qx.html.Location.getClientAreaLeft($0)+qx.html.Dimension.getAreaWidth($0); }; qx.html.Location.getClientAreaBottom=function($0){return qx.html.Location.getClientAreaTop($0)+qx.html.Dimension.getAreaHeight($0); }; qx.html.Location.getPageAreaRight=function($0){return qx.html.Location.getPageAreaLeft($0)+qx.html.Dimension.getAreaWidth($0); }; qx.html.Location.getPageAreaBottom=function($0){return qx.html.Location.getPageAreaTop($0)+qx.html.Dimension.getAreaHeight($0); }; qx.html.Location.getClientInnerLeft=function($0){return qx.html.Location.getClientAreaLeft($0)+qx.html.Style.getPaddingLeft($0); }; qx.html.Location.getClientInnerTop=function($0){return qx.html.Location.getClientAreaTop($0)+qx.html.Style.getPaddingTop($0); }; qx.html.Location.getClientInnerRight=function($0){return qx.html.Location.getClientInnerLeft($0)+qx.html.Dimension.getInnerWidth($0); }; qx.html.Location.getClientInnerBottom=function($0){return qx.html.Location.getClientInnerTop($0)+qx.html.Dimension.getInnerHeight($0); }; qx.html.Location.getPageInnerLeft=function($0){return qx.html.Location.getPageAreaLeft($0)+qx.html.Style.getPaddingLeft($0); }; qx.html.Location.getPageInnerTop=function($0){return qx.html.Location.getPageAreaTop($0)+qx.html.Style.getPaddingTop($0); }; qx.html.Location.getPageInnerRight=function($0){return qx.html.Location.getPageInnerLeft($0)+qx.html.Dimension.getInnerWidth($0); }; qx.html.Location.getPageInnerBottom=function($0){return qx.html.Location.getPageInnerTop($0)+qx.html.Dimension.getInnerHeight($0); }; qx.html.Location.getScreenBoxLeft=function($0){}; qx.html.Location.getScreenBoxTop=function($0){}; if(qx.core.Client.getInstance().isGecko()){qx.html.Location.getScreenBoxLeft=function($0){var $1=0; var $2=$0.parentNode; while($2.nodeType==1){$1+=$2.scrollLeft; $2=$2.parentNode; }return $0.ownerDocument.getBoxObjectFor($0).screenX-$1; }; qx.html.Location.getScreenBoxTop=function($0){var $1=0; var $2=$0.parentNode; while($2.nodeType==1){$1+=$2.scrollTop; $2=$2.parentNode; }return $0.ownerDocument.getBoxObjectFor($0).screenY-$1; }; }else{qx.html.Location.getScreenBoxLeft=function($0){return qx.html.Location.getScreenDocumentLeft($0)+qx.html.Location.getPageBoxLeft($0); }; qx.html.Location.getScreenBoxTop=function($0){return qx.html.Location.getScreenDocumentTop($0)+qx.html.Location.getPageBoxTop($0); }; }qx.html.Location.getScreenBoxRight=function($0){return qx.html.Location.getScreenBoxLeft($0)+qx.html.Dimension.getBoxWidth($0); }; qx.html.Location.getScreenBoxBottom=function($0){return qx.html.Location.getScreenBoxTop($0)+qx.html.Dimension.getBoxHeight($0); }; qx.html.Location.getScreenOuterLeft=function($0){return qx.html.Location.getScreenBoxLeft($0)-qx.html.Style.getMarginLeft($0); }; qx.html.Location.getScreenOuterTop=function($0){return qx.html.Location.getScreenBoxTop($0)-qx.html.Style.getMarginTop($0); }; qx.html.Location.getScreenOuterRight=function($0){return qx.html.Location.getScreenBoxRight($0)+qx.html.Style.getMarginRight($0); }; qx.html.Location.getScreenOuterBottom=function($0){return qx.html.Location.getScreenBoxBottom($0)+qx.html.Style.getMarginBottom($0); }; qx.html.Location.getScreenAreaLeft=function($0){return qx.html.Location.getScreenBoxLeft($0)+qx.html.Dimension.getInsetLeft($0); }; qx.html.Location.getScreenAreaTop=function($0){return qx.html.Location.getScreenBoxTop($0)+qx.html.Dimension.getInsetTop($0); }; qx.html.Location.getScreenAreaRight=function($0){return qx.html.Location.getScreenBoxRight($0)-qx.html.Dimension.getInsetRight($0); }; qx.html.Location.getScreenAreaBottom=function($0){return qx.html.Location.getScreenBoxBottom($0)-qx.html.Dimension.getInsetBottom($0); }; qx.html.Location.getScreenInnerLeft=function($0){return qx.html.Location.getScreenAreaLeft($0)+qx.html.Style.getPaddingLeft($0); }; qx.html.Location.getScreenInnerTop=function($0){return qx.html.Location.getScreenAreaTop($0)+qx.html.Style.getPaddingTop($0); }; qx.html.Location.getScreenInnerRight=function($0){return qx.html.Location.getScreenAreaRight($0)-qx.html.Style.getPaddingRight($0); }; qx.html.Location.getScreenInnerBottom=function($0){return qx.html.Location.getScreenAreaBottom($0)-qx.html.Style.getPaddingBottom($0); }; qx.html.Location.getScreenDocumentLeft=function($0){}; qx.html.Location.getScreenDocumentTop=function($0){}; qx.html.Location.getScreenDocumentRight=function($0){}; qx.html.Location.getScreenDocumentBottom=function($0){}; if(qx.core.Client.getInstance().isGecko()){qx.html.Location.getScreenDocumentLeft=function($0){return qx.html.Location.getScreenOuterLeft($0.ownerDocument.body); }; qx.html.Location.getScreenDocumentTop=function($0){return qx.html.Location.getScreenOuterTop($0.ownerDocument.body); }; qx.html.Location.getScreenDocumentRight=function($0){return qx.html.Location.getScreenOuterRight($0.ownerDocument.body); }; qx.html.Location.getScreenDocumentBottom=function($0){return qx.html.Location.getScreenOuterBottom($0.ownerDocument.body); }; }else{qx.html.Location.getScreenDocumentLeft=function($0){return $0.document.parentWindow.screenLeft; }; qx.html.Location.getScreenDocumentTop=function($0){return $0.document.parentWindow.screenTop; }; qx.html.Location.getScreenDocumentRight=function($0){}; qx.html.Location.getScreenDocumentBottom=function($0){}; } /* ID: qx.html.Scroll */ qx.OO.defineClass($[1366]); qx.html.Scroll.getLeftSum=function($0){var $1=0; var $2=$0.parentNode; while($2.nodeType==1){$1+=$2.scrollLeft; $2=$2.parentNode; }return $1; }; qx.html.Scroll.getTopSum=function($0){var $1=0; var $2=$0.parentNode; while($2.nodeType==1){$1+=$2.scrollTop; $2=$2.parentNode; }return $1; }; /* ID: qx.html.Dimension */ qx.OO.defineClass($[1046]); qx.html.Dimension.getOuterWidth=function($0){return qx.html.Dimension.getBoxWidth($0)+qx.html.Style.getMarginLeft($0)+qx.html.Style.getMarginRight($0); }; qx.html.Dimension.getOuterHeight=function($0){return qx.html.Dimension.getBoxHeight($0)+qx.html.Style.getMarginTop($0)+qx.html.Style.getMarginBottom($0); }; qx.html.Dimension.getBoxWidthForZeroHeight=function($0){var $1=$0.offsetHeight; if($1==0){var $2=$0.style.height; $0.style.height=$[924]; }var $3=$0.offsetWidth; if($1==0){$0.style.height=$2; }return $3; }; qx.html.Dimension.getBoxHeightForZeroWidth=function($0){var $1=$0.offsetWidth; if($1==0){var $2=$0.style.width; $0.style.width=$[924]; }var $3=$0.offsetHeight; if($1==0){$0.style.width=$2; }return $3; }; qx.html.Dimension.getBoxWidth=function($0){return $0.offsetWidth; }; qx.html.Dimension.getBoxHeight=function($0){return $0.offsetHeight; }; qx.html.Dimension.getAreaWidth=function($0){}; qx.html.Dimension.getAreaHeight=function($0){}; if(qx.core.Client.getInstance().isGecko()){qx.html.Dimension.getAreaWidth=function($0){if($0.clientWidth!=0&&$0.clientWidth!=(qx.html.Style.getBorderLeft($0)+qx.html.Style.getBorderRight($0))){return $0.clientWidth; }else{return qx.html.Dimension.getBoxWidth($0)-qx.html.Dimension.getInsetLeft($0)-qx.html.Dimension.getInsetRight($0); }}; qx.html.Dimension.getAreaHeight=function($0){if($0.clientHeight!=0&&$0.clientHeight!=(qx.html.Style.getBorderTop($0)+qx.html.Style.getBorderBottom($0))){return $0.clientHeight; }else{return qx.html.Dimension.getBoxHeight($0)-qx.html.Dimension.getInsetTop($0)-qx.html.Dimension.getInsetBottom($0); }}; }else{qx.html.Dimension.getAreaWidth=function($0){return $0.clientWidth!=0?$0.clientWidth:(qx.html.Dimension.getBoxWidth($0)-qx.html.Dimension.getInsetLeft($0)-qx.html.Dimension.getInsetRight($0)); }; qx.html.Dimension.getAreaHeight=function($0){return $0.clientHeight!=0?$0.clientHeight:(qx.html.Dimension.getBoxHeight($0)-qx.html.Dimension.getInsetTop($0)-qx.html.Dimension.getInsetBottom($0)); }; }qx.html.Dimension.getInnerWidth=function($0){return qx.html.Dimension.getAreaWidth($0)-qx.html.Style.getPaddingLeft($0)-qx.html.Style.getPaddingRight($0); }; qx.html.Dimension.getInnerHeight=function($0){return qx.html.Dimension.getAreaHeight($0)-qx.html.Style.getPaddingTop($0)-qx.html.Style.getPaddingBottom($0); }; qx.html.Dimension.getInsetLeft=function($0){}; qx.html.Dimension.getInsetTop=function($0){}; qx.html.Dimension.getInsetRight=function($0){}; qx.html.Dimension.getInsetBottom=function($0){}; if(qx.core.Client.getInstance().isMshtml()){qx.html.Dimension.getInsetLeft=function($0){return $0.clientLeft; }; qx.html.Dimension.getInsetTop=function($0){return $0.clientTop; }; qx.html.Dimension.getInsetRight=function($0){if(qx.html.Style.getStyleProperty($0,$[286])==$[25]||$0.clientWidth==0){return qx.html.Style.getBorderRight($0); }return Math.max(0,$0.offsetWidth-$0.clientLeft-$0.clientWidth); }; qx.html.Dimension.getInsetBottom=function($0){if(qx.html.Style.getStyleProperty($0,$[337])==$[25]||$0.clientHeight==0){return qx.html.Style.getBorderBottom($0); }return Math.max(0,$0.offsetHeight-$0.clientTop-$0.clientHeight); }; }else{qx.html.Dimension.getInsetLeft=function($0){return qx.html.Style.getBorderLeft($0); }; qx.html.Dimension.getInsetTop=function($0){return qx.html.Style.getBorderTop($0); }; qx.html.Dimension.getInsetRight=function($0){if($0.clientWidth==0){var $1=qx.html.Style.getStyleProperty($0,$[220]); var $2=$1==$[75]||$1==$[451]?16:0; return Math.max(0,qx.html.Style.getBorderRight($0)+$2); }return Math.max(0,$0.offsetWidth-$0.clientWidth-qx.html.Style.getBorderLeft($0)); }; qx.html.Dimension.getInsetBottom=function($0){if($0.clientHeight==0){var $1=qx.html.Style.getStyleProperty($0,$[220]); var $2=$1==$[75]||$1==$[468]?16:0; return Math.max(0,qx.html.Style.getBorderBottom($0)+$2); }return Math.max(0,$0.offsetHeight-$0.clientHeight-qx.html.Style.getBorderTop($0)); }; }qx.html.Dimension.getScrollBarSizeLeft=function($0){return 0; }; qx.html.Dimension.getScrollBarSizeTop=function($0){return 0; }; qx.html.Dimension.getScrollBarSizeRight=function($0){return qx.html.Dimension.getInsetRight($0)-qx.html.Style.getBorderRight($0); }; qx.html.Dimension.getScrollBarSizeBottom=function($0){return qx.html.Dimension.getInsetBottom($0)-qx.html.Style.getBorderBottom($0); }; qx.html.Dimension.getScrollBarVisibleX=function($0){return qx.html.Dimension.getScrollBarSizeRight($0)>0; }; qx.html.Dimension.getScrollBarVisibleY=function($0){return qx.html.Dimension.getScrollBarSizeBottom($0)>0; }; /* ID: qx.manager.object.AliasManager */ qx.OO.defineClass($[191],qx.core.Target,function(){qx.core.Target.call(this); this._aliases={}; this._uris={}; this.add($[1682],this.getSetting($[420])); }); qx.Settings.setDefault($[188],$[1578]); qx.Settings.setDefault($[420],qx.Settings.getValue($[188])+$[1448]); qx.Proto.add=function($0,$1){this._aliases[$0]=$1; for(var $2 in this._uris){if($2.substring(0,$2.indexOf($[73]))==$0){this._uris[$2]=null; }}this.createDispatchEvent($[38]); }; qx.Proto.remove=function($0){delete this._aliases[$0]; for(var $1 in this._uris){if($1.substring(0,$1.indexOf($[73]))==$0){this._uris[$1]=null; }}this.createDispatchEvent($[38]); }; qx.Proto.resolve=function($0){return this._aliases[$0]; }; qx.Proto.resolvePath=function($0,$1){var $2=this._uris[$0]; if($2==null){$2=this._uris[$0]=this._computePath($0); }return $2; }; qx.Proto._computePath=function($0){switch($0.charAt(0)){case $[73]:case $[50]:return $0; default:if(qx.lang.String.startsWith($0,qx.net.Protocol.URI_HTTP)||qx.lang.String.startsWith($0,qx.net.Protocol.URI_HTTPS)||qx.lang.String.startsWith($0,qx.net.Protocol.URI_FILE)){return $0; }var $1=$0.substring(0,$0.indexOf($[73])); var $2=this._aliases[$1]; if($2!=null){return $2+$0.substring($1.length); }return $0; }}; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this._aliases=null; this._uris=null; return qx.core.Target.prototype.dispose.call(this); }; qx.Clazz.getInstance=qx.lang.Function.returnInstance; /* ID: qx.net.Protocol */ qx.OO.defineClass($[1756],{HTTP:"http",HTTPS:"https",FTP:"ftp",FILE:"file",URI_HTTP:"http://",URI_HTTPS:"https://",URI_FTP:"ftp://",URI_FILE:"file://"}); /* ID: qx.html.Offset */ qx.OO.defineClass($[1550]); qx.html.Offset.getLeft=function($0){}; qx.html.Offset.getTop=function($0){}; if(qx.core.Client.getInstance().isGecko()){qx.html.Offset.getLeft=function($0){var $1=$0.offsetLeft; var $2=$0.parentNode; var $3=qx.html.Style.getStyleProperty($0,$[109]); var $4=qx.html.Style.getStyleProperty($2,$[109]); if($3!=$[100]&&$3!=$[219]){$1-=qx.html.Style.getBorderLeft($2); }if($4!=$[100]&&$4!=$[219]){while($2){$2=$2.parentNode; if(!$2||typeof $2.tagName!==$[0]){break; }var $5=qx.html.Style.getStyleProperty($2,$[109]); if($5==$[100]||$5==$[219]){$1-=qx.html.Style.getBorderLeft($2)+qx.html.Style.getPaddingLeft($2); break; }}}return $1; }; qx.html.Offset.getTop=function($0){var $1=$0.offsetTop; var $2=$0.parentNode; var $3=qx.html.Style.getStyleProperty($0,$[109]); var $4=qx.html.Style.getStyleProperty($2,$[109]); if($3!=$[100]&&$3!=$[219]){$1-=qx.html.Style.getBorderTop($2); }if($4!=$[100]&&$4!=$[219]){while($2){$2=$2.parentNode; if(!$2||typeof $2.tagName!==$[0]){break; }var $5=qx.html.Style.getStyleProperty($2,$[109]); if($5==$[100]||$5==$[219]){$1-=qx.html.Style.getBorderTop($2)+qx.html.Style.getPaddingTop($2); break; }}}return $1; }; }else{qx.html.Offset.getLeft=function($0){return $0.offsetLeft; }; qx.html.Offset.getTop=function($0){return $0.offsetTop; }; } /* ID: qx.html.ScrollIntoView */ qx.OO.defineClass($[2890]); qx.dom.BODY_TAG_NAME="body"; qx.html.ScrollIntoView.scrollX=function($0,$1){var $2,$3,$4,$5; var $6=$0.parentNode; var $7=$0.offsetLeft; var $4=$0.offsetWidth; while($6){switch(qx.html.Style.getStyleProperty($6,$[220])){case $[75]:case $[5]:case $[468]:$5=true; break; default:switch(qx.html.Style.getStyleProperty($6,$[337])){case $[75]:case $[5]:$5=true; break; default:$5=false; }} if($5){$2=$6.clientWidth; $3=$6.scrollLeft; if($1){$6.scrollLeft=$7; }else if($1==false){$6.scrollLeft=$7+$4-$2; }else if($4>$2||$7<$3){$6.scrollLeft=$7; }else if(($7+$4)>($3+$2)){$6.scrollLeft=$7+$4-$2; }$7=$6.offsetLeft; $4=$6.offsetWidth; }else{$7+=$6.offsetLeft; } if($6.tagName.toLowerCase()==qx.dom.BODY_TAG_NAME){break; }$6=$6.parentNode; }return true; }; qx.html.ScrollIntoView.scrollY=function($0,$1){var $2,$3,$4,$5; var $6=$0.parentNode; var $7=$0.offsetTop; var $4=$0.offsetHeight; while($6){switch(qx.html.Style.getStyleProperty($6,$[220])){case $[75]:case $[5]:case $[451]:$5=true; break; default:switch(qx.html.Style.getStyleProperty($6,$[286])){case $[75]:case $[5]:$5=true; break; default:$5=false; }} if($5){$2=$6.clientHeight; $3=$6.scrollTop; if($1){$6.scrollTop=$7; }else if($1==false){$6.scrollTop=$7+$4-$2; }else if($4>$2||$7<$3){$6.scrollTop=$7; }else if(($7+$4)>($3+$2)){$6.scrollTop=$7+$4-$2; }$7=$6.offsetTop; $4=$6.offsetHeight; }else{$7+=$6.offsetTop; } if($6.tagName.toLowerCase()==qx.dom.BODY_TAG_NAME){break; }$6=$6.parentNode; }return true; }; /* ID: qx.dom.Node */ qx.OO.defineClass($[2654],{ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12}); /* ID: qx.event.type.MouseEvent */ qx.OO.defineClass($[2282],qx.event.type.DomEvent,function($0,$1,$2,$3,$4,$5){qx.event.type.DomEvent.call(this,$0,$1,$2,$3,$4); if($5){this.setRelatedTarget($5); }}); qx.Clazz.C_BUTTON_LEFT="left"; qx.Clazz.C_BUTTON_MIDDLE="middle"; qx.Clazz.C_BUTTON_RIGHT="right"; qx.Clazz.C_BUTTON_NONE="none"; qx.event.type.MouseEvent._screenX=qx.event.type.MouseEvent._screenY=qx.event.type.MouseEvent._clientX=qx.event.type.MouseEvent._clientY=qx.event.type.MouseEvent._pageX=qx.event.type.MouseEvent._pageY=0; qx.event.type.MouseEvent._button=null; qx.event.type.MouseEvent._storeEventState=function($0){qx.event.type.MouseEvent._screenX=$0.getScreenX(); qx.event.type.MouseEvent._screenY=$0.getScreenY(); qx.event.type.MouseEvent._clientX=$0.getClientX(); qx.event.type.MouseEvent._clientY=$0.getClientY(); qx.event.type.MouseEvent._pageX=$0.getPageX(); qx.event.type.MouseEvent._pageY=$0.getPageY(); qx.event.type.MouseEvent._button=$0.getButton(); }; qx.event.type.MouseEvent.getScreenX=function(){return qx.event.type.MouseEvent._screenX; }; qx.event.type.MouseEvent.getScreenY=function(){return qx.event.type.MouseEvent._screenY; }; qx.event.type.MouseEvent.getClientX=function(){return qx.event.type.MouseEvent._clientX; }; qx.event.type.MouseEvent.getClientY=function(){return qx.event.type.MouseEvent._clientY; }; qx.event.type.MouseEvent.getPageX=function(){return qx.event.type.MouseEvent._pageX; }; qx.event.type.MouseEvent.getPageY=function(){return qx.event.type.MouseEvent._pageY; }; qx.event.type.MouseEvent.getButton=function(){return qx.event.type.MouseEvent._button; }; if(qx.core.Client.getInstance().isMshtml()){qx.event.type.MouseEvent.buttons={left:1,right:2,middle:4}; }else{qx.event.type.MouseEvent.buttons={left:0,right:2,middle:1}; }qx.Proto.getScreenX=function(){return this.getDomEvent().screenX; }; qx.Proto.getScreenY=function(){return this.getDomEvent().screenY; }; if(qx.core.Client.getInstance().isMshtml()){qx.OO.addFastProperty({name:$[1204],readOnly:true}); qx.OO.addFastProperty({name:$[1054],readOnly:true}); if(qx.core.Client.getInstance().isInQuirksMode()){qx.Proto._computePageX=function(){return this.getDomEvent().clientX+document.documentElement.scrollLeft; }; qx.Proto._computePageY=function(){return this.getDomEvent().clientY+document.documentElement.scrollTop; }; }else{qx.Proto._computePageX=function(){return this.getDomEvent().clientX+document.body.scrollLeft; }; qx.Proto._computePageY=function(){return this.getDomEvent().clientY+document.body.scrollTop; }; }}else if(qx.core.Client.getInstance().isGecko()){qx.Proto.getPageX=function(){return this.getDomEvent().pageX; }; qx.Proto.getPageY=function(){return this.getDomEvent().pageY; }; }else{qx.Proto.getPageX=function(){return this.getDomEvent().clientX; }; qx.Proto.getPageY=function(){return this.getDomEvent().clientY; }; }if(qx.core.Client.getInstance().isMshtml()||qx.core.Client.getInstance().isGecko()){qx.Proto.getClientX=function(){return this.getDomEvent().clientX; }; qx.Proto.getClientY=function(){return this.getDomEvent().clientY; }; }else{qx.OO.addFastProperty({name:$[984],readOnly:true}); qx.OO.addFastProperty({name:$[2866],readOnly:true}); qx.Proto._computeClientX=function(){return this.getDomEvent().clientX+(document.body&&document.body.scrollLeft!=null?document.body.scrollLeft:0); }; qx.Proto._computeClientY=function(){return this.getDomEvent().clientY+(document.body&&document.body.scrollTop!=null?document.body.scrollTop:0); }; }qx.OO.addFastProperty({name:$[122],readOnly:true}); if(qx.core.Client.getInstance().isMshtml()){qx.Proto.isLeftButtonPressed=function(){if(this.getType()==$[18]){return true; }else{return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_LEFT; }}; }else{qx.Proto.isLeftButtonPressed=function(){return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_LEFT; }; }qx.Proto.isMiddleButtonPressed=function(){return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_MIDDLE; }; qx.Proto.isRightButtonPressed=function(){return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_RIGHT; }; qx.Proto._computeButton=function(){var $0=this.getDomEvent(); if($0.which){switch($0.which){case 1:return qx.event.type.MouseEvent.C_BUTTON_LEFT; case 3:return qx.event.type.MouseEvent.C_BUTTON_RIGHT; case 2:return qx.event.type.MouseEvent.C_BUTTON_MIDDLE; default:return qx.event.type.MouseEvent.C_BUTTON_NONE; }}else{switch($0.button){case 1:return qx.event.type.MouseEvent.C_BUTTON_LEFT; case 2:return qx.event.type.MouseEvent.C_BUTTON_RIGHT; case 4:return qx.event.type.MouseEvent.C_BUTTON_MIDDLE; default:return qx.event.type.MouseEvent.C_BUTTON_NONE; }}}; qx.OO.addFastProperty({name:$[2514],readOnly:true}); if(qx.core.Client.getInstance().isMshtml()){qx.Proto._computeWheelDelta=function(){return this.getDomEvent().wheelDelta/120; }; }else if(qx.core.Client.getInstance().isOpera()){qx.Proto._computeWheelDelta=function(){return -this.getDomEvent().wheelDelta/120; }; }else{qx.Proto._computeWheelDelta=function(){return -this.getDomEvent().detail/3; }; } /* ID: qx.manager.object.IframeManager */ qx.OO.defineClass($[552],qx.manager.object.ObjectManager,function(){qx.manager.object.ObjectManager.call(this); }); qx.Proto.handleMouseDown=function($0){var $1=this.getAll(); for(var $2 in $1){var $3=$1[$2]; $3.block(); }}; qx.Proto.handleMouseUp=function($0){var $1=this.getAll(); for(var $2 in $1){var $3=$1[$2]; $3.release(); }}; qx.Clazz.getInstance=qx.lang.Function.returnInstance; /* ID: qx.io.image.PreloaderSystem */ qx.OO.defineClass($[2086],qx.core.Target,function($0,$1,$2){qx.core.Target.call(this); this._list=$0; this._timer=new qx.client.Timer(this.getSetting($[29])); this._timer.addEventListener($[52],this._oninterval,this); if($1){this.addEventListener($[22],$1,$2||null); this.start(); }}); qx.Proto._stopped=false; qx.Settings.setDefault($[29],3000); qx.Proto.start=function(){if(qx.lang.Object.isEmpty(this._list)){this.createDispatchEvent($[22]); return; } for(var $0 in this._list){var $1=qx.manager.object.ImagePreloaderManager.getInstance().create(qx.manager.object.AliasManager.getInstance().resolvePath($0)); if($1.isErroneous()||$1.isLoaded()){delete this._list[$0]; }else{$1._origSource=$0; $1.addEventListener($[102],this._onload,this); $1.addEventListener($[101],this._onerror,this); }}this._check(); }; qx.Proto._onload=function($0){delete this._list[$0.getTarget()._origSource]; this._check(); }; qx.Proto._onerror=function($0){delete this._list[$0.getTarget()._origSource]; this._check(); }; qx.Proto._oninterval=function($0){this.error("Could not preload: "+qx.lang.Object.getKeysAsString(this._list)); this._stopped=true; this._timer.stop(); this.createDispatchEvent($[22]); }; qx.Proto._check=function(){if(this._stopped){return; }if(qx.lang.Object.isEmpty(this._list)){this._timer.stop(); this.createDispatchEvent($[22]); }else{this._timer.restart(); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return true; }this._list=null; if(this._timer){this._timer.dispose(); this._timer=null; }return qx.core.Target.prototype.dispose.call(this); }; /* ID: qx.client.Timer */ qx.OO.defineClass($[2697],qx.core.Target,function($0){qx.core.Target.call(this); this.setEnabled(false); if($0!=null){this.setInterval($0); }var $1=this; this.__oninterval=function(){$1._oninterval(); }; }); qx.OO.addProperty({name:$[52],type:$[2],defaultValue:1000}); qx.Proto._intervalHandle=null; qx.Proto._modifyEnabled=function($0,$1,$2){if($1){window.clearInterval(this._intervalHandle); this._intervalHandle=null; }else if($0){this._intervalHandle=window.setInterval(this.__oninterval,this.getInterval()); }return true; }; qx.Proto.start=function(){this.setEnabled(true); }; qx.Proto.startWith=function($0){this.setInterval($0); this.start(); }; qx.Proto.stop=function(){this.setEnabled(false); }; qx.Proto.restart=function(){this.stop(); this.start(); }; qx.Proto.restartWith=function($0){this.stop(); this.startWith($0); }; qx.Proto._oninterval=function(){if(this.getEnabled()){this.createDispatchEvent($[52]); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this.stop(); if(this._intervalHandler){window.clearInterval(this._intervalHandle); this._intervalHandler=null; }this.__oninterval=null; return qx.core.Target.prototype.dispose.call(this); }; qx.client.Timer.once=function($0,$1,$2){var $3=new qx.client.Timer($2); $3.addEventListener($[52],function($4){$0.call($1,$4); $3.dispose(); $1=null; },$1); $3.start(); }; /* ID: qx.manager.object.ImagePreloaderManager */ qx.OO.defineClass($[1792],qx.manager.object.ObjectManager,function(){qx.manager.object.ObjectManager.call(this); }); qx.Proto.add=function($0){this._objects[$0.getUri()]=$0; }; qx.Proto.remove=function($0){delete this._objects[$0.getUri()]; }; qx.Proto.has=function($0){return this._objects[$0]!=null; }; qx.Proto.get=function($0){return this._objects[$0]; }; qx.Proto.create=function($0){if(this._objects[$0]){return this._objects[$0]; }return new qx.io.image.Preloader($0); }; qx.Clazz.getInstance=qx.lang.Function.returnInstance; /* ID: qx.io.image.Preloader */ qx.OO.defineClass($[1847],qx.core.Target,function($0){if(qx.manager.object.ImagePreloaderManager.getInstance().has($0)){this.debug("Reuse qx.io.image.Preloader in old-style!"); this.debug("Please use qx.manager.object.ImagePreloaderManager.getInstance().create(source) instead!"); return qx.manager.object.ImagePreloaderManager.getInstance().get($0); }qx.core.Target.call(this); this._element=new Image; this._element.qx_ImagePreloader=this; if(qx.core.Client.getInstance().isWebkit()){var $1=this; this._element.onload=function($2){return $1._onload($2); }; this._element.onerror=function($2){return $1._onerror($2); }; }else{this._element.onload=qx.io.image.Preloader.__onload; this._element.onerror=qx.io.image.Preloader.__onerror; }this._source=$0; this._element.src=$0; if(qx.core.Client.getInstance().isMshtml()){this._isPng=/\.png$/i.test(this._element.nameProp); }qx.manager.object.ImagePreloaderManager.getInstance().add(this); }); qx.Proto._source=null; qx.Proto._isLoaded=false; qx.Proto._isErroneous=false; qx.Proto.getUri=function(){return this._source; }; qx.Proto.getSource=function(){return this._source; }; qx.Proto.isLoaded=function(){return this._isLoaded; }; qx.Proto.isErroneous=function(){return this._isErroneous; }; qx.Proto._isPng=false; qx.Proto.getIsPng=function(){return this._isPng; }; if(qx.core.Client.getInstance().isGecko()){qx.Proto.getWidth=function(){return this._element.naturalWidth; }; qx.Proto.getHeight=function(){return this._element.naturalHeight; }; }else{qx.Proto.getWidth=function(){return this._element.width; }; qx.Proto.getHeight=function(){return this._element.height; }; }qx.io.image.Preloader.__onload=function($0){this.qx_ImagePreloader._onload(); }; qx.io.image.Preloader.__onerror=function($0){this.qx_ImagePreloader._onerror(); }; qx.Proto._onload=function(){if(this._isLoaded||this._isErroneous){return; }this._isLoaded=true; this._isErroneous=false; if(this.hasEventListeners($[102])){this.dispatchEvent(new qx.event.type.Event($[102]),true); }}; qx.Proto._onerror=function(){if(this._isLoaded||this._isErroneous){return; }this.debug("Could not load: "+this._source); this._isLoaded=false; this._isErroneous=true; if(this.hasEventListeners($[101])){this.dispatchEvent(new qx.event.type.Event($[101]),true); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return; } if(this._element){this._element.onload=this._element.onerror=null; this._element.qx_ImagePreloader=null; this._element=null; }this._isLoaded=this._isErroneous=this._isPng=false; return qx.core.Target.prototype.dispose.call(this); }; /* ID: qx.manager.object.ImageManager */ qx.OO.defineClass($[1372],qx.manager.object.ObjectManager,function(){qx.manager.object.ObjectManager.call(this); this._iconThemes={}; this._widgetThemes={}; this._sources={}; qx.manager.object.AliasManager.getInstance().addEventListener($[38],this._onaliaschange,this); }); qx.Settings.setDefault($[501],$[875]); qx.Settings.setDefault($[490],$[973]); qx.OO.addProperty({name:$[501],type:$[4],instance:$[799]}); qx.OO.addProperty({name:$[490],type:$[4],instance:$[832]}); qx.Proto.registerIconTheme=function($0){this._iconThemes[$0.classname]=$0; if($0.classname==this.getSetting($[501])){this.setIconTheme($0.getInstance()); }}; qx.Proto.registerWidgetTheme=function($0){this._widgetThemes[$0.classname]=$0; if($0.classname==this.getSetting($[490])){this.setWidgetTheme($0.getInstance()); }}; qx.Proto.setIconThemeById=function($0){this.setIconTheme(this._iconThemes[$0].getInstance()); }; qx.Proto.setWidgetThemeById=function($0){this.setWidgetTheme(this._widgetThemes[$0].getInstance()); }; qx.Proto._onaliaschange=function(){this._updateImages(); }; qx.Proto._modifyIconTheme=function($0,$1,$2){$0?qx.manager.object.AliasManager.getInstance().add($[72],$0.getSetting($[185])):qx.manager.object.AliasManager.getInstance().remove($[72]); return true; }; qx.Proto._modifyWidgetTheme=function($0,$1,$2){$0?qx.manager.object.AliasManager.getInstance().add($[740],$0.getSetting($[185])):qx.manager.object.AliasManager.getInstance().remove($[740]); return true; }; qx.Proto.getPreloadImageList=function(){var $0={}; for(var $1 in this._sources){if(this._sources[$1]){$0[$1]=true; }}return $0; }; qx.Proto.getPostPreloadImageList=function(){var $0={}; for(var $1 in this._sources){if(!this._sources[$1]){$0[$1]=true; }}return $0; }; qx.Proto._updateImages=function(){var $0=this.getAll(); var $1=qx.manager.object.ImagePreloaderManager.getInstance(); var $2=qx.manager.object.AliasManager.getInstance(); var $3; for(var $4 in $0){$3=$0[$4]; $3.setPreloader($1.create($2.resolvePath($3.getSource()))); }return true; }; qx.Proto.createThemeList=function($0,$1,$2){var $3; var $4=this._iconThemes; var $5=$[3000]; var $6=$[1421]; var $7=$[11]; for(var $8 in $4){var $9=$4[$8].getInstance(); var $3=new qx.ui.form.Button($6+$9.getTitle(),$5); $3.setLocation($1,$2); $3.addEventListener($7,new Function($[1904]+$8+$[421])); $0.add($3); $2+=30; }}; qx.Proto.preload=function($0){qx.manager.object.ImagePreloaderManager.getInstance().create(qx.manager.object.AliasManager.getInstance().resolvePath($0)); }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }qx.manager.object.AliasManager.getInstance().removeEventListener($[38],this._onaliaschange,this); this._sources=null; this._iconThemes=null; this._widgetThemes=null; return qx.manager.object.ObjectManager.prototype.dispose.call(this); }; qx.Clazz.getInstance=qx.lang.Function.returnInstance; /* ID: qx.renderer.theme.IconTheme */ qx.OO.defineClass($[799],qx.core.Object,function($0){qx.core.Object.call(this); this.setTitle($0); }); qx.OO.addProperty({name:$[166],type:$[0],allowNull:false,defaultValue:$[1]}); /* ID: qx.theme.icon.Nuvola */ qx.OO.defineClass($[875],qx.renderer.theme.IconTheme,function(){qx.renderer.theme.IconTheme.call(this,$[2886]); }); qx.Settings.setDefault($[185],qx.Settings.getValueOfClass($[191],$[188])+$[2481]); qx.Clazz.getInstance=qx.lang.Function.returnInstance; qx.manager.object.ImageManager.getInstance().registerIconTheme(qx.Clazz); /* ID: qx.renderer.theme.WidgetTheme */ qx.OO.defineClass($[832],qx.core.Object,function($0){qx.core.Object.call(this); this.setTitle($0); }); qx.OO.addProperty({name:$[166],type:$[0],allowNull:false,defaultValue:$[1]}); /* ID: qx.theme.widget.Windows */ qx.OO.defineClass($[973],qx.renderer.theme.WidgetTheme,function(){qx.renderer.theme.WidgetTheme.call(this,$[406]); }); qx.Settings.setDefault($[185],qx.Settings.getValueOfClass($[191],$[188])+$[1727]); qx.Clazz.getInstance=qx.lang.Function.returnInstance; qx.manager.object.ImageManager.getInstance().registerWidgetTheme(qx.Clazz); /* ID: qx.renderer.font.FontCache */ qx.OO.defineClass($[1724]); qx.renderer.font.FontCache=function($0,$1){var $2; var $3=false; switch(typeof $0){case $[0]:if($0!=$[1]){$0=$2=$0.toLowerCase(); break; }return $0; case $[2]:$2=$0.toString(); break; case $[4]:if($0==null||$0 instanceof qx.renderer.font.Font){return $0; }if(typeof $0.join===$[23]){$2=$0.join($[48]).toLowerCase(); break; }default:return $0; } if(qx.renderer.font.FontCache._data[$2]){return qx.renderer.font.FontCache._data[$2]; }return qx.renderer.font.FontCache._data[$2]=qx.renderer.font.Font.fromString($2); }; qx.renderer.font.FontCache._data={}; /* ID: qx.ui.embed.HtmlEmbed */ qx.OO.defineClass($[2154],qx.ui.basic.Terminator,function($0){qx.ui.basic.Terminator.call(this); if($0!=null){this.setHtml($0); }}); qx.OO.addProperty({name:$[159],type:$[0]}); qx.OO.addProperty({name:$[235],type:$[4],instance:$[215],convert:qx.renderer.font.FontCache,allowMultipleArguments:true}); qx.OO.addProperty({name:$[242],type:$[3],defaultValue:true}); qx.Proto._modifyHtml=function(){if(this._isCreated){this._syncHtml(); }return true; }; qx.Proto._modifyFont=function($0,$1,$2){if($0){$0._applyWidget(this); }else if($1){$1._resetWidget(this); }return true; }; qx.Proto._modifyWrap=function($0,$1,$2){this.setStyleProperty($[167],$0?$[139]:$[231]); return true; }; qx.Proto._applyElementData=function(){this._syncHtml(); }; qx.Proto._syncHtml=function(){this.getElement().innerHTML=this.getHtml(); }; /* ID: qx.ui.embed.LinkEmbed */ qx.OO.defineClass($[2182],qx.ui.embed.HtmlEmbed,function($0,$1,$2){qx.ui.embed.HtmlEmbed.call(this,$0); if(typeof $1!=$[40]){this.setUri($1); } if(typeof $2!=$[40]){this.setTarget($2); }}); qx.OO.addProperty({name:$[1903],type:$[0],defaultValue:$[138],impl:$[159]}); qx.OO.addProperty({name:$[385],type:$[0],defaultValue:$[1144],impl:$[159]}); qx.ui.embed.LinkEmbed.LINK_START=""; qx.ui.embed.LinkEmbed.LINK_STOP=""; qx.Proto._syncHtml=function(){var $0=[]; $0.push(qx.ui.embed.LinkEmbed.LINK_START); $0.push(this.getTarget()); $0.push(qx.ui.embed.LinkEmbed.HREF_START); $0.push(this.getUri()); $0.push(qx.ui.embed.LinkEmbed.HREF_STOP); $0.push(this.getHtml()); $0.push(qx.ui.embed.LinkEmbed.LINK_STOP); this.getElement().innerHTML=$0.join($[1]); }; /* ID: qx.ui.splitpane.SplitPane */ qx.OO.defineClass($[1090],qx.ui.layout.CanvasLayout,function($0,$1,$2){qx.ui.layout.CanvasLayout.call(this); var $3=this._box=new qx.ui.layout.BoxLayout; $3.setEdge(0); this.add($3); this._slider=new qx.ui.layout.CanvasLayout; this._slider.setAppearance($[1620]); this._slider.setStyleProperty($[106],$[160]); this._slider.setStyleProperty($[145],$[160]); this._slider.hide(); this._slider._pane=this; this.add(this._slider); this._splitter=new qx.ui.layout.CanvasLayout; this._splitter.setStyleProperty($[106],$[160]); this._splitter.setStyleProperty($[145],$[160]); this._splitter.setAppearance($[2139]); this._splitter._pane=this; this._slider._applyRuntimeLeft=this._splitter._applyRuntimeLeft=this._applyRuntimeLeftWrapper; this._slider._applyRuntimeTop=this._splitter._applyRuntimeTop=this._applyRuntimeTopWrapper; this._knob=new qx.ui.basic.Image; this._knob.setAppearance($[1485]); this._knob.setVisibility(false); this.add(this._knob); this._firstArea=new qx.ui.layout.CanvasLayout; this._secondArea=new qx.ui.layout.CanvasLayout; $3.add(this._firstArea,this._splitter,this._secondArea); this.setFirstSize($1||$[44]); this.setSecondSize($2||$[44]); this.setOrientation($0||$[26]); }); qx.OO.changeProperty({name:$[8],defaultValue:$[2664]}); qx.OO.addProperty({name:$[2184],type:$[3],allowNull:false,defaultValue:false}); qx.OO.addProperty({name:$[497],type:$[3],allowNull:false,defaultValue:false,getAlias:$[2157]}); qx.OO.addProperty({name:$[857],type:$[0],possibleValues:[$[26],$[27]]}); qx.OO.addProperty({name:$[2727]}); qx.OO.addProperty({name:$[1705]}); qx.OO.addProperty({name:$[2058],defaultValue:4}); qx.Proto.addLeft=function(){var $0=this.getFirstArea(); return $0.add.apply($0,arguments); }; qx.Proto.addTop=function(){var $0=this.getFirstArea(); return $0.add.apply($0,arguments); }; qx.Proto.addRight=function(){var $0=this.getSecondArea(); return $0.add.apply($0,arguments); }; qx.Proto.addBottom=function(){var $0=this.getSecondArea(); return $0.add.apply($0,arguments); }; qx.Proto.getSplitter=function(){return this._splitter; }; qx.Proto.getKnob=function(){return this._knob; }; qx.Proto.getLeftArea=function(){return this.getFirstArea(); }; qx.Proto.getTopArea=function(){return this.getFirstArea(); }; qx.Proto.getRightArea=function(){return this.getSecondArea(); }; qx.Proto.getBottomArea=function(){return this.getSecondArea(); }; qx.Proto.getFirstArea=function(){return this._firstArea; }; qx.Proto.getSecondArea=function(){return this._secondArea; }; qx.Proto._modifyShowKnob=function($0,$1,$2){this._knob.setVisibility($0); return true; }; qx.Proto._modifyOrientation=function($0,$1,$2){this._box.setOrientation($0); switch($1){case $[26]:this._splitter.removeEventListener($[6],this._onSplitterMouseDownX,this); this._splitter.removeEventListener($[14],this._onSplitterMouseMoveX,this); this._splitter.removeEventListener($[7],this._onSplitterMouseUpX,this); this._knob.removeEventListener($[6],this._onSplitterMouseDownX,this); this._knob.removeEventListener($[14],this._onSplitterMouseMoveX,this); this._knob.removeEventListener($[7],this._onSplitterMouseUpX,this); this._splitter.removeState($[26]); this._knob.removeState($[26]); this._firstArea.setWidth(null); this._secondArea.setWidth(null); this._splitter.setWidth(null); break; case $[27]:this._splitter.removeEventListener($[6],this._onSplitterMouseDownY,this); this._splitter.removeEventListener($[14],this._onSplitterMouseMoveY,this); this._splitter.removeEventListener($[7],this._onSplitterMouseUpY,this); this._knob.removeEventListener($[6],this._onSplitterMouseDownY,this); this._knob.removeEventListener($[14],this._onSplitterMouseMoveY,this); this._knob.removeEventListener($[7],this._onSplitterMouseUpY,this); this._splitter.removeState($[27]); this._knob.removeState($[27]); this._firstArea.setHeight(null); this._secondArea.setHeight(null); this._splitter.setHeight(null); break; } switch($0){case $[26]:this._splitter.addEventListener($[14],this._onSplitterMouseMoveX,this); this._splitter.addEventListener($[6],this._onSplitterMouseDownX,this); this._splitter.addEventListener($[7],this._onSplitterMouseUpX,this); this._knob.addEventListener($[14],this._onSplitterMouseMoveX,this); this._knob.addEventListener($[6],this._onSplitterMouseDownX,this); this._knob.addEventListener($[7],this._onSplitterMouseUpX,this); this._splitter.addState($[26]); this._knob.addState($[26]); this._knob.setSource($[1314]); break; case $[27]:this._splitter.addEventListener($[6],this._onSplitterMouseDownY,this); this._splitter.addEventListener($[14],this._onSplitterMouseMoveY,this); this._splitter.addEventListener($[7],this._onSplitterMouseUpY,this); this._knob.addEventListener($[6],this._onSplitterMouseDownY,this); this._knob.addEventListener($[14],this._onSplitterMouseMoveY,this); this._knob.addEventListener($[7],this._onSplitterMouseUpY,this); this._splitter.addState($[27]); this._knob.addState($[27]); this._knob.setSource($[2131]); break; }this._syncFirstSize(); this._syncSecondSize(); this._syncSplitterSize(); return true; }; qx.Proto._modifyFirstSize=function($0,$1,$2){this._syncFirstSize(); return true; }; qx.Proto._modifySecondSize=function($0,$1,$2){this._syncSecondSize(); return true; }; qx.Proto._modifySplitterSize=function($0,$1,$2){this._syncSplitterSize(); return true; }; qx.Proto._syncFirstSize=function(){switch(this.getOrientation()){case $[26]:this._firstArea.setWidth(this.getFirstSize()); break; case $[27]:this._firstArea.setHeight(this.getFirstSize()); break; }}; qx.Proto._syncSecondSize=function(){switch(this.getOrientation()){case $[26]:this._secondArea.setWidth(this.getSecondSize()); break; case $[27]:this._secondArea.setHeight(this.getSecondSize()); break; }}; qx.Proto._syncSplitterSize=function(){switch(this.getOrientation()){case $[26]:this._splitter.setWidth(this.getSplitterSize()); break; case $[27]:this._splitter.setHeight(this.getSplitterSize()); break; }}; qx.Proto._onSplitterMouseDownX=function($0){if(!$0.isLeftButtonPressed()){return; }this._commonMouseDown(); this.getTopLevelWidget().setGlobalCursor($[369]); this._slider.addState($[204]); this._knob.addState($[204]); this._dragMin=qx.html.Location.getPageInnerLeft(this._box.getElement()); this._dragMax=this._dragMin+this._box.getInnerWidth()-this._splitter.getBoxWidth(); this._dragOffset=$0.getPageX()-qx.html.Location.getPageBoxLeft(this._splitter.getElement()); }; qx.Proto._onSplitterMouseDownY=function($0){if(!$0.isLeftButtonPressed()){return; }this._commonMouseDown(); this.getTopLevelWidget().setGlobalCursor($[391]); this._slider.addState($[204]); this._knob.addState($[204]); this._dragMin=qx.html.Location.getPageInnerTop(this._box.getElement()); this._dragMax=this._dragMin+this._box.getInnerHeight()-this._splitter.getBoxHeight(); this._dragOffset=$0.getPageY()-qx.html.Location.getPageBoxTop(this._splitter.getElement()); }; qx.Proto._commonMouseDown=function(){this._splitter.setCapture(true); if(!this.isLiveResize()){this._slider.setLeft(this._splitter.getOffsetLeft()); this._slider.setTop(this._splitter.getOffsetTop()); this._slider.setWidth(this._splitter.getBoxWidth()); this._slider.setHeight(this._splitter.getBoxHeight()); this._slider.show(); }}; qx.Proto._onSplitterMouseMoveX=function($0){if(!this._splitter.getCapture()){return; }this.isLiveResize()?this._syncX($0):this._slider._applyRuntimeLeft(this._normalizeX($0)); $0.preventDefault(); }; qx.Proto._onSplitterMouseMoveY=function($0){if(!this._splitter.getCapture()){return; }this.isLiveResize()?this._syncY($0):this._slider._applyRuntimeTop(this._normalizeY($0)); $0.preventDefault(); }; qx.Proto._onSplitterMouseUpX=function($0){if(!this._splitter.getCapture()){return; } if(!this.isLiveResize()){this._syncX($0); }this._commonMouseUp(); }; qx.Proto._onSplitterMouseUpY=function($0){if(!this._splitter.getCapture()){return; } if(!this.isLiveResize()){this._syncY($0); }this._commonMouseUp(); }; qx.Proto._commonMouseUp=function(){this._slider.hide(); this._splitter.setCapture(false); this.getTopLevelWidget().setGlobalCursor(null); this._slider.removeState($[204]); this._knob.removeState($[204]); }; qx.Proto._syncX=function($0){var $1=this._normalizeX($0); var $2=this._box.getInnerWidth()-this._splitter.getBoxWidth()-$1; this._syncCommon($1,$2); }; qx.Proto._syncY=function($0){var $1=this._normalizeY($0); var $2=this._box.getInnerHeight()-this._splitter.getBoxHeight()-$1; this._syncCommon($1,$2); }; qx.Proto._syncCommon=function($0,$1){this.setFirstSize($0+$[144]); this.setSecondSize($1+$[144]); }; qx.Proto._normalizeX=function($0){return qx.lang.Number.limit($0.getPageX()-this._dragOffset,this._dragMin,this._dragMax)-this._dragMin; }; qx.Proto._normalizeY=function($0){return qx.lang.Number.limit($0.getPageY()-this._dragOffset,this._dragMin,this._dragMax)-this._dragMin; }; qx.Proto._applyRuntimeLeftWrapper=function($0){if(this._pane.getOrientation()==$[26]){this._pane._knob._applyRuntimeLeft($0); }return this.constructor.prototype._applyRuntimeLeft.call(this,$0); }; qx.Proto._applyRuntimeTopWrapper=function($0){if(this._pane.getOrientation()==$[27]){this._pane._knob._applyRuntimeTop($0); }return this.constructor.prototype._applyRuntimeTop.call(this,$0); }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; } if(this._firstArea){this._firstArea.dispose(); this._firstArea=null; } if(this._secondArea){this._secondArea.dispose(); this._secondArea=null; } if(this._splitter){this._splitter.removeEventListener($[6],this._onSplitterMouseDownX,this); this._splitter.removeEventListener($[7],this._onSplitterMouseMoveX,this); this._splitter.removeEventListener($[14],this._onSplitterMouseUpX,this); this._splitter.removeEventListener($[6],this._onSplitterMouseDownY,this); this._splitter.removeEventListener($[7],this._onSplitterMouseMoveY,this); this._splitter.removeEventListener($[14],this._onSplitterMouseUpY,this); this._splitter.dispose(); this._splitter._pane=null; this._splitter=null; } if(this._slider){this._slider.dispose(); this._slider._pane=null; this._slider=null; } if(this._knob){this._knob.removeEventListener($[6],this._onSplitterMouseDownX,this); this._knob.removeEventListener($[7],this._onSplitterMouseMoveX,this); this._knob.removeEventListener($[14],this._onSplitterMouseUpX,this); this._knob.removeEventListener($[6],this._onSplitterMouseDownY,this); this._knob.removeEventListener($[7],this._onSplitterMouseMoveY,this); this._knob.removeEventListener($[14],this._onSplitterMouseUpY,this); this._knob.dispose(); this._knob=null; }return qx.ui.layout.BoxLayout.prototype.dispose.call(this); }; /* ID: qx.ui.layout.BoxLayout */ qx.OO.defineClass($[1303],qx.ui.core.Parent,function($0){qx.ui.core.Parent.call(this); if($0!=null){this.setOrientation($0); }}); qx.ui.layout.BoxLayout.STR_REVERSED="-reversed"; qx.OO.addProperty({name:$[857],type:$[0],possibleValues:[$[26],$[27]],addToQueueRuntime:true}); qx.OO.addProperty({name:$[936],type:$[2],defaultValue:0,addToQueueRuntime:true,impl:$[226]}); qx.OO.addProperty({name:$[531],type:$[0],defaultValue:$[10],possibleValues:[$[10],$[80],$[12]],impl:$[556],addToQueueRuntime:true}); qx.OO.addProperty({name:$[436],type:$[0],defaultValue:$[16],possibleValues:[$[16],$[36],$[24]],impl:$[556],addToQueueRuntime:true}); qx.OO.addProperty({name:$[675],type:$[3],defaultValue:false,impl:$[556],addToQueueRuntime:true}); qx.OO.addProperty({name:$[2597],type:$[3],defaultValue:true,addToQueueRuntime:true}); qx.OO.addProperty({name:$[2979],type:$[3],defaultValue:false,addToQueueRuntime:true}); qx.Proto._createLayoutImpl=function(){return this.getOrientation()==$[27]?new qx.renderer.layout.VerticalBoxLayoutImpl(this):new qx.renderer.layout.HorizontalBoxLayoutImpl(this); }; qx.Proto._layoutHorizontal=false; qx.Proto._layoutVertical=false; qx.Proto._layoutMode=$[10]; qx.Proto.isHorizontal=function(){return this._layoutHorizontal; }; qx.Proto.isVertical=function(){return this._layoutVertical; }; qx.Proto.getLayoutMode=function(){if(this._layoutMode==null){this._updateLayoutMode(); }return this._layoutMode; }; qx.Proto._updateLayoutMode=function(){this._layoutMode=this._layoutVertical?this.getVerticalChildrenAlign():this.getHorizontalChildrenAlign(); if(this.getReverseChildrenOrder()){this._layoutMode+=qx.ui.layout.BoxLayout.STR_REVERSED; }}; qx.Proto._invalidateLayoutMode=function(){this._layoutMode=null; }; qx.Proto._modifyOrientation=function($0,$1,$2){this._layoutHorizontal=$0==$[26]; this._layoutVertical=$0==$[27]; if(this._layoutImpl){this._layoutImpl.dispose(); this._layoutImpl=null; } if(qx.util.Validation.isValidString($0)){this._layoutImpl=this._createLayoutImpl(); }return this._modifyLayoutOrder($0,$1,$2); }; qx.Proto._modifyLayoutOrder=function($0,$1,$2){this._invalidateLayoutMode(); return this._modifyLayout($0,$1,$2); }; qx.Proto._modifyLayout=function($0,$1,$2){this._invalidatePreferredInnerDimensions(); this._invalidateAccumulatedChildrenOuterWidth(); this._invalidateAccumulatedChildrenOuterHeight(); return true; }; qx.OO.addCachedProperty({name:$[1563],defaultValue:null}); qx.OO.addCachedProperty({name:$[1239],defaultValue:null}); qx.Proto._computeAccumulatedChildrenOuterWidth=function(){var $0=this.getVisibleChildren(),$1,$2=-1,$3=this.getSpacing(),$4=-$3; while($1=$0[++$2]){$4+=$1.getOuterWidth()+$3; }return $4; }; qx.Proto._computeAccumulatedChildrenOuterHeight=function(){var $0=this.getVisibleChildren(),$1,$2=-1,$3=this.getSpacing(),$4=-$3; while($1=$0[++$2]){$4+=$1.getOuterHeight()+$3; }return $4; }; qx.Proto._recomputeChildrenStretchingX=function(){var $0=this.getVisibleChildren(),$1,$2=-1; while($1=$0[++$2]){if($1._recomputeStretchingX()&&$1._recomputeBoxWidth()){$1._recomputeOuterWidth(); }}}; qx.Proto._recomputeChildrenStretchingY=function(){var $0=this.getVisibleChildren(),$1,$2=-1; while($1=$0[++$2]){if($1._recomputeStretchingY()&&$1._recomputeBoxHeight()){$1._recomputeOuterHeight(); }}}; /* ID: qx.renderer.layout.VerticalBoxLayoutImpl */ qx.OO.defineClass($[1062],qx.renderer.layout.LayoutImpl,function($0){qx.renderer.layout.LayoutImpl.call(this,$0); }); qx.OO.addProperty({name:$[650],type:$[3],defaultValue:true}); qx.Proto.computeChildBoxWidth=function($0){if(this.getWidget().getStretchChildrenOrthogonalAxis()&&$0._computedWidthTypeNull&&$0.getAllowStretchX()){return this.getWidget().getInnerWidth(); }return $0.getWidthValue()||$0._computeBoxWidthFallback(); }; qx.Proto.computeChildBoxHeight=function($0){return $0.getHeightValue()||$0._computeBoxHeightFallback(); }; qx.Proto.computeChildrenFlexHeight=function(){if(this._childrenFlexHeightComputed||!this.getEnableFlexSupport()){return; }this._childrenFlexHeightComputed=true; var $0=this.getWidget(); var $1=$0.getVisibleChildren(); var $2=$1.length; var $3; var $4=[]; var $5=$0.getInnerHeight(); var $6=$0.getSpacing()*($2-1); var $7; for($7=0;$7<$2;$7++){$3=$1[$7]; if($3._computedHeightTypeFlex){$4.push($3); if($0._computedHeightTypeAuto){$6+=$3.getPreferredBoxHeight(); }}else{$6+=$3.getOuterHeight(); }}var $8=$5-$6; var $9=$4.length; var $a=0; for($7=0;$7<$9;$7++){$a+=$4[$7]._computedHeightParsed; }var $b=$8/$a; if(!$0.getUseAdvancedFlexAllocation()){for($7=0;$7<$9;$7++){$3=$4[$7]; $3._computedHeightFlexValue=Math.round($3._computedHeightParsed*$b); $6+=$3._computedHeightFlexValue; }}else{var $c=0; var $d,$9,$e,$f,$g,$h; for($7=0;$7<$9;$7++){$3=$4[$7]; $h=$3._computedHeightFlexValue=$3._computedHeightParsed*$b; $c+=$h-qx.lang.Number.limit($h,$3.getMinHeightValue(),$3.getMaxHeightValue()); }$c=Math.round($c); if($c==0){for($7=0;$7<$9;$7++){$3=$4[$7]; $3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue); $6+=$3._computedHeightFlexValue; }}else{var $i=$c>0; for($7=$9-1;$7>=0;$7--){$3=$4[$7]; if($i){$e=($3.getMaxHeightValue()||Infinity)-$3._computedHeightFlexValue; if($e>0){$3._allocationLoops=Math.floor($e/$3._computedHeightParsed); }else{qx.lang.Array.removeAt($4,$7); $3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue); $6+=Math.round($3._computedHeightFlexValue+$e); }}else{$e=qx.util.Validation.isValidNumber($3.getMinHeightValue())?$3._computedHeightFlexValue-$3.getMinHeightValue():$3._computedHeightFlexValue; if($e>0){$3._allocationLoops=Math.floor($e/$3._computedHeightParsed); }else{qx.lang.Array.removeAt($4,$7); $3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue); $6+=Math.round($3._computedHeightFlexValue-$e); }}}while($c!=0&&$9>0){$9=$4.length; $d=Infinity; $g=0; for($7=0;$7<$9;$7++){$d=Math.min($d,$4[$7]._allocationLoops); $g+=$4[$7]._computedHeightParsed; }$f=Math.min($g*$d,$c); $c-=$f; for($7=$9-1;$7>=0;$7--){$3=$4[$7]; $3._computedHeightFlexValue+=$f/$g*$3._computedHeightParsed; if($3._allocationLoops==$d){$3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue); $6+=$3._computedHeightFlexValue; delete $3._allocationLoops; qx.lang.Array.removeAt($4,$7); }else{if($c==0){$3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue); $6+=$3._computedHeightFlexValue; delete $3._allocationLoops; }else{$3._allocationLoops-=$d; }}}}}}$3._computedHeightFlexValue+=$5-$6; }; qx.Proto.invalidateChildrenFlexHeight=function(){delete this._childrenFlexHeightComputed; }; qx.Proto.computeChildrenNeededHeight=function(){var $0=this.getWidget(); return qx.renderer.layout.LayoutImpl.prototype.computeChildrenNeededHeight_sum.call(this)+(($0.getVisibleChildrenLength()-1)*$0.getSpacing()); }; qx.Proto.updateSelfOnChildOuterHeightChange=function($0){this.getWidget()._invalidateAccumulatedChildrenOuterHeight(); }; qx.Proto.updateChildOnInnerWidthChange=function($0){var $1=$0._recomputePercentX(); var $2=$0._recomputeStretchingX(); if(($0.getHorizontalAlign()||this.getWidget().getHorizontalChildrenAlign())==$[80]){$0.addToLayoutChanges($[131]); }return $1||$2; }; qx.Proto.updateChildOnInnerHeightChange=function($0){if(this.getWidget().getVerticalChildrenAlign()==$[36]){$0.addToLayoutChanges($[142]); }var $1=$0._recomputePercentY(); var $2=$0._recomputeFlexY(); return $1||$2; }; qx.Proto.updateSelfOnJobQueueFlush=function($0){if($0.addChild||$0.removeChild){this.getWidget()._invalidateAccumulatedChildrenOuterHeight(); }}; qx.Proto.updateChildrenOnJobQueueFlush=function($0){var $1=false,$2=false; var $3=this.getWidget(); if($0.orientation){$1=$2=true; }if($0.spacing||$0.orientation||$0.reverseChildrenOrder||$0.verticalChildrenAlign){$3._addChildrenToLayoutQueue($[142]); } if($0.horizontalChildrenAlign){$3._addChildrenToLayoutQueue($[131]); } if($0.stretchChildrenOrthogonalAxis){$1=true; }if($1){$3._recomputeChildrenStretchingX(); $3._addChildrenToLayoutQueue($[46]); } if($2){$3._recomputeChildrenStretchingY(); $3._addChildrenToLayoutQueue($[47]); }return true; }; qx.Proto.updateChildrenOnRemoveChild=function($0,$1){var $2=this.getWidget(),$3=$2.getVisibleChildren(),$4=$3.length,$5,$6=-1; if(this.getEnableFlexSupport()){for(var $6=0;$6<$4;$6++){$5=$3[$6]; if($5.getHasFlexY()){$1=Math.min($1,$6); break; }}$6=-1; }switch($2.getLayoutMode()){case $[24]:case $[320]:while(($5=$3[++$6])&&$6<$1){$5.addToLayoutChanges($[142]); }break; case $[36]:case $[306]:while($5=$3[++$6]){$5.addToLayoutChanges($[142]); }break; default:$6+=$1; while($5=$3[++$6]){$5.addToLayoutChanges($[142]); }}}; qx.Proto.updateChildrenOnMoveChild=function($0,$1,$2){var $3=this.getWidget().getVisibleChildren(); var $4=Math.min($1,$2); var $5=Math.max($1,$2)+1; for(var $6=$4;$6<$5;$6++){$3[$6].addToLayoutChanges($[142]); }}; qx.Proto.flushChildrenQueue=function($0){var $1=this.getWidget(),$2=$1.getVisibleChildren(),$3=$2.length,$4,$5; if(this.getEnableFlexSupport()){this.invalidateChildrenFlexHeight(); for($5=0;$5<$3;$5++){$4=$2[$5]; if($4.getHasFlexY()){$4._computedHeightValue=null; if($4._recomputeBoxHeight()){$4._recomputeOuterHeight(); $4._recomputeInnerHeight(); }$0[$4.toHashCode()]=$4; $4._layoutChanges.height=true; }}} switch($1.getLayoutMode()){case $[24]:case $[320]:for(var $5=$3-1;$5>=0&&!$0[$2[$5].toHashCode()];$5--){}for(var $6=0;$6<=$5;$6++){$1._layoutChild($4=$2[$6]); }break; case $[36]:case $[306]:$5=-1; while($4=$2[++$5]){$1._layoutChild($4); }break; default:$5=-1; var $7=false; while($4=$2[++$5]){if($7||$0[$4.toHashCode()]){$1._layoutChild($4); $7=true; }}}}; qx.Proto.layoutChild=function($0,$1){this.layoutChild_sizeX($0,$1); this.layoutChild_sizeY($0,$1); this.layoutChild_sizeLimitX($0,$1); this.layoutChild_sizeLimitY($0,$1); this.layoutChild_locationX($0,$1); this.layoutChild_locationY($0,$1); this.layoutChild_marginX($0,$1); this.layoutChild_marginY($0,$1); }; if(qx.core.Client.getInstance().isMshtml()||qx.core.Client.getInstance().isOpera()||qx.core.Client.getInstance().isWebkit()){qx.Proto.layoutChild_sizeX=function($0,$1){if($1.initial||$1.width||$1.minWidth||$1.maxWidth){if(($0._isWidthEssential()&&(!$0._computedWidthTypeNull||!$0._computedMinWidthTypeNull||!$0._computedMaxWidthTypeNull))||($0.getAllowStretchX()&&this.getWidget().getStretchChildrenOrthogonalAxis())){$0._applyRuntimeWidth($0.getBoxWidth()); }else{$0._resetRuntimeWidth(); }}}; qx.Proto.layoutChild_sizeY=function($0,$1){if($1.initial||$1.height||$1.minHeight||$1.maxHeight){if($0._isHeightEssential()&&(!$0._computedHeightTypeNull||!$0._computedMinHeightTypeNull||!$0._computedMaxHeightTypeNull)){$0._applyRuntimeHeight($0.getBoxHeight()); }else{$0._resetRuntimeHeight(); }}}; }else{qx.Proto.layoutChild_sizeX=function($0,$1){if($1.initial||$1.width){if($0._isWidthEssential()&&!$0._computedWidthTypeNull){$0._applyRuntimeWidth($0.getWidthValue()); }else{$0._resetRuntimeWidth(); }}}; qx.Proto.layoutChild_sizeY=function($0,$1){if($1.initial||$1.height){if($0._isHeightEssential()&&!$0._computedHeightTypeNull){$0._applyRuntimeHeight($0.getHeightValue()); }else{$0._resetRuntimeHeight(); }}}; }qx.Proto.layoutChild_locationY=function($0,$1){var $2=this.getWidget(); if($2.getFirstVisibleChild()==$0){switch($2.getLayoutMode()){case $[24]:case $[320]:var $3=$2.getPaddingBottom()+$2.getAccumulatedChildrenOuterHeight()-$0.getOuterHeight(); break; case $[36]:case $[306]:var $3=$2.getPaddingTop()+Math.round(($2.getInnerHeight()-$2.getAccumulatedChildrenOuterHeight())/2); break; default:var $3=$2.getPaddingTop(); }}else{var $4=$0.getPreviousVisibleSibling(); switch($2.getLayoutMode()){case $[24]:case $[320]:var $3=$4._cachedLocationVertical-$0.getOuterHeight()-$2.getSpacing(); break; default:var $3=$4._cachedLocationVertical+$4.getOuterHeight()+$2.getSpacing(); }}$0._cachedLocationVertical=$3; switch(this.getWidget().getLayoutMode()){case $[24]:case $[2158]:case $[306]:$3+=!$0._computedBottomTypeNull?$0.getBottomValue():!$0._computedTopTypeNull?-($0.getTopValue()):0; $0._resetRuntimeTop(); $0._applyRuntimeBottom($3); break; default:$3+=!$0._computedTopTypeNull?$0.getTopValue():!$0._computedBottomTypeNull?-($0.getBottomValue()):0; $0._resetRuntimeBottom(); $0._applyRuntimeTop($3); }}; qx.Proto.layoutChild_locationX=function($0,$1){var $2=this.getWidget(); if(qx.core.Client.getInstance().isGecko()&&$0.getAllowStretchX()&&$2.getStretchChildrenOrthogonalAxis()&&$0._computedWidthTypeNull){$0._applyRuntimeLeft($2.getPaddingLeft()||0); $0._applyRuntimeRight($2.getPaddingRight()||0); return; }var $3=$0.getHorizontalAlign()||$2.getHorizontalChildrenAlign(); var $4=$3==$[80]?Math.round(($2.getInnerWidth()-$0.getOuterWidth())/2):0; if($3==$[12]){$4+=$2.getPaddingRight(); if(!$0._computedRightTypeNull){$4+=$0.getRightValue(); }else if(!$0._computedLeftTypeNull){$4-=$0.getLeftValue(); }$0._resetRuntimeLeft(); $0._applyRuntimeRight($4); }else{$4+=$2.getPaddingLeft(); if(!$0._computedLeftTypeNull){$4+=$0.getLeftValue(); }else if(!$0._computedRightTypeNull){$4-=$0.getRightValue(); }$0._resetRuntimeRight(); $0._applyRuntimeLeft($4); }}; /* ID: qx.renderer.layout.HorizontalBoxLayoutImpl */ qx.OO.defineClass($[1125],qx.renderer.layout.LayoutImpl,function($0){qx.renderer.layout.LayoutImpl.call(this,$0); }); qx.OO.addProperty({name:$[650],type:$[3],defaultValue:true}); qx.Proto.computeChildBoxWidth=function($0){return $0.getWidthValue()||$0._computeBoxWidthFallback(); }; qx.Proto.computeChildBoxHeight=function($0){if(this.getWidget().getStretchChildrenOrthogonalAxis()&&$0._computedHeightTypeNull&&$0.getAllowStretchY()){return this.getWidget().getInnerHeight(); }return $0.getHeightValue()||$0._computeBoxHeightFallback(); }; qx.Proto.computeChildrenFlexWidth=function(){if(this._childrenFlexWidthComputed||!this.getEnableFlexSupport()){return; }this._childrenFlexWidthComputed=true; var $0=this.getWidget(); var $1=$0.getVisibleChildren(); var $2=$1.length; var $3; var $4=[]; var $5=$0.getInnerWidth(); var $6=$0.getSpacing()*($2-1); var $7; for($7=0;$7<$2;$7++){$3=$1[$7]; if($3._computedWidthTypeFlex){$4.push($3); if($0._computedWidthTypeAuto){$6+=$3.getPreferredBoxWidth(); }}else{$6+=$3.getOuterWidth(); }}var $8=$5-$6; var $9=$4.length; var $a=0; for($7=0;$7<$9;$7++){$a+=$4[$7]._computedWidthParsed; }var $b=$8/$a; if(!$0.getUseAdvancedFlexAllocation()){for($7=0;$7<$9;$7++){$3=$4[$7]; $3._computedWidthFlexValue=Math.round($3._computedWidthParsed*$b); $6+=$3._computedWidthFlexValue; }}else{var $c=0; var $d,$9,$e,$f,$g,$h; for($7=0;$7<$9;$7++){$3=$4[$7]; $h=$3._computedWidthFlexValue=$3._computedWidthParsed*$b; $c+=$h-qx.lang.Number.limit($h,$3.getMinWidthValue(),$3.getMaxWidthValue()); }$c=Math.round($c); if($c==0){for($7=0;$7<$9;$7++){$3=$4[$7]; $3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue); $6+=$3._computedWidthFlexValue; }}else{var $i=$c>0; for($7=$9-1;$7>=0;$7--){$3=$4[$7]; if($i){$e=($3.getMaxWidthValue()||Infinity)-$3._computedWidthFlexValue; if($e>0){$3._allocationLoops=Math.floor($e/$3._computedWidthParsed); }else{qx.lang.Array.removeAt($4,$7); $3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue); $6+=Math.round($3._computedWidthFlexValue+$e); }}else{$e=qx.util.Validation.isValidNumber($3.getMinWidthValue())?$3._computedWidthFlexValue-$3.getMinWidthValue():$3._computedWidthFlexValue; if($e>0){$3._allocationLoops=Math.floor($e/$3._computedWidthParsed); }else{qx.lang.Array.removeAt($4,$7); $3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue); $6+=Math.round($3._computedWidthFlexValue-$e); }}}while($c!=0&&$9>0){$9=$4.length; $d=Infinity; $g=0; for($7=0;$7<$9;$7++){$d=Math.min($d,$4[$7]._allocationLoops); $g+=$4[$7]._computedWidthParsed; }$f=Math.min($g*$d,$c); $c-=$f; for($7=$9-1;$7>=0;$7--){$3=$4[$7]; $3._computedWidthFlexValue+=$f/$g*$3._computedWidthParsed; if($3._allocationLoops==$d){$3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue); $6+=$3._computedWidthFlexValue; delete $3._allocationLoops; qx.lang.Array.removeAt($4,$7); }else{if($c==0){$3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue); $6+=$3._computedWidthFlexValue; delete $3._allocationLoops; }else{$3._allocationLoops-=$d; }}}}}}$3._computedWidthFlexValue+=$5-$6; }; qx.Proto.invalidateChildrenFlexWidth=function(){delete this._childrenFlexWidthComputed; }; qx.Proto.computeChildrenNeededWidth=function(){var $0=this.getWidget(); return qx.renderer.layout.LayoutImpl.prototype.computeChildrenNeededWidth_sum.call(this)+(($0.getVisibleChildrenLength()-1)*$0.getSpacing()); }; qx.Proto.updateSelfOnChildOuterWidthChange=function($0){this.getWidget()._invalidateAccumulatedChildrenOuterWidth(); }; qx.Proto.updateChildOnInnerWidthChange=function($0){if(this.getWidget().getHorizontalChildrenAlign()==$[80]){$0.addToLayoutChanges($[131]); }var $1=$0._recomputePercentX(); var $2=$0._recomputeFlexX(); return $1||$2; }; qx.Proto.updateChildOnInnerHeightChange=function($0){var $1=$0._recomputePercentY(); var $2=$0._recomputeStretchingY(); if(($0.getVerticalAlign()||this.getWidget().getVerticalChildrenAlign())==$[36]){$0.addToLayoutChanges($[142]); }return $1||$2; }; qx.Proto.updateSelfOnJobQueueFlush=function($0){if($0.addChild||$0.removeChild){this.getWidget()._invalidateAccumulatedChildrenOuterWidth(); }}; qx.Proto.updateChildrenOnJobQueueFlush=function($0){var $1=false,$2=false; var $3=this.getWidget(); if($0.orientation){$1=$2=true; }if($0.spacing||$0.orientation||$0.reverseChildrenOrder||$0.horizontalChildrenAlign){$3._addChildrenToLayoutQueue($[131]); } if($0.verticalChildrenAlign){$3._addChildrenToLayoutQueue($[142]); } if($0.stretchChildrenOrthogonalAxis){$2=true; }if($1){$3._recomputeChildrenStretchingX(); $3._addChildrenToLayoutQueue($[46]); } if($2){$3._recomputeChildrenStretchingY(); $3._addChildrenToLayoutQueue($[47]); }return true; }; qx.Proto.updateChildrenOnRemoveChild=function($0,$1){var $2=this.getWidget(),$3=$2.getVisibleChildren(),$4=$3.length,$5,$6=-1; if(this.getEnableFlexSupport()){for($6=0;$6<$4;$6++){$5=$3[$6]; if($5.getHasFlexX()){$1=Math.min($1,$6); break; }}$6=-1; }switch($2.getLayoutMode()){case $[12]:case $[300]:while(($5=$3[++$6])&&$6<$1){$5.addToLayoutChanges($[131]); }break; case $[80]:case $[328]:while($5=$3[++$6]){$5.addToLayoutChanges($[131]); }break; default:$6+=$1; while($5=$3[++$6]){$5.addToLayoutChanges($[131]); }}}; qx.Proto.updateChildrenOnMoveChild=function($0,$1,$2){var $3=this.getWidget().getVisibleChildren(); var $4=Math.min($1,$2); var $5=Math.max($1,$2)+1; for(var $6=$4;$6<$5;$6++){$3[$6].addToLayoutChanges($[131]); }}; qx.Proto.flushChildrenQueue=function($0){var $1=this.getWidget(),$2=$1.getVisibleChildren(),$3=$2.length,$4,$5; if(this.getEnableFlexSupport()){this.invalidateChildrenFlexWidth(); for($5=0;$5<$3;$5++){$4=$2[$5]; if($4.getHasFlexX()){$4._computedWidthValue=null; if($4._recomputeBoxWidth()){$4._recomputeOuterWidth(); $4._recomputeInnerWidth(); }$0[$4.toHashCode()]=$4; $4._layoutChanges.width=true; }}} switch($1.getLayoutMode()){case $[12]:case $[300]:for(var $5=$3-1;$5>=0&&!$0[$2[$5].toHashCode()];$5--){}for(var $6=0;$6<=$5;$6++){$1._layoutChild($4=$2[$6]); }break; case $[80]:case $[328]:$5=-1; while($4=$2[++$5]){$1._layoutChild($4); }break; default:$5=-1; var $7=false; while($4=$2[++$5]){if($7||$0[$4.toHashCode()]){$1._layoutChild($4); $7=true; }}}}; qx.Proto.layoutChild=function($0,$1){this.layoutChild_sizeX($0,$1); this.layoutChild_sizeY($0,$1); this.layoutChild_sizeLimitX($0,$1); this.layoutChild_sizeLimitY($0,$1); this.layoutChild_locationX($0,$1); this.layoutChild_locationY($0,$1); this.layoutChild_marginX($0,$1); this.layoutChild_marginY($0,$1); }; if(qx.core.Client.getInstance().isMshtml()||qx.core.Client.getInstance().isOpera()||qx.core.Client.getInstance().isWebkit()){qx.Proto.layoutChild_sizeX=function($0,$1){if($1.initial||$1.width||$1.minWidth||$1.maxWidth){if($0._isWidthEssential()&&(!$0._computedWidthTypeNull||!$0._computedMinWidthTypeNull||!$0._computedMaxWidthTypeNull)){$0._applyRuntimeWidth($0.getBoxWidth()); }else{$0._resetRuntimeWidth(); }}}; qx.Proto.layoutChild_sizeY=function($0,$1){if($1.initial||$1.height||$1.minHeight||$1.maxHeight){if(($0._isHeightEssential()&&(!$0._computedHeightTypeNull||!$0._computedMinHeightTypeNull||!$0._computedMaxHeightTypeNull))||($0.getAllowStretchY()&&this.getWidget().getStretchChildrenOrthogonalAxis())){$0._applyRuntimeHeight($0.getBoxHeight()); }else{$0._resetRuntimeHeight(); }}}; }else{qx.Proto.layoutChild_sizeX=function($0,$1){if($1.initial||$1.width){if($0._isWidthEssential()&&!$0._computedWidthTypeNull){$0._applyRuntimeWidth($0.getWidthValue()); }else{$0._resetRuntimeWidth(); }}}; qx.Proto.layoutChild_sizeY=function($0,$1){if($1.initial||$1.height){if($0._isHeightEssential()&&!$0._computedHeightTypeNull){$0._applyRuntimeHeight($0.getHeightValue()); }else{$0._resetRuntimeHeight(); }}}; }qx.Proto.layoutChild_locationX=function($0,$1){var $2=this.getWidget(); if($2.getFirstVisibleChild()==$0){switch($2.getLayoutMode()){case $[12]:case $[300]:var $3=$2.getPaddingRight()+$2.getAccumulatedChildrenOuterWidth()-$0.getOuterWidth(); break; case $[80]:case $[328]:var $3=$2.getPaddingLeft()+Math.round(($2.getInnerWidth()-$2.getAccumulatedChildrenOuterWidth())/2); break; default:var $3=$2.getPaddingLeft(); }}else{var $4=$0.getPreviousVisibleSibling(); switch($2.getLayoutMode()){case $[12]:case $[300]:var $3=$4._cachedLocationHorizontal-$0.getOuterWidth()-$2.getSpacing(); break; default:var $3=$4._cachedLocationHorizontal+$4.getOuterWidth()+$2.getSpacing(); }}$0._cachedLocationHorizontal=$3; switch($2.getLayoutMode()){case $[12]:case $[1852]:case $[328]:$3+=!$0._computedRightTypeNull?$0.getRightValue():!$0._computedLeftTypeNull?-($0.getLeftValue()):0; $0._resetRuntimeLeft(); $0._applyRuntimeRight($3); break; default:$3+=!$0._computedLeftTypeNull?$0.getLeftValue():!$0._computedRightTypeNull?-($0.getRightValue()):0; $0._resetRuntimeRight(); $0._applyRuntimeLeft($3); }}; qx.Proto.layoutChild_locationY=function($0,$1){var $2=this.getWidget(); if(qx.core.Client.getInstance().isGecko()&&$0.getAllowStretchY()&&$2.getStretchChildrenOrthogonalAxis()&&$0._computedHeightTypeNull){$0._applyRuntimeTop($2.getPaddingTop()||0); $0._applyRuntimeBottom($2.getPaddingBottom()||0); return; }var $3=$0.getVerticalAlign()||$2.getVerticalChildrenAlign(); var $4=$3==$[36]?Math.round(($2.getInnerHeight()-$0.getOuterHeight())/2):0; if($3==$[24]){$4+=$2.getPaddingBottom(); if(!$0._computedBottomTypeNull){$4+=$0.getBottomValue(); }else if(!$0._computedTopTypeNull){$4-=$0.getTopValue(); }$0._resetRuntimeTop(); $0._applyRuntimeBottom($4); }else{$4+=$2.getPaddingTop(); if(!$0._computedTopTypeNull){$4+=$0.getTopValue(); }else if(!$0._computedBottomTypeNull){$4-=$0.getBottomValue(); }$0._resetRuntimeBottom(); $0._applyRuntimeTop($4); }}; /* ID: qx.ui.basic.Image */ qx.OO.defineClass($[636],qx.ui.basic.Terminator,function($0,$1,$2){qx.ui.basic.Terminator.call(this); this.setHtmlProperty($[1467],$[1]); this.setHtmlProperty($[166],$[1]); this.setSource($0||$[62]); this.setWidth($1!==undefined?$1:$[5]); this.setHeight($2!==undefined?$2:$[5]); this.setSelectable(false); }); qx.OO.addProperty({name:$[558],type:$[0]}); qx.OO.addProperty({name:$[2102],type:$[4]}); qx.OO.addProperty({name:$[1272],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[2087],type:$[3],defaultValue:false}); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[310]}); qx.Proto._onload=function(){this.setLoaded(true); }; qx.Proto._onerror=function(){this.debug("Could not load: "+this.getSource()); this.setLoaded(false); if(this.hasEventListeners($[101])){this.dispatchEvent(new qx.event.type.Event($[101]),true); }}; qx.Proto._beforeAppear=function(){var $0=this.getSource(); if(qx.util.Validation.isValidString($0)){qx.manager.object.ImageManager.getInstance()._sources[$0]++; }return qx.ui.basic.Terminator.prototype._beforeAppear.call(this); }; qx.Proto._beforeDisappear=function(){var $0=this.getSource(); if(qx.util.Validation.isValidString($0)){if(qx.manager.object.ImageManager.getInstance()._sources[$0]<=1){delete qx.manager.object.ImageManager.getInstance()._sources[$0]; }else{qx.manager.object.ImageManager.getInstance()._sources[$0]--; }}return qx.ui.basic.Terminator.prototype._beforeDisappear.call(this); }; qx.Proto._modifySource=function($0,$1,$2){if($0&&typeof qx.manager.object.ImageManager.getInstance()._sources[$0]===$[40]){qx.manager.object.ImageManager.getInstance()._sources[$0]=0; } if($1){if(qx.manager.object.ImageManager.getInstance()._sources[$1]<=1){delete qx.manager.object.ImageManager.getInstance()._sources[$1]; }else{qx.manager.object.ImageManager.getInstance()._sources[$1]--; }} if(this.isCreated()){if($0){this.setPreloader(qx.manager.object.ImagePreloaderManager.getInstance().create(qx.manager.object.AliasManager.getInstance().resolvePath($0))); }else if($1){this._resetContent(); this.setPreloader(null); }}return true; }; qx.Proto._modifyPreloader=function($0,$1,$2){if($1){$1.removeEventListener($[102],this._onload,this); $1.removeEventListener($[101],this._onerror,this); } if($0){qx.manager.object.ImageManager.getInstance().add(this); this.forceLoaded(false); if($0.isErroneous()){this._onerror(); }else if($0.isLoaded()){this.setLoaded(true); }else{$0.addEventListener($[102],this._onload,this); $0.addEventListener($[101],this._onerror,this); }}else{qx.manager.object.ImageManager.getInstance().remove(this); this.setLoaded(false); }return true; }; qx.Proto._modifyLoaded=function($0,$1,$2){if($0&&this.isCreated()){this._applyContent(); }else if(!$0){this._invalidatePreferredInnerWidth(); this._invalidatePreferredInnerHeight(); }return true; }; qx.Proto._modifyElement=function($0,$1,$2){if($0){if(!this._image){try{if(qx.core.Client.getInstance().isWebkit()){this._image=document.createElement($[429]); }else{this._image=new Image; }this._image.style.border=$[1910]; this._image.style.verticalAlign=$[16]; }catch(ex){this.error("Failed while creating image #1",ex); } if(!qx.core.Client.getInstance().isMshtml()){this._applyEnabled(); }}$0.appendChild(this._image); }qx.ui.basic.Terminator.prototype._modifyElement.call(this,$0,$1,$2); if($0){try{var $3=this.getSource(); if(qx.util.Validation.isValidString($3)){this.setPreloader(qx.manager.object.ImagePreloaderManager.getInstance().create(qx.manager.object.AliasManager.getInstance().resolvePath($3))); }}catch(ex){this.error("Failed while creating image #2",ex); }}return true; }; qx.Proto._postApply=function(){if(!this.getLoaded()){this._updateContent(qx.manager.object.AliasManager.getInstance().resolvePath($[62])); return; }this._postApplyDimensions(); this._updateContent(); }; if(qx.core.Client.getInstance().isMshtml()){qx.Proto._modifyEnabled=function($0,$1,$2){if(this._image){this._applyEnabled(); }return qx.ui.basic.Terminator.prototype._modifyEnabled.call(this,$0,$1,$2); }; qx.Proto._updateContent=function($0){var $1=this._image; var $2=this.getPreloader(); if($2.getIsPng()&&this.getEnabled()){$1.src=qx.manager.object.AliasManager.getInstance().resolvePath($[62]); $1.style.filter=$[197]+($0||$2.getSource())+$[193]; }else{$1.src=$0||$2.getSource(); $1.style.filter=this.getEnabled()?$[1]:$[1666]; }}; qx.Proto._resetContent=function(){var $0=this._image; $0.src=qx.manager.object.AliasManager.getInstance().resolvePath($[62]); $0.style.filter=$[1]; }; qx.Proto._applyEnabled=qx.Proto._postApply; }else{qx.Proto._updateContent=function($0){this._image.src=$0||this.getPreloader().getSource(); }; qx.Proto._resetContent=function(){this._image.src=qx.manager.object.AliasManager.getInstance().resolvePath($[62]); }; qx.Proto._applyEnabled=function(){if(this._image){var $0=this.getEnabled()?$[1]:0.3; var $1=this._image.style; $1.opacity=$1.KhtmlOpacity=$1.MozOpacity=$0; }}; qx.Proto._modifyEnabled=function($0,$1,$2){if(this._image){this._applyEnabled(); }return qx.ui.basic.Terminator.prototype._modifyEnabled.call(this,$0,$1,$2); }; }qx.Proto._computePreferredInnerWidth=function(){if(this.getLoaded()){return this.getPreloader().getWidth(); }else if(qx.util.Validation.isValidString(this.getSource())){var $0=qx.manager.object.ImagePreloaderManager.getInstance().get(qx.manager.object.AliasManager.getInstance().resolvePath(this.getSource())); if($0&&$0.isLoaded()){return $0.getWidth(); }}return 0; }; qx.Proto._computePreferredInnerHeight=function(){if(this.getLoaded()){return this.getPreloader().getHeight(); }else if(qx.util.Validation.isValidString(this.getSource())){var $0=qx.manager.object.ImagePreloaderManager.getInstance().get(qx.manager.object.AliasManager.getInstance().resolvePath(this.getSource())); if($0&&$0.isLoaded()){return $0.getHeight(); }}return 0; }; qx.Proto._applyContent=function(){qx.ui.basic.Terminator.prototype._applyContent.call(this); qx.ui.core.Widget.flushGlobalQueues(); }; if(qx.core.Client.getInstance().isMshtml()){qx.Proto._postApplyDimensions=function(){try{var $0=this._image.style; if(this.getResizeToInner()){$0.pixelWidth=this.getInnerWidth(); $0.pixelHeight=this.getInnerHeight(); }else{$0.pixelWidth=this.getPreferredInnerWidth(); $0.pixelHeight=this.getPreferredInnerHeight(); }}catch(ex){this.error("postApplyDimensions failed",ex); }}; }else{qx.Proto._postApplyDimensions=function(){try{var $0=this._image; if(this.getResizeToInner()){$0.width=this.getInnerWidth(); $0.height=this.getInnerHeight(); }else{$0.width=this.getPreferredInnerWidth(); $0.height=this.getPreferredInnerHeight(); }}catch(ex){this.error("postApplyDimensions failed",ex); }}; }if(qx.core.Client.getInstance().isMshtml()){qx.Proto._changeInnerWidth=function($0,$1){if(this.getResizeToInner()){this._image.style.pixelWidth=$0; }}; qx.Proto._changeInnerHeight=function($0,$1){if(this.getResizeToInner()){this._image.style.pixelHeight=$0; }}; }else{qx.Proto._changeInnerWidth=function($0,$1){if(this.getResizeToInner()){this._image.width=$0; }}; qx.Proto._changeInnerHeight=function($0,$1){if(this.getResizeToInner()){this._image.height=$0; }}; }qx.Proto.dispose=function(){if(this.getDisposed()){return true; }var $0=this.getPreloader(); if($0){$0.removeEventListener($[102],this._onload,this); $0.removeEventListener($[101],this._onerror,this); this.forcePreloader(null); } if(this._image){this._image.style.filter=$[1]; this._image=null; }qx.manager.object.ImageManager.getInstance().remove(this); return qx.ui.basic.Terminator.prototype.dispose.call(this); }; /* ID: elite.ui.splitpane.SplitPane */ qx.OO.defineClass($[1410],qx.ui.splitpane.SplitPane,function($0,$1,$2){qx.ui.splitpane.SplitPane.call(this,$0,$1,$2); }); qx.OO.addProperty({name:$[353],type:$[3],defaultValue:true}); qx.Proto._modifyResizeable=function($0){if(!$0){switch(this.getOrientation()){case $[1266]:this._splitter.removeEventListener($[6],this._onSplitterMouseDownX,this); this._splitter.removeEventListener($[14],this._onSplitterMouseMoveX,this); this._splitter.removeEventListener($[7],this._onSplitterMouseUpX,this); this._knob.removeEventListener($[14],this._onSplitterMouseMoveX,this); this._knob.removeEventListener($[6],this._onSplitterMouseDownX,this); this._knob.removeEventListener($[7],this._onSplitterMouseUpX,this); break; case $[1549]:this._splitter.removeEventListener($[6],this._onSplitterMouseDownY,this); this._splitter.removeEventListener($[14],this._onSplitterMouseMoveY,this); this._splitter.removeEventListener($[7],this._onSplitterMouseUpY,this); this._knob.removeEventListener($[6],this._onSplitterMouseDownY,this); this._knob.removeEventListener($[14],this._onSplitterMouseMoveY,this); this._knob.removeEventListener($[7],this._onSplitterMouseUpY,this); break; }}else{switch(this.getOrientation()){case $[26]:this._splitter.addEventListener($[14],this._onSplitterMouseMoveX,this); this._splitter.addEventListener($[6],this._onSplitterMouseDownX,this); this._splitter.addEventListener($[7],this._onSplitterMouseUpX,this); this._knob.addEventListener($[14],this._onSplitterMouseMoveX,this); this._knob.addEventListener($[6],this._onSplitterMouseDownX,this); this._knob.addEventListener($[7],this._onSplitterMouseUpX,this); break; case $[27]:this._splitter.addEventListener($[6],this._onSplitterMouseDownY,this); this._splitter.addEventListener($[14],this._onSplitterMouseMoveY,this); this._splitter.addEventListener($[7],this._onSplitterMouseUpY,this); this._knob.addEventListener($[6],this._onSplitterMouseDownY,this); this._knob.addEventListener($[14],this._onSplitterMouseMoveY,this); this._knob.addEventListener($[7],this._onSplitterMouseUpY,this); break; }}return true; }; /* ID: qx.ui.layout.HorizontalBoxLayout */ qx.OO.defineClass($[427],qx.ui.layout.BoxLayout,function(){qx.ui.layout.BoxLayout.call(this,$[26]); }); /* ID: qx.ui.menu.Button */ qx.OO.defineClass($[2411],qx.ui.layout.HorizontalBoxLayout,function($0,$1,$2,$3){qx.ui.layout.HorizontalBoxLayout.call(this); var $4=this._iconObject=new qx.ui.basic.Image; $4.setWidth(16); $4.setAnonymous(true); var $5=this._labelObject=new qx.ui.basic.Label; $5.setAnonymous(true); $5.setSelectable(false); var $6=this._shortcutObject=new qx.ui.basic.Label; $6.setAnonymous(true); $6.setSelectable(false); var $7=this._arrowObject=new qx.ui.basic.Image($[1867]); $7.setAnonymous(true); if($0!=null){this.setLabel($0); } if($1!=null){this.setIcon($1); } if($2!=null){this.setCommand($2); qx.locale.Manager.getInstance().addEventListener($[249],function($8){this._modifyCommand($2,$2); },this); } if($3!=null){this.setMenu($3); }this.addEventListener($[7],this._onmouseup); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[257]}); qx.OO.addProperty({name:$[72],type:$[0]}); qx.OO.addProperty({name:$[97]}); qx.OO.addProperty({name:$[266],type:$[4]}); qx.Proto._hasIcon=false; qx.Proto._hasLabel=false; qx.Proto._hasShortcut=false; qx.Proto._hasMenu=false; qx.Proto.hasIcon=function(){return this._hasIcon; }; qx.Proto.hasLabel=function(){return this._hasLabel; }; qx.Proto.hasShortcut=function(){return this._hasShortcut; }; qx.Proto.hasMenu=function(){return this._hasMenu; }; qx.Proto.getIconObject=function(){return this._iconObject; }; qx.Proto.getLabelObject=function(){return this._labelObject; }; qx.Proto.getShortcutObject=function(){return this._shortcutObject; }; qx.Proto.getArrowObject=function(){return this._arrowObject; }; qx.Proto.getParentMenu=function(){var $0=this.getParent(); if($0){$0=$0.getParent(); if($0&&$0 instanceof qx.ui.menu.Menu){return $0; }}return null; }; qx.Proto._createLayoutImpl=function(){return new qx.renderer.layout.MenuButtonLayoutImpl(this); }; qx.Proto._modifyEnabled=function($0,$1,$2){if(this._iconObject){this._iconObject.setEnabled($0); } if(this._labelObject){this._labelObject.setEnabled($0); } if(this._shortcutObject){this._shortcutObject.setEnabled($0); }return qx.ui.layout.HorizontalBoxLayout.prototype._modifyEnabled.call(this,$0,$1,$2); }; qx.Proto._modifyIcon=function($0,$1,$2){this._iconObject.setSource($0); if(qx.util.Validation.isValidString($0)){this._hasIcon=true; if(qx.util.Validation.isInvalidString($1)){this.addAtBegin(this._iconObject); }}else{this._hasIcon=false; this.remove(this._iconObject); }return true; }; qx.Proto._modifyLabel=function($0,$1,$2){this._labelObject.setHtml($0); if((typeof $0==$[0]&&$0!=$[1])||$0 instanceof qx.locale.LocalizedString){this._hasLabel=true; if(!((typeof $1==$[0]&&$1!=$[1])||$1 instanceof qx.locale.LocalizedString)){this.addAt(this._labelObject,this.getFirstChild()==this._iconObject?1:0); }}else{this._hasLabel=false; this.remove(this._labelObject); }return true; }; qx.Proto._modifyCommand=function($0,$1,$2){var $3=$0?$0.toString():$[1]; this._shortcutObject.setHtml($3); if(qx.util.Validation.isValidString($3)){this._hasShortcut=true; var $4=$1?$1.getShortcut():$[1]; if(qx.util.Validation.isInvalidString($4)){if(this.getLastChild()==this._arrowObject){this.addBefore(this._shortcutObject,this._arrowObject); }else{this.addAtEnd(this._shortcutObject); }}}else{this._hasShortcut=false; this.remove(this._shortcutObject); }return true; }; qx.Proto._modifyMenu=function($0,$1,$2){if($0){this._hasMenu=true; if(qx.util.Validation.isInvalidObject($1)){this.addAtEnd(this._arrowObject); }}else{this._hasMenu=false; this.remove(this._arrowObject); }return true; }; qx.Proto._onmouseup=function($0){this.execute(); }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }if(this._iconObject){this._iconObject.dispose(); this._iconObject=null; } if(this._labelObject){this._labelObject.dispose(); this._labelObject=null; } if(this._shortcutObject){this._shortcutObject.dispose(); this._shortcutObject=null; } if(this._arrowObject){this._arrowObject.dispose(); this._arrowObject=null; }this.removeEventListener($[7],this._onmouseup); return qx.ui.layout.HorizontalBoxLayout.prototype.dispose.call(this); }; /* ID: qx.ui.basic.Label */ qx.OO.defineClass($[2070],qx.ui.basic.Terminator,function($0,$1){qx.ui.basic.Terminator.call(this); if($0!=null){this.setHtml($0); } if($1!=null){this.setMnemonic($1); }this.setAllowStretchX(false); this.setAllowStretchY(false); this.auto(); }); qx.Clazz._measureNodes={}; qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[97]}); qx.OO.addProperty({name:$[159]}); qx.OO.addProperty({name:$[250],type:$[0],defaultValue:$[10],possibleValues:[$[10],$[80],$[12],$[716]]}); qx.OO.addProperty({name:$[2882],type:$[0],defaultValue:$[53],possibleValues:[$[32],$[53],$[2659],$[1977],$[1004],$[2063]]}); qx.OO.addProperty({name:$[1491],type:$[0]}); qx.OO.addProperty({name:$[235],type:$[4],instance:$[215],convert:qx.renderer.font.FontCache,allowMultipleArguments:true}); qx.OO.addProperty({name:$[242],type:$[3],defaultValue:true}); qx.ui.basic.Label.SYMBOL_ELLIPSIS=String.fromCharCode(8230); qx.ui.basic.Label.SUPPORT_NATIVE_ELLIPSIS=qx.core.Client.getInstance().isMshtml(); qx.ui.basic.Label._fontProperties={"none":[],"default":[$[157],$[106],$[171],$[175],$[181]],"extended":[$[157],$[106],$[171],$[175],$[480],$[181],$[412],$[167],$[361]],"multiline":[$[157],$[106],$[171],$[175],$[181],$[145],$[475]],"extendedmultiline":[$[157],$[106],$[171],$[175],$[480],$[181],$[412],$[167],$[361],$[145],$[877],$[475],$[687]],"all":[$[157],$[106],$[171],$[1406],$[175],$[480],$[2214],$[145],$[687],$[181],$[1120],$[1529],$[412],$[2816],$[167],$[877],$[361],$[475]]}; qx.ui.basic.Label.createMeasureNode=function($0){var $1=qx.ui.basic.Label._measureNodes[$0]; if(!$1){$1=document.createElement($[55]); var $2=$1.style; $2.width=$2.height=$[5]; $2.visibility=$[25]; $2.position=$[100]; $2.zIndex=$[2103]; document.body.appendChild($1); qx.ui.basic.Label._measureNodes[$0]=$1; }return $1; }; qx.Proto._localized=false; qx.Proto._htmlContent=$[1]; qx.Proto._htmlMode=false; qx.Proto._hasMnemonic=false; qx.Proto._mnemonicHtml=$[1]; qx.Proto._mnemonicTest=null; qx.Proto._modifyHtml=function($0,$1,$2){this._localized=this.getHtml() instanceof qx.locale.LocalizedString; this._updateHtml(); return true; }; qx.Proto._updateHtml=function(){if(this._localized){this._htmlContent=this.getHtml().toString(); qx.locale.Manager.getInstance().addEventListener($[249],this._updateHtml,this); }else{this._htmlContent=this.getHtml()||$[1]; qx.locale.Manager.getInstance().removeEventListener($[249],this._updateHtml,this); }this._htmlMode=qx.util.Validation.isValidString(this._htmlContent)&&this._htmlContent.match(/<.*>/)?true:false; if(this._isCreated){this._applyContent(); }}; qx.Proto._modifyTextAlign=function($0,$1,$2){this.setStyleProperty($[250],$0); return true; }; qx.Proto._modifyMnemonic=function($0,$1,$2){this._hasMnemonic=qx.util.Validation.isValidString($0)&&$0.length==1; this._mnemonicHtml=this._hasMnemonic?$[2004]+$0+$[1404]:$[1]; this._mnemonicTest=this._hasMnemonic?new RegExp($[2937]+$0+$[2095]+$0+$[1947]+$0+$[2869]+$0+$[99],$[2117]):null; return true; }; qx.Proto._modifyFont=function($0,$1,$2){this._invalidatePreferredInnerDimensions(); if($0){$0._applyWidget(this); }else if($1){$1._resetWidget(this); }return true; }; qx.Proto._modifyWrap=function($0,$1,$2){this.setStyleProperty($[167],$0?$[139]:$[231]); return true; }; qx.Proto._computeObjectNeededDimensions=function(){var $0=this._copyStyles(); var $1=this._htmlContent; if(this._hasMnemonic&&!this._mnemonicTest.test($1)){$1+=this._mnemonicHtml; }$0.innerHTML=$1; this._cachedPreferredInnerWidth=$0.scrollWidth; this._cachedPreferredInnerHeight=$0.scrollHeight; }; qx.Proto._copyStyles=function(){var $0=this.getFontPropertiesProfile(); var $1=qx.ui.basic.Label.createMeasureNode($0); var $2=qx.ui.basic.Label._fontProperties[$0]; var $3=$2.length-1; var $4=$2[$3--]; var $5=$1.style; var $6; if(!$4){return $1; } do{$5[$4]=qx.util.Validation.isValid($6=this.getStyleProperty([$4]))?$6:$[1]; }while($4=$2[$3--]); return $1; }; qx.Proto._computePreferredInnerWidth=function(){this._computeObjectNeededDimensions(); return this._cachedPreferredInnerWidth; }; qx.Proto._computePreferredInnerHeight=function(){this._computeObjectNeededDimensions(); return this._cachedPreferredInnerHeight; }; qx.Proto._postApply=function(){var $0=this._htmlContent; var $1=this._getTargetNode(); var $2=0; if(qx.util.Validation.isInvalidString($0)){$1.innerHTML=$[1]; return; } if(this._hasMnemonic){$2=this._mnemonicTest.test($0)?1:2; }if(!this._htmlMode&&!this.getWrap()){switch(this._computedWidthType){case qx.ui.core.Widget.TYPE_PIXEL:case qx.ui.core.Widget.TYPE_PERCENT:case qx.ui.core.Widget.TYPE_FLEX:var $3=this.getPreferredInnerWidth(); var $4=this.getInnerWidth(); if($4<$3){$1.style.overflow=$[25]; if(qx.ui.basic.Label.SUPPORT_NATIVE_ELLIPSIS){$1.style.textOverflow=$[375]; $0+=this._mnemonicHtml; }else{var $5=this._copyStyles(); var $6=$0.split($[48]); var $7=$6.length; var $8=0; var $9=0; var $a=qx.ui.basic.Label.SYMBOL_ELLIPSIS; var $b=true; if($2==2){var $a=this._mnemonicHtml+$a; $b=false; }if($7>1){var $c=[]; for($8=0;$8<$7;$8++){$c.push($6[$8]); var $d=$c.join($[48])+$a; if($b){qx.dom.Element.setTextContent($5,$d); }else{$5.innerHTML=$d; } if(($5.scrollWidth>$4)&&(this._computedWidthType!=qx.ui.core.Widget.TYPE_FLEX)){break; }}$c.pop(); $c=[$c.join($[48])]; vCharaterString=$0.replace($c[0],$[1]); }else{var $c=[]; vCharaterString=$0; }var $e=vCharaterString.length; for(var $9=0;$9<$e;$9++){$c.push(vCharaterString.charAt($9)); var $d=$c.join($[1])+$a; if($b){qx.dom.Element.setTextContent($5,$d); }else{$5.innerHTML=$d; } if($5.scrollWidth>$4){break; }}$c.pop(); $c.push($a); $0=$c.join($[1]); }break; }else{$0+=this._mnemonicHtml; }default:$1.style.overflow=$[1]; if(qx.ui.basic.Label.SUPPORT_NATIVE_ELLIPSIS){$1.style.textOverflow=$[1]; }}} if($2==1){this._mnemonicTest.test($0); $0=RegExp.$1+$[1519]+RegExp.$7+$[1197]+RegExp.rightContext; }return this._postApplyHtml($1,$0,$2); }; qx.Proto._postApplyHtml=function($0,$1,$2){if(this._htmlMode||$2>0){$0.innerHTML=$1; }else{try{qx.dom.Element.setTextContent($0,$1); }catch(ex){$0.innerHTML=$1; }}}; /* ID: qx.dom.Element */ qx.OO.defineClass($[1244]); qx.Clazz.cleanWhitespace=function($0){for(var $1=0;$1<$0.childNodes.length;$1++){var $2=$0.childNodes[$1]; if($2.nodeType==qx.dom.Node.TEXT&&!/\S/.test($2.nodeValue)){$0.removeChild($2); }}}; qx.Clazz.isEmpty=function($0){return $0.innerHTML.match(/^\s*$/); }; qx.Clazz.getTextContent=function($0){var $1=$[1]; var $2=$0.childNodes; for(var $3=0;$3<$2.length;$3++){var $4=$2[$3]; if($4.nodeType==qx.dom.Node.TEXT||$4.nodeType==qx.dom.Node.CDATA_SECTION){$1+=$4.nodeValue; }}return $1; }; qx.Clazz.setTextContent=function($0,$1){}; if(qx.core.Client.getInstance().supportsTextContent()){qx.Clazz.setTextContent=function($0,$1){$0.textContent=$1; }; }else if(qx.core.Client.getInstance().supportsInnerText()){qx.Clazz.setTextContent=function($0,$1){$0.innerText=$1; }; }else{qx.Clazz.setTextContent=function($0,$1){$0.innerHTML=qx.html.String.escape($1); }; } /* ID: qx.ui.popup.Popup */ qx.OO.defineClass($[135],qx.ui.layout.CanvasLayout,function(){qx.ui.layout.CanvasLayout.call(this); this.setZIndex(this._minZIndex); if(this._isFocusRoot){this.activateFocusRoot(); }}); qx.Proto._isFocusRoot=true; qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[769]}); qx.OO.addProperty({name:$[1859],type:$[3],defaultValue:true}); qx.OO.changeProperty({name:$[128],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[1884],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[1683],type:$[3],defaultValue:true}); qx.Proto._showTimeStamp=(new Date(0)).valueOf(); qx.Proto._hideTimeStamp=(new Date(0)).valueOf(); qx.Settings.setDefault($[437],$[15]); qx.Settings.setDefault($[543],$[15]); qx.Settings.setDefault($[512],$[15]); qx.Settings.setDefault($[458],$[15]); qx.Proto._beforeAppear=function(){qx.ui.layout.CanvasLayout.prototype._beforeAppear.call(this); if(this.getRestrictToPageOnOpen()){this._wantedLeft=this.getLeft(); if(this._wantedLeft!=null){this.setLeft(10000); if(this.getElement()!=null){this.getElement().style.left=10000; }}}qx.manager.object.PopupManager.getInstance().add(this); qx.manager.object.PopupManager.getInstance().update(this); this._showTimeStamp=(new Date).valueOf(); this.bringToFront(); }; qx.Proto._beforeDisappear=function(){qx.ui.layout.CanvasLayout.prototype._beforeDisappear.call(this); qx.manager.object.PopupManager.getInstance().remove(this); this._hideTimeStamp=(new Date).valueOf(); }; qx.Proto._afterAppear=function(){qx.ui.layout.CanvasLayout.prototype._afterAppear.call(this); if(this.getRestrictToPageOnOpen()){var $0=qx.ui.core.ClientDocument.getInstance(); var $1=$0.getClientWidth(); var $2=$0.getClientHeight(); var $3=parseInt(qx.Settings.getValueOfClass($[135],$[437])); var $4=parseInt(qx.Settings.getValueOfClass($[135],$[543])); var $5=parseInt(qx.Settings.getValueOfClass($[135],$[512])); var $6=parseInt(qx.Settings.getValueOfClass($[135],$[458])); var $7=(this._wantedLeft==null)?this.getLeft():this._wantedLeft; var $8=this.getTop(); var $9=this.getBoxWidth(); var $a=this.getBoxHeight(); var $b=this.getLeft(); var $c=$8; if($7+$9>$1-$4){$7=$1-$4-$9; } if($8+$a>$2-$6){$8=$2-$6-$a; } if($7<$3){$7=$3; } if($8<$5){$8=$5; } if($7!=$b||$8!=$c){var $d=this; window.setTimeout(function(){$d.setLeft($7); $d.setTop($8); qx.ui.core.Widget.flushGlobalQueues(); },0); }}}; qx.Proto._makeActive=function(){this.getFocusRoot().setActiveChild(this); }; qx.Proto._makeInactive=function(){var $0=this.getFocusRoot(); var $1=$0.getActiveChild(); if($1==this){$0.setActiveChild($0); }}; qx.Proto._minZIndex=1e6; qx.Proto.bringToFront=function(){this.forceZIndex(Infinity); this._sendTo(); }; qx.Proto.sendToBack=function(){this.forceZIndex(-Infinity); this._sendTo(); }; qx.Proto._sendTo=function(){var $0=qx.lang.Object.getValues(qx.manager.object.PopupManager.getInstance().getAll()); if(qx.OO.isAvailable($[223])){var $1=qx.lang.Object.getValues(qx.manager.object.MenuManager.getInstance().getAll()); var $2=$0.concat($1).sort(qx.util.Compare.byZIndex); }else{var $2=$0.sort(qx.util.Compare.byZIndex); }var $3=$2.length; var $4=this._minZIndex; for(var $5=0;$5<$3;$5++){$2[$5].setZIndex($4++); }}; qx.Proto.getShowTimeStamp=function(){return this._showTimeStamp; }; qx.Proto.getHideTimeStamp=function(){return this._hideTimeStamp; }; qx.Proto.positionRelativeTo=function($0,$1,$2){if($0 instanceof qx.ui.core.Widget){$0=$0.getElement(); } if($0){var $3=qx.core.Client.getInstance().isGecko(); var $4=qx.html.Location; this.setLocation($4.getClientAreaLeft($0)-($3?qx.html.Style.getBorderLeft($0):0)+($1||0),$4.getClientAreaTop($0)-($3?qx.html.Style.getBorderTop($0):0)+($2||0)); }else{this.warn($[2093]); }}; qx.Proto.centerToBrowser=function(){var $0=qx.ui.core.ClientDocument.getInstance(); var $1=($0.getClientWidth()-this.getBoxWidth())/2; var $2=($0.getClientHeight()-this.getBoxHeight())/2; this.setLeft($1<0?0:$1); this.setTop($2<0?0:$2); }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this._showTimeStamp=null; this._hideTimeStamp=null; return qx.ui.layout.CanvasLayout.prototype.dispose.call(this); }; /* ID: qx.manager.object.PopupManager */ qx.OO.defineClass($[240],qx.manager.object.ObjectManager,function(){qx.manager.object.ObjectManager.call(this); }); qx.Proto.update=function($0){if(!($0 instanceof qx.ui.core.Widget)){$0=null; }var $1,$2; var $3=this.getAll(); for($2 in $3){$1=$3[$2]; if(!$1.getAutoHide()||$0==$1||$1.contains($0)){continue; } if(qx.OO.isAvailable($[351])&&$0 instanceof qx.ui.popup.ToolTip&&!($1 instanceof qx.ui.popup.ToolTip)){continue; }$1.hide(); }}; qx.Clazz.getInstance=qx.lang.Function.returnInstance; /* ID: qx.util.Compare */ qx.OO.defineClass($[1855]); qx.util.Compare.byString=function($0,$1){return $0==$1?0:$0>$1?1:-1; }; qx.util.Compare.byStringCaseInsensitive=function($0,$1){return qx.util.Compare.byString($0.toLowerCase(),$1.toLowerCase()); }; qx.util.Compare.byStringUmlautsShort=function($0,$1){return qx.util.Compare.byString(qx.util.Normalization.umlautsShort($0),qx.util.Normalization.umlautsShort($1)); }; qx.util.Compare.byStringUmlautsShortCaseInsensitive=function($0,$1){return qx.util.Compare.byString(qx.util.Normalization.umlautsShort($0).toLowerCase(),qx.util.Normalization.umlautsShort($1).toLowerCase()); }; qx.util.Compare.byStringUmlautsLong=function($0,$1){return qx.util.Compare.byString(qx.util.Normalization.umlautsLong($0),qx.util.Normalization.umlautsLong($1)); }; qx.util.Compare.byStringUmlautsLongCaseInsensitive=function($0,$1){return qx.util.Compare.byString(qx.util.Normalization.umlautsLong($0).toLowerCase(),qx.util.Normalization.umlautsLong($1).toLowerCase()); }; qx.util.Compare.byFloat=function($0,$1){return $0-$1; }; qx.util.Compare.byInteger=qx.util.Compare.byNumber=qx.util.Compare.byFloat; qx.util.Compare.byIntegerString=function($0,$1){return parseInt($0)-parseInt($1); }; qx.util.Compare.byFloatString=function($0,$1){return parseFloat($0)-parseFloat($1); }; qx.util.Compare.byNumberString=qx.util.Compare.byFloatString; qx.util.Compare.byIPv4=function($0,$1){var $2=$0.split($[50],4); var $3=$1.split($[50],4); for(var $4=0;$4<3;$4++){$0=parseInt($2[$4]); $1=parseInt($3[$4]); if($0!=$1){return $0-$1; }}return parseInt($2[3])-parseInt($3[3]); }; qx.util.Compare.byZIndex=function($0,$1){return $0.getZIndex()-$1.getZIndex(); }; /* ID: qx.util.Normalization */ qx.OO.defineClass($[1326]); qx.util.Normalization._umlautsRegExp=/[\xE4\xF6\xFC\xDF\xC4\xD6\xDC]/g; qx.util.Normalization._umlautsShortData={"\xC4":$[61],"\xD6":$[179],"\xDC":$[1229],"\xE4":$[279],"\xF6":$[1299],"\xFC":$[2696],"\xDF":$[229]}; qx.util.Normalization._umlautsShort=function($0){return qx.util.Normalization._umlautsShortData[$0]; }; qx.util.Normalization.umlautsShort=function($0){return $0.replace(qx.util.Normalization._umlautsRegExp,qx.util.Normalization._umlautsShort); }; qx.util.Normalization._umlautsLongData={"\xC4":$[1877],"\xD6":$[2722],"\xDC":$[2100],"\xE4":$[1787],"\xF6":$[2594],"\xFC":$[2003],"\xDF":$[896]}; qx.util.Normalization._umlautsLong=function($0){return qx.util.Normalization._umlautsLongData[$0]; }; qx.util.Normalization.umlautsLong=function($0){return $0.replace(qx.util.Normalization._umlautsRegExp,qx.util.Normalization._umlautsLong); }; /* ID: qx.ui.menu.Menu */ qx.OO.defineClass($[222],qx.ui.popup.Popup,function(){qx.ui.popup.Popup.call(this); var $0=this._layout=new qx.ui.menu.Layout; this.add($0); this._openTimer=new qx.client.Timer(this.getOpenInterval()); this._openTimer.addEventListener($[52],this._onopentimer,this); this._closeTimer=new qx.client.Timer(this.getCloseInterval()); this._closeTimer.addEventListener($[52],this._onclosetimer,this); this.addEventListener($[33],this._onmouseover); this.addEventListener($[14],this._onmouseover); this.addEventListener($[45],this._onmouseout); this.addEventListener($[13],this._onkeydown); this.addEventListener($[17],this._onkeypress); this.remapChildrenHandlingTo(this._layout); }); qx.Proto._remappingChildTable=[$[662],$[303],$[729],$[852],$[579],$[354],$[827],$[595],$[282],$[2763],$[1439],$[2888],$[1814]]; qx.Proto._isFocusRoot=false; qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[266]}); qx.OO.addProperty({name:$[1055],type:$[2],defaultValue:4}); qx.OO.addProperty({name:$[1008],type:$[2],defaultValue:10}); qx.OO.addProperty({name:$[2758],type:$[2],defaultValue:8}); qx.OO.addProperty({name:$[1235],type:$[2],defaultValue:20}); qx.OO.addProperty({name:$[2543],type:$[2],defaultValue:8}); qx.OO.addProperty({name:$[1493],type:$[4]}); qx.OO.addProperty({name:$[2968],type:$[4]}); qx.OO.addProperty({name:$[396],type:$[4]}); qx.OO.addProperty({name:$[1602],type:$[4]}); qx.OO.addProperty({name:$[1419],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[1670],type:$[2],defaultValue:250}); qx.OO.addProperty({name:$[1540],type:$[2],defaultValue:250}); qx.OO.addProperty({name:$[2911],type:$[2],defaultValue:-3}); qx.OO.addProperty({name:$[2711],type:$[2],defaultValue:-2}); qx.OO.addProperty({name:$[2796],type:$[3],defaultValue:true}); qx.Proto.getLayout=function(){return this._layout; }; qx.Proto.isSubElement=function($0,$1){if(($0.getParent()===this._layout)||((!$1)&&($0===this))){return true; } for(var $2=this._layout.getChildren(),$3=$2.length,$4=0;$4<$3;$4++){if($2[$4].getMenu&&$2[$4].getMenu()&&$2[$4].getMenu().isSubElement($0,$1)){return true; }}return false; }; qx.Proto._beforeAppear=function(){qx.ui.layout.CanvasLayout.prototype._beforeAppear.call(this); qx.manager.object.MenuManager.getInstance().add(this); this.bringToFront(); this._makeActive(); }; qx.Proto._beforeDisappear=function(){qx.ui.layout.CanvasLayout.prototype._beforeDisappear.call(this); qx.manager.object.MenuManager.getInstance().remove(this); this._makeInactive(); this.setHoverItem(null); this.setOpenItem(null); var $0=this.getOpener(); if($0){$0.removeState($[20]); }}; qx.Proto._modifyHoverItem=function($0,$1,$2){if($1){$1.removeState($[49]); } if($0){$0.addState($[49]); }return true; }; qx.Proto._modifyOpenItem=function($0,$1,$2){var $3=false; if($1){var $4=$1.getMenu(); if($4){$4.setParentMenu(null); $4.setOpener(null); $4.hide(); }} if($0){var $5=$0.getMenu(); if($5){$5.setOpener($0); $5.setParentMenu(this); var $6=$0.getElement(); var $7=this.getElement(); $5.setTop(qx.html.Location.getPageBoxTop($6)+this.getSubMenuVerticalOffset()); $5.setLeft(qx.html.Location.getPageBoxLeft($7)+qx.html.Dimension.getBoxWidth($7)+this.getSubMenuHorizontalOffset()); $5.show(); qx.ui.core.Widget.flushGlobalQueues(); }}return true; }; qx.OO.addCachedProperty({name:$[2314]}); qx.OO.addCachedProperty({name:$[2244]}); qx.OO.addCachedProperty({name:$[2946]}); qx.OO.addCachedProperty({name:$[1595]}); qx.OO.addCachedProperty({name:$[2329]}); qx.OO.addCachedProperty({name:$[1981]}); qx.OO.addCachedProperty({name:$[665],defaultValue:0}); qx.OO.addCachedProperty({name:$[2552]}); qx.OO.addCachedProperty({name:$[1434]}); qx.OO.addCachedProperty({name:$[980]}); qx.OO.addCachedProperty({name:$[1386]}); qx.Proto._computeMaxIconWidth=function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0; for(var $4=0;$4<$1;$4++){$2=$0[$4]; if($2.hasIcon()){$3=Math.max($3,16); }}return $3; }; qx.Proto._computeMaxLabelWidth=function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0; for(var $4=0;$4<$1;$4++){$2=$0[$4]; if($2.hasLabel()){$3=Math.max($3,$2.getLabelObject().getPreferredBoxWidth()); }}return $3; }; qx.Proto._computeMaxLabelWidthIncShortcut=function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0; for(var $4=0;$4<$1;$4++){$2=$0[$4]; if($2.hasLabel()&&$2.hasShortcut()){$3=Math.max($3,$2.getLabelObject().getPreferredBoxWidth()); }}return $3; }; qx.Proto._computeMaxShortcutWidth=function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0; for(var $4=0;$4<$1;$4++){$2=$0[$4]; if($2.hasShortcut()){$3=Math.max($3,$2.getShortcutObject().getPreferredBoxWidth()); }}return $3; }; qx.Proto._computeMaxArrowWidth=function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0; for(var $4=0;$4<$1;$4++){$2=$0[$4]; if($2.hasMenu()){$3=Math.max($3,4); }}return $3; }; qx.Proto._computeMaxContentWidth=function(){var $0; var $1=this.getMaxLabelWidth(); var $2=this.getMaxShortcutWidth(); if(this.getIndentShortcuts()){var $3=$2+this.getMaxLabelWidthIncShortcut(); if($2>0){$3+=this.getLabelShortcutGap(); }$0=Math.max($1,$3); }else{$0=$1+$2; if($1>0&&$2>0){$0+=this.getLabelShortcutGap(); }}return $0; }; qx.Proto._computeIconPosition=function(){return 0; }; qx.Proto._computeLabelPosition=function(){var $0=this.getMaxIconWidth(); return $0>0?$0+this.getIconContentGap():this.getContentNonIconPadding(); }; qx.Proto._computeShortcutPosition=function(){return this.getLabelPosition()+this.getMaxContentWidth()-this.getMaxShortcutWidth(); }; qx.Proto._computeArrowPosition=function(){var $0=this.getMaxContentWidth(); return this.getLabelPosition()+($0>0?$0+this.getContentArrowGap():$0); }; qx.Proto._invalidateMaxIconWidth=function(){this._cachedMaxIconWidth=null; this._invalidateLabelPosition(); this._invalidateMenuButtonNeededWidth(); }; qx.Proto._invalidateMaxLabelWidth=function(){this._cachedMaxLabelWidth=null; this._invalidateShortcutPosition(); this._invalidateMaxLabelWidthIncShortcut(); this._invalidateMaxContentWidth(); this._invalidateMenuButtonNeededWidth(); }; qx.Proto._invalidateMaxShortcutWidth=function(){this._cachedMaxShortcutWidth=null; this._invalidateArrowPosition(); this._invalidateMaxContentWidth(); this._invalidateMenuButtonNeededWidth(); }; qx.Proto._invalidateMaxLabelWidth=function(){this._cachedMaxArrowWidth=null; this._invalidateMenuButtonNeededWidth(); }; qx.Proto._invalidateLabelPosition=function(){this._cachedLabelPosition=null; this._invalidateShortcutPosition(); }; qx.Proto._invalidateShortcutPosition=function(){this._cachedShortcutPosition=null; this._invalidateArrowPosition(); }; qx.Proto._computeMenuButtonNeededWidth=function(){var $0=0; var $1=this.getMaxIconWidth(); var $2=this.getMaxContentWidth(); var $3=this.getMaxArrowWidth(); if($1>0){$0+=$1; }else{$0+=this.getContentNonIconPadding(); } if($2>0){if($1>0){$0+=this.getIconContentGap(); }$0+=$2; } if($3>0){if($1>0||$2>0){$0+=this.getContentArrowGap(); }$0+=$3; }else{$0+=this.getContentNonArrowPadding(); }return $0; }; qx.Proto._onmouseover=function($0){var $1=this.getParentMenu(); if($1){$1._closeTimer.stop(); var $2=this.getOpener(); if($2){$1.setHoverItem($2); }}var $3=$0.getTarget(); if($3==this){this._openTimer.stop(); this._closeTimer.start(); this.setHoverItem(null); return; }var $4=this.getOpenItem(); if($4){this.setHoverItem($3); this._openTimer.stop(); if($3.hasMenu()){if(this.getFastReopen()){this.setOpenItem($3); this._closeTimer.stop(); }else{this._openTimer.start(); }}else{this._closeTimer.start(); }}else{this.setHoverItem($3); this._openTimer.stop(); if($3.hasMenu()){this._openTimer.start(); }}}; qx.Proto._onmouseout=function($0){this._openTimer.stop(); var $1=$0.getTarget(); if($1!=this&&$1.hasMenu()){this._closeTimer.start(); }this.setHoverItem(null); }; qx.Proto._onopentimer=function($0){this._openTimer.stop(); var $1=this.getHoverItem(); if($1&&$1.hasMenu()){this.setOpenItem($1); }}; qx.Proto._onclosetimer=function($0){this._closeTimer.stop(); this.setOpenItem(null); }; qx.Proto._onkeydown=function($0){if($0.getKeyIdentifier()==$[34]){this._onkeydown_enter($0); }$0.preventDefault(); }; qx.Proto._onkeypress=function($0){switch($0.getKeyIdentifier()){case $[87]:this._onkeypress_up($0); break; case $[76]:this._onkeypress_down($0); break; case $[58]:this._onkeypress_left($0); break; case $[59]:this._onkeypress_right($0); break; default:return; }$0.preventDefault(); }; qx.Proto._onkeypress_up=function($0){var $1=this.getHoverItem(); var $2=$1?$1.isFirstChild()?this.getLastActiveChild():$1.getPreviousActiveSibling([qx.ui.menu.Separator]):this.getLastActiveChild(); this.setHoverItem($2); }; qx.Proto._onkeypress_down=function($0){var $1=this.getHoverItem(); var $2=$1?$1.isLastChild()?this.getFirstActiveChild():$1.getNextActiveSibling([qx.ui.menu.Separator]):this.getFirstActiveChild(); this.setHoverItem($2); }; qx.Proto._onkeypress_left=function($0){var $1=this.getOpener(); if($1 instanceof qx.ui.menu.Button){var $2=this.getOpener().getParentMenu(); $2.setOpenItem(null); $2.setHoverItem($1); $2._makeActive(); }else if($1 instanceof qx.ui.toolbar.MenuButton){var $3=$1.getParentToolBar(); this.getFocusRoot().setActiveChild($3); $3._onkeypress($0); }}; qx.Proto._onkeypress_right=function($0){var $1=this.getHoverItem(); if($1){var $2=$1.getMenu(); if($2){this.setOpenItem($1); $2.setHoverItem($2.getFirstActiveChild()); return; }}else if(!this.getOpenItem()){var $3=this.getLayout().getFirstActiveChild(); if($3){$3.hasMenu()?this.setOpenItem($3):this.setHoverItem($3); }}var $4=this.getOpener(); if($4 instanceof qx.ui.toolbar.MenuButton){var $5=$4.getParentToolBar(); this.getFocusRoot().setActiveChild($5); $5._onkeypress($0); }else if($4 instanceof qx.ui.menu.Button&&$1){var $6=$4.getParentMenu(); while($6&&$6 instanceof qx.ui.menu.Menu){$4=$6.getOpener(); if($4 instanceof qx.ui.menu.Button){$6=$4.getParentMenu(); }else{if($4){$6=$4.getParent(); }break; }} if($6 instanceof qx.ui.toolbar.Part){$6=$6.getParent(); } if($6 instanceof qx.ui.toolbar.ToolBar){this.getFocusRoot().setActiveChild($6); $6._onkeypress($0); }}}; qx.Proto._onkeydown_enter=function($0){var $1=this.getHoverItem(); if($1){$1.execute(); }qx.manager.object.MenuManager.getInstance().update(); }; qx.Proto.dispose=function(){if(this.getDisposed()){return; } if(this._layout){this._layout.dispose(); this._layout=null; } if(this._openTimer){this._openTimer.dispose(); this._openTimer=null; } if(this._closeTimer){this._closeTimer.dispose(); this._closeTimer=null; }this.removeEventListener($[33],this._onmouseover); this.removeEventListener($[14],this._onmouseover); this.removeEventListener($[45],this._onmouseout); this.removeEventListener($[13],this._onkeydown); this.removeEventListener($[17],this._onkeypress); return qx.ui.popup.Popup.prototype.dispose.call(this); }; /* ID: qx.ui.layout.VerticalBoxLayout */ qx.OO.defineClass($[2921],qx.ui.layout.BoxLayout,function(){qx.ui.layout.BoxLayout.call(this,$[27]); }); /* ID: qx.ui.menu.Layout */ qx.OO.defineClass($[2579],qx.ui.layout.VerticalBoxLayout,function(){qx.ui.layout.VerticalBoxLayout.call(this); this.setAnonymous(true); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[2318]}); qx.Proto._createLayoutImpl=function(){return new qx.renderer.layout.MenuLayoutImpl(this); }; /* ID: qx.renderer.layout.MenuLayoutImpl */ qx.OO.defineClass($[2378],qx.renderer.layout.VerticalBoxLayoutImpl,function($0){qx.renderer.layout.VerticalBoxLayoutImpl.call(this,$0); this.setEnableFlexSupport(false); }); qx.Proto.updateChildrenOnJobQueueFlush=function($0){var $1=this.getWidget(); var $2,$3; if($0.preferredInnerWidth){var $2=$1.getChildren(),$4=$2.length,$3; var $5,$6; for(var $7=0;$7<$4;$7++){$3=$2[$7]; $5=$3.getChildren(); $6=$5.length; for(var $8=0;$8<$6;$8++){$5[$8].addToLayoutChanges($[131]); }}}return qx.renderer.layout.VerticalBoxLayoutImpl.prototype.updateChildrenOnJobQueueFlush.call(this,$0); }; /* ID: qx.manager.object.MenuManager */ qx.OO.defineClass($[223],qx.manager.object.ObjectManager,function(){qx.manager.object.ObjectManager.call(this); }); qx.Proto.update=function($0,$1){var $2,$3; var $4=this.getAll(); for($3 in $4){$2=$4[$3]; if(!$2.getAutoHide()){continue; } if($0&&$0.getMenu&&$0.getMenu()){continue; }if(!$0){$2.hide(); continue; }var $5=$1==$[6]; var $6=$1==$[7]; if($2.getOpener()!== $0&& ($0&& (!$2.isSubElement($0)&&$5)|| ($2.isSubElement($0,true)&&$6)||(!$5&&!$6))){$2.hide(); continue; }}}; qx.Clazz.getInstance=qx.lang.Function.returnInstance; /* ID: qx.ui.menu.Separator */ qx.OO.defineClass($[1102],qx.ui.layout.CanvasLayout,function(){qx.ui.layout.CanvasLayout.call(this); this.setStyleProperty($[106],$[15]); this.setStyleProperty($[145],$[15]); this._line=new qx.ui.basic.Terminator; this._line.setAnonymous(true); this._line.setAppearance($[2407]); this.add(this._line); this.addEventListener($[6],this._onmousedown); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[2353]}); qx.Proto.hasIcon=qx.lang.Function.returnFalse; qx.Proto.hasLabel=qx.lang.Function.returnFalse; qx.Proto.hasShortcut=qx.lang.Function.returnFalse; qx.Proto.hasMenu=qx.lang.Function.returnFalse; qx.Proto._onmousedown=function($0){$0.stopPropagation(); }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; } if(this._line){this._line.dispose(); this._line=null; }return qx.ui.layout.CanvasLayout.prototype.dispose.call(this); }; /* ID: qx.ui.basic.Atom */ qx.OO.defineClass($[1857],qx.ui.layout.BoxLayout,function($0,$1,$2,$3,$4){qx.ui.layout.BoxLayout.call(this); if(this.getOrientation()==null){this.setOrientation($[26]); }this.setSelectable(false); this.getLayoutImpl().setEnableFlexSupport(false); this.setLabel($0); if(qx.OO.isAvailable($[401])&&$4!=null&&$2!=null&&$3!=null&&qx.ui.embed.Flash.getPlayerVersion().getMajor()>0){this._flashMode=true; this.setIcon($4); this.setIconWidth($2); this.setIconHeight($3); }else if($1!=null){this.setIcon($1); if($2!=null){this.setIconWidth($2); } if($3!=null){this.setIconHeight($3); }}}); qx.ui.basic.Atom.SHOW_LABEL="label"; qx.ui.basic.Atom.SHOW_ICON="icon"; qx.ui.basic.Atom.SHOW_BOTH="both"; qx.OO.addProperty({name:$[97]}); qx.OO.addProperty({name:$[72],type:$[0]}); qx.OO.addProperty({name:$[964],type:$[0]}); qx.OO.addProperty({name:$[2633],type:$[0],defaultValue:$[772],possibleValues:[$[772],$[97],$[72],$[32],null]}); qx.OO.addProperty({name:$[665],type:$[0],defaultValue:$[10],possibleValues:[$[16],$[12],$[24],$[10]]}); qx.OO.addProperty({name:$[970],type:$[2]}); qx.OO.addProperty({name:$[682],type:$[2]}); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[218]}); qx.Proto._flashMode=false; qx.Proto._labelObject=null; qx.Proto._iconObject=null; qx.Proto._createLabel=function(){var $0=this._labelObject=new qx.ui.basic.Label(this.getLabel()); $0.setAnonymous(true); $0.setEnabled(this.getEnabled()); $0.setSelectable(false); this.addAt($0,this._iconObject?1:0); }; qx.Proto._createIcon=function(){if(this._flashMode&&qx.OO.isAvailable($[401])){var $0=this._iconObject=new qx.ui.embed.Flash(this.getIcon()); }else{var $0=this._iconObject=new qx.ui.basic.Image(); }$0.setAnonymous(true); this._updateIcon(); this.addAt($0,0); }; qx.Proto._updateIcon=function(){if(this._iconObject&&this.getIcon&&this.getDisabledIcon){var $0=this.getDisabledIcon(); if($0){if(this.getEnabled()){this._iconObject.setSource(this.getIcon()); }else{this._iconObject.setSource($0); }this._iconObject.setEnabled(true); }else{this._iconObject.setSource(this.getIcon()); this._iconObject.setEnabled(this.getEnabled()); }}}; qx.Proto.getLabelObject=function(){return this._labelObject; }; qx.Proto.getIconObject=function(){return this._iconObject; }; qx.Proto._modifyEnabled=function($0,$1,$2){this._updateIcon(); if(this._labelObject){this._labelObject.setEnabled($0); }return qx.ui.layout.BoxLayout.prototype._modifyEnabled.call(this,$0,$1,$2); }; qx.Proto._modifyIconPosition=function($0,$1,$2){switch($0){case $[16]:case $[24]:this.setOrientation($[27]); this.setReverseChildrenOrder($0==$[24]); break; default:this.setOrientation($[26]); this.setReverseChildrenOrder($0==$[12]); break; }return true; }; qx.Proto._modifyShow=function($0,$1,$2){this._handleIcon(); this._handleLabel(); return true; }; qx.Proto._modifyLabel=function($0,$1,$2){if(this._labelObject){this._labelObject.setHtml($0); }this._handleLabel(); return true; }; qx.Proto._modifyIcon=function($0,$1,$2){this._updateIcon(); this._handleIcon(); return true; }; qx.Proto._modifyDisabledIcon=function($0,$1,$2){this._updateIcon(); this._handleIcon(); return true; }; qx.Proto._modifyIconWidth=function($0,$1,$2){this._iconObject.setWidth($0); return true; }; qx.Proto._modifyIconHeight=function($0,$1,$2){this._iconObject.setHeight($0); return true; }; qx.Proto._iconIsVisible=false; qx.Proto._labelIsVisible=false; qx.Proto._handleLabel=function(){switch(this.getShow()){case qx.ui.basic.Atom.SHOW_LABEL:case qx.ui.basic.Atom.SHOW_BOTH:this._labelIsVisible=qx.util.Validation.isValidString(this.getLabel())||this.getLabel() instanceof qx.locale.LocalizedString; break; default:this._labelIsVisible=false; } if(this._labelIsVisible){this._labelObject?this._labelObject.setDisplay(true):this._createLabel(); }else if(this._labelObject){this._labelObject.setDisplay(false); }}; qx.Proto._handleIcon=function(){switch(this.getShow()){case qx.ui.basic.Atom.SHOW_ICON:case qx.ui.basic.Atom.SHOW_BOTH:this._iconIsVisible=qx.util.Validation.isValidString(this.getIcon()); break; default:this._iconIsVisible=false; } if(this._iconIsVisible){this._iconObject?this._iconObject.setDisplay(true):this._createIcon(); }else if(this._iconObject){this._iconObject.setDisplay(false); }}; qx.Proto._cloneRecursive=qx.lang.Function.returnTrue; qx.Proto.dispose=function(){if(this.getDisposed()){return true; } if(this._iconObject){this._iconObject.dispose(); this._iconObject=null; } if(this._labelObject){this._labelObject.dispose(); this._labelObject=null; }return qx.ui.layout.BoxLayout.prototype.dispose.call(this); }; /* ID: qx.ui.form.Button */ qx.OO.defineClass($[514],qx.ui.basic.Atom,function($0,$1,$2,$3,$4){qx.ui.basic.Atom.call(this,$0,$1,$2,$3,$4); this.setTabIndex(1); this.addEventListener($[33],this._onmouseover); this.addEventListener($[45],this._onmouseout); this.addEventListener($[6],this._onmousedown); this.addEventListener($[7],this._onmouseup); this.addEventListener($[13],this._onkeydown); this.addEventListener($[90],this._onkeyup); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[122]}); qx.Proto._onmouseover=function($0){if($0.getTarget()!=this){return; } if(this.hasState($[39])){this.removeState($[39]); this.addState($[20]); }this.addState($[49]); }; qx.Proto._onmouseout=function($0){if($0.getTarget()!=this){return; }this.removeState($[49]); if(this.hasState($[20])){this.setCapture(true); this.removeState($[20]); this.addState($[39]); }}; qx.Proto._onmousedown=function($0){if($0.getTarget()!=this||!$0.isLeftButtonPressed()){return; }this.removeState($[39]); this.addState($[20]); }; qx.Proto._onmouseup=function($0){this.setCapture(false); var $1=this.hasState($[20]); var $2=this.hasState($[39]); if($1){this.removeState($[20]); } if($2){this.removeState($[39]); } if(!$2){this.addState($[49]); if($1){this.execute(); }}}; qx.Proto._onkeydown=function($0){switch($0.getKeyIdentifier()){case $[34]:case $[103]:this.removeState($[39]); this.addState($[20]); }}; qx.Proto._onkeyup=function($0){switch($0.getKeyIdentifier()){case $[34]:case $[103]:if(this.hasState($[20])){this.removeState($[39]); this.removeState($[20]); this.execute(); }}}; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this.removeEventListener($[33],this._onmouseover,this); this.removeEventListener($[45],this._onmouseout,this); this.removeEventListener($[6],this._onmousedown,this); this.removeEventListener($[7],this._onmouseup,this); this.removeEventListener($[13],this._onkeydown,this); this.removeEventListener($[90],this._onkeyup,this); return qx.ui.basic.Atom.prototype.dispose.call(this); }; /* ID: qx.ui.toolbar.Button */ qx.OO.defineClass($[2860],qx.ui.form.Button,function($0,$1,$2,$3,$4){qx.ui.form.Button.call(this,$0,$1,$2,$3,$4); this.setTabIndex(-1); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[1690]}); qx.Proto._onkeydown=qx.lang.Function.returnTrue; qx.Proto._onkeyup=qx.lang.Function.returnTrue; /* ID: qx.ui.toolbar.MenuButton */ qx.OO.defineClass($[2825],qx.ui.toolbar.Button,function($0,$1,$2,$3,$4,$5){qx.ui.toolbar.Button.call(this,$0,$2,$3,$4,$5); if($1!=null){this.setMenu($1); }}); qx.OO.addProperty({name:$[266],type:$[4],instance:$[222]}); qx.OO.addProperty({name:$[1704],type:$[0],allowNull:false,possibleValues:[$[635],$[389]],defaultValue:$[389]}); qx.Proto.getParentToolBar=function(){var $0=this.getParent(); if($0 instanceof qx.ui.toolbar.Part){$0=$0.getParent(); }return $0 instanceof qx.ui.toolbar.ToolBar?$0:null; }; qx.Proto._showMenu=function($0){var $1=this.getMenu(); if($1){var $2=$1.getParent(); var $3=$2.getElement(); var $4=this.getElement(); var $5=qx.html.Dimension.getBoxHeight($4); var $6=qx.html.Location.getPageBoxLeft($3); var $7=qx.html.Location.getPageBoxLeft($4); $1.setLeft($7-$6); switch(this.getDirection()){case $[635]:var $8=qx.html.Dimension.getInnerHeight(document.body); var $9=qx.html.Location.getPageBoxBottom($3); var $a=qx.html.Location.getPageBoxBottom($4); $1.setBottom($5+($8-$a)-($8-$9)); $1.setTop(null); break; case $[389]:var $b=qx.html.Location.getPageBoxTop($4); $1.setTop($b+$5); $1.setBottom(null); break; }this.addState($[20]); if($0){$1.setHoverItem($1.getFirstActiveChild()); }$1.show(); }}; qx.Proto._hideMenu=function(){var $0=this.getMenu(); if($0){$0.hide(); }}; qx.Proto._modifyMenu=function($0,$1,$2){if($1){$1.setOpener(null); $1.removeEventListener($[70],this._onmenuappear,this); $1.removeEventListener($[187],this._onmenudisappear,this); } if($0){$0.setOpener(this); $0.addEventListener($[70],this._onmenuappear,this); $0.addEventListener($[187],this._onmenudisappear,this); }return true; }; qx.Proto._onmousedown=function($0){if($0.getTarget()!=this||!$0.isLeftButtonPressed()){return; }this.hasState($[20])?this._hideMenu():this._showMenu(); }; qx.Proto._onmouseup=function($0){}; qx.Proto._onmouseout=function($0){if($0.getTarget()!=this){return; }this.removeState($[49]); }; qx.Proto._onmouseover=function($0){var $1=this.getParentToolBar(); if($1){var $2=this.getMenu(); switch($1.getOpenMenu()){case null:case $2:break; default:qx.manager.object.MenuManager.getInstance().update(); this._showMenu(); }}return qx.ui.toolbar.Button.prototype._onmouseover.call(this,$0); }; qx.Proto._onmenuappear=function($0){var $1=this.getParentToolBar(); if(!$1){return; }var $2=this.getMenu(); $1.setOpenMenu($2); }; qx.Proto._onmenudisappear=function($0){var $1=this.getParentToolBar(); if(!$1){return; }var $2=this.getMenu(); if($1.getOpenMenu()==$2){$1.setOpenMenu(null); }}; /* ID: qx.ui.toolbar.Part */ qx.OO.defineClass($[2365],qx.ui.layout.HorizontalBoxLayout,function(){qx.ui.layout.HorizontalBoxLayout.call(this); this._handle=new qx.ui.toolbar.PartHandle; this.add(this._handle); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[2065]}); qx.Proto._cloneRecursive=function($0){var $1=this.getChildren(); var $2=$1.length; for(var $3=0;$3<$2;$3++){if(!($1[$3] instanceof qx.ui.toolbar.PartHandle)){$0.add($1[$3].clone(true)); }}}; qx.Proto.dispose=function(){if(this.getDisposed()){return; } if(this._handle){this._handle.dispose(); this._handle=null; }return qx.ui.layout.HorizontalBoxLayout.prototype.dispose.call(this); }; /* ID: qx.ui.toolbar.PartHandle */ qx.OO.defineClass($[2636],qx.ui.layout.CanvasLayout,function(){qx.ui.layout.CanvasLayout.call(this); var $0=new qx.ui.basic.Terminator; $0.setAppearance($[1355]); this.add($0); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[1853]}); /* ID: qx.ui.toolbar.ToolBar */ qx.OO.defineClass($[2044],qx.ui.layout.HorizontalBoxLayout,function(){qx.ui.layout.HorizontalBoxLayout.call(this); this.addEventListener($[17],this._onkeypress); }); qx.OO.addProperty({name:$[1996],type:$[4],instance:$[222]}); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[322]}); qx.Proto.getAllButtons=function(){var $0=this.getChildren(); var $1=$0.length; var $2=[]; var $3; for(var $4=0;$4<$1;$4++){$3=$0[$4]; if($3 instanceof qx.ui.toolbar.MenuButton){$2.push($3); }else if($3 instanceof qx.ui.toolbar.Part){$2=$2.concat($3.getChildren()); }}return $2; }; qx.Proto._onkeypress=function($0){switch($0.getKeyIdentifier()){case $[58]:return this._onkeypress_left(); case $[59]:return this._onkeypress_right(); }}; qx.Proto._onkeypress_left=function(){var $0=this.getOpenMenu(); if(!$0){return; }var $1=$0.getOpener(); if(!$1){return; }var $2=this.getAllButtons(); var $3=$2.length; var $4=$2.indexOf($1); var $5; var $6=null; for(var $7=$4-1;$7>=0;$7--){$5=$2[$7]; if($5 instanceof qx.ui.toolbar.MenuButton&&$5.getEnabled()){$6=$5; break; }}if(!$6){for(var $7=$3-1;$7>$4;$7--){$5=$2[$7]; if($5 instanceof qx.ui.toolbar.MenuButton&&$5.getEnabled()){$6=$5; break; }}} if($6){qx.manager.object.MenuManager.getInstance().update(); $6._showMenu(true); }}; qx.Proto._onkeypress_right=function(){var $0=this.getOpenMenu(); if(!$0){return; }var $1=$0.getOpener(); if(!$1){return; }var $2=this.getAllButtons(); var $3=$2.length; var $4=$2.indexOf($1); var $5; var $6=null; for(var $7=$4+1;$7<$3;$7++){$5=$2[$7]; if($5 instanceof qx.ui.toolbar.MenuButton&&$5.getEnabled()){$6=$5; break; }}if(!$6){for(var $7=0;$7<$4;$7++){$5=$2[$7]; if($5 instanceof qx.ui.toolbar.MenuButton&&$5.getEnabled()){$6=$5; break; }}} if($6){qx.manager.object.MenuManager.getInstance().update(); $6._showMenu(true); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this.removeEventListener($[17],this._onkeypress); return qx.ui.layout.HorizontalBoxLayout.prototype.dispose.call(this); }; /* ID: qx.renderer.layout.MenuButtonLayoutImpl */ qx.OO.defineClass($[1464],qx.renderer.layout.HorizontalBoxLayoutImpl,function($0){qx.renderer.layout.HorizontalBoxLayoutImpl.call(this,$0); this.setEnableFlexSupport(false); }); qx.Proto.computeChildrenNeededWidth=function(){var $0=this.getWidget(); var $1=$0.getParent().getParent(); return $1.getMenuButtonNeededWidth(); }; qx.Proto.updateSelfOnChildOuterWidthChange=function($0){var $1=this.getWidget(); var $2=$1.getParent().getParent(); switch($0){case $1._iconObject:$2._invalidateMaxIconWidth(); break; case $1._labelObject:$2._invalidateMaxLabelWidth(); break; case $1._shortcutObject:$2._invalidateMaxShortcutWidth(); break; case $1._arrowObject:$2._invalidateMaxArrowWidth(); break; }return qx.renderer.layout.HorizontalBoxLayoutImpl.prototype.updateSelfOnChildOuterWidthChange.call(this,$0); }; qx.Proto.layoutChild_locationX=function($0,$1){var $2=this.getWidget(); var $3=$2.getParent().getParent(); var $4=null; switch($0){case $2._iconObject:$4=$3.getIconPosition(); break; case $2._labelObject:$4=$3.getLabelPosition(); break; case $2._shortcutObject:$4=$3.getShortcutPosition(); break; case $2._arrowObject:$4=$3.getArrowPosition(); break; } if($4!=null){$4+=$2.getPaddingLeft(); $0._applyRuntimeLeft($4); }}; /* ID: qx.ui.menu.CheckBox */ qx.OO.defineClass($[999],qx.ui.menu.Button,function($0,$1,$2){qx.ui.menu.Button.call(this,$0,$[62],$1); if($2!=null){this.setChecked($2); }qx.manager.object.ImageManager.getInstance().preload($[703]); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[1433]}); qx.OO.addProperty({name:$[96],type:$[0]}); qx.OO.addProperty({name:$[85],type:$[0]}); qx.OO.addProperty({name:$[98],type:$[3],defaultValue:false,getAlias:$[277]}); qx.Proto._modifyChecked=function($0,$1,$2){$0?this.addState($[98]):this.removeState($[98]); this.getIconObject().setSource($0?$[703]:$[62]); return true; }; qx.Proto.execute=function(){this.setChecked(!this.getChecked()); qx.ui.menu.Button.prototype.execute.call(this); }; /* ID: elite.ui.form.ComboBoxEx */ qx.OO.defineClass($[2577],qx.ui.layout.CanvasLayout,function(){qx.ui.layout.CanvasLayout.call(this); this.setHeight(20); var $0=this._field=new qx.ui.form.TextField; this.add($0); $0.addEventListener($[13],this._onfieldkeydown,this); var $1=this._searchButton=new qx.ui.basic.Atom; $1.setIcon($[366]); $1.setRight(0); $1.setTop(0); $1.setWidth(20); $1.setTabIndex(-1); this.add($1); $1.addEventListener($[18],this._onsearchbuttonclick,this); var $2=this._combobox=new qx.ui.form.ComboBox; this.add($2); $2.hide(); this.setTabIndex(1); this._field.setFocused(true); }); qx.OO.addProperty({name:$[509],type:$[23]}); qx.Proto.getField=function(){return this._field; }; qx.Proto.getComboBox=function(){return this._combobox; }; qx.Proto.getSearchButton=function(){return this._searchButton; }; qx.Proto._modifyWidth=function($0,$1,$2){this._field.setWidth($0-20); this._combobox.setWidth($0-20); return true; }; qx.Proto._callSearchFunction=function(){this._combobox.removeAll(); this._combobox.setValue($[108]); this._combobox.setSelected(null); var $0=this.getSearchFunction(); $0(); this._field.setFocused(false); this.setFocused(true); this._combobox.show(); this._field.hide(); this._searchButton.setIcon($[969]); }; qx.Proto.setSearch=function(){this.getComboBox().show(); this.getField().hide(); this.getSearchButton().setIcon($[969]); }; qx.Proto._onfieldkeydown=function($0){if($0.getKeyIdentifier()==$[34]){this._callSearchFunction(); }}; qx.Proto._onsearchbuttonclick=function($0){if(this._field.isSeeable()){this._callSearchFunction(); }else{this._combobox.hide(); this._field.show(); this._searchButton.setIcon($[366]); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return; } if(this._field){this._field.dispose(); this._field=null; } if(this._searchButton){this._searchButton.dispose(); this._searchButton=null; } if(this._combobox){this._combobox.dispose(); this._combobox=null; }return qx.ui.layout.CanvasLayout.prototype.dispose.call(this); }; /* ID: qx.ui.form.TextField */ qx.OO.defineClass($[1172],qx.ui.basic.Terminator,function($0){qx.ui.basic.Terminator.call(this); if(typeof $0===$[0]){this.setValue($0); }this.setTagName($[82]); this.setHtmlProperty($[216],$[198]); this.setHtmlAttribute($[2932],$[1246]); this.setTabIndex(1); this.setSelectable(true); this.enableInlineEvent($[82]); this.addEventListener($[123],this._onblur); this.addEventListener($[143],this._onfocus); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[168]}); qx.OO.addProperty({name:$[85],type:$[0],defaultValue:$[1]}); qx.OO.addProperty({name:$[1768],type:$[2]}); qx.OO.addProperty({name:$[1265],type:$[3]}); qx.OO.addProperty({name:$[2760],type:$[2]}); qx.OO.addProperty({name:$[1029],type:$[2]}); qx.OO.addProperty({name:$[2841],type:$[0]}); qx.OO.addProperty({name:$[1238],type:$[23]}); qx.OO.addProperty({name:$[235],type:$[4],instance:$[215],convert:qx.renderer.font.FontCache,allowMultipleArguments:true}); qx.Proto._clonePropertyIgnoreList+=$[2938]; qx.Proto._modifyEnabled=function($0,$1,$2){$0?this.removeHtmlAttribute($[152]):this.setHtmlAttribute($[152],$[152]); return qx.ui.basic.Terminator.prototype._modifyEnabled.call(this,$0,$1,$2); }; qx.Proto._modifyValue=function($0,$1,$2){this._inValueProperty=true; this.setHtmlProperty($2.name,$0==null?$[1]:$0); delete this._inValueProperty; return true; }; qx.Proto._modifyMaxLength=function($0,$1,$2){return $0?this.setHtmlProperty($2.name,$0):this.removeHtmlProperty($2.name); }; qx.Proto._modifyReadOnly=function($0,$1,$2){return $0?this.setHtmlProperty($2.name,$2.name):this.removeHtmlProperty($2.name); }; qx.Proto._modifyFont=function($0,$1,$2){this._invalidatePreferredInnerDimensions(); if($0){$0._applyWidget(this); }else if($1){$1._resetWidget(this); }return true; }; qx.Proto.getComputedValue=function($0){this._visualPropertyCheck(); return this.getElement().value; }; qx.ui.form.TextField.createRegExpValidator=function($0){return function($1){return $0.test($1); }; }; qx.Proto.isValid=function(){var $0=this.getValidator(); return !$0||$0(this.getValue()); }; qx.Proto.isComputedValid=function(){var $0=this.getValidator(); return !$0||$0(this.getComputedValue()); }; qx.Proto._computePreferredInnerWidth=function(){return 120; }; qx.Proto._computePreferredInnerHeight=function(){return 15; }; if(qx.core.Client.getInstance().isMshtml()){qx.Proto._firstInputFixApplied=false; qx.Proto._afterAppear=function(){qx.ui.basic.Terminator.prototype._afterAppear.call(this); if(!this._firstInputFixApplied){qx.client.Timer.once(this._ieFirstInputFix,this,1); }}; qx.Proto._ieFirstInputFix=function(){this._inValueProperty=true; this.getElement().value=this.getValue()===null?$[1]:this.getValue(); this._firstInputFixApplied=true; delete this._inValueProperty; }; }qx.Proto._textOnFocus=null; qx.Proto._ontabfocus=function($0){this.selectAll(); }; qx.Proto._onfocus=function($0){this._textOnFocus=this.getComputedValue(); }; qx.Proto._onblur=function($0){var $1=this.getComputedValue().toString(); if(this._textOnFocus!=$1){this.setValue($1); }this.setSelectionLength(0); }; if(qx.core.Client.getInstance().isMshtml()){qx.Proto._getRange=function(){this._visualPropertyCheck(); return this.getElement().createTextRange(); }; qx.Proto._getSelectionRange=function(){this._visualPropertyCheck(); return this.getTopLevelWidget().getDocumentElement().selection.createRange(); }; qx.Proto.setSelectionStart=function($0){this._visualPropertyCheck(); var $1=this.getElement().value; var $2=0; while($2<$0){$2=$1.indexOf($[977],$2); if($2==-1){break; }$0--; $2++; }var $3=this._getRange(); $3.collapse(); $3.move($[709],$0); $3.select(); }; qx.Proto.getSelectionStart=function(){this._visualPropertyCheck(); var $0=this._getSelectionRange(); if(!this.getElement().contains($0.parentElement())){return -1; }var $1=this._getRange(); $1.setEndPoint($[2393],$0); return $1.text.length; }; qx.Proto.setSelectionLength=function($0){this._visualPropertyCheck(); var $1=this._getSelectionRange(); if(!this.getElement().contains($1.parentElement())){return; }$1.collapse(); $1.moveEnd($[709],$0); $1.select(); }; qx.Proto.getSelectionLength=function(){this._visualPropertyCheck(); var $0=this._getSelectionRange(); if(!this.getElement().contains($0.parentElement())){return 0; }return $0.text.length; }; qx.Proto.setSelectionText=function($0){this._visualPropertyCheck(); var $1=this.getSelectionStart(); var $2=this._getSelectionRange(); if(!this.getElement().contains($2.parentElement())){return; }$2.text=$0; this.setValue(this.getElement().value); this.setSelectionStart($1); this.setSelectionLength($0.length); return true; }; qx.Proto.getSelectionText=function(){this._visualPropertyCheck(); var $0=this._getSelectionRange(); if(!this.getElement().contains($0.parentElement())){return $[1]; }return $0.text; }; qx.Proto.selectAll=function(){this._visualPropertyCheck(); if(this.getValue()!=null){this.setSelectionStart(0); this.setSelectionLength(this.getValue().length); }this.getElement().select(); }; qx.Proto.selectFromTo=function($0,$1){this._visualPropertyCheck(); this.setSelectionStart($0); this.setSelectionLength($1-$0); }; }else{qx.Proto.setSelectionStart=function($0){this._visualPropertyCheck(); this.getElement().selectionStart=$0; }; qx.Proto.getSelectionStart=function(){this._visualPropertyCheck(); return this.getElement().selectionStart; }; qx.Proto.setSelectionLength=function($0){this._visualPropertyCheck(); var $1=this.getElement(); if(qx.util.Validation.isValidString($1.value)){$1.selectionEnd=$1.selectionStart+$0; }}; qx.Proto.getSelectionLength=function(){this._visualPropertyCheck(); var $0=this.getElement(); return $0.selectionEnd-$0.selectionStart; }; qx.Proto.setSelectionText=function($0){this._visualPropertyCheck(); var $1=this.getElement(); var $2=$1.value; var $3=$1.selectionStart; var $4=$2.substr(0,$3); var $5=$2.substr($1.selectionEnd); var $6=$1.value=$4+$0+$5; $1.selectionStart=$3; $1.selectionEnd=$3+$0.length; this.setValue($6); return true; }; qx.Proto.getSelectionText=function(){this._visualPropertyCheck(); return this.getElement().value.substr(this.getSelectionStart(),this.getSelectionLength()); }; qx.Proto.selectAll=function(){this._visualPropertyCheck(); this.getElement().select(); }; qx.Proto.selectFromTo=function($0,$1){this._visualPropertyCheck(); var $2=this.getElement(); $2.selectionStart=$0; $2.selectionEnd=$1; }; }qx.Proto.dispose=function(){if(this.getDisposed()){return; }this.removeEventListener($[123],this._onblur); this.removeEventListener($[143],this._onfocus); qx.ui.basic.Terminator.prototype.dispose.call(this); }; /* ID: qx.ui.form.ComboBox */ qx.OO.defineClass($[2418],qx.ui.layout.HorizontalBoxLayout,function(){qx.ui.layout.HorizontalBoxLayout.call(this); var $0=this._list=new qx.ui.form.List; $0.setAppearance($[2742]); var $1=this._manager=this._list.getManager(); $1.setMultiSelection(false); $1.setDragSelection(false); var $2=this._popup=new qx.ui.popup.Popup; $2.setAppearance($[1609]); $2.setAutoHide(false); $2.add($0); var $3=this._field=new qx.ui.form.TextField; $3.setAppearance($[2606]); $3.setTabIndex(-1); this.add($3); var $4=this._button=new qx.ui.basic.Atom(null,$[555]); $4.setAppearance($[653]); $4.setTabIndex(-1); this.add($4); this.setTabIndex(1); this.setEditable(false); this.addEventListener($[6],this._onmousedown); this.addEventListener($[7],this._onmouseup); this.addEventListener($[33],this._onmouseover); this.addEventListener($[68],this._onmousewheel); this.addEventListener($[13],this._onkeydown); this.addEventListener($[17],this._onkeypress); this.addEventListener($[262],this._onkeyinput); this.addEventListener($[442],this._onbeforedisappear); this._popup.addEventListener($[70],this._onpopupappear,this); this._field.addEventListener($[82],this._oninput,this); var $5=qx.ui.core.ClientDocument.getInstance(); $5.addEventListener($[471],this._onwindowblur,this); this.remapChildrenHandlingTo($0); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[2595]}); qx.OO.addProperty({name:$[610],type:$[3],getAlias:$[892]}); qx.OO.addProperty({name:$[30],type:$[4],instance:$[947]}); qx.OO.addProperty({name:$[85],type:$[0]}); qx.OO.addProperty({name:$[910],type:$[2],defaultValue:10}); qx.Proto.getManager=function(){return this._manager; }; qx.Proto.getPopup=function(){return this._popup; }; qx.Proto.getList=function(){return this._list; }; qx.Proto.getField=function(){return this._field; }; qx.Proto.getButton=function(){return this._button; }; qx.Proto._modifySelected=function($0,$1,$2){this._fromSelected=true; if(!this._fromValue){this.setValue($0?$0.getLabel():$[1]); }this._manager.setLeadItem($0); this._manager.setAnchorItem($0); if($0){this._manager.setSelectedItem($0); }else{this._manager.deselectAll(); }delete this._fromSelected; return true; }; qx.Proto._modifyValue=function($0,$1,$2){this._fromValue=true; if(!this._fromInput){if(this._field.getValue()==$0){this._field.forceValue(null); }this._field.setValue($0); }if(!this._fromSelected){var $3=this._list.findStringExact($0); if($3!=null&&!$3.getEnabled()){$3=null; }this.setSelected($3); }delete this._fromValue; return true; }; qx.Proto._modifyEditable=function($0,$1,$2){var $3=this._field; $3.setReadOnly(!$0); $3.setCursor($0?null:$[53]); $3.setSelectable($0); return true; }; qx.Proto._modifyEnabled=function($0,$1,$2){if(this._button){this._button.setEnabled($0); } if(this._field){this._field.setEnabled($0); }return qx.ui.layout.HorizontalBoxLayout.prototype._modifyEnabled.call(this,$0,$1,$2); }; qx.Proto._oldSelected=null; qx.Proto._openPopup=function(){var $0=this._popup; var $1=this.getElement(); if(!$0.isCreated()){this.createDispatchEvent($[945]); } if(this._list.getChildrenLength()==0){return; }$0.positionRelativeTo($1,1,qx.html.Dimension.getBoxHeight($1)); $0.setWidth(this.getBoxWidth()-2); $0.setParent(this.getTopLevelWidget()); $0.show(); this._oldSelected=this.getSelected(); this.setCapture(true); }; qx.Proto._closePopup=function(){this._popup.hide(); this.setCapture(false); }; qx.Proto._testClosePopup=function(){if(this._popup.isSeeable()){this._closePopup(); }}; qx.Proto._togglePopup=function(){this._popup.isSeeable()?this._closePopup():this._openPopup(); }; qx.Proto._onpopupappear=function($0){var $1=this.getSelected(); if($1){$1.scrollIntoView(); }}; qx.Proto._oninput=function($0){this._fromInput=true; this.setValue(this._field.getComputedValue()); if(this.getPopup().isSeeable()&&this.getSelected()){this.getSelected().scrollIntoView(); }delete this._fromInput; }; qx.Proto._onbeforedisappear=function($0){this._testClosePopup(); }; qx.Proto._onmousedown=function($0){var $1=$0.getTarget(); switch($1){case this._field:if(this.getEditable()){break; }case this._button:this._button.addState($[20]); this._togglePopup(); break; case this:case this._list:break; default:if($1 instanceof qx.ui.form.ListItem&&$1.getParent()==this._list){this._list._onmousedown($0); this.setSelected(this._list.getSelectedItem()); this._closePopup(); this.setFocused(true); }else if(this._popup.isSeeable()){this._popup.hide(); this.setCapture(false); }}}; qx.Proto._onmouseup=function($0){switch($0.getTarget()){case this._field:if(this.getEditable()){break; }default:this._button.removeState($[20]); break; }}; qx.Proto._onmouseover=function($0){var $1=$0.getTarget(); if($1 instanceof qx.ui.form.ListItem){var $2=this._manager; $2.deselectAll(); $2.setLeadItem($1); $2.setAnchorItem($1); $2.setSelectedItem($1); }}; qx.Proto._onmousewheel=function($0){if(!this._popup.isSeeable()){var $1; var $2=this.getSelected(); if($0.getWheelDelta()<0){$1=$2?this._manager.getNext($2):this._manager.getFirst(); }else{$1=$2?this._manager.getPrevious($2):this._manager.getLast(); } if($1){this.setSelected($1); }}else{var $3=$0.getTarget(); if($3!=this&&$3.getParent()!=this._list){this._popup.hide(); this.setCapture(false); }}}; qx.Proto._onkeydown=function($0){var $1=this._manager; var $2=this._popup.isSeeable(); switch($0.getKeyIdentifier()){case $[34]:if($2){this.setSelected(this._manager.getSelectedItem()); this._closePopup(); this.setFocused(true); }else{this._openPopup(); }return; case $[88]:if($2){$1.setLeadItem(this._oldSelected); $1.setAnchorItem(this._oldSelected); $1.setSelectedItem(this._oldSelected); this._field.setValue(this._oldSelected?this._oldSelected.getLabel():$[1]); this._closePopup(); this.setFocused(true); }return; case $[76]:if($0.isAltPressed()){this._togglePopup(); return; }break; }}; qx.Proto._onkeypress=function($0){var $1=this._popup.isSeeable(); var $2=this._manager; switch($0.getKeyIdentifier()){case $[89]:if(!$1){var $3; var $4=this.getSelected(); if($4){var $5=this.getPagingInterval(); do{$3=$4; }while(--$5&&($4=$2.getPrevious($3))); }else{$3=$2.getLast(); }this.setSelected($3); return; }break; case $[105]:if(!$1){var $6; var $4=this.getSelected(); if($4){var $5=this.getPagingInterval(); do{$6=$4; }while(--$5&&($4=$2.getNext($6))); }else{$6=$2.getFirst(); }this.setSelected($6); return; }break; }if(!this.isEditable()||$1){this._list._onkeypress($0); var $7=this._manager.getSelectedItem(); if(!$1){this.setSelected($7); }else if($7){this._field.setValue($7.getLabel()); }}}; qx.Proto._onkeyinput=function($0){var $1=this._popup.isSeeable(); if(!this.isEditable()||$1){this._list._onkeyinput($0); var $2=this._manager.getSelectedItem(); if(!$1){this.setSelected($2); }else if($2){this._field.setValue($2.getLabel()); }}}; qx.Proto._onwindowblur=qx.Proto._testClosePopup; qx.Proto._visualizeBlur=function(){if(qx.core.Client.getInstance().isMshtml()){if(this.getEnableElementFocus()&&!this.getFocusRoot().getFocusedChild()){try{if(this.getEditable()){this.getField().getElement().blur(); }else{this.getElement().blur(); }}catch(ex){}}}else{if(this.getEnableElementFocus()){try{if(this.getEditable()){this.getField().getElement().blur(); }else if(!this.getFocusRoot().getFocusedChild()){this.getElement().blur(); }}catch(ex){}}}this.removeState($[180]); return true; }; qx.Proto._visualizeFocus=function(){if(!qx.event.handler.FocusHandler.mouseFocus&&this.getEnableElementFocus()){try{if(this.getEditable()){this.getField().getElement().focus(); this.getField()._ontabfocus(); }else{this.getElement().focus(); }}catch(ex){}}this.addState($[180]); return true; }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this.removeEventListener($[6],this._onmousedown); this.removeEventListener($[7],this._onmouseup); this.removeEventListener($[33],this._onmouseover); this.removeEventListener($[68],this._onmousewheel); this.removeEventListener($[13],this._onkeydown); this.removeEventListener($[17],this._onkeypress); this.removeEventListener($[262],this._onkeyinput); var $0=qx.ui.core.ClientDocument.getInstance(); $0.removeEventListener($[471],this._onwindowblur,this); if(this._popup){this._popup.removeEventListener($[70],this._onpopupappear,this); if(!qx.core.Object.inGlobalDispose()){this._popup.setParent(null); }this._popup.dispose(); this._popup=null; } if(this._list){this._list.dispose(); this._list=null; } if(this._manager){this._manager.dispose(); this._manager=null; } if(this._field){this._field.removeEventListener($[82],this._oninput,this); this._field.dispose(); this._field=null; } if(this._button){this._button.dispose(); this._button=null; }return qx.ui.layout.HorizontalBoxLayout.prototype.dispose.call(this); }; /* ID: qx.ui.form.List */ qx.OO.defineClass($[2736],qx.ui.layout.VerticalBoxLayout,function(){qx.ui.layout.VerticalBoxLayout.call(this); this._manager=new qx.manager.selection.SelectionManager(this); this.setSelectable(false); this.setTabIndex(1); this.addEventListener($[33],this._onmouseover); this.addEventListener($[6],this._onmousedown); this.addEventListener($[7],this._onmouseup); this.addEventListener($[18],this._onclick); this.addEventListener($[41],this._ondblclick); this.addEventListener($[13],this._onkeydown); this.addEventListener($[17],this._onkeypress); this.addEventListener($[262],this._onkeyinput); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[236]}); qx.OO.addProperty({name:$[2815],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[2862],type:$[3],defaultValue:false}); qx.Proto._pressedString=$[1]; qx.Proto.getManager=function(){return this._manager; }; qx.Proto.getListItemTarget=function($0){while($0!=null&&$0.getParent()!=this){$0=$0.getParent(); }return $0; }; qx.Proto.getSelectedItem=function(){return this.getSelectedItems()[0]; }; qx.Proto.getSelectedItems=function(){return this._manager.getSelectedItems(); }; qx.Proto._onmouseover=function($0){var $1=this.getListItemTarget($0.getTarget()); if($1){this._manager.handleMouseOver($1,$0); }}; qx.Proto._onmousedown=function($0){var $1=this.getListItemTarget($0.getTarget()); if($1){this._manager.handleMouseDown($1,$0); }}; qx.Proto._onmouseup=function($0){var $1=this.getListItemTarget($0.getTarget()); if($1){this._manager.handleMouseUp($1,$0); }}; qx.Proto._onclick=function($0){var $1=this.getListItemTarget($0.getTarget()); if($1){this._manager.handleClick($1,$0); }}; qx.Proto._ondblclick=function($0){var $1=this.getListItemTarget($0.getTarget()); if($1){this._manager.handleDblClick($1,$0); }}; qx.Proto._onkeydown=function($0){if($0.getKeyIdentifier()==$[34]&&!$0.isAltPressed()){var $1=this.getSelectedItems(); var $2; for(var $3=0;$3<$1.length;$3++){$1[$3].createDispatchEvent($[2634]); }}}; qx.Proto._onkeypress=function($0){this._manager.handleKeyPress($0); }; qx.Proto._lastKeyPress=0; qx.Proto._onkeyinput=function($0){if(!this.getEnableInlineFind()){return; }if(((new Date).valueOf()-this._lastKeyPress)>1000){this._pressedString=$[1]; }this._pressedString+=String.fromCharCode($0.getCharCode()); var $1=this.findString(this._pressedString,null); if($1){var $2=this._manager._getChangeValue(); var $3=this._manager.getFireChange(); this._manager.setFireChange(false); this._manager._deselectAll(); this._manager.setItemSelected($1,true); this._manager.setAnchorItem($1); this._manager.setLeadItem($1); $1.scrollIntoView(); this._manager.setFireChange($3); if($3&&this._manager._hasChanged($2)){this._manager._dispatchChange(); }}this._lastKeyPress=(new Date).valueOf(); $0.preventDefault(); }; qx.Proto._findItem=function($0,$1,$2){var $3=this.getChildren(); if($1==null){$1=$3.indexOf(this.getSelectedItem()); if($1==-1){$1=0; }}var $4=$[1064]+$2; for(var $5=$1;$5<$3.length;$5++){if($3[$5][$4]($0)){return $3[$5]; }}for(var $5=0;$5<$1;$5++){if($3[$5][$4]($0)){return $3[$5]; }}return null; }; qx.Proto.findString=function($0,$1){return this._findItem($0,$1||0,$[807]); }; qx.Proto.findStringExact=function($0,$1){return this._findItem($0,$1||0,$[2855]); }; qx.Proto.findValue=function($0,$1){return this._findItem($0,$1||0,$[413]); }; qx.Proto.findValueExact=function($0,$1){return this._findItem($0,$1||0,$[1754]); }; qx.Proto._sortItemsCompare=function($0,$1){return $0.key<$1.key?-1:$0.key==$1.key?0:1; }; qx.Proto.sortItemsByString=function($0){var $1=[]; var $2=this.getChildren(); for(var $3=0,$4=$2.length;$3<$4;$3++){$1[$3]={key:$2[$3].getLabel(),item:$2[$3]}; }$1.sort(this._sortItemsCompare); if($0){$1.reverse(); } for(var $3=0;$3<$4;$3++){this.addAt($1[$3].item,$3); }}; qx.Proto.sortItemsByValue=function($0){var $1=[]; var $2=this.getChildren(); for(var $3=0,$4=$2.length;$3<$4;$3++){$1[$3]={key:$2[$3].getValue(),item:$2[$3]}; }$1.sort(this._sortItemsCompare); if($0){$1.reverse(); } for(var $3=0;$3<$4;$3++){this.addAt($1[$3].item,$3); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return; } if(this._manager){this._manager.dispose(); this._manager=null; }this.removeEventListener($[33],this._onmouseover); this.removeEventListener($[6],this._onmousedown); this.removeEventListener($[7],this._onmouseup); this.removeEventListener($[18],this._onclick); this.removeEventListener($[41],this._ondblclick); this.removeEventListener($[13],this._onkeydown); this.removeEventListener($[17],this._onkeypress); this.removeEventListener($[262],this._onkeyinput); return qx.ui.layout.VerticalBoxLayout.prototype.dispose.call(this); }; /* ID: qx.manager.selection.SelectionManager */ qx.OO.defineClass($[1698],qx.core.Target,function($0){qx.core.Target.call(this); this._selectedItems=new qx.type.Selection(this); if($0!=null){this.setBoundedWidget($0); }}); qx.OO.addProperty({name:$[2197],type:$[4]}); qx.OO.addProperty({name:$[368],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[533],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[1465],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[1277],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[2017],type:$[4]}); qx.OO.addProperty({name:$[1375],type:$[4]}); qx.OO.addProperty({name:$[2246],type:$[3],defaultValue:false}); qx.Proto._modifyAnchorItem=function($0,$1,$2){if($1){this.renderItemAnchorState($1,false); } if($0){this.renderItemAnchorState($0,true); }return true; }; qx.Proto._modifyLeadItem=function($0,$1,$2){if($1){this.renderItemLeadState($1,false); } if($0){this.renderItemLeadState($0,true); }return true; }; qx.Proto._getFirst=function(){return this.getBoundedWidget().getFirstVisibleChild(); }; qx.Proto._getLast=function(){return this.getBoundedWidget().getLastVisibleChild(); }; qx.Proto.getFirst=function(){var $0=this._getFirst(); if($0){return $0.isEnabled()?$0:this.getNext($0); }}; qx.Proto.getLast=function(){var $0=this._getLast(); if($0){return $0.isEnabled()?$0:this.getPrevious($0); }}; qx.Proto.getItems=function(){return this.getBoundedWidget().getChildren(); }; qx.Proto.getNextSibling=function($0){return $0.getNextSibling(); }; qx.Proto.getPreviousSibling=function($0){return $0.getPreviousSibling(); }; qx.Proto.getNext=function($0){while($0){$0=this.getNextSibling($0); if(!$0){break; } if(this.getItemEnabled($0)){return $0; }}return null; }; qx.Proto.getPrevious=function($0){while($0){$0=this.getPreviousSibling($0); if(!$0){break; } if(this.getItemEnabled($0)){return $0; }}return null; }; qx.Proto.isBefore=function($0,$1){var $2=this.getItems(); return $2.indexOf($0)<$2.indexOf($1); }; qx.Proto.isEqual=function($0,$1){return $0==$1; }; qx.Proto.getItemHashCode=function($0){return $0.toHashCode(); }; qx.Proto.scrollItemIntoView=function($0,$1){$0.scrollIntoView($1); }; qx.Proto.getItemLeft=function($0){return $0.getOffsetLeft(); }; qx.Proto.getItemTop=function($0){return $0.getOffsetTop(); }; qx.Proto.getItemWidth=function($0){return $0.getOffsetWidth(); }; qx.Proto.getItemHeight=function($0){return $0.getOffsetHeight(); }; qx.Proto.getItemEnabled=function($0){return $0.getEnabled(); }; qx.Proto.renderItemSelectionState=function($0,$1){$1?$0.addState($[30]):$0.removeState($[30]); if($0.handleStateChange){$0.handleStateChange(); }}; qx.Proto.renderItemAnchorState=function($0,$1){$1?$0.addState($[607]):$0.removeState($[607]); if($0.handleStateChange!=null){$0.handleStateChange(); }}; qx.Proto.renderItemLeadState=function($0,$1){$1?$0.addState($[453]):$0.removeState($[453]); if($0.handleStateChange!=null){$0.handleStateChange(); }}; qx.Proto.getItemSelected=function($0){return this._selectedItems.contains($0); }; qx.Proto.setItemSelected=function($0,$1){var $2=this.getItemHashCode($0); switch(this.getMultiSelection()){case true:if(!this.getItemEnabled($0)){return; }if(this.getItemSelected($0)==$1){return; }this.renderItemSelectionState($0,$1); $1?this._selectedItems.add($0):this._selectedItems.remove($0); this._dispatchChange(); break; case false:var $3=this.getSelectedItems()[0]; if($1){var $4=$3; if(this.isEqual($0,$4)){return; }if($4!=null){this.renderItemSelectionState($4,false); }this.renderItemSelectionState($0,true); this._selectedItems.removeAll(); this._selectedItems.add($0); this._dispatchChange(); }else{if(!this.isEqual($3,$0)){this.renderItemSelectionState($0,false); this._selectedItems.removeAll(); this._dispatchChange(); }}break; }}; qx.Proto.getSelectedItems=function(){return this._selectedItems.toArray(); }; qx.Proto.getSelectedItem=function(){return this._selectedItems.getFirst(); }; qx.Proto.setSelectedItems=function($0){var $1=this._getChangeValue(); var $2=this.getFireChange(); this.setFireChange(false); this._deselectAll(); var $3; var $4=$0.length; for(var $5=0;$5<$4;$5++){$3=$0[$5]; if(!this.getItemEnabled($3)){continue; }this._selectedItems.add($3); this.renderItemSelectionState($3,true); }this.setFireChange($2); if($2&&this._hasChanged($1)){this._dispatchChange(); }}; qx.Proto.setSelectedItem=function($0){if(!$0){return; } if(!this.getItemEnabled($0)){return; }var $1=this._getChangeValue(); var $2=this.getFireChange(); this.setFireChange(false); this._deselectAll(); this._selectedItems.add($0); this.renderItemSelectionState($0,true); this.setFireChange($2); if($2&&this._hasChanged($1)){this._dispatchChange(); }}; qx.Proto.selectAll=function(){var $0=this._getChangeValue(); var $1=this.getFireChange(); this.setFireChange(false); this._selectAll(); this.setFireChange($1); if($1&&this._hasChanged($0)){this._dispatchChange(); }}; qx.Proto._selectAll=function(){if(!this.getMultiSelection()){return; }var $0; var $1=this.getItems(); var $2=$1.length; this._selectedItems.removeAll(); for(var $3=0;$3<$2;$3++){$0=$1[$3]; if(!this.getItemEnabled($0)){continue; }this._selectedItems.add($0); this.renderItemSelectionState($0,true); }return true; }; qx.Proto.deselectAll=function(){var $0=this._getChangeValue(); var $1=this.getFireChange(); this.setFireChange(false); this._deselectAll(); this.setFireChange($1); if($1&&this._hasChanged($0))this._dispatchChange(); }; qx.Proto._deselectAll=function(){var $0=this._selectedItems.toArray(); for(var $1=0;$1<$0.length;$1++){this.renderItemSelectionState($0[$1],false); }this._selectedItems.removeAll(); return true; }; qx.Proto.selectItemRange=function($0,$1){var $2=this._getChangeValue(); var $3=this.getFireChange(); this.setFireChange(false); this._selectItemRange($0,$1,true); this.setFireChange($3); if($3&&this._hasChanged($2)){this._dispatchChange(); }}; qx.Proto._selectItemRange=function($0,$1,$2){if(this.isBefore($1,$0)){return this._selectItemRange($1,$0,$2); }if($2){this._deselectAll(); }var $3=$0; while($3!=null){if(this.getItemEnabled($3)){this._selectedItems.add($3); this.renderItemSelectionState($3,true); }if(this.isEqual($3,$1)){break; }$3=this.getNext($3); }return true; }; qx.Proto._deselectItemRange=function($0,$1){if(this.isBefore($1,$0)){return this._deselectItemRange($1,$0); }var $2=$0; while($2!=null){this._selectedItems.remove($2); this.renderItemSelectionState($2,false); if(this.isEqual($2,$1)){break; }$2=this.getNext($2); }}; qx.Proto._activeDragSession=false; qx.Proto.handleMouseDown=function($0,$1){if(!$1.isLeftButtonPressed()&&!$1.isRightButtonPressed()){return; }if($1.isRightButtonPressed()&&this.getItemSelected($0)){return; }if($1.isShiftPressed()||this.getDragSelection()||(!this.getItemSelected($0)&&!$1.isCtrlPressed())){this._onmouseevent($0,$1); }else{this.setLeadItem($0); }this._activeDragSession=this.getDragSelection(); if(this._activeDragSession){this.getBoundedWidget().addEventListener($[7],this._ondragup,this); this.getBoundedWidget().setCapture(true); }}; qx.Proto._ondragup=function($0){this.getBoundedWidget().removeEventListener($[7],this._ondragup,this); this.getBoundedWidget().setCapture(false); this._activeDragSession=false; }; qx.Proto.handleMouseUp=function($0,$1){if(!$1.isLeftButtonPressed()){return; } if($1.isCtrlPressed()||this.getItemSelected($0)&&!this._activeDragSession){this._onmouseevent($0,$1); } if(this._activeDragSession){this._activeDragSession=false; this.getBoundedWidget().setCapture(false); }}; qx.Proto.handleMouseOver=function($0,$1){if(!this.getDragSelection()||!this._activeDragSession){return; }this._onmouseevent($0,$1,true); }; qx.Proto.handleClick=function($0,$1){}; qx.Proto.handleDblClick=function($0,$1){}; qx.Proto._onmouseevent=function($0,$1,$2){if(!this.getItemEnabled($0)){return; }var $3=this._getChangeValue(); var $4=this.getLeadItem(); var $5=this.getFireChange(); this.setFireChange(false); var $6=this.getSelectedItems(); var $7=$6.length; this.setLeadItem($0); var $8=this.getAnchorItem(); var $9=$1.isCtrlPressed(); var $a=$1.isShiftPressed(); if(!$8||$7==0||($9&&!$a&&this.getMultiSelection()&&!this.getDragSelection())){this.setAnchorItem($0); $8=$0; }if((!$9&&!$a&&!this._activeDragSession||!this.getMultiSelection())){if(!this.getItemEnabled($0)){return; }this._deselectAll(); this.setAnchorItem($0); if(this._activeDragSession){this.scrollItemIntoView((this.getBoundedWidget().getScrollTop()>(this.getItemTop($0)-1)?this.getPrevious($0):this.getNext($0))||$0); } if(!this.getItemSelected($0)){this.renderItemSelectionState($0,true); }this._selectedItems.add($0); this._addToCurrentSelection=true; }else if(this._activeDragSession&&$2){if($4){this._deselectItemRange($8,$4); }if(this.isBefore($8,$0)){if(this._addToCurrentSelection){this._selectItemRange($8,$0,false); }else{this._deselectItemRange($8,$0); }}else{if(this._addToCurrentSelection){this._selectItemRange($0,$8,false); }else{this._deselectItemRange($0,$8); }}this.scrollItemIntoView((this.getBoundedWidget().getScrollTop()>(this.getItemTop($0)-1)?this.getPrevious($0):this.getNext($0))||$0); }else if(this.getMultiSelection()&&$9&&!$a){if(!this._activeDragSession){this._addToCurrentSelection=!(this.getCanDeselect()&&this.getItemSelected($0)); }this.setItemSelected($0,this._addToCurrentSelection); this.setAnchorItem($0); }else if(this.getMultiSelection()&&$9&&$a){if(!this._activeDragSession){this._addToCurrentSelection=!(this.getCanDeselect()&&this.getItemSelected($0)); } if(this._addToCurrentSelection){this._selectItemRange($8,$0,false); }else{this._deselectItemRange($8,$0); }}else if(this.getMultiSelection()&&!$9&&$a){if(this.getCanDeselect()){this._selectItemRange($8,$0,true); }else{if($4){this._deselectItemRange($8,$4); }this._selectItemRange($8,$0,false); }}this.setFireChange($5); if($5&&this._hasChanged($3)){this._dispatchChange(); }}; qx.Proto.handleKeyDown=function($0){this.warn($[2782]+$[2971]); this.handleKeyPress($0); }; qx.Proto.handleKeyPress=function($0){var $1=this._getChangeValue(); var $2=this.getFireChange(); this.setFireChange(false); if($0.getKeyIdentifier()==$[61]&&$0.isCtrlPressed()){if(this.getMultiSelection()){this._selectAll(); this.setLeadItem(this.getFirst()); }}else{var $3=this.getAnchorItem(); var $4=this.getItemToSelect($0); if($4&&this.getItemEnabled($4)){this.setLeadItem($4); this.scrollItemIntoView($4); $0.preventDefault(); if($0.isShiftPressed()&&this.getMultiSelection()){if($3==null){this.setAnchorItem($4); }this._selectItemRange(this.getAnchorItem(),$4,true); }else if(!$0.isCtrlPressed()){this._deselectAll(); this.renderItemSelectionState($4,true); this._selectedItems.add($4); this.setAnchorItem($4); }else if($0.getKeyIdentifier()==$[103]){if(this._selectedItems.contains($4)){this.renderItemSelectionState($4,false); this._selectedItems.remove($4); this.setAnchorItem(this._selectedItems.getFirst()); }else{if(!$0.isCtrlPressed()||!this.getMultiSelection()){this._deselectAll(); }this.renderItemSelectionState($4,true); this._selectedItems.add($4); this.setAnchorItem($4); }}}}this.setFireChange($2); if($2&&this._hasChanged($1)){this._dispatchChange(); }}; qx.Proto.getItemToSelect=function($0){if($0.isAltPressed()){return null; }switch($0.getKeyIdentifier()){case $[147]:return this.getHome(this.getLeadItem()); case $[163]:return this.getEnd(this.getLeadItem()); case $[76]:return this.getDown(this.getLeadItem()); case $[87]:return this.getUp(this.getLeadItem()); case $[58]:return this.getLeft(this.getLeadItem()); case $[59]:return this.getRight(this.getLeadItem()); case $[89]:return this.getPageUp(this.getLeadItem())||this.getHome(this.getLeadItem()); case $[105]:return this.getPageDown(this.getLeadItem())||this.getEnd(this.getLeadItem()); case $[103]:if($0.isCtrlPressed()){return this.getLeadItem(); }}return null; }; qx.Proto._dispatchChange=function(){if(!this.getFireChange()){return; } if(this.hasEventListeners($[164])){this.dispatchEvent(new qx.event.type.DataEvent($[164],this.getSelectedItems()),true); }}; qx.Proto._hasChanged=function($0){return $0!=this._getChangeValue(); }; qx.Proto._getChangeValue=function(){return this._selectedItems.getChangeValue(); }; qx.Proto.getHome=function(){return this.getFirst(); }; qx.Proto.getEnd=function(){return this.getLast(); }; qx.Proto.getDown=function($0){if(!$0){return this.getFirst(); }return this.getMultiColumnSupport()?(this.getUnder($0)||this.getLast()):this.getNext($0); }; qx.Proto.getUp=function($0){if(!$0){return this.getLast(); }return this.getMultiColumnSupport()?(this.getAbove($0)||this.getFirst()):this.getPrevious($0); }; qx.Proto.getLeft=function($0){if(!this.getMultiColumnSupport()){return null; }return !$0?this.getLast():this.getPrevious($0); }; qx.Proto.getRight=function($0){if(!this.getMultiColumnSupport()){return null; }return !$0?this.getFirst():this.getNext($0); }; qx.Proto.getAbove=function($0){throw new Error("getAbove(): Not implemented yet"); }; qx.Proto.getUnder=function($0){throw new Error("getUnder(): Not implemented yet"); }; qx.Proto.getPageUp=function($0){var $1=this.getBoundedWidget(); var $2=$1.getScrollTop(); var $3=$1.getClientHeight(); var $4; var $5=this.getLeadItem(); if(!$5){$5=this.getFirst(); }var $6=0; while($6<2){while($5&&(this.getItemTop($5)-this.getItemHeight($5)>=$2)){$5=this.getUp($5); }if($5==null){break; }if($5!=this.getLeadItem()){this.scrollItemIntoView($5,true); break; }$1.setScrollTop($2-$3-this.getItemHeight($5)); $2=$1.getScrollTop(); $6++; }return $5; }; qx.Proto.getPageDown=function($0){var $1=this.getBoundedWidget(); var $2=$1.getScrollTop(); var $3=$1.getClientHeight(); var $4; var $5=this.getLeadItem(); if(!$5){$5=this.getFirst(); }var $6=0; while($6<2){while($5&&((this.getItemTop($5)+(2*this.getItemHeight($5)))<=($2+$3))){$5=this.getDown($5); }if($5==null){break; }if($5!=this.getLeadItem()){break; }$1.setScrollTop($2+$3-2*this.getItemHeight($5)); $2=$1.getScrollTop(); $6++; }return $5; }; qx.Proto.dispose=function(){if(this.getDisposed()){return; } if(this._selectedItems){this._selectedItems.dispose(); this._selectedItems=null; }return qx.core.Target.prototype.dispose.call(this); }; /* ID: qx.type.Selection */ qx.OO.defineClass($[1509],qx.core.Object,function($0){qx.core.Object.call(this); this._manager=$0; this.removeAll(); }); qx.Proto.add=function($0){this._storage[this.getItemHashCode($0)]=$0; }; qx.Proto.remove=function($0){delete this._storage[this.getItemHashCode($0)]; }; qx.Proto.removeAll=function(){this._storage={}; }; qx.Proto.contains=function($0){return this.getItemHashCode($0) in this._storage; }; qx.Proto.toArray=function(){var $0=[]; for(var $1 in this._storage){$0.push(this._storage[$1]); }return $0; }; qx.Proto.getFirst=function(){for(var $0 in this._storage){return this._storage[$0]; }}; qx.Proto.getChangeValue=function(){var $0=[]; for(var $1 in this._storage){$0.push($1); }$0.sort(); return $0.join($[77]); }; qx.Proto.getItemHashCode=function($0){return this._manager.getItemHashCode($0); }; qx.Proto.isEmpty=function(){return qx.lang.Object.isEmpty(this._storage); }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this._storage=null; this._manager=null; qx.core.Object.prototype.dispose.call(this); }; /* ID: qx.ui.form.ListItem */ qx.OO.defineClass($[947],qx.ui.basic.Atom,function($0,$1,$2){qx.ui.basic.Atom.call(this,$0,$1); if($2!=null){this.setValue($2); }this.addEventListener($[41],this._ondblclick); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[2672]}); qx.OO.addProperty({name:$[85]}); qx.Proto.handleStateChange=function(){if(this.hasState($[453])){this.setStyleProperty($[278],$[284]); this.setStyleProperty($[297],$[284]); }else{this.removeStyleProperty($[278]); this.setStyleProperty($[297],$[211]); }}; qx.Proto._applyStateStyleFocus=function($0){}; qx.Proto.matchesString=function($0){return $0!=$[1]&&this.getLabel().toLowerCase().indexOf($0.toLowerCase())==0; }; qx.Proto.matchesStringExact=function($0){return $0!=$[1]&&this.getLabel().toLowerCase()==String($0).toLowerCase(); }; qx.Proto.matchesValue=function($0){return $0!=$[1]&&this.getValue().toLowerCase().indexOf($0.toLowerCase())==0; }; qx.Proto.matchesValueExact=function($0){return $0!=$[1]&&this.getValue().toLowerCase()==String($0).toLowerCase(); }; qx.Proto._ondblclick=function($0){var $1=this.getCommand(); if($1){$1.execute(); }}; /* ID: qx.Locale */ qx.OO.defineClass($[1347],{_registry:{},define:function($0,$1){var $2=$0.split($[50]); var $3=$2.length; var $4=window; var $5=$2[0]; for(var $6=0,$7=$2.length-1;$6<$7;$6++){if(!$4[$5]){$4[$5]={}; }$4=$4[$5]; $5=$2[$6+1]; }$4[$5]=$1; qx.locale.Manager.getInstance().addTranslation($5,$1); qx.Locale._registry[$0]=$1; },byName:function($0){return qx.Locale._registry[$0]; },isDefined:function($0){return qx.Locale.byName($0)!==undefined; }}); /* ID: qx.locale.data.fr */ qx.Locale.define($[2811],{cldr_alternateQuotationEnd:$[296],cldr_alternateQuotationStart:$[238],cldr_date_format_full:$[1130],cldr_date_format_long:$[1203],cldr_date_format_medium:$[1025],cldr_date_format_short:$[403],cldr_date_time_format_HHmm:$[195],cldr_date_time_format_HHmmss:$[137],cldr_date_time_format_MMMMd:$[2479],cldr_date_time_format_MMdd:$[438],cldr_date_time_format_hhmm:$[394],cldr_date_time_format_hhmmss:$[504],cldr_date_time_format_yyMM:$[252],cldr_date_time_format_yyQQQQ:$[270],cldr_date_time_format_yyyyMMMM:$[789],cldr_day_abbreviated_fri:$[1987],cldr_day_abbreviated_mon:$[2947],cldr_day_abbreviated_sat:$[1944],cldr_day_abbreviated_sun:$[2259],cldr_day_abbreviated_thu:$[1789],cldr_day_abbreviated_tue:$[1418],cldr_day_abbreviated_wed:$[2444],cldr_day_narrow_fri:$[764],cldr_day_narrow_mon:$[466],cldr_day_narrow_sat:$[66],cldr_day_narrow_sun:$[121],cldr_day_narrow_thu:$[63],cldr_day_narrow_tue:$[57],cldr_day_narrow_wed:$[57],cldr_day_wide_fri:$[2556],cldr_day_wide_mon:$[2981],cldr_day_wide_sat:$[2491],cldr_day_wide_sun:$[1145],cldr_day_wide_thu:$[1079],cldr_day_wide_tue:$[2523],cldr_day_wide_wed:$[1217],cldr_month_abbreviated_1:$[1894],cldr_month_abbreviated_10:$[2944],cldr_month_abbreviated_11:$[2660],cldr_month_abbreviated_12:$[1169],cldr_month_abbreviated_2:$[2490],cldr_month_abbreviated_3:$[708],cldr_month_abbreviated_4:$[1896],cldr_month_abbreviated_5:$[559],cldr_month_abbreviated_6:$[583],cldr_month_abbreviated_7:$[1155],cldr_month_abbreviated_8:$[674],cldr_month_abbreviated_9:$[2542],cldr_month_narrow_1:$[63],cldr_month_narrow_10:$[179],cldr_month_narrow_11:$[209],cldr_month_narrow_12:$[121],cldr_month_narrow_2:$[132],cldr_month_narrow_3:$[57],cldr_month_narrow_4:$[61],cldr_month_narrow_5:$[57],cldr_month_narrow_6:$[63],cldr_month_narrow_7:$[63],cldr_month_narrow_8:$[61],cldr_month_narrow_9:$[66],cldr_month_wide_1:$[2604],cldr_month_wide_10:$[2217],cldr_month_wide_11:$[1276],cldr_month_wide_12:$[1870],cldr_month_wide_2:$[1929],cldr_month_wide_3:$[708],cldr_month_wide_4:$[1223],cldr_month_wide_5:$[559],cldr_month_wide_6:$[583],cldr_month_wide_7:$[1851],cldr_month_wide_8:$[674],cldr_month_wide_9:$[1176],cldr_number_decimal_separator:$[19],cldr_number_group_separator:$[1823],cldr_number_percent_format:$[2473],cldr_quotationEnd:$[1070],cldr_quotationStart:$[2799],cldr_time_format_full:$[1261]}); /* ID: qx.theme.color.WindowsClassic */ qx.OO.defineClass($[1868],qx.renderer.theme.ColorTheme,function(){qx.renderer.theme.ColorTheme.call(this,$[1605]); }); qx.Proto._colors=qx.lang.Object.carefullyMergeWith({activeborder:[212,208,200],activecaption:[10,36,106],appworkspace:[128,128,128],background:[58,110,165],buttonface:[212,208,200],buttonhighlight:[255,255,255],buttonshadow:[128,128,128],buttontext:[0,0,0],captiontext:[255,255,255],graytext:[128,128,128],highlight:[10,36,106],highlighttext:[255,255,255],inactiveborder:[212,208,200],inactivecaption:[128,128,128],inactivecaptiontext:[212,208,200],infobackground:[255,255,225],infotext:[0,0,0],menu:[212,208,200],menutext:[0,0,0],scrollbar:[212,208,200],threeddarkshadow:[64,64,64],threedface:[212,208,200],threedhighlight:[255,255,255],threedlightshadow:[212,208,200],threedshadow:[128,128,128],window:[255,255,255],windowframe:[0,0,0],windowtext:[0,0,0]},qx.Super.prototype._colors); qx.Clazz.getInstance=qx.lang.Function.returnInstance; qx.manager.object.ColorManager.getInstance().registerColorTheme(qx.Clazz); /* ID: qx.io.remote.Exchange */ qx.OO.defineClass($[37],qx.core.Target,function($0){qx.core.Target.call(this); this.setRequest($0); $0.setTransport(this); }); qx.Settings.setDefault($[31],false); qx.io.remote.Exchange.typesOrder=[$[526],$[500],$[473]]; qx.io.remote.Exchange.typesReady=false; qx.io.remote.Exchange.typesAvailable={}; qx.io.remote.Exchange.typesSupported={}; qx.io.remote.Exchange.registerType=function($0,$1){qx.io.remote.Exchange.typesAvailable[$1]=$0; }; qx.io.remote.Exchange.initTypes=function(){if(qx.io.remote.Exchange.typesReady){return; } for(var $0 in qx.io.remote.Exchange.typesAvailable){var $1=qx.io.remote.Exchange.typesAvailable[$0]; if($1.isSupported()){qx.io.remote.Exchange.typesSupported[$0]=$1; }}qx.io.remote.Exchange.typesReady=true; if(qx.lang.Object.isEmpty(qx.io.remote.Exchange.typesSupported)){throw new Error("No supported transport types were found!"); }}; qx.io.remote.Exchange.canHandle=function($0,$1,$2){if(!qx.lang.Array.contains($0.handles.responseTypes,$2)){return false; } for(var $3 in $1){if(!$0.handles[$3]){return false; }}return true; }; qx.io.remote.Exchange._nativeMap={0:$[178],1:$[116],2:$[56],3:$[67],4:$[22]}; qx.io.remote.Exchange.wasSuccessful=function($0,$1,$2){if($2){switch($0){case null:case 0:return true; case -1:return $1<4; default:return typeof $0===$[40]; }}else{switch($0){case -1:if(qx.Settings.getValueOfClass($[37],$[31])&&$1>3){qx.log.Logger.getClassLogger(qx.io.remote.Exchange).debug("Failed with statuscode: -1 at readyState "+$1); }return $1<4; case 200:case 304:return true; case 201:case 202:case 203:case 204:case 205:return true; case 206:if(qx.Settings.getValueOfClass($[37],$[31])&&$1===4){qx.log.Logger.getClassLogger(qx.io.remote.Exchange).debug("Failed with statuscode: 206 (Partial content while being complete!)"); }return $1!==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:if(qx.Settings.getValueOfClass($[37],$[31])){qx.log.Logger.getClassLogger(qx.io.remote.Exchange).debug("Failed with typical HTTP statuscode: "+$0); }return false; case 12002:case 12029:case 12030:case 12031:case 12152:case 13030:if(qx.Settings.getValueOfClass($[37],$[31])){qx.log.Logger.getClassLogger(qx.io.remote.Exchange).debug("Failed with MSHTML specific HTTP statuscode: "+$0); }return false; default:if($0>206&&$0<300){return true; }qx.log.Logger.getClassLogger(qx.io.remote.Exchange).debug("Unknown status code: "+$0+" ("+$1+")"); throw new Error("Unknown status code: "+$0); }}}; qx.io.remote.Exchange.statusCodeToString=function($0){switch($0){case -1:return $[1946]; case 200:return $[2728]; case 304:return $[1028]; case 206:return $[1080]; case 204:return $[1968]; case 300:return $[2397]; case 301:return $[2517]; case 302:return $[1486]; case 303:return $[1209]; case 305:return $[998]; case 400:return $[2545]; case 401:return $[2625]; case 402:return $[2415]; case 403:return $[2056]; case 404:return $[2610]; case 405:return $[2726]; case 406:return $[1353]; case 407:return $[2079]; case 408:return $[2346]; case 409:return $[1881]; case 410:return $[2619]; case 411:return $[2809]; case 412:return $[2738]; case 413:return $[2198]; case 414:return $[1350]; case 415:return $[2733]; case 500:return $[1730]; case 501:return $[1022]; case 502:return $[1237]; case 503:return $[2706]; case 504:return $[2767]; case 505:return $[1083]; case 12002:return $[1719]; case 12029:return $[564]; case 12030:return $[564]; case 12031:return $[564]; case 12152:return $[1397]; case 13030:return $[2567]; default:return $[1937]; }}; qx.OO.addProperty({name:$[778],type:$[4],instance:$[907]}); qx.OO.addProperty({name:$[908],type:$[4]}); qx.OO.addProperty({name:$[276],type:$[0],possibleValues:[$[116],$[56],$[67],$[22],$[43],$[29],$[35]],defaultValue:$[116]}); qx.Proto.send=function(){var $0=this.getRequest(); if(!$0){return this.error("Please attach a request object first"); }qx.io.remote.Exchange.initTypes(); var $1=qx.io.remote.Exchange.typesOrder; var $2=qx.io.remote.Exchange.typesSupported; var $3=$0.getResponseType(); var $4={}; if($0.getAsynchronous()){$4.asynchronous=true; }else{$4.synchronous=true; } if($0.getCrossDomain()){$4.crossDomain=true; } if($0.getFileUpload()){$4.fileUpload=true; }for(var $5 in $0.getFormFields()){$4.programaticFormFields=true; break; }var $6,$7; for(var $8=0,$9=$1.length;$8<$9;$8++){$6=$2[$1[$8]]; if($6){if(!qx.io.remote.Exchange.canHandle($6,$4,$3)){continue; } try{if(qx.Settings.getValueOfClass($[37],$[31])){this.debug("Using implementation: "+$6.classname); }$7=new $6; this.setImplementation($7); $7.setUseBasicHttpAuth($0.getUseBasicHttpAuth()); $7.send(); return true; }catch(ex){return this.error("Request handler throws error",ex); }}}this.error("There is no transport implementation available to handle this request: "+$0); }; qx.Proto.abort=function(){var $0=this.getImplementation(); if($0){if(qx.Settings.getValueOfClass($[37],$[31])){this.debug("Abort: implementation "+$0.toHashCode()); }$0.abort(); }else{if(qx.Settings.getValueOfClass($[37],$[31])){this.debug("Abort: forcing state to be aborted"); }this.setState($[43]); }}; qx.Proto.timeout=function(){var $0=this.getImplementation(); if($0){this.warn($[2572]+$0.toHashCode()); $0.timeout(); }else{this.warn($[1036]); this.setState($[29]); }if(this.getRequest()){this.getRequest().setTimeout(0); }}; qx.Proto._onsending=function($0){this.setState($[56]); }; qx.Proto._onreceiving=function($0){this.setState($[67]); }; qx.Proto._oncompleted=function($0){this.setState($[22]); }; qx.Proto._onabort=function($0){this.setState($[43]); }; qx.Proto._onfailed=function($0){this.setState($[35]); }; qx.Proto._ontimeout=function($0){this.setState($[29]); }; qx.Proto._modifyImplementation=function($0,$1,$2){if($1){$1.removeEventListener($[56],this._onsending,this); $1.removeEventListener($[67],this._onreceiving,this); $1.removeEventListener($[22],this._oncompleted,this); $1.removeEventListener($[43],this._onabort,this); $1.removeEventListener($[29],this._ontimeout,this); $1.removeEventListener($[35],this._onfailed,this); } if($0){var $3=this.getRequest(); $0.setUrl($3.getUrl()); $0.setMethod($3.getMethod()); $0.setAsynchronous($3.getAsynchronous()); $0.setUsername($3.getUsername()); $0.setPassword($3.getPassword()); $0.setParameters($3.getParameters()); $0.setRequestHeaders($3.getRequestHeaders()); $0.setData($3.getData()); $0.setResponseType($3.getResponseType()); $0.addEventListener($[56],this._onsending,this); $0.addEventListener($[67],this._onreceiving,this); $0.addEventListener($[22],this._oncompleted,this); $0.addEventListener($[43],this._onabort,this); $0.addEventListener($[29],this._ontimeout,this); $0.addEventListener($[35],this._onfailed,this); }return true; }; qx.Proto._modifyState=function($0,$1,$2){var $3=this.getRequest(); if(qx.Settings.getValueOfClass($[37],$[31])){this.debug("State: "+$1+" => "+$0); } switch($0){case $[56]:this.createDispatchEvent($[56]); break; case $[67]:this.createDispatchEvent($[67]); break; case $[22]:case $[43]:case $[29]:case $[35]:var $4=this.getImplementation(); if(!$4){break; }var $5=new qx.io.remote.Response; if($0==$[22]){var $6=$4.getResponseContent(); $5.setContent($6); if($6===null){if(qx.Settings.getValueOfClass($[37],$[31])){this.debug("Altered State: "+$0+" => failed"); }$0=$[35]; }}$5.setStatusCode($4.getStatusCode()); $5.setResponseHeaders($4.getResponseHeaders()); var $7; switch($0){case $[22]:$7=$[22]; break; case $[43]:$7=$[43]; break; case $[29]:$7=$[29]; break; case $[35]:$7=$[35]; break; }this.setImplementation(null); $4.dispose(); this.createDispatchDataEvent($7,$5); break; }return true; }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }var $0=this.getImplementation(); if($0){this.setImplementation(null); $0.dispose(); }this.setRequest(null); return qx.core.Target.prototype.dispose.call(this); }; /* ID: qx.io.remote.AbstractRemoteTransport */ qx.OO.defineClass($[2054],qx.core.Target,function(){qx.core.Target.call(this); }); qx.OO.addProperty({name:$[269],type:$[0]}); qx.OO.addProperty({name:$[518],type:$[0]}); qx.OO.addProperty({name:$[604],type:$[3]}); qx.OO.addProperty({name:$[263],type:$[0]}); qx.OO.addProperty({name:$[464],type:$[0]}); qx.OO.addProperty({name:$[333],type:$[0]}); qx.OO.addProperty({name:$[276],type:$[0],possibleValues:[$[178],$[116],$[56],$[67],$[22],$[43],$[29],$[35]],defaultValue:$[178]}); qx.OO.addProperty({name:$[1187],type:$[4]}); qx.OO.addProperty({name:$[928],type:$[4]}); qx.OO.addProperty({name:$[869],type:$[0]}); qx.OO.addProperty({name:$[405],type:$[3]}); qx.Proto.send=function(){throw new Error("send is abstract"); }; qx.Proto.abort=function(){if(qx.Settings.getValueOfClass($[37],$[31])){this.warn($[1926]); }this.setState($[43]); }; qx.Proto.timeout=function(){if(qx.Settings.getValueOfClass($[37],$[31])){this.warn($[1268]); }this.setState($[29]); }; qx.Proto.failed=function(){if(qx.Settings.getValueOfClass($[37],$[31])){this.warn($[2858]); }this.setState($[35]); }; qx.Proto.setRequestHeader=function($0,$1){throw new Error("setRequestHeader is abstract"); }; qx.Proto.getResponseHeader=function($0){throw new Error("getResponseHeader is abstract"); }; qx.Proto.getResponseHeaders=function(){throw new Error("getResponseHeaders is abstract"); }; qx.Proto.getStatusCode=function(){throw new Error("getStatusCode is abstract"); }; qx.Proto.getStatusText=function(){throw new Error("getStatusText is abstract"); }; qx.Proto.getResponseText=function(){throw new Error("getResponseText is abstract"); }; qx.Proto.getResponseXml=function(){throw new Error("getResponseXml is abstract"); }; qx.Proto.getFetchedLength=function(){throw new Error("getFetchedLength is abstract"); }; qx.Proto._modifyState=function($0,$1,$2){if(qx.Settings.getValueOfClass($[37],$[31])){this.debug("State: "+$0); } switch($0){case $[178]:this.createDispatchEvent($[178]); break; case $[116]:this.createDispatchEvent($[116]); break; case $[56]:this.createDispatchEvent($[56]); break; case $[67]:this.createDispatchEvent($[67]); break; case $[22]:this.createDispatchEvent($[22]); break; case $[43]:this.createDispatchEvent($[43]); break; case $[35]:this.createDispatchEvent($[35]); break; case $[29]:this.createDispatchEvent($[29]); break; }return true; }; /* ID: qx.util.Mime */ qx.OO.defineClass($[2287],{JAVASCRIPT:"text/javascript",JSON:"application/json",XML:"application/xml",TEXT:"text/plain",HTML:"text/html"}); /* ID: qx.io.remote.XmlHttpTransport */ qx.OO.defineClass($[526],qx.io.remote.AbstractRemoteTransport,function(){qx.io.remote.AbstractRemoteTransport.call(this); this._req=qx.io.remote.XmlHttpTransport.createRequestObject(); var $0=this; this._req.onreadystatechange=function($1){return $0._onreadystatechange($1); }; }); qx.io.remote.Exchange.registerType(qx.io.remote.XmlHttpTransport,$[526]); qx.io.remote.XmlHttpTransport.handles={synchronous:true,asynchronous:true,crossDomain:false,fileUpload:false,programaticFormFields:false,responseTypes:[qx.util.Mime.TEXT,qx.util.Mime.JAVASCRIPT,qx.util.Mime.JSON,qx.util.Mime.XML,qx.util.Mime.HTML]}; qx.io.remote.XmlHttpTransport.requestObjects=[]; qx.io.remote.XmlHttpTransport.requestObjectCount=0; qx.io.remote.XmlHttpTransport.isSupported=function(){return qx.net.HttpRequest.create()!=null?true:false; }; qx.io.remote.XmlHttpTransport.createRequestObject=function(){return qx.net.HttpRequest.create(); }; qx.Proto._localRequest=false; qx.Proto._lastReadyState=0; qx.Proto.getRequest=function(){return this._req; }; qx.Proto.send=function(){this._lastReadyState=0; var $0=this.getRequest(); var $1=this.getMethod(); var $2=this.getAsynchronous(); var $3=this.getUrl(); var $4=(qx.core.Client.getInstance().getRunsLocally()&&!(/^http(s){0,1}\:/.test($3))); this._localRequest=$4; var $5=this.getParameters(); var $6=[]; for(var $7 in $5){var $8=$5[$7]; if($8 instanceof Array){for(var $9=0;$9<$8.length;$9++){$6.push(encodeURIComponent($7)+$[21]+encodeURIComponent($8[$9])); }}else{$6.push(encodeURIComponent($7)+$[21]+encodeURIComponent($8)); }} if($6.length>0){$3+=($3.indexOf($[189])>=0?$[51]:$[189])+$6.join($[51]); }var $a=function($b){var $c=$[1658]; var $d=$[1]; var $e,$f,$g; var $h,$i,$j,$k; var $9=0; do{$e=$b.charCodeAt($9++); $f=$b.charCodeAt($9++); $g=$b.charCodeAt($9++); $h=$e>>2; $i=(($e&3)<<4)|($f>>4); $j=(($f&15)<<2)|($g>>6); $k=$g&63; if(isNaN($f)){$j=$k=64; }else if(isNaN($g)){$k=64; }$d+=$c.charAt($h)+$c.charAt($i)+$c.charAt($j)+$c.charAt($k); }while($9<$b.length); return $d; }; if(this.getUsername()){if(this.getUseBasicHttpAuth()){$0.open($1,$3,$2); $0.setRequestHeader($[1562],$[2042]+$a(this.getUsername()+$[2076]+this.getPassword())); }else{$0.open($1,$3,$2,this.getUsername(),this.getPassword()); }}else{$0.open($1,$3,$2); }$0.setRequestHeader($[2066],window.location.href); var $b=this.getRequestHeaders(); for(var $7 in $b){$0.setRequestHeader($7,$b[$7]); }try{$0.send(this.getData()); }catch(ex){if($4){this.failedLocally(); }else{this.error("Failed to send data: "+ex,"send"); this.failed(); }return; }if(!$2){this._onreadystatechange(); }}; qx.Proto.failedLocally=function(){if(this.getState()===$[35]){return; }this.warn($[988]+this.getUrl()); this.failed(); }; qx.Proto._onreadystatechange=function($0){switch(this.getState()){case $[22]:case $[43]:case $[35]:case $[29]:if(qx.Settings.getValueOfClass($[37],$[31])){this.warn($[433]); }return; }var $1=this.getReadyState(); if($1==4){if(!qx.io.remote.Exchange.wasSuccessful(this.getStatusCode(),$1,this._localRequest)){return this.failed(); }}while(this._lastReadyState<$1){this.setState(qx.io.remote.Exchange._nativeMap[++this._lastReadyState]); }}; qx.Proto.getReadyState=function(){var $0=null; try{$0=this._req.readyState; }catch(ex){}return $0; }; qx.Proto.setRequestHeader=function($0,$1){this._req.setRequestHeader($0,$1); }; qx.Proto.getResponseHeader=function($0){var $1=null; try{this.getRequest().getResponseHeader($0)||null; }catch(ex){}return $1; }; qx.Proto.getStringResponseHeaders=function(){var $0=null; try{var $1=this._req.getAllResponseHeaders(); if($1){$0=$1; }}catch(ex){}return $0; }; qx.Proto.getResponseHeaders=function(){var $0=this.getStringResponseHeaders(); var $1={}; if($0){var $2=$0.split(/[\r\n]+/g); for(var $3=0,$4=$2.length;$3<$4;$3++){var $5=$2[$3].match(/^([^:]+)\s*:\s*(.+)$/i); if($5){$1[$5[1]]=$5[2]; }}}return $1; }; qx.Proto.getStatusCode=function(){var $0=-1; try{$0=this.getRequest().status; }catch(ex){}return $0; }; qx.Proto.getStatusText=function(){var $0=$[1]; try{$0=this.getRequest().statusText; }catch(ex){}return $0; }; qx.Proto.getResponseText=function(){var $0=null; var $1=this.getStatusCode(); var $2=this.getReadyState(); if(qx.io.remote.Exchange.wasSuccessful($1,$2,this._localRequest)){try{$0=this.getRequest().responseText; }catch(ex){}}return $0; }; qx.Proto.getResponseXml=function(){var $0=null; var $1=this.getStatusCode(); var $2=this.getReadyState(); if(qx.io.remote.Exchange.wasSuccessful($1,$2,this._localRequest)){try{$0=this.getRequest().responseXML; }catch(ex){}}if(typeof $0==$[4]&&$0!=null){if(!$0.documentElement){var $3=String(this.getRequest().responseText).replace(/<\?xml[^\?]*\?>/,$[1]); $0.loadXML($3); }if(!$0.documentElement){throw new Error("Missing Document Element!"); } if($0.documentElement.tagName==$[2380]){throw new Error("XML-File is not well-formed!"); }}else{throw new Error("Response was not a valid xml document ["+this.getRequest().responseText+"]"); }return $0; }; qx.Proto.getFetchedLength=function(){var $0=this.getResponseText(); return typeof $0==$[0]?$0.length:0; }; qx.Proto.getResponseContent=function(){if(this.getState()!==$[22]){if(qx.Settings.getValueOfClass($[37],$[31])){this.warn($[452]); }return null; } if(qx.Settings.getValueOfClass($[37],$[31])){this.debug("Returning content for responseType: "+this.getResponseType()); }var $0=this.getResponseText(); switch(this.getResponseType()){case qx.util.Mime.TEXT:case qx.util.Mime.HTML:return $0; case qx.util.Mime.JSON:try{return $0&&$0.length>0?qx.io.Json.parseQx($0):null; }catch(ex){this.error("Could not execute json: ["+$0+"]",ex); return $[2170]+$0+$[2624]; }case qx.util.Mime.JAVASCRIPT:try{return $0&&$0.length>0?window.eval($0):null; }catch(ex){return this.error("Could not execute javascript: ["+$0+"]",ex); }case qx.util.Mime.XML:return this.getResponseXml(); default:this.warn($[404]+this.getResponseType()+$[288]); return null; }}; qx.Proto._modifyState=function($0,$1,$2){if(qx.Settings.getValueOfClass($[37],$[31])){this.debug("State: "+$0); } switch($0){case $[178]:this.createDispatchEvent($[178]); break; case $[116]:this.createDispatchEvent($[116]); break; case $[56]:this.createDispatchEvent($[56]); break; case $[67]:this.createDispatchEvent($[67]); break; case $[22]:this.createDispatchEvent($[22]); break; case $[35]:this.createDispatchEvent($[35]); break; case $[43]:this.getRequest().abort(); this.createDispatchEvent($[43]); break; case $[29]:this.getRequest().abort(); this.createDispatchEvent($[29]); break; }return true; }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }var $0=this.getRequest(); if($0){if(!qx.core.Client.getInstance().isMshtml()){$0.onreadystatechange=null; }switch($0.readyState){case 1:case 2:case 3:$0.abort(); }this._req=null; }return qx.io.remote.AbstractRemoteTransport.prototype.dispose.call(this); }; /* ID: qx.net.HttpRequest */ qx.OO.defineClass($[2868]); qx.Clazz.create=function(){return null; }; if(window.XMLHttpRequest&&!(location.protocol===$[797]&&qx.core.Client.getInstance().isMshtml())){qx.Clazz.create=function(){return new XMLHttpRequest; }; }else if(window.ActiveXObject){qx.Clazz.create=function(){var $0=[$[2151],$[2794],$[2755],$[2641],$[2477]]; var $1; var $2; for(var $3=0,$4=$0.length;$3<$4;$3++){$2=$0[$3]; try{$1=new ActiveXObject($2); break; }catch(ex){$1=null; }}return $1; }; } /* ID: qx.io.Json */ qx.OO.defineClass($[935]); qx.Clazz.stringify=function($0,$1){}; qx.Clazz.parse=function($0){}; qx.Settings.setDefault($[2712],true); qx.Settings.setDefault($[31],false); qx.io.Json=function(){var $0={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\':'\\\\'},$1={'boolean':function($2){return String($2); },number:function($2){return isFinite($2)?String($2):'null'; },string:function($2){if(/["\\\x00-\x1f]/.test($2)){$2=$2.replace(/([\x00-\x1f\\"])/g,function($3,$4){var $5=$0[$4]; if($5){return $5; }$5=$4.charCodeAt(); return '\\u00'+Math.floor($5/16).toString(16)+($5%16).toString(16); }); }return '"'+$2+'"'; },object:function($2){if($2){var $3=[],$4,$5,$6,$7,$8; if($2 instanceof Array){var $9=qx.io.Json._beautify; $3[0]='['; if($9){qx.io.Json._indent+=qx.io.Json.BEAUTIFYING_INDENT; $3.push(qx.io.Json._indent); }$7=$2.length; for($6=0;$6<$7;$6+=1){$8=$2[$6]; $5=$1[typeof $8]; if($5){$8=$5($8); if(typeof $8=='string'){if($4){$3[$3.length]=','; if($9){$3.push(qx.io.Json._indent); }}$3[$3.length]=$8; $4=true; }}} if($9){qx.io.Json._indent=qx.io.Json._indent.substring(0,qx.io.Json._indent.length-qx.io.Json.BEAUTIFYING_INDENT.length); $3.push(qx.io.Json._indent); }$3[$3.length]=']'; }else if($2 instanceof Date){var $a=$2.getUTCFullYear()+","+$2.getUTCMonth()+","+$2.getUTCDate()+","+$2.getUTCHours()+","+$2.getUTCMinutes()+","+$2.getUTCSeconds()+","+$2.getUTCMilliseconds(); return "new Date(Date.UTC("+$a+"))"; }else if($2 instanceof Object){var $9=qx.io.Json._beautify; $3[0]='{'; if($9){qx.io.Json._indent+=qx.io.Json.BEAUTIFYING_INDENT; $3.push(qx.io.Json._indent); } for($6 in $2){$8=$2[$6]; $5=$1[typeof $8]; if($5){$8=$5($8); if(typeof $8=='string'){if($4){$3[$3.length]=','; if($9){$3.push(qx.io.Json._indent); }}$3.push($1.string($6),':',$8); $4=true; }}} if($9){qx.io.Json._indent=qx.io.Json._indent.substring(0,qx.io.Json._indent.length-qx.io.Json.BEAUTIFYING_INDENT.length); $3.push(qx.io.Json._indent); }$3[$3.length]='}'; }else{return; }return $3.join(''); }return 'null'; },undefined:function($2){if(qx.Settings.getValueOfClass("qx.io.Json","encodeUndefined"))return 'null'; }}; return {copyright:'(c)2005 JSON.org',license:'http://www.JSON.org/license.html',stringify:function($2,$3){this._beautify=$3; this._indent=this.BEAUTIFYING_LINE_END; var $4=$1[typeof $2]; var $5=null; if($4){$2=$4($2); if(typeof $2=='string'){$5=$2; }}if(qx.Settings.getValueOfClass("qx.io.Json","enableDebug")){var $6=qx.log.Logger.getClassLogger(qx.core.Object); $6.debug("JSON request: "+$5); }return $5; },parse:function($2){try{return !(/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test($2.replace(/"(\\.|[^"\\])*"/g,'')))&&eval('('+$2+')'); }catch(e){return false; }}}; }(); qx.io.Json.parseQx=function($0){if(qx.Settings.getValueOfClass($[935],$[31])){var $1=qx.log.Logger.getClassLogger(qx.core.Object); $1.debug("JSON response: "+$0); }var $2=($0&&$0.length>0)?eval($[878]+$0+$[506]):null; return $2; }; qx.io.Json.BEAUTIFYING_INDENT=" "; qx.io.Json.BEAUTIFYING_LINE_END="\n"; /* ID: qx.io.remote.IframeTransport */ qx.OO.defineClass($[500],qx.io.remote.AbstractRemoteTransport,function(){qx.io.remote.AbstractRemoteTransport.call(this); var $0=(new Date).valueOf(); var $1=$[828]+$0; var $2=$[2000]+$0; if(qx.core.Client.getInstance().isMshtml()){this._frame=document.createElement($[407]+$1+$[547]); }else{this._frame=document.createElement($[225]); }this._frame.src=$[569]; this._frame.id=this._frame.name=$1; this._frame.onload=function($3){return $3._onload($3); }; this._frame.style.display=$[32]; document.body.appendChild(this._frame); this._form=document.createElement($[1129]); this._form.target=$1; this._form.id=this._form.name=$2; this._form.style.display=$[32]; document.body.appendChild(this._form); this._data=document.createElement($[321]); this._data.id=this._data.name=$[2361]; this._form.appendChild(this._data); var $3=this; this._frame.onreadystatechange=function($4){return $3._onreadystatechange($4); }; }); qx.Proto._lastReadyState=0; qx.io.remote.Exchange.registerType(qx.io.remote.IframeTransport,$[500]); qx.io.remote.IframeTransport.handles={synchronous:false,asynchronous:true,crossDomain:false,fileUpload:true,programaticFormFields:true,responseTypes:[qx.util.Mime.TEXT,qx.util.Mime.JAVASCRIPT,qx.util.Mime.JSON,qx.util.Mime.XML,qx.util.Mime.HTML]}; qx.io.remote.IframeTransport.isSupported=function(){return true; }; qx.Proto.send=function(){var $0=this.getMethod(); var $1=this.getUrl(); var $2=this.getParameters(); var $3=[]; for(var $4 in $2){var $5=$2[$4]; if($5 instanceof Array){for(var $6=0;$6<$5.length;$6++){$3.push(encodeURIComponent($4)+$[21]+encodeURIComponent($5[$6])); }}else{$3.push(encodeURIComponent($4)+$[21]+encodeURIComponent($5)); }} if($3.length>0){$1+=($1.indexOf($[189])>=0?$[51]:$[189])+$3.join($[51]); }var $7=this.getFormFields(); for(var $4 in $7){var $8=document.createElement($[321]); $8.name=$4; $8.appendChild(document.createTextNode($7[$4])); this._form.appendChild($8); }this._form.action=$1; this._form.method=$0; this._data.appendChild(document.createTextNode(this.getData())); this._form.submit(); }; qx.io.remote.IframeTransport._numericMap={"uninitialized":1,"loading":2,"loaded":2,"interactive":3,"complete":4}; qx.Proto._onload=function($0){if(this._form.src){return; }this._switchReadyState(qx.io.remote.IframeTransport._numericMap.complete); }; qx.Proto._onreadystatechange=function($0){this._switchReadyState(qx.io.remote.IframeTransport._numericMap[this._frame.readyState]); }; qx.Proto._switchReadyState=function($0){switch(this.getState()){case $[22]:case $[43]:case $[35]:case $[29]:this.warn($[433]); return; }while(this._lastReadyState<$0){this.setState(qx.io.remote.Exchange._nativeMap[++this._lastReadyState]); }}; qx.Proto.setRequestHeader=function($0,$1){}; qx.Proto.getResponseHeader=function($0){return null; }; qx.Proto.getResponseHeaders=function(){return {}; }; qx.Proto.getStatusCode=function(){return 200; }; qx.Proto.getStatusText=function(){return $[1]; }; qx.Proto.getIframeWindow=function(){return qx.html.Iframe.getWindow(this._frame); }; qx.Proto.getIframeDocument=function(){return qx.html.Iframe.getDocument(this._frame); }; qx.Proto.getIframeBody=function(){return qx.html.Iframe.getBody(this._frame); }; qx.Proto.getIframeTextContent=function(){var $0=this.getIframeBody(); if(!$0){return null; }if($0.firstChild.tagName.toLowerCase()==$[586]){return $0.firstChild.innerHTML; }else{return $0.innerHTML; }}; qx.Proto.getIframeHtmlContent=function(){var $0=this.getIframeBody(); return $0?$0.innerHTML:null; }; qx.Proto.getFetchedLength=function(){return 0; }; qx.Proto.getResponseContent=function(){if(this.getState()!==$[22]){if(qx.Settings.getValueOfClass($[37],$[31])){this.warn($[452]); }return null; } if(qx.Settings.getValueOfClass($[37],$[31])){this.debug("Returning content for responseType: "+this.getResponseType()); }var $0=this.getIframeTextContent(); switch(this.getResponseType()){case qx.util.Mime.TEXT:return $0; break; case qx.util.Mime.HTML:return this.getIframeHtmlContent(); break; case qx.util.Mime.JSON:try{return $0&&$0.length>0?qx.io.Json.parseQx($0):null; }catch(ex){return this.error("Could not execute json: ("+$0+")",ex); }case qx.util.Mime.JAVASCRIPT:try{return $0&&$0.length>0?window.eval($0):null; }catch(ex){return this.error("Could not execute javascript: ("+$0+")",ex); }case qx.util.Mime.XML:return this.getIframeDocument(); default:this.warn($[404]+this.getResponseType()+$[288]); return null; }}; qx.Proto.dispose=function(){if(this.getDisposed()){return true; } if(this._frame){this._frame.onload=null; this._frame.onreadystatechange=null; if(qx.core.Client.getInstance().isGecko()){this._frame.src=qx.manager.object.AliasManager.getInstance().resolvePath($[62]); }document.body.removeChild(this._frame); this._frame=null; } if(this._form){document.body.removeChild(this._form); this._form=null; }return qx.io.remote.AbstractRemoteTransport.prototype.dispose.call(this); }; /* ID: qx.html.Iframe */ qx.OO.defineClass($[2412]); qx.html.Iframe.getWindow=function($0){}; qx.html.Iframe.getDocument=function($0){}; if(qx.core.Client.getInstance().isMshtml()){qx.html.Iframe.getWindow=function($0){try{return $0.contentWindow; }catch(ex){return null; }}; qx.html.Iframe.getDocument=function($0){try{var $1=qx.html.Iframe.getWindow($0); return $1?$1.document:null; }catch(ex){return null; }}; }else{qx.html.Iframe.getWindow=function($0){try{var $1=qx.html.Iframe.getDocument($0); return $1?$1.defaultView:null; }catch(ex){return null; }}; qx.html.Iframe.getDocument=function($0){try{return $0.contentDocument; }catch(ex){return null; }}; }qx.html.Iframe.getBody=function($0){var $1=qx.html.Iframe.getDocument($0); return $1?$1.getElementsByTagName($[126])[0]:null; }; /* ID: qx.io.remote.ScriptTransport */ qx.OO.defineClass($[473],qx.io.remote.AbstractRemoteTransport,function(){qx.io.remote.AbstractRemoteTransport.call(this); var $0=++qx.io.remote.ScriptTransport._uniqueId; if($0>=2000000000){qx.io.remote.ScriptTransport._uniqueId=$0=1; }this._element=null; this._uniqueId=$0; }); qx.Clazz._uniqueId=0; qx.Clazz._instanceRegistry={}; qx.Clazz.ScriptTransport_PREFIX=$[2600]; qx.Clazz.ScriptTransport_ID_PARAM=qx.Clazz.ScriptTransport_PREFIX+$[208]; qx.Clazz.ScriptTransport_DATA_PARAM=qx.Clazz.ScriptTransport_PREFIX+$[263]; qx.Proto._lastReadyState=0; qx.io.remote.Exchange.registerType(qx.io.remote.ScriptTransport,$[473]); qx.io.remote.ScriptTransport.handles={synchronous:false,asynchronous:true,crossDomain:true,fileUpload:false,programaticFormFields:false,responseTypes:[qx.util.Mime.TEXT,qx.util.Mime.JAVASCRIPT,qx.util.Mime.JSON]}; qx.io.remote.ScriptTransport.isSupported=function(){return true; }; qx.Proto.send=function(){var $0=this.getUrl(); $0+=($0.indexOf($[189])>=0?$[51]:$[189])+qx.io.remote.ScriptTransport.ScriptTransport_ID_PARAM+$[21]+this._uniqueId; var $1=this.getParameters(); var $2=[]; for(var $3 in $1){if($3.indexOf(qx.io.remote.ScriptTransport.ScriptTransport_PREFIX)==0){this.error("Illegal parameter name. The following prefix is used internally by qooxdoo): "+qx.io.remote.ScriptTransport.ScriptTransport_PREFIX); }var $4=$1[$3]; if($4 instanceof Array){for(var $5=0;$5<$4.length;$5++){$2.push(encodeURIComponent($3)+$[21]+encodeURIComponent($4[$5])); }}else{$2.push(encodeURIComponent($3)+$[21]+encodeURIComponent($4)); }} if($2.length>0){$0+=$[51]+$2.join($[51]); }vData=this.getData(); if(vData!=null){$0+=$[51]+qx.io.remote.ScriptTransport.ScriptTransport_DATA_PARAM+$[21]+encodeURIComponent(vData); }qx.io.remote.ScriptTransport._instanceRegistry[this._uniqueId]=this; this._element=document.createElement($[619]); this._element.charset=$[2449]; this._element.src=$0; document.body.appendChild(this._element); }; qx.io.remote.ScriptTransport._numericMap={"uninitialized":1,"loading":2,"loaded":2,"interactive":3,"complete":4}; qx.Proto._switchReadyState=function($0){switch(this.getState()){case $[22]:case $[43]:case $[35]:case $[29]:this.warn($[433]); return; }while(this._lastReadyState<$0){this.setState(qx.io.remote.Exchange._nativeMap[++this._lastReadyState]); }}; qx.Clazz._requestFinished=function($0,$1){var $2=qx.io.remote.ScriptTransport._instanceRegistry[$0]; if($2==null){if(qx.Settings.getValueOfClass($[37],$[31])){this.warn($[2870]); }}else{$2._responseContent=$1; $2._switchReadyState(qx.io.remote.ScriptTransport._numericMap.complete); }}; qx.Proto.setRequestHeader=function($0,$1){}; qx.Proto.getResponseHeader=function($0){return null; }; qx.Proto.getResponseHeaders=function(){return {}; }; qx.Proto.getStatusCode=function(){return 200; }; qx.Proto.getStatusText=function(){return $[1]; }; qx.Proto.getFetchedLength=function(){return 0; }; qx.Proto.getResponseContent=function(){if(this.getState()!==$[22]){if(qx.Settings.getValueOfClass($[37],$[31])){this.warn($[452]); }return null; } if(qx.Settings.getValueOfClass($[37],$[31])){this.debug("Returning content for responseType: "+this.getResponseType()); } switch(this.getResponseType()){case qx.util.Mime.TEXT:case qx.util.Mime.JSON:case qx.util.Mime.JAVASCRIPT:return this._responseContent; default:this.warn($[404]+this.getResponseType()+$[288]); return null; }}; qx.Proto.dispose=function(){if(this.getDisposed()){return true; } if(this._element!=null){delete qx.io.remote.ScriptTransport._instanceRegistry[this._uniqueId]; document.body.removeChild(this._element); this._element=null; }return qx.io.remote.AbstractRemoteTransport.prototype.dispose.call(this); }; /* ID: qx.net.Http */ qx.OO.defineClass($[1603],{METHOD_GET:"GET",METHOD_POST:"POST",METHOD_PUT:"PUT",METHOD_HEAD:"HEAD",METHOD_DELETE:"DELETE"}); /* ID: qx.io.remote.Request */ qx.OO.defineClass($[907],qx.core.Target,function($0,$1,$2){qx.core.Target.call(this); this._requestHeaders={}; this._parameters={}; this._formFields={}; this.setUrl($0); this.setMethod($1||qx.net.Http.METHOD_GET); this.setResponseType($2||qx.util.Mime.TEXT); this.setProhibitCaching(true); this.setRequestHeader($[2587],$[1484]); this.setRequestHeader($[2772],qx.core.Version.toString()); this._seqNum=++qx.io.remote.Request._seqNum; }); qx.OO.addProperty({name:$[269],type:$[0]}); qx.OO.addProperty({name:$[518],type:$[0],possibleValues:[qx.net.Http.METHOD_GET,qx.net.Http.METHOD_POST,qx.net.Http.METHOD_PUT,qx.net.Http.METHOD_HEAD,qx.net.Http.METHOD_DELETE]}); qx.OO.addProperty({name:$[604],type:$[3],defaultValue:true,getAlias:$[1381]}); qx.OO.addProperty({name:$[263],type:$[0]}); qx.OO.addProperty({name:$[464],type:$[0]}); qx.OO.addProperty({name:$[333],type:$[0]}); qx.OO.addProperty({name:$[276],type:$[0],possibleValues:[$[116],$[275],$[56],$[67],$[22],$[43],$[29],$[35]],defaultValue:$[116]}); qx.OO.addProperty({name:$[869],type:$[0],possibleValues:[qx.util.Mime.TEXT,qx.util.Mime.JAVASCRIPT,qx.util.Mime.JSON,qx.util.Mime.XML,qx.util.Mime.HTML]}); qx.OO.addProperty({name:$[29],type:$[2]}); qx.OO.addProperty({name:$[1736],type:$[3]}); qx.OO.addProperty({name:$[941],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[2805],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[1173],type:$[4],instance:$[37]}); qx.OO.addProperty({name:$[405],type:$[3]}); qx.Proto.send=function(){qx.io.remote.RequestQueue.getInstance().add(this); }; qx.Proto.abort=function(){qx.io.remote.RequestQueue.getInstance().abort(this); }; qx.Proto.reset=function(){switch(this.getState()){case $[56]:case $[67]:this.error("Aborting already sent request!"); case $[275]:this.abort(); break; }}; qx.Proto.isConfigured=function(){return this.getState()===$[116]; }; qx.Proto.isQueued=function(){return this.getState()===$[275]; }; qx.Proto.isSending=function(){return this.getState()===$[56]; }; qx.Proto.isReceiving=function(){return this.getState()===$[67]; }; qx.Proto.isCompleted=function(){return this.getState()===$[22]; }; qx.Proto.isAborted=function(){return this.getState()===$[43]; }; qx.Proto.isTimeout=function(){return this.getState()===$[29]; }; qx.Proto.isFailed=function(){return this.getState()===$[35]; }; qx.Proto._onqueued=function($0){this.setState($[275]); this.dispatchEvent($0); }; qx.Proto._onsending=function($0){this.setState($[56]); this.dispatchEvent($0); }; qx.Proto._onreceiving=function($0){this.setState($[67]); this.dispatchEvent($0); }; qx.Proto._oncompleted=function($0){this.setState($[22]); this.dispatchEvent($0); this.dispose(); }; qx.Proto._onaborted=function($0){this.setState($[43]); this.dispatchEvent($0); this.dispose(); }; qx.Proto._ontimeout=function($0){this.setState($[29]); this.dispatchEvent($0); this.dispose(); }; qx.Proto._onfailed=function($0){this.setState($[35]); this.dispatchEvent($0); this.dispose(); }; qx.Proto._modifyState=function($0,$1,$2){if(qx.Settings.getValueOfClass($[37],$[31])){this.debug("State: "+$0); }return true; }; qx.Proto._modifyProhibitCaching=function($0,$1,$2){if($0){this.setParameter($[638],new Date().valueOf()); this.setRequestHeader($[680],$[881]); this.setRequestHeader($[770],$[881]); }else{this.removeParameter($[638]); this.removeRequestHeader($[680]); this.removeRequestHeader($[770]); }return true; }; qx.Proto._modifyMethod=function($0,$1,$2){if($0===qx.net.Http.METHOD_POST){this.setRequestHeader($[283],$[768]); }else{this.removeRequestHeader($[283]); }return true; }; qx.Proto._modifyResponseType=function($0,$1,$2){this.setRequestHeader($[1431],$0); return true; }; qx.Proto.setRequestHeader=function($0,$1){this._requestHeaders[$0]=$1; }; qx.Proto.removeRequestHeader=function($0){delete this._requestHeaders[$0]; }; qx.Proto.getRequestHeader=function($0){return this._requestHeaders[$0]||null; }; qx.Proto.getRequestHeaders=function(){return this._requestHeaders; }; qx.Proto.setParameter=function($0,$1){this._parameters[$0]=$1; }; qx.Proto.removeParameter=function($0){delete this._parameters[$0]; }; qx.Proto.getParameter=function($0){return this._parameters[$0]||null; }; qx.Proto.getParameters=function(){return this._parameters; }; qx.Proto.setFormField=function($0,$1){this._formFields[$0]=$1; }; qx.Proto.removeFormField=function($0){delete this._formFields[$0]; }; qx.Proto.getFormField=function($0){return this._formFields[$0]||null; }; qx.Proto.getFormFields=function(){return this._formFields; }; qx.io.remote.Request._seqNum=0; qx.Proto.getSequenceNumber=function(){return this._seqNum; }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this._requestHeaders=null; this._parameters=null; this._formFields=null; this.setTransport(null); return qx.core.Target.prototype.dispose.call(this); }; /* ID: qx.io.remote.RequestQueue */ qx.OO.defineClass($[1702],qx.core.Target,function(){qx.core.Target.call(this); this._queue=[]; this._active=[]; this._totalRequests=0; this._timer=new qx.client.Timer(500); this._timer.addEventListener($[52],this._oninterval,this); }); qx.OO.addProperty({name:$[1298],type:$[2]}); qx.OO.addProperty({name:$[2702],type:$[2],defaultValue:3}); qx.OO.addProperty({name:$[2129],type:$[2],defaultValue:5000}); qx.Proto._debug=function(){var $0=this._active.length+$[73]+(this._queue.length+this._active.length); if(qx.Settings.getValueOfClass($[37],$[31])){this.debug("Progress: "+$0); window.status=$[2887]+$0; }}; qx.Proto._check=function(){this._debug(); if(this._active.length==0&&this._queue.length==0){this._timer.stop(); }if(!this.getEnabled()){return; }if(this._active.length>=this.getMaxConcurrentRequests()||this._queue.length==0){return; }if(this.getMaxTotalRequests()!=null&&this._totalRequests>=this.getMaxTotalRequests()){return; }var $0=this._queue.shift(); var $1=new qx.io.remote.Exchange($0); this._totalRequests++; this._active.push($1); this._debug(); $1.addEventListener($[56],$0._onsending,$0); $1.addEventListener($[67],$0._onreceiving,$0); $1.addEventListener($[22],$0._oncompleted,$0); $1.addEventListener($[43],$0._onaborted,$0); $1.addEventListener($[29],$0._ontimeout,$0); $1.addEventListener($[35],$0._onfailed,$0); $1.addEventListener($[56],this._onsending,this); $1.addEventListener($[22],this._oncompleted,this); $1.addEventListener($[43],this._oncompleted,this); $1.addEventListener($[29],this._oncompleted,this); $1.addEventListener($[35],this._oncompleted,this); $1._start=(new Date).valueOf(); $1.send(); if(this._queue.length>0){this._check(); }}; qx.Proto._remove=function($0){var $1=$0.getRequest(); $0.removeEventListener($[56],$1._onsending,$1); $0.removeEventListener($[67],$1._onreceiving,$1); $0.removeEventListener($[22],$1._oncompleted,$1); $0.removeEventListener($[43],$1._onaborted,$1); $0.removeEventListener($[29],$1._ontimeout,$1); $0.removeEventListener($[35],$1._onfailed,$1); $0.removeEventListener($[56],this._onsending,this); $0.removeEventListener($[22],this._oncompleted,this); $0.removeEventListener($[43],this._oncompleted,this); $0.removeEventListener($[29],this._oncompleted,this); $0.removeEventListener($[35],this._oncompleted,this); qx.lang.Array.remove(this._active,$0); $0.dispose(); this._check(); }; qx.Proto._activeCount=0; qx.Proto._onsending=function($0){if(qx.Settings.getValueOfClass($[37],$[31])){this._activeCount++; $0.getTarget()._counted=true; this.debug("ActiveCount: "+this._activeCount); }}; qx.Proto._oncompleted=function($0){if(qx.Settings.getValueOfClass($[37],$[31])){if($0.getTarget()._counted){this._activeCount--; this.debug("ActiveCount: "+this._activeCount); }}this._remove($0.getTarget()); }; qx.Proto._oninterval=function($0){var $1=this._active; if($1.length==0){return; }var $2=(new Date).valueOf(); var $3; var $4; var $5=this.getDefaultTimeout(); var $6; var $7; for(var $8=$1.length-1;$8>=0;$8--){$3=$1[$8]; $4=$3.getRequest(); if($4.isAsynchronous()){$6=$4.getTimeout(); if($6==0){continue; } if($6==null){$6=$5; }$7=$2-$3._start; if($7>$6){this.warn($[1018]+$3.toHashCode()); this.warn($7+$[1093]+$6+$[234]); $3.timeout(); }}}}; qx.Proto._modifyEnabled=function($0,$1,$2){if($0){this._check(); }this._timer.setEnabled($0); return true; }; qx.Proto.add=function($0){$0.setState($[275]); this._queue.push($0); this._check(); if(this.getEnabled()){this._timer.start(); }}; qx.Proto.abort=function($0){var $1=$0.getTransport(); if($1){$1.abort(); }else if(qx.lang.Array.contains(this._queue,$0)){qx.lang.Array.remove(this._queue,$0); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return true; } if(this._active){for(var $0=0,$1=this._active,$2=$1.length;$0<$2;$0++){this._remove($1[$0]); }this._active=null; } if(this._timer){this._timer.removeEventListener($[52],this._oninterval,this); this._timer=null; }this._queue=null; return qx.core.Target.prototype.dispose.call(this); }; qx.Clazz.getInstance=qx.lang.Function.returnInstance; /* ID: qx.io.remote.Response */ qx.OO.defineClass($[1425],qx.core.Target,function(){qx.core.Target.call(this); }); qx.OO.addProperty({name:$[276],type:$[2]}); qx.OO.addProperty({name:$[1817],type:$[2]}); qx.OO.addProperty({name:$[566]}); qx.OO.addProperty({name:$[1579],type:$[4]}); qx.Proto.getResponseHeader=function($0){var $1=this.getResponseHeaders(); if($1){return $1[$0]||null; }return null; }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }return qx.core.Target.prototype.dispose.call(this); }; /* ID: qx.ui.table.SelectionManager */ qx.OO.defineClass($[1191],qx.core.Object,function(){qx.core.Object.call(this); }); qx.OO.addProperty({name:$[617],type:$[4],instance:$[562]}); qx.Proto.handleMouseDown=function($0,$1){if($1.isLeftButtonPressed()){var $2=this.getSelectionModel(); if(!$2.isSelectedIndex($0)){this._handleSelectEvent($0,$1); this._lastMouseDownHandled=true; }else{this._lastMouseDownHandled=false; }}else if($1.isRightButtonPressed()&&$1.getModifiers()==0){var $2=this.getSelectionModel(); if(!$2.isSelectedIndex($0)){$2.setSelectionInterval($0,$0); }}}; qx.Proto.handleMouseUp=function($0,$1){if($1.isLeftButtonPressed()&&!this._lastMouseDownHandled){this._handleSelectEvent($0,$1); }}; qx.Proto.handleClick=function($0,$1){}; qx.Proto.handleSelectKeyDown=function($0,$1){this._handleSelectEvent($0,$1); }; qx.Proto.handleMoveKeyDown=function($0,$1){var $2=this.getSelectionModel(); switch($1.getModifiers()){case 0:$2.setSelectionInterval($0,$0); break; case qx.event.type.DomEvent.SHIFT_MASK:var $3=$2.getAnchorSelectionIndex(); if($3==-1){$2.setSelectionInterval($0,$0); }else{$2.setSelectionInterval($3,$0); }break; }}; qx.Proto._handleSelectEvent=function($0,$1){var $2=this.getSelectionModel(); if($1.isShiftPressed()){var $3=$2.getLeadSelectionIndex(); if($0!=$3||$2.isSelectionEmpty()){var $4=$2.getAnchorSelectionIndex(); if($4==-1){$4=$0; } if($1.isCtrlOrCommandPressed()){$2.addSelectionInterval($4,$0); }else{$2.setSelectionInterval($4,$0); }}}else if($1.isCtrlOrCommandPressed()){if($2.isSelectedIndex($0)){$2.removeSelectionInterval($0,$0); }else{$2.addSelectionInterval($0,$0); }}else{$2.setSelectionInterval($0,$0); }}; /* ID: qx.ui.table.SelectionModel */ qx.OO.defineClass($[562],qx.core.Target,function(){qx.core.Target.call(this); this._selectedRangeArr=[]; this._anchorSelectionIndex=-1; this._leadSelectionIndex=-1; this.hasBatchModeRefCount=0; this._hadChangeEventInBatchMode=false; }); qx.Clazz.NO_SELECTION=1; qx.Clazz.SINGLE_SELECTION=2; qx.Clazz.SINGLE_INTERVAL_SELECTION=3; qx.Clazz.MULTIPLE_INTERVAL_SELECTION=4; qx.OO.addProperty({name:$[1542],type:$[2],defaultValue:qx.Clazz.SINGLE_SELECTION,allowNull:false,possibleValues:[qx.Clazz.NO_SELECTION,qx.Clazz.SINGLE_SELECTION,qx.Clazz.SINGLE_INTERVAL_SELECTION,qx.Clazz.MULTIPLE_INTERVAL_SELECTION]}); qx.Proto._modifySelectionMode=function($0){if($0==qx.ui.table.SelectionModel.NO_SELECTION){this.clearSelection(); }return true; }; qx.Proto.setBatchMode=function($0){if($0){this.hasBatchModeRefCount+=1; }else{if(this.hasBatchModeRefCount==0){throw new Error("Try to turn off batch mode althoug it was not turned on."); }this.hasBatchModeRefCount-=1; if(this._hadChangeEventInBatchMode){this._hadChangeEventInBatchMode=false; this._fireChangeSelection(); }}return this.hasBatchMode(); }; qx.Proto.hasBatchMode=function(){return this.hasBatchModeRefCount>0; }; qx.Proto.getAnchorSelectionIndex=function(){return this._anchorSelectionIndex; }; qx.Proto.getLeadSelectionIndex=function(){return this._leadSelectionIndex; }; qx.Proto.clearSelection=function(){if(!this.isSelectionEmpty()){this._clearSelection(); this._fireChangeSelection(); }}; qx.Proto.isSelectionEmpty=function(){return this._selectedRangeArr.length==0; }; qx.Proto.getSelectedCount=function(){var $0=0; for(var $1=0;$1=$2.minIndex&&$0<=$2.maxIndex){return true; }}return false; }; qx.Proto.getSelectedRanges=function(){var $0=[]; for(var $1=0;$1$3){break; }else if($5.maxIndex>=$2){var $6=($5.minIndex>=$2)&&($5.minIndex<=$3); var $7=($5.maxIndex>=$2)&&($5.maxIndex<=$3); if($6&&$7){this._selectedRangeArr.splice($4,1); $4--; }else if($6){$5.minIndex=$3+1; }else if($7){$5.maxIndex=$2-1; }else{var $8={minIndex:$3+1,maxIndex:$5.maxIndex}; this._selectedRangeArr.splice($4+1,0,$8); $5.maxIndex=$2-1; break; }}}this._fireChangeSelection(); }; qx.Proto._clearSelection=function(){this._selectedRangeArr=[]; this._anchorSelectionIndex=-1; this._leadSelectionIndex=-1; }; qx.Proto._addSelectionInterval=function($0,$1){this._anchorSelectionIndex=$0; this._leadSelectionIndex=$1; var $2=Math.min($0,$1); var $3=Math.max($0,$1); var $4=0; for(;$4$2){break; }}this._selectedRangeArr.splice($4,0,{minIndex:$2,maxIndex:$3}); var $6=this._selectedRangeArr[0]; for(var $7=1;$7=$5.minIndex){$6.maxIndex=Math.max($6.maxIndex,$5.maxIndex); this._selectedRangeArr.splice($7,1); $7--; }else{$6=$5; }}}; qx.Proto._dumpRanges=function(){var $0=$[1655]; for(var $1=0;$1=$b-$a&&$9<=$b+19+$a){$3.toggleOpened($4); return $3.openCloseClickSelectsRow()?false:true; }else{return false; }}else{var $c=$1.getKeyIdentifier(); switch($c){case $[103]:return false; case $[34]:if(!$4.bHideOpenClose){$3.toggleOpened($4); }return $3.openCloseClickSelectsRow()?false:true; default:return true; }}}var $3=$2(this._table,$0,$1); if(!$3){var $4=qx.ui.table.SelectionManager; $4.prototype._handleSelectEvent.call(this,$0,$1); }}; /* ID: qx.renderer.layout.DockLayoutImpl */ qx.OO.defineClass($[2808],qx.renderer.layout.LayoutImpl,function($0){qx.renderer.layout.LayoutImpl.call(this,$0); }); qx.renderer.layout.DockLayoutImpl.METHOD_LOCATION="layoutChild_location_"; qx.renderer.layout.DockLayoutImpl._childRanking={vertical:function($0){return $0.getVerticalAlign()?1e6:$0.getHorizontalAlign()?2e6:3e6; },horizontal:function($0){return $0.getHorizontalAlign()?1e6:$0.getVerticalAlign()?2e6:3e6; },ordered:function($0){return $0.getHorizontalAlign()||$0.getVerticalAlign()?1e6:2e6; }}; qx.renderer.layout.DockLayoutImpl._childCheck={common:function($0){if(!($0._computedLeftTypeNull&&$0._computedRightTypeNull&&$0._computedTopTypeNull&&$0._computedBottomTypeNull)){throw new Error("qx.renderer.layout.DockLayoutImpl: It is not allowed to define any location values for children: "+$0+"!"); }},horizontal:function($0){if(!($0._computedMinHeightTypeNull&&$0._computedHeightTypeNull&&$0._computedMaxHeightTypeNull)){throw new Error("qx.renderer.layout.DockLayoutImpl: It is not allowed to define any vertical dimension for 'horizontal' placed children: "+$0+"!"); }},vertical:function($0){if(!($0._computedMinWidthTypeNull&&$0._computedWidthTypeNull&&$0._computedMaxWidthTypeNull)){throw new Error("qx.renderer.layout.DockLayoutImpl: It is not allowed to define any horizontal dimension for 'vertical' placed children: "+$0+"!"); }},"default":function($0){qx.renderer.layout.DockLayoutImpl._childCheck.horizontal($0); qx.renderer.layout.DockLayoutImpl._childCheck.vertical($0); }}; qx.Proto.computeChildBoxWidth=function($0){if(this.getChildAlignMode($0)==$[26]){return $0.getWidthValue()||$0._computeBoxWidthFallback(); }return this.getWidget().getInnerWidth()-this._lastLeft-this._lastRight; }; qx.Proto.computeChildBoxHeight=function($0){if(this.getChildAlignMode($0)==$[27]){return $0.getHeightValue()||$0._computeBoxHeightFallback(); }return this.getWidget().getInnerHeight()-this._lastTop-this._lastBottom; }; qx.Proto.updateChildOnInnerWidthChange=function($0){$0._recomputePercentX(); $0.addToLayoutChanges($[92]); return true; }; qx.Proto.updateChildOnInnerHeightChange=function($0){$0._recomputePercentY(); $0.addToLayoutChanges($[92]); return true; }; qx.Proto.updateSelfOnJobQueueFlush=qx.lang.Function.returnFalse; qx.Proto.updateChildrenOnJobQueueFlush=function($0){if($0.mode||$0.addChild||$0.removeChild){this.getWidget()._addChildrenToLayoutQueue($[92]); }}; qx.Proto.flushChildrenQueue=function($0){var $1=this.getWidget(),$2=$1.getVisibleChildren(),$3=$2.length,$4=$1.getMode(); this._lastLeft=this._lastRight=this._lastTop=this._lastBottom=0; var $5=qx.renderer.layout.DockLayoutImpl._childRanking[$4]; var $6=qx.lang.Array.copy($2).sort(function($7,$8){return ($5($7)+$2.indexOf($7))-($5($8)+$2.indexOf($8)); }); for(var $7=0;$7<$3;$7++){$1._layoutChild($6[$7]); }}; qx.Proto.getChildAlign=function($0){return $0.getVerticalAlign()||$0.getHorizontalAlign()||$[53]; }; qx.Proto.getChildAlignMode=function($0){return $0.getVerticalAlign()?$[27]:$0.getHorizontalAlign()?$[26]:$[53]; }; qx.Proto.layoutChild=function($0,$1){qx.renderer.layout.DockLayoutImpl._childCheck.common($0); qx.renderer.layout.DockLayoutImpl._childCheck[this.getChildAlignMode($0)]($0); this.layoutChild_sizeX_essentialWrapper($0,$1); this.layoutChild_sizeY_essentialWrapper($0,$1); this.layoutChild_sizeLimitX($0,$1); this.layoutChild_sizeLimitY($0,$1); this[qx.renderer.layout.DockLayoutImpl.METHOD_LOCATION+this.getChildAlign($0)]($0,$1); }; qx.Proto.layoutChild_location_top=function($0,$1){$0._applyRuntimeTop(this._lastTop); $0._applyRuntimeLeft(this._lastLeft); this.layoutChild_location_horizontal($0); this._lastTop+=$0.getBoxHeight(); }; qx.Proto.layoutChild_location_left=function($0,$1){$0._applyRuntimeLeft(this._lastLeft); $0._applyRuntimeTop(this._lastTop); this.layoutChild_location_vertical($0); this._lastLeft+=$0.getBoxWidth(); }; if(qx.core.Client.getInstance().isMshtml()||qx.core.Client.getInstance().isOpera()){qx.Proto._applyComputedWidth=function($0){$0._recomputeBoxWidth(); $0._recomputeOuterWidth(); $0._recomputeInnerWidth(); $0._applyRuntimeWidth($0.getBoxWidth()); }; qx.Proto._applyComputedHeight=function($0){$0._recomputeBoxHeight(); $0._recomputeOuterHeight(); $0._recomputeInnerHeight(); $0._applyRuntimeHeight($0.getBoxHeight()); }; qx.Proto.layoutChild_sizeX=function($0,$1){if($1.initial||$1.width||$1.minWidth||$1.maxWidth){$0._computedWidthTypeNull&&$0._computedMinWidthTypeNull&&$0._computedMaxWidthTypeNull?$0._resetRuntimeWidth():$0._applyRuntimeWidth($0.getBoxWidth()); }}; qx.Proto.layoutChild_sizeY=function($0,$1){if($1.initial||$1.height||$1.minHeight||$1.maxHeight){$0._computedHeightTypeNull&&$0._computedMinHeightTypeNull&&$0._computedMaxHeightTypeNull?$0._resetRuntimeHeight():$0._applyRuntimeHeight($0.getBoxHeight()); }}; qx.Proto.layoutChild_location_horizontal=function($0){this._applyComputedWidth($0); }; qx.Proto.layoutChild_location_vertical=function($0){this._applyComputedHeight($0); }; qx.Proto.layoutChild_location_right=function($0,$1){$0._applyRuntimeLeft(this.getWidget().getInnerWidth()-this._lastRight-$0.getBoxWidth()); $0._applyRuntimeTop(this._lastTop); this.layoutChild_location_vertical($0); this._lastRight+=$0.getBoxWidth(); }; qx.Proto.layoutChild_location_bottom=function($0,$1){$0._applyRuntimeTop(this.getWidget().getInnerHeight()-this._lastBottom-$0.getBoxHeight()); $0._applyRuntimeLeft(this._lastLeft); this.layoutChild_location_horizontal($0); this._lastBottom+=$0.getBoxHeight(); }; qx.Proto.layoutChild_location_default=function($0,$1){var $2=this.getWidget(); $0._resetRuntimeRight(); $0._resetRuntimeBottom(); $0._applyRuntimeTop(this._lastTop); $0._applyRuntimeLeft(this._lastLeft); this._applyComputedWidth($0); this._applyComputedHeight($0); }; }else{qx.Proto._applyComputedWidth=function($0){$0._recomputeBoxWidth(); $0._recomputeOuterWidth(); $0._recomputeInnerWidth(); }; qx.Proto._applyComputedHeight=function($0){$0._recomputeBoxHeight(); $0._recomputeOuterHeight(); $0._recomputeInnerHeight(); }; qx.Proto.layoutChild_sizeX=function($0,$1){if($1.initial||$1.width){$0._computedWidthTypeNull?$0._resetRuntimeWidth():$0._applyRuntimeWidth($0.getWidthValue()); }}; qx.Proto.layoutChild_sizeY=function($0,$1){if($1.initial||$1.height){$0._computedHeightTypeNull?$0._resetRuntimeHeight():$0._applyRuntimeHeight($0.getHeightValue()); }}; qx.Proto.layoutChild_location_horizontal=function($0){this._applyComputedWidth($0); $0._applyRuntimeRight(this._lastRight); }; qx.Proto.layoutChild_location_vertical=function($0){this._applyComputedHeight($0); $0._applyRuntimeBottom(this._lastBottom); }; qx.Proto.layoutChild_location_right=function($0,$1){$0._applyRuntimeRight(this._lastRight); $0._applyRuntimeTop(this._lastTop); this.layoutChild_location_vertical($0); this._lastRight+=$0.getBoxWidth(); }; qx.Proto.layoutChild_location_bottom=function($0,$1){$0._applyRuntimeBottom(this._lastBottom); $0._applyRuntimeLeft(this._lastLeft); this.layoutChild_location_horizontal($0); this._lastBottom+=$0.getBoxHeight(); }; qx.Proto.layoutChild_location_default=function($0,$1){$0._resetRuntimeWidth(); $0._resetRuntimeHeight(); $0._applyRuntimeTop(this._lastTop); $0._applyRuntimeRight(this._lastRight); $0._applyRuntimeBottom(this._lastBottom); $0._applyRuntimeLeft(this._lastLeft); this._applyComputedWidth($0); this._applyComputedHeight($0); }; } /* ID: qx.locale.Key */ qx.OO.defineClass($[1252]); qx.Clazz.getKeyName=function($0,$1,$2){if($0!=$[136]&&$0!=$[357]){throw new Error('format must be one of: "short", "full"'); }var $3=$[1943]+$0+$[110]+$1; var $4=new qx.locale.LocalizedString($3,[],$2); if($4==$3){return qx.locale.Key._keyNames[$3]||$1; }else{return $4; }}; (function(){var $0={}; var $1=qx.locale.Manager; $0[$1.marktr($[1528])]=$[347]; $0[$1.marktr($[2053])]=$[183]; $0[$1.marktr($[1651])]=$[103]; $0[$1.marktr($[2596])]=$[34]; $0[$1.marktr($[2984])]=$[194]; $0[$1.marktr($[2988])]=$[876]; $0[$1.marktr($[2232])]=$[120]; $0[$1.marktr($[1671])]=$[2311]; $0[$1.marktr($[2639])]=$[155]; $0[$1.marktr($[2850])]=$[499]; $0[$1.marktr($[1199])]=$[58]; $0[$1.marktr($[1920])]=$[87]; $0[$1.marktr($[1208])]=$[59]; $0[$1.marktr($[2026])]=$[76]; $0[$1.marktr($[2897])]=$[2414]; $0[$1.marktr($[1951])]=$[1403]; $0[$1.marktr($[1319])]=$[163]; $0[$1.marktr($[1901])]=$[147]; $0[$1.marktr($[1115])]=$[1432]; $0[$1.marktr($[1349])]=$[1747]; $0[$1.marktr($[1194])]=$[723]; $0[$1.marktr($[2559])]=$[1085]; $0[$1.marktr($[1600])]=$[417]; $0[$1.marktr($[2899])]=$[230]; $0[$1.marktr($[2644])]=$[254]; $0[$1.marktr($[2643])]=$[463]; $0[$1.marktr($[2952])]=$[347]; $0[$1.marktr($[1957])]=$[645]; $0[$1.marktr($[1497])]=$[103]; $0[$1.marktr($[1871])]=$[34]; $0[$1.marktr($[2343])]=$[194]; $0[$1.marktr($[1383])]=$[146]; $0[$1.marktr($[1401])]=$[120]; $0[$1.marktr($[2994])]=$[735]; $0[$1.marktr($[1107])]=$[155]; $0[$1.marktr($[1784])]=$[88]; $0[$1.marktr($[2735])]=$[58]; $0[$1.marktr($[1334])]=$[87]; $0[$1.marktr($[1639])]=$[59]; $0[$1.marktr($[1394])]=$[76]; $0[$1.marktr($[2476])]=$[89]; $0[$1.marktr($[1777])]=$[105]; $0[$1.marktr($[2354])]=$[163]; $0[$1.marktr($[2681])]=$[147]; $0[$1.marktr($[2136])]=$[232]; $0[$1.marktr($[1854])]=$[271]; $0[$1.marktr($[2349])]=$[148]; $0[$1.marktr($[1340])]=$[345]; $0[$1.marktr($[1697])]=$[417]; $0[$1.marktr($[2465])]=$[230]; $0[$1.marktr($[1327])]=$[254]; $0[$1.marktr($[1566])]=$[463]; qx.Clazz._keyNames=$0; })(); /* ID: qx.client.Command */ qx.OO.defineClass($[864],qx.core.Target,function($0,$1){qx.core.Target.call(this); this._modifier={}; this._key=null; if($0!=null){this.setShortcut($0); } if($1!=null){this.warn($[2081]); this.setKeyCode($1); }if(this._modifier.Alt&&this._key&&this._key.length==1){if((this._key>=$[61]&&this._key<=$[521])||(this._key>=$[15]&&this._key<=$[177])){this.warn($[2352]); }}qx.event.handler.EventHandler.getInstance().addCommand(this); }); qx.OO.addProperty({name:$[2134],type:$[0]}); qx.OO.addProperty({name:$[718],type:$[2]}); qx.OO.addProperty({name:$[713],type:$[0]}); qx.Proto.execute=function($0){if(this.hasEventListeners($[11])){var $1=new qx.event.type.DataEvent($[11],$0); this.dispatchEvent($1,true); }return false; }; qx.Proto._modifyShortcut=function($0,$1,$2){if($0){this._modifier={}; this._key=null; var $3=$0.split(/[-+\s]+/); var $4=$3.length; for(var $5=0;$5<$4;$5++){var $6=this._oldKeyNameToKeyIdentifier($3[$5]); switch($6){case $[146]:case $[194]:case $[155]:case $[120]:this._modifier[$6]=true; break; case $[292]:var $7=$[2861]+$3[$5]; this.error($7); throw $7; default:if(this._key){var $7=$[2629]; this.error($7); throw $7; }this._key=$6; }}}return true; }; qx.Proto._matchesKeyEvent=function($0){var $1=this._key||this.getKeyIdentifier(); if(!$1&&!this.getKeyCode()){return ; }if((this._modifier.Shift&&!$0.isShiftPressed())|| (this._modifier.Control&&!$0.isCtrlPressed())|| (this._modifier.Alt&&!$0.isAltPressed())){return false; } if($1){if($1==$0.getKeyIdentifier()){return true; }}else{if(this.getKeyCode()==$0.getKeyCode()){return true; }}return false; }; qx.Proto._oldKeyNameToKeyIdentifierMap={esc:$[88],ctrl:$[146],print:$[345],del:$[271],pageup:$[89],pagedown:$[105],numlock:$[148],numpad_0:$[15],numpad_1:$[260],numpad_2:$[460],numpad_3:$[494],numpad_4:$[423],numpad_5:$[416],numpad_6:$[393],numpad_7:$[410],numpad_8:$[392],numpad_9:$[177],numpad_divide:$[73],numpad_multiply:$[144],numpad_minus:$[60],numpad_plus:$[273]}; qx.Proto._oldKeyNameToKeyIdentifier=function($0){var $1=qx.event.handler.KeyEventHandler.getInstance(); var $2=$[292]; if($1.isValidKeyIdentifier($0)){return $0; } if($0.length==1&&$0>=$[279]&&$0<=$[1972]){return $0.toUpperCase(); }$0=$0.toLowerCase(); if(!qx.event.type.KeyEvent.keys[$0]){return $[292]; }var $2=this._oldKeyNameToKeyIdentifierMap[$0]; if($2){return $2; }else{return qx.lang.String.toFirstUp($0); }}; qx.Proto.toString=function(){var $0=this.getKeyCode(); var $1=this._key||this.getKeyIdentifier(); var $2=[]; for(var $3 in this._modifier){$2.push(qx.locale.Key.getKeyName($[136],$3)); } if($1){$2.push(qx.locale.Key.getKeyName($[136],$1)); }if($0!=null){var $4=qx.event.type.KeyEvent.codes[$0]; $2.push($4?qx.lang.String.toFirstUp($4):String($0)); }return $2.join($[60]); }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this._shortcutParts=null; var $0=qx.event.handler.EventHandler.getInstance(); if($0){$0.removeCommand(this); }return qx.core.Target.prototype.dispose.call(this); }; /* ID: elite.util.Lister */ qx.OO.defineClass($[1166]); elite.util.Lister.listSomething=function($0,$1,$2,$3,$4,$5){var $6=new qx.io.remote.Rpc(); $6.setTimeout(15000); var $7=null; var $8={"contacts.listCategories":{"label":$[1668],"value":$[2970]},"vendedores.list":{"label":$[478],"value":$[1992]},"list.motivos_cancel":{"label":$[1915],"value":$[1193]},"plan.list":{"label":$[774],"value":$[2307],"id":$[2368]},"domain.listAll":{"label":$[695],"value":$[737]},"vencimentos.list":{"label":$[1135],"value":$[1942]},"condominio.list":{"label":$[1429],"value":$[1224]},"lista_formas_debito":{"label":$[505],"value":$[1414]},"cobranca.list":{"label":$[505],"value":$[914],"id":$[959]},"domain.list":{"label":$[695],"value":$[737]},"lista_servicos":{"label":$[774],"value":$[873]},"pesquisa.listFields":{"label":$[2080],"value":$[2036]},"listDebitType":{"label":$[505],"value":$[914],"id":$[959]},"listTechnician":{"label":$[478],"value":$[2778]},"usuarios.list":{"label":$[478],"value":$[1149]},"listEmployeePosition":{"label":$[1504],"value":$[2909]},"listDepartment":{"label":$[2037],"value":$[1407]},"contractModel.list":{"label":$[1014],"value":$[1802]},"email.list":{"label":$[2286],"value":$[873]},"list.obsCli.obrigatoria":{"label":$[263],"value":$[1174]},"visit.listTypes":{"label":$[1743],"value":$[1313]},"listarTipoOrdem":{"label":$[2299],"value":$[2032],"id":$[1530]}}; $2.show(); $6.setUrl(rpcUrl); $6.setServiceName($[2851]); $6.setCrossDomain(true); $0.removeAll(); $7=$6.callAsync(function($9,$a,$b){if($a==null){var $c=eval($9); var $d=$c.length; if($c[0].ok==$[260]){var $e=0; var $f=$8[$3].label; var $g=$8[$3].value; var $h=$8[$3].id; if($1==$[1182]){for($e=0;$e<$d;$e++){var $i=new qx.ui.form.CheckBox($c[$e][$f]); $i.setValue($c[$e][$g]); $0.add($i); }}else{for($e=0;$e<$d;$e++){var $i=new elite.ui.form.ListItem($c[$e][$f]); $i.setValue($c[$e][$g]); if($h)$i.setId($c[$e][$h]); $0.add($i); if($3==$[2558]&&$e==0)$0.setSelected($i); }}}else{var $j=new elite.ui.message.Message(); $j.showMessage($[2451],$c[0].errmsg,$[101],[$[667]]); }}else{$6.debug($a); }$2.hide(); },$[2513],$3,$4,$5); }; /* ID: qx.io.remote.Rpc */ qx.OO.defineClass($[1523],qx.core.Target,function($0,$1){qx.core.Target.call(this); this.setUrl($0); if($1!=null){this.setServiceName($1); }this._previousServerSuffix=null; this._currentServerSuffix=null; if(qx.core.ServerSettings){this._currentServerSuffix=qx.core.ServerSettings.serverPathSuffix; }}); qx.OO.addProperty({name:$[29],type:$[2]}); qx.OO.addProperty({name:$[941],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[269],type:$[0],defaultValue:null}); qx.OO.addProperty({name:$[1952],type:$[0],defaultValue:null}); qx.OO.addProperty({name:$[2623],type:$[4],defaultValue:undefined}); qx.OO.addProperty({name:$[464],type:$[0]}); qx.OO.addProperty({name:$[333],type:$[0]}); qx.OO.addProperty({name:$[405],type:$[3]}); qx.io.remote.Rpc.origin={server:1,application:2,transport:3,local:4}; qx.io.remote.Rpc.localError={timeout:1,abort:2}; qx.Proto._callInternal=function($0,$1,$2){var $3=this; var $4=($1==0?0:1); var $5=($2?$[2642]:$0[$4]); var $6=$0[0]; var $7=[]; var $8=this; for(var $9=$4+1;$9<$0.length;++$9){$7.push($0[$9]); }var $a=new qx.io.remote.Request(this.getUrl(),qx.net.Http.METHOD_POST,qx.util.Mime.JSON); var $b={"service":($2?null:this.getServiceName()),"method":$5,"id":$a.getSequenceNumber(),"params":$7}; var $c=this.getServerData(); if($c!==undefined){$b.server_data=$c; }$a.setCrossDomain(this.getCrossDomain()); if(this.getUsername()){$a.setUseBasicHttpAuth(this.getUseBasicHttpAuth()); $a.setUsername(this.getUsername()); $a.setPassword(this.getPassword()); }$a.setTimeout(this.getTimeout()); var $d=null; var $e=null; var $f=null; var $g=null; var $h=function($i,$8){switch($1){case 0:break; case 1:$6($f,$d,$e); break; case 2:if(!$d){$8.createDispatchDataEvent($i,$g); }else{$d.id=$e; if($0[0]){$8.createDispatchDataEvent($[35],$d); }else{$8.createDispatchDataEvent($i,$d); }}}}; var $i=function($j){$j.toString=function(){switch($j.origin){case qx.io.remote.Rpc.origin.server:return $[2007]+$j.code+$[95]+$j.message; case qx.io.remote.Rpc.origin.application:return $[1408]+$j.code+$[95]+$j.message; case qx.io.remote.Rpc.origin.transport:return $[2752]+$j.code+$[95]+$j.message; case qx.io.remote.Rpc.origin.local:return $[1989]+$j.code+$[95]+$j.message; default:return $[1512]+$j.origin+$[1597]+$j.code+$[95]+$j.message; }}; }; var $j=function($k,$l,$m){var $d=new Object(); $d.origin=$k; $d.code=$l; $d.message=$m; $i($d); return $d; }; $a.addEventListener($[35],function($k){var $l=$k.getData().getStatusCode(); $d=$j(qx.io.remote.Rpc.origin.transport,$l,qx.io.remote.Exchange.statusCodeToString($l)); $e=this.getSequenceNumber(); $h($[35],$8); }); $a.addEventListener($[29],function($k){$d=$j(qx.io.remote.Rpc.origin.local,qx.io.remote.Rpc.localError.timeout,$[2575]); $e=this.getSequenceNumber(); $h($[29],$8); }); $a.addEventListener($[43],function($k){$d=$j(qx.io.remote.Rpc.origin.local,qx.io.remote.Rpc.localError.abort,$[2748]); $e=this.getSequenceNumber(); $h($[43],$8); }); $a.addEventListener($[22],function($k){$g=$k.getData().getContent(); $e=$g[$[208]]; if($e!=this.getSequenceNumber()){this.warn($[2593]+$e+$[2847]+$[169]+this.getSequenceNumber()+$[288]); }var $l=$g[$[101]]; if($l!=null){$f=null; $i($l); $d=$l; }else{$f=$g[$[1820]]; if($2){$f=eval($[169]+$f+$[99]); var $m=qx.core.ServerSettings.serverPathSuffix; if($3._currentServerSuffix!=$m){$3._previousServerSuffix=$3._currentServerSuffix; $3._currentServerSuffix=$m; }$3.setUrl($3.fixUrl($3.getUrl())); }}$h($[22],$8); }); $a.setData(qx.io.Json.stringify($b)); $a.setAsynchronous($1>0); if($a.getCrossDomain()){$a.setRequestHeader($[283],$[768]); }else{$a.setRequestHeader($[283],qx.util.Mime.JSON); }$a.send(); if($1==0){if($d!=null){var $k=new Error($d.toString()); $k.rpcdetails=$d; throw $k; }return $f; }else{return $a; }}; qx.Proto.fixUrl=function($0){if(this._previousServerSuffix==null||this._currentServerSuffix==null||this._previousServerSuffix==$[1]||this._previousServerSuffix==this._currentServerSuffix){return $0; }var $1=$0.indexOf(this._previousServerSuffix); if($1==-1){return $0; }return $0.substring(0,$1)+this._currentServerSuffix+$0.substring($1+this._previousServerSuffix.length); }; qx.Proto.callSync=function($0){return this._callInternal(arguments,0); }; qx.Proto.callAsync=function($0,$1){return this._callInternal(arguments,1); }; qx.Proto.callAsyncListeners=function($0,$1){return this._callInternal(arguments,2); }; qx.Proto.refreshSession=function($0){if(this.getCrossDomain()){if(qx.core.ServerSettings&&qx.core.ServerSettings.serverPathSuffix){var $1=(new Date()).getTime()-qx.core.ServerSettings.lastSessionRefresh; if($1/1000>(qx.core.ServerSettings.sessionTimeoutInSeconds-30)){this._callInternal([$0],1,true); }else{$0(true); }}else{$0(false); }}else{$0(true); }}; qx.Proto.abort=function($0){$0.abort(); }; qx.Clazz.makeServerURL=function($0){var $1=null; if(qx.core.ServerSettings){$1=qx.core.ServerSettings.serverPathPrefix+$[1660]+qx.core.ServerSettings.serverPathSuffix; if($0!=null){$1+=$[1019]+$0; }}return $1; }; /* ID: qx.ui.form.CheckBox */ qx.OO.defineClass($[2929],qx.ui.basic.Atom,function($0,$1,$2,$3){qx.ui.basic.Atom.call(this,$0); this.setTabIndex(1); this.setPadding(2,3); this._createIcon(); if($1!=null){this.setValue($1); } if($2!=null){this.setName($2); } if($3!=null){this.setChecked($3); }else{this.setChecked(false); }this.addEventListener($[18],this._onclick); this.addEventListener($[13],this._onkeydown); this.addEventListener($[90],this._onkeyup); }); qx.OO.removeProperty({name:$[72]}); qx.OO.removeProperty({name:$[964]}); qx.OO.addProperty({name:$[96],type:$[0]}); qx.OO.addProperty({name:$[85],type:$[0]}); qx.OO.addProperty({name:$[98],type:$[3],getAlias:$[277]}); qx.Proto.INPUT_TYPE="checkbox"; qx.Proto._createIcon=function(){var $0=this._iconObject=new qx.ui.form.InputCheckSymbol; $0.setType(this.INPUT_TYPE); $0.setChecked(this.isChecked()); $0.setEnabled(this.isEnabled()); $0.setAnonymous(true); this.addAtBegin($0); }; qx.Proto._modifyChecked=function($0,$1,$2){if(this._iconObject){this._iconObject.setChecked($0); }return true; }; qx.Proto._modifyEnabled=function($0,$1,$2){if(this._iconObject){this._iconObject.setEnabled($0); }return qx.ui.basic.Atom.prototype._modifyEnabled.call(this,$0,$1,$2); }; qx.Proto._handleIcon=function(){switch(this.getShow()){case qx.ui.basic.Atom.SHOW_ICON:case qx.ui.basic.Atom.SHOW_BOTH:this._iconIsVisible=true; break; default:this._iconIsVisible=false; } if(this._iconIsVisible){this._iconObject?this._iconObject.setDisplay(true):this._createIcon(); }else if(this._iconObject){this._iconObject.setDisplay(false); }}; qx.Proto._onclick=function($0){this.toggleChecked(); }; qx.Proto._onkeydown=function($0){if($0.getKeyIdentifier()==$[34]&&!$0.isAltPressed()){this.toggleChecked(); }}; qx.Proto._onkeyup=function($0){if($0.getKeyIdentifier()==$[103]){this.toggleChecked(); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this.removeEventListener($[18],this._onclick); this.removeEventListener($[13],this._onkeydown); this.removeEventListener($[90],this._onkeyup); return qx.ui.basic.Atom.prototype.dispose.call(this); }; /* ID: qx.ui.form.InputCheckSymbol */ qx.OO.defineClass($[1469],qx.ui.basic.Terminator,function(){qx.ui.basic.Terminator.call(this); this.setTagName($[82]); this.setSelectable(false); if(qx.core.Client.getInstance().isMshtml()){this.setWidth(13); this.setHeight(13); }else if(qx.core.Client.getInstance().isGecko()){this.setMargin(0); }this.forceTabIndex(1); this.setTabIndex(-1); this.setChecked(false); }); qx.OO.addProperty({name:$[96],type:$[0],impl:$[233]}); qx.OO.addProperty({name:$[85],impl:$[233]}); qx.OO.addProperty({name:$[216],impl:$[233]}); qx.OO.addProperty({name:$[98],type:$[3],impl:$[233],getAlias:$[277]}); qx.Proto._modifyApply=function($0,$1,$2){return this.setHtmlProperty($2.name,$0); }; qx.Proto.getPreferredBoxWidth=function(){return 13; }; qx.Proto.getPreferredBoxHeight=function(){return 13; }; qx.Proto.getBoxWidth=qx.Proto.getPreferredBoxWidth; qx.Proto.getBoxHeight=qx.Proto.getPreferredBoxHeight; qx.Proto.getInnerWidth=qx.Proto.getPreferredBoxWidth; qx.Proto.getInnerHeight=qx.Proto.getPreferredBoxHeight; if(qx.core.Client.getInstance().isMshtml()){qx.Proto._afterAppear=function(){qx.ui.basic.Terminator.prototype._afterAppear.call(this); var $0=this.getElement(); $0.checked=this.getChecked(); if(!this.getEnabled()){$0.disabled=true; }}; }qx.Proto._modifyEnabled=function($0,$1,$2){$0?this.removeHtmlAttribute($[152]):this.setHtmlAttribute($[152],$[152]); return qx.ui.basic.Terminator.prototype._modifyEnabled.call(this,$0,$1,$2); }; /* ID: elite.ui.form.ListItem */ qx.OO.defineClass($[2854],qx.ui.form.ListItem,function($0,$1,$2){qx.ui.form.ListItem.call(this,$0,$1,$2); }); qx.OO.addProperty({name:$[208],type:$[0],defaultValue:$[1]}); /* ID: qx.ui.window.Window */ qx.OO.defineClass($[885],qx.ui.popup.Popup,function($0,$1,$2){qx.ui.popup.Popup.call(this); this.setMinWidth($[5]); this.setMinHeight($[5]); this.setAutoHide(false); this.setWindowManager($2||qx.ui.window.Window.getDefaultWindowManager()); var $3=this._frame=new qx.ui.basic.Terminator; $3.setAppearance($[1615]); var $4=this._layout=new qx.ui.layout.VerticalBoxLayout; $4.setEdge(0); this.add($4); var $5=this._captionBar=new qx.ui.layout.HorizontalBoxLayout; $5.setAppearance($[1713]); $4.add($5); if($1!=null){var $6=this._captionIcon=new qx.ui.basic.Image($1); $6.setAppearance($[1860]); $5.add($6); }var $7=this._captionTitle=new qx.ui.basic.Label($0); $7.setAppearance($[2765]); $7.setSelectable(false); $5.add($7); var $8=this._captionFlex=new qx.ui.basic.HorizontalSpacer; $5.add($8); var $9=this._minimizeButton=new qx.ui.form.Button(null,$[1772]); $9.setAppearance($[2602]); $9.setTabIndex(-1); $9.addEventListener($[11],this._onminimizebuttonclick,this); $9.addEventListener($[6],this._onbuttonmousedown,this); $5.add($9); var $a=this._restoreButton=new qx.ui.form.Button(null,$[1551]); $a.setAppearance($[1460]); $a.setTabIndex(-1); $a.addEventListener($[11],this._onrestorebuttonclick,this); $a.addEventListener($[6],this._onbuttonmousedown,this); var $b=this._maximizeButton=new qx.ui.form.Button(null,$[1322]); $b.setAppearance($[2052]); $b.setTabIndex(-1); $b.addEventListener($[11],this._onmaximizebuttonclick,this); $b.addEventListener($[6],this._onbuttonmousedown,this); $5.add($b); var $c=this._closeButton=new qx.ui.form.Button(null,$[1897]); $c.setAppearance($[2835]); $c.setTabIndex(-1); $c.addEventListener($[11],this._onclosebuttonclick,this); $c.addEventListener($[6],this._onbuttonmousedown,this); $5.add($c); var $d=this._pane=new qx.ui.layout.CanvasLayout; $d.setHeight($[44]); $d.setOverflow($[25]); $4.add($d); var $e=this._statusBar=new qx.ui.layout.HorizontalBoxLayout; $e.setAppearance($[1634]); var $f=this._statusText=new qx.ui.basic.Label($[432]); $f.setAppearance($[2383]); $f.setSelectable(false); $e.add($f); this.setCaption($0); this.setIcon($1); this.addEventListener($[6],this._onwindowmousedown,this); this.addEventListener($[7],this._onwindowmouseup,this); this.addEventListener($[14],this._onwindowmousemove,this); this.addEventListener($[18],this._onwindowclick,this); $5.addEventListener($[6],this._oncaptionmousedown,this); $5.addEventListener($[7],this._oncaptionmouseup,this); $5.addEventListener($[14],this._oncaptionmousemove,this); $5.addEventListener($[41],this._oncaptiondblblick,this); this.remapChildrenHandlingTo(this._pane); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[127]}); qx.OO.addProperty({name:$[1189],type:$[4]}); qx.OO.addProperty({name:$[264],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[371],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[590],type:$[0],defaultValue:null,possibleValues:[$[324],$[115]],allowNull:true}); qx.OO.addProperty({name:$[396],type:$[4]}); qx.OO.addProperty({name:$[2096]}); qx.OO.addProperty({name:$[72],type:$[0]}); qx.OO.addProperty({name:$[335],type:$[0],defaultValue:$[432]}); qx.OO.addProperty({name:$[1087],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[2589],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[1012],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[621],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[2251],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[1788],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[1034],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[2316],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[1278],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[353],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[2419],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[493],type:$[0],defaultValue:$[69],possibleValues:[$[161],$[256],$[69],$[111]]}); qx.OO.addProperty({name:$[1002],type:$[0],defaultValue:$[161],possibleValues:[$[161],$[69],$[111]]}); qx.ui.window.Window.getDefaultWindowManager=function(){if(!qx.ui.window.Window._defaultWindowManager){qx.ui.window.Window._defaultWindowManager=new qx.manager.object.WindowManager; }return qx.ui.window.Window._defaultWindowManager; }; qx.Proto.getPane=function(){return this._pane; }; qx.Proto.getCaptionBar=function(){return this._captionBar; }; qx.Proto.getStatusBar=function(){return this._statusBar; }; qx.Proto.close=function(){this.hide(); }; qx.Proto.open=function($0){if($0!=null){this.setOpener($0); } if(this.getCentered()){this.centerToBrowser(); }this.show(); }; qx.Proto.focus=function(){this.setActive(true); }; qx.Proto.blur=function(){this.setActive(false); }; qx.Proto.maximize=function(){this.setMode($[115]); }; qx.Proto.minimize=function(){this.setMode($[324]); }; qx.Proto.restore=function(){this.setMode(null); }; qx.Proto._beforeAppear=function(){qx.ui.layout.CanvasLayout.prototype._beforeAppear.call(this); qx.manager.object.PopupManager.getInstance().update(); qx.event.handler.EventHandler.getInstance().setFocusRoot(this); this.getWindowManager().add(this); this._makeActive(); }; qx.Proto._beforeDisappear=function(){qx.ui.layout.CanvasLayout.prototype._beforeDisappear.call(this); var $0=qx.event.handler.EventHandler.getInstance().getFocusRoot(); if($0==this||this.contains($0)){qx.event.handler.EventHandler.getInstance().setFocusRoot(null); }var $1=qx.event.handler.EventHandler.getInstance().getCaptureWidget(); if($1&&this.contains($1)){$1.setCapture(false); }this.getWindowManager().remove(this); this._makeInactive(); }; qx.Proto._minZIndex=1e5; qx.Proto._sendTo=function(){var $0=qx.lang.Object.getValues(this.getWindowManager().getAll()).sort(qx.util.Compare.byZIndex); var $1=$0.length; var $2=this._minZIndex; for(var $3=0;$3<$1;$3++){$0[$3].setZIndex($2++); }}; qx.Proto._modifyActive=function($0,$1,$2){if($1){if(this.getFocused()){this.setFocused(false); } if(this.getWindowManager().getActiveWindow()==this){this.getWindowManager().setActiveWindow(null); }this.removeState($[264]); this._captionBar.removeState($[264]); }else{if(!this.getFocusedChild()){this.setFocused(true); }this.getWindowManager().setActiveWindow(this); this.bringToFront(); this.addState($[264]); this._captionBar.addState($[264]); }return true; }; qx.Proto._modifyModal=function($0,$1,$2){if(this._initialLayoutDone&&this.getVisibility()&&this.getDisplay()){var $3=this.getTopLevelWidget(); $0?$3.block(this):$3.release(this); }return true; }; qx.Proto._modifyAllowClose=function($0,$1,$2){return this._closeButtonManager(); }; qx.Proto._modifyAllowMaximize=function($0,$1,$2){return this._maximizeButtonManager(); }; qx.Proto._modifyAllowMinimize=function($0,$1,$2){return this._minimizeButtonManager(); }; qx.Proto._modifyMode=function($0,$1,$2){switch($0){case $[324]:this._minimize(); break; case $[115]:this._maximize(); break; default:switch($1){case $[115]:this._restoreFromMaximized(); break; case $[324]:this._restoreFromMinimized(); break; }}return true; }; qx.Proto._modifyShowCaption=function($0,$1,$2){if($0){this._captionBar.addAt(this._captionTitle,this.getShowIcon()?1:0); }else{this._captionBar.remove(this._captionTitle); }return true; }; qx.Proto._modifyShowIcon=function($0,$1,$2){if($0){this._captionBar.addAtBegin(this._captionIcon); }else{this._captionBar.remove(this._captionIcon); }return true; }; qx.Proto._modifyShowStatusbar=function($0,$1,$2){if($0){this._layout.addAtEnd(this._statusBar); }else{this._layout.remove(this._statusBar); }return true; }; qx.Proto._modifyShowClose=function($0,$1,$2){if($0){this._captionBar.addAtEnd(this._closeButton); }else{this._captionBar.remove(this._closeButton); }return true; }; qx.Proto._modifyShowMaximize=function($0,$1,$2){if($0){var $3=this.getMode()==$[115]?this._restoreButton:this._maximizeButton; if(this.getShowMinimize()){this._captionBar.addAfter($3,this._minimizeButton); }else{this._captionBar.addAfter($3,this._captionFlex); }}else{this._captionBar.remove(this._maximizeButton); this._captionBar.remove(this._restoreButton); }return true; }; qx.Proto._modifyShowMinimize=function($0,$1,$2){if($0){this._captionBar.addAfter(this._minimizeButton,this._captionFlex); }else{this._captionBar.remove(this._minimizeButton); }return true; }; qx.Proto._minimizeButtonManager=function(){this._minimizeButton.setEnabled(this.getAllowMinimize()); return true; }; qx.Proto._closeButtonManager=function(){this._closeButton.setEnabled(this.getAllowClose()); return true; }; qx.Proto._maximizeButtonManager=function(){var $0=this.getAllowMaximize()&&this.getResizeable()&&this._computedMaxWidthTypeNull&&this._computedMaxHeightTypeNull; this._maximizeButton.setEnabled($0); this._restoreButton.setEnabled($0); return true; }; qx.Proto._modifyStatus=function($0,$1,$2){this._statusText.setHtml($0); return true; }; qx.Proto._modifyMaxWidth=function($0,$1,$2){return this._maximizeButtonManager(); }; qx.Proto._modifyMaxHeight=function($0,$1,$2){return this._maximizeButtonManager(); }; qx.Proto._modifyResizeable=function($0,$1,$2){return this._maximizeButtonManager(); }; qx.Proto._modifyCaption=function($0,$1,$2){this._captionTitle.setHtml($0); return true; }; qx.Proto._minimize=function(){this.blur(); this.hide(); }; qx.Proto._restoreFromMaximized=function(){this.setLeft(this._previousLeft?this._previousLeft:null); this.setWidth(this._previousWidth?this._previousWidth:null); this.setRight(this._previousRight?this._previousRight:null); this.setTop(this._previousTop?this._previousTop:null); this.setHeight(this._previousHeight?this._previousHeight:null); this.setBottom(this._previousBottom?this._previousBottom:null); this.removeState($[115]); if(this.getShowMaximize()){var $0=this._captionBar; var $1=$0.indexOf(this._restoreButton); $0.remove(this._restoreButton); $0.addAt(this._maximizeButton,$1); }this.focus(); }; qx.Proto._restoreFromMinimized=function(){if(this.hasState($[115])){this.setMode($[115]); }this.show(); this.focus(); }; qx.Proto._maximize=function(){if(this.hasState($[115])){return; }this._previousLeft=this.getLeft(); this._previousWidth=this.getWidth(); this._previousRight=this.getRight(); this._previousTop=this.getTop(); this._previousHeight=this.getHeight(); this._previousBottom=this.getBottom(); this.setWidth(null); this.setLeft(0); this.setRight(0); this.setHeight(null); this.setTop(0); this.setBottom(0); this.addState($[115]); if(this.getShowMaximize()){var $0=this._captionBar; var $1=$0.indexOf(this._maximizeButton); $0.remove(this._maximizeButton); $0.addAt(this._restoreButton,$1); }this.focus(); }; qx.Proto._onwindowmousedown=function($0){this.focus(); if(this._resizeNorth||this._resizeSouth||this._resizeWest||this._resizeEast){this.setCapture(true); this.getTopLevelWidget().setGlobalCursor(this.getCursor()); var $1=this.getElement(); var $2=this.getParent(); var $3=$2.getElement(); var $4=qx.html.Location.getPageAreaLeft($3); var $5=qx.html.Location.getPageAreaTop($3); var $6=qx.html.Location.getPageAreaRight($3); var $7=qx.html.Location.getPageAreaBottom($3); switch(this.getResizeMethod()){case $[111]:this.setOpacity(0.5); break; case $[69]:var $8=this._frame; if($8.getParent()!=this.getParent()){$8.setParent(this.getParent()); qx.ui.core.Widget.flushGlobalQueues(); }$8._applyRuntimeLeft(qx.html.Location.getPageBoxLeft($1)-$4); $8._applyRuntimeTop(qx.html.Location.getPageBoxTop($1)-$5); $8._applyRuntimeWidth(qx.html.Dimension.getBoxWidth($1)); $8._applyRuntimeHeight(qx.html.Dimension.getBoxHeight($1)); $8.setZIndex(this.getZIndex()+1); break; }var $9=this._resizeSession={}; if(this._resizeWest){$9.boxWidth=qx.html.Dimension.getBoxWidth($1); $9.boxRight=qx.html.Location.getPageBoxRight($1); } if(this._resizeWest||this._resizeEast){$9.boxLeft=qx.html.Location.getPageBoxLeft($1); $9.parentAreaOffsetLeft=$4; $9.parentAreaOffsetRight=$6; $9.minWidth=this.getMinWidthValue(); $9.maxWidth=this.getMaxWidthValue(); } if(this._resizeNorth){$9.boxHeight=qx.html.Dimension.getBoxHeight($1); $9.boxBottom=qx.html.Location.getPageBoxBottom($1); } if(this._resizeNorth||this._resizeSouth){$9.boxTop=qx.html.Location.getPageBoxTop($1); $9.parentAreaOffsetTop=$5; $9.parentAreaOffsetBottom=$7; $9.minHeight=this.getMinHeightValue(); $9.maxHeight=this.getMaxHeightValue(); }}else{delete this._resizeSession; }$0.stopPropagation(); }; qx.Proto._onwindowmouseup=function($0){var $1=this._resizeSession; if($1){this.setCapture(false); this.getTopLevelWidget().setGlobalCursor(null); switch(this.getResizeMethod()){case $[69]:var $2=this._frame; if(!($2&&$2.getParent())){break; }case $[256]:if($1.lastLeft!=null){this.setLeft($1.lastLeft); } if($1.lastTop!=null){this.setTop($1.lastTop); } if($1.lastWidth!=null){this.setWidth($1.lastWidth); } if($1.lastHeight!=null){this.setHeight($1.lastHeight); } if(this.getResizeMethod()==$[69]){this._frame.setParent(null); }break; case $[111]:this.setOpacity(null); break; }delete this._resizeNorth; delete this._resizeEast; delete this._resizeSouth; delete this._resizeWest; delete this._resizeSession; }$0.stopPropagation(); }; qx.Proto._near=function($0,$1){return $1>($0-5)&&$1<($0+5); }; qx.Proto._onwindowmousemove=function($0){if(!this.getResizeable()||this.getMode()!=null){return; }var $1=this._resizeSession; if($1){if(this._resizeWest){$1.lastWidth=qx.lang.Number.limit($1.boxWidth+$1.boxLeft-Math.max($0.getPageX(),$1.parentAreaOffsetLeft),$1.minWidth,$1.maxWidth); $1.lastLeft=$1.boxRight-$1.lastWidth-$1.parentAreaOffsetLeft; }else if(this._resizeEast){$1.lastWidth=qx.lang.Number.limit(Math.min($0.getPageX(),$1.parentAreaOffsetRight)-$1.boxLeft,$1.minWidth,$1.maxWidth); } if(this._resizeNorth){$1.lastHeight=qx.lang.Number.limit($1.boxHeight+$1.boxTop-Math.max($0.getPageY(),$1.parentAreaOffsetTop),$1.minHeight,$1.maxHeight); $1.lastTop=$1.boxBottom-$1.lastHeight-$1.parentAreaOffsetTop; }else if(this._resizeSouth){$1.lastHeight=qx.lang.Number.limit(Math.min($0.getPageY(),$1.parentAreaOffsetBottom)-$1.boxTop,$1.minHeight,$1.maxHeight); } switch(this.getResizeMethod()){case $[161]:case $[111]:if(this._resizeWest||this._resizeEast){this.setWidth($1.lastWidth); if(this._resizeWest){this.setLeft($1.lastLeft); }} if(this._resizeNorth||this._resizeSouth){this.setHeight($1.lastHeight); if(this._resizeNorth){this.setTop($1.lastTop); }}break; default:var $2=this.getResizeMethod()==$[69]?this._frame:this; if(this._resizeWest||this._resizeEast){$2._applyRuntimeWidth($1.lastWidth); if(this._resizeWest){$2._applyRuntimeLeft($1.lastLeft); }} if(this._resizeNorth||this._resizeSouth){$2._applyRuntimeHeight($1.lastHeight); if(this._resizeNorth){$2._applyRuntimeTop($1.lastTop); }}}}else{var $3=$[1]; var $4=this.getElement(); this._resizeNorth=this._resizeSouth=this._resizeWest=this._resizeEast=false; if(this._near(qx.html.Location.getPageBoxTop($4),$0.getPageY())){$3=$[372]; this._resizeNorth=true; }else if(this._near(qx.html.Location.getPageBoxBottom($4),$0.getPageY())){$3=$[229]; this._resizeSouth=true; } if(this._near(qx.html.Location.getPageBoxLeft($4),$0.getPageX())){$3+=$[513]; this._resizeWest=true; }else if(this._near(qx.html.Location.getPageBoxRight($4),$0.getPageX())){$3+=$[342]; this._resizeEast=true; } if(this._resizeNorth||this._resizeSouth||this._resizeWest||this._resizeEast){this.setCursor($3+$[528]); }else{this.setCursor(null); }}$0.stopPropagation(); $0.preventDefault(); }; qx.Proto._onwindowclick=function($0){$0.stopPropagation(); }; qx.Proto._onbuttonmousedown=function($0){$0.stopPropagation(); }; qx.Proto._onminimizebuttonclick=function($0){this.minimize(); this._minimizeButton.removeState($[20]); this._minimizeButton.removeState($[39]); this._minimizeButton.removeState($[49]); $0.stopPropagation(); }; qx.Proto._onrestorebuttonclick=function($0){this.restore(); this._restoreButton.removeState($[20]); this._restoreButton.removeState($[39]); this._restoreButton.removeState($[49]); $0.stopPropagation(); }; qx.Proto._onmaximizebuttonclick=function($0){this.maximize(); this._maximizeButton.removeState($[20]); this._maximizeButton.removeState($[39]); this._maximizeButton.removeState($[49]); $0.stopPropagation(); }; qx.Proto._onclosebuttonclick=function($0){this.close(); this._closeButton.removeState($[20]); this._closeButton.removeState($[39]); this._closeButton.removeState($[49]); $0.stopPropagation(); }; qx.Proto._oncaptionmousedown=function($0){if(!$0.isLeftButtonPressed()||!this.getMoveable()||this.getMode()!=null){return; }this._captionBar.setCapture(true); var $1=this.getElement(); var $2=this.getParent(); var $3=$2.getElement(); var $4=qx.html.Location.getPageAreaLeft($3); var $5=qx.html.Location.getPageAreaTop($3); var $6=qx.html.Location.getPageAreaRight($3); var $7=qx.html.Location.getPageAreaBottom($3); this._dragSession={offsetX:$0.getPageX()-qx.html.Location.getPageBoxLeft($1)+$4,offsetY:$0.getPageY()-qx.html.Location.getPageBoxTop($1)+$5,parentAvailableAreaLeft:$4+5,parentAvailableAreaTop:$5+5,parentAvailableAreaRight:$6-5,parentAvailableAreaBottom:$7-5}; switch(this.getMoveMethod()){case $[111]:this.setOpacity(0.5); break; case $[69]:var $8=this._frame; if($8.getParent()!=this.getParent()){$8.setParent(this.getParent()); qx.ui.core.Widget.flushGlobalQueues(); }$8._applyRuntimeLeft(qx.html.Location.getPageBoxLeft($1)-$4); $8._applyRuntimeTop(qx.html.Location.getPageBoxTop($1)-$5); $8._applyRuntimeWidth(qx.html.Dimension.getBoxWidth($1)); $8._applyRuntimeHeight(qx.html.Dimension.getBoxHeight($1)); $8.setZIndex(this.getZIndex()+1); break; }}; qx.Proto._oncaptionmouseup=function($0){var $1=this._dragSession; if(!$1){return; }this._captionBar.setCapture(false); if($1.lastX!=null){this.setLeft($1.lastX); } if($1.lastY!=null){this.setTop($1.lastY); }switch(this.getMoveMethod()){case $[111]:this.setOpacity(null); break; case $[69]:this._frame.setParent(null); break; }delete this._dragSession; }; qx.Proto._oncaptionmousemove=function($0){var $1=this._dragSession; if(!$1||!this._captionBar.getCapture()){return; }if(!qx.lang.Number.isBetweenRange($0.getPageX(),$1.parentAvailableAreaLeft,$1.parentAvailableAreaRight)||!qx.lang.Number.isBetweenRange($0.getPageY(),$1.parentAvailableAreaTop,$1.parentAvailableAreaBottom)){return; }var $2=this.getMoveMethod()==$[69]?this._frame:this; $2._applyRuntimeLeft($1.lastX=$0.getPageX()-$1.offsetX); $2._applyRuntimeTop($1.lastY=$0.getPageY()-$1.offsetY); }; qx.Proto._oncaptiondblblick=function(){if(!this._maximizeButton.getEnabled()){return; }return this.getMode()==$[115]?this.restore():this.maximize(); }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; } if(this._layout){this._layout.dispose(); this._layout=null; } if(this._frame){this._frame.dispose(); this._frame=null; } if(this._captionBar){this._captionBar.dispose(); this._captionBar=null; } if(this._captionIcon){this._captionIcon.dispose(); this._captionIcon=null; } if(this._captionTitle){this._captionTitle.dispose(); this._captionTitle=null; } if(this._captionFlex){this._captionFlex.dispose(); this._captionFlex=null; } if(this._closeButton){this._closeButton.dispose(); this._closeButton=null; } if(this._minimizeButton){this._minimizeButton.dispose(); this._minimizeButton=null; } if(this._maximizeButton){this._maximizeButton.dispose(); this._maximizeButton=null; } if(this._restoreButton){this._restoreButton.dispose(); this._restoreButton=null; } if(this._pane){this._pane.dispose(); this._pane=null; } if(this._statusBar){this._statusBar.dispose(); this._statusBar=null; } if(this._statusText){this._statusText.dispose(); this._statusText=null; }return qx.ui.popup.Popup.prototype.dispose.call(this); }; /* ID: qx.ui.basic.HorizontalSpacer */ qx.OO.defineClass($[2989],qx.ui.basic.Terminator,function(){qx.ui.basic.Terminator.call(this); this.setWidth($[44]); }); /* ID: qx.manager.object.WindowManager */ qx.OO.defineClass($[1211],qx.manager.object.ObjectManager,function(){qx.manager.object.ObjectManager.call(this); }); qx.OO.addProperty({name:$[2119],type:$[4]}); qx.Proto._modifyActiveWindow=function($0,$1,$2){qx.manager.object.PopupManager.getInstance().update(); if($1){$1.setActive(false); } if($0){$0.setActive(true); } if($1&&$1.getModal()){$1.getTopLevelWidget().release($1); } if($0&&$0.getModal()){$0.getTopLevelWidget().block($0); }return true; }; qx.Proto.update=function($0){var $1,$2; var $3=this.getAll(); for(var $2 in $3){$1=$3[$2]; if(!$1.getAutoHide()){continue; }$1.hide(); }}; qx.Proto.compareWindows=function($0,$1){switch($0.getWindowManager().getActiveWindow()){case $0:return 1; case $1:return -1; }return $0.getZIndex()-$1.getZIndex(); }; qx.Proto.add=function($0){qx.manager.object.ObjectManager.prototype.add.call(this,$0); this.setActiveWindow($0); }; qx.Proto.remove=function($0){qx.manager.object.ObjectManager.prototype.remove.call(this,$0); if(this.getActiveWindow()==$0){var $1=[]; for(var $2 in this._objects){$1.push(this._objects[$2]); }var $3=$1.length; if($3==0){this.setActiveWindow(null); }else if($3==1){this.setActiveWindow($1[0]); }else if($3>1){$1.sort(this.compareWindows); this.setActiveWindow($1[$3-1]); }}}; /* ID: elite.ui.message.Message */ qx.OO.defineClass($[1078],qx.ui.window.Window,function($0,$1,$2,$3){qx.ui.window.Window.call(this); this.setResizeable(false); this.addEventListener($[70],this._onAppear); }); qx.OO.addProperty({name:$[2159],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[2162],type:$[4],instance:$[427],defaultValue:null}); qx.OO.addProperty({name:$[2195],type:$[4],instance:$[427],defaultValue:null}); qx.OO.addProperty({name:$[1444],type:$[23]}); qx.Proto._onOk=function($0){this.setButtonResponse(true); this.close(); }; qx.Proto._onCancel=function(){this.setButtonResponse(false); this.close(); }; qx.Proto._onAppear=function(){var $0=this.getGroupButtons().getChildren(); $0[0].focus(); }; qx.Proto._modifyGroupIconMessage=function($0,$1,$2){if($1){$1.removeAll(); } if($0){this.add($0); }return true; }; qx.Proto._modifyGroupButtons=function($0,$1,$2){if($1){this.remove($1); } if($0){this.add($0); }return true; }; qx.Proto._modifyOnCloseEvent=function($0,$1,$2){if($1){this.removeEventListener($[187],$1); } if($0){this.addEventListener($[187],$0); }return true; }; qx.Proto.showMessage=function($0,$1,$2,$3){var $4=[]; var $5=$[1]; this.setCaption($0); if($1){$4=$1.split($[1138]); for(var $6=0;$6<$4.length;$6++){if($4[$6].length>$5.length){$5=$4[$6]; }}var $7; switch($2){case $[1588]:$7=new qx.ui.basic.Image($[1907]); break; case $[101]:$7=new qx.ui.basic.Image($[2753]); break; case $[2267]:$7=new qx.ui.basic.Image($[1728]); break; case $[1228]:default:$7=new qx.ui.basic.Image($[1263]); break; }$7.setLeft(15); $7.setTop(0); var $8=new qx.renderer.font.Font(13,$[853]); var $9=new qx.ui.basic.Label($1); $9.setFont($8); $9.setLeft(0); $9.setTop(10); var $a=new qx.ui.layout.HorizontalBoxLayout(); $a.setLeft(0); $a.setTop(15); $a.setWidth($[42]); $a.setHeight($[5]); $a.setSpacing(25); $a.setHorizontalChildrenAlign($[10]); $a.add($7); $a.add($9); this.setGroupIconMessage($a); }var $b=new qx.ui.layout.HorizontalBoxLayout(); $b.setLeft(0); $b.setBottom(10); $b.setRight(10); $b.setHeight($[5]); $b.setSpacing(10); $b.setHorizontalChildrenAlign($[12]); if($3){for(var $6=0;$6<$3.length;$6++){var $c=new qx.ui.form.Button(); if($3[$6]==$[2272]){$c.setLabel($[1517]); $c.setIcon($[710]); $c.setIconPosition($[10]); $c.addEventListener($[11],this._onOk,this); }else if($3[$6]==$[2350]){$c.setLabel($[1850]); $c.setIcon($[731]); $c.setIconPosition($[10]); $c.addEventListener($[11],this._onCancel,this); }else if($3[$6]==$[667]){$c.setLabel($[388]); $c.setIcon($[710]); $c.setIconPosition($[10]); $c.addEventListener($[11],this._onOk,this); }else{$c.setLabel($[450]); $c.setIcon($[731]); $c.setIconPosition($[10]); $c.addEventListener($[11],this._onCancel,this); }$b.add($c); }}this.setGroupButtons($b); this.setShowMaximize(false); this.setShowMinimize(false); this.setModal(true); this.addToDocument(); if($5.length>$0.length){vTam=110+$5.length*6.4-($5.length/2); }else{vTam=110+$0.length*6.4-($0.length/2); } if(vTam<($3.length*70)){vTam=$3.length*70; } if(vTam<120){vTam=120; }this.setWidth(vTam); this.setHeight(150+$4.length*15-($4.length/2)); this.centerToBrowser(); this.open(); }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; }return qx.ui.window.Window.prototype.dispose.call(this); }; /* ID: qx.io.local.CookieApi */ qx.OO.defineClass($[2075],{STR_EXPIRES:"expires",STR_PATH:"path",STR_DOMAIN:"domain",STR_SECURE:"secure",STR_DELDATA:"Thu, 01-Jan-1970 00:00:01 GMT"}); qx.Clazz.get=function($0){var $1=document.cookie.indexOf($0+$[21]); var $2=$1+$0.length+1; if((!$1)&&($0!=document.cookie.substring(0,$0.length))){return null; } if($1==-1){return null; }var $3=document.cookie.indexOf($[77],$2); if($3==-1){$3=document.cookie.length; }return unescape(document.cookie.substring($2,$3)); }; qx.Clazz.set=function($0,$1,$2,$3,$4,$5){var $6=new Date(); $6.setTime($6.getTime()); var $7=[$0,$[21],escape($1)]; if($2){$7.push($[77]); $7.push(qx.io.local.CookieApi.STR_EXPIRES); $7.push($[21]); $7.push(new Date($6.getTime()+($2*1000*60*60*24)).toGMTString()); } if($3){$7.push($[77]); $7.push(qx.io.local.CookieApi.STR_PATH); $7.push($[21]); $7.push($3); } if($4){$7.push($[77]); $7.push(qx.io.local.CookieApi.STR_DOMAIN); $7.push($[21]); $7.push($4); } if($5){$7.push($[77]); $7.push(qx.io.local.CookieApi.STR_SECURE); }document.cookie=$7.join($[1]); }; qx.Clazz.del=function($0,$1,$2){if(!qx.io.local.CookieApi.get($0)){return; }var $3=[$0,$[21]]; if($1){$3.push($[77]); $3.push(qx.io.local.CookieApi.STR_PATH); $3.push($[21]); $3.push($1); } if($2){$3.push($[77]); $3.push(qx.io.local.CookieApi.STR_DOMAIN); $3.push($[21]); $3.push($2); }$3.push($[77]); $3.push(qx.io.local.CookieApi.STR_EXPIRES); $3.push($[21]); $3.push(qx.io.local.CookieApi.STR_DELDATA); document.cookie=$3.join($[1]); }; /* ID: qx.locale.data.fr_FR */ qx.Locale.define($[2348],{}); /* ID: qx.ui.pageview.AbstractPage */ qx.OO.defineClass($[2124],qx.ui.layout.CanvasLayout,function($0){qx.ui.layout.CanvasLayout.call(this); if($0!=null){this.setButton($0); }}); qx.OO.addProperty({name:$[122],type:$[4]}); qx.OO.changeProperty({name:$[128],type:$[3],defaultValue:false}); qx.Proto._modifyButton=function($0,$1,$2){if($1){$1.setPage(null); } if($0){$0.setPage(this); }return true; }; /* ID: qx.ui.pageview.buttonview.Page */ qx.OO.defineClass($[2599],qx.ui.pageview.AbstractPage,function($0){qx.ui.pageview.AbstractPage.call(this,$0); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[2511]}); /* ID: elite.ui.hiddenPane.RightPane */ qx.OO.defineClass($[1411],qx.ui.layout.CanvasLayout,function(){qx.ui.layout.CanvasLayout.call(this); this.setRight(0); this.setTop(0); this._hiddenButton=new qx.ui.form.Button($[1],$[1956]); this._hiddenButton.setLeft(-19); this._hiddenButton.setTop(this.getHeight()/2-10); this._hiddenButton.setWidth(15); this._hiddenButton.setHeight(50); this.add(this._hiddenButton); this._hiddenButton.addEventListener($[11],this.hiddenExecute,this); this._showButton=new qx.ui.form.Button($[1],$[2902]); this._showButton.setLeft(-19); this._showButton.setTop(this.getHeight()/2-10); this._showButton.setWidth(15); this._showButton.setHeight(50); this.add(this._showButton); this._showButton.setVisibility(false); this._showButton.addEventListener($[11],this.showExecute,this); this.setPaddingLeft(20); this._originalLeftPaneSize=0; this._originalLeftPaneLegend=$[1]; this._originalRightPaneSize=0; }); qx.OO.addProperty({name:$[2229],type:$[23]}); qx.Proto.hiddenExecute=function(){var $0=this.getParent().getChildren(); for(var $1=0;$1<$0.length;$1++){if($0[$1] instanceof elite.ui.hiddenPane.LeftPane){var $2=$0[$1]; this._originalLeftPaneLegend=$2.getLegend(); this._originalLeftPaneSize=$2.getWidth(); $2.setLegend($[1]); $2.setWidth(0); $2.setVisibility(false); this._hiddenButton.setVisibility(false); this._showButton.setVisibility(true); } if($0[$1] instanceof elite.ui.hiddenPane.RightPane){var $3=$0[$1]; this._originalRightPaneSize=$3.getWidth(); $3.setWidth(this.getParent().getWidth()); }}}; qx.Proto.showExecute=function(){var $0=this.getParent().getChildren(); for(var $1=0;$1<$0.length;$1++){if($0[$1] instanceof elite.ui.hiddenPane.LeftPane){var $2=$0[$1]; $2.setLegend(this._originalLeftPaneLegend); $2.setWidth(this._originalLeftPaneSize); $2.setVisibility(true); this._hiddenButton.setVisibility(true); this._showButton.setVisibility(false); } if($0[$1] instanceof elite.ui.hiddenPane.RightPane){var $3=$0[$1]; $3.setWidth(this._originalRightPaneSize); }}}; qx.Proto._modifyHeight=function($0,$1,$2){this._hiddenButton.setTop(($0/2)-20); this._showButton.setTop(($0/2)-20); return true; }; qx.Proto._modifyShowHiddenExecute=function($0,$1,$2){this._hiddenButton.addEventListener($[11],$0); return true; }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; }return qx.ui.layout.CanvasLayout.prototype.dispose.call(this); }; /* ID: qx.ui.groupbox.GroupBox */ qx.OO.defineClass($[1856],qx.ui.layout.CanvasLayout,function($0,$1){qx.ui.layout.CanvasLayout.call(this); this._createFrameObject(); this._createLegendObject(); this.setLegend($0); if($1!=null){this.setIcon($1); }this.remapChildrenHandlingTo(this._frameObject); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[1311]}); qx.Proto._createLegendObject=function(){this._legendObject=new qx.ui.basic.Atom; this._legendObject.setAppearance($[979]); this.add(this._legendObject); }; qx.Proto._createFrameObject=function(){this._frameObject=new qx.ui.layout.CanvasLayout; this._frameObject.setAppearance($[2169]); this.add(this._frameObject); }; qx.Proto.getFrameObject=function(){return this._frameObject; }; qx.Proto.getLegendObject=function(){return this._legendObject; }; qx.Proto.setLegend=function($0){this._legendObject.setLabel($0); }; qx.Proto.getLegend=function(){return this._legendObject.getLabel(); }; qx.Proto.setIcon=function($0){this._legendObject.setIcon($0); }; qx.Proto.getIcon=function(){this._legendObject.getIcon(); }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; } if(this._legendObject){this._legendObject.dispose(); this._legendObject=null; } if(this._frameObject){this._frameObject.dispose(); this._frameObject=null; }return qx.ui.layout.CanvasLayout.prototype.dispose.call(this); }; /* ID: elite.ui.hiddenPane.LeftPane */ qx.OO.defineClass($[2062],qx.ui.groupbox.GroupBox,function(){qx.ui.groupbox.GroupBox.call(this); this.setLeft(0); this.setTop(0); }); qx.OO.addProperty({name:$[1958],type:$[0]}); qx.Proto._modifyLeftLegend=function($0,$1,$2){this.setLegend($0); return true; }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; }return qx.ui.layout.CanvasLayout.prototype.dispose.call(this); }; /* ID: qx.locale.translation.de */ qx.Locale.define($[1572],{"key_short_Meta":$[155],"key_short_Scroll":$[601],"key_full_NumLock":$[148],"key_full_Left":$[2817],"Choose a date":$[2524],"key_short_Control":$[1374],"key_short_Home":$[976],"Hex":$[339],"key_short_Space":$[2234],"key_full_PageUp":$[860],"key_short_Shift":$[1378],"key_full_Control":$[2224],"RGB":"RGB","key_short_Up":$[2372],"Details":$[535],"Last year":$[2652],"key_full_Insert":$[1676],"key_short_Apps":$[1462],"Open ColorSelector":$[1445],"key_short_Backspace":$[2255],"key_short_Alt":$[120],"key_full_Shift":$[1672],"Description":$[2631],"key_full_Space":$[1906],"key_short_PageDown":$[2045],"Presets":$[2333],"key_full_Up":$[2831],"key_short_CapsLock":$[2221],"key_full_Backspace":$[1342],"key_full_Tab":$[645],"key_full_End":$[570],"key_short_Escape":$[499],"key_short_Tab":$[183],"key_full_Apps":$[2734],"key_full_Delete":$[1234],"Case sensitive":$[1285],"HSB":"HSB","key_short_PageUp":$[860],"Next month":$[2266],"key_short_Win":$[254],"key_full_Enter":$[34],"key_full_Alt":$[120],"key_short_Pause":$[230],"key_short_Down":$[2501],"key_full_Win":$[1739],"key_short_Right":$[2466],"key_short_NumLock":$[723],"key_full_Escape":$[88],"Automatic":$[2243],"ID":"ID","key_short_Enter":$[34],"Last month":$[1533],"key_full_Right":$[2611],"OK":"OK","key_full_PageDown":$[2544],"key_full_Pause":$[230],"key_full_CapsLock":$[2014],"Color Selector":$[2554],"Search next occurrence":$[2584],"Preview (Old/New)":$[997],"key_short_Left":$[2551],"Search items in list":$[2060],"key_short_End":$[570],"key_full_Meta":$[155],"key_full_Home":$[1545],"Cancel":$[1122],"key_full_Scroll":$[601],"Next year":$[2923],"key_short_Delete":$[2189],"key_short_Insert":$[1993],"key_full_Down":$[2506]}); /* ID: qx.locale.translation.de_DE */ qx.Locale.define($[1030],{}); /* ID: qx.manager.selection.TreeSelectionManager */ qx.OO.defineClass($[1402],qx.manager.selection.SelectionManager,function($0){qx.manager.selection.SelectionManager.call(this,$0); }); qx.OO.changeProperty({name:$[368],type:$[3],defaultValue:false}); qx.OO.changeProperty({name:$[533],type:$[3],defaultValue:false}); qx.Proto._getFirst=function(){return qx.lang.Array.getFirst(this.getItems()); }; qx.Proto._getLast=function(){return qx.lang.Array.getLast(this.getItems()); }; qx.Proto.getItems=function(){return this.getBoundedWidget().getItems(); }; qx.Proto.getNext=function($0){if($0){if(qx.ui.tree.Tree.isOpenTreeFolder($0)){return $0.getFirstVisibleChildOfFolder(); }else if($0.isLastVisibleChild()){var $1=$0; while($1&&$1.isLastVisibleChild()){$1=$1.getParentFolder(); } if($1&&$1 instanceof qx.ui.tree.AbstractTreeElement&&$1.getNextVisibleSibling()&&$1.getNextVisibleSibling() instanceof qx.ui.tree.AbstractTreeElement){return $1.getNextVisibleSibling(); }}else{return $0.getNextVisibleSibling(); }}else{return this.getBoundedWidget().getFirstTreeChild(); }}; qx.Proto.getPrevious=function($0){if($0){if($0==this.getBoundedWidget()){return; }else if($0.isFirstVisibleChild()){if($0.getParentFolder() instanceof qx.ui.tree.TreeFolder){return $0.getParentFolder(); }}else{var $1=$0.getPreviousVisibleSibling(); while($1 instanceof qx.ui.tree.AbstractTreeElement){if(qx.ui.tree.Tree.isOpenTreeFolder($1)){$1=$1.getLastVisibleChildOfFolder(); }else{break; }}return $1; }}else{return this.getBoundedWidget().getLastTreeChild(); }}; qx.Proto.getItemTop=function($0){var $1=this.getBoundedWidget(); var $2=$0.getElement(); var $3=0; while($2&&$2.qx_Widget!=$1){$3+=$2.offsetTop; $2=$2.parentNode; }return $3; }; qx.Proto.getItemHeight=function($0){if($0 instanceof qx.ui.tree.TreeFolder&&$0._horizontalLayout){return $0._horizontalLayout.getOffsetHeight(); }else{return $0.getOffsetHeight(); }}; qx.Proto.scrollItemIntoView=function($0){if($0 instanceof qx.ui.tree.TreeFolder&&$0._horizontalLayout){return $0._horizontalLayout.scrollIntoView(); }else{return $0.scrollIntoView(); }}; qx.Proto.renderItemSelectionState=function($0,$1){if($1&&!$0.isSeeable()){var $2=$0; var $3=[]; while($2){$2=$2.getParentFolder(); $3.push($2); }$3.pop(); while($3.length){$3.pop().open(); }} if($1){if($0.isCreated()){this.scrollItemIntoView($0); }else{$0.addEventListener($[70],function($4){this.scrollItemIntoView($0); },this); }}$0.setSelected($1); }; /* ID: qx.ui.tree.AbstractTreeElement */ qx.OO.defineClass($[2147],qx.ui.layout.BoxLayout,function($0,$1,$2){if(this.classname==qx.ui.tree.AbstractTreeElement.ABSTRACT_CLASS){throw new Error("Please omit the usage of qx.ui.tree.AbstractTreeElement directly. Choose between qx.ui.tree.TreeFolder and qx.ui.tree.TreeFile instead!"); }this._indentObject=new qx.ui.embed.HtmlEmbed; this._iconObject=new qx.ui.basic.Image; this._labelObject=new qx.ui.basic.Label; this._indentObject.setAnonymous(true); this._iconObject.setAnonymous(true); this._labelObject.setAnonymous(true); this._labelObject.setSelectable(false); this._labelObject.setStyleProperty($[145],$[42]); qx.ui.layout.BoxLayout.call(this,$[26]); this.setLabel($0); this.setSelectable(false); this.BASE_URI=qx.manager.object.AliasManager.getInstance().resolvePath("widget/tree/"); this.add(this._indentObject,this._iconObject,this._labelObject); if($1!=null){this.setIcon($1); this.setIconSelected($1); } if($2!=null){this.setIconSelected($2); }this._iconObject.setSource(this._evalCurrentIcon()); this._iconObject.setAppearance($[902]); this._labelObject.setAppearance($[305]); this.addEventListener($[6],this._onmousedown); this.addEventListener($[7],this._onmouseup); }); qx.ui.tree.AbstractTreeElement.ABSTRACT_CLASS="qx.ui.tree.AbstractTreeElement"; qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[358]}); qx.OO.addProperty({name:$[72],type:$[0]}); qx.OO.addProperty({name:$[299],type:$[0]}); qx.OO.addProperty({name:$[97]}); qx.OO.addProperty({name:$[30],type:$[3],defaultValue:false}); qx.Proto._modifyLabel=function($0,$1,$2){if(this._labelObject){this._labelObject.setHtml($0); }return true; }; qx.Proto._modifySelected=function($0,$1,$2){$0?this.addState($[30]):this.removeState($[30]); $0?this._labelObject.addState($[30]):this._labelObject.removeState($[30]); var $3=this.getTree(); if(!$3._fastUpdate||($1&&$3._oldItem==this)){this._iconObject.setSource(this._evalCurrentIcon()); if($0){this._iconObject.addState($[30]); }else{this._iconObject.removeState($[30]); }}var $4=this.getTree().getManager(); if($1&&$4.getSelectedItem()==this){$4.deselectAll(); }else if($0&&$4.getSelectedItem()!=this){$4.setSelectedItem(this); }return true; }; qx.Proto._evalCurrentIcon=function(){if(this.getSelected()&&this.getIconSelected()){return this.getIconSelected(); }else{return this.getIcon()||$[487]; }}; qx.Proto.getParentFolder=function(){try{return this.getParent().getParent(); }catch(ex){}return null; }; qx.Proto.getLevel=function(){var $0=this.getParentFolder(); return $0?$0.getLevel()+1:null; }; qx.Proto.getTree=function(){var $0=this.getParentFolder(); return $0?$0.getTree():null; }; qx.Proto.getIndentObject=function(){return this._indentObject; }; qx.Proto.getIconObject=function(){return this._iconObject; }; qx.Proto.getLabelObject=function(){return this._labelObject; }; qx.Proto.destroy=function(){var $0=this.getTree()?this.getTree().getManager():null; if($0){if($0.getItemSelected(this)){if($0.getMultiSelection()){$0.setItemSelected(this,false); }else{$0.deselectAll(); }}if($0.getLeadItem()==this){$0.setLeadItem(null); }if($0.getAnchorItem()==this){$0.setAnchorItem(null); }}if(this.destroyContent){this.destroyContent(); }this.disconnect(); var $1=this.getParentFolder(); if($1){$1.remove(this); }this.dispose(); }; qx.Proto.addToTreeQueue=function(){var $0=this.getTree(); if($0){$0.addChildToTreeQueue(this); }}; qx.Proto.removeFromTreeQueue=function(){var $0=this.getTree(); if($0){$0.removeChildFromTreeQueue(this); }}; qx.Proto.addToCustomQueues=function($0){this.addToTreeQueue(); qx.ui.layout.BoxLayout.prototype.addToCustomQueues.call(this,$0); }; qx.Proto.removeFromCustomQueues=function($0){this.removeFromTreeQueue(); qx.ui.layout.BoxLayout.prototype.removeFromCustomQueues.call(this,$0); }; qx.Proto._modifyParent=function($0,$1,$2){qx.ui.layout.BoxLayout.prototype._modifyParent.call(this,$0,$1,$2); if($1&&!$1.isDisplayable()&&$1.getParent()&&$1.getParent().isDisplayable()){$1.getParent().addToTreeQueue(); }if($0&&!$0.isDisplayable()&&$0.getParent()&&$0.getParent().isDisplayable()){$0.getParent().addToTreeQueue(); }return true; }; qx.Proto._handleDisplayableCustom=function($0,$1,$2){qx.ui.layout.BoxLayout.prototype._handleDisplayableCustom.call(this,$0,$1,$2); if($2){var $3=this.getParentFolder(); var $4=this._previousParentFolder; if($4){if(this._wasLastVisibleChild){$4._updateIndent(); }else if(!$4.hasContent()){$4.addToTreeQueue(); }} if($3&&$3.isDisplayable()&&$3._initialLayoutDone){$3.addToTreeQueue(); } if(this.isLastVisibleChild()){var $5=this.getPreviousVisibleSibling(); if($5&&$5 instanceof qx.ui.tree.AbstractTreeElement){$5._updateIndent(); }} if($0){this._updateIndent(); }}}; qx.Proto._onmousedown=function($0){this.getTree().getManager().handleMouseDown(this,$0); $0.stopPropagation(); }; qx.Proto._onmouseup=qx.lang.Function.returnTrue; qx.Proto.flushTree=function(){this._previousParentFolder=this.getParentFolder(); this._wasLastVisibleChild=this.isLastVisibleChild(); var $0=this.getLevel(); var $1=this.getTree(); var $2; var $3=[]; var $4=this; for(var $5=0;$5<$0;$5++){$2=$4.getIndentSymbol($1.getUseTreeLines(),$5==0); if($2){$3.push($[642]); $3.push(($0-$5-1)*19); $3.push($[882]); $3.push(this.BASE_URI); $3.push($2); $3.push($[50]); $3.push($[524]); $3.push($[865]); }$4=$4.getParentFolder(); }this._indentObject.setHtml($3.join($[1])); this._indentObject.setWidth($0*19); }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; } if(this._indentObject){this._indentObject.dispose(); this._indentObject=null; } if(this._iconObject){this._iconObject.dispose(); this._iconObject=null; } if(this._labelObject){this._labelObject.dispose(); this._labelObject=null; }this._previousParentFolder=null; this.removeEventListener($[6],this._onmousedown); this.removeEventListener($[7],this._onmouseup); return qx.ui.layout.BoxLayout.prototype.dispose.call(this); }; /* ID: qx.ui.tree.TreeFolder */ qx.OO.defineClass($[1003],qx.ui.tree.AbstractTreeElement,function($0,$1,$2){qx.ui.tree.AbstractTreeElement.call(this,$0,$1,$2); this._iconObject.setAppearance($[307]); this._labelObject.setAppearance($[348]); this.addEventListener($[41],this._ondblclick); this.add=this.addToFolder; this.addBefore=this.addBeforeToFolder; this.addAfter=this.addAfterToFolder; this.addAt=this.addAtToFolder; this.addAtBegin=this.addAtBeginToFolder; this.addAtEnd=this.addAtEndToFolder; this.remove=this.removeFromFolder; }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[224]}); qx.OO.changeProperty({name:$[72],type:$[0]}); qx.OO.changeProperty({name:$[299],type:$[0]}); qx.OO.addProperty({name:$[534],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[649],type:$[3],defaultValue:false}); qx.Proto.hasContent=function(){return this._containerObject&&this._containerObject.getChildrenLength()>0; }; qx.Proto.open=function(){if(this.getOpen()){return; } if(this.hasContent()&&this.isSeeable()){this.getTopLevelWidget().setGlobalCursor($[585]); qx.client.Timer.once(this._openCallback,this,0); }else{this.setOpen(true); }}; qx.Proto.close=function(){this.setOpen(false); }; qx.Proto.toggle=function(){this.getOpen()?this.close():this.open(); }; qx.Proto._openCallback=function(){this.setOpen(true); qx.ui.core.Widget.flushGlobalQueues(); this.getTopLevelWidget().setGlobalCursor(null); }; qx.Proto._createChildrenStructure=function(){this.setAppearance(this instanceof qx.ui.tree.Tree?$[700]:$[899]); if(!this._horizontalLayout){this.setOrientation($[27]); this._horizontalLayout=new qx.ui.layout.HorizontalBoxLayout; this._horizontalLayout.setWidth(null); this._horizontalLayout.setParent(this); this._horizontalLayout.setAnonymous(true); this._horizontalLayout.setAppearance(this instanceof qx.ui.tree.Tree?$[818]:$[224]); this._indentObject.setParent(this._horizontalLayout); this._iconObject.setParent(this._horizontalLayout); this._labelObject.setParent(this._horizontalLayout); } if(!this._containerObject){this._containerObject=new qx.ui.layout.VerticalBoxLayout; this._containerObject.setWidth(null); this._containerObject.setAnonymous(true); this._containerObject.setDisplay(this.getOpen()); this._containerObject.setParent(this); this.remapChildrenHandlingTo(this._containerObject); }}; qx.Proto._handleChildMove=function($0,$1,$2){if($0.isDisplayable()){var $3=this._containerObject.getChildren(); var $4=$3.indexOf($0); if($4!=-1){if($2){$1=$3.indexOf($2); } if($1==$3.length-1){$0._updateIndent(); this._containerObject.getLastVisibleChild()._updateIndent(); }else if($0._wasLastVisibleChild){$0._updateIndent(); var $5=$0.getPreviousVisibleSibling(); if($5){$5._updateIndent(); }}}}}; qx.Proto.addToFolder=function(){this._createChildrenStructure(); if(this._containerObject){return this._containerObject.add.apply(this._containerObject,arguments); }}; qx.Proto.addBeforeToFolder=function($0,$1){this._createChildrenStructure(); if(this._containerObject){this._handleChildMove($0,null,$1); return this._containerObject.addBefore.apply(this._containerObject,arguments); }}; qx.Proto.addAfterToFolder=function($0,$1){this._createChildrenStructure(); if(this._containerObject){this._handleChildMove($0,null,$1); return this._containerObject.addAfter.apply(this._containerObject,arguments); }}; qx.Proto.addAtToFolder=function($0,$1){this._createChildrenStructure(); if(this._containerObject){this._handleChildMove($0,$1); return this._containerObject.addAt.apply(this._containerObject,arguments); }}; qx.Proto.addAtBeginToFolder=function($0){return this.addAtToFolder($0,0); }; qx.Proto.addAtEndToFolder=function($0){this._createChildrenStructure(); if(this._containerObject){var $1=this._containerObject.getLastChild(); if($1){this._handleChildMove($0,null,$1); return this._containerObject.addAfter.call(this._containerObject,$0,$1); }else{return this.addAtBeginToFolder($0); }}}; qx.Proto._remappingChildTable=[$[303],$[354],$[282]]; qx.Proto.getContainerObject=function(){return this._containerObject; }; qx.Proto.getHorizontalLayout=function(){return this._horizontalLayout; }; qx.Proto.getFirstVisibleChildOfFolder=function(){if(this._containerObject){return this._containerObject.getFirstChild(); }}; qx.Proto.getLastVisibleChildOfFolder=function(){if(this._containerObject){return this._containerObject.getLastChild(); }}; qx.Proto.getItems=function($0,$1){var $2=[this]; if(this._containerObject){var $3=$1==true?this._containerObject.getChildren():this._containerObject.getVisibleChildren(); if($0==false){$2=$2.concat($3); }else{for(var $4=0,$5=$3.length;$4<$5;$4++){$2=$2.concat($3[$4].getItems($0,$1)); }}}return $2; }; qx.Proto.destroyContent=function(){if(!this.hasContent()){return; }var $0=this.getTree()?this.getTree().getManager():null; var $1; var $2; if($0){$1=$0.getLeadItem(); $2=$0.getAnchorItem(); }this._containerObject.setDisplay(true); var $3=this._containerObject.getChildren(); var $4; for(var $5=$3.length-1;$5>=0;--$5){$4=$3[$5]; if($4!=this){if($0){if($1==$4){$0.setLeadItem(null); }if($2==$4){$0.setAnchorItem(null); }if($0.getItemSelected($4)){if($0.getMultiSelection()){$0.setItemSelected($4,false); }else{$0.deselectAll(); }}if($4.destroyContent){$4.destroyContent(); }}$4.removeFromTreeQueue(); $4.disconnect(); this._containerObject.remove($4); $4.dispose(); delete $3[$5]; }}}; qx.Proto._evalCurrentIcon=function(){if(this.getSelected()){return this.getIconSelected()||$[415]; }else{return this.getIcon()||$[384]; }}; qx.Proto._modifyOpen=function($0,$1,$2){this._updateLastColumn(); if(this._containerObject){this._containerObject.setDisplay($0); }return true; }; qx.Proto._modifyAlwaysShowPlusMinusSymbol=function($0,$1,$2){this._updateLastColumn(); return true; }; qx.Proto._updateLastColumn=function(){if(this._indentObject){var $0=this._indentObject.getElement(); if($0&&$0.firstChild){$0.firstChild.src=this.BASE_URI+this.getIndentSymbol(this.getTree().getUseTreeLines(),true)+$[805]; }}}; qx.Proto._onmousedown=function($0){var $1=$0.getOriginalTarget(); switch($1){case this._indentObject:if(this._indentObject.getElement().firstChild==$0.getDomTarget()){this.toggle(); if(!this.getOpen()){if(qx.lang.Array.contains(this.getItems(true,true),this.getTree().getSelectedElement())){this.getTree().getManager().handleMouseDown(this,$0); }}}break; case this._containerObject:break; case this:if(this._containerObject){break; }default:this.getTree().getManager().handleMouseDown(this,$0); }$0.stopPropagation(); }; qx.Proto._onmouseup=function($0){var $1=$0.getOriginalTarget(); switch($1){case this._indentObject:case this._containerObject:case this:break; default:if(!this.getTree().getUseDoubleClick()){this.open(); }}}; qx.Proto._ondblclick=function($0){if(!this.getTree().getUseDoubleClick()){return; }this.toggle(); $0.stopPropagation(); }; qx.Proto.getIndentSymbol=function($0,$1){if($1){if(this.hasContent()||this.getAlwaysShowPlusMinusSymbol()){if(!$0){return this.getOpen()?$[386]:$[431]; }else if(this.isLastChild()){return this.getOpen()?$[734]:$[813]; }else{return this.getOpen()?$[886]:$[863]; }}else if($0){return this.isLastChild()?$[334]:$[312]; }}else{return $0&&!this.isLastChild()?$[301]:null; }}; qx.Proto._updateIndent=function(){qx.ui.tree.TreeFile.prototype._updateIndent.call(this); if(!this._containerObject){return; }var $0=this._containerObject.getVisibleChildren(); for(var $1=0,$2=$0.length;$1<$2;$1++){$0[$1]._updateIndent(); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this.removeEventListener($[41],this._ondblclick); if(this._horizontalLayout){this._horizontalLayout.dispose(); this._horizontalLayout=null; } if(this._containerObject){this._containerObject.dispose(); this._containerObject=null; }return qx.ui.tree.AbstractTreeElement.prototype.dispose.call(this); }; /* ID: qx.ui.tree.Tree */ qx.OO.defineClass($[2721],qx.ui.tree.TreeFolder,function($0,$1,$2){qx.ui.tree.TreeFolder.call(this,$0,$1,$2); this._manager=new qx.manager.selection.TreeSelectionManager(this); this._iconObject.setAppearance($[612]); this._labelObject.setAppearance($[933]); this.setOpen(true); this.addToFolder(); this.addEventListener($[13],this._onkeydown); this.addEventListener($[17],this._onkeypress); this.addEventListener($[90],this._onkeyup); }); qx.OO.addProperty({name:$[329],type:$[3],defaultValue:false,getAlias:$[329]}); qx.OO.addProperty({name:$[200],type:$[3],defaultValue:true,getAlias:$[200]}); qx.Proto.getManager=function(){return this._manager; }; qx.Proto.getSelectedElement=function(){return this.getManager().getSelectedItem(); }; qx.Proto.addChildToTreeQueue=function($0){if(!$0._isInTreeQueue&&!$0._isDisplayable){this.debug("Ignoring invisible child: "+$0); } if(!$0._isInTreeQueue&&$0._isDisplayable){qx.ui.core.Widget.addToGlobalWidgetQueue(this); if(!this._treeQueue){this._treeQueue={}; }this._treeQueue[$0.toHashCode()]=$0; $0._isInTreeQueue=true; }}; qx.Proto.removeChildFromTreeQueue=function($0){if($0._isInTreeQueue){if(this._treeQueue){delete this._treeQueue[$0.toHashCode()]; }delete $0._isInTreeQueue; }}; qx.Proto.flushWidgetQueue=function(){this.flushTreeQueue(); }; qx.Proto.flushTreeQueue=function(){if(!qx.lang.Object.isEmpty(this._treeQueue)){for(var $0 in this._treeQueue){this._treeQueue[$0].flushTree(); delete this._treeQueue[$0]._isInTreeQueue; }delete this._treeQueue; }}; qx.Proto._modifyUseTreeLines=function($0,$1,$2){if(this._initialLayoutDone){this._updateIndent(); }return true; }; qx.Proto.getTree=function(){return this; }; qx.Proto.getParentFolder=function(){return null; }; qx.Proto.getLevel=function(){return 0; }; qx.ui.tree.Tree.isTreeFolder=function($0){return $0&&$0 instanceof qx.ui.tree.TreeFolder&&!($0 instanceof qx.ui.tree.Tree); }; qx.ui.tree.Tree.isOpenTreeFolder=function($0){return $0 instanceof qx.ui.tree.TreeFolder&&$0.getOpen()&&$0.hasContent(); }; qx.Proto._onkeydown=function($0){var $1=this.getManager().getSelectedItem(); if($0.getKeyIdentifier()==$[34]){$0.preventDefault(); if(qx.ui.tree.Tree.isTreeFolder($1)){return $1.toggle(); }}}; qx.Proto._onkeypress=function($0){var $1=this.getManager(); var $2=$1.getSelectedItem(); switch($0.getKeyIdentifier()){case $[58]:$0.preventDefault(); if(qx.ui.tree.Tree.isTreeFolder($2)){if(!$2.getOpen()){var $3=$2.getParentFolder(); if($3 instanceof qx.ui.tree.TreeFolder){if(!($3 instanceof qx.ui.tree.Tree)){$3.close(); }this.setSelectedElement($3); }}else{return $2.close(); }}else if($2 instanceof qx.ui.tree.TreeFile){var $3=$2.getParentFolder(); if($3 instanceof qx.ui.tree.TreeFolder){if(!($3 instanceof qx.ui.tree.Tree)){$3.close(); }this.setSelectedElement($3); }}break; case $[59]:$0.preventDefault(); if(qx.ui.tree.Tree.isTreeFolder($2)){if(!$2.getOpen()){return $2.open(); }else if($2.hasContent()){var $4=$2.getFirstVisibleChildOfFolder(); this.setSelectedElement($4); if($4 instanceof qx.ui.tree.TreeFolder){$4.open(); }return; }}break; default:if(!this._fastUpdate){this._fastUpdate=true; this._oldItem=$2; }$1.handleKeyPress($0); }}; qx.Proto._onkeyup=function($0){if(this._fastUpdate){var $1=this._oldItem; var $2=this.getManager().getSelectedItem(); $2.getIconObject().addState($[30]); delete this._fastUpdate; delete this._oldItem; }}; qx.Proto.getLastTreeChild=function(){var $0=this; while($0 instanceof qx.ui.tree.AbstractTreeElement){if(!($0 instanceof qx.ui.tree.TreeFolder)||!$0.getOpen()){return $0; }$0=$0.getLastVisibleChildOfFolder(); }return null; }; qx.Proto.getFirstTreeChild=function(){return this; }; qx.Proto.setSelectedElement=function($0){var $1=this.getManager(); $1.setSelectedItem($0); $1.setLeadItem($0); }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this.removeEventListener($[13],this._onkeydown); this.removeEventListener($[17],this._onkeypress); this.removeEventListener($[90],this._onkeyup); if(this._manager){this._manager.dispose(); this._manager=null; }delete this._oldItem; return qx.ui.tree.TreeFolder.prototype.dispose.call(this); }; /* ID: qx.ui.tree.TreeFile */ qx.OO.defineClass($[1973],qx.ui.tree.AbstractTreeElement,function($0,$1,$2){qx.ui.tree.AbstractTreeElement.call(this,$0,$1,$2); }); qx.Proto.getIndentSymbol=function($0,$1){if($0){if($1){return this.isLastChild()?$[334]:$[312]; }else{return $[301]; }}return null; }; qx.Proto._updateIndent=function(){this.addToTreeQueue(); }; qx.Proto.getItems=function(){return [this]; }; /* ID: qx.ui.table.TableModel */ qx.OO.defineClass($[639],qx.core.Target,function(){qx.core.Target.call(this); }); qx.Proto.getRowCount=function(){throw new Error("getRowCount is abstract"); }; qx.Proto.getRowData=function($0){return null; }; qx.Proto.getColumnCount=function(){throw new Error("getColumnCount is abstract"); }; qx.Proto.getColumnId=function($0){throw new Error("getColumnId is abstract"); }; qx.Proto.getColumnIndexById=function($0){throw new Error("getColumnIndexById is abstract"); }; qx.Proto.getColumnName=function($0){throw new Error("getColumnName is abstract"); }; qx.Proto.isColumnEditable=function($0){return false; }; qx.Proto.isColumnSortable=function($0){return false; }; qx.Proto.sortByColumn=function($0,$1){}; qx.Proto.getSortColumnIndex=function(){return -1; }; qx.Proto.isSortAscending=function(){return true; }; qx.Proto.prefetchRows=function($0,$1){}; qx.Proto.getValue=function($0,$1){throw new Error("getValue is abstract"); }; qx.Proto.getValueById=function($0,$1){return this.getValue(this.getColumnIndexById($0),$1); }; qx.Proto.setValue=function($0,$1,$2){throw new Error("setValue is abstract"); }; qx.Proto.setValueById=function($0,$1,$2){return this.setValue(this.getColumnIndexById($0),$1,$2); }; qx.Clazz.EVENT_TYPE_DATA_CHANGED="dataChanged"; qx.Clazz.EVENT_TYPE_META_DATA_CHANGED="metaDataChanged"; /* ID: qx.ui.component.ColorPopup */ qx.OO.defineClass($[2951],qx.ui.popup.Popup,function($0){qx.ui.popup.Popup.call(this); this.setPadding(4); this.auto(); this.setBorder(qx.renderer.border.BorderPresets.getInstance().outset); this.setBackgroundColor($[114]); this._tables=$0; this._createLayout(); this._createAutoBtn(); this._createBoxes(); this._createPreview(); this._createSelectorBtn(); this.addEventListener($[628],this._onBeforeAppear); }); qx.OO.addProperty({name:$[85],type:$[4],instance:$[93]}); qx.OO.addProperty({name:$[317],type:$[2],defaultValue:0}); qx.OO.addProperty({name:$[381],type:$[2],defaultValue:0}); qx.OO.addProperty({name:$[554],type:$[2],defaultValue:0}); qx.Proto._minZIndex=1e5; qx.Proto._createLayout=function(){this._layout=new qx.ui.layout.VerticalBoxLayout; this._layout.setLocation(0,0); this._layout.auto(); this._layout.setSpacing(2); this.add(this._layout); }; qx.Proto._createAutoBtn=function(){this._automaticBtn=new qx.ui.form.Button(this.tr($[2185])); this._automaticBtn.setWidth(null); this._automaticBtn.setAllowStretchX(true); this._automaticBtn.addEventListener($[11],this._onAutomaticBtnExecute,this); this._layout.add(this._automaticBtn); }; qx.Proto._recentTableId=$[2005]; qx.Proto._fieldWidth=14; qx.Proto._fieldHeight=14; qx.Proto._fieldNumber=12; qx.Proto._createBoxes=function(){this._boxes={}; var $0=this._tables; var $1,$2,$3,$4; for(var $5 in $0){$1=$0[$5]; $2=new qx.ui.groupbox.GroupBox($1.label); $2.setHeight($[5]); this._boxes[$5]=$2; this._layout.add($2); $3=new qx.ui.layout.HorizontalBoxLayout; $3.setLocation(0,0); $3.setSpacing(1); $3.auto(); $2.add($3); for(var $6=0;$6$1){for(var $3=$1;$3<$2;$3++){$0[$3]={}; }}else if($1>$2){$0.splice($2,$1-$2); }}; qx.Proto._columnCount=0; qx.Proto.setColumnCount=function($0){this._columnCount=$0; this._syncColumnDataFields(); }; qx.Proto.getColumnCount=function(){return this._columnCount; }; qx.Proto.addColumn=function(){this._columnCount++; this._syncColumnDataFields(); }; qx.Proto.removeColumn=function(){if(this._columnCount>0){this._columnCount--; this._syncColumnDataFields(); }}; qx.Proto._syncColumnDataFields=function(){var $0=this._columnData; var $1=$0.length; var $2=this._columnCount; this._syncDataFields($0,$1,$2); }; qx.Proto._rowCount=0; qx.Proto.setRowCount=function($0){this._rowCount=$0; this._syncRowDataFields(); }; qx.Proto.getRowCount=function(){return this._rowCount; }; qx.Proto.addRow=function(){this._rowCount++; this._syncRowDataFields(); }; qx.Proto.removeRow=function(){if(this._rowCount>0){this._rowCount--; this._syncRowDataFields(); }}; qx.Proto._syncRowDataFields=function(){var $0=this._rowData; var $1=$0.length; var $2=this._rowCount; this._syncDataFields($0,$1,$2); }; qx.Proto._getColumnProperty=function($0,$1){try{return this._columnData[$0][$1]||null; }catch(ex){this.error("Error while getting column property ("+$0+"|"+$1+")",ex); return null; }}; qx.Proto._setupColumnProperty=function($0,$1,$2){this._columnData[$0][$1]=$2; this._invalidateColumnLayout(); }; qx.Proto._removeColumnProperty=function($0,$1,$2){delete this._columnData[$0][$1]; this._invalidateColumnLayout(); }; qx.Proto._invalidateColumnLayout=function(){if(!this._initialLayoutDone||!this._isDisplayable){return; }this.forEachVisibleChild(function(){this.addToQueue($[46]); }); }; qx.Proto._getRowProperty=function($0,$1){try{return this._rowData[$0][$1]||null; }catch(ex){this.error("Error while getting row property ("+$0+"|"+$1+")",ex); return null; }}; qx.Proto._setupRowProperty=function($0,$1,$2){this._rowData[$0][$1]=$2; this._invalidateRowLayout(); }; qx.Proto._removeRowProperty=function($0,$1,$2){delete this._rowData[$0][$1]; this._invalidateRowLayout(); }; qx.Proto._invalidateRowLayout=function(){if(!this._initialLayoutDone||!this._isDisplayable){return; }this.forEachVisibleChild(function(){this.addToQueue($[47]); }); }; qx.Proto.setColumnWidth=function($0,$1){this._setupColumnProperty($0,$[2064],$1); var $2=qx.ui.core.Parent.prototype._evalUnitsPixelPercentAutoFlex($1); this._setupColumnProperty($0,$[485],$2); var $3,$4; switch($2){case qx.ui.core.Widget.TYPE_PIXEL:$3=$4=Math.round($1); break; case qx.ui.core.Widget.TYPE_PERCENT:case qx.ui.core.Widget.TYPE_FLEX:$3=parseFloat($1); $4=null; break; case qx.ui.core.Widget.TYPE_AUTO:$3=$4=null; break; default:$3=$4=null; }this._setupColumnProperty($0,$[711],$3); this._setupColumnProperty($0,$[246],$4); }; qx.Proto.setRowHeight=function($0,$1){this._setupRowProperty($0,$[2901],$1); var $2=qx.ui.core.Widget.prototype._evalUnitsPixelPercentAutoFlex($1); this._setupRowProperty($0,$[539],$2); var $3,$4; switch($2){case qx.ui.core.Widget.TYPE_PIXEL:$3=$4=Math.round($1); break; case qx.ui.core.Widget.TYPE_PERCENT:case qx.ui.core.Widget.TYPE_FLEX:$3=parseFloat($1); $4=null; break; case qx.ui.core.Widget.TYPE_AUTO:$3=$4=null; break; default:$3=$4=null; }this._setupRowProperty($0,$[867],$3); this._setupRowProperty($0,$[248],$4); }; qx.Proto.getColumnBoxWidth=function($0){var $1=this._getColumnProperty($0,$[246]); if($1!=null){return $1; }var $2=this._getColumnProperty($0,$[485]); var $3=this._getColumnProperty($0,$[711]); var $1=null; switch($2){case qx.ui.core.Widget.TYPE_PIXEL:$1=Math.max(0,$3); break; case qx.ui.core.Widget.TYPE_PERCENT:$1=this.getInnerWidth()*Math.max(0,$3)*0.01; break; case qx.ui.core.Widget.TYPE_AUTO:$1=null; break; case qx.ui.core.Widget.TYPE_FLEX:$1=null; break; }this._setupColumnProperty($0,$[246],$1); return $1; }; qx.Proto.getRowBoxHeight=function($0){var $1=this._getRowProperty($0,$[248]); if($1!=null){return $1; }var $2=this._getRowProperty($0,$[539]); var $3=this._getRowProperty($0,$[867]); var $1=null; switch($2){case qx.ui.core.Widget.TYPE_PIXEL:$1=Math.max(0,$3); break; case qx.ui.core.Widget.TYPE_PERCENT:$1=this.getInnerHeight()*Math.max(0,$3)*0.01; break; case qx.ui.core.Widget.TYPE_AUTO:$1=null; break; case qx.ui.core.Widget.TYPE_FLEX:$1=null; break; }this._setupRowProperty($0,$[248],$1); return $1; }; qx.Proto.getComputedCellPaddingLeft=function($0,$1){return this.getColumnPaddingLeft($0)||this.getRowPaddingLeft($1)||this.getCellPaddingLeft()||0; }; qx.Proto.getComputedCellPaddingRight=function($0,$1){return this.getColumnPaddingRight($0)||this.getRowPaddingRight($1)||this.getCellPaddingRight()||0; }; qx.Proto.getComputedCellPaddingTop=function($0,$1){return this.getRowPaddingTop($1)||this.getColumnPaddingTop($0)||this.getCellPaddingTop()||0; }; qx.Proto.getComputedCellPaddingBottom=function($0,$1){return this.getRowPaddingBottom($1)||this.getColumnPaddingBottom($0)||this.getCellPaddingBottom()||0; }; qx.Proto.getColumnInnerWidth=function($0,$1){return this.getColumnBoxWidth($0)-this.getComputedCellPaddingLeft($0,$1)-this.getComputedCellPaddingRight($0,$1); }; qx.Proto.getRowInnerHeight=function($0,$1){return this.getRowBoxHeight($1)-this.getComputedCellPaddingTop($0,$1)-this.getComputedCellPaddingBottom($0,$1); }; qx.Proto.setColumnHorizontalAlignment=function($0,$1){this._setupColumnProperty($0,$[341],$1); }; qx.Proto.setColumnVerticalAlignment=function($0,$1){this._setupColumnProperty($0,$[355],$1); }; qx.Proto.setRowHorizontalAlignment=function($0,$1){this._setupRowProperty($0,$[341],$1); }; qx.Proto.setRowVerticalAlignment=function($0,$1){this._setupRowProperty($0,$[355],$1); }; qx.Proto.getColumnHorizontalAlignment=function($0){return this._getColumnProperty($0,$[341]); }; qx.Proto.getColumnVerticalAlignment=function($0){return this._getColumnProperty($0,$[355]); }; qx.Proto.getRowHorizontalAlignment=function($0){return this._getRowProperty($0,$[341]); }; qx.Proto.getRowVerticalAlignment=function($0){return this._getRowProperty($0,$[355]); }; qx.Proto.setColumnPaddingTop=function($0,$1){this._setupColumnProperty($0,$[174],$1); }; qx.Proto.setColumnPaddingRight=function($0,$1){this._setupColumnProperty($0,$[192],$1); }; qx.Proto.setColumnPaddingBottom=function($0,$1){this._setupColumnProperty($0,$[182],$1); }; qx.Proto.setColumnPaddingLeft=function($0,$1){this._setupColumnProperty($0,$[172],$1); }; qx.Proto.setRowPaddingTop=function($0,$1){this._setupRowProperty($0,$[174],$1); }; qx.Proto.setRowPaddingRight=function($0,$1){this._setupRowProperty($0,$[192],$1); }; qx.Proto.setRowPaddingBottom=function($0,$1){this._setupRowProperty($0,$[182],$1); }; qx.Proto.setRowPaddingLeft=function($0,$1){this._setupRowProperty($0,$[172],$1); }; qx.Proto.getColumnPaddingTop=function($0){return this._getColumnProperty($0,$[174]); }; qx.Proto.getColumnPaddingRight=function($0){return this._getColumnProperty($0,$[192]); }; qx.Proto.getColumnPaddingBottom=function($0){return this._getColumnProperty($0,$[182]); }; qx.Proto.getColumnPaddingLeft=function($0){return this._getColumnProperty($0,$[172]); }; qx.Proto.getRowPaddingTop=function($0){return this._getRowProperty($0,$[174]); }; qx.Proto.getRowPaddingRight=function($0){return this._getRowProperty($0,$[192]); }; qx.Proto.getRowPaddingBottom=function($0){return this._getRowProperty($0,$[182]); }; qx.Proto.getRowPaddingLeft=function($0){return this._getRowProperty($0,$[172]); }; qx.Proto._changeInnerWidth=function($0,$1){for(var $2=0,$3=this.getColumnCount();$2<$3;$2++){if(this._getColumnProperty($2,$[485])==qx.ui.core.Widget.TYPE_PERCENT){this._setupColumnProperty($2,$[246],null); }}qx.ui.core.Parent.prototype._changeInnerWidth.call(this,$0,$1); }; qx.Proto._changeInnerHeight=function($0,$1){for(var $2=0,$3=this.getRowCount();$2<$3;$2++){if(this._getRowProperty($2,$[539])==qx.ui.core.Widget.TYPE_PERCENT){this._setupRowProperty($2,$[248],null); }}qx.ui.core.Parent.prototype._changeInnerHeight.call(this,$0,$1); }; qx.Proto.getInnerWidthForChild=function($0){return this._getColumnProperty($0._col,$[246]); }; qx.Proto.getInnerHeightForChild=function($0){return this._getRowProperty($0._row,$[248]); }; qx.Proto.mergeCells=function($0,$1,$2,$3){var $4=this._spans; var $5=$4.length; var $6=$0+$2-1; var $7=$1+$3-1; if(this._collidesWithSpans($0,$1,$6,$7)){this.debug("Span collision detected!"); return false; }$4.push({startCol:$0,startRow:$1,endCol:$6,endRow:$7,colLength:$2,rowLength:$3}); return true; }; qx.Proto.hasSpans=function(){return this._spans.length>0; }; qx.Proto.getSpanEntry=function($0,$1){for(var $2=0,$3=this._spans,$4=$3.length,$5;$2<$4;$2++){$5=$3[$2]; if($0>=$5.startCol&&$0<=$5.endCol&&$1>=$5.startRow&&$1<=$5.endRow){return $5; }}return null; }; qx.Proto.isSpanStart=function($0,$1){for(var $2=0,$3=this._spans,$4=$3.length,$5;$2<$4;$2++){$5=$3[$2]; if($5.startCol==$0&&$5.startRow==$1){return true; }}return false; }; qx.Proto.isSpanCell=function($0,$1){for(var $2=0,$3=this._spans,$4=$3.length,$5;$2<$4;$2++){$5=$3[$2]; if($0>=$5.startCol&&$0<=$5.endCol&&$1>=$5.startRow&&$1<=$5.endRow){return true; }}return false; }; qx.Proto.isFillCell=function($0,$1){for(var $2=0,$3=this._spans,$4=$3.length,$5;$2<$4;$2++){$5=$3[$2]; if($0>=$5.startCol&&$0<=$5.endCol&&$1>=$5.startRow&&$1<=$5.endRow&&($0>$5.startCol||$1>$5.startRow)){return true; }}return false; }; qx.Proto._collidesWithSpans=function($0,$1,$2,$3){for(var $4=0,$5=this._spans,$6=$5.length,$7;$4<$6;$4++){$7=$5[$4]; if($2>=$7.startCol&&$0<=$7.endCol&&$3>=$7.startRow&&$1<=$7.endRow){return true; }}return false; }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }delete this._columnData; delete this._rowData; delete this._spans; return qx.ui.core.Parent.prototype.dispose.call(this); }; /* ID: qx.renderer.layout.GridLayoutImpl */ qx.OO.defineClass($[2995],qx.renderer.layout.LayoutImpl,function($0){qx.renderer.layout.LayoutImpl.call(this,$0); }); qx.Proto.computeChildBoxWidth=function($0){var $1=this.getWidget(); var $2=$1.getColumnInnerWidth($0._col,$0._row); if($1.isSpanStart($0._col,$0._row)){var $3=$1.getSpanEntry($0._col,$0._row); for(var $4=1;$4<$3.colLength;$4++){$2+=$1.getComputedCellPaddingRight($0._col+$4-1,$0._row); $2+=$1.getComputedCellPaddingLeft($0._col+$4,$0._row); $2+=$1.getHorizontalSpacing(); $2+=$1.getColumnInnerWidth($0._col+$4,$0._row); }}return $0.getAllowStretchX()?$2:Math.min($0.getWidthValue(),$2); }; qx.Proto.computeChildBoxHeight=function($0){var $1=this.getWidget(); var $2=$1.getRowInnerHeight($0._col,$0._row); if($1.isSpanStart($0._col,$0._row)){var $3=$1.getSpanEntry($0._col,$0._row); for(var $4=1;$4<$3.rowLength;$4++){$2+=$1.getComputedCellPaddingBottom($0._col,$0._row+$4-1); $2+=$1.getComputedCellPaddingTop($0._col,$0._row+$4); $2+=$1.getVerticalSpacing(); $2+=$1.getRowInnerHeight($0._col,$0._row+$4); }}return $0.getAllowStretchY()?$2:Math.min($0.getHeightValue(),$2); }; qx.Proto.computeChildrenNeededWidth=function(){var $0=this.getWidget(); var $1=$0.getHorizontalSpacing(); var $2=-$1; for(var $3=0,$4=$0.getColumnCount();$3<$4;$3++){$2+=$0.getColumnBoxWidth($3)+$1; }return $2; }; qx.Proto.computeChildrenNeededHeight=function(){var $0=this.getWidget(); var $1=$0.getVerticalSpacing(); var $2=-$1; for(var $3=0,$4=$0.getRowCount();$3<$4;$3++){$2+=$0.getRowBoxHeight($3)+$1; }return $2; }; qx.Proto.updateChildOnInnerWidthChange=function($0){$0._recomputePercentX(); $0.addToLayoutChanges($[131]); return true; }; qx.Proto.updateChildOnInnerHeightChange=function($0){$0._recomputePercentY(); $0.addToLayoutChanges($[142]); return true; }; qx.Proto.layoutChild=function($0,$1){var $2=this.getWidget(); this.layoutChild_sizeX($0,$1); this.layoutChild_sizeY($0,$1); this.layoutChild_sizeLimitX($0,$1); this.layoutChild_sizeLimitY($0,$1); this.layoutChild_marginX($0,$1); this.layoutChild_marginY($0,$1); this.layoutChild_locationX($0,$1); this.layoutChild_locationY($0,$1); }; qx.Proto.layoutChild_sizeX=function($0,$1){$0._applyRuntimeWidth($0.getBoxWidth()); }; qx.Proto.layoutChild_sizeY=function($0,$1){$0._applyRuntimeHeight($0.getBoxHeight()); }; qx.Proto.layoutChild_locationX=function($0,$1){var $2=this.getWidget(); var $3=$2.getHorizontalSpacing(); var $4=$2.getPaddingLeft()+$2.getComputedCellPaddingLeft($0._col,$0._row); for(var $5=0;$5<$0._col;$5++){$4+=$2.getColumnBoxWidth($5)+$3; } switch($0.getHorizontalAlign()||$2.getColumnHorizontalAlignment($0._col)||$2.getRowHorizontalAlignment($0._row)||$2.getHorizontalChildrenAlign()){case $[80]:$4+=Math.round(($2.getColumnInnerWidth($0._col,$0._row)-$0.getBoxWidth())/2); break; case $[12]:$4+=$2.getColumnInnerWidth($0._col,$0._row)-$0.getBoxWidth(); break; }$0._applyRuntimeLeft($4); }; qx.Proto.layoutChild_locationY=function($0,$1){var $2=this.getWidget(); var $3=$2.getVerticalSpacing(); var $4=$2.getPaddingTop()+$2.getComputedCellPaddingTop($0._col,$0._row); for(var $5=0;$5<$0._row;$5++){$4+=$2.getRowBoxHeight($5)+$3; } switch($0.getVerticalAlign()||$2.getRowVerticalAlignment($0._row)||$2.getColumnVerticalAlignment($0._col)||$2.getVerticalChildrenAlign()){case $[36]:$4+=Math.round(($2.getRowInnerHeight($0._col,$0._row)-$0.getBoxHeight())/2); break; case $[24]:$4+=$2.getRowInnerHeight($0._col,$0._row)-$0.getBoxHeight(); break; }$0._applyRuntimeTop($4); }; /* ID: qx.ui.form.Spinner */ qx.OO.defineClass($[1975],qx.ui.layout.HorizontalBoxLayout,function($0,$1,$2){qx.ui.layout.HorizontalBoxLayout.call(this); this.setTabIndex(-1); if(qx.core.Client.getInstance().isMshtml()){this.setStyleProperty($[106],$[160]); }this._manager=new qx.type.Range(); this._textfield=new qx.ui.form.TextField; this._textfield.setAppearance($[1888]); this._textfield.setValue(String(this._manager.getValue())); this.add(this._textfield); this._buttonlayout=new qx.ui.layout.VerticalBoxLayout; this._buttonlayout.setWidth($[5]); this.add(this._buttonlayout); this._upbutton=new qx.ui.basic.Image($[2853]); this._upbutton.setAppearance($[1967]); this._buttonlayout.add(this._upbutton); this._downbutton=new qx.ui.basic.Image($[2694]); this._downbutton.setAppearance($[1163]); this._buttonlayout.add(this._downbutton); this._timer=new qx.client.Timer(this.getInterval()); this.addEventListener($[17],this._onkeypress,this); this.addEventListener($[13],this._onkeydown,this); this.addEventListener($[90],this._onkeyup,this); this.addEventListener($[68],this._onmousewheel,this); this._textfield.addEventListener($[82],this._oninput,this); this._textfield.addEventListener($[123],this._onblur,this); this._upbutton.addEventListener($[6],this._onmousedown,this); this._downbutton.addEventListener($[6],this._onmousedown,this); this._manager.addEventListener($[38],this._onchange,this); this._timer.addEventListener($[52],this._oninterval,this); if($0!=null){this.setMin($0); } if($2!=null){this.setMax($2); } if($1!=null){this.setValue($1); }}); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[2215]}); qx.OO.addProperty({name:$[2724],type:$[2],defaultValue:1}); qx.OO.addProperty({name:$[1858],type:$[2],defaultValue:1}); qx.OO.addProperty({name:$[2849],type:$[2],defaultValue:10}); qx.OO.addProperty({name:$[52],type:$[2],defaultValue:100}); qx.OO.addProperty({name:$[690],type:$[2],defaultValue:500}); qx.OO.addProperty({name:$[2193],type:$[2],defaultValue:20}); qx.OO.addProperty({name:$[1294],type:$[2],defaultValue:2}); qx.OO.addProperty({name:$[1801],type:$[2],defaultValue:1.01}); qx.Proto._modifyIncrementAmount=function($0,$1,$2){this._computedIncrementAmount=$0; return true; }; qx.Proto._computePreferredInnerWidth=function(){return 50; }; qx.Proto._computePreferredInnerHeight=function(){return 14; }; qx.Proto._onkeypress=function($0){var $1=$0.getKeyIdentifier(); if($1==$[34]&&!$0.isAltPressed()){this._checkValue(true,false,false); this._textfield.selectAll(); }else{switch($1){case $[87]:case $[76]:case $[58]:case $[59]:case $[194]:case $[146]:case $[120]:case $[88]:case $[271]:case $[347]:case $[232]:case $[147]:case $[163]:case $[89]:case $[105]:case $[148]:case $[183]:break; default:if($1>=$[15]&&$1<=$[177]){return; }$0.preventDefault(); }}}; qx.Proto._onkeydown=function($0){var $1=$0.getKeyIdentifier(); if(this._intervalIncrease==null){switch($1){case $[87]:case $[76]:this._intervalIncrease=$1==$[87]; this._intervalMode=$[1607]; this._resetIncrements(); this._checkValue(true,false,false); this._increment(); this._timer.startWith(this.getFirstInterval()); break; case $[89]:case $[105]:this._intervalIncrease=$1==$[89]; this._intervalMode=$[462]; this._resetIncrements(); this._checkValue(true,false,false); this._pageIncrement(); this._timer.startWith(this.getFirstInterval()); break; }}}; qx.Proto._onkeyup=function($0){if(this._intervalIncrease!=null){switch($0.getKeyIdentifier()){case $[87]:case $[76]:case $[89]:case $[105]:this._timer.stop(); this._intervalIncrease=null; this._intervalMode=null; }}}; qx.Proto._onmousedown=function($0){if(!$0.isLeftButtonPressed()){return; }this._checkValue(true); var $1=$0.getCurrentTarget(); $1.addState($[20]); $1.addEventListener($[7],this._onmouseup,this); $1.addEventListener($[45],this._onmouseup,this); this._intervalIncrease=$1==this._upbutton; this._resetIncrements(); this._increment(); this._textfield.selectAll(); this._timer.setInterval(this.getFirstInterval()); this._timer.start(); }; qx.Proto._onmouseup=function($0){var $1=$0.getCurrentTarget(); $1.removeState($[20]); $1.removeEventListener($[7],this._onmouseup,this); $1.removeEventListener($[45],this._onmouseup,this); this._textfield.selectAll(); this._textfield.setFocused(true); this._timer.stop(); this._intervalIncrease=null; }; qx.Proto._onmousewheel=function($0){this._manager.setValue(this._manager.getValue()+this.getWheelIncrementAmount()*$0.getWheelDelta()); this._textfield.selectAll(); }; qx.Proto._oninput=function($0){this._checkValue(true,true); }; qx.Proto._onchange=function($0){var $1=this._manager.getValue(); this._textfield.setValue(String($1)); if($1==this.getMin()){this._downbutton.removeState($[20]); this._downbutton.setEnabled(false); this._timer.stop(); }else{this._downbutton.setEnabled(true); } if($1==this.getMax()){this._upbutton.removeState($[20]); this._upbutton.setEnabled(false); this._timer.stop(); }else{this._upbutton.setEnabled(true); } if(this.hasEventListeners($[38])){this.dispatchEvent(new qx.event.type.Event($[38]),true); }}; qx.Proto._onblur=function($0){this._checkValue(false); }; qx.Proto.setValue=function($0){this._manager.setValue($0); }; qx.Proto.getValue=function(){this._checkValue(true); return this._manager.getValue(); }; qx.Proto.resetValue=function(){return this._manager.resetValue(); }; qx.Proto.setMax=function($0){return this._manager.setMax($0); }; qx.Proto.getMax=function(){return this._manager.getMax(); }; qx.Proto.setMin=function($0){return this._manager.setMin($0); }; qx.Proto.getMin=function(){return this._manager.getMin(); }; qx.Proto._intervalIncrease=null; qx.Proto._oninterval=function($0){this._timer.stop(); this.setInterval(Math.max(this.getMinTimer(),this.getInterval()-this.getTimerDecrease())); if(this._intervalMode==$[462]){this._pageIncrement(); }else{if(this.getInterval()==this.getMinTimer()){this._computedIncrementAmount=this.getAmountGrowth()*this._computedIncrementAmount; }this._increment(); } switch(this._intervalIncrease){case true:if(this.getValue()==this.getMax()){return; }case false:if(this.getValue()==this.getMin()){return; }}this._timer.restartWith(this.getInterval()); }; qx.Proto._checkValue=function($0,$1){var $2=this._textfield.getElement(); if(!$2){return; } if($2.value==$[1]){if(!$0){$2.value=this.resetValue(); this._textfield.selectAll(); return; }}else{var $3=$2.value; if($3.length>1){while($3.charAt(0)==$[15]){$3=$3.substr(1,$3.length); }var $4=parseInt($3)||0; if($4!=$2.value){$2.value=$4; return; }}if($3==$[60]&&$0&&this.getMin()<0){if($2.value!=$3){$2.value=$3; }return; }$3=parseInt($3); var $5=true; var $6=this._manager._checkValue($3); if(isNaN($6)){$6=this._manager.getValue(); }if($0&&$3==$[1]){$5=false; }else if(!isNaN($3)){if($1){if($3>$6&&!($3>0&&$6<=0)&&String($3).length=0)&&String($3).length$1)?$0:$1; if($2>$6){$6=$2; }var $7=($0<$1)?$0:$1; if($2<$7){$7=$2; }$5=$6/255.0; if($6!=0){$4=($6-$7)/$6; }else{$4=0; } if($4==0){$3=0; }else{var $8=($6-$0)/($6-$7); var $9=($6-$1)/($6-$7); var $a=($6-$2)/($6-$7); if($0==$6){$3=$a-$9; }else if($1==$6){$3=2.0+$8-$a; }else{$3=4.0+$9-$8; }$3=$3/6.0; if($3<0)$3=$3+1.0; }return {hue:Math.round($3*360),saturation:Math.round($4*100),brightness:Math.round($5*100)}; }; qx.Clazz.hsb2rgb=function($0,$1,$2){var $3,$4,$5,$6,$7,$8; $0=parseFloat($0/360); $1=parseFloat($1/100); $2=parseFloat($2/100); if($0>=1.0)$0%=1.0; if($1>1.0)$1=1.0; if($2>1.0)$2=1.0; var $9=Math.floor(255*$2); var $8={}; if($1==0.0){$8.red=$8.green=$8.blue=$9; }else{$0*=6.0; $3=Math.floor($0); $4=$0-$3; $5=Math.floor($9*(1.0-$1)); $6=Math.floor($9*(1.0-($1*$4))); $7=Math.floor($9*(1.0-($1*(1.0-$4)))); switch($3){case 0:$8.red=$9; $8.green=$7; $8.blue=$5; break; case 1:$8.red=$6; $8.green=$9; $8.blue=$5; break; case 2:$8.red=$5; $8.green=$9; $8.blue=$7; break; case 3:$8.red=$5; $8.green=$6; $8.blue=$9; break; case 4:$8.red=$7; $8.green=$5; $8.blue=$9; break; case 5:$8.red=$9; $8.green=$5; $8.blue=$6; break; }}return $8; }; /* ID: qx.ui.groupbox.RadioGroupBox */ qx.OO.defineClass($[2618],qx.ui.groupbox.GroupBox,function($0){qx.ui.groupbox.GroupBox.call(this,$0); }); qx.Proto._createLegendObject=function(){this._legendObject=new qx.ui.form.RadioButton; this._legendObject.setAppearance($[2867]); this._legendObject.setChecked(true); this.add(this._legendObject); }; qx.Proto.setIcon=qx.Proto.getIcon=null; /* ID: qx.ui.form.RadioButton */ qx.OO.defineClass($[989],qx.ui.form.CheckBox,function($0,$1,$2,$3){qx.ui.form.CheckBox.call(this,$0,$1,$2,$3); this.addEventListener($[17],this._onkeypress); }); qx.OO.addProperty({name:$[298],type:$[4],instance:$[251],allowNull:true}); qx.Proto.INPUT_TYPE="radio"; qx.Proto._modifyChecked=function($0,$1,$2){if(this._iconObject){this._iconObject.setChecked($0); }var $3=this.getManager(); if($3){$3.handleItemChecked(this,$0); }return true; }; qx.Proto._modifyManager=function($0,$1,$2){if($1){$1.remove(this); } if($0){$0.add(this); }return true; }; qx.Proto._modifyName=function($0,$1,$2){if(this._iconObject){this._iconObject.setName($0); } if(this.getManager()){this.getManager().setName($0); }return true; }; qx.Proto._modifyValue=function($0,$1,$2){if(this.isCreated()&&this._iconObject){this._iconObject.setValue($0); }return true; }; qx.Proto._onkeydown=function($0){if($0.getKeyIdentifier()==$[34]&&!$0.isAltPressed()){this.setChecked(true); }}; qx.Proto._onkeypress=function($0){switch($0.getKeyIdentifier()){case $[58]:case $[87]:qx.event.handler.FocusHandler.mouseFocus=false; qx.event.handler.FocusHandler.mouseFocus=false; return this.getManager()?this.getManager().selectPrevious(this):true; case $[59]:case $[76]:qx.event.handler.FocusHandler.mouseFocus=false; return this.getManager()?this.getManager().selectNext(this):true; }}; qx.Proto._onclick=function($0){this.setChecked(true); }; qx.Proto._onkeyup=function($0){if($0.getKeyIdentifier()==$[103]){this.setChecked(true); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this.removeEventListener($[17],this._onkeypress); return qx.ui.form.CheckBox.prototype.dispose.call(this); }; /* ID: qx.manager.selection.RadioManager */ qx.OO.defineClass($[251],qx.core.Target,function($0,$1){qx.core.Target.call(this); this._items=[]; this.setName($0!=null?$0:qx.manager.selection.RadioManager.AUTO_NAME_PREFIX+this._hashCode); if($1!=null){this.add.apply(this,$1); }}); qx.manager.selection.RadioManager.AUTO_NAME_PREFIX="qx-radio-"; qx.OO.addProperty({name:$[30]}); qx.OO.addProperty({name:$[96],type:$[0]}); qx.Proto.getItems=function(){return this._items; }; qx.Proto.getEnabledItems=function(){var $0=[]; for(var $1=0,$2=this._items,$3=$2.length;$1<$3;$1++){if($2[$1].getEnabled()){$0.push($2[$1]); }}return $0; }; qx.Proto.handleItemChecked=function($0,$1){if($1){this.setSelected($0); }else if(this.getSelected()==$0){this.setSelected(null); }}; qx.Proto.add=function($0){var $1=arguments; var $2=$1.length; var $3; for(var $4=0;$4<$2;$4++){$3=$1[$4]; if(qx.lang.Array.contains(this._items,$3)){return; }this._items.push($3); $3.setManager(this); if($3.getChecked()){this.setSelected($3); }$3.setEnabled(this.getEnabled()); $3.setName(this.getName()); }}; qx.Proto.remove=function($0){qx.lang.Array.remove(this._items,$0); $0.setManager(null); if($0.getChecked()){this.setSelected(null); }}; qx.Proto._modifySelected=function($0,$1,$2){if($1&&$1.getChecked()){$1.setChecked(false); } if($0&&!$0.getChecked()){$0.setChecked(true); }return true; }; qx.Proto._modifyEnabled=function($0,$1,$2){for(var $3=0,$4=this._items,$5=$4.length;$3<$5;$3++){$4[$3].setEnabled($0); }return true; }; qx.Proto._modifyName=function($0,$1,$2){for(var $3=0,$4=this._items,$5=$4.length;$3<$5;$3++){$4[$3].setName($0); }return true; }; qx.Proto.selectNext=function($0){var $1=this._items.indexOf($0); if($1==-1){return; }var $2=0; var $3=this._items.length; $1=($1+1)%$3; while($2<$3&&!this._items[$1].getEnabled()){$1=($1+1)%$3; $2++; }this._selectByIndex($1); }; qx.Proto.selectPrevious=function($0){var $1=this._items.indexOf($0); if($1==-1){return; }var $2=0; var $3=this._items.length; $1=($1-1+$3)%$3; while($2<$3&&!this._items[$1].getEnabled()){$1=($1-1+$3)%$3; $2++; }this._selectByIndex($1); }; qx.Proto._selectByIndex=function($0){if(this._items[$0].getEnabled()){this.setSelected(this._items[$0]); this._items[$0].setFocused(true); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this.forceSelected(null); if(this._items){for(var $0,$1=this._items,$2=$1.length;$0<$2;$0++){$1[$0].dispose(); delete $1[$0]; }$1=null; delete this._items; }return qx.core.Target.prototype.dispose.call(this); }; /* ID: qx.theme.color.System */ qx.OO.defineClass($[2683],qx.renderer.theme.ColorTheme,function(){qx.renderer.theme.ColorTheme.call(this,$[1296]); }); qx.Clazz.getInstance=qx.lang.Function.returnInstance; qx.manager.object.ColorManager.getInstance().registerColorTheme(qx.Clazz); /* ID: qx.ui.listview.ListView */ qx.OO.defineClass($[2609],qx.ui.layout.VerticalBoxLayout,function($0,$1){this._data=$0; this._columns=$1; this._header=new qx.ui.listview.Header($1); this._frame=new qx.ui.layout.HorizontalBoxLayout; this._pane=new qx.ui.listview.ListViewPane($0,$1); this._scroll=new qx.ui.layout.CanvasLayout; this._scrollContent=new qx.ui.basic.Terminator; this._resizeLine=new qx.ui.basic.Terminator; qx.ui.layout.VerticalBoxLayout.call(this); this._header.setParent(this); this._frame.setParent(this); this._frame.setHeight($[44]); this._frame.setWidth(null); this._pane.setParent(this._frame); this._scroll.setWidth($[5]); this._scroll.setOverflow($[117]); this._scroll.setParent(this._frame); this._scroll.enableInlineEvent($[75]); this._scroll.addEventListener($[75],this._onscroll,this); this._scrollContent.setWidth(1); this._scrollContent.setParent(this._scroll); this._resizeLine.setBackgroundColor($[414]); this._resizeLine.setWidth(1); this._resizeLine.setParent(this); this.addEventListener($[6],this._onmousedown); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[1257]}); qx.OO.addProperty({name:$[686],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[497],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[2898],type:$[0]}); qx.Proto.getData=function(){return this._data; }; qx.Proto.getColumns=function(){return this._columns; }; qx.Proto.getHeader=function(){return this._header; }; qx.Proto.getFrame=function(){return this._frame; }; qx.Proto.getPane=function(){return this._pane; }; qx.Proto.getScroll=function(){return this._scroll; }; qx.Proto.getScrollContent=function(){return this._scrollContent; }; qx.Proto.getResizeLine=function(){return this._resizeLine; }; qx.Proto.update=function(){this.updateScrollBar(); this.updateContent(); }; qx.Proto.updateScrollBar=function(){this._scrollContent.setHeight((this._data.length*this._pane._rowHeight)+this._pane._rowHeight); }; if(qx.core.Client.getInstance().isGecko()&&qx.core.Client.getInstance().getVersion()>=1.8){qx.Proto._updateScrollBar=qx.Proto.updateScrollBar; qx.Proto.updateScrollBar=function(){this._updateScrollBar(); this._scroll.setStyleProperty($[47],$[160]); this._scroll.forceHeight(0); this._scroll.setHeight(null); }; }qx.Proto.updateContent=function(){this.getPane()._updateRendering(true); }; qx.Proto.updateLayout=function(){this.getPane()._updateLayout(); }; qx.Proto.updateSort=function(){var $0=this.getSortBy(); if(!$0){return; }var $1=this._getHeaderCell($0); if($1){$1.updateSort(); }}; qx.Proto._getHeaderCell=function($0){var $1=this._columns[$0]; return $1?$1.headerCell:null; }; qx.Proto._modifySortBy=function($0,$1,$2){if($1){var $3=this._getHeaderCell($1); if($3){$3.setSortOrder(null); }} if($0){var $4=this._getHeaderCell($0); if($4&&$4.getSortOrder()==null){$4.setSortOrder(qx.ui.listview.HeaderCell.C_SORT_ASCENDING); }}return true; }; qx.Proto._onscroll=function($0){this._pane._onscroll($0); }; qx.Proto._onmousedown=function($0){this.getFocusRoot().setActiveChild(this.getPane()); }; qx.Proto._handleDisplayableCustom=function($0,$1,$2){qx.ui.layout.VerticalBoxLayout.prototype._handleDisplayableCustom.call(this,$0,$1,$2); if($0){this.updateLayout(); this.updateScrollBar(); this.updateContent(); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return; } if(this._header){this._header.dispose(); this._header=null; } if(this._frame){this._frame.dispose(); this._frame=null; } if(this._pane){this._pane.dispose(); this._pane=null; } if(this._scroll){this._scroll.dispose(); this._scroll=null; } if(this._scrollContent){this._scrollContent.dispose(); this._scrollContent=null; } if(this._resizeLine){this._resizeLine.dispose(); this._resizeLine=null; }delete this._columns; delete this._data; this.removeEventListener($[6],this._onmousedown); return qx.ui.layout.VerticalBoxLayout.prototype.dispose.call(this); }; /* ID: qx.ui.listview.Header */ qx.OO.defineClass($[2489],qx.ui.layout.HorizontalBoxLayout,function($0){qx.ui.layout.HorizontalBoxLayout.call(this); this.setPaddingRight(qx.ui.core.Widget.SCROLLBAR_SIZE); this._columns=$0; var $1,$2; for(var $3 in $0){$1=new qx.ui.listview.HeaderCell($0[$3],$3); $2=new qx.ui.listview.HeaderSeparator; this.add($1,$2); if($0[$3].align){$1.setHorizontalChildrenAlign($0[$3].align); if($0[$3].align==$[12]){$1.setReverseChildrenOrder(true); }}$0[$3].contentClass=qx.OO.classes[$[1872]+qx.lang.String.toFirstUp($0[$3].type||$[198])]; $0[$3].headerCell=$1; }this.addEventListener($[14],this._onmousemove); this.addEventListener($[6],this._onmousedown); this.addEventListener($[7],this._onmouseup); this.addEventListener($[45],this._onmouseout); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[1057]}); qx.Proto._syncColumnWidth=function($0){var $1=this.getChildren(); var $2=Math.ceil($1.indexOf(this._resizeCell)/2); this.getParent().getPane().setColumnWidth($2,$0); }; qx.Proto._syncResizeLine=function(){qx.ui.core.Widget.flushGlobalQueues(); var $0=this.getParent(); var $1=$0.getResizeLine(); var $2=qx.html.Location.getPageBoxLeft(this._resizeSeparator.getElement())-qx.html.Location.getPageInnerLeft(this.getElement()); var $3=qx.html.Dimension.getBoxHeight($0.getHeader().getElement()); var $4=qx.html.Dimension.getBoxHeight($0.getElement())-$3; $1._applyRuntimeTop($3); $1._applyRuntimeHeight($4); $1._applyRuntimeLeft($2); $1.removeStyleProperty($[154]); }; qx.Proto._mshtml=qx.core.Client.getInstance().isMshtml(); qx.Proto._onmousemove=function($0){if(!this.getParent().getResizable()){return; } if(this._resizingActive){if(this._mshtml){if((new Date).valueOf()-this._last<50){return; }this._last=(new Date).valueOf(); }var $1=$0.getPageX(); var $2=$1-this._resizeStart; var $3=this._resizeCell; $3.setWidth(Math.max(4,$3.getWidth()+$2)); this._resizeStart=$1; if(this.getParent().getLiveResize()){this._syncColumnWidth($3._computeBoxWidth()); }else{this._syncResizeLine(); }}else{var $4=$0.getTarget(); var $5=$0.getPageX(); var $6=qx.html.Location.getPageBoxLeft($4.getElement()); var $7=$6+qx.html.Dimension.getBoxWidth($4.getElement()); var $8=false; var $9=null; if($4 instanceof qx.ui.listview.HeaderSeparator){$8=true; $9=$4; }else if(($5-$6)<=10){if(!$4.isFirstChild()){$8=true; $9=$4.getPreviousSibling(); }}else if(($7-$5)<=10){$8=true; $9=$4.getNextSibling(); } if(!($9 instanceof qx.ui.listview.HeaderSeparator)){$9=$4=$8=null; }else if($9){var $a=$9.getPreviousSibling(); if($a&&($a._computedWidthTypePercent||$a._config.resizable==false)){$9=$4=$8=null; }}this.getTopLevelWidget().setGlobalCursor($8?$[1185]:null); this._resizeSeparator=$9; this._resizeTarget=$4; }}; qx.Proto._onmousedown=function($0){if(!this._resizeSeparator){return; }this._resizingActive=true; this._resizeStart=$0.getPageX(); this._resizeCell=this._resizeSeparator.getPreviousSibling(); if(!this.getParent().getLiveResize()){this._syncResizeLine(); }this.setCapture(true); }; qx.Proto._onmouseup=function($0){if(!this._resizingActive){return; }this._syncColumnWidth(this._resizeCell.getBoxWidth()); this.setCapture(false); this.getTopLevelWidget().setGlobalCursor(null); this._resizeTarget.removeState($[49]); this.getParent().getResizeLine().setStyleProperty($[154],$[25]); this._cleanupResizing(); }; qx.Proto._onmouseout=function($0){if(!this.getCapture()){this.getTopLevelWidget().setGlobalCursor(null); }}; qx.Proto._cleanupResizing=function(){delete this._resizingActive; delete this._resizeSeparator; delete this._resizeTarget; delete this._resizeStart; delete this._resizeCell; }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this._cleanupResizing(); this.removeEventListener($[14],this._onmousemove); this.removeEventListener($[6],this._onmousedown); this.removeEventListener($[7],this._onmouseup); this.removeEventListener($[45],this._onmouseout); this._columns=null; return qx.ui.layout.HorizontalBoxLayout.prototype.dispose.call(this); }; /* ID: qx.ui.listview.HeaderCell */ qx.OO.defineClass($[1848],qx.ui.basic.Atom,function($0,$1){qx.ui.basic.Atom.call(this,$0.label,$0.icon,$0.iconWidth,$0.iconHeight,$0.flash); this.setStyleProperty($[823],$[375]); this._config=$0; this._id=$1; this.setWidth(typeof $0.width===$[40]?$[5]:$0.width); if($0.minWidth!=null){this.setMinWidth($0.minWidth); } if($0.maxWidth!=null){this.setMaxWidth($0.maxWidth); }this.getLayoutImpl().setEnableFlexSupport(true); this._spacer=new qx.ui.basic.HorizontalSpacer; this._arrowup=new qx.ui.basic.Image($[1315]); this._arrowup.setVerticalAlign($[36]); this._arrowup.setDisplay(false); this._arrowdown=new qx.ui.basic.Image($[555]); this._arrowdown.setVerticalAlign($[36]); this._arrowdown.setDisplay(false); this.add(this._spacer,this._arrowup,this._arrowdown); this.addEventListener($[7],this._onmouseup); this.addEventListener($[33],this._onmouseover); this.addEventListener($[45],this._onmouseout); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[2389]}); qx.OO.addProperty({name:$[1306],type:$[0],allowNull:true,possibleValues:[$[2176],$[1281]]}); qx.Clazz.C_SORT_ASCENDING="ascending"; qx.Clazz.C_SORT_DESCENDING="descending"; qx.Proto.getView=function(){return this.getParent().getParent(); }; qx.Proto.getNextSortOrder=function(){var $0=this.getSortOrder(); switch($0){case qx.ui.listview.HeaderCell.C_SORT_ASCENDING:return qx.ui.listview.HeaderCell.C_SORT_DESCENDING; default:return qx.ui.listview.HeaderCell.C_SORT_ASCENDING; }}; qx.Proto.updateSort=function(){var $0=this.getView(); var $1=$0.getData(); var $2=this._id; var $3=this._config.sortProp||$[198]; var $4=this._config.sortMethod||qx.util.Compare.byString; $1.sort(function($5,$6){return $4($5[$2][$3],$6[$2][$3]); }); if(this.getSortOrder()==qx.ui.listview.HeaderCell.C_SORT_DESCENDING){$1.reverse(); }}; qx.Proto._modifySortOrder=function($0,$1,$2){var $3=this.getView(); switch($0){case qx.ui.listview.HeaderCell.C_SORT_ASCENDING:this._arrowup.setDisplay(true); this._arrowdown.setDisplay(false); $3.setSortBy(this._id); break; case qx.ui.listview.HeaderCell.C_SORT_DESCENDING:this._arrowup.setDisplay(false); this._arrowdown.setDisplay(true); $3.setSortBy(this._id); break; default:this._arrowup.setDisplay(false); this._arrowdown.setDisplay(false); if($3.getSortBy()==this._id){$3.setSortBy(null); }} if($0){this.updateSort(); $3.update(); }return true; }; qx.Proto._onmouseover=function($0){this.addState($[49]); }; qx.Proto._onmouseout=function($0){this.removeState($[49]); }; qx.Proto._onmouseup=function($0){if(!this._config.sortable||this.getParent()._resizeSeparator){return; }this.setSortOrder(this.getNextSortOrder()); $0.stopPropagation(); }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }delete this._config; if(this._spacer){this._spacer.dispose(); this._spacer=null; } if(this._arrowup){this._arrowup.dispose(); this._arrowup=null; } if(this._arrowdown){this._arrowdown.dispose(); this._arrowdown=null; }this.removeEventListener($[7],this._onmouseup); this.removeEventListener($[33],this._onmouseover); this.removeEventListener($[45],this._onmouseout); return qx.ui.basic.Atom.prototype.dispose.call(this); }; /* ID: qx.ui.listview.HeaderSeparator */ qx.OO.defineClass($[2225],qx.ui.basic.Terminator,function(){qx.ui.basic.Terminator.call(this); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[1678]}); /* ID: qx.ui.listview.ListViewPane */ qx.OO.defineClass($[2548],qx.ui.layout.GridLayout,function($0,$1){qx.ui.layout.GridLayout.call(this); this._data=$0; this._columns=$1; this._manager=new qx.manager.selection.VirtualSelectionManager(this); this.addEventListener($[68],this._onmousewheel); this.addEventListener($[33],this._onmouseover); this.addEventListener($[6],this._onmousedown); this.addEventListener($[7],this._onmouseup); this.addEventListener($[18],this._onclick); this.addEventListener($[41],this._ondblclick); this.addEventListener($[17],this._onkeypress); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[1269]}); qx.Proto._rowHeight=16; qx.Proto.getView=function(){return this.getParent().getParent(); }; qx.Proto._lastRowCount=0; qx.Proto._updateLayout=function($0){var $1=this._columns; var $2=Math.ceil(this.getInnerHeight()/this._rowHeight); var $3=this._data; var $4; if($2>this._lastRowCount){for(var $5=this._lastRowCount,$6=0;$5<$2;$5++,$6=0){for(var $7 in $1){$4=new $1[$7].contentClass; this.add($4,$6++,$5); if($1[$7].align){$4.setStyleProperty($[250],$1[$7].align); }}}}else if(this._lastRowCount>$2){var $8=this.getChildren(); var $9=$8.length-1; for(var $5=this._lastRowCount;$5>$2;$5--){for(var $7 in $1){$4=$8[$9--]; this.remove($4); $4.dispose(); }}}this.setRowCount($2); if(!$0){this.setColumnCount(qx.lang.Object.getLength($1)); }for(var $5=0;$5<$2;$5++){this.setRowHeight($5,this._rowHeight); } if(!$0){var $a=0; for(var $7 in $1){this.setColumnHorizontalAlignment($a,$1[$7].align); this.setColumnWidth($a,$1[$7].width); $a++; }}this._lastRowCount=$2; }; qx.Proto._currentScrollTop=-1; qx.Proto._updateRendering=function($0){if(this._updatingRendering){return; }var $1=(this._initialLayoutDone?this.getView().getScroll().getScrollTop():0); this._updatingRendering=true; this._currentScrollTop=$1; for(var $2=0;$2$5||$3<$6){$7=$3; }else if(($3+$4)>($6+$5)){$7=$3+$4-$5; } if($7!=null){this.getView().getScroll().setScrollTop($7); }}; qx.Proto.setScrollTop=function($0){this.getView().getScroll().setScrollTop($0); this._updateRendering(); }; qx.Proto.getScrollTop=function(){return this._currentScrollTop; }; qx.Proto.setScrollLeft=function(){this.error("Not implemented in qx.ui.listview.ListViewPane!"); }; qx.Proto.getScrollLeft=function(){return 0; }; qx.Proto.isItemVisible=function($0){var $1=this._data.indexOf($0); var $2=Math.floor(this._currentScrollTop/this._rowHeight); var $3=Math.ceil(this.getClientHeight()/this._rowHeight); return $1>=$2&&$1<=($2+$3); }; qx.Proto.getRelativeItemPosition=function($0){var $1=this._data.indexOf($0); var $2=Math.floor(this._currentScrollTop/this._rowHeight); return $1-$2; }; qx.Proto._updateItem=function($0){var $1=this._data.indexOf($0); var $2=Math.floor(this._currentScrollTop/this._rowHeight); var $3=Math.ceil(this.getClientHeight()/this._rowHeight); if($1<$2||$1>($2+$3)){return; }this._updateRow($1-$2); }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this.removeEventListener($[68],this._onmousewheel); this.removeEventListener($[33],this._onmouseover); this.removeEventListener($[6],this._onmousedown); this.removeEventListener($[7],this._onmouseup); this.removeEventListener($[18],this._onclick); this.removeEventListener($[41],this._ondblclick); this.removeEventListener($[17],this._onkeypress); delete this._data; delete this._columns; if(this._manager){this._manager.dispose(); this._manager=null; }return qx.ui.layout.GridLayout.prototype.dispose.call(this); }; /* ID: qx.manager.selection.VirtualSelectionManager */ qx.OO.defineClass($[2674],qx.manager.selection.SelectionManager,function($0){qx.manager.selection.SelectionManager.call(this,$0); }); qx.Proto.getFirst=function(){return qx.lang.Array.getFirst(this.getItems()); }; qx.Proto.getLast=function(){return qx.lang.Array.getLast(this.getItems()); }; qx.Proto.getItems=function(){return this.getBoundedWidget().getData(); }; qx.Proto.getNextSibling=function($0){var $1=this.getItems(); return $1[$1.indexOf($0)+1]; }; qx.Proto.getPreviousSibling=function($0){var $1=this.getItems(); return $1[$1.indexOf($0)-1]; }; qx.Proto.getItemHashCode=function($0){if($0._hash){return $0._hash; }return $0._hash=qx.core.Object.toHashCode($0); }; qx.Proto.scrollItemIntoView=function($0,$1){this.getBoundedWidget().scrollItemIntoView($0,$1); }; qx.Proto.getItemLeft=function($0){return this.getBoundedWidget().getItemLeft($0); }; qx.Proto.getItemTop=function($0){return this.getBoundedWidget().getItemTop($0); }; qx.Proto.getItemWidth=function($0){return this.getBoundedWidget().getItemWidth($0); }; qx.Proto.getItemHeight=function($0){return this.getBoundedWidget().getItemHeight($0); }; qx.Proto.getItemEnabled=function($0){return true; }; qx.Proto.renderItemSelectionState=function($0,$1){this.getBoundedWidget()._updateSelectionState($0,$1); }; qx.Proto.renderItemAnchorState=function($0,$1){this.getBoundedWidget()._updateAnchorState($0,$1); }; qx.Proto.renderItemLeadState=function($0,$1){this.getBoundedWidget()._updateLeadState($0,$1); }; /* ID: qx.ui.listview.ContentCellHtml */ qx.OO.defineClass($[1279],qx.ui.embed.HtmlEmbed,function($0){qx.ui.embed.HtmlEmbed.call(this,$0); this.setSelectable(false); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[2366]}); qx.ui.listview.ContentCellHtml.empty={html:$[1]}; /* ID: qx.ui.embed.IconHtmlEmbed */ qx.OO.defineClass($[1245],qx.ui.embed.HtmlEmbed,function($0,$1,$2,$3){qx.ui.embed.HtmlEmbed.call(this,$0); if($1!=null){this.setIcon($1); if($2!=null){this.setIconWidth($2); } if($3!=null){this.setIconHeight($2); }}}); qx.OO.addProperty({name:$[72],type:$[0],impl:$[159]}); qx.OO.addProperty({name:$[970],type:$[2],impl:$[159]}); qx.OO.addProperty({name:$[682],type:$[2],impl:$[159]}); qx.OO.addProperty({name:$[936],type:$[2],defaultValue:4,impl:$[159]}); qx.Proto._mshtml=qx.core.Client.getInstance().isMshtml(); qx.Proto._syncHtml=function(){var $0=[]; if(qx.util.Validation.isValidString(this.getIcon())){$0.push($[2373]); $0.push(qx.manager.object.AliasManager.getInstance().resolvePath(this._mshtml?$[62]:this.getIcon())); $0.push($[2071]); if(this.getSpacing()!=null){$0.push($[2725]); $0.push(this.getSpacing()); $0.push($[426]); } if(this.getIconWidth()!=null){$0.push($[1471]); $0.push(this.getIconWidth()); $0.push($[426]); } if(this.getIconHeight()!=null){$0.push($[2040]); $0.push(this.getIconHeight()); $0.push($[426]); } if(this._mshtml){$0.push($[2687]); $0.push($[197]); $0.push(qx.manager.object.AliasManager.getInstance().resolvePath(this.getIcon())); $0.push($[193]); $0.push($[77]); }$0.push($[1104]); } if(qx.util.Validation.isValidString(this.getHtml())){$0.push(this.getHtml()); }this.getElement().innerHTML=$0.join($[1]); }; /* ID: qx.ui.listview.ContentCellIconHtml */ qx.OO.defineClass($[1998],qx.ui.embed.IconHtmlEmbed,function($0,$1,$2,$3){qx.ui.embed.IconHtmlEmbed.call(this,$0,$1,$2,$3); this.setSelectable(false); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[2297]}); qx.ui.listview.ContentCellIconHtml.empty={icon:$[1],html:$[1]}; /* ID: qx.ui.listview.ContentCellImage */ qx.OO.defineClass($[1647],qx.ui.basic.Image,function($0,$1,$2){qx.ui.basic.Image.call(this,$0,$1,$2); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[1689]}); qx.ui.listview.ContentCellImage.empty={source:$[62]}; qx.Proto.setSource=function($0){if(this._initialLayoutDone){return this._updateContent(qx.manager.object.AliasManager.getInstance().resolvePath($0==$[1]?$[62]:$0)); }else{return qx.ui.basic.Image.prototype.setSource.call(this,$0); }}; qx.Proto._postApplyDimensions=qx.lang.Function.returnTrue; /* ID: qx.ui.listview.ContentCellLink */ qx.OO.defineClass($[1095],qx.ui.embed.LinkEmbed,function($0){qx.ui.embed.LinkEmbed.call(this,$0); this.setSelectable(true); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[2965]}); qx.ui.listview.ContentCellLink.empty={html:$[1],uri:$[138]}; /* ID: qx.ui.embed.TextEmbed */ qx.OO.defineClass($[1775],qx.ui.basic.Terminator,function($0){qx.ui.basic.Terminator.call(this); if($0!=null){this.setText($0); }}); qx.OO.addProperty({name:$[198],type:$[0]}); qx.OO.addProperty({name:$[235],type:$[4],instance:$[215],convert:qx.renderer.font.FontCache,allowMultipleArguments:true}); qx.OO.addProperty({name:$[242],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[250],type:$[0],defaultValue:$[10],possibleValues:[$[10],$[80],$[12],$[716]],allowNull:false}); qx.Proto._modifyText=function(){if(this._isCreated){this._syncText(); }return true; }; qx.Proto._modifyFont=function($0,$1,$2){if($0){$0._applyWidget(this); }else if($1){$1._resetWidget(this); }return true; }; qx.Proto._modifyWrap=function($0,$1,$2){this.setStyleProperty($[167],$0?$[139]:$[231]); return true; }; qx.Proto._modifyTextAlign=function($0,$1,$2){this.setStyleProperty($[250],$0); return true; }; qx.Proto._applyElementData=function(){this.getElement().appendChild(document.createTextNode(this.getText())); }; qx.Proto._syncText=function(){this.getElement().firstChild.nodeValue=this.getText(); }; /* ID: qx.ui.listview.ContentCellText */ qx.OO.defineClass($[1769],qx.ui.embed.TextEmbed,function($0){qx.ui.embed.TextEmbed.call(this,$0); this.setStyleProperty($[167],$[231]); this.setStyleProperty($[823],$[375]); this.setSelectable(false); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[173]}); qx.ui.listview.ContentCellText.empty={text:$[1]}; /* ID: elite.ui.desktop.Desktop */ qx.OO.defineClass($[1939],qx.ui.layout.VerticalBoxLayout,function(){qx.ui.layout.VerticalBoxLayout.call(this); }); qx.OO.addProperty({name:$[965],type:$[4],instance:$[359],defaultValue:null}); qx.OO.addProperty({name:$[2175],type:$[4],instance:$[849],defaultValue:null}); qx.Proto._modifyTaskBar=function($0,$1,$2){if($1){var $3=this.indexOf($1); if($3>0){this.removeAt($3); }} if($0){this.addAtEnd($0); }return true; }; qx.Proto._modifyDesktopScreen=function($0,$1,$2){if($1){var $3=this.indexOf($1); if($3>0){this.removeAt($3); }} if($0){this.addAtBegin($0); }return true; }; qx.Proto._modifyParent=function($0,$1,$2){qx.ui.layout.VerticalBoxLayout.prototype._modifyParent.call(this,$0,$1,$2); if($1){$1.removeEventListener($[213],this._onwindowresize); } if($0){$0.addEventListener($[213],this._onwindowresize,this); this._fitDesktop(); }return true; }; qx.Proto._onwindowresize=function($0){this._fitDesktop(); }; qx.Proto._fitDesktop=function(){var $0=this.getParent().getInnerWidth(); var $1=this.getParent().getInnerHeight(); var $2=this.getTaskBar(); var $3=this.getDesktopScreen(); var $4; this.setWidth($0); this.setHeight($1); if($2){$2.setWidth($0); $4=$2.getHeight(); }else{$4=0; } if($3){$3.setHeight($1-$4); $3.setWidth($0); }qx.ui.core.Widget.flushGlobalQueues(); }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; }return qx.ui.layout.VerticalBoxLayout.prototype.dispose.call(this); }; /* ID: elite.ui.desktop.taskbar.TaskBar */ qx.OO.defineClass($[359],qx.ui.layout.GridLayout,function($0){qx.ui.layout.GridLayout.call(this); var $1=32; var $2=440; var $3=2; var $4=7; if($0){if(qx.util.Validation.isValidNumber($0)){this.setHeight($0); }else{this.setHeight($1); }}else{this.setHeight($1); }this.setWidth($2); this.setPadding($3); this.setColumnCount(3); this.setRowCount(1); this.setHorizontalSpacing($4); this.setColumnWidth(0,this.getStartBtnPaneWidth()); this.setColumnWidth(1,this.getWidth()-$3*2-2-this.getStartBtnPaneWidth()-$4*2); this.setColumnWidth(2,0); this.setRowHeight(0,this.getHeight()-$3*2-2); var $5=this.getColumnInnerWidth(0,0); this._startButton=new qx.ui.form.Button(); this._startButton.setDimension($5,this.getButtonsHeight()); this._startButton.setHorizontalChildrenAlign($[10]); this.add(this._startButton,0,0); this._windowButtonsPane=new qx.ui.layout.FlowLayout(); this._windowButtonsPane.setWidth(this.getColumnInnerWidth(1,0)); this._windowButtonsPane.setHorizontalSpacing(3); this._windowButtonsPane.setVerticalSpacing(3); this.add(this._windowButtonsPane,1,0); this._trayIconsPane=new qx.ui.layout.FlowLayout(); this._trayIconsPane.setBorder(qx.renderer.border.BorderPresets.getInstance().thinInset); this._trayIconsPane.setWidth(this.getColumnInnerWidth(2,0)); this._trayIconsPane.setPadding(4,2); this._trayIconsPane.setHorizontalSpacing(3); this.add(this._trayIconsPane,2,0); this._windowButtons=[]; this._windowButtonsHashes={}; this._trayIcons=[]; this._toolTipBalloons=[]; this._curWinButtonsSize=this.WINDOW_BUTTONS_MAXSIZE; this._needScrollBar=false; this._windowButtonsRadioManager=new qx.manager.selection.RadioManager($[2814]); this.setMinHeight($1); this.addEventListener($[332],this._onchangewidth); qx.ui.core.ClientDocument.getInstance().addEventListener($[213],this._onwindowresize,this); this._startButton.addEventListener($[6],this._onstartbuttonmousedown,this); this._startButton.addEventListener($[18],this._onstartbuttonclick,this); }); qx.Proto.WINDOW_BUTTONS_MAXSIZE=160; qx.Proto.WINDOW_BUTTONS_MINSIZE=45; qx.OO.addProperty({name:$[1112],type:$[0],defaultValue:$[1]}); qx.OO.addProperty({name:$[2910],type:$[0],defaultValue:$[1]}); qx.OO.addProperty({name:$[2085],type:$[4],instance:$[222],defaultValue:null}); qx.OO.addProperty({name:$[2188],type:$[2],defaultValue:90}); qx.OO.addProperty({name:$[2179],type:$[2],defaultValue:16}); qx.OO.addProperty({name:$[2468],type:$[2],defaultValue:26}); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[322]}); qx.Proto._modifyStartBtnText=function($0,$1,$2){if(this._startButton){this._clipButtonText(this._startButton,this.getStartBtnPaneWidth(),$0); }return true; }; qx.Proto._modifyStartBtnImage=function($0,$1,$2){if(this._startButton){var $3=this._startButton; $3.setIcon($0); }return true; }; qx.Proto._modifyIconsSize=function($0,$1,$2){var $3=this._windowButtons; var $4=this._trayIcons; var $5=this._startButton; var $6=$3.length; var $7=$4.length; var $8; $5.setIconWidth($0); $5.setIconHeight($0); for($8=0;$8<$6;$8++){var $9=$3[$8].button.getIconObject(); if($9!=null){$9.setWidth($0); $9.setHeight($0); }} for($8=0;$8<$7;$8++){$4[$8].setIconWidth($0); $4[$8].setIconHeight($0); }this._resizeTrayIconsPane(); return true; }; qx.Proto._onchangewidth=function($0){var $1=this.getBorder(); var $2=$0.getData()-$1.getLeftWidth()-$1.getRightWidth()-this.getPaddingLeft()-this.getPaddingRight()-this.getStartBtnPaneWidth()-this.getColumnBoxWidth(2)-this.getHorizontalSpacing()*2; this.setColumnWidth(1,$2); this._accommodateWinButtons($2); }; qx.Proto._onwindowresize=function($0){var $1; var $2=this._toolTipBalloons; var $3=$2.length; var $4=this.getElement(); for($1=0;$1<$3;$1++){$2[$1].hide(); }}; qx.Proto._onstartbuttonmousedown=function($0){$0.stopPropagation(); }; qx.Proto._onstartbuttonclick=function($0){var $1=this.getStartBtnMenu(); if($1==null){$0.stopPropagation(); return; } if($1.isSeeable()){$1.hide(); }else{var $2=this._startButton.getElement(); $1.setLeft(qx.html.Location.getPageOuterLeft($2)); $1.setTop(qx.html.Location.getPageOuterTop($2)-$1.getHeight()); $1.show(); }$0.stopPropagation(); }; qx.Proto._onwindowbuttonclick=function($0){var $1=this.getUserData($[127]); if(this.isChecked()){$1.restore(); $1.setActive(true); }else{$1.minimize(); }}; qx.Proto._ontrayiconmouseover=function($0){var $1=this.getUserData($[633]); var $2=this.getUserData($[548]); var $3=this.getUserData($[746]); var $4=$3._findSeeableBalloon($1,$1.length-1); if(($4!=-1)&&($4!=$2)){$1[$4].hide(); }$1[$2].setTop(qx.html.Location.getPageOuterTop($3.getElement())-$1[$2].getHeight()); $3._computeBalloonsHorizontalPosition($1[$2],$2); $1[$2].show(); $0.stopPropagation(); }; qx.Proto._resizeTrayIconsPane=function(){var $0=this._trayIconsPane.getBorder(); var $1=this._trayIcons.length*this.getIconsSize()+(this._trayIcons.length-1)*this._trayIconsPane.getHorizontalSpacing()+$0.getLeftWidth()+$0.getRightWidth()+this._trayIconsPane.getPaddingLeft()+this._trayIconsPane.getPaddingRight(); $0=this.getBorder(); var $2=(this.getWidth()-this.getPaddingLeft()-this.getPaddingRight()-$0.getLeftWidth()-$0.getRightWidth())-this.getStartBtnPaneWidth()-$1-this.getHorizontalSpacing()*2; this.setColumnWidth(1,$2); this.setColumnWidth(2,$1); this._accommodateWinButtons($2); }; qx.Proto._clipText=function($0,$1){if(($0.length*6)>$1){var $2=Math.floor($1/6)-1; if($2>4){return $0.substring(0,$2-4)+$[858]; }return $[858]; }return $0; }; qx.Proto._computeNewWinButtonsWidth=function($0,$1,$2,$3,$4,$5){if(!$5){var $5=0; }var $6=$4*$0+($4-1)*$5; var $7=Math.floor(($3-($4-1)*$5)/$4); if($6>($3-1)){if($7<$1){this._needScrollBar=true; return $1; }return $7; }var $7=Math.floor(($3-($4-1)*$5)/$4); this._needScrollBar=false; if($7>$2){return $2; }return $7; }; qx.Proto._accommodateWinButtons=function($0){var $1=this._computeNewWinButtonsWidth(this._curWinButtonsSize,this.WINDOW_BUTTONS_MINSIZE,this.WINDOW_BUTTONS_MAXSIZE,$0,this._windowButtons.length,this._windowButtonsPane.getHorizontalSpacing()); this._curWinButtonsSize=$1; this._refreshWindowButtonsPane(); if(this._needScrollBar){this._windowButtonsPane.setOverflow($[117]); }else{this._windowButtonsPane.setOverflow($[25]); }}; qx.Proto._refreshWindowButtonsPane=function(){var $0=this._windowButtons; var $1=$0.length; for(var $2=0;$2<$1;$2++){$0[$2].button.setWidth(this._curWinButtonsSize); this._clipButtonText($0[$2].button,this._curWinButtonsSize,$0[$2].labelText); }}; qx.Proto._clipButtonText=function($0,$1,$2){var $3=$0.getIconObject(); var $4; if($3!=null){$4=$3.getWidth(); }else{$4=0; } if($4){$4=$1-$4-8; }else{$4=$1-6; }$0.setLabel(this._clipText($2,$4)); }; qx.Proto._computeBalloonsHorizontalPosition=function($0,$1){var $2=this._trayIconsPane; var $3; if($0.getArrowOrientation()===$[10]){$3=$0.ARROW_WIDTH; }else{$3=0; }var $4=$2.getHorizontalSpacing()+this.getIconsSize(); $0.setLeft(qx.html.Location.getPageInnerRight($2.getElement())-($0.getWidth()-$3-$0.getArrowOffset()-$0.CORNER_SIZE)-$1*($4)-Math.floor(($4)/2)); }; qx.Proto._findSeeableBalloon=function($0,$1){for(var $2=$1;$2>=0;$2--){if(($0[$2]!=null)&&($0[$2].isSeeable())){return $2; }}return -1; }; qx.Proto.getWindowButton=function($0){if(!qx.util.Validation.isValidNumber($0)){return null; } if((typeof this._windowButtonsHashes[$0]!=$[40])&&(this._windowButtonsHashes[$0]!=null)){return this._windowButtons[this._windowButtonsHashes[$0]].button; }return null; }; qx.Proto.getWindowButtonAt=function($0){if(!qx.util.Validation.isValidNumber($0)){return null; } if(!qx.lang.Number.isInRange($0,0,this._windowButtons.length-1)){this.error("Array index out of range ("+$0+")"); return null; }return this._windowButtons[$0].button; }; qx.Proto.getNumberOfWinButtons=function(){return this._windowButtons.length; }; qx.Proto.addNewWindowButton=function($0){var $1=$0.getCaption(); var $2=$0.getIcon(); var $3=$0.toHashCode(); if((typeof this._windowButtonsHashes[$3]!=$[40])&&(this._windowButtonsHashes[$3]!=null)){return this._windowButtons[this._windowButtonsHashes[$3]].button; }var $4=new elite.ui.desktop.taskbar.Button($1,$2); $4.setHeight(this.getButtonsHeight()); $4.setHorizontalChildrenAlign($[10]); $4.setManager(this._windowButtonsRadioManager); $4.setUserData($[127],$0); $4.addEventListener($[18],this._onwindowbuttonclick,$4); $4.setIcon($2); var $5=$4.getIconObject(); if($5!=null){$5.setWidth(this.getIconsSize()); $5.setHeight(this.getIconsSize()); }var $6=new qx.ui.popup.ToolTip($1,$2); $6.setShowInterval(500); $6.setHideInterval(5000); $6.setHideOnHover(false); $6.setMousePointerOffsetY(-30); $4.setToolTip($6); this._windowButtons.push({windowHash:$3,labelText:$1,button:$4}); this._windowButtonsHashes[$3]=this._windowButtons.length-1; this._windowButtonsPane.add($4); this._accommodateWinButtons(this._windowButtonsPane.getInnerWidth()); return $4; }; qx.Proto.removeWindowButtonByIndex=function($0){if(!qx.util.Validation.isValidNumber($0)){return; } if(!qx.lang.Number.isInRange($0,0,this._windowButtons.length-1)){this.error("Array index out of range ("+$0+")"); return; }var $1=this._windowButtons[$0]; var $2=$1.button.getToolTip(); $1.button.setManager(null); $1.button.removeEventListener($[18],this._onwindowbuttonclick); this._windowButtons.splice($0,1); this._windowButtonsPane.removeAt($0); var $3=this._windowButtons.length; for(var $4=$0;$4<$3;$4++){this._windowButtonsHashes[this._windowButtons[$4].windowHash]=$4; }delete this._windowButtonsHashes[$1.windowHash]; delete $2; delete $1.labelText; delete $1.windowHash; delete $1; this._accommodateWinButtons(this._windowButtonsPane.getInnerWidth()); }; qx.Proto.removeWindowButtonByWindowHash=function($0){var $1=this._windowButtonsHashes[$0]; this.removeWindowButtonByIndex($1); }; qx.Proto.getTrayIconAt=function($0){if(!qx.util.Validation.isValidNumber($0)){return null; } if(!qx.lang.Number.isInRange($0,0,this._trayIcons.length-1)){this.error("Array index out of range ("+$0+")"); return null; }return this._trayIcons[$0]; }; qx.Proto.getToolTipBalloonAt=function($0){if(!qx.util.Validation.isValidNumber($0)){return null; } if(!qx.lang.Number.isInRange($0,0,this._toolTipBalloons.length-1)){this.error("Array index out of range ("+$0+")"); return null; }return this._toolTipBalloons[$0]; }; qx.Proto.getNumberOfTrayIcons=function(){return this._trayIcons.length; }; qx.Proto.addNewTrayIcon=function($0,$1){if(($0)&&(!qx.util.Validation.isValidString($0))){return; } if(!$1){$1=null; }var $2=new qx.ui.basic.Image($0); var $3=this.getIconsSize(); $2.setDimension($3,$3); var $4=this._trayIcons; var $5=this._toolTipBalloons; $4.push($2); $5.push($1); this._resizeTrayIconsPane(); this._trayIconsPane.addAtBegin($2); if($1!=null){var $6=this._findSeeableBalloon($5,$4.length-2); if($6!=-1){$5[$6].hide(); }$2.setUserData($[633],$5); $2.setUserData($[548],$4.length-1); $2.setUserData($[746],this); $2.addEventListener($[33],this._ontrayiconmouseover); var $7=this.getElement(); if($7!=null){$1.setTop(qx.html.Location.getPageOuterTop(this.getElement())-$1.getHeight()); this._computeBalloonsHorizontalPosition($1,$4.length-1); }$1.show(); }return $2; }; qx.Proto.removeTrayIcon=function($0){if(!qx.util.Validation.isValidNumber($0)){return; }var $1=this._trayIcons; var $2=$1.length-1; if(!qx.lang.Number.isInRange($0,0,$2)){this.error("Array index out of range ("+$0+")"); return; }var $3=this._toolTipBalloons; var $4=$1[$0]; var $5; if($3[$0]!=null){$3[$0].hide(); $4.removeEventListener($[33],this._ontrayiconmouseover); }$1.splice($0,1); $3.splice($0,1); for($5=$0;$5<$2;$5++){$1[$5].setUserData($[548],$5); }this._trayIconsPane.removeAt($2-$0); delete $4; $5=this._findSeeableBalloon($3,$2-1); if($5!=-1){this._computeBalloonsHorizontalPosition($3[$5],$5); }this._resizeTrayIconsPane(); }; qx.Proto.getTrayIconIndexBySource=function($0){var $1,$2=this.getNumberOfTrayIcons(); for($1=0;$1<$2;$1++){var $3=this.getTrayIconAt($1); if($3.getSource()==$0){return $1; }}return -1; }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; }var $0; var $1; var $2; if(this._windowButtonsPane){this._windowButtonsPane.dispose(); delete this._windowButtonsPane; } if(this._trayIconsPane){this._trayIconsPane.dispose(); delete this._trayIconsPane; } if(this._startButton){this._startButton.dispose(); delete this._startButton; } if(this._curWinButtonsSize){delete this._curWinButtonsSize; } if(this._needScrollBar){delete this._needScrollBar; } if(this._windowButtonsRadioManager){this._windowButtonsRadioManager.dispose(); delete this._windowButtonsRadioManager; } if(this._windowButtons){$2=this._windowButtons; $1=$2.length; for($0=0;$0<$1;$0++){$2[$0].button.dispose(); delete $2[$0].windowHash; delete $2[$0].labelText; delete $2[$0].button; $2[$0]=null; }$2=null; delete this._windowButtons; } if(this._trayIcons){$2=this._trayIcons; $1=$2.length; for($0=0;$0<$1;$0++){$2[$0].dispose(); }$2=null; delete this._trayIcons; } if(this._toolTipBalloons){delete this._toolTipBalloons; }this.removeEventListener($[332],this._onchangewidth); return qx.ui.layout.GridLayout.prototype.dispose.call(this); }; /* ID: qx.ui.layout.FlowLayout */ qx.OO.defineClass($[2731],qx.ui.core.Parent,function(){qx.ui.core.Parent.call(this); }); qx.OO.addProperty({name:$[901],type:$[2],defaultValue:0,addToQueueRuntime:true,impl:$[226]}); qx.OO.addProperty({name:$[829],type:$[2],defaultValue:0,addToQueueRuntime:true,impl:$[226]}); qx.OO.addProperty({name:$[531],type:$[0],defaultValue:$[10],possibleValues:[$[10],$[12]],addToQueueRuntime:true}); qx.OO.addProperty({name:$[436],type:$[0],defaultValue:$[16],possibleValues:[$[16],$[24]],addToQueueRuntime:true}); qx.OO.addProperty({name:$[675],type:$[3],defaultValue:false,addToQueueRuntime:true,impl:$[226]}); qx.Proto._createLayoutImpl=function(){return new qx.renderer.layout.FlowLayoutImpl(this); }; qx.Proto._changeInnerWidth=function($0,$1){qx.ui.core.Parent.prototype._changeInnerWidth.call(this,$0,$1); this._invalidatePreferredInnerHeight(); }; qx.Proto._modifyLayout=function($0,$1,$2){this._invalidatePreferredInnerDimensions(); return true; }; /* ID: qx.renderer.layout.FlowLayoutImpl */ qx.OO.defineClass($[1891],qx.renderer.layout.LayoutImpl,function($0){qx.renderer.layout.LayoutImpl.call(this,$0); }); qx.renderer.layout.FlowLayoutImpl.STR_FIRST="getFirstVisibleChild"; qx.renderer.layout.FlowLayoutImpl.STR_LAST="getLastVisibleChild"; qx.renderer.layout.FlowLayoutImpl.STR_NEXT="getNextSibling"; qx.renderer.layout.FlowLayoutImpl.STR_PREVIOUS="getPreviousSibling"; qx.Proto.computeChildrenNeededWidth=function(){var $0=this.getWidget(); return qx.renderer.layout.LayoutImpl.prototype.computeChildrenNeededWidth_sum.call(this)+(($0.getVisibleChildrenLength()-1)*$0.getHorizontalSpacing()); }; qx.Proto.computeChildrenNeededHeight=function(){var $0=this.getWidget(); var $1=$0.getInnerWidth(); var $2=$0.getHorizontalSpacing(); var $3=$0.getVerticalSpacing(); var $4=$0.getReverseChildrenOrder(); var $5=0; var $6=0; var $7=0; for(var $8=0,$9=$0.getVisibleChildren(),$a=$9.length,$b;$8<$a;$8++){$b=$4?$9[$a-1-$8]:$9[$8]; $5+=$b.getNeededWidth(); if($5>$1){$7+=$6+$3; $5=$b.getNeededWidth(); $6=$b.getNeededHeight(); }else{$6=Math.max($6,$b.getNeededHeight()); }$5+=$2; }return $7+$6; }; qx.Proto.updateSelfOnChildOuterWidthChange=function($0){this.getWidget()._invalidatePreferredInnerHeight(); }; qx.Proto.updateChildOnInnerWidthChange=function($0){$0._recomputePercentX(); $0.addToLayoutChanges($[92]); return true; }; qx.Proto.updateChildOnInnerHeightChange=function($0){$0._recomputePercentY(); $0.addToLayoutChanges($[92]); return true; }; qx.Proto.updateChildrenOnJobQueueFlush=function($0){if($0.horizontalSpacing||$0.verticalSpacing||$0.reverseChildrenOrder||$0.horizontalChildrenAlign||$0.verticalChildrenAlign){this.getWidget()._addChildrenToLayoutQueue($[92]); }}; qx.Proto.updateChildrenOnRemoveChild=function($0,$1){var $2=this.getWidget(),$3=$2.getVisibleChildren(),$4=$3.length,$5,$6=-1; if($2.getReverseChildrenOrder()){while(($5=$3[++$6])&&$6<$1){$5.addToLayoutChanges($[92]); }}else{$6+=$1; while($5=$3[++$6]){$5.addToLayoutChanges($[92]); }}}; qx.Proto.updateChildrenOnMoveChild=function($0,$1,$2){for(var $3=Math.min($1,$2),$4=this.getWidget().getVisibleChildren(),$5=$4.length;$3<$5;$3++){$4[$3].addToLayoutChanges($[92]); }}; qx.Proto.flushChildrenQueue=function($0){var $1=this.getWidget(),$2=$1.getVisibleChildren(),$3=$2.length,$4,$5; if($1.getReverseChildrenOrder()){var $6=$3,$7=false; while($4=$2[--$6]){$5=$4.toHashCode(); if($7||$0[$5]){$1._layoutChild($4); $7=true; }}}else{var $6=-1,$7=false; while($4=$2[++$6]){$5=$4.toHashCode(); if($7||$0[$5]){$1._layoutChild($4); $7=true; }}}}; qx.Proto.layoutChild=function($0,$1){this.layoutChild_sizeX_essentialWrapper($0,$1); this.layoutChild_sizeY_essentialWrapper($0,$1); this.layoutChild_sizeLimitX($0,$1); this.layoutChild_sizeLimitY($0,$1); this.layoutChild_marginX($0,$1); this.layoutChild_marginY($0,$1); this.layoutChild_location($0,$1); }; if(qx.core.Client.getInstance().isMshtml()||qx.core.Client.getInstance().isOpera()){qx.Proto.layoutChild_sizeX=function($0,$1){if($1.initial||$1.width||$1.minWidth||$1.maxWidth){$0._computedWidthTypeNull&&$0._computedMinWidthTypeNull&&$0._computedMaxWidthTypeNull?$0._resetRuntimeWidth():$0._applyRuntimeWidth($0.getBoxWidth()); }}; qx.Proto.layoutChild_sizeY=function($0,$1){if($1.initial||$1.height||$1.minHeight||$1.maxHeight){$0._computedHeightTypeNull&&$0._computedMinHeightTypeNull&&$0._computedMaxHeightTypeNull?$0._resetRuntimeHeight():$0._applyRuntimeHeight($0.getBoxHeight()); }}; }else{qx.Proto.layoutChild_sizeX=function($0,$1){if($1.initial||$1.width){$0._computedWidthTypeNull?$0._resetRuntimeWidth():$0._applyRuntimeWidth($0.getWidthValue()); }}; qx.Proto.layoutChild_sizeY=function($0,$1){if($1.initial||$1.height){$0._computedHeightTypeNull?$0._resetRuntimeHeight():$0._applyRuntimeHeight($0.getHeightValue()); }}; }qx.Proto.layoutChild_location=function($0,$1){var $2=this.getWidget(); var $3=$2.getReverseChildrenOrder(); var $4=$3?qx.renderer.layout.FlowLayoutImpl.STR_LAST:qx.renderer.layout.FlowLayoutImpl.STR_FIRST; var $5=$3?qx.renderer.layout.FlowLayoutImpl.STR_NEXT:qx.renderer.layout.FlowLayoutImpl.STR_PREVIOUS; if($0==$2[$4]()){$0._cachedLocationHorizontal=$0._cachedLocationVertical=$0._cachedRow=0; }else{var $6=$0[$5](); $0._cachedLocationHorizontal=$6._cachedLocationHorizontal+$6.getOuterWidth()+$2.getHorizontalSpacing(); $0._cachedLocationVertical=$6._cachedLocationVertical; $0._cachedRow=$6._cachedRow; if(($0._cachedLocationHorizontal+$0.getOuterWidth())>$2.getInnerWidth()){vRowMax=$6.getOuterHeight(); while(($6=$6[$5]())&&$6._cachedRow==$0._cachedRow){vRowMax=Math.max(vRowMax,$6.getOuterHeight()); }$0._cachedLocationHorizontal=0; $0._cachedLocationVertical+=$2.getVerticalSpacing()+vRowMax; $0._cachedRow++; }}if($2.getHorizontalChildrenAlign()==$[12]){$0._resetRuntimeLeft(); $0._applyRuntimeRight($2.getPaddingRight()+$0._cachedLocationHorizontal); }else{$0._resetRuntimeRight(); $0._applyRuntimeLeft($2.getPaddingLeft()+$0._cachedLocationHorizontal); } if($2.getVerticalChildrenAlign()==$[24]){$0._resetRuntimeTop(); $0._applyRuntimeBottom($2.getPaddingBottom()+$0._cachedLocationVertical); }else{$0._resetRuntimeBottom(); $0._applyRuntimeTop($2.getPaddingTop()+$0._cachedLocationVertical); }}; /* ID: qx.ui.toolbar.CheckBox */ qx.OO.defineClass($[1779],qx.ui.toolbar.Button,function($0,$1,$2){qx.ui.toolbar.Button.call(this,$0,$1); if($2!=null){this.setChecked($2); }}); qx.OO.addProperty({name:$[98],type:$[3],defaultValue:false,getAlias:$[277]}); qx.Proto._modifyChecked=function($0,$1,$2){$0?this.addState($[98]):this.removeState($[98]); return true; }; qx.Proto._onmouseup=function($0){this.setCapture(false); if(!this.hasState($[39])){this.addState($[49]); this.setChecked(!this.getChecked()); this.execute(); }this.removeState($[39]); this.removeState($[20]); $0.stopPropagation(); }; /* ID: qx.ui.toolbar.RadioButton */ qx.OO.defineClass($[1148],qx.ui.toolbar.CheckBox,function($0,$1,$2){qx.ui.toolbar.CheckBox.call(this,$0,$1,$2); }); qx.OO.addProperty({name:$[298],type:$[4],instance:$[251],allowNull:true}); qx.OO.addProperty({name:$[96],type:$[0]}); qx.OO.addProperty({name:$[2289],type:$[3],defaultValue:false}); qx.Proto._modifyChecked=function($0,$1,$2){qx.ui.toolbar.CheckBox.prototype._modifyChecked.call(this,$0,$1,$2); var $3=this.getManager(); if($3){$3.handleItemChecked(this,$0); }return true; }; qx.Proto._modifyManager=function($0,$1,$2){if($1){$1.remove(this); } if($0){$0.add(this); }return true; }; qx.Proto._onmouseup=function($0){this.setCapture(false); if(!this.hasState($[39])){this.addState($[49]); this.setChecked(this.getDisableUncheck()||!this.getChecked()); this.execute(); }this.removeState($[39]); this.removeState($[20]); $0.stopPropagation(); }; /* ID: elite.ui.desktop.taskbar.Button */ qx.OO.defineClass($[2391],qx.ui.toolbar.RadioButton,function($0,$1,$2){qx.ui.toolbar.RadioButton.call(this,$0,$1,$2); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[122]}); /* ID: qx.ui.popup.PopupAtom */ qx.OO.defineClass($[2843],qx.ui.popup.Popup,function($0,$1){qx.ui.popup.Popup.call(this); this._atom=new qx.ui.basic.Atom($0,$1); this._atom.setParent(this); }); qx.Proto._isFocusRoot=false; qx.Proto.getAtom=function(){return this._atom; }; qx.Proto.dispose=function(){if(this.getDisposed()){return; } if(this._atom){this._atom.dispose(); this._atom=null; }return qx.ui.popup.Popup.prototype.dispose.call(this); }; /* ID: qx.ui.popup.ToolTip */ qx.OO.defineClass($[351],qx.ui.popup.PopupAtom,function($0,$1){qx.ui.popup.PopupAtom.call(this,$0,$1); this.setStyleProperty($[125],$[2152]); this._showTimer=new qx.client.Timer(this.getShowInterval()); this._showTimer.addEventListener($[52],this._onshowtimer,this); this._hideTimer=new qx.client.Timer(this.getHideInterval()); this._hideTimer.addEventListener($[52],this._onhidetimer,this); this.addEventListener($[33],this._onmouseover); this.addEventListener($[45],this._onmouseover); }); qx.Proto._minZIndex=1e7; qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[1715]}); qx.OO.addProperty({name:$[2707],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[2379],type:$[2],defaultValue:1}); qx.OO.addProperty({name:$[2538],type:$[2],defaultValue:20}); qx.OO.addProperty({name:$[1822],type:$[2],defaultValue:1000}); qx.OO.addProperty({name:$[889],type:$[2],defaultValue:4000}); qx.OO.addProperty({name:$[2933],type:$[4],instance:$[190]}); qx.Proto._modifyHideInterval=function($0,$1,$2){this._hideTimer.setInterval($0); return true; }; qx.Proto._modifyShowInterval=function($0,$1,$2){this._showTimer.setInterval($0); return true; }; qx.Proto._modifyBoundToWidget=function($0,$1,$2){if($0){this.setParent($0.getTopLevelWidget()); }else if($1){this.setParent(null); }return true; }; qx.Proto._beforeAppear=function(){qx.ui.popup.PopupAtom.prototype._beforeAppear.call(this); this._stopShowTimer(); this._startHideTimer(); }; qx.Proto._afterAppear=function(){if(this.getRestrictToPageOnOpen()){var $0=qx.ui.core.ClientDocument.getInstance(); var $1=$0.getClientWidth(); var $2=$0.getClientHeight(); var $3=parseInt(qx.Settings.getValueOfClass($[135],$[437])); var $4=parseInt(qx.Settings.getValueOfClass($[135],$[543])); var $5=parseInt(qx.Settings.getValueOfClass($[135],$[512])); var $6=parseInt(qx.Settings.getValueOfClass($[135],$[458])); var $7=(this._wantedLeft==null)?this.getLeft():this._wantedLeft; var $8=this.getTop(); var $9=this.getBoxWidth(); var $a=this.getBoxHeight(); var $b=qx.event.type.MouseEvent.getPageX(); var $c=qx.event.type.MouseEvent.getPageY(); var $d=this.getLeft(); var $e=$8; if($7+$9>$1-$4){$7=$1-$4-$9; } if($8+$a>$2-$6){$8=$2-$6-$a; } if($7<$3){$7=$3; } if($8<$5){$8=$5; }if($7<=$b&&$b<=$7+$9&&$8<=$c&&$c<=$8+$a){var $f=$c-$8; var $g=$f-$a; var $h=$b-$7; var $i=$h-$9; var $j=Math.max(0,$5-($8+$g)); var $k=Math.max(0,$8+$a+$f-($2-$6)); var $l=Math.max(0,$3-($7+$i)); var $m=Math.max(0,$7+$9+$h-($1-$4)); var $n=[[0,$g,$j],[0,$f,$k],[$i,0,$l],[$h,0,$m]]; $n.sort(function($o,$p){return $o[2]-$p[2]||(Math.abs($o[0])+Math.abs($o[1]))-(Math.abs($p[0])+Math.abs($p[1])); }); var $o=$n[0]; $7=$7+$o[0]; $8=$8+$o[1]; } if($7!=$d||$8!=$e){var $p=this; window.setTimeout(function(){$p.setLeft($7); $p.setTop($8); },0); }}}; qx.Proto._beforeDisappear=function(){qx.ui.popup.PopupAtom.prototype._beforeDisappear.call(this); this._stopHideTimer(); }; qx.Proto._startShowTimer=function(){if(!this._showTimer.getEnabled()){this._showTimer.start(); }}; qx.Proto._startHideTimer=function(){if(!this._hideTimer.getEnabled()){this._hideTimer.start(); }}; qx.Proto._stopShowTimer=function(){if(this._showTimer.getEnabled()){this._showTimer.stop(); }}; qx.Proto._stopHideTimer=function(){if(this._hideTimer.getEnabled()){this._hideTimer.stop(); }}; qx.Proto._onmouseover=function($0){if(this.getHideOnHover()){this.hide(); }}; qx.Proto._onshowtimer=function($0){this.setLeft(qx.event.type.MouseEvent.getPageX()+this.getMousePointerOffsetX()); this.setTop(qx.event.type.MouseEvent.getPageY()+this.getMousePointerOffsetY()); this.show(); qx.ui.core.Widget.flushGlobalQueues(); return true; }; qx.Proto._onhidetimer=function($0){return this.hide(); }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this.removeEventListener($[33],this._onmouseover); this.removeEventListener($[45],this._onmouseover); if(this._showTimer){this._showTimer.removeEventListener($[52],this._onshowtimer,this); this._showTimer.dispose(); this._showTimer=null; } if(this._hideTimer){this._hideTimer.removeEventListener($[52],this._onhidetimer,this); this._hideTimer.dispose(); this._hideTimer=null; }return qx.ui.popup.PopupAtom.prototype.dispose.call(this); }; /* ID: qx.manager.object.ToolTipManager */ qx.OO.defineClass($[153],qx.manager.object.ObjectManager,function(){qx.manager.object.ObjectManager.call(this); }); qx.OO.addProperty({name:$[1470],type:$[4],instance:$[351]}); qx.Proto._modifyCurrentToolTip=function($0,$1,$2){if($1&&$1.contains($0)){return; }if($1){$1.hide(); $1._stopShowTimer(); $1._stopHideTimer(); }if($0){$0._startShowTimer(); }return true; }; qx.Proto.handleMouseOver=function($0){var $1=$0.getTarget(); var $2; if(!($1 instanceof qx.ui.core.Widget)&&$1.nodeType==1){$1=qx.event.handler.EventHandler.getTargetObject($1); }while($1!=null&&!($2=$1.getToolTip())){$1=$1.getParent(); }if($2!=null){$2.setBoundToWidget($1); }this.setCurrentToolTip($2); }; qx.Proto.handleMouseOut=function($0){var $1=$0.getTarget(); var $2=$0.getRelatedTarget(); var $3=this.getCurrentToolTip(); if($3&&($2==$3||$3.contains($2))){return; }if($2&&$1&&$1.contains($2)){return; }if($3&&!$2){this.setCurrentToolTip(null); }}; qx.Proto.handleFocus=function($0){var $1=$0.getTarget(); var $2=$1.getToolTip(); if($2!=null){$2.setBoundToWidget($1); this.setCurrentToolTip($2); }}; qx.Proto.handleBlur=function($0){var $1=$0.getTarget(); if(!$1){return; }var $2=this.getCurrentToolTip(); if($2&&$2==$1.getToolTip()){this.setCurrentToolTip(null); }}; qx.Clazz.getInstance=qx.lang.Function.returnInstance; /* ID: qx.ui.table.HeaderCellRenderer */ qx.OO.defineClass($[2285],qx.core.Object,function(){qx.core.Object.call(this); }); qx.Proto.createHeaderCell=function($0){throw new Error("createHeaderCell is abstract"); }; qx.Proto.updateHeaderCell=function($0,$1){throw new Error("updateHeaderCell is abstract"); }; qx.OO.addProperty({name:$[2662],type:$[2],defaultValue:16,allowNull:false}); /* ID: qx.ui.table.DefaultHeaderCellRenderer */ qx.OO.defineClass($[2145],qx.ui.table.HeaderCellRenderer,function(){qx.ui.table.HeaderCellRenderer.call(this); }); qx.Proto.createHeaderCell=function($0){var $1=new qx.ui.basic.Atom(); $1.setAppearance($[2627]); this.updateHeaderCell($0,$1); return $1; }; qx.Proto.updateHeaderCell=function($0,$1){var $2=qx.ui.table.DefaultHeaderCellRenderer; $1.setLabel($0.name); $1.setIcon($0.sorted?($0.sortedAscending?$[2231]:$[2714]):null); $1.setState($2.STATE_SORTED,$0.sorted); $1.setState($2.STATE_SORTED_ASCENDING,$0.sortedAscending); }; qx.Clazz.STATE_SORTED="sorted"; qx.Clazz.STATE_SORTED_ASCENDING="sortedAscending"; /* ID: qx.ui.table.DataCellRenderer */ qx.OO.defineClass($[1531],qx.core.Object,function(){qx.core.Object.call(this); }); qx.Proto.createDataCellHtml=function($0){throw new Error("createDataCellHtml is abstract"); }; qx.Proto.updateDataCellElement=function($0,$1){throw new Error("updateDataCellElement is abstract"); }; qx.Proto.createDataCellHtml_array_join=function($0,$1){throw new Error("createDataCellHtml_array_join is abstract"); }; /* ID: qx.ui.table.AbstractDataCellRenderer */ qx.OO.defineClass($[1899],qx.ui.table.DataCellRenderer,function(){qx.ui.table.DataCellRenderer.call(this); }); qx.Proto.createDataCellHtml=function($0){var $1=qx.ui.table.AbstractDataCellRenderer; return $1.MAIN_DIV_START+this._getCellStyle($0)+$1.MAIN_DIV_START_END+this._getContentHtml($0)+$1.MAIN_DIV_END; }; qx.Proto.updateDataCellElement=function($0,$1){$1.innerHTML=this._getContentHtml($0); }; qx.Proto._getCellStyle=function($0){return $0.style+qx.ui.table.AbstractDataCellRenderer.MAIN_DIV_STYLE; }; qx.Proto._getContentHtml=function($0){return $0.value; }; qx.Proto.createDataCellHtml_array_join=function($0,$1){var $2=qx.ui.table.AbstractDataCellRenderer; if(qx.ui.table.TablePane.USE_TABLE){$1.push($2.TABLE_TD); $1.push($0.styleHeight); $1.push($[28]); }else{$1.push($2.ARRAY_JOIN_MAIN_DIV_LEFT); $1.push($0.styleLeft); $1.push($2.ARRAY_JOIN_MAIN_DIV_WIDTH); $1.push($0.styleWidth); $1.push($2.ARRAY_JOIN_MAIN_DIV_HEIGHT); $1.push($0.styleHeight); $1.push($[28]); }this._createCellStyle_array_join($0,$1); $1.push($2.ARRAY_JOIN_MAIN_DIV_START_END); this._createContentHtml_array_join($0,$1); if(qx.ui.table.TablePane.USE_TABLE){$1.push($2.TABLE_TD_END); }else{$1.push($2.ARRAY_JOIN_MAIN_DIV_END); }}; qx.Proto._createCellStyle_array_join=function($0,$1){$1.push(qx.ui.table.AbstractDataCellRenderer.MAIN_DIV_STYLE); }; qx.Proto._createContentHtml_array_join=function($0,$1){$1.push($0.value); }; qx.Clazz.MAIN_DIV_START='
    '; qx.Clazz.MAIN_DIV_END='
    '; qx.Clazz.MAIN_DIV_STYLE=';overflow:hidden;white-space:nowrap;border-right:1px solid #eeeeee;border-bottom:1px solid #eeeeee;padding-left:2px;padding-right:2px;cursor:default'+(qx.core.Client.getInstance().isMshtml()?'':';-moz-user-select:none;'); qx.Clazz.ARRAY_JOIN_MAIN_DIV_LEFT='
    '; qx.Clazz.ARRAY_JOIN_MAIN_DIV_END='
    '; qx.Clazz.TABLE_TD='
    =$0;$5--){$1.removeChild($2[$5]); }}}; qx.Proto.dispose=function(){if(this.getDisposed()){return true; }this._cleanUpRows(0); this._paneScroller=null; return qx.ui.basic.Terminator.prototype.dispose.call(this); }; qx.Clazz.USE_ARRAY_JOIN=false; qx.Clazz.USE_TABLE=false; qx.Clazz.CONTENT_ROW_FONT_FAMILY_TEST="'Segoe UI', Corbel, Calibri, Tahoma, 'Lucida Sans Unicode', sans-serif"; qx.Clazz.CONTENT_ROW_FONT_SIZE_TEST="11px"; /* ID: qx.util.format.Format */ qx.OO.defineClass($[1248],qx.core.Object,function(){qx.core.Object.call(this); }); qx.Proto.format=function($0){throw new Error("format is abstract"); }; qx.Proto.parse=function($0){throw new Error("parse is abstract"); }; /* ID: qx.locale.Number */ qx.OO.defineClass($[1420]); qx.Clazz.getDecimalSeparator=function($0){return new qx.locale.LocalizedString($[2682],[],$0); }; qx.Clazz.getGroupSeparator=function($0){return new qx.locale.LocalizedString($[1227],[],$0); }; qx.Clazz.getPercentFormat=function($0){return new qx.locale.LocalizedString($[1746],[],$0); }; /* ID: qx.util.format.NumberFormat */ qx.OO.defineClass($[1253],qx.util.format.Format,function($0){qx.util.format.Format.call(this); this._locale=$0; }); qx.OO.addProperty({name:$[2957],type:$[2],defaultValue:0,allowNull:false}); qx.OO.addProperty({name:$[1256],type:$[2],defaultValue:null}); qx.OO.addProperty({name:$[1685],type:$[2],defaultValue:0,allowNull:false}); qx.OO.addProperty({name:$[1618],type:$[2],defaultValue:null}); qx.OO.addProperty({name:$[2852],type:$[3],defaultValue:true,allowNull:false}); qx.OO.addProperty({name:$[1518],type:$[0],defaultValue:$[1],allowNull:false}); qx.OO.addProperty({name:$[1031],type:$[0],defaultValue:$[1],allowNull:false}); qx.Proto.format=function($0){var $1=qx.util.format.NumberFormat; var $2=($0<0); if($2){$0=-$0; } if(this.getMaximumFractionDigits()!=null){var $3=Math.pow(10,this.getMaximumFractionDigits()); $0=Math.round($0*$3)/$3; }var $4=String(Math.floor($0)).length; var $5=$[1]+$0; var $6=$5.substring(0,$4); while($6.lengththis.getMaximumIntegerDigits()){$6=$6.substring($6.length-this.getMaximumIntegerDigits()); }var $7=$5.substring($4+1); while($7.lengththis.getMaximumFractionDigits()){$7=$7.substring(0,this.getMaximumFractionDigits()); }if(this.getGroupingUsed()){var $8=$6; $6=$[1]; var $9; for($9=$8.length;$9>3;$9-=3){$6=$[1]+qx.locale.Number.getGroupSeparator(this._locale)+$8.substring($9-3,$9)+$6; }$6=$8.substring(0,$9)+$6; }var $a=this.getPrefix()?this.getPrefix():$[1]; var $b=this.getPostfix()?this.getPostfix():$[1]; var $c=$a+($2?$[60]:$[1])+$6; if($7.length>0){$c+=$[1]+qx.locale.Number.getDecimalSeparator(this._locale)+$7; }$c+=$b; return $c; }; qx.Proto.parse=function($0){var $1=qx.util.format.NumberFormat; var $2=qx.lang.String.escapeRegexpChars(qx.locale.Number.getGroupSeparator(this._locale)+$[1]); var $3=qx.lang.String.escapeRegexpChars(qx.locale.Number.getDecimalSeparator(this._locale)+$[1]); var $4=new RegExp(qx.lang.String.escapeRegexpChars(this.getPrefix())+$[2281]+$2+$[1091]+$[878]+$3+$[2480]+qx.lang.String.escapeRegexpChars(this.getPostfix())); var $5=$4.exec($0); if($5==null){throw new Error("Number string '"+$0+"' does not match the number format"); }var $6=($5[1]==$[60]); var $7=$5[2]; var $8=$5[3]; $7=$7.replace(new RegExp($2),$[1]); var $9=($6?$[60]:$[1])+$7; if($8!=null&&$8.length!=0){$8=$8.replace(new RegExp($3),$[1]); $9+=$[50]+$8; }return parseFloat($9); }; qx.Clazz.getInstance=qx.lang.Function.returnInstance; qx.Clazz.getIntegerInstance=function(){var $0=qx.util.format.NumberFormat; if($0._integerInstance==null){$0._integerInstance=new $0(); $0._integerInstance.setMaximumFractionDigits(0); }return $0._integerInstance; }; /* ID: qx.ui.table.DefaultDataCellRenderer */ qx.OO.defineClass($[1382],qx.ui.table.AbstractDataCellRenderer,function(){qx.ui.table.AbstractDataCellRenderer.call(this); }); qx.OO.addProperty({name:$[2962],type:$[3],defaultValue:true,allowNull:false}); qx.Proto._getCellStyle=function($0){var $1=qx.ui.table.AbstractDataCellRenderer.prototype._getCellStyle($0); var $2=this._getStyleFlags($0); if($2&qx.ui.table.DefaultDataCellRenderer.STYLEFLAG_ALIGN_RIGHT){$1+=$[806]; } if($2&qx.ui.table.DefaultDataCellRenderer.STYLEFLAG_BOLD){$1+=$[701]; } if($2&qx.ui.table.DefaultDataCellRenderer.STYLEFLAG_ITALIC){$1+=$[917]; }return $1; }; qx.Proto._getStyleFlags=function($0){if(this.getUseAutoAlign()){if(typeof $0.value==$[2]){return qx.ui.table.DefaultDataCellRenderer.STYLEFLAG_ALIGN_RIGHT; }}}; qx.Proto._getContentHtml=function($0){return qx.html.String.escape(this._formatValue($0)); }; qx.Proto.updateDataCellElement=function($0,$1){var $2=qx.ui.table.DefaultDataCellRenderer; var $3=$1.style; var $4=this._getStyleFlags($0); if($4&$2.STYLEFLAG_ALIGN_RIGHT){$3.textAlign=$[12]; }else{$3.textAlign=$[1]; } if($4&$2.STYLEFLAG_BOLD){$3.fontWeight=$[316]; }else{$3.fontWeight=$[1]; } if($4&$2.STYLEFLAG_ITALIC){$3.fontStyle=$[1630]; }else{$3.fontStyle=$[1]; }var $5=$1.firstChild; if($5!=null){$5.nodeValue=this._formatValue($0); }else{$1.innerHTML=qx.html.String.escape(this._formatValue($0)); }}; qx.Proto._formatValue=function($0){var $1=$0.value; if($1==null){return $[1]; }else if(typeof $1==$[2]){return qx.ui.table.DefaultDataCellRenderer._numberFormat.format($1); }else if($1 instanceof Date){return qx.util.format.DateFormat.getDateInstance().format($1); }else{return $1; }}; qx.Proto._createCellStyle_array_join=function($0,$1){qx.ui.table.AbstractDataCellRenderer.prototype._createCellStyle_array_join($0,$1); var $2=this._getStyleFlags($0); if($2&qx.ui.table.DefaultDataCellRenderer.STYLEFLAG_ALIGN_RIGHT){$1.push($[806]); } if($2&qx.ui.table.DefaultDataCellRenderer.STYLEFLAG_BOLD){$1.push($[701]); } if($2&qx.ui.table.DefaultDataCellRenderer.STYLEFLAG_ITALIC){$1.push($[917]); }}; qx.Proto._createContentHtml_array_join=function($0,$1){$1.push(qx.html.String.escape(this._formatValue($0))); }; qx.Clazz._numberFormat=new qx.util.format.NumberFormat(); qx.Clazz._numberFormat.setMaximumFractionDigits(2); qx.Clazz.STYLEFLAG_ALIGN_RIGHT=1; qx.Clazz.STYLEFLAG_BOLD=2; qx.Clazz.STYLEFLAG_ITALIC=4; /* ID: qx.locale.Date */ qx.OO.defineClass($[2088]); qx.Clazz.getAmMarker=function($0){return new qx.locale.LocalizedString($[1289],[],$0); }; qx.Clazz.getPmMarker=function($0){return new qx.locale.LocalizedString($[2656],[],$0); }; qx.Clazz.getDayNames=function($0,$1){if($0!=$[207]&&$0!=$[255]&&$0!=$[205]){throw new Error('format must be one of "abbreviated", "narrow", "wide"'); }var $2=[$[549],$[683],$[926],$[839],$[897],$[719],$[749]]; var $3=[]; for(var $4=0;$4<$2.length;$4++){var $5=$[591]+$0+$[110]+$2[$4]; $3.push(new qx.locale.LocalizedString($5,[],$1)); }return $3; }; qx.Clazz.getDayName=function($0,$1,$2){if($0!=$[207]&&$0!=$[255]&&$0!=$[205]){throw new Error('format must be one of "abbreviated", "narrow", "wide"'); }var $3=[$[549],$[683],$[926],$[839],$[897],$[719],$[749]]; var $4=$[591]+$0+$[110]+$3[$1]; return new qx.locale.LocalizedString($4,[],$2); }; qx.Clazz.getMonthNames=function($0,$1){if($0!=$[207]&&$0!=$[255]&&$0!=$[205]){throw new Error('format must be one of "abbreviated", "narrow", "wide"'); }var $2=[]; for(var $3=0;$3<12;$3++){var $4=$[644]+$0+$[110]+($3+1); $2.push(new qx.locale.LocalizedString($4,[],$1)); }return $2; }; qx.Clazz.getMonthName=function($0,$1,$2){if($0!=$[207]&&$0!=$[255]&&$0!=$[205]){throw new Error('format must be one of "abbreviated", "narrow", "wide"'); }var $3=$[644]+$0+$[110]+($1+1); return new qx.locale.LocalizedString($3,[],$2); }; qx.Clazz.getDateFormat=function($0,$1){if($0!=$[136]&&$0!=$[289]&&$0!=$[272]&&$0!=$[357]){throw new Error('format must be one of "short", "medium", "long", "full"'); }var $2=$[2469]+$0; return new qx.locale.LocalizedString($2,[],$1); }; qx.Clazz.getDateTimeFormat=function($0,$1,$2){var $3=$[2521]+$0; var $4=qx.locale.Manager.getInstance().translate($3,[],$2); if($4==$3){$4=$1; }return $4; }; qx.Clazz.getTimeFormat=function($0,$1){if($0!=$[136]&&$0!=$[289]&&$0!=$[272]&&$0!=$[357]){throw new Error('format must be one of "short", "medium", "long", "full"'); } switch($0){case $[136]:case $[289]:return qx.locale.Date.getDateTimeFormat($[2555],$[195]); case $[272]:return qx.locale.Date.getDateTimeFormat($[428],$[137]); case $[357]:return qx.locale.Date.getDateTimeFormat($[2228],$[2335]); default:throw new Error("This case should never happen."); }}; qx.Clazz.getWeekStart=function($0){var $1={"MV":5,"AE":6,"AF":6,"BH":6,"DJ":6,"DZ":6,"EG":6,"ER":6,"ET":6,"IQ":6,"IR":6,"JO":6,"KE":6,"KW":6,"LB":6,"LY":6,"MA":6,"OM":6,"QA":6,"SA":6,"SD":6,"SO":6,"TN":6,"YE":6,"AS":0,"AU":0,"AZ":0,"BW":0,"CA":0,"CN":0,"FO":0,"GE":0,"GL":0,"GU":0,"HK":0,"IE":0,"IL":0,"IS":0,"JM":0,"JP":0,"KG":0,"KR":0,"LA":0,"MH":0,"MN":0,"MO":0,"MP":0,"MT":0,"NZ":0,"PH":0,"PK":0,"SG":0,"TH":0,"TT":0,"TW":0,"UM":0,"US":0,"UZ":0,"VI":0,"ZA":0,"ZW":0,"ET":0,"MW":0,"NG":0,"TJ":0}; var $2=qx.locale.Date._getTerritory($0); return $1[$2]!=null?$1[$2]:1; }; qx.Clazz.getWeekendStart=function($0){var $1={"EG":5,"IL":5,"SY":5,"IN":0,"AE":4,"BH":4,"DZ":4,"IQ":4,"JO":4,"KW":4,"LB":4,"LY":4,"MA":4,"OM":4,"QA":4,"SA":4,"SD":4,"TN":4,"YE":4}; var $2=qx.locale.Date._getTerritory($0); return $1[$2]!=null?$1[$2]:6; }; qx.Clazz.getWeekendEnd=function($0){var $1={"AE":5,"BH":5,"DZ":5,"IQ":5,"JO":5,"KW":5,"LB":5,"LY":5,"MA":5,"OM":5,"QA":5,"SA":5,"SD":5,"TN":5,"YE":5,"AF":5,"IR":5,"EG":6,"IL":6,"SY":6}; var $2=qx.locale.Date._getTerritory($0); return $1[$2]!=null?$1[$2]:0; }; qx.Clazz.isWeekend=function($0,$1){var $2=qx.locale.Date.getWeekendStart($1); var $3=qx.locale.Date.getWeekendEnd($1); if($3>$2){return (($0>=$2)&&($0<=$3)); }else{return (($0>=$2)||($0<=$3)); }}; qx.Clazz._getTerritory=function($0){if($0){var $1=$0.split($[110])[1]||$0; }else{$1=qx.locale.Manager.getInstance().getTerritory()||qx.locale.Manager.getInstance().getLanguage(); }return $1.toUpperCase(); }; /* ID: qx.util.format.DateFormat */ qx.OO.defineClass($[1516],qx.util.format.Format,function($0,$1){qx.util.format.Format.call(this); if($0!=null){this._format=$0.toString(); }else{this._format=qx.locale.Date.getDateFormat($[272],$1)+$[48]+qx.locale.Date.getDateTimeFormat($[428],$[137],$1); }this._locale=$1; }); qx.Proto.dispose=function(){if(this.getDisposed()){return; }this._formatTree=null; qx.util.format.Format.prototype.dispose.call(this); }; qx.Proto._fillNumber=function($0,$1){var $2=$[1]+$0; while($2.length<$1){$2=$[15]+$2; }return $2; }; qx.Proto._getDayInYear=function($0){var $1=new Date($0.getTime()); var $2=$1.getDate(); while($1.getMonth()!=0){$1.setDate(-1); $2+=$1.getDate()+1; }return $2; }; qx.Proto._thursdayOfSameWeek=function($0){return new Date($0.getTime()+(3-(($0.getDay()+6)%7))*86400000); }; qx.Proto._getWeekInYear=function($0){var $1=this._thursdayOfSameWeek($0); var $2=$1.getFullYear(); var $3=this._thursdayOfSameWeek(new Date($2,0,4)); return Math.floor(1.5+($1.getTime()-$3.getTime())/86400000/7); }; qx.Proto.format=function($0){var $1=qx.util.format.DateFormat; var $2=this._locale; var $3=$0.getFullYear(); var $4=$0.getMonth(); var $5=$0.getDate(); var $6=$0.getDay(); var $7=$0.getHours(); var $8=$0.getMinutes(); var $9=$0.getSeconds(); var $a=$0.getMilliseconds(); var $b=$0.getTimezoneOffset()/60; this._initFormatTree(); var $c=$[1]; for(var $d=0;$d=$3.length){$5++; break; }var $7=$3.charAt($5+1); if($7==$[84]){$2+=$6; $5++; }else{$5++; $4=$[2325]; }}else{$2+=$6; $5++; }break; case $[302]:if($6==$0){$1++; $5++; }else{this._formatTree.push({type:$[302],character:$0,size:$1}); $0=null; $1=0; $4=$[53]; }break; default:if(($6>=$[835]&&$6<=$[697])||($6>=$[1300]&&$6<=$[804])){$0=$6; $4=$[302]; }else if($6==$[84]){if($5+1>=$3.length){$2+=$6; $5++; break; }var $7=$3.charAt($5+1); if($7==$[84]){$2+=$6; $5++; }$5++; $4=$[801]; }else{$4=$[53]; } if($4!=$[53]){if($2.length>0){this._formatTree.push({type:$[319],text:$2}); $2=$[1]; }}else{$2+=$6; $5++; }break; }}if($0!=null){this._formatTree.push({type:$[302],character:$0,size:$1}); }else if($2.length>0){this._formatTree.push({type:$[319],text:$2}); }}; qx.Proto._initParseFeed=function(){if(this._parseFeed!=null){return ; }var $0=qx.util.format.DateFormat; var $1=this._format; this._initParseRules(); this._initFormatTree(); var $2=[]; var $3=$[1917]; for(var $4=0;$4=this._resizeColumnData.length){throw new Error("Column number out of range"); }this._resizeColumnData[$0].setWidth($1); }; qx.Proto.setMinWidth=function($0,$1){if($0>=this._resizeColumnData.length){throw new Error("Column number out of range"); }this._resizeColumnData[$0].setMinWidth($1); }; qx.Proto.setMaxWidth=function($0,$1){if($0>=this._resizeColumnData.length){throw new Error("Column number out of range"); }this._resizeColumnData[$0].setMaxWidth($1); }; qx.Proto.set=function($0,$1){for(var $2 in $1){switch($2){case $[46]:this.setWidth($0,$1[$2]); break; case $[104]:this.setMinWidth($0,$1[$2]); break; case $[118]:this.setMaxWidth($0,$1[$2]); break; default:throw new Error("Unknown property: "+$2); }}}; qx.Proto.onAppear=function($0,$1){this._width=this._getAvailableWidth($0); this._computeColumnsFlexWidth($0,$1); }; qx.Proto.onTableWidthChanged=function($0,$1){this._computeColumnsFlexWidth($0,$1); }; qx.Proto.onVerticalScrollBarChanged=function($0,$1){this._computeColumnsFlexWidth($0,$1); }; qx.Proto.onColumnWidthChanged=function($0,$1){this._extendNextColumn($0,$1); }; qx.Proto.onVisibilityChanged=function($0,$1){this._extendLastColumn($0,$1); }; qx.Proto._setNumColumns=function($0){if($0<=this._resizeColumnData.length){this._resizeColumnData.splice($0); return; }for(var $1=this._resizeColumnData.length;$1<$0;$1++){this._resizeColumnData[$1]=this.getNewResizeBehaviorColumnData()(); this._resizeColumnData[$1]._columnNumber=$1; }}; qx.Proto._computeColumnsFlexWidth=function($0,$1){var $2=true; if($2){this.debug("computeColumnsFlexWidth"); }var $3=$0._visibleColumnArr; var $4=$3.length; var $5; var $6=[]; var $7=0; var $8; var $9=this._getAvailableWidth($0); var $a=$9.width; var $b=$9.extraWidth; for($8=0;$8<$4;$8++){$5=this._resizeColumnData[$3[$8]]; if($5._computedWidthTypeAuto){$5._computedWidthTypeAuto=false; $5._computedWidthTypeFlex=true; $5._computedWidthParsed=1; }if($5._computedWidthTypeFlex){$6.push($5); }else if($5._computedWidthTypePercent){$5._computedWidthPercentValue=Math.round($a*($5._computedWidthParsed/100)); $7+=$5._computedWidthPercentValue; }else{$7+=$5.getWidth(); }} if($2){this.debug("Width: "+$7+"/"+$a); this.debug("Flexible Count: "+$6.length); }var $c=$a-$7; var $d=$6.length; var $e=0; for($8=0;$8<$d;$8++){$e+=$6[$8]._computedWidthParsed; }var $f=$c/$e; bSomethingChanged=true; for($d=$6.length;bSomethingChanged&&$d>0;$d=$6.length){bSomethingChanged=false; for($8=$d-1;$8>=0;$8--){$5=$6[$8]; computedFlexibleWidth=$5._computedWidthFlexValue=$5._computedWidthParsed*$f; var $g=$5.getMinWidthValue(); var $h=$5.getMaxWidthValue(); if($g&&computedFlexibleWidth<$g){$5._computedWidthFlexValue=Math.round($g); $7+=$5._computedWidthFlexValue; qx.lang.Array.removeAt($6,$8); bSomethingChanged=true; $5=null; }else if($h&&computedFlexibleWidth>$h){$5._computedWidthFlexValue=Math.round($h); $7+=$5._computedWidthFlexValue; qx.lang.Array.removeAt($6,$8); bSomethingChanged=true; $5=null; }}}if($6.length>0){$e=0; for($8=0;$8<$d;$8++){$e+=$6[$8]._computedWidthParsed; }$c=$a-$7; $f=$c/$e; if($c<=0){for($8=0;$8<$d;$8++){$5=$6[$8]; computedFlexibleWidth=$5._computedWidthFlexValue=(qx.ui.table.DefaultResizeBehavior.MIN_WIDTH*$6[$8]._computedWidthParsed); $5._computedWidthFlexValue=Math.round(computedFlexibleWidth); $7+=$5._computedWidthFlexValue; }}else{for($8=0;$8<$d;$8++){$5=$6[$8]; computedFlexibleWidth=$5._computedWidthFlexValue=$5._computedWidthParsed*$f; if(computedFlexibleWidth0){$5._computedWidthFlexValue+=$a-$7; }for($8=0;$8<$4;$8++){var $i; $5=this._resizeColumnData[$3[$8]]; if($5._computedWidthTypeFlex){$i=$5._computedWidthFlexValue; }else if($5._computedWidthTypePercent){$i=$5._computedWidthPercentValue; }else{$i=$5.getWidth(); }if($8==$4-1){$i+=$b; }$0.setColumnWidth($3[$8],$i); if($2){this.debug("col "+$5._columnNumber+": width="+$i); }}}; qx.Proto._extendNextColumn=function($0,$1){var $2=$1.getData(); var $3=$0._visibleColumnArr; var $4=this._getAvailableWidth($0); var $5=$4.width; var $6=$4.extraWidth; var $7=$3.length; if($2.newWidth>$2.oldWidth){return ; }var $8; var $9; var $a=0; for($8=0;$8<$7;$8++){$a+=$0.getColumnWidth($3[$8]); }if($a<$5){for($8=0;$8<$3.length;$8++){if($3[$8]==$2.col){$9=$3[$8+1]; break; }} if($9){var $b=$0.getColumnWidth($9); var $c=($5-($a-$0.getColumnWidth($9))); $0.setColumnWidth($9,$c); }}}; qx.Proto._extendLastColumn=function($0,$1){var $2=$1.getData(); if($2.visible){return; }var $3=$0._visibleColumnArr; var $4=this._getAvailableWidth($0); var $5=$4.width; var $6=$4.extraWidth; var $7=$3.length; var $8; var $9; var $a=0; for($8=0;$8<$7;$8++){$a+=$0.getColumnWidth($3[$8]); }if($a<$5){$9=$3[$3.length-1]; var $b=$0.getColumnWidth($9); var $c=($5-($a-$0.getColumnWidth($9))); $0.setColumnWidth($9,$c); }}; qx.Clazz.MIN_WIDTH=10; /* ID: qx.ui.table.ResizeBehaviorColumnData */ qx.OO.defineClass($[2495],qx.ui.core.Widget,function(){qx.ui.core.Widget.call(this); this.setWidth($[44]); }); /* ID: qx.ui.table.ResizeTableColumnModel */ qx.OO.defineClass($[1940],qx.ui.table.TableColumnModel,function(){qx.ui.table.TableColumnModel.call(this); this._bInProgress=false; this._bAppeared=false; }); qx.Proto.dispose=function(){if(this.getDisposed()){return; }this._columnDataArr=this._overallColumnArr=this._visibleColumnArr=this._colToXPosMap=this._table=null; qx.ui.table.TableColumnModel.prototype.dispose.call(this); }; qx.OO.addProperty({name:$[1707],type:$[4],defaultValue:new qx.ui.table.DefaultResizeBehavior()}); qx.Proto._modifyBehavior=function($0,$1,$2){this.getBehavior()._setNumColumns(this._columnDataArr.length); return true; }; qx.Proto.init=function($0,$1){qx.ui.table.TableColumnModel.prototype.init.call(this,$0); this._table=$1; $1.addEventListener($[70],this._onappear,this); $1.addEventListener($[803],this._ontablewidthchanged,this); $1.addEventListener($[811],this._onverticalscrollbarchanged,this); this.addEventListener($[212],this._oncolumnwidthchanged,this); this.addEventListener($[202],this._onvisibilitychanged,this); this._table.addEventListener($[377],this._addResetColumnWidthButton,this); this.getBehavior()._setNumColumns($0); }; qx.Proto._addResetColumnWidthButton=function($0){var $1=$0.getData(); var $2=$1.menu; var $3; var $4=qx.manager.object.AliasManager; var $5=$4.getInstance().resolvePath($[2094]); $3=new qx.ui.menu.Separator(); $2.add($3); $3=new qx.ui.menu.Button($[2747],$5); $2.add($3); $3.addEventListener($[11],this._onappear,this); }; qx.Proto._onappear=function($0){if(this._bInProgress){return ; }this._bInProgress=true; this.debug("onappear"); this.getBehavior().onAppear(this,$0); var $1=this; window.setTimeout(function(){if(!$1._table.getDisposed()){$1._table._updateScrollerWidths(); $1._table._updateScrollBarVisibility(); }},0); this._bInProgress=false; this._bAppeared=true; }; qx.Proto._ontablewidthchanged=function($0){if(this._bInProgress||!this._bAppeared){return ; }this._bInProgress=true; this.debug("ontablewidthchanged"); this.getBehavior().onTableWidthChanged(this,$0); this._bInProgress=false; }; qx.Proto._onverticalscrollbarchanged=function($0){if(this._bInProgress||!this._bAppeared){return ; }this._bInProgress=true; this.debug("onverticalscrollbarchanged"); this.getBehavior().onVerticalScrollBarChanged(this,$0); var $1=this; window.setTimeout(function(){if(!$1._table.getDisposed()){$1._table._updateScrollerWidths(); $1._table._updateScrollBarVisibility(); }},0); this._bInProgress=false; }; qx.Proto._oncolumnwidthchanged=function($0){if(this._bInProgress||!this._bAppeared){return ; }this._bInProgress=true; this.debug("oncolumnwidthchanged"); this.getBehavior().onColumnWidthChanged(this,$0); this._bInProgress=false; }; qx.Proto._onvisibilitychanged=function($0){if(this._bInProgress||!this._bAppeared){return ; }this._bInProgress=true; this.debug("onvisibilitychanged"); this.getBehavior().onVisibilityChanged(this,$0); this._bInProgress=false; }; /* ID: elite.ui.desktop.Window */ qx.OO.defineClass($[2120],qx.ui.window.Window,function($0,$1,$2,$3){qx.ui.window.Window.call(this,$0,$1,$3); if(!$2){$2=null; }this.setTaskBar($2); }); qx.OO.addProperty({name:$[965],type:$[4],instance:$[359],defaultValue:null}); qx.OO.addProperty({name:$[1088],type:$[23]}); qx.Proto._modifyStatus=function($0,$1,$2){qx.ui.window.Window.prototype._modifyStatus.call(this,$0,$1,$2); return true; }; qx.Proto.focus=function(){qx.ui.window.Window.prototype.focus.call(this); var $0=this.getTaskBar(); if($0){$0.getWindowButton(this.toHashCode()).setChecked(true); }}; qx.Proto.blur=function(){qx.ui.window.Window.prototype.blur.call(this); var $0=this.getTaskBar(); if($0){$0.getWindowButton(this.toHashCode()).setChecked(false); }}; qx.Proto.open=function($0){qx.ui.window.Window.prototype.open.call(this,$0); var $1=this.getTaskBar(); if($1){$1.addNewWindowButton(this).setChecked(true); }}; qx.Proto.close=function(){qx.ui.window.Window.prototype.close.call(this); var $0=this.getTaskBar(); if($0){$0.removeWindowButtonByWindowHash(this.toHashCode()); }var $1=this.getOnCloseClickedEvent(); if($1){$1(); }}; qx.Proto.cleanFields=function(){thisOne=this._pane; thisOne.forEachChild(function(){if(this instanceof qx.ui.form.TextField){this.setValue($[1]); }else if(this instanceof qx.ui.form.ComboBox){this.setValue($[1]); this.setSelected(null); }else if(this instanceof qx.ui.form.List){this.removeAll(); }else if(this instanceof qx.ui.form.CheckBox){this.setChecked(false); }}); }; /* ID: qx.theme.icon.VistaInspirate */ qx.OO.defineClass($[2689],qx.renderer.theme.IconTheme,function(){qx.renderer.theme.IconTheme.call(this,$[1585]); }); qx.Settings.setDefault($[185],qx.Settings.getValueOfClass($[191],$[188])+$[2008]); qx.Clazz.getInstance=qx.lang.Function.returnInstance; qx.manager.object.ImageManager.getInstance().registerIconTheme(qx.Clazz); /* ID: elite.ui.form.ComboBox */ qx.OO.defineClass($[1109],qx.ui.form.ComboBox,function(){qx.ui.form.ComboBox.call(this); this.removeEventListener($[13],this._onkeydown); this.addEventListener($[13],this._eliteonkeydown); this.setEditable(true); }); qx.OO.addProperty({name:$[509],type:$[23]}); qx.Proto._eliteonkeydown=function($0){var $1=this._manager; var $2=this._popup.isSeeable(); switch($0.getKeyIdentifier()){case $[34]:this._list.removeAll(); this._manager.getSelectedItem(null); var $3=this.getSearchFunction(); $3(); return; case $[88]:if($2){$1.setLeadItem(this._oldSelected); $1.setAnchorItem(this._oldSelected); $1.setSelectedItem(this._oldSelected); this._field.setValue(this._oldSelected?this._oldSelected.getLabel():$[1]); this._closePopup(); this.setFocused(true); }return; case $[76]:if($0.isAltPressed()){this._togglePopup(); return; }break; }}; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this.removeEventListener($[13],this._eliteonkeydown); return qx.ui.form.ComboBox.prototype.dispose.call(this); }; /* ID: qx.ui.table.DataRowRenderer */ qx.OO.defineClass($[825],qx.core.Object,function(){qx.core.Object.call(this); }); qx.Proto.updateDataRowElement=function($0,$1){throw new Error("updateDataRowElement is abstract"); }; /* ID: elite.ui.io.UploadField */ qx.OO.defineClass($[2298],qx.ui.layout.CanvasLayout,function($0,$1,$2,$3,$4){qx.ui.layout.CanvasLayout.call(this); this.set({height:$[5],height:null}); this._text=new qx.ui.form.TextField(); this._text.set({visibility:false,readOnly:true,left:0,marginTop:3}); this.add(this._text); this._button=new elite.ui.io.UploadButton($0,$1,$2,$3,$4); this._button.setRight(0); this.add(this._button); if($0){this.setFname($0); }this._value=$[108]; this._button.addEventListener($[203],function($5){var $6=$5.getData(); this._text.setValue($6); this.setValue($6); },this); this.addEventListener($[70],function($5){this._text.setRight(this._button.getWidthValue()+4); setTimeout(function(){qx.ui.core.Widget.flushGlobalQueues(); },1); }); }); qx.OO.addProperty({name:$[939],type:$[0]}); qx.OO.addProperty({name:$[198],type:$[0]}); qx.OO.addProperty({name:$[72],type:$[0]}); qx.OO.addProperty({name:$[85],type:$[0],defaultValue:$[1]}); qx.Proto._modifyValue=function($0,$1,$2){this._button.setValue($0); this._text.setValue($0); return ($0==this._button.getValue())?true:false; }; qx.Proto._modifyFname=function($0,$1,$2){this._button.setName($0); this.setFname($0); return true; }; qx.Proto._modifyText=function($0,$1,$2){this._button.setLabel($0); return true; }; qx.Proto._modifyIcon=function($0,$1,$2){this._button.setIcon($0); return true; }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this._button.dispose(); this._button=null; this._text.dispose(); this._text=null; qx.ui.layout.CanvasLayout.prototype.dispose.call(this); }; /* ID: elite.ui.io.UploadButton */ qx.OO.defineClass($[2149],qx.ui.layout.CanvasLayout,function($0,$1,$2,$3,$4,$5){qx.ui.layout.CanvasLayout.call(this); this.set({height:$[5],width:$[5],overflow:$[25]}); if($0){this.setName($0); }this._button=new qx.ui.form.Button($1,$2,$4,$5); this.add(this._button); this._value=$[108]; this.addEventListener($[33],this._onmouseover); this.addEventListener($[45],this._onmouseout); this.addEventListener($[6],this._onmousedown); this.addEventListener($[7],this._onmouseup); this.addEventListener($[70],this._createInputFileTag); }); qx.OO.addProperty({name:$[96],type:$[0],defaultValue:$[1]}); qx.OO.addProperty({name:$[85],type:$[0],defaultValue:$[1]}); qx.OO.addProperty({name:$[97],type:$[0],defaultValue:$[1]}); qx.OO.addProperty({name:$[72],type:$[0],defaultValue:$[1]}); qx.Proto._modifyValue=function($0,$1,$2){if(this._valueInputOnChange){delete this._valueInputOnChange; }else{if(!$0||$0==$[108]){if(qx.core.Client.getInstance().isMshtml()){this._createInputFileTag(); }else{this._input.value=$[108]; }}else{throw new error("Unable to set value to non null or non empty!"); }}return true; }; qx.Proto._modifyName=function($0,$1,$2){if(this._input){this._input.name=$0; }return true; }; qx.Proto._modifyLabel=function($0,$1,$2){this._button.setLabel($0); return true; }; qx.Proto._modifyIcon=function($0,$1,$2){this._button.setIcon($0); return true; }; qx.Proto._modifyElement=function($0,$1,$2){if($0){try{var $3=this.getElement(); this.setStyleProperty(qx.ui.core.Widget.TAB_PROPERTY_MOZUSERFOCUS,qx.ui.core.Widget.TAB_VALUE_IGNORE); this.setStyleProperty($[170],$[495]); this.setStyleProperty($[170],$[370]); this.setStyleProperty($[10],$[160]); }catch(ex){this.error("error: ",ex); }}qx.ui.form.Button.prototype._modifyElement.call(this,$0,$1,$2); return true; }; qx.Proto._onmouseover=function($0){this._button.addState($[49]); if(this._button.hasState($[39])){this._button.removeState($[39]); this._button.addState($[20]); }this._button.addState($[49]); }; qx.Proto._onmouseup=function($0){var $1=this._button.hasState($[20]); var $2=this._button.hasState($[39]); if($1){this._button.removeState($[20]); } if($2){this._button.removeState($[39]); } if(!$2){this._button.addState($[49]); }}; qx.Proto._onmousedown=function($0){this._button.removeState($[39]); this._button.addState($[20]); }; qx.Proto._onmouseout=function($0){this._button.removeState($[49]); if(this._button.hasState($[20])){this._button.setCapture(true); this._button.removeState($[20]); this._button.addState($[39]); }}; qx.Proto._createInputFileTag=function($0){if(this._input){this._input.name+=$[1878]; this._input.parentNode.removeChild(this._input); this._input=null; }var $1=this._input=document.createElement($[82]); $1.type=$[408]; $1.name=this.getName(); $1.style.position=$[100]; $1.style.left=$[1312]; $1.style.height=$[2878]; $1.style.fontSize=$[2528]; $1.style.clip=$[2390]+860+this._button.getWidthValue()+$[2326]; $1.style.zIndex=$[582]; $1.style.cursor=$[370]; $1.style.cursor=$[495]; $1.style.filter=$[2208]; $1.style.opacity=$[15]; $1.style.MozOutlinestyle=$[32]; $1.style.hidefocus=$[422]; var $2=this; $1.onchange=function($0){return $2._onchange($0); }; this.getElement().appendChild($1); }; qx.Proto._onchange=function($0){this._valueInputOnChange=true; this.setValue(this._input.value); }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this.removeEventListener($[33],this._onmouseover); this.removeEventListener($[45],this._onmouseout); this.removeEventListener($[6],this._onmousedown); this.removeEventListener($[7],this._onmouseup); this.removeEventListener($[70],this._createInputFileTag); if(this._input){this._input.parentNode.removeChild(this._input); this._input.onchange=null; this._input=null; }this._button.dispose(); this._button=null; qx.ui.layout.CanvasLayout.prototype.dispose.call(this); }; /* ID: qx.ui.treefullcontrol.AbstractTreeElement */ qx.OO.defineClass($[1387],qx.ui.layout.BoxLayout,function($0){if(this.classname==qx.ui.treefullcontrol.AbstractTreeElement.ABSTRACT_CLASS){throw new Error("Please omit the usage of qx.ui.treefullcontrol.AbstractTreeElement directly. Choose between qx.ui.treefullcontrol.TreeFolder, qx.ui.treefullcontrol.TreeFolderSimple, qx.ui.treefullcontrol.TreeFile and qx.ui.treefullcontrol.TreeFileSimple instead!"); } if($0!==qx.ui.treefullcontrol.TreeRowStructure.getInstance()){throw new Error("A qx.ui.treefullcontrol.TreeRowStructure parameter is required."); }this._indentObject=$0._indentObject; this._iconObject=$0._iconObject; this._labelObject=$0._labelObject; this._indentObject.setAnonymous(true); this._iconObject.setAnonymous(true); this._labelObject.setAnonymous(true); this._labelObject.setSelectable(false); this._labelObject.setStyleProperty($[145],$[42]); qx.ui.layout.BoxLayout.call(this,$[26]); if(qx.util.Validation.isValid($0._label)){this.setLabel($0._label); }this.setSelectable(false); this.BASE_URI=qx.manager.object.AliasManager.getInstance().resolvePath("widget/tree/"); for(var $1=0;$1<$0._fields.length;$1++){this.add($0._fields[$1]); }if(($0._icons.unselected!=null)&&(qx.util.Validation.isValidString($0._icons.unselected))){this.setIcon($0._icons.unselected); this.setIconSelected($0._icons.unselected); } if(($0._icons.selected!=null)&&(qx.util.Validation.isValidString($0._icons.selected))){this.setIconSelected($0._icons.selected); }this._iconObject.setSource(this._evalCurrentIcon()); this._iconObject.setAppearance($[902]); this._labelObject.setAppearance($[305]); this.addEventListener($[6],this._onmousedown); this.addEventListener($[7],this._onmouseup); }); qx.ui.treefullcontrol.AbstractTreeElement.ABSTRACT_CLASS="qx.ui.treefullcontrol.AbstractTreeElement"; qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[358]}); qx.OO.addProperty({name:$[72],type:$[0]}); qx.OO.addProperty({name:$[299],type:$[0]}); qx.OO.addProperty({name:$[97]}); qx.OO.addProperty({name:$[30],type:$[3],defaultValue:false}); qx.Proto._modifyLabel=function($0,$1,$2){if(this._labelObject){this._labelObject.setHtml($0); }return true; }; qx.Proto._modifySelected=function($0,$1,$2){if($0){this.addState($[30]); this._labelObject.addState($[30]); }else{this.removeState($[30]); this._labelObject.removeState($[30]); }var $3=this.getTree(); if(!$3._fastUpdate||($1&&$3._oldItem==this)){this._iconObject.setSource(this._evalCurrentIcon()); if($0){this._iconObject.addState($[30]); }else{this._iconObject.removeState($[30]); }}var $4=this.getTree().getManager(); if($1&&$4.getSelectedItem()==this){$4.deselectAll(); }else if($0&&$4.getSelectedItem()!=this){$4.setSelectedItem(this); }return true; }; qx.Proto._evalCurrentIcon=function(){if(this.getSelected()&&this.getIconSelected()){return this.getIconSelected(); }else{return this.getIcon()||$[487]; }}; qx.Proto.getParentFolder=function(){try{return this.getParent().getParent(); }catch(ex){}return null; }; qx.Proto.getLevel=function(){var $0=this.getParentFolder(); return $0?$0.getLevel()+1:null; }; qx.Proto.getTree=function(){var $0=this.getParentFolder(); return $0?$0.getTree():null; }; qx.Proto.getIndentObject=function(){return this._indentObject; }; qx.Proto.getIconObject=function(){return this._iconObject; }; qx.Proto.getLabelObject=function(){return this._labelObject; }; qx.Proto.getHierarchy=function($0){if(this._labelObject){$0.unshift(this._labelObject.getHtml()); }var $1=this.getParentFolder(); if($1){$1.getHierarchy($0); }return $0; }; qx.Proto.addToTreeQueue=function(){var $0=this.getTree(); if($0){$0.addChildToTreeQueue(this); }}; qx.Proto.removeFromTreeQueue=function(){var $0=this.getTree(); if($0){$0.removeChildFromTreeQueue(this); }}; qx.Proto.addToCustomQueues=function($0){this.addToTreeQueue(); qx.ui.layout.BoxLayout.prototype.addToCustomQueues.call(this,$0); }; qx.Proto.removeFromCustomQueues=function($0){this.removeFromTreeQueue(); qx.ui.layout.BoxLayout.prototype.removeFromCustomQueues.call(this,$0); }; qx.Proto._modifyParent=function($0,$1,$2){qx.ui.layout.BoxLayout.prototype._modifyParent.call(this,$0,$1,$2); if($1&&!$1.isDisplayable()&&$1.getParent()&&$1.getParent().isDisplayable()){$1.getParent().addToTreeQueue(); }if($0&&!$0.isDisplayable()&&$0.getParent()&&$0.getParent().isDisplayable()){$0.getParent().addToTreeQueue(); }return true; }; qx.Proto._handleDisplayableCustom=function($0,$1,$2){qx.ui.layout.BoxLayout.prototype._handleDisplayableCustom.call(this,$0,$1,$2); if($2){var $3=this.getParentFolder(); var $4=this._previousParentFolder; if($4){if(this._wasLastVisibleChild){$4._updateIndent(); }else if(!$4.hasContent()){$4.addToTreeQueue(); }} if($3&&$3.isDisplayable()&&$3._initialLayoutDone){$3.addToTreeQueue(); } if(this.isLastVisibleChild()){var $5=this.getPreviousVisibleSibling(); if($5&&$5 instanceof qx.ui.treefullcontrol.AbstractTreeElement){$5._updateIndent(); }} if($0){this._updateIndent(); }}}; qx.Proto._onmousedown=function($0){this.getTree().getManager().handleMouseDown(this,$0); $0.stopPropagation(); }; qx.Proto._onmouseup=qx.lang.Function.returnTrue; qx.Proto.flushTree=function(){this._previousParentFolder=this.getParentFolder(); this._wasLastVisibleChild=this.isLastVisibleChild(); var $0=this.getLevel(); var $1=this.getTree(); var $2; var $3=[]; var $4=this; var $5=0; var $6=$0; if($1.getRootOpenClose()){$6=$0+1; }if($1.hideNode()){$5=1; } for(var $7=$5;$7<$6;$7++){$2=$4.getIndentSymbol($1.getUseTreeLines(),$7,$5,$6); if($2){$3.push($[642]); $3.push(($6-$7-1)*19); $3.push($[882]); $3.push(this.BASE_URI); $3.push($2); $3.push($[50]); $3.push($[524]); $3.push($[865]); }$4=$4.getParentFolder(); }this._indentObject.setHtml($3.join($[1])); this._indentObject.setWidth(($6-$5)*19); }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; } if(this._indentObject){this._indentObject.dispose(); this._indentObject=null; } if(this._iconObject){this._iconObject.dispose(); this._iconObject=null; } if(this._labelObject){this._labelObject.dispose(); this._labelObject=null; }this._previousParentFolder=null; this.removeEventListener($[6],this._onmousedown); this.removeEventListener($[7],this._onmouseup); return qx.ui.layout.BoxLayout.prototype.dispose.call(this); }; /* ID: qx.ui.treefullcontrol.TreeRowStructure */ qx.OO.defineClass($[1482],qx.core.Object,function(){qx.core.Object.call(this); }); qx.Proto.newRow=function(){this._indentObject=new qx.ui.embed.HtmlEmbed; this._iconObject=new qx.ui.basic.Image; this._labelObject=new qx.ui.basic.Label; this._fields=new Array; this._icons=new Object; this._fields.push(this._indentObject); this._indentAdded=false; this._iconAdded=false; this._labelAdded=false; return this; }; qx.Proto.standard=function($0,$1,$2){this.newRow(); this.addIcon($1,$2); this.addLabel($0); return this; }; qx.Proto.addIndent=function(){if(!this._indentAdded){this._fields.shift(); this._indentAdded=true; }else{throw new Error("Indent object added more than once."); }this._fields.push(this._indentObject); }; qx.Proto.addIcon=function($0,$1){if(!this._iconAdded){this._iconAdded=true; }else{throw new Error("Icon object added more than once."); }this._icons.unselected=$0; this._icons.selected=$1; this._fields.push(this._iconObject); }; qx.Proto.addLabel=function($0){if(!this._labelAdded){this._labelAdded=true; }else{throw new Error("Label added more than once."); }this._label=$0; this._fields.push(this._labelObject); }; qx.Proto.addObject=function($0,$1){if(typeof $1==$[3]){$0.setAnonymous($1); }this._fields.push($0); }; qx.Clazz.getInstance=qx.lang.Function.returnInstance; /* ID: qx.ui.treefullcontrol.TreeFolder */ qx.OO.defineClass($[1876],qx.ui.treefullcontrol.AbstractTreeElement,function($0){qx.ui.treefullcontrol.AbstractTreeElement.call(this,$0); this._treeRowStructureFields=$0._fields; this._iconObject.setAppearance($[307]); this._labelObject.setAppearance($[348]); this.addEventListener($[41],this._ondblclick); this.add=this.addToFolder; this.addBefore=this.addBeforeToFolder; this.addAfter=this.addAfterToFolder; this.addAt=this.addAtToFolder; this.addAtBegin=this.addAtBeginToFolder; this.addAtEnd=this.addAtEndToFolder; }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[224]}); qx.OO.changeProperty({name:$[72],type:$[0]}); qx.OO.changeProperty({name:$[299],type:$[0]}); qx.OO.addProperty({name:$[534],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[649],type:$[3],defaultValue:false}); qx.Proto.hasContent=function(){return (this._containerObject&&this._containerObject.getChildrenLength()>0); }; qx.Proto.open=function(){if(this.getOpen()){return; } if(this.hasContent()){if(this.getTree().hasEventListeners($[434])){this.getTree().dispatchEvent(new qx.event.type.DataEvent($[434],this),true); }this.getTopLevelWidget().setGlobalCursor($[585]); qx.client.Timer.once(this._openCallback,this,0); }else{if(this.getTree().hasEventListeners($[364])){this.getTree().dispatchEvent(new qx.event.type.DataEvent($[364],this),true); }this.setOpen(true); }}; qx.Proto.close=function(){if(this.getTree().hasEventListeners($[363])){this.getTree().dispatchEvent(new qx.event.type.DataEvent($[363],this),true); }this.setOpen(false); }; qx.Proto.toggle=function(){this.getOpen()?this.close():this.open(); }; qx.Proto._openCallback=function(){this.setOpen(true); qx.ui.core.Widget.flushGlobalQueues(); this.getTopLevelWidget().setGlobalCursor(null); }; qx.Proto._createChildrenStructure=function(){this.setAppearance(this instanceof qx.ui.treefullcontrol.Tree?$[700]:$[899]); if(!this._horizontalLayout){this.setOrientation($[27]); this._horizontalLayout=new qx.ui.layout.HorizontalBoxLayout; this._horizontalLayout.setWidth(null); this._horizontalLayout.setParent(this); this._horizontalLayout.setAnonymous(true); this._horizontalLayout.setAppearance(this instanceof qx.ui.treefullcontrol.Tree?$[818]:$[224]); for(var $0=0;$00){this._updateIndent(); }else{this._updateLastColumn(); } if(this._containerObject){this._containerObject.setDisplay($0); }return true; }; qx.Proto._modifyAlwaysShowPlusMinusSymbol=function($0,$1,$2){var $3=this.getTree(); if($3){if($3.getExcludeSpecificTreeLines().length>0){this._updateIndent(); }else{this._updateLastColumn(); }}return true; }; qx.Proto._updateLastColumn=function(){if(this._indentObject){var $0=this._indentObject.getElement(); if($0&&$0.firstChild){$0.firstChild.src=(this.BASE_URI+this.getIndentSymbol(this.getTree().getUseTreeLines(),0,0,0)+$[805]); }}}; qx.Proto._onmousedown=function($0){var $1=$0.getOriginalTarget(); switch($1){case this._indentObject:if(this._indentObject.getElement().firstChild==$0.getDomTarget()){this.getTree().getManager().handleMouseDown(this,$0); this.toggle(); }break; case this._containerObject:break; case this:if(this._containerObject){break; }default:this.getTree().getManager().handleMouseDown(this,$0); }$0.stopPropagation(); }; qx.Proto._onmouseup=function($0){var $1=$0.getOriginalTarget(); switch($1){case this._indentObject:case this._containerObject:case this:break; default:if(!this.getTree().getUseDoubleClick()){this.open(); }}}; qx.Proto._ondblclick=function($0){if(!this.getTree().getUseDoubleClick()){return; }this.toggle(); $0.stopPropagation(); }; qx.Proto.getIndentSymbol=function($0,$1,$2,$3){var $4=this.getLevel(); var $5=this.getTree().getExcludeSpecificTreeLines(); var $6=$5[$3-$1-1]; if($1==$2){if(this.hasContent()||this.getAlwaysShowPlusMinusSymbol()){if(!$0){return this.getOpen()?$[386]:$[431]; }if($4==1){var $7=this.getParentFolder(); if($7&&!$7._horizontalLayout.getVisibility()&&this.isFirstChild()){if(this.isLastChild()||$6===true){return this.getOpen()?$[395]:$[365]; }else{return this.getOpen()?$[1092]:$[2417]; }}} if($6===true){return this.getOpen()?$[395]:$[365]; }else if(this.isLastChild()){return this.getOpen()?$[734]:$[813]; }else{return this.getOpen()?$[886]:$[863]; }}else if($0&&!($6===true)){return this.isLastChild()?$[334]:$[312]; }}else{if($0&&!this.isLastChild()){if($6===true){return null; }return $[301]; }return null; }}; qx.Proto._updateIndent=function(){qx.ui.treefullcontrol.TreeFile.prototype._updateIndent.call(this); if(!this._containerObject){return; }var $0=this._containerObject.getVisibleChildren(); for(var $1=0,$2=$0.length;$1<$2;$1++){$0[$1]._updateIndent(); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this.removeEventListener($[41],this._ondblclick); if(this._horizontalLayout){this._horizontalLayout.dispose(); this._horizontalLayout=null; } if(this._containerObject){this._containerObject.dispose(); this._containerObject=null; }return qx.ui.treefullcontrol.AbstractTreeElement.prototype.dispose.call(this); }; /* ID: qx.ui.treefullcontrol.Tree */ qx.OO.defineClass($[2614],qx.ui.treefullcontrol.TreeFolder,function($0){qx.ui.treefullcontrol.TreeFolder.call(this,$0); this._manager=new qx.manager.selection.TreeFullControlSelectionManager(this); this._iconObject.setAppearance($[612]); this._labelObject.setAppearance($[933]); this.setOpen(true); this.addToFolder(); this.addEventListener($[13],this._onkeydown); this.addEventListener($[17],this._onkeypress); this.addEventListener($[90],this._onkeyup); }); qx.OO.addProperty({name:$[329],type:$[3],defaultValue:false,getAlias:$[329]}); qx.OO.addProperty({name:$[200],type:$[3],defaultValue:true,getAlias:$[200]}); qx.OO.addProperty({name:$[940],type:$[4],defaultValue:[]}); qx.OO.addProperty({name:$[927],type:$[3],defaultValue:false,getAlias:$[927]}); qx.OO.addProperty({name:$[2010],type:$[3],defaultValue:true}); qx.Proto.getManager=function(){return this._manager; }; qx.Proto.getSelectedElement=function(){return this.getManager().getSelectedItems()[0]; }; qx.Proto.addChildToTreeQueue=function($0){if(!$0._isInTreeQueue&&!$0._isDisplayable){this.debug("Ignoring invisible child: "+$0); } if(!$0._isInTreeQueue&&$0._isDisplayable){qx.ui.core.Widget.addToGlobalWidgetQueue(this); if(!this._treeQueue){this._treeQueue={}; }this._treeQueue[$0.toHashCode()]=$0; $0._isInTreeQueue=true; }}; qx.Proto.removeChildFromTreeQueue=function($0){if($0._isInTreeQueue){if(this._treeQueue){delete this._treeQueue[$0.toHashCode()]; }delete $0._isInTreeQueue; }}; qx.Proto.flushWidgetQueue=function(){this.flushTreeQueue(); }; qx.Proto.flushTreeQueue=function(){if(!qx.lang.Object.isEmpty(this._treeQueue)){for(var $0 in this._treeQueue){this._treeQueue[$0].flushTree(); delete this._treeQueue[$0]._isInTreeQueue; }delete this._treeQueue; }}; qx.Proto._modifyUseTreeLines=function($0,$1,$2){if(this._initialLayoutDone){this._updateIndent(); }return true; }; qx.Proto._modifyHideNode=function($0,$1,$2){if(!$0){this._horizontalLayout.setHeight(this._horizontalLayout.originalHeight); this._horizontalLayout.show(); }else{this._horizontalLayout.originalHeight=this._horizontalLayout.getHeight(); this._horizontalLayout.setHeight(0); this._horizontalLayout.hide(); } if(this._initialLayoutDone){this._updateIndent(); }return true; }; qx.Proto._modifyRootOpenClose=function($0,$1,$2){if(this._initialLayoutDone){this._updateIndent(); }return true; }; qx.Proto.getExcludeSpecificTreeLines=function(){var $0=$[940]; var $1=qx.lang.String.toFirstUp($0); var $2=$[336]+$1; return this[$2].slice(0); }; qx.Proto._modifyExcludeSpecificTreeLines=function($0,$1,$2){if(this._initialLayoutDone){this._updateIndent(); }return true; }; qx.Proto.getTree=function(){return this; }; qx.Proto.getParentFolder=function(){return null; }; qx.Proto.getLevel=function(){return 0; }; qx.ui.treefullcontrol.Tree.isTreeFolder=function($0){return ($0&&$0 instanceof qx.ui.treefullcontrol.TreeFolder&&!($0 instanceof qx.ui.treefullcontrol.Tree)); }; qx.ui.treefullcontrol.Tree.isOpenTreeFolder=function($0){return ($0 instanceof qx.ui.treefullcontrol.TreeFolder&&$0.getOpen()&&$0.hasContent()); }; qx.Proto._onkeydown=function($0){var $1=this.getManager(); var $2=$1.getSelectedItem(); if($0.getKeyIdentifier()==$[34]){$0.preventDefault(); if(qx.ui.treefullcontrol.Tree.isTreeFolder($2)){return $2.toggle(); }}}; qx.Proto._onkeypress=function($0){var $1=this.getManager(); var $2=$1.getSelectedItem(); switch($0.getKeyIdentifier()){case $[58]:$0.preventDefault(); if(qx.ui.treefullcontrol.Tree.isTreeFolder($2)){if(!$2.getOpen()){var $3=$2.getParentFolder(); if($3 instanceof qx.ui.treefullcontrol.TreeFolder){if(!($3 instanceof qx.ui.treefullcontrol.Tree)){$3.close(); }this.setSelectedElement($3); }}else{return $2.close(); }}else if($2 instanceof qx.ui.treefullcontrol.TreeFile){var $3=$2.getParentFolder(); if($3 instanceof qx.ui.treefullcontrol.TreeFolder){if(!($3 instanceof qx.ui.treefullcontrol.Tree)){$3.close(); }this.setSelectedElement($3); }}break; case $[59]:$0.preventDefault(); if(qx.ui.treefullcontrol.Tree.isTreeFolder($2)){if(!$2.getOpen()){return $2.open(); }else if($2.hasContent()){var $4=$2.getFirstVisibleChildOfFolder(); this.setSelectedElement($4); if($4 instanceof qx.ui.tree.TreeFolder){$4.open(); }return; }}break; default:if(!this._fastUpdate){this._fastUpdate=true; this._oldItem=$2; }$1.handleKeyPress($0); }}; qx.Proto._onkeyup=function($0){if(this._fastUpdate){var $1=this.getManager().getSelectedItem(); if(!$1){return; }$1.getIconObject().addState($[30]); delete this._fastUpdate; delete this._oldItem; }}; qx.Proto.getLastTreeChild=function(){var $0=this; while($0 instanceof qx.ui.treefullcontrol.AbstractTreeElement){if(!($0 instanceof qx.ui.treefullcontrol.TreeFolder)||!$0.getOpen()){return $0; }$0=$0.getLastVisibleChildOfFolder(); }return null; }; qx.Proto.getFirstTreeChild=function(){return this; }; qx.Proto.setSelectedElement=function($0){var $1=this.getManager(); $1.setSelectedItem($0); $1.setLeadItem($0); }; qx.Proto.getHierarchy=function($0){if(!this.hideNode()&&this._labelObject){$0.unshift(this._labelObject.getHtml()); }return $0; }; qx.Proto.getIndentSymbol=function($0,$1,$2){if($1==$2&&(this.hasContent()||this.getAlwaysShowPlusMinusSymbol())){if(!$0){return this.getOpen()?$[386]:$[431]; }else{return this.getOpen()?$[395]:$[365]; }}else{return null; }}; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this.removeEventListener($[13],this._onkeydown); this.removeEventListener($[17],this._onkeypress); this.removeEventListener($[90],this._onkeyup); if(this._manager){this._manager.dispose(); this._manager=null; }delete this._oldItem; return qx.ui.treefullcontrol.TreeFolder.prototype.dispose.call(this); }; /* ID: qx.manager.selection.TreeFullControlSelectionManager */ qx.OO.defineClass($[1206],qx.manager.selection.SelectionManager,function($0){qx.manager.selection.SelectionManager.call(this,$0); }); qx.OO.changeProperty({name:$[368],type:$[3],defaultValue:false}); qx.OO.changeProperty({name:$[533],type:$[3],defaultValue:false}); qx.Proto._getFirst=function(){return qx.lang.Array.getFirst(this.getItems()); }; qx.Proto._getLast=function(){return qx.lang.Array.getLast(this.getItems()); }; qx.Proto.getItems=function(){return this.getBoundedWidget().getItems(); }; qx.Proto.getNext=function($0){if($0){if(qx.ui.treefullcontrol.Tree.isOpenTreeFolder($0)){return $0.getFirstVisibleChildOfFolder(); }else if($0.isLastVisibleChild()){var $1=$0; while($1&&$1.isLastVisibleChild()){$1=$1.getParentFolder(); } if($1&&$1 instanceof qx.ui.treefullcontrol.AbstractTreeElement&&$1.getNextVisibleSibling()&&$1.getNextVisibleSibling() instanceof qx.ui.treefullcontrol.AbstractTreeElement){return $1.getNextVisibleSibling(); }}else{return $0.getNextVisibleSibling(); }}else{return this.getBoundedWidget().getFirstTreeChild(); }}; qx.Proto.getPrevious=function($0){if($0){if($0==this.getBoundedWidget()){return; }else if($0.isFirstVisibleChild()){if($0.getParentFolder() instanceof qx.ui.treefullcontrol.TreeFolder){return $0.getParentFolder(); }}else{var $1=$0.getPreviousVisibleSibling(); if($1 instanceof qx.ui.treefullcontrol.AbstractTreeElement){while($1 instanceof qx.ui.treefullcontrol.AbstractTreeElement){if(qx.ui.treefullcontrol.Tree.isOpenTreeFolder($1)){$1=$1.getLastVisibleChildOfFolder(); }else{break; }}}return $1; }}else{return this.getBoundedWidget().getLastTreeChild(); }}; qx.Proto.getItemTop=function($0){var $1=this.getBoundedWidget(); var $2=$0.getElement(); var $3=0; while($2&&$2.qx_Widget!=$1){$3+=$2.offsetTop; $2=$2.parentNode; }return $3; }; qx.Proto.getItemHeight=function($0){if($0 instanceof qx.ui.treefullcontrol.TreeFolder&&$0._horizontalLayout){return $0._horizontalLayout.getOffsetHeight(); }else{return $0.getOffsetHeight(); }}; qx.Proto.scrollItemIntoView=function($0){if($0 instanceof qx.ui.treefullcontrol.TreeFolder&&$0._horizontalLayout){return $0._horizontalLayout.scrollIntoView(); }else{return $0.scrollIntoView(); }}; qx.Proto.renderItemSelectionState=function($0,$1){if($1&&!$0.isSeeable()){var $2=$0; var $3=[]; while($2){$2=$2.getParentFolder(); $3.push($2); }$3.pop(); while($3.length){$3.pop().open(); }} if($1){if($0.isCreated()){this.scrollItemIntoView($0); }else{$0.addEventListener($[70],function($4){this.scrollItemIntoView($0); },this); }}$0.setSelected($1); }; /* ID: qx.ui.treefullcontrol.TreeFile */ qx.OO.defineClass($[2571],qx.ui.treefullcontrol.AbstractTreeElement,function($0){qx.ui.treefullcontrol.AbstractTreeElement.call(this,$0); }); qx.Proto.getIndentSymbol=function($0,$1,$2,$3){var $4=this.getLevel(); var $5=this.getTree().getExcludeSpecificTreeLines(); var $6=$5[$3-$1-1]; if($0&&!($6===true)){if($1==$2){return this.isLastChild()?$[334]:$[312]; }else{return $[301]; }}return null; }; qx.Proto._updateIndent=function(){this.addToTreeQueue(); }; qx.Proto.getItems=function(){return [this]; }; /* ID: qx.ui.table.AbstractTableModel */ qx.OO.defineClass($[2445],qx.ui.table.TableModel,function(){qx.ui.table.TableModel.call(this); this._columnIdArr=[]; this._columnNameArr=[]; this._columnIndexMap={}; }); qx.Proto.getColumnCount=function(){return this._columnIdArr.length; }; qx.Proto.getColumnIndexById=function($0){return this._columnIndexMap[$0]; }; qx.Proto.getColumnId=function($0){return this._columnIdArr[$0]; }; qx.Proto.getColumnName=function($0){return this._columnNameArr[$0]; }; qx.Proto.setColumnIds=function($0){this._columnIdArr=$0; this._columnIndexMap={}; for(var $1=0;$1<$0.length;$1++){this._columnIndexMap[$0[$1]]=$1; }this._columnNameArr=new Array($0.length); if(!this._internalChange){this.createDispatchEvent(qx.ui.table.TableModel.EVENT_TYPE_META_DATA_CHANGED); }}; qx.Proto.setColumnNamesByIndex=function($0){if(this._columnIdArr.length!=$0.length){throw new Error("this._columnIdArr and columnNameArr have different length: "+this._columnIdArr.length+" != "+$0.length); }this._columnNameArr=$0; this.createDispatchEvent(qx.ui.table.TableModel.EVENT_TYPE_META_DATA_CHANGED); }; qx.Proto.setColumnNamesById=function($0){this._columnNameArr=new Array(this._columnIdArr.length); for(var $1=0;$10;$5--){$4=$1.childNodes[$5]; if($2==false){if($4==$0){$2=true; }}else{if($4.offsetLeft==$3){return $4; }}}}; qx.Proto.getUnder=function($0){var $1=$0.parentNode; var $2=false; var $3=$0.offsetLeft; var $4; for(var $5=0,$6=$1.childNodes.length;$5<$6;$5++){$4=$1.childNodes[$5]; if($2==false){if($4==$0){$2=true; }}else{if($4.offsetLeft==$3){return $4; }}}}; qx.Proto._updateState=function($0,$1,$2){var $3=this.getItemClassName($0); var $4=this.getItemBaseClassName($0)+$[60]+$1; this.setItemClassName($0,$2?qx.lang.String.addListItem($3,$4,$[48]):qx.lang.String.removeListItem($3,$4,$[48])); }; qx.Proto.renderItemSelectionState=function($0,$1){this._updateState($0,$[987],$1); }; qx.Proto.renderItemAnchorState=function($0,$1){this._updateState($0,$[1793],$1); }; qx.Proto.renderItemLeadState=function($0,$1){this._updateState($0,$[1412],$1); }; /* ID: qx.ui.component.DateChooser */ qx.OO.defineClass($[1097],qx.ui.layout.BoxLayout,function($0){qx.ui.layout.BoxLayout.call(this); this.setOrientation($[27]); var $1=new qx.ui.layout.BoxLayout; $1.set({width:null,height:$[5],spacing:1}); var $2=new qx.ui.toolbar.Button(null,$[1373]); var $3=new qx.ui.toolbar.Button(null,$[2566]); var $4=new qx.ui.basic.Label; var $5=new qx.ui.toolbar.Button(null,$[2069]); var $6=new qx.ui.toolbar.Button(null,$[1606]); $2.set({show:$[295],toolTip:new qx.ui.popup.ToolTip(this.tr($[2859])),spacing:0}); $3.set({show:$[295],toolTip:new qx.ui.popup.ToolTip(this.tr($[1614]))}); $5.set({show:$[295],toolTip:new qx.ui.popup.ToolTip(this.tr($[2800]))}); $6.set({show:$[295],toolTip:new qx.ui.popup.ToolTip(this.tr($[1924]))}); $2.setAppearance($[356]); $3.setAppearance($[356]); $5.setAppearance($[356]); $6.setAppearance($[356]); $2.addEventListener($[18],this._onNavButtonClicked,this); $3.addEventListener($[18],this._onNavButtonClicked,this); $5.addEventListener($[18],this._onNavButtonClicked,this); $6.addEventListener($[18],this._onNavButtonClicked,this); this._lastYearBt=$2; this._lastMonthBt=$3; this._nextMonthBt=$5; this._nextYearBt=$6; $4.setAppearance($[993]); $4.set({width:$[44]}); $1.add($2,$3,$4,$5,$6); this._monthYearLabel=$4; $1.setHtmlAttribute($[208],$[2665]); var $7=new qx.ui.basic.Label; var $8=new qx.ui.layout.CanvasLayout; $8.add($7); $7.setHtml($[2651]); $7.set({paddingLeft:5,paddingRight:5}); $7.setAppearance($[576]); var $9=$7.getBoxWidth(); var $a=$7.getBoxHeight(); $7.dispose(); $8.dispose(); var $b=new qx.ui.layout.GridLayout; $b.setAppearance($[2431]); $b.set({width:$[42],height:$[5]}); $b.setColumnCount(8); $b.setRowCount(7); for(var $c=0;$c<$b.getColumnCount();$c++){$b.setColumnWidth($c,$9); } for(var $c=0;$c<$b.getRowCount();$c++){$b.setRowHeight($c,$a); }var $d=new qx.ui.basic.Label; $d.setAppearance($[906]); $d.set({width:$[42],height:$[42]}); $d.addState($[1902]); $b.add($d,0,0); this._weekdayLabelArr=[]; for(var $c=0;$c<7;$c++){var $d=new qx.ui.basic.Label; $d.setAppearance($[576]); $d.set({width:$[42],height:$[42]}); $b.add($d,$c+1,0); this._weekdayLabelArr.push($d); }this._dayLabelArr=[]; this._weekLabelArr=[]; for(var $e=0;$e<6;$e++){var $d=new qx.ui.basic.Label; $d.setAppearance($[906]); $d.set({width:$[42],height:$[42]}); $b.add($d,0,$e+1); this._weekLabelArr.push($d); for(var $f=0;$f<7;$f++){var $d=new qx.ui.basic.Label; $d.setAppearance($[1513]); $d.set({width:$[42],height:$[42]}); $d.addEventListener($[6],this._onDayClicked,this); $d.addEventListener($[41],this._onDayDblClicked,this); $b.add($d,$f+1,$e+1); this._dayLabelArr.push($d); }}this.setTabIndex(1); this.addEventListener($[17],this._onkeypress); var $g=($0!=null)?$0:new Date(); this.showMonth($g.getMonth(),$g.getFullYear()); qx.locale.Manager.getInstance().addEventListener($[249],this._updateDatePane,this); this.add($1); this.add($b); }); qx.OO.addProperty({name:$[1400],type:$[2],defaultValue:null}); qx.OO.addProperty({name:$[1612],type:$[2],defaultValue:null}); qx.OO.addProperty({name:$[2966],type:$[4],defaultValue:null}); qx.Proto._checkDate=function($0,$1){return ($0==null)?null:new Date($0.getTime()); }; qx.Proto._modifyDate=function($0,$1,$2){var $3=qx.ui.component.DateChooser; if(($0!=null)&&(this.getShownMonth()!=$0.getMonth()||this.getShownYear()!=$0.getFullYear())){this.showMonth($0.getMonth(),$0.getFullYear()); }else{var $4=($0==null)?-1:$0.getDate(); for(var $5=0;$5<6*7;$5++){var $6=this._dayLabelArr[$5]; if($6.hasState($[545])){if($6.hasState($[30])){$6.removeState($[30]); }}else{var $7=parseInt($6.getHtml()); if($7==$4){$6.addState($[30]); }else if($6.hasState($[30])){$6.removeState($[30]); }}}}return true; }; qx.Proto._onNavButtonClicked=function($0){var $1=this.getShownYear(); var $2=this.getShownMonth(); switch($0.getCurrentTarget()){case this._lastYearBt:$1--; break; case this._lastMonthBt:$2--; if($2<0){$2=11; $1--; }break; case this._nextMonthBt:$2++; if($2>=12){$2=0; $1++; }break; case this._nextYearBt:$1++; break; }this.showMonth($2,$1); }; qx.Proto._onDayClicked=function($0){var $1=$0.getCurrentTarget().dateTime; this.setDate(new Date($1)); }; qx.Proto._onDayDblClicked=function(){this.createDispatchDataEvent($[330],this.getDate()); }; qx.Proto._onkeypress=function($0){var $1=null; var $2=null; var $3=null; if($0.getModifiers()==0){switch($0.getKeyIdentifier()){case $[58]:$1=-1; break; case $[59]:$1=1; break; case $[87]:$1=-7; break; case $[76]:$1=7; break; case $[89]:$2=-1; break; case $[105]:$2=1; break; case $[88]:if(this.getDate()!=null){this.setDate(null); return true; }break; case $[34]:case $[103]:if(this.getDate()!=null){this.createDispatchDataEvent($[330],this.getDate()); }return; }}else if($0.isShiftPressed()){switch($0.getKeyIdentifier()){case $[89]:$3=-1; break; case $[105]:$3=1; break; }} if($1!=null||$2!=null||$3!=null){var $4=this.getDate(); if($4!=null){$4=new Date($4.getTime()); } if($4==null){$4=new Date(); }else{if($1!=null)$4.setDate($4.getDate()+$1); if($2!=null)$4.setMonth($4.getMonth()+$2); if($3!=null)$4.setFullYear($4.getFullYear()+$3); }this.setDate($4); }}; qx.Proto.showMonth=function($0,$1){if(($0!=null&&$0!=this.getShownMonth())||($1!=null&&$1!=this.getShownYear())){if($0!=null){this.setShownMonth($0); } if($1!=null){this.setShownYear($1); }this._updateDatePane(); }}; qx.Proto._updateDatePane=function(){var $0=qx.ui.component.DateChooser; var $1=new Date(); var $2=$1.getFullYear(); var $3=$1.getMonth(); var $4=$1.getDate(); var $5=this.getDate(); var $6=($5==null)?-1:$5.getFullYear(); var $7=($5==null)?-1:$5.getMonth(); var $8=($5==null)?-1:$5.getDate(); var $9=this.getShownMonth(); var $a=this.getShownYear(); var $b=qx.locale.Date.getWeekStart(); var $c=new Date(this.getShownYear(),this.getShownMonth(),1); this._monthYearLabel.setHtml((new qx.util.format.DateFormat($0.MONTH_YEAR_FORMAT)).format($c)); var $d=$c.getDay(); var $e=(1+7-$d)%7; for(var $f=0;$f<7;$f++){var $g=($f+$b)%7; var $h=this._weekdayLabelArr[$f]; $c.setDate($e+$g); $h.setHtml($0.WEEKDAY_FORMAT.format($c)); if(qx.locale.Date.isWeekend($g)){$h.addState($[726]); }else{$h.removeState($[726]); }}$c=new Date($a,$9,1,12,0,0); var $i=(7+$d-$b)%7; $c.setDate($c.getDate()-$i); for(var $j=0;$j<6;$j++){this._weekLabelArr[$j].setHtml($0.WEEK_FORMAT.format($c)); for(var $f=0;$f<7;$f++){var $h=this._dayLabelArr[$j*7+$f]; var $k=$c.getFullYear(); var $l=$c.getMonth(); var $m=$c.getDate(); var $n=($6==$k&&$7==$l&&$8==$m); if($n){$h.addState($[30]); }else{$h.removeState($[30]); } if($l!=$9){$h.addState($[545]); }else{$h.removeState($[545]); }var $o=($k==$2&&$l==$3&&$m==$4); if($o){$h.addState($[915]); }else{$h.removeState($[915]); }$h.setHtml($[1]+$m); $h.dateTime=$c.getTime(); $c.setDate($c.getDate()+1); }}}; qx.Clazz.MONTH_YEAR_FORMAT=qx.locale.Date.getDateTimeFormat("yyyyMMMM","MMMM yyyy"); qx.Clazz.WEEKDAY_FORMAT=new qx.util.format.DateFormat("EE"); qx.Clazz.WEEK_FORMAT=new qx.util.format.DateFormat("ww"); qx.Proto.dispose=function(){if(this.getDisposed()){return true; }this._lastYearBt.removeEventListener($[18],this._onNavButtonClicked,this); this._lastMonthBt.removeEventListener($[18],this._onNavButtonClicked,this); this._nextMonthBt.removeEventListener($[18],this._onNavButtonClicked,this); this._nextYearBt.removeEventListener($[18],this._onNavButtonClicked,this); this._lastYearBt.dispose(); this._lastMonthBt.dispose(); this._nextMonthBt.dispose(); this._nextYearBt.dispose(); this._lastYearBt=null; this._lastMonthBt=null; this._nextMonthBt=null; this._nextYearBt=null; this._monthYearLabel.dispose(); this._monthYearLabel=null; for(var $0=0;$0$4.length){var $9=this.getSelectionModel(); var $a=this.getTableModel(); var $b=this.getTableColumnModel(); for(var $6=$4.length;$6<$3.length;$6++){var $8=this.getNewTablePaneModel()($b); $8.setFirstColumnX($5); $8.setMaxColumnCount($3[$6]); $5+=$3[$6]; var $7=this.getNewTablePaneScroller()(this); $7.setTablePaneModel($8); $7.addEventListener($[673],this._onScrollY,this); this._scrollerParent.add($7); }}for(var $6=0;$6<$4.length;$6++){var $7=$4[$6]; var $c=($6==($4.length-1)); $7.getHeader().setHeight(this.getHeaderCellHeight()); $7.setTopRightWidget($c?this._columnVisibilityBt:null); }this._updateScrollerWidths(); this._updateScrollBarVisibility(); return true; }; qx.Proto._modifyFocusCellOnMouseMove=function($0,$1,$2){var $3=this._getPaneScrollerArr(); for(var $4=0;$4<$3.length;$4++){$3[$4].setFocusCellOnMouseMove($0); }return true; }; qx.Proto._modifyKeepFirstVisibleRowComplete=function($0,$1,$2){var $3=this._getPaneScrollerArr(); for(var $4=0;$4<$3.length;$4++){$3[$4]._onKeepFirstVisibleRowCompleteChanged(); }return true; }; qx.Proto._modifyHeaderCellHeight=function($0,$1,$2){var $3=this._getPaneScrollerArr(); for(var $4=0;$4<$3.length;$4++){$3[$4].getHeader().setHeight($0); }return true; }; qx.Proto._getSelectionManager=function(){return this._selectionManager; }; qx.Proto._getPaneScrollerArr=function(){return this._scrollerParent.getChildren(); }; qx.Proto.getPaneScroller=function($0){return this._getPaneScrollerArr()[$0]; }; qx.Proto._cleanUpMetaColumns=function($0){var $1=this._getPaneScrollerArr(); if($1!=null){for(var $2=$1.length-1;$2>=$0;$2--){var $3=$1[$2]; $3.removeEventListener($[673],this._onScrollY,this); this._scrollerParent.remove($3); $3.dispose(); }}}; qx.Proto._onSelectionChanged=function($0){var $1=this._getPaneScrollerArr(); for(var $2=0;$2<$1.length;$2++){$1[$2]._onSelectionChanged($0); }this._updateStatusBar(); }; qx.Proto._onTableModelMetaDataChanged=function($0){var $1=this._getPaneScrollerArr(); for(var $2=0;$2<$1.length;$2++){$1[$2]._onTableModelMetaDataChanged($0); }this._updateStatusBar(); }; qx.Proto._onTableModelDataChanged=function($0){var $1=this._getPaneScrollerArr(); for(var $2=0;$2<$1.length;$2++){$1[$2]._onTableModelDataChanged($0); }var $3=this.getTableModel().getRowCount(); if($3!=this._lastRowCount){this._lastRowCount=$3; this._updateScrollBarVisibility(); this._updateStatusBar(); }}; qx.Proto._onScrollY=function($0){if(!this._internalChange){this._internalChange=true; var $1=this._getPaneScrollerArr(); for(var $2=0;$2<$1.length;$2++){$1[$2].setScrollY($0.getData()); }this._internalChange=false; }}; qx.Proto._onkeydown=function($0){if(!this.getEnabled()){return; }var $1=$0.getKeyIdentifier(); var $2=false; var $3=this._focusedRow; if(this.isEditing()){if($0.getModifiers()==0){$2=true; switch($1){case $[34]:this.stopEditing(); var $3=this._focusedRow; this.moveFocusedCell(0,1); if(this._focusedRow!=$3){this.startEditing(); }break; case $[88]:this.cancelEditing(); this.focus(); break; default:$2=false; break; }}}else{$2=true; switch($1){case $[147]:this.setFocusedCell(this._focusedCol,0,true); break; case $[163]:var $4=this.getTableModel().getRowCount(); this.setFocusedCell(this._focusedCol,$4-1,true); break; default:$2=false; break; }if($0.getModifiers()==0){$2=true; switch($1){case $[374]:case $[34]:this.startEditing(); break; default:$2=false; break; }}else if($0.isCtrlPressed()){$2=true; switch($1){case $[61]:var $4=this.getTableModel().getRowCount(); if($4>0){this.getSelectionModel().setSelectionInterval(0,$4-1); }break; default:$2=false; break; }}} if($3!=this._focusedRow){this._selectionManager.handleMoveKeyDown(this._focusedRow,$0); } if($2){$0.preventDefault(); $0.stopPropagation(); }}; qx.Proto._onkeypress=function($0){if(!this.getEnabled()){return; } if(this.isEditing()){return; }var $1=this._focusedRow; var $2=true; var $3=$0.getKeyIdentifier(); switch($3){case $[103]:this._selectionManager.handleSelectKeyDown(this._focusedRow,$0); break; case $[58]:this.moveFocusedCell(-1,0); break; case $[59]:this.moveFocusedCell(1,0); break; case $[87]:this.moveFocusedCell(0,-1); break; case $[76]:this.moveFocusedCell(0,1); break; case $[89]:case $[105]:var $4=this.getPaneScroller(0); var $5=$4.getTablePane(); var $6=$5.getVisibleRowCount()-1; var $7=this.getRowHeight(); var $8=($3==$[89])?-1:1; $4.setScrollY($4.getScrollY()+$8*$6*$7); this.moveFocusedCell(0,$8*$6); break; default:$2=false; } if($1!=this._focusedRow){this._selectionManager.handleMoveKeyDown(this._focusedRow,$0); } if($2){$0.preventDefault(); $0.stopPropagation(); }}; qx.Proto._onFocusChanged=function($0){var $1=this._getPaneScrollerArr(); for(var $2=0;$2<$1.length;$2++){$1[$2]._onFocusChanged($0); }}; qx.Proto._onColVisibilityChanged=function($0){var $1=this._getPaneScrollerArr(); for(var $2=0;$2<$1.length;$2++){$1[$2]._onColVisibilityChanged($0); }this._updateScrollerWidths(); this._updateScrollBarVisibility(); }; qx.Proto._onColWidthChanged=function($0){var $1=this._getPaneScrollerArr(); for(var $2=0;$2<$1.length;$2++){$1[$2]._onColWidthChanged($0); }this._updateScrollerWidths(); this._updateScrollBarVisibility(); }; qx.Proto._onColOrderChanged=function($0){var $1=this._getPaneScrollerArr(); for(var $2=0;$2<$1.length;$2++){$1[$2]._onColOrderChanged($0); }this._updateScrollerWidths(); this._updateScrollBarVisibility(); }; qx.Proto.getTablePaneScrollerAtPageX=function($0){var $1=this._getMetaColumnAtPageX($0); return ($1!=-1)?this.getPaneScroller($1):null; }; qx.Proto.setFocusedCell=function($0,$1,$2){if(!this.isEditing()&&($0!=this._focusedCol||$1!=this._focusedRow)){this._focusedCol=$0; this._focusedRow=$1; var $3=this._getPaneScrollerArr(); for(var $4=0;$4<$3.length;$4++){$3[$4].setFocusedCell($0,$1); } if($2){this.scrollCellVisible($0,$1); }}}; qx.Proto.getFocusedColumn=function(){return this._focusedCol; }; qx.Proto.getFocusedRow=function(){return this._focusedRow; }; qx.Proto.moveFocusedCell=function($0,$1){var $2=this._focusedCol; var $3=this._focusedRow; if($0!=0){var $4=this.getTableColumnModel(); var $5=$4.getVisibleX($2); var $6=$4.getVisibleColumnCount(); $5=qx.lang.Number.limit($5+$0,0,$6-1); $2=$4.getVisibleColumnAtX($5); } if($1!=0){var $7=this.getTableModel(); $3=qx.lang.Number.limit($3+$1,0,$7.getRowCount()-1); }this.setFocusedCell($2,$3,true); }; qx.Proto.scrollCellVisible=function($0,$1){var $2=this.getTableColumnModel(); var $3=$2.getVisibleX($0); var $4=this._getMetaColumnAtColumnX($3); if($4!=-1){this.getPaneScroller($4).scrollCellVisible($0,$1); }}; qx.Proto.isEditing=function(){if(this._focusedCol!=null){var $0=this.getTableColumnModel().getVisibleX(this._focusedCol); var $1=this._getMetaColumnAtColumnX($0); return this.getPaneScroller($1).isEditing(); }}; qx.Proto.startEditing=function(){if(this._focusedCol!=null){var $0=this.getTableColumnModel().getVisibleX(this._focusedCol); var $1=this._getMetaColumnAtColumnX($0); return this.getPaneScroller($1).startEditing(); }return false; }; qx.Proto.stopEditing=function(){if(this._focusedCol!=null){var $0=this.getTableColumnModel().getVisibleX(this._focusedCol); var $1=this._getMetaColumnAtColumnX($0); this.getPaneScroller($1).stopEditing(); }}; qx.Proto.cancelEditing=function(){if(this._focusedCol!=null){var $0=this.getTableColumnModel().getVisibleX(this._focusedCol); var $1=this._getMetaColumnAtColumnX($0); this.getPaneScroller($1).cancelEditing(); }}; qx.Proto._getMetaColumnAtPageX=function($0){var $1=this._getPaneScrollerArr(); for(var $2=0;$2<$1.length;$2++){var $3=$1[$2].getElement(); if($0>=qx.html.Location.getPageBoxLeft($3)&&$0<=qx.html.Location.getPageBoxRight($3)){return $2; }}return -1; }; qx.Proto._getMetaColumnAtColumnX=function($0){var $1=this.getMetaColumnCounts(); var $2=0; for(var $3=0;$3<$1.length;$3++){var $4=$1[$3]; $2+=$4; if($4==-1||$0<$2){return $3; }}return -1; }; qx.Proto._updateStatusBar=function(){if(this.getStatusBarVisible()){var $0=this.getSelectionModel().getSelectedCount(); var $1=this.getTableModel().getRowCount(); var $2; if($0==0){$2=$1+(($1==1)?$[895]:$[848]); }else{$2=$0+$[2027]+$1+(($1==1)?$[895]:$[848])+$[1938]; }this._statusBar.setHtml($2); }}; qx.Proto._updateScrollerWidths=function(){var $0=this._getPaneScrollerArr(); for(var $1=0;$1<$0.length;$1++){var $2=($1==($0.length-1)); var $3=$2?$[44]:$0[$1].getTablePaneModel().getTotalWidth(); $0[$1].setWidth($3); }}; qx.Proto._updateScrollBarVisibility=function(){if(this.isSeeable()){var $0=qx.ui.table.TablePaneScroller.HORIZONTAL_SCROLLBAR; var $1=qx.ui.table.TablePaneScroller.VERTICAL_SCROLLBAR; var $2=this._getPaneScrollerArr(); var $3=false; var $4=false; for(var $5=0;$5<$2.length;$5++){var $6=($5==($2.length-1)); var $7=$2[$5].getNeededScrollBars($3,!$6); if($7&$0){$3=true; } if($6&&($7&$1)){$4=true; }}for(var $5=0;$5<$2.length;$5++){var $6=($5==($2.length-1)); var $8; $2[$5].setHorizontalScrollBarVisible($3); if($6){$8=$2[$5].getVerticalScrollBarVisible(); }$2[$5].setVerticalScrollBarVisible($6&&$4); if($6&&$4!=$8){this.createDispatchDataEvent($[811],$4); }}}}; qx.Proto._onColumnVisibilityBtExecuted=function(){if((this._columnVisibilityMenuCloseTime==null)||(new Date().getTime()>this._columnVisibilityMenuCloseTime+200)){this._toggleColumnVisibilityMenu(); }}; qx.Proto._toggleColumnVisibilityMenu=function(){if(this._columnVisibilityMenu==null||!this._columnVisibilityMenu.isSeeable()){if(!this.getEnabled()){return; }var $0=new qx.ui.menu.Menu; $0.addEventListener($[187],function($1){this._columnVisibilityMenuCloseTime=new Date().getTime(); },this); var $1=this.getTableModel(); var $2=this.getTableColumnModel(); if(this.hasEventListeners($[592])){var $3={table:this,menu:$0}; var $4=new qx.event.type.DataEvent($[592],$3); this.dispatchEvent($4,true); } for(var $5=0;$5<$2.getOverallColumnCount();$5++){var $6=$2.getOverallColumnAtX($5); var $7=$2.isColumnVisible($6); var $8={col:$6}; var $9=new qx.ui.menu.CheckBox($1.getColumnName($6),null,$7); var $a=this._createColumnVisibilityCheckBoxHandler($6); $9._handler=$a; $9.addEventListener($[11],$a,this); $0.add($9); }if(this.hasEventListeners($[377])){var $3={table:this,menu:$0}; var $4=new qx.event.type.DataEvent($[377],$3); this.dispatchEvent($4,true); }$0.setParent(this.getTopLevelWidget()); this._columnVisibilityMenu=$0; var $b=this._columnVisibilityBt.getElement(); $0.setRestrictToPageOnOpen(false); $0.setTop(qx.html.Location.getClientBoxBottom($b)); $0.setLeft(-1000); var $c=this; window.setTimeout(function(){if($c.getDisposed()){return; }$0.show(); qx.ui.core.Widget.flushGlobalQueues(); $0.setLeft(qx.html.Location.getClientBoxRight($b)-$0.getOffsetWidth()); qx.ui.core.Widget.flushGlobalQueues(); },0); }else{$0.hide(); this._cleanupColumnVisibilityMenu(); }}; qx.Proto._cleanupColumnVisibilityMenu=function(){if(this._columnVisibilityMenu!=null&&!this._columnVisibilityMenu.getDisposed()){this._columnVisibilityMenu.dispose(); this._columnVisibilityMenu=null; }}; qx.Proto._createColumnVisibilityCheckBoxHandler=function($0){return function($1){var $2=this.getTableColumnModel(); $2.setColumnVisible($0,!$2.isColumnVisible($0)); }; }; qx.Proto.setColumnWidth=function($0,$1){this.getTableColumnModel().setColumnWidth($0,$1); }; qx.Proto._changeInnerWidth=function($0,$1){var $2=this; window.setTimeout(function(){if($2.getDisposed()){return; }$2.createDispatchEvent($[803]); $2._updateScrollerWidths(); $2._updateScrollBarVisibility(); qx.ui.core.Widget.flushGlobalQueues(); },0); return qx.ui.layout.VerticalBoxLayout.prototype._changeInnerWidth.call(this,$0,$1); }; qx.Proto._changeInnerHeight=function($0,$1){var $2=this; window.setTimeout(function(){if($2.getDisposed()){return; }$2._updateScrollBarVisibility(); qx.ui.core.Widget.flushGlobalQueues(); },0); return qx.ui.layout.VerticalBoxLayout.prototype._changeInnerHeight.call(this,$0,$1); }; qx.Proto._afterAppear=function(){qx.ui.layout.VerticalBoxLayout.prototype._afterAppear.call(this); this._updateScrollBarVisibility(); }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; } if(this._tableModel){this._tableModel.removeEventListener(qx.ui.table.TableModel.EVENT_TYPE_META_DATA_CHANGED,this._onTableModelMetaDataChanged,this); }this._columnVisibilityBt.removeEventListener($[11],this._onColumnVisibilityBtExecuted,this); this._columnVisibilityBt.dispose(); this._cleanupColumnVisibilityMenu(); this._cleanUpMetaColumns(0); var $0=this.getSelectionModel(); if($0!=null){$0.removeEventListener($[164],this._onSelectionChanged,this); }var $1=this.getTableModel(); if($1!=null){$1.removeEventListener(qx.ui.table.TableModel.EVENT_TYPE_META_DATA_CHANGED,this._onTableModelMetaDataChanged,this); $1.removeEventListener(qx.ui.table.TableModel.EVENT_TYPE_DATA_CHANGED,this._onTableModelDataChanged,this); }var $2=this.getTableColumnModel(); if($2){$2.removeEventListener($[202],this._onColVisibilityChanged,this); $2.removeEventListener($[212],this._onColWidthChanged,this); $2.removeEventListener($[265],this._onColOrderChanged,this); }this.removeEventListener($[13],this._onkeydown); this.removeEventListener($[17],this._onkeypress); return qx.ui.layout.VerticalBoxLayout.prototype.dispose.call(this); }; /* ID: qx.ui.table.TablePaneHeader */ qx.OO.defineClass($[2023],qx.ui.layout.HorizontalBoxLayout,function($0){qx.ui.layout.HorizontalBoxLayout.call(this); this._paneScroller=$0; }); qx.Proto.getPaneScroller=function(){return this._paneScroller; }; qx.Proto.getTable=function(){return this._paneScroller.getTable(); }; qx.Proto._onColWidthChanged=function($0){var $1=$0.getData(); this.setColumnWidth($1.col,$1.newWidth); }; qx.Proto._onColOrderChanged=function($0){this._updateContent(true); }; qx.Proto._onPaneModelChanged=function($0){this._updateContent(true); }; qx.Proto._onTableModelMetaDataChanged=function($0){this._updateContent(); }; qx.Proto.setColumnWidth=function($0,$1){var $2=this.getPaneScroller().getTablePaneModel().getX($0); var $3=this.getChildren(); if($3[$2]!=null){$3[$2].setWidth($1); }}; qx.Proto.setMouseOverColumn=function($0){if($0!=this._lastMouseOverColumn){var $1=this.getPaneScroller().getTablePaneModel(); var $2=this.getChildren(); if(this._lastMouseOverColumn!=null){var $3=$2[$1.getX(this._lastMouseOverColumn)]; if($3!=null){$3.removeState($[33]); }} if($0!=null){$2[$1.getX($0)].addState($[33]); }this._lastMouseOverColumn=$0; }}; qx.Proto.showColumnMoveFeedback=function($0,$1){var $2=this.getElement(); if(this._moveFeedback==null){var $3=this.getPaneScroller().getTablePaneModel().getX($0); var $4=this.getChildren()[$3]; var $5=this.getTable().getTableModel(); var $6=this.getTable().getTableColumnModel(); var $7={xPos:$3,col:$0,name:$5.getColumnName($0)}; var $8=$6.getHeaderCellRenderer($0); var $9=$8.createHeaderCell($7); $9.setWidth($4.getBoxWidth()); $9.setHeight($4.getBoxHeight()); $9.setZIndex(1000000); $9.setOpacity(0.8); $9.setTop(qx.html.Location.getClientBoxTop($2)); this.getTopLevelWidget().add($9); this._moveFeedback=$9; }this._moveFeedback.setLeft(qx.html.Location.getClientBoxLeft($2)+$1); }; qx.Proto.hideColumnMoveFeedback=function(){if(this._moveFeedback!=null){this.getTopLevelWidget().remove(this._moveFeedback); this._moveFeedback.dispose(); this._moveFeedback=null; }}; qx.Proto.isShowingColumnMoveFeedback=function(){return this._moveFeedback!=null; }; qx.Proto._updateContent=function($0){var $1=this.getTable().getTableModel(); var $2=this.getTable().getTableColumnModel(); var $3=this.getPaneScroller().getTablePaneModel(); var $4=this.getChildren(); var $5=$4.length; var $6=$3.getColumnCount(); var $7=$1.getSortColumnIndex(); if($0){this._cleanUpCells(); }var $8={}; $8.sortedAscending=$1.isSortAscending(); for(var $9=0;$9<$6;$9++){var $a=$3.getColumnAtX($9); var $b=$2.getColumnWidth($a); var $c=$2.getHeaderCellRenderer($a); $8.xPos=$9; $8.col=$a; $8.name=$1.getColumnName($a); $8.editable=$1.isColumnEditable($a); $8.sorted=($a==$7); var $d=$4[$9]; if($d==null){$d=$c.createHeaderCell($8); $d.set({width:$b,height:$[42]}); this.add($d); }else{$c.updateHeaderCell($8,$d); }}}; qx.Proto._cleanUpCells=function(){var $0=this.getChildren(); for(var $1=$0.length-1;$1>=0;$1--){var $2=$0[$1]; this.remove($2); $2.dispose(); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return true; }this._paneScroller=null; return qx.ui.layout.HorizontalBoxLayout.prototype.dispose.call(this); }; /* ID: qx.ui.table.TablePaneScroller */ qx.OO.defineClass($[1358],qx.ui.layout.VerticalBoxLayout,function($0){qx.ui.layout.VerticalBoxLayout.call(this); this._table=$0; this._verScrollBar=new qx.ui.core.ScrollBar(false); this._horScrollBar=new qx.ui.core.ScrollBar(true); var $1=this._verScrollBar.getPreferredBoxWidth(); this._verScrollBar.setWidth($[5]); this._horScrollBar.setHeight($[5]); this._horScrollBar.setPaddingRight($1); this._horScrollBar.addEventListener($[203],this._onScrollX,this); this._verScrollBar.addEventListener($[203],this._onScrollY,this); this._header=this.getTable().getNewTablePaneHeader()(this); this._header.set({width:$[5],height:$[5]}); this._headerClipper=new qx.ui.layout.CanvasLayout; this._headerClipper.setDimension($[44],$[5]); this._headerClipper.setOverflow($[25]); this._headerClipper.add(this._header); this._spacer=new qx.ui.basic.Terminator; this._spacer.setWidth($1); this._top=new qx.ui.layout.HorizontalBoxLayout; this._top.setHeight($[5]); this._top.add(this._headerClipper,this._spacer); this._tablePane=this.getTable().getNewTablePane()(this); this._tablePane.set({width:$[5],height:$[5]}); this._focusIndicator=new qx.ui.layout.HorizontalBoxLayout; this._focusIndicator.setAppearance($[2998]); this._focusIndicator.hide(); var $2=new qx.ui.basic.Terminator; $2.setWidth(0); this._focusIndicator.add($2); this._paneClipper=new qx.ui.layout.CanvasLayout; this._paneClipper.setWidth($[44]); this._paneClipper.setOverflow($[25]); this._paneClipper.add(this._tablePane,this._focusIndicator); this._paneClipper.addEventListener($[68],this._onmousewheel,this); var $3=new qx.ui.layout.HorizontalBoxLayout; $3.setHeight($[44]); $3.add(this._paneClipper,this._verScrollBar); this.add(this._top,$3,this._horScrollBar); this.addEventListener($[14],this._onmousemove,this); this.addEventListener($[6],this._onmousedown,this); this.addEventListener($[7],this._onmouseup,this); this.addEventListener($[18],this._onclick,this); this.addEventListener($[41],this._ondblclick,this); this.addEventListener($[45],this._onmouseout,this); }); qx.OO.addProperty({name:$[2278],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[1742],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[2321],type:$[4],instance:$[763]}); qx.OO.addProperty({name:$[158],type:$[2],allowNull:false,defaultValue:0}); qx.OO.addProperty({name:$[117],type:$[2],allowNull:false,defaultValue:0}); qx.OO.addProperty({name:$[497],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[950],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[1441],type:$[3],defaultValue:false}); qx.Proto._modifyHorizontalScrollBarVisible=function($0,$1,$2){if($0){this._horScrollBar.setHeight($[5]); }else{this._horScrollBar.setHeight(0); }this._horScrollBar.setVisibility($0); qx.ui.core.Widget.flushGlobalQueues(); this._updateContent(); return true; }; qx.Proto._modifyVerticalScrollBarVisible=function($0,$1,$2){if($0){this._verScrollBar.setWidth($[5]); }else{this._verScrollBar.setWidth(0); }this._verScrollBar.setVisibility($0); var $3=$0?this._verScrollBar.getPreferredBoxWidth():0; this._horScrollBar.setPaddingRight($3); this._spacer.setWidth($3); return true; }; qx.Proto._modifyTablePaneModel=function($0,$1,$2){if($1!=null){$1.removeEventListener($[444],this._onPaneModelChanged,this); }$0.addEventListener($[444],this._onPaneModelChanged,this); return true; }; qx.Proto._modifyScrollX=function($0,$1,$2){this._horScrollBar.setValue($0); return true; }; qx.Proto._modifyScrollY=function($0,$1,$2){this._verScrollBar.setValue($0); return true; }; qx.Proto.getTable=function(){return this._table; }; qx.Proto._onColVisibilityChanged=function($0){this._updateHorScrollBarMaximum(); this._updateFocusIndicator(); }; qx.Proto._onColWidthChanged=function($0){this._header._onColWidthChanged($0); this._tablePane._onColWidthChanged($0); var $1=$0.getData(); var $2=this.getTablePaneModel(); var $3=$2.getX($1.col); if($3!=-1){this._updateHorScrollBarMaximum(); this._updateFocusIndicator(); }}; qx.Proto._onColOrderChanged=function($0){this._header._onColOrderChanged($0); this._tablePane._onColOrderChanged($0); this._updateHorScrollBarMaximum(); }; qx.Proto._onTableModelDataChanged=function($0){this._tablePane._onTableModelDataChanged($0); var $1=this.getTable().getTableModel().getRowCount(); if($1!=this._lastRowCount){this._lastRowCount=$1; this._updateVerScrollBarMaximum(); if(this.getFocusedRow()>=$1){if($1==0){this.setFocusedCell(null,null); }else{this.setFocusedCell(this.getFocusedColumn(),$1-1); }}}}; qx.Proto._onSelectionChanged=function($0){this._tablePane._onSelectionChanged($0); }; qx.Proto._onFocusChanged=function($0){this._focusIndicator.setState($[1541],this.getTable().getFocused()); this._tablePane._onFocusChanged($0); }; qx.Proto._onTableModelMetaDataChanged=function($0){this._header._onTableModelMetaDataChanged($0); this._tablePane._onTableModelMetaDataChanged($0); }; qx.Proto._onPaneModelChanged=function($0){this._header._onPaneModelChanged($0); this._tablePane._onPaneModelChanged($0); }; qx.Proto._updateHorScrollBarMaximum=function(){this._horScrollBar.setMaximum(this.getTablePaneModel().getTotalWidth()); }; qx.Proto._updateVerScrollBarMaximum=function(){var $0=this.getTable().getTableModel().getRowCount(); var $1=this.getTable().getRowHeight(); if(this.getTable().getKeepFirstVisibleRowComplete()){this._verScrollBar.setMaximum(($0+1)*$1); }else{this._verScrollBar.setMaximum($0*$1); }}; qx.Proto._onKeepFirstVisibleRowCompleteChanged=function(){this._updateVerScrollBarMaximum(); this._updateContent(); }; qx.Proto._changeInnerHeight=function($0,$1){this._postponedUpdateContent(); return qx.ui.layout.VerticalBoxLayout.prototype._changeInnerHeight.call(this,$0,$1); }; qx.Proto._afterAppear=function(){qx.ui.layout.VerticalBoxLayout.prototype._afterAppear.call(this); var $0=this; this.getElement().onselectstart=qx.lang.Function.returnFalse; this._updateContent(); this._header._updateContent(); this._updateHorScrollBarMaximum(); this._updateVerScrollBarMaximum(); }; qx.Proto._onScrollX=function($0){this._header.setLeft(-$0.getData()); this._paneClipper.setScrollLeft($0.getData()); this.setScrollX($0.getData()); }; qx.Proto._onScrollY=function($0){this._postponedUpdateContent(); this.setScrollY($0.getData()); }; qx.Proto._onmousewheel=function($0){var $1=this.getTable(); if(!$1.getEnabled()){return; }this._verScrollBar.setValue(this._verScrollBar.getValue()-$0.getWheelDelta()*$1.getRowHeight()); if(this._lastMousePageX&&this.getFocusCellOnMouseMove()){this._focusCellAtPagePos(this._lastMousePageX,this._lastMousePageY); }}; qx.Proto._onmousemove=function($0){var $1=this.getTable(); if(!$1.getEnabled()){return; }var $2=$1.getTableModel(); var $3=$1.getTableColumnModel(); var $4=false; var $5=null; var $6=$0.getPageX(); var $7=$0.getPageY(); this._lastMousePageX=$6; this._lastMousePageY=$7; if(this._resizeColumn!=null){var $8=qx.ui.table.TablePaneScroller.MIN_COLUMN_WIDTH; var $9=Math.max($8,this._lastResizeWidth+$6-this._lastResizeMousePageX); if(this.getLiveResize()){$3.setColumnWidth(this._resizeColumn,$9); }else{this._header.setColumnWidth(this._resizeColumn,$9); var $a=this.getTablePaneModel(); this._showResizeLine($a.getColumnLeft(this._resizeColumn)+$9); }$4=true; this._lastResizeMousePageX+=$9-this._lastResizeWidth; this._lastResizeWidth=$9; }else if(this._moveColumn!=null){var $b=qx.ui.table.TablePaneScroller.CLICK_TOLERANCE; if(this._header.isShowingColumnMoveFeedback()||$6>this._lastMoveMousePageX+$b||$6$8){$9--; }$2.moveColumn($8,$9); }}this._moveColumn=null; this._lastMoveTargetX=null; this.setCapture(false); }else{var $a=this._getRowForPagePos($0.getPageX(),$0.getPageY()); if($a!=-1&&$a!=null&&this._getColumnForPageX($0.getPageX())!=null){$1._getSelectionManager().handleMouseUp($a,$0); }}}; qx.Proto._onclick=function($0){var $1=this.getTable(); if(!$1.getEnabled()){return; }var $2=$1.getTableModel(); var $3=$0.getPageX(); var $4=$0.getPageY(); var $5=this._getRowForPagePos($3,$4); if($5==-1){var $6=this._getResizeColumnForPageX($3); if($6==-1){var $7=this._getColumnForPageX($3); if($7!=null&&$2.isColumnSortable($7)){var $8=$2.getSortColumnIndex(); var $9=($7!=$8)?true:!$2.isSortAscending(); $2.sortByColumn($7,$9); $1.getSelectionModel().clearSelection(); }}}else if($5!=null&&this._getColumnForPageX($0.getPageX())!=null){$1._getSelectionManager().handleClick($5,$0); }}; qx.Proto._ondblclick=function($0){if(!this.isEditing()){this._focusCellAtPagePos($0.getPageX(),$0.getPageY()); this.startEditing(); }}; qx.Proto._onmouseout=function($0){var $1=this.getTable(); if(!$1.getEnabled()){return; }if(this._resizeColumn==null){this.getTopLevelWidget().setGlobalCursor(null); }this._header.setMouseOverColumn(null); }; qx.Proto._showResizeLine=function($0){var $1=this._resizeLine; if($1==null){$1=new qx.ui.basic.Terminator; $1.setBackgroundColor($[414]); $1.setWidth(3); this._paneClipper.add($1); qx.ui.core.Widget.flushGlobalQueues(); this._resizeLine=$1; }$1._applyRuntimeLeft($0-2); $1._applyRuntimeHeight(this._paneClipper.getBoxHeight()+this._paneClipper.getScrollTop()); this._resizeLine.removeStyleProperty($[154]); }; qx.Proto._hideResizeLine=function(){this._resizeLine.setStyleProperty($[154],$[25]); }; qx.Proto.showColumnMoveFeedback=function($0){var $1=this.getTablePaneModel(); var $2=this.getTable().getTableColumnModel(); var $3=qx.html.Location.getClientBoxLeft(this._tablePane.getElement()); var $4=$1.getColumnCount(); var $5=0; var $6=0; var $7=$3; for(var $8=0;$8<$4;$8++){var $9=$1.getColumnAtX($8); var $a=$2.getColumnWidth($9); if($0<$7+$a/2){break; }$7+=$a; $5=$8+1; $6=$7-$3; }var $b=qx.html.Location.getClientBoxLeft(this._paneClipper.getElement()); var $c=this._paneClipper.getBoxWidth(); var $d=$b-$3; $6=qx.lang.Number.limit($6,$d+2,$d+$c-1); this._showResizeLine($6); return $1.getFirstColumnX()+$5; }; qx.Proto.hideColumnMoveFeedback=function(){this._hideResizeLine(); }; qx.Proto._focusCellAtPagePos=function($0,$1){var $2=this._getRowForPagePos($0,$1); if($2!=-1&&$2!=null){var $3=this._getColumnForPageX($0); if($3!=null){this._table.setFocusedCell($3,$2); }}}; qx.Proto.setFocusedCell=function($0,$1){if(!this.isEditing()){this._tablePane.setFocusedCell($0,$1,this._updateContentPlanned); this._focusedCol=$0; this._focusedRow=$1; if(!this._updateContentPlanned){this._updateFocusIndicator(); }}}; qx.Proto.getFocusedColumn=function(){return this._focusedCol; }; qx.Proto.getFocusedRow=function(){return this._focusedRow; }; qx.Proto.scrollCellVisible=function($0,$1){var $2=this.getTablePaneModel(); var $3=$2.getX($0); if($3!=-1){var $4=this.getTable().getTableColumnModel(); var $5=$2.getColumnLeft($0); var $6=$4.getColumnWidth($0); var $7=this.getTable().getRowHeight(); var $8=$1*$7; var $9=this.getScrollX(); var $a=this.getScrollY(); var $b=this._paneClipper.getBoxWidth(); var $c=this._paneClipper.getBoxHeight(); var $d=Math.min($5,$5+$6-$b); var $e=$5; this.setScrollX(Math.max($d,Math.min($e,$9))); var $f=$8+$7-$c; if(this.getTable().getKeepFirstVisibleRowComplete()){$f+=$7-1; }var $g=$8; this.setScrollY(Math.max($f,Math.min($g,$a))); }}; qx.Proto.isEditing=function(){return this._cellEditor!=null; }; qx.Proto.startEditing=function(){var $0=this.getTable().getTableModel(); var $1=this._focusedCol; if(!this.isEditing()&&($1!=null)&&$0.isColumnEditable($1)){var $2=this._focusedRow; var $3=this.getTablePaneModel().getX($1); var $4=$0.getValue($1,$2); this._cellEditorFactory=this.getTable().getTableColumnModel().getCellEditorFactory($1); var $5={col:$1,row:$2,xPos:$3,value:$4}; this._cellEditor=this._cellEditorFactory.createCellEditor($5); this._cellEditor.set({width:$[42],height:$[42]}); this._focusIndicator.add(this._cellEditor); this._focusIndicator.addState($[679]); this._cellEditor.addEventListener($[445],this._onCellEditorFocusChanged,this); var $6=this._cellEditor; var $7=this; window.setTimeout(function(){if($7.getDisposed()){return; }$6.focus(); },0); return true; }return false; }; qx.Proto.stopEditing=function(){this.flushEditor(); this.cancelEditing(); }; qx.Proto.flushEditor=function(){if(this.isEditing()){var $0=this._cellEditorFactory.getCellEditorValue(this._cellEditor); this.getTable().getTableModel().setValue(this._focusedCol,this._focusedRow,$0); this._table.focus(); }}; qx.Proto.cancelEditing=function(){if(this.isEditing()){this._focusIndicator.remove(this._cellEditor); this._focusIndicator.removeState($[679]); this._cellEditor.dispose(); this._cellEditor.removeEventListener($[445],this._onCellEditorFocusChanged,this); this._cellEditor=null; this._cellEditorFactory=null; }}; qx.Proto._onCellEditorFocusChanged=function($0){if(!this._cellEditor.getFocused()){this.stopEditing(); }}; qx.Proto._getColumnForPageX=function($0){var $1=qx.html.Location.getClientBoxLeft(this._header.getElement()); var $2=this.getTable().getTableColumnModel(); var $3=this.getTablePaneModel(); var $4=$3.getColumnCount(); var $5=$1; for(var $6=0;$6<$4;$6++){var $7=$3.getColumnAtX($6); var $8=$2.getColumnWidth($7); $5+=$8; if($0<$5){return $7; }}return null; }; qx.Proto._getResizeColumnForPageX=function($0){var $1=qx.html.Location.getClientBoxLeft(this._header.getElement()); var $2=this.getTable().getTableColumnModel(); var $3=this.getTablePaneModel(); var $4=$3.getColumnCount(); var $5=$1; var $6=qx.ui.table.TablePaneScroller.RESIZE_REGION_RADIUS; for(var $7=0;$7<$4;$7++){var $8=$3.getColumnAtX($7); var $9=$2.getColumnWidth($8); $5+=$9; if($0>=($5-$6)&&$0<=($5+$6)){return $8; }}return -1; }; qx.Proto._getRowForPagePos=function($0,$1){var $2=this._paneClipper.getElement(); var $3=qx.html.Location.getClientBoxLeft($2); var $4=qx.html.Location.getClientBoxRight($2); if($0<$3||$0>$4){return null; }var $5=qx.html.Location.getClientBoxTop($2); var $6=qx.html.Location.getClientBoxBottom($2); if($1>=$5&&$1<=$6){var $7=this.getTable().getRowHeight(); var $8=this._verScrollBar.getValue(); if(this.getTable().getKeepFirstVisibleRowComplete()){$8=Math.floor($8/$7)*$7; }var $9=$8+$1-$5; var $a=Math.floor($9/$7); var $b=this.getTable().getTableModel().getRowCount(); return ($a<$b)?$a:null; }var $c=this._headerClipper.getElement(); if($1>=qx.html.Location.getClientBoxTop($c)&&$1<=qx.html.Location.getClientBoxBottom($c)&&$0<=qx.html.Location.getClientBoxRight($c)){return -1; }return null; }; qx.Proto.setTopRightWidget=function($0){var $1=this._topRightWidget; if($1!=null){this._top.remove($1); } if($0!=null){this._top.remove(this._spacer); this._top.add($0); }else if($1!=null){this._top.add(this._spacer); }this._topRightWidget=$0; }; qx.Proto.getHeader=function(){return this._header; }; qx.Proto.getTablePane=function(){return this._tablePane; }; qx.Proto.getNeededScrollBars=function($0,$1){var $2=this._verScrollBar.getPreferredBoxWidth(); var $3=this._paneClipper.getInnerWidth(); if(this.getVerticalScrollBarVisible()){$3+=$2; }var $4=this._paneClipper.getInnerHeight(); if(this.getHorizontalScrollBarVisible()){$4+=$2; }var $5=this.getTablePaneModel().getTotalWidth(); var $6=this.getTable().getRowHeight()*this.getTable().getTableModel().getRowCount(); var $7=false; var $8=false; if($5>$3){$7=true; if($6>$4-$2){$8=true; }}else if($6>$4){$8=true; if(!$1&&($5>$3-$2)){$7=true; }}var $9=qx.ui.table.TablePaneScroller.HORIZONTAL_SCROLLBAR; var $a=qx.ui.table.TablePaneScroller.VERTICAL_SCROLLBAR; return (($0||$7)?$9:0)|(($1||!$8)?0:$a); }; qx.Proto._postponedUpdateContent=function(){if(!this._updateContentPlanned){var $0=this; window.setTimeout(function(){if($0.getDisposed()){return; }$0._updateContent(); $0._updateContentPlanned=false; qx.ui.core.Widget.flushGlobalQueues(); },0); this._updateContentPlanned=true; }}; qx.Proto._updateContent=function(){var $0=this._paneClipper.getInnerHeight(); var $1=this._horScrollBar.getValue(); var $2=this._verScrollBar.getValue(); var $3=this.getTable().getRowHeight(); var $4=Math.floor($2/$3); var $5=this._tablePane.getFirstVisibleRow(); this._tablePane.setFirstVisibleRow($4); var $6=Math.ceil($0/$3); var $7=0; if(!this.getTable().getKeepFirstVisibleRowComplete()){$6++; $7=$2%$3; }this._tablePane.setVisibleRowCount($6); if($4!=$5){this._updateFocusIndicator(); }this._header.setLeft(-$1); this._paneClipper.setScrollLeft($1); this._paneClipper.setScrollTop($7); }; qx.Proto._updateFocusIndicator=function(){var $0=this.getTable(); if(!$0.getEnabled()){return; } if(this._focusedCol==null){this._focusIndicator.hide(); }else{var $1=this.getTablePaneModel().getX(this._focusedCol); if($1==-1){this._focusIndicator.hide(); }else{var $2=$0.getTableColumnModel(); var $3=this.getTablePaneModel(); var $4=this._tablePane.getFirstVisibleRow(); var $5=$0.getRowHeight(); this._focusIndicator.setHeight($5+3); this._focusIndicator.setWidth($2.getColumnWidth(this._focusedCol)+3); this._focusIndicator.setTop((this._focusedRow-$4)*$5-2); this._focusIndicator.setLeft($3.getColumnLeft(this._focusedCol)-2); this._focusIndicator.show(); qx.ui.core.Widget.flushGlobalQueues(); }}}; qx.Proto.dispose=function(){if(this.getDisposed()){return true; } if(this.getElement()!=null){this.getElement().onselectstart=null; }this._verScrollBar.dispose(); this._horScrollBar.dispose(); this._header.dispose(); this._headerClipper.dispose(); this._spacer.dispose(); this._top.dispose(); this._tablePane.dispose(); this._paneClipper.dispose(); if(this._resizeLine!=null){this._resizeLine.dispose(); }this.removeEventListener($[14],this._onmousemove,this); this.removeEventListener($[6],this._onmousedown,this); this.removeEventListener($[7],this._onmouseup,this); this.removeEventListener($[18],this._onclick,this); this.removeEventListener($[41],this._ondblclick,this); this.removeEventListener($[45],this._onmouseout,this); var $0=this.getTablePaneModel(); if($0!=null){$0.removeEventListener($[444],this._onPaneModelChanged,this); }return qx.ui.layout.VerticalBoxLayout.prototype.dispose.call(this); }; qx.Clazz.MIN_COLUMN_WIDTH=10; qx.Clazz.RESIZE_REGION_RADIUS=5; qx.Clazz.CLICK_TOLERANCE=5; qx.Clazz.HORIZONTAL_SCROLLBAR=1; qx.Clazz.VERTICAL_SCROLLBAR=2; qx.Clazz.CURSOR_RESIZE_HORIZONTAL=(qx.core.Client.getInstance().isGecko()&&(qx.core.Client.getInstance().getMajor()>1||qx.core.Client.getInstance().getMinor()>=8))?"ew-resize":"e-resize"; /* ID: qx.ui.core.ScrollBar */ qx.OO.defineClass($[2144],qx.ui.layout.BoxLayout,function($0){qx.ui.layout.BoxLayout.call(this,$0?$[26]:$[27]); this._horizontal=($0==true); this._scrollBar=new qx.ui.layout.CanvasLayout; if(qx.core.Client.getInstance().isGecko()){this._scrollBar.setStyleProperty($[109],$[1]); }this._scrollBar.setOverflow($0?$[158]:$[117]); this._scrollBar.enableInlineEvent($[75]); this._scrollBar.addEventListener($[75],this._onscroll,this); this._scrollContent=new qx.ui.basic.Terminator; if(qx.core.Client.getInstance().isGecko()){this._scrollContent.setStyleProperty($[109],$[1]); }this._scrollBar.add(this._scrollContent); if(this._horizontal){this._scrollContent.setHeight(5); this._scrollBar.setWidth($[42]); this._scrollBar.setHeight(this._getScrollBarWidth()); if(qx.core.Client.getInstance().isMshtml()){this.setHeight(this._getScrollBarWidth()); this.setOverflow($[25]); this._scrollBar.setHeight(this._getScrollBarWidth()+1); this._scrollBar.setTop(-1); }}else{this._scrollContent.setWidth(5); this._scrollBar.setHeight($[42]); this._scrollBar.setWidth(this._getScrollBarWidth()); if(qx.core.Client.getInstance().isMshtml()){this.setWidth(this._getScrollBarWidth()); this.setOverflow($[25]); this._scrollBar.setWidth(this._getScrollBarWidth()+1); this._scrollBar.setLeft(-1); }}this.add(this._scrollBar); this.setMaximum(0); }); qx.OO.addProperty({name:$[85],type:$[2],defaultValue:0,allowNull:false}); qx.OO.addProperty({name:$[1962],type:$[2],allowNull:false}); qx.OO.addProperty({name:$[1846],type:$[3],defaultValue:false,allowNull:false}); qx.Proto._checkValue=function($0,$1){var $2=!this.getElement()?0:(this._horizontal?this.getInnerWidth():this.getInnerHeight()); return Math.max(0,Math.min(this.getMaximum()-$2,$0)); }; qx.Proto._modifyValue=function($0,$1,$2){if(!this._internalValueChange&&this._isCreated){this._positionKnob($0); }return true; }; qx.Proto._modifyMaximum=function($0,$1,$2){if(this._horizontal){this._scrollContent.setWidth($0); }else{this._scrollContent.setHeight($0); }this.setValue(this._checkValue(this.getValue())); return true; }; qx.Proto._modifyVisibility=function($0,$1,$2){if(!$0){this._positionKnob(0); }else{this._positionKnob(this.getValue()); }return qx.ui.layout.BoxLayout.prototype._modifyVisibility.call(this,$0,$1,$2); }; qx.Proto._computePreferredInnerWidth=function(){return this._horizontal?0:this._getScrollBarWidth(); }; qx.Proto._computePreferredInnerHeight=function(){return this._horizontal?this._getScrollBarWidth():0; }; qx.Proto._getScrollBarWidth=function(){if(qx.ui.core.ScrollBar._scrollBarWidth==null){var $0=document.createElement($[55]); $0.style.width=$[373]; $0.style.height=$[373]; $0.style.overflow=$[75]; $0.style.visibility=$[25]; document.body.appendChild($0); qx.ui.core.ScrollBar._scrollBarWidth=$0.offsetWidth-$0.clientWidth; document.body.removeChild($0); }return qx.ui.core.ScrollBar._scrollBarWidth; }; qx.Proto._onscroll=function($0){var $1=this._horizontal?this._scrollBar.getScrollLeft():this._scrollBar.getScrollTop(); if(this.getMergeEvents()){this._lastScrollEventValue=$1; window.clearTimeout(this._setValueTimerId); var $2=this; this._setValueTimerId=window.setTimeout(function(){$2._internalValueChange=true; $2.setValue($2._lastScrollEventValue); $2._internalValueChange=false; qx.ui.core.Widget.flushGlobalQueues(); },qx.ui.core.ScrollBar.EVENT_DELAY); }else{this._internalValueChange=true; this.setValue($1); this._internalValueChange=false; qx.ui.core.Widget.flushGlobalQueues(); }}; qx.Proto._positionKnob=function($0){if(this._horizontal){this._scrollBar.setScrollLeft($0); }else{this._scrollBar.setScrollTop($0); }}; qx.Proto._afterAppear=function(){qx.ui.layout.BoxLayout.prototype._afterAppear.call(this); this._positionKnob(this.getValue()); }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this._scrollContent=null; this._scrollBar=null; this._paneScroller=null; return qx.ui.layout.BoxLayout.prototype.dispose.call(this); }; qx.Clazz.EVENT_DELAY=250; /* ID: qx.ui.table.TablePaneModel */ qx.OO.defineClass($[763],qx.core.Target,function($0){qx.core.Target.call(this); $0.addEventListener($[390],this._onColVisibilityChanged,this); this._tableColumnModel=$0; }); qx.OO.addProperty({name:$[1099],type:$[2],defaultValue:0}); qx.OO.addProperty({name:$[1994],type:$[2],defaultValue:-1}); qx.Proto._modifyFirstColumnX=function($0,$1,$2){this._columnCount=null; this.createDispatchEvent(qx.ui.table.TablePaneModel.EVENT_TYPE_MODEL_CHANGED); return true; }; qx.Proto._modifyMaxColumnCount=function($0,$1,$2){this._columnCount=null; this.createDispatchEvent(qx.ui.table.TablePaneModel.EVENT_TYPE_MODEL_CHANGED); return true; }; qx.Proto._onColVisibilityChanged=function($0){this._columnCount=null; this.createDispatchEvent(qx.ui.table.TablePaneModel.EVENT_TYPE_MODEL_CHANGED); }; qx.Proto.getColumnCount=function(){if(this._columnCount==null){var $0=this.getFirstColumnX(); var $1=this.getMaxColumnCount(); var $2=this._tableColumnModel.getVisibleColumnCount(); if($1==-1||($0+$1)>$2){this._columnCount=$2-$0; }else{this._columnCount=$1; }}return this._columnCount; }; qx.Proto.getColumnAtX=function($0){var $1=this.getFirstColumnX(); return this._tableColumnModel.getVisibleColumnAtX($1+$0); }; qx.Proto.getX=function($0){var $1=this.getFirstColumnX(); var $2=this.getMaxColumnCount(); var $3=this._tableColumnModel.getVisibleX($0)-$1; if($3>=0&&($2==-1||$3<$2)){return $3; }else{return -1; }}; qx.Proto.getColumnLeft=function($0){var $1=0; var $2=this.getColumnCount(); for(var $3=0;$3<$2;$3++){var $4=this.getColumnAtX($3); if($4==$0){return $1; }$1+=this._tableColumnModel.getColumnWidth($4); }return -1; }; qx.Proto.getTotalWidth=function(){var $0=0; var $1=this.getColumnCount(); for(var $2=0;$2<$1;$2++){var $3=this.getColumnAtX($2); $0+=this._tableColumnModel.getColumnWidth($3); }return $0; }; qx.Clazz.EVENT_TYPE_MODEL_CHANGED="modelChanged"; /* ID: qx.ui.basic.VerticalSpacer */ qx.OO.defineClass($[2187],qx.ui.basic.Terminator,function(){qx.ui.basic.Terminator.call(this); this.setHeight($[44]); }); /* ID: custom.translation.pt_BR */ qx.Locale.define($[2015],{}); /* ID: elite.ui.form.CheckBoxList */ qx.OO.defineClass($[1663],qx.ui.layout.VerticalBoxLayout,function(){qx.ui.layout.VerticalBoxLayout.call(this); var $0=this._optionsMenu=new qx.ui.menu.Menu; var $1=new qx.ui.menu.Button($[503]); $1.addEventListener($[11],function(){this.selectAll(); },this); var $2=new qx.ui.menu.Button($[479]); $2.addEventListener($[11],function(){this.deselectAll(); },this); var $3=new qx.ui.menu.Button($[477]); $3.addEventListener($[11],function(){this.invertSelection(); },this); $0.add($1,$2,$3); this.setOverflow($[5]); this.setBorder(qx.renderer.border.BorderPresets.getInstance().thinInset); this.setBackgroundColor(new qx.renderer.color.Color($[65])); this.addEventListener($[156],function($4){if(this._optionsMenu.isSeeable()){this._optionsMenu.hide(); }else{this._optionsMenu.setParent(this.getTopLevelWidget()); this._optionsMenu.setLeft($4.getScreenX()); this._optionsMenu.setTop($4.getScreenY()-150); this._optionsMenu.show(); }},this); this.setTabIndex(1); }); qx.Proto.getCheckedItemsLabels=function(){var $0=this.getChildren(); var $1=[]; var $2=0; for(var $3=0;$3<$0.length;$3++){var $4=$0[$3]; if($4 instanceof qx.ui.form.CheckBox&&$4.getChecked()){$1[$2]=$4.getLabel(); $2++; }}return $1; }; qx.Proto.getCheckedItemsValues=function(){var $0=this.getChildren(); var $1=[]; var $2=0; for(var $3=0;$3<$0.length;$3++){var $4=$0[$3]; if($4 instanceof qx.ui.form.CheckBox&&$4.getChecked()){$1[$2]=$4.getValue(); $2++; }}return $1; }; qx.Proto.selectAll=function(){this.forEachChild(function(){if(this instanceof qx.ui.form.CheckBox){this.setChecked(true); }}); }; qx.Proto.deselectAll=function(){this.forEachChild(function(){if(this instanceof qx.ui.form.CheckBox){this.setChecked(false); }}); }; qx.Proto.invertSelection=function(){this.forEachChild(function(){if(this instanceof qx.ui.form.CheckBox){this.setChecked(!this.getChecked()); }}); }; qx.Proto.removeAllItems=function(){this.removeAll(); }; qx.Proto.dispose=function(){if(this.getDisposed()){return; } if(this._optionsMenu){if(!qx.core.Object.inGlobalDispose())this._optionsMenu.setParent(null); this._optionsMenu.dispose(); this._optionsMenu=null; }return qx.ui.layout.VerticalBoxLayout.prototype.dispose.call(this); }; /* ID: elite.ui.tree.TreeFile */ qx.OO.defineClass($[2108],qx.ui.tree.TreeFile,function($0,$1,$2,$3){qx.ui.tree.TreeFile.call(this,$0,$2,$3); if(!$1){$1=null; }this.setValue($1); }); qx.OO.addProperty({name:$[85],type:$[0],defaultValue:$[1]}); /* ID: elite.ui.desktop.Icon */ qx.OO.defineClass($[1213],qx.ui.basic.Atom,function($0,$1,$2,$3,$4){qx.ui.basic.Atom.call(this,$0,$1,$2,$3,$4); this.addEventListener($[41],this._ondblclick); this.addEventListener($[6],this._onmousedown); this.addEventListener($[14],this._onmousemove); this.addEventListener($[7],this._onmouseup); this.addEventListener($[17],this._onkeypress); this.addEventListener($[143],this._onfocus); this.addEventListener($[123],this._onblur); this.setIconPosition($[16]); this.setPadding(2,4); this.setTabIndex(1); }); qx.OO.addProperty({name:$[880],type:$[4],instance:$[93],defaultValue:null}); qx.OO.addProperty({name:$[793],type:$[4],instance:$[93],defaultValue:null}); qx.Proto._ondblclick=function($0){this.execute(); }; qx.Proto._onmousedown=function($0){this.setCapture(true); this._offsetX=$0.getPageX()-this.getLeft(); this._offsetY=$0.getPageY()-this.getTop(); }; qx.Proto._onmousemove=function($0){if(this.getCapture()){this.setLeft($0.getPageX()-this._offsetX); this.setTop($0.getPageY()-this._offsetY); }}; qx.Proto._onmouseup=function($0){this.setCapture(false); }; qx.Proto._onfocus=function($0){this._unselectedBackgroundColor=this.getBackgroundColor(); this._unselectedColor=this.getColor(); this.setBackgroundColor(this.getSelectedBackgroundColor()); this.setColor(this.getSelectedColor()); }; qx.Proto._onblur=function($0){this.setBackgroundColor(this._unselectedBackgroundColor); this.setColor(this._unselectedColor); }; qx.Proto._onkeypress=function($0){switch($0.getKeyIdentifier()){case $[34]:this.execute(); break; }}; qx.Proto.setBackgroundColor=function($0){var $1=this.getLabelObject(); if($1){$1.setBackgroundColor($0); }}; qx.Proto.setWidth=function($0){qx.ui.basic.Atom.prototype.setWidth.call(this,$0); var $1=this.getLabelObject(); if($1){$1.setWidth($0); }}; qx.Proto.setLabel=function($0){qx.ui.basic.Atom.prototype.setLabel.call(this,$0); var $1=this.getLabelObject(); if($1){$1.setWrap(true); $1.setTextAlign($[80]); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return true; }this.removeEventListener($[41],this._ondblclick); this.removeEventListener($[6],this._onmousedown); this.removeEventListener($[14],this._onmousemove); this.removeEventListener($[7],this._onmouseup); this.removeEventListener($[17],this._onkeypress); this.removeEventListener($[143],this._onfocus); this.removeEventListener($[123],this._onblur); return qx.ui.basic.Atom.prototype.dispose.call(this); }; /* ID: qx.theme.color.WindowsLunaGreen */ qx.OO.defineClass($[2553],qx.renderer.theme.ColorTheme,function(){qx.renderer.theme.ColorTheme.call(this,$[1506]); }); qx.Proto._colors=qx.lang.Object.carefullyMergeWith({activeborder:[212,208,200],activecaption:[139,161,105],appworkspace:[128,128,128],background:[157,172,189],buttonface:[236,233,216],buttonhighlight:[255,255,255],buttonshadow:[172,168,153],buttontext:[0,0,0],captiontext:[255,255,255],graytext:[172,168,153],highlight:[147,160,112],highlighttext:[255,255,255],inactiveborder:[212,208,200],inactivecaption:[212,214,186],inactivecaptiontext:[255,255,255],infobackground:[255,255,225],infotext:[0,0,0],menu:[255,255,255],menutext:[0,0,0],scrollbar:[212,208,200],threeddarkshadow:[113,111,100],threedface:[236,233,216],threedhighlight:[255,255,255],threedlightshadow:[241,239,226],threedshadow:[172,168,153],window:[255,255,255],windowframe:[0,0,0],windowtext:[0,0,0]},qx.Super.prototype._colors); qx.Clazz.getInstance=qx.lang.Function.returnInstance; qx.manager.object.ColorManager.getInstance().registerColorTheme(qx.Clazz); /* ID: elite.ui.form.RadioButton */ qx.OO.defineClass($[1843],qx.ui.form.RadioButton,function($0,$1,$2,$3){qx.ui.form.RadioButton.call(this,$0,$1,$2,$3); }); qx.OO.addProperty({name:$[208],type:$[0],defaultValue:$[1]}); /* ID: qx.locale.data.pt_BR */ qx.Locale.define($[2271],{}); /* ID: qx.xml.Element */ qx.OO.defineClass($[2536]); qx.Clazz.serialize=function($0){}; if(window.XMLSerializer){qx.Clazz.serialize=function($0){var $0=qx.xml.Document.isDocument($0)?$0.documentElement:$0; return (new XMLSerializer()).serializeToString($0); }; }else{qx.Clazz.serialize=function($0){var $0=qx.xml.Document.isDocument($0)?$0.documentElement:$0; return $0.xml||$0.outerHTML; }; }qx.Clazz.selectSingleNode=function($0,$1){}; if(window.XPathEvaluator){qx.Clazz.selectSingleNode=function($0,$1){var $2=new XPathEvaluator(); return $2.evaluate($1,$0,$2.createNSResolver($0),XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue; }; }else if(qx.core.Client.getInstance().isMshtml()||document.selectSingleNode){qx.Clazz.selectSingleNode=function($0,$1){return $0.selectSingleNode($1); }; }qx.Clazz.selectNodes=function($0,$1){}; if(window.XPathEvaluator){qx.Clazz.selectNodes=function($0,$1){var $2=new XPathEvaluator(); var $3=$2.evaluate($1,$0,$2.createNSResolver($0),XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null); var $4=[]; for(var $5=0;$5<$3.snapshotLength;$5++){$4[$5]=$3.snapshotItem($5); }return $4; }; }else if(qx.core.Client.getInstance().isMshtml()||document.selectNodes){qx.Clazz.selectNodes=function($0,$1){return $0.selectNodes($1); }; }qx.Clazz.getElementsByTagNameNS=function($0,$1,$2){}; if(document.getElementsByTagNameNS){qx.Clazz.getElementsByTagNameNS=function($0,$1,$2){return $0.getElementsByTagNameNS($1,$2); }; }else if(qx.core.Client.getInstance().isMshtml()){qx.Clazz.getElementsByTagNameNS=function($0,$1,$2){var $3=$0.ownerDocument||$0; $3.setProperty($[1502],$[1953]); $3.setProperty($[2686],$[1636]+$1+$[84]); return qx.xml.Element.selectNodes($0,$[2205]+$2); }; } /* ID: qx.locale.data.C */ qx.Locale.define($[1150],{cldr_alternateQuotationEnd:$[296],cldr_alternateQuotationStart:$[238],cldr_date_format_full:$[704],cldr_date_format_long:$[762],cldr_date_format_medium:$[776],cldr_date_format_short:$[596],cldr_date_time_format_HHmm:$[195],cldr_date_time_format_HHmmss:$[137],cldr_date_time_format_MMMMd:$[923],cldr_date_time_format_Md:$[765],cldr_date_time_format_mmss:$[424],cldr_date_time_format_yyMM:$[252],cldr_date_time_format_yyQQQQ:$[270],cldr_date_time_format_yyyyMMM:$[952],cldr_day_abbreviated_fri:$[730],cldr_day_abbreviated_mon:$[738],cldr_day_abbreviated_sat:$[932],cldr_day_abbreviated_sun:$[660],cldr_day_abbreviated_thu:$[629],cldr_day_abbreviated_tue:$[655],cldr_day_abbreviated_wed:$[855],cldr_day_narrow_fri:$[132],cldr_day_narrow_mon:$[57],cldr_day_narrow_sat:$[66],cldr_day_narrow_sun:$[66],cldr_day_narrow_thu:$[245],cldr_day_narrow_tue:$[245],cldr_day_narrow_wed:$[971],cldr_day_wide_fri:$[600],cldr_day_wide_mon:$[916],cldr_day_wide_sat:$[938],cldr_day_wide_sun:$[795],cldr_day_wide_thu:$[750],cldr_day_wide_tue:$[934],cldr_day_wide_wed:$[594],cldr_month_abbreviated_1:$[459],cldr_month_abbreviated_10:$[598],cldr_month_abbreviated_11:$[561],cldr_month_abbreviated_12:$[870],cldr_month_abbreviated_2:$[498],cldr_month_abbreviated_3:$[957],cldr_month_abbreviated_4:$[540],cldr_month_abbreviated_5:$[315],cldr_month_abbreviated_6:$[448],cldr_month_abbreviated_7:$[484],cldr_month_abbreviated_8:$[508],cldr_month_abbreviated_9:$[397],cldr_month_narrow_1:$[63],cldr_month_narrow_10:$[179],cldr_month_narrow_11:$[209],cldr_month_narrow_12:$[121],cldr_month_narrow_2:$[132],cldr_month_narrow_3:$[57],cldr_month_narrow_4:$[61],cldr_month_narrow_5:$[57],cldr_month_narrow_6:$[63],cldr_month_narrow_7:$[63],cldr_month_narrow_8:$[61],cldr_month_narrow_9:$[66],cldr_month_wide_1:$[883],cldr_month_wide_10:$[702],cldr_month_wide_11:$[538],cldr_month_wide_12:$[783],cldr_month_wide_2:$[741],cldr_month_wide_3:$[821],cldr_month_wide_4:$[542],cldr_month_wide_5:$[315],cldr_month_wide_6:$[866],cldr_month_wide_7:$[752],cldr_month_wide_8:$[362],cldr_month_wide_9:$[482],cldr_number_decimal_separator:$[50],cldr_number_group_separator:$[19],cldr_quotationEnd:$[469],cldr_quotationStart:$[309],cldr_time_format_full:$[841],cldr_time_format_long:$[782],cldr_time_format_medium:$[922],cldr_time_format_short:$[722]}); /* ID: qx.xml.String */ qx.OO.defineClass($[1890]); qx.Clazz.escape=function($0){return qx.dom.String.escapeEntities($0,qx.xml.Entity.FROM_CHARCODE); }; qx.Clazz.unescape=function($0){return qx.dom.String.unescapeEntities($0,qx.xml.Entity.TO_CHARCODE); }; /* ID: qx.xml.Entity */ qx.OO.defineClass($[983]); qx.Clazz.TO_CHARCODE={"quot":34,"amp":38,"lt":60,"gt":62,"apos":39}; qx.Clazz.FROM_CHARCODE=qx.lang.Object.invert(qx.Clazz.TO_CHARCODE); /* ID: qx.locale.data.de_DE */ qx.Locale.define($[1354],{}); /* ID: qx.locale.data.de */ qx.Locale.define($[1505],{cldr_alternateQuotationEnd:$[238],cldr_alternateQuotationStart:$[2924],cldr_am:$[2894],cldr_date_format_full:$[2539],cldr_date_format_long:$[2773],cldr_date_format_medium:$[1990],cldr_date_format_short:$[2403],cldr_date_time_format_HHmm:$[195],cldr_date_time_format_HHmmss:$[137],cldr_date_time_format_MMMMd:$[1048],cldr_date_time_format_MMdd:$[1328],cldr_date_time_format_hhmm:$[394],cldr_date_time_format_hhmmss:$[504],cldr_date_time_format_yyMM:$[1072],cldr_date_time_format_yyQQQQ:$[270],cldr_date_time_format_yyyyMMMM:$[789],cldr_day_abbreviated_fri:$[2099],cldr_day_abbreviated_mon:$[2779],cldr_day_abbreviated_sat:$[1240],cldr_day_abbreviated_sun:$[1280],cldr_day_abbreviated_thu:$[1709],cldr_day_abbreviated_tue:$[2534],cldr_day_abbreviated_wed:$[2516],cldr_day_narrow_fri:$[132],cldr_day_narrow_mon:$[57],cldr_day_narrow_sat:$[66],cldr_day_narrow_sun:$[66],cldr_day_narrow_thu:$[121],cldr_day_narrow_tue:$[121],cldr_day_narrow_wed:$[57],cldr_day_wide_fri:$[1186],cldr_day_wide_mon:$[3008],cldr_day_wide_sat:$[1675],cldr_day_wide_sun:$[2740],cldr_day_wide_thu:$[2328],cldr_day_wide_tue:$[2043],cldr_day_wide_wed:$[1106],cldr_month_abbreviated_1:$[459],cldr_month_abbreviated_10:$[2715],cldr_month_abbreviated_11:$[561],cldr_month_abbreviated_12:$[1745],cldr_month_abbreviated_2:$[498],cldr_month_abbreviated_3:$[1339],cldr_month_abbreviated_4:$[540],cldr_month_abbreviated_5:$[691],cldr_month_abbreviated_6:$[448],cldr_month_abbreviated_7:$[484],cldr_month_abbreviated_8:$[508],cldr_month_abbreviated_9:$[397],cldr_month_narrow_1:$[63],cldr_month_narrow_10:$[179],cldr_month_narrow_11:$[209],cldr_month_narrow_12:$[121],cldr_month_narrow_2:$[132],cldr_month_narrow_3:$[57],cldr_month_narrow_4:$[61],cldr_month_narrow_5:$[57],cldr_month_narrow_6:$[63],cldr_month_narrow_7:$[63],cldr_month_narrow_8:$[61],cldr_month_narrow_9:$[66],cldr_month_wide_1:$[2774],cldr_month_wide_10:$[2637],cldr_month_wide_11:$[538],cldr_month_wide_12:$[1369],cldr_month_wide_2:$[1813],cldr_month_wide_3:$[2824],cldr_month_wide_4:$[542],cldr_month_wide_5:$[691],cldr_month_wide_6:$[2723],cldr_month_wide_7:$[2121],cldr_month_wide_8:$[362],cldr_month_wide_9:$[482],cldr_number_decimal_separator:$[19],cldr_number_group_separator:$[50],cldr_number_percent_format:$[1601],cldr_pm:$[1310],cldr_quotationEnd:$[309],cldr_quotationStart:$[1536],cldr_time_format_full:$[2821]}); /* ID: qx.theme.color.WindowsLunaBlue */ qx.OO.defineClass($[1457],qx.renderer.theme.ColorTheme,function(){qx.renderer.theme.ColorTheme.call(this,$[2510]); }); qx.Proto._colors=qx.lang.Object.carefullyMergeWith({activeborder:[212,208,200],activecaption:[0,84,227],appworkspace:[128,128,128],background:[0,78,152],buttonface:[236,233,216],buttonhighlight:[255,255,255],buttonshadow:[172,168,153],buttontext:[0,0,0],captiontext:[255,255,255],graytext:[172,168,153],highlight:[49,106,197],highlighttext:[255,255,255],inactiveborder:[212,208,200],inactivecaption:[122,150,223],inactivecaptiontext:[216,228,248],infobackground:[255,255,225],infotext:[0,0,0],menu:[255,255,255],menutext:[0,0,0],scrollbar:[212,208,200],threeddarkshadow:[113,111,100],threedface:[236,233,216],threedhighlight:[255,255,255],threedlightshadow:[241,239,226],threedshadow:[172,168,153],window:[255,255,255],windowframe:[0,0,0],windowtext:[0,0,0]},qx.Super.prototype._colors); qx.Clazz.getInstance=qx.lang.Function.returnInstance; qx.manager.object.ColorManager.getInstance().registerColorTheme(qx.Clazz); /* ID: qx.ui.menubar.Button */ qx.OO.defineClass($[1611],qx.ui.toolbar.MenuButton,function($0,$1,$2,$3,$4,$5){qx.ui.toolbar.MenuButton.call(this,$0,$1,$2,$3,$4,$5); }); /* ID: qx.ui.pageview.AbstractPane */ qx.OO.defineClass($[1242],qx.ui.layout.CanvasLayout,function(){qx.ui.layout.CanvasLayout.call(this); }); /* ID: qx.type.Version */ qx.OO.defineClass($[1343],qx.core.Object,function($0){qx.core.Object.call(this); if(typeof $0===$[0]){$0=$0.split($[50]); }this._major=parseInt($0[0])||0; this._minor=parseInt($0[1])||0; this._rev=parseInt($0[2])||0; }); qx.Proto._major=0; qx.Proto._minor=0; qx.Proto._rev=0; qx.Proto.versionIsValid=function($0){if(this.getMajor()<$0.getMajor())return false; if(this.getMajor()>$0.getMajor())return true; if(this.getMinor()<$0.getMinor())return false; if(this.getMinor()>$0.getMinor())return true; if(this.getRev()<$0.getRev())return false; return true; }; qx.Proto.getMajor=function(){return this._major; }; qx.Proto.getMinor=function(){return this._minor; }; qx.Proto.getRev=function(){return this._rev; }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this._major=this._minor=this._rev=null; qx.core.Object.prototype.dispose.call(this); }; /* ID: qx.ui.treevirtual.SimpleTreeDataCellRenderer */ qx.OO.defineClass($[2460],qx.ui.table.AbstractDataCellRenderer,function(){qx.ui.table.AbstractDataCellRenderer.call(this); var $0=qx.manager.object.AliasManager; this.WIDGET_TREE_URI=$0.getInstance().resolvePath("widget/tree/"); this.STATIC_IMAGE_URI=$0.getInstance().resolvePath("static/image/"); }); qx.OO.addProperty({name:$[200],type:$[3],defaultValue:true,getAlias:$[200]}); qx.OO.addProperty({name:$[2649],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[1659],type:$[3],defaultValue:false}); qx.Proto._getCellStyle=function($0){var $1=$0.value; var $2=$0.style+qx.ui.treevirtual.SimpleTreeDataCellRenderer.MAIN_DIV_STYLE+($1.cellStyle?$1.cellStyle+$[77]:$[1]); return $2; }; qx.Proto._getContentHtml=function($0){var $1=$[1]; var $2=$0.value; var $3; var $4=this; var $5=qx.ui.treevirtual.SimpleTreeDataCellRenderer; function $6($7){var $1=$5.IMG_START; var $8=qx.manager.object.AliasManager; if(qx.core.Client.getInstance().isMshtml()&&/\.png$/i.test($7.url)){$1+=this.STATIC_IMAGE_URI+$[360]+$[894]+$[1475]+$[1970]+$8.getInstance().resolvePath($7.url)+$[193]; }else{var $3=$8.getInstance().resolvePath($7.url); $1+=$3+$[706]; } if($7.imageWidth&&$7.imageHeight){$1+=$[382]+$7.imageWidth+$[239]+$[859]+$7.imageHeight+$[239]; }var $9=$7.tooltip; if($9!=null){$1+=$5.IMG_TITLE_START+$9; }$1+=$5.IMG_END; return $1; }var $7=this.getUseTreeLines(); var $8=this.getExcludeFirstLevelTreeLines(); var $9=this.getAlwaysShowOpenCloseSymbol(); for(var $a=0;$a<$2.level;$a++){$3=this._getIndentSymbol($a,$2,$7,$9,$8); $1+=$6({url:$3,imageWidth:19,imageHeight:16}); }$3=($2.bSelected?$2.iconSelected:$2.icon); if(!$3){if($2.type==qx.ui.treevirtual.SimpleTreeDataModel.Type.LEAF){$3=($2.bSelected?$[2186]:$[487]); }else{$3=($2.bSelected?$[415]:$[384]); }}$1+=$6({url:$3,imageWidth:16,imageHeight:16}); $1+=$[1391]+$[1474]+(($2.level*19)+16+2+2)+$[2358]+$[2828]+($2.labelStyle?$[77]+$2.labelStyle:$[1])+$[2083]+$2.label+$[618]; return $1; }; qx.Proto._getIndentSymbol=function($0,$1,$2,$3,$4){if($0==0&&$4){$2=false; }if($0<$1.level-1){return ($2&&!$1.lastChild[$0]?this.WIDGET_TREE_URI+$[1309]:this.STATIC_IMAGE_URI+$[360]); }var $5=$1.lastChild[$1.lastChild.length-1]; if($1.type==qx.ui.treevirtual.SimpleTreeDataModel.Type.BRANCH&&!$1.bHideOpenClose){var $6=null; for($6 in $1.children){break; }if($6!==null||$3){if(!$2){return ($1.bOpened?this.WIDGET_TREE_URI+$[2655]:this.WIDGET_TREE_URI+$[1395]); }if($0==0&&$1.bFirstChild){if($5){return ($1.bOpened?this.WIDGET_TREE_URI+$[1487]:this.WIDGET_TREE_URI+$[1282]); }else{return ($1.bOpened?this.WIDGET_TREE_URI+$[2834]:this.WIDGET_TREE_URI+$[2216]); }}if($5){return ($1.bOpened?this.WIDGET_TREE_URI+$[1879]:this.WIDGET_TREE_URI+$[1447]); }return ($1.bOpened?this.WIDGET_TREE_URI+$[1594]:this.WIDGET_TREE_URI+$[2940]); }}if($2){return ($5?this.WIDGET_TREE_URI+$[2635]:this.WIDGET_TREE_URI+$[2430]); }return this.STATIC_IMAGE_URI+$[360]; }; qx.Clazz.MAIN_DIV_STYLE=';overflow:hidden;white-space:nowrap;border-right:1px solid #eeeeee;'+'padding-left:2px;padding-right:2px;cursor:default'+(qx.core.Client.getInstance().isMshtml()?'':';-moz-user-select:none;'); qx.Clazz.IMG_START=''; qx.Clazz.IMG_TITLE_START='" title="'; /* ID: qx.ui.treevirtual.SimpleTreeDataModel */ qx.OO.defineClass($[2863],qx.ui.table.AbstractTableModel,function(){qx.ui.table.AbstractTableModel.call(this); this._rowArr=[]; this._nodeArr=[]; this._nodeRowMap=[]; this._treeColumn=0; this._selections={}; this._nodeArr.push({label:$[1205],bOpened:true,children:[]}); }); qx.Proto.setEditable=function($0){throw new Error("Tree columns can not be made editable"); }; qx.Proto.setColumnEditable=function($0,$1){throw new Error("Tree columns can not be made editable"); }; qx.Proto.isColumnEditable=function($0){return false; }; qx.Proto.isColumnSortable=function($0){return false; }; qx.Proto.sortByColumn=function($0,$1){throw new Error("Trees can not be sorted by column"); }; qx.Proto.getSortColumnIndex=function(){return -1; }; qx.Proto.setTreeColumn=function($0){this._treeColumn=$0; }; qx.Proto.getTreeColumn=function(){return this._treeColumn; }; qx.Proto.getRowCount=function(){return this._rowArr.length; }; qx.Proto.getRowData=function($0){return this._rowArr[$0]; }; qx.Proto.getValue=function($0,$1){if($1<0||$1>=this._rowArr.length){throw new Error("this._rowArr row "+"("+$1+") out of bounds: "+this._rowArr+" (0.."+(this._rowArr.length-1)+")"); b; } if($0<0||$0>=this._rowArr[$1].length){throw new Error("this._rowArr column "+"("+$0+") out of bounds: "+this._rowArr[$1]+" (0.."+(this._rowArr[$1].length-1)+")"); }return this._rowArr[$1][$0]; }; qx.Proto._addNode=function($0,$1,$2,$3,$4,$5,$6){var $7; if($0){$7=this._nodeArr[$0]; if(!$7){throw new Error("Request to add a child to a non-existent parent"); }if($7.type==qx.ui.treevirtual.SimpleTreeDataModel.Type.LEAF){throw new Error("Sorry, a LEAF may not have children."); }}else{$7=this._nodeArr[0]; $0=0; }if($4==qx.ui.treevirtual.SimpleTreeDataModel.Type.LEAF){$2=false; bHideOpenClose=false; }var $8=this._nodeArr.length; var $9={type:$4,parentNodeId:$0,label:$1,bSelected:false,bOpened:$2,bHideOpenClose:$3,icon:$5,iconSelected:$6,children:[],columnData:[]}; this._nodeArr.push($9); $7.children.push($8); return $8; }; qx.Proto.addBranch=function($0,$1,$2,$3,$4,$5){return this._addNode($0,$1,$2,$3,qx.ui.treevirtual.SimpleTreeDataModel.Type.BRANCH,$4,$5); }; qx.Proto.addLeaf=function($0,$1,$2,$3){return this._addNode($0,$1,false,false,qx.ui.treevirtual.SimpleTreeDataModel.Type.LEAF,$2,$3); }; qx.Proto.prune=function($0,$1){for(var $2=this._nodeArr[$0].children.length-1;$2>=0;$2--){this.prune(this._nodeArr[$0].children[$2],true); } if($1){var $3=this._nodeArr[$0]; qx.lang.Array.remove(this._nodeArr[$3.parentNodeId].children,$0); if(this._selections[$0]){delete this._selections[$0]; }this._nodeArr[$0]=null; }}; qx.Proto.setData=function($0){var $1=this; function $2(){var $3=function($4,$5){var $6=null; var $7; var $8=$1._nodeArr[$4].children.length; for(var $9=0;$9<$8;$9++){$7=$1._nodeArr[$4].children[$9]; $6=$1._nodeArr[$7]; if($6==null){continue; }$6.nodeId=$7; $6.level=$5; $6.bFirstChild=($9==0); $6.lastChild=[$9==$8-1]; var $a=$1._nodeArr[$6.parentNodeId]; while($a.nodeId){var $b=$a.lastChild[$a.lastChild.length-1]; $6.lastChild.unshift($b); $a=$1._nodeArr[$a.parentNodeId]; }if(!$6.columnData){$6.columnData=[]; } if($6.columnData.length<$1.getColumnCount()){$6.columnData[$1.getColumnCount()-1]=null; }var $c=[]; if($6.columnData){for(var $d=0;$d<$6.columnData.length;$d++){if($d==$1._treeColumn){$c.push($6); }else{$c.push($6.columnData[$d]); }}}else{$c.push($6); }if($6.bSelected){$c.selected=true; }$1._nodeRowMap[$6.nodeId]=$1._rowArr.length; $1._rowArr.push($c); if($6.bOpened){$3($7,$5+1); }}}; $1._rowArr=[]; $1._nodeRowMap=[]; $3(0,1); if($1.hasEventListeners(qx.ui.table.TableModel.EVENT_TYPE_DATA_CHANGED)){var $4={firstRow:0,lastRow:$1._rowArr.length-1,firstColumn:0,lastColumn:$1.getColumnCount()-1}; $1.dispatchEvent(new qx.event.type.DataEvent(qx.ui.table.TableModel.EVENT_TYPE_DATA_CHANGED,$4),true); }} if($0 instanceof Array){for(i=0;i<$0.length;i++){if($0[i].selected){this._selections[i]=true; }}this._nodeArr=$0; }else if($0!==null&&$0!==undefined){throw new Error("Expected array of node objects or null/undefined; got "+typeof ($0)); }$2(); }; qx.Proto.getData=function(){return this._nodeArr; }; qx.Proto.setColumnData=function($0,$1,$2){this._nodeArr[$0].columnData[$1]=$2; }; qx.Proto.getColumnData=function($0,$1,$2){return this._nodeArr[$0].columnData[$1]; }; qx.Proto.setState=function($0,$1){for(var $2 in $1){if($2==$[2879]){if($1[$2]){this._selections[$0]=true; }else{delete this._selections[$0]; }}this._nodeArr[$0][$2]=$1[$2]; }}; qx.Proto.getNodeRowMap=function(){return this._nodeRowMap; }; qx.Proto._clearSelections=function(){for(var $0 in this._selections){this._nodeArr[$0].bSelected=false; }this._selections={}; }; qx.Proto.getSelectedNodes=function(){var $0=[]; for(var $1 in this._selections){$0.push(this._nodeArr[$1]); }return $0; }; qx.Clazz.Type={}; qx.Clazz.Type.LEAF=1; qx.Clazz.Type.BRANCH=2; /* ID: qx.theme.color.WindowsLunaSilver */ qx.OO.defineClass($[2172],qx.renderer.theme.ColorTheme,function(){qx.renderer.theme.ColorTheme.call(this,$[1153]); }); qx.Proto._colors=qx.lang.Object.carefullyMergeWith({activeborder:[212,208,200],activecaption:[192,192,192],appworkspace:[128,128,128],background:[88,87,104],buttonface:[224,223,227],buttonhighlight:[255,255,255],buttonshadow:[157,157,161],buttontext:[0,0,0],captiontext:[14,16,16],graytext:[172,168,153],highlight:[178,180,191],highlighttext:[0,0,0],inactiveborder:[212,208,200],inactivecaption:[255,255,255],inactivecaptiontext:[162,161,161],infobackground:[255,255,225],infotext:[0,0,0],menu:[255,255,255],menutext:[0,0,0],scrollbar:[212,208,200],threeddarkshadow:[113,111,100],threedface:[224,223,227],threedhighlight:[255,255,255],threedlightshadow:[241,239,226],threedshadow:[157,157,161],window:[255,255,255],windowframe:[0,0,0],windowtext:[0,0,0]},qx.Super.prototype._colors); qx.Clazz.getInstance=qx.lang.Function.returnInstance; qx.manager.object.ColorManager.getInstance().registerColorTheme(qx.Clazz); /* ID: elite.ui.hiddenPane.HiddenPane */ qx.OO.defineClass($[2485],qx.ui.layout.CanvasLayout,function(){qx.ui.layout.CanvasLayout.call(this); }); qx.OO.addProperty({name:$[1492],type:$[3],defaultValue:false}); qx.Proto._modifyLeftHidden=function($0,$1,$2){if($0){var $3=this.getChildren(); for(var $4=0;$4<$3.length;$4++){if($3[$4] instanceof elite.ui.hiddenPane.RightPane){var $5=$3[$4]; $5.hiddenExecute(); }}}else{var $3=this.getChildren(); for(var $4=0;$4<$3.length;$4++){if($3[$4] instanceof elite.ui.hiddenPane.RightPane){var $5=$3[$4]; $5.showExecute(); }}}return true; }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; }return qx.ui.layout.CanvasLayout.prototype.dispose.call(this); }; /* ID: qx.locale.data.es */ qx.Locale.define($[2913],{cldr_alternateQuotationEnd:$[296],cldr_alternateQuotationStart:$[238],cldr_am:$[2550],cldr_date_format_full:$[990],cldr_date_format_long:$[2138],cldr_date_format_medium:$[1774],cldr_date_format_short:$[2570],cldr_date_time_format_HHmm:$[195],cldr_date_time_format_HHmmss:$[137],cldr_date_time_format_MMMdd:$[2359],cldr_date_time_format_MMd:$[1068],cldr_date_time_format_hhmm:$[394],cldr_date_time_format_hhmmss:$[504],cldr_date_time_format_yyMM:$[252],cldr_date_time_format_yyMMM:$[1721],cldr_date_time_format_yyQQQQ:$[270],cldr_day_abbreviated_fri:$[2716],cldr_day_abbreviated_mon:$[1983],cldr_day_abbreviated_sat:$[567],cldr_day_abbreviated_sun:$[856],cldr_day_abbreviated_thu:$[1923],cldr_day_abbreviated_tue:$[492],cldr_day_abbreviated_wed:$[1495],cldr_day_narrow_fri:$[764],cldr_day_narrow_mon:$[466],cldr_day_narrow_sat:$[66],cldr_day_narrow_sun:$[121],cldr_day_narrow_thu:$[63],cldr_day_narrow_tue:$[57],cldr_day_narrow_wed:$[57],cldr_day_wide_fri:$[1363],cldr_day_wide_mon:$[2645],cldr_day_wide_sat:$[942],cldr_day_wide_sun:$[884],cldr_day_wide_thu:$[1162],cldr_day_wide_tue:$[2949],cldr_day_wide_wed:$[2533],cldr_month_abbreviated_1:$[2248],cldr_month_abbreviated_10:$[2236],cldr_month_abbreviated_11:$[890],cldr_month_abbreviated_12:$[1423],cldr_month_abbreviated_2:$[2856],cldr_month_abbreviated_3:$[492],cldr_month_abbreviated_4:$[666],cldr_month_abbreviated_5:$[1933],cldr_month_abbreviated_6:$[963],cldr_month_abbreviated_7:$[670],cldr_month_abbreviated_8:$[624],cldr_month_abbreviated_9:$[2427],cldr_month_narrow_1:$[2977],cldr_month_narrow_10:$[179],cldr_month_narrow_11:$[209],cldr_month_narrow_12:$[121],cldr_month_narrow_2:$[132],cldr_month_narrow_3:$[57],cldr_month_narrow_4:$[61],cldr_month_narrow_5:$[57],cldr_month_narrow_6:$[63],cldr_month_narrow_7:$[63],cldr_month_narrow_8:$[61],cldr_month_narrow_9:$[66],cldr_month_wide_1:$[1132],cldr_month_wide_10:$[2688],cldr_month_wide_11:$[1335],cldr_month_wide_12:$[1534],cldr_month_wide_2:$[2031],cldr_month_wide_3:$[1507],cldr_month_wide_4:$[747],cldr_month_wide_5:$[1514],cldr_month_wide_6:$[2394],cldr_month_wide_7:$[2993],cldr_month_wide_8:$[948],cldr_month_wide_9:$[2240],cldr_number_decimal_separator:$[19],cldr_number_group_separator:$[50],cldr_pm:$[1908],cldr_quotationEnd:$[469],cldr_quotationStart:$[309],cldr_time_format_full:$[2294]}); /* ID: qx.ui.splitpane.VerticalSplitPane */ qx.OO.defineClass($[2865],qx.ui.splitpane.SplitPane,function($0,$1){qx.ui.splitpane.SplitPane.call(this,$[27],$0,$1); }); qx.Proto.dispose=function(){if(this.getDisposed()){return true; }return qx.ui.splitpane.SplitPane.prototype.dispose.call(this); }; /* ID: qx.locale.data.en */ qx.Locale.define($[2400],{cldr_date_format_full:$[704],cldr_date_format_long:$[762],cldr_date_format_medium:$[776],cldr_date_format_short:$[596],cldr_date_time_format_HHmm:$[195],cldr_date_time_format_HHmmss:$[137],cldr_date_time_format_MMMMd:$[923],cldr_date_time_format_Md:$[765],cldr_date_time_format_mmss:$[424],cldr_date_time_format_yyMM:$[252],cldr_date_time_format_yyQQQQ:$[270],cldr_date_time_format_yyyyMMM:$[952],cldr_day_abbreviated_fri:$[730],cldr_day_abbreviated_mon:$[738],cldr_day_abbreviated_sat:$[932],cldr_day_abbreviated_sun:$[660],cldr_day_abbreviated_thu:$[629],cldr_day_abbreviated_tue:$[655],cldr_day_abbreviated_wed:$[855],cldr_day_narrow_fri:$[132],cldr_day_narrow_mon:$[57],cldr_day_narrow_sat:$[66],cldr_day_narrow_sun:$[66],cldr_day_narrow_thu:$[245],cldr_day_narrow_tue:$[245],cldr_day_narrow_wed:$[971],cldr_day_wide_fri:$[600],cldr_day_wide_mon:$[916],cldr_day_wide_sat:$[938],cldr_day_wide_sun:$[795],cldr_day_wide_thu:$[750],cldr_day_wide_tue:$[934],cldr_day_wide_wed:$[594],cldr_month_abbreviated_1:$[459],cldr_month_abbreviated_10:$[598],cldr_month_abbreviated_11:$[561],cldr_month_abbreviated_12:$[870],cldr_month_abbreviated_2:$[498],cldr_month_abbreviated_3:$[957],cldr_month_abbreviated_4:$[540],cldr_month_abbreviated_5:$[315],cldr_month_abbreviated_6:$[448],cldr_month_abbreviated_7:$[484],cldr_month_abbreviated_8:$[508],cldr_month_abbreviated_9:$[397],cldr_month_narrow_1:$[63],cldr_month_narrow_10:$[179],cldr_month_narrow_11:$[209],cldr_month_narrow_12:$[121],cldr_month_narrow_2:$[132],cldr_month_narrow_3:$[57],cldr_month_narrow_4:$[61],cldr_month_narrow_5:$[57],cldr_month_narrow_6:$[63],cldr_month_narrow_7:$[63],cldr_month_narrow_8:$[61],cldr_month_narrow_9:$[66],cldr_month_wide_1:$[883],cldr_month_wide_10:$[702],cldr_month_wide_11:$[538],cldr_month_wide_12:$[783],cldr_month_wide_2:$[741],cldr_month_wide_3:$[821],cldr_month_wide_4:$[542],cldr_month_wide_5:$[315],cldr_month_wide_6:$[866],cldr_month_wide_7:$[752],cldr_month_wide_8:$[362],cldr_month_wide_9:$[482],cldr_time_format_full:$[841],cldr_time_format_long:$[782],cldr_time_format_medium:$[922],cldr_time_format_short:$[722]}); /* ID: elite.ui.wizard.Wizard */ qx.OO.defineClass($[1061],qx.ui.layout.CanvasLayout,function(){qx.ui.layout.CanvasLayout.call(this); this._groupSteps=new qx.ui.layout.VerticalBoxLayout(); this._groupSteps.setWidth($[1556]); this._groupSteps.setLeft(0); this._groupSteps.setBottom(0); this._groupSteps.setTop(0); this._groupSteps.setSpacing(15); this._groupSteps.setVerticalChildrenAlign($[16]); this._groupSteps.setHorizontalChildrenAlign($[10]); this._groupSteps.setBackgroundColor(new qx.renderer.color.ColorObject($[261])); this.add(this._groupSteps); this._groupButtons=new qx.ui.layout.HorizontalBoxLayout(); this._groupButtons.setWidth($[771]); this._groupButtons.setRight(0); this._groupButtons.setBottom(0); this._groupButtons.setHeight($[2588]); this._groupButtons.setSpacing(10); this._groupButtons.setHorizontalChildrenAlign($[12]); this._groupButtons.setVerticalChildrenAlign($[36]); var $0=new qx.ui.form.Button($[2028],$[1965]); $0.setWidth(100); $0.setIconPosition($[12]); var $1=new qx.ui.form.Button($[1604],$[1616]); $1.setWidth(100); $1.setEnabled(false); $1.setIconPosition($[10]); $0.addEventListener($[11],this._nextExecute,this); $1.addEventListener($[11],this._backExecute,this); var $2=new qx.ui.form.Button($[1786],$[975]); $2.setWidth(100); $2.setIconPosition($[12]); $2.setRight(110); $2.setVisibility(false); var $3=new qx.ui.form.Button($[450],$[2362]); $3.setWidth(100); $3.setIconPosition($[12]); $3.setRight(110); this._groupButtons.add($1,$0,$2,$3); this.add(this._groupButtons); this._createFrameObject(); }); qx.OO.addProperty({name:$[2441],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[2482],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[1427],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[1126],type:$[23]}); qx.OO.addProperty({name:$[1443],type:$[23]}); qx.Proto._createFrameObject=function(){this._frameObject=new qx.ui.layout.CanvasLayout; this._frameObject.setRight(0); this._frameObject.setTop(0); this._frameObject.setWidth($[771]); this._frameObject.setHeight($[1930]); this.add(this._frameObject); }; qx.Proto.getFrameObject=function(){return this._frameObject; }; qx.Proto._nextExecute=function(){var $0=this._frameObject.getFirstActiveChild(); var $1=this._frameObject.getChildren(); var $2=$1.indexOf($0); if($2<$1.length-1){$0.setVisibility(false); $0.setEnabled(false); $1[$2+1].setVisibility(true); $1[$2+1].setEnabled(true); var $3=this._groupSteps.getChildren(); $3[$2].setLabel($0.getLabel()); $3[$2+1].setLabel($[439]+$1[$2+1].getLabel()+$[565]); var $4=this._groupButtons.getChildren(); if($2==$1.length-2){$4[1].setVisibility(false); $4[2].setVisibility(true); }$4[0].setEnabled(true); }}; qx.Proto._backExecute=function(){var $0=this._frameObject.getFirstActiveChild(); var $1=this._frameObject.getChildren(); var $2=$1.indexOf($0); if($2>0){$0.setVisibility(false); $0.setEnabled(false); $1[$2-1].setVisibility(true); $1[$2-1].setEnabled(true); var $3=this._groupSteps.getChildren(); $3[$2].setLabel($0.getLabel()); $3[$2-1].setLabel($[439]+$1[$2-1].getLabel()+$[565]); var $4=this._groupButtons.getChildren(); if($2==$1.length-1){$4[1].setVisibility(true); $4[2].setVisibility(false); } if($2==1){$4[0].setEnabled(false); }}}; qx.Proto.add=function(){for(var $0=0;$0$3){$4=qx.html.Offset.getTop($0); if($2>$4){$5=$3+$0.offsetWidth; if($1<$5){$6=$4+$0.offsetHeight; if($2<$6){return [$3,$5,$4,$6]; }}}}return false; }; qx.html.ElementFromPoint.getElementAbsolutePointChecker=function($0,$1,$2){var $3,$4,$5,$6; if(!$0||$0.nodeType!=1){return false; }$3=qx.html.Location.getPageBoxLeft($0); if($1>$3){$4=qx.html.Location.getPageBoxTop($0); if($2>$4){$5=$3+$0.offsetWidth; if($1<$5){$6=$4+$0.offsetHeight; if($2<$6){return [$3,$5,$4,$6]; }}}}return false; }; /* ID: qx.ui.basic.Inline */ qx.OO.defineClass($[613],qx.ui.layout.CanvasLayout,function($0){qx.ui.layout.CanvasLayout.call(this); this.setStyleProperty($[109],$[1436]); if($0!=null){this.setInlineNodeId($0); }}); qx.OO.addProperty({name:$[2844],type:$[0]}); /* ID: qx.locale.translation.es */ qx.Locale.define($[1210],{"key_short_Meta":$[155],"key_short_Scroll":$[1515],"key_full_NumLock":$[1712],"key_full_Left":$[1459],"Choose a date":$[2164],"key_short_Control":$[876],"key_short_Home":$[651],"Hex":$[339],"key_short_Space":$[802],"key_full_PageUp":$[2467],"key_short_Shift":$[2617],"key_full_Control":$[146],"RGB":"RGB","key_short_Up":$[2746],"Details":$[1590],"Last year":$[2590],"key_full_Insert":$[1703],"key_short_Apps":$[2999],"Open ColorSelector":$[2168],"key_short_Backspace":$[781],"key_short_Alt":$[120],"key_full_Shift":$[1677],"Description":$[2939],"key_full_Space":$[802],"key_short_PageDown":$[2265],"Presets":$[2717],"key_full_Up":$[1716],"key_short_CapsLock":$[2873],"key_full_Backspace":$[781],"key_full_Tab":$[1283],"key_full_End":$[602],"key_short_Escape":$[499],"key_short_Tab":$[183],"key_full_Apps":$[2761],"key_full_Delete":$[1047],"Case sensitive":$[1599],"key_full_Escape":$[88],"HSB":"HSB","key_short_PageUp":$[1574],"Next month":$[2370],"key_short_Win":$[254],"key_full_Enter":$[631],"key_full_Alt":$[120],"key_short_Pause":$[676],"key_short_Down":$[1370],"key_short_PrintScreen":$[2269],"key_full_Win":$[406],"key_short_Right":$[2068],"key_short_NumLock":$[2336],"Search next occurrence":$[1249],"Automatic":$[1623],"ID":"Código","key_short_Enter":$[631],"Last month":$[1567],"key_full_Right":$[1646],"OK":"Aceptar","key_full_PageDown":$[1501],"key_full_Pause":$[676],"key_full_CapsLock":$[2823],"Color Selector":$[2783],"key_full_PrintScreen":$[1146],"Preview (Old/New)":$[2009],"key_short_Left":$[1270],"Search items in list":$[1960],"key_short_End":$[602],"key_full_Meta":$[155],"key_full_Home":$[651],"Cancel":$[450],"key_full_Scroll":$[2123],"Next year":$[1360],"key_short_Delete":$[1984],"key_short_Insert":$[232],"key_full_Down":$[2950]}); /* ID: qx.locale.translation.es_ES */ qx.Locale.define($[1740],{}); /* ID: qx.ui.pageview.AbstractBar */ qx.OO.defineClass($[1377],qx.ui.layout.BoxLayout,function(){qx.ui.layout.BoxLayout.call(this); this._manager=new qx.manager.selection.RadioManager; this.addEventListener($[68],this._onmousewheel); }); qx.Proto.getManager=function(){return this._manager; }; qx.Proto._lastDate=(new Date(0)).valueOf(); qx.Proto._onmousewheel=function($0){var $1=(new Date).valueOf(); if(($1-50)0){var $5=$3[$4+1]; if(!$5){$5=$3[0]; }}else if($4>0){var $5=$3[$4-1]; if(!$5){$5=$3[0]; }}else{$5=$3[$3.length-1]; }$2.setSelected($5); }; qx.Proto.getWheelDelta=function($0){return $0.getWheelDelta(); }; qx.Proto.dispose=function(){if(this.getDisposed()){return; } if(this._manager){this._manager.dispose(); this._manager=null; }this.removeEventListener($[68],this._onmousewheel); return qx.ui.layout.BoxLayout.prototype.dispose.call(this); }; /* ID: qx.ui.pageview.tabview.Pane */ qx.OO.defineClass($[2128],qx.ui.pageview.AbstractPane,function(){qx.ui.pageview.AbstractPane.call(this); this.setZIndex(1); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[1052]}); /* ID: qx.ui.toolbar.Separator */ qx.OO.defineClass($[2914],qx.ui.layout.CanvasLayout,function(){qx.ui.layout.CanvasLayout.call(this); var $0=new qx.ui.basic.Terminator; $0.setAppearance($[2165]); this.add($0); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[2340]}); /* ID: qx.client.NativeWindow */ qx.OO.defineClass($[553],qx.core.Target,function($0,$1){qx.core.Target.call(this); this._timer=new qx.client.Timer(100); this._timer.addEventListener($[52],this._oninterval,this); if($0!=null){this.setUrl($0); } if($1!=null){this.setName($1); }}); qx.OO.addProperty({name:$[534],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[46],type:$[2],defaultValue:400,impl:$[285]}); qx.OO.addProperty({name:$[47],type:$[2],defaultValue:250,impl:$[285]}); qx.OO.addProperty({name:$[10],type:$[2],defaultValue:100,impl:$[109]}); qx.OO.addProperty({name:$[16],type:$[2],defaultValue:200,impl:$[109]}); qx.OO.addProperty({name:$[371],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[834],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[269],type:$[0]}); qx.OO.addProperty({name:$[96],type:$[0]}); qx.OO.addProperty({name:$[335],type:$[0],defaultValue:$[432]}); qx.OO.addProperty({name:$[621],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[2312],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[1010],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[1035],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[353],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[2750],type:$[3],defaultValue:true}); qx.Proto._loaded=false; qx.OO.addPropertyGroup({name:$[92],members:[$[10],$[16]]}); qx.OO.addPropertyGroup({name:$[285],members:[$[46],$[47]]}); qx.Proto._modifyPosition=function($0,$1,$2){if(!this.isClosed()){try{this._window.moveTo(this.getLeft(),this.getTop()); }catch(ex){this.error("Cross-Domain Scripting problem: Could not move window!",ex); }}return true; }; qx.Proto._modifyDimension=function($0,$1,$2){if(!this.isClosed()){try{this._window.resizeTo(this.getWidth(),this.getHeight()); }catch(ex){this.error("Cross-Domain Scripting problem: Could not resize window!",ex); }}return true; }; qx.Proto._modifyName=function($0,$1,$2){if(!this.isClosed()){this._window.name=$0; }return true; }; qx.Proto._modifyUrl=function($0,$1,$2){if(!this.isClosed()){this._window.location.replace($0!=null?$0:($[1729]+$[73])); }return true; }; qx.Proto._modifyOpen=function($0,$1,$2){$0?this._open():this._close(); return true; }; qx.Proto.getName=function(){if(!this.isClosed()){try{var $0=this._window.name; }catch(ex){return this._valueName; } if($0==this._valueName){return $0; }else{throw new Error("window name and name property are not identical"); }}else{return this._valueName; }}; qx.Proto.isClosed=function(){var $0=true; if(this._window){try{$0=this._window.closed; }catch(ex){}}return $0; }; qx.Proto.open=function(){this.setOpen(true); }; qx.Proto.close=function(){this.setOpen(false); }; qx.Proto.isLoaded=function(){return this._loaded; }; qx.Proto._open=function(){var $0=[]; if(this.getWidth()!=null){$0.push($[46]); $0.push($[21]); $0.push(this.getWidth()); $0.push($[19]); } if(this.getHeight()!=null){$0.push($[47]); $0.push($[21]); $0.push(this.getHeight()); $0.push($[19]); } if(this.getLeft()!=null){$0.push($[10]); $0.push($[21]); $0.push(this.getLeft()); $0.push($[19]); } if(this.getTop()!=null){$0.push($[16]); $0.push($[21]); $0.push(this.getTop()); $0.push($[19]); }$0.push($[834]); $0.push($[21]); $0.push(this.getDependent()?$[149]:$[151]); $0.push($[19]); $0.push($[686]); $0.push($[21]); $0.push(this.getResizeable()?$[149]:$[151]); $0.push($[19]); $0.push($[335]); $0.push($[21]); $0.push(this.getShowStatusbar()?$[149]:$[151]); $0.push($[19]); $0.push($[92]); $0.push($[21]); $0.push(this.getShowLocation()?$[149]:$[151]); $0.push($[19]); $0.push($[625]); $0.push($[21]); $0.push(this.getShowMenubar()?$[149]:$[151]); $0.push($[19]); $0.push($[322]); $0.push($[21]); $0.push(this.getShowToolbar()?$[149]:$[151]); $0.push($[19]); $0.push($[606]); $0.push($[21]); $0.push(this.getAllowScrollbars()?$[149]:$[151]); $0.push($[19]); $0.push($[371]); $0.push($[21]); $0.push(this.getModal()?$[149]:$[151]); $0.push($[19]); if(this.getName()!=null){this.setName($[1267]+this.toHashCode()); }this._window=window.open(this.getUrl(),this.getName(),$0.join($[1])); if(this.isClosed()){this.error("Window could not be opened. It seems, there is a popup blocker active!"); }else{try{this._window._native=this; this._window.onload=this._onload; }catch(ex){}this._timer.start(); if(this.getModal()){qx.ui.core.ClientDocument.getInstance().block(this); }}}; qx.Proto._close=function(){if(!this._window){return; }this._timer.stop(); if(this.getModal()){qx.ui.core.ClientDocument.getInstance().release(this); }if(!this.isClosed()){this._window.close(); } try{this._window._native=null; this._window.onload=null; }catch(ex){}this._window=null; this._loaded=false; this.createDispatchEvent($[2250]); }; qx.Proto.centerToScreen=function(){return this._centerHelper((screen.width-this.getWidth())/2,(screen.height-this.getHeight())/2); }; qx.Proto.centerToScreenArea=function(){return this._centerHelper((screen.availWidth-this.getWidth())/2,(screen.availHeight-this.getHeight())/2); }; qx.Proto.centerToOpener=function(){return this._centerHelper(((qx.html.Window.getInnerWidth(window)-this.getWidth())/2)+qx.html.Location.getScreenBoxLeft(window.document.body),((qx.html.Window.getInnerHeight(window)-this.getHeight())/2)+qx.html.Location.getScreenBoxTop(window.document.body)); }; qx.Proto._centerHelper=function($0,$1){this.setLeft($0); this.setTop($1); if(!this.isClosed()){this.focus(); }}; qx.Proto.focus=function(){if(!this.isClosed()){this._window.focus(); }}; qx.Proto.blur=function(){if(!this.isClosed()){this._window.blur(); }}; qx.Proto._oninterval=function($0){if(this.isClosed()){this.setOpen(false); }else if(!this._loaded){try{if(this._window.document&&this._window.document.readyState==$[327]){this._loaded=true; this.createDispatchEvent($[102]); }}catch(ex){}}}; qx.Proto._onload=function($0){var $1=this._native; if(!$1._loaded){$1._loaded=true; $1.createDispatchEvent($[102]); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return; } if(this.getDependent()){this.close(); } if(this._timer){this._timer.stop(); this._timer=null; } if(this._window){try{this._window._native=null; this._window.onload=null; }catch(ex){}this._window=null; }return qx.core.Target.prototype.dispose.call(this); }; /* ID: qx.ui.table.RemoteTableModel */ qx.OO.defineClass($[1732],qx.ui.table.AbstractTableModel,function(){qx.ui.table.AbstractTableModel.call(this); this._sortColumnIndex=-1; this._sortAscending=true; this._rowCount=-1; this._lruCounter=0; this._firstLoadingBlock=-1; this._firstRowToLoad=-1; this._lastRowToLoad=-1; this._ignoreCurrentRequest=false; this._rowBlockCache={}; this._rowBlockCount=0; }); qx.OO.addProperty({name:$[2978],type:$[2],defaultValue:50,allowNull:false}); qx.OO.addProperty({name:$[2034],type:$[2],defaultValue:15,allowNull:false}); qx.OO.addProperty({name:$[2194],type:$[3],defaultValue:false,allowNull:false}); qx.Proto.getRowCount=function(){if(this._rowCount==-1){this._loadRowCount(); return (this._rowCount==-1)?0:this._rowCount; }else{return this._rowCount; }}; qx.Proto._loadRowCount=function(){throw new Error("_loadRowCount is abstract"); }; qx.Proto._onRowCountLoaded=function($0){if($0==null){$0=0; }this._rowCount=$0; var $1={firstRow:0,lastRow:$0-1,firstColumn:0,lastColumn:this.getColumnCount()-1}; this.dispatchEvent(new qx.event.type.DataEvent(qx.ui.table.TableModel.EVENT_TYPE_DATA_CHANGED,$1),true); }; qx.Proto.reloadData=function(){this.clearCache(); if(this._firstLoadingBlock!=-1){this._ignoreCurrentRequest=true; }this._firstRowToLoad=-1; this._lastRowToLoad=-1; this._loadRowCount(); }; qx.Proto.clearCache=function(){this._rowBlockCache={}; this._rowBlockCount=0; }; qx.Proto.iterateCachedRows=function($0,$1){var $2=this.getBlockSize(); var $3=Math.ceil(this.getRowCount()/$2); for(var $4=0;$4<=$3;$4++){var $5=this._rowBlockCache[$4]; if($5!=null){var $6=$4*$2; var $7=$5.rowDataArr; for(var $8=0;$8<$7.length;$8++){var $9=$7[$8]; var $a=$0.call($1,$6+$8,$9); if($a!=null){$7[$8]=$a; }}}}}; qx.Proto.prefetchRows=function($0,$1){if(this._firstLoadingBlock==-1){var $2=this.getBlockSize(); var $3=Math.ceil(this._rowCount/$2); var $4=parseInt($0/$2)-1; if($4<0){$4=0; }var $5=parseInt($1/$2)+1; if($5>=$3){$5=$3-1; }var $6=-1; var $7=-1; for(var $8=$4;$8<=$5;$8++){if(this._rowBlockCache[$8]==null||this._rowBlockCache[$8].isDirty){if($6==-1){$6=$8; }$7=$8; }}if($6!=-1){this._firstRowToLoad=-1; this._lastRowToLoad=-1; this._firstLoadingBlock=$6; this._loadRowData($6*$2,($7+1)*$2-1); }}else{this._firstRowToLoad=$0; this._lastRowToLoad=$1; }}; qx.Proto._loadRowData=function($0,$1){throw new Error("_loadRowCount is abstract"); }; qx.Proto._onRowDataLoaded=function($0){if($0!=null&&!this._ignoreCurrentRequest){var $1=this.getBlockSize(); var $2=Math.ceil($0.length/$1); if($2==1){this._setRowBlockData(this._firstLoadingBlock,$0); }else{for(var $3=0;$3<$2;$3++){var $4=$3*$1; var $5=[]; var $6=Math.min($1,$0.length-$4); for(var $7=0;$7<$6;$7++){$5.push($0[$4+$7]); }this._setRowBlockData(this._firstLoadingBlock+$3,$5); }}var $8={firstRow:this._firstLoadingBlock*$1,lastRow:(this._firstLoadingBlock+$2+1)*$1-1,firstColumn:0,lastColumn:this.getColumnCount()-1}; this.dispatchEvent(new qx.event.type.DataEvent(qx.ui.table.TableModel.EVENT_TYPE_DATA_CHANGED,$8),true); }this._firstLoadingBlock=-1; this._ignoreCurrentRequest=false; if(this._firstRowToLoad!=-1){this.prefetchRows(this._firstRowToLoad,this._lastRowToLoad); }}; qx.Proto._setRowBlockData=function($0,$1){if(this._rowBlockCache[$0]==null){this._rowBlockCount++; while(this._rowBlockCount>this.getMaxCachedBlockCount()){var $2; var $3=this._lruCounter; for(var $4 in this._rowBlockCache){var $5=this._rowBlockCache[$4].lru; if($5<$3&&$4>1){$3=$5; $2=$4; }}delete this._rowBlockCache[$2]; this._rowBlockCount--; }}this._rowBlockCache[$0]={lru:++this._lruCounter,rowDataArr:$1}; }; qx.Proto.removeRow=function($0){if(this.getClearCacheOnRemove()){this.clearCache(); var $1={firstRow:0,lastRow:rowCount-1,firstColumn:0,lastColumn:this.getColumnCount()-1}; this.dispatchEvent(new qx.event.type.DataEvent(qx.ui.table.TableModel.EVENT_TYPE_DATA_CHANGED,$1),true); }else{var $2=this.getBlockSize(); var $3=Math.ceil(this.getRowCount()/$2); var $4=parseInt($0/$2); for(var $5=$4;$5<=$3;$5++){var $6=this._rowBlockCache[$5]; if($6!=null){var $7=0; if($5==$4){$7=$0-$5*$2; }$6.rowDataArr.splice($7,1); if($5==$3-1){if($6.rowDataArr.length==0){delete this._rowBlockCache[$5]; }}else{var $8=this._rowBlockCache[$5+1]; if($8!=null){$6.rowDataArr.push($8.rowDataArr[0]); }else{$6.isDirty=true; }}}} if(this._rowCount!=-1){this._rowCount--; }if(this.hasEventListeners(qx.ui.table.TableModel.EVENT_TYPE_DATA_CHANGED)){var $1={firstRow:$0,lastRow:this.getRowCount()-1,firstColumn:0,lastColumn:this.getColumnCount()-1}; this.dispatchEvent(new qx.event.type.DataEvent(qx.ui.table.TableModel.EVENT_TYPE_DATA_CHANGED,$1),true); }}}; qx.Proto.getRowData=function($0){var $1=this.getBlockSize(); var $2=parseInt($0/$1); var $3=this._rowBlockCache[$2]; if($3==null){return null; }else{var $4=$3.rowDataArr[$0-($2*$1)]; if($3.lru!=this._lruCounter){$3.lru=++this._lruCounter; }return $4; }}; qx.Proto.getValue=function($0,$1){var $2=this.getRowData($1); if($2==null){return null; }else{var $3=this.getColumnId($0); return $2[$3]; }}; qx.Proto.setColumnSortable=function($0,$1){if($1!=this.isColumnSortable($0)){if(this._sortableColArr==null){this._sortableColArr=[]; }this._sortableColArr[$0]=$1; this.createDispatchEvent(qx.ui.table.TableModel.EVENT_TYPE_META_DATA_CHANGED); }}; qx.Proto.isColumnSortable=function($0){return this._sortableColArr?(this._sortableColArr[$0]==true):false; }; qx.Proto.sortByColumn=function($0,$1){if(this._sortColumnIndex!=$0||this._sortAscending!=$1){this._sortColumnIndex=$0; this._sortAscending=$1; this.clearCache(); this.createDispatchEvent(qx.ui.table.TableModel.EVENT_TYPE_META_DATA_CHANGED); }}; qx.Proto.getSortColumnIndex=function(){return this._sortColumnIndex; }; qx.Proto.isSortAscending=function(){return this._sortAscending; }; /* ID: elite.util.Menu */ qx.OO.defineClass($[2488]); qx.OO.createMenu=function($0,$1,$2){if((!qx.util.Validation.isValidArray($0))||($0.length==0)){return; }var $3=new qx.ui.menu.Menu(); var $4=$0.length; var $5; if(!qx.util.Validation.isValidArray($1)){for(var $6=0;$6<$4;$6++){if($0[$6]==$[435]){$5=new qx.ui.menu.Separator(); }else{$5=new qx.ui.menu.Button($0[$6]); }$3.addAtEnd($5); }}else if(!qx.util.Validation.isValidArray($2)){for(var $6=0;$6<$4;$6++){if($0[$6]==$[435]){$5=new qx.ui.menu.Separator(); }else{$5=new qx.ui.menu.Button($0[$6]); if(qx.util.Validation.isValidArray($1[$6])){$5.addEventListener($[11],$1[$6][0],$1[$6][1]); }else{$5.addEventListener($[11],$1[$6]); }}$3.addAtEnd($5); }}else{for(var $6=0;$6<$4;$6++){if($0[$6]==$[435]){$5=new qx.ui.menu.Separator(); }else{$5=new qx.ui.menu.Button($0[$6]); if(qx.util.Validation.isValidArray($1[$6])){$5.addEventListener($[11],$1[$6][0],$1[$6][1]); }else{$5.addEventListener($[11],$1[$6]); }$5.setIcon($2[$6]); }$3.addAtEnd($5); }}return $3; }; /* ID: qx.util.fsm.FiniteStateMachine */ qx.OO.defineClass($[2472],qx.core.Target,function($0){qx.core.Target.call(this); this.setName($0); this._states={}; this._savedStates=[]; this._eventQueue=[]; this._blockedEvents=[]; this._friendlyToObject={}; this._friendlyToHash={}; this._hashToFriendly={}; this._groupToFriendly={}; this._friendlyToGroups={}; }); qx.Clazz.StateChange={CURRENT_STATE:1,POP_STATE_STACK:2,TERMINATE:3}; qx.Clazz.EventHandling={PREDICATE:1,BLOCKED:2}; qx.Clazz.DebugFlags={EVENTS:1,TRANSITIONS:2,FUNCTION_DETAIL:4,OBJECT_NOT_FOUND:8}; qx.OO.addProperty({name:$[96],type:$[0]}); qx.OO.addProperty({name:$[276],type:$[0]}); qx.OO.addProperty({name:$[2484],type:$[0]}); qx.OO.addProperty({name:$[402],type:$[0]}); qx.OO.addProperty({name:$[2048],type:$[2],defaultValue:2}); qx.OO.addProperty({name:$[712],type:$[2],defaultValue:(qx.util.fsm.FiniteStateMachine.DebugFlags.EVENTS|qx.util.fsm.FiniteStateMachine.DebugFlags.TRANSITIONS|qx.util.fsm.FiniteStateMachine.DebugFlags.OBJECT_NOT_FOUND)}); qx.Proto.addState=function($0){if(!$0 instanceof qx.util.fsm.State){throw new Error("Invalid state: not an instance of "+"qx.util.fsm.State"); }var $1=$0.getName(); if($1 in this._states){throw new Error("State "+$1+" already exists"); }this._states[$1]=$0; }; qx.Proto.replaceState=function($0,$1){if(!$0 instanceof qx.util.fsm.State){throw new Error("Invalid state: not an instance of "+"qx.util.fsm.State"); }var $2=$0.getName(); var $3=this._states[$2]; this._states[$2]=$0; if($1){$3._needDispose; }return $3; }; qx.Proto.addObject=function($0,$1,$2){var $3=$1.toHashCode(); this._friendlyToHash[$0]=$3; this._hashToFriendly[$3]=$0; this._friendlyToObject[$0]=$1; if(!$2){return; }if(typeof ($2)==$[0]){$2=[$2]; }for(var $4=0;$4<$2.length;$4++){var $5=$2[$4]; if(!this._groupToFriendly[$5]){this._groupToFriendly[$5]={}; }this._groupToFriendly[$5][$0]=true; if(!this._friendlyToGroups[$0]){this._friendlyToGroups[$0]=[]; }this._friendlyToGroups[$0]=this._friendlyToGroups[$0].concat($2); }}; qx.Proto.removeObject=function($0){var $1=this._friendlyToHash[$0]; if(this._friendlyToGroups[$0]){for(groupName in this._friendlyToGroups[$0]){delete this._groupToFriendly[groupName]; }delete this._friendlyToGroups[$0]; }delete this._hashToFriendly[$1]; delete this._friendlyToHash[$0]; delete this._friendlyToObject[$0]; }; qx.Proto.getObject=function($0){return this._friendlyToObject[$0]; }; qx.Proto.getFriendlyName=function($0){var $1=$0.toHashCode(); return $1?this._hashToFriendly[$1]:null; }; qx.Proto.getGroupObjects=function($0){var $1=[]; for(var $2 in this._groupToFriendly[$0]){$1.push($2); }return $1; }; qx.Proto.displayAllObjects=function(){for(var $0 in this._friendlyToHash){var $1=this._friendlyToHash[$0]; var $2=this.getObject($0); this.debug($0+" => "+$1); this.debug(" "+$1+" => "+this._hashToFriendly[$1]); this.debug(" "+$0+" => "+this.getObject($0)); this.debug(" "+this.getObject($0)+" => "+this.getFriendlyName($2)); }}; qx.Proto.start=function(){var $0; for($0 in this._states){this.setState($0); this.setPreviousState(null); this.setNextState(null); break; } if(!$0){throw new Error("Machine started with no available states"); }var $1=(this.getDebugFlags()&qx.util.fsm.FiniteStateMachine.DebugFlags.FUNCTION_DETAIL); if($1){this.debug(this.getName()+"#"+$0+"#actionsBeforeOnentry"); }this._states[$0].getAutoActionsBeforeOnentry()(this); if($1){this.debug(this.getName()+"#"+$0+"#entry"); }this._states[$0].getOnentry()(this,null); if($1){this.debug(this.getName()+"#"+$0+"#actionsAfterOnentry"); }this._states[$0].getAutoActionsAfterOnentry()(this); }; qx.Proto.pushState=function($0){if(this._savedStates.length>=this.getMaxSavedStates()){throw new Error("Saved-state stack is full"); } if($0){this._savedStates.push(this.getState()); }else{this._savedStates.push(this.getPreviousState()); }}; qx.Proto.postponeEvent=function($0){this._blockedEvents.unshift($0); }; qx.Proto.copyEvent=function($0){var $1={}; for(var $2 in $0){$1[$2]=$0[$2]; }return $1; }; qx.Proto.enqueueEvent=function($0,$1){if($1){this._eventQueue.push($0); }else{this._eventQueue.unshift($0); } if(this.getDebugFlags()&qx.util.fsm.FiniteStateMachine.DebugFlags.EVENTS){if($1){this.debug(this.getName()+": Pushed event: "+$0.getType()); }else{this.debug(this.getName()+": Queued event: "+$0.getType()); }}}; qx.Proto.eventListener=function($0){var $1=this.copyEvent($0); this.enqueueEvent($1,false); this._processEvents(); }; qx.Proto._processEvents=function(){if(this._eventProcessingInProgress){return ; }this._eventProcessingInProgress=true; while(this._eventQueue.length>0){var $0=this._eventQueue.pop(); var $1=this._run($0); if($1){$0.dispose(); }}this._eventProcessingInProgress=false; }; qx.Proto._run=function($0){var $1=this; var $2; var $3; var $4; var $5; var $6; var $7; var $8; var $9=this.getDebugFlags(); var $a=$9&qx.util.fsm.FiniteStateMachine.DebugFlags.EVENTS; var $b=$9&qx.util.fsm.FiniteStateMachine.DebugFlags.TRANSITIONS; var $c=$9&qx.util.fsm.FiniteStateMachine.DebugFlags.FUNCTION_DETAIL; var $d=$9&qx.util.fsm.FiniteStateMachine.DebugFlags.OBJECT_NOT_FOUND; if($a){this.debug(this.getName()+": Process event: "+$0.getType()); }$2=this.getState(); $5=this._states[$2]; $6=$5.transitions; $7=$5.getEvents()[$0.getType()]; if(!$7){if($a){this.debug(this.getName()+": Event '"+$0.getType()+"'"+" not handled. Ignoring."); }return true; }if(typeof ($7)==$[4]){var $e=this.getFriendlyName($0.getTarget()); if(!$e){if($d){this.debug(this.getName()+": Could not find friendly name for '"+$0.getType()+"' on '"+$0.getTarget()+"'"); }return true; }$8=$7[$e]; }else{$8=$7; } switch($8){case qx.util.fsm.FiniteStateMachine.EventHandling.PREDICATE:break; case qx.util.fsm.FiniteStateMachine.EventHandling.BLOCKED:if($a){this.debug(this.getName()+": Event '"+$0.getType()+"'"+" blocked. Re-queuing."); }this._blockedEvents.unshift($0); return false; default:if(typeof ($8)==$[0]){if($6[$8]){var $f=$6[$8]; $6={}; $6[$8]=$f; }else{throw new Error("Explicit transition "+$8+" does not exist"); }break; }}for(var $g in $6){var $f=$6[$g]; switch($f.getPredicate()(this,$0)){case true:break; case false:continue; case null:return true; default:throw new Error("Transition "+$2+":"+$g+" returned a value other than true, false, or null."); }$3=$f.getNextState(); if(typeof ($3)==$[0]){if(!$3 in this._states){throw new Error("Attempt to transition to nonexistent state "+$3); }this.setNextState($3); }else{switch($3){case qx.util.fsm.FiniteStateMachine.StateChange.CURRENT_STATE:$3=$2; this.setNextState($3); break; case qx.util.fsm.FiniteStateMachine.StateChange.POP_STATE_STACK:if(this._savedStates.length==0){throw new Error("Attempt to transition to POP_STATE_STACK "+"while state stack is empty."); }$3=this._savedStates.pop(); this.setNextState($3); break; default:throw new Error("Internal error: invalid nextState"); break; }}if($c){this.debug(this.getName()+"#"+$2+"#"+$g+"#autoActionsBeforeOntransition"); }$f.getAutoActionsBeforeOntransition()(this); if($c){this.debug(this.getName()+"#"+$2+"#"+$g+"#ontransition"); }$f.getOntransition()(this,$0); if($c){this.debug(this.getName()+"#"+$2+"#"+$g+"#autoActionsAfterOntransition"); }$f.getAutoActionsAfterOntransition()(this); if($c){this.debug(this.getName()+"#"+$2+"#autoActionsBeforeOnexit"); }$5.getAutoActionsBeforeOnexit()(this); if($c){this.debug(this.getName()+"#"+$2+"#exit"); }$5.getOnexit()(this,$0); if($c){this.debug(this.getName()+"#"+$2+"#autoActionsAfterOnexit"); }$5.getAutoActionsAfterOnexit()(this); if($5._needDispose){$5.dispose(); }$5=this._states[this.getNextState()]; this.setPreviousState($2); this.setState(this.getNextState()); this.setNextState(null); $4=$2; $2=$3; $3=undefined; if($c){this.debug(this.getName()+"#"+$2+"#autoActionsBeforeOnentry"); }$5.getAutoActionsBeforeOnentry()(this); if($c){this.debug(this.getName()+"#"+$2+"#entry"); }$5.getOnentry()(this,$0); if($c){this.debug(this.getName()+"#"+$2+"#autoActionsAfterOnentry"); }$5.getAutoActionsAfterOnentry()(this); var $7; for(var $h=0;$h "+this.getName()+"#"+$2); }return true; } if($b){this.debug(this.getName()+"#"+$2+": event '"+$0.getType()+"'"+": no transition found. No state change."); }return true; }; qx.Settings.setDefault($[712],(qx.util.fsm.FiniteStateMachine.DebugFlags.EVENTS|qx.util.fsm.FiniteStateMachine.DebugFlags.TRANSITIONS|qx.util.fsm.FiniteStateMachine.DebugFlags.OBJECT_NOT_FOUND)); qx.Clazz._commonCheckAutoActions=function($0,$1,$2){if(typeof ($1)!=$[4]){throw new Error("Invalid "+$0+" value: "+typeof ($1)); }var $3; var $4=$[1330]+$[325]; var $5; var $6; for(var $7 in $1){var $8=$1[$7]; if(!$8 instanceof Array){throw new Error("Invalid function request type: "+"expected array, found "+typeof ($8)); }for(var $9=0;$9<$8.length;$9++){$6=$8[$9]; if(typeof ($6)!=$[4]){throw new Error("Invalid function request parameter type: "+"expected object, found "+typeof ($8[$5])); }params=$6[$[928]]; if(!params){params=[]; }else{if(!params instanceof Array){throw new Error("Invalid function parameters: "+"expected array, found "+typeof (params)); }}$3=$7+$[169]; for(var $a=0;$a0){$1=this._savedStates.pop(); $1=null; }this._savedStates=null; while(this._eventQueue.length>0){$0=this._eventQueue.pop(); $0.dispose(); $0=null; }this._eventQueue=null; while(this._blockedEvents.length>0){$0=this._blockedEvents.pop(); $0.dispose(); $0=null; } for(var $1 in this._states){this._states[$1].dispose(); this._states[$1]=null; delete this._states[$1]; }this._states=null; return qx.core.Target.prototype.dispose.call(this); }; /* ID: qx.util.fsm.State */ qx.OO.defineClass($[1454],qx.core.Object,function($0,$1){qx.core.Object.call(this,true); this.setName($0); if(typeof ($1)!=$[4]){throw new Error("State info must be an object"); }for(var $2 in $1){switch($2){case $[748]:this.setOnentry($1[$2]); break; case $[609]:this.setOnexit($1[$2]); break; case $[560]:this.setAutoActionsBeforeOnentry($1[$2]); break; case $[541]:this.setAutoActionsAfterOnentry($1[$2]); break; case $[527]:this.setAutoActionsBeforeOnexit($1[$2]); break; case $[491]:this.setAutoActionsAfterOnexit($1[$2]); break; case $[905]:this.setEvents($1[$2]); break; default:this.setUserData($2,$1[$2]); this.debug("State "+$0+": "+"Adding user-provided field to state: "+$2); break; }}if(!this.getEvents()){throw new Error("The events object must be provided in new state info"); }this.transitions={}; }); qx.OO.addProperty({name:$[96],type:$[0]}); qx.OO.addProperty({name:$[748],defaultValue:function($0,$1){}}); qx.OO.addProperty({name:$[609],defaultValue:function($0,$1){}}); qx.OO.addProperty({name:$[560],defaultValue:function($0,$1){}}); qx.OO.addProperty({name:$[541],defaultValue:function($0,$1){}}); qx.OO.addProperty({name:$[527],defaultValue:function($0,$1){}}); qx.OO.addProperty({name:$[491],defaultValue:function($0,$1){}}); qx.OO.addProperty({name:$[905]}); qx.Proto._checkName=function($0,$1){if(typeof ($0)!=$[0]||$0.length<1){throw new Error("Invalid state name"); }return $0; }; qx.Proto._checkOnentry=function($0,$1){switch(typeof ($0)){case $[40]:return function($2,$3){}; case $[23]:return $0; default:throw new Error("Invalid onentry type: "+typeof ($0)); return null; }}; qx.Proto._checkOnexit=function($0,$1){switch(typeof ($0)){case $[40]:return function($2,$3){}; case $[23]:return $0; default:throw new Error("Invalid onexit type: "+typeof ($0)); return null; }}; qx.Proto._checkEvents=function($0,$1){if(typeof ($0)!=$[4]){throw new Error("events must be an object"); }for(var $2 in $0){var $3=$0[$2]; if(typeof ($3)==$[2]&&$3!=qx.util.fsm.FiniteStateMachine.EventHandling.PREDICATE&&$3!=qx.util.fsm.FiniteStateMachine.EventHandling.BLOCKED){throw new Error("Invalid numeric value in events object: "+$2+": "+$3); }else if(typeof ($3)==$[4]){for(action_e in $3){if(typeof ($3[action_e])==$[2]&&$3[action_e]!=qx.util.fsm.FiniteStateMachine.EventHandling.PREDICATE&&$3[action_e]!=qx.util.fsm.FiniteStateMachine.EventHandling.BLOCKED){throw new Error("Invalid numeric value in events object "+"("+$2+"): "+action_e+": "+$3[action_e]); }else if(typeof ($3[action_e])!=$[0]&&typeof ($3[action_e])!=$[2]){throw new Error("Invalid value in events object "+"("+$2+"): "+action_e+": "+$3[action_e]); }}}else if(typeof ($3)!=$[0]&&typeof ($3)!=$[2]){throw new Error("Invalid value in events object: "+$2+": "+$0[$2]); }}return $0; }; qx.Proto._checkAutoActionsBeforeOnentry=function($0,$1){return qx.util.fsm.FiniteStateMachine._commonCheckAutoActions($[560],$0,$1); }; qx.Proto._checkAutoActionsAfterOnentry=function($0,$1){return qx.util.fsm.FiniteStateMachine._commonCheckAutoActions($[541],$0,$1); }; qx.Proto._checkAutoActionsBeforeOnexit=function($0,$1){return qx.util.fsm.FiniteStateMachine._commonCheckAutoActions($[527],$0,$1); }; qx.Proto._checkAutoActionsAfterOnexit=function($0,$1){return qx.util.fsm.FiniteStateMachine._commonCheckAutoActions($[491],$0,$1); }; qx.Proto.addTransition=function($0){if(!$0 instanceof qx.util.fsm.Transition){throw new Error("Invalid transition: not an instance of "+"qx.util.fsm.Transition"); }this.transitions[$0.getName()]=$0; }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; }return qx.core.Object.prototype.dispose.call(this); }; /* ID: qx.util.fsm.Transition */ qx.OO.defineClass($[1546],qx.core.Object,function($0,$1){qx.core.Object.call(this,true); this.setName($0); for(var $2 in $1){switch($2){case $[755]:this.setPredicate($1[$2]); break; case $[402]:this.setNextState($1[$2]); break; case $[810]:this.setAutoActionsBeforeOntransition($1[$2]); break; case $[756]:this.setAutoActionsAfterOntransition($1[$2]); break; case $[951]:this.setOntransition($1[$2]); break; default:this.setUserData($2,$1[$2]); this.debug("Transition "+$0+": "+"Adding user-provided field to transition: "+$2); break; }}}); qx.OO.addProperty({name:$[96],type:$[0]}); qx.OO.addProperty({name:$[755],defaultValue:function($0,$1){return true; }}); qx.OO.addProperty({name:$[402],defaultValue:qx.util.fsm.FiniteStateMachine.StateChange.CURRENT_STATE}); qx.OO.addProperty({name:$[810],defaultValue:function($0,$1){}}); qx.OO.addProperty({name:$[756],defaultValue:function($0,$1){}}); qx.OO.addProperty({name:$[951],defaultValue:function($0,$1){}}); qx.Proto._checkName=function($0,$1){if(typeof ($0)!=$[0]||$0.length<1){throw new Error("Invalid transition name"); }return $0; }; qx.Proto._checkPredicate=function($0,$1){switch(typeof ($0)){case $[40]:return function($2,$3){return true; }; case $[3]:return function($2,$3){return $0; }; case $[23]:return $0; default:throw new Error("Invalid transition predicate type: "+typeof ($0)); break; }}; qx.Proto._checkNextState=function($0,$1){switch(typeof ($0)){case $[0]:return $0; case $[2]:switch($0){case qx.util.fsm.FiniteStateMachine.StateChange.CURRENT_STATE:case qx.util.fsm.FiniteStateMachine.StateChange.POP_STATE_STACK:case qx.util.fsm.FiniteStateMachine.StateChange.TERMINATE:return $0; default:throw new Error("Invalid transition nextState value: "+$0+": nextState must be an explicit state name, "+"or one of the Fsm.StateChange constants"); }break; default:throw new Error("Invalid transition nextState type: "+typeof ($0)); break; }}; qx.Proto._checkOntransition=function($0,$1){switch(typeof ($0)){case $[40]:return function($2,$3){}; case $[23]:return $0; default:throw new Error("Invalid ontransition type: "+typeof ($0)); break; }}; qx.Proto.dispose=function(){if(this.getDisposed()){return true; }return qx.core.Object.prototype.dispose.call(this); }; /* ID: qx.ui.table.BooleanDataCellRenderer */ qx.OO.defineClass($[1076],qx.ui.table.IconDataCellRenderer,function(){qx.ui.table.IconDataCellRenderer.call(this); this._iconUrlTrue=qx.manager.object.AliasManager.getInstance().resolvePath($[1825]); this._iconUrlFalse=qx.manager.object.AliasManager.getInstance().resolvePath($[2192]); this._iconUrlNull=qx.manager.object.AliasManager.getInstance().resolvePath($[62]); }); qx.Proto._identifyImage=function($0){var $1=qx.ui.table.IconDataCellRenderer; var $2={imageWidth:11,imageHeight:11}; switch($0.value){case true:$2.url=this._iconUrlTrue; break; case false:$2.url=this._iconUrlFalse; break; default:$2.url=this._iconUrlNull; break; }return $2; }; /* ID: elite.ui.form.FormField */ qx.OO.defineClass($[2320],qx.ui.form.TextField,function($0){qx.ui.form.TextField.call(this,$0); this.setBorder(new qx.renderer.border.Border(1,$[692],$[792])); this.setBackgroundColor(new qx.renderer.color.Color($[65])); this.setStyleProperty($[380],$[815]); this.setReadOnly(true); this.setHeight(15); this.setPaddingLeft(3); this.setPaddingRight(3); this.setPaddingTop(0); this.setPaddingBottom(0); this.setMarginLeft(0); this.setMarginRight(0); this.setMarginTop(0); this.setMarginBottom(0); }); /* ID: qx.locale.String */ qx.OO.defineClass($[1066]); qx.Clazz.getQuotationStart=function($0){return new qx.locale.LocalizedString($[1591],[],$0); }; qx.Clazz.getQuotationEnd=function($0){return new qx.locale.LocalizedString($[1316],[],$0); }; qx.Clazz.getQuotationStart=function($0){return new qx.locale.LocalizedString($[1559],[],$0); }; qx.Clazz.getQuotationEnd=function($0){return new qx.locale.LocalizedString($[2454],[],$0); }; /* ID: qx.ui.pageview.AbstractPageView */ qx.OO.defineClass($[2615],qx.ui.layout.BoxLayout,function($0,$1){qx.ui.layout.BoxLayout.call(this); this._bar=new $0; this._pane=new $1; this.add(this._bar,this._pane); this.setOrientation($[27]); }); qx.Proto.getPane=function(){return this._pane; }; qx.Proto.getBar=function(){return this._bar; }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; } if(this._bar){this._bar.dispose(); this._bar=null; } if(this._pane){this._pane.dispose(); this._pane=null; }return qx.ui.layout.BoxLayout.prototype.dispose.call(this); }; /* ID: qx.ui.pageview.buttonview.ButtonView */ qx.OO.defineClass($[1553],qx.ui.pageview.AbstractPageView,function(){qx.ui.pageview.AbstractPageView.call(this,qx.ui.pageview.buttonview.Bar,qx.ui.pageview.buttonview.Pane); this.setOrientation($[27]); }); qx.OO.addProperty({name:$[1156],type:$[0],defaultValue:$[16],possibleValues:[$[16],$[12],$[24],$[10]]}); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[1094]}); qx.Proto._modifyBarPosition=function($0,$1,$2){var $3=this._bar; switch($0){case $[16]:$3.moveSelfToBegin(); this.setOrientation($[27]); break; case $[24]:$3.moveSelfToEnd(); this.setOrientation($[27]); break; case $[10]:$3.moveSelfToBegin(); this.setOrientation($[26]); break; case $[12]:$3.moveSelfToEnd(); this.setOrientation($[26]); break; }this._addChildrenToStateQueue(); $3._addChildrenToStateQueue(); return true; }; /* ID: qx.ui.pageview.buttonview.Bar */ qx.OO.defineClass($[1816],qx.ui.pageview.AbstractBar,function(){qx.ui.pageview.AbstractBar.call(this); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[2437]}); qx.Proto.getWheelDelta=function($0){var $1=$0.getWheelDelta(); switch(this.getParent().getBarPosition()){case $[10]:case $[12]:$1*=-1; }return $1; }; qx.Proto._applyStateAppearance=function(){var $0=this.getParent().getBarPosition(); this._states.barLeft=$0===$[10]; this._states.barRight=$0===$[12]; this._states.barTop=$0===$[16]; this._states.barBottom=$0===$[24]; qx.ui.pageview.AbstractButton.prototype._applyStateAppearance.call(this); }; /* ID: qx.ui.pageview.buttonview.Pane */ qx.OO.defineClass($[2332],qx.ui.pageview.AbstractPane,function(){qx.ui.pageview.AbstractPane.call(this); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[1805]}); qx.Proto._applyStateAppearance=function(){var $0=this.getParent().getBarPosition(); this._states.barHorizontal=$0===$[16]||$0===$[24]; qx.ui.pageview.AbstractButton.prototype._applyStateAppearance.call(this); }; /* ID: qx.ui.form.TextArea */ qx.OO.defineClass($[2936],qx.ui.form.TextField,function($0){qx.ui.form.TextField.call(this,$0); this.setTagName($[321]); this.removeHtmlProperty($[216]); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[2954]}); qx.OO.addProperty({name:$[242],type:$[3]}); if(qx.core.Client.getInstance().isMshtml()){qx.Proto._modifyWrap=function($0,$1,$2){return this.setStyleProperty($[167],$0?$[139]:$[231]); }; }else{qx.Proto._modifyWrap=function($0,$1,$2){return this.setHtmlProperty($[242],$0?$[1532]:$[1694]); }; }qx.Proto._computePreferredInnerHeight=function(){return 60; }; /* ID: elite.ui.form.FormArea */ qx.OO.defineClass($[2770],qx.ui.form.TextArea,function($0){qx.ui.form.TextArea.call(this,$0); this.setBorder(new qx.renderer.border.Border(1,$[692],$[792])); this.setBackgroundColor(new qx.renderer.color.Color($[65])); this.setStyleProperty($[380],$[815]); this.setReadOnly(true); this.setPaddingLeft(3); this.setPaddingRight(3); this.setPaddingTop(0); this.setPaddingBottom(0); this.setMarginLeft(0); this.setMarginRight(0); this.setMarginTop(0); this.setMarginBottom(0); this.setOverflow($[281]); }); /* ID: qx.ui.treevirtual.TreeVirtual */ qx.OO.defineClass($[1921],qx.ui.table.Table,function($0){var $1=new qx.ui.treevirtual.SimpleTreeDataModel(); if(typeof ($0)==$[0]){$0=[$0]; }$1.setColumns($0); this.setNewSelectionManager(function($2){return new qx.ui.treevirtual.SelectionManager($2); }); this.setNewTableColumnModel(function($2){return new qx.ui.table.ResizeTableColumnModel($2); }); qx.ui.table.Table.call(this,$1); this.setColumnVisibilityButtonVisible($0.length>1); this.setRowHeight(16); this.setMetaColumnCounts($0.length>1?[1,-1]:[1]); this.setOverflow($[25]); var $2=new qx.ui.treevirtual.SimpleTreeDataCellRenderer(); var $3=new qx.ui.treevirtual.DefaultDataCellRenderer(); var $4=this.getTableColumnModel(); var $5=this.getTableModel().getTreeColumn(); for(var $6=0;$6<$0.length;$6++){$4.setDataCellRenderer($6,$6==$5?$2:$3); }this.setDataRowRenderer(new qx.ui.treevirtual.SimpleTreeDataRowRenderer()); this.setAlwaysUpdateCells(true); this.setFocusCellOnMouseMove(true); this.setRowColors({bgcolFocused:$[960],bgcolFocusedBlur:$[960]}); this.setCellFocusAttributes({backgroundColor:$[1799]}); var $7=this._getPaneScrollerArr(); for(var $6=0;$6<$7.length;$6++){$7[$6]._focusIndicator.setAppearance($[1337]); $7[$6].setSelectBeforeFocus(true); }}); qx.OO.addProperty({name:$[608],type:$[3],defaultValue:false,getAlias:$[608]}); qx.Proto.getDataModel=function(){return this.getTableModel(); }; qx.Proto.setUseTreeLines=function($0){var $1=this.getTableModel(); var $2=$1.getTreeColumn(); var $3=this.getTableColumnModel().getDataCellRenderer($2); $3.setUseTreeLines($0); if($1.hasEventListeners(qx.ui.table.TableModel.EVENT_TYPE_DATA_CHANGED)){var $4={firstRow:0,lastRow:$1._rowArr.length-1,firstColumn:0,lastColumn:$1.getColumnCount()-1}; $1.dispatchEvent(new qx.event.type.DataEvent(qx.ui.table.TableModel.EVENT_TYPE_DATA_CHANGED,$4),true); }}; qx.Proto.getUseTreeLines=function(){var $0=this.getTableModel().getTreeColumn(); var $1=this.getTableColumnModel().getDataCellRenderer($0); return $1.getUseTreeLines(); }; qx.Proto.setAlwaysShowOpenCloseSymbol=function($0){var $1=this.getTableModel(); var $2=$1.getTreeColumn(); var $3=this.getTableColumnModel().getDataCellRenderer($2); $3.setAlwaysShowOpenCloseSymbol($0); if($1.hasEventListeners(qx.ui.table.TableModel.EVENT_TYPE_DATA_CHANGED)){var $4={firstRow:0,lastRow:$1._rowArr.length-1,firstColumn:0,lastColumn:$1.getColumnCount()-1}; $1.dispatchEvent(new qx.event.type.DataEvent(qx.ui.table.TableModel.EVENT_TYPE_DATA_CHANGED,$4),true); }}; qx.Proto.setExcludeFirstLevelTreeLines=function($0){var $1=this.getTableModel(); var $2=$1.getTreeColumn(); var $3=this.getTableColumnModel().getDataCellRenderer($2); $3.setExcludeFirstLevelTreeLines($0); if($1.hasEventListeners(qx.ui.table.TableModel.EVENT_TYPE_DATA_CHANGED)){var $4={firstRow:0,lastRow:$1._rowArr.length-1,firstColumn:0,lastColumn:$1.getColumnCount()-1}; $1.dispatchEvent(new qx.event.type.DataEvent(qx.ui.table.TableModel.EVENT_TYPE_DATA_CHANGED,$4),true); }}; qx.Proto.getExcludeFirstLevelTreeLines=function(){var $0=this.getTableModel().getTreeColumn(); var $1=this.getTableColumnModel().getDataCellRenderer($0); return $1.getExcludeFirstLevelTreeLines(); }; qx.Proto.getAlwaysShowOpenCloseSymbol=function(){var $0=this.getTableModel().getTreeColumn(); var $1=this.getTableColumnModel().getDataCellRenderer($0); return $1.getAlwaysShowOpenCloseSymbol(); }; qx.Proto.setSelectionMode=function($0){this.getSelectionModel().setSelectionMode($0); }; qx.Proto.getSelectionMode=function($0){return this.getSelectionModel().getSelectionMode(); }; qx.Proto.setOverflow=function($0){if($0!=$[25]){throw new Error("Tree overflow must be hidden. "+"The internal elements of it will scroll."); }}; qx.Proto.toggleOpened=function($0){if($0.bOpened){this.createDispatchDataEvent($[363],$0); }else{if($0.children.length>0){this.createDispatchDataEvent($[434],$0); }else{this.createDispatchDataEvent($[364],$0); }}if(!$0.bHideOpenClose){$0.bOpened=!$0.bOpened; var $1=this.getSelectionModel(); var $2=this.getTableModel(); var $3=$2.getNodeRowMap()[$0.nodeId]; var $4=$1.isSelectedIndex($3); this.getSelectionModel()._clearSelection(); $2._clearSelections(); if($4){this.setState($0.nodeId,{bSelected:true}); }}this.getTableModel().setData(); }; qx.Proto.setState=function($0,$1){this.getTableModel().setState($0,$1); }; qx.Proto.setRowColors=function($0){this.getDataRowRenderer().setRowColors($0); }; qx.Proto.setCellFocusAttributes=function($0){if(!$0.opacity){$0.opacity=0.2; }var $1=this._getPaneScrollerArr(); for(var $2=0;$2<$1.length;$2++){$1[$2]._focusIndicator.set($0); }}; qx.Proto._onkeydown=function($0){if(!this.getEnabled()){return; }var $1=$0.getKeyIdentifier(); var $2=false; var $3=$0.getModifiers(); if($3==0){switch($1){case $[34]:var $4=this.getTableModel(); var $5=this.getFocusedRow(); var $6=$4.getTreeColumn(); var $7=$4.getValue($6,$5); if(!$7.bHideOpenClose){this.toggleOpened($7); }$2=true; break; case $[58]:this.moveFocusedCell(-1,0); break; case $[59]:this.moveFocusedCell(1,0); break; }}else if($3==qx.event.type.DomEvent.CTRL_MASK){switch($1){case $[58]:var $4=this.getTableModel(); var $5=this.getFocusedRow(); var $6=$4.getTreeColumn(); var $7=$4.getValue($6,$5); if($7.type==qx.ui.treevirtual.SimpleTreeDataModel.Type.BRANCH&&!$7.bHideOpenClose&&$7.bOpened){this.toggleOpened($7); }this.setFocusedCell($6,$5,true); $2=true; break; case $[59]:var $4=this.getTableModel(); var $5=this.getFocusedRow(); var $6=$4.getTreeColumn(); var $7=$4.getValue($6,$5); if($7.type==qx.ui.treevirtual.SimpleTreeDataModel.Type.BRANCH&&!$7.bHideOpenClose&&!$7.bOpened){this.toggleOpened($7); }this.setFocusedCell($6,$5,true); $2=true; break; }}else if($3==qx.event.type.DomEvent.SHIFT_MASK){switch($1){case $[58]:var $4=this.getTableModel(); var $5=this.getFocusedRow(); var $6=$4.getTreeColumn(); var $7=$4.getValue($6,$5); if($7.parentNodeId){var $8=$4.getNodeRowMap()[$7.parentNodeId]; this.setFocusedCell(this._focusedCol,$8,true); }$2=true; break; case $[59]:var $4=this.getTableModel(); var $5=this.getFocusedRow(); var $6=$4.getTreeColumn(); var $7=$4.getValue($6,$5); if($7.type==qx.ui.treevirtual.SimpleTreeDataModel.Type.BRANCH&&!$7.bHideOpenClose){if(!$7.bOpened){this.toggleOpened($7); }if($7.children.length>0){this.moveFocusedCell(0,1); }}$2=true; break; }}if($2){$0.preventDefault(); $0.stopPropagation(); }else{qx.ui.table.Table.prototype._onkeydown.call(this,$0); }}; qx.Proto._onkeypress=function($0){if(!this.getEnabled()){return; }var $1=false; var $2=$0.getKeyIdentifier(); switch($2){case $[58]:case $[59]:$1=true; break; } if($1){$0.preventDefault(); $0.stopPropagation(); }else{qx.ui.table.Table.prototype._onkeypress.call(this,$0); }}; qx.Proto._onSelectionChanged=function($0){this.getTableModel()._clearSelections(); if(this.getSelectionMode()!=qx.ui.treevirtual.TreeVirtual.SelectionMode.NONE){var $1=this._calculateSelectedNodes(); this.createDispatchDataEvent($[164],$1); }qx.ui.table.Table.prototype._onSelectionChanged.call(this,$0); }; qx.Proto.getHierarchy=function($0){var $1=this; var $2=[]; function $3($0){if(!$0){return ; }var $4=$1.getTableModel().getData()[$0]; $2.unshift($4.label); $3($4.parentNodeId); }$3($0); return $2; }; qx.Proto.getFirstChild=function($0){var $1=this.getTableModel().getData()[$0]; if($1.children.length>0){return $1.children[0]; }return null; }; qx.Proto.getLastChild=function($0){var $1=this.getTableModel().getData()[$0]; if($1.children.length>0){return $1.children[children.length-1]; }return null; }; qx.Proto.getNextSibling=function($0){var $1=this.getTableModel().getData(); var $2=$1[$0]; var $3=$2.nodeId; var $4=$1[$2.parentNodeId].children; for(var $5=0;$5<$4.length;$5++){if($4[$5]==$3){if($5<$4.length-1){return $4[$5+1]; }return null; }}}; qx.Proto.getPrevSibling=function($0){var $1=this.getTableModel().getData(); var $2=$1[$0]; var $3=$2.nodeId; var $4=$1[$2.parentNodeId].children; for(var $5=0;$5<$4.length;$5++){if($4[$5]==$3){if($5>0){return $4[$5-1]; }return null; }}}; qx.Proto._calculateSelectedNodes=function(){var $0=this.getTableModel(); var $1=this.getSelectionModel().getSelectedRanges(); var $2=[]; var $3; for(var $4=0;$4<$1.length;$4++){for(var $5=$1[$4].minIndex;$5<=$1[$4].maxIndex;$5++){$3=$0.getValue($0.getTreeColumn(),$5); $0.setState($3.nodeId,{bSelected:true}); $2.push($3); }}return $2; }; qx.Proto.getSelectedNodes=function(){return this.getTableModel().getSelectedNodes(); }; qx.Clazz.SelectionMode={NONE:qx.ui.table.SelectionModel.NO_SELECTION,SINGLE:qx.ui.table.SelectionModel.SINGLE_SELECTION,SINGLE_INTERVAL:qx.ui.table.SelectionModel.SINGLE_INTERVAL_SELECTION,MULTIPLE_INTERVAL:qx.ui.table.SelectionModel.MULTIPLE_INTERVAL_SELECTION}; /* ID: qx.ui.treevirtual.DefaultDataCellRenderer */ qx.OO.defineClass($[1927],qx.ui.table.DefaultDataCellRenderer,function(){qx.ui.table.DefaultDataCellRenderer.call(this); }); qx.Proto._getCellStyle=function($0){var $1=$0.style+qx.ui.treevirtual.SimpleTreeDataCellRenderer.MAIN_DIV_STYLE; return $1; }; /* ID: qx.ui.treevirtual.SimpleTreeDataRowRenderer */ qx.OO.defineClass($[1841],qx.ui.table.DefaultDataRowRenderer,function(){qx.ui.table.DefaultDataRowRenderer.call(this); }); qx.Proto.updateDataRowElement=function($0,$1){var $2=$0.table; var $3=$0.rowData; var $4=$2.getTableModel(); var $5=$4.getTreeColumn(); var $6=$3[$5]; $0.selected=$6.bSelected; if($6.bSelected){var $7=$4.getNodeRowMap(); var $8=$7[$6.nodeId]; $2.getSelectionModel()._addSelectionInterval($8,$8); }var $9=qx.ui.table.DefaultDataRowRenderer; $9.prototype.updateDataRowElement.call(this,$0,$1); }; /* ID: elite.ui.form.MaskedField */ qx.OO.defineClass($[1861],qx.ui.form.TextField,function($0,$1){qx.ui.form.TextField.call(this,$0); if(!$1){$1=null; }this.setMask($1); this.addEventListener($[82],this._oninput); this.addEventListener($[203],this._onchange); }); qx.OO.addProperty({name:$[1039],type:$[0],defaultValue:$[1]}); qx.OO.addProperty({name:$[1700],type:$[0],defaultValue:$[1]}); qx.Proto._oninput=function($0){if(this.getMask()){this._applyMask($0); }}; qx.Proto._onchange=function(){if(this.getValue()==$[1]){this.setUnmaskedValue($[1]); }else{this._removeMask(); }}; qx.Proto._modifyValue=function($0,$1,$2){qx.ui.form.TextField.prototype._modifyValue.call(this,$0,$1,$2); this.setUnmaskedValue(this.getComputedValue()); return true; }; qx.Proto._isAlphabetic=function($0){$0=$0.toLowerCase(); alphabetic=$[814]; if($0.length<1)return (false); for(var $1=0;$1<$0.length;$1++){var $2=$0.substr($1,1); var $3=alphabetic.indexOf($2,0); if($3==-1)return (false); }return (true); }; qx.Proto._isAlphanumeric=function($0){$0=$0.toLowerCase(); alphabetic=$[814]; numeric=$[1524]; if($0.length<1)return (false); for(var $1=0;$1<$0.length;$1++){var $2=$0.substr($1,1); var $3=alphabetic.indexOf($2,0); var $4=numeric.indexOf($2,0); if($3==-1&&$4==-1)return (false); }return (true); }; qx.Proto._removeMask=function(){var $0=this.getValue(); var $1=$[1]; for(var $2=1;$2<=$0.length;$2++){if(this._isAlphanumeric($0.substring($2-1,$2))){$1=$1+$0.substring($2-1,$2); }}this.setUnmaskedValue($1); }; qx.Proto._applyMask=function($0){this.setValue($0.getData()); if(this.getValue().length<=this.getMask().length){var $1=this.getMask().substring(this.getValue().length-1,this.getValue().length); var $2=this.getValue().substring(this.getValue().length-1,this.getValue().length); if(($1!=$[138])&&($1!=$[732])&&($1!=$[144])){$0.setData($0.getData().substring(0,$0.getData().length-1)); $0.setData($0.getData()+$1+$2); $1=this.getMask().substring($0.getData().length-1,$0.getData().length); } if($1==$[138]){if(($2.charCodeAt(0)<48)||($2.charCodeAt(0)>57)){$0.setData($0.getData().substring(0,$0.getData().length-1)); }}else if($1==$[732]){if(!this._isAlphabetic($2)){$0.setData($0.getData().substring(0,$0.getData().length-1)); }}else if($1==$[144]){if(!this._isAlphanumeric($2)){$0.setData($0.getData().substring(0,$0.getData().length-1)); }}}else{$0.setData($0.getData().substring(0,$0.getData().length-1)); }this.setValue($0.getData()); if(this.getMask()!=$[1]){this._removeMask(); }else{this.setUnmaskedValue(this.getValue()); }}; /* ID: elite.ui.tree.TreeFolder */ qx.OO.defineClass($[2443],qx.ui.tree.TreeFolder,function($0,$1,$2,$3){qx.ui.tree.TreeFolder.call(this,$0,$2,$3); if(!$1){$1=null; }this.setValue($1); }); qx.OO.addProperty({name:$[85],type:$[0],defaultValue:$[1]}); /* ID: qx.xml.Namespace */ qx.OO.defineClass($[2458],{SVG:"http://www.w3.org/2000/svg",SMIL:"http://www.w3.org/2001/SMIL20/",MML:"http://www.w3.org/1998/Math/MathML",CML:"http://www.xml-cml.org",XLINK:"http://www.w3.org/1999/xlink",XHTML:"http://www.w3.org/1999/xhtml",XUL:"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",XBL:"http://www.mozilla.org/xbl",FO:"http://www.w3.org/1999/XSL/Format",XSL:"http://www.w3.org/1999/XSL/Transform",XSLT:"http://www.w3.org/1999/XSL/Transform",XI:"http://www.w3.org/2001/XInclude",XFORMS:"http://www.w3.org/2002/01/xforms",SAXON:"http://icl.com/saxon",XALAN:"http://xml.apache.org/xslt",XSD:"http://www.w3.org/2001/XMLSchema",DT:"http://www.w3.org/2001/XMLSchema-datatypes",XSI:"http://www.w3.org/2001/XMLSchema-instance",RDF:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",RDFS:"http://www.w3.org/2000/01/rdf-schema#",RSS1:"http://purl.org/rss/1.0/modules/content/",DC:"http://purl.org/dc/elements/1.1/",DCQ:"http://purl.org/dc/qualifiers/1.0",SOAPENV:"http://schemas.xmlsoap.org/soap/envelope/",WSDL:"http://schemas.xmlsoap.org/wsdl/",ADOBESVGEXTENSIONS:"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"}); /* ID: qx.ui.embed.GalleryList */ qx.OO.defineClass($[1032],qx.ui.basic.Terminator,function($0){qx.ui.basic.Terminator.call(this); this._blank=qx.manager.object.AliasManager.getInstance().resolvePath($[62]); this._list=$0; this._listSize=$0.length; this._processedImages=0; this.setOverflow($[5]); this.setHtmlProperty($[243],$[2574]); this._manager=new qx.manager.selection.DomSelectionManager(this); this.addEventListener($[6],this._onmousedown); this.addEventListener($[7],this._onmouseup); this.addEventListener($[14],this._onmousemove); this.addEventListener($[18],this._onclick); this.addEventListener($[41],this._ondblclick); this.addEventListener($[17],this._onkeypress); }); qx.OO.addProperty({name:$[840],type:$[2],defaultValue:60}); qx.OO.addProperty({name:$[903],type:$[2],defaultValue:60}); qx.OO.addProperty({name:$[696],type:$[2],defaultValue:40}); qx.Proto._applyElementData=function(){this.getElement().appendChild(this.createView()); }; qx.Proto.getManager=function(){return this._manager; }; qx.Proto.update=function($0){this._manager.deselectAll(); this._list=$0; var $1=this.getElement(); $1.replaceChild(this.createView(),$1.firstChild); }; qx.Proto.removeAll=function(){this._manager.deselectAll(); this.getElement().innerHTML=$[1]; }; qx.Proto.getPositionById=function($0){for(var $1=0,$2=this._list,$3=$2.length;$1<$3;$1++){if($2[$1].id==$0){return $1; }}return -1; }; qx.Proto.getEntryById=function($0){return this.getEntryByPosition(this.getPositionById($0)); }; qx.Proto.getNodeById=function($0){return this.getNodeByPosition(this.getPositionById($0)); }; qx.Proto.getEntryByPosition=function($0){return $0==-1?null:this._list[$0]; }; qx.Proto.getNodeByPosition=function($0){return $0==-1?null:this._frame.childNodes[$0]; }; qx.Proto.getEntryByNode=function($0){return this.getEntryById($0.id); }; qx.Proto._onmousedown=function($0){var $1=this.getListItemTarget($0.getDomTarget()); if($1){this._manager.handleMouseDown($1,$0); }}; qx.Proto._onmouseup=function($0){var $1=this.getListItemTarget($0.getDomTarget()); if($1){this._manager.handleMouseUp($1,$0); }}; qx.Proto._onmousemove=function($0){if(!qx.OO.isAvailable($[153])){return; }var $1=this.getListItemTarget($0.getDomTarget()); if($1==this._lastItem){return; } if(this._lastItem){var $2=new qx.event.type.MouseEvent($[45],$0,false,this._lastItem); qx.manager.object.ToolTipManager.getInstance().handleMouseOut($2); $2.dispose(); } if($1){if(this.hasEventListeners($[344])){this.dispatchEvent(new qx.event.type.DataEvent($[344],$1),true); } if(!this.getToolTip()){return; }var $2=new qx.event.type.MouseEvent($[45],$0,false,$1); qx.manager.object.ToolTipManager.getInstance().handleMouseOver($2); $2.dispose(); this.setToolTip(null); }this._lastItem=$1; }; qx.Proto._onclick=function($0){var $1=this.getListItemTarget($0.getDomTarget()); if($1){this._manager.handleClick($1,$0); }}; qx.Proto._ondblclick=function($0){var $1=this.getListItemTarget($0.getDomTarget()); if($1){this._manager.handleDblClick($1,$0); }}; qx.Proto._onkeypress=function($0){this._manager.handleKeyPress($0); }; qx.Proto.getListItemTarget=function($0){while($0.className.indexOf($[290])==-1&&$0.tagName.toLowerCase()!=$[126]){$0=$0.parentNode; } if($0.tagName.toLowerCase()==$[126]){return null; }return $0; }; qx.Proto.scrollItemIntoView=function($0){this.scrollItemIntoViewX($0); this.scrollItemIntoViewY($0); }; qx.Proto.scrollItemIntoViewX=function($0){qx.html.ScrollIntoView.scrollX($0); }; qx.Proto.scrollItemIntoViewY=function($0){qx.html.ScrollIntoView.scrollY($0); }; qx.Proto.getItems=function(){return this._frame.childNodes; }; qx.Proto.getFirstChild=function(){return this._frame.childNodes[0]; }; qx.Proto.getLastChild=function(){return this._frame.childNodes[this._frame.childNodes.length-1]; }; qx.Proto.createView=function(){var $0=(new Date).valueOf(); var $1=this.createProtoCell(this.getThumbMaxHeight()); var $2=this._frame=document.createElement($[55]); this._frame.className=$[714]; var $3,$4; for(var $5=0,$6=this._list,$7=$6.length,$8;$5<$7;$5++){$8=$6[$5]; $3=$1.cloneNode(true); $3.id=$8.id; $3.pos=$5; $4=$3.childNodes[0]; $4.firstChild.nodeValue=$8.number; $4=$3.childNodes[1].firstChild; this.createImageCell($4,$8); $4=$3.childNodes[2].firstChild; $4.firstChild.nodeValue=$8.title; $4=$3.childNodes[2].lastChild; $4.firstChild.nodeValue=$8.comment; $2.appendChild($3); }return $2; }; qx.Proto._mshtml=qx.core.Client.getInstance().isMshtml(); qx.Proto.createImageCell=function($0,$1){if(this.hasEventListeners($[326])){$0.onload=qx.ui.embed.GalleryList.imageOnLoad; $0.onerror=qx.ui.embed.GalleryList.imageOnError; $0.gallery=this; }$0.width=$1.thumbWidth; $0.height=$1.thumbHeight; if(this._mshtml){$0.style.filter=$[197]+$1.src+$[193]; }else{$0.src=$1.src; }$0.style.marginLeft=$0.style.marginRight=Math.floor((this.getThumbMaxWidth()-$1.thumbWidth)/2)+$[28]; $0.style.marginTop=$0.style.marginBottom=Math.floor((this.getThumbMaxHeight()-$1.thumbHeight)/2)+$[28]; }; qx.Proto.createProtoCell=function($0){var $1=document.createElement($[55]); $1.className=$[290]; $1.unselectable=$[86]; $1.style.height=($0+2)+$[28]; var $2=document.createElement($[55]); $2.className=$[1021]; $2.unselectable=$[86]; var $3=document.createTextNode($[60]); $2.appendChild($3); var $4=document.createElement($[55]); $4.className=$[2304]; $4.unselectable=$[86]; var $5=new Image(); $5.src=this._blank; $4.appendChild($5); var $6=document.createElement($[55]); $6.className=$[1874]; $6.unselectable=$[86]; $6.style.width=(this.getWidth()-100-this.getThumbMaxWidth())+$[28]; var $7=document.createElement($[1526]); var $8=document.createTextNode($[60]); $7.appendChild($8); $7.unselectable=$[86]; $6.appendChild($7); var $9=document.createElement($[1875]); var $a=document.createTextNode($[60]); $9.appendChild($a); $9.unselectable=$[86]; $6.appendChild($9); $1.appendChild($2); $1.appendChild($4); $1.appendChild($6); return $1; }; qx.Proto.imageOnComplete=function(){this._processedImages++; if(this._processedImages==this._listSize){this.dispatchEvent(new qx.event.type.Event($[326]),true); }}; qx.ui.embed.GalleryList.imageOnLoad=function(){this.gallery.imageOnComplete(); this.gallery=null; this.onload=null; this.onerror=null; }; qx.ui.embed.GalleryList.imageOnError=function(){this.gallery.imageOnComplete(); this.gallery=null; this.onload=null; this.onerror=null; }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; }this._list=null; this._frame=null; if(this._manager){this._manager.dispose(); this._manager=null; }this.removeEventListener($[6],this._onmousedown); this.removeEventListener($[7],this._onmouseup); this.removeEventListener($[14],this._onmousemove); this.removeEventListener($[18],this._onclick); this.removeEventListener($[41],this._ondblclick); this.removeEventListener($[13],this._onkeydown); return qx.ui.basic.Terminator.prototype.dispose.call(this); }; /* ID: elite.ui.io.UploadForm */ qx.OO.defineClass($[1201],qx.ui.layout.CanvasLayout,function($0,$1){qx.ui.layout.CanvasLayout.call(this); this.set({height:22}); this._parameters={}; this._hidden={}; if(qx.core.Client.getInstance().isMshtml()){this.setTagName($[2546]); }else{this.setTagName($[1592]); }this.setHtmlProperty($[1637],$[1842]); this.setStyleProperty($[2132],$[1711]); this.setSelectable(false); if(typeof $0===$[0]){this.setFname($0); } if(typeof $1===$[0]){this.setUrl($1); }this.setMethod(qx.net.Http.METHOD_POST); var $2=(new Date).valueOf(); var $3=$[828]+$2; if(qx.core.Client.getInstance().isMshtml()){this._iframeNode=document.createElement($[407]+$3+$[547]); }else{this._iframeNode=document.createElement($[225]); }this._iframeNode.src=$[569]; this._iframeNode.id=this._iframeNode.name=$3; this._iframeNode.style.display=$[32]; this.setTarget($3); document.body.appendChild(this._iframeNode); var $4=this; this._iframeNode.onload=function($5){return $4._onload($5); }; this._iframeNode.onreadystatechange=function($5){return $4._onreadystatechange($5); }; }); qx.OO.addProperty({name:$[939],type:$[0],defaultValue:$[1]}); qx.OO.addProperty({name:$[269],type:$[0],defaultValue:$[1]}); qx.OO.addProperty({name:$[518],type:$[0],possibleValues:[qx.net.Http.METHOD_GET,qx.net.Http.METHOD_POST]}); qx.OO.addProperty({name:$[385],type:$[0],defaultValue:$[1]}); qx.Proto._modifyFname=function($0,$1,$2){this.setFname($0); return true; }; qx.Proto.send=function($0){var $1=this.getElement(); if($1){this._addFormParameters(); $1.target=this.getTarget(); $1.action=this.getUrl(); $1.method=this.getMethod(); $1.submit(); this._isSent=true; this.dispatchEvent(new qx.event.type.Event($[56]),true); }else{throw new Error("Form element not created! Unable to call form submit!"); }}; qx.Proto._addFormParameters=function(){var $0=this.getElement(); var $1; var $2=this.getParameters(); for(var $3 in $2){$0.appendChild(this._hidden[$3]); }}; qx.Proto._createHiddenFormField=function($0,$1){var $2=document.createElement($[82]); $2.type=$[25]; $2.name=$0; $2.value=$1; return $2; }; qx.Proto.setParameter=function($0,$1){this._parameters[$0]=$1; if(this._hidden[$0]&&this._hidden[$0].name){this._hidden[$0].value=$1; }else{this._hidden[$0]=this._createHiddenFormField($0,$1); }}; qx.Proto.removeParameter=function($0){delete this._parameters[$0]; if(this._hidden[$0]&&this._hidden[$0].parentNode){this._hidden[$0].parentNode.removeChild(this._hidden[$0]); }delete this._hidden[$0]; }; qx.Proto.getParameter=function($0){return this._parameters[$0]||null; }; qx.Proto.getParameters=function(){return this._parameters; }; qx.Proto.getIframeWindow=function(){return qx.html.Iframe.getWindow(this._iframeNode); }; qx.Proto.getIframeDocument=function(){return qx.html.Iframe.getDocument(this._iframeNode); }; qx.Proto.getIframeBody=function(){return qx.html.Iframe.getBody(this._iframeNode); }; qx.Proto.getIframeNode=function(){return this._iframeNode; }; qx.Proto.getIframeTextContent=function(){var $0=this.getIframeBody(); if(!$0){return null; }if($0.firstChild&&($0.firstChild.tagName==$[1293]||$0.firstChild.tagName==$[586])){return $0.firstChild.innerHTML; }else{return $0.innerHTML; }}; qx.Proto.getIframeHtmlContent=function(){var $0=this.getIframeBody(); return $0?$0.innerHTML:null; }; qx.Proto.getIframeXmlContent=function(){var $0=this.getIframeTextContent(); if(!$0||$0.length==0){return null; }var $1=null; var $2=$0.replace(/</g,$[931]); $2=$2.replace(/>/g,$[456]); try{$1=qx.xml.Document.fromString($2); }catch(ex){}return $1; }; qx.Proto._onreadystatechange=function(){if(this.getIframeNode().readyState==$[327]&&this._isSent){this.dispatchEvent(new qx.event.type.Event($[22]),true); delete this._isSent; }}; qx.Proto._onload=function(){if(this._isSent){this.dispatchEvent(new qx.event.type.Event($[22]),true); delete this._isSent; }}; qx.Proto.dispose=function(){if(this.getDisposed()){return; }document.body.removeChild(this._iframeNode); this._iframeNode.onreadystatechange=null; this._iframeNode.onload=null; this._iframeNode=null; this._parameters=null; for(var $0 in this._hidden){if(this._hidden[$0]&&this._hidden[$0].parentNode){this._hidden[$0].parentNode.removeChild(this._hidden[$0]); }}this._hidden=null; qx.ui.layout.CanvasLayout.prototype.dispose.call(this); }; /* ID: qx.ui.layout.DockLayout */ qx.OO.defineClass($[2876],qx.ui.core.Parent,function(){qx.ui.core.Parent.call(this); }); qx.OO.addProperty({name:$[590],type:$[0],defaultValue:$[27],possibleValues:[$[27],$[26],$[2337]],addToQueueRuntime:true}); qx.OO.changeProperty({name:$[46],addToQueue:true,unitDetection:$[134]}); qx.OO.changeProperty({name:$[104],defaultValue:-Infinity,addToQueue:true,unitDetection:$[134]}); qx.OO.changeProperty({name:$[104],defaultValue:-Infinity,addToQueue:true,unitDetection:$[134]}); qx.OO.changeProperty({name:$[47],addToQueue:true,unitDetection:$[134]}); qx.OO.changeProperty({name:$[113],defaultValue:-Infinity,addToQueue:true,unitDetection:$[134]}); qx.OO.changeProperty({name:$[113],defaultValue:-Infinity,addToQueue:true,unitDetection:$[134]}); qx.Proto._createLayoutImpl=function(){return new qx.renderer.layout.DockLayoutImpl(this); }; qx.Proto.addLeft=function(){this._addAlignedHorizontal($[10],arguments); }; qx.Proto.addRight=function(){this._addAlignedHorizontal($[12],arguments); }; qx.Proto.addTop=function(){this._addAlignedVertical($[16],arguments); }; qx.Proto.addBottom=function(){this._addAlignedVertical($[24],arguments); }; qx.Proto._addAlignedVertical=function($0,$1){for(var $2=0,$3=$1.length;$2<$3;$2++){$1[$2].setVerticalAlign($0); }this.add.apply(this,$1); }; qx.Proto._addAlignedHorizontal=function($0,$1){for(var $2=0,$3=$1.length;$2<$3;$2++){$1[$2].setHorizontalAlign($0); }this.add.apply(this,$1); }; /* ID: elite.ui.filter.FilterEx */ qx.OO.defineClass($[2669],qx.ui.layout.CanvasLayout,function(){qx.ui.layout.CanvasLayout.call(this); this.setHeight(20); var $0=this._field=new qx.ui.form.TextField; this.add($0); $0.addEventListener($[13],this._onfieldkeydown,this); $0.hide(); var $1=this._searchButton=new qx.ui.basic.Atom; $1.setIcon($[366]); $1.setRight(0); $1.setTop(0); $1.setWidth(20); $1.setTabIndex(-1); this.add($1); $1.addEventListener($[18],this._onsearchbuttonclick,this); var $2=this._header=new qx.ui.layout.CanvasLayout; $2.setBackgroundColor(new qx.renderer.color.Color($[544])); $2.setBorder(qx.renderer.border.BorderPresets.getInstance().thinOutset); $2.setHeight(20); $2.setTabIndex(-1); var $3=this._headerLabel=new qx.ui.basic.Label; $3.setTop(2); $3.setLeft(5); $2.add($3); this._hb=this._headerButton=new qx.ui.basic.Atom; this._hb.setIcon($[186]); this._hb.setRight(5); this._hb.setTop(5); this._hb.addEventListener($[18],this._onhbclick,this); $2.add(this._hb); this.add($2); $2.show(); var $4=this._optionsMenu=new qx.ui.menu.Menu; var $5=new qx.ui.menu.Button($[503]); $5.addEventListener($[11],function(){this.selectAll(); },this); var $6=new qx.ui.menu.Button($[479]); $6.addEventListener($[11],function(){this.deselectAll(); },this); var $7=new qx.ui.menu.Button($[477]); $7.addEventListener($[11],function(){this.invertSelection(); },this); $4.add($5,$6,$7); var $8=this._list=new qx.ui.layout.VerticalBoxLayout; $8.setMaxHeight(140); $8.setHeight($[5]); $8.setOverflow($[5]); $8.setBorder(qx.renderer.border.BorderPresets.getInstance().inset); $8.setBackgroundColor(new qx.renderer.color.Color($[65])); $8.addEventListener($[18],this._onlistclick,this); $8.addEventListener($[156],this._onlistcontextmenu,this); $8.hide(); this.setTabIndex(1); this._field.setFocused(true); this.remapChildrenHandlingTo($8); }); qx.OO.addProperty({name:$[530],type:$[0]}); qx.OO.addProperty({name:$[593],type:$[0]}); qx.OO.addProperty({name:$[125],type:$[0],defaultValue:$[1]}); qx.OO.addProperty({name:$[780],type:$[0]}); qx.OO.addProperty({name:$[509],type:$[23]}); qx.Proto.getField=function(){return this._field; }; qx.Proto.getHeader=function(){return this._header; }; qx.Proto.getList=function(){return this._list; }; qx.Proto.getCheckedItemsLabels=function(){var $0=this._list.getChildren(); var $1=[]; var $2=0; for(var $3=0;$3<$0.length;$3++){var $4=$0[$3]; if($4 instanceof qx.ui.form.CheckBox&&$4.getChecked()){$1[$2]=$4.getLabel(); $2++; }}return $1; }; qx.Proto.getNumItems=function(){var $0=this._list.getChildren(); var $1=0; for(var $2=0;$2<$0.length;$2++){var $3=$0[$2]; if($3 instanceof qx.ui.form.CheckBox){$1++; }}return $1; }; qx.Proto.getCheckedItemsValues=function($0){var $1=this._list.getChildren(); var $2=[]; var $3=0; for(var $4=0;$4<$1.length;$4++){var $5=$1[$4]; if($5 instanceof qx.ui.form.CheckBox&&$5.getChecked()){if($0){$2[$3]=$[84]+$5.getValue()+$[84]; }else{$2[$3]=$5.getValue(); }$3++; }}return $2; }; qx.Proto.selectAll=function(){this._list.forEachChild(function(){if(this instanceof qx.ui.form.CheckBox){this.setChecked(true); }}); }; qx.Proto.deselectAll=function(){this._list.forEachChild(function(){if(this instanceof qx.ui.form.CheckBox){this.setChecked(false); }}); }; qx.Proto.invertSelection=function(){this._list.forEachChild(function(){if(this instanceof qx.ui.form.CheckBox){this.setChecked(!this.getChecked()); }}); }; qx.Proto.removeAllItems=function(){this._list.removeAll(); }; qx.Proto.mountSql=function(){this._verifyListFullEmpty(); if(this.getNumItems()>0){var $0=this.getCheckedItemsValues(true).join($[19]); this.setFilter($[742]+this.getFieldName()+$[568]+$0+$[506]); }}; qx.Proto._modifyHeaderLabel=function($0,$1,$2){this._headerLabel.setHtml($0); return true; }; qx.Proto._modifyWidth=function($0,$1,$2){this._field.setWidth($0-20); this._header.setWidth($0-20); this._list.setWidth($0); return true; }; qx.Proto._verifyListFullEmpty=function(){var $0=this.getCheckedItemsLabels().length; if($0==0){this.selectAll(); }}; qx.Proto._callSearchFunction=function(){this._list.removeAll(); var $0=this.getSearchFunction(); $0(); if(this._list.isSeeable()){this.mountSql(); this._list.hide(); this._headerButton.setIcon($[186]); }this._field.setFocused(false); this.setFocused(true); this._header.show(); this._field.hide(); }; qx.Proto._onfieldkeydown=function($0){if($0.getKeyIdentifier()==$[34]){this._callSearchFunction(); }}; qx.Proto._onsearchbuttonclick=function($0){if(this._field.isSeeable()){this._callSearchFunction(); }else{this._header.hide(); this._field.show(); }}; qx.Proto._onlistcontextmenu=function($0){if(this._optionsMenu.isSeeable()){this._optionsMenu.hide(); }else{this._optionsMenu.setParent(this.getTopLevelWidget()); this._optionsMenu.setLeft($0.getPageX()); this._optionsMenu.setTop($0.getPageY()); this._optionsMenu.show(); }}; qx.Proto._onlistclick=function($0){this._verifyListFullEmpty(); }; qx.Proto._onhbclick=function($0){if(this._list.getChildren().length==0){this._field.show(); this._header.hide(); }else{this._field.hide(); this._header.show(); var $1=$0.getTarget(); if(this._list.isSeeable()){var $2=this.getCheckedItemsValues(true).join($[19]); this.mountSql(); this._list.hide(); $1.setIcon($[186]); }else{var $3=this.getElement(); this._list.setTop(this.getTop()+20); this._list.setLeft(this.getLeft()); this._list.setParent(this.getParent()); this._list.show(); $1.setIcon($[430]); }}}; qx.Proto.dispose=function(){if(this.getDisposed()){return; } if(this._field){this._field.dispose(); this._field=null; } if(this._searchButton){this._searchButton.dispose(); this._searchButton=null; } if(this._header){this._header.dispose(); this._header=null; } if(this._headerLabel){this._headerLabel.dispose(); this._headerLabel=null; } if(this._headerButton){this._headerButton.dispose(); this._headerButton=null; } if(this._optionsMenu){if(!qx.core.Object.inGlobalDispose())this._optionsMenu.setParent(null); this._optionsMenu.dispose(); this._optionsMenu=null; } if(this._list){if(!qx.core.Object.inGlobalDispose())this._list.setParent(null); this._list.dispose(); this._list=null; }return qx.ui.layout.CanvasLayout.prototype.dispose.call(this); }; /* ID: qx.html.Textile */ qx.OO.defineClass($[1757]); qx.html.Textile.textilize=function($0){var $1=$0; var $2=[[$[1764],$[1627]],[$[2447],$[2038]],[$[1892],$[2729]],[$[1422],$[1741]],[$[1380],$[1640]],[$[1361],$[1568]]]; var $3,$4,$5,$6,$7,$8,$9,$a,$b; for(var $c=0;$c<$2.length;$c++){$3=$2[$c][0]; $4=$2[$c][1]; $5=new RegExp($3+$[2303]+$3,$[140]); $1=$1.replace($5,$[931]+$4+$[456]+$[2836]+$[2908]+$4+$[456]); }$5=new RegExp($[1042],$[140]); $1=$1.replace($5,$[1826]); $5=new RegExp($[3004],$[140]); $1=$1.replace($5,$[2190]); $5=new RegExp($[1681],$[775]); $1=$1.replace($5,$[2338]); $5=new RegExp($[2958],$[775]); $1=$1.replace($5,$[2757]); $5=new RegExp($[2884],$[140]); $1=$1.replace($5,$[978]); $5=new RegExp($[1988],$[140]); $1=$1.replace($5,$[1795]); $5=new RegExp($[1307],$[140]); $1=$1.replace($5,$[2442]); $5=new RegExp($[1490],$[140]); $1=$1.replace($5,$[79]); $7=$1.split($[79]); $8=$[1]; for(var $c=0;$c<$7.length;$c++){$6=$7[$c].replace(/\s*$/,$[1]); $9=0; if($6.search(/^\s*bq\.\s+/)!=-1){$6=$6.replace(/^\s*bq\.\s+/,$[1687])+$[2487]; $9=1; }if($6.search(/^\s*h[1-6]\.\s+/)!=-1){$5=new RegExp($[1803],$[140]); $6=$6.replace($5,$[2922]); $9=1; } if($6.search(/^\s*\*\s+/)!=-1){$6=$6.replace(/^\s*\*\s+/,$[2626])+$[1399]; $9=1; } if($6.search(/^\s*#\s+/)!=-1){$6=$6.replace(/^\s*#\s+/,$[2776])+$[2839]; $9=1; } if(!$9&&($6.replace(/\s/g,$[1]).length>0)){$6=$[1699]+$6+$[2283]; }$7[$c]=$6+$[79]; }$a=0; $b=$[1]; for(var $c=0;$c<$7.length;$c++){$6=$7[$c]; if($a&&$b==$[572]&&!$6.match(/^\t/g,$[1183]); return $1; }; /* ID: qx.ui.pageview.tabview.Bar */ qx.OO.defineClass($[2509],qx.ui.pageview.AbstractBar,function(){qx.ui.pageview.AbstractBar.call(this); this.setZIndex(2); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[1435]}); /* ID: qx.ui.pageview.tabview.Button */ qx.OO.defineClass($[2986],qx.ui.pageview.AbstractButton,function($0,$1,$2,$3,$4){qx.ui.pageview.AbstractButton.call(this,$0,$1,$2,$3,$4); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[1200]}); qx.OO.addProperty({name:$[2141],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[2877],type:$[0],defaultValue:$[753]}); qx.Proto._onkeydown=function($0){var $1=$0.getKeyIdentifier(); if($1==$[34]||$1==$[103]){this.setChecked(true); }}; qx.Proto._onkeypress=function($0){switch($0.getKeyIdentifier()){case $[58]:var $1=this.getPreviousActiveSibling(); if($1&&$1!=this){delete qx.event.handler.FocusHandler.mouseFocus; $1.setFocused(true); $1.setChecked(true); }break; case $[59]:var $2=this.getNextActiveSibling(); if($2&&$2!=this){delete qx.event.handler.FocusHandler.mouseFocus; $2.setFocused(true); $2.setChecked(true); }break; }}; qx.Proto._ontabclose=function($0){this.createDispatchDataEvent($[2630],this); }; qx.Proto._modifyShowCloseButton=function($0,$1,$2){if(!this._closeButtonImage){this._closeButtonImage=new qx.ui.basic.Image(this.getCloseButtonImage()); } if($0){this._closeButtonImage.addEventListener($[18],this._ontabclose,this); this.add(this._closeButtonImage); }else{this.remove(this._closeButtonImage); this._closeButtonImage.removeEventListener($[18],this._ontabclose); }return true; }; qx.Proto._modifyCloseButtonImage=function($0,$1,$2){if(this._closeButtonImage){this._closeButtonImage.setSource($0); }return true; }; qx.Proto._applyStateAppearance=function(){this._states.firstChild=this.isFirstVisibleChild(); this._states.lastChild=this.isLastVisibleChild(); this._states.alignLeft=this.getView().getAlignTabsToLeft(); this._states.barTop=this.getView().getPlaceBarOnTop(); qx.ui.pageview.AbstractButton.prototype._applyStateAppearance.call(this); }; qx.Proto.dispose=function(){if(this.getDisposed()){return; } if(this._closeButtonImage){this._closeButtonImage.dispose(); this._closeButtonImage=null; }return qx.ui.pageview.AbstractButton.prototype.dispose.call(this); }; /* ID: qx.ui.resizer.Resizer */ qx.OO.defineClass($[2985],qx.ui.layout.CanvasLayout,function($0){qx.ui.layout.CanvasLayout.call(this); this._frame=new qx.ui.basic.Terminator; this._frame.setAppearance($[2238]); this._registerResizeEvents(); this.setAppearance($[2324]); this.setResizeableWest(false); this.setResizeableNorth(false); this.setMinWidth($[5]); this.setMinHeight($[5]); this.auto(); if($0){$0.setBorder(new qx.renderer.border.Border(0)); this.add(this._child=$0); }}); qx.OO.addProperty({name:$[1761],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[2653],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[1997],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[2428],type:$[3],defaultValue:true}); qx.OO.addPropertyGroup({name:$[353],members:[$[1015],$[1159],$[2953],$[1669]],mode:$[268]}); qx.OO.addProperty({name:$[493],type:$[0],defaultValue:$[69],possibleValues:[$[161],$[256],$[69],$[111]]}); qx.OO.addProperty({name:$[493],type:$[0],defaultValue:$[69],possibleValues:[$[161],$[256],$[69],$[111]]}); qx.Proto.isResizeable=qx.Proto.getResizeable=function(){return this.getResizeableWest()||this.getResizeableEast()||this.getResizeableNorth()||this.getResizeableSouth(); }; qx.Proto._registerResizeEvents=function(){this.addEventListener($[6],this._onmousedown); this.addEventListener($[7],this._onmouseup); this.addEventListener($[14],this._onmousemove); }; qx.Proto._onmousedown=function($0){if(this._resizeNorth||this._resizeSouth||this._resizeWest||this._resizeEast){this.setCapture(true); this.getTopLevelWidget().setGlobalCursor(this.getCursor()); var $1=this.getElement(); var $2=this.getTopLevelWidget(); var $3=$2.getElement(); var $4=qx.html.Location.getPageAreaLeft($3); var $5=qx.html.Location.getPageAreaTop($3); var $6=qx.html.Location.getPageAreaRight($3); var $7=qx.html.Location.getPageAreaBottom($3); switch(this.getResizeMethod()){case $[111]:this.setOpacity(0.5); break; case $[69]:var $8=this._frame; if($8.getParent()!=$2){$8.setParent($2); qx.ui.core.Widget.flushGlobalQueues(); }$8._applyRuntimeLeft(qx.html.Location.getPageBoxLeft($1)-$4); $8._applyRuntimeTop(qx.html.Location.getPageBoxTop($1)-$5); $8._applyRuntimeWidth(qx.html.Dimension.getBoxWidth($1)); $8._applyRuntimeHeight(qx.html.Dimension.getBoxHeight($1)); $8.setZIndex(this.getZIndex()+1); break; }var $9=this._resizeSession={}; var $a=this._child; if(this._resizeWest){$9.boxWidth=qx.html.Dimension.getBoxWidth($1); $9.boxRight=qx.html.Location.getPageBoxRight($1); } if(this._resizeWest||this._resizeEast){$9.boxLeft=qx.html.Location.getPageBoxLeft($1); $9.parentAreaOffsetLeft=$4; $9.parentAreaOffsetRight=$6; $9.minWidth=$a.getMinWidthValue(); $9.maxWidth=$a.getMaxWidthValue(); } if(this._resizeNorth){$9.boxHeight=qx.html.Dimension.getBoxHeight($1); $9.boxBottom=qx.html.Location.getPageBoxBottom($1); } if(this._resizeNorth||this._resizeSouth){$9.boxTop=qx.html.Location.getPageBoxTop($1); $9.parentAreaOffsetTop=$5; $9.parentAreaOffsetBottom=$7; $9.minHeight=$a.getMinHeightValue(); $9.maxHeight=$a.getMaxHeightValue(); }}else{delete this._resizeSession; }$0.stopPropagation(); }; qx.Proto._onmouseup=function($0){var $1=this._resizeSession; if($1){this.setCapture(false); this.getTopLevelWidget().setGlobalCursor(null); switch(this.getResizeMethod()){case $[69]:var $2=this._frame; if(!($2&&$2.getParent())){break; }case $[256]:if($1.lastLeft!=null){this.setLeft($1.lastLeft); } if($1.lastTop!=null){this.setTop($1.lastTop); } if($1.lastWidth!=null){var $3=this.getChildren()[0]; if($3){$3.setWidth($1.lastWidth); }} if($1.lastHeight!=null){var $3=this.getChildren()[0]; if($3){$3.setHeight($1.lastHeight); }} if(this.getResizeMethod()==$[69]){this._frame.setParent(null); }break; case $[111]:this.setOpacity(null); break; }delete this._resizeNorth; delete this._resizeEast; delete this._resizeSouth; delete this._resizeWest; delete this._resizeSession; }$0.stopPropagation(); }; qx.Proto._near=function($0,$1){return $1>($0-5)&&$1<($0+5); }; qx.Proto._onmousemove=function($0){var $1=this._resizeSession; if($1){if(this._resizeWest){$1.lastWidth=qx.lang.Number.limit($1.boxWidth+$1.boxLeft-Math.max($0.getPageX(),$1.parentAreaOffsetLeft),$1.minWidth,$1.maxWidth); $1.lastLeft=$1.boxRight-$1.lastWidth-$1.parentAreaOffsetLeft; }else if(this._resizeEast){$1.lastWidth=qx.lang.Number.limit(Math.min($0.getPageX(),$1.parentAreaOffsetRight)-$1.boxLeft,$1.minWidth,$1.maxWidth); } if(this._resizeNorth){$1.lastHeight=qx.lang.Number.limit($1.boxHeight+$1.boxTop-Math.max($0.getPageY(),$1.parentAreaOffsetTop),$1.minHeight,$1.maxHeight); $1.lastTop=$1.boxBottom-$1.lastHeight-$1.parentAreaOffsetTop; }else if(this._resizeSouth){$1.lastHeight=qx.lang.Number.limit(Math.min($0.getPageY(),$1.parentAreaOffsetBottom)-$1.boxTop,$1.minHeight,$1.maxHeight); } switch(this.getResizeMethod()){case $[161]:case $[111]:if(this._resizeWest||this._resizeEast){this.setWidth($1.lastWidth); if(this._resizeWest){this.setLeft($1.lastLeft); }} if(this._resizeNorth||this._resizeSouth){this.setHeight($1.lastHeight); if(this._resizeNorth){this.setTop($1.lastTop); }}break; default:var $2=this.getResizeMethod()==$[69]?this._frame:this; if(this._resizeWest||this._resizeEast){$2._applyRuntimeWidth($1.lastWidth); if(this._resizeWest){$2._applyRuntimeLeft($1.lastLeft); }} if(this._resizeNorth||this._resizeSouth){$2._applyRuntimeHeight($1.lastHeight); if(this._resizeNorth){$2._applyRuntimeTop($1.lastTop); }}}}else{var $3=$[1]; var $4=this.getElement(); this._resizeNorth=this._resizeSouth=this._resizeWest=this._resizeEast=false; if(this._near(qx.html.Location.getPageBoxTop($4),$0.getPageY())){if(this.getResizeableNorth()){$3=$[372]; this._resizeNorth=true; }}else if(this._near(qx.html.Location.getPageBoxBottom($4),$0.getPageY())){if(this.getResizeableSouth()){$3=$[229]; this._resizeSouth=true; }} if(this._near(qx.html.Location.getPageBoxLeft($4),$0.getPageX())){if(this.getResizeableWest()){$3+=$[513]; this._resizeWest=true; }}else if(this._near(qx.html.Location.getPageBoxRight($4),$0.getPageX())){if(this.getResizeableEast()){$3+=$[342]; this._resizeEast=true; }} if(this._resizeNorth||this._resizeSouth||this._resizeWest||this._resizeEast){this.setCursor($3+$[528]); }else{this.setCursor(null); }}$0.stopPropagation(); }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; } if(this._frame){this._frame.dispose(); this._frame=null; }return qx.ui.layout.CanvasLayout.prototype.dispose.call(this); }; /* ID: qx.ui.embed.Iframe */ qx.OO.defineClass($[2613],qx.ui.basic.Terminator,function($0){qx.ui.basic.Terminator.call(this); this.setSelectable(false); this.setTabIndex(0); var $1=this; this.__onreadystatechange=function($2){return $1._onreadystatechange($2); }; this.__onload=function($2){return $1._onload($2); }; if($0!=undefined){this.setSource($0); }}); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[225]}); qx.OO.addProperty({name:$[558],type:$[0]}); qx.OO.addProperty({name:$[2842],type:$[0]}); qx.Proto._iframeNode=null; qx.Proto.getIframeNode=function(){return this._iframeNode; }; qx.Proto.setIframeNode=function($0){return this._iframeNode=$0; }; qx.Proto._blockerNode=null; qx.Proto.getBlockerNode=function(){return this._blockerNode; }; qx.Proto.setBlockerNode=function($0){return this._blockerNode=$0; }; qx.Proto.reload=function(){this._applySource(); }; qx.Proto.block=function(){if(this._blockerNode){this._blockerNode.style.display=$[1]; }}; qx.Proto.release=function(){if(this._blockerNode){this._blockerNode.style.display=$[32]; }}; qx.Proto._modifyElement=function($0,$1,$2){var $3=this.getIframeNode(); if(!$3){qx.ui.embed.Iframe.initIframe(this.getFrameName()); $3=this.setIframeNode(qx.ui.embed.Iframe._element.cloneNode(true)); qx.ui.embed.Iframe.initBlocker(); var $4=this.setBlockerNode(qx.ui.embed.Iframe._blocker.cloneNode(true)); if(qx.core.Client.getInstance().isMshtml()){$3.onreadystatechange=this.__onreadystatechange; }else{$3.onload=this.__onload; }}this._applySource(); $0.appendChild($3); $0.appendChild($4); qx.ui.basic.Terminator.prototype._modifyElement.call(this,$0,$1,$2); return true; }; qx.Proto._beforeAppear=function(){qx.ui.basic.Terminator.prototype._beforeAppear.call(this); qx.manager.object.IframeManager.getInstance().add(this); }; qx.Proto._beforeDisappear=function(){qx.ui.basic.Terminator.prototype._beforeDisappear.call(this); qx.manager.object.IframeManager.getInstance().remove(this); }; qx.Proto._modifySource=function($0,$1,$2){if(this.isCreated()){this._applySource(); }return true; }; qx.Proto._applySource=function(){var $0=this.getSource(); if(qx.util.Validation.isInvalidString($0)){$0=qx.manager.object.AliasManager.getInstance().resolvePath($[62]); }this._isLoaded=false; this.getIframeNode().src=$0; }; qx.Proto._modifyFrameName=function($0,$1,$2,$3){if(this.isCreated()){throw new Error("Not allowed to set frame name after it has been created"); }return true; }; qx.Proto._onreadystatechange=function(){if(this.getIframeNode().readyState==$[327]){this.dispatchEvent(new qx.event.type.Event($[102]),true); }}; qx.Proto._onload=function(){this._isLoaded=true; this.dispatchEvent(new qx.event.type.Event($[102]),true); }; if(qx.core.Client.getInstance().isMshtml()){qx.Proto.getContentWindow=function(){if(this.isCreated()){try{return this.getIframeNode().contentWindow; }catch(ex){}}return null; }; qx.Proto.getContentDocument=function(){var $0=this.getContentWindow(); if($0){try{return $0.document; }catch(ex){}}return null; }; }else{qx.Proto.getContentWindow=function(){var $0=this.getContentDocument(); return $0?$0.defaultView:null; }; qx.Proto.getContentDocument=function(){if(this.isCreated()){try{return this.getIframeNode().contentDocument; }catch(ex){}}return null; }; }qx.Proto._isLoaded=false; if(qx.core.Client.getInstance().isMshtml()){qx.Proto.isLoaded=function(){var $0=this.getContentDocument(); return $0?$0.readyState==$[327]:false; }; }else{qx.Proto.isLoaded=function(){return this._isLoaded; }; }qx.Proto.dispose=function(){if(this.getDisposed()){return; }this.__onreadystatechange=this.__onload=null; if(this._iframeNode){this._iframeNode.onreadystatechange=null; this._iframeNode.onload=null; this._iframeNode=null; }qx.ui.basic.Terminator.prototype.dispose.call(this); }; qx.ui.embed.Iframe.initIframe=function($0){if(qx.ui.embed.Iframe._element&&!$0){return; } if($0&&qx.core.Client.getInstance().isMshtml()){var $1=qx.ui.embed.Iframe._element=document.createElement($[407]+$0+$[547]); }else{var $1=qx.ui.embed.Iframe._element=document.createElement($[225]); if($0){$1.name=$0; }}$1.frameBorder=$[15]; $1.frameSpacing=$[15]; $1.marginWidth=$[15]; $1.marginHeight=$[15]; $1.width=$[42]; $1.height=$[42]; $1.hspace=$[15]; $1.vspace=$[15]; $1.border=$[15]; $1.scrolling=$[5]; $1.unselectable=$[86]; $1.allowTransparency=$[422]; $1.style.position=$[100]; $1.style.top=0; $1.style.left=0; }; qx.ui.embed.Iframe.initBlocker=function(){if(qx.ui.embed.Iframe._blocker){return; }var $0=qx.ui.embed.Iframe._blocker=document.createElement($[55]); if(qx.core.Client.getInstance().isMshtml()){$0.style.backgroundColor=$[65]; $0.style.filter=$[1569]; }$0.style.position=$[100]; $0.style.top=0; $0.style.left=0; $0.style.width=$[42]; $0.style.height=$[42]; $0.style.zIndex=1; $0.style.display=$[32]; }; /* ID: qx.dev.Pollution */ qx.OO.defineClass($[1384]); qx.Clazz.names={"window":window,"document":document,"body":document.body}; qx.Clazz.ignore={"window":[$[1999],$[1887],$[549],$[1222],$[1664],$[2035],$[1273],$[1184],$[2410],$[1931],$[845],$[2292],$[1356],$[1914],$[3001],$[2220],$[925],$[2357],$[1631],$[2915],$[127],$[787],$[92],$[2392],$[1274],$[237],$[1136],$[16],$[606],$[96],$[158],$[117],$[1473],$[1396],$[1007],$[566],$[625],$[322],$[2504],$[1535],$[2116],$[1084],$[2356],$[2148],$[2768],$[396],$[335],$[2067],$[817],$[868],$[739],$[912],$[1760],$[2401],$[2122],$[1086],$[1941],$[1815],$[1114],$[1041],$[1570]],"document":[$[2398],$[92],$[2522],$[908],$[1688],$[166],$[126],$[2983],$[2125],$[929],$[627],$[893],$[854],$[2499],$[2560],$[2976],$[1389],$[1800],$[2785],$[1255],$[1554],$[1171],$[2241],$[599]],"body":[$[1133],$[1219],$[2771],$[2438],$[2344],$[2310],$[1635],$[953],$[2745],$[2450],$[787],$[1837],$[2402],$[1752],$[1641],$[854],$[893],$[1679],$[2568],$[3007],$[2173],$[293],$[243],$[1024],$[2115],$[1013],$[2112],$[2948],$[599],$[2268],$[627],$[929],$[162],$[1376],$[1809],$[1483],$[2605]]}; qx.Clazz.consoleInfo=function($0){var $1=qx.dev.Pollution.getTextList($0||$[127]); if($1){alert("Global namespace is polluted by the following unknown objects:\n\n"+$1); }else{alert("Global namespace is not polluted by any unknown objects."); }}; qx.Clazz.extract=function($0){var $1=[]; var $2=qx.dev.Pollution.ignore[$0]; var $3=qx.core.Client.getInstance(); if($3.isMshtml()&&($0==$[127])){$2=$2.slice(); for(var $4=0;$4=7)&&($0==$[127])&&($6==$[925])){continue; }if(typeof $5[$6]==$[40]||$5[$6]===null){continue; }if(typeof $5[$6]==$[23]&&$5[$6].toString().indexOf($[949])!=-1){continue; }if(typeof $5[$6].constructor==$[23]){if(($5[$6].constructor.toString().indexOf($[949])!=-1)||($5[$6].constructor.toString().indexOf($[3003])!=-1)){continue; }}if(qx.lang.Array.contains($2,$6)){continue; }}catch(ex){continue; }$1.push({"key":$6,"value":$5[$6]}); }return $1; }; qx.Clazz.getHtmlTable=function($0){var $1=[]; var $2=$[2540]; var $3=$[1142]; var $4=$[2199]; $1.push($[2930]); var $5=this.extract($0); for(var $6=0;$6<$5.length;$6++){$1.push($2+$5[$6].key+$3+$5[$6].value+$4); }$1.push($[1771]); return $1.join($[1]); }; qx.Clazz.getTextList=function($0){var $1=[]; var $2=$[95]; var $3=$[79]; var $4=this.extract($0); for(var $5=0;$5<$4.length;$5++){$1.push($4[$5].key+$2+$4[$5].value+$3); }return $1.join($[1]); }; /* ID: qx.theme.icon.NuoveXT */ qx.OO.defineClass($[2464],qx.renderer.theme.IconTheme,function(){qx.renderer.theme.IconTheme.call(this,$[2829]); }); qx.Settings.setDefault($[185],qx.Settings.getValueOfClass($[191],$[188])+$[1040]); qx.Clazz.getInstance=qx.lang.Function.returnInstance; qx.manager.object.ImageManager.getInstance().registerIconTheme(qx.Clazz); /* ID: qx.locale.data.en_US */ qx.Locale.define($[1844],{}); /* ID: qx.lang.Generics */ qx.OO.defineClass($[1318],{map:{"Array":[$[1827],$[2503],$[1561],$[1323],$[2926],$[2322],$[1648],$[1913],$[871],$[589],$[900],$[966],$[2327],$[1886],$[125],$[2110],$[2277]],"String":[$[2601],$[2061],$[2386],$[2569],$[2436],$[2167],$[900],$[966],$[2254],$[1762],$[1023],$[1508],$[2025],$[2620],$[1247],$[2699],$[871],$[589]]},_wrap:function($0,$1){return function($2){return $0.prototype[$1].apply($2,Array.prototype.slice.call(arguments,1)); }; },init:function(){var $0=qx.lang.Generics.map; for(var $1 in $0){var $2=window[$1]; var $3=$0[$1]; for(var $4=0,$5=$3.length;$4<$5;$4++){var $6=$3[$4]; if(!$2[$6]){$2[$6]=qx.lang.Generics._wrap($2,$6); }}}}}); qx.lang.Generics.init(); /* ID: qx.util.GuiBuilder */ qx.OO.defineClass($[2127],qx.core.Target,function($0){qx.core.Target.call(this); this._propertyEditors={}; this._registerDefaultPropertyEditors(); this._flags=$0||{}; if(this._flags.strict==null){this._flags.strict=true; }}); qx.Proto.buildFromUrl=function($0,$1){var $2=new qx.io.remote.Request($1,$[1889],qx.util.Mime.XML); var $3=this; $2.addEventListener($[22],function($4){$3.build($0,$4.getData().getContent()); qx.ui.core.Widget.flushGlobalQueues(); }); $2.send(); }; qx.Proto.build=function($0,$1){if(typeof $1==$[4]&&$1.nodeName==$[1446]){$1=$1.value; }if(typeof $1==$[0]){$1=qx.xml.Document.fromString($1); }this._buildNodes($0,$1.childNodes); }; qx.Proto._buildNodes=function($0,$1){var $2=0; for(var $3=0;$3<$1.length;$3++){var $4=$1[$3]; if($4.nodeType==1){this._buildWidgetFromNode($0,$4); }}}; qx.Proto._buildEventListener=function($0,$1,$2){if(typeof $1.type!==$[0]){throw this._newError($[1905]); }var $3=this; if(typeof $1.delegate===$[0]){if($1.delegate.indexOf($[830])>-1){var $4=$1.delegate.split($[830]); var $5=$4[0]; var $6=$4[1]; $0.addEventListener($1.type,function($7){if(!window[$5]){throw $3._newError($[525],{delegate:$1.delegate}); } if(!window[$5][$6]){throw $3._newError($[525],{delegate:$1.delegate}); }window[$5][$6].apply(window[$5],[$7]); }); }else{$0.addEventListener($1.type,function($7){if(!window[$1.delegate]){throw $3._newError($[525],{delegate:$1.delegate}); }window[$1.delegate].apply(null,[$7]); }); }}else{if(!$1.args){$1.args=$[845]; }var $7=new Function($1.args,$2); $0.addEventListener($1.type,$7); }}; qx.Proto._buildWidgetFromNode=function($0,$1){var $2=this._extractClassName($1); if(!$2){throw this._newError($[1157],{nodeName:$1.nodeName}); } if($2==$[1392]){this._buildNodes($0,$1.childNodes); return; } if($2==$[2309]){var $3=document.createElement($[619]); var $4=this._mapXmlAttribToObject($1); if($4.type){$3.type=$4.type; }else{$3.type=$[2519]; }if(qx.core.Client.getInstance().isMshtml()){$3.innerHTML=eval($1.firstChild.nodeValue); }else{$3.innerHTML=$1.firstChild.nodeValue; }document.body.appendChild($3); return; } if($2==$[2135]){var $4=this._mapXmlAttribToObject($1); var $5; if($1.firstChild){$5=$1.firstChild.nodeValue; }this._buildEventListener($0,$4,$5); return; }var $6=qx.OO.classes[$2]; if(!$6){throw this._newError($[2904],{className:$2}); }var $7=new $6(); var $4=this._mapXmlAttribToObject($1,$7); delete $4[$[378]]; var $8=$4.id&&$4.id.indexOf($[110])==0; if($4.id){window[$4.id]=$7; delete $4.id; }for(var $9 in $4){if($9.toLowerCase().indexOf($[2942])==0&&$9.length>2){var $a=$9.substring(2); $a=$a.charAt(0)+$a.substring(1); this._buildEventListener($7,{type:$a,args:$[2405]},$4[$9]); delete $4[$9]; }} for(var $b in $4){this._setWidgetProperty($7,$b,$4[$b]); } if(!$8){$0.add($7); }this._buildNodes($7,$1.childNodes); }; qx.Proto._setWidgetProperty=function($0,$1,$2){var $3=this._findPropertyEditor($0.classname,$1); if(!$3){$3=this._coercePropertyEditor; }$3.set($0,$1,$2); }; qx.Proto._findPropertyEditor=function($0,$1){var $2=this._propertyEditors[$0]; if($2&&$2[$1]){return $2[$1]; }var $3=qx.OO.classes[$0]; if($3&&$3.superclass&&$3.superclass.prototype.classname){return this._findPropertyEditor($3.superclass.prototype.classname,$1); }return null; }; qx.Proto.registerPropertyEditor=function($0,$1,$2){if(!this._propertyEditors[$0])this._propertyEditors[$0]={}; this._propertyEditors[$0][$1]=$2; }; qx.Proto._registerDefaultPropertyEditors=function(){var $0=this; var $1={}; $1.set=function($2,$3,$4){if($4==null||$4==$[1]){$0._setProperty($2,$3,null); return; }var $5=$4.split($[19]); var $6=[]; for(var $7=0;$7<$5.length;$7++){$6[$7]=$0._coerce($5[$7]); }$0._setProperties($2,$3,$6); }; var $2={}; $2.set=function($3,$4,$5){if($5==null||$5==$[1]){$0._setProperty($3,$4,null); return; }$0._setProperty($3,$4,eval($5)); }; var $3={}; $3.set=function($4,$5,$6){$0._setProperty($4,$5,window[$6]); }; this.registerPropertyEditor($[81],$[2764],$1); this.registerPropertyEditor($[81],$[1593],$1); this.registerPropertyEditor($[81],$[1496],$1); this.registerPropertyEditor($[81],$[1580],$1); this.registerPropertyEditor($[81],$[2486],$1); this.registerPropertyEditor($[81],$[2207],$1); this.registerPropertyEditor($[81],$[2739],$1); this.registerPropertyEditor($[81],$[1538],$1); this.registerPropertyEditor($[81],$[1154],$1); this.registerPropertyEditor($[81],$[1644],$1); this.registerPropertyEditor($[81],$[1919],$1); this.registerPropertyEditor($[81],$[1818],$1); this.registerPropertyEditor($[81],$[2351],$1); this.registerPropertyEditor($[81],$[2395],$2); this.registerPropertyEditor($[81],$[380],$2); this.registerPropertyEditor($[81],$[1103],$2); this.registerPropertyEditor($[1807],$[661],$3); this.registerPropertyEditor($[2756],$[661],$3); this.registerPropertyEditor($[2323],$[2573],$3); this.registerPropertyEditor($[1188],$[2608],$3); this._coercePropertyEditor={}; this._coercePropertyEditor.set=function($4,$5,$6){$0._setProperty($4,$5,$0._coerce($6)); }; }; qx.Proto._coerce=function($0){if($0==null)return $0; if(typeof $0==$[2648])return $0; if(typeof $0==$[1862])return $0; if(typeof $0==$[1218])return $0; if(typeof $0==$[2525])return $0; if(typeof $0==$[2661])return $0; if(typeof $0==$[2047])return $0; var $1=new Number($0); if(!isNaN($1))return $1.valueOf(); if($0==$[422])return true; if($0==$[2478])return false; var $2=Date.parse($0); if($2!=null&&!isNaN($2))return $2; if(typeof $0==$[2698]){if($0==$[1])return null; }return $0; }; qx.Proto._setProperty=function($0,$1,$2){this._setProperties($0,$1,[$2]); }; qx.Proto._setProperties=function($0,$1,$2){var $3=$[91]+$1; for(var $4 in $0){if($3==$4.toLowerCase()){var $5=$0[$4]; break; }} if(!$5&&this._flags.strict)throw this._newError($[1116],{widget:$0,property:$1}); $5.apply($0,$2); }; qx.Proto._extractClassName=function($0){if($0.nodeName.toLowerCase()==$[55]){if(!$0.attributes[$[378]])return null; return $0.attributes[$[378]].value; }else{return $0.nodeName; }}; qx.Proto._mapXmlAttribToObject=function($0){var $1={}; var $2=$0.attributes; for(var $3=0;$3<$2.length;$3++){$1[$2[$3].name.toLowerCase()]=$2[$3].value; }return $1; }; qx.Proto._newError=function($0,$1,$2){var $3=$0; var $4=$[1]; var $5=$[1]; if($1){for(var $6 in $1){$5+=$4+$6+$[21]+$1[$6]+$[108]; $4=$[48]; }$3+=$[48]+$5+$[48]; } if($2){$3+=$[2972]+$2+$[48]; }return new Error($3); }; /* ID: qx.log.DivAppender */ qx.OO.defineClass($[1733],qx.log.Appender,function($0){qx.log.Appender.call(this); this._divId=$0?$0:$[954]; }); qx.OO.addProperty({name:$[520],type:$[2],defaultValue:500}); qx.OO.changeProperty({name:$[489],type:$[3],defaultValue:false,allowNull:false}); qx.OO.addProperty({name:$[2713],type:$[0],defaultValue:$[1866]}); qx.OO.addProperty({name:$[2475],type:$[0],defaultValue:$[1346]}); qx.OO.addProperty({name:$[2673],type:$[0],defaultValue:$[2710]}); qx.OO.addProperty({name:$[1839],type:$[0],defaultValue:$[1773]}); qx.OO.addProperty({name:$[2705],type:$[0],defaultValue:$[2906]}); qx.OO.addProperty({name:$[1584],type:$[0],defaultValue:$[2919]}); qx.OO.addProperty({name:$[1385],type:$[0],defaultValue:$[2235]}); qx.Proto._createClearButtonHandler=function($0){return function($1){$0.innerHTML=$[1]; }; }; qx.Proto.appendLogEvent=function($0){var $1=qx.log.Logger; if(this._logElem==null){var $2=document.getElementById(this._divId); if($2==null){throw new Error("Logging div with ID "+this._divId+" not found"); }$2.innerHTML=$[721]+this.getHeadClassName()+$[1838]+$[721]+this.getBodyClassName()+$[1331]; this._clearBt=$2.firstChild.firstChild; this._logElem=$2.lastChild; this._clearBt.onclick=this._createClearButtonHandler(this._logElem); }var $3=$0.logger.getName(); if($0.instanceId!=null){$3+=$[352]+$0.instanceId+$[221]; } if($3!=this._lastGroup){var $4=document.createElement($[55]); $4.className=this.getGroupClassName(); $4.innerHTML=$3; this._logElem.appendChild($4); this._lastGroup=$3; }var $4=document.createElement($[55]); switch($0.level){case $1.LEVEL_DEBUG:$4.className=this.getDebugClassName(); break; case $1.LEVEL_INFO:$4.className=this.getInfoClassName(); break; case $1.LEVEL_WARN:$4.className=this.getWarnClassName(); break; case $1.LEVEL_ERROR:$4.className=this.getErrorClassName(); break; }$4.innerHTML=this.formatLogEvent($0).replace(/&/g,$[2759]).replace(/this.getMaxMessages()){this._logElem.removeChild(this._logElem.firstChild); if(this._removedMessageCount==null){this._removedMessageCount=1; }else{this._removedMessageCount++; }} if(this._removedMessageCount!=null){this._logElem.firstChild.className=$[1]; this._logElem.firstChild.innerHTML=$[169]+this._removedMessageCount+$[822]; }}; qx.Proto.dispose=function(){if(this.getDisposed()){return true; } if(this._clearBt){this._clearBt.onclick=null; this._clearBt=null; }this._logElem=null; return qx.log.Appender.prototype.dispose.call(this); }; /* ID: qx.locale.translation.en */ qx.Locale.define($[1478],{}); /* ID: qx.locale.translation.en_US */ qx.Locale.define($[2646],{}); /* ID: elite.ui.desktop.DesktopScreen */ qx.OO.defineClass($[1226],qx.ui.layout.CanvasLayout,function($0){qx.ui.layout.CanvasLayout.call(this); this._numIcons=0; this._numNotes=0; this._numWindows=0; this.setCookieName($0); this.setOverflow($[5]); }); qx.OO.addProperty({name:$[2313],type:$[0],defaultValue:null}); qx.Proto._readPositionsFromCookie=function(){var $0=this.getCookieName(); var $1=qx.io.local.CookieApi.get($0); if(!$1){return; }var $2=$1.split($[138]); var $3; var $4=[]; var $5; var $6; var $7; if($2[0].length>0){this._cookieIconPositions=[]; $3=$2[0].split($[176]); $6=$3.length; for($5=0;$5<$6;$5++){$4=$3[$5].split($[51]); $7=$4.length; for(var $8=0;$8<$7;$8++){$4[$8]=Number($4[$8]); }this._cookieIconPositions.push($4); }} if($2[1].length>0){this._cookieNotePositions=[]; this._cookieNoteDimension=[]; $3=$2[1].split($[176]); $6=$3.length; for($5=0;$5<$6;$5++){$4=$3[$5].split($[51]); $7=$4.length; for(var $8=0;$8<$7;$8++){$4[$8]=Number($4[$8]); }this._cookieNotePositions.push([$4[0],$4[1]]); this._cookieNoteDimension.push([$4[2],$4[3]]); }} if($2[2].length>0){this._cookieWindowPositions=[]; this._cookieWindowDimension=[]; $3=$2[2].split($[176]); $6=$3.length; for($5=0;$5<$6;$5++){$4=$3[$5].split($[51]); $7=$4.length; for(var $8=0;$8<$7;$8++){$4[$8]=Number($4[$8]); }this._cookieWindowPositions.push([$4[0],$4[1]]); this._cookieWindowDimension.push([$4[2],$4[3]]); }}}; qx.Proto.add=function(){qx.ui.layout.CanvasLayout.prototype.add.apply(this,arguments); var $0=arguments.length; for(var $1=0;$1<$0;$1++){if(arguments[$1] instanceof elite.ui.desktop.Icon){this._numIcons++; }else if(arguments[$1] instanceof elite.ui.desktop.Note){this._numNotes++; }else if(arguments[$1] instanceof elite.ui.desktop.Window){this._numWindows++; }}}; qx.Proto.addAt=function($0,$1){qx.ui.layout.CanvasLayout.prototype.addAt.call(this,$0,$1); if($0 instanceof elite.ui.desktop.Icon){this._numIcons++; }else if($0 instanceof elite.ui.desktop.Note){this._numNotes++; }else if($0 instanceof elite.ui.desktop.Window){this._numWindows++; }}; qx.Proto.remove=function(){qx.ui.layout.CanvasLayout.prototype.remove.apply(this,arguments); var $0; var $1=arguments.length; for(var $2=0;$2<$1;$2++){if(arguments[$2] instanceof elite.ui.desktop.Icon){this._numIcons--; }else if(arguments[$2] instanceof elite.ui.desktop.Note){this._numNotes--; }else if(arguments[$2] instanceof elite.ui.desktop.Window){this._numWindows--; }}}; qx.Proto.removeAt=function($0){var $1=this.getChildren(); if($1){if($1[$0] instanceof elite.ui.desktop.Icon){this._numIcons--; }else if($1[$0] instanceof elite.ui.desktop.Note){this._numNotes--; }else if($1[$0] instanceof elite.ui.desktop.Window){this._numWindows--; }}qx.ui.layout.CanvasLayout.prototype.removeAt.call(this,$0); }; qx.Proto.loadDefaultPositions=function(){var $0=this.getChildren(); var $1; var $2={x:30,y:12}; var $3={x:20,y:20}; var $4=32; var $5=this.getHeight()-2*$2.y-$4; var $6={x:110,y:90}; var $7={x:10,y:20,column:110}; var $8={x:10,y:22,column:110}; var $9=Math.ceil((this._numIcons*$6.y)/$5); var $a={x:$2.x,y:$2.y}; var $b={x:$9*$6.x,y:$2.y,column:$9*$6.x}; var $c={x:$2.x+$3.x,y:$2.y+$3.y,column:$2.x+$3.x}; var $d={width:100,height:80}; var $e=[]; if($0){$1=$0.length; var $f; for($f=0;$f<$1;$f++){if($0[$f] instanceof elite.ui.desktop.Icon){$0[$f].setLocation($a.x,$a.y); $a.y+=$6.y; if($a.y>$5){$a.x+=$6.x; $a.y=$2.y; }}else if($0[$f] instanceof elite.ui.desktop.Note){if(($b.y+$d.height)>$5){$b.column+=$7.column; $b.x=$b.column; $b.y=$2.y; }$0[$f].setLocation($b.x,$b.y); $0[$f].setDimension($d.width,$d.height); $b.x+=$7.x; $b.y+=$7.y; }else if($0[$f] instanceof elite.ui.desktop.Window){if(($c.y+$0[$f].getHeight())>$5){$c.column+=$8.column; $c.x=$c.column; $c.y=$2.y+$3.y; } if(!$0[$f].isSeeable()){$e.push($0[$f]); }else{$0[$f].setLocation($c.x,$c.y); $c.x+=$8.x; $c.y+=$8.y; }}}$1=$e.length; for($f=0;$f<$1;$f++){if(($c.y+$e[$f].getHeight())>$5){$c.column+=$8.column; $c.x=$c.column; $c.y=$2.y+$3.y; }$e[$f].setLocation($c.x,$c.y); $c.x+=$8.x; $c.y+=$8.y; }}}; qx.Proto.cookieExists=function(){var $0=this.getCookieName(); return (($0!=null)&&(qx.io.local.CookieApi.get($0)!=null)); }; qx.Proto.loadPositionsFromCookie=function(){if(this.cookieExists()){this._readPositionsFromCookie(); var $0=this.getChildren(); if($0&&($0.length>0)){var $1=this._cookieIconPositions; var $2=this._cookieNotePositions; var $3=this._cookieNoteDimension; var $4=this._cookieWindowPositions; var $5=this._cookieWindowDimension; var $6=$1.length; var $7=$2.length; var $8=$4.length; var $9=0; var $a=0; var $b=0; for(var $c in $0){if($0[$c] instanceof elite.ui.desktop.Icon){if($9<$6){$0[$c].setLocation($1[$9][0],$1[$9][1]); }$9++; }else if($0[$c] instanceof elite.ui.desktop.Note){if($a<$7){$0[$c].setLocation($2[$a][0],$2[$a][1]); $0[$c].setDimension($3[$a][0],$3[$a][1]); }$a++; }else if($0[$c] instanceof elite.ui.desktop.Window){if($b<$8){$0[$c].setLocation($4[$b][0],$4[$b][1]); $0[$c].setDimension($5[$b][0],$5[$b][1]); }$b++; }}}return true; }return false; }; qx.Proto.loadPositions=function(){if(!this.loadPositionsFromCookie()){this.loadDefaultPositions(); }}; qx.Proto.savePositionsToCookie=function(){if(this.getCookieName()!=null){var $0=new Date(); var $1; var $2=this.getChildren(); var $3=$[1]; var $4=$[1]; var $5=$[1]; var $6; $0.setTime($0.getTime()+2000*24*60*60*1000); $1=$0.toGMTString(); if($2&&($2.length>0)){for(var $7 in $2){if($2[$7] instanceof elite.ui.desktop.Icon){$3+=$[176]+$2[$7].getLeft()+$[51]+$2[$7].getTop(); }else if($2[$7] instanceof elite.ui.desktop.Note){$5+=$[176]+$2[$7].getLeft()+$[51]+$2[$7].getTop()+$[51]+$2[$7].getWidth()+$[51]+$2[$7].getHeight(); }else if($2[$7] instanceof elite.ui.desktop.Window){$4+=$[176]+$2[$7].getLeft()+$[51]+$2[$7].getTop()+$[51]+$2[$7].getWidth()+$[51]+$2[$7].getHeight(); }}}$6=$3.substr(1)+$[138]+$5.substr(1)+$[138]+$4.substr(1); qx.io.local.CookieApi.set(this.getCookieName(),$6,$1); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return true; }delete this._numIcons; delete this._numNotes; delete this._numWindows; return qx.ui.layout.CanvasLayout.prototype.dispose.call(this); }; /* ID: elite.ui.desktop.Note */ qx.OO.defineClass($[1794],qx.ui.layout.VerticalBoxLayout,function($0,$1,$2,$3){qx.ui.layout.VerticalBoxLayout.call(this); var $4=45; var $5=50; var $6=3; var $7=3; var $8=9; var $9=9; if($0){if(!qx.util.Validation.isValidString($0)){$0=$[1]; }}else{$0=$[1]; }if($1){if(!qx.util.Validation.isValidNumber($1)){$1=$5+2; }else{$1=($1>($5+2))?$1:($5+2); }}else{var $1=$5+2; } if($2){if(!qx.util.Validation.isValidNumber($2)){$2=$4+2; }else{$2=($2>($4+2))?$2:($4+2); }}else{var $2=$4+2; } if($3){if(!qx.util.Validation.isValidString($3)){$3=$[1]; }else{this.setNoteText($3); }}this._textArea=new qx.ui.form.TextArea($[1]); this._textArea.setReadOnly(true); this._textArea.setWrap(true); this._textArea.setValue(this.getNoteText()); this._textArea.setMinWidth($5); this._textArea.setMinHeight($4); this.addAtEnd(this._textArea); var $a=new qx.ui.basic.Image($0); $a.setBackgroundColor(new qx.renderer.color.Color($[2413])); $a.setMarginRight($7); $a.setMarginTop($6); $a.setWidth($9); $a.setHeight($8); $a.setHorizontalAlign($[12]); this.setContextButton($a); this.addAtBegin($a); var $b=new qx.renderer.color.Color($[129]); var $c=new qx.renderer.color.Color($[1830]); this.setBorder(new qx.renderer.border.Border(1,$[9],new qx.renderer.color.Color($[129]))); this.setBackgroundColor($c); this.setColor($b); this.setOpacity(0.5); this._textArea.setFont(this.getFont()); this.setSelectedBackgroundColor(new qx.renderer.color.Color($[943])); this.setSelectedColor(new qx.renderer.color.Color($[129])); this.setSelectedBorder(new qx.renderer.border.Border(1,$[9],new qx.renderer.color.Color($[129]))); this.setEditingBackgroundColor(new qx.renderer.color.Color($[943])); this.setEditingColor(new qx.renderer.color.Color($[129])); this.setEditingBorder(new qx.renderer.border.Border(1,$[9],new qx.renderer.color.Color($[317]))); this.setWidth($1); this.setHeight($2+this.getContextButton().getHeight()+this.getContextButton().getMarginTop()); this._textArea.setBorder(new qx.renderer.border.Border(0)); this._textArea.setBackgroundColor($c); this._textArea.setColor($b); this._textArea.setWidth(this.getWidth()-this._computeHorizontalEdgePart()); this._textArea.setHeight(this.getHeight()-this._computeVerticalEdgePart()); this._setMinSize(); this.setTabIndex(1); this._textArea.setTabIndex(-1); this._editableMode=false; this.addEventListener($[332],this._onchangewidth); this.addEventListener($[887],this._onchangeheight); this.addEventListener($[796],this._onchangeborder); this.addEventListener($[597],this._onchangecolor); this.addEventListener($[689],this._onchangebackgroundcolor); this.addEventListener($[698],this._onchangecursor); this.addEventListener($[623],this._onchangepaddingleft); this.addEventListener($[693],this._onchangepaddingright); this.addEventListener($[888],this._onchangepaddingtop); this.addEventListener($[668],this._onchangepaddingbottom); this.addEventListener($[143],this._onfocus); this.addEventListener($[123],this._onblur); this.addEventListener($[41],this._ondblclick); this.addEventListener($[14],this._onmousemove); this.addEventListener($[6],this._onmousedown); this.addEventListener($[156],this._oncontextmenu); this.addEventListener($[7],this._onmouseup); this.getContextButton().addEventListener($[18],this._oncontextbtclick,this); this.getContextButton().addEventListener($[6],this._oncontextbtmousedown,this); }); qx.OO.addProperty({name:$[2084],type:$[0],defaultValue:$[1]}); qx.OO.addProperty({name:$[235],type:$[4],instance:$[215],defaultValue:new qx.renderer.font.Font(12,$[853])}); qx.OO.addProperty({name:$[880],type:$[4],instance:$[93],defaultValue:null}); qx.OO.addProperty({name:$[793],type:$[4],instance:$[93],defaultValue:null}); qx.OO.addProperty({name:$[1625],type:$[4],instance:$[349],defaultValue:null}); qx.OO.addProperty({name:$[2347],type:$[2],defaultValue:1.0}); qx.OO.addProperty({name:$[1243],type:$[4],instance:$[93],defaultValue:null}); qx.OO.addProperty({name:$[1582],type:$[4],instance:$[93],defaultValue:null}); qx.OO.addProperty({name:$[981],type:$[4],instance:$[349],defaultValue:null}); qx.OO.addProperty({name:$[1598],type:$[2],defaultValue:1.0}); qx.OO.addProperty({name:$[1111],type:$[4],instance:$[636],defaultValue:null}); qx.OO.addProperty({name:$[588],type:$[4],instance:$[222],defaultValue:null}); qx.Proto._modifyNoteText=function($0,$1,$2){if(this._textArea){this._textArea.setValue($0); }return true; }; qx.Proto._modifyFont=function($0,$1,$2){if(this._textArea){this._textArea.setFont($0); }return true; }; qx.Proto._onchangewidth=function($0){this._textArea.setWidth($0.getData()-this._computeHorizontalEdgePart()); }; qx.Proto._onchangeheight=function($0){this._textArea.setHeight($0.getData()-this._computeVerticalEdgePart()); }; qx.Proto._onchangeborder=function($0){this._textArea.setWidth(this.getWidth()-this.getPaddingLeft()-this.getPaddingRight()-$0.getData().getLeftWidth()-$0.getData().getRightWidth()); this._textArea.setHeight(this.getHeight()-this.getPaddingTop()-this.getPaddingBottom()-$0.getData().getTopWidth()-$0.getData().getBottomWidth()-this.getContextButton().getHeight()-this.getContextButton().getMarginTop()); }; qx.Proto._onchangecolor=function($0){this._textArea.setColor($0.getData()); }; qx.Proto._onchangebackgroundcolor=function($0){this._textArea.setBackgroundColor($0.getData()); }; qx.Proto._onchangecursor=function($0){this._textArea.setCursor($0.getData()); }; qx.Proto._onchangepaddingleft=function($0){this._textArea.setWidth(this.getWidth()-$0.getData()-this.getPaddingRight()-this.getBorder().getLeftWidth()-this.getBorder().getRightWidth()); }; qx.Proto._onchangepaddingright=function($0){this._textArea.setWidth(this.getWidth()-this.getPaddingLeft()-$0.getData()-this.getBorder().getLeftWidth()-this.getBorder().getRightWidth()); }; qx.Proto._onchangepaddingtop=function($0){this._textArea.setHeight(this.getHeight()-$0.getData()-this.getPaddingBottom()-this.getBorder().getTopWidth()-this.getBorder().getBottomWidth()-this.getContextButton().getHeight()-this.getContextButton().getMarginTop()); }; qx.Proto._onchangepaddingbottom=function($0){this._textArea.setHeight(this.getHeight()-this.getPaddingTop()-$0.getData()-this.getBorder().getTopWidth()-this.getBorder().getBottomWidth()-this.getContextButton().getHeight()-this.getContextButton().getMarginTop()); }; qx.Proto._onfocus=function($0){this._unselectedBackgroundColor=this.getBackgroundColor(); this._unselectedColor=this.getColor(); this._unselectedBorder=this.getBorder(); this._unselectedOpacity=this.getOpacity(); this.setBackgroundColor(this.getSelectedBackgroundColor()); this.setColor(this.getSelectedColor()); this.setBorder(this.getSelectedBorder()); this.setOpacity(this.getSelectedOpacity()); this._textArea.setBackgroundColor(this.getSelectedBackgroundColor()); this._textArea.setColor(this.getSelectedColor()); this._setMinSize(); }; qx.Proto._onblur=function($0){this._unmakeEditable(); }; qx.Proto._ondblclick=function($0){this._makeEditable(); }; qx.Proto._onmousemove=function($0){if(this._resizeSession){var $1=this._resizeSession; if(this._resizeWest){$1.lastWidth=qx.lang.Number.limit($1.boxWidth+$1.boxLeft-Math.max($0.getPageX(),$1.parentAreaOffsetLeft),$1.minWidth,$1.maxWidth); $1.lastLeft=$1.boxRight-$1.lastWidth-$1.parentAreaOffsetLeft; }else if(this._resizeEast){$1.lastWidth=qx.lang.Number.limit(Math.min($0.getPageX(),$1.parentAreaOffsetRight)-$1.boxLeft,$1.minWidth,$1.maxWidth); } if(this._resizeNorth){$1.lastHeight=qx.lang.Number.limit($1.boxHeight+$1.boxTop-Math.max($0.getPageY(),$1.parentAreaOffsetTop),$1.minHeight,$1.maxHeight); $1.lastTop=$1.boxBottom-$1.lastHeight-$1.parentAreaOffsetTop; }else if(this._resizeSouth){$1.lastHeight=qx.lang.Number.limit(Math.min($0.getPageY(),$1.parentAreaOffsetBottom)-$1.boxTop,$1.minHeight,$1.maxHeight); } if(this._resizeWest||this._resizeEast){this.setWidth($1.lastWidth); if(this._resizeWest){this._applyRuntimeLeft($1.lastLeft); }} if(this._resizeNorth||this._resizeSouth){this.setHeight($1.lastHeight); if(this._resizeNorth){this._applyRuntimeTop($1.lastTop); }}}else if(this._dragSession){var $1=this._dragSession; if(!$1||!this.getCapture()){return; }if(!qx.lang.Number.isBetweenRange($0.getPageX(),$1.parentAvailableAreaLeft,$1.parentAvailableAreaRight)||!qx.lang.Number.isBetweenRange($0.getPageY(),$1.parentAvailableAreaTop,$1.parentAvailableAreaBottom)){return; }this._applyRuntimeLeft($1.lastX=$0.getPageX()-$1.offsetX); this._applyRuntimeTop($1.lastY=$0.getPageY()-$1.offsetY); this.setCursor($[847]); }else{var $2=$[1]; var $3=this.getElement(); this._resizeNorth=this._resizeSouth=this._resizeWest=this._resizeEast=false; if(this._near(qx.html.Location.getPageBoxTop($3),$0.getPageY())){$2=$[372]; this._resizeNorth=true; }else if(this._near(qx.html.Location.getPageBoxBottom($3),$0.getPageY())){$2=$[229]; this._resizeSouth=true; }if(this._near(qx.html.Location.getPageBoxLeft($3),$0.getPageX())){$2+=$[513]; this._resizeWest=true; }else if(this._near(qx.html.Location.getPageBoxRight($3),$0.getPageX())){$2+=$[342]; this._resizeEast=true; }if(this._resizeNorth||this._resizeSouth||this._resizeWest||this._resizeEast){this.setCursor($2+$[528]); }else{this.setCursor(null); }}}; qx.Proto._onmousedown=function($0){if(!$0.isLeftButtonPressed()){return; }this.focus(); this.setCapture(true); this.getTopLevelWidget().setGlobalCursor(this.getCursor()); var $1=this.getElement(); var $2=this.getParent(); var $3=$2.getElement(); var $4=qx.html.Location.getPageAreaLeft($3); var $5=qx.html.Location.getPageAreaTop($3); var $6=qx.html.Location.getPageAreaRight($3); var $7=qx.html.Location.getPageAreaBottom($3); if(this._resizeNorth||this._resizeSouth||this._resizeWest||this._resizeEast){var $8=this._resizeSession={}; if(this._resizeWest){$8.boxWidth=qx.html.Dimension.getBoxWidth($1); $8.boxRight=qx.html.Location.getPageBoxRight($1); } if(this._resizeWest||this._resizeEast){$8.boxLeft=qx.html.Location.getPageBoxLeft($1); $8.parentAreaOffsetLeft=$4; $8.parentAreaOffsetRight=$6; $8.minWidth=this.getMinWidthValue(); $8.maxWidth=this.getMaxWidthValue(); } if(this._resizeNorth){$8.boxHeight=qx.html.Dimension.getBoxHeight($1); $8.boxBottom=qx.html.Location.getPageBoxBottom($1); } if(this._resizeNorth||this._resizeSouth){$8.boxTop=qx.html.Location.getPageBoxTop($1); $8.parentAreaOffsetTop=$5; $8.parentAreaOffsetBottom=$7; $8.minHeight=this.getMinHeightValue(); $8.maxHeight=this.getMaxHeightValue(); }}else{this._dragSession={offsetX:$0.getPageX()-qx.html.Location.getPageBoxLeft($1)+$4,offsetY:$0.getPageY()-qx.html.Location.getPageBoxTop($1)+$5,parentAvailableAreaLeft:$4+5,parentAvailableAreaTop:$5+5,parentAvailableAreaRight:$6-5,parentAvailableAreaBottom:$7-5}; }$0.stopPropagation(); }; qx.Proto._oncontextmenu=function($0){var $1=this.getContextMenu(); if($1==null){return; } if($1.isSeeable()){$1.hide(); }else{$1.setLeft($0.getPageX()); $1.setTop($0.getPageY()); $1.show(); }$0.setPropagationStopped(true); }; qx.Proto._onmouseup=function($0){if(this._resizeSession){this.setCapture(false); this.getTopLevelWidget().setGlobalCursor(null); delete this._resizeNorth; delete this._resizeEast; delete this._resizeSouth; delete this._resizeWest; delete this._resizeSession; }else if(this._dragSession){var $1=this._dragSession; this.setCapture(false); if(qx.util.Validation.isValidNumber($1.lastX)){this.setLeft($1.lastX); } if(qx.util.Validation.isValidNumber($1.lastY)){this.setTop($1.lastY); }this.setCursor(null); delete this._dragSession; }$0.stopPropagation(); }; qx.Proto._oncontextbtmousedown=function($0){$0.stopPropagation(); }; qx.Proto._oncontextbtclick=function($0){var $1=this.getContextMenu(); if($1==null){return; } if($1.isSeeable()){$1.hide(); }else{var $2=this.getContextButton().getElement(); $1.setLeft(qx.html.Location.getPageBoxLeft($2)); $1.setTop(qx.html.Location.getPageBoxBottom($2)); $1.show(); }$0.setPropagationStopped(true); }; qx.Proto._makeEditable=function(){this.setBackgroundColor(this.getEditingBackgroundColor()); this.setColor(this.getEditingColor()); this.setBorder(this.getEditingBorder()); this.setOpacity(this.getEditingOpacity()); this._textArea.setBackgroundColor(this.getEditingBackgroundColor()); this._textArea.setColor(this.getEditingColor()); this._setMinSize(); this._textArea.setReadOnly(false); this._editableMode=true; this._textArea.selectAll(); }; qx.Proto._unmakeEditable=function(){this.setBackgroundColor(this._unselectedBackgroundColor); this.setColor(this._unselectedColor); this.setBorder(this._unselectedBorder); this.setOpacity(this._unselectedOpacity); this._textArea.setBackgroundColor(this._unselectedBackgroundColor); this._textArea.setColor(this._unselectedColor); this._setMinSize(); this._textArea.setReadOnly(true); this.setNoteText(this._textArea.getValue()); this._editableMode=false; }; qx.Proto._setMinSize=function(){this.setMinWidth(this._textArea.getMinWidthValue()+this._computeHorizontalEdgePart()); this.setMinHeight(this._textArea.getMinHeightValue()+this._computeVerticalEdgePart()); }; qx.Proto._computeVerticalEdgePart=function(){return this.getPaddingTop()+this.getPaddingBottom()+this.getBorder().getTopWidth()+this.getBorder().getBottomWidth()+this.getContextButton().getHeight()+this.getContextButton().getMarginTop(); }; qx.Proto._computeHorizontalEdgePart=function(){return this.getPaddingLeft()+this.getPaddingRight()+this.getBorder().getLeftWidth()+this.getBorder().getRightWidth(); }; qx.Proto._near=function($0,$1){return $1>($0-5)&&$1<($0+5); }; qx.Proto.setContextBtBgColor=function($0){this.getContextButton().setBackgroundColor($0); }; qx.Proto.getContextBtBgColor=function(){return this.getContextButton().getBackgroundColor(); }; qx.Proto.changeToEditableMode=function($0){if($0==this._editableMode){return; } if($0==true){this.focus(); this._makeEditable(); }else{this.blur(); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return true; }if(this._textArea){this._textArea.dispose(); delete this._textArea; } if(this._editableMode){delete this._editableMode; }this.removeEventListener($[332],this._onchangewidth); this.removeEventListener($[887],this._onchangeheight); this.removeEventListener($[796],this._onchangeborder); this.removeEventListener($[597],this._onchangecolor); this.removeEventListener($[689],this._onchangebackgroundcolor); this.removeEventListener($[698],this._onchangecursor); this.removeEventListener($[623],this._onchangepaddingleft); this.removeEventListener($[693],this._onchangepaddingright); this.removeEventListener($[888],this._onchangepaddingtop); this.removeEventListener($[668],this._onchangepaddingbottom); this.removeEventListener($[143],this._onfocus); this.removeEventListener($[123],this._onblur); this.removeEventListener($[41],this._ondblclick); this.removeEventListener($[14],this._onmousemove); this.removeEventListener($[6],this._onmousedown); this.removeEventListener($[156],this._oncontextmenu); this.removeEventListener($[7],this._onmouseup); return qx.ui.layout.VerticalBoxLayout.prototype.dispose.call(this); }; /* ID: elite.util.Util */ qx.OO.defineClass($[1336]); elite.util.Util.getTodayDate=function(){var $0=new Date(); var $1=$0.getMonth()+1; var $2=String($1); if($2.length==1){$1=$[15]+$1; }var $3=$0.getDate(); var $4=new String($3); if($4.length==1){$3=$[15]+$3; }var $5=$0.getFullYear(); return $3+$[73]+$1+$[73]+$5; }; elite.util.Util.getCurrentTime=function(){var $0=new Date(); var $1=$0.getHours(); var $2=new String($1); if($2.length==1){$1=$[15]+$1; }var $3=$0.getMinutes(); var $4=new String($3); if($4.length==1){$3=$[15]+$3; }return $1+$[83]+$3; }; elite.util.Util.getCurrentTimeRound=function(){var $0=elite.util.Util.getCurrentTime(); var $1=$0.split($[83]); var $2=$1[0]; if($2.charAt(0)==$[15]){$2=parseInt($2.charAt(1),10); }$2=parseInt($2,10); var $3=$1[1]; if($3.charAt(0)==$[15]){$3=$3.charAt(1); }$3=parseInt($3,10); if(($3%5)>2){$3=$3+5-($3%5); if($3==60){$3=0; $2++; if($2==24){$2=0; }}}else if(($3%5)!=0){$3=$3-($3%5); }return $2+$[83]+$3; }; elite.util.Util.formatDate=function($0){var $1=$0.substring(0,4); var $2=$0.substring(5,7); var $3=$0.substring(8,10); var $4=$0.substring(11,19); if($4==$[1]){return $3+$[73]+$2+$[73]+$1; }else{return $3+$[73]+$2+$[73]+$1+$[584]+$4; }}; elite.util.Util.convertSeconds=function($0){$0=parseInt($0,10); var $1=parseInt(($0/60),10); $0=($0%60); var $2=parseInt(($1/60),10); $1=($1%60); var $3=parseInt(($2/24),10); $2=($2%24); return $3.toString()+$[2273]+$2.toString()+$[779]+$1.toString()+$[677]+$0.toString()+$[229]; }; elite.util.Util.appendNewWindow=function($0,$1,$2){var $3=new qx.io.remote.Rpc(); $3.setTimeout(50000); var $4=null; $3.setUrl($0); $3.setServiceName($[2440]); $3.setCrossDomain(true); $4=$3.callAsync(function($5,$6,$7){if($6==null){eval($5); }else{$3.debug($6); }},$[1898],$1+$[2532],0,$2); }; elite.util.Util.selectAll=function($0,$1){$0.setSelectionStart(0); $0.setSelectionLength($0.getComputedValue().length); $0.focus(); $1.stopPropagation(); }; elite.util.Util.compareByDate=function($0,$1){var $2=$0.split($[73],3); var $3=$1.split($[73],3); var $4=parseInt($2[2],10); var $5=parseInt($3[2],10); var $6=parseInt($2[1],10); var $7=parseInt($3[1],10); var $8=parseInt($2[0],10); var $9=parseInt($3[0],10); if(isNaN($4)){return -$5; }else if(isNaN($5)){return $4; }else{if($4-$5==0){if($6-$7==0)return $8-$9; else return $6-$7; }else return $4-$5; }}; elite.util.Util.montaListaHorarioInicio=function($0,$1){$0.removeAll(); $0.setValue($[108]); $0.setSelected(null); var $2=0; var $3=0; var $4=new Date(); var $5=null; $4.setHours(0); $4.setMinutes(0); if($1==$[323]){for(var $6=0;$6<=22;$6++){$2=$4.getHours()<10?$[15]+$4.getHours():$4.getHours(); $3=$4.getMinutes()<10?$[15]+$4.getMinutes():$4.getMinutes(); $5=new elite.ui.form.ListItem($2+$[83]+$3); $5.setValue($2+$[83]+$3); $0.add($5); $4.setHours($4.getHours()+1); }}else{for(var $6=0;$6<=46;$6++){$2=$4.getHours()<10?$[15]+$4.getHours():$4.getHours(); $3=$4.getMinutes()<10?$[15]+$4.getMinutes():$4.getMinutes(); $5=new elite.ui.form.ListItem($2+$[83]+$3); $5.setValue($2+$[83]+$3); $0.add($5); $4.setMinutes($4.getMinutes()+30); }}}; elite.util.Util.montaListaHorarioFim=function($0,$1,$2){$1.removeAll(); $1.setValue($[108]); $1.setSelected(null); var $3=0; var $4=0; var $5=new Date(); var $6=null; var $7=$0.split($[83]); $5.setHours(parseInt($7[0],10)); $5.setMinutes(parseInt($7[1],10)); if($2==$[323]){$5.setHours($5.getHours()+1); var $8=24-$5.getHours(); for(var $9=1;$9<=$8;$9++){$3=$5.getHours()<10?$[15]+$5.getHours():$5.getHours(); $4=$5.getMinutes()<10?$[15]+$5.getMinutes():$5.getMinutes(); $6=new elite.ui.form.ListItem($3+$[83]+$4); $6.setValue($9.toString()); $1.add($6); if($9==1)$1.setSelected($6); $5.setHours($5.getHours()+1); }}else{var $8=46-($5.getHours()*2); if($5.getMinutes()!=30)$8++; $5.setMinutes($5.getMinutes()+30); for(var $9=1;$9<=$8;$9++){$3=$5.getHours()<10?$[15]+$5.getHours():$5.getHours(); $4=$5.getMinutes()<10?$[15]+$5.getMinutes():$5.getMinutes(); $6=new elite.ui.form.ListItem($3+$[83]+$4); $6.setValue($9.toString()); $1.add($6); if($9==1)$1.setSelected($6); $5.setMinutes($5.getMinutes()+30); }}}; elite.util.Util.calculaHoraFinal=function($0,$1,$2){var $3=new Date(); $0=$0.split($[83]); if($1==$[323]){$3.setHours(parseInt($0[0],10)+parseInt($2,10)); $3.setMinutes(parseInt($0[1],10)); }else{$3.setHours(parseInt($0[0],10)); $3.setMinutes(parseInt($0[1],10)+(parseInt($2,10)*30)); }var $4=$3.getHours()<10?$[15]+$3.getHours():$3.getHours(); var $5=$3.getMinutes()<10?$[15]+$3.getMinutes():$3.getMinutes(); return $4+$[83]+$5; }; elite.util.Util.calculaQtdUnidadeTempo=function($0,$1,$2){var $3=new Date(); var $4=new Date(); $0=$0.split($[83]); $1=$1.split($[83]); $3.setHours(parseInt($0[0],10)); $3.setMinutes(parseInt($0[1],10)); $4.setHours(parseInt($1[0],10)); $4.setMinutes(parseInt($1[1],10)); var $5=$4.getHours()-$3.getHours(); var $6=$4.getMinutes()-$3.getMinutes(); if($2==$[605]){$5=$5*2; if($6>0)$5++; else if($6<0)$5--; }return $5; }; /* ID: qx.ui.table.CheckBoxCellEditorFactory */ qx.OO.defineClass($[1438],qx.ui.table.CellEditorFactory,function(){qx.ui.table.CellEditorFactory.call(this); }); qx.Proto.createCellEditor=function($0){var $1=new qx.ui.form.CheckBox; $1.setChecked($0.value); return $1; }; qx.Proto.getCellEditorValue=function($0){return $0.getChecked(); }; /* ID: qx.log.ForwardAppender */ qx.OO.defineClass($[1118],qx.log.Appender,function($0){qx.log.Appender.call(this); this._targetProcessor=$0; }); qx.Proto.appendLogEvent=function($0){this._targetProcessor.handleLogEvent($0); }; /* ID: qx.ui.groupbox.CheckGroupBox */ qx.OO.defineClass($[1521],qx.ui.groupbox.GroupBox,function($0){qx.ui.groupbox.GroupBox.call(this,$0); }); qx.Proto._createLegendObject=function(){this._legendObject=new qx.ui.form.CheckBox; this._legendObject.setAppearance($[824]); this._legendObject.setChecked(true); this.add(this._legendObject); }; qx.Proto.setIcon=qx.Proto.getIcon=null; /* ID: qx.client.History */ qx.OO.defineClass($[2345],qx.core.Target,function(){qx.core.Target.call(this); this._pageFlag=true; }); qx.Proto.init=function(){if(this._iframe==null){this._iframe=document.createElement($[225]); this._iframe.style.visibility=$[25]; document.body.appendChild(this._iframe); }}; qx.Proto.addToHistory=function($0,$1){if($0==this._currentCommand){document.title=$1; }else{if(this._iframe==null){throw new Error("You have to call init first!"); }this._pageFlag=!this._pageFlag; this._currentCommand=$0; this._newTitle=$1; this._iframe.src=this.getSetting($[872])+$[2871]+$0; }}; qx.Proto._onHistoryLoad=function($0){try{var $1=$0.search.indexOf($[21]); var $2=$0.search.substring($1+1); if(this._newTitle){document.title=this._newTitle; this._newTitle=null; } if($2!=this._currentCommand){this._currentCommand=$2; this.createDispatchDataEvent($[778],$2); }}catch(exc){this.error("Handling history load failed",exc); }qx.ui.core.Widget.flushGlobalQueues(); }; qx.Settings.setDefault($[872],qx.Settings.getValueOfClass($[191],$[420])+$[1140]); qx.Clazz.getInstance=qx.lang.Function.returnInstance; /* ID: qx.ui.menubar.MenuBar */ qx.OO.defineClass($[1262],qx.ui.toolbar.ToolBar,function(){qx.ui.toolbar.ToolBar.call(this); }); /* ID: qx.locale.data.es_ES */ qx.Locale.define($[2222],{cldr_date_format_medium:$[909],cldr_date_format_short:$[403],cldr_date_time_format_MMdd:$[438],cldr_date_time_format_mmss:$[424],cldr_date_time_format_yyyyMM:$[515],cldr_time_format_medium:$[1629],cldr_time_format_short:$[1050]}); /* ID: elite.ui.filter.Filter */ qx.OO.defineClass($[2893],qx.ui.layout.CanvasLayout,function(){qx.ui.layout.CanvasLayout.call(this); this.setHeight(20); var $0=this._header=new qx.ui.layout.CanvasLayout; $0.setBackgroundColor(new qx.renderer.color.Color($[544])); $0.setBorder(qx.renderer.border.BorderPresets.getInstance().thinOutset); $0.setHeight(20); $0.setTabIndex(-1); var $1=this._headerLabel=new qx.ui.basic.Label; $1.setTop(2); $1.setLeft(5); $0.add($1); var $2=this._headerButton=new qx.ui.basic.Atom; $2.setIcon($[186]); $2.setRight(5); $2.setTop(5); $2.addEventListener($[18],this._onhbclick,this); $0.add($2); this.add($0); var $3=this._optionsMenu=new qx.ui.menu.Menu; var $4=new qx.ui.menu.Button($[503]); $4.addEventListener($[11],function(){this.selectAll(); },this); var $5=new qx.ui.menu.Button($[479]); $5.addEventListener($[11],function(){this.deselectAll(); },this); var $6=new qx.ui.menu.Button($[477]); $6.addEventListener($[11],function(){this.invertSelection(); },this); $3.add($4,$5,$6); var $7=this._list=new qx.ui.layout.VerticalBoxLayout; $7.setMaxHeight(140); $7.setHeight($[5]); $7.setOverflow($[5]); $7.setBorder(qx.renderer.border.BorderPresets.getInstance().inset); $7.setBackgroundColor(new qx.renderer.color.Color($[65])); $7.addEventListener($[18],this._onlistclick,this); $7.addEventListener($[156],this._onlistcontextmenu,this); $7.hide(); this.setTabIndex(1); this.remapChildrenHandlingTo($7); }); qx.OO.addProperty({name:$[530],type:$[0]}); qx.OO.addProperty({name:$[593],type:$[0]}); qx.OO.addProperty({name:$[125],type:$[0],defaultValue:$[1]}); qx.OO.addProperty({name:$[780],type:$[0]}); qx.Proto.getHeader=function(){return this._header; }; qx.Proto.getList=function(){return this._list; }; qx.Proto.getCheckedItemsLabels=function(){var $0=this._list.getChildren(); var $1=[]; var $2=0; for(var $3=0;$3<$0.length;$3++){var $4=$0[$3]; if($4 instanceof qx.ui.form.CheckBox&&$4.getChecked()){$1[$2]=$4.getLabel(); $2++; }}return $1; }; qx.Proto.getNumItems=function(){var $0=this._list.getChildren(); var $1=0; for(var $2=0;$2<$0.length;$2++){var $3=$0[$2]; if($3 instanceof qx.ui.form.CheckBox){$1++; }}return $1; }; qx.Proto.getCheckedItemsValues=function($0){var $1=this._list.getChildren(); var $2=[]; var $3=0; for(var $4=0;$4<$1.length;$4++){var $5=$1[$4]; if($5 instanceof qx.ui.form.CheckBox&&$5.getChecked()){if($0){$2[$3]=$[84]+$5.getValue()+$[84]; }else{$2[$3]=$5.getValue(); }$3++; }}return $2; }; qx.Proto.selectByValue=function($0){this._list.forEachChild(function(){if(this instanceof qx.ui.form.CheckBox&&this.getValue()==$0){this.setChecked(true); }}); }; qx.Proto.selectAll=function(){this._list.forEachChild(function(){if(this instanceof qx.ui.form.CheckBox){this.setChecked(true); }}); }; qx.Proto.deselectAll=function(){this._list.forEachChild(function(){if(this instanceof qx.ui.form.CheckBox){this.setChecked(false); }}); }; qx.Proto.invertSelection=function(){this._list.forEachChild(function(){if(this instanceof qx.ui.form.CheckBox){this.setChecked(!this.getChecked()); }}); }; qx.Proto.removeAllItems=function(){this._list.removeAll(); }; qx.Proto._modifyHeaderLabel=function($0,$1,$2){this._headerLabel.setHtml($0); return true; }; qx.Proto._modifyWidth=function($0,$1,$2){this._header.setWidth($0); this._list.setWidth($0); return true; }; qx.Proto._verifyListFullEmpty=function(){var $0=this.getCheckedItemsLabels().length; if($0==0){this.selectAll(); }}; qx.Proto._onlistcontextmenu=function($0){if(this._optionsMenu.isSeeable()){this._optionsMenu.hide(); }else{this._optionsMenu.setParent(this.getTopLevelWidget()); this._optionsMenu.setLeft($0.getPageX()); this._optionsMenu.setTop($0.getPageY()); this._optionsMenu.show(); }}; qx.Proto._onlistclick=function($0){this._verifyListFullEmpty(); }; qx.Proto.mountSql=function(){this._verifyListFullEmpty(); var $0=this.getCheckedItemsValues(true).join($[19]); this.setFilter($[742]+this.getFieldName()+$[568]+$0+$[506]); }; qx.Proto._onhbclick=function($0){var $1=$0.getTarget(); if(this._list.isSeeable()){this.mountSql(); this._list.hide(); $1.setIcon($[186]); }else{var $2=this.getElement(); this._list.setTop(this.getTop()+20); this._list.setLeft(this.getLeft()); this._list.setParent(this.getParent()); this._list.show(); $1.setIcon($[430]); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return; } if(this._header){this._header.dispose(); this._header=null; } if(this._headerLabel){this._headerLabel.dispose(); this._headerLabel=null; } if(this._headerButton){this._headerButton.dispose(); this._headerButton=null; } if(this._optionsMenu){if(!qx.core.Object.inGlobalDispose())this._optionsMenu.setParent(null); this._optionsMenu.dispose(); this._optionsMenu=null; } if(this._list){if(!qx.core.Object.inGlobalDispose())this._list.setParent(null); this._list.dispose(); this._list=null; }return qx.ui.layout.CanvasLayout.prototype.dispose.call(this); }; /* ID: qx.dev.TimeTracker */ qx.OO.defineClass($[2432],qx.core.Object,function(){qx.core.Object.call(this); this._functions=qx.lang.Array.fromArguments(arguments); this.buttonSets(); }); qx.dev.TimeTracker.compare=function($0,$1){return $0-$1; }; qx.Proto.buttonSets=function(){var $0=new qx.ui.layout.HorizontalBoxLayout; $0.setLocation(20,48); $0.setSpacing(5); var $1=new qx.ui.basic.Atom($[1461]); $1.setAllowStretchY(false); $1.setVerticalAlign($[36]); var $2=new qx.ui.form.TextField($[582]); $2.setAllowStretchY(false); $2.setWidth(50); $2.setVerticalAlign($[36]); var $3=new qx.ui.basic.Atom($[1259]); $3.setAllowStretchY(false); $3.setVerticalAlign($[36]); $3.setMarginLeft(30); var $4=new qx.ui.form.Button($[1371],$[267]); var $5=new qx.ui.form.Button($[1503],$[267]); var $6=new qx.ui.form.Button($[2912],$[267]); var $7=new qx.ui.form.Button($[2846],$[267]); $4.addEventListener($[11],function(){this.start(3,parseInt($2.getValue())); },this); $5.addEventListener($[11],function(){this.start(7,parseInt($2.getValue())); },this); $6.addEventListener($[11],function(){this.start(15,parseInt($2.getValue())); },this); $7.addEventListener($[11],function(){this.start(25,parseInt($2.getValue())); },this); var $8=this._output=new qx.ui.embed.HtmlEmbed(); $8.setHtml($[1]); $8.setLocation(20,78); $8.setRight(335); $8.setBottom(48); $8.setBorder($[1258]); $8.setBackgroundColor($[65]); $8.setPadding(10); $8.setOverflow($[5]); $8.addToDocument(); $0.add($1,$2,$3,$4,$5,$6,$7); $0.addToDocument(); }; qx.Proto.start=function($0,$1){var $2=this._functions; var $3=$2.length; var $4; var $5; var $6=[]; var $7=[]; var $8=[]; var $9=Math.round(100/($3+1))+$[241]; $7.push($[1781]); $7.push($[1589]+$9+$[1451]); $7.push($[581]); $7.push($[843]); $7.push($[833]); for(var $a=0;$a<$3;$a++){$7.push($[913]+($a+1)+$[196]); }$7.push($[930]); for(var $b=0;$b<$0;$b++){$5=[]; for(var $a=0;$a<$3;$a++){$4=(new Date).valueOf(); $2[$a]($1); $5.push((new Date).valueOf()-$4); }$7.push($[1260]+$b+$[1110]); for(var $a=0;$a<$5.length;$a++){$7.push($[227]+$5[$a]+$[196]); }$7.push($[228]); $6.push($5); }$7.push($[826]); var $c,$d,$e=[],$f=1e7,$g=0; for(var $a=0;$a<$3;$a++){$c=0; for(var $b=0;$b<$0;$b++){$c+=$6[$b][$a]; }$d=Math.round($c/$0); $e.push($d); $f=Math.min($f,$d); $g=Math.max($g,$d); }var $h,$i,$j=[],$k=1e7,$l=0; for(var $a=0;$a<$3;$a++){$h=[]; for(var $b=0;$b<$0;$b++){$h.push($6[$b][$a]); }$h.sort(qx.dev.TimeTracker.compare); $i=$h[Math.floor($0/2)].toString(); $j.push($i); $k=Math.min($i,$k); $l=Math.max($i,$l); }$8.push($[1753]); $8.push($[581]); $8.push($[843]); $8.push($[833]); for(var $a=0;$a<$3;$a++){$8.push($[913]+($a+1)+$[196]); }$8.push($[930]); $8.push($[253]); $8.push($[2180]); for(var $a=0;$a<$3;$a++){$8.push($[227]+$j[$a]+$[196]); }$8.push($[228]); $8.push($[253]); $8.push($[1450]); for(var $a=0;$a<$3;$a++){$8.push($[227]); $8.push($k>0?Math.round($j[$a]/$k):$[260]); $8.push($[761]); }$8.push($[228]); $8.push($[253]); $8.push($[2810]); for(var $a=0;$a<$3;$a++){$8.push($[227]+$e[$a]+$[196]); }$8.push($[228]); $8.push($[253]); $8.push($[2920]); for(var $a=0;$a<$3;$a++){$8.push($[227]); $8.push($f>0?Math.round($e[$a]/$f):1); $8.push($[761]); }$8.push($[228]); $8.push($[253]); $8.push($[1290]); for(var $a=0;$a<$3;$a++){$8.push($[227]); if($k==$j[$a]&&$f==$e[$a]){$8.push($[2262]); }else if($k==$j[$a]){$8.push($[1560]); }else if($f==$e[$a]){$8.push($[1925]); }$8.push($[196]); }$8.push($[228]); $8.push($[826]); this._output.setHtml($8.join($[1])+$7.join($[1])); }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this._functions=null; return qx.core.Object.prototype.dispose.call(this); }; /* ID: qx.html.Form */ qx.OO.defineClass($[2872]); qx.Clazz.ignoreInputTypes=[$[408],$[921],$[310],$[280],$[122]]; qx.Clazz.ignoreElementTypes=[$[2744]]; qx.Clazz.checkElementTypes=[$[1680],$[2974]]; qx.Clazz.multiSelectType=$[2612]; qx.Clazz.inputFilter=function($0){if($0.disabled){return false; }var $1=($0.tagName||$[1]).toLowerCase(); if(qx.lang.Array.contains(qx.html.Form.ignoreElementTypes,$1)){return false; }var $2=$0.type.toLowerCase(); if(qx.lang.Array.contains(qx.html.Form.ignoreInputTypes,$2)){return false; } if(!$0.checked&&qx.lang.Array.contains(qx.html.Form.checkElementTypes,$2)){return false; }return true; }; qx.Clazz.getFields=function($0){return Array.filter($0.elements,qx.html.Form.inputFilter); }; qx.Clazz.encodeField=function($0){var $1=$0.name||$[1]; var $2=($0.type||$[1]).toLowerCase(); if($2===qx.html.Form.multiSelectType){var $3=[]; for(var $4=0;$4<$0.options.length;$4++){if($0.options[$4].selected){$3.push($1+$[21]+$0.options[$4].value); }}return $3.join($[51]); }else{return $1+$[21]+$0.value; }}; qx.Clazz.encodeForm=function($0){var $1=qx.html.Form.getFields($0); var $2=[]; for(var $3=0,$4=$1.length;$3<$4;$3++){$2.push(qx.html.Form.encodeField($1[$3])); }return $2.join($[51]); }; qx.Clazz.bind=function($0,$1){qx.html.EventRegistration.addEventListener($0,$[921],function($2){$2.returnValue=false; if(typeof $2.preventDefault===$[23]){$2.preventDefault(); }return $1($2); }); }; /* ID: qx.util.Debug */ qx.OO.defineClass($[2457]); qx.Clazz.debugObject=function($0,$1,$2,$3){logger=new qx.log.Logger($[2741],qx.log.Logger.ROOT_LOGGER); if(!$2){$2=10; }if($3){logger.removeAllAppenders(); logger.addAppender($3); }var $4=$[1]; var $5=function($0,$6,$2){var $7=$[1]; for(var $8=0;$8<$6;$8++){$7+=$[311]; }if($6>$2){$4+=$7+$[2892]; return; }if(typeof ($0)!=$[4]){$4+=$7+$0+$[79]; return; }for(var $9 in $0){if(typeof ($0[$9])==$[4]){if($0[$9] instanceof Array){$4+=$7+$9+$[95]+$[745]+$[79]; }else{$4+=$7+$9+$[95]+$[2807]+$[79]; }$5($0[$9],$6+1,$2); }else{$4+=$7+$9+$[95]+$0[$9]+$[79]; }}}; if($1){$4+=$1+$[79]; }$4+=$[837]; try{$5($0,0,$2); }catch(ex){$4+=$[1821]+ex+$[1362]; }$4+=$[837]; logger.debug($4); }; /* ID: qx.locale.translation.fr_FR */ qx.Locale.define($[1840],{}); /* ID: qx.ui.form.ComboBoxEx */ qx.OO.defineClass($[918],qx.ui.layout.HorizontalBoxLayout,function(){qx.ui.layout.HorizontalBoxLayout.call(this); var $0=this._popup=new qx.ui.popup.Popup; $0.setAppearance($[2562]); this._createList([this.tr($[1231]),this.tr($[2973])]); var $1=this._field=new qx.ui.form.TextField; $1.setAppearance($[1638]); $1.addEventListener($[82],this._oninput,this); this.add($1); this.setEditable(false); var $2=this._button=new qx.ui.basic.Atom(null,$[555]); $2.set({appearance:$[653],tabIndex:-1}); this.add($2); this.setTabIndex(1); this.addEventListener($[6],this._onmousedown); this.addEventListener($[7],this._onmouseup); this.addEventListener($[68],this._onmousewheel); this.addEventListener($[41],function(){if(this.getAllowSearch()){this.openSearchDialog(); }}); this.addEventListener($[13],this._onkeydown); this.addEventListener($[17],this._onkeypress); this.addEventListener($[442],this._testClosePopup); this._popup.addEventListener($[70],this._onpopupappear,this); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[1665]}); qx.OO.addProperty({name:$[610],type:$[3],getAlias:$[892]}); qx.OO.addProperty({name:$[85],type:$[0]}); qx.OO.addProperty({name:$[910],type:$[2],defaultValue:10}); qx.OO.addProperty({name:$[2900],type:$[3],getAlias:$[1710],defaultValue:false}); qx.OO.addProperty({name:$[2837],type:$[0],defaultValue:$[411],possibleValues:[$[411],$[340]]}); qx.OO.addProperty({name:$[2459],type:$[0],defaultValue:$[2016]}); qx.OO.addProperty({name:$[2838],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[1691],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[2685],type:$[2],defaultValue:10}); qx.Proto.getPopup=function(){return this._popup; }; qx.Proto.getList=function(){return this._list; }; qx.Proto.getField=function(){return this._field; }; qx.Proto.getButton=function(){return this._button; }; qx.Proto._getComboSetting=function($0){return qx.Settings.getValueOfClass($[918],$0); }; qx.Proto.getSelectedRow=function(){var $0=this.getSelectedIndex(); return $0<0?null:this._model.getData()[$0]; }; qx.Proto._createList=function($0){this._model=new qx.ui.table.SimpleTableModel; this._model.setColumns($0); var $1=this._list=new qx.ui.table.Table(this._model); $1.setFocusedCell=function(){}; $1.setAppearance($[2564]); $1.forceKeepFirstVisibleRowComplete(false); var $2=$1._getSelectionManager(); var $3=$2.handleMouseUp,$4=this; $2.handleMouseUp=function($5,$6){$3.apply($2,arguments); if($6.isLeftButtonPressed()){$4._testClosePopup(); }}; this._modifyIdColumnVisible(this.getIdColumnVisible()); this._manager=$1.getSelectionModel(); this._manager.addEventListener($[967],this._onChangeSelection,this); this._manager.removeSelectionInterval=function(){}; this._manager.setSelectionMode(qx.ui.table.SelectionModel.SINGLE_SELECTION); this._popup.add($1); delete this._calcDimensions; }; qx.Proto.setColumnHeaders=function($0){if(!this._list||$0.length!=this._model.getColumnCount()){if(this._list){var $1=this._model.getData(); this._list.setParent(null); this._list.dispose(); this._list=null; }this._createList($0); if($1&&$1.length){this._model.setData($1); }}else{this._model.setColumns($0); this._list.getTableColumnModel().init($0.length); delete this._calcDimensions; }this._modifyIdColumnVisible(this.getIdColumnVisible()); }; qx.Proto.getColumnHeaders=function($0){var $1=[]; $1.length=this._model.getColumnCount(); for(var $2=0;$2<$1.length;$2++){$1[$2]=this._model.getColumnName($2); }return $1; }; qx.Proto.setSelection=function($0,$1){delete this._calcDimensions; this._model.setData($0); if(!this.getEditable()){if($1!=null&&$1!=this.getValue()){this.setValue($1); }else{this._modifyValue(this.getValue()); }}}; qx.Proto.getSelection=function(){return this._model.getData(); }; qx.Proto.setSelectedIndex=function($0){var $1=this.getSelection().length; if($1>=0){if($0<0&&!this.getEditable()&&this.getEnsureSomethingSelected()){$0=0; } if($0>=0){$0=qx.lang.Number.limit($0,0,$1-1); this._manager.setSelectionInterval($0,$0); if(this._popup.isSeeable()){this._list.scrollCellVisible(0,$0); }}else{this._manager.clearSelection(); }}return true; }; qx.Proto.getSelectedIndex=function(){var $0=this._manager.getAnchorSelectionIndex(); return this._manager.isSelectedIndex($0)?$0:-1; }; qx.Proto._modifyShowOnTextField=function($0){if(!this.getEditable()){this.setSelectedIndex(this.getSelectedIndex()); delete this._calcDimensions; }return true; }; qx.Proto._modifyMaxVisibleRows=function(){delete this._calcDimensions; return true; }; qx.Proto._checkIdDescriptionSeparator=function($0){return String($0).replace(/ /g,$[2493]); }; qx.Proto._modifyIdDescriptionSeparator=function($0){if(!this.getEditable()&&this.getShowOnTextField()==$[340]){this.setSelectedIndex(this.getSelectedIndex()); delete this._calcDimensions; }return true; }; qx.Proto._modifyIdColumnVisible=function($0){this._list.getTableColumnModel().setColumnVisible(0,$0); delete this._calcDimensions; return true; }; qx.Proto._modifyEditable=function($0){var $1=this._field; $1.setReadOnly(!$0); $1.setCursor($0?null:$[53]); $1.setSelectable($0); return true; }; qx.Proto._modifyValue=function($0){this._fromValue=true; var $1=this._model.getData(); var $2=-1; if($0!=null){for(var $2=0;$2<$1.length;$2++){if($0==$1[$2][0]){break; }} if($2==$1.length){$2=-1; }} if(this.getEditable()){this._field.setValue($0); }if(!this._fromSelected){this.setSelectedIndex($2); }delete this._fromValue; return true; }; qx.Proto._modifyEnabled=function($0){if(this._button){this._button.setEnabled($0); } if(this._field){this._field.setEnabled($0); }return qx.ui.layout.HorizontalBoxLayout.prototype._modifyEnabled.apply(this,arguments); }; qx.Proto._oldSelected=null; qx.Proto._openPopup=function(){if(this.isSearchInProgress()){return; }var $0=this._popup; $0.setAutoHide(false); var $1=this.getElement(); if(!$0.isCreated()){this.createDispatchEvent($[945]); } if(!this.getSelection().length){return; }$0.positionRelativeTo($1,1,qx.html.Dimension.getBoxHeight($1)); this._calculateDimensions(); $0.setParent(this.getTopLevelWidget()); $0.auto(); $0.show(); this._oldSelected=this.getSelectedIndex(); window.setInterval(function(){$0.setAutoHide(true); },0); }; qx.Proto._closePopup=function(){this._popup.hide(); }; qx.Proto._testClosePopup=function(){if(this._popup.isSeeable()){this._closePopup(); }}; qx.Proto._togglePopup=function(){this._popup.isSeeable()?this._closePopup():this._openPopup(); }; qx.Proto.sizeTextFieldToContent=function(){this._calculateDimensions(); this._field.setWidth(this._neededTextFieldWidth); }; qx.Proto._calculateDimensions=function(){if(this._calcDimensions){return ; }var $0=this.getSelection(); var $1=this.getColumnHeaders(),$2=$1.length; var $3=[]; this._neededTextFieldWidth=0; $3.length=$1.length; for(var $4=0;$4<$1.length;$4++){$3[$4]=0; }var $5=this.getShowOnTextField()==$[340]; for(var $6=0,$7=Math.min($0.length,50);$6<$7;$6++){var $8=$0[$6],$9,$a; for($4=0;$4<$2;$4++){var $b=this._getTextWidth($8[$4]); if($4==0){$9=$b; }else if($4==1){$a=$b; }$3[$4]=Math.max($b,$3[$4]); }this._neededTextFieldWidth=Math.max(this._neededTextFieldWidth,$a+($5?$9:0)); } if(this.getShowOnTextField()==$[340]){this._neededTextFieldWidth+=this._getTextWidth(this.getIdDescriptionSeparator()); }this._neededTextFieldWidth+=8; var $c=this.getMaxVisibleRows(),$d=$0.length>$c?(new qx.ui.core.ScrollBar)._getScrollBarWidth():0,$e=this._list.getTableColumnModel(),$f=0; for($4=0;$4<$2;$4++){if($e.isColumnVisible($4)){$f++; }}var $g=$f>1; this._list.getPaneScroller(0).getHeader().setHeight($g?$[281]:1); for($4=0;$4<$2;$4++){if($e.isColumnVisible($4)){var $h=$3[$4]; if($g){$h=Math.max($h,this._getTextWidth($1[$4])); }$h+=8; this._list.setColumnWidth($4,$h); $d+=$h; }}this._list.set({width:$d,height:this._list.getRowHeight()*Math.min($c,($g?1:0)+$0.length)+2+($g?2:0)}); this._calcDimensions=true; }; qx.Proto._getTextWidth=function($0){var $1=new qx.ui.basic.Label($0); var $2=$1.getPreferredBoxWidth(); $1.dispose(); return $2; }; qx.Proto.isSearchInProgress=function(){return !this._popup.contains(this._list); }; qx.Proto._search=function($0,$1,$2){if($1==null||!$1.length){return; }var $3=$0,$4=this._model.getColumnCount(),$5=this.getSelection().length,$6=this._model.getData(); if(!$2){$1=$1.toLowerCase(); }var $7=this._list.getTableColumnModel(); while(true){var $8=$6[$3]; if($8){for(var $9=0;$9<$4;$9++){if($7.isColumnVisible($9)){var $a=$8[$9]; if(!$2){$a=$a.toLowerCase(); } if($a.indexOf($1)>=0){this._manager.setSelectionInterval($3,$3); this._list.scrollCellVisible(1,$3); return; }}}}$3=($3+1)%$5; if($3==$0){break; }}}; qx.Proto.openSearchDialog=function(){var $0=this.getSelection(); if(!$0||!$0.length||this.isSearchInProgress()){return; }this._testClosePopup(); var $1=this,$2=this.getSelectedIndex(),$3=$2; function $4(){$1._search($3,$5.getComputedValue(),$6.isChecked()); }var $5=new qx.ui.form.TextField; $5.set({minWidth:this._field.getWidth(),width:$[454]}); $5.addEventListener($[82],function(){$4(); }); var $6=new qx.ui.form.CheckBox(this.tr($[1770])); $6.set({horizontalAlign:$[646],marginBottom:4}); var $7=new qx.ui.layout.VerticalBoxLayout; $7.set({spacing:6,horizontalChildrenAlign:$[646],height:$[454]}); $7.auto(); $7.add($5,$6); this._calculateDimensions(); var $8=qx.renderer.border.BorderPresets.getInstance().inset; var $9={height:$8.getTopWidth()+this._list.getHeight()+$8.getBottomWidth(),width:$8.getLeftWidth()+this._list.getWidth()+$8.getRightWidth(),border:$8,parent:$7}; var $a={}; for(var $b in $9){$a[$b]=this._list[qx.OO.getter[$b]](); }this._list.set($9); var $c=new qx.ui.form.Button($[108],$[736]); $c.set({toolTip:new qx.ui.popup.ToolTip(this.tr($[1341]))}); $c.addEventListener($[11],function(){$3=(this.getSelectedIndex()+1)%$0.length; $4(); },this); var $d=new qx.ui.form.Button($[108],$[2002]); $d.addEventListener($[259],function(){$2=null; $h.close(); },this); var $e=new qx.ui.form.Button($[108],$[2670]); $e.addEventListener($[259],function(){$h.close(); },this); var $f=new qx.ui.layout.VerticalBoxLayout; $f.auto(); $f.set({spacing:10}); $f.add($c,$d,$e); var $g=new qx.ui.layout.BoxLayout; $g.auto(); $g.setPadding(10); $g.set({spacing:8,minHeight:$[281],height:$[454]}); $g.add($7,$f); var $h=new qx.ui.window.Window(this.tr($[1417]),$[736]); $h.add($g); $h.positionRelativeTo(this); $h.set({autoHide:true,allowMaximize:false,showMaximize:false,allowMinimize:false,showMinimize:false}); $h.addEventListener($[70],function(){$5.focus(); }); $h.addEventListener($[187],function(){if($2!=null){this.setSelectedIndex($2); }this._list.set($a); this.focus(); },this); $h.addEventListener($[13],function($i){switch($i.getKeyIdentifier()){case $[34]:$d.createDispatchEvent($[259]); break; case $[88]:$e.createDispatchEvent($[259]); break; case $[291]:$c.createDispatchEvent($[259]); break; default:return; }$i.preventDefault(); },this); $h.auto(); $h.addToDocument(); $h.open(); }; qx.Proto._onChangeSelection=function($0){this._fromSelected=true; if(!this._fromInput){var $1=this.getSelectedIndex(); if($1>=0){var $2=this._model.getData()[$1]; } if($2||!this.getEditable()){this.setValue($2&&$2[0]); }if(!this.getEditable()){var $3=$[1]; if($2){$3=this.getShowOnTextField()==$[411]?$2[1]:($2[0]!=null&&$2[0]!=$[108]?$2[0]+this.getIdDescriptionSeparator()+$2[1]:$2[1]); }this._field.setValue($3); }}delete this._fromSelected; }; qx.Proto._onpopupappear=function($0){var $1=this.getSelectedIndex(); if($1>=0){this._list.scrollCellVisible(0,$1); }}; qx.Proto._oninput=function($0){this._fromInput=true; this.setValue(this._field.getComputedValue()); delete this._fromInput; }; qx.Proto._onmousedown=function($0){switch($0.getTarget()){case this._field:if(this.getEditable()){break; }case this._button:this._button.addState($[20]); this._togglePopup(); this.setCapture(true); break; }}; qx.Proto._onmouseup=function($0){switch($0.getTarget()){case this._field:if(this.getEditable()){break; }default:this._button.removeState($[20]); break; }this.setCapture(false); }; qx.Proto._onmousewheel=function($0){if(!this._popup.isSeeable()){this.setSelectedIndex(Math.max(0,this.getSelectedIndex()+($0.getWheelDelta()<0?-1:1))); }}; qx.Proto._onkeydown=function($0){var $1=this._popup.isSeeable(); switch($0.getKeyIdentifier()){case $[34]:if($1){this._closePopup(); this.setFocused(true); }else{this._openPopup(); }break; case $[88]:if($1){this.setSelectedIndex(this._oldSelected); this._closePopup(); this.setFocused(true); }break; case $[147]:this.setSelectedIndex(0); break; case $[163]:var $2=this.getSelection().length; if($2){this.setSelectedIndex($2-1); }break; case $[76]:if($0.isAltPressed()){this._togglePopup(); }break; case $[291]:if(this.getAllowSearch()){this.openSearchDialog(); }break; case $[132]:if($0.isCtrlPressed()){if(this.getAllowSearch()){this.openSearchDialog(); }break; }return; default:if($1){this._list.dispatchEvent($0); }return; }$0.preventDefault(); }; qx.Proto._onkeypress=function($0){var $1=this._popup.isSeeable(); switch($0.getKeyIdentifier()){case $[87]:this.setSelectedIndex(Math.max(0,this.getSelectedIndex()-1)); break; case $[76]:this.setSelectedIndex(Math.max(0,this.getSelectedIndex()+1)); break; case $[89]:this.setSelectedIndex(Math.max(0,this.getSelectedIndex()-this.getPagingInterval())); break; case $[105]:this.setSelectedIndex(this.getSelectedIndex()+this.getPagingInterval()); break; default:if($1){this._list.dispatchEvent($0); }return; }$0.preventDefault(); if(!this.isEditable()&&this._list.isSeeable()){this._list.dispatchEvent($0); }}; qx.Proto._visualizeBlur=function(){if(qx.core.Client.getInstance().isMshtml()){if(this.getEnableElementFocus()&&!this.getFocusRoot().getFocusedChild()){try{if(this.getEditable()){this.getField().getElement().blur(); }else{this.getElement().blur(); }}catch(ex){}}}else{if(this.getEnableElementFocus()){try{if(this.getEditable()){this.getField().getElement().blur(); }else if(!this.getFocusRoot().getFocusedChild()){this.getElement().blur(); }}catch(ex){}}}this.removeState($[180]); return true; }; qx.Proto._visualizeFocus=function(){if(!qx.event.handler.FocusHandler.mouseFocus&&this.getEnableElementFocus()){try{if(this.getEditable()){this.getField().getElement().focus(); this.getField()._ontabfocus(); }else{this.getElement().focus(); }}catch(ex){}}this.addState($[180]); return true; }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this.removeEventListener($[6],this._onmousedown); this.removeEventListener($[7],this._onmouseup); this.removeEventListener($[68],this._onmousewheel); this.removeEventListener($[13],this._onkeydown); this.removeEventListener($[17],this._onkeypress); this._model=null; if(this._manager){this._manager.removeEventListener($[967],this._onChangeSelection); this._manager=null; } if(this._list){this._list.dispose(); this._list=null; } if(this._popup){this._popup.removeEventListener($[70],this._onpopupappear,this); this._popup.dispose(); this._popup=null; } if(this._field){if(this.getEditable()){this._field.removeEventListener($[82],this._oninput,this); }this._field.dispose(); this._field=null; } if(this._button){this._button.dispose(); this._button=null; }return qx.ui.layout.HorizontalBoxLayout.prototype.dispose.call(this); }; /* ID: qx.ui.embed.NodeEmbed */ qx.OO.defineClass($[1708],qx.ui.basic.Terminator,function($0){qx.ui.basic.Terminator.call(this); if($0!=null){this.setSourceNodeId($0); }}); qx.OO.addProperty({name:$[1633],type:$[0]}); qx.Proto._createElementImpl=function(){var $0=document.getElementById(this.getSourceNodeId()); if(!$0){throw new Error("Could not find source node with ID: "+this.getSourceNodeId()); }$0.style.display=$[1]; return this.setElement($0); }; /* ID: elite.ui.desktop.ToolTipBalloon */ qx.OO.defineClass($[1883],qx.ui.popup.Popup,function($0,$1,$2,$3,$4){qx.ui.popup.Popup.call(this); var $5=58; var $6=80; var $7=17; var $8=18; this.setMinWidth($6); this.setMinHeight($5); if(!$0){$0=$[1]; } if(!$1){$1=$[1]; } if(!$2){$2=$[1]; } if($3){$3=Math.max($6,$3); }else{$3=$6; } if($4){$4=Math.max($5,$4); }else{$4=$5; }var $9=new qx.ui.layout.CanvasLayout(); $9.add(new qx.ui.basic.Image(this.TOP_LEFT_CORNER_IMAGE)); var $a=new qx.ui.layout.CanvasLayout(); $a.add(new qx.ui.basic.Image(this.TOP_RIGHT_CORNER_IMAGE)); var $b=new qx.ui.layout.CanvasLayout(); $b.add(new qx.ui.basic.Image(this.BOTTOM_LEFT_CORNER_IMAGE)); var $c=new qx.ui.layout.CanvasLayout(); $c.add(new qx.ui.basic.Image(this.BOTTOM_RIGHT_CORNER_IMAGE)); var $d=new qx.ui.layout.DockLayout(); $d.setHeight(this.CORNER_SIZE); $d.setMode($[26]); $9.setWidth(this.CORNER_SIZE); $a.setWidth(this.CORNER_SIZE); var $e=new qx.ui.basic.Terminator(); var $f=new qx.renderer.color.Color($[129]); var $g=new qx.renderer.border.Border(0); $g.setTopWidth(1); $g.setTopColor($f); $g.setTopStyle($[9]); $e.setBorder($g); $e.setBackgroundColor(this.BACKGROUND_COLOR_VALUE); this._topBorderWrapper=$e; $d.addLeft($9); $d.addRight($a); $d.add($e); this._topLayout=$d; var $h=new qx.ui.layout.DockLayout(); $h.setHeight(this.CORNER_SIZE); $h.setMode($[26]); $h.setOverflow($[25]); $b.setWidth(this.CORNER_SIZE); $c.setWidth(this.CORNER_SIZE); var $i=new qx.ui.basic.Terminator(); $i.setBackgroundColor(this.BACKGROUND_COLOR_VALUE); this._bottomBorderWrapper=$i; $h.addLeft($b); $h.addRight($c); $h.add($i); this._bottomLayout=$h; var $j=new qx.ui.layout.VerticalBoxLayout(); $j.setBackgroundColor(this.BACKGROUND_COLOR_VALUE); var $k=new qx.renderer.border.Border(1,$[9],new qx.renderer.color.Color($[129])); $k.setTopWidth(0); $k.setBottomWidth(0); $j.setBorder($k); $j.setPadding(0,this.CORNER_SIZE); this._middleLayout=$j; var $l=new qx.ui.layout.DockLayout(); $l.setHeight($8); $l.setMode($[26]); var $m=new qx.ui.basic.Terminator(); $m.setWidth(this.CORNER_SIZE); var $n=new qx.ui.basic.Terminator(); $n.setWidth(this.CORNER_SIZE); var $o=new qx.ui.basic.Terminator(); $o.setBorder($g); var $p=new qx.ui.basic.Terminator(); $p.setBorder($g); $p.setWidth(this.getArrowOffset()); var $q=new qx.ui.basic.Image(this.LEFT_ARROW_IMAGE); var $r=new qx.ui.basic.Image(this.RIGHT_ARROW_IMAGE); var $s=new qx.ui.layout.CanvasLayout(); $s.add($r); $s.setWidth($7); $l.addLeft($m); $l.addRight($n); $l.addRight($p); $l.addRight($s); $l.add($o); this._arrowLayout=$l; this._rightArrowBorderWrapper=$p; this._arrowCanvas=$s; this._leftArrowImage=$q; this._rightArrowImage=$r; var $t=new qx.ui.layout.DockLayout(); this._container=$t; $t.addTop($d); $t.addBottom($l); $t.addBottom($h); $t.add($j); this.add($t); var $u=new qx.ui.basic.Atom($0,$2); var $v=$u.getLabelObject(); if($v){var $w=new qx.renderer.font.Font(11,$[119]); $w.setBold(true); $v.setFont($w); $v.setWrap(false); }$v=new qx.ui.basic.Label($1); $v.setWrap(true); $v.setPadding(3,10); this._titleAtom=$u; this._textLabel=$v; $j.add($u,this._textLabel); this.setIcon($2); this.setTitle($0); this.setText($1); this.setZIndex(2e7); this.setWidth($3); this.setHeight($4); this.setAutoHide(false); this._hideTimer=new qx.client.Timer(this.getHideInterval()); this._hideTimer.addEventListener($[52],this._onhidetimer,this); }); qx.Proto.TOP_LEFT_CORNER_IMAGE="resource/images/tooltip/message2.gif"; qx.Proto.TOP_RIGHT_CORNER_IMAGE="resource/images/tooltip/message3.gif"; qx.Proto.BOTTOM_LEFT_CORNER_IMAGE="resource/images/tooltip/message1.gif"; qx.Proto.BOTTOM_RIGHT_CORNER_IMAGE="resource/images/tooltip/message4.gif"; qx.Proto.LEFT_ARROW_IMAGE="resource/images/tooltip/message_arrow2.gif"; qx.Proto.RIGHT_ARROW_IMAGE="resource/images/tooltip/message_arrow1.gif"; qx.Proto.BACKGROUND_COLOR_VALUE="#FFFFE1"; qx.Proto.ICON_SIZE=16; qx.Proto.CORNER_SIZE=5; qx.Proto.ARROW_WIDTH=17; qx.Proto.ARROW_HEIGHT=18; qx.OO.addProperty({name:$[72],type:$[0],defaultValue:null}); qx.OO.addProperty({name:$[166],type:$[0],defaultValue:$[1]}); qx.OO.addProperty({name:$[198],type:$[0],defaultValue:$[1]}); qx.OO.addProperty({name:$[889],type:$[2],defaultValue:10000}); qx.OO.addProperty({name:$[2452],type:$[2],defaultValue:5}); qx.OO.addProperty({name:$[2787],type:$[0],defaultValue:$[12],possibleValues:[$[10],$[12]]}); qx.Proto._modifyIcon=function($0,$1,$2){this._titleAtom.setIcon($0); return true; }; qx.Proto._modifyTitle=function($0,$1,$2){var $3=this._titleAtom; $3.setLabel($0); if(!$1){var $4=$3.getLabelObject(); if($4){var $5=new qx.renderer.font.Font(11,$[119]); $5.setBold(true); $4.setFont($5); }}return true; }; qx.Proto._modifyText=function($0,$1,$2){this._textLabel.setHtml($0); return true; }; qx.Proto._modifyHideInterval=function($0,$1,$2){this._hideTimer.setInterval($0); return true; }; qx.Proto._modifyArrowOffset=function($0,$1,$2){this._rightArrowBorderWrapper.setWidth($0); return true; }; qx.Proto._modifyArrowOrientation=function($0,$1,$2){var $3=this._arrowCanvas; if($0===$[10]){$3.removeAll(); $3.add(this._leftArrowImage); }else{$3.removeAll(); $3.add(this._rightArrowImage); }return true; }; qx.Proto._onhidetimer=function($0){return this.hide(); }; qx.Proto._beforeAppear=function(){qx.ui.popup.Popup.prototype._beforeAppear.call(this); this._startHideTimer(); }; qx.Proto._beforeDisappear=function(){qx.ui.popup.Popup.prototype._beforeDisappear.call(this); this._stopHideTimer(); }; qx.Proto._startHideTimer=function(){if(!this._hideTimer.getEnabled()){this._hideTimer.start(); }}; qx.Proto._stopHideTimer=function(){if(this._hideTimer.getEnabled()){this._hideTimer.stop(); }}; qx.Proto.setWidth=function($0){qx.ui.popup.Popup.prototype.setWidth.call(this,$0); if(this._container){this._container.setWidth($0); var $1=this._titleAtom.getLabelObject(); if($1){$1.setWidth($0-this.CORNER_SIZE*2-this.ICON_SIZE-4); }this._textLabel.setWidth($0-this.CORNER_SIZE*2); }}; qx.Proto.setHeight=function($0){qx.ui.popup.Popup.prototype.setHeight.call(this,$0); if(this._container){this._container.setHeight($0); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return true; } if(this._hideTimer){this._hideTimer.removeEventListener($[52],this._onhidetimer,this); this._hideTimer.dispose(); this._hideTimer=null; }var $0; var $1; var $2; var $3=[this._topLayout,this._bottomLayout,this._arrowLayout]; for(j in $3){if($3[j]){$1=$3[j].getChildren(); if($1){$2=$1.length; for($0=0;$0<$2;$0++){if($1[$0].getChildrenLength()>0){$1[$0].dispose(); }$1[$0].dispose(); }}}}this._titleAtom.dispose(); this._textLabel.dispose(); this._middleLayout.dispose(); delete this._middleLayout; delete this._titleAtom; delete this._textLabel; delete this._topLayout; delete this._bottomLayout; delete this._arrowLayout; delete this._rightArrowBorderWrapper; delete this._arrowCanvas; delete this._leftArrowImage; delete this._rightArrowImage; return qx.ui.popup.Popup.prototype.dispose.call(this); }; /* ID: elite.ui.form.FileField */ qx.OO.defineClass($[2535],qx.ui.form.TextField,function($0){qx.ui.form.TextField.call(this,$0); this.setHtmlProperty($[216],$[408]); }); qx.OO.addProperty({name:$[96],type:$[0]}); qx.OO.addProperty({name:$[1348],type:$[0]}); qx.Proto._modifyName=function($0,$1,$2){return $0?this.setHtmlProperty($2.name,$0):this.removeHtmlProperty($2.name); }; qx.Proto._modifyAccept=function($0,$1,$2){return $0?this.setHtmlProperty($2.name,$0):this.removeHtmlProperty($2.name); }; /* ID: qx.ui.embed.Flash */ qx.OO.defineClass($[401],qx.ui.basic.Terminator,function($0,$1){qx.ui.basic.Terminator.call(this); this._params={}; this._variables={}; if($0!=null){this.setSource($0); }this.setVersion($1!=null?$1:qx.ui.embed.Flash.MINREQUIRED); }); qx.OO.addProperty({name:$[558],type:$[0]}); qx.OO.addProperty({name:$[2140]}); qx.OO.addProperty({name:$[1045],type:$[3],defaultValue:false}); qx.OO.addProperty({name:$[1000],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[1571],type:$[0]}); qx.OO.addProperty({name:$[1916],type:$[0],impl:$[214],defaultValue:$[898],possibleValues:[$[2818],$[1548],$[2537],$[289],$[898],$[2961]]}); qx.OO.addProperty({name:$[2013],type:$[0],impl:$[214],defaultValue:$[699],possibleValues:[$[699],$[1686],$[2363],$[2875]]}); qx.OO.addProperty({name:$[1780],type:$[0],impl:$[214],defaultValue:$[1],possibleValues:[$[127],$[161],$[443]]}); qx.OO.addProperty({name:$[2209],type:$[3],impl:$[214],defaultValue:true}); qx.OO.addProperty({name:$[2422],type:$[3],impl:$[214],defaultValue:true}); qx.OO.addProperty({name:$[266],type:$[3],impl:$[214],defaultValue:true}); qx.ui.embed.Flash.EXPRESSINSTALL=[6,0,65]; qx.ui.embed.Flash.MINREQUIRED="1"; qx.ui.embed.Flash.PLAYERVERSION=null; qx.ui.embed.Flash.PLUGINKEY="Shockwave Flash"; qx.ui.embed.Flash.ACTIVEXKEY="ShockwaveFlash.ShockwaveFlash"; qx.ui.embed.Flash.getPlayerVersion=function(){if(qx.ui.embed.Flash.PLAYERVERSION!=null){return qx.ui.embed.Flash.PLAYERVERSION; }var $0=new qx.type.Version(0,0,0); if(navigator.plugins&&navigator.mimeTypes.length){var $1=navigator.plugins[qx.ui.embed.Flash.PLUGINKEY]; if($1&&$1.description){$0=new qx.type.Version($1.description.replace(/([a-zA-Z]|\s)+/,$[1]).replace(/(\s+r|\s+b[0-9]+)/,$[50]).split($[50])); }}else if(window.ActiveXObject){try{var $2=new ActiveXObject(qx.ui.embed.Flash.ACTIVEXKEY+$[2233]); }catch(e){try{var $2=new ActiveXObject(qx.ui.embed.Flash.ACTIVEXKEY+$[2090]); $0=new qx.type.Version([6,0,21]); $2.AllowScriptAccess=$[2703]; }catch(e){if($0.major==6){return $0; }} try{$2=new ActiveXObject(qx.ui.embed.Flash.ACTIVEXKEY); }catch(e){}} if($2!=null){$0=new qx.type.Version($2.GetVariable($[2788]).split($[48])[1].split($[19])); }}return qx.ui.embed.Flash.PLAYERVERSION=$0; }; qx.Proto._version=null; qx.Proto._source=$[1]; qx.Proto._applyElementData=function($0){qx.ui.basic.Terminator.prototype._applyElementData.call(this,$0); this._expressInstall=false; if(this.getEnableExpressInstall()){var $1=new qx.type.Version(qx.ui.embed.Flash.EXPRESSINSTALL); var $2=qx.ui.embed.Flash.getPlayerVersion(); if($2.versionIsValid($1)&&!$2.versionIsValid(this._version)){this._expressInstall=true; }}if(!this.getEnableDetection()||this._expressInstall||qx.ui.embed.Flash.getPlayerVersion().versionIsValid(this._version)){$0.innerHTML=this.generateHTML(); }else{var $3=this.getRedirectUrl(); if($3!=$[1]){document.location.replace($3); }}}; qx.Proto._modifySource=function($0,$1,$2){this._source=qx.util.Validation.isValidString($0)?qx.manager.object.AliasManager.getInstance().resolvePath($0):$[1]; return true; }; qx.Proto._modifyVersion=function($0,$1,$2){if(this._version){this._version.dispose(); this._version=null; } if(qx.util.Validation.isValidString($0)){this._version=new qx.type.Version($0); }return true; }; qx.Proto._modifyParam=function($0,$1,$2){this.setParam($2.name,$0.toString()); return true; }; qx.Proto._modifyBackgroundColor=function($0,$1,$2){if($1){$1.remove(this); } if($0){this._applyBackgroundColor($0.getHex()); $0.add(this); }else{this._resetBackgroundColor(); }return true; }; qx.Proto._applyBackgroundColor=function($0){this.setParam($[2077],$0); }; qx.Proto.setParam=function($0,$1){this._params[$0]=$1; }; qx.Proto.getParam=function($0){return this._params[$0]; }; qx.Proto.getParams=function(){return this._params; }; qx.Proto.setVariable=function($0,$1){this._variables[$0]=$1; }; qx.Proto.getVariable=function($0){return this._variables[$0]; }; qx.Proto.getVariables=function(){return this._variables; }; qx.Proto.generateParamTags=function(){var $0=this.getParams(); var $1=[]; for(var $2 in $0){$1.push($[2497]); $1.push($2); $1.push($[2434]); $1.push($0[$2]); $1.push($[447]); }return $1.join($[1]); }; qx.Proto.getVariablePairs=function(){var $0=this.getVariables(); var $1=[]; for(var $2 in $0){$1.push($2+$[21]+$0[$2]); }return $1.join($[51]); }; if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){qx.Proto.generateHTML=function(){var $0=[]; if(this._expressInstall){document.title=document.title.slice(0,47)+$[786]; this.addVariable($[2018],escape(window.location)); this.addVariable($[2671],document.title); this.addVariable($[1472],$[2679]); }$0.push($[1202]); $0.push(this._source); $0.push($[84]); var $1=this.getParams(); for(var $2 in $1){$0.push($[48]); $0.push($2); $0.push($[21]); $0.push($[84]); $0.push($1[$2]); $0.push($[84]); }var $3=this.getVariablePairs(); if($3.length>0){$0.push($[48]); $0.push($[2377]); $0.push($[21]); $0.push($[84]); $0.push($3); $0.push($[84]); }$0.push($[2969]); return $0.join($[1]); }; }else{qx.Proto.generateHTML=function(){var $0=[]; if(this._expressInstall){document.title=document.title.slice(0,47)+$[786]; this.addVariable($[1437],escape(window.location)); this.addVariable($[2918],document.title); this.addVariable($[2181],$[2840]); }$0.push($[1254]); $0.push($[1804]); $0.push(this._source); $0.push($[447]); var $1=this.generateParamTags(); if($1.length>0){$0.push($1); }var $2=this.getVariablePairs(); if($2.length>0){$0.push($[1170]); $0.push($2); $0.push($[447]); }$0.push($[1864]); return $0.join($[1]); }; }qx.Proto._isWidthEssential=qx.lang.Function.returnTrue; qx.Proto._isHeightEssential=qx.lang.Function.returnTrue; qx.Proto._computePreferredInnerWidth=qx.lang.Function.returnZero; qx.Proto._computePreferredInnerHeight=qx.lang.Function.returnZero; qx.Proto.dispose=function(){if(this.getDisposed()){return; }delete this._source; delete this._params; delete this._variables; if(this._version){this._version.dispose(); this._version=null; }qx.ui.basic.Terminator.prototype.dispose.call(this); }; /* ID: qx.lang.Prototypes */ qx.OO.defineClass($[578]); qx.Settings.setDefault($[874],false); qx.lang.Prototypes.init=function(){var $0,$1; var $2=[$[807],$[1139],$[745]]; for(var $3=0,$4=$2.length;$3<$4;$3++){$1=$2[$3]; for($0 in qx.lang[$1]){window[$1].prototype[$0]=(function($0,$1){return function(){return qx.lang[$1][$0].apply(null,Array.prototype.concat.call([this],Array.prototype.slice.call(arguments,0))); }; })($0,$1); }}}; if(qx.Settings.getValueOfClass($[578],$[874])){qx.lang.Prototypes.init(); } /* ID: qx.ui.pageview.tabview.Page */ qx.OO.defineClass($[2275],qx.ui.pageview.AbstractPage,function($0){qx.ui.pageview.AbstractPage.call(this,$0); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[2941]}); /* ID: qx.event.handler.DragAndDropHandler */ qx.OO.defineClass($[343],qx.manager.object.ObjectManager,function(){qx.core.Target.call(this); this._data={}; this._actions={}; this._cursors={}; var $0; for(var $1 in this._actionNames){$0=this._cursors[$1]=new qx.ui.basic.Image(this._cursorPath+$1+$[50]+this._cursorFormat); $0.setZIndex(1e8); }}); qx.OO.addProperty({name:$[2889],type:$[4]}); qx.OO.addProperty({name:$[1583],type:$[4]}); qx.OO.addProperty({name:$[170],type:$[4]}); qx.OO.addProperty({name:$[2693],type:$[0]}); qx.OO.addProperty({name:$[1895],type:$[2],defaultValue:5,allowNull:false}); qx.OO.addProperty({name:$[1767],type:$[2],defaultValue:15,allowNull:false}); qx.Proto._actionNames={move:$[847],copy:$[2905],alias:$[1934],nodrop:$[2114]}; qx.Proto._cursorPath=$[2252]; qx.Proto._cursorFormat=$[524]; qx.Proto._lastDestinationEvent=null; qx.Proto._modifyDestinationWidget=function($0,$1,$2){if($0){$0.dispatchEvent(new qx.event.type.DragEvent($[476],this._lastDestinationEvent,$0,this.getSourceWidget())); this._lastDestinationEvent=null; }return true; }; qx.Proto.addData=function($0,$1){this._data[$0]=$1; }; qx.Proto.getData=function($0){return this._data[$0]; }; qx.Proto.clearData=function(){this._data={}; }; qx.Proto.getDropDataTypes=function(){var $0=this.getDestinationWidget(); var $1=[]; if(!$0){return $1; }var $2=$0.getDropDataTypes(); for(var $3=0,$4=$2.length;$3<$4;$3++){if($2[$3] in this._data){$1.push($2[$3]); }}return $1; }; qx.Proto.startDrag=function(){if(!this._dragCache){throw new Error("Invalid usage of startDrag. Missing dragInfo!"); }this._dragCache.dragHandlerActive=true; this.setSourceWidget(this._dragCache.sourceWidget); if(this._feedbackWidget){this._feedbackWidget.setVisibility(false); var $0=qx.ui.core.ClientDocument.getInstance(); $0.add(this._feedbackWidget); }}; qx.Proto._fireUserEvents=function($0,$1,$2){if($0&&$0!=$1&&$0.hasEventListeners($[573])){$0.dispatchEvent(new qx.event.type.DragEvent($[573],$2,$0,$1),true); } if($1){if($0!=$1&&$1.hasEventListeners($[201])){$1.dispatchEvent(new qx.event.type.DragEvent($[201],$2,$1,$0),true); } if($1.hasEventListeners($[972])){$1.dispatchEvent(new qx.event.type.DragEvent($[972],$2,$1,null),true); }}}; qx.Proto.handleMouseEvent=function($0){switch($0.getType()){case $[6]:return this._handleMouseDown($0); case $[7]:return this._handleMouseUp($0); case $[14]:return this._handleMouseMove($0); }}; qx.Proto._handleMouseDown=function($0){if($0.getDefaultPrevented()||!$0.isLeftButtonPressed()){return; }this._dragCache={startScreenX:$0.getScreenX(),startScreenY:$0.getScreenY(),pageX:$0.getPageX(),pageY:$0.getPageY(),sourceWidget:$0.getTarget(),sourceTopLevel:$0.getTarget().getTopLevelWidget(),dragHandlerActive:false,hasFiredDragStart:false}; }; qx.Proto._handleMouseMove=function($0){if(!this._dragCache){return; }if(this._dragCache.dragHandlerActive){this._dragCache.pageX=$0.getPageX(); this._dragCache.pageY=$0.getPageY(); var $1=this.getDropTarget($0); this.setCurrentAction($1?this._evalNewAction($0.isShiftPressed(),$0.isCtrlPressed(),$0.isAltPressed()):null); this._fireUserEvents(this._dragCache.currentDropWidget,$1,$0); this._dragCache.currentDropWidget=$1; this._renderCursor(); this._renderFeedbackWidget(); }else if(!this._dragCache.hasFiredDragStart){if(Math.abs($0.getScreenX()-this._dragCache.startScreenX)>5||Math.abs($0.getScreenY()-this._dragCache.startScreenY)>5){this._dragCache.sourceWidget.dispatchEvent(new qx.event.type.DragEvent($[244],$0,this._dragCache.sourceWidget),true); this._dragCache.hasFiredDragStart=true; if(this._dragCache.dragHandlerActive){this._fireUserEvents(this._dragCache.currentDropWidget,this._dragCache.sourceWidget,$0); this._dragCache.currentDropWidget=this._dragCache.sourceWidget; qx.ui.core.ClientDocument.getInstance().setCapture(true); }}}}; qx.Proto._handleMouseUp=function($0){if(!this._dragCache){return; } if(this._dragCache.dragHandlerActive){this._endDrag(this.getDropTarget($0),$0); }else{this._dragCache=null; }}; qx.Proto.handleKeyEvent=function($0){if(!this._dragCache){return; } switch($0.getType()){case $[13]:this._handleKeyDown($0); return; case $[90]:this._handleKeyUp($0); return; }}; qx.Proto._handleKeyDown=function($0){if($0.getKeyIdentifier()==$[88]){this.cancelDrag($0); }else if(this.getCurrentAction()!=null){switch($0.getKeyIdentifier()){case $[194]:case $[146]:case $[120]:this.setAction(this._evalNewAction($0.isShiftPressed(),$0.isCtrlPressed(),$0.isAltPressed())); this._renderCursor(); $0.preventDefault(); }}}; qx.Proto._handleKeyUp=function($0){var $1=$0.getKeyIdentifier()==$[194]; var $2=$0.getKeyIdentifier()==$[146]; var $3=$0.getKeyIdentifier()==$[120]; if($1||$2||$3){if(this.getCurrentAction()!=null){this.setAction(this._evalNewAction(!$1&&$0.isShiftPressed(),!$2&&$0.isCtrlPressed(),!$3&&$0.isAltPressed())); this._renderCursor(); $0.preventDefault(); }}}; qx.Proto.cancelDrag=function($0){if(!this._dragCache){return; } if(this._dragCache.dragHandlerActive){this._endDrag(null,$0); }else{this._dragCache=null; }}; qx.Proto.globalCancelDrag=function(){if(this._dragCache&&this._dragCache.dragHandlerActive){this._endDragCore(); }}; qx.Proto._endDrag=function($0,$1){if($0){this._lastDestinationEvent=$1; this.setDestinationWidget($0); }this.getSourceWidget().dispatchEvent(new qx.event.type.DragEvent($[861],$1,this.getSourceWidget(),$0),true); this._fireUserEvents(this._dragCache&&this._dragCache.currentDropWidget,null,$1); this._endDragCore(); }; qx.Proto._endDragCore=function(){if(this._feedbackWidget){var $0=qx.ui.core.ClientDocument.getInstance(); $0.remove(this._feedbackWidget); if(this._feedbackAutoDispose){this._feedbackWidget.dispose(); }this._feedbackWidget=null; }var $1=this.getCursor(); if($1){$1._style.display=$[32]; this.forceCursor(null); }this._cursorDeltaX=null; this._cursorDeltaY=null; if(this._dragCache){this._dragCache.currentDropWidget=null; this._dragCache=null; }qx.ui.core.ClientDocument.getInstance().setCapture(false); this.clearData(); this.clearActions(); this.setSourceWidget(null); this.setDestinationWidget(null); }; qx.Proto.setCursorPosition=function($0,$1){this._cursorDeltaX=$0; this._cursorDeltaY=$1; }; qx.Proto._renderCursor=function(){var $0; var $1=this.getCursor(); switch(this.getCurrentAction()){case this._actionNames.move:$0=this._cursors.move; break; case this._actionNames.copy:$0=this._cursors.copy; break; case this._actionNames.alias:$0=this._cursors.alias; break; default:$0=this._cursors.nodrop; }if($0!=$1&&$1!=null){$1._style.display=$[32]; }if(!$0._initialLayoutDone){qx.ui.core.ClientDocument.getInstance().add($0); qx.ui.core.Widget.flushGlobalQueues(); }$0._applyRuntimeLeft(this._dragCache.pageX+((this._cursorDeltaX!=null)?this._cursorDeltaX:this.getDefaultCursorDeltaX())); $0._applyRuntimeTop(this._dragCache.pageY+((this._cursorDeltaY!=null)?this._cursorDeltaY:this.getDefaultCursorDeltaY())); if($0!=$1){$0._style.display=$[1]; }this.forceCursor($0); }; qx.Proto.supportsDrop=function($0){var $1=$0.getDropDataTypes(); if(!$1){return false; } for(var $2=0;$2<$1.length;$2++){if($1[$2] in this._data){return true; }}return false; }; if(qx.core.Client.getInstance().isGecko()){qx.Proto.getDropTarget=function($0){var $1=$0.getTarget(); if($1==this._dragCache.sourceWidget){$1=this._dragCache.sourceTopLevel.getWidgetFromPoint($0.getPageX(),$0.getPageY()); }else{$1=qx.event.handler.EventHandler.getTargetObject(null,$1); } while($1!=null&&$1!=this._dragCache.sourceWidget){if(!$1.supportsDrop(this._dragCache)){return null; } if(this.supportsDrop($1)){return $1; }$1=$1.getParent(); }return null; }; }else{qx.Proto.getDropTarget=function($0){var $1=$0.getTarget(); while($1!=null){if(!$1.supportsDrop(this._dragCache)){return null; } if(this.supportsDrop($1)){return $1; }$1=$1.getParent(); }return null; }; }qx.Proto.addAction=function($0,$1){this._actions[$0]=true; if($1||this.getCurrentAction()==null){this.setCurrentAction($0); }}; qx.Proto.clearActions=function(){this._actions={}; this.setCurrentAction(null); }; qx.Proto.removeAction=function($0){delete this._actions[$0]; if(this.getCurrentAction()==$0){this.setCurrentAction(null); }}; qx.Proto.setAction=function($0){if($0!=null&&!($0 in this._actions)){this.addAction($0,true); }else{this.setCurrentAction($0); }}; qx.Proto._evalNewAction=function($0,$1,$2){if($0&&$1&&this._actionNames.alias in this._actions){return this._actionNames.alias; }else if($0&&$2&&this._actionNames.copy in this._actions){return this._actionNames.copy; }else if($0&&this._actionNames.move in this._actions){return this._actionNames.move; }else if($2&&this._actionNames.alias in this._actions){return this._actionNames.alias; }else if($1&&this._actionNames.copy in this._actions){return this._actionNames.copy; }else{for(var $3 in this._actions){return $3; }}return null; }; qx.Proto.setFeedbackWidget=function($0,$1,$2,$3){this._feedbackWidget=$0; this._feedbackDeltaX=($1!=null)?$1:10; this._feedbackDeltaY=($2!=null)?$2:10; this._feedbackAutoDispose=$3?true:false; }; qx.Proto._renderFeedbackWidget=function(){if(this._feedbackWidget){this._feedbackWidget.setVisibility(true); this._feedbackWidget._applyRuntimeLeft(this._dragCache.pageX+this._feedbackDeltaX); this._feedbackWidget._applyRuntimeTop(this._dragCache.pageY+this._feedbackDeltaY); }}; qx.Proto.dispose=function(){if(this.getDisposed()){return; }if(this._dragCache){this._dragCache.currentDropWidget=null; this._dragCache=null; }this._data=null; this._actions=null; this._actionNames=null; this._lastDestinationEvent=null; if(this._cursors){if(this._cursors.move){this._cursors.move.dispose(); delete this._cursors.move; } if(this._cursors.copy){this._cursors.copy.dispose(); delete this._cursors.copy; } if(this._cursors.alias){this._cursors.alias.dispose(); delete this._cursors.alias; } if(this._cursors.nodrop){this._cursors.nodrop.dispose(); delete this._cursors.nodrop; }this._cursors=null; }return qx.manager.object.ObjectManager.prototype.dispose.call(this); }; qx.Clazz.getInstance=qx.lang.Function.returnInstance; /* ID: qx.event.type.DragEvent */ qx.OO.defineClass($[2975],qx.event.type.MouseEvent,function($0,$1,$2,$3){this._mouseEvent=$1; var $4=null; switch($0){case $[244]:case $[201]:$4=$1.getOriginalTarget(); }qx.event.type.MouseEvent.call(this,$0,$1.getDomEvent(),$2.getElement(),$2,$4,$3); }); qx.Proto.getMouseEvent=function(){return this._mouseEvent; }; qx.Proto.startDrag=function(){if(this.getType()!=$[244]){throw new Error("qx.event.type.DragEvent startDrag can only be called during the dragstart event: "+this.getType()); }this.stopPropagation(); qx.event.handler.DragAndDropHandler.getInstance().startDrag(); }; qx.Proto.addData=function($0,$1){qx.event.handler.DragAndDropHandler.getInstance().addData($0,$1); }; qx.Proto.getData=function($0){return qx.event.handler.DragAndDropHandler.getInstance().getData($0); }; qx.Proto.clearData=function(){qx.event.handler.DragAndDropHandler.getInstance().clearData(); }; qx.Proto.getDropDataTypes=function(){return qx.event.handler.DragAndDropHandler.getInstance().getDropDataTypes(); }; qx.Proto.addAction=function($0){qx.event.handler.DragAndDropHandler.getInstance().addAction($0); }; qx.Proto.removeAction=function($0){qx.event.handler.DragAndDropHandler.getInstance().removeAction($0); }; qx.Proto.getAction=function(){return qx.event.handler.DragAndDropHandler.getInstance().getCurrentAction(); }; qx.Proto.clearActions=function(){qx.event.handler.DragAndDropHandler.getInstance().clearActions(); }; qx.Proto.setFeedbackWidget=function($0,$1,$2,$3){qx.event.handler.DragAndDropHandler.getInstance().setFeedbackWidget($0,$1,$2,$3); }; qx.Proto.setCursorPosition=function($0,$1){qx.event.handler.DragAndDropHandler.getInstance().setCursorPosition($0,$1); }; qx.Proto.dispose=function(){if(this.getDisposed()){return; }this._mouseEvent=null; return qx.event.type.MouseEvent.prototype.dispose.call(this); }; /* ID: qx.ui.pageview.tabview.TabView */ qx.OO.defineClass($[1500],qx.ui.pageview.AbstractPageView,function(){qx.ui.pageview.AbstractPageView.call(this,qx.ui.pageview.tabview.Bar,qx.ui.pageview.tabview.Pane); }); qx.OO.changeProperty({name:$[8],type:$[0],defaultValue:$[1790]}); qx.OO.addProperty({name:$[2520],type:$[3],defaultValue:true}); qx.OO.addProperty({name:$[1893],type:$[3],defaultValue:true}); qx.Proto._modifyAlignTabsToLeft=function($0,$1,$2){var $3=this._bar; $3.setHorizontalChildrenAlign($0?$[10]:$[12]); $3._addChildrenToStateQueue(); return true; }; qx.Proto._modifyPlaceBarOnTop=function($0,$1,$2){var $3=this._bar; if($0){$3.moveSelfToBegin(); }else{$3.moveSelfToEnd(); }$3._addChildrenToStateQueue(); return true; }; /* ID: elite.ui.form.TextAreaEx */ qx.OO.defineClass($[1613],qx.ui.layout.CanvasLayout,function(){qx.ui.layout.CanvasLayout.call(this); this.setHeight(20); var $0=this._header=new qx.ui.layout.CanvasLayout; $0.setBackgroundColor(new qx.renderer.color.Color($[544])); $0.setBorder(qx.renderer.border.BorderPresets.getInstance().thinOutset); $0.setHeight(20); $0.setTabIndex(-1); var $1=this._headerLabel=new qx.ui.basic.Label; $1.setTop(2); $1.setLeft(5); $0.add($1); var $2=this._headerButton=new qx.ui.basic.Atom; $2.setIcon($[186]); $2.setRight(5); $2.setTop(5); $2.addEventListener($[18],function($3){var $4=$3.getTarget(); if(this._text.isSeeable()){this._text.hide(); $4.setIcon($[186]); }else{var $5=this.getElement(); this._text.setTop(qx.html.Offset.getTop($5)+5); this._text.setLeft(qx.html.Offset.getLeft($5)-11); this._text.setParent(this.getParent()); this._text.show(); $4.setIcon($[430]); }},this); $0.add($2); this.add($0); var $3=this._text=new qx.ui.form.TextArea; $3.setHeight(200); $3.setOverflow($[5]); $3.setBorder(qx.renderer.border.BorderPresets.getInstance().thinInset); $3.setBackgroundColor(new qx.renderer.color.Color($[65])); $3.setReadOnly(true); }); qx.OO.addProperty({name:$[530],type:$[0]}); qx.Proto.getHeader=function(){return this._header; }; qx.Proto.getValue=function(){return this._text.getValue(); }; qx.Proto.setValue=function($0){this._text.setValue($0); return true; }; qx.Proto.setStyleProperty=function($0,$1){this._text.setStyleProperty($0,$1); return true; }; qx.Proto._modifyHeaderLabel=function($0,$1,$2){this._headerLabel.setHtml($0); return true; }; qx.Proto._modifyWidth=function($0,$1,$2){this._header.setWidth($0); this._text.setWidth($0); return true; }; qx.Proto.dispose=function(){if(this.getDisposed()){return; } if(this._header){this._header.dispose(); this._header=null; } if(this._headerLabel){this._headerLabel.dispose(); this._headerLabel=null; } if(this._headerButton){this._headerButton.dispose(); this._headerButton=null; } if(this._text){if(!qx.core.Object.inGlobalDispose())this._text.setParent(null); this._text.dispose(); this._text=null; }return qx.ui.layout.CanvasLayout.prototype.dispose.call(this); }; /* ID: qx.io.local.CookieTransport */ qx.OO.defineClass($[1738],{BASENAME:"qx",ITEMSEPARATOR:"&",KEYVALUESEPARATOR:"=",MAXCOOKIES:20,MAXSIZE:4096}); qx.Clazz.set=function($0,$1){if($1===undefined){return qx.io.local.CookieTransport.del($0); }var $2=qx.io.local.CookieTransport._getAll(); $2[$0]=$1; this._setAll($2); }; qx.Clazz.get=function($0){var $1=qx.io.local.CookieTransport._getAll(); return $1[$0]||$[1]; }; qx.Clazz.del=function($0){var $1=qx.io.local.CookieTransport._getAll(); delete $1[$0]; this._setAll($1); }; qx.Clazz.setAll=function($0){var $1=qx.io.local.CookieTransport._getAll(); $1=qx.lang.Object.mergeWith($1,$0); qx.io.local.CookieTransport._setAll($1); }; qx.Clazz.getAll=function(){return qx.io.local.CookieTransport._getAll(); }; qx.Clazz.replaceAll=function($0){qx.io.local.CookieTransport._setAll($0); }; qx.Clazz.delAll=function(){qx.io.local.CookieTransport.replaceAll({}); }; qx.Clazz._getAll=function(){var $0={}; var $1,$2,$3; for(var $4=0;$4qx.io.local.CookieTransport.MAXSIZE){qx.log.Logger.getClassLogger(qx.io.local.CookieTransport).debug("Could not store value of name '"+$4+"': Maximum size of "+qx.io.local.CookieTransport.MAXSIZE+"reached!"); continue; } if((qx.io.local.CookieTransport.ITEMSEPARATOR.length+$1.length+$2.length)>qx.io.local.CookieTransport.MAXSIZE){qx.io.local.CookieTransport._setCookie($3++,$1); if($3==qx.io.local.CookieTransport.MAXCOOKIES){qx.log.Logger.getClassLogger(qx.io.local.CookieTransport).debug("Failed to store cookie. Max cookie amount reached!","error"); return false; }$1=$2; }else{if($1!=$[1]){$1+=qx.io.local.CookieTransport.ITEMSEPARATOR; }$1+=$2; }} if($1!=$[1]){qx.io.local.CookieTransport._setCookie($3++,$1); } while($3=$1){this._nextIndexToStoreTo=0; }}}; qx.Proto.retrieveLogEvents=function($0){if($0>this._history.length){$0=this._history.length; }var $1=this._history.length==this.getMaxMessages()?this._nextIndexToStoreTo-1:this._history.length-1; var $2=$1-$0+1; if($2<0){$2+=this._history.length; }var $3; if($2<=$1){$3=this._history.slice($2,$1+1); }else{$3=this._history.slice($2,this._history.length).concat(this._history.slice(0,$1+1)); }return $3; }; qx.Proto.formatLogEvents=function($0){if(this._appenderToFormatStrings==null){this._appenderToFormatStrings=new qx.log.Appender(); }var $1=this.retrieveLogEvents($0); var $2=$[1]; for(var $3=0;$3<$1.length;$3++){$2+=this._appenderToFormatStrings.formatLogEvent($1[$3])+$[79]; }return $2; }; qx.Proto.dispose=function(){if(this.getDisposed()){return true; }return qx.log.Appender.prototype.dispose.call(this); }; /* ID: custom.translation.es_ES */ qx.Locale.define($[1706],{});