try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2011, 2012 - All Rights reserved. **/ (function(){ var w=window,i$=function(){ if(i$.qel){ return i$.qel.apply(this,arguments); } }; w.i$=i$; i$.global=w; if(typeof (console)=="undefined"){ var f=function(){ }; console={log:f,debug:f,info:f,warn:f,error:f,assert:f}; } i$.partial=function(f){ var _1=i$.toArray(arguments).slice(1); return function(){ var _2=_1.slice(0),_3=i$.toArray(arguments),i=0; for(;i<_2.length;i++){ if(_2[i]===undefined){ _2[i]=_3.shift(); } } _2.push.apply(_2,_3); return f.apply(this,_2); }; }; i$.scope=function(s,f){ var of=f; f=function(){ return (i$.isString(of)?s[of]:of).apply(s,arguments); }; return i$.partial.apply(this,i$.toArray(arguments).slice(1)); }; i$.error=function(_4,_5){ console.error(_5||new Error(_4)); }; i$.forEach=function(_6,f,_7){ if(_7==null){ _7=0; } for(var i=(_7>=0)?_7:0;i<_6.length;i++){ f(_6[i],i,_6); } }; i$.forIn=function(o,f){ for(var i in o){ if(Object.prototype.hasOwnProperty.call(o,i)){ f(o[i],i,o); } } }; i$.each=function(o,f,s){ if(s){ f=i$.scope(s,f); } if(o){ if(o instanceof Array||typeof o.length==="number"){ i$.forEach(o,f); }else{ i$.forIn(o,f); } } }; i$.some=function(a,f,s){ if(s){ f=i$.scope(s,f); } for(var i=0;i1){ i$["is"+_1c[0]]=_19(m[1]); } }); })(navigator.userAgent); var _1d=document.documentMode; if(_1d&&_1d!=5&&Math.floor(i$.isIE)!=_1d){ i$.isIE=_1d; } i$.isNode=function(o){ return typeof o==="object"&&typeof o.nodeType==="number"&&typeof o.nodeName==="string"; }; i$.isFunction=function(o){ return typeof o==="function"||o instanceof Function; }; i$.isObject=function(o){ return typeof o==="object"; }; i$.isArray=function(o){ if(typeof Array.isArray==="function"){ return Array.isArray(o); }else{ return Object.prototype.toString.call(o)==="[object Array]"; } }; i$.isString=function(o){ return typeof o==="string"; }; i$.isNumber=function(o){ return typeof o==="number"; }; i$.isBoolean=function(o){ return typeof o==="boolean"; }; i$.isLikeArray=function(o){ return o instanceof Array||typeof o.length==="number"; }; i$.toArray=function(o){ return Array.prototype.slice.call(o); }; if(i$.isIE){ var _1e=i$.toArray; i$.toArray=function(o){ try{ return _1e(o); } catch(err){ var a=new Array(o.length); for(var i=0;i0){ if(fn=_20.shift()){ try{ fn(); } catch(err){ console.log(err); } } } }; i$._exitPage=function(){ var fn; while(_21.length>0){ if(fn=_21.shift()){ try{ fn(); } catch(err){ console.log(err); } } } }; i$._addEvent=function(e,f,o){ var w=o?o:window; var s=w.attachEvent?e:e.substring(2); var a=w.attachEvent||w.addEventListener; a(s,function(){ f.apply(w,arguments); },false); }; if(!_1f){ i$._addEvent("onload",i$._initPage); if(document.addEventListener){ document.addEventListener("DOMContentLoaded",i$._initPage,false); } } i$.addOnLoad=function(f,o){ if(o){ f=i$.scope(o,f); } if(_1f){ f(); }else{ _20.push(f); } }; i$.addOnUnload=function(f,o){ if(!_22){ i$._addEvent("onunload",i$._exitPage); _22=true; } if(o){ f=i$.scope(o,f); } _21.push(f); }; var mx=function(o,m){ for(var p in m){ if(m.hasOwnProperty(p)){ o[p]=m[p]; } } },mxn=function(o,m,_23){ i$.forEach(_23,function(p){ if(m.hasOwnProperty(p)){ o[p]=m[p]; } }); }; i$.mash=function(o){ i$.forEach(arguments,function(v){ mx(o,v); },1); return o; }; i$.mashSpec=function(n,o){ i$.forEach(arguments,function(v){ mxn(o,v,n); },2); return o; }; i$.augment=function(f){ var r=f; if(f&&f.prototype){ f=f.prototype; i$.mash.apply(i$,arguments); } return r; }; i$.make=(function(){ var l=function(){ }; return function(o){ l.prototype=o; o=new l(); return i$.mash.apply(i$,arguments); }; })(); var _24=/^\s+/g; i$.trim=function(str){ str=str.replace(_24,""); var i=str.length-1; while(str.charAt(i)==" "||str.charAt(i)=="\t"||str.charAt(i)=="\n"||str.charAt(i)=="\r"){ i--; } return str.substring(0,i+1); }; var _25=i$.isArray,_26=i$.isObject; i$.merge=function(_27,_28,_29){ var _29=_29||[],v,c; _28=_28||i$.global; if(_25(_27)&&_25(_28)){ _28.push.apply(_28,_27); }else{ for(var x in _27){ if(_27.hasOwnProperty(x)){ v=_27[x],c=_28[x]; if(c!=null&&((_25(v)&&_25(c))||(_26(v)&&_26(c)))){ _28[x]=i$.merge(v,c,_29.concat(x)); }else{ _28[x]=v; } } } } return _28; }; var _2a; i$.isRTL=function(_2b){ if(!_2a){ _2a=i$.fromPath("ibmCfg.themeConfig.RTLMap"); } var _2c=_2a||{"iw":1,"he":1,"ar":1}; return (_2b.substring(0,2) in _2c); }; })(); }catch(e){console.log("Module 'wp_client_main': ",e);} try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2011, 2012 - All Rights reserved. **/ (function(){ var i$=window.i$; i$.Promise=function(){ this._cbs=[]; this._stat=-1; }; i$.promise={}; i$.promise.Promise=i$.Promise; i$.mash(i$.promise,{isPromise:function(o){ return o&&i$.isFunction(o.then); },resolved:function(o){ var p=new i$.Promise(); p.resolve(o); return p; },rejected:function(_1){ var p=new i$.Promise(); p.reject(_1); return p; },join:function(_2){ var _3=new i$.Promise(),_4=new Array(_2.length),_5=0,_6=false,_7=function(){ if(++_5>=_4.length){ _3[_6?"reject":"resolve"](_4); } }; if(_2.length>0){ i$.each(_2,function(p,i){ p.then(function(v){ _4[i]=v; _7(); },function(e){ _6=true; _4[i]=e; _7(); }); }); }else{ _3.resolve([]); } return _3; }}); i$.mash(i$,{when:function(o){ return i$.promise.isPromise(o)?o:i$.promise.resolved(o); },whenAll:function(o){ var a=[]; i$.each(arguments,function(p){ a.push(i$.when(p)); }); return i$.promise.join(a); }}); i$.promise.when=i$.when; i$.promise.whenAll=i$.whenAll; i$.Promise.prototype={_fin:function(v,s){ if(this._stat!==-1){ throw new Error("Promise already resolved"); } this._v=v; this._stat=s; this._cbk(); return this; },_cbk:function(){ var st=this._stat,_8=this._cbs,v=this._v,f; if(st===0){ if(i$.promise.isPromise(v)){ while(_8.length>0){ v.then.apply(v,_8.shift()); } } } while(_8.length>0){ f=_8.shift()[st]; if(f){ try{ f(v); } catch(err){ } } } },_delegate:function(fn){ var p=new i$.Promise(); this.then(i$.partial(fn,p),i$.scope(p,"reject")); return p; },resolve:function(v){ return this._fin(v,0); },reject:function(e){ return this._fin(e,1); },progress:function(p){ i$.each(this._cbs,function(_9){ if(_9[2]){ _9[2](p); } }); return this; },then:function(_a,_b,_c){ var p=new i$.Promise(); this._cbs.push([function(v){ try{ if(_a){ var rv=_a(v); if(rv!==undefined){ v=rv; } } p.resolve(v); } catch(exc){ p.reject(exc); } },function(e){ var rv=e; try{ if(_b){ rv=_b(e); if(rv===undefined){ rv=e; } } } catch(exc){ rv=exc; } p.reject(rv); },_c]); if(this._stat!==-1){ this._cbk(); } return p; },call:function(_d,_e){ return this._delegate(function(p,_f){ if(_f&&i$.isFunction(_f[_d])){ p.resolve(_f[_d].apply(_f,_e)); }else{ p.reject(new Error(_d+" is not a function on "+o)); } }); },get:function(_10){ return this._delegate(function(p,_11){ if(_11){ p.resolve(_11[_10]); }else{ p.reject(new Error(_11+" is null or undefined")); } }); }}; i$.onLoadPromise=new i$.Promise(); i$.addOnLoad(function(){ i$.onLoadPromise.resolve(true); }); })(); (function(){ var i$=window.i$; i$.getXHR=typeof XMLHttpRequest!=="undefined"?function(){ return new XMLHttpRequest(); }:function(){ return new ActiveXObject("MSXML2.XMLHTTP.3.0"); }; i$.toQuery=function(o){ var q=[]; var enc=encodeURIComponent; i$.each(o,function(v,k){ var key=enc(k)+"="; if(i$.isString(v)){ q.push(key+enc(v)); }else{ if(i$.isArray(v)){ var key=enc(k)+"="; i$.each(v,function(av,i){ q.push(key+enc(av)); }); } } }); return q.join("&"); }; i$.addQueryString=function(u,o){ if(o){ var p=u&&u.indexOf("?")!==-1,t=p?"&":"?"; u+=t+i$.toQuery(o); } return u; }; i$.fromQuery=function(q){ var o={}; var dec=decodeURIComponent; i$.each(q.split("&"),function(av,i){ var p=av.split("="),k=dec(p[0]),v=dec(p[1]),cv=o[k]; if(cv){ if(!i$.isArray(cv)){ cv=o[k]=[cv]; } cv.push(v); }else{ o[k]=v; } }); return o; }; i$.xhr=function(_12,_13){ var _12=_12||"GET",_14=new i$.Promise(),url=_13.url||"",_15=_13.sync||false,cb=_13.callback||function(){ },_16=_13.responseType||"text",_17=_13.postData||null,_18=_13.timeout||null,xhr=i$.getXHR(),_19=false,_1a=false; var _1b=function(){ if(xhr.readyState===4){ xhr.onreadystatechange=i$.isIE<=8?new Function():null; var _1c=function(){ if(xhr.status>=400){ var err=new Error(xhr.status+": "+xhr.responseText); try{ cb(err,xhr); } finally{ if(!_19){ _19=true; _14.reject({data:err,xhr:xhr}); } } }else{ try{ var ret=""; if(i$.xhrFmts[_16]){ ret=i$.xhrFmts[_16](xhr); } } catch(err){ cb(err,xhr); return; } try{ cb(ret,xhr); } finally{ if(!_19){ _19=true; _14.resolve({data:ret,xhr:xhr}); } } } }; if(xhr.timeout){ window.setTimeout(function(){ if(!_1a){ _1c(); } },0); }else{ _1c(); } } }; if(!_15){ xhr.onreadystatechange=_1b; } xhr.open(_12,url,!_15); i$.each(_13.headers,function(v,k){ xhr.setRequestHeader(k,v); }); if(_18){ xhr.timeout=_18; xhr.ontimeout=function(){ _1a=true; if(!_19){ _19=true; _14.reject({data:"timeout",xhr:xhr}); } }; } xhr.send(_17); if(_15){ _1b(); } return _14; }; i$.each(["Get","Put","Post","Delete"],function(m){ i$["xhr"+m]=i$.partial(i$.xhr,m.toUpperCase()); }); i$.loadScript=function(_1d){ var _1e=document.getElementsByTagName("head")[0],_1f=document.createElement("script"),_20=new i$.Promise(),_21=false,_22=function(_23,_24){ _1f.onreadystatechange=_1f.onload=null; _21=true; _20[_23?"resolve":"reject"](_24); if(_1d.callback){ _1d.callback(_23,_24); } _1e.removeChild(_1f); _1f=null; }; _1f.type="text/javascript"; _1f.onreadystatechange=function(){ if(this.readyState==="loaded"||this.readyState==="complete"){ _22(true); } }; _1f.onload=function(){ _22(true); }; i$.each(_1d.scriptAttrs,function(v,k){ if(v!=null){ _1f.setAttribute(k,v); } }); _1f.src=_1d.url; _1e.appendChild(_1f); if(_1d.timeout){ setTimeout(function(){ if(!_21){ _22(false,new Error("Timeout exceeded")); } },_1d.timeout); } return _20; }; })(); (function(){ var i$=window.i$; if(typeof (JSON)!="undefined"&&JSON.parse){ i$.fromJson=function(str){ return JSON.parse(str); }; i$.toJson=function(obj,_25){ return JSON.stringify(obj,null,_25?"\t":""); }; }else{ i$.fromJson=function(str){ return eval(["(",str,")"].join("")); }; var _26=function(str){ return ["\"",str.replace(/[\\]/g,"\\\\").replace(/["]/g,"\\\"").replace(/[\r]/g,"\\r").replace(/[\n]/g,"\\n").replace(/[\b]/g,"\\b").replace(/[\t]/g,"\\t").replace(/[\f]/g,"\\f"),"\""].join(""); },_27=function(obj,p,_28,_29){ var ap,_2a; if(_28){ _29=_29||""; _2a=_29+"\t"; } if(obj===null){ p.push("null"); }else{ if(obj===undefined){ p.push("undefined"); }else{ if(i$.isBoolean(obj)||i$.isNumber(obj)){ p.push(obj); }else{ if(i$.isString(obj)){ p.push(_26(obj)); }else{ if(i$.isFunction(obj.toJson)){ p.push(obj.toJson()); }else{ if(i$.isArray(obj)){ p.push("["); ap=[]; i$.each(obj,function(el){ var _2b=[]; _27(el,_2b,_28,_2a); ap.push(_2b.join("")); }); if(ap.length>0){ if(_28){ p.push("\n"+_2a); } p.push(ap.join(_28?",\n"+_2a:",")); if(_28){ p.push("\n"+_29); } } p.push("]"); }else{ if(i$.isObject(obj)){ p.push("{"); ap=[]; i$.each(obj,function(el,key){ var _2c=[_26(key),": "]; _27(el,_2c,_28,_2a); ap.push(_2c.join("")); }); if(ap.length>0){ if(_28){ p.push("\n"+_2a); } p.push(ap.join(_28?",\n"+_2a:",")); if(_28){ p.push("\n"+_29); } } p.push("}"); } } } } } } } }; i$.toJson=function(obj,_2d){ var p=[]; _27(obj,p,_2d); return p.join(""); }; } i$.xhrFmts.json=function(xhr){ return i$.fromJson(xhr.responseText); }; })(); (function(){ var i$=window.i$; var _2e=function(){ this._evts={}; },_2f=function(_30,_31){ return _30._evts[_31]||(_30._evts[_31]={l:[],b:[]}); },add=function(_32,_33,_34,fn){ var e=_2f(_32,_33),c=e[_34].push(fn); return [_33,_34,c-1]; },_35=function(_36,_37){ var e=_2f(_36,_37[0]); delete e[_37[1]][_37[2]]; },_38=function(evt,_39,_3a){ var _3b=evt.b,_3a=_3a||0,b,r; for(var i=_3a;i<_3b.length;i++){ b=_3b[i]; if(b){ _39=typeof _39==="undefined"?[]:_39; r=b.apply(null,_39||[]); if(i$.promise.isPromise(r)){ return r.then(function(_3c){ if(_3c!==false){ return _38(evt,_39,i+1); } return _3c; }); } } } },_3d=function(evt,_3e){ var _3f=evt.l,l; for(var i=0;i<_3f.length;i++){ l=_3f[i]; if(l){ l.apply(null,_3e||[]); } } },_40=function(_41,_42,_43){ var e=_2f(_41,_42); return i$.when(_38(e,_43)).then(function(_44){ if(_44!==false){ _3d(e,_43); } return _44; }); }; i$.augment(_2e,{addListener:function(_45,fn){ return add(this,_45,"l",fn); },removeListener:function(_46){ return _35(this,_46); },addBroker:function(_47,fn){ return add(this,_47,"b",fn); },removeBroker:function(_48){ return _35(this,_48); },fireEvent:function(_49,_4a){ return _40(this,_49,_4a); }}); var _4b=new _2e(); i$.each(["addListener","removeListener","addBroker","removeBroker","fireEvent"],function(n){ i$[n]=i$.scope(_4b,n); }); })(); (function(){ var i$=window.i$; var _4c=document.createElement("div"); i$.byId=function(id){ if(i$.isNode(id)){ return id; }else{ return document.getElementById(id); } }; i$.createDom=function(_4d,_4e,_4f){ var el=document.createElement(_4d); i$.each(_4e,function(v,k){ el.setAttribute(k,v); }); if(_4f){ _4f.appendChild(el); } return el; }; var _50=_4c.addEventListener?function(n){ return n.indexOf("on")==0?n.substr(2):n; }:function(n){ return n.indexOf("on")!=0?"on"+n:n; },add=_4c.addEventListener?function(_51,_52,f){ _51.addEventListener(_52,f,false); }:function(_53,_54,f){ _53.attachEvent(_54,f); },_55=_4c.removeEventListener?function(_56,_57,f){ _56.removeEventListener(_57,f,false); }:function(_58,_59,f){ _58.detachEvent(_59,f); }; i$.isDescendant=function(_5a,anc){ if(anc){ while(_5a){ if(_5a==anc){ return true; } _5a=_5a.parentNode; } } return false; }; i$.bindDomEvt=function(_5b,_5c,f){ _5c=_50(_5c); if((_5c=="mouseleave"||_5c=="mouseenter")&&!i$.isIE){ var fp=f; _5c=_5c=="mouseleave"?"mouseout":"mouseover"; f=function(e){ if(!i$.isDescendant(e.relatedTarget,_5b)){ return fp.call(this,e); } }; } add(_5b,_5c,f); return [_5b,_5c,f]; }; i$.unbindDomEvt=function(_5d){ if(_5d[0]){ _55(_5d[0],_5d[1],_5d[2]); } _5d.splice(0,3); }; if("classList" in _4c){ i$.mash(i$,{addClass:function(_5e,_5f){ _5e&&_5e.classList&&_5e.classList.add(_5f); },removeClass:function(_60,_61){ _60&&_60.classList&&_60.classList.remove(_61); },hasClass:function(_62,_63){ return _62&&_62.classList&&_62.classList.contains(_63); },toggleClass:function(_64,_65){ _64&&_64.classList&&_64.classList.toggle(_65); }}); }else{ var _66=function(str,_67){ if(!str){ return -1; } var len=_67.length,i=str.indexOf(_67),_68,_69; while(i>-1){ _69=str.charAt(i+len); _68=str.charAt(i-1); if((!_69||_69==" ")&&(!_68||_68==" ")){ break; } i=str.indexOf(_67,i+1); } return i; }; i$.mash(i$,{addClass:function(_6a,_6b){ if(!_6a){ return; } if(_66(_6a.className,_6b)<0){ _6a.className+=" "+_6b; } },removeClass:function(_6c,_6d){ if(!_6c){ return; } var str=_6c.className,len=_6d.length,i=_66(str,_6d),val=[]; if(i>-1){ if(i>0){ val.push(str.substring(0,i)); } if(str.length>i+len){ val.push(str.substr(i+len)); } _6c.className=i$.trim(val.join()); } },hasClass:function(_6e,_6f){ if(!_6e){ return; } return _66(_6e.className,_6f)>-1; },toggleClass:function(_70,_71){ if(!_70){ return; } i$[i$.hasClass(_70,_71)?"removeClass":"addClass"](_70,_71); }}); } })(); (function(){ var i$=window.i$; var _72=/([^_]+)_([^_]+)_deferred_?([\d]+)?/,_73=/alternate/i,_74=function(t){ return document.getElementsByTagName(t); },_75=function(){ return _74("head")[0]; },_76=function(url){ i$.createDom("link",{rel:"stylesheet",type:"text/css",href:url},_75()); return i$.promise.resolved(); },_77=function(url){ return i$.loadScript({url:url}); },_78=function(mod){ return i$.xhrGet({url:mod.url,headers:{"X-IBM-XHR":"true"},responseType:"text"}).then(function(_79){ return {mod:mod,data:_79.data}; }); },_7a=function(_7b){ i$.each(_7b,function(_7c){ var m=_7c.mod; var _7d=m.node.parentNode; var _7e=m.p!="head"?m.node:null; var _7f=document.createDocumentFragment(),tmp=i$.createDom("div"); tmp.innerHTML=_7c.data; while(tmp.firstChild){ _7f.appendChild(tmp.firstChild); } _7d.insertBefore(_7f,_7e); }); },_80=function(_81){ if(_73.test(_81.rel)){ var id=_81.id,_82=id.match(_72); if(_82){ return {node:_81,url:_81.href,id:id,p:_82[1],t:_82[2],i:_82[3]}; } } },_83=function(){ var m={head:[],config:[]},_84={},_85={length:0},_86=_74("link"),_87=_74("a"); i$.each([_86,_87],function(_88){ i$.each(_88,function(_89){ var mod=_80(_89); if(mod&&!_84[mod.id]){ _84[mod.id]=mod; if(!_85[mod.t]){ _85[mod.t]=[]; _85.length=_85.length+1; } _85[mod.t].push(mod); } }); }); return _85; },_8a=function(_8b){ var _8c=[]; var _8d=[]; i$.each(_8b["markup"],function(mod){ _8d.push(_78(mod)); }); return i$.whenAll.apply(this,_8d).then(function(_8e){ _8c=_8e; _8d=[]; i$.each(_8b["css"],function(mod){ _8d.push(_76(mod.url)); }); return i$.whenAll.apply(this,_8d); },function(err){ console.log("Error: ",err); }).then(function(_8f){ return _90(_8b["js"]); }).then(function(){ _7a(_8c); }); },_90=function(_91){ var m=_91.shift(),p; if(m){ p=_77(m.url); } return i$.when(p).then(function(){ return _91.length>0?_90(_91):true; },function(err){ console.log("Error: ",err); }); },_92=false,_93=null,_94=false,_95=false,_96=new i$.Promise(),_97=function(cbk){ i$.addOnLoad(function(){ if(!_92){ _93=_83(); _94=_93.length>0?false:true; if(_94){ _96.resolve(); } _92=true; } if(cbk){ cbk(); } }); }; i$.modules={}; i$.mash(i$.modules,{areLoaded:function(){ return _94; },areLoading:function(){ return _95; },loadDeferred:function(){ if(_95){ return _96; } var cbk=function(){ if(!_94){ _95=true; _8a(_93).then(function(){ _94=true; _95=false; _96.resolve(); },function(e){ _96.reject(e); }); } }; _97(cbk); return _96; },addAfterLoaded:function(f){ var cbk=function(){ _96.then(f); }; _97(cbk); }}); var _98=i$.addOnLoad,_99=[]; i$.addOnLoad=function(f,o){ if(_95){ if(o){ f=i$.scope(o,f); } _99.push(f); }else{ _98(f,o); } }; i$.modules.addAfterLoaded(function(){ while(_99.length>0){ if(fn=_99.shift()){ fn(); } } }); })(); (function(){ var i$=window.i$; i$.getCookie=function(n){ var cs=document.cookie.split(";"),c="",_9a=0,cn="",cv=null; for(var i=0;i1){ cv=_9a<0?null:i$.trim(c.substring(_9a+1,c.length)); } return cv; } } return null; }; i$.setCookie=function(n,v,e,p,d,s){ if(!e){ var m=new Date().getTime(); m+=(1000*60*60*24*365*100); e=new Date(m); } var c=n+"="+v+((e)?"; e="+e.toGMTString():"")+((p)?"; path="+p:"; path=/")+((d)?"; domain="+d:"")+((s)?"; secure":""); document.cookie=c; }; i$.deleteCookie=function(n,p,d){ if(i$.getCookie(n)){ document.cookie=n+"="+((p)?"; path="+p:"; path=/")+((d)?"; domain="+d:"")+"; expires=Thu, 01-Jan-70 00:00:01 GMT"; } }; })(); }catch(e){console.log("Module 'wp_client_ext': ",e);} try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2011, 2012 - All Rights reserved. **/ (function(){ var i$=window.i$; var _1=i$.log={}; var _2=[]; var _3=function(_4,_5){ return _4.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_6,_7,_8){ var _9=_5[_7]; return _9; }); }; i$.Logger=function(_a){ this.name=_a?_a:null; }; _1.Logger=i$.Logger; i$.mash(_1,{LEVEL_TRACE:500,LEVEL_INFO:800,LEVEL_WARNING:900,LEVEL_SEVERE:1000}); var _b=_1.LEVEL_INFO; var _c=_1.LEVEL_WARNING; var _d=_1.LEVEL_SEVERE; i$.mash(_1,{getLogger:function(_e){ if(!_2[_e]){ _2[_e]=new i$.Logger(_e); } return _2[_e]; },setTraceConfig:function(_f,_10){ console.log("IMPORTANT: In order to enable tracing you need to configure module wp_client_tracing to be downloaded."); }}); i$.getLogger=i$.log.getLogger; i$.setTraceConfig=i$.log.setTraceConfig; i$.Logger.prototype={info:function(_11,_12,_13){ this.log(_b,_11,_12,_13); },warning:function(_14,_15,_16){ this.log(_c,_14,_15,_16); },severe:function(_17,_18,_19){ this.log(_d,_17,_18,_19); },log:function(_1a,_1b,_1c,_1d){ if((_1d&&!i$.isArray(_1d))||_1d===false){ _1d=[_1d]; } var _1e=this.name; var _1f=_1d?_3(_1c.toString(),_1d):_1c; var _20="ibmStatusBox"; var _21="/portal/status"; var _22=i$.fireEvent; var _23=com.ibm.widgets.StatusMessage; var _24=null; if(_1a==_d){ _24="error"; }else{ if(_1a==_c){ _24="warning"; }else{ if(_1a==_b){ _24="info"; } } } if(_24){ _22(_21,[{message:new _23(_24,_1e+" "+_1b+": "+_1f,""),uid:_20}]); } }}; })(); }catch(e){console.log("Module 'wp_client_logging': ",e);} try{ }catch(e){console.log("Module 'wp_client_tracing': ",e);} try{(function(){var h=window;function k(e){for(var g=l.call(arguments,1),c,b=g,d=b.length,a=[];d;)void 0===b[--d]&&a.unshift(d);c=a;return function(){for(var a=g.slice(),b=c.length;b;)a[c[--b]]=arguments[b];m.apply(a,l.call(arguments,c.length));return e.apply(void 0,a)}}function p(e,g,c){for(var b=e.split("."),d=b.length-1,a=c,f=0;fd?b.push(a):b.splice(d,1);c.className=b.join(" ");return!0}function p(a,c){var b=c.className.split(" ");0>j(a,b)?(b.push(a),c.className=b.join(" "),b=!0):b=!1;return b} function q(a,c){var b=c.className.split(" "),d=j(a,b);0<=d?(b.splice(d,1),c.className=b.join(" "),b=!0):b=!1;return b}function r(a,c,b){return c?p(a,b):q(a,b)}function s(a,c){return a&&c?c.getAttribute("data-"+a):void 0}function t(a){return a?a.innerText||a.textContent:void 0}function u(a,c){var b=s(a,c),d;b&&((d=b&&c?c.ownerDocument.getElementById(b):void 0)||(d=u(b,c)));return d}function v(a,c){var b,d,e;if(w(a)){d=0;e=a.length;for(b=c;d_2c||_2a<_2c):_2a>_2c||_2b<_2c; _25=_21(_23,_24,_29,_2d,_1f); }else{ var h=_1d.height||_24.height,w=_1d.width||_24.width; _25={top:Math.max(10,Math.min(_1d.top||(_23.height-h)/2,_23.height-_24.height-_1f)),left:Math.max(0,Math.min(_1d.left||(_23.width-w)/2,_23.width-_24.width-_1f))}; } if(!i$.isIE||i$.isIE!==7){ _25.top+=_26.top; _25.left+=_26.left; } _10(_20||_1b,_25); if(_1c&&_22){ var _2e=null; var _2f=function(el){ var c=el.className; if(c&&c.indexOf("pointer")>-1){ _2e=el; } if(!_2e&&el.hasChildNodes()){ i$.each(el.childNodes,function(val){ _2f(val); }); } }; _2f(_1b); if(_2e){ _10(_2e,_22(_c(_1b),_29,_c(_2e),_2e)); } } },registerHandler:function(_30){ if(_30.nodeHandler){ _17.nodeHandler[_30.name]=_30.nodeHandler; } if(_30.pointerHandler){ _17.pointerHandler[_30.name]=_30.pointerHandler; } },addPositionChangeListener:function(_31){ if(!_31.node){ return null; } var _32={refNode:_31.node,targetWindow:_31.targetWindow||_1,callback:_31.callbackFn,pollInterval:_31.pollInterval||2000,intervalId:null,refBox:null,tolerance:_31.tolerance||5,intervalFn:function(){ if(this.refNode){ var box=_c(this.refNode,this.targetWindow); if(!this.refBox){ this.refBox=box; }else{ var _33=this.tolerance,_34=this.refBox,_35=Math.abs(_34.top-box.top),_36=Math.abs(_34.left-box.left),_37=Math.abs(_34.bottom-box.bottom),_38=Math.abs(_34.right-box.right); if(_33_3a.height){ pos.top=_3a.height-_3b.height-_3e; } pos.left=Math.max(_3c.left+(_3c.width-_3b.width)/2,_3e); if(pos.left+_3b.width+_3e>_3a.width){ pos.left=_3a.width-_3b.width-_3e; } return pos; },pointerHandler:function(_3f,_40,_41,_42){ i$.addClass(_42,"top"); var _43=_42.clientHeight,_44=_42.clientWidth,_45=Math.min(_40.left+_40.width,_3f.left+_3f.width),_46=Math.max(_40.left,_3f.left),_47=(_45+_46)/2-_3f.left; var res={top:-(_43-4),left:_47-_44/2}; return res; }}; wpModules.util.Positioning.registerHandler(_39); })(); (function(){ var _48={name:"horizontallyCenteredBelow",nodeHandler:function(_49,_4a,_4b,_4c,_4d){ var pos={}; pos.top=_4b.top+_4b.height; if(pos.top<0){ pos.top=0; } if(pos.top+_4a.height>_49.height){ pos.top=_49.height-_4a.height-_4d; } pos.left=Math.max(_4b.left+(_4b.width-_4a.width)/2,_4d); return pos; },pointerHandler:function(_4e,_4f,_50,_51){ i$.addClass(_51,"top"); var _52=_51.clientHeight,_53=_51.clientWidth,_54=Math.min(_4f.left+_4f.width,_4e.left+_4e.width),_55=Math.max(_4f.left,_4e.left),_56=(_54+_55)/2-_4e.left; var res={top:-(_52-4),left:_56-_53/2}; return res; }}; wpModules.util.Positioning.registerHandler(_48); })(); (function(){ var _57={name:"verticallyCenteredRightHand",nodeHandler:function(_58,_59,_5a,_5b,_5c){ var pos={}; pos.top=Math.max(_5a.top+(_5a.height-_59.height)/2,_5c); pos.top=Math.min(pos.top,_58.height-_59.height-_5c); if(_5b){ pos.left=Math.min(_5a.left+_5a.width,_58.width-_59.width-_5c); }else{ pos.left=Math.max(_5a.left-_59.width,_5c); } return pos; },pointerHandler:function(_5d,_5e,_5f,_60){ var _61=_5f.height,_62=_61/2+6,_63=Math.min(_5e.top+_5e.height,_5d.top+_5d.height-_62),_64=Math.max(_5e.top,_5d.top+_62),_65=_5d.left-_60.offsetWidth,_66=_5d.right+_60.offsetWidth,_67=_5e.left>_65,_68=_5e.left<=_65,_69=_65<=_5e.right,_6a=_65>_5e.right,_6b=_66<=_5e.left,_6c=_66>_5e.right,_6d=_66<=_5e.right; i$.removeClass(_60,"right"); i$.removeClass(_60,"left"); if(_63-_64>=0){ if((_67&&_6c)||(_68&&_6d)){ }else{ if((_67&&_6d)||(_67&&_6b)){ i$.addClass(_60,"right"); }else{ if((_69&&_6c)||(_6a&&_6c)){ i$.addClass(_60,"left"); } } } } return {top:(_64+_63-_61)/2-_5d.top}; }}; wpModules.util.Positioning.registerHandler(_57); })(); }catch(e){console.log("Module 'wp_dialog_util': ",e);} try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2012 - All Rights reserved. **/ (function(_1){ var _2=wpModules.util.dialog; function _3(e,_4){ e=e||_4.event; e.stopPropagation&&e.stopPropagation(); e.preventDefault&&e.preventDefault(); e.cancelBubble=true; e.cancel=true; e.returnValue=false; return false; }; function _5(_6,_7){ var _8=_2.scroll(_7),_9=_6||_7.event; return {left:_9.clientX+_8.left,top:_9.clientY+_8.top}; }; function _a(p){ var _b=p.window||_b,_c=_2.viewPort(_b.document),_d=p.element,_e=p.handle||_d,_f=i$.mash({top:0,left:0,width:_c.width,height:_c.height,margin:0},p.area),_10=false,_11=false,_12=false,_13,mmb,mub,mdb; function _14(_15){ if(!_12&&_11&&!_10){ _12=true; p.startCallback&&p.startCallback(_15,_d); _13=_5(_15,_b); var _16=_2.simpleBox(_d); mmb=i$.bindDomEvt(_b.document,"mousemove",function(_17){ if(_12&&!_10){ var pos=_5(_17,_b),_18=_2.scroll(_b); pos.left+=_16.left+_18.left-_13.left; pos.top+=_16.top+_18.top+-_13.top; pos.left=Math.min(Math.max(_f.left+_18.left+_f.margin,pos.left),_f.left+_18.left+_f.width-_16.width-_f.margin); pos.top=Math.min(Math.max(_f.top+_18.top+_f.margin,pos.top),_f.top+_18.top+_f.height-_16.height-_f.margin); _2.setMetrics(_d,pos); p.moveCallback&&p.moveCallback(pos,_d); return _3(_17,_b); } }); mub=i$.bindDomEvt(_b.document,"mouseup",function(_19){ _1a(); return _3(_19,_b); }); return _3(_15,_b); } }; function _1a(){ if(_12&&!_10){ i$.unbindDomEvt(mmb); i$.unbindDomEvt(mub); _13=null; p.endCallback&&p.endCallback(_d); _12=false; } }; this.dispose=function(){ if(!_10){ this.StopListening(true); _d=null; _e=null; p.startCallback=null; p.moveCallback=null; p.endCallback=null; _10=true; } }; this.StartListening=function(){ if(!_11&&!_10){ _11=true; mdb=i$.bindDomEvt(_e,"mousedown",_14); } }; this.StopListening=function(_1b){ if(_11&&!_10){ i$.unbindDomEvt(mdb); _11=false; _1b&&_12&&_1a(); } }; this.isDragging=function(){ return _12; }; this.isListening=function(){ return _11; }; this.isDisposed=function(){ return _10; }; this.StartListening(); }; i$.toPath("wpModules.util.Draggable",_a); })(window); }catch(e){console.log("Module 'wp_dialog_draggable': ",e);} try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2012 - All Rights reserved. **/ if(!i$.fromPath("wpModules.dialog.Dialog")){ var _T="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"; i$.addListener("wpModules/dialog/closeAll",function(_1){ var _2=i$.fromPath("wpModules.dialog.DialogStorage.openDialogs",false,top); if(_2&&_2.length>0){ i$.forEach(_2,function(_3){ if(!_1||_3.prm[_1]){ _3.close(); } }); } }); i$.toPath("wpModules.dialog.Dialog",function(_4,_5){ var _6=i$.fromPath("wpModules.dialog.DialogStorage",false,_4.top); if(!_6){ _6=i$.toPath("wpModules.dialog.DialogStorage",{openDialogs:[]},_4.top); } var _7=_6.openDialogs,_8=wpModules.util.dialog; function _9(_a,_b){ i$.each(_b,function(v,k){ _a=_a.replace(new RegExp("\\${"+k+"}","g"),v); }); return _a; }; function _c(_d,_e){ var s="data-attach-point"; var _f=function(el){ if(el.getAttribute&&el.getAttribute(s)){ _e[el.getAttribute(s)]=el; } if(el.hasChildNodes()){ i$.each(el.childNodes,function(val){ _f(val); }); } }; _f(_d); }; function _10(){ return Math.round(Math.random()*1000000000)+""; }; function _11(p,_12,box){ wpModules.util.Positioning.handle({name:p.posHandler,targetWindow:p.window,targetBox:box,node:_12,refNode:p.autoPosition,maxOverLay:p.maxOverlay,viewMargin:p.viewMargin}); }; function _13(_14){ return _14.window.document.getElementById(_14.id+"-iframe"); }; var _15=i$.augment((function(_16){ this._init(_16); }),{_init:function(_17){ var doc=_17.window.document,div=doc.createElement("div"),_18=_17.parent,_19=this._overlayNode=_17.displayCloseOverlay?doc.createElement("div"):null,_1a=this.rootNode=doc.createElement("div"),_1b=[140,30]; if(_17.templateStyle=="flat"){ _1b=[300,200]; } this.defaultWidth=_1b[0]; this.defaultHeight=_1b[1]; if(_19){ var os=_19.style; os.display="block"; os.height="100%"; os.top="0px"; os.position="fixed"; os.backgroundColor="#000"; os.opacity="0.4"; os.filter="Alpha(opacity=40)"; os.left="0"; os.width="100%"; os.zIndex=_17.z_index-1; if(!_17.modal){ os.opacity="0"; os.filter="Alpha(opacity=0)"; } } this.tabOut=_17.tabOut; this.modal=_17.modal; this.window=_17.window; var _1c={title:_17.title||"",itemClose:_17.itemClose,z_index:_17.z_index,id:_17.id}; if(_17.templateStyle=="help"&&_17.learnMoreURL){ _1c.learnMore=_17.learnMore; _1c.learnMoreURL=_17.learnMoreURL; _1c.learnMoreParam=_17.learnMoreParam; } var s=[""],_1d=typeof _17.padding,_1e=_17.padding; if(_1e&&_1d==="object"){ s.push("padding:",_1e[0],"px ",_1e[1],"px ",_1e[2],"px ",_1e[3],"px;"); }else{ if(_1d!=="number"){ _1e=15; } s.push("padding:",_1e,"px;"); } _1c.contentStyle=s.join(""); div.innerHTML=_9(_17.template,_1c); _c(div,this); this.domNode=div.firstChild; this.id=this.domNode.id=_17.id; _18.insertBefore(_1a,_18.firstChild); _19&&_1a.appendChild(_19); _1a.appendChild(this.domNode); if(!_17.autoPosition){ this._hidePointer(); } },_hidePointer:function(){ this.domNode.lastChild.style.display="none"; },_showPointer:function(){ this.domNode.lastChild.style.display="inline"; },show:function(){ this.domNode.style.display="block"; },hide:function(){ this.domNode.style.display="none"; }}); return i$.augment((function(_1f){ this.blankImgSrc=_T; this.z_index=_7.length===0?1000:_7[_7.length-1].z_index+500; var _20=_1f.title||_1f.displayDialogHeader; var _21={startDialog:"
",endDialog:"
",dialogContent:"
"+"
"+"
"+"
"+"
"+"
"+"
"+"
"+"
"+"
"+"
"+"
"+"
"+"
"+"
"+"
"}; var prm=this.prm=i$.mash({id:_10(),window:_4,parent:_1f.window?_1f.window.document.body:_4.document.body,posHandler:"verticallyCenteredRightHand",displayCloseOverlay:true,maxOverlay:0.5,viewMargin:15,autoResize:false,autoClose:!_1f.modal,modal:false,tabOut:false,helpTemplate:_21.startDialog+"
"+""+"\"${itemClose}\"X"+""+"
"+"
"+"
"+"
"+"
"+"
"+"
"+"
"+"
"+"
"+"
"+"
"+"
"+((_1f.learnMore&&_1f.learnMore.url)?"":"")+"
"+"
"+"
"+_21.endDialog,defaultTemplate:_21.startDialog+"
"+"
"+(_20?"
"+(_1f.title?"

${title}

":"")+""+"\"\""+"X"+""+"
":"")+_21.dialogContent+"
"+"
"+"
"+_21.endDialog,flatTemplate:_21.startDialog+"
"+"
"+_21.dialogContent+"
"+"
"+"
"+_21.endDialog},_1f); if(!prm.template){ var ts=prm.templateStyle; if(ts){ if(ts=="help"){ prm.template=prm.helpTemplate; if(typeof _1f.autoResize==="undefined"){ prm.autoResize=true; } if(typeof _1f.autoClose==="undefined"){ prm.autoClose=true; } if(typeof _1f.modal==="undefined"){ prm.modal=false; } if(typeof _1f.window==="undefined"){ prm.window=_4.top; prm.parent=prm.window.document.body; } if(typeof _1f.displayCloseOverlay==="undefined"){ prm.displayCloseOverlay=true; } }else{ if(ts=="flat"){ prm.template=prm.flatTemplate; if(typeof _1f.padding==="undefined"){ prm.padding=0; } } } } if(!prm.template){ prm.template=prm.defaultTemplate; } } var _22={}; if(prm.templateStyle=="help"&&_1f.learnMore&&_1f.learnMore.url){ _22.learnMore=wpModules.dialog.nls["LINK_LEARN_MORE"]; _22.learnMoreURL=_1f.learnMore.url; var w=800,h=800; if(_1f.learnMore.width){ w=_1f.learnMore.width; } if(_1f.learnMore.height){ h=_1f.learnMore.height; } _22.learnMoreParam=",width="+w+",height="+h; } this.openerWindow=_4; this.widget=new _15(i$.mash({id:prm.id,window:prm.window,parent:prm.parent,displayCloseOverlay:prm.displayCloseOverlay,title:prm.title,autoPosition:prm.autoPosition,modal:prm.modal,tabOut:prm.tabOut,itemClose:wpModules.dialog.nls["CLOSE_0"],template:prm.template,templateStyle:prm.templateStyle,padding:prm.padding,z_index:this.z_index},_22)); i$.bindDomEvt(this.widget.domNode,"onkeydown",i$.scope(this,function(e){ if(!e){ var e=_4.event; } if(e.keyCode===9){ var t=e.target||e.srcElement; if(t.nodeType===3){ t=t.parentNode; } var f1=e.shiftKey?"-firstFocus":"-lastFocus",f2=e.shiftKey?"-lastFocus":"-firstFocus"; var w=this.widget,pn=this.prm.autoPosition; if(w.tabOut&&w.id+f1==t.getAttribute("id")){ this._close(); if(pn){ pn.focus(); } }else{ if(w.id+f1===t.getAttribute("id")){ w.window.document.getElementById(this.widget.id+f2).focus(); } } }else{ if(e.keyCode===27){ this._close(e); } } })); var cb=this.widget.closeButtonNode; cb&&i$.bindDomEvt(cb,"onclick",i$.scope(this,"_close")); if(prm.autoClose&&this.widget._overlayNode){ i$.bindDomEvt(this.widget._overlayNode,"onclick",i$.scope(this,"_close")); } prm.markup&&this._setMarkup(prm.markup); _7.push(this); }),{open:function(){ var w=this.widget,p=this.prm,wd=w.domNode,m=p.metrics,tb=p.targetBox={},doc=p.window.document,_23=_8.viewPort(doc); if(p.url){ var f=_13(w); if(f){ f.src=p.url; }else{ w.centralContent.innerHTML=_9("
"+"\"${loading}\"/"+"
"+"
"+"",{id:w.id,url:i$.isIE<9?"":p.url,title:p.title||p.description||"dialog contents",blank:this.blankImgSrc,loading:wpModules.dialog.nls["LOADING_0"],border:i$.isIE<9?"border='0'":"",visibility:i$.isIE<9?"visibility:hidden;":"opacity:0;filter:Alpha(opacity=0)"}); f=_13(w); if(i$.isIE<9){ f.src=p.url; this._initCallbacksOnloadIE(); this._ieRefreshListener=i$.addListener("wpModules/dialog/Dialog/ieRefresh",i$.scope(this,this._handleIeRefreshEvent)); }else{ f.onload=i$.scope(this,this._initCallbacks); } } if(i$.isChrome){ f.setAttribute("scrolling","auto"); }else{ f.setAttribute("scrolling","no"); } } w.show(); if(w.dialogHeaderNode){ var _24=_8.simpleBox(w.dialogHeaderNode).width; if(_24&&_24>w.defaultWidth){ w.defaultWidth=_24; } } var _25=_23.width-2*p.viewMargin+2; if(m){ if(!p.autoPosition){ m.top&&(tb.top=m.top); m.left&&(tb.left=m.left); } m.width&&(tb.width=m.width); m.height&&(tb.height=m.height); if(m.width){ if(p.url){ var _26=_13(w),_27=_8.simpleBox(wd),_28=_8.simpleBox(doc.getElementById(w.id+"-sizing")),_29=_27.width-_28.width; _25-=_29; _8.setMetrics(_26,{width:Math.min(m.width,_25)}); }else{ _8.setMetrics(wd,{width:Math.min(m.width,_25)}); } } }else{ if(p.url){ _8.setMetrics(_13(w),{width:Math.min(w.defaultWidth,_25),height:w.defaultHeight}); } } _11(p,wd,tb); this._positionChangeListener=wpModules.util.Positioning.addPositionChangeListener({node:p.autoPosition,targetWindow:p.window,callbackFn:function(){ _11(p,wd,tb); }}); if(!p.url){ this.inlineKeyDownEvt=i$.bindDomEvt(doc.body,"onkeydown",i$.scope(this,function(e){ if(e.keyCode===27){ this._close(e); } })); p.window.setTimeout(function(){ if(i$.isFF){ var di=p.window.document.createElement("input"); wd.appendChild(di); di.focus(); wd.removeChild(di); }else{ p.window.focus(); } p.setFocusFn?p.setFocusFn(p.window):wd.focus(); if(p.templateStyle=="help"){ w.centralContent.tabIndex=-1; w.centralContent.focus(); } },100); } setTimeout(function(){ var _2a=doc.createElement("div"),_2b; _2a.className="wpThemeDialogHighContrastTestNode"; wd.appendChild(_2a); try{ _2b=doc.defaultView.getComputedStyle(_2a,""); } catch(e){ _2b=_2a.currentStyle; } var _2c=_2b.backgroundImage; if((_2b.borderTopColor==_2b.borderRightColor)||(_2c!=null&&(_2c=="none"||_2c=="url(invalid-url:)"))){ i$.addClass(wd,"wpthemeDialogImagesOff"); } wd.removeChild(_2a); },10); return false; },_initCallbacks:function(){ var w=this.widget,p=this.prm,f=_13(w); if(!f){ return; } var _2d=i$.scope(this,function(){ var fw=f.contentWindow,_2e=null; try{ _2e=fw.contentDocument||fw.document; fw.onunload=function(){ p.onUnloadCallbackFn&&p.onUnloadCallbackFn(_2e,fw); }; } catch(e){ } var _2f=i$.scope(this,function(){ fw=f.contentWindow; try{ if(!fw.resize){ fw.resize=i$.scope(this,"resize"); } fw.setTimeout(i$.scope(this,function(){ this.onLoadFrame(); }),0); } catch(e){ this.onLoadFrame(); } finally{ p.onLoadCallbackFn&&p.onLoadCallbackFn(_2e,fw); } }); try{ f.onload=_2f; fw.closeDialog=f.onCloseModalDialog=i$.scope(this,"close"); } catch(e){ } _2f(); }); _2d(); },_initCallbacksOnloadIE:function(){ var _30=this; var w=this.widget; var p=this.prm; var f=_13(w); var fn=function(i){ p.window.setTimeout(function(){ if((f.contentDocument&&f.contentDocument.readyState&&f.contentDocument.readyState==="complete")||(f.readyState&&f.readyState==="complete")){ _30._initCallbacks(); }else{ if(i<300){ fn(i+1); } } },200+10); }; fn(0); },_handleIeRefreshEvent:function(_31){ var w=this.widget; var f=_13(w); var cw=f.contentWindow; if(_31==cw){ this._initCallbacksOnloadIE(); } },onLoadFrame:function(_32){ var w=this.widget,wd=w.domNode,p=this.prm,_33=p.targetBox,_34=p.autoResize,_35=_8.viewPort(p.window.document),_36=_13(w),bs=wd.style; if(!_36){ return; } _36.setAttribute("scrolling","no"); bs.maxWidth="none"; bs.maxHeight="none"; bs.minWidth="0"; bs.minHeight="0"; var _37=p.window.document.getElementById(w.id+"-progressLoading"); if(_37){ _37.style.display="none"; } var cs=w.centralContent.style,fs=_36.style; cs.paddingBottom="0px"; cs.marginBottom="0px"; if(i$.isIE<9){ fs.visibility="visible"; }else{ fs.opacity="100"; fs.filter="Alpha(opacity=100)"; } var fw=_36.contentWindow,_38=_33.width,_39=_33.height||w.defaultHeight,_3a=null,fde=null,_3b=null,_3c=false; if(!_38){ _38=w.defaultWidth; _3c=true; } try{ _3a=fw.contentDocument||fw.document; fde=_3a.documentElement; _3b=_3a.body; if(_3b){ var _3d=_8.simpleBox(_3b); _8.setMetrics(_36,{width:((_38>_3d.width)?_38:_3d.width),height:_3d.height}); if(i$.isWebKit){ _3b.style.overflow="auto"; } _3b.style.height="auto"; var _3e=i$.scope(this,function(e){ if(e.keyCode===27){ this._close(e); } }); if(i$.isFF){ i$.bindDomEvt(fde,"onkeydown",_3e); }else{ i$.bindDomEvt(_3b,"onkeydown",_3e); } _38=Math.max(_3b.scrollWidth,fde.scrollWidth,_3b.offsetWidth,fde.offsetWidth,fde.clientWidth); _8.setMetrics(_36,{width:_38}); if(w.eastContentCell.style.display!="none"||w.westContentCell.style.display!="none"){ var _3f=_8.simpleBox(_3b),_40=_8.simpleBox(fde); _39=Math.max(_3d.height,_3f.height,_40.height,_3b.scrollHeight,fde.scrollHeight,_3b.offsetHeight,fde.offsetHeight,fde.clientHeight); }else{ _39=Math.max(_3b.scrollHeight,fde.scrollHeight,_3b.offsetHeight,fde.offsetHeight,fde.clientHeight); } _38=Math.max(_3b.scrollWidth,fde.scrollWidth,_3b.offsetWidth,fde.offsetWidth,fde.clientWidth); }else{ return; } } catch(e){ } var _41=_8.simpleBox(wd),_42=_8.simpleBox(_36),_43=_8.simpleBox(p.window.document.getElementById(w.id+"-sizing")),_44=_8.simpleBox(w.eastContent),_45=_8.simpleBox(w.westContent),_46=(_3c&&_43.width==w.defaultWidth)?0:_41.width-_43.width,_47=_41.height-_42.height,_48=_35.width-2*p.viewMargin-_46+2,_49=_35.height-2*p.viewMargin-_47+2,_4a=_33.height||(_34?_39:_35.height/3),_4b=_33.width||(_34?_38:_35.width/3); _4a=Math.max(_4a,_44.height,_45.height); _38=Math.min(_4b,_48); _39=Math.min(_4a,_49); _8.setMetrics(wd,{top:0,left:0}); if(i$.isIE&&_34){ _38++; _39++; } _8.setMetrics(_36,{width:_38,height:_39}); if(_3b&&_34&&!_33.width){ if(fde&&i$.isFF){ var _4c=fde.scrollWidth-fde.clientWidth; if(_4c>0){ _8.setMetrics(_36,{width:_38+=_4c}); } } if(_3b&&_4a>_49){ var _4d=Math.max(_3b.scrollWidth,fde.scrollWidth),_4e=Math.max(_3b.clientWidth,fde.clientWidth); if(_4e<_4d){ var _4f=_4d-_4e; if(_38+_4f<=_48){ _38+=_4f; _8.setMetrics(_36,{width:_38}); } } } } if(_3b&&p.templateStyle!="help"){ _3b.style.height="100%"; } _11(p,wd,{top:p.targetBox.top,left:p.targetBox.left,width:_38+_46,height:_39+_47}); _36.setAttribute("scrolling","auto"); if(!(_32&&_32.resize)){ p.window.setTimeout(function(){ p.setFocusFn?p.setFocusFn(fw):_36.focus(); },100); } },resize:function(_50){ var tb=this.prm.targetBox; if(_50){ if(_50.width){ tb.width=_50.width; } if(_50.height){ tb.height=_50.height; } } if(this.prm.url){ this.onLoadFrame({resize:true}); } },_setMarkup:function(_51){ i$.forIn((i$.isString(_51)||i$.isNode(_51))?{"centralContent":_51}:_51,i$.scope(this,function(m,r){ var _52=this.widget[r],_53=this.widget[r+"Cell"]; if(_52){ if(m){ if(i$.isNode(m)){ _52.appendChild(m); }else{ if(i$.isString(m)){ _52.innerHTML=m; } } if(_53){ _53.style.display=""; } _52.style.display=""; }else{ while(_52.hasChildNodes()){ _52.removeChild(_52.firstChild); } if(_53){ _53.style.display="none"; } _52.style.display="none"; } } })); },set:function(_54){ var prm=this.prm,_55=1,_56={"metrics":_55,"viewMargin":_55,"autoPosition":_55,"url":_55,"markup":i$.scope(this,"_setMarkup"),"title":i$.scope(this,function(_57){ prm.title=_57; var t=this.widget.titleNode; t&&(t.innerHTML=_57); }),"description":_55}; i$.forIn(_54,function(v,n){ if(_56[n]===_55){ prm[n]=v; }else{ if(i$.isFunction(_56[n])){ _56[n](v); } } }); if(_54.url){ if(i$.isIE<9&&this._ieRefreshListener){ i$.removeListener(this._ieRefreshListener); this._ieRefreshListener=null; } this.open(); }else{ if(_54.metrics){ this.resize(_54.metrics); } } },_close:function(evt){ if(evt&&i$.isIE<=10){ evt.preventDefault&&evt.preventDefault(); evt.returnValue=false; } if(evt&&i$.isFF){ try{ evt.preventDefault(); } catch(x){ evt.returnValue=false; } } this.close({_terminated:true}); },close:function(_58){ var w=this.widget,r=w.rootNode,p=this.prm,_59=_13(w),fw=_59&&_59.contentWindow,_5a=false; if(_58&&_58._terminated){ _5a=true; _58=_5; } try{ if(fw&&fw.onbeforeunload){ var buv=fw.onbeforeunload(); if(buv===false||(buv&&buv!==true&&!confirm(buv))){ return; } } } catch(e){ } try{ if(_5a&&fw&&fw.onTerminateDialog){ fw.onTerminateDialog(); } } catch(e){ if(e instanceof DOMException){ console.log("Could not invoke onTerminateDialog handler. Probably the dialog frame is cross-origin."); }else{ throw e; } } for(var da=_7,i=da.length;i>0;i--){ if(da[i-1].widget.id===w.id){ da.splice(i-1,1); }else{ if(fw&&fw===da[i-1].openerWindow){ da[i-1].close(); } } } if(this._positionChangeListener){ this._positionChangeListener.stop(); delete this._positionChangeListener; } if(this.inlineKeyDownEvt){ i$.unbindDomEvt(this.inlineKeyDownEvt); } if(this.openerWindow){ this.openerWindow.focus(); } w.hide(); if(_59&&i$.isIE){ _59.src="about:blank"; } for(var da=_7,i=da.length;i>0;i--){ if(da[i-1].widget.id===w.id){ da.splice(i-1,1); break; } } p.callbackFn&&p.callbackFn(_58); r&&r.parentNode&&r.parentNode.removeChild(r); if(i$.isIE<9){ i$.removeListener(this._ieRefreshListener); } }}); }(window)); } if(!i$.fromPath("wpModules.dialog.confirm")){ wpModules.dialog.confirm=function(){ var _5b="OK",_5c="YES",_5d="NO",_5e="CANCEL",_5f="ABORT",_60="RETRY",_61="IGNORE",_62="TRY",_63="CONTINUE",_64="EXCLAMATION",_65="WARNING",_66="INFORMATION",_67="ASTERISK",_68="STOP",_69="ERROR"; return i$.mash(function(_6a){ var _6b=i$.fromPath,_6c=new i$.Promise(),nls=wpModules.dialog.nls,_6d={"<":"<",">":">","&":"&","\"":""","'":"'"},_6e=function(){ return _6b("wpModules.dialog.confirm",true,top)._instance; },_6f=function(dlg){ _6b("wpModules.dialog.confirm",true,top)._instance=dlg; },_70=function(s){ return s.replace(/[<>&"']/g,function(ch){ return _6d[ch]; }); },_71=function(_72){ return nls["BUTTON_"+_72]; },_73=function(_74){ var id=i$.isString(_74)?_74:_66; return nls["ICON_"+id]; },_75=function(_76,idx){ var _77=(_6a.buttonLabels?_6a.buttonLabels[_76]:_71(_76)); return ""; },_78=function(_79){ var b=(i$.isArray(_79)?_79:(i$.isString(_79)?[_79]:[(_5b),(_5e)])),_7a="",idx=0; i$.each(b,function(_7b){ _7a+=_75(_7b); }); return _7a; },_7c=_6e(),_7d=i$.merge({autoClose:false,modal:true,setFocusFn:function(arg){ var _7e=arg.document.getElementById(this.focusControl?"btn_"+this.focusControl:"btn_"+_5d); if(_7e){ _7e.focus(); } },callbackFn:function(arg){ _6f(_7c); var _7f=i$.isString(arg)?arg:_5e; _6c.resolve({button:_7f}); },markup:""+(_6a.icon?"":"")+""+""},i$.merge(_6a,{displayCloseOverlay:true,autoResize:true,draggable:true})),dlg=new wpModules.dialog.Dialog(_7d); _6f(dlg); dlg.open(); return _6c; },{ICON:{EXCLAMATION:_64,WARNING:_65,INFORMATION:_66,ASTERISK:_67,STOP:_68,ERROR:_69},BUTTONS:{OK:_5b,YES:_5c,NO:_5d,CANCEL:_5e,ABORT:_5f,RETRY:_60,IGNORE:_61,TRY:_62,CONTINUE:_63,ABORTRETRYIGNORE:[_5f,_60,_61],CANCELTRYCONTINUE:[_5e,_62,_63],OKCANCEL:[_5b,_5e],RETRYCANCEL:[_60,_5e],YESNO:[_5c,_5d],NOYES:[_5d,_5c],YESNOCANCEL:[_5c,_5d,_5e]}}); }(); } }catch(e){console.log("Module 'wp_dialog_main': ",e);} try{(function(_1){ var _2="[\\u00ad\\u0600-\\u0603\\u06dd\\u070f\\u17b4-\\u17b5\\u200b-\\u200f\\u202a-\\u202e\\u2060-\\u2064\\u206a-\\u206f\\ufeff\\ufff9-\\ufffb]|\\ud834[\\udd73-\\udd7a]|\\udb40[\\udc01\\udc20-\\udc7f]",_3="[\\u0000-\\u001f\\u007f-\\u009f]",_4="data-",_5="a11y-",_6=_5+"next",_7=_5+"prev",_8=_5+"first",_9=_5+"last",_a=_5+"up",_b=_5+"down",_c=_5+"title",_d=_5+"action",_e=[_8,_a,_7,_9,_b,_6],_f=5,_10=4,_11=3,_12=2,_13=1,_14=0,_15="ltr",_16=37,_17=39,_18=38,_19=40,_1a=36,_1b=35,_1c=13,_1d=32,_1e=33,_1f=34,_20=true,_21=false,_22=Number.POSITIVE_INFINITY,_23=Number.NEGATIVE_INFINITY,_24=function(_25,_26){ var _27=_26[_25]=_26[_25]||{}; return _27; },_28=function(aId,_29){ var _2a=_29.ownerDocument.getElementById(aId); return _2a; },_2b=function(_2c){ var _2d=((_2c>=0)&&(_2c<=31))||((_2c>=127)&&(_2c<=159)); return _2d; },_2e=function(_2f,_30){ var _31=_30.getAttribute(_4+_2f); return _31; },_32=function(_33,_34){ var _35=_2e(_33,_34),_36=null; if(_35){ _36=_28(_35,_34); if(_36===null){ _36=_32(_35,_34); } } return _36; },_37=function(_38,_39,_3a,_3b){ if(_38){ var id=_38.id,i=_3b.length; if(!_3a.hasOwnProperty(id)){ _3a[id]=_39(_38); while(i){ _37(_32(_3b[--i],_38),_39,_3a,_3b); } } } return _3a; },_3c=function(_3d){ var _3e=_32(_c,_3d),_3f=_3e?_3c(_3e):(_3d.innerText||_3d.textContent); return _3f; },_40=function(_41){ var _42=_41||_3c; return _42; },_43=function(_44){ var _45=new RegExp("^(\\s|"+_2+"|"+_3+")*\\u"+("0000"+Number(_44).toString(16)).slice(-4)+".*","i"); return _45; },_46=function(_47,_48,_49){ var _4a=_49(_48),_4b=_4a&&(_4a.length>0)&&_47.test(_4a); return _4b; },_4c=function(_4d,_4e){ var _4f=_37(_4d,_4e,{},_e); return _4f; },_50=function(_51,_52,_53){ var _54,_55=_43(_51); _4c(_52,function(_56){ if(_46(_55,_56,_53)){ if(!_54){ _54=[]; } _54.push(_56); } }); return _54; },_57=function(_58){ var _59=_58.getBoundingClientRect(); return _59; },_5a=function(_5b,_5c){ var _5d=(_5b.right>_5c.left)&&(_5b.left<_5c.right); return _5d; },_5e=function(_5f,_60){ var _61=(_5f.bottom>_60.top)&&(_5f.top<_60.bottom); return _61; },_62=function(_63,_64,_65){ var _66=(_63>=_64)&&(_63<=_65); return _66; },_67=function(_68){ var _69=null,_6a=_57(_68),_6b=_22; _4c(_68,function(_6c){ var _6d=_57(_6c); if(_62(_6d.top,_6a.bottom,_6b)&&_5a(_6d,_6a)){ _69=_6c; _6b=_6d.top; } }); return _69; },_6e=function(_6f){ var _70=null,_71=_57(_6f),_72=_71.top; _4c(_6f,function(_73){ var _74=_57(_73),_75=_74.top; if((_75<_72)&&_5a(_74,_71)){ _70=_73; _72=_75; } }); return _70; },_76=function(_77){ var _78=null,_79=_57(_77),_7a=_79.bottom; _4c(_77,function(_7b){ var _7c=_57(_7b),_7d=_7c.bottom; if((_7d>_7a)&&_5a(_7c,_79)){ _78=_7b; _7a=_7d; } }); return _78; },_7e=function(_7f){ var _80=null,_81=_57(_7f),_82=_22; _4c(_7f,function(_83){ var _84=_57(_83); if(_62(_84.left,_81.right,_82)&&_5e(_84,_81)){ _80=_83; _82=_84.left; } }); return _80; },_85=function(_86){ var _87=null,_88=_57(_86),_89=_23; _4c(_86,function(_8a){ var _8b=_57(_8a); if(_62(_8b.bottom,_89,_88.top)&&_5a(_8b,_88)){ _87=_8a; _89=_8b.bottom; } }); return _87; },_8c=function(_8d){ var _8e=null,_8f=_57(_8d),_90=_23; _4c(_8d,function(_91){ var _92=_57(_91); if(_62(_92.right,_90,_8f.left)&&_5e(_92,_8f)){ _8e=_91; _90=_92.right; } }); return _8e; },_93=function(_94){ var _95=_94?_94.dir:_15; return _95; },_96=function(_97){ var _98=_93(_97)||_96(_97.parentNode); return _98; },_99=function(_9a,_9b){ _9b.tabIndex=_9a; return _9b; },_9c=function(_9d){ var _9e=_99(0,_9d); return _9e; },_9f=function(_a0){ var _a1=_99(-1,_a0); return _a1; },_a2=function(_a3){ var _a4=_a3.tabIndex; return _a4; },_a5=function(_a6){ _9c(_a6).focus(); return _20; },_a7=function(_a8){ if(_a8){ _4c(_a8,_9f); return _a5(_a8); } return _21; },_a9=function(_aa){ if(_aa){ _4c(_aa,_9f); return _20; } return _21; },_ab=function(_ac,_ad){ var _ae=_a7(_32(_e[_ac],_ad)); return _ae; },_af=function(_b0){ var _b1=_ab(_f,_b0); return _b1; },_b2=function(_b3){ var _b4=_ab(_12,_b3); return _b4; },_b5=function(_b6){ var _b7=_ab(_14,_b6); return _b7; },_b8=function(_b9){ var _ba=_ab(_11,_b9); return _ba; },_bb=function(_bc){ var _bd=_ab(_13,_bc); return _bd; },_be=function(_bf){ var _c0=_ab(_10,_bf); return _c0; },_c1=function(_c2){ var _c3=_a7(_85(_c2)); return _c3; },_c4=function(_c5){ var _c6=_a7(_67(_c5)); return _c6; },_c7=function(_c8){ var _c9=_a7(_8c(_c8)); return _c9; },_ca=function(_cb){ var _cc=_a7(_7e(_cb)); return _cc; },_cd=function(_ce){ return _a7(_6e(_ce)); },_cf=function(_d0){ return _a7(_76(_d0)); },_d1=function(_d2){ var _d3=(_d2===_15)?_17:_16; return _d3; },_d4=function(_d5){ _d5.click(); return _20; },_d6,_d7=function(_d8){ var doc=_d8.document,_d9=doc.body,_da=doc.createElement("div"),_db,_dc,_dd; _da.style.cssText="border:1px solid;border-color:red green;position:absolute;height:5px;top:-999px;background-image:url(\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\");"; _d9.appendChild(_da); try{ _db=doc.defaultView.getComputedStyle(_da,""); } catch(e){ _db=_da.currentStyle; } _dc=_db.backgroundImage; _dd=((_db.borderTopColor===_db.borderRightColor)||(_dc!==null&&(_dc==="none"||_dc==="url(invalid-url:)"))); _d9.removeChild(_da); return _dd; },_de=function(_df){ return function(){ return _d7(_df); }; },_e0=function(_e1){ var _e2=_e1.i$.onLoadPromise,_e3=_e2.then(_de(_e1)),_e4=function(_e5){ var _e6=_e5||_e1.event; return _e6; },_e7=function(_e8,_e9,_ea,_eb){ if(!_eb.altKey&&!_eb.ctrlKey&&!_2b(_e8)){ var _ec=_50(_e8,_e9,_ea),_ed,i,len; if(_ec){ len=_ec.length; i=0; while(i0){ _4(_27,function(p){ set(p,_28); }); } if(_29){ _2a(_27,_28); } },_2a=function(_2b,_2c){ var _2d=[]; if(_e(_2b)<_e(_2c.all)){ _5(_2c.all,function(p){ var _2e=false; _5(_2b,function(_2f){ if(_d(p)==_d(_2f)&&_b(p)==_b(_2f)){ _2e=true; return false; } }); if(!_2e){ _2d.push(p); } }); } _5(_2d,function(p){ set({"name":p.name,"nsuri":p.nsuri,"value":null},_2c); }); },set=function(_30,_31){ if(!_b(_30)||!_d(_30)){ return; } var _32=_9,_33=_9; _5(_31.all,function(p,i){ if(_d(p)==_d(_30)&&_b(p)==_b(_30)){ var _34=_c(_30); if(_34){ if(!_f(_34,_c(p))){ _31.all[i]=_30; _33=_8; } }else{ _31.all.splice(i,1); _33=_8; } _32=_8; } }); if(!_32&&_c(_30)){ _31.all.push(_30); _33=_8; } if(_33){ _31.log.push(_30); } var _35=_31.cache[_d(_30)]; if(_35){ var _36=_b(_30); if(_c(_30)){ _35[_36]=_30; }else{ delete _35[_36]; } } },_37=function(_38){ var _39=_3a(_38); return _39; },_3b=0,_3c=function(_3d,fn){ var _3e="fn"+(++_3b); _3d[_3e]=fn; return _3e; },_3f=function(_40,_41){ if(_41 in _40){ delete _40[_41]; } },_42=function(_43,_44){ for(var _45 in _43){ var _46=_37(_44),fn=_43[_45]; if(fn){ try{ fn(_46); } catch(err){ } } } },_47=function(_48){ return _1(_a,_9,_48); },_49=function(_4a,_4b){ _2(_a,_4a,_4b); },_4c=function(_4d){ var _4e=_11(_4d),cbs={}; return {getState:function(){ var _4f=new _7(),_50=_37(_4e); _4f.resolve(_50); return _4f; },addListener:function(_51){ var _52=_3c(cbs,_51); return _52; },removeListener:function(_53){ _3f(cbs,_53); },commit:function(_54){ _4e=_54._data; _42(cbs,_4e); _4e.log=[]; var _55=new _7().resolve(); return _55; },init:function(_56){ _4e=_11(_56); }}; },_3a=function(_57){ var d=_57; return {_data:d,renderParams:function(){ var _58=_59(d); return _58; }}; },_59=function(_5a){ var d=_5a; return {get:function(_5b){ return _14(_5b,d); },set:function(_5c,_5d){ _26(_5c,d,_5d); },getModified:function(){ return d.log; }}; },_5e=i$.fromPath("wpModules.state.page",_8); i$.mash(_5e,{"newStateManager":_4c,"setStateManager":_49,"getStateManager":_47}); })(); (function(){ var _5f=i$.fromPath("wpModules.state.page"),_60=_5f.newStateManager(),_61="window/startRender"; _60.init(_5f._initial); delete wpModules.state.page._initial; _5f.setStateManager(_60); if(top!==self&&top.i$){ top.i$.fireEvent(_61,[self]); } i$.fireEvent(_61); })(); }catch(e){console.log("Module 'wp_state_page': ",e);} try{(function(){ if(i$.isIE){ document.createElement('article'); document.createElement('aside'); document.createElement('footer'); document.createElement('header'); document.createElement('hgroup'); document.createElement('nav'); document.createElement('section'); } if(i$.isIE == 7){ document.getElementsByTagName("html")[0].className+=" wptheme_ie7"; } if(i$.isIE == 8){ document.getElementsByTagName("html")[0].className+=" wptheme_ie8"; } if(i$.isIE == 9){ document.getElementsByTagName("html")[0].className+=" wptheme_ie9"; } if(i$.isIE == 10){ document.getElementsByTagName("html")[0].className+=" wptheme_ie10"; } if(i$.isIE == 11){ document.getElementsByTagName("html")[0].className+=" wptheme_ie11"; } })(); }catch(e){console.log("Module 'wp_theme_portal_85': ",e);} try{(function(_1){ var _2=_1,_3=i$.fromPath,_4="wpModules.theme.WindowUtils",_5=_4+".baseURL",_6=_5+".Promise."+Math.random(),_7="wpViewFrameContainer",_8="wpthemeMaster",_9="wpToolbarPrimaryFrameContainer",_a="wpToolbarSecondaryFrameContainer",_b=[_7,_8,_9,_a],_c=i$.createDom,_d=new i$.Promise(),_e=function(id){ if(id){ if(id==_7){ return _f(_7)||_10(_7)||top; }else{ if(id==_8){ var _11=_e(_7); return _11.parent||_11; }else{ if(id==_9){ return _f(_9)||_10(_9); }else{ if(id==_a){ return _f(_a)||_10(_a); }else{ if(_12(_2)==id){ return _2; }else{ for(var i=0,l=_b.length;i0){ _18=_18.substr(0,_19); } _18=_18.replace("%24project","$project"); return _18; },_1a=function(win){ var _1b=_3(_4,false,win),doc=win.document,url; if(null!=_1b){ return _1b.baseURL; } _1b=win[_6]; if(null!=_1b){ return _1b; } _1b=new i$.Promise(); win[_6]=_1b; if(doc.readyState==="loading"){ doc.addEventListener("DOMContentLoaded",function(){ url=_15(win); _1b.resolve(url); }); }else{ url=_15(win); _1b.resolve(url); } return _1b; }; i$.toPath(_4,{VIEW_AREA:_7,MASTER:_8,getWindow:function(id){ return _e(id); },getBaseURL:function(win){ return _15(win); },getPageIDs:function(){ return _14(); },findBaseURL:_1a,baseURL:_d}); })(window); }catch(e){console.log("Module 'wp_theme_utils': ",e);} try{(function(){ i$.addOnLoad(function(){ var _1=i$.fromPath("wpModules.state.page"); if(_1){ var _2=_1.getStateManager(),ln=function(o){ return o.length; },_3=function(o){ if(o&&ln(o)>0){ var v=o[0].value; if(v&&ln(v)>0){ return v[0]; } } return null; }; _2&&_2.getState().then(function(_4){ var _5=wpModules.theme.WindowUtils,_6=_3(_4.renderParams().get({nsuri:"//www.ibm.com/xmlns/prod/websphere/portal/publicparams",name:"showTools"})),_7=function(_8){ var _9=null; if(_8&&_8.frames){ var _a=_8.frames[_5.VIEW_AREA+"-iframe"]; if(_a){ _9=_a.window; } } return _9; },_b=function(_c){ return _7(_c); },_d=function(){ return top.location.href.indexOf("/$preview")>=0; }; if(!_d()){ if((_6&&self===top)||(!_6&&self!==top&&_b(self.parent)&&_7(self.parent)===self)){ var _e=_5.getBaseURL(_5.getWindow(_5.VIEW_AREA)||top),_f=_e.indexOf("?"); if(_f>=0){ _e=_e.substr(0,_f); } _e+="?uri=toolbar:close"; top.location.href=_e; } } var _10=function(){ if(!_6&&self===top){ var doc=document,_11=doc.activeElement; if(doc.getElementsByClassName&&(!_11||_11===doc.body)){ var n=doc.getElementsByClassName("wpToolbarFocusStart"); if(n&&n.length>0){ var e=n[0]; e.focus(); } } } }; _10(); }); } }); })(); }catch(e){console.log("Module 'wp_toolbar_viewframe_validator': ",e);} try{/** Licensed Materials - Property of IBM, 5724-U69, (C) Copyright IBM Corp. 2009, 2010 - All Rights reserved. **/ (function(){var _1={};var _2=[];var _3=1;var _4={};_4.register=function(_5){var id=_6();_1[id]=_5;_2.push(_5);return id;};_4.deregister=function(_7){_1[_7]=null;_2=[];};_4.notify=function(_8,_9,_a){var _b=_c();var i=0;var _d=_b.length;if(!_a){_a={type:"AJAX"};}var _e=function(){if(i<_d){var _f=_b[i];i++;if(_f){_f(_8,_e,_a);}else{_e();}}};_e();if(_9){_9();}};_4.isActive=function(){return _2.length>0;};var _6=function(){return _3++;};var _c=function(){if(!_2||_2.length<=0){for(var _10 in _1){if(_1.hasOwnProperty(_10)){_2.push(_10);}}}return _2;};if(typeof (com)=="undefined"){com={};}if(typeof (com.ibm)=="undefined"){com.ibm={};}if(typeof (com.ibm.portal)=="undefined"){com.ibm.portal={};}if(typeof (com.ibm.portal.analytics)=="undefined"){com.ibm.portal.analytics={};}com.ibm.portal.analytics.SiteAnalyticsMediator=_4;com.ibm.portal.analytics.getSiteAnalyticsMediator=function(){return _4;};})();(function(){var _11=function(e){if(_12()){var _13=ibmCfg.portalConfig.currentPageOID;_14(null,null,{type:"PAGE",id:_13});var _15=_16();if(_15&&_15.length>0){for(var i=0;i<_15.length;++i){var _17=_15[i];var _18={};_18.type="PORTLET";_18.id=_19(_17);_1a(_17,_18.id);_14([_17],null,_18);}}}};var _14=function(_1b,_1c,_1d){com.ibm.portal.analytics.SiteAnalyticsMediator.notify(_1b,_1c,_1d);};var _12=function(){return com.ibm.portal.analytics.SiteAnalyticsMediator.isActive();};var _16=function(){var _1e=document.getElementById("layoutContainers");return _1f("div","component-control",_1e);};var _19=function(_20){var _21=_20.className,id=null;if(_21){var _22=_21.split(" ");for(var i=0,l=_22.length;i=0){id=cls.substring(_23+3);break;}}}return id;};var _1a=function(_24,_25){var _26=_24.className&&_24.className.indexOf("asa.portlet.selected")>=0;if(_26){var _27=document.getElementById("asa.portlet."+_25);if(_27){var _28=document.createElement("span");_28.className="asa.portlet.selected";_28.innerHTML="true";_27.appendChild(_28);}}};var _1f=function(_29,_2a,_2b){if(!_2b){_2b=document;}if(document.getElementsByClassName){return _2b.getElementsByClassName(_2a);}else{var _2c=[];_2a=_2a.toLowerCase();var _2d=_2b.getElementsByTagName(_29);if(_2d&&_2d.length>0){for(var i=0,l=_2d.length;i=0){_2c.push(e);}}}return _2c;}};var _2e=i$.addOnLoad;if(typeof wp_wcm_async!="undefined"){_2e=i$.scope(wp_wcm_async,wp_wcm_async.addOnPageLoad);}_2e(_11);})(); }catch(e){console.log("Module 'wp_analytics_aggregator': ",e);}