
try{(function(){})();
}catch(e){console.log("Module 'wp_toolbar_utils': ",e);}
try{if(typeof (wpModules.toolbar)=="undefined"){
wpModules.toolbar={};
}
if(typeof (wpModules.toolbar.menuActions)=="undefined"){
wpModules.toolbar.menuActions={};
}


}catch(e){console.log("Module 'wp_toolbar_menuactions': ",e);}
try{(function(){
    i$.merge({
	"move_page_dialog_title":"Presunúť stránku '{0}' do...",
	"edit_wiring_dialog_title":"Manažovať koncové body komunikácie pre '{0}'",
	"confirm_delete_page_anonymous":"Naozaj chcete vymazať túto stránku a všetkých jej potomkov?",
	"delete_control_dialog_title":"Vymazať portlet",
	"confirm_delete_page":"Naozaj chcete vymazať stránku '{0}' a všetkých jej potomkov?",
	"confirm_delete_control_anonymous":"Naozaj chcete odstrániť tento portlet zo stránky?",
	"page_properties_dialog_title":"Manažovať vlastnosti stránky",
	"delete_page_dialog_title":"Vymazať stránku",
	"edit_wiring_dialog_title_anonymous":"Manažovať koncové body komunikácie",
	"preview_as_user_dialog_title":"Náhľad ako užívateľ",
	"confirm_delete_control":"Naozaj chcete odstrániť portlet '{0}' zo stránky?"
},i$.fromPath("wpModules.toolbar.menuActions.nls",true));
})();
}catch(e){console.log("Module 'wp_toolbar_menuactions': ",e);}
try{setTimeout(function(){	
// create a test node off the browser screen to calculate high contrast mode
var testNode = document.createElement("div");
testNode.className = "highContrastTestNode";
document.body.appendChild(testNode);
// look at the computed style for the test node
var styles = null;
try {
	styles = document.defaultView.getComputedStyle(testNode, "");
} catch(e) {
	styles = testNode.currentStyle;
}
if(styles) {
	var testImg = styles.backgroundImage;
	if ((styles.borderTopColor == styles.borderRightColor) || (testImg != null && (testImg == "none" || testImg == "url(invalid-url:)" ))) {
		document.getElementsByTagName("body")[0].className+=" lotusImagesOff";
	}
	document.body.removeChild(testNode);
}
}, 500);

}catch(e){console.log("Module 'wp_one_ui_303': ",e);}
try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2012 - All Rights reserved.  **/
(function(){
var _1=ibmCfg.portalConfig.contentHandlerURI+((ibmCfg.portalConfig.contentHandlerURI.indexOf("?")<0)?"?":"&")+"uri=menu:${id}",_2=false,_3="Separator",_4="Header",_5=function(){
var _6=i$.hasClass(document.getElementsByTagName("body")[0],"edit-mode");
return _6;
},_7=i$.fromPath("wptheme",true),_8=i$.fromPath("wptheme.contextMenu",true),_9=i$.fromPath("wptheme.contextMenu.extension",true);
i$.mash(_7,{getWindowIDFromSkin:function(_a){
while((_a=_a.parentNode)!=null){
if(i$.hasClass(_a,"component-control")){
var m=_a&&(_a.className||"").match(/id-([\S]+)/);
var _b=m&&m[1];
return _b;
}
}
return null;
},getPortletState:function(_c){
var _d=i$.byId("portletState");
var _e={};
if(_d){
if(!_d._cache){
_d._cache=i$.fromJson(_d.innerHTML);
_d._cache._defaults={"windowState":"normal","portletMode":"view"};
}
if(_d._cache[_c]){
_e=_d._cache[_c];
}else{
_e=_d._cache._defaults;
}
}
return _e;
},isValidOp:function(_f){
if(_f.visibility===false){
return false;
}
var _10=_f.metadata||{};
switch(_f.id){
case "ibm.portal.operations.changePortletMode":
var _11=_7.getPortletState(_10.wid).portletMode!=_10.portletMode;
return _11;
case "ibm.portal.operations.changeWindowState":
var _11=_7.getPortletState(_10.wid).windowState!=_10.windowState;
return _11;
default:
}
return true;
},operation:{changeToHelpMode:function(_12){
var _13=window.location.href;
if(_12.actionUrl){
if(_12.actionUrl.indexOf("?")==0){
var _14=_13.indexOf("#");
if(_14!=-1){
var _15=_13.substring(0,_14);
var _16=_13.substring(_14);
_13=_15+(_15.indexOf("?")==-1?"?":"&")+_12.actionUrl.substring(1);
_13+=_16;
}else{
_13+=(_13.indexOf("?")==-1?"?":"&")+_12.actionUrl.substring(1);
}
}else{
_13=_12.actionUrl;
}
}
window.open(_13,"","resizable=yes,scrollbars=yes,menubar=no,toolbar=no,status=no,width=800,height=600,screenX=10,screenY=10,top=10,left=10");
}},canImpersonate:function(){
return ibmCfg.portalConfig.canImpersonate;
}});
i$.mash(_8,{cache:{},css:{focus:"wpthemeMenuFocus",disabled:"wpthemeMenuDisabled",show:"wpthemeMenuShow",error:"wpthemeMenuError",menuTemplate:"wpthemeTemplateMenu",submenuTemplate:"wpthemeTemplateSubmenu",loadingTemplate:"wpthemeTemplateLoading",complementaryContent:"wpthemeComplementaryContent",menuOverlay:"wpthemeMenuOverlay",alignLeft:"wpthemeMenuLeft",alignRight:"wpthemeMenuRight",noTouch:"wpthemeNoTouch"},init:function(){
var _17;
if(arguments.length==1){
_17=arguments[0];
}else{
_17={node:arguments[0],menuId:arguments[1],jsonQuery:(arguments.length>2)?arguments[2]:null};
}
this.init2(_17);
},init2:function(_18){
var _19=_18.node;
_18.params=_18.params||{};
_19._contextMenu=_19._contextMenu||{};
var _1a=_19._contextMenu;
_1a.id=_19._contextMenu.id||_19.getAttribute("id")||Math.round(Math.random()*1000000000);
_19.setAttribute("id",_1a.id);
_1a.menuId=_18.menuId;
_1a.jsonQuery=_18.jsonQuery;
_1a.templateId=_18.params.templateId||null;
_1a.alignLeft=(_18.params.alignment=="left")||false;
_1a.alignRight=(_18.params.alignment=="right")||false;
_1a.closeFn=function(_1b,evt){
var fn=_18.onClose;
if(fn){
if(i$.isFunction(fn)){
try{
fn();
}
catch(exc){
console.log("error executing function "+fn+" - "+exc);
}
}
}
_7.contextMenu.close(_1a,_1b,evt);
};
var _1c=function(_1d){
if(_1d.displayMenu){
_1a.activeAction=false;
i$.fireEvent("wptheme/contextMenu/close/all");
var _1e=i$.byId(_1a.id);
if(!_1a._submenu){
i$.fireEvent("wptheme/contextMenu/close/all");
_7.contextMenu._updateAbsolutePosition(_1e);
}
var _1f=_7.contextMenu._adjustScreenPositionStart();
i$.addClass((_1a.shadowNode)?_1a.shadowNode:_1e,_20.show);
i$.addClass((_1a.shadowNode)?_1a.shadowNode:_1e,("ontouchstart" in document)?"":_20.noTouch);
_7.contextMenu._adjustScreenPositionEnd(_1f);
var _21=_1e._firstSelectable;
if(_21){
_21.focus();
_1e._currentSelected=_21;
}
}
};
_7.contextMenu._initialize(_19).then(_1c,_1c);
_19=null;
},initSubmenu:function(_22,_23,_24){
_22._contextMenu=_22._contextMenu||{};
var _25=_22._contextMenu;
_25._submenu=true;
_25._menuitemTemplate=_24._menuitemTemplate;
_25._subMenuTemplate=_24._subMenuTemplate;
_25._loadingTemplate=_24._loadingTemplate;
_7.contextMenu.init(_22,_23,_24.jsonQuery);
},_findFocusNode:function(_26){
var _27,i,_28;
var _29=function(_2a,_2b){
var l=_2a.childNodes.length;
for(i=0;i<l;i++){
if(_27){
break;
}
_28=_2a.childNodes[i];
if(i$.hasClass(_28,_20.focus)){
_27=_28;
break;
}
if(_28.childNodes){
i=_29(_28,i);
}
}
return _2b;
};
if(i$.hasClass(_26,_20.focus)){
return _26;
}
_29(_26);
return _27;
},_findNodes:function(_2c,_2d){
var _2e,_2f,_30,_31,i,_32;
var _33=function(_34,_35){
for(i=_34.childNodes.length-1;i>=0;i--){
_32=_34.childNodes[i];
if(i$.hasClass(_32,_20.menuTemplate)){
_2f=_32;
continue;
}
if(i$.hasClass(_32,_20.submenuTemplate)){
_30=_32;
continue;
}
if(i$.hasClass(_32,_20.loadingTemplate)){
_31=_32;
continue;
}
if(_32.childNodes){
i=_33(_32,i);
}
}
return _35;
};
if(_2d&&!_2c._contextMenu.menuNode){
_2e=document.getElementById(_2d);
if(_2e){
_2e=_2e.cloneNode(true);
_2c.appendChild(_2e);
}
}
_33(_2c);
if(!_2f){
_2e=document.getElementById("simpleMenuTemplate");
if(_2e){
_2e=_2e.cloneNode(true);
_2c.appendChild(_2e);
_33(_2c);
}
}
var _36={"root":_2e,"menu":_2f,"submenu":_30,"loading":_31};
return _36;
},_findNextNodeByKeyCode:function(_37,_38){
var _39=_37.parentNode;
var _3a,_3b,_3c,i,j;
var l=_39.childNodes.length;
for(i=0;i<l;i++){
if(_39.childNodes[i]==_37){
break;
}
}
for(j=i+1;j<l;j++){
_3a=_39.childNodes[j];
_3b=_3a.textContent||_3a.innerText;
if(_3a._menuitem&&_3a._menuitem.type!=_4&&_3a._menuitem.type!=_3&&_3b&&_3b.charAt(0).toUpperCase().charCodeAt(0)==_38){
_3c=_39.childNodes[j];
return _3c;
}
}
for(j=0;j<i;j++){
_3a=_39.childNodes[j];
_3b=_3a.textContent||_3a.innerText;
if(_3a._menuitem&&_3a._menuitem.type!=_4&&_3a._menuitem.type!=_3&&_3b&&_3b.charAt(0).toUpperCase().charCodeAt(0)==_38){
_3c=_39.childNodes[j];
return _3c;
}
}
return null;
},_invalidateCallback:function(){
_7.contextMenu.cache={};
},_initialize:function(_3d){
var _3e=true;
var _3f=_3d._contextMenu;
if(_7.contextMenu.cache[_3f.id]||_3f._inProgress){
return i$.promise.resolved({displayMenu:_3e});
}
_3f._inProgress=true;
i$.addListener("wptheme/contextMenu/invalidate/all",_7.contextMenu._invalidateCallback);
var _40,_41,tmp=i$.createDom("div"),_42;
if(_3f._submenu){
tmp.innerHTML=_3f._subMenuTemplate.replace(/\$\{submenu-id\}/g,_3f.id+"_menu");
_3d.appendChild(tmp.firstChild);
_40=i$.byId(_3f.id+"_menu");
_41=i$.createDom("div");
_41.innerHTML=_3f._loadingTemplate;
}else{
var _43=_7.contextMenu._findNodes((_3f.shadowNode)?_3f.shadowNode:_3d,_3d._contextMenu.templateId);
_40=_43.menu;
_42=_43.root;
if(_42){
if(_3f.alignLeft||_3f.alignRight){
i$.removeClass(_42,_20.alignLeft);
i$.removeClass(_42,_20.alignRight);
if(_3f.alignLeft){
i$.addClass(_42,_20.alignLeft);
}else{
i$.addClass(_42,_20.alignRight);
}
}
_42.removeAttribute("id");
}
if(!_3f._menuitemTemplate){
_3f._menuitemTemplate=i$.trim(_40.innerHTML);
}
if(!_3f._loadingTemplate){
_41=i$.createDom("div");
_41.appendChild(_43.loading);
_3f._loadingTemplate=i$.trim(_41.innerHTML);
_3f._loadingTemplate=_3f._loadingTemplate.replace(/\$\{loading\}/g,_7.contextMenu.nls.LOADING_0);
_41=null;
}
_41=i$.createDom("div");
_41.innerHTML=_3f._loadingTemplate;
if(_43.submenu){
tmp.appendChild(_43.submenu.cloneNode(true));
if(!_3f._subMenuTemplate){
_3f._subMenuTemplate=i$.trim(tmp.innerHTML);
}
}
}
while(_40.firstChild){
_40.removeChild(_40.firstChild);
}
_40.appendChild(_41);
var _44;
if(_3f._submenu){
_44=_3f.shadowNode;
}else{
if(_3f.shadowNode){
_44=_3f.shadowNode;
}else{
_44=_7.contextMenu._transformIntoAbsolutePosition(_3d);
}
}
i$.addClass((_44)?_44:_3d,_20.show);
i$.bindDomEvt((_44)?_44:_3d,"onmouseleave",function(){
if(_3f._inProgress){
_3e=false;
}
_3f.closeFn(false);
});
var _45=_7.contextMenu._load(_3f).then(function(_46){
var _47=_7.contextMenu._parseData(_46).then(function(_48){
_48=_7.contextMenu._filterMenu(_48);
if(!_48||_48.length==0){
_48=[{type:"Menuitem",_enabled:true,itemClass:_20.error,title:{value:_7.contextMenu.nls.NO_ITEMS_0,lang:"en"}}];
}
_7.contextMenu._buildMenu(_3f,_40,_48);
_3f._inProgress=false;
_7.contextMenu.cache[_3f.id]=true;
return {displayMenu:_3e};
});
return _47;
},function(){
var tmp=i$.createDom("div");
tmp.innerHTML=_7.contextMenu._fromTemplate(_3f._menuitemTemplate,_20.error,_7.contextMenu.nls.ERROR_LOADING_0);
while(_40.firstChild){
_40.removeChild(_40.firstChild);
}
_40.appendChild(tmp);
_3f._inProgress=false;
_7.contextMenu.cache[_3f.id]=true;
return {displayMenu:_3e};
});
return _45;
},close:function(_49,_4a,evt){
var _4b=(evt)?evt.target||evt.srcElement:null;
var _4c=i$.byId(_49.id);
i$.removeClass((_49.shadowNode)?_49.shadowNode:_4c,_20.show);
if(!_49.activeAction){
var _4d=_4c._currentSelected;
if(_4d){
_4d.blur();
}
var _4e=_7.contextMenu._findFocusNode(_4c);
window.setTimeout(function(){
((_4e)?_4e:_4c).focus();
if(_4a){
window.setTimeout(function(){
_7.contextMenu._applyAction(_4b);
},0);
}
},0);
}
},_load:function(_4f){
var _50=_1.replace(/\$\{id\}/g,_4f.menuId);
if(_4f.jsonQuery){
_50+=(_50.indexOf("?")==-1?"?":"&")+i$.toQuery(_4f.jsonQuery);
}
var _51=i$.xhrGet({url:_50,headers:{"X-IBM-XHR":"true"},responseType:"json"}).then(function(_52){
return _52.data;
},function(_53){
var _54=_53.xhr.getResponseHeader("Content-Type")||"";
if((_54.indexOf("text/html")==0)||(_53.xhr.status==401)){
window.setTimeout(function(){
document.location.reload();
},0);
}
console.log("Error trying to load the context menu feed for '"+_4f.menuId+"': "+_53);
return null;
});
return _51;
},_parseData:function(_55){
var _56=[];
i$.each(_55,function(_57){
var _58=i$.fromPath("moduleInfo.deferred",false,_57)?i$.modules.loadDeferred():i$.promise.resolved(true);
_56.push(_58.then(function(){
var _59=_7.contextMenu._checkFunction(_57,_57.visibilityFn,_57,(typeof _57.visibility!="undefined")?_57.visibility:true);
var _5a=_7.contextMenu._checkFunction(_57,_57.enableFn,_57,(typeof _57.enabled!="undefined")?_57.enabled:true);
return i$.whenAll(_59,_5a).then(function(_5b){
_57._visible=_5b[0];
_57._enabled=_5b[1];
return _57;
});
}));
});
var _5c=i$.whenAll.apply(i$,_56);
return _5c;
},_filterMenu:function(_5d){
var _5e=[],_5f,_60={"type":_3};
for(var i=_5d.length-1;i>=0;i--){
_5f=_5d[i];
if(!_5f._visible){
continue;
}
if(_5f.type==_3){
if(_60.type==_3){
continue;
}
}else{
if(_5f.type==_4){
if((_60.type==_3)||(_60.type==_4)){
continue;
}
}
}
_60=_5f;
_5e.unshift(_5f);
}
while(_5e.length>0&&_5e[0].type==_3){
_5e=_5e.slice(1);
}
return _5e;
},_buildMenu:function(_61,_62,_63){
var _64=document.createDocumentFragment(),tmp=i$.createDom("div"),_65,_66,_67,_68,_69,_6a,_6b=i$.fromPath("wptheme.contextMenu.extension.badge");
for(var i=0,l=_63.length;i<l;i++){
_65=_63[i];
tmp.innerHTML=_7.contextMenu._fromTemplate(_61._menuitemTemplate,_65,_6b);
while(_66=tmp.firstChild){
if(_66.nodeType==1){
if(_65.type=="Submenu"){
_66._menuitem=_65;
_66._jsonData=_61;
i$.bindDomEvt(_66,"onmouseover",_7.contextMenu._applySubmenu);
}else{
if(_65._enabled){
if(!_69){
_69=_66;
}
_6a=_66;
_66.links={previous:_67,next:null,sub:null};
if(_67){
_67.links.next=_66;
}
if(!_68&&_65.type!=_4){
_68=_66;
}
_66._menuitem=_65;
_67=_66;
i$.bindDomEvt(_66,"onclick",function(evt){
_7.contextMenu._stopEventPropagation(evt);
_61.closeFn(true,evt);
});
i$.bindDomEvt(_66,"onkeydown",function(evt){
return _7.contextMenu._applyKeyAction(evt);
});
i$.bindDomEvt(_66,"onmouseover",function(evt){
return _7.contextMenu._applyFocusAction(evt);
});
}
}
if((_65.title)&&(i$.isRTL(_65.title.lang))){
i$.addClass(_66,"rtl");
_66.setAttribute("dir","RTL");
}
if(_65.markupId){
_66.setAttribute("id",_65.markupId);
}
if(_6b){
_6b.injectBadge(_66);
}
}
_64.appendChild(_66);
}
}
_69.links.previous=_6a;
_6a.links.next=_69;
while(_62.firstChild){
_62.removeChild(_62.firstChild);
}
_62.appendChild(_64);
i$.byId(_61.id)._firstSelectable=_68;
i$.byId(_61.id)._currentSelected=null;
},_fromTemplate:function(_6c,_6d,_6e){
var _6f,_70,_71,_72="";
if(typeof (_6d)=="string"){
_6f=_6d;
_70=_6e;
_71="";
}else{
_6f="type"+_6d.type;
if(_6d.itemClass){
_6f+=" "+_6d.itemClass;
}
if(!_6d._enabled){
_6f+=" "+_20.disabled;
}
_70=(_6d.title)?_6d.title.value:"";
_71=((_6d.description)?_6d.description.value:"");
if(_6e){
_72=_6e.getAnchor(_6d);
}
}
var _73=_6c.replace(/\$\{title\}/g,_70).replace(/\$\{badge\}/g,_72).replace(/"\$\{css-class\}"/g,"\""+(_6f)+"\"").replace(/\$\{css-class\}/g,"\""+(_6f)+"\"").replace(/"\$\{description\}"/g,"\""+_71+"\"").replace(/\$\{description\}/g,"\""+_71+"\"");
return _73;
},_checkFunction:function(_74,fn,arg,_75){
if(fn){
if(!_74.fromPath){
_74.fromPath={};
}
var _76=i$.fromPath("wptheme.contextMenu.extension.menuItemScope"),_77=_76?_76.getWindow(_74):null,_78=_74.fromPath[fn]||i$.fromPath(fn,false,_77);
_74.fromPath[fn]=_78;
if(i$.isFunction(_78)){
try{
return _78(arg);
}
catch(exc){
console.log("error executing function "+fn+" - "+exc);
}
}
}
return i$.promise.resolved(_75);
},_stopEventPropagation:function(evt){
if(evt){
if(evt.stopPropagation){
evt.stopPropagation();
}else{
evt.cancelBubble=true;
}
}
},_applyKeyAction:function(evt){
var _79=evt.target||evt.srcElement;
var _7a=_79;
var _7b=null;
while(!_7b){
_7a=_7a.parentNode;
if(_7a._contextMenu){
_7b=_7a;
}
}
var _7c=_7b._contextMenu;
switch(evt.keyCode){
case 32:
if(evt.preventDefault){
evt.preventDefault();
}
case 13:
_7.contextMenu._stopEventPropagation(evt);
_7c.closeFn(true,evt);
return false;
case 9:
case 27:
_7c.closeFn(false);
break;
case 40:
_7.contextMenu._moveFocus(evt,_7c,_79,"next");
return false;
case 38:
_7.contextMenu._moveFocus(evt,_7c,_79,"previous");
return false;
}
var _7d=_7.contextMenu._findNextNodeByKeyCode(_79,evt.keyCode);
if(_7d){
_7d.focus();
return false;
}
return true;
},_moveFocus:function(evt,_7e,_7f,_80){
var _81=_7f.links[_80];
if(_81&&(_81._menuitem.type==_4||_81._menuitem.type==_3)){
var _82=false;
var _83=null;
while(!_83&&!_82){
_81=_81.links[_80];
if(!_81){
_82=true;
}else{
if(_81._menuitem.type!=_4&&_81._menuitem.type!=_3){
_83=_81;
}
}
}
_81=_83;
}
if(_81){
var _84=i$.byId(_7e.id)._currentSelected;
if(_84){
_84.blur();
}
i$.byId(_7e.id)._currentSelected=_81;
_81.focus();
}
if(evt.preventDefault){
evt.preventDefault();
}
},_applyFocusAction:function(evt){
var _85=evt.target||evt.srcElement;
var _86=_85;
var _87=null;
var _88=_85._menuitem;
while(!_87){
_86=_86.parentNode;
if(_86._contextMenu){
_87=_86;
}
if(!_88){
_85=_85.parentNode;
_88=_85._menuitem;
}
}
var _89=_87._contextMenu;
var _8a=i$.byId(_89.id)._currentSelected;
if(_8a!=_85){
if(_8a){
_8a.blur();
i$.byId(_89.id)._currentSelected=null;
}
if(_88.type!=_4&&_88.type!=_3){
i$.byId(_89.id)._currentSelected=_85;
_85.focus();
}
}
return false;
},_applyAction:function(_8b){
var _8c=_8b;
var _8d=null;
var _8e=_8b._menuitem;
while(!_8d){
_8c=_8c.parentNode;
if(_8c._contextMenu){
_8d=_8c;
}
if(!_8e){
_8b=_8b.parentNode;
_8e=_8b._menuitem;
}
}
var _8f=_8d._contextMenu;
_8f.activeAction=true;
var p=_7.contextMenu._checkFunction(_8e,_8e.actionFn,_8e,_8e.actionUrl);
if(p){
p.then(function(_90){
if(_90&&i$.isString(_90)){
var _91=i$.fromPath("wptheme.contextMenu.extension.actionUrlTarget");
var _92=(_91)?_91.getWindow(_8e):window;
var _93=_8e.actionHttpMethod||"GET";
if(_93!="GET"){
var _94=_92.i$.createDom("form");
_94.setAttribute("action",_90);
_93=_93.toLowerCase();
switch(_93){
case "get":
_94.setAttribute("method","GET");
break;
case "delete":
case "put":
var _95=_92.i$.createDom("input",{"type":"hidden","name":"x-method-override","value":_93.toUpperCase()});
_94.appendChild(_95);
case "post":
_94.setAttribute("method","POST");
_94.setAttribute("enctype","multipart/form-data");
break;
default:
}
_92.i$.byId(_20.complementaryContent).appendChild(_94);
_94.submit();
}else{
var _96=_92.i$.createDom("a");
_96.setAttribute("style","display:none");
_96.setAttribute("href",_90);
_92.i$.byId(_20.complementaryContent).appendChild(_96);
_96.click();
}
}
});
}
},_applySubmenu:function(evt){
var _97=evt.target||evt.srcElement;
if(!_97._jsonData){
_97=_97.parentNode;
}
if(_97._jsonData){
_97.setAttribute("id",_97._jsonData.id+"_"+_97._menuitem.id);
_7.contextMenu.initSubmenu(_97,_97._menuitem.id,_97._jsonData);
}
},_transformIntoAbsolutePosition:function(_98){
var _99=_98.childNodes,_9a,i=0,_9b=false;
while(_9a=_99[i++]){
if(i$.hasClass(_9a,_20.alignRight)){
_9b=true;
break;
}else{
if(i$.hasClass(_9a,_20.alignLeft)){
break;
}
}
}
var _9c=i$.createDom("div");
_9c.className=_98.className;
_9c.appendChild(_9a);
i$.byId(_20.complementaryContent).appendChild(_9c);
_9c._contextMenu=_98._contextMenu;
_98._contextMenu.shadowNode=_9c;
_98._contextMenu._menuIsRight=_9b;
var _9d=i$.createDom("span");
_9c.appendChild(_9d);
i$.addClass(_9d,_20.menuOverlay);
_98._contextMenu.overlayNode=_9d;
_98._contextMenu.menuNode=_9a;
_7.contextMenu._updateAbsolutePosition(_98);
return _9c;
},_updateAbsolutePosition:function(_9e){
var _9f=_9e._contextMenu._menuIsRight;
var _a0=_9e._contextMenu.menuNode;
var _a1=_9e._contextMenu.overlayNode;
var _a2=_7.contextMenu._findPos(_9e);
var _a3=2;
_a1.style.left=(_a2[0]-_a3)+"px";
_a1.style.top=(_a2[1]-_a3)+"px";
_a1.style.width=(_9e.offsetWidth+(2*_a3))+"px";
_a1.style.height=(_9e.offsetHeight+(2*_a3))+"px";
var dir=document.getElementsByTagName("html")[0].getAttribute("dir");
if(dir!=null){
dir=dir.toLowerCase();
}else{
dir="";
}
if(!(dir=="rtl")){
_a0.style.left=((_9f)?_a2[0]+_9e.offsetWidth:_a2[0])+"px";
}else{
_a0.style.left=((_9f)?_a2[0]+_9e.offsetWidth-_9e.scrollWidth:_a2[0]+_9e.scrollWidth)+"px";
}
_a0.style.top=_a2[1]+"px";
},_adjustScreenPositionStart:function(){
return document.documentElement.scrollHeight;
},_adjustScreenPositionEnd:function(_a4){
var _a5=document.documentElement.scrollHeight;
if(_a4!=_a5){
document.documentElement.scrollTop=document.documentElement.scrollHeight;
}
},_findPos:function(obj){
var _a6=curtop=0;
if(obj.offsetParent){
do{
_a6+=obj.offsetLeft;
curtop+=obj.offsetTop;
}while(obj=obj.offsetParent);
var _a7=[_a6,curtop];
return _a7;
}
},});
var _20=_7.contextMenu.css;
})();


}catch(e){console.log("Module 'wp_simple_contextmenu_js': ",e);}
try{(function(){
    i$.merge({
	"NO_ITEMS_0":"Žiadne položky na zobrazenie",
	"ERROR_LOADING_0":"Nastala chyba počas načítavania ponuky.",
	"LOADING_0":"Čakajte..."
},i$.fromPath("wptheme.contextMenu.nls",true));
})();
}catch(e){console.log("Module 'wp_simple_contextmenu_js': ",e);}
try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2012 - All Rights reserved.  **/
(function(){
function _1(_2){
var _3=window,_4=_2.metadata;
if(_4&&_4._contributionWindow){
return _4._contributionWindow;
}
if(_4&&_4.contributor){
var _5=_4.contributor,_6=_5.lastIndexOf(":"),_7=_5.substr(_6+1),_8=i$.fromPath("wpModules.theme.WindowUtils");
if(_8){
_3=_8.getWindow(_7);
}
}
if(!_4){
_4=_2.metadata={};
}
_4._contributionWindow=_3;
return _3;
};
var _9={getWindow:function(_a){
var _b=(_a.metadata&&_a.metadata.actionUrlTarget)||"same",_c,wu=wpModules.theme.WindowUtils;
_c=_1(_a);
if(_b=="view"){
_c=wu&&wu.getWindow(wu.VIEW_AREA);
}else{
if(_b=="master"){
_c=wu&&wu.getWindow(wu.MASTER);
}
}
return _c||window;
}};
var _d={getWindow:function(_e){
return _1(_e);
}};
i$.toPath("wptheme.contextMenu.extension.actionUrlTarget",_9);
i$.toPath("wptheme.contextMenu.extension.menuItemScope",_d);
var _f={templates:{anchor:"<span class=\"wpthemeMenuBadgeAnchor\"></span>",loading:"<span class=\"wpthemeMenuLoading wpthemeTemplateLoading\"></span>",badge_info:"<span class=\"wpthemeMenuBadge wpthemeMenuBadgeInfo\" aria-live=\"polite\">${count}</span>",badge_warn:"<span class=\"wpthemeMenuBadge wpthemeMenuBadgeWarn\" aria-live=\"polite\">${count}</span>",badge_error:"<span class=\"wpthemeMenuBadge wpthemeMenuBadgeError\" aria-live=\"polite\">${count}</span>"},getAnchor:function(_10){
var md=(_10)?_10.metadata:null;
return (md&&(md.badgeUrl||md.badgeData))?_f.templates.anchor:"";
},injectBadge:function(_11,_12){
var _13=(_12)?_12:_11._menuitem,md=(_13)?_13.metadata:null;
if(md&&(md.badgeUrl||md.badgeData)){
var _14=_f._findNode(_11,"wpthemeMenuBadgeAnchor");
if(_14){
if(md.badgeUrl){
var _15,_16=md.badgeUrl,_17=ibmCfg.portalConfig.contentHandlerURI;
if(_16.indexOf("?")==0){
_15=_17+((_17.indexOf("?")<0)?"?":"&")+_16.substring(1);
}else{
_15=_16;
}
var tmp=i$.createDom("div");
tmp.innerHTML=_f.templates.loading;
_14.appendChild(tmp.firstChild);
i$.xhrGet({url:_15,headers:{"X-IBM-XHR":"true"},responseType:"json"}).then(function(_18){
_f._insertBadge(_18.data,md.badgeTitle,_14);
},function(_19){
while(_14.firstChild){
_14.removeChild(_14.firstChild);
}
});
}else{
_f._insertBadge(md.badgeData,md.badgeTitle,_14);
}
}
}
},_insertBadge:function(_1a,_1b,_1c){
while(_1c.firstChild){
_1c.removeChild(_1c.firstChild);
}
if(_1a&&_1a.count>0){
var tmp=i$.createDom("div");
if(_1a.level=="error"){
tmp.innerHTML=_f.templates.badge_error.replace(/\$\{count\}/g,_1a.count);
}else{
if(_1a.level=="warn"){
tmp.innerHTML=_f.templates.badge_warn.replace(/\$\{count\}/g,_1a.count);
}else{
tmp.innerHTML=_f.templates.badge_info.replace(/\$\{count\}/g,_1a.count);
}
}
if(_1b){
tmp.firstChild.setAttribute("title",_1b);
tmp.firstChild.setAttribute("aria-label",_1b);
}
_1c.appendChild(tmp.firstChild);
}
},_findNode:function(_1d,_1e){
var _1f,i,_20;
var _21=function(_22,_23){
for(i=_22.childNodes.length-1;i>=0;i--){
_20=_22.childNodes[i];
if(i$.hasClass(_20,_1e)){
_1f=_20;
continue;
}
if(_20.childNodes){
i=_21(_20,i);
}
}
return _23;
};
_21(_1d);
return _1f;
}};
i$.toPath("wptheme.contextMenu.extension.badge",_f);
})();


}catch(e){console.log("Module 'wp_simple_contextmenu_ext': ",e);}
try{(function(_1){
var _2="aria-labelledby",_3="aria-describedby",_4="aria-pressed",_5="title",_6="true",_7="false",_8="selected",_9="disabled",_a="wpToolbarHighContrast",_b="http://www.ibm.com/xmlns/prod/websphere/portal/publicparams",_c="wpInfoModeToggle",_d="wpInfoModeToggleLink",_e="wpPageModeToggle",_f="wpPageModeToggleLink",_10="wpToolbarToggle",_11="ibm.portal.home.createpage",_12="ibm.portal.toolbar.NewPage",_13="wps.content.root",_14="wps.Administration",_15="ibm.portal.page.Applications",_16=[13,32,38,40],_17=[13,32],T=true,F=false,_18=i$.byId,_19=i$.hasClass,_1a=i$.addClass,_1b=i$.removeClass,_1c=i$.forEach,_1d=i$.toQuery,_1e=i$.fromPath,_1f=i$.bindDomEvt;
function _20(_21,_22){
var _23=_21||_18(_e),_24="valueoff",_25="valueon";
if(_22){
if(!_19(_23,_25)){
_1b(_23,_24);
_1a(_23,_25);
_26(_23,_4,_6);
_26(_23,_5,_27(_28(_18("wpEditModeDesc"))));
}
}else{
if(_19(_23,_25)){
_1b(_23,_25);
_1a(_23,_24);
_26(_23,_4,_7);
_26(_23,_5,_27(_28(_18("wpViewModeDesc"))));
}
}
};
function _29(_2a,_2b){
var _2c=_2a||_18(_c),_2d=_18(_d);
if(_2b){
if(!_19(_2c,_8)){
_1a(_2c,_8);
_26(_2d,_2,"wpInfoModeOnLabel");
_26(_2d,_3,"wpInfoModeOnDesc");
_26(_2d,_4,_6);
_26(_2c,_5,_27(_28(_18("wpInfoModeOnDesc"))));
}
}else{
if(_19(_2c,_8)){
_1b(_2c,_8);
_26(_2d,_2,"wpInfoModeOffLabel");
_26(_2d,_3,"wpInfoModeOffDesc");
_26(_2d,_4,_7);
_26(_2c,_5,_27(_28(_18("wpInfoModeOffDesc"))));
}
}
};
function _2e(_2f,e){
if(!_30(e,_17)){
return F;
}
_1a(_2f,_8);
var _31=wpModules.toolbar;
if(_31.isToolbarOpened()){
_31.closeToolbar();
}else{
_31.openToolbar({"autoOpenDefaultTabs":true});
}
return T;
};
function _32(_33,_34,e){
if(!_30(e,_17)){
return F;
}
if(!_19(_33,_9)){
var t=wpModules.toolbar,_35=t.isEditModeActive();
if(_35){
t.setEditModeActive(F);
}else{
if(_34&&_36()){
var _37={"editMode":T};
if(!t.isToolbarOpened()){
_37.autoOpenDefaultTabs=true;
}
t.openToolbar(_37);
}else{
t.setEditModeActive(T);
}
}
_20(_33,!_35);
}
return T;
};
function _38(_39,e){
if(!_30(e,_17)){
return F;
}
var t=wpModules.toolbar,_3a=t.isInfoModeActive();
_29(_39,!_3a);
t.setInfoModeActive(!_3a);
return T;
};
function _3b(_3c,e){
var _3d=F;
if(_3e()){
_3d=_3f(_3c,_13,e);
}else{
_40(_13);
_3d=T;
}
return _3d;
};
function _41(_42,e){
var _43=F;
if(_3e()){
_43=_3f(_42,_15,e);
}else{
_40(_15);
_43=T;
}
return _43;
};
function _44(_45,e){
var _46=T;
_40(_14);
return _46;
};
function _3e(){
var _47=(typeof wptheme!="undefined"&&wptheme.contextMenu);
return _47;
};
function _3f(_48,_49,e){
if(!_30(e,_16)){
return F;
}
var _4a={"navID":_4b(),"rootNode":_49};
var _4c=wpModules.toolbar;
if(_4c&&_4c.isToolbarOpened()){
_4a.contribURI="nm:oid:ibm.portal.Toolbar";
}
_4d(_48,"navigationMenu",_4a);
return T;
};
function _4d(_4e,_4f,_50){
_1a(_4e.parentNode,_8);
_26(_4e,_4,_6);
args={"node":_4e.parentNode,"menuId":_4f,"jsonQuery":_50,"params":{"templateId":"simpleMenuTemplate","alignment":"right"},"onClose":function(){
_1b(_4e.parentNode,_8);
_26(_4e,_4,_7);
}};
wptheme.contextMenu.init(args);
};
function _26(_51,_52,_53){
_51.setAttribute(_52,_53);
};
function _28(_54){
return _54.firstChild;
};
function _27(_55){
return _55.nodeValue;
};
function _56(_57){
var fc=_57.firstChild;
while(fc&&fc.nodeType!==1){
fc=fc.nextSibling;
}
return fc;
};
function _58(_59,_5a,_5b){
if(_5b&&_59&&_5a&&_5a.length>0){
_1c(_5a,function(p){
if(_59.name==p.name&&_59.nsuri==p.nsuri){
_5b(p.value);
return F;
}
});
}
};
function _30(e,_5c){
var k=e?e.keyCode:null;
if(k){
if(_5c){
var r=_5c.indexOf(k)>=0;
return r;
}else{
return F;
}
}
return T;
};
function _5d(){
return wpModules.toolbar.getViewAreaWindow();
};
function _4b(){
var r=_5d().ibmCfg.portalConfig.currentPageOID;
return r;
};
function _5e(){
return _1e("ibmCfg.portalConfig.isCurrentPageEditable",false,_5d());
};
function _36(){
return _1e("wpModules.state.page.supportsToolbar",false,_5d());
};
function _40(id){
wpModules.toolbar.loadViewArea("nm:oid:"+id);
};
function _5f(_60){
if(_60&&_60.pageId){
var id=_60.pageId;
if(id&&id.value&&id.value.length>0){
_40(id.value[0]);
}
}
};
i$.addOnLoad(function(){
var _61=i$.fromPath("wpModules.state.page",false);
if(_61){
var _62=_61.getStateManager();
_62.addListener(function(_63){
var _64=_63.renderParams().getModified();
_58({"nsuri":_b,"name":"editMode"},_64,function(_65){
var res=(_65&&_65[0]=="true"),_66=_18(_e);
if(_66){
_20(_66,res);
}
});
_58({"nsuri":_b,"name":"infoMode"},_64,function(_67){
var res=(_67&&_67[0]=="true"),_68=_18(_c);
if(_68){
_29(_68,res);
}
});
});
}
var _69=wpModules.toolbar.getViewAreaWindow();
if(self===_69){
var w=_69.parent||_69,_6a=w.document.getElementById(_e);
if(_6a){
if(_5e()){
_1b(_6a,_9);
}else{
_1a(_6a,_9);
}
}
var _6b=w.document.getElementById(_10);
if(_6b){
if(_36()){
_1b(_6b,_9);
}else{
_1a(_6b,_9);
}
}
}
var _6c=_18(_11);
if(_6c){
var _6d=wpModules.toolbar;
_6c.onClose=_5f;
if(_6d.isToolbarOpened()||_18(_e)){
var _6e={};
_6e.id=_11;
_6e.key="onClose";
_1f(_6c,"click",function(e){
_6d.openSecondaryTab({"tab":"newpageTab:default","onCloseDialog":_6e});
e.preventDefault?e.preventDefault():e.returnValue=F;
return F;
});
}
}
});
wpModules.a11y.highContrastMode.then(function(_6f){
if(_6f){
_1a(_18(_c),_a);
}
});
_1.toggleToolbar=_2e;
_1.toggleEditMode=_32;
_1.toggleInfoMode=_38;
_1.openSitesMenu=_3b;
_1.openApplicationsMenu=_41;
_1.openAdministration=_44;
})(i$.fromPath("wpModules.theme.ActionBar",true));


}catch(e){console.log("Module 'wp_toolbar_actionbar': ",e);}
try{(function(){
if(!i$.isIE){
i$.addOnLoad(function(){
var _1=document.createElement("div");
_1.style.cssText="border:1px solid;border-color:red green;position:absolute;height:5px;top:-999px;background-image:url(\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\");";
document.body.appendChild(_1);
var _2=null;
try{
_2=document.defaultView.getComputedStyle(_1,"");
}
catch(e){
_2=_1.currentStyle;
}
var _3=_2.backgroundImage;
if((_2.borderTopColor==_2.borderRightColor)||(_3!=null&&(_3=="none"||_3=="url(invalid-url:)"))){
document.getElementsByTagName("body")[0].className+=" wpthemeImagesOff";
}
document.body.removeChild(_1);
});
}
})();


}catch(e){console.log("Module 'wp_theme_high_contrast': ",e);}
try{(function(){
var _1=i$.addClass,_2=i$.hasClass,_3=i$.removeClass,_4=i$.fromPath,ln=function(o){
return o.length;
},_5="edit-mode",_6="edit-mode-disabled",_7="help-mode",_8="info-mode",_9="toolbar-opened",_a="toolbar-closed",_b=_4("wpModules.state.page");
if(_b){
var _c=_b.getStateManager();
_c&&_c.getState().then(function(_d){
var _e=_d.renderParams().get({nsuri:"http://www.ibm.com/xmlns/prod/websphere/portal/publicparams",name:"pageMode"}),_f=_d.renderParams().get({nsuri:"http://www.ibm.com/xmlns/prod/websphere/portal/publicparams",name:"showTools"}),_10=document.body;
_3(_10,_5);
_3(_10,_6);
_3(_10,_8);
_3(_10,_7);
if(_e&&ln(_e)>0&&_e[0].value&&ln(_e[0].value)>0){
var _11=_e[0].value;
for(var i=0;i<ln(_11);++i){
var _12=_11[i];
if("EDIT"==_12){
if(wpModules.state.page.supportsEditMode){
_1(_10,_5);
}else{
_1(_10,_6);
}
}else{
if("INFO"==_12){
_1(_10,_8);
}else{
if("HELP"==_12){
_1(_10,_7);
}
}
}
}
}
if(_f&&ln(_f)>0&&_f[0].value&&ln(_f[0].value)>0){
var _13=_f[0].value[0];
if("true"==_13){
_1(_10,_9);
}else{
_1(_10,_a);
}
}else{
_1(_10,_a);
}
});
}
})();


}catch(e){console.log("Module 'wp_state_page_modes': ",e);}
try{(function(){
    i$.merge({
	"WARNING_0":"Upozornenie",
	"DELETE_0":"Vymazať",
	"INFO_0":"Informácie",
	"MESSAGES_AVAILABLE_1":"Je dostupných ${0} správ na zobrazenie",
	"SHOW_DETAILS_0":"Zobraziť podrobnosti",
	"ERROR_0":"Chyba",
	"HIDE_DETAILS_0":"Skryť podrobnosti"
},i$.fromPath("wptheme.statusBar.nls",true));
})();
}catch(e){console.log("Module 'wp_status_bar': ",e);}
try{(function(){
if(typeof com==="undefined"||!com){
com={};
}
if(typeof com.ibm==="undefined"||!com.ibm){
com.ibm={};
}
if(typeof com.ibm.widgets==="undefined"||!com.ibm.widgets){
com.ibm.widgets={};
}
if(typeof com.ibm.widgets.StatusType==="undefined"||!com.ibm.widgets.StatusType){
com.ibm.widgets.StatusType=function(id,_1,_2,_3){
this._id=id;
this._styleClass=_1;
this._iconPath=_2;
this._iconAlt=_3;
};
}
if(typeof com.ibm.widgets.StatusMessage==="undefined"||!com.ibm.widgets.StatusMessage){
com.ibm.widgets.StatusMessage=function(_4,_5,_6){
this._type=_4;
this._message=_5;
if(!i$.isString(_5)&&_5.message&&i$.isString(_5.message)){
this._message=_5.message;
}
this._details=_6;
};
}
if(typeof com.ibm.widgets.StatusBarV2==="undefined"||!com.ibm.widgets.StatusBarV2){
com.ibm.widgets.StatusBarV2=function(_7){
this.uid=_7;
this.showDetails=false;
this._messages=[];
this._connections=[];
this._numMessages=0;
this._baseURL=window.location.protocol+"//"+window.location.host;
this.blankGifIcon="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==";
this._statusTypesMap={"error":new com.ibm.widgets.StatusType(0,"wpthemeError",this.blankGifIcon,wptheme.statusBar.nls.ERROR_0),"warning":new com.ibm.widgets.StatusType(1,"wpthemeWarning",this.blankGifIcon,wptheme.statusBar.nls.WARNING_0),"info":new com.ibm.widgets.StatusType(2,"wpthemeInfo",this.blankGifIcon,wptheme.statusBar.nls.INFO_0)};
i$.addListener("/portal/status",i$.scope(this,this.addMessage));
i$.addListener("/message/status",i$.scope(this,this.addMessage));
i$.addListener("/portal/status/clear",i$.scope(this,this.clearMessage));
i$.addListener("/message/status/clear",i$.scope(this,this.clearMessage));
if(typeof (ibmCfg)!="undefined"&&ibmCfg.portalConfig){
this.isBidi=ibmCfg.portalConfig.isRTL;
}else{
if(typeof (ibmPortalConfig)!="undefined"){
this.isBidi=ibmPortalConfig.isRTL;
}else{
if(typeof (ibmConfig)!="undefined"){
this.isBidi=ibmConfig.isBidi;
}
}
}
i$.addOnUnload(i$.scope(this,this._onWindowUnload));
this.containerNode=i$.byId("wpthemeStatusBarContainer");
};
}
i$.augment(com.ibm.widgets.StatusBarV2,{_onWindowUnload:function(){
i$.forEach(this._connections,function(_8){
i$.unbindDomEvt(_8);
});
this._connections=null;
this.clear();
this._messages=null;
},_getStatusContainer:function(){
return this.containerNode;
},_escapeHTML:function(_9){
if(_9.replace){
return _9.replace(/&/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/"/g,"&quot;");
}
return _9;
},setShowDetails:function(_a){
this.showDetails=_a;
},toggleShowDetails:function(){
this.setShowDetails(!this.showDetails);
this.render();
},clear:function(){
var _b=this._getStatusContainer();
if(!!_b){
_b.innerHTML="";
_b.setAttribute("role","");
_b.setAttribute("wairole","");
}
this._messages.length=0;
},clearMessage:function(_c){
if(_c.uid&&_c.uid!=this.uid){
return;
}
var _d=_c.message;
if(typeof _d==="undefined"||_d===null){
this.clear();
}else{
for(var i=this._messages.length-1;i>=0;i--){
if(this._messages[i]._type==_d._type&&this._messages[i]._message==_d._message&&this._messages[i]._details==_d._details){
this._messages.splice(i,1);
}
}
if(this._messages.length==0){
this.clear();
}else{
if(this._messages.length<100){
this.render(this._getStatusContainer());
}
}
}
},addMessage:function(_e){
if(_e.uid&&_e.uid!=this.uid){
return;
}
var _f=_e.message;
this._messages.push(_f);
if(this._messages.length<100){
this.render(this._getStatusContainer());
}
},render:function(_10){
if(_10==null){
_10=this._getStatusContainer();
}
_10.innerHTML="";
if(this._messages.length>1){
this.renderHeader(_10);
}else{
if(this._messages.length==1){
this.renderMessage(_10,this._messages[0],this.showDetails,0);
}
}
if(this.showDetails&&this._messages.length>1){
for(x in this._messages){
this.renderMessage(_10,this._messages[x],this.showDetails,x);
}
}
},renderHeader:function(_11){
if(this._messages.length>1){
var _12=2;
for(var i=0;i<this._messages.length;i++){
_12=Math.min(_12,this._statusTypesMap[this._messages[i]._type]._id);
}
var _13="info";
for(x in this._statusTypesMap){
if(this._statusTypesMap[x]._id==_12){
_13=x;
break;
}
}
var _14=new com.ibm.widgets.StatusMessage(_13,wptheme.statusBar.nls.MESSAGES_AVAILABLE_1.replace("${0}",this._messages.length),"");
this.renderMessage(_11,_14,this.showDetails,-1);
}
},renderMessage:function(_15,_16,_17,_18){
var _19=this._statusTypesMap[_16._type];
var _1a=document.createElement("div");
_1a.className="wpthemeMessage "+_19._styleClass;
if(this._messages.length>1&&_18>=0){
_1a.className+=" wpthemeMoreMsg";
}
var _1b=document.createElement("img");
_1b.className="wpthemeMsgIcon "+(_19._styleClass=="wpthemeError"?"wpthemeMsgIconError":_19._styleClass=="wpthemeWarning"?"wpthemeMsgIconWarning":"wpthemeMsgIconInfo");
_1b.src=_19._iconPath;
_1b.alt=_1b.title=_19._iconAlt;
_1a.appendChild(_1b);
var _1c=document.createElement("span");
_1c.className="wpthemeAltText";
_1c.innerHTML=this._escapeHTML(_19._iconAlt+":");
_1a.appendChild(_1c);
var _1d=document.createElement("div");
_1d.className="wpthemeMessageBody";
_1d.innerHTML=this._escapeHTML(_16._message);
_1a.appendChild(_1d);
if((this._messages.length>1&&_18<0)||(this._messages.length==1)){
if(_16._details&&_16._details.length>0||_18<0){
var _1e=document.createElement("a");
_1e.href="javascript:void(0)";
_1e.className="wpthemeHideShow";
_1e.role="button";
this._connections.push(i$.bindDomEvt(_1e,"onclick",i$.scope(this,this.toggleShowDetails)));
var _1f=document.createElement("img");
_1f.className="wpthemeMsgIcon16";
_1f.src=ibmCfg.themeConfig.modulesWebAppBaseURI+"/themes/html/dynamicSpots/icons/blank.gif";
_1e.appendChild(_1f);
var _20=document.createElement("span");
_20.className="wpthemeAltText";
_1e.appendChild(_20);
}else{
_17=false;
}
var _21=document.createElement("a");
_21.href="javascript:void(0);";
_21.className="wpthemeDelete";
_21.role="button";
_21.title=wptheme.statusBar.nls.DELETE_0;
this._connections.push(i$.bindDomEvt(_21,"onclick",i$.scope(this,this.clear)));
var _22=document.createElement("img");
_22.alt=wptheme.statusBar.nls.DELETE_0;
_22.src=ibmCfg.themeConfig.modulesWebAppBaseURI+"/themes/html/dynamicSpots/icons/blank.gif";
_21.appendChild(_22);
var _23=document.createElement("span");
_23.className="wpthemeAltText";
_23.innerHTML=this._escapeHTML(wptheme.statusBar.nls.DELETE_0);
_21.appendChild(_23);
if(_16._details&&_16._details.length>0||_18<0){
if(_17){
_1e.title=wptheme.statusBar.nls.HIDE_DETAILS_0;
_1f.className+=" wpthemeMsgIconHide";
_1f.alt=wptheme.statusBar.nls.HIDE_DETAILS_0;
_20.innerHTML=this._escapeHTML(wptheme.statusBar.nls.HIDE_DETAILS_0);
}else{
_1e.title=wptheme.statusBar.nls.SHOW_DETAILS_0;
_1f.className+=" wpthemeMsgIconShow";
_1f.alt=wptheme.statusBar.nls.SHOW_DETAILS_0;
_20.innerHTML=this._escapeHTML(wptheme.statusBar.nls.SHOW_DETAILS_0);
}
_1a.appendChild(_1e);
}
_1a.appendChild(_21);
}
var _24=document.createElement("div");
_24.className="wpthemeClear";
_1a.appendChild(_24);
if(_16._details&&_16._details.length>0&&_17&&_18>=0){
var _25=document.createElement("div");
_25.className="wpthemeDetails";
_25.appendChild(document.createTextNode(_16._details));
_1a.appendChild(_25);
}
_15.appendChild(_1a);
_15.setAttribute("role","alert");
_15.setAttribute("wairole","alert");
}});
if(typeof wpstatusbar==="undefined"||!wpstatusbar){
wpstatusbar=new com.ibm.widgets.StatusBarV2("ibmStatusBox");
}
var _26=i$.getCookie("ibm.portal.operations.error");
if(_26){
var _27=i$.fromJson(decodeURIComponent(_26));
var _28="error";
if(_27.errorType){
_28=_27.errorType;
}else{
if(_27.errorCode){
if(_27.errorCode=="400"){
_28="error";
}
}
}
i$.fireEvent("/portal/status",[{message:new com.ibm.widgets.StatusMessage(_28,_27.errorMessage?_27.errorMessage:"",_27.errorDetails?_27.errorDetails:""),uid:"ibmStatusBox"}]);
i$.deleteCookie("ibm.portal.operations.error");
}
i$.addOnLoad(function(){
if("localStorage" in window&&window["localStorage"]!==null){
if(localStorage["com.ibm.wp.toolbar.msg.msg"]!=null){
i$.fireEvent("/message/status",[{message:new com.ibm.widgets.StatusMessage(localStorage["com.ibm.wp.toolbar.msg.type"],localStorage["com.ibm.wp.toolbar.msg.msg"],""),uid:"ibmStatusBox"}]);
localStorage.removeItem("com.ibm.wp.toolbar.msg.type");
localStorage.removeItem("com.ibm.wp.toolbar.msg.msg");
}
}
});
})();


}catch(e){console.log("Module 'wp_status_bar': ",e);}
try{(function(){
if(typeof ic4_wai_integration!="undefined"&&ic4_wai_integration===true){
if(typeof waiHideSecondaryNav!="undefined"&&waiHideSecondaryNav===true){
document.getElementById("wpthemeSecondaryBanner").style.display="none";
document.getElementById("wpthemeMainContent").style.display="none";
}
document.getElementById("wptheme_banner").removeAttribute("role");
document.getElementById("wptheme_contentinfo").removeAttribute("role");
if(dojo!="undefined"){
djConfig.locale=dojo.locale;
dojo.addOnLoad(function(){
document.getElementById("logoutlink").onclick=null;
});
}
if(typeof appName!="undefined"&&appName==="profile"){
ibmConfig.proxyURL=svcHrefProfiles+"/ajaxProxy/";
ibmConfig["com.ibm.mashups.proxy.url"]=svcHrefProfiles+"/ajaxProxy";
djConfig.baseUrl=(needProxy?(ibmConfig.proxyURL+encodeURIComponent(baseProtocol)+"/"+encodeURIComponent(baseHost)):(baseProtocol+"://"+baseHost))+basePath+"/web/dojo/";
djConfig.proxy=applicationContext+"/ajaxProxy";
}
if(typeof i$!="undefined"&&i$.isRTL){
document.body.className=document.body.className.replace("lotusImagesOff","");
document.body.className+=" wptheme_ic4_wai_rtl";
}
}
})();


}catch(e){console.log("Module 'wp_ic4_wai_resources': ",e);}
try{(function(){
    i$.merge({
	"ICON_STOP":"msgError",
	"ICON_SUCCESS":"msgSuccess",
	"BUTTON_RETRY":"Zopakovať",
	"BUTTON_YES":"Áno",
	"BUTTON_NO":"Nie",
	"BUTTON_IGNORE":"Ignorovať",
	"LINK_LEARN_MORE":"Viac informácií",
	"ICON_WARNING":"msgWarning",
	"ICON_INFORMATION":"msgInfo",
	"LOADING_IMAGE_0":"načítavanie obrázka",
	"BUTTON_ABORT":"Prerušiť",
	"ICON_EXCLAMATION":"msgWarning",
	"BUTTON_CANCEL":"Zrušiť",
	"BUTTON_CONTINUE":"Pokračovať",
	"BUTTON_OK":"OK",
	"BUTTON_TRY":"Skúste to znova",
	"LOADING_0":"Čakajte...",
	"ICON_ASTERISK":"msgInfo",
	"ICON_ERROR":"msgError",
	"CLOSE_IMAGE_0":"zatvoriť obrázok",
	"CLOSE_0":"Zatvoriť"
},i$.fromPath("wpModules.dialog.nls",true));
})();
}catch(e){console.log("Module 'wp_dialog_main': ",e);}
try{(function(_1){
var _2="wpToolbarProjectMenuLink",_3="wpToolbarProjectInfoBox",_4="<edit-mode>",_5="<page-id>",_6="?uri=toolbar:projectTab:projectMenu:returnURI:dialog:CloseModalDialog@oid:"+_5+"&uri=pagemode:edit:"+_4,_7="project:oid:",_8="project:null",_9="title",_a="titleLang",_b="titleDir",_c="editMode",_d="action",_e="resultURI",_f="selectProject",_10="openDialog",_11="openToolbar",_12="closeToolbar",_13={"uri":"pagemode:edit:on"},_14={"uri":"pagemode:edit:off"},_15={"uri":"toolbar:open","params":{"primaryTabURI":"default","secondaryTabURI":"default"}},_16={"uri":"toolbar:open"},_1=_1,_17=_1.document,_18=i$.byId,_19=i$.bindDomEvt,_1a=i$.fromPath,_1b=i$.forEach,_1c=i$.toQuery,_1d=wpModules.toolbar,_1e=function(_1f,e){
var k=e.keyCode;
if(k&&k!==13&&k!==32&&k!==38&&k!==40){
return false;
}
var url=_6.replace(_5,_20()).replace(_4,(_21()?"on":"off")),_22={"url":url,"autoResize":true,"posHandler":"horizontallyBelow","autoPosition":_1f.parentNode,"modal":false,"padding":0,"callbackFn":function(_23){
_1f.focus();
if(_23){
var _24=get(_23,_d);
if(_f==_24){
_25(_23);
}else{
if(_10==_24){
_26(_23);
}else{
if(_11==_24){
_27(_23);
}
}
}
}
}};
_28(_22);
return true;
},_25=function(_29){
var uri=get(_29,_e),_2a=get(_29,_c)=="true";
if(uri){
var _2b=[],_2c=_1d.isToolbarOpened(),_2d=_2e(uri),_2f=_30(_29),_31=_32();
if(_2c&&!_2d){
if(_2f){
_1d.closeToolbar({"editMode":_2a});
}else{
_1d.setEditModeActive(_2a);
}
}else{
if(_2a!=_21()){
if(_2a){
_2b.push(_13);
if(!_2c&&_31){
_2b.push(_15);
}
}else{
_2b.push(_14);
}
}
if(_2c){
if(_2f){
_1d.closeTab();
}else{
if(_31){
if(_2a){
_2b.push(_15);
}else{
_2b.push(_16);
}
}
}
}
_2b.push(_33(uri));
var win=_34(),url=_35(_2b,win),_36=win.parent||win;
_36.location.href=url;
}
}
},_26=function(_37){
var _38=_39(_3a(_37,_e));
if(_38){
var _3b=get(_37,_9)||"Dialog",url=_3c(_38),_3d={"url":url,"title":_3b,"modal":true,"autoResize":true,"metrics":{"width":900},"padding":0,"callbackFn":function(_3e){
if(_3e&&_3e.result=="project_published"){
_1d.closeToolbar({"editMode":false});
}else{
_1d.reloadViewArea(true);
}
}};
_28(_3d);
}
},_27=function(_3f){
var uri=get(_3f,_e);
_1d.openToolbar({tab:uri});
},_28=function(_40){
var _41=new wpModules.dialog.Dialog(_40);
_41.open();
},_35=function(_42,_43){
var _44=_43?_45(_43):"",url=[_44];
_44.indexOf("?")<0?url.push("?"):url.push("&");
_1b(_42,function(_46){
var uri=_46.uri,_47=_46.params;
url.push("uri=");
url.push(uri);
url.push("&");
if(_47){
url.push(_1c(_47));
url.push("&");
}
});
var r=url.join("");
return r;
},_3c=function(_48,_49){
var _4a=_49?_45(_49):"",url=[_4a],uri=_48.uri,_4b=_48.params;
_4a.indexOf("?")<0?url.push("?"):url.push("&");
url.push("uri=");
url.push(uri);
if(_4b){
url.push("&");
url.push(_1c(_4b));
}
var r=url.join("");
return r;
},_33=function(uri,_4c){
var a={};
a.uri=uri;
if(_4c){
a.params=_4c;
}
return a;
},_39=function(_4d){
if(_4d&&_4d.length>0){
var o={};
o.uri=_4d[0];
o.params={};
for(var i=1,l=_4d.length;i<l;i+=2){
var key=_4d[i],val=_4d[i+1];
if(val){
o.params[key]=[val];
}
}
return o;
}
return null;
},get=function(obj,key){
var o=obj[key];
if(o){
var v=o.value;
if(v&&v.length>0){
var r=v[0];
return r;
}
}
return null;
},_3a=function(obj,key){
var o=obj[key];
if(o){
var r=o.value;
return r;
}
return null;
},_20=function(){
var r=_34().ibmCfg.portalConfig.currentPageOID;
return r;
},_21=function(){
var r=_1d.isEditModeActive();
return r;
},_34=function(){
var r=_1d.getViewAreaWindow();
return r;
},_32=function(){
var r=_1a("wpModules.state.page.supportsToolbar",false,_34());
return r;
},_45=function(win){
var r=_1d.getBaseURL(win);
return r;
},_2e=function(uri){
var _4e=_4f(),r=true;
if(_4e){
r=uri.substring(_7.length)!=_4e;
}else{
r=uri!=_8;
}
return r;
},_30=function(_50){
var _51=_3a(_50,_d),r=(_51&&_51.length>1&&_51[1]==_12);
return r;
},_4f=function(){
return _34().ibmCfg.portalConfig.projectUUID;
};
i$.addOnLoad(function(){
var _52=_18(_2);
if(_52){
var _53=function(e){
if(_1e(_52,e)){
e.preventDefault?e.preventDefault():e.returnValue=false;
return false;
}
};
_19(_52,"click",_53);
_19(_52,"keydown",_53);
}
});
})(window);


}catch(e){console.log("Module 'wp_toolbar_projectmenu': ",e);}
try{(function(_1,_2){
var _3="?uri=pagemode:edit:off&uri=op:ibm.portal.operations.showPreviewScreen()&returnURI=dialog:CloseModalDialog",_4={"then":function(){
}},_5=i$.fromPath,_1=_1,_6=_1.document,_7=wpModules.toolbar,_8=_2,_9=function(_a){
var _b=_3,_c=_d("preview_as_user_dialog_title")||"Preview as User",_e={"url":_b,"title":_c,"modal":true,"autoResize":true,"window":_1.parent||_1,"callbackFn":function(_f){
if(_f){
var _10=get(_f,"action");
if(_10=="ok"){
var _11=get(_f,"userID"),_12=get(_f,"path");
_13(_11,_12);
}
}
}},_14=new wpModules.dialog.Dialog(_e);
_14.open();
var r=_4;
return r;
},_13=function(_15,_16){
var url=_7.getBaseURL(_17());
url=url.replace(_16,_16+_15);
url+=url.indexOf("?")<0?"?":"&";
url+="uri=toolbar:close&uri=pagemode:edit:off";
top.location.href=url;
},_18=function(_19){
var r=_19.visibility!==false;
return r;
},_1a=function(_1b){
var r=_1c();
return r;
},_1c=function(){
var r=_5("ibmCfg.portalConfig.canAnonymousUserViewCurrentPage",false,_17());
return r;
},_17=function(){
var r=_7.getViewAreaWindow();
return r;
},_1d=function(_1e){
return {"then":function(cb){
cb(_1e);
}};
},_d=function(key){
var r=_8.nls[key];
return r;
},get=function(obj,key){
var o=obj[key],r=null;
if(o){
var v=o.value;
if(v&&v.length>0){
r=v[0];
}
}
return r;
};
_8.openPreviewAsUserDialog=_9;
_8.isPreviewAsUnauthenticatedUserVisible=_18;
_8.isPreviewAsUnauthenticatedUserEnabled=_1a;
})(window,i$.fromPath("wpModules.toolbar.menuActions",true));


}catch(e){console.log("Module 'wp_toolbar_sitepreview_menuactions': ",e);}
try{(function(_1,_2){
var _3="aria-pressed",_4="selected",_5="true",_6="false",_7=_1.document,_8=i$.addClass,_9=i$.removeClass,_a=wpModules.theme.WindowUtils,_b=_2,_c=function(_d,_e,e){
if(e){
var k=e.keyCode;
if(k&&k!==13&&k!==32&&k!==38&&k!==40){
return false;
}
}
if(typeof wptheme!="undefined"&&wptheme.contextMenu){
var _f=_10(),_11=[];
for(var i=0,l=_f.length;i<l;i++){
_11.push("nm:oid:"+_f[i]);
}
var _12={resURI:"nm:oid:"+_13(_14()),contribURI:_11},_15={"node":_d.parentNode,"menuId":_e,"jsonQuery":_12,"params":{"templateId":"simpleMenuTemplate","alignment":"right"},"onClose":function(){
_16(_d);
}};
_17(_d);
wptheme.contextMenu.init(_15);
return true;
}else{
return false;
}
},_17=function(_18){
_8(_18.parentNode,_4);
_19(_18,_3,_5);
},_16=function(_1a){
_9(_1a.parentNode,_4);
_19(_1a,_3,_6);
},_19=function(_1b,_1c,_1d){
_1b.setAttribute(_1c,_1d);
},_14=function(){
var r=_a.getWindow(_a.VIEW_AREA);
return r;
},_13=function(win){
var r=win.ibmCfg.portalConfig.currentPageOID;
return r;
},_10=function(){
var r=_a.getPageIDs();
return r;
};
_b.open=_c;
})(window,i$.fromPath("wpModules.toolbar.ContextMenu",true));


}catch(e){console.log("Module 'wp_toolbar_contextmenu': ",e);}
try{(function(_1){
var _2=_1,_3=_1.document,_4=i$.addClass,_5=i$.removeClass,_6=i$.byId,_7=i$.bindDomEvt,_8="minimized",_9="utb-end-preview-btn",_a=3500,_b=500,_c=function(_d,_e){
var _f=function(){
_4(_d,_8);
};
return setTimeout(_f,_e);
},_10=function(_11,_12){
var _13=function(){
_5(_11,_8);
};
return setTimeout(_13,_12);
};
i$.addOnLoad(function(){
var _14=_6(_9);
if(_14){
var _15=_14.parentNode,_16=_c(_15,_a);
_7(_15,"mouseenter",function(){
if(_16){
clearTimeout(_16);
}
_16=_10(_15,_b);
});
_7(_15,"mouseleave",function(){
if(_16){
clearTimeout(_16);
}
_16=_c(_15,_a);
});
}
});
})(window);


}catch(e){console.log("Module 'wp_toolbar_sitepreview': ",e);}
try{(function(){
if(!i$.isIE){
i$.addOnLoad(function(){
var _1=document.getElementsByTagName("SECTION");
for(var i=0;i<_1.length;i++){
if(i$.hasClass(_1[i],"a11yRegionTarget")){
var _2=_1[i];
var _3=null;
var _4=_2.getElementsByTagName("SPAN");
for(var j=0;j<_4.length;j++){
if(i$.hasClass(_4[j],"a11yRegionLabel")){
_3=_4[j];
}
}
if(_3){
var _5=_3;
var _6=_2;
var _7=null;
while((_6=_6.parentNode)!=null){
if(i$.hasClass(_6,"component-control")){
var m=_6&&(_6.className||"").match(/id-([\S]+)/);
_7=m&&m[1];
break;
}
}
if(_7){
var _8="wpRegionId"+_7;
_5.setAttribute("id",_8);
_2.setAttribute("aria-labelledby",_8);
}
}
}
}
});
}
})();


}catch(e){console.log("Module 'wp_theme_skin_region': ",e);}