dojo.registerModulePath("com.ibm.ajax", "../com.ibm.ajax");

;if(!dojo._hasResource["com.ibm.ajax.auth"]){
dojo._hasResource["com.ibm.ajax.auth"]=true;
dojo.provide("com.ibm.ajax.auth");
com.ibm.ajax.auth={contentTypeRegex:/^text\/html/,ignoredDojoErrors:["cancel","timeout"],nonHtmlTypes:["xml","json","json-comment-optional"],checkFromCaller:true,checkByContentType:true,checkByStatusCode:true,checkAllStatusCodes:false,checkByXLConnAuth:false,authenticationChecks:[],interceptDojoXhr:function(_1){
if(this._intercepted){
return;
}
this._intercepted=true;
if(_1){
this.isUrlSecure=_1;
}
dojo.xhr=dojo.hitch(dojo,this.xhrIntercept,this,dojo.xhr);
if(dojo.getObject("dojo.io.iframe")){
dojo.io.iframe.send=dojo.hitch(dojo.io.iframe,this.ioIntercept,this,dojo.io.iframe.send);
}
},prepareSecure:function(_2,_3,_4,_5){
if(_2["com.ibm.ajax.auth.prepareSecureCalled"]){
return _2;
}else{
_2["com.ibm.ajax.auth.prepareSecureCalled"]=true;
}
if(!_5){
var h=_2.headers=_2.headers||{};
var p=h["Pragma"];
if(!dojo.isArray(p)){
p=h["Pragma"]=(p)?[p]:[];
}
p.push("WWW-Authenticate=XHR");
}
_2._handle=_2.handle;
_2.handle=dojo.partial(this.testAuthenticationHandler,this,_3,_4);
return _2;
},setAuthenticationHandler:function(_6){
this.authenticationHandler=_6;
},setDefaultAuthenticationTests:function(_7,_8,_9){
this.checkFromCaller=_7;
this.checkByContentType=_8;
this.checkByStatusCode=_9;
},addAuthenticationCheck:function(_a){
if(_a){
this.authenticationChecks.push(_a);
}
},setAuthenticationTest:function(_b){
this.isAuthenticationRequired=dojo.partial(_b,this);
},isAuthenticationRequired:function(_c,_d){
if(this.isPossibleLoginRedirect(_c,_d)){
return true;
}
for(var i=0;i<this.authenticationChecks.length;i++){
if(this.authenticationChecks[i](this,_c,_d)){
_d._authOutcome="Custom authentication check #"+(i+1)+" indicated login necessary";
return true;
}
}
return false;
},isPossibleLoginRedirect:function(_e,_f){
if(_f.xhr&&(!_e||dojo.indexOf(this.ignoredDojoErrors,_e.dojoType)==-1)){
var _10;
try{
_10=_f.xhr.status;
}
catch(e){
}
var _11=_f.args.expectedContentType||_f.args.handleAs;
var _12=dojo.indexOf(this.nonHtmlTypes,_11)!=-1;
if(this.checkByStatusCode&&(_12||this.checkAllStatusCodes)){
if(_10==302){
_f._authOutcome="Status code was 302";
return true;
}
if(_10==401){
_f._authOutcome="Status code was 401";
return true;
}
if(dojo.isIE&&(_10==0||_10=="unknown")){
_f._authOutcome="Status code was 0 or \"unknown\"";
return true;
}
}
if(this.checkByContentType&&_12&&this.contentTypeRegex.exec(_f.xhr.getResponseHeader("Content-Type"))&&_10>=200&&_10<300&&_10!=204){
_f._authOutcome="Content-Type was HTML and status code indicated success";
return true;
}
try{
if(this.checkByXLConnAuth&&_f&&_f.xhr){
var h=_f.xhr.getResponseHeader("X-LConn-Auth");
if(h=="true"){
return false;
}
if(h=="false"){
return true;
}
}
}
catch(e){
}
}
return false;
},testAuthenticationHandler:function(_13,_14,_15,_16,_17){
var _18=dojo._toArray(arguments).slice(3);
var _19=false;
if(_13.checkFromCaller&&typeof _14=="function"&&_14(_16,_17)){
_17._authOutcome="isAuthRequired returned true";
_19=true;
}
_19=_19||_13.isAuthenticationRequired(_16,_17);
if(_19){
_13.authenticationHandler(_16,_17,_15);
_18[0]=new Error("xhr unauthenticated");
_18[0].dojoType="unauthenticated";
}
if(_17.args._handle){
return _17.args._handle.apply(this,_18);
}
return _16;
},authenticationHandler:function(){
console.log("auth::authenticationHandler DEBUG authentication was required");
},xhrIntercept:function(_1a,f,_1b,_1c){
var _1d=dojo._toArray(arguments).slice(2);
var p=_1c["auth"]||{};
var _1e=p.secured;
if(_1e||(_1e!=false&&_1a.isUrlSecure(_1c.url))){
_1d[1]=_1a.prepareSecure(_1c,p.isAuthRequired,p.onLogin,p.sendXhrAuthHeader===false);
}
return f.apply(this,_1d);
},ioIntercept:function(_1f,f,_20){
var _21=dojo._toArray(arguments).slice(2);
var p=_20["auth"]||{};
var _22=p.secured;
if(_22||(_22!=false&&_1f.isUrlSecure(_20.url))){
_21[0]=_1f.prepareSecure(_20,p.isAuthRequired,p.onLogin,p.sendXhrAuthHeader===false);
}
return f.apply(this,_21);
},isUrlSecure:function(url){
return false;
}};
}

dojo.registerModulePath("com.ibm.mm", "../com.ibm.mm");

;if(!dojo._hasResource["com.ibm.mm.livetext.serviceImpl"]){
dojo._hasResource["com.ibm.mm.livetext.serviceImpl"]=true;
dojo.provide("com.ibm.mm.livetext.serviceImpl");
dojo.declare("com.ibm.mm.livetext.serviceImpl",null,{_tagTypes:null,tagChanged:"/com/ibm/mashups/livetext/livetextchanged",tagStatusChange:"/com/ibm/mashups/livetext/livetextchanged",tagContentChanged:"/com/ibm/mashups/livetext/livetextcontentchanged",entryAdded:"/com/ibm/mashups/livetext/configentryadded",entryRemoved:"/com/ibm/mashups/livetext/configentryremoved",init:function(){
this._loadTags();
dojo.subscribe(this.tagChanged,this,"onTagChanged");
dojo.subscribe(this.tagContentChanged,this,"onTagContentChanged");
dojo.subscribe(this.entryAdded,this,"onAddConfigEntry");
dojo.subscribe(this.entryRemoved,this,"onRemoveConfigEntry");
dojo.publish(this.tagContentChanged,[document,true]);
},_getNodes:function(_1,_2){
if(_2.processEnclosedTags){
return dojo.query(_2.match,_1);
}else{
var a=dojo.query(_2.match+" "+_2.match,_1);
var b=dojo.query(_2.match,_1);
var _3,_4;
while(a.length>0){
_3=a[0];
_4=0;
while(_4<b.length){
if(_3==b[_4]){
a.splice(0,1);
b.splice(_4,1);
break;
}else{
_4++;
}
}
}
return b;
}
},onTagChanged:function(_5,_6,_7,_8){
var _9=null,_a=null,_b=null;
for(var _c=0;_c<this._tagTypes.length;_c++){
_9=this._tagTypes[_c];
this._processTypeTag(_5,_9,_6,_7,_8,true);
}
},onTagContentChanged:function(_d,_e,_f,_10){
var tag=null,_11=null,_12=null;
for(var _13=0;_13<this._tagTypes.length;_13++){
tag=this._tagTypes[_13];
this._processTypeTag(_d,tag,_e,_f,_10,false);
}
},_processTypeTag:function(_14,tag,_15,_16,_17,_18){
var _19=[];
if(_18&&this._checkRoot(_14,tag)){
_19[0]=_14;
}
_19=_19.concat(this._getNodes(_14,tag));
var _1a=[];
_1a=_1a.concat(_19);
if(_1a.length>0){
if(tag.loaded==null){
this._loadTagHandler(tag);
}
var _1b=[];
if(dojo.isFunction(_16)){
try{
_16(_14,_1a);
}
catch(error){
console.debug(error);
}
}
for(var _1c=0;_1c<_19.length;_1c++){
try{
tag.tagHandler.processTag(_19[_1c]);
}
catch(error){
_1b[_1b.length]=error;
if(_15){
break;
}
}
}
if(dojo.isFunction(_17)){
try{
_17(_14,_1a,_1b);
}
catch(error){
console.debug(error);
}
}
}
},_checkRoot:function(_1d,tag){
var _1e=false;
if(_1d!=null&&_1d.nodeType){
var _1f=_1d.cloneNode(false);
var _20=document.createElement("div");
_20.appendChild(_1f);
var _21=this._getNodes(_20,tag);
if(_21!=null&&_21.length>0){
_1e=true;
}
delete _1f;
delete _20;
delete _21;
}
return _1e;
},_loadTags:function(){
if(this._tagTypes==null){
var _22=this;
if(typeof livetextCfg!="undefined"){
this._tagTypes=livetextCfg;
}else{
dojo.xhrGet({url:dojo.moduleUrl("com.ibm.mm.livetext","tagservice.entries.cfg"),handleAs:"text",sync:true,load:function(_23){
_22._tagTypes=dojo.fromJson(_23);
},error:function(_24){
console.dir(_24);
}});
}
}
},onAddConfigEntry:function(_25){
},onRemoveConfigEntry:function(_26){
},parseDom:function(_27,_28){
dojo.publish(this.tagChanged,[_28]);
},_loadTagHandler:function(tag){
dojo.registerModulePath(tag.module,tag.path);
dojo.eval("dojo.r"+"equire('"+tag.baseClass+"')");
var _29="{create:function(){return new "+tag.baseClass+"()}}";
var _2a=dojo.fromJson(_29);
tag.tagHandler=_2a.create();
tag.loaded=true;
}});
}

dojo.registerModulePath("dijit", "../dijit");

;if(!dojo._hasResource["dijit._base.manager"]){
dojo._hasResource["dijit._base.manager"]=true;
dojo.provide("dijit._base.manager");
dojo.declare("dijit.WidgetSet",null,{constructor:function(){
this._hash={};
this.length=0;
},add:function(_1){
if(this._hash[_1.id]){
throw new Error("Tried to register widget with id=="+_1.id+" but that id is already registered");
}
this._hash[_1.id]=_1;
this.length++;
},remove:function(id){
if(this._hash[id]){
delete this._hash[id];
this.length--;
}
},forEach:function(_2,_3){
_3=_3||dojo.global;
var i=0,id;
for(id in this._hash){
_2.call(_3,this._hash[id],i++,this._hash);
}
return this;
},filter:function(_4,_5){
_5=_5||dojo.global;
var _6=new dijit.WidgetSet(),i=0,id;
for(id in this._hash){
var w=this._hash[id];
if(_4.call(_5,w,i++,this._hash)){
_6.add(w);
}
}
return _6;
},byId:function(id){
return this._hash[id];
},byClass:function(_7){
var _8=new dijit.WidgetSet(),id,_9;
for(id in this._hash){
_9=this._hash[id];
if(_9.declaredClass==_7){
_8.add(_9);
}
}
return _8;
},toArray:function(){
var ar=[];
for(var id in this._hash){
ar.push(this._hash[id]);
}
return ar;
},map:function(_a,_b){
return dojo.map(this.toArray(),_a,_b);
},every:function(_c,_d){
_d=_d||dojo.global;
var x=0,i;
for(i in this._hash){
if(!_c.call(_d,this._hash[i],x++,this._hash)){
return false;
}
}
return true;
},some:function(_e,_f){
_f=_f||dojo.global;
var x=0,i;
for(i in this._hash){
if(_e.call(_f,this._hash[i],x++,this._hash)){
return true;
}
}
return false;
}});
dijit.registry=new dijit.WidgetSet();
dijit._widgetTypeCtr={};
dijit.getUniqueId=function(_10){
var id;
do{
id=_10+"_"+(_10 in dijit._widgetTypeCtr?++dijit._widgetTypeCtr[_10]:dijit._widgetTypeCtr[_10]=0);
}while(dijit.byId(id));
return dijit._scopeName=="dijit"?id:dijit._scopeName+"_"+id;
};
dijit.findWidgets=function(_11){
var _12=[];
function _13(_14){
for(var _15=_14.firstChild;_15;_15=_15.nextSibling){
if(_15.nodeType==1){
var _16=_15.getAttribute("widgetId");
if(_16){
var _17=dijit.byId(_16);
_12.push(_17);
}else{
_13(_15);
}
}
}
};
_13(_11);
return _12;
};
dijit._destroyAll=function(){
dijit._curFocus=null;
dijit._prevFocus=null;
dijit._activeStack=[];
dojo.forEach(dijit.findWidgets(dojo.body()),function(_18){
if(!_18._destroyed){
if(_18.destroyRecursive){
_18.destroyRecursive();
}else{
if(_18.destroy){
_18.destroy();
}
}
}
});
};
if(dojo.isIE){
dojo.addOnWindowUnload(function(){
dijit._destroyAll();
});
}
dijit.byId=function(id){
return typeof id=="string"?dijit.registry._hash[id]:id;
};
dijit.byNode=function(_19){
return dijit.registry.byId(_19.getAttribute("widgetId"));
};
dijit.getEnclosingWidget=function(_1a){
while(_1a){
var id=_1a.getAttribute&&_1a.getAttribute("widgetId");
if(id){
return dijit.byId(id);
}
_1a=_1a.parentNode;
}
return null;
};
dijit._isElementShown=function(_1b){
var _1c=dojo.style(_1b);
return (_1c.visibility!="hidden")&&(_1c.visibility!="collapsed")&&(_1c.display!="none")&&(dojo.attr(_1b,"type")!="hidden");
};
dijit.isTabNavigable=function(_1d){
if(dojo.attr(_1d,"disabled")){
return false;
}else{
if(dojo.hasAttr(_1d,"tabIndex")){
return dojo.attr(_1d,"tabIndex")>=0;
}else{
switch(_1d.nodeName.toLowerCase()){
case "a":
return dojo.hasAttr(_1d,"href");
case "area":
case "button":
case "input":
case "object":
case "select":
case "textarea":
return true;
case "iframe":
if(dojo.isMoz){
return _1d.contentDocument.designMode=="on";
}else{
if(dojo.isWebKit){
var doc=_1d.contentDocument,_1e=doc&&doc.body;
return _1e&&_1e.contentEditable=="true";
}else{
try{
doc=_1d.contentWindow.document;
_1e=doc&&doc.body;
return _1e&&_1e.firstChild&&_1e.firstChild.contentEditable=="true";
}
catch(e){
return false;
}
}
}
default:
return _1d.contentEditable=="true";
}
}
}
};
dijit._getTabNavigable=function(_1f){
var _20,_21,_22,_23,_24,_25;
var _26=function(_27){
dojo.query("> *",_27).forEach(function(_28){
var _29=dijit._isElementShown(_28);
if(_29&&dijit.isTabNavigable(_28)){
var _2a=dojo.attr(_28,"tabIndex");
if(!dojo.hasAttr(_28,"tabIndex")||_2a==0){
if(!_20){
_20=_28;
}
_21=_28;
}else{
if(_2a>0){
if(!_22||_2a<_23){
_23=_2a;
_22=_28;
}
if(!_24||_2a>=_25){
_25=_2a;
_24=_28;
}
}
}
}
if(_29&&_28.nodeName.toUpperCase()!="SELECT"){
_26(_28);
}
});
};
if(dijit._isElementShown(_1f)){
_26(_1f);
}
return {first:_20,last:_21,lowest:_22,highest:_24};
};
dijit.getFirstInTabbingOrder=function(_2b){
var _2c=dijit._getTabNavigable(dojo.byId(_2b));
return _2c.lowest?_2c.lowest:_2c.first;
};
dijit.getLastInTabbingOrder=function(_2d){
var _2e=dijit._getTabNavigable(dojo.byId(_2d));
return _2e.last?_2e.last:_2e.highest;
};
dijit.defaultDuration=dojo.config["defaultDuration"]||200;
}


;if(!dojo._hasResource["dijit._base.focus"]){
dojo._hasResource["dijit._base.focus"]=true;
dojo.provide("dijit._base.focus");
dojo.require("dijit._base.manager");
dojo.mixin(dijit,{_curFocus:null,_prevFocus:null,isCollapsed:function(){
return dijit.getBookmark().isCollapsed;
},getBookmark:function(){
var bm,rg,tg,_1=dojo.doc.selection,cf=dijit._curFocus;
if(dojo.global.getSelection){
_1=dojo.global.getSelection();
if(_1){
if(_1.isCollapsed){
tg=cf?cf.tagName:"";
if(tg){
tg=tg.toLowerCase();
if(tg=="textarea"||(tg=="input"&&(!cf.type||cf.type.toLowerCase()=="text"))){
_1={start:cf.selectionStart,end:cf.selectionEnd,node:cf,pRange:true};
return {isCollapsed:(_1.end<=_1.start),mark:_1};
}
}
bm={isCollapsed:true};
}else{
rg=_1.getRangeAt(0);
bm={isCollapsed:false,mark:rg.cloneRange()};
}
}
}else{
if(_1){
tg=cf?cf.tagName:"";
tg=tg.toLowerCase();
if(cf&&tg&&(tg=="button"||tg=="textarea"||tg=="input")){
if(_1.type&&_1.type.toLowerCase()=="none"){
return {isCollapsed:true,mark:null};
}else{
rg=_1.createRange();
return {isCollapsed:rg.text&&rg.text.length?false:true,mark:{range:rg,pRange:true}};
}
}
bm={};
try{
rg=_1.createRange();
bm.isCollapsed=!(_1.type=="Text"?rg.htmlText.length:rg.length);
}
catch(e){
bm.isCollapsed=true;
return bm;
}
if(_1.type.toUpperCase()=="CONTROL"){
if(rg.length){
bm.mark=[];
var i=0,_2=rg.length;
while(i<_2){
bm.mark.push(rg.item(i++));
}
}else{
bm.isCollapsed=true;
bm.mark=null;
}
}else{
bm.mark=rg.getBookmark();
}
}else{
console.warn("No idea how to store the current selection for this browser!");
}
}
return bm;
},moveToBookmark:function(_3){
var _4=dojo.doc,_5=_3.mark;
if(_5){
if(dojo.global.getSelection){
var _6=dojo.global.getSelection();
if(_6&&_6.removeAllRanges){
if(_5.pRange){
var r=_5;
var n=r.node;
n.selectionStart=r.start;
n.selectionEnd=r.end;
}else{
_6.removeAllRanges();
_6.addRange(_5);
}
}else{
console.warn("No idea how to restore selection for this browser!");
}
}else{
if(_4.selection&&_5){
var rg;
if(_5.pRange){
rg=_5.range;
}else{
if(dojo.isArray(_5)){
rg=_4.body.createControlRange();
dojo.forEach(_5,function(n){
rg.addElement(n);
});
}else{
rg=_4.body.createTextRange();
rg.moveToBookmark(_5);
}
}
rg.select();
}
}
}
},getFocus:function(_7,_8){
var _9=!dijit._curFocus||(_7&&dojo.isDescendant(dijit._curFocus,_7.domNode))?dijit._prevFocus:dijit._curFocus;
return {node:_9,bookmark:(_9==dijit._curFocus)&&dojo.withGlobal(_8||dojo.global,dijit.getBookmark),openedForWindow:_8};
},focus:function(_a){
if(!_a){
return;
}
var _b="node" in _a?_a.node:_a,_c=_a.bookmark,_d=_a.openedForWindow,_e=_c?_c.isCollapsed:false;
if(_b){
var _f=(_b.tagName.toLowerCase()=="iframe")?_b.contentWindow:_b;
if(_f&&_f.focus){
try{
_f.focus();
}
catch(e){
}
}
dijit._onFocusNode(_b);
}
if(_c&&dojo.withGlobal(_d||dojo.global,dijit.isCollapsed)&&!_e){
if(_d){
_d.focus();
}
try{
dojo.withGlobal(_d||dojo.global,dijit.moveToBookmark,null,[_c]);
}
catch(e2){
}
}
},_activeStack:[],registerIframe:function(_10){
return dijit.registerWin(_10.contentWindow,_10);
},unregisterIframe:function(_11){
dijit.unregisterWin(_11);
},registerWin:function(_12,_13){
var _14=function(evt){
dijit._justMouseDowned=true;
setTimeout(function(){
dijit._justMouseDowned=false;
},0);
dijit._onTouchNode(_13||evt.target||evt.srcElement,"mouse");
};
var doc=dojo.isIE?_12.document.documentElement:_12.document;
if(doc){
if(dojo.isIE){
doc.attachEvent("onmousedown",_14);
var _15=function(evt){
if(evt.srcElement.tagName.toLowerCase()!="#document"&&dijit.isTabNavigable(evt.srcElement)){
dijit._onFocusNode(_13||evt.srcElement);
}else{
dijit._onTouchNode(_13||evt.srcElement);
}
};
doc.attachEvent("onactivate",_15);
var _16=function(evt){
dijit._onBlurNode(_13||evt.srcElement);
};
doc.attachEvent("ondeactivate",_16);
return function(){
doc.detachEvent("onmousedown",_14);
doc.detachEvent("onactivate",_15);
doc.detachEvent("ondeactivate",_16);
doc=null;
};
}else{
doc.addEventListener("mousedown",_14,true);
var _17=function(evt){
dijit._onFocusNode(_13||evt.target);
};
doc.addEventListener("focus",_17,true);
var _18=function(evt){
dijit._onBlurNode(_13||evt.target);
};
doc.addEventListener("blur",_18,true);
return function(){
doc.removeEventListener("mousedown",_14,true);
doc.removeEventListener("focus",_17,true);
doc.removeEventListener("blur",_18,true);
doc=null;
};
}
}
},unregisterWin:function(_19){
_19&&_19();
},_onBlurNode:function(_1a){
dijit._prevFocus=dijit._curFocus;
dijit._curFocus=null;
if(dijit._justMouseDowned){
return;
}
if(dijit._clearActiveWidgetsTimer){
clearTimeout(dijit._clearActiveWidgetsTimer);
}
dijit._clearActiveWidgetsTimer=setTimeout(function(){
delete dijit._clearActiveWidgetsTimer;
dijit._setStack([]);
dijit._prevFocus=null;
},100);
},_onTouchNode:function(_1b,by){
if(dijit._clearActiveWidgetsTimer){
clearTimeout(dijit._clearActiveWidgetsTimer);
delete dijit._clearActiveWidgetsTimer;
}
var _1c=[];
try{
while(_1b){
var _1d=dojo.attr(_1b,"dijitPopupParent");
if(_1d){
_1b=dijit.byId(_1d).domNode;
}else{
if(_1b.tagName&&_1b.tagName.toLowerCase()=="body"){
if(_1b===dojo.body()){
break;
}
_1b=dijit.getDocumentWindow(_1b.ownerDocument).frameElement;
}else{
var id=_1b.getAttribute&&_1b.getAttribute("widgetId");
if(id){
_1c.unshift(id);
}
_1b=_1b.parentNode;
}
}
}
}
catch(e){
}
dijit._setStack(_1c,by);
},_onFocusNode:function(_1e){
if(!_1e){
return;
}
if(_1e.nodeType==9){
return;
}
dijit._onTouchNode(_1e);
if(_1e==dijit._curFocus){
return;
}
if(dijit._curFocus){
dijit._prevFocus=dijit._curFocus;
}
dijit._curFocus=_1e;
dojo.publish("focusNode",[_1e]);
},_setStack:function(_1f,by){
var _20=dijit._activeStack;
dijit._activeStack=_1f;
for(var _21=0;_21<Math.min(_20.length,_1f.length);_21++){
if(_20[_21]!=_1f[_21]){
break;
}
}
var _22;
for(var i=_20.length-1;i>=_21;i--){
_22=dijit.byId(_20[i]);
if(_22){
_22._focused=false;
_22._hasBeenBlurred=true;
if(_22._onBlur){
_22._onBlur(by);
}
if(_22._setStateClass){
_22._setStateClass();
}
dojo.publish("widgetBlur",[_22,by]);
}
}
for(i=_21;i<_1f.length;i++){
_22=dijit.byId(_1f[i]);
if(_22){
_22._focused=true;
if(_22._onFocus){
_22._onFocus(by);
}
if(_22._setStateClass){
_22._setStateClass();
}
dojo.publish("widgetFocus",[_22,by]);
}
}
}});
dojo.addOnLoad(function(){
var _23=dijit.registerWin(window);
if(dojo.isIE){
dojo.addOnWindowUnload(function(){
dijit.unregisterWin(_23);
_23=null;
});
}
});
}

dojo.registerModulePath("dojo", "../dojo");

;if(!dojo._hasResource["dojo.AdapterRegistry"]){
dojo._hasResource["dojo.AdapterRegistry"]=true;
dojo.provide("dojo.AdapterRegistry");
dojo.AdapterRegistry=function(_1){
this.pairs=[];
this.returnWrappers=_1||false;
};
dojo.extend(dojo.AdapterRegistry,{register:function(_2,_3,_4,_5,_6){
this.pairs[((_6)?"unshift":"push")]([_2,_3,_4,_5]);
},match:function(){
for(var i=0;i<this.pairs.length;i++){
var _7=this.pairs[i];
if(_7[1].apply(this,arguments)){
if((_7[3])||(this.returnWrappers)){
return _7[2];
}else{
return _7[2].apply(this,arguments);
}
}
}
throw new Error("No match found");
},unregister:function(_8){
for(var i=0;i<this.pairs.length;i++){
var _9=this.pairs[i];
if(_9[0]==_8){
this.pairs.splice(i,1);
return true;
}
}
return false;
}});
}


;if(!dojo._hasResource["dijit._base.place"]){
dojo._hasResource["dijit._base.place"]=true;
dojo.provide("dijit._base.place");
dojo.require("dojo.AdapterRegistry");
dijit.getViewport=function(){
var _1=(dojo.doc.compatMode=="BackCompat")?dojo.body():dojo.doc.documentElement;
var _2=dojo._docScroll();
return {w:_1.clientWidth,h:_1.clientHeight,l:_2.x,t:_2.y};
};
dijit.placeOnScreen=function(_3,_4,_5,_6){
var _7=dojo.map(_5,function(_8){
var c={corner:_8,pos:{x:_4.x,y:_4.y}};
if(_6){
c.pos.x+=_8.charAt(1)=="L"?_6.x:-_6.x;
c.pos.y+=_8.charAt(0)=="T"?_6.y:-_6.y;
}
return c;
});
return dijit._place(_3,_7);
};
dijit._place=function(_9,_a,_b){
var _c=dijit.getViewport();
if(!_9.parentNode||String(_9.parentNode.tagName).toLowerCase()!="body"){
dojo.body().appendChild(_9);
}
var _d=null;
dojo.some(_a,function(_e){
var _f=_e.corner;
var pos=_e.pos;
if(_b){
_b(_9,_e.aroundCorner,_f);
}
var _10=_9.style;
var _11=_10.display;
var _12=_10.visibility;
_10.visibility="hidden";
_10.display="";
var mb=dojo.marginBox(_9);
_10.display=_11;
_10.visibility=_12;
var _13=Math.max(_c.l,_f.charAt(1)=="L"?pos.x:(pos.x-mb.w)),_14=Math.max(_c.t,_f.charAt(0)=="T"?pos.y:(pos.y-mb.h)),_15=Math.min(_c.l+_c.w,_f.charAt(1)=="L"?(_13+mb.w):pos.x),_16=Math.min(_c.t+_c.h,_f.charAt(0)=="T"?(_14+mb.h):pos.y),_17=_15-_13,_18=_16-_14,_19=(mb.w-_17)+(mb.h-_18);
if(_d==null||_19<_d.overflow){
_d={corner:_f,aroundCorner:_e.aroundCorner,x:_13,y:_14,w:_17,h:_18,overflow:_19};
}
return !_19;
});
_9.style.left=_d.x+"px";
_9.style.top=_d.y+"px";
if(_d.overflow&&_b){
_b(_9,_d.aroundCorner,_d.corner);
}
return _d;
};
dijit.placeOnScreenAroundNode=function(_1a,_1b,_1c,_1d){
_1b=dojo.byId(_1b);
var _1e=_1b.style.display;
_1b.style.display="";
var _1f=dojo.position(_1b,true);
_1b.style.display=_1e;
return dijit._placeOnScreenAroundRect(_1a,_1f.x,_1f.y,_1f.w,_1f.h,_1c,_1d);
};
dijit.placeOnScreenAroundRectangle=function(_20,_21,_22,_23){
return dijit._placeOnScreenAroundRect(_20,_21.x,_21.y,_21.width,_21.height,_22,_23);
};
dijit._placeOnScreenAroundRect=function(_24,x,y,_25,_26,_27,_28){
var _29=[];
for(var _2a in _27){
_29.push({aroundCorner:_2a,corner:_27[_2a],pos:{x:x+(_2a.charAt(1)=="L"?0:_25),y:y+(_2a.charAt(0)=="T"?0:_26)}});
}
return dijit._place(_24,_29,_28);
};
dijit.placementRegistry=new dojo.AdapterRegistry();
dijit.placementRegistry.register("node",function(n,x){
return typeof x=="object"&&typeof x.offsetWidth!="undefined"&&typeof x.offsetHeight!="undefined";
},dijit.placeOnScreenAroundNode);
dijit.placementRegistry.register("rect",function(n,x){
return typeof x=="object"&&"x" in x&&"y" in x&&"width" in x&&"height" in x;
},dijit.placeOnScreenAroundRectangle);
dijit.placeOnScreenAroundElement=function(_2b,_2c,_2d,_2e){
return dijit.placementRegistry.match.apply(dijit.placementRegistry,arguments);
};
dijit.getPopupAlignment=function(_2f,_30){
var _31={};
dojo.forEach(_2f,function(pos){
switch(pos){
case "after":
_31[_30?"BR":"BL"]=_30?"BL":"BR";
break;
case "before":
_31[_30?"BL":"BR"]=_30?"BR":"BL";
break;
case "below":
_31[_30?"BL":"BR"]=_30?"TL":"TR";
_31[_30?"BR":"BL"]=_30?"TR":"TL";
break;
case "above":
default:
_31[_30?"TL":"TR"]=_30?"BL":"BR";
_31[_30?"TR":"TL"]=_30?"BR":"BL";
break;
}
});
return _31;
};
dijit.getPopupAroundAlignment=function(_32,_33){
var _34={};
dojo.forEach(_32,function(pos){
switch(pos){
case "after":
_34[_33?"BR":"BL"]=_33?"BL":"BR";
break;
case "before":
_34[_33?"BL":"BR"]=_33?"BR":"BL";
break;
case "below":
_34[_33?"BL":"BR"]=_33?"TL":"TR";
_34[_33?"BR":"BL"]=_33?"TR":"TL";
break;
case "above":
default:
_34[_33?"TL":"TR"]=_33?"BL":"BR";
_34[_33?"TR":"TL"]=_33?"BR":"BL";
break;
}
});
return _34;
};
}


;if(!dojo._hasResource["dijit._base.window"]){
dojo._hasResource["dijit._base.window"]=true;
dojo.provide("dijit._base.window");
dijit.getDocumentWindow=function(_1){
if(dojo.isIE&&window!==document.parentWindow&&!_1._parentWindow){
_1.parentWindow.execScript("document._parentWindow = window;","Javascript");
var _2=_1._parentWindow;
_1._parentWindow=null;
return _2;
}
return _1._parentWindow||_1.parentWindow||_1.defaultView;
};
}


;if(!dojo._hasResource["dijit._base.popup"]){
dojo._hasResource["dijit._base.popup"]=true;
dojo.provide("dijit._base.popup");
dojo.require("dijit._base.focus");
dojo.require("dijit._base.place");
dojo.require("dijit._base.window");
dijit.popup=new function(){
var _1=[],_2=1000,_3=1;
this.moveOffScreen=function(_4){
var s=_4.style;
s.visibility="hidden";
s.position="absolute";
s.top="-9999px";
if(s.display=="none"){
s.display="";
}
dojo.body().appendChild(_4);
};
var _5=function(){
for(var pi=_1.length-1;pi>0&&_1[pi].parent===_1[pi-1].widget;pi--){
}
return _1[pi];
};
var _6=[];
this.open=function(_7){
var _8=_7.popup,_9=_7.orient||(dojo._isBodyLtr()?{"BL":"TL","BR":"TR","TL":"BL","TR":"BR"}:{"BR":"TR","BL":"TL","TR":"BR","TL":"BL"}),_a=_7.around,id=(_7.around&&_7.around.id)?(_7.around.id+"_dropdown"):("popup_"+_3++);
var _b=_6.pop(),_c,_d;
if(!_b){
_c=dojo.create("div",{"class":"dijitPopup"},dojo.body());
dijit.setWaiRole(_c,"presentation");
}else{
_c=_b[0];
_d=_b[1];
}
dojo.attr(_c,{id:id,style:{zIndex:_2+_1.length,visibility:"hidden",top:"-9999px"},dijitPopupParent:_7.parent?_7.parent.id:""});
var s=_8.domNode.style;
s.display="";
s.visibility="";
s.position="";
s.top="0px";
_c.appendChild(_8.domNode);
if(!_d){
_d=new dijit.BackgroundIframe(_c);
}else{
_d.resize(_c);
}
var _e=_a?dijit.placeOnScreenAroundElement(_c,_a,_9,_8.orient?dojo.hitch(_8,"orient"):null):dijit.placeOnScreen(_c,_7,_9=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],_7.padding);
_c.style.visibility="visible";
var _f=[];
_f.push(dojo.connect(_c,"onkeypress",this,function(evt){
if(evt.charOrCode==dojo.keys.ESCAPE&&_7.onCancel){
dojo.stopEvent(evt);
_7.onCancel();
}else{
if(evt.charOrCode===dojo.keys.TAB){
dojo.stopEvent(evt);
var _10=_5();
if(_10&&_10.onCancel){
_10.onCancel();
}
}
}
}));
if(_8.onCancel){
_f.push(dojo.connect(_8,"onCancel",_7.onCancel));
}
_f.push(dojo.connect(_8,_8.onExecute?"onExecute":"onChange",function(){
var _11=_5();
if(_11&&_11.onExecute){
_11.onExecute();
}
}));
_1.push({wrapper:_c,iframe:_d,widget:_8,parent:_7.parent,onExecute:_7.onExecute,onCancel:_7.onCancel,onClose:_7.onClose,handlers:_f});
if(_8.onOpen){
_8.onOpen(_e);
}
return _e;
};
this.close=function(_12){
while(dojo.some(_1,function(_13){
return _13.widget==_12;
})){
var top=_1.pop(),_14=top.wrapper,_15=top.iframe,_16=top.widget,_17=top.onClose;
if(_16.onClose){
_16.onClose();
}
dojo.forEach(top.handlers,dojo.disconnect);
if(_16&&_16.domNode){
this.moveOffScreen(_16.domNode);
}
_14.style.top="-9999px";
_14.style.visibility="hidden";
_6.push([_14,_15]);
if(_17){
_17();
}
}
};
}();
dijit._frames=new function(){
var _18=[];
this.pop=function(){
var _19;
if(_18.length){
_19=_18.pop();
_19.style.display="";
}else{
if(dojo.isIE){
var _1a=dojo.config["dojoBlankHtmlUrl"]||(dojo.moduleUrl("dojo","resources/blank.html")+"")||"javascript:\"\"";
var _1b="<iframe src='"+_1a+"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";
_19=dojo.doc.createElement(_1b);
}else{
_19=dojo.create("iframe");
_19.src="javascript:\"\"";
_19.className="dijitBackgroundIframe";
dojo.style(_19,"opacity",0.1);
}
_19.tabIndex=-1;
}
return _19;
};
this.push=function(_1c){
_1c.style.display="none";
_18.push(_1c);
};
}();
dijit.BackgroundIframe=function(_1d){
if(!_1d.id){
throw new Error("no id");
}
if(dojo.isIE||dojo.isMoz){
var _1e=dijit._frames.pop();
_1d.appendChild(_1e);
if(dojo.isIE<7){
this.resize(_1d);
this._conn=dojo.connect(_1d,"onresize",this,function(){
this.resize(_1d);
});
}else{
dojo.style(_1e,{width:"100%",height:"100%"});
}
this.iframe=_1e;
}
};
dojo.extend(dijit.BackgroundIframe,{resize:function(_1f){
if(this.iframe&&dojo.isIE<7){
dojo.style(this.iframe,{width:_1f.offsetWidth+"px",height:_1f.offsetHeight+"px"});
}
},destroy:function(){
if(this._conn){
dojo.disconnect(this._conn);
this._conn=null;
}
if(this.iframe){
dijit._frames.push(this.iframe);
delete this.iframe;
}
}});
}

dojo.registerModulePath("com.ibm.oneui", "../com.ibm.oneui");

;if(!dojo._hasResource["com.ibm.oneui.util.openAround"]){
dojo._hasResource["com.ibm.oneui.util.openAround"]=true;
dojo.provide("com.ibm.oneui.util.openAround");
dojo.require("dijit._base.popup");
com.ibm.oneui.util.openAround=function(_1,_2,_3,_4){
var _5=dijit.byId(_1);
if(_4){
dojo.stopEvent(_4);
}
if(_5&&_5.preventReopen){
_5.preventReopen=_5.wasShowing=false;
return;
}
if(_4&&!_2){
_2=_4.target;
}
function _6(){
try{
dijit.focus(_2);
}
catch(e){
}
dijit.popup.close(_5);
};
dijit.popup.open({popup:_5,around:_2,orient:(_3?_3.orient:null)||(dojo._isBodyLtr()?{"BL":"TL","BR":"TR","TL":"BL","TR":"BR"}:{"BR":"TR","BL":"TL","TR":"BR","TL":"BL"}),onExecute:_6,onCancel:_6});
_5.focus();
if(!_5._blurCloseHandler){
_5._blurCloseHandler=_5.connect(_5,"_onBlur",function(){
_5.wasShowing=_5.isShowingNow;
setTimeout(function(){
_5.wasShowing=false;
},1);
dijit.popup.close(_5);
});
}
};
}


;if(!dojo._hasResource["com.ibm.oneui.util.proxy"]){
dojo._hasResource["com.ibm.oneui.util.proxy"]=true;
(function(){
dojo.provide("com.ibm.oneui.util.proxy");
var _1=com.ibm.oneui.util;
var _2=function(_3){
return _3=="https"?443:80;
};
var _4=dojo.config.proxy;
if(_4){
var _5=window.location;
var _6=_5.hostname||localhost;
var _7=(_5.protocol||"http").replace(":","");
var _8=_5.port||_2(_7);
_1.proxy=function(_9){
var _a=new dojo._Url(_9);
var _b=_a.host;
if(_b){
var _c=_a.scheme||_7;
var _d=_a.port||_2(_c);
if(_c!=_7||_d!=_8||_b!=_6){
return _4+"/"+_c+"/"+encodeURIComponent(_b+":"+_d)+(_a.path||"")+(_a.query?("?"+_a.query):"");
}
}
return _9;
};
}else{
_1.proxy=function(_e){
return _e;
};
}
})();
}


;if(!dojo._hasResource["dijit._base.scroll"]){
dojo._hasResource["dijit._base.scroll"]=true;
dojo.provide("dijit._base.scroll");
dijit.scrollIntoView=function(_1,_2){
try{
_1=dojo.byId(_1);
var _3=_1.ownerDocument||dojo.doc,_4=_3.body||dojo.body(),_5=_3.documentElement||_4.parentNode,_6=dojo.isIE,_7=dojo.isWebKit;
if((!(dojo.isMoz||_6||_7)||_1==_4||_1==_5)&&(typeof _1.scrollIntoView!="undefined")){
_1.scrollIntoView(false);
return;
}
var _8=_3.compatMode=="BackCompat",_9=_8?_4:_5,_a=_7?_4:_9,_b=_9.clientWidth,_c=_9.clientHeight,_d=!dojo._isBodyLtr(),_e=_2||dojo.position(_1),el=_1.parentNode,_f=function(el){
return ((_6<=6||(_6&&_8))?false:(dojo.style(el,"position").toLowerCase()=="fixed"));
};
if(_f(_1)){
return;
}
while(el){
if(el==_4){
el=_a;
}
var _10=dojo.position(el),_11=_f(el);
with(_10){
if(el==_a){
w=_b,h=_c;
if(_a==_5&&_6&&_d){
x+=_a.offsetWidth-w;
}
if(x<0||!_6){
x=0;
}
if(y<0||!_6){
y=0;
}
}else{
var pb=dojo._getPadBorderExtents(el);
w-=pb.w;
h-=pb.h;
x+=pb.l;
y+=pb.t;
}
with(el){
if(el!=_a){
var _12=clientWidth,_13=w-_12;
if(_12>0&&_13>0){
w=_12;
if(_6&&_d){
x+=_13;
}
}
_12=clientHeight;
_13=h-_12;
if(_12>0&&_13>0){
h=_12;
}
}
if(_11){
if(y<0){
h+=y,y=0;
}
if(x<0){
w+=x,x=0;
}
if(y+h>_c){
h=_c-y;
}
if(x+w>_b){
w=_b-x;
}
}
var l=_e.x-x,t=_e.y-Math.max(y,0),r=l+_e.w-w,bot=t+_e.h-h;
if(r*l>0){
var s=Math[l<0?"max":"min"](l,r);
_e.x+=scrollLeft;
scrollLeft+=(_6>=8&&!_8&&_d)?-s:s;
_e.x-=scrollLeft;
}
if(bot*t>0){
_e.y+=scrollTop;
scrollTop+=Math[t<0?"max":"min"](t,bot);
_e.y-=scrollTop;
}
}
}
el=(el!=_a)&&!_11&&el.parentNode;
}
}
catch(error){
console.error("scrollIntoView: "+error);
_1.scrollIntoView(false);
}
};
}


;if(!dojo._hasResource["dijit._base.sniff"]){
dojo._hasResource["dijit._base.sniff"]=true;
dojo.provide("dijit._base.sniff");
(function(){
var d=dojo,_1=d.doc.documentElement,ie=d.isIE,_2=d.isOpera,_3=Math.floor,ff=d.isFF,_4=d.boxModel.replace(/-/,""),_5={dj_ie:ie,dj_ie6:_3(ie)==6,dj_ie7:_3(ie)==7,dj_ie8:_3(ie)==8,dj_iequirks:ie&&d.isQuirks,dj_opera:_2,dj_khtml:d.isKhtml,dj_webkit:d.isWebKit,dj_safari:d.isSafari,dj_chrome:d.isChrome,dj_gecko:d.isMozilla,dj_ff3:_3(ff)==3};
_5["dj_"+_4]=true;
for(var p in _5){
if(_5[p]){
if(_1.className){
_1.className+=" "+p;
}else{
_1.className=p;
}
}
}
dojo._loaders.unshift(function(){
if(!dojo._isBodyLtr()){
_1.className+=" dijitRtl";
for(var p in _5){
if(_5[p]){
_1.className+=" "+p+"-rtl";
}
}
}
});
})();
}


;if(!dojo._hasResource["dijit._base.typematic"]){
dojo._hasResource["dijit._base.typematic"]=true;
dojo.provide("dijit._base.typematic");
dijit.typematic={_fireEventAndReload:function(){
this._timer=null;
this._callback(++this._count,this._node,this._evt);
this._currentTimeout=Math.max(this._currentTimeout<0?this._initialDelay:(this._subsequentDelay>1?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay)),10);
this._timer=setTimeout(dojo.hitch(this,"_fireEventAndReload"),this._currentTimeout);
},trigger:function(_1,_2,_3,_4,_5,_6,_7){
if(_5!=this._obj){
this.stop();
this._initialDelay=_7||500;
this._subsequentDelay=_6||0.9;
this._obj=_5;
this._evt=_1;
this._node=_3;
this._currentTimeout=-1;
this._count=-1;
this._callback=dojo.hitch(_2,_4);
this._fireEventAndReload();
}
},stop:function(){
if(this._timer){
clearTimeout(this._timer);
this._timer=null;
}
if(this._obj){
this._callback(-1,this._node,this._evt);
this._obj=null;
}
},addKeyListener:function(_8,_9,_a,_b,_c,_d){
if(_9.keyCode){
_9.charOrCode=_9.keyCode;
dojo.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");
}else{
if(_9.charCode){
_9.charOrCode=String.fromCharCode(_9.charCode);
dojo.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");
}
}
return [dojo.connect(_8,"onkeypress",this,function(_e){
if(_e.charOrCode==_9.charOrCode&&(_9.ctrlKey===undefined||_9.ctrlKey==_e.ctrlKey)&&(_9.altKey===undefined||_9.altKey==_e.altKey)&&(_9.metaKey===undefined||_9.metaKey==(_e.metaKey||false))&&(_9.shiftKey===undefined||_9.shiftKey==_e.shiftKey)){
dojo.stopEvent(_e);
dijit.typematic.trigger(_9,_a,_8,_b,_9,_c,_d);
}else{
if(dijit.typematic._obj==_9){
dijit.typematic.stop();
}
}
}),dojo.connect(_8,"onkeyup",this,function(_f){
if(dijit.typematic._obj==_9){
dijit.typematic.stop();
}
})];
},addMouseListener:function(_10,_11,_12,_13,_14){
var dc=dojo.connect;
return [dc(_10,"mousedown",this,function(evt){
dojo.stopEvent(evt);
dijit.typematic.trigger(evt,_11,_10,_12,_10,_13,_14);
}),dc(_10,"mouseup",this,function(evt){
dojo.stopEvent(evt);
dijit.typematic.stop();
}),dc(_10,"mouseout",this,function(evt){
dojo.stopEvent(evt);
dijit.typematic.stop();
}),dc(_10,"mousemove",this,function(evt){
dojo.stopEvent(evt);
}),dc(_10,"dblclick",this,function(evt){
dojo.stopEvent(evt);
if(dojo.isIE){
dijit.typematic.trigger(evt,_11,_10,_12,_10,_13,_14);
setTimeout(dojo.hitch(this,dijit.typematic.stop),50);
}
})];
},addListener:function(_15,_16,_17,_18,_19,_1a,_1b){
return this.addKeyListener(_16,_17,_18,_19,_1a,_1b).concat(this.addMouseListener(_15,_18,_19,_1a,_1b));
}};
}


;if(!dojo._hasResource["dijit._base.wai"]){
dojo._hasResource["dijit._base.wai"]=true;
dojo.provide("dijit._base.wai");
dijit.wai={onload:function(){
var _1=dojo.create("div",{id:"a11yTestNode",style:{cssText:"border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif"))+"\");"}},dojo.body());
var cs=dojo.getComputedStyle(_1);
if(cs){
var _2=cs.backgroundImage;
var _3=(cs.borderTopColor==cs.borderRightColor)||(_2!=null&&(_2=="none"||_2=="url(invalid-url:)"));
dojo[_3?"addClass":"removeClass"](dojo.body(),"dijit_a11y");
if(dojo.isIE){
_1.outerHTML="";
}else{
dojo.body().removeChild(_1);
}
}
}};
if(dojo.isIE||dojo.isMoz){
dojo._loaders.unshift(dijit.wai.onload);
}
dojo.mixin(dijit,{_XhtmlRoles:/banner|contentinfo|definition|main|navigation|search|note|secondary|seealso/,hasWaiRole:function(_4,_5){
var _6=this.getWaiRole(_4);
return _5?(_6.indexOf(_5)>-1):(_6.length>0);
},getWaiRole:function(_7){
return dojo.trim((dojo.attr(_7,"role")||"").replace(this._XhtmlRoles,"").replace("wairole:",""));
},setWaiRole:function(_8,_9){
var _a=dojo.attr(_8,"role")||"";
if(!this._XhtmlRoles.test(_a)){
dojo.attr(_8,"role",_9);
}else{
if((" "+_a+" ").indexOf(" "+_9+" ")<0){
var _b=dojo.trim(_a.replace(this._XhtmlRoles,""));
var _c=dojo.trim(_a.replace(_b,""));
dojo.attr(_8,"role",_c+(_c?" ":"")+_9);
}
}
},removeWaiRole:function(_d,_e){
var _f=dojo.attr(_d,"role");
if(!_f){
return;
}
if(_e){
var t=dojo.trim((" "+_f+" ").replace(" "+_e+" "," "));
dojo.attr(_d,"role",t);
}else{
_d.removeAttribute("role");
}
},hasWaiState:function(_10,_11){
return _10.hasAttribute?_10.hasAttribute("aria-"+_11):!!_10.getAttribute("aria-"+_11);
},getWaiState:function(_12,_13){
return _12.getAttribute("aria-"+_13)||"";
},setWaiState:function(_14,_15,_16){
_14.setAttribute("aria-"+_15,_16);
},removeWaiState:function(_17,_18){
_17.removeAttribute("aria-"+_18);
}});
}


;if(!dojo._hasResource["dijit._base"]){
dojo._hasResource["dijit._base"]=true;
dojo.provide("dijit._base");
dojo.require("dijit._base.focus");
dojo.require("dijit._base.manager");
dojo.require("dijit._base.place");
dojo.require("dijit._base.popup");
dojo.require("dijit._base.scroll");
dojo.require("dijit._base.sniff");
dojo.require("dijit._base.typematic");
dojo.require("dijit._base.wai");
dojo.require("dijit._base.window");
}


;if(!dojo._hasResource["dijit._Widget"]){
dojo._hasResource["dijit._Widget"]=true;
dojo.provide("dijit._Widget");
dojo.require("dijit._base");
dojo.connect(dojo,"_connect",function(_1,_2){
if(_1&&dojo.isFunction(_1._onConnect)){
_1._onConnect(_2);
}
});
dijit._connectOnUseEventHandler=function(_3){
};
dijit._lastKeyDownNode=null;
if(dojo.isIE){
(function(){
var _4=function(_5){
dijit._lastKeyDownNode=_5.srcElement;
};
dojo.doc.attachEvent("onkeydown",_4);
dojo.addOnWindowUnload(function(){
dojo.doc.detachEvent("onkeydown",_4);
});
})();
}else{
dojo.doc.addEventListener("keydown",function(_6){
dijit._lastKeyDownNode=_6.target;
},true);
}
(function(){
var _7={},_8=function(_9){
var dc=_9.declaredClass;
if(!_7[dc]){
var r=[],_a,_b=_9.constructor.prototype;
for(var _c in _b){
if(dojo.isFunction(_b[_c])&&(_a=_c.match(/^_set([a-zA-Z]*)Attr$/))&&_a[1]){
r.push(_a[1].charAt(0).toLowerCase()+_a[1].substr(1));
}
}
_7[dc]=r;
}
return _7[dc]||[];
};
dojo.declare("dijit._Widget",null,{id:"",lang:"",dir:"","class":"",style:"",title:"",tooltip:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},_deferredConnects:{onClick:"",onDblClick:"",onKeyDown:"",onKeyPress:"",onKeyUp:"",onMouseMove:"",onMouseDown:"",onMouseOut:"",onMouseOver:"",onMouseLeave:"",onMouseEnter:"",onMouseUp:""},onClick:dijit._connectOnUseEventHandler,onDblClick:dijit._connectOnUseEventHandler,onKeyDown:dijit._connectOnUseEventHandler,onKeyPress:dijit._connectOnUseEventHandler,onKeyUp:dijit._connectOnUseEventHandler,onMouseDown:dijit._connectOnUseEventHandler,onMouseMove:dijit._connectOnUseEventHandler,onMouseOut:dijit._connectOnUseEventHandler,onMouseOver:dijit._connectOnUseEventHandler,onMouseLeave:dijit._connectOnUseEventHandler,onMouseEnter:dijit._connectOnUseEventHandler,onMouseUp:dijit._connectOnUseEventHandler,_blankGif:(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif")).toString(),postscript:function(_d,_e){
this.create(_d,_e);
},create:function(_f,_10){
this.srcNodeRef=dojo.byId(_10);
this._connects=[];
this._subscribes=[];
this._deferredConnects=dojo.clone(this._deferredConnects);
for(var _11 in this.attributeMap){
delete this._deferredConnects[_11];
}
for(_11 in this._deferredConnects){
if(this[_11]!==dijit._connectOnUseEventHandler){
delete this._deferredConnects[_11];
}
}
if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){
this.id=this.srcNodeRef.id;
}
if(_f){
this.params=_f;
dojo.mixin(this,_f);
}
this.postMixInProperties();
if(!this.id){
this.id=dijit.getUniqueId(this.declaredClass.replace(/\./g,"_"));
}
dijit.registry.add(this);
this.buildRendering();
if(this.domNode){
this._applyAttributes();
var _12=this.srcNodeRef;
if(_12&&_12.parentNode){
_12.parentNode.replaceChild(this.domNode,_12);
}
for(_11 in this.params){
this._onConnect(_11);
}
}
if(this.domNode){
this.domNode.setAttribute("widgetId",this.id);
}
this.postCreate();
if(this.srcNodeRef&&!this.srcNodeRef.parentNode){
delete this.srcNodeRef;
}
this._created=true;
},_applyAttributes:function(){
var _13=function(_14,_15){
if((_15.params&&_14 in _15.params)||_15[_14]){
_15.attr(_14,_15[_14]);
}
};
for(var _16 in this.attributeMap){
_13(_16,this);
}
dojo.forEach(_8(this),function(a){
if(!(a in this.attributeMap)){
_13(a,this);
}
},this);
},postMixInProperties:function(){
},buildRendering:function(){
this.domNode=this.srcNodeRef||dojo.create("div");
},postCreate:function(){
},startup:function(){
this._started=true;
},destroyRecursive:function(_17){
this._beingDestroyed=true;
this.destroyDescendants(_17);
this.destroy(_17);
},destroy:function(_18){
this._beingDestroyed=true;
this.uninitialize();
var d=dojo,dfe=d.forEach,dun=d.unsubscribe;
dfe(this._connects,function(_19){
dfe(_19,d.disconnect);
});
dfe(this._subscribes,function(_1a){
dun(_1a);
});
dfe(this._supportingWidgets||[],function(w){
if(w.destroyRecursive){
w.destroyRecursive();
}else{
if(w.destroy){
w.destroy();
}
}
});
this.destroyRendering(_18);
dijit.registry.remove(this.id);
this._destroyed=true;
},destroyRendering:function(_1b){
if(this.bgIframe){
this.bgIframe.destroy(_1b);
delete this.bgIframe;
}
if(this.domNode){
if(_1b){
dojo.removeAttr(this.domNode,"widgetId");
}else{
dojo.destroy(this.domNode);
}
delete this.domNode;
}
if(this.srcNodeRef){
if(!_1b){
dojo.destroy(this.srcNodeRef);
}
delete this.srcNodeRef;
}
},destroyDescendants:function(_1c){
dojo.forEach(this.getChildren(),function(_1d){
if(_1d.destroyRecursive){
_1d.destroyRecursive(_1c);
}
});
},uninitialize:function(){
return false;
},onFocus:function(){
},onBlur:function(){
},_onFocus:function(e){
this.onFocus();
},_onBlur:function(){
this.onBlur();
},_onConnect:function(_1e){
if(_1e in this._deferredConnects){
var _1f=this[this._deferredConnects[_1e]||"domNode"];
this.connect(_1f,_1e.toLowerCase(),_1e);
delete this._deferredConnects[_1e];
}
},_setClassAttr:function(_20){
var _21=this[this.attributeMap["class"]||"domNode"];
dojo.removeClass(_21,this["class"]);
this["class"]=_20;
dojo.addClass(_21,_20);
},_setStyleAttr:function(_22){
var _23=this[this.attributeMap.style||"domNode"];
if(dojo.isObject(_22)){
dojo.style(_23,_22);
}else{
if(_23.style.cssText){
_23.style.cssText+="; "+_22;
}else{
_23.style.cssText=_22;
}
}
this.style=_22;
},setAttribute:function(_24,_25){
dojo.deprecated(this.declaredClass+"::setAttribute() is deprecated. Use attr() instead.","","2.0");
this.attr(_24,_25);
},_attrToDom:function(_26,_27){
var _28=this.attributeMap[_26];
dojo.forEach(dojo.isArray(_28)?_28:[_28],function(_29){
var _2a=this[_29.node||_29||"domNode"];
var _2b=_29.type||"attribute";
switch(_2b){
case "attribute":
if(dojo.isFunction(_27)){
_27=dojo.hitch(this,_27);
}
var _2c=_29.attribute?_29.attribute:(/^on[A-Z][a-zA-Z]*$/.test(_26)?_26.toLowerCase():_26);
dojo.attr(_2a,_2c,_27);
break;
case "innerText":
_2a.innerHTML="";
_2a.appendChild(dojo.doc.createTextNode(_27));
break;
case "innerHTML":
_2a.innerHTML=_27;
break;
case "class":
dojo.removeClass(_2a,this[_26]);
dojo.addClass(_2a,_27);
break;
}
},this);
this[_26]=_27;
},attr:function(_2d,_2e){
var _2f=arguments.length;
if(_2f==1&&!dojo.isString(_2d)){
for(var x in _2d){
this.attr(x,_2d[x]);
}
return this;
}
var _30=this._getAttrNames(_2d);
if(_2f>=2){
if(this[_30.s]){
_2f=dojo._toArray(arguments,1);
return this[_30.s].apply(this,_2f)||this;
}else{
if(_2d in this.attributeMap){
this._attrToDom(_2d,_2e);
}
this[_2d]=_2e;
}
return this;
}else{
return this[_30.g]?this[_30.g]():this[_2d];
}
},_attrPairNames:{},_getAttrNames:function(_31){
var apn=this._attrPairNames;
if(apn[_31]){
return apn[_31];
}
var uc=_31.charAt(0).toUpperCase()+_31.substr(1);
return (apn[_31]={n:_31+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr"});
},toString:function(){
return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";
},getDescendants:function(){
return this.containerNode?dojo.query("[widgetId]",this.containerNode).map(dijit.byNode):[];
},getChildren:function(){
return this.containerNode?dijit.findWidgets(this.containerNode):[];
},nodesWithKeyClick:["input","button"],connect:function(obj,_32,_33){
var d=dojo,dc=d._connect,_34=[];
if(_32=="ondijitclick"){
if(!this.nodesWithKeyClick[obj.tagName.toLowerCase()]){
var m=d.hitch(this,_33);
_34.push(dc(obj,"onkeydown",this,function(e){
if((e.keyCode==d.keys.ENTER||e.keyCode==d.keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){
dijit._lastKeyDownNode=e.target;
d.stopEvent(e);
}
}),dc(obj,"onkeyup",this,function(e){
if((e.keyCode==d.keys.ENTER||e.keyCode==d.keys.SPACE)&&e.target===dijit._lastKeyDownNode&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){
dijit._lastKeyDownNode=null;
return m(e);
}
}));
}
_32="onclick";
}
_34.push(dc(obj,_32,this,_33));
this._connects.push(_34);
return _34;
},disconnect:function(_35){
for(var i=0;i<this._connects.length;i++){
if(this._connects[i]==_35){
dojo.forEach(_35,dojo.disconnect);
this._connects.splice(i,1);
return;
}
}
},subscribe:function(_36,_37){
var d=dojo,_38=d.subscribe(_36,this,_37);
this._subscribes.push(_38);
return _38;
},unsubscribe:function(_39){
for(var i=0;i<this._subscribes.length;i++){
if(this._subscribes[i]==_39){
dojo.unsubscribe(_39);
this._subscribes.splice(i,1);
return;
}
}
},isLeftToRight:function(){
return dojo._isBodyLtr();
},isFocusable:function(){
return this.focus&&(dojo.style(this.domNode,"display")!="none");
},placeAt:function(_3a,_3b){
if(_3a.declaredClass&&_3a.addChild){
_3a.addChild(this,_3b);
}else{
dojo.place(this.domNode,_3a,_3b);
}
return this;
},_onShow:function(){
this.onShow();
},onShow:function(){
},onHide:function(){
}});
})();
}


;if(!dojo._hasResource["dojo.string"]){
dojo._hasResource["dojo.string"]=true;
dojo.provide("dojo.string");
dojo.string.rep=function(_1,_2){
if(_2<=0||!_1){
return "";
}
var _3=[];
for(;;){
if(_2&1){
_3.push(_1);
}
if(!(_2>>=1)){
break;
}
_1+=_1;
}
return _3.join("");
};
dojo.string.pad=function(_4,_5,ch,_6){
if(!ch){
ch="0";
}
var _7=String(_4),_8=dojo.string.rep(ch,Math.ceil((_5-_7.length)/ch.length));
return _6?_7+_8:_8+_7;
};
dojo.string.substitute=function(_9,_a,_b,_c){
_c=_c||dojo.global;
_b=_b?dojo.hitch(_c,_b):function(v){
return v;
};
return _9.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_d,_e,_f){
var _10=dojo.getObject(_e,false,_a);
if(_f){
_10=dojo.getObject(_f,false,_c).call(_c,_10,_e);
}
return _b(_10,_e).toString();
});
};
dojo.string.trim=String.prototype.trim?dojo.trim:function(str){
str=str.replace(/^\s+/,"");
for(var i=str.length-1;i>=0;i--){
if(/\S/.test(str.charAt(i))){
str=str.substring(0,i+1);
break;
}
}
return str;
};
}


;if(!dojo._hasResource["dojo.date.stamp"]){
dojo._hasResource["dojo.date.stamp"]=true;
dojo.provide("dojo.date.stamp");
dojo.date.stamp.fromISOString=function(_1,_2){
if(!dojo.date.stamp._isoRegExp){
dojo.date.stamp._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;
}
var _3=dojo.date.stamp._isoRegExp.exec(_1),_4=null;
if(_3){
_3.shift();
if(_3[1]){
_3[1]--;
}
if(_3[6]){
_3[6]*=1000;
}
if(_2){
_2=new Date(_2);
dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(_5){
return _2["get"+_5]();
}).forEach(function(_6,_7){
if(_3[_7]===undefined){
_3[_7]=_6;
}
});
}
_4=new Date(_3[0]||1970,_3[1]||0,_3[2]||1,_3[3]||0,_3[4]||0,_3[5]||0,_3[6]||0);
if(_3[0]<100){
_4.setFullYear(_3[0]||1970);
}
var _8=0,_9=_3[7]&&_3[7].charAt(0);
if(_9!="Z"){
_8=((_3[8]||0)*60)+(Number(_3[9])||0);
if(_9!="-"){
_8*=-1;
}
}
if(_9){
_8-=_4.getTimezoneOffset();
}
if(_8){
_4.setTime(_4.getTime()+_8*60000);
}
}
return _4;
};
dojo.date.stamp.toISOString=function(_a,_b){
var _c=function(n){
return (n<10)?"0"+n:n;
};
_b=_b||{};
var _d=[],_e=_b.zulu?"getUTC":"get",_f="";
if(_b.selector!="time"){
var _10=_a[_e+"FullYear"]();
_f=["0000".substr((_10+"").length)+_10,_c(_a[_e+"Month"]()+1),_c(_a[_e+"Date"]())].join("-");
}
_d.push(_f);
if(_b.selector!="date"){
var _11=[_c(_a[_e+"Hours"]()),_c(_a[_e+"Minutes"]()),_c(_a[_e+"Seconds"]())].join(":");
var _12=_a[_e+"Milliseconds"]();
if(_b.milliseconds){
_11+="."+(_12<100?"0":"")+_c(_12);
}
if(_b.zulu){
_11+="Z";
}else{
if(_b.selector!="time"){
var _13=_a.getTimezoneOffset();
var _14=Math.abs(_13);
_11+=(_13>0?"-":"+")+_c(Math.floor(_14/60))+":"+_c(_14%60);
}
}
_d.push(_11);
}
return _d.join("T");
};
}


;if(!dojo._hasResource["dojo.parser"]){
dojo._hasResource["dojo.parser"]=true;
dojo.provide("dojo.parser");
dojo.require("dojo.date.stamp");
dojo.parser=new function(){
var d=dojo;
this._attrName=d._scopeName+"Type";
this._query="["+this._attrName+"]";
function _1(_2){
if(d.isString(_2)){
return "string";
}
if(typeof _2=="number"){
return "number";
}
if(typeof _2=="boolean"){
return "boolean";
}
if(d.isFunction(_2)){
return "function";
}
if(d.isArray(_2)){
return "array";
}
if(_2 instanceof Date){
return "date";
}
if(_2 instanceof d._Url){
return "url";
}
return "object";
};
function _3(_4,_5){
switch(_5){
case "string":
return _4;
case "number":
return _4.length?Number(_4):NaN;
case "boolean":
return typeof _4=="boolean"?_4:!(_4.toLowerCase()=="false");
case "function":
if(d.isFunction(_4)){
_4=_4.toString();
_4=d.trim(_4.substring(_4.indexOf("{")+1,_4.length-1));
}
try{
if(_4.search(/[^\w\.]+/i)!=-1){
return new Function(_4);
}else{
return d.getObject(_4,false);
}
}
catch(e){
return new Function();
}
case "array":
return _4?_4.split(/\s*,\s*/):[];
case "date":
switch(_4){
case "":
return new Date("");
case "now":
return new Date();
default:
return d.date.stamp.fromISOString(_4);
}
case "url":
return d.baseUrl+_4;
default:
return d.fromJson(_4);
}
};
var _6={};
dojo.connect(dojo,"extend",function(){
_6={};
});
function _7(_8){
if(!_6[_8]){
var _9=d.getObject(_8);
if(!d.isFunction(_9)){
throw new Error("Could not load class '"+_8+"'. Did you spell the name correctly and use a full path, like 'dijit.form.Button'?");
}
var _a=_9.prototype;
var _b={},_c={};
for(var _d in _a){
if(_d.charAt(0)=="_"){
continue;
}
if(_d in _c){
continue;
}
var _e=_a[_d];
_b[_d]=_1(_e);
}
_6[_8]={cls:_9,params:_b};
}
return _6[_8];
};
this._functionFromScript=function(_f){
var _10="";
var _11="";
var _12=_f.getAttribute("args");
if(_12){
d.forEach(_12.split(/\s*,\s*/),function(_13,idx){
_10+="var "+_13+" = arguments["+idx+"]; ";
});
}
var _14=_f.getAttribute("with");
if(_14&&_14.length){
d.forEach(_14.split(/\s*,\s*/),function(_15){
_10+="with("+_15+"){";
_11+="}";
});
}
return new Function(_10+_f.innerHTML+_11);
};
this.instantiate=function(_16,_17,_18){
var _19=[],dp=dojo.parser;
_17=_17||{};
_18=_18||{};
d.forEach(_16,function(_1a){
if(!_1a){
return;
}
var _1b=dp._attrName in _17?_17[dp._attrName]:_1a.getAttribute(dp._attrName);
if(!_1b||!_1b.length){
return;
}
var _1c=_7(_1b),_1d=_1c.cls,ps=_1d._noScript||_1d.prototype._noScript;
var _1e={},_1f=_1a.attributes;
for(var _20 in _1c.params){
var _21=_20 in _17?{value:_17[_20],specified:true}:_1f.getNamedItem(_20);
if(!_21||(!_21.specified&&(!dojo.isIE||_20.toLowerCase()!="value"))){
continue;
}
var _22=_21.value;
switch(_20){
case "class":
_22="className" in _17?_17.className:_1a.className;
break;
case "style":
_22="style" in _17?_17.style:(_1a.style&&_1a.style.cssText);
}
var _23=_1c.params[_20];
if(typeof _22=="string"){
_1e[_20]=_3(_22,_23);
}else{
_1e[_20]=_22;
}
}
if(!ps){
var _24=[],_25=[];
d.query("> script[type^='dojo/']",_1a).orphan().forEach(function(_26){
var _27=_26.getAttribute("event"),_1b=_26.getAttribute("type"),nf=d.parser._functionFromScript(_26);
if(_27){
if(_1b=="dojo/connect"){
_24.push({event:_27,func:nf});
}else{
_1e[_27]=nf;
}
}else{
_25.push(nf);
}
});
}
var _28=_1d.markupFactory||_1d.prototype&&_1d.prototype.markupFactory;
var _29=_28?_28(_1e,_1a,_1d):new _1d(_1e,_1a);
_19.push(_29);
var _2a=_1a.getAttribute("jsId");
if(_2a){
d.setObject(_2a,_29);
}
if(!ps){
d.forEach(_24,function(_2b){
d.connect(_29,_2b.event,null,_2b.func);
});
d.forEach(_25,function(_2c){
_2c.call(_29);
});
}
});
if(!_17._started){
d.forEach(_19,function(_2d){
if(!_18.noStart&&_2d&&_2d.startup&&!_2d._started&&(!_2d.getParent||!_2d.getParent())){
_2d.startup();
}
});
}
return _19;
};
this.parse=function(_2e,_2f){
var _30;
if(!_2f&&_2e&&_2e.rootNode){
_2f=_2e;
_30=_2f.rootNode;
}else{
_30=_2e;
}
var _31=d.query(this._query,_30);
return this.instantiate(_31,null,_2f);
};
}();
(function(){
var _32=function(){
if(dojo.config.parseOnLoad){
dojo.parser.parse();
}
};
if(dojo.exists("dijit.wai.onload")&&(dijit.wai.onload===dojo._loaders[0])){
dojo._loaders.splice(1,0,_32);
}else{
dojo._loaders.unshift(_32);
}
})();
}


;if(!dojo._hasResource["dojo.cache"]){
dojo._hasResource["dojo.cache"]=true;
dojo.provide("dojo.cache");
(function(){
var _1={};
dojo.cache=function(_2,_3,_4){
if(typeof _2=="string"){
var _5=dojo.moduleUrl(_2,_3);
}else{
_5=_2;
_4=_3;
}
var _6=_5.toString();
var _7=_4;
if(_4!==undefined&&!dojo.isString(_4)){
_7=("value" in _4?_4.value:undefined);
}
var _8=_4&&_4.sanitize?true:false;
if(_7||_7===null){
if(_7==null){
delete _1[_6];
}else{
_7=_1[_6]=_8?dojo.cache._sanitize(_7):_7;
}
}else{
if(!(_6 in _1)){
_7=dojo._getText(_6);
_1[_6]=_8?dojo.cache._sanitize(_7):_7;
}
_7=_1[_6];
}
return _7;
};
dojo.cache._sanitize=function(_9){
if(_9){
_9=_9.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");
var _a=_9.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);
if(_a){
_9=_a[1];
}
}else{
_9="";
}
return _9;
};
})();
}


;if(!dojo._hasResource["dijit._Templated"]){
dojo._hasResource["dijit._Templated"]=true;
dojo.provide("dijit._Templated");
dojo.require("dijit._Widget");
dojo.require("dojo.string");
dojo.require("dojo.parser");
dojo.require("dojo.cache");
dojo.declare("dijit._Templated",null,{templateString:null,templatePath:null,widgetsInTemplate:false,_skipNodeCache:false,_earlyTemplatedStartup:false,constructor:function(){
this._attachPoints=[];
},_stringRepl:function(_1){
var _2=this.declaredClass,_3=this;
return dojo.string.substitute(_1,this,function(_4,_5){
if(_5.charAt(0)=="!"){
_4=dojo.getObject(_5.substr(1),false,_3);
}
if(typeof _4=="undefined"){
throw new Error(_2+" template:"+_5);
}
if(_4==null){
return "";
}
return _5.charAt(0)=="!"?_4:_4.toString().replace(/"/g,"&quot;");
},this);
},buildRendering:function(){
var _6=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);
var _7;
if(dojo.isString(_6)){
_7=dojo._toDom(this._stringRepl(_6));
if(_7.nodeType!=1){
throw new Error("Invalid template: "+_6);
}
}else{
_7=_6.cloneNode(true);
}
this.domNode=_7;
this._attachTemplateNodes(_7);
if(this.widgetsInTemplate){
var _8=dojo.parser,_9,_a;
if(_8._query!="[dojoType]"){
_9=_8._query;
_a=_8._attrName;
_8._query="[dojoType]";
_8._attrName="dojoType";
}
var cw=(this._startupWidgets=dojo.parser.parse(_7,{noStart:!this._earlyTemplatedStartup}));
if(_9){
_8._query=_9;
_8._attrName=_a;
}
this._supportingWidgets=dijit.findWidgets(_7);
this._attachTemplateNodes(cw,function(n,p){
return n[p];
});
}
this._fillContent(this.srcNodeRef);
},_fillContent:function(_b){
var _c=this.containerNode;
if(_b&&_c){
while(_b.hasChildNodes()){
_c.appendChild(_b.firstChild);
}
}
},_attachTemplateNodes:function(_d,_e){
_e=_e||function(n,p){
return n.getAttribute(p);
};
var _f=dojo.isArray(_d)?_d:(_d.all||_d.getElementsByTagName("*"));
var x=dojo.isArray(_d)?0:-1;
for(;x<_f.length;x++){
var _10=(x==-1)?_d:_f[x];
if(this.widgetsInTemplate&&_e(_10,"dojoType")){
continue;
}
var _11=_e(_10,"dojoAttachPoint");
if(_11){
var _12,_13=_11.split(/\s*,\s*/);
while((_12=_13.shift())){
if(dojo.isArray(this[_12])){
this[_12].push(_10);
}else{
this[_12]=_10;
}
this._attachPoints.push(_12);
}
}
var _14=_e(_10,"dojoAttachEvent");
if(_14){
var _15,_16=_14.split(/\s*,\s*/);
var _17=dojo.trim;
while((_15=_16.shift())){
if(_15){
var _18=null;
if(_15.indexOf(":")!=-1){
var _19=_15.split(":");
_15=_17(_19[0]);
_18=_17(_19[1]);
}else{
_15=_17(_15);
}
if(!_18){
_18=_15;
}
this.connect(_10,_15,_18);
}
}
}
var _1a=_e(_10,"waiRole");
if(_1a){
dijit.setWaiRole(_10,_1a);
}
var _1b=_e(_10,"waiState");
if(_1b){
dojo.forEach(_1b.split(/\s*,\s*/),function(_1c){
if(_1c.indexOf("-")!=-1){
var _1d=_1c.split("-");
dijit.setWaiState(_10,_1d[0],_1d[1]);
}
});
}
}
},startup:function(){
dojo.forEach(this._startupWidgets,function(w){
if(w&&!w._started&&w.startup){
w.startup();
}
});
this.inherited(arguments);
},destroyRendering:function(){
dojo.forEach(this._attachPoints,function(_1e){
delete this[_1e];
},this);
this._attachPoints=[];
this.inherited(arguments);
}});
dijit._Templated._templateCache={};
dijit._Templated.getCachedTemplate=function(_1f,_20,_21){
var _22=dijit._Templated._templateCache;
var key=_20||_1f;
var _23=_22[key];
if(_23){
try{
if(!_23.ownerDocument||_23.ownerDocument==dojo.doc){
return _23;
}
}
catch(e){
}
dojo.destroy(_23);
}
if(!_20){
_20=dojo.cache(_1f,{sanitize:true});
}
_20=dojo.string.trim(_20);
if(_21||_20.match(/\$\{([^\}]+)\}/g)){
return (_22[key]=_20);
}else{
var _24=dojo._toDom(_20);
if(_24.nodeType!=1){
throw new Error("Invalid template: "+_20);
}
return (_22[key]=_24);
}
};
if(dojo.isIE){
dojo.addOnWindowUnload(function(){
var _25=dijit._Templated._templateCache;
for(var key in _25){
var _26=_25[key];
if(typeof _26=="object"){
dojo.destroy(_26);
}
delete _25[key];
}
});
}
dojo.extend(dijit._Widget,{dojoAttachEvent:"",dojoAttachPoint:"",waiRole:"",waiState:""});
}


;if(!dojo._hasResource["dijit._Contained"]){
dojo._hasResource["dijit._Contained"]=true;
dojo.provide("dijit._Contained");
dojo.declare("dijit._Contained",null,{getParent:function(){
var _1=dijit.getEnclosingWidget(this.domNode.parentNode);
return _1&&_1.isContainer?_1:null;
},_getSibling:function(_2){
var _3=this.domNode;
do{
_3=_3[_2+"Sibling"];
}while(_3&&_3.nodeType!=1);
return _3&&dijit.byNode(_3);
},getPreviousSibling:function(){
return this._getSibling("previous");
},getNextSibling:function(){
return this._getSibling("next");
},getIndexInParent:function(){
var p=this.getParent();
if(!p||!p.getIndexOfChild){
return -1;
}
return p.getIndexOfChild(this);
}});
}


;if(!dojo._hasResource["dijit.MenuItem"]){
dojo._hasResource["dijit.MenuItem"]=true;
dojo.provide("dijit.MenuItem");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.require("dijit._Contained");
dojo.declare("dijit.MenuItem",[dijit._Widget,dijit._Templated,dijit._Contained],{templateString:dojo.cache("dijit","templates/MenuItem.html","<tr class=\"dijitReset dijitMenuItem\" dojoAttachPoint=\"focusNode\" waiRole=\"menuitem\" tabIndex=\"-1\"\n\t\tdojoAttachEvent=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\n\t<td class=\"dijitReset\" waiRole=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuItemIcon\" dojoAttachPoint=\"iconNode\">\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" dojoAttachPoint=\"containerNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" dojoAttachPoint=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" waiRole=\"presentation\">\n\t\t<div dojoAttachPoint=\"arrowWrapper\" style=\"visibility: hidden\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuExpand\">\n\t\t\t<span class=\"dijitMenuExpandA11y\">+</span>\n\t\t</div>\n\t</td>\n</tr>\n"),attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{label:{node:"containerNode",type:"innerHTML"},iconClass:{node:"iconNode",type:"class"}}),label:"",iconClass:"",accelKey:"",disabled:false,_fillContent:function(_1){
if(_1&&!("label" in this.params)){
this.attr("label",_1.innerHTML);
}
},postCreate:function(){
dojo.setSelectable(this.domNode,false);
var _2=this.id+"_text";
dojo.attr(this.containerNode,"id",_2);
if(this.accelKeyNode){
dojo.attr(this.accelKeyNode,"id",this.id+"_accel");
_2+=" "+this.id+"_accel";
}
dijit.setWaiState(this.domNode,"labelledby",_2);
},_onHover:function(){
dojo.addClass(this.domNode,"dijitMenuItemHover");
this.getParent().onItemHover(this);
},_onUnhover:function(){
dojo.removeClass(this.domNode,"dijitMenuItemHover");
this.getParent().onItemUnhover(this);
},_onClick:function(_3){
this.getParent().onItemClick(this,_3);
dojo.stopEvent(_3);
},onClick:function(_4){
},focus:function(){
try{
if(dojo.isIE==8){
this.containerNode.focus();
}
dijit.focus(this.focusNode);
}
catch(e){
}
},_onFocus:function(){
this._setSelected(true);
this.getParent()._onItemFocus(this);
this.inherited(arguments);
},_setSelected:function(_5){
dojo.toggleClass(this.domNode,"dijitMenuItemSelected",_5);
},setLabel:function(_6){
dojo.deprecated("dijit.MenuItem.setLabel() is deprecated.  Use attr('label', ...) instead.","","2.0");
this.attr("label",_6);
},setDisabled:function(_7){
dojo.deprecated("dijit.Menu.setDisabled() is deprecated.  Use attr('disabled', bool) instead.","","2.0");
this.attr("disabled",_7);
},_setDisabledAttr:function(_8){
this.disabled=_8;
dojo[_8?"addClass":"removeClass"](this.domNode,"dijitMenuItemDisabled");
dijit.setWaiState(this.focusNode,"disabled",_8?"true":"false");
},_setAccelKeyAttr:function(_9){
this.accelKey=_9;
this.accelKeyNode.style.display=_9?"":"none";
this.accelKeyNode.innerHTML=_9;
dojo.attr(this.containerNode,"colSpan",_9?"1":"2");
}});
}


;if(!dojo._hasResource["dijit.CheckedMenuItem"]){
dojo._hasResource["dijit.CheckedMenuItem"]=true;
dojo.provide("dijit.CheckedMenuItem");
dojo.require("dijit.MenuItem");
dojo.declare("dijit.CheckedMenuItem",dijit.MenuItem,{templateString:dojo.cache("dijit","templates/CheckedMenuItem.html","<tr class=\"dijitReset dijitMenuItem\" dojoAttachPoint=\"focusNode\" waiRole=\"menuitemcheckbox\" tabIndex=\"-1\"\n\t\tdojoAttachEvent=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\n\t<td class=\"dijitReset\" waiRole=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuItemIcon dijitCheckedMenuItemIcon\" dojoAttachPoint=\"iconNode\">\n\t\t<span class=\"dijitCheckedMenuItemIconChar\">&#10003;</span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" dojoAttachPoint=\"containerNode,labelNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" dojoAttachPoint=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" waiRole=\"presentation\">\n\t</td>\n</tr>\n"),checked:false,_setCheckedAttr:function(_1){
dojo.toggleClass(this.domNode,"dijitCheckedMenuItemChecked",_1);
dijit.setWaiState(this.domNode,"checked",_1);
this.checked=_1;
},onChange:function(_2){
},_onClick:function(e){
if(!this.disabled){
this.attr("checked",!this.checked);
this.onChange(this.checked);
}
this.inherited(arguments);
}});
}


;if(!dojo._hasResource["dojo.dnd.common"]){
dojo._hasResource["dojo.dnd.common"]=true;
dojo.provide("dojo.dnd.common");
dojo.dnd.getCopyKeyState=dojo.isCopyKeyPressed;
dojo.dnd._uniqueId=0;
dojo.dnd.getUniqueId=function(){
var id;
do{
id=dojo._scopeName+"Unique"+(++dojo.dnd._uniqueId);
}while(dojo.byId(id));
return id;
};
dojo.dnd._empty={};
dojo.dnd.isFormElement=function(e){
var t=e.target;
if(t.nodeType==3){
t=t.parentNode;
}
return " button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;
};
}


;if(!dojo._hasResource["dojo.dnd.autoscroll"]){
dojo._hasResource["dojo.dnd.autoscroll"]=true;
dojo.provide("dojo.dnd.autoscroll");
dojo.dnd.getViewport=function(){
var d=dojo.doc,dd=d.documentElement,w=window,b=dojo.body();
if(dojo.isMozilla){
return {w:dd.clientWidth,h:w.innerHeight};
}else{
if(!dojo.isOpera&&w.innerWidth){
return {w:w.innerWidth,h:w.innerHeight};
}else{
if(!dojo.isOpera&&dd&&dd.clientWidth){
return {w:dd.clientWidth,h:dd.clientHeight};
}else{
if(b.clientWidth){
return {w:b.clientWidth,h:b.clientHeight};
}
}
}
}
return null;
};
dojo.dnd.V_TRIGGER_AUTOSCROLL=32;
dojo.dnd.H_TRIGGER_AUTOSCROLL=32;
dojo.dnd.V_AUTOSCROLL_VALUE=16;
dojo.dnd.H_AUTOSCROLL_VALUE=16;
dojo.dnd.autoScroll=function(e){
var v=dojo.dnd.getViewport(),dx=0,dy=0;
if(e.clientX<dojo.dnd.H_TRIGGER_AUTOSCROLL){
dx=-dojo.dnd.H_AUTOSCROLL_VALUE;
}else{
if(e.clientX>v.w-dojo.dnd.H_TRIGGER_AUTOSCROLL){
dx=dojo.dnd.H_AUTOSCROLL_VALUE;
}
}
if(e.clientY<dojo.dnd.V_TRIGGER_AUTOSCROLL){
dy=-dojo.dnd.V_AUTOSCROLL_VALUE;
}else{
if(e.clientY>v.h-dojo.dnd.V_TRIGGER_AUTOSCROLL){
dy=dojo.dnd.V_AUTOSCROLL_VALUE;
}
}
window.scrollBy(dx,dy);
};
dojo.dnd._validNodes={"div":1,"p":1,"td":1};
dojo.dnd._validOverflow={"auto":1,"scroll":1};
dojo.dnd.autoScrollNodes=function(e){
for(var n=e.target;n;){
if(n.nodeType==1&&(n.tagName.toLowerCase() in dojo.dnd._validNodes)){
var s=dojo.getComputedStyle(n);
if(s.overflow.toLowerCase() in dojo.dnd._validOverflow){
var b=dojo._getContentBox(n,s),t=dojo.position(n,true);
var w=Math.min(dojo.dnd.H_TRIGGER_AUTOSCROLL,b.w/2),h=Math.min(dojo.dnd.V_TRIGGER_AUTOSCROLL,b.h/2),rx=e.pageX-t.x,ry=e.pageY-t.y,dx=0,dy=0;
if(dojo.isWebKit||dojo.isOpera){
rx+=dojo.body().scrollLeft,ry+=dojo.body().scrollTop;
}
if(rx>0&&rx<b.w){
if(rx<w){
dx=-w;
}else{
if(rx>b.w-w){
dx=w;
}
}
}
if(ry>0&&ry<b.h){
if(ry<h){
dy=-h;
}else{
if(ry>b.h-h){
dy=h;
}
}
}
var _1=n.scrollLeft,_2=n.scrollTop;
n.scrollLeft=n.scrollLeft+dx;
n.scrollTop=n.scrollTop+dy;
if(_1!=n.scrollLeft||_2!=n.scrollTop){
return;
}
}
}
try{
n=n.parentNode;
}
catch(x){
n=null;
}
}
dojo.dnd.autoScroll(e);
};
}


;if(!dojo._hasResource["dojo.dnd.Mover"]){
dojo._hasResource["dojo.dnd.Mover"]=true;
dojo.provide("dojo.dnd.Mover");
dojo.require("dojo.dnd.common");
dojo.require("dojo.dnd.autoscroll");
dojo.declare("dojo.dnd.Mover",null,{constructor:function(_1,e,_2){
this.node=dojo.byId(_1);
this.marginBox={l:e.pageX,t:e.pageY};
this.mouseButton=e.button;
var h=this.host=_2,d=_1.ownerDocument,_3=dojo.connect(d,"onmousemove",this,"onFirstMove");
this.events=[dojo.connect(d,"onmousemove",this,"onMouseMove"),dojo.connect(d,"onmouseup",this,"onMouseUp"),dojo.connect(d,"ondragstart",dojo.stopEvent),dojo.connect(d.body,"onselectstart",dojo.stopEvent),_3];
if(h&&h.onMoveStart){
h.onMoveStart(this);
}
},onMouseMove:function(e){
dojo.dnd.autoScroll(e);
var m=this.marginBox;
this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY});
dojo.stopEvent(e);
},onMouseUp:function(e){
if(dojo.isWebKit&&dojo.isMac&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){
this.destroy();
}
dojo.stopEvent(e);
},onFirstMove:function(){
var s=this.node.style,l,t,h=this.host;
switch(s.position){
case "relative":
case "absolute":
l=Math.round(parseFloat(s.left));
t=Math.round(parseFloat(s.top));
break;
default:
s.position="absolute";
var m=dojo.marginBox(this.node);
var b=dojo.doc.body;
var bs=dojo.getComputedStyle(b);
var bm=dojo._getMarginBox(b,bs);
var bc=dojo._getContentBox(b,bs);
l=m.l-(bc.l-bm.l);
t=m.t-(bc.t-bm.t);
break;
}
this.marginBox.l=l-this.marginBox.l;
this.marginBox.t=t-this.marginBox.t;
if(h&&h.onFirstMove){
h.onFirstMove(this);
}
dojo.disconnect(this.events.pop());
},destroy:function(){
dojo.forEach(this.events,dojo.disconnect);
var h=this.host;
if(h&&h.onMoveStop){
h.onMoveStop(this);
}
this.events=this.node=this.host=null;
}});
}


;if(!dojo._hasResource["dojo.dnd.Moveable"]){
dojo._hasResource["dojo.dnd.Moveable"]=true;
dojo.provide("dojo.dnd.Moveable");
dojo.require("dojo.dnd.Mover");
dojo.declare("dojo.dnd.Moveable",null,{handle:"",delay:0,skip:false,constructor:function(_1,_2){
this.node=dojo.byId(_1);
if(!_2){
_2={};
}
this.handle=_2.handle?dojo.byId(_2.handle):null;
if(!this.handle){
this.handle=this.node;
}
this.delay=_2.delay>0?_2.delay:0;
this.skip=_2.skip;
this.mover=_2.mover?_2.mover:dojo.dnd.Mover;
this.events=[dojo.connect(this.handle,"onmousedown",this,"onMouseDown"),dojo.connect(this.handle,"ondragstart",this,"onSelectStart"),dojo.connect(this.handle,"onselectstart",this,"onSelectStart")];
},markupFactory:function(_3,_4){
return new dojo.dnd.Moveable(_4,_3);
},destroy:function(){
dojo.forEach(this.events,dojo.disconnect);
this.events=this.node=this.handle=null;
},onMouseDown:function(e){
if(this.skip&&dojo.dnd.isFormElement(e)){
return;
}
if(this.delay){
this.events.push(dojo.connect(this.handle,"onmousemove",this,"onMouseMove"),dojo.connect(this.handle,"onmouseup",this,"onMouseUp"));
this._lastX=e.pageX;
this._lastY=e.pageY;
}else{
this.onDragDetected(e);
}
dojo.stopEvent(e);
},onMouseMove:function(e){
if(Math.abs(e.pageX-this._lastX)>this.delay||Math.abs(e.pageY-this._lastY)>this.delay){
this.onMouseUp(e);
this.onDragDetected(e);
}
dojo.stopEvent(e);
},onMouseUp:function(e){
for(var i=0;i<2;++i){
dojo.disconnect(this.events.pop());
}
dojo.stopEvent(e);
},onSelectStart:function(e){
if(!this.skip||!dojo.dnd.isFormElement(e)){
dojo.stopEvent(e);
}
},onDragDetected:function(e){
new this.mover(this.node,e,this);
},onMoveStart:function(_5){
dojo.publish("/dnd/move/start",[_5]);
dojo.addClass(dojo.body(),"dojoMove");
dojo.addClass(this.node,"dojoMoveItem");
},onMoveStop:function(_6){
dojo.publish("/dnd/move/stop",[_6]);
dojo.removeClass(dojo.body(),"dojoMove");
dojo.removeClass(this.node,"dojoMoveItem");
},onFirstMove:function(_7){
},onMove:function(_8,_9){
this.onMoving(_8,_9);
var s=_8.node.style;
s.left=_9.l+"px";
s.top=_9.t+"px";
this.onMoved(_8,_9);
},onMoving:function(_a,_b){
},onMoved:function(_c,_d){
}});
}


;if(!dojo._hasResource["dojo.dnd.move"]){
dojo._hasResource["dojo.dnd.move"]=true;
dojo.provide("dojo.dnd.move");
dojo.require("dojo.dnd.Mover");
dojo.require("dojo.dnd.Moveable");
dojo.declare("dojo.dnd.move.constrainedMoveable",dojo.dnd.Moveable,{constraints:function(){
},within:false,markupFactory:function(_1,_2){
return new dojo.dnd.move.constrainedMoveable(_2,_1);
},constructor:function(_3,_4){
if(!_4){
_4={};
}
this.constraints=_4.constraints;
this.within=_4.within;
},onFirstMove:function(_5){
var c=this.constraintBox=this.constraints.call(this,_5);
c.r=c.l+c.w;
c.b=c.t+c.h;
if(this.within){
var mb=dojo.marginBox(_5.node);
c.r-=mb.w;
c.b-=mb.h;
}
},onMove:function(_6,_7){
var c=this.constraintBox,s=_6.node.style;
s.left=(_7.l<c.l?c.l:c.r<_7.l?c.r:_7.l)+"px";
s.top=(_7.t<c.t?c.t:c.b<_7.t?c.b:_7.t)+"px";
}});
dojo.declare("dojo.dnd.move.boxConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{box:{},markupFactory:function(_8,_9){
return new dojo.dnd.move.boxConstrainedMoveable(_9,_8);
},constructor:function(_a,_b){
var _c=_b&&_b.box;
this.constraints=function(){
return _c;
};
}});
dojo.declare("dojo.dnd.move.parentConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{area:"content",markupFactory:function(_d,_e){
return new dojo.dnd.move.parentConstrainedMoveable(_e,_d);
},constructor:function(_f,_10){
var _11=_10&&_10.area;
this.constraints=function(){
var n=this.node.parentNode,s=dojo.getComputedStyle(n),mb=dojo._getMarginBox(n,s);
if(_11=="margin"){
return mb;
}
var t=dojo._getMarginExtents(n,s);
mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;
if(_11=="border"){
return mb;
}
t=dojo._getBorderExtents(n,s);
mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;
if(_11=="padding"){
return mb;
}
t=dojo._getPadExtents(n,s);
mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;
return mb;
};
}});
dojo.dnd.move.constrainedMover=function(fun,_12){
dojo.deprecated("dojo.dnd.move.constrainedMover, use dojo.dnd.move.constrainedMoveable instead");
var _13=function(_14,e,_15){
dojo.dnd.Mover.call(this,_14,e,_15);
};
dojo.extend(_13,dojo.dnd.Mover.prototype);
dojo.extend(_13,{onMouseMove:function(e){
dojo.dnd.autoScroll(e);
var m=this.marginBox,c=this.constraintBox,l=m.l+e.pageX,t=m.t+e.pageY;
l=l<c.l?c.l:c.r<l?c.r:l;
t=t<c.t?c.t:c.b<t?c.b:t;
this.host.onMove(this,{l:l,t:t});
},onFirstMove:function(){
dojo.dnd.Mover.prototype.onFirstMove.call(this);
var c=this.constraintBox=fun.call(this);
c.r=c.l+c.w;
c.b=c.t+c.h;
if(_12){
var mb=dojo.marginBox(this.node);
c.r-=mb.w;
c.b-=mb.h;
}
}});
return _13;
};
dojo.dnd.move.boxConstrainedMover=function(box,_16){
dojo.deprecated("dojo.dnd.move.boxConstrainedMover, use dojo.dnd.move.boxConstrainedMoveable instead");
return dojo.dnd.move.constrainedMover(function(){
return box;
},_16);
};
dojo.dnd.move.parentConstrainedMover=function(_17,_18){
dojo.deprecated("dojo.dnd.move.parentConstrainedMover, use dojo.dnd.move.parentConstrainedMoveable instead");
var fun=function(){
var n=this.node.parentNode,s=dojo.getComputedStyle(n),mb=dojo._getMarginBox(n,s);
if(_17=="margin"){
return mb;
}
var t=dojo._getMarginExtents(n,s);
mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;
if(_17=="border"){
return mb;
}
t=dojo._getBorderExtents(n,s);
mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;
if(_17=="padding"){
return mb;
}
t=dojo._getPadExtents(n,s);
mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;
return mb;
};
return dojo.dnd.move.constrainedMover(fun,_18);
};
dojo.dnd.constrainedMover=dojo.dnd.move.constrainedMover;
dojo.dnd.boxConstrainedMover=dojo.dnd.move.boxConstrainedMover;
dojo.dnd.parentConstrainedMover=dojo.dnd.move.parentConstrainedMover;
}


;if(!dojo._hasResource["dojo.dnd.TimedMoveable"]){
dojo._hasResource["dojo.dnd.TimedMoveable"]=true;
dojo.provide("dojo.dnd.TimedMoveable");
dojo.require("dojo.dnd.Moveable");
(function(){
var _1=dojo.dnd.Moveable.prototype.onMove;
dojo.declare("dojo.dnd.TimedMoveable",dojo.dnd.Moveable,{timeout:40,constructor:function(_2,_3){
if(!_3){
_3={};
}
if(_3.timeout&&typeof _3.timeout=="number"&&_3.timeout>=0){
this.timeout=_3.timeout;
}
},markupFactory:function(_4,_5){
return new dojo.dnd.TimedMoveable(_5,_4);
},onMoveStop:function(_6){
if(_6._timer){
clearTimeout(_6._timer);
_1.call(this,_6,_6._leftTop);
}
dojo.dnd.Moveable.prototype.onMoveStop.apply(this,arguments);
},onMove:function(_7,_8){
_7._leftTop=_8;
if(!_7._timer){
var _9=this;
_7._timer=setTimeout(function(){
_7._timer=null;
_1.call(_9,_7,_7._leftTop);
},this.timeout);
}
}});
})();
}


;if(!dojo._hasResource["dojo.fx.Toggler"]){
dojo._hasResource["dojo.fx.Toggler"]=true;
dojo.provide("dojo.fx.Toggler");
dojo.declare("dojo.fx.Toggler",null,{node:null,showFunc:dojo.fadeIn,hideFunc:dojo.fadeOut,showDuration:200,hideDuration:200,constructor:function(_1){
var _2=this;
dojo.mixin(_2,_1);
_2.node=_1.node;
_2._showArgs=dojo.mixin({},_1);
_2._showArgs.node=_2.node;
_2._showArgs.duration=_2.showDuration;
_2.showAnim=_2.showFunc(_2._showArgs);
_2._hideArgs=dojo.mixin({},_1);
_2._hideArgs.node=_2.node;
_2._hideArgs.duration=_2.hideDuration;
_2.hideAnim=_2.hideFunc(_2._hideArgs);
dojo.connect(_2.showAnim,"beforeBegin",dojo.hitch(_2.hideAnim,"stop",true));
dojo.connect(_2.hideAnim,"beforeBegin",dojo.hitch(_2.showAnim,"stop",true));
},show:function(_3){
return this.showAnim.play(_3||0);
},hide:function(_4){
return this.hideAnim.play(_4||0);
}});
}


;if(!dojo._hasResource["dojo.fx"]){
dojo._hasResource["dojo.fx"]=true;
dojo.provide("dojo.fx");
dojo.require("dojo.fx.Toggler");
(function(){
var d=dojo,_1={_fire:function(_2,_3){
if(this[_2]){
this[_2].apply(this,_3||[]);
}
return this;
}};
var _4=function(_5){
this._index=-1;
this._animations=_5||[];
this._current=this._onAnimateCtx=this._onEndCtx=null;
this.duration=0;
d.forEach(this._animations,function(a){
this.duration+=a.duration;
if(a.delay){
this.duration+=a.delay;
}
},this);
};
d.extend(_4,{_onAnimate:function(){
this._fire("onAnimate",arguments);
},_onEnd:function(){
d.disconnect(this._onAnimateCtx);
d.disconnect(this._onEndCtx);
this._onAnimateCtx=this._onEndCtx=null;
if(this._index+1==this._animations.length){
this._fire("onEnd");
}else{
this._current=this._animations[++this._index];
this._onAnimateCtx=d.connect(this._current,"onAnimate",this,"_onAnimate");
this._onEndCtx=d.connect(this._current,"onEnd",this,"_onEnd");
this._current.play(0,true);
}
},play:function(_6,_7){
if(!this._current){
this._current=this._animations[this._index=0];
}
if(!_7&&this._current.status()=="playing"){
return this;
}
var _8=d.connect(this._current,"beforeBegin",this,function(){
this._fire("beforeBegin");
}),_9=d.connect(this._current,"onBegin",this,function(_a){
this._fire("onBegin",arguments);
}),_b=d.connect(this._current,"onPlay",this,function(_c){
this._fire("onPlay",arguments);
d.disconnect(_8);
d.disconnect(_9);
d.disconnect(_b);
});
if(this._onAnimateCtx){
d.disconnect(this._onAnimateCtx);
}
this._onAnimateCtx=d.connect(this._current,"onAnimate",this,"_onAnimate");
if(this._onEndCtx){
d.disconnect(this._onEndCtx);
}
this._onEndCtx=d.connect(this._current,"onEnd",this,"_onEnd");
this._current.play.apply(this._current,arguments);
return this;
},pause:function(){
if(this._current){
var e=d.connect(this._current,"onPause",this,function(_d){
this._fire("onPause",arguments);
d.disconnect(e);
});
this._current.pause();
}
return this;
},gotoPercent:function(_e,_f){
this.pause();
var _10=this.duration*_e;
this._current=null;
d.some(this._animations,function(a){
if(a.duration<=_10){
this._current=a;
return true;
}
_10-=a.duration;
return false;
});
if(this._current){
this._current.gotoPercent(_10/this._current.duration,_f);
}
return this;
},stop:function(_11){
if(this._current){
if(_11){
for(;this._index+1<this._animations.length;++this._index){
this._animations[this._index].stop(true);
}
this._current=this._animations[this._index];
}
var e=d.connect(this._current,"onStop",this,function(arg){
this._fire("onStop",arguments);
d.disconnect(e);
});
this._current.stop();
}
return this;
},status:function(){
return this._current?this._current.status():"stopped";
},destroy:function(){
if(this._onAnimateCtx){
d.disconnect(this._onAnimateCtx);
}
if(this._onEndCtx){
d.disconnect(this._onEndCtx);
}
}});
d.extend(_4,_1);
dojo.fx.chain=function(_12){
return new _4(_12);
};
var _13=function(_14){
this._animations=_14||[];
this._connects=[];
this._finished=0;
this.duration=0;
d.forEach(_14,function(a){
var _15=a.duration;
if(a.delay){
_15+=a.delay;
}
if(this.duration<_15){
this.duration=_15;
}
this._connects.push(d.connect(a,"onEnd",this,"_onEnd"));
},this);
this._pseudoAnimation=new d.Animation({curve:[0,1],duration:this.duration});
var _16=this;
d.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){
_16._connects.push(d.connect(_16._pseudoAnimation,evt,function(){
_16._fire(evt,arguments);
}));
});
};
d.extend(_13,{_doAction:function(_17,_18){
d.forEach(this._animations,function(a){
a[_17].apply(a,_18);
});
return this;
},_onEnd:function(){
if(++this._finished>this._animations.length){
this._fire("onEnd");
}
},_call:function(_19,_1a){
var t=this._pseudoAnimation;
t[_19].apply(t,_1a);
},play:function(_1b,_1c){
this._finished=0;
this._doAction("play",arguments);
this._call("play",arguments);
return this;
},pause:function(){
this._doAction("pause",arguments);
this._call("pause",arguments);
return this;
},gotoPercent:function(_1d,_1e){
var ms=this.duration*_1d;
d.forEach(this._animations,function(a){
a.gotoPercent(a.duration<ms?1:(ms/a.duration),_1e);
});
this._call("gotoPercent",arguments);
return this;
},stop:function(_1f){
this._doAction("stop",arguments);
this._call("stop",arguments);
return this;
},status:function(){
return this._pseudoAnimation.status();
},destroy:function(){
d.forEach(this._connects,dojo.disconnect);
}});
d.extend(_13,_1);
dojo.fx.combine=function(_20){
return new _13(_20);
};
dojo.fx.wipeIn=function(_21){
var _22=_21.node=d.byId(_21.node),s=_22.style,o;
var _23=d.animateProperty(d.mixin({properties:{height:{start:function(){
o=s.overflow;
s.overflow="hidden";
if(s.visibility=="hidden"||s.display=="none"){
s.height="1px";
s.display="";
s.visibility="";
return 1;
}else{
var _24=d.style(_22,"height");
return Math.max(_24,1);
}
},end:function(){
return _22.scrollHeight;
}}}},_21));
d.connect(_23,"onEnd",function(){
s.height="auto";
s.overflow=o;
});
return _23;
};
dojo.fx.wipeOut=function(_25){
var _26=_25.node=d.byId(_25.node),s=_26.style,o;
var _27=d.animateProperty(d.mixin({properties:{height:{end:1}}},_25));
d.connect(_27,"beforeBegin",function(){
o=s.overflow;
s.overflow="hidden";
s.display="";
});
d.connect(_27,"onEnd",function(){
s.overflow=o;
s.height="auto";
s.display="none";
});
return _27;
};
dojo.fx.slideTo=function(_28){
var _29=_28.node=d.byId(_28.node),top=null,_2a=null;
var _2b=(function(n){
return function(){
var cs=d.getComputedStyle(n);
var pos=cs.position;
top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);
_2a=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);
if(pos!="absolute"&&pos!="relative"){
var ret=d.position(n,true);
top=ret.y;
_2a=ret.x;
n.style.position="absolute";
n.style.top=top+"px";
n.style.left=_2a+"px";
}
};
})(_29);
_2b();
var _2c=d.animateProperty(d.mixin({properties:{top:_28.top||0,left:_28.left||0}},_28));
d.connect(_2c,"beforeBegin",_2c,_2b);
return _2c;
};
})();
}


;if(!dojo._hasResource["dijit.form._FormMixin"]){
dojo._hasResource["dijit.form._FormMixin"]=true;
dojo.provide("dijit.form._FormMixin");
dojo.declare("dijit.form._FormMixin",null,{reset:function(){
dojo.forEach(this.getDescendants(),function(_1){
if(_1.reset){
_1.reset();
}
});
},validate:function(){
var _2=false;
return dojo.every(dojo.map(this.getDescendants(),function(_3){
_3._hasBeenBlurred=true;
var _4=_3.disabled||!_3.validate||_3.validate();
if(!_4&&!_2){
dijit.scrollIntoView(_3.containerNode||_3.domNode);
_3.focus();
_2=true;
}
return _4;
}),function(_5){
return _5;
});
},setValues:function(_6){
dojo.deprecated(this.declaredClass+"::setValues() is deprecated. Use attr('value', val) instead.","","2.0");
return this.attr("value",_6);
},_setValueAttr:function(_7){
var _8={};
dojo.forEach(this.getDescendants(),function(_9){
if(!_9.name){
return;
}
var _a=_8[_9.name]||(_8[_9.name]=[]);
_a.push(_9);
});
for(var _b in _8){
if(!_8.hasOwnProperty(_b)){
continue;
}
var _c=_8[_b],_d=dojo.getObject(_b,false,_7);
if(_d===undefined){
continue;
}
if(!dojo.isArray(_d)){
_d=[_d];
}
if(typeof _c[0].checked=="boolean"){
dojo.forEach(_c,function(w,i){
w.attr("value",dojo.indexOf(_d,w.value)!=-1);
});
}else{
if(_c[0].multiple){
_c[0].attr("value",_d);
}else{
dojo.forEach(_c,function(w,i){
w.attr("value",_d[i]);
});
}
}
}
},getValues:function(){
dojo.deprecated(this.declaredClass+"::getValues() is deprecated. Use attr('value') instead.","","2.0");
return this.attr("value");
},_getValueAttr:function(){
var _e={};
dojo.forEach(this.getDescendants(),function(_f){
var _10=_f.name;
if(!_10||_f.disabled){
return;
}
var _11=_f.attr("value");
if(typeof _f.checked=="boolean"){
if(/Radio/.test(_f.declaredClass)){
if(_11!==false){
dojo.setObject(_10,_11,_e);
}else{
_11=dojo.getObject(_10,false,_e);
if(_11===undefined){
dojo.setObject(_10,null,_e);
}
}
}else{
var ary=dojo.getObject(_10,false,_e);
if(!ary){
ary=[];
dojo.setObject(_10,ary,_e);
}
if(_11!==false){
ary.push(_11);
}
}
}else{
var _12=dojo.getObject(_10,false,_e);
if(typeof _12!="undefined"){
if(dojo.isArray(_12)){
_12.push(_11);
}else{
dojo.setObject(_10,[_12,_11],_e);
}
}else{
dojo.setObject(_10,_11,_e);
}
}
});
return _e;
},isValid:function(){
this._invalidWidgets=dojo.filter(this.getDescendants(),function(_13){
return !_13.disabled&&_13.isValid&&!_13.isValid();
});
return !this._invalidWidgets.length;
},onValidStateChange:function(_14){
},_widgetChange:function(_15){
var _16=this._lastValidState;
if(!_15||this._lastValidState===undefined){
_16=this.isValid();
if(this._lastValidState===undefined){
this._lastValidState=_16;
}
}else{
if(_15.isValid){
this._invalidWidgets=dojo.filter(this._invalidWidgets||[],function(w){
return (w!=_15);
},this);
if(!_15.isValid()&&!_15.attr("disabled")){
this._invalidWidgets.push(_15);
}
_16=(this._invalidWidgets.length===0);
}
}
if(_16!==this._lastValidState){
this._lastValidState=_16;
this.onValidStateChange(_16);
}
},connectChildren:function(){
dojo.forEach(this._changeConnections,dojo.hitch(this,"disconnect"));
var _17=this;
var _18=this._changeConnections=[];
dojo.forEach(dojo.filter(this.getDescendants(),function(_19){
return _19.validate;
}),function(_1a){
_18.push(_17.connect(_1a,"validate",dojo.hitch(_17,"_widgetChange",_1a)));
_18.push(_17.connect(_1a,"_setDisabledAttr",dojo.hitch(_17,"_widgetChange",_1a)));
});
this._widgetChange(null);
},startup:function(){
this.inherited(arguments);
this._changeConnections=[];
this.connectChildren();
}});
}


;if(!dojo._hasResource["dijit._DialogMixin"]){
dojo._hasResource["dijit._DialogMixin"]=true;
dojo.provide("dijit._DialogMixin");
dojo.declare("dijit._DialogMixin",null,{attributeMap:dijit._Widget.prototype.attributeMap,execute:function(_1){
},onCancel:function(){
},onExecute:function(){
},_onSubmit:function(){
this.onExecute();
this.execute(this.attr("value"));
},_getFocusItems:function(_2){
var _3=dijit._getTabNavigable(dojo.byId(_2));
this._firstFocusItem=_3.lowest||_3.first||_2;
this._lastFocusItem=_3.last||_3.highest||this._firstFocusItem;
if(dojo.isMoz&&this._firstFocusItem.tagName.toLowerCase()=="input"&&dojo.getNodeProp(this._firstFocusItem,"type").toLowerCase()=="file"){
dojo.attr(_2,"tabIndex","0");
this._firstFocusItem=_2;
}
}});
}


;if(!dojo._hasResource["dijit.DialogUnderlay"]){
dojo._hasResource["dijit.DialogUnderlay"]=true;
dojo.provide("dijit.DialogUnderlay");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.declare("dijit.DialogUnderlay",[dijit._Widget,dijit._Templated],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' dojoAttachPoint='node'></div></div>",dialogId:"","class":"",attributeMap:{id:"domNode"},_setDialogIdAttr:function(id){
dojo.attr(this.node,"id",id+"_underlay");
},_setClassAttr:function(_1){
this.node.className="dijitDialogUnderlay "+_1;
},postCreate:function(){
dojo.body().appendChild(this.domNode);
},layout:function(){
var is=this.node.style,os=this.domNode.style;
os.display="none";
var _2=dijit.getViewport();
os.top=_2.t+"px";
os.left=_2.l+"px";
is.width=_2.w+"px";
is.height=_2.h+"px";
os.display="block";
},show:function(){
this.domNode.style.display="block";
this.layout();
this.bgIframe=new dijit.BackgroundIframe(this.domNode);
},hide:function(){
this.bgIframe.destroy();
this.domNode.style.display="none";
},uninitialize:function(){
if(this.bgIframe){
this.bgIframe.destroy();
}
this.inherited(arguments);
}});
}


;if(!dojo._hasResource["dijit._Container"]){
dojo._hasResource["dijit._Container"]=true;
dojo.provide("dijit._Container");
dojo.declare("dijit._Container",null,{isContainer:true,buildRendering:function(){
this.inherited(arguments);
if(!this.containerNode){
this.containerNode=this.domNode;
}
},addChild:function(_1,_2){
var _3=this.containerNode;
if(_2&&typeof _2=="number"){
var _4=this.getChildren();
if(_4&&_4.length>=_2){
_3=_4[_2-1].domNode;
_2="after";
}
}
dojo.place(_1.domNode,_3,_2);
if(this._started&&!_1._started){
_1.startup();
}
},removeChild:function(_5){
if(typeof _5=="number"&&_5>0){
_5=this.getChildren()[_5];
}
if(_5&&_5.domNode){
var _6=_5.domNode;
_6.parentNode.removeChild(_6);
}
},getChildren:function(){
return dojo.query("> [widgetId]",this.containerNode).map(dijit.byNode);
},hasChildren:function(){
return dojo.query("> [widgetId]",this.containerNode).length>0;
},destroyDescendants:function(_7){
dojo.forEach(this.getChildren(),function(_8){
_8.destroyRecursive(_7);
});
},_getSiblingOfChild:function(_9,_a){
var _b=_9.domNode,_c=(_a>0?"nextSibling":"previousSibling");
do{
_b=_b[_c];
}while(_b&&(_b.nodeType!=1||!dijit.byNode(_b)));
return _b&&dijit.byNode(_b);
},getIndexOfChild:function(_d){
return dojo.indexOf(this.getChildren(),_d);
},startup:function(){
if(this._started){
return;
}
dojo.forEach(this.getChildren(),function(_e){
_e.startup();
});
this.inherited(arguments);
}});
}


;if(!dojo._hasResource["dijit.layout._LayoutWidget"]){
dojo._hasResource["dijit.layout._LayoutWidget"]=true;
dojo.provide("dijit.layout._LayoutWidget");
dojo.require("dijit._Widget");
dojo.require("dijit._Container");
dojo.require("dijit._Contained");
dojo.declare("dijit.layout._LayoutWidget",[dijit._Widget,dijit._Container,dijit._Contained],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,postCreate:function(){
dojo.addClass(this.domNode,"dijitContainer");
dojo.addClass(this.domNode,this.baseClass);
this.inherited(arguments);
},startup:function(){
if(this._started){
return;
}
this.inherited(arguments);
var _1=this.getParent&&this.getParent();
if(!(_1&&_1.isLayoutContainer)){
this.resize();
this.connect(dojo.isIE?this.domNode:dojo.global,"onresize",function(){
this.resize();
});
}
},resize:function(_2,_3){
var _4=this.domNode;
if(_2){
dojo.marginBox(_4,_2);
if(_2.t){
_4.style.top=_2.t+"px";
}
if(_2.l){
_4.style.left=_2.l+"px";
}
}
var mb=_3||{};
dojo.mixin(mb,_2||{});
if(!("h" in mb)||!("w" in mb)){
mb=dojo.mixin(dojo.marginBox(_4),mb);
}
var cs=dojo.getComputedStyle(_4);
var me=dojo._getMarginExtents(_4,cs);
var be=dojo._getBorderExtents(_4,cs);
var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});
var pe=dojo._getPadExtents(_4,cs);
this._contentBox={l:dojo._toPixelValue(_4,cs.paddingLeft),t:dojo._toPixelValue(_4,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};
this.layout();
},layout:function(){
},_setupChild:function(_5){
dojo.addClass(_5.domNode,this.baseClass+"-child");
if(_5.baseClass){
dojo.addClass(_5.domNode,this.baseClass+"-"+_5.baseClass);
}
},addChild:function(_6,_7){
this.inherited(arguments);
if(this._started){
this._setupChild(_6);
}
},removeChild:function(_8){
dojo.removeClass(_8.domNode,this.baseClass+"-child");
if(_8.baseClass){
dojo.removeClass(_8.domNode,this.baseClass+"-"+_8.baseClass);
}
this.inherited(arguments);
}});
dijit.layout.marginBox2contentBox=function(_9,mb){
var cs=dojo.getComputedStyle(_9);
var me=dojo._getMarginExtents(_9,cs);
var pb=dojo._getPadBorderExtents(_9,cs);
return {l:dojo._toPixelValue(_9,cs.paddingLeft),t:dojo._toPixelValue(_9,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};
};
(function(){
var _a=function(_b){
return _b.substring(0,1).toUpperCase()+_b.substring(1);
};
var _c=function(_d,_e){
_d.resize?_d.resize(_e):dojo.marginBox(_d.domNode,_e);
dojo.mixin(_d,dojo.marginBox(_d.domNode));
dojo.mixin(_d,_e);
};
dijit.layout.layoutChildren=function(_f,dim,_10){
dim=dojo.mixin({},dim);
dojo.addClass(_f,"dijitLayoutContainer");
_10=dojo.filter(_10,function(_11){
return _11.layoutAlign!="client";
}).concat(dojo.filter(_10,function(_12){
return _12.layoutAlign=="client";
}));
dojo.forEach(_10,function(_13){
var elm=_13.domNode,pos=_13.layoutAlign;
var _14=elm.style;
_14.left=dim.l+"px";
_14.top=dim.t+"px";
_14.bottom=_14.right="auto";
dojo.addClass(elm,"dijitAlign"+_a(pos));
if(pos=="top"||pos=="bottom"){
_c(_13,{w:dim.w});
dim.h-=_13.h;
if(pos=="top"){
dim.t+=_13.h;
}else{
_14.top=dim.t+dim.h+"px";
}
}else{
if(pos=="left"||pos=="right"){
_c(_13,{h:dim.h});
dim.w-=_13.w;
if(pos=="left"){
dim.l+=_13.w;
}else{
_14.left=dim.l+dim.w+"px";
}
}else{
if(pos=="client"){
_c(_13,dim);
}
}
}
});
};
})();
}


;if(!dojo._hasResource["dojo.html"]){
dojo._hasResource["dojo.html"]=true;
dojo.provide("dojo.html");
dojo.require("dojo.parser");
(function(){
var _1=0,d=dojo;
dojo.html._secureForInnerHtml=function(_2){
return _2.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");
};
dojo.html._emptyNode=dojo.empty;
dojo.html._setNodeContent=function(_3,_4){
d.empty(_3);
if(_4){
if(typeof _4=="string"){
_4=d._toDom(_4,_3.ownerDocument);
}
if(!_4.nodeType&&d.isArrayLike(_4)){
for(var _5=_4.length,i=0;i<_4.length;i=_5==_4.length?i+1:0){
d.place(_4[i],_3,"last");
}
}else{
d.place(_4,_3,"last");
}
}
return _3;
};
dojo.declare("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,constructor:function(_6,_7){
dojo.mixin(this,_6||{});
_7=this.node=dojo.byId(this.node||_7);
if(!this.id){
this.id=["Setter",(_7)?_7.id||_7.tagName:"",_1++].join("_");
}
if(!(this.node||_7)){
new Error(this.declaredClass+": no node provided to "+this.id);
}
},set:function(_8,_9){
if(undefined!==_8){
this.content=_8;
}
if(_9){
this._mixin(_9);
}
this.onBegin();
this.setContent();
this.onEnd();
return this.node;
},setContent:function(){
var _a=this.node;
if(!_a){
console.error("setContent given no node");
}
try{
_a=dojo.html._setNodeContent(_a,this.content);
}
catch(e){
var _b=this.onContentError(e);
try{
_a.innerHTML=_b;
}
catch(e){
console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);
}
}
this.node=_a;
},empty:function(){
if(this.parseResults&&this.parseResults.length){
dojo.forEach(this.parseResults,function(w){
if(w.destroy){
w.destroy();
}
});
delete this.parseResults;
}
dojo.html._emptyNode(this.node);
},onBegin:function(){
var _c=this.content;
if(dojo.isString(_c)){
if(this.cleanContent){
_c=dojo.html._secureForInnerHtml(_c);
}
if(this.extractContent){
var _d=_c.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);
if(_d){
_c=_d[1];
}
}
}
this.empty();
this.content=_c;
return this.node;
},onEnd:function(){
if(this.parseContent){
this._parse();
}
return this.node;
},tearDown:function(){
delete this.parseResults;
delete this.node;
delete this.content;
},onContentError:function(_e){
return "Error occured setting content: "+_e;
},_mixin:function(_f){
var _10={},key;
for(key in _f){
if(key in _10){
continue;
}
this[key]=_f[key];
}
},_parse:function(){
var _11=this.node;
try{
this.parseResults=dojo.parser.parse(_11,true);
}
catch(e){
this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);
}
},_onError:function(_12,err,_13){
var _14=this["on"+_12+"Error"].call(this,err);
if(_13){
console.error(_13,err);
}else{
if(_14){
dojo.html._setNodeContent(this.node,_14,true);
}
}
}});
dojo.html.set=function(_15,_16,_17){
if(undefined==_16){
console.warn("dojo.html.set: no cont argument provided, using empty string");
_16="";
}
if(!_17){
return dojo.html._setNodeContent(_15,_16,true);
}else{
var op=new dojo.html._ContentSetter(dojo.mixin(_17,{content:_16,node:_15}));
return op.set();
}
};
})();
}

dojo.provide("dijit.nls.loading")._built=true;
dojo.provide("dijit.nls.loading.en_gb");
dijit.nls.loading.en_gb={"loadingState":"Loading...","errorState":"Sorry, an error occurred"};

;if(!dojo._hasResource["dojo.i18n"]){
dojo._hasResource["dojo.i18n"]=true;
dojo.provide("dojo.i18n");
dojo.i18n.getLocalization=function(_1,_2,_3){
_3=dojo.i18n.normalizeLocale(_3);
var _4=_3.split("-");
var _5=[_1,"nls",_2].join(".");
var _6=dojo._loadedModules[_5];
if(_6){
var _7;
for(var i=_4.length;i>0;i--){
var _8=_4.slice(0,i).join("_");
if(_6[_8]){
_7=_6[_8];
break;
}
}
if(!_7){
_7=_6.ROOT;
}
if(_7){
var _9=function(){
};
_9.prototype=_7;
return new _9();
}
}
throw new Error("Bundle not found: "+_2+" in "+_1+" , locale="+_3);
};
dojo.i18n.normalizeLocale=function(_a){
var _b=_a?_a.toLowerCase():dojo.locale;
if(_b=="root"){
_b="ROOT";
}
return _b;
};
dojo.i18n._requireLocalization=function(_c,_d,_e,_f){
var _10=dojo.i18n.normalizeLocale(_e);
var _11=[_c,"nls",_d].join(".");
var _12="";
if(_f){
var _13=_f.split(",");
for(var i=0;i<_13.length;i++){
if(_10["indexOf"](_13[i])==0){
if(_13[i].length>_12.length){
_12=_13[i];
}
}
}
if(!_12){
_12="ROOT";
}
}
var _14=_f?_12:_10;
var _15=dojo._loadedModules[_11];
var _16=null;
if(_15){
if(dojo.config.localizationComplete&&_15._built){
return;
}
var _17=_14.replace(/-/g,"_");
var _18=_11+"."+_17;
_16=dojo._loadedModules[_18];
}
if(!_16){
_15=dojo["provide"](_11);
var _19=dojo._getModuleSymbols(_c);
var _1a=_19.concat("nls").join("/");
var _1b;
dojo.i18n._searchLocalePath(_14,_f,function(loc){
var _1c=loc.replace(/-/g,"_");
var _1d=_11+"."+_1c;
var _1e=false;
if(!dojo._loadedModules[_1d]){
dojo["provide"](_1d);
var _1f=[_1a];
if(loc!="ROOT"){
_1f.push(loc);
}
_1f.push(_d);
var _20=_1f.join("/")+".js";
_1e=dojo._loadPath(_20,null,function(_21){
var _22=function(){
};
_22.prototype=_1b;
_15[_1c]=new _22();
for(var j in _21){
_15[_1c][j]=_21[j];
}
});
}else{
_1e=true;
}
if(_1e&&_15[_1c]){
_1b=_15[_1c];
}else{
_15[_1c]=_1b;
}
if(_f){
return true;
}
});
}
if(_f&&_10!=_12){
_15[_10.replace(/-/g,"_")]=_15[_12.replace(/-/g,"_")];
}
};
(function(){
var _23=dojo.config.extraLocale;
if(_23){
if(!_23 instanceof Array){
_23=[_23];
}
var req=dojo.i18n._requireLocalization;
dojo.i18n._requireLocalization=function(m,b,_24,_25){
req(m,b,_24,_25);
if(_24){
return;
}
for(var i=0;i<_23.length;i++){
req(m,b,_23[i],_25);
}
};
}
})();
dojo.i18n._searchLocalePath=function(_26,_27,_28){
_26=dojo.i18n.normalizeLocale(_26);
var _29=_26.split("-");
var _2a=[];
for(var i=_29.length;i>0;i--){
_2a.push(_29.slice(0,i).join("-"));
}
_2a.push(false);
if(_27){
_2a.reverse();
}
for(var j=_2a.length-1;j>=0;j--){
var loc=_2a[j]||"ROOT";
var _2b=_28(loc);
if(_2b){
break;
}
}
};
dojo.i18n._preloadLocalizations=function(_2c,_2d){
function _2e(_2f){
_2f=dojo.i18n.normalizeLocale(_2f);
dojo.i18n._searchLocalePath(_2f,true,function(loc){
for(var i=0;i<_2d.length;i++){
if(_2d[i]==loc){
dojo["require"](_2c+"_"+loc);
return true;
}
}
return false;
});
};
_2e();
var _30=dojo.config.extraLocale||[];
for(var i=0;i<_30.length;i++){
_2e(_30[i]);
}
};
}


;if(!dojo._hasResource["dijit.layout.ContentPane"]){
dojo._hasResource["dijit.layout.ContentPane"]=true;
dojo.provide("dijit.layout.ContentPane");
dojo.require("dijit._Widget");
dojo.require("dijit._Contained");
dojo.require("dijit.layout._LayoutWidget");
dojo.require("dojo.parser");
dojo.require("dojo.string");
dojo.require("dojo.html");
dojo.requireLocalization("dijit","loading",null,"ROOT,ar,ca,cs,da,de,el,es,fi,fr,he,hu,it,ja,ko,nb,nl,pl,pt,pt-pt,ru,sk,sl,sv,th,tr,zh,zh-tw");
dojo.declare("dijit.layout.ContentPane",dijit._Widget,{href:"",extractContent:false,parseOnLoad:true,preventCache:false,preload:false,refreshOnShow:false,loadingMessage:"<span class='dijitContentPaneLoading'>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'>${errorState}</span>",isLoaded:false,baseClass:"dijitContentPane",doLayout:true,ioArgs:{},isContainer:true,isLayoutContainer:true,onLoadDeferred:null,attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{title:[]}),postMixInProperties:function(){
this.inherited(arguments);
var _1=dojo.i18n.getLocalization("dijit","loading",this.lang);
this.loadingMessage=dojo.string.substitute(this.loadingMessage,_1);
this.errorMessage=dojo.string.substitute(this.errorMessage,_1);
if(!this.href&&this.srcNodeRef&&this.srcNodeRef.innerHTML){
this.isLoaded=true;
}
},buildRendering:function(){
this.inherited(arguments);
if(!this.containerNode){
this.containerNode=this.domNode;
}
},postCreate:function(){
this.domNode.title="";
if(!dojo.attr(this.domNode,"role")){
dijit.setWaiRole(this.domNode,"group");
}
dojo.addClass(this.domNode,this.baseClass);
},startup:function(){
if(this._started){
return;
}
var _2=dijit._Contained.prototype.getParent.call(this);
this._childOfLayoutWidget=_2&&_2.isLayoutContainer;
this._needLayout=!this._childOfLayoutWidget;
if(this.isLoaded){
dojo.forEach(this.getChildren(),function(_3){
_3.startup();
});
}
if(this._isShown()||this.preload){
this._onShow();
}
this.inherited(arguments);
},_checkIfSingleChild:function(){
var _4=dojo.query("> *",this.containerNode).filter(function(_5){
return _5.tagName!=="SCRIPT";
}),_6=_4.filter(function(_7){
return dojo.hasAttr(_7,"dojoType")||dojo.hasAttr(_7,"widgetId");
}),_8=dojo.filter(_6.map(dijit.byNode),function(_9){
return _9&&_9.domNode&&_9.resize;
});
if(_4.length==_6.length&&_8.length==1){
this._singleChild=_8[0];
}else{
delete this._singleChild;
}
dojo.toggleClass(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);
},setHref:function(_a){
dojo.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use attr('href', ...) instead.","","2.0");
return this.attr("href",_a);
},_setHrefAttr:function(_b){
this.cancel();
this.onLoadDeferred=new dojo.Deferred(dojo.hitch(this,"cancel"));
this.href=_b;
if(this._created&&(this.preload||this._isShown())){
this._load();
}else{
this._hrefChanged=true;
}
return this.onLoadDeferred;
},setContent:function(_c){
dojo.deprecated("dijit.layout.ContentPane.setContent() is deprecated.  Use attr('content', ...) instead.","","2.0");
this.attr("content",_c);
},_setContentAttr:function(_d){
this.href="";
this.cancel();
this.onLoadDeferred=new dojo.Deferred(dojo.hitch(this,"cancel"));
this._setContent(_d||"");
this._isDownloaded=false;
return this.onLoadDeferred;
},_getContentAttr:function(){
return this.containerNode.innerHTML;
},cancel:function(){
if(this._xhrDfd&&(this._xhrDfd.fired==-1)){
this._xhrDfd.cancel();
}
delete this._xhrDfd;
this.onLoadDeferred=null;
},uninitialize:function(){
if(this._beingDestroyed){
this.cancel();
}
this.inherited(arguments);
},destroyRecursive:function(_e){
if(this._beingDestroyed){
return;
}
this.inherited(arguments);
},resize:function(_f,_10){
if(!this._wasShown){
this._onShow();
}
this._resizeCalled=true;
if(_f){
dojo.marginBox(this.domNode,_f);
}
var cn=this.containerNode;
if(cn===this.domNode){
var mb=_10||{};
dojo.mixin(mb,_f||{});
if(!("h" in mb)||!("w" in mb)){
mb=dojo.mixin(dojo.marginBox(cn),mb);
}
this._contentBox=dijit.layout.marginBox2contentBox(cn,mb);
}else{
this._contentBox=dojo.contentBox(cn);
}
this._layoutChildren();
},_isShown:function(){
if(this._childOfLayoutWidget){
if(this._resizeCalled&&"open" in this){
return this.open;
}
return this._resizeCalled;
}else{
if("open" in this){
return this.open;
}else{
var _11=this.domNode;
return (_11.style.display!="none")&&(_11.style.visibility!="hidden")&&!dojo.hasClass(_11,"dijitHidden");
}
}
},_onShow:function(){
if(this.href){
if(!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow)){
this.refresh();
}
}else{
if(!this._childOfLayoutWidget&&this._needLayout){
this._layoutChildren();
}
}
this.inherited(arguments);
this._wasShown=true;
},refresh:function(){
this.cancel();
this.onLoadDeferred=new dojo.Deferred(dojo.hitch(this,"cancel"));
this._load();
return this.onLoadDeferred;
},_load:function(){
this._setContent(this.onDownloadStart(),true);
var _12=this;
var _13={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};
if(dojo.isObject(this.ioArgs)){
dojo.mixin(_13,this.ioArgs);
}
var _14=(this._xhrDfd=(this.ioMethod||dojo.xhrGet)(_13));
_14.addCallback(function(_15){
try{
_12._isDownloaded=true;
_12._setContent(_15,false);
_12.onDownloadEnd();
}
catch(err){
_12._onError("Content",err);
}
delete _12._xhrDfd;
return _15;
});
_14.addErrback(function(err){
if(!_14.canceled){
_12._onError("Download",err);
}
delete _12._xhrDfd;
return err;
});
delete this._hrefChanged;
},_onLoadHandler:function(_16){
this.isLoaded=true;
try{
this.onLoadDeferred.callback(_16);
this.onLoad(_16);
}
catch(e){
console.error("Error "+this.widgetId+" running custom onLoad code: "+e.message);
}
},_onUnloadHandler:function(){
this.isLoaded=false;
try{
this.onUnload();
}
catch(e){
console.error("Error "+this.widgetId+" running custom onUnload code: "+e.message);
}
},destroyDescendants:function(){
if(this.isLoaded){
this._onUnloadHandler();
}
var _17=this._contentSetter;
dojo.forEach(this.getChildren(),function(_18){
if(_18.destroyRecursive){
_18.destroyRecursive();
}
});
if(_17){
dojo.forEach(_17.parseResults,function(_19){
if(_19.destroyRecursive&&_19.domNode&&_19.domNode.parentNode==dojo.body()){
_19.destroyRecursive();
}
});
delete _17.parseResults;
}
dojo.html._emptyNode(this.containerNode);
delete this._singleChild;
},_setContent:function(_1a,_1b){
this.destroyDescendants();
var _1c=this._contentSetter;
if(!(_1c&&_1c instanceof dojo.html._ContentSetter)){
_1c=this._contentSetter=new dojo.html._ContentSetter({node:this.containerNode,_onError:dojo.hitch(this,this._onError),onContentError:dojo.hitch(this,function(e){
var _1d=this.onContentError(e);
try{
this.containerNode.innerHTML=_1d;
}
catch(e){
console.error("Fatal "+this.id+" could not change content due to "+e.message,e);
}
})});
}
var _1e=dojo.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:this.parseOnLoad},this._contentSetterParams||{});
dojo.mixin(_1c,_1e);
_1c.set((dojo.isObject(_1a)&&_1a.domNode)?_1a.domNode:_1a);
delete this._contentSetterParams;
if(!_1b){
dojo.forEach(this.getChildren(),function(_1f){
if(!this.parseOnLoad||_1f.getParent){
_1f.startup();
}
},this);
this._scheduleLayout();
this._onLoadHandler(_1a);
}
},_onError:function(_20,err,_21){
this.onLoadDeferred.errback(err);
var _22=this["on"+_20+"Error"].call(this,err);
if(_21){
console.error(_21,err);
}else{
if(_22){
this._setContent(_22,true);
}
}
},_scheduleLayout:function(){
if(this._isShown()){
this._layoutChildren();
}else{
this._needLayout=true;
}
},_layoutChildren:function(){
if(this.doLayout){
this._checkIfSingleChild();
}
if(this._singleChild&&this._singleChild.resize){
var cb=this._contentBox||dojo.contentBox(this.containerNode);
this._singleChild.resize({w:cb.w,h:cb.h});
}else{
dojo.forEach(this.getChildren(),function(_23){
if(_23.resize){
_23.resize();
}
});
}
delete this._needLayout;
},onLoad:function(_24){
},onUnload:function(){
},onDownloadStart:function(){
return this.loadingMessage;
},onContentError:function(_25){
},onDownloadError:function(_26){
return this.errorMessage;
},onDownloadEnd:function(){
}});
}


;if(!dojo._hasResource["dijit.TooltipDialog"]){
dojo._hasResource["dijit.TooltipDialog"]=true;
dojo.provide("dijit.TooltipDialog");
dojo.require("dijit.layout.ContentPane");
dojo.require("dijit._Templated");
dojo.require("dijit.form._FormMixin");
dojo.require("dijit._DialogMixin");
dojo.declare("dijit.TooltipDialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:dojo.cache("dijit","templates/TooltipDialog.html","<div waiRole=\"presentation\">\n\t<div class=\"dijitTooltipContainer\" waiRole=\"presentation\">\n\t\t<div class =\"dijitTooltipContents dijitTooltipFocusNode\" dojoAttachPoint=\"containerNode\" tabindex=\"-1\" waiRole=\"dialog\"></div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" waiRole=\"presentation\"></div>\n</div>\n"),postCreate:function(){
this.inherited(arguments);
this.connect(this.containerNode,"onkeypress","_onKey");
this.containerNode.title=this.title;
},orient:function(_1,_2,_3){
var c=this._currentOrientClass;
if(c){
dojo.removeClass(this.domNode,c);
}
c="dijitTooltipAB"+(_3.charAt(1)=="L"?"Left":"Right")+" dijitTooltip"+(_3.charAt(0)=="T"?"Below":"Above");
dojo.addClass(this.domNode,c);
this._currentOrientClass=c;
},onOpen:function(_4){
this.orient(this.domNode,_4.aroundCorner,_4.corner);
this._onShow();
if(this.autofocus){
this._getFocusItems(this.containerNode);
dijit.focus(this._firstFocusItem);
}
},onClose:function(){
this.onHide();
},_onKey:function(_5){
var _6=_5.target;
var dk=dojo.keys;
if(_5.charOrCode===dk.TAB){
this._getFocusItems(this.containerNode);
}
var _7=(this._firstFocusItem==this._lastFocusItem);
if(_5.charOrCode==dk.ESCAPE){
setTimeout(dojo.hitch(this,"onCancel"),0);
dojo.stopEvent(_5);
}else{
if(_6==this._firstFocusItem&&_5.shiftKey&&_5.charOrCode===dk.TAB){
if(!_7){
dijit.focus(this._lastFocusItem);
}
dojo.stopEvent(_5);
}else{
if(_6==this._lastFocusItem&&_5.charOrCode===dk.TAB&&!_5.shiftKey){
if(!_7){
dijit.focus(this._firstFocusItem);
}
dojo.stopEvent(_5);
}else{
if(_5.charOrCode===dk.TAB){
_5.stopPropagation();
}
}
}
}
}});
}

dojo.provide("dijit.nls.common")._built=true;
dojo.provide("dijit.nls.common.en_gb");
dijit.nls.common.en_gb={"itemClose":"Close","buttonCancel":"Cancel","buttonOk":"OK","buttonSave":"Save"};

;if(!dojo._hasResource["dijit.Dialog"]){
dojo._hasResource["dijit.Dialog"]=true;
dojo.provide("dijit.Dialog");
dojo.require("dojo.dnd.move");
dojo.require("dojo.dnd.TimedMoveable");
dojo.require("dojo.fx");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.require("dijit.form._FormMixin");
dojo.require("dijit._DialogMixin");
dojo.require("dijit.DialogUnderlay");
dojo.require("dijit.layout.ContentPane");
dojo.requireLocalization("dijit","common",null,"ROOT,ar,ca,cs,da,de,el,es,fi,fr,he,hu,it,ja,ko,nb,nl,pl,pt,pt-pt,ru,sk,sl,sv,th,tr,zh,zh-tw");
dojo.declare("dijit._DialogBase",[dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin],{templateString:dojo.cache("dijit","templates/Dialog.html","<div class=\"dijitDialog\" tabindex=\"-1\" waiRole=\"dialog\" waiState=\"labelledby-${id}_title\">\n\t<div dojoAttachPoint=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t<span dojoAttachPoint=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"></span>\n\t<span dojoAttachPoint=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" dojoAttachEvent=\"onclick: onCancel, onmouseenter: _onCloseEnter, onmouseleave: _onCloseLeave\" title=\"${buttonCancel}\">\n\t\t<span dojoAttachPoint=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t</span>\n\t</div>\n\t\t<div dojoAttachPoint=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n</div>\n"),attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{title:[{node:"titleNode",type:"innerHTML"},{node:"titleBar",type:"attribute"}],"aria-describedby":""}),open:false,duration:dijit.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,draggable:true,"aria-describedby":"",postMixInProperties:function(){
var _1=dojo.i18n.getLocalization("dijit","common");
dojo.mixin(this,_1);
this.inherited(arguments);
},postCreate:function(){
dojo.style(this.domNode,{display:"none",position:"absolute"});
dojo.body().appendChild(this.domNode);
this.inherited(arguments);
this.connect(this,"onExecute","hide");
this.connect(this,"onCancel","hide");
this._modalconnects=[];
},onLoad:function(){
this._position();
this.inherited(arguments);
},_endDrag:function(e){
if(e&&e.node&&e.node===this.domNode){
this._relativePosition=dojo.position(e.node);
}
},_setup:function(){
var _2=this.domNode;
if(this.titleBar&&this.draggable){
this._moveable=(dojo.isIE==6)?new dojo.dnd.TimedMoveable(_2,{handle:this.titleBar}):new dojo.dnd.Moveable(_2,{handle:this.titleBar,timeout:0});
dojo.subscribe("/dnd/move/stop",this,"_endDrag");
}else{
dojo.addClass(_2,"dijitDialogFixed");
}
this.underlayAttrs={dialogId:this.id,"class":dojo.map(this["class"].split(/\s/),function(s){
return s+"_underlay";
}).join(" ")};
this._fadeIn=dojo.fadeIn({node:_2,duration:this.duration,beforeBegin:dojo.hitch(this,function(){
var _3=dijit._underlay;
if(!_3){
_3=dijit._underlay=new dijit.DialogUnderlay(this.underlayAttrs);
}else{
_3.attr(this.underlayAttrs);
}
var _4=948+dijit._dialogStack.length*2;
dojo.style(dijit._underlay.domNode,"zIndex",_4);
dojo.style(this.domNode,"zIndex",_4+1);
_3.show();
}),onEnd:dojo.hitch(this,function(){
if(this.autofocus){
this._getFocusItems(this.domNode);
dijit.focus(this._firstFocusItem);
}
})});
this._fadeOut=dojo.fadeOut({node:_2,duration:this.duration,onEnd:dojo.hitch(this,function(){
_2.style.display="none";
var ds=dijit._dialogStack;
if(ds.length==0){
dijit._underlay.hide();
}else{
dojo.style(dijit._underlay.domNode,"zIndex",948+ds.length*2);
dijit._underlay.attr(ds[ds.length-1].underlayAttrs);
}
if(this.refocus){
var _5=this._savedFocus;
if(ds.length>0){
var pd=ds[ds.length-1];
if(!dojo.isDescendant(_5.node,pd.domNode)){
pd._getFocusItems(pd.domNode);
_5=pd._firstFocusItem;
}
}
dijit.focus(_5);
}
})});
},uninitialize:function(){
var _6=false;
if(this._fadeIn&&this._fadeIn.status()=="playing"){
_6=true;
this._fadeIn.stop();
}
if(this._fadeOut&&this._fadeOut.status()=="playing"){
_6=true;
this._fadeOut.stop();
}
if((this.open||_6)&&!dijit._underlay._destroyed){
dijit._underlay.hide();
}
if(this._moveable){
this._moveable.destroy();
}
this.inherited(arguments);
},_size:function(){
this._checkIfSingleChild();
if(this._singleChild){
if(this._singleChildOriginalStyle){
this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle;
}
delete this._singleChildOriginalStyle;
}else{
dojo.style(this.containerNode,{width:"auto",height:"auto"});
}
var mb=dojo.marginBox(this.domNode);
var _7=dijit.getViewport();
if(mb.w>=_7.w||mb.h>=_7.h){
var w=Math.min(mb.w,Math.floor(_7.w*0.75)),h=Math.min(mb.h,Math.floor(_7.h*0.75));
if(this._singleChild&&this._singleChild.resize){
this._singleChildOriginalStyle=this._singleChild.domNode.style.cssText;
this._singleChild.resize({w:w,h:h});
}else{
dojo.style(this.containerNode,{width:w+"px",height:h+"px",overflow:"auto",position:"relative"});
}
}else{
if(this._singleChild&&this._singleChild.resize){
this._singleChild.resize();
}
}
},_position:function(){
if(!dojo.hasClass(dojo.body(),"dojoMove")){
var _8=this.domNode,_9=dijit.getViewport(),p=this._relativePosition,bb=p?null:dojo._getBorderBox(_8),l=Math.floor(_9.l+(p?p.x:(_9.w-bb.w)/2)),t=Math.floor(_9.t+(p?p.y:(_9.h-bb.h)/2));
dojo.style(_8,{left:l+"px",top:t+"px"});
}
},_onKey:function(_a){
var ds=dijit._dialogStack;
if(ds[ds.length-1]!=this){
return;
}
if(_a.charOrCode){
var dk=dojo.keys;
var _b=_a.target;
if(_a.charOrCode===dk.TAB){
this._getFocusItems(this.domNode);
}
var _c=(this._firstFocusItem==this._lastFocusItem);
if(_b==this._firstFocusItem&&_a.shiftKey&&_a.charOrCode===dk.TAB){
if(!_c){
dijit.focus(this._lastFocusItem);
}
dojo.stopEvent(_a);
}else{
if(_b==this._lastFocusItem&&_a.charOrCode===dk.TAB&&!_a.shiftKey){
if(!_c){
dijit.focus(this._firstFocusItem);
}
dojo.stopEvent(_a);
}else{
while(_b){
if(_b==this.domNode||dojo.hasClass(_b,"dijitPopup")){
if(_a.charOrCode==dk.ESCAPE){
this.onCancel();
}else{
return;
}
}
_b=_b.parentNode;
}
if(_a.charOrCode!==dk.TAB){
dojo.stopEvent(_a);
}else{
if(!dojo.isOpera){
try{
this._firstFocusItem.focus();
}
catch(e){
}
}
}
}
}
}
},show:function(){
if(this.open){
return;
}
if(!this._alreadyInitialized){
this._setup();
this._alreadyInitialized=true;
}
if(this._fadeOut.status()=="playing"){
this._fadeOut.stop();
}
this._modalconnects.push(dojo.connect(window,"onscroll",this,"layout"));
this._modalconnects.push(dojo.connect(window,"onresize",this,function(){
var _d=dijit.getViewport();
if(!this._oldViewport||_d.h!=this._oldViewport.h||_d.w!=this._oldViewport.w){
this.layout();
this._oldViewport=_d;
}
}));
this._modalconnects.push(dojo.connect(dojo.doc.documentElement,"onkeypress",this,"_onKey"));
dojo.style(this.domNode,{opacity:0,display:""});
this.open=true;
this._onShow();
this._size();
this._position();
dijit._dialogStack.push(this);
this._fadeIn.play();
this._savedFocus=dijit.getFocus(this);
},hide:function(){
var ds=dijit._dialogStack;
if(!this._alreadyInitialized||this!=ds[ds.length-1]){
return;
}
if(this._fadeIn.status()=="playing"){
this._fadeIn.stop();
}
ds.pop();
this._fadeOut.play();
if(this._scrollConnected){
this._scrollConnected=false;
}
dojo.forEach(this._modalconnects,dojo.disconnect);
this._modalconnects=[];
if(this._relativePosition){
delete this._relativePosition;
}
this.open=false;
this.onHide();
},layout:function(){
if(this.domNode.style.display!="none"){
if(dijit._underlay){
dijit._underlay.layout();
}
this._position();
}
},destroy:function(){
dojo.forEach(this._modalconnects,dojo.disconnect);
if(this.refocus&&this.open){
setTimeout(dojo.hitch(dijit,"focus",this._savedFocus),25);
}
this.inherited(arguments);
},_onCloseEnter:function(){
dojo.addClass(this.closeButtonNode,"dijitDialogCloseIcon-hover");
},_onCloseLeave:function(){
dojo.removeClass(this.closeButtonNode,"dijitDialogCloseIcon-hover");
}});
dojo.declare("dijit.Dialog",[dijit.layout.ContentPane,dijit._DialogBase],{});
dijit._dialogStack=[];
dojo.require("dijit.TooltipDialog");
}


;if(!dojo._hasResource["dijit._KeyNavContainer"]){
dojo._hasResource["dijit._KeyNavContainer"]=true;
dojo.provide("dijit._KeyNavContainer");
dojo.require("dijit._Container");
dojo.declare("dijit._KeyNavContainer",dijit._Container,{tabIndex:"0",_keyNavCodes:{},connectKeyNavHandlers:function(_1,_2){
var _3=(this._keyNavCodes={});
var _4=dojo.hitch(this,this.focusPrev);
var _5=dojo.hitch(this,this.focusNext);
dojo.forEach(_1,function(_6){
_3[_6]=_4;
});
dojo.forEach(_2,function(_7){
_3[_7]=_5;
});
this.connect(this.domNode,"onkeypress","_onContainerKeypress");
this.connect(this.domNode,"onfocus","_onContainerFocus");
},startupKeyNavChildren:function(){
dojo.forEach(this.getChildren(),dojo.hitch(this,"_startupChild"));
},addChild:function(_8,_9){
dijit._KeyNavContainer.superclass.addChild.apply(this,arguments);
this._startupChild(_8);
},focus:function(){
this.focusFirstChild();
},focusFirstChild:function(){
var _a=this._getFirstFocusableChild();
if(_a){
this.focusChild(_a);
}
},focusNext:function(){
var _b=this._getNextFocusableChild(this.focusedChild,1);
this.focusChild(_b);
},focusPrev:function(){
var _c=this._getNextFocusableChild(this.focusedChild,-1);
this.focusChild(_c,true);
},focusChild:function(_d,_e){
if(this.focusedChild&&_d!==this.focusedChild){
this._onChildBlur(this.focusedChild);
}
_d.focus(_e?"end":"start");
this.focusedChild=_d;
},_startupChild:function(_f){
_f.attr("tabIndex","-1");
this.connect(_f,"_onFocus",function(){
_f.attr("tabIndex",this.tabIndex);
});
this.connect(_f,"_onBlur",function(){
_f.attr("tabIndex","-1");
});
},_onContainerFocus:function(evt){
if(evt.target!==this.domNode){
return;
}
this.focusFirstChild();
dojo.attr(this.domNode,"tabIndex","-1");
},_onBlur:function(evt){
if(this.tabIndex){
dojo.attr(this.domNode,"tabIndex",this.tabIndex);
}
this.inherited(arguments);
},_onContainerKeypress:function(evt){
if(evt.ctrlKey||evt.altKey){
return;
}
var _10=this._keyNavCodes[evt.charOrCode];
if(_10){
_10();
dojo.stopEvent(evt);
}
},_onChildBlur:function(_11){
},_getFirstFocusableChild:function(){
return this._getNextFocusableChild(null,1);
},_getNextFocusableChild:function(_12,dir){
if(_12){
_12=this._getSiblingOfChild(_12,dir);
}
var _13=this.getChildren();
for(var i=0;i<_13.length;i++){
if(!_12){
_12=_13[(dir>0)?0:(_13.length-1)];
}
if(_12.isFocusable()){
return _12;
}
_12=this._getSiblingOfChild(_12,dir);
}
return null;
}});
}


;if(!dojo._hasResource["dijit.PopupMenuItem"]){
dojo._hasResource["dijit.PopupMenuItem"]=true;
dojo.provide("dijit.PopupMenuItem");
dojo.require("dijit.MenuItem");
dojo.declare("dijit.PopupMenuItem",dijit.MenuItem,{_fillContent:function(){
if(this.srcNodeRef){
var _1=dojo.query("*",this.srcNodeRef);
dijit.PopupMenuItem.superclass._fillContent.call(this,_1[0]);
this.dropDownContainer=this.srcNodeRef;
}
},startup:function(){
if(this._started){
return;
}
this.inherited(arguments);
if(!this.popup){
var _2=dojo.query("[widgetId]",this.dropDownContainer)[0];
this.popup=dijit.byNode(_2);
}
dojo.body().appendChild(this.popup.domNode);
this.popup.domNode.style.display="none";
if(this.arrowWrapper){
dojo.style(this.arrowWrapper,"visibility","");
}
dijit.setWaiState(this.focusNode,"haspopup","true");
},destroyDescendants:function(){
if(this.popup){
if(!this.popup._destroyed){
this.popup.destroyRecursive();
}
delete this.popup;
}
this.inherited(arguments);
}});
}


;if(!dojo._hasResource["dijit.MenuSeparator"]){
dojo._hasResource["dijit.MenuSeparator"]=true;
dojo.provide("dijit.MenuSeparator");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.require("dijit._Contained");
dojo.declare("dijit.MenuSeparator",[dijit._Widget,dijit._Templated,dijit._Contained],{templateString:dojo.cache("dijit","templates/MenuSeparator.html","<tr class=\"dijitMenuSeparator\">\n\t<td colspan=\"4\">\n\t\t<div class=\"dijitMenuSeparatorTop\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n</tr>\n"),postCreate:function(){
dojo.setSelectable(this.domNode,false);
},isFocusable:function(){
return false;
}});
}


;if(!dojo._hasResource["dijit.Menu"]){
dojo._hasResource["dijit.Menu"]=true;
dojo.provide("dijit.Menu");
dojo.require("dijit._Widget");
dojo.require("dijit._KeyNavContainer");
dojo.require("dijit._Templated");
dojo.declare("dijit._MenuBase",[dijit._Widget,dijit._Templated,dijit._KeyNavContainer],{parentMenu:null,popupDelay:500,startup:function(){
if(this._started){
return;
}
dojo.forEach(this.getChildren(),function(_1){
_1.startup();
});
this.startupKeyNavChildren();
this.inherited(arguments);
},onExecute:function(){
},onCancel:function(_2){
},_moveToPopup:function(_3){
if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){
this.focusedChild._onClick(_3);
}else{
var _4=this._getTopMenu();
if(_4&&_4._isMenuBar){
_4.focusNext();
}
}
},_onPopupHover:function(_5){
if(this.currentPopup&&this.currentPopup._pendingClose_timer){
var _6=this.currentPopup.parentMenu;
if(_6.focusedChild){
_6.focusedChild._setSelected(false);
}
_6.focusedChild=this.currentPopup.from_item;
_6.focusedChild._setSelected(true);
this._stopPendingCloseTimer(this.currentPopup);
}
},onItemHover:function(_7){
if(this.isActive){
this.focusChild(_7);
if(this.focusedChild.popup&&!this.focusedChild.disabled&&!this.hover_timer){
this.hover_timer=setTimeout(dojo.hitch(this,"_openPopup"),this.popupDelay);
}
}
if(this.focusedChild){
this.focusChild(_7);
}
this._hoveredChild=_7;
},_onChildBlur:function(_8){
this._stopPopupTimer();
_8._setSelected(false);
var _9=_8.popup;
if(_9){
this._stopPendingCloseTimer(_9);
_9._pendingClose_timer=setTimeout(function(){
_9._pendingClose_timer=null;
if(_9.parentMenu){
_9.parentMenu.currentPopup=null;
}
dijit.popup.close(_9);
},this.popupDelay);
}
},onItemUnhover:function(_a){
if(this.isActive){
this._stopPopupTimer();
}
if(this._hoveredChild==_a){
this._hoveredChild=null;
}
},_stopPopupTimer:function(){
if(this.hover_timer){
clearTimeout(this.hover_timer);
this.hover_timer=null;
}
},_stopPendingCloseTimer:function(_b){
if(_b._pendingClose_timer){
clearTimeout(_b._pendingClose_timer);
_b._pendingClose_timer=null;
}
},_stopFocusTimer:function(){
if(this._focus_timer){
clearTimeout(this._focus_timer);
this._focus_timer=null;
}
},_getTopMenu:function(){
for(var _c=this;_c.parentMenu;_c=_c.parentMenu){
}
return _c;
},onItemClick:function(_d,_e){
if(_d.disabled){
return false;
}
if(typeof this.isShowingNow=="undefined"){
this._markActive();
}
this.focusChild(_d);
if(_d.popup){
this._openPopup();
}else{
this.onExecute();
_d.onClick(_e);
}
},_openPopup:function(){
this._stopPopupTimer();
var _f=this.focusedChild;
if(!_f){
return;
}
var _10=_f.popup;
if(_10.isShowingNow){
return;
}
if(this.currentPopup){
this._stopPendingCloseTimer(this.currentPopup);
dijit.popup.close(this.currentPopup);
}
_10.parentMenu=this;
_10.from_item=_f;
var _11=this;
dijit.popup.open({parent:this,popup:_10,around:_f.domNode,orient:this._orient||(this.isLeftToRight()?{"TR":"TL","TL":"TR","BR":"BL","BL":"BR"}:{"TL":"TR","TR":"TL","BL":"BR","BR":"BL"}),onCancel:function(){
_11.focusChild(_f);
_11._cleanUp();
_f._setSelected(true);
_11.focusedChild=_f;
},onExecute:dojo.hitch(this,"_cleanUp")});
this.currentPopup=_10;
_10.connect(_10.domNode,"onmouseenter",dojo.hitch(_11,"_onPopupHover"));
if(_10.focus){
_10._focus_timer=setTimeout(dojo.hitch(_10,function(){
this._focus_timer=null;
this.focus();
}),0);
}
},_markActive:function(){
this.isActive=true;
dojo.addClass(this.domNode,"dijitMenuActive");
dojo.removeClass(this.domNode,"dijitMenuPassive");
},onOpen:function(e){
this.isShowingNow=true;
this._markActive();
},_markInactive:function(){
this.isActive=false;
dojo.removeClass(this.domNode,"dijitMenuActive");
dojo.addClass(this.domNode,"dijitMenuPassive");
},onClose:function(){
this._stopFocusTimer();
this._markInactive();
this.isShowingNow=false;
this.parentMenu=null;
},_closeChild:function(){
this._stopPopupTimer();
if(this.focusedChild){
this.focusedChild._setSelected(false);
this.focusedChild._onUnhover();
this.focusedChild=null;
}
if(this.currentPopup){
dijit.popup.close(this.currentPopup);
this.currentPopup=null;
}
},_onItemFocus:function(_12){
if(this._hoveredChild&&this._hoveredChild!=_12){
this._hoveredChild._onUnhover();
}
},_onBlur:function(){
this._cleanUp();
this.inherited(arguments);
},_cleanUp:function(){
this._closeChild();
if(typeof this.isShowingNow=="undefined"){
this._markInactive();
}
}});
dojo.declare("dijit.Menu",dijit._MenuBase,{constructor:function(){
this._bindings=[];
},templateString:dojo.cache("dijit","templates/Menu.html","<table class=\"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable\" waiRole=\"menu\" tabIndex=\"${tabIndex}\" dojoAttachEvent=\"onkeypress:_onKeyPress\">\n\t<tbody class=\"dijitReset\" dojoAttachPoint=\"containerNode\"></tbody>\n</table>\n"),targetNodeIds:[],contextMenuForWindow:false,leftClickToOpen:false,refocus:true,_contextMenuWithMouse:false,postCreate:function(){
if(this.contextMenuForWindow){
this.bindDomNode(dojo.body());
}else{
dojo.forEach(this.targetNodeIds,this.bindDomNode,this);
}
var k=dojo.keys,l=this.isLeftToRight();
this._openSubMenuKey=l?k.RIGHT_ARROW:k.LEFT_ARROW;
this._closeSubMenuKey=l?k.LEFT_ARROW:k.RIGHT_ARROW;
this.connectKeyNavHandlers([k.UP_ARROW],[k.DOWN_ARROW]);
},_onKeyPress:function(evt){
if(evt.ctrlKey||evt.altKey){
return;
}
switch(evt.charOrCode){
case this._openSubMenuKey:
this._moveToPopup(evt);
dojo.stopEvent(evt);
break;
case this._closeSubMenuKey:
if(this.parentMenu){
if(this.parentMenu._isMenuBar){
this.parentMenu.focusPrev();
}else{
this.onCancel(false);
}
}else{
dojo.stopEvent(evt);
}
break;
}
},_iframeContentWindow:function(_13){
var win=dijit.getDocumentWindow(this._iframeContentDocument(_13))||this._iframeContentDocument(_13)["__parent__"]||(_13.name&&dojo.doc.frames[_13.name])||null;
return win;
},_iframeContentDocument:function(_14){
var doc=_14.contentDocument||(_14.contentWindow&&_14.contentWindow.document)||(_14.name&&dojo.doc.frames[_14.name]&&dojo.doc.frames[_14.name].document)||null;
return doc;
},bindDomNode:function(_15){
_15=dojo.byId(_15);
var cn;
if(_15.tagName.toLowerCase()=="iframe"){
var _16=_15,win=this._iframeContentWindow(_16);
cn=dojo.withGlobal(win,dojo.body);
}else{
cn=(_15==dojo.body()?dojo.doc.documentElement:_15);
}
var _17={node:_15,iframe:_16};
dojo.attr(_15,"_dijitMenu"+this.id,this._bindings.push(_17));
var _18=dojo.hitch(this,function(cn){
return [dojo.connect(cn,(this.leftClickToOpen)?"onclick":"oncontextmenu",this,function(evt){
this._openMyself(evt,cn,_16);
}),dojo.connect(cn,"onkeydown",this,"_contextKey"),dojo.connect(cn,"onmousedown",this,"_contextMouse")];
});
_17.connects=cn?_18(cn):[];
if(_16){
_17.onloadHandler=dojo.hitch(this,function(){
var win=this._iframeContentWindow(_16);
cn=dojo.withGlobal(win,dojo.body);
_17.connects=_18(cn);
});
if(_16.addEventListener){
_16.addEventListener("load",_17.onloadHandler,false);
}else{
_16.attachEvent("onload",_17.onloadHandler);
}
}
},unBindDomNode:function(_19){
var _1a;
try{
_1a=dojo.byId(_19);
}
catch(e){
return;
}
var _1b="_dijitMenu"+this.id;
if(_1a&&dojo.hasAttr(_1a,_1b)){
var bid=dojo.attr(_1a,_1b)-1,b=this._bindings[bid];
dojo.forEach(b.connects,dojo.disconnect);
var _1c=b.iframe;
if(_1c){
if(_1c.removeEventListener){
_1c.removeEventListener("load",b.onloadHandler,false);
}else{
_1c.detachEvent("onload",b.onloadHandler);
}
}
dojo.removeAttr(_1a,_1b);
delete this._bindings[bid];
}
},_contextKey:function(e){
this._contextMenuWithMouse=false;
if(e.keyCode==dojo.keys.F10){
dojo.stopEvent(e);
if(e.shiftKey&&e.type=="keydown"){
var _1d={target:e.target,pageX:e.pageX,pageY:e.pageY};
_1d.preventDefault=_1d.stopPropagation=function(){
};
window.setTimeout(dojo.hitch(this,function(){
this._openMyself(_1d);
}),1);
}
}
},_contextMouse:function(e){
this._contextMenuWithMouse=true;
},_openMyself:function(e,_1e,_1f){
if(this.leftClickToOpen&&e.button>0){
return;
}
dojo.stopEvent(e);
var x,y;
if(dojo.isSafari||this._contextMenuWithMouse){
x=e.pageX;
y=e.pageY;
if(_1f){
var od=e.target.ownerDocument,ifc=dojo.position(_1f,true),win=this._iframeContentWindow(_1f),_20=dojo.withGlobal(win,"_docScroll",dojo);
var cs=dojo.getComputedStyle(_1f),tp=dojo._toPixelValue,_21=(dojo.isIE&&dojo.isQuirks?0:tp(_1f,cs.paddingLeft))+(dojo.isIE&&dojo.isQuirks?tp(_1f,cs.borderLeftWidth):0),top=(dojo.isIE&&dojo.isQuirks?0:tp(_1f,cs.paddingTop))+(dojo.isIE&&dojo.isQuirks?tp(_1f,cs.borderTopWidth):0);
x+=ifc.x+_21-_20.x;
y+=ifc.y+top-_20.y;
}
}else{
var _22=dojo.position(e.target,true);
x=_22.x+10;
y=_22.y+10;
}
var _23=this;
var _24=dijit.getFocus(this);
function _25(){
if(_23.refocus){
dijit.focus(_24);
}
dijit.popup.close(_23);
};
dijit.popup.open({popup:this,x:x,y:y,onExecute:_25,onCancel:_25,orient:this.isLeftToRight()?"L":"R"});
this.focus();
this._onBlur=function(){
this.inherited("_onBlur",arguments);
dijit.popup.close(this);
};
},uninitialize:function(){
dojo.forEach(this._bindings,function(b){
if(b){
this.unBindDomNode(b.node);
}
},this);
this.inherited(arguments);
}});
dojo.require("dijit.MenuItem");
dojo.require("dijit.PopupMenuItem");
dojo.require("dijit.CheckedMenuItem");
dojo.require("dijit.MenuSeparator");
}


;if(!dojo._hasResource["dijit.Tooltip"]){
dojo._hasResource["dijit.Tooltip"]=true;
dojo.provide("dijit.Tooltip");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.declare("dijit._MasterTooltip",[dijit._Widget,dijit._Templated],{duration:dijit.defaultDuration,templateString:dojo.cache("dijit","templates/Tooltip.html","<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\">\n\t<div class=\"dijitTooltipContainer dijitTooltipContents\" dojoAttachPoint=\"containerNode\" waiRole='alert'></div>\n\t<div class=\"dijitTooltipConnector\"></div>\n</div>\n"),postCreate:function(){
dojo.body().appendChild(this.domNode);
this.bgIframe=new dijit.BackgroundIframe(this.domNode);
this.fadeIn=dojo.fadeIn({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onShow")});
this.fadeOut=dojo.fadeOut({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onHide")});
},show:function(_1,_2,_3){
if(this.aroundNode&&this.aroundNode===_2){
return;
}
if(this.fadeOut.status()=="playing"){
this._onDeck=arguments;
return;
}
this.containerNode.innerHTML=_1;
this.domNode.style.top=(this.domNode.offsetTop+1)+"px";
var _4=dijit.placeOnScreenAroundElement(this.domNode,_2,dijit.getPopupAroundAlignment((_3&&_3.length)?_3:dijit.Tooltip.defaultPosition,this.isLeftToRight()),dojo.hitch(this,"orient"));
dojo.style(this.domNode,"opacity",0);
this.fadeIn.play();
this.isShowingNow=true;
this.aroundNode=_2;
},orient:function(_5,_6,_7){
_5.className="dijitTooltip "+{"BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_6+"-"+_7];
},_onShow:function(){
if(dojo.isIE){
this.domNode.style.filter="";
}
},hide:function(_8){
if(this._onDeck&&this._onDeck[1]==_8){
this._onDeck=null;
}else{
if(this.aroundNode===_8){
this.fadeIn.stop();
this.isShowingNow=false;
this.aroundNode=null;
this.fadeOut.play();
}else{
}
}
},_onHide:function(){
this.domNode.style.cssText="";
if(this._onDeck){
this.show.apply(this,this._onDeck);
this._onDeck=null;
}
}});
dijit.showTooltip=function(_9,_a,_b){
if(!dijit._masterTT){
dijit._masterTT=new dijit._MasterTooltip();
}
return dijit._masterTT.show(_9,_a,_b);
};
dijit.hideTooltip=function(_c){
if(!dijit._masterTT){
dijit._masterTT=new dijit._MasterTooltip();
}
return dijit._masterTT.hide(_c);
};
dojo.declare("dijit.Tooltip",dijit._Widget,{label:"",showDelay:400,connectId:[],position:[],constructor:function(){
this._nodeConnectionsById={};
},_setConnectIdAttr:function(_d){
for(var _e in this._nodeConnectionsById){
this.removeTarget(_e);
}
dojo.forEach(dojo.isArrayLike(_d)?_d:[_d],this.addTarget,this);
},_getConnectIdAttr:function(){
var _f=[];
for(var id in this._nodeConnectionsById){
_f.push(id);
}
return _f;
},addTarget:function(id){
var _10=dojo.byId(id);
if(!_10){
return;
}
if(_10.id in this._nodeConnectionsById){
return;
}
this._nodeConnectionsById[_10.id]=[this.connect(_10,"onmouseenter","_onTargetMouseEnter"),this.connect(_10,"onmouseleave","_onTargetMouseLeave"),this.connect(_10,"onfocus","_onTargetFocus"),this.connect(_10,"onblur","_onTargetBlur")];
if(dojo.isIE&&!_10.style.zoom){
_10.style.zoom=1;
}
},removeTarget:function(_11){
var id=_11.id||_11;
if(id in this._nodeConnectionsById){
dojo.forEach(this._nodeConnectionsById[id],this.disconnect,this);
delete this._nodeConnectionsById[id];
}
},postCreate:function(){
dojo.addClass(this.domNode,"dijitTooltipData");
},startup:function(){
this.inherited(arguments);
var ids=this.connectId;
dojo.forEach(dojo.isArrayLike(ids)?ids:[ids],this.addTarget,this);
},_onTargetMouseEnter:function(e){
this._onHover(e);
},_onTargetMouseLeave:function(e){
this._onUnHover(e);
},_onTargetFocus:function(e){
this._focus=true;
this._onHover(e);
},_onTargetBlur:function(e){
this._focus=false;
this._onUnHover(e);
},_onHover:function(e){
if(!this._showTimer){
var _12=e.target;
this._showTimer=setTimeout(dojo.hitch(this,function(){
this.open(_12);
}),this.showDelay);
}
},_onUnHover:function(e){
if(this._focus){
return;
}
if(this._showTimer){
clearTimeout(this._showTimer);
delete this._showTimer;
}
this.close();
},open:function(_13){
if(this._showTimer){
clearTimeout(this._showTimer);
delete this._showTimer;
}
dijit.showTooltip(this.label||this.domNode.innerHTML,_13,this.position);
this._connectNode=_13;
this.onShow(_13,this.position);
},close:function(){
if(this._connectNode){
dijit.hideTooltip(this._connectNode);
delete this._connectNode;
this.onHide();
}
if(this._showTimer){
clearTimeout(this._showTimer);
delete this._showTimer;
}
},onShow:function(_14,_15){
},onHide:function(){
},uninitialize:function(){
this.close();
this.inherited(arguments);
}});
dijit.Tooltip.defaultPosition=["after","before"];
}


;if(!dojo._hasResource["dijit.form._FormWidget"]){
dojo._hasResource["dijit.form._FormWidget"]=true;
dojo.provide("dijit.form._FormWidget");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.declare("dijit.form._FormWidget",[dijit._Widget,dijit._Templated],{baseClass:"",name:"",alt:"",value:"",type:"text",tabIndex:"0",disabled:false,intermediateChanges:false,scrollOnFocus:true,attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{value:"focusNode",id:"focusNode",tabIndex:"focusNode",alt:"focusNode",title:"focusNode"}),postMixInProperties:function(){
this.nameAttrSetting=this.name?("name='"+this.name+"'"):"";
this.inherited(arguments);
},_setDisabledAttr:function(_1){
this.disabled=_1;
dojo.attr(this.focusNode,"disabled",_1);
if(this.valueNode){
dojo.attr(this.valueNode,"disabled",_1);
}
dijit.setWaiState(this.focusNode,"disabled",_1);
if(_1){
this._hovering=false;
this._active=false;
this.focusNode.setAttribute("tabIndex","-1");
}else{
this.focusNode.setAttribute("tabIndex",this.tabIndex);
}
this._setStateClass();
},setDisabled:function(_2){
dojo.deprecated("setDisabled("+_2+") is deprecated. Use attr('disabled',"+_2+") instead.","","2.0");
this.attr("disabled",_2);
},_onFocus:function(e){
if(this.scrollOnFocus){
dijit.scrollIntoView(this.domNode);
}
this.inherited(arguments);
},_onMouse:function(_3){
var _4=_3.currentTarget;
if(_4&&_4.getAttribute){
this.stateModifier=_4.getAttribute("stateModifier")||"";
}
if(!this.disabled){
switch(_3.type){
case "mouseenter":
case "mouseover":
this._hovering=true;
this._active=this._mouseDown;
break;
case "mouseout":
case "mouseleave":
this._hovering=false;
this._active=false;
break;
case "mousedown":
this._active=true;
this._mouseDown=true;
var _5=this.connect(dojo.body(),"onmouseup",function(){
if(this._mouseDown&&this.isFocusable()){
this.focus();
}
this._active=false;
this._mouseDown=false;
this._setStateClass();
this.disconnect(_5);
});
break;
}
this._setStateClass();
}
},isFocusable:function(){
return !this.disabled&&!this.readOnly&&this.focusNode&&(dojo.style(this.domNode,"display")!="none");
},focus:function(){
dijit.focus(this.focusNode);
},_setStateClass:function(){
var _6=this.baseClass.split(" ");
function _7(_8){
_6=_6.concat(dojo.map(_6,function(c){
return c+_8;
}),"dijit"+_8);
};
if(this.checked){
_7("Checked");
}
if(this.state){
_7(this.state);
}
if(this.selected){
_7("Selected");
}
if(this.disabled){
_7("Disabled");
}else{
if(this.readOnly){
_7("ReadOnly");
}else{
if(this._active){
_7(this.stateModifier+"Active");
}else{
if(this._focused){
_7("Focused");
}
if(this._hovering){
_7(this.stateModifier+"Hover");
}
}
}
}
var tn=this.stateNode||this.domNode,_9={};
dojo.forEach(tn.className.split(" "),function(c){
_9[c]=true;
});
if("_stateClasses" in this){
dojo.forEach(this._stateClasses,function(c){
delete _9[c];
});
}
dojo.forEach(_6,function(c){
_9[c]=true;
});
var _a=[];
for(var c in _9){
_a.push(c);
}
tn.className=_a.join(" ");
this._stateClasses=_6;
},compare:function(_b,_c){
if(typeof _b=="number"&&typeof _c=="number"){
return (isNaN(_b)&&isNaN(_c))?0:_b-_c;
}else{
if(_b>_c){
return 1;
}else{
if(_b<_c){
return -1;
}else{
return 0;
}
}
}
},onChange:function(_d){
},_onChangeActive:false,_handleOnChange:function(_e,_f){
this._lastValue=_e;
if(this._lastValueReported==undefined&&(_f===null||!this._onChangeActive)){
this._resetValue=this._lastValueReported=_e;
}
if((this.intermediateChanges||_f||_f===undefined)&&((typeof _e!=typeof this._lastValueReported)||this.compare(_e,this._lastValueReported)!=0)){
this._lastValueReported=_e;
if(this._onChangeActive){
if(this._onChangeHandle){
clearTimeout(this._onChangeHandle);
}
this._onChangeHandle=setTimeout(dojo.hitch(this,function(){
this._onChangeHandle=null;
this.onChange(_e);
}),0);
}
}
},create:function(){
this.inherited(arguments);
this._onChangeActive=true;
this._setStateClass();
},destroy:function(){
if(this._onChangeHandle){
clearTimeout(this._onChangeHandle);
this.onChange(this._lastValueReported);
}
this.inherited(arguments);
},setValue:function(_10){
dojo.deprecated("dijit.form._FormWidget:setValue("+_10+") is deprecated.  Use attr('value',"+_10+") instead.","","2.0");
this.attr("value",_10);
},getValue:function(){
dojo.deprecated(this.declaredClass+"::getValue() is deprecated. Use attr('value') instead.","","2.0");
return this.attr("value");
}});
dojo.declare("dijit.form._FormValueWidget",dijit.form._FormWidget,{readOnly:false,attributeMap:dojo.delegate(dijit.form._FormWidget.prototype.attributeMap,{value:"",readOnly:"focusNode"}),_setReadOnlyAttr:function(_11){
this.readOnly=_11;
dojo.attr(this.focusNode,"readOnly",_11);
dijit.setWaiState(this.focusNode,"readonly",_11);
this._setStateClass();
},postCreate:function(){
if(dojo.isIE){
this.connect(this.focusNode||this.domNode,"onkeydown",this._onKeyDown);
}
if(this._resetValue===undefined){
this._resetValue=this.value;
}
},_setValueAttr:function(_12,_13){
this.value=_12;
this._handleOnChange(_12,_13);
},_getValueAttr:function(){
return this._lastValue;
},undo:function(){
this._setValueAttr(this._lastValueReported,false);
},reset:function(){
this._hasBeenBlurred=false;
this._setValueAttr(this._resetValue,true);
},_onKeyDown:function(e){
if(e.keyCode==dojo.keys.ESCAPE&&!(e.ctrlKey||e.altKey||e.metaKey)){
var te;
if(dojo.isIE){
e.preventDefault();
te=document.createEventObject();
te.keyCode=dojo.keys.ESCAPE;
te.shiftKey=e.shiftKey;
e.srcElement.fireEvent("onkeypress",te);
}
}
},_layoutHackIE7:function(){
if(dojo.isIE==7){
var _14=this.domNode;
var _15=_14.parentNode;
var _16=_14.firstChild||_14;
var _17=_16.style.filter;
var _18=this;
while(_15&&_15.clientHeight==0){
(function ping(){
var _19=_18.connect(_15,"onscroll",function(e){
_18.disconnect(_19);
_16.style.filter=(new Date()).getMilliseconds();
setTimeout(function(){
_16.style.filter=_17;
},0);
});
})();
_15=_15.parentNode;
}
}
}});
}


;if(!dojo._hasResource["dijit._HasDropDown"]){
dojo._hasResource["dijit._HasDropDown"]=true;
dojo.provide("dijit._HasDropDown");
dojo.require("dijit._base.place");
dojo.require("dijit._Widget");
dojo.declare("dijit._HasDropDown",null,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:true,forceWidth:false,maxHeight:0,dropDownPosition:["below","above"],_stopClickEvents:true,_onDropDownMouse:function(e){
if(e.type=="click"&&!this._seenKeydown){
return;
}
this._seenKeydown=false;
if(e.type=="mousedown"){
this._docHandler=this.connect(dojo.doc,"onmouseup","_onDropDownMouseup");
}
if(this.disabled||this.readOnly){
return;
}
if(this._stopClickEvents){
dojo.stopEvent(e);
}
this.toggleDropDown();
if(e.type=="click"||e.type=="keypress"){
this._onDropDownMouseup();
}
},_onDropDownMouseup:function(e){
if(e&&this._docHandler){
this.disconnect(this._docHandler);
}
var _1=this.dropDown,_2=false;
if(e&&this._opened){
var c=dojo.position(this._buttonNode,true);
if(!(e.pageX>=c.x&&e.pageX<=c.x+c.w)||!(e.pageY>=c.y&&e.pageY<=c.y+c.h)){
var t=e.target;
while(t&&!_2){
if(dojo.hasClass(t,"dijitPopup")){
_2=true;
}else{
t=t.parentNode;
}
}
if(_2){
t=e.target;
if(_1.onItemClick){
var _3;
while(t&&!(_3=dijit.byNode(t))){
t=t.parentNode;
}
if(_3&&_3.onClick&&_3.getParent){
_3.getParent().onItemClick(_3,e);
}
}
return;
}
}
}
if(this._opened&&_1.focus){
window.setTimeout(dojo.hitch(_1,"focus"),1);
}
},_setupDropdown:function(){
this._buttonNode=this._buttonNode||this.focusNode||this.domNode;
this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;
this._aroundNode=this._aroundNode||this.domNode;
this.connect(this._buttonNode,"onmousedown","_onDropDownMouse");
this.connect(this._buttonNode,"onclick","_onDropDownMouse");
this.connect(this._buttonNode,"onkeydown","_onDropDownKeydown");
this.connect(this._buttonNode,"onblur","_onDropDownBlur");
this.connect(this._buttonNode,"onkeypress","_onKey");
if(this._setStateClass){
this.connect(this,"openDropDown","_setStateClass");
this.connect(this,"closeDropDown","_setStateClass");
}
var _4={"after":this.isLeftToRight()?"Right":"Left","before":this.isLeftToRight()?"Left":"Right","above":"Up","below":"Down","left":"Left","right":"Right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"Down";
dojo.addClass(this._arrowWrapperNode||this._buttonNode,"dijit"+_4+"ArrowButton");
},postCreate:function(){
this._setupDropdown();
this.inherited(arguments);
},destroyDescendants:function(){
if(this.dropDown){
if(!this.dropDown._destroyed){
this.dropDown.destroyRecursive();
}
delete this.dropDown;
}
this.inherited(arguments);
},_onDropDownKeydown:function(e){
this._seenKeydown=true;
},_onKeyPress:function(e){
if(this._opened&&e.charOrCode==dojo.keys.ESCAPE&&!e.shiftKey&&!e.ctrlKey&&!e.altKey){
this.toggleDropDown();
dojo.stopEvent(e);
return;
}
this.inherited(arguments);
},_onDropDownBlur:function(e){
this._seenKeydown=false;
},_onKey:function(e){
if(this.disabled||this.readOnly){
return;
}
var d=this.dropDown;
if(d&&this._opened&&d.handleKey){
if(d.handleKey(e)===false){
return;
}
}
if(d&&this._opened&&e.keyCode==dojo.keys.ESCAPE){
this.toggleDropDown();
return;
}
if(e.keyCode==dojo.keys.DOWN_ARROW||e.keyCode==dojo.keys.ENTER||e.charOrCode==" "){
this._onDropDownMouse(e);
}
},_onBlur:function(){
this.closeDropDown();
this.inherited(arguments);
},isLoaded:function(){
return true;
},loadDropDown:function(_5){
_5();
},toggleDropDown:function(){
if(this.disabled||this.readOnly){
return;
}
this.focus();
var _6=this.dropDown;
if(!_6){
return;
}
if(!this._opened){
if(!this.isLoaded()){
this.loadDropDown(dojo.hitch(this,"openDropDown"));
return;
}else{
this.openDropDown();
}
}else{
this.closeDropDown();
}
},openDropDown:function(){
var _7=this.dropDown;
var _8=_7.domNode;
var _9=this;
if(!this._preparedNode){
dijit.popup.moveOffScreen(_8);
this._preparedNode=true;
if(_8.style.width){
this._explicitDDWidth=true;
}
if(_8.style.height){
this._explicitDDHeight=true;
}
}
if(this.maxHeight||this.forceWidth||this.autoWidth){
var _a={display:"",visibility:"hidden"};
if(!this._explicitDDWidth){
_a.width="";
}
if(!this._explicitDDHeight){
_a.height="";
}
dojo.style(_8,_a);
var mb=dojo.marginBox(_8);
var _b=(this.maxHeight&&mb.h>this.maxHeight);
dojo.style(_8,{overflow:_b?"auto":"hidden"});
if(this.forceWidth){
mb.w=this.domNode.offsetWidth;
}else{
if(this.autoWidth){
mb.w=Math.max(mb.w,this.domNode.offsetWidth);
}else{
delete mb.w;
}
}
if(_b){
mb.h=this.maxHeight;
if("w" in mb){
mb.w+=16;
}
}else{
delete mb.h;
}
delete mb.t;
delete mb.l;
if(dojo.isFunction(_7.resize)){
_7.resize(mb);
}else{
dojo.marginBox(_8,mb);
}
}
var _c=dijit.popup.open({parent:this,popup:_7,around:this._aroundNode,orient:dijit.getPopupAroundAlignment((this.dropDownPosition&&this.dropDownPosition.length)?this.dropDownPosition:["below"],this.isLeftToRight()),onExecute:function(){
_9.closeDropDown(true);
},onCancel:function(){
_9.closeDropDown(true);
},onClose:function(){
dojo.attr(_9._popupStateNode,"popupActive",false);
dojo.removeClass(_9._popupStateNode,"dijitHasDropDownOpen");
_9._opened=false;
_9.state="";
}});
dojo.attr(this._popupStateNode,"popupActive","true");
dojo.addClass(_9._popupStateNode,"dijitHasDropDownOpen");
this._opened=true;
this.state="Opened";
return _c;
},closeDropDown:function(_d){
if(this._opened){
dijit.popup.close(this.dropDown);
if(_d){
this.focus();
}
this._opened=false;
this.state="";
}
}});
}


;if(!dojo._hasResource["dijit.form.Button"]){
dojo._hasResource["dijit.form.Button"]=true;
dojo.provide("dijit.form.Button");
dojo.require("dijit.form._FormWidget");
dojo.require("dijit._Container");
dojo.require("dijit._HasDropDown");
dojo.declare("dijit.form.Button",dijit.form._FormWidget,{label:"",showLabel:true,iconClass:"",type:"button",baseClass:"dijitButton",templateString:dojo.cache("dijit.form","templates/Button.html","<span class=\"dijit dijitReset dijitLeft dijitInline\"\n\tdojoAttachEvent=\"onclick:_onButtonClick,onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\"\n\t><span class=\"dijitReset dijitRight dijitInline\"\n\t\t><span class=\"dijitReset dijitInline dijitButtonNode\"\n\t\t\t><button class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\t\tdojoAttachPoint=\"titleNode,focusNode\"\n\t\t\t\t${nameAttrSetting} type=\"${type}\" value=\"${value}\" waiRole=\"button\" waiState=\"labelledby-${id}_label\"\n\t\t\t\t><span class=\"dijitReset dijitInline\" dojoAttachPoint=\"iconNode\"\n\t\t\t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">&#10003;</span\n\t\t\t\t></span\n\t\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\t\tid=\"${id}_label\"\n\t\t\t\t\tdojoAttachPoint=\"containerNode\"\n\t\t\t\t></span\n\t\t\t></button\n\t\t></span\n\t></span\n></span>\n"),attributeMap:dojo.delegate(dijit.form._FormWidget.prototype.attributeMap,{label:{node:"containerNode",type:"innerHTML"},iconClass:{node:"iconNode",type:"class"}}),_onClick:function(e){
if(this.disabled){
return false;
}
this._clicked();
return this.onClick(e);
},_onButtonClick:function(e){
if(this._onClick(e)===false){
e.preventDefault();
}else{
if(this.type=="submit"&&!this.focusNode.form){
for(var _1=this.domNode;_1.parentNode;_1=_1.parentNode){
var _2=dijit.byNode(_1);
if(_2&&typeof _2._onSubmit=="function"){
_2._onSubmit(e);
break;
}
}
}
}
},_setValueAttr:function(_3){
var _4=this.attributeMap.value||"";
if(this[_4.node||_4||"domNode"].tagName=="BUTTON"){
if(_3!=this.value){
console.debug("Cannot change the value attribute on a Button widget.");
}
}
},_fillContent:function(_5){
if(_5&&(!this.params||!("label" in this.params))){
this.attr("label",_5.innerHTML);
}
},postCreate:function(){
dojo.setSelectable(this.focusNode,false);
this.inherited(arguments);
},_setShowLabelAttr:function(_6){
if(this.containerNode){
dojo.toggleClass(this.containerNode,"dijitDisplayNone",!_6);
}
this.showLabel=_6;
},onClick:function(e){
return true;
},_clicked:function(e){
},setLabel:function(_7){
dojo.deprecated("dijit.form.Button.setLabel() is deprecated.  Use attr('label', ...) instead.","","2.0");
this.attr("label",_7);
},_setLabelAttr:function(_8){
this.containerNode.innerHTML=this.label=_8;
if(this.showLabel==false&&!this.params.title){
this.titleNode.title=dojo.trim(this.containerNode.innerText||this.containerNode.textContent||"");
}
}});
dojo.declare("dijit.form.DropDownButton",[dijit.form.Button,dijit._Container,dijit._HasDropDown],{baseClass:"dijitDropDownButton",templateString:dojo.cache("dijit.form","templates/DropDownButton.html","<span class=\"dijit dijitReset dijitLeft dijitInline\"\n\tdojoAttachPoint=\"_buttonNode\"\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\"\n\t><span class='dijitReset dijitRight dijitInline'\n\t\t><span class='dijitReset dijitInline dijitButtonNode'\n\t\t\t><button class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\t\t${nameAttrSetting} type=\"${type}\" value=\"${value}\"\n\t\t\t\tdojoAttachPoint=\"focusNode,titleNode,_arrowWrapperNode\"\n\t\t\t\twaiRole=\"button\" waiState=\"haspopup-true,labelledby-${id}_label\"\n\t\t\t\t><span class=\"dijitReset dijitInline\"\n\t\t\t\t\tdojoAttachPoint=\"iconNode\"\n\t\t\t\t></span\n\t\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\t\tdojoAttachPoint=\"containerNode,_popupStateNode\"\n\t\t\t\t\tid=\"${id}_label\"\n\t\t\t\t></span\n\t\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonInner\">&thinsp;</span\n\t\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonChar\">&#9660;</span\n\t\t\t></button\n\t\t></span\n\t></span\n></span>\n"),_fillContent:function(){
if(this.srcNodeRef){
var _9=dojo.query("*",this.srcNodeRef);
dijit.form.DropDownButton.superclass._fillContent.call(this,_9[0]);
this.dropDownContainer=this.srcNodeRef;
}
},startup:function(){
if(this._started){
return;
}
if(!this.dropDown){
var _a=dojo.query("[widgetId]",this.dropDownContainer)[0];
this.dropDown=dijit.byNode(_a);
delete this.dropDownContainer;
}
dijit.popup.moveOffScreen(this.dropDown.domNode);
this.inherited(arguments);
},isLoaded:function(){
var _b=this.dropDown;
return (!_b.href||_b.isLoaded);
},loadDropDown:function(){
var _c=this.dropDown;
if(!_c){
return;
}
if(!this.isLoaded()){
var _d=dojo.connect(_c,"onLoad",this,function(){
dojo.disconnect(_d);
this.openDropDown();
});
_c.refresh();
}else{
this.openDropDown();
}
},isFocusable:function(){
return this.inherited(arguments)&&!this._mouseDown;
}});
dojo.declare("dijit.form.ComboButton",dijit.form.DropDownButton,{templateString:dojo.cache("dijit.form","templates/ComboButton.html","<table class='dijit dijitReset dijitInline dijitLeft'\n\tcellspacing='0' cellpadding='0' waiRole=\"presentation\"\n\t><tbody waiRole=\"presentation\"><tr waiRole=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonNode\"><button id=\"${id}_button\" class=\"dijitReset dijitButtonContents\"\n\t\t\tdojoAttachEvent=\"onclick:_onButtonClick,onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse,onkeypress:_onButtonKeyPress\"  dojoAttachPoint=\"titleNode\"\n\t\t\twaiRole=\"button\" waiState=\"labelledby-${id}_label\"\n\t\t\t><div class=\"dijitReset dijitInline\" dojoAttachPoint=\"iconNode\" waiRole=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitInline dijitButtonText\" id=\"${id}_label\" dojoAttachPoint=\"containerNode\" waiRole=\"presentation\"></div\n\t\t></button></td\n\t\t><td id=\"${id}_arrow\" class='dijitReset dijitRight dijitButtonNode dijitArrowButton'\n\t\t\tdojoAttachPoint=\"_popupStateNode,focusNode,_buttonNode\"\n\t\t\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onkeypress:_onArrowKeyPress\"\n\t\t\tstateModifier=\"DownArrow\"\n\t\t\ttitle=\"${optionsTitle}\" ${nameAttrSetting}\n\t\t\twaiRole=\"button\" waiState=\"haspopup-true\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" waiRole=\"presentation\">&thinsp;</div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" waiRole=\"presentation\">&#9660;</div\n\t\t></td\n\t></tr></tbody\n></table>\n"),attributeMap:dojo.mixin(dojo.clone(dijit.form.Button.prototype.attributeMap),{id:"",tabIndex:["focusNode","titleNode"],title:"titleNode"}),optionsTitle:"",baseClass:"dijitComboButton",_focusedNode:null,postCreate:function(){
this.inherited(arguments);
this._focalNodes=[this.titleNode,this._popupStateNode];
var _e=dojo.isIE;
dojo.forEach(this._focalNodes,dojo.hitch(this,function(_f){
this.connect(_f,_e?"onactivate":"onfocus",this._onNodeFocus);
this.connect(_f,_e?"ondeactivate":"onblur",this._onNodeBlur);
}));
if(_e&&(_e<8||dojo.isQuirks)){
with(this.titleNode){
style.width=scrollWidth+"px";
this.connect(this.titleNode,"onresize",function(){
setTimeout(function(){
style.width=scrollWidth+"px";
},0);
});
}
}
},_onNodeFocus:function(evt){
this._focusedNode=evt.currentTarget;
var fnc=this._focusedNode==this.focusNode?"dijitDownArrowButtonFocused":"dijitButtonContentsFocused";
dojo.addClass(this._focusedNode,fnc);
},_onNodeBlur:function(evt){
var fnc=evt.currentTarget==this.focusNode?"dijitDownArrowButtonFocused":"dijitButtonContentsFocused";
dojo.removeClass(evt.currentTarget,fnc);
},_onBlur:function(){
this.inherited(arguments);
this._focusedNode=null;
},_onButtonKeyPress:function(evt){
if(evt.charOrCode==dojo.keys[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]){
dijit.focus(this._popupStateNode);
dojo.stopEvent(evt);
}
},_onArrowKeyPress:function(evt){
if(evt.charOrCode==dojo.keys[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){
dijit.focus(this.titleNode);
dojo.stopEvent(evt);
}
},focus:function(_10){
dijit.focus(_10=="start"?this.titleNode:this._popupStateNode);
}});
dojo.declare("dijit.form.ToggleButton",dijit.form.Button,{baseClass:"dijitToggleButton",checked:false,attributeMap:dojo.mixin(dojo.clone(dijit.form.Button.prototype.attributeMap),{checked:"focusNode"}),_clicked:function(evt){
this.attr("checked",!this.checked);
},_setCheckedAttr:function(_11){
this.checked=_11;
dojo.attr(this.focusNode||this.domNode,"checked",_11);
dijit.setWaiState(this.focusNode||this.domNode,"pressed",_11);
this._setStateClass();
this._handleOnChange(_11,true);
},setChecked:function(_12){
dojo.deprecated("setChecked("+_12+") is deprecated. Use attr('checked',"+_12+") instead.","","2.0");
this.attr("checked",_12);
},reset:function(){
this._hasBeenBlurred=false;
this.attr("checked",this.params.checked||false);
}});
}


;if(!dojo._hasResource["dijit.form.CheckBox"]){
dojo._hasResource["dijit.form.CheckBox"]=true;
dojo.provide("dijit.form.CheckBox");
dojo.require("dijit.form.Button");
dojo.declare("dijit.form.CheckBox",dijit.form.ToggleButton,{templateString:dojo.cache("dijit.form","templates/CheckBox.html","<div class=\"dijitReset dijitInline\" waiRole=\"presentation\"\n\t><input\n\t \t${nameAttrSetting} type=\"${type}\" ${checkedAttrSetting}\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdojoAttachPoint=\"focusNode\"\n\t \tdojoAttachEvent=\"onmouseover:_onMouse,onmouseout:_onMouse,onclick:_onClick\"\n/></div>\n"),baseClass:"dijitCheckBox",type:"checkbox",value:"on",readOnly:false,attributeMap:dojo.delegate(dijit.form.ToggleButton.prototype.attributeMap,{readOnly:"focusNode"}),_setReadOnlyAttr:function(_1){
this.readOnly=_1;
dojo.attr(this.focusNode,"readOnly",_1);
dijit.setWaiState(this.focusNode,"readonly",_1);
this._setStateClass();
},_setValueAttr:function(_2){
if(typeof _2=="string"){
this.value=_2;
dojo.attr(this.focusNode,"value",_2);
_2=true;
}
if(this._created){
this.attr("checked",_2);
}
},_getValueAttr:function(){
return (this.checked?this.value:false);
},postMixInProperties:function(){
if(this.value==""){
this.value="on";
}
this.checkedAttrSetting=this.checked?"checked":"";
this.inherited(arguments);
},_fillContent:function(_3){
},reset:function(){
this._hasBeenBlurred=false;
this.attr("checked",this.params.checked||false);
this.value=this.params.value||"on";
dojo.attr(this.focusNode,"value",this.value);
},_onFocus:function(){
if(this.id){
dojo.query("label[for='"+this.id+"']").addClass("dijitFocusedLabel");
}
},_onBlur:function(){
if(this.id){
dojo.query("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");
}
},_onClick:function(e){
if(this.readOnly){
return false;
}
return this.inherited(arguments);
}});
dojo.declare("dijit.form.RadioButton",dijit.form.CheckBox,{type:"radio",baseClass:"dijitRadio",_setCheckedAttr:function(_4){
this.inherited(arguments);
if(!this._created){
return;
}
if(_4){
var _5=this;
dojo.query("INPUT[type=radio]",this.focusNode.form||dojo.doc).forEach(function(_6){
if(_6.name==_5.name&&_6!=_5.focusNode&&_6.form==_5.focusNode.form){
var _7=dijit.getEnclosingWidget(_6);
if(_7&&_7.checked){
_7.attr("checked",false);
}
}
});
}
},_clicked:function(e){
if(!this.checked){
this.attr("checked",true);
}
}});
}


;if(!dojo._hasResource["dijit.form.TextBox"]){
dojo._hasResource["dijit.form.TextBox"]=true;
dojo.provide("dijit.form.TextBox");
dojo.require("dijit.form._FormWidget");
dojo.declare("dijit.form.TextBox",dijit.form._FormValueWidget,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",selectOnClick:false,templateString:dojo.cache("dijit.form","templates/TextBox.html","<input class=\"dijit dijitReset dijitLeft\" dojoAttachPoint='textbox,focusNode'\n\tdojoAttachEvent='onmouseenter:_onMouse,onmouseleave:_onMouse'\n\tautocomplete=\"off\" type=\"${type}\" ${nameAttrSetting}\n\t/>\n"),baseClass:"dijitTextBox",attributeMap:dojo.delegate(dijit.form._FormValueWidget.prototype.attributeMap,{maxLength:"focusNode"}),_getValueAttr:function(){
return this.parse(this.attr("displayedValue"),this.constraints);
},_setValueAttr:function(_1,_2,_3){
var _4;
if(_1!==undefined){
_4=this.filter(_1);
if(typeof _3!="string"){
if(_4!==null&&((typeof _4!="number")||!isNaN(_4))){
_3=this.filter(this.format(_4,this.constraints));
}else{
_3="";
}
}
}
if(_3!=null&&_3!=undefined&&((typeof _3)!="number"||!isNaN(_3))&&this.textbox.value!=_3){
this.textbox.value=_3;
}
this.inherited(arguments,[_4,_2]);
},displayedValue:"",getDisplayedValue:function(){
dojo.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use attr('displayedValue') instead.","","2.0");
return this.attr("displayedValue");
},_getDisplayedValueAttr:function(){
return this.filter(this.textbox.value);
},setDisplayedValue:function(_5){
dojo.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use attr('displayedValue', ...) instead.","","2.0");
this.attr("displayedValue",_5);
},_setDisplayedValueAttr:function(_6){
if(_6===null||_6===undefined){
_6="";
}else{
if(typeof _6!="string"){
_6=String(_6);
}
}
this.textbox.value=_6;
this._setValueAttr(this.attr("value"),undefined,_6);
},format:function(_7,_8){
return ((_7==null||_7==undefined)?"":(_7.toString?_7.toString():_7));
},parse:function(_9,_a){
return _9;
},_refreshState:function(){
},_onInput:function(e){
if(e&&e.type&&/key/i.test(e.type)&&e.keyCode){
switch(e.keyCode){
case dojo.keys.SHIFT:
case dojo.keys.ALT:
case dojo.keys.CTRL:
case dojo.keys.TAB:
return;
}
}
if(this.intermediateChanges){
var _b=this;
setTimeout(function(){
_b._handleOnChange(_b.attr("value"),false);
},0);
}
this._refreshState();
},postCreate:function(){
this.textbox.setAttribute("value",this.textbox.value);
this.inherited(arguments);
if(dojo.isMoz||dojo.isOpera){
this.connect(this.textbox,"oninput",this._onInput);
}else{
this.connect(this.textbox,"onkeydown",this._onInput);
this.connect(this.textbox,"onkeyup",this._onInput);
this.connect(this.textbox,"onpaste",this._onInput);
this.connect(this.textbox,"oncut",this._onInput);
}
},_blankValue:"",filter:function(_c){
if(_c===null){
return this._blankValue;
}
if(typeof _c!="string"){
return _c;
}
if(this.trim){
_c=dojo.trim(_c);
}
if(this.uppercase){
_c=_c.toUpperCase();
}
if(this.lowercase){
_c=_c.toLowerCase();
}
if(this.propercase){
_c=_c.replace(/[^\s]+/g,function(_d){
return _d.substring(0,1).toUpperCase()+_d.substring(1);
});
}
return _c;
},_setBlurValue:function(){
this._setValueAttr(this.attr("value"),true);
},_onBlur:function(e){
if(this.disabled){
return;
}
this._setBlurValue();
this.inherited(arguments);
if(this._selectOnClickHandle){
this.disconnect(this._selectOnClickHandle);
}
if(this.selectOnClick&&dojo.isMoz){
this.textbox.selectionStart=this.textbox.selectionEnd=undefined;
}
},_onFocus:function(by){
if(this.disabled||this.readOnly){
return;
}
if(this.selectOnClick&&by=="mouse"){
this._selectOnClickHandle=this.connect(this.domNode,"onmouseup",function(){
this.disconnect(this._selectOnClickHandle);
var _e;
if(dojo.isIE){
var _f=dojo.doc.selection.createRange();
var _10=_f.parentElement();
_e=_10==this.textbox&&_f.text.length==0;
}else{
_e=this.textbox.selectionStart==this.textbox.selectionEnd;
}
if(_e){
dijit.selectInputText(this.textbox);
}
});
}
this._refreshState();
this.inherited(arguments);
},reset:function(){
this.textbox.value="";
this.inherited(arguments);
}});
dijit.selectInputText=function(_11,_12,_13){
var _14=dojo.global;
var _15=dojo.doc;
_11=dojo.byId(_11);
if(isNaN(_12)){
_12=0;
}
if(isNaN(_13)){
_13=_11.value?_11.value.length:0;
}
dijit.focus(_11);
if(_15["selection"]&&dojo.body()["createTextRange"]){
if(_11.createTextRange){
var _16=_11.createTextRange();
with(_16){
collapse(true);
moveStart("character",-99999);
moveStart("character",_12);
moveEnd("character",_13-_12);
select();
}
}
}else{
if(_14["getSelection"]){
if(_11.setSelectionRange){
_11.setSelectionRange(_12,_13);
}
}
}
};
}

dojo.provide("dijit.form.nls.validate")._built=true;
dojo.provide("dijit.form.nls.validate.en_gb");
dijit.form.nls.validate.en_gb={"invalidMessage":"The value entered is not valid.","missingMessage":"This value is required.","rangeMessage":"This value is out of range."};

;if(!dojo._hasResource["dijit.form.ValidationTextBox"]){
dojo._hasResource["dijit.form.ValidationTextBox"]=true;
dojo.provide("dijit.form.ValidationTextBox");
dojo.require("dojo.i18n");
dojo.require("dijit.form.TextBox");
dojo.require("dijit.Tooltip");
dojo.requireLocalization("dijit.form","validate",null,"ROOT,ar,ca,cs,da,de,el,es,fi,fr,he,hu,it,ja,ko,nb,nl,pl,pt,pt-pt,ru,sk,sl,sv,th,tr,zh,zh-tw");
dojo.declare("dijit.form.ValidationTextBox",dijit.form.TextBox,{templateString:dojo.cache("dijit.form","templates/ValidationTextBox.html","<div class=\"dijit dijitReset dijitInlineTable dijitLeft\"\n\tid=\"widget_${id}\"\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\" waiRole=\"presentation\"\n\t><div style=\"overflow:hidden;\"\n\t\t><div class=\"dijitReset dijitValidationIcon\"><br></div\n\t\t><div class=\"dijitReset dijitValidationIconText\">&Chi;</div\n\t\t><div class=\"dijitReset dijitInputField\"\n\t\t\t><input class=\"dijitReset\" dojoAttachPoint='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${nameAttrSetting} type='${type}'\n\t\t/></div\n\t></div\n></div>\n"),baseClass:"dijitTextBox",required:false,promptMessage:"",invalidMessage:"$_unset_$",constraints:{},regExp:".*",regExpGen:function(_1){
return this.regExp;
},state:"",tooltipPosition:[],_setValueAttr:function(){
this.inherited(arguments);
this.validate(this._focused);
},validator:function(_2,_3){
return (new RegExp("^(?:"+this.regExpGen(_3)+")"+(this.required?"":"?")+"$")).test(_2)&&(!this.required||!this._isEmpty(_2))&&(this._isEmpty(_2)||this.parse(_2,_3)!==undefined);
},_isValidSubset:function(){
return this.textbox.value.search(this._partialre)==0;
},isValid:function(_4){
return this.validator(this.textbox.value,this.constraints);
},_isEmpty:function(_5){
return /^\s*$/.test(_5);
},getErrorMessage:function(_6){
return this.invalidMessage;
},getPromptMessage:function(_7){
return this.promptMessage;
},_maskValidSubsetError:true,validate:function(_8){
var _9="";
var _a=this.disabled||this.isValid(_8);
if(_a){
this._maskValidSubsetError=true;
}
var _b=!_a&&_8&&this._isValidSubset();
var _c=this._isEmpty(this.textbox.value);
if(_c){
this._maskValidSubsetError=true;
}
this.state=(_a||(!this._hasBeenBlurred&&_c)||_b)?"":"Error";
if(this.state=="Error"){
this._maskValidSubsetError=false;
}
this._setStateClass();
dijit.setWaiState(this.focusNode,"invalid",_a?"false":"true");
if(_8){
if(_c){
_9=this.getPromptMessage(true);
}
if(!_9&&(this.state=="Error"||(_b&&!this._maskValidSubsetError))){
_9=this.getErrorMessage(true);
}
}
this.displayMessage(_9);
return _a;
},_message:"",displayMessage:function(_d){
if(this._message==_d){
return;
}
this._message=_d;
dijit.hideTooltip(this.domNode);
if(_d){
dijit.showTooltip(_d,this.domNode,this.tooltipPosition);
}
},_refreshState:function(){
this.validate(this._focused);
this.inherited(arguments);
},constructor:function(){
this.constraints={};
},postMixInProperties:function(){
this.inherited(arguments);
this.constraints.locale=this.lang;
this.messages=dojo.i18n.getLocalization("dijit.form","validate",this.lang);
if(this.invalidMessage=="$_unset_$"){
this.invalidMessage=this.messages.invalidMessage;
}
var p=this.regExpGen(this.constraints);
this.regExp=p;
var _e="";
if(p!=".*"){
this.regExp.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){
switch(re.charAt(0)){
case "{":
case "+":
case "?":
case "*":
case "^":
case "$":
case "|":
case "(":
_e+=re;
break;
case ")":
_e+="|$)";
break;
default:
_e+="(?:"+re+"|$)";
break;
}
});
}
try{
"".search(_e);
}
catch(e){
_e=this.regExp;
console.warn("RegExp error in "+this.declaredClass+": "+this.regExp);
}
this._partialre="^(?:"+_e+")$";
},_setDisabledAttr:function(_f){
this.inherited(arguments);
this._refreshState();
},_setRequiredAttr:function(_10){
this.required=_10;
dijit.setWaiState(this.focusNode,"required",_10);
this._refreshState();
},postCreate:function(){
if(dojo.isIE){
var s=dojo.getComputedStyle(this.focusNode);
if(s){
var ff=s.fontFamily;
if(ff){
this.focusNode.style.fontFamily=ff;
}
}
}
this.inherited(arguments);
},reset:function(){
this._maskValidSubsetError=true;
this.inherited(arguments);
},_onBlur:function(){
this.displayMessage("");
this.inherited(arguments);
}});
dojo.declare("dijit.form.MappedTextBox",dijit.form.ValidationTextBox,{postMixInProperties:function(){
this.inherited(arguments);
this.nameAttrSetting="";
},serialize:function(val,_11){
return val.toString?val.toString():"";
},toString:function(){
var val=this.filter(this.attr("value"));
return val!=null?(typeof val=="string"?val:this.serialize(val,this.constraints)):"";
},validate:function(){
this.valueNode.value=this.toString();
return this.inherited(arguments);
},buildRendering:function(){
this.inherited(arguments);
this.valueNode=dojo.place("<input type='hidden'"+(this.name?" name='"+this.name+"'":"")+">",this.textbox,"after");
},reset:function(){
this.valueNode.value="";
this.inherited(arguments);
}});
dojo.declare("dijit.form.RangeBoundTextBox",dijit.form.MappedTextBox,{rangeMessage:"",rangeCheck:function(_12,_13){
return ("min" in _13?(this.compare(_12,_13.min)>=0):true)&&("max" in _13?(this.compare(_12,_13.max)<=0):true);
},isInRange:function(_14){
return this.rangeCheck(this.attr("value"),this.constraints);
},_isDefinitelyOutOfRange:function(){
var val=this.attr("value");
var _15=false;
var _16=false;
if("min" in this.constraints){
var min=this.constraints.min;
min=this.compare(val,((typeof min=="number")&&min>=0&&val!=0)?0:min);
_15=(typeof min=="number")&&min<0;
}
if("max" in this.constraints){
var max=this.constraints.max;
max=this.compare(val,((typeof max!="number")||max>0)?max:0);
_16=(typeof max=="number")&&max>0;
}
return _15||_16;
},_isValidSubset:function(){
return this.inherited(arguments)&&!this._isDefinitelyOutOfRange();
},isValid:function(_17){
return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_17));
},getErrorMessage:function(_18){
var v=this.attr("value");
if(v!==null&&v!==""&&v!==undefined&&!this.isInRange(_18)){
return this.rangeMessage;
}
return this.inherited(arguments);
},postMixInProperties:function(){
this.inherited(arguments);
if(!this.rangeMessage){
this.messages=dojo.i18n.getLocalization("dijit.form","validate",this.lang);
this.rangeMessage=this.messages.rangeMessage;
}
},postCreate:function(){
this.inherited(arguments);
if(this.constraints.min!==undefined){
dijit.setWaiState(this.focusNode,"valuemin",this.constraints.min);
}
if(this.constraints.max!==undefined){
dijit.setWaiState(this.focusNode,"valuemax",this.constraints.max);
}
},_setValueAttr:function(_19,_1a){
dijit.setWaiState(this.focusNode,"valuenow",_19);
this.inherited(arguments);
}});
}


;if(!dojo._hasResource["dojo.data.util.sorter"]){
dojo._hasResource["dojo.data.util.sorter"]=true;
dojo.provide("dojo.data.util.sorter");
dojo.data.util.sorter.basicComparator=function(a,b){
var r=-1;
if(a===null){
a=undefined;
}
if(b===null){
b=undefined;
}
if(a==b){
r=0;
}else{
if(a>b||a==null){
r=1;
}
}
return r;
};
dojo.data.util.sorter.createSortFunction=function(_1,_2){
var _3=[];
function _4(_5,_6,_7,s){
return function(_8,_9){
var a=s.getValue(_8,_5);
var b=s.getValue(_9,_5);
return _6*_7(a,b);
};
};
var _a;
var _b=_2.comparatorMap;
var bc=dojo.data.util.sorter.basicComparator;
for(var i=0;i<_1.length;i++){
_a=_1[i];
var _c=_a.attribute;
if(_c){
var _d=(_a.descending)?-1:1;
var _e=bc;
if(_b){
if(typeof _c!=="string"&&("toString" in _c)){
_c=_c.toString();
}
_e=_b[_c]||bc;
}
_3.push(_4(_c,_d,_e,_2));
}
}
return function(_f,_10){
var i=0;
while(i<_3.length){
var ret=_3[i++](_f,_10);
if(ret!==0){
return ret;
}
}
return 0;
};
};
}


;if(!dojo._hasResource["dojo.data.util.simpleFetch"]){
dojo._hasResource["dojo.data.util.simpleFetch"]=true;
dojo.provide("dojo.data.util.simpleFetch");
dojo.require("dojo.data.util.sorter");
dojo.data.util.simpleFetch.fetch=function(_1){
_1=_1||{};
if(!_1.store){
_1.store=this;
}
var _2=this;
var _3=function(_4,_5){
if(_5.onError){
var _6=_5.scope||dojo.global;
_5.onError.call(_6,_4,_5);
}
};
var _7=function(_8,_9){
var _a=_9.abort||null;
var _b=false;
var _c=_9.start?_9.start:0;
var _d=(_9.count&&(_9.count!==Infinity))?(_c+_9.count):_8.length;
_9.abort=function(){
_b=true;
if(_a){
_a.call(_9);
}
};
var _e=_9.scope||dojo.global;
if(!_9.store){
_9.store=_2;
}
if(_9.onBegin){
_9.onBegin.call(_e,_8.length,_9);
}
if(_9.sort){
_8.sort(dojo.data.util.sorter.createSortFunction(_9.sort,_2));
}
if(_9.onItem){
for(var i=_c;(i<_8.length)&&(i<_d);++i){
var _f=_8[i];
if(!_b){
_9.onItem.call(_e,_f,_9);
}
}
}
if(_9.onComplete&&!_b){
var _10=null;
if(!_9.onItem){
_10=_8.slice(_c,_d);
}
_9.onComplete.call(_e,_10,_9);
}
};
this._fetchItems(_1,_7,_3);
return _1;
};
}


;if(!dojo._hasResource["dojo.data.util.filter"]){
dojo._hasResource["dojo.data.util.filter"]=true;
dojo.provide("dojo.data.util.filter");
dojo.data.util.filter.patternToRegExp=function(_1,_2){
var _3="^";
var c=null;
for(var i=0;i<_1.length;i++){
c=_1.charAt(i);
switch(c){
case "\\":
_3+=c;
i++;
_3+=_1.charAt(i);
break;
case "*":
_3+=".*";
break;
case "?":
_3+=".";
break;
case "$":
case "^":
case "/":
case "+":
case ".":
case "|":
case "(":
case ")":
case "{":
case "}":
case "[":
case "]":
_3+="\\";
default:
_3+=c;
}
}
_3+="$";
if(_2){
return new RegExp(_3,"mi");
}else{
return new RegExp(_3,"m");
}
};
}


;if(!dojo._hasResource["dojo.regexp"]){
dojo._hasResource["dojo.regexp"]=true;
dojo.provide("dojo.regexp");
dojo.regexp.escapeString=function(_1,_2){
return _1.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){
if(_2&&_2.indexOf(ch)!=-1){
return ch;
}
return "\\"+ch;
});
};
dojo.regexp.buildGroupRE=function(_3,re,_4){
if(!(_3 instanceof Array)){
return re(_3);
}
var b=[];
for(var i=0;i<_3.length;i++){
b.push(re(_3[i]));
}
return dojo.regexp.group(b.join("|"),_4);
};
dojo.regexp.group=function(_5,_6){
return "("+(_6?"?:":"")+_5+")";
};
}

dojo.provide("dijit.form.nls.ComboBox")._built=true;
dojo.provide("dijit.form.nls.ComboBox.en_gb");
dijit.form.nls.ComboBox.en_gb={"previousMessage":"Previous choices","nextMessage":"More choices"};

;if(!dojo._hasResource["dijit.form.ComboBox"]){
dojo._hasResource["dijit.form.ComboBox"]=true;
dojo.provide("dijit.form.ComboBox");
dojo.require("dijit.form._FormWidget");
dojo.require("dijit.form.ValidationTextBox");
dojo.require("dojo.data.util.simpleFetch");
dojo.require("dojo.data.util.filter");
dojo.require("dojo.regexp");
dojo.requireLocalization("dijit.form","ComboBox",null,"ROOT,ar,ca,cs,da,de,el,es,fi,fr,he,hu,it,ja,ko,nb,nl,pl,pt,pt-pt,ru,sk,sl,sv,th,tr,zh,zh-tw");
dojo.declare("dijit.form.ComboBoxMixin",null,{item:null,pageSize:Infinity,store:null,fetchProperties:{},query:{},autoComplete:true,highlightMatch:"first",searchDelay:100,searchAttr:"name",labelAttr:"",labelType:"text",queryExpr:"${0}*",ignoreCase:true,hasDownArrow:true,templateString:dojo.cache("dijit.form","templates/ComboBox.html","<div class=\"dijit dijitReset dijitInlineTable dijitLeft\"\n\tid=\"widget_${id}\"\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\" dojoAttachPoint=\"comboNode\" waiRole=\"combobox\" tabIndex=\"-1\"\n\t><div style=\"overflow:hidden;\"\n\t\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton'\n\t\t\tdojoAttachPoint=\"downArrowNode\" waiRole=\"presentation\"\n\t\t\tdojoAttachEvent=\"onmousedown:_onArrowMouseDown,onmouseup:_onMouse,onmouseenter:_onMouse,onmouseleave:_onMouse\"\n\t\t\t><div class=\"dijitArrowButtonInner\">&thinsp;</div\n\t\t\t><div class=\"dijitArrowButtonChar\">&#9660;</div\n\t\t></div\n\t\t><div class=\"dijitReset dijitValidationIcon\"><br></div\n\t\t><div class=\"dijitReset dijitValidationIconText\">&Chi;</div\n\t\t><div class=\"dijitReset dijitInputField\"\n\t\t\t><input ${nameAttrSetting} type=\"text\" autocomplete=\"off\" class='dijitReset'\n\t\t\tdojoAttachEvent=\"onkeypress:_onKeyPress,compositionend\"\n\t\t\tdojoAttachPoint=\"textbox,focusNode\" waiRole=\"textbox\" waiState=\"haspopup-true,autocomplete-list\"\n\t\t/></div\n\t></div\n></div>\n"),baseClass:"dijitComboBox",_getCaretPos:function(_1){
var _2=0;
if(typeof (_1.selectionStart)=="number"){
_2=_1.selectionStart;
}else{
if(dojo.isIE){
var tr=dojo.doc.selection.createRange().duplicate();
var _3=_1.createTextRange();
tr.move("character",0);
_3.move("character",0);
try{
_3.setEndPoint("EndToEnd",tr);
_2=String(_3.text).replace(/\r/g,"").length;
}
catch(e){
}
}
}
return _2;
},_setCaretPos:function(_4,_5){
_5=parseInt(_5);
dijit.selectInputText(_4,_5,_5);
},_setDisabledAttr:function(_6){
this.inherited(arguments);
dijit.setWaiState(this.comboNode,"disabled",_6);
},_abortQuery:function(){
if(this.searchTimer){
clearTimeout(this.searchTimer);
this.searchTimer=null;
}
if(this._fetchHandle){
if(this._fetchHandle.abort){
this._fetchHandle.abort();
}
this._fetchHandle=null;
}
},_onKeyPress:function(_7){
var _8=_7.charOrCode;
if(_7.altKey||((_7.ctrlKey||_7.metaKey)&&(_8!="x"&&_8!="v"))||_8==dojo.keys.SHIFT){
return;
}
var _9=false;
var _a="_startSearchFromInput";
var pw=this._popupWidget;
var dk=dojo.keys;
var _b=null;
this._prev_key_backspace=false;
this._abortQuery();
if(this._isShowingNow){
pw.handleKey(_8);
_b=pw.getHighlightedOption();
}
switch(_8){
case dk.PAGE_DOWN:
case dk.DOWN_ARROW:
case dk.PAGE_UP:
case dk.UP_ARROW:
if(!this._isShowingNow){
this._arrowPressed();
_9=true;
_a="_startSearchAll";
}else{
this._announceOption(_b);
}
dojo.stopEvent(_7);
break;
case dk.ENTER:
if(_b){
if(_b==pw.nextButton){
this._nextSearch(1);
dojo.stopEvent(_7);
break;
}else{
if(_b==pw.previousButton){
this._nextSearch(-1);
dojo.stopEvent(_7);
break;
}
}
}else{
this._setBlurValue();
this._setCaretPos(this.focusNode,this.focusNode.value.length);
}
_7.preventDefault();
case dk.TAB:
var _c=this.attr("displayedValue");
if(pw&&(_c==pw._messages["previousMessage"]||_c==pw._messages["nextMessage"])){
break;
}
if(_b){
this._selectOption();
}
if(this._isShowingNow){
this._lastQuery=null;
this._hideResultList();
}
break;
case " ":
if(_b){
dojo.stopEvent(_7);
this._selectOption();
this._hideResultList();
}else{
_9=true;
}
break;
case dk.ESCAPE:
if(this._isShowingNow){
dojo.stopEvent(_7);
this._hideResultList();
}
break;
case dk.DELETE:
case dk.BACKSPACE:
this._prev_key_backspace=true;
_9=true;
break;
default:
_9=typeof _8=="string"||_8==229;
}
if(_9){
this.item=undefined;
this.searchTimer=setTimeout(dojo.hitch(this,_a),1);
}
},_autoCompleteText:function(_d){
var fn=this.focusNode;
dijit.selectInputText(fn,fn.value.length);
var _e=this.ignoreCase?"toLowerCase":"substr";
if(_d[_e](0).indexOf(this.focusNode.value[_e](0))==0){
var _f=this._getCaretPos(fn);
if((_f+1)>fn.value.length){
fn.value=_d;
dijit.selectInputText(fn,_f);
}
}else{
fn.value=_d;
dijit.selectInputText(fn);
}
},_openResultList:function(_10,_11){
this._fetchHandle=null;
if(this.disabled||this.readOnly||(_11.query[this.searchAttr]!=this._lastQuery)){
return;
}
this._popupWidget.clearResultList();
if(!_10.length){
this._hideResultList();
return;
}
_11._maxOptions=this._maxOptions;
var _12=this._popupWidget.createOptions(_10,_11,dojo.hitch(this,"_getMenuLabelFromItem"));
this._showResultList();
if(_11.direction){
if(1==_11.direction){
this._popupWidget.highlightFirstOption();
}else{
if(-1==_11.direction){
this._popupWidget.highlightLastOption();
}
}
this._announceOption(this._popupWidget.getHighlightedOption());
}else{
if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_11.query[this.searchAttr])){
this._announceOption(_12[1]);
}
}
},_showResultList:function(){
this._hideResultList();
this._arrowPressed();
this.displayMessage("");
dojo.style(this._popupWidget.domNode,{width:"",height:""});
var _13=this.open();
var _14=dojo.marginBox(this._popupWidget.domNode);
this._popupWidget.domNode.style.overflow=((_13.h==_14.h)&&(_13.w==_14.w))?"hidden":"auto";
var _15=_13.w;
if(_13.h<this._popupWidget.domNode.scrollHeight){
_15+=16;
}
dojo.marginBox(this._popupWidget.domNode,{h:_13.h,w:Math.max(_15,this.domNode.offsetWidth)});
if(_15<this.domNode.offsetWidth){
this._popupWidget.domNode.parentNode.style.left=dojo.position(this.domNode).x+"px";
}
dijit.setWaiState(this.comboNode,"expanded","true");
},_hideResultList:function(){
this._abortQuery();
if(this._isShowingNow){
dijit.popup.close(this._popupWidget);
this._arrowIdle();
this._isShowingNow=false;
dijit.setWaiState(this.comboNode,"expanded","false");
dijit.removeWaiState(this.focusNode,"activedescendant");
}
},_setBlurValue:function(){
var _16=this.attr("displayedValue");
var pw=this._popupWidget;
if(pw&&(_16==pw._messages["previousMessage"]||_16==pw._messages["nextMessage"])){
this._setValueAttr(this._lastValueReported,true);
}else{
if(typeof this.item=="undefined"){
this.item=null;
this.attr("displayedValue",_16);
}else{
if(this.value!=this._lastValueReported){
dijit.form._FormValueWidget.prototype._setValueAttr.call(this,this.value,true);
}
this._refreshState();
}
}
},_onBlur:function(){
this._hideResultList();
this._arrowIdle();
this.inherited(arguments);
},_setItemAttr:function(_17,_18,_19){
if(!_19){
_19=this.labelFunc(_17,this.store);
}
this.value=this._getValueField()!=this.searchAttr?this.store.getIdentity(_17):_19;
this.item=_17;
dijit.form.ComboBox.superclass._setValueAttr.call(this,this.value,_18,_19);
},_announceOption:function(_1a){
if(!_1a){
return;
}
var _1b;
if(_1a==this._popupWidget.nextButton||_1a==this._popupWidget.previousButton){
_1b=_1a.innerHTML;
this.item=undefined;
this.value="";
}else{
_1b=this.labelFunc(_1a.item,this.store);
this.attr("item",_1a.item,false,_1b);
}
this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);
dijit.setWaiState(this.focusNode,"activedescendant",dojo.attr(_1a,"id"));
this._autoCompleteText(_1b);
},_selectOption:function(evt){
if(evt){
this._announceOption(evt.target);
}
this._hideResultList();
this._setCaretPos(this.focusNode,this.focusNode.value.length);
dijit.form._FormValueWidget.prototype._setValueAttr.call(this,this.value,true);
},_onArrowMouseDown:function(evt){
if(this.disabled||this.readOnly){
return;
}
dojo.stopEvent(evt);
this.focus();
if(this._isShowingNow){
this._hideResultList();
}else{
this._startSearchAll();
}
},_startSearchAll:function(){
this._startSearch("");
},_startSearchFromInput:function(){
this._startSearch(this.focusNode.value.replace(/([\\\*\?])/g,"\\$1"));
},_getQueryString:function(_1c){
return dojo.string.substitute(this.queryExpr,[_1c]);
},_startSearch:function(key){
if(!this._popupWidget){
var _1d=this.id+"_popup";
this._popupWidget=new dijit.form._ComboBoxMenu({onChange:dojo.hitch(this,this._selectOption),id:_1d});
dijit.removeWaiState(this.focusNode,"activedescendant");
dijit.setWaiState(this.textbox,"owns",_1d);
}
var _1e=dojo.clone(this.query);
this._lastInput=key;
this._lastQuery=_1e[this.searchAttr]=this._getQueryString(key);
this.searchTimer=setTimeout(dojo.hitch(this,function(_1f,_20){
this.searchTimer=null;
var _21={queryOptions:{ignoreCase:this.ignoreCase,deep:true},query:_1f,onBegin:dojo.hitch(this,"_setMaxOptions"),onComplete:dojo.hitch(this,"_openResultList"),onError:function(_22){
_20._fetchHandle=null;
console.error("dijit.form.ComboBox: "+_22);
dojo.hitch(_20,"_hideResultList")();
},start:0,count:this.pageSize};
dojo.mixin(_21,_20.fetchProperties);
this._fetchHandle=_20.store.fetch(_21);
var _23=function(_24,_25){
_24.start+=_24.count*_25;
_24.direction=_25;
this._fetchHandle=this.store.fetch(_24);
};
this._nextSearch=this._popupWidget.onPage=dojo.hitch(this,_23,this._fetchHandle);
},_1e,this),this.searchDelay);
},_setMaxOptions:function(_26,_27){
this._maxOptions=_26;
},_getValueField:function(){
return this.searchAttr;
},_arrowPressed:function(){
if(!this.disabled&&!this.readOnly&&this.hasDownArrow){
dojo.addClass(this.downArrowNode,"dijitArrowButtonActive");
}
},_arrowIdle:function(){
if(!this.disabled&&!this.readOnly&&this.hasDownArrow){
dojo.removeClass(this.downArrowNode,"dojoArrowButtonPushed");
}
},compositionend:function(evt){
this._onKeyPress({charOrCode:229});
},constructor:function(){
this.query={};
this.fetchProperties={};
},postMixInProperties:function(){
if(!this.hasDownArrow){
this.baseClass="dijitTextBox";
}
if(!this.store){
var _28=this.srcNodeRef;
this.store=new dijit.form._ComboBoxDataStore(_28);
if(!this.value||((typeof _28.selectedIndex=="number")&&_28.selectedIndex.toString()===this.value)){
var _29=this.store.fetchSelectedItem();
if(_29){
var _2a=this._getValueField();
this.value=_2a!=this.searchAttr?this.store.getValue(_29,_2a):this.labelFunc(_29,this.store);
}
}
}
this.inherited(arguments);
},postCreate:function(){
var _2b=dojo.query("label[for=\""+this.id+"\"]");
if(_2b.length){
_2b[0].id=(this.id+"_label");
var cn=this.comboNode;
dijit.setWaiState(cn,"labelledby",_2b[0].id);
}
this.inherited(arguments);
},uninitialize:function(){
if(this._popupWidget&&!this._popupWidget._destroyed){
this._hideResultList();
this._popupWidget.destroy();
}
this.inherited(arguments);
},_getMenuLabelFromItem:function(_2c){
var _2d=this.labelAttr?this.store.getValue(_2c,this.labelAttr):this.labelFunc(_2c,this.store);
var _2e=this.labelType;
if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){
_2d=this.doHighlight(_2d,this._escapeHtml(this._lastInput));
_2e="html";
}
return {html:_2e=="html",label:_2d};
},doHighlight:function(_2f,_30){
var _31="i"+(this.highlightMatch=="all"?"g":"");
var _32=this._escapeHtml(_2f);
_30=dojo.regexp.escapeString(_30);
var ret=_32.replace(new RegExp("(^|\\s)("+_30+")",_31),"$1<span class=\"dijitComboBoxHighlightMatch\">$2</span>");
return ret;
},_escapeHtml:function(str){
str=String(str).replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");
return str;
},open:function(){
this._isShowingNow=true;
return dijit.popup.open({popup:this._popupWidget,around:this.domNode,parent:this});
},reset:function(){
this.item=null;
this.inherited(arguments);
},labelFunc:function(_33,_34){
return _34.getValue(_33,this.searchAttr).toString();
}});
dojo.declare("dijit.form._ComboBoxMenu",[dijit._Widget,dijit._Templated],{templateString:"<ul class='dijitReset dijitMenu' dojoAttachEvent='onmousedown:_onMouseDown,onmouseup:_onMouseUp,onmouseover:_onMouseOver,onmouseout:_onMouseOut' tabIndex='-1' style='overflow: \"auto\"; overflow-x: \"hidden\";'>"+"<li class='dijitMenuItem dijitMenuPreviousButton' dojoAttachPoint='previousButton' waiRole='option'></li>"+"<li class='dijitMenuItem dijitMenuNextButton' dojoAttachPoint='nextButton' waiRole='option'></li>"+"</ul>",_messages:null,postMixInProperties:function(){
this._messages=dojo.i18n.getLocalization("dijit.form","ComboBox",this.lang);
this.inherited(arguments);
},_setValueAttr:function(_35){
this.value=_35;
this.onChange(_35);
},onChange:function(_36){
},onPage:function(_37){
},postCreate:function(){
this.previousButton.innerHTML=this._messages["previousMessage"];
this.nextButton.innerHTML=this._messages["nextMessage"];
this.inherited(arguments);
},onClose:function(){
this._blurOptionNode();
},_createOption:function(_38,_39){
var _3a=_39(_38);
var _3b=dojo.doc.createElement("li");
dijit.setWaiRole(_3b,"option");
if(_3a.html){
_3b.innerHTML=_3a.label;
}else{
_3b.appendChild(dojo.doc.createTextNode(_3a.label));
}
if(_3b.innerHTML==""){
_3b.innerHTML="&nbsp;";
}
_3b.item=_38;
return _3b;
},createOptions:function(_3c,_3d,_3e){
this.previousButton.style.display=(_3d.start==0)?"none":"";
dojo.attr(this.previousButton,"id",this.id+"_prev");
dojo.forEach(_3c,function(_3f,i){
var _40=this._createOption(_3f,_3e);
_40.className="dijitReset dijitMenuItem";
dojo.attr(_40,"id",this.id+i);
this.domNode.insertBefore(_40,this.nextButton);
},this);
var _41=false;
if(_3d._maxOptions&&_3d._maxOptions!=-1){
if((_3d.start+_3d.count)<_3d._maxOptions){
_41=true;
}else{
if((_3d.start+_3d.count)>(_3d._maxOptions-1)){
if(_3d.count==_3c.length){
_41=true;
}
}
}
}else{
if(_3d.count==_3c.length){
_41=true;
}
}
this.nextButton.style.display=_41?"":"none";
dojo.attr(this.nextButton,"id",this.id+"_next");
return this.domNode.childNodes;
},clearResultList:function(){
while(this.domNode.childNodes.length>2){
this.domNode.removeChild(this.domNode.childNodes[this.domNode.childNodes.length-2]);
}
},_onMouseDown:function(evt){
dojo.stopEvent(evt);
},_onMouseUp:function(evt){
if(evt.target===this.domNode){
return;
}else{
if(evt.target==this.previousButton){
this.onPage(-1);
}else{
if(evt.target==this.nextButton){
this.onPage(1);
}else{
var tgt=evt.target;
while(!tgt.item){
tgt=tgt.parentNode;
}
this._setValueAttr({target:tgt},true);
}
}
}
},_onMouseOver:function(evt){
if(evt.target===this.domNode){
return;
}
var tgt=evt.target;
if(!(tgt==this.previousButton||tgt==this.nextButton)){
while(!tgt.item){
tgt=tgt.parentNode;
}
}
this._focusOptionNode(tgt);
},_onMouseOut:function(evt){
if(evt.target===this.domNode){
return;
}
this._blurOptionNode();
},_focusOptionNode:function(_42){
if(this._highlighted_option!=_42){
this._blurOptionNode();
this._highlighted_option=_42;
dojo.addClass(this._highlighted_option,"dijitMenuItemSelected");
}
},_blurOptionNode:function(){
if(this._highlighted_option){
dojo.removeClass(this._highlighted_option,"dijitMenuItemSelected");
this._highlighted_option=null;
}
},_highlightNextOption:function(){
var fc=this.domNode.firstChild;
if(!this.getHighlightedOption()){
this._focusOptionNode(fc.style.display=="none"?fc.nextSibling:fc);
}else{
var ns=this._highlighted_option.nextSibling;
if(ns&&ns.style.display!="none"){
this._focusOptionNode(ns);
}
}
dijit.scrollIntoView(this._highlighted_option);
},highlightFirstOption:function(){
this._focusOptionNode(this.domNode.firstChild.nextSibling);
dijit.scrollIntoView(this._highlighted_option);
},highlightLastOption:function(){
this._focusOptionNode(this.domNode.lastChild.previousSibling);
dijit.scrollIntoView(this._highlighted_option);
},_highlightPrevOption:function(){
var lc=this.domNode.lastChild;
if(!this.getHighlightedOption()){
this._focusOptionNode(lc.style.display=="none"?lc.previousSibling:lc);
}else{
var ps=this._highlighted_option.previousSibling;
if(ps&&ps.style.display!="none"){
this._focusOptionNode(ps);
}
}
dijit.scrollIntoView(this._highlighted_option);
},_page:function(up){
var _43=0;
var _44=this.domNode.scrollTop;
var _45=dojo.style(this.domNode,"height");
if(!this.getHighlightedOption()){
this._highlightNextOption();
}
while(_43<_45){
if(up){
if(!this.getHighlightedOption().previousSibling||this._highlighted_option.previousSibling.style.display=="none"){
break;
}
this._highlightPrevOption();
}else{
if(!this.getHighlightedOption().nextSibling||this._highlighted_option.nextSibling.style.display=="none"){
break;
}
this._highlightNextOption();
}
var _46=this.domNode.scrollTop;
_43+=(_46-_44)*(up?-1:1);
_44=_46;
}
},pageUp:function(){
this._page(true);
},pageDown:function(){
this._page(false);
},getHighlightedOption:function(){
var ho=this._highlighted_option;
return (ho&&ho.parentNode)?ho:null;
},handleKey:function(key){
switch(key){
case dojo.keys.DOWN_ARROW:
this._highlightNextOption();
break;
case dojo.keys.PAGE_DOWN:
this.pageDown();
break;
case dojo.keys.UP_ARROW:
this._highlightPrevOption();
break;
case dojo.keys.PAGE_UP:
this.pageUp();
break;
}
}});
dojo.declare("dijit.form.ComboBox",[dijit.form.ValidationTextBox,dijit.form.ComboBoxMixin],{_setValueAttr:function(_47,_48,_49){
this.item=null;
if(!_47){
_47="";
}
dijit.form.ValidationTextBox.prototype._setValueAttr.call(this,_47,_48,_49);
}});
dojo.declare("dijit.form._ComboBoxDataStore",null,{constructor:function(_4a){
this.root=_4a;
dojo.query("> option",_4a).forEach(function(_4b){
_4b.innerHTML=dojo.trim(_4b.innerHTML);
});
},getValue:function(_4c,_4d,_4e){
return (_4d=="value")?_4c.value:(_4c.innerText||_4c.textContent||"");
},isItemLoaded:function(_4f){
return true;
},getFeatures:function(){
return {"dojo.data.api.Read":true,"dojo.data.api.Identity":true};
},_fetchItems:function(_50,_51,_52){
if(!_50.query){
_50.query={};
}
if(!_50.query.name){
_50.query.name="";
}
if(!_50.queryOptions){
_50.queryOptions={};
}
var _53=dojo.data.util.filter.patternToRegExp(_50.query.name,_50.queryOptions.ignoreCase),_54=dojo.query("> option",this.root).filter(function(_55){
return (_55.innerText||_55.textContent||"").match(_53);
});
if(_50.sort){
_54.sort(dojo.data.util.sorter.createSortFunction(_50.sort,this));
}
_51(_54,_50);
},close:function(_56){
return;
},getLabel:function(_57){
return _57.innerHTML;
},getIdentity:function(_58){
return dojo.attr(_58,"value");
},fetchItemByIdentity:function(_59){
var _5a=dojo.query("option[value='"+_59.identity+"']",this.root)[0];
_59.onItem(_5a);
},fetchSelectedItem:function(){
var _5b=this.root,si=_5b.selectedIndex;
return dojo.query("> option:nth-child("+(si!=-1?si+1:1)+")",_5b)[0];
}});
dojo.extend(dijit.form._ComboBoxDataStore,dojo.data.util.simpleFetch);
}


;if(!dojo._hasResource["dojo.cldr.supplemental"]){
dojo._hasResource["dojo.cldr.supplemental"]=true;
dojo.provide("dojo.cldr.supplemental");
dojo.require("dojo.i18n");
dojo.cldr.supplemental.getFirstDayOfWeek=function(_1){
var _2={mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,er:6,et:6,iq:6,ir:6,jo:6,ke:6,kw:6,lb:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,so:6,tn:6,ye:6,as:0,au:0,az:0,bw:0,ca:0,cn:0,fo:0,ge:0,gl:0,gu:0,hk:0,ie:0,il:0,is:0,jm:0,jp:0,kg:0,kr:0,la:0,mh:0,mo:0,mp:0,mt:0,nz:0,ph:0,pk:0,sg:0,th:0,tt:0,tw:0,um:0,us:0,uz:0,vi:0,za:0,zw:0,et:0,mw:0,ng:0,tj:0,sy:4};
var _3=dojo.cldr.supplemental._region(_1);
var _4=_2[_3];
return (_4===undefined)?1:_4;
};
dojo.cldr.supplemental._region=function(_5){
_5=dojo.i18n.normalizeLocale(_5);
var _6=_5.split("-");
var _7=_6[1];
if(!_7){
_7={de:"de",en:"us",es:"es",fi:"fi",fr:"fr",he:"il",hu:"hu",it:"it",ja:"jp",ko:"kr",nl:"nl",pt:"br",sv:"se",zh:"cn"}[_6[0]];
}else{
if(_7.length==4){
_7=_6[2];
}
}
return _7;
};
dojo.cldr.supplemental.getWeekend=function(_8){
var _9={eg:5,il:5,sy:5,"in":0,ae:4,bh:4,dz:4,iq:4,jo:4,kw:4,lb:4,ly:4,ma:4,om:4,qa:4,sa:4,sd:4,tn:4,ye:4};
var _a={ae:5,bh:5,dz:5,iq:5,jo:5,kw:5,lb:5,ly:5,ma:5,om:5,qa:5,sa:5,sd:5,tn:5,ye:5,af:5,ir:5,eg:6,il:6,sy:6};
var _b=dojo.cldr.supplemental._region(_8);
var _c=_9[_b];
var _d=_a[_b];
if(_c===undefined){
_c=6;
}
if(_d===undefined){
_d=0;
}
return {start:_c,end:_d};
};
}


;if(!dojo._hasResource["dojo.cookie"]){
dojo._hasResource["dojo.cookie"]=true;
dojo.provide("dojo.cookie");
dojo.require("dojo.regexp");
dojo.cookie=function(_1,_2,_3){
var c=document.cookie;
if(arguments.length==1){
var _4=c.match(new RegExp("(?:^|; )"+dojo.regexp.escapeString(_1)+"=([^;]*)"));
return _4?decodeURIComponent(_4[1]):undefined;
}else{
_3=_3||{};
var _5=_3.expires;
if(typeof _5=="number"){
var d=new Date();
d.setTime(d.getTime()+_5*24*60*60*1000);
_5=_3.expires=d;
}
if(_5&&_5.toUTCString){
_3.expires=_5.toUTCString();
}
_2=encodeURIComponent(_2);
var _6=_1+"="+_2,_7;
for(_7 in _3){
_6+="; "+_7;
var _8=_3[_7];
if(_8!==true){
_6+="="+_8;
}
}
document.cookie=_6;
}
};
dojo.cookie.isSupported=function(){
if(!("cookieEnabled" in navigator)){
this("__djCookieTest__","CookiesAllowed");
navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";
if(navigator.cookieEnabled){
this("__djCookieTest__","",{expires:-1});
}
}
return navigator.cookieEnabled;
};
}


;if(!dojo._hasResource["dojo.date"]){
dojo._hasResource["dojo.date"]=true;
dojo.provide("dojo.date");
dojo.date.getDaysInMonth=function(_1){
var _2=_1.getMonth();
var _3=[31,28,31,30,31,30,31,31,30,31,30,31];
if(_2==1&&dojo.date.isLeapYear(_1)){
return 29;
}
return _3[_2];
};
dojo.date.isLeapYear=function(_4){
var _5=_4.getFullYear();
return !(_5%400)||(!(_5%4)&&!!(_5%100));
};
dojo.date.getTimezoneName=function(_6){
var _7=_6.toString();
var tz="";
var _8;
var _9=_7.indexOf("(");
if(_9>-1){
tz=_7.substring(++_9,_7.indexOf(")"));
}else{
var _a=/([A-Z\/]+) \d{4}$/;
if((_8=_7.match(_a))){
tz=_8[1];
}else{
_7=_6.toLocaleString();
_a=/ ([A-Z\/]+)$/;
if((_8=_7.match(_a))){
tz=_8[1];
}
}
}
return (tz=="AM"||tz=="PM")?"":tz;
};
dojo.date.compare=function(_b,_c,_d){
_b=new Date(+_b);
_c=new Date(+(_c||new Date()));
if(_d=="date"){
_b.setHours(0,0,0,0);
_c.setHours(0,0,0,0);
}else{
if(_d=="time"){
_b.setFullYear(0,0,0);
_c.setFullYear(0,0,0);
}
}
if(_b>_c){
return 1;
}
if(_b<_c){
return -1;
}
return 0;
};
dojo.date.add=function(_e,_f,_10){
var sum=new Date(+_e);
var _11=false;
var _12="Date";
switch(_f){
case "day":
break;
case "weekday":
var _13,_14;
var mod=_10%5;
if(!mod){
_13=(_10>0)?5:-5;
_14=(_10>0)?((_10-5)/5):((_10+5)/5);
}else{
_13=mod;
_14=parseInt(_10/5);
}
var _15=_e.getDay();
var adj=0;
if(_15==6&&_10>0){
adj=1;
}else{
if(_15==0&&_10<0){
adj=-1;
}
}
var _16=_15+_13;
if(_16==0||_16==6){
adj=(_10>0)?2:-2;
}
_10=(7*_14)+_13+adj;
break;
case "year":
_12="FullYear";
_11=true;
break;
case "week":
_10*=7;
break;
case "quarter":
_10*=3;
case "month":
_11=true;
_12="Month";
break;
default:
_12="UTC"+_f.charAt(0).toUpperCase()+_f.substring(1)+"s";
}
if(_12){
sum["set"+_12](sum["get"+_12]()+_10);
}
if(_11&&(sum.getDate()<_e.getDate())){
sum.setDate(0);
}
return sum;
};
dojo.date.difference=function(_17,_18,_19){
_18=_18||new Date();
_19=_19||"day";
var _1a=_18.getFullYear()-_17.getFullYear();
var _1b=1;
switch(_19){
case "quarter":
var m1=_17.getMonth();
var m2=_18.getMonth();
var q1=Math.floor(m1/3)+1;
var q2=Math.floor(m2/3)+1;
q2+=(_1a*4);
_1b=q2-q1;
break;
case "weekday":
var _1c=Math.round(dojo.date.difference(_17,_18,"day"));
var _1d=parseInt(dojo.date.difference(_17,_18,"week"));
var mod=_1c%7;
if(mod==0){
_1c=_1d*5;
}else{
var adj=0;
var _1e=_17.getDay();
var _1f=_18.getDay();
_1d=parseInt(_1c/7);
mod=_1c%7;
var _20=new Date(_17);
_20.setDate(_20.getDate()+(_1d*7));
var _21=_20.getDay();
if(_1c>0){
switch(true){
case _1e==6:
adj=-1;
break;
case _1e==0:
adj=0;
break;
case _1f==6:
adj=-1;
break;
case _1f==0:
adj=-2;
break;
case (_21+mod)>5:
adj=-2;
}
}else{
if(_1c<0){
switch(true){
case _1e==6:
adj=0;
break;
case _1e==0:
adj=1;
break;
case _1f==6:
adj=2;
break;
case _1f==0:
adj=1;
break;
case (_21+mod)<0:
adj=2;
}
}
}
_1c+=adj;
_1c-=(_1d*2);
}
_1b=_1c;
break;
case "year":
_1b=_1a;
break;
case "month":
_1b=(_18.getMonth()-_17.getMonth())+(_1a*12);
break;
case "week":
_1b=parseInt(dojo.date.difference(_17,_18,"day")/7);
break;
case "day":
_1b/=24;
case "hour":
_1b/=60;
case "minute":
_1b/=60;
case "second":
_1b/=1000;
case "millisecond":
_1b*=_18.getTime()-_17.getTime();
}
return Math.round(_1b);
};
}

dojo.provide("dojo.cldr.nls.gregorian")._built=true;
dojo.provide("dojo.cldr.nls.gregorian.en_gb");
dojo.cldr.nls.gregorian.en_gb={"field-era":"Era","dateFormat-long":"d MMMM y","days-standAlone-wide":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","dateTimeFormat-full":"{1} {0}","dateFormatItem-MMMd":"MMM d","days-standAlone-narrow":["S","M","T","W","T","F","S"],"dateTimeFormats-appendItem-Timezone":"{0} {1}","months-format-wide":["January","February","March","April","May","June","July","August","September","October","November","December"],"dateFormatItem-MMMMd":"d MMMM","dateFormatItem-EEEd":"d EEE","dateFormatItem-MMMEd":"E d MMM","dateFormat-full":"EEEE, d MMMM y","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateFormatItem-Hm":"H:mm","dateFormatItem-yMMMM":"MMMM y","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","am":"AM","dateTimeFormat-medium":"{1} {0}","field-year":"Year","timeFormat-medium":"HH:mm:ss","field-minute":"Minute","dateFormatItem-yMMM":"MMM y","field-day":"Day","field-dayperiod":"AM/PM","dateTimeFormats-appendItem-Year":"{0} {1}","quarters-standAlone-abbr":["Q1","Q2","Q3","Q4"],"eraNames":["Before Christ","Anno Domini"],"dateFormatItem-yyyyMM":"MM/yyyy","field-weekday":"Day of the Week","dateFormatItem-MMM":"LLL","dateTimeFormat-short":"{1} {0}","quarters-format-wide":["1st quarter","2nd quarter","3rd quarter","4th quarter"],"days-standAlone-abbr":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateFormatItem-yMEd":"EEE, d/M/yyyy","months-format-abbr":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"days-format-wide":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"dateFormatItem-MMMMEd":"E, MMMM d","dateFormatItem-MEd":"E, d/M","dateFormatItem-yyMMM":"MMM yy","timeFormat-long":"HH:mm:ss z","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","timeFormat-short":"HH:mm","months-format-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"timeFormat-full":"HH:mm:ss zzzz","dateFormatItem-Hms":"H:mm:ss","dateFormatItem-ms":"mm:ss","field-zone":"Zone","months-standAlone-wide":["January","February","March","April","May","June","July","August","September","October","November","December"],"eraAbbr":["BC","AD"],"field-second":"Second","months-standAlone-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"dateFormatItem-Md":"d/M","dateFormatItem-yyyyMMMM":"MMMM y","dateFormatItem-M":"L","dateFormatItem-hms":"h:mm:ss a","dateTimeFormats-appendItem-Era":"{0} {1}","quarters-format-abbr":["Q1","Q2","Q3","Q4"],"dateFormatItem-yMMMEd":"EEE, MMM d, y","dateFormatItem-yQQQ":"QQQ y","eraNarrow":["B","A"],"dateFormatItem-d":"d","days-format-abbr":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dateFormatItem-MMdd":"dd/MM","field-hour":"Hour","dateFormatItem-y":"y","field-week":"Week","dateFormatItem-yM":"M/yyyy","quarters-format-narrow":["1","2","3","4"],"dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateFormatItem-yQ":"Q yyyy","field-month":"Month","dateFormat-short":"dd/MM/yyyy","quarters-standAlone-wide":["1st quarter","2nd quarter","3rd quarter","4th quarter"],"dateTimeFormat-long":"{1} {0}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dateFormatItem-hm":"h:mm a","days-format-narrow":["S","M","T","W","T","F","S"],"quarters-standAlone-narrow":["1","2","3","4"],"pm":"PM","dateFormat-medium":"d MMM y","months-standAlone-abbr":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]};

;if(!dojo._hasResource["dojo.date.locale"]){
dojo._hasResource["dojo.date.locale"]=true;
dojo.provide("dojo.date.locale");
dojo.require("dojo.date");
dojo.require("dojo.cldr.supplemental");
dojo.require("dojo.regexp");
dojo.require("dojo.string");
dojo.require("dojo.i18n");
dojo.requireLocalization("dojo.cldr","gregorian",null,"ROOT,aa,af,am,ar,ar-jo,ar-lb,ar-qa,ar-sa,ar-sy,ar-tn,ar-ye,as,az,az-cyrl,be,bg,bn,bo,byn,ca,cs,cy,da,de,de-at,de-be,dz,el,el-polyton,en,en-au,en-be,en-bw,en-bz,en-ca,en-dsrt,en-gb,en-ie,en-in,en-mt,en-nz,en-pk,en-shaw,en-za,en-zw,eo,es,es-ar,es-cl,es-co,es-ec,es-es,es-gt,es-hn,es-pa,es-pe,es-pr,es-us,et,eu,fa,fa-af,fi,fil,fo,fr,fr-be,fr-ca,fr-ch,ga,gl,gsw,gu,gv,ha,haw,he,hi,hr,hu,hy,hy-am-revised,id,ig,ii,in,is,it,it-ch,it-it,iw,ja,ka,kk,kl,km,kn,ko,ko-kr,kok,kw,lt,lv,mk,ml,mn,mo,mr,ms,ms-bn,mt,nb,ne,nl,nl-be,nn,no,om,or,pa,pa-arab,pa-pk,pl,ps,pt,pt-br,pt-pt,ro,ru,ru-ua,se-fi,sh,si,sk,sl,so,sq,sr,sr-ba,sr-cyrl-ba,sr-latn,sr-latn-me,sr-me,sv,sv-fi,sw,syr,ta,te,th,ti,ti-er,tl,tr,uk,ur,vi,yo,zh,zh-cn,zh-hans-sg,zh-hant,zh-hant-hk,zh-hant-mo,zh-hk,zh-mo,zh-sg,zh-tw,zu");
(function(){
function _1(_2,_3,_4,_5){
return _5.replace(/([a-z])\1*/ig,function(_6){
var s,_7,c=_6.charAt(0),l=_6.length,_8=["abbr","wide","narrow"];
switch(c){
case "G":
s=_3[(l<4)?"eraAbbr":"eraNames"][_2.getFullYear()<0?0:1];
break;
case "y":
s=_2.getFullYear();
switch(l){
case 1:
break;
case 2:
if(!_4.fullYear){
s=String(s);
s=s.substr(s.length-2);
break;
}
default:
_7=true;
}
break;
case "Q":
case "q":
s=Math.ceil((_2.getMonth()+1)/3);
_7=true;
break;
case "M":
var m=_2.getMonth();
if(l<3){
s=m+1;
_7=true;
}else{
var _9=["months","format",_8[l-3]].join("-");
s=_3[_9][m];
}
break;
case "w":
var _a=0;
s=dojo.date.locale._getWeekOfYear(_2,_a);
_7=true;
break;
case "d":
s=_2.getDate();
_7=true;
break;
case "D":
s=dojo.date.locale._getDayOfYear(_2);
_7=true;
break;
case "E":
var d=_2.getDay();
if(l<3){
s=d+1;
_7=true;
}else{
var _b=["days","format",_8[l-3]].join("-");
s=_3[_b][d];
}
break;
case "a":
var _c=(_2.getHours()<12)?"am":"pm";
s=_3[_c];
break;
case "h":
case "H":
case "K":
case "k":
var h=_2.getHours();
switch(c){
case "h":
s=(h%12)||12;
break;
case "H":
s=h;
break;
case "K":
s=(h%12);
break;
case "k":
s=h||24;
break;
}
_7=true;
break;
case "m":
s=_2.getMinutes();
_7=true;
break;
case "s":
s=_2.getSeconds();
_7=true;
break;
case "S":
s=Math.round(_2.getMilliseconds()*Math.pow(10,l-3));
_7=true;
break;
case "v":
case "z":
s=dojo.date.locale._getZone(_2,true,_4);
if(s){
break;
}
l=4;
case "Z":
var _d=dojo.date.locale._getZone(_2,false,_4);
var tz=[(_d<=0?"+":"-"),dojo.string.pad(Math.floor(Math.abs(_d)/60),2),dojo.string.pad(Math.abs(_d)%60,2)];
if(l==4){
tz.splice(0,0,"GMT");
tz.splice(3,0,":");
}
s=tz.join("");
break;
default:
throw new Error("dojo.date.locale.format: invalid pattern char: "+_5);
}
if(_7){
s=dojo.string.pad(s,l);
}
return s;
});
};
dojo.date.locale._getZone=function(_e,_f,_10){
if(_f){
return dojo.date.getTimezoneName(_e);
}else{
return _e.getTimezoneOffset();
}
};
dojo.date.locale.format=function(_11,_12){
_12=_12||{};
var _13=dojo.i18n.normalizeLocale(_12.locale),_14=_12.formatLength||"short",_15=dojo.date.locale._getGregorianBundle(_13),str=[],_16=dojo.hitch(this,_1,_11,_15,_12);
if(_12.selector=="year"){
return _17(_15["dateFormatItem-yyyy"]||"yyyy",_16);
}
var _18;
if(_12.selector!="date"){
_18=_12.timePattern||_15["timeFormat-"+_14];
if(_18){
str.push(_17(_18,_16));
}
}
if(_12.selector!="time"){
_18=_12.datePattern||_15["dateFormat-"+_14];
if(_18){
str.push(_17(_18,_16));
}
}
return str.length==1?str[0]:_15["dateTimeFormat-"+_14].replace(/\{(\d+)\}/g,function(_19,key){
return str[key];
});
};
dojo.date.locale.regexp=function(_1a){
return dojo.date.locale._parseInfo(_1a).regexp;
};
dojo.date.locale._parseInfo=function(_1b){
_1b=_1b||{};
var _1c=dojo.i18n.normalizeLocale(_1b.locale),_1d=dojo.date.locale._getGregorianBundle(_1c),_1e=_1b.formatLength||"short",_1f=_1b.datePattern||_1d["dateFormat-"+_1e],_20=_1b.timePattern||_1d["timeFormat-"+_1e],_21;
if(_1b.selector=="date"){
_21=_1f;
}else{
if(_1b.selector=="time"){
_21=_20;
}else{
_21=_1d["dateTimeFormat-"+_1e].replace(/\{(\d+)\}/g,function(_22,key){
return [_20,_1f][key];
});
}
}
var _23=[],re=_17(_21,dojo.hitch(this,_24,_23,_1d,_1b));
return {regexp:re,tokens:_23,bundle:_1d};
};
dojo.date.locale.parse=function(_25,_26){
var _27=dojo.date.locale._parseInfo(_26),_28=_27.tokens,_29=_27.bundle,re=new RegExp("^"+_27.regexp+"$",_27.strict?"":"i"),_2a=re.exec(_25);
if(!_2a){
return null;
}
var _2b=["abbr","wide","narrow"],_2c=[1970,0,1,0,0,0,0],_2d="",_2e=dojo.every(_2a,function(v,i){
if(!i){
return true;
}
var _2f=_28[i-1];
var l=_2f.length;
switch(_2f.charAt(0)){
case "y":
if(l!=2&&_26.strict){
_2c[0]=v;
}else{
if(v<100){
v=Number(v);
var _30=""+new Date().getFullYear(),_31=_30.substring(0,2)*100,_32=Math.min(Number(_30.substring(2,4))+20,99),num=(v<_32)?_31+v:_31-100+v;
_2c[0]=num;
}else{
if(_26.strict){
return false;
}
_2c[0]=v;
}
}
break;
case "M":
if(l>2){
var _33=_29["months-format-"+_2b[l-3]].concat();
if(!_26.strict){
v=v.replace(".","").toLowerCase();
_33=dojo.map(_33,function(s){
return s.replace(".","").toLowerCase();
});
}
v=dojo.indexOf(_33,v);
if(v==-1){
return false;
}
}else{
v--;
}
_2c[1]=v;
break;
case "E":
case "e":
var _34=_29["days-format-"+_2b[l-3]].concat();
if(!_26.strict){
v=v.toLowerCase();
_34=dojo.map(_34,function(d){
return d.toLowerCase();
});
}
v=dojo.indexOf(_34,v);
if(v==-1){
return false;
}
break;
case "D":
_2c[1]=0;
case "d":
_2c[2]=v;
break;
case "a":
var am=_26.am||_29.am;
var pm=_26.pm||_29.pm;
if(!_26.strict){
var _35=/\./g;
v=v.replace(_35,"").toLowerCase();
am=am.replace(_35,"").toLowerCase();
pm=pm.replace(_35,"").toLowerCase();
}
if(_26.strict&&v!=am&&v!=pm){
return false;
}
_2d=(v==pm)?"p":(v==am)?"a":"";
break;
case "K":
if(v==24){
v=0;
}
case "h":
case "H":
case "k":
if(v>23){
return false;
}
_2c[3]=v;
break;
case "m":
_2c[4]=v;
break;
case "s":
_2c[5]=v;
break;
case "S":
_2c[6]=v;
}
return true;
});
var _36=+_2c[3];
if(_2d==="p"&&_36<12){
_2c[3]=_36+12;
}else{
if(_2d==="a"&&_36==12){
_2c[3]=0;
}
}
var _37=new Date(_2c[0],_2c[1],_2c[2],_2c[3],_2c[4],_2c[5],_2c[6]);
if(_26.strict){
_37.setFullYear(_2c[0]);
}
var _38=_28.join(""),_39=_38.indexOf("d")!=-1,_3a=_38.indexOf("M")!=-1;
if(!_2e||(_3a&&_37.getMonth()>_2c[1])||(_39&&_37.getDate()>_2c[2])){
return null;
}
if((_3a&&_37.getMonth()<_2c[1])||(_39&&_37.getDate()<_2c[2])){
_37=dojo.date.add(_37,"hour",1);
}
return _37;
};
function _17(_3b,_3c,_3d,_3e){
var _3f=function(x){
return x;
};
_3c=_3c||_3f;
_3d=_3d||_3f;
_3e=_3e||_3f;
var _40=_3b.match(/(''|[^'])+/g),_41=_3b.charAt(0)=="'";
dojo.forEach(_40,function(_42,i){
if(!_42){
_40[i]="";
}else{
_40[i]=(_41?_3d:_3c)(_42);
_41=!_41;
}
});
return _3e(_40.join(""));
};
function _24(_43,_44,_45,_46){
_46=dojo.regexp.escapeString(_46);
if(!_45.strict){
_46=_46.replace(" a"," ?a");
}
return _46.replace(/([a-z])\1*/ig,function(_47){
var s,c=_47.charAt(0),l=_47.length,p2="",p3="";
if(_45.strict){
if(l>1){
p2="0"+"{"+(l-1)+"}";
}
if(l>2){
p3="0"+"{"+(l-2)+"}";
}
}else{
p2="0?";
p3="0{0,2}";
}
switch(c){
case "y":
s="\\d{2,4}";
break;
case "M":
s=(l>2)?"\\S+?":p2+"[1-9]|1[0-2]";
break;
case "D":
s=p2+"[1-9]|"+p3+"[1-9][0-9]|[12][0-9][0-9]|3[0-5][0-9]|36[0-6]";
break;
case "d":
s="[12]\\d|"+p2+"[1-9]|3[01]";
break;
case "w":
s=p2+"[1-9]|[1-4][0-9]|5[0-3]";
break;
case "E":
s="\\S+";
break;
case "h":
s=p2+"[1-9]|1[0-2]";
break;
case "k":
s=p2+"\\d|1[01]";
break;
case "H":
s=p2+"\\d|1\\d|2[0-3]";
break;
case "K":
s=p2+"[1-9]|1\\d|2[0-4]";
break;
case "m":
case "s":
s="[0-5]\\d";
break;
case "S":
s="\\d{"+l+"}";
break;
case "a":
var am=_45.am||_44.am||"AM";
var pm=_45.pm||_44.pm||"PM";
if(_45.strict){
s=am+"|"+pm;
}else{
s=am+"|"+pm;
if(am!=am.toLowerCase()){
s+="|"+am.toLowerCase();
}
if(pm!=pm.toLowerCase()){
s+="|"+pm.toLowerCase();
}
if(s.indexOf(".")!=-1){
s+="|"+s.replace(/\./g,"");
}
}
s=s.replace(/\./g,"\\.");
break;
default:
s=".*";
}
if(_43){
_43.push(_47);
}
return "("+s+")";
}).replace(/[\xa0 ]/g,"[\\s\\xa0]");
};
})();
(function(){
var _48=[];
dojo.date.locale.addCustomFormats=function(_49,_4a){
_48.push({pkg:_49,name:_4a});
};
dojo.date.locale._getGregorianBundle=function(_4b){
var _4c={};
dojo.forEach(_48,function(_4d){
var _4e=dojo.i18n.getLocalization(_4d.pkg,_4d.name,_4b);
_4c=dojo.mixin(_4c,_4e);
},this);
return _4c;
};
})();
dojo.date.locale.addCustomFormats("dojo.cldr","gregorian");
dojo.date.locale.getNames=function(_4f,_50,_51,_52){
var _53,_54=dojo.date.locale._getGregorianBundle(_52),_55=[_4f,_51,_50];
if(_51=="standAlone"){
var key=_55.join("-");
_53=_54[key];
if(_53[0]==1){
_53=undefined;
}
}
_55[1]="format";
return (_53||_54[_55.join("-")]).concat();
};
dojo.date.locale.isWeekend=function(_56,_57){
var _58=dojo.cldr.supplemental.getWeekend(_57),day=(_56||new Date()).getDay();
if(_58.end<_58.start){
_58.end+=7;
if(day<_58.start){
day+=7;
}
}
return day>=_58.start&&day<=_58.end;
};
dojo.date.locale._getDayOfYear=function(_59){
return dojo.date.difference(new Date(_59.getFullYear(),0,1,_59.getHours()),_59)+1;
};
dojo.date.locale._getWeekOfYear=function(_5a,_5b){
if(arguments.length==1){
_5b=0;
}
var _5c=new Date(_5a.getFullYear(),0,1).getDay(),adj=(_5c-_5b+7)%7,_5d=Math.floor((dojo.date.locale._getDayOfYear(_5a)+adj-1)/7);
if(_5c==_5b){
_5d++;
}
return _5d;
};
}


;if(!dojo._hasResource["dojo.io.iframe"]){
dojo._hasResource["dojo.io.iframe"]=true;
dojo.provide("dojo.io.iframe");
dojo.io.iframe={create:function(_1,_2,_3){
if(window[_1]){
return window[_1];
}
if(window.frames[_1]){
return window.frames[_1];
}
var _4=null;
var _5=_3;
if(!_5){
if(dojo.config["useXDomain"]&&!dojo.config["dojoBlankHtmlUrl"]){
console.warn("dojo.io.iframe.create: When using cross-domain Dojo builds,"+" please save dojo/resources/blank.html to your domain and set djConfig.dojoBlankHtmlUrl"+" to the path on your domain to blank.html");
}
_5=(dojo.config["dojoBlankHtmlUrl"]||dojo.moduleUrl("dojo","resources/blank.html"));
}
var _6=dojo.isIE?"<iframe name=\""+_1+"\" src=\""+_5+"\" onload=\""+_2+"\">":"iframe";
_4=dojo.doc.createElement(_6);
with(_4){
name=_1;
setAttribute("name",_1);
id=_1;
}
dojo.body().appendChild(_4);
window[_1]=_4;
with(_4.style){
if(!(dojo.isSafari<3)){
position="absolute";
}
left=top="1px";
height=width="1px";
visibility="hidden";
}
if(!dojo.isIE){
this.setSrc(_4,_5,true);
_4.onload=new Function(_2);
}
return _4;
},setSrc:function(_7,_8,_9){
try{
if(!_9){
if(dojo.isWebKit){
_7.location=_8;
}else{
frames[_7.name].location=_8;
}
}else{
var _a;
if(dojo.isIE||dojo.isWebKit>521){
_a=_7.contentWindow.document;
}else{
if(dojo.isSafari){
_a=_7.document;
}else{
_a=_7.contentWindow;
}
}
if(!_a){
_7.location=_8;
return;
}else{
_a.location.replace(_8);
}
}
}
catch(e){
console.log("dojo.io.iframe.setSrc: ",e);
}
},doc:function(_b){
var _c=_b.contentDocument||(((_b.name)&&(_b.document)&&(dojo.doc.getElementsByTagName("iframe")[_b.name].contentWindow)&&(dojo.doc.getElementsByTagName("iframe")[_b.name].contentWindow.document)))||((_b.name)&&(dojo.doc.frames[_b.name])&&(dojo.doc.frames[_b.name].document))||null;
return _c;
},send:function(_d){
if(!this["_frame"]){
this._frame=this.create(this._iframeName,dojo._scopeName+".io.iframe._iframeOnload();");
}
var _e=dojo._ioSetArgs(_d,function(_f){
_f.canceled=true;
_f.ioArgs._callNext();
},function(dfd){
var _10=null;
try{
var _11=dfd.ioArgs;
var dii=dojo.io.iframe;
var ifd=dii.doc(dii._frame);
var _12=_11.handleAs;
_10=ifd;
if(_12!="html"){
if(_12=="xml"){
if(dojo.isIE){
dojo.query("a",dii._frame.contentWindow.document.documentElement).orphan();
var _13=(dii._frame.contentWindow.document).documentElement.innerText;
_13=_13.replace(/>\s+</g,"><");
_13=dojo.trim(_13);
var _14={responseText:_13};
_10=dojo._contentHandlers["xml"](_14);
}
}else{
_10=ifd.getElementsByTagName("textarea")[0].value;
if(_12=="json"){
_10=dojo.fromJson(_10);
}else{
if(_12=="javascript"){
_10=dojo.eval(_10);
}
}
}
}
}
catch(e){
_10=e;
}
finally{
_11._callNext();
}
return _10;
},function(_15,dfd){
dfd.ioArgs._hasError=true;
dfd.ioArgs._callNext();
return _15;
});
_e.ioArgs._callNext=function(){
if(!this["_calledNext"]){
this._calledNext=true;
dojo.io.iframe._currentDfd=null;
dojo.io.iframe._fireNextRequest();
}
};
this._dfdQueue.push(_e);
this._fireNextRequest();
dojo._ioWatch(_e,function(dfd){
return !dfd.ioArgs["_hasError"];
},function(dfd){
return (!!dfd.ioArgs["_finished"]);
},function(dfd){
if(dfd.ioArgs._finished){
dfd.callback(dfd);
}else{
dfd.errback(new Error("Invalid dojo.io.iframe request state"));
}
});
return _e;
},_currentDfd:null,_dfdQueue:[],_iframeName:dojo._scopeName+"IoIframe",_fireNextRequest:function(){
try{
if((this._currentDfd)||(this._dfdQueue.length==0)){
return;
}
do{
var dfd=this._currentDfd=this._dfdQueue.shift();
}while(dfd&&dfd.canceled&&this._dfdQueue.length);
if(!dfd||dfd.canceled){
this._currentDfd=null;
return;
}
var _16=dfd.ioArgs;
var _17=_16.args;
_16._contentToClean=[];
var fn=dojo.byId(_17["form"]);
var _18=_17["content"]||{};
if(fn){
if(_18){
var _19=function(_1a,_1b){
var tn;
if(dojo.isIE){
tn=dojo.doc.createElement("<input type='hidden' name='"+_1a+"'>");
}else{
tn=dojo.doc.createElement("input");
tn.type="hidden";
tn.name=_1a;
}
tn.value=_1b;
fn.appendChild(tn);
_16._contentToClean.push(_1a);
};
for(var x in _18){
var val=_18[x];
if(dojo.isArray(val)&&val.length>1){
var i;
for(i=0;i<val.length;i++){
_19(x,val[i]);
}
}else{
if(!fn[x]){
_19(x,val);
}else{
fn[x].value=val;
}
}
}
}
var _1c=fn.getAttributeNode("action");
var _1d=fn.getAttributeNode("method");
var _1e=fn.getAttributeNode("target");
if(_17["url"]){
_16._originalAction=_1c?_1c.value:null;
if(_1c){
_1c.value=_17.url;
}else{
fn.setAttribute("action",_17.url);
}
}
if(!_1d||!_1d.value){
if(_1d){
_1d.value=(_17["method"])?_17["method"]:"post";
}else{
fn.setAttribute("method",(_17["method"])?_17["method"]:"post");
}
}
_16._originalTarget=_1e?_1e.value:null;
if(_1e){
_1e.value=this._iframeName;
}else{
fn.setAttribute("target",this._iframeName);
}
fn.target=this._iframeName;
dojo._ioNotifyStart(dfd);
fn.submit();
}else{
var _1f=_17.url+(_17.url.indexOf("?")>-1?"&":"?")+_16.query;
dojo._ioNotifyStart(dfd);
this.setSrc(this._frame,_1f,true);
}
}
catch(e){
dfd.errback(e);
}
},_iframeOnload:function(){
var dfd=this._currentDfd;
if(!dfd){
this._fireNextRequest();
return;
}
var _20=dfd.ioArgs;
var _21=_20.args;
var _22=dojo.byId(_21.form);
if(_22){
var _23=_20._contentToClean;
for(var i=0;i<_23.length;i++){
var key=_23[i];
for(var j=0;j<_22.childNodes.length;j++){
var _24=_22.childNodes[j];
if(_24.name==key){
dojo.destroy(_24);
break;
}
}
}
if(_20["_originalAction"]){
_22.setAttribute("action",_20._originalAction);
}
if(_20["_originalTarget"]){
_22.setAttribute("target",_20._originalTarget);
_22.target=_20._originalTarget;
}
}
_20._finished=true;
}};
}

dojo.registerModulePath("lconn.core", "../lconn.core");

;if(!dojo._hasResource["lconn.core.util.dojoPatches"]){
dojo._hasResource["lconn.core.util.dojoPatches"]=true;
dojo.provide("lconn.core.util.dojoPatches");
dojo.require("dijit._Templated");
(function(){
function _1(_2){
var _3=true,_4=_2;
if(_2.nodeType===1){
return _2;
}
if(_2.nodeType===11){
_3=false;
var _5=_2.childNodes.length,n=null,nt=null,_6=null,_3=false;
while(_5--&&!_3){
n=_2.childNodes[_5];
nt=n.nodeType;
if(nt===8){
}else{
if(nt===3){
if(n.nodeValue&&dojo.trim(n.nodeValue).length>0){
_3=true;
}
}else{
if(nt===1){
if(!_6){
_6=n;
}else{
_3=true;
}
}
}
}
}
if(!_3){
if(!_6){
_3=true;
}else{
_2=_6;
}
}
}
if(_3){
return _4;
}else{
return _2;
}
};
dijit._Templated.getCachedTemplate=function(_7,_8,_9){
var _a=dijit._Templated._templateCache;
var _b=_8||_7;
var _c=_a[_b];
if(_c){
try{
if(!_c.ownerDocument||_c.ownerDocument==dojo.doc){
return _c;
}
}
catch(e){
}
dojo.destroy(_c);
}
if(!_8){
_8=dojo.cache(_7,{sanitize:true});
}
_8=dojo.string.trim(_8);
if(_9||_8.match(/\$\{([^\}]+)\}/g)){
return (_a[_b]=_8);
}else{
var _d=_1(dojo._toDom(_8));
if(_d.nodeType!=1){
throw new Error("Invalid template: "+_8);
}
return (_a[_b]=_d);
}
};
dijit._Templated._meta.hidden.buildRendering=function(){
var _e=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);
var _f,_10;
if(dojo.isString(_e)){
_f=_1(dojo._toDom(this._stringRepl(_e)));
if(_f.nodeType!=1){
throw new Error("Invalid template: "+_e);
}
}else{
_f=_e.cloneNode(true);
}
this.domNode=_f;
this._attachTemplateNodes(_f);
if(this.widgetsInTemplate){
var _11=dojo.parser,qry,_12;
if(_11._query!="[dojoType]"){
qry=_11._query;
_12=_11._attrName;
_11._query="[dojoType]";
_11._attrName="dojoType";
}
var cw=(this._startupWidgets=dojo.parser.parse(_f,{noStart:!this._earlyTemplatedStartup}));
if(qry){
_11._query=qry;
_11._attrName=_12;
}
this._supportingWidgets=dijit.findWidgets(_f);
this._attachTemplateNodes(cw,function(n,p){
return n[p];
});
}
this._fillContent(this.srcNodeRef);
};
})();
}


;if(!dojo._hasResource["lconn.core.a11y"]){
dojo._hasResource["lconn.core.a11y"]=true;
dojo.provide("lconn.core.a11y");
dojo.addOnLoad(function(){
var _1=document.getElementsByTagName("body")[0];
if(dojo.hasClass(_1,"dijit_a11y")){
dojo.addClass(_1,"lotusImagesOff");
}
});
}


;dojo.cache("lconn.core", "templates/ComboBox.html", "<input type=\"text\" autocomplete=\"off\" ${nameAttrSetting} id=\"widget_${id}\" size=\"${size}\" dojoAttachEvent=\"onkeypress:_onKeyPress, compositionend\" dojoAttachPoint=\"domNode,textbox,focusNode,comboNode\" waiRole=\"combobox\" waiState=\"haspopup-true,autocomplete-list,expanded-false\" />");

;if(!dojo._hasResource["lconn.core.TypeAhead"]){
dojo._hasResource["lconn.core.TypeAhead"]=true;
dojo.provide("lconn.core.TypeAhead");
dojo.require("dijit.form.ComboBox");
dojo.declare("lconn.core.TypeAhead",[dijit.form.ComboBox],{size:"",templateString:null,templatePath:dojo.moduleUrl("lconn.core","templates/ComboBox.html"),formatItem:function(_1,_2){
if(!_2){
return _1;
}else{
return _1=_1.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");
}
},formatItemHtml:function(_3){
return this.formatItem(_3,true);
},minChars:1,hasDownArrow:false,multipleValues:true,token:"",hintText:null,autoComplete:false,submitFormOnKey:false,submitFormOnNonSelectingEnter:false,searchDelay:300,postCreate:function(){
var _4=this.focusNode.style.fontFamily||"";
if(!this.downArrowNode){
this.downArrowNode=this.domNode.parentNode.appendChild(dojo.create("div",{style:{display:"none"}}));
}
this.dummyPopupNode=this.domNode.parentNode.appendChild(dojo.create("div",{id:this.id+"_dummypopup",style:{display:"none"}}));
dojo.attr(this.dummyPopupNode,"role","textbox");
dijit.setWaiState(this.domNode,"owns",this.dummyPopupNode.id);
this.inherited(arguments);
this.focusNode.style.fontFamily=_4;
this.updateHintText();
},_onFocus:function(_5){
this.updateHintText(null,true);
this.inherited(arguments);
if(dojo.isIE){
window.setTimeout("dijit.focus(dojo.byId('"+this.textbox.id+"'))",0);
}
},_onBlur:function(_6){
this.inherited(arguments);
if(dojo.isIE&&this.dropdownNode){
dojo.removeClass(this.dropdownNode,"lconnTypeAhead");
}
this.updateHintText();
},_hasAttr:function(_7,_8){
return dojo.isIE?_7.getAttribute(_8)!==null:_7.hasAttribute(_8);
},setValue:function(){
this.inherited(arguments);
this.updateHintText(arguments[0],false);
},updateHintText:function(_9,_a){
var _b=this.focusNode;
if(_9){
_b.title=this.hintText=_9;
}
if(this.hintText){
if(!this._focused&&(_b.value==""||!_b.hasInput)){
_b.hasInput=false;
_b.style.color="#666";
_b.value=this.hintText||"";
}else{
if(!_b.hasInput){
_b.hasInput=true;
_b.style.color="#000";
if(_b.value!=""){
_b.value="";
if(_a&&dojo.isFF){
setTimeout(function(){
dijit.focus(_b);
},1);
}
}
if(_a&&dojo.isIE){
try{
dijit.selectInputText(_b,0,0);
}
catch(e){
}
}
}
}
}
},_onKeyPress:function(_c){
var _d=_c.charOrCode;
if(_c.altKey||((_c.ctrlKey||_c.metaKey)&&(_d!="x"&&_d!="v"))||_d==dojo.keys.SHIFT){
return;
}
var _e=false;
var _f="_startSearchFromInput";
var pw=this._popupWidget;
var dk=dojo.keys;
var _10=null;
this._prev_key_backspace=false;
this._abortQuery();
if(this._isShowingNow){
pw.handleKey(_d);
_10=pw.getHighlightedOption();
}
switch(_d){
case dk.PAGE_DOWN:
case dk.DOWN_ARROW:
case dk.PAGE_UP:
case dk.UP_ARROW:
if(!this._isShowingNow){
this._arrowPressed();
_e=true;
_f="_startSearchAll";
}else{
this._announceOption(_10);
}
dojo.stopEvent(_c);
break;
case dk.ENTER:
if(_10){
if(_10==pw.nextButton){
this._nextSearch(1);
dojo.stopEvent(_c);
break;
}else{
if(_10==pw.previousButton){
this._nextSearch(-1);
dojo.stopEvent(_c);
break;
}
}
}else{
this._setBlurValue();
this._setCaretPos(this.focusNode,this.focusNode.value.length);
if(this.submitFormOnNonSelectingEnter){
if(this.searchTimer){
clearTimeout(this.searchTimer);
this.searchTimer=null;
}
this._lastQuery=null;
if(this._isShowingNow){
this._hideResultList();
}
break;
}
}
if(!this.submitFormOnKey){
_c.preventDefault();
}
case dk.TAB:
var _11=this.attr("displayedValue");
if(pw&&(_11==pw._messages["previousMessage"]||_11==pw._messages["nextMessage"])){
break;
}
if(_10){
pw.attr("value",{target:_10});
}
if(this._isShowingNow){
this._lastQuery=null;
this._hideResultList();
}
break;
case dk.ESCAPE:
if(this._isShowingNow){
dojo.stopEvent(_c);
this._hideResultList();
if(this._currentInput){
this.focusNode.value=this._currentInput;
delete this._currentInput;
}
}
break;
case dk.DELETE:
case dk.BACKSPACE:
this._prev_key_backspace=true;
_e=true;
break;
default:
dijit.setWaiState(this.focusNode,"activedescendant",this.focusNode.id);
this.focusNode.focus();
_e=typeof _d=="string"||_d==229;
}
if(_e){
this.item=undefined;
this.searchTimer=setTimeout(dojo.hitch(this,_f),1);
}
},_numTokensPreceding:function(str,pos){
var _12=str.substring(0,pos);
var _13=_12.split(this.token).length-1;
return _13;
},_splitByToken:function _splitByToken(str){
var _14=[str];
if(this.token&&str.indexOf(this.token)!=-1){
str=str.replace(new RegExp(this.token+"+","g"),this.token);
str=str.replace(new RegExp("^"+this.token),"");
str=str.replace(new RegExp(this.token+"$"),"");
_14=str.split(this.token);
}
return _14;
},_autoCompleteText:function(_15){
var fn=this.focusNode;
var _16=this._getCaretPos(fn);
dijit.selectInputText(fn,fn.value.length);
var _17;
if(this.multipleValues){
_17=fn.value.split(this.token);
}else{
_17=[fn.value];
}
var _18=0;
if(this.multipleValues){
_18=this._numTokensPreceding(fn.value,_16);
}
if(this.multipleValues&&this.token!=" "&&_18>0){
_15=" "+_15;
}
var _19=this.ignoreCase?"toLowerCase":"substr";
if(dojo.string.trim(_15[_19](0)).indexOf(dojo.string.trim(_17[_18][_19](0)))==0){
if(_16+1>fn.value.length||fn.value.charAt(_16)==this.token){
var end=_16+_15.length-_17[_18].length;
if(_15!=this.NoResultsMessage&&_15!=this.searchDirectory&&_15.indexOf("**")==-1){
_17[_18]=_15;
fn.value=_17.join(this.token);
dijit.selectInputText(fn,_16,end);
}else{
fn.value=this._currentInput;
}
}
}else{
if(_15!=this.NoResultsMessage&&_15!=this.searchDirectory&&_15.indexOf("**")==-1){
_17[_18]=_15;
fn.value=_17.join(this.token);
var _1a=0;
for(var i=0;i<_18;i++){
_1a+=_17[i].length;
}
_1a+=this.token.length*_18;
dijit.selectInputText(fn,_1a,_1a+_15.length);
}else{
fn.value=this._currentInput;
}
}
},_openResultList:function(_1b,_1c){
this._fetchHandle=null;
if(!this.domNode||this.disabled||this.readOnly||(_1c.query!=this._lastQuery)){
return;
}
this._popupWidget.clearResultList();
if(!_1b.length&&(this.hideEmptyResults||_1c.hideEmptyResults)){
this._hideResultList();
return;
}
_1c._maxOptions=this._maxOptions;
var _1d=this._popupWidget.createOptions(_1b,_1c,dojo.hitch(this,"_getMenuLabelFromItem"));
this.results=_1b;
this._showResultList();
if(_1c.direction){
if(1==_1c.direction){
this._popupWidget.highlightFirstOption();
}else{
if(-1==_1c.direction){
this._popupWidget.highlightLastOption();
}
}
this._announceOption(this._popupWidget.getHighlightedOption());
}else{
if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_1c.query[this.searchAttr])){
this._announceOption(_1d[1]);
}
}
},_showResultList:function(){
this.inherited(arguments);
var fn=this.focusNode;
var pw=this._popupWidget;
if(this._isShowingNow&&pw&&pw.id&&!dijit.getWaiState(fn,"activedescendant")){
dijit.setWaiState(fn,"activedescendant",pw.id);
}
if(pw!=null){
pw.domNode.style.height="auto";
}
if(dojo.isIE){
dojo.addClass(pw.domNode.parentNode,"lconnTypeAhead");
this.dropdownNode=pw.domNode.parentNode;
}
dojo.publish("com/ibm/social/incontext/typeahead/onDisplayChange",[pw]);
},_announceOption:function(_1e){
if(!_1e){
return;
}
var _1f=this._getCaretPos(this.focusNode);
var _20;
if(_1e==this._popupWidget.nextButton||_1e==this._popupWidget.previousButton||_1e==this._popupWidget.searchButton){
_20=_1e.innerHTML;
this.item=undefined;
this.value="";
}else{
_20=this.formatItem(_1e.item);
if(!this.multipleValues){
this.attr("item",_1e.item,false,_20);
}
}
if(this.multipleValues){
_1f=_1f||this.caretPos||this.focusNode.value.length;
var _21=this.focusNode.value;
if(this._currentInput){
_21=this._currentInput;
}
var _22=_21.split(this.token);
var _23=this._numTokensPreceding(_21,_1f);
var q=this._lastQuery;
if(this.multipleValues&&this.token!=" "&&_23>0){
q=" "+q;
}
_22[_23]=q;
this.focusNode.value=_22.join(this.token);
}else{
this.focusNode.value=this.focusNode.value.substring(0,_1f);
}
this._setCaretPos(this.focusNode,_1f);
dijit.setWaiState(this.focusNode,"activedescendant",dojo.attr(_1e,"id"));
this._autoCompleteText(_20);
},_selectOption:function(evt){
if(evt&&!this.noUpdateOnSelect){
this._announceOption(evt.target);
}
this._hideResultList();
this._setCaretPos(this.focusNode,this.focusNode.value.length);
if(evt&&evt.target){
var tgt=evt.target;
this.onSelect(tgt.item);
}
dijit.form._FormValueWidget.prototype._setValueAttr.call(this,this.value,true);
},onSelect:function(_24){
},_doSelect:function(tgt){
var _25=this.formatItem(tgt.item);
if(this.multipleValues){
var _26=this.keyArr[this.keyIdx];
this.keyArr[this.keyIdx]=(this.keyIdx!=0&&this.token!=" "?" ":"")+_25;
_25=this.keyArr.join(this.token);
var _27=this.token+(this.token!=" "?" ":"");
if(_25.length>=_27.length&&_25.substring(_25.length-_27.length)!=_27){
_25+=_27;
}
}else{
this.item=tgt.item;
}
this.attr("value",_25);
this._setCaretPos(this.focusNode,_25.length);
},_startSearchAll:function(){
this._startSearch("");
},_startSearchFromInput:function(){
var _28=this._currentInput=this.focusNode.value;
var _29=_28;
if(this.multipleValues){
this.keyArr=_28.split(this.token);
this.caretPos=this._getCaretPos(this.focusNode);
this.keyIdx=this._numTokensPreceding(_28,this.caretPos);
_29=this.keyArr[this.keyIdx];
}
_29=dojo.string.trim(_29);
if(this.shouldStartSearch(_29)){
this._startSearch(_29);
}else{
this._hideResultList();
}
},shouldStartSearch:function(_2a){
var _2b;
if(this.store&&this.store.shouldStartSearch){
_2b=this.store.shouldStartSearch(_2a);
}
if(typeof _2b=="undefined"){
var _2c=this.minChars;
if(_2a.length>=_2c){
return true;
}
var _2d=0;
var _2e=encodeURIComponent(_2a);
for(var i=0;i<_2e.length;i++){
_2d++;
if(_2d>=_2c){
break;
}
if(_2e.charAt(i)=="%"){
i+=2;
}
}
_2b=_2d>=_2c;
}
return _2b;
},_startSearch:function(key){
var _2f=this.id+"_popup";
if(!this._popupWidget){
this._popupWidget=new dijit.form._ComboBoxMenu({onChange:dojo.hitch(this,this._selectOption),id:_2f});
dijit.setWaiRole(this._popupWidget.domNode,"listbox");
dijit.setWaiState(this._popupWidget.domNode,"live","polite");
this._popupWidget.domNode.style.listStyleType="none";
dijit.removeWaiState(this.focusNode,"activedescendant");
dijit.setWaiState(this.textbox,"owns",_2f);
dojo.addClass(this._popupWidget.domNode,"lconnHighlight");
}else{
dijit.setWaiState(this.focusNode,"activedescendant",_2f);
}
var _30=dojo.clone(this.query);
this._lastInput=key;
this._lastQuery=_30=key;
this.searchTimer=setTimeout(dojo.hitch(this,function(_31,_32){
this.searchTimer=null;
var _33={queryOptions:{ignoreCase:this.ignoreCase,deep:true},query:_31,onComplete:dojo.hitch(this,"_openResultList"),onError:function(_34){
_32._fetchHandle=null;
console.error("dijit.form.ComboBox: "+_34);
dojo.hitch(_32,"_hideResultList")();
},start:0,count:this.pageSize};
dojo.mixin(_33,_32.fetchProperties);
this._fetchHandle=_32.store.fetch(_33);
var _35=function(_36,_37){
_36.start+=_36.count*_37;
_36.direction=_37;
this._fetchHandle=this.store.fetch(_36);
};
this._nextSearch=this._popupWidget.onPage=dojo.hitch(this,_35,this._fetchHandle);
},_30,this),this.searchDelay);
},getAttribute:function(_38){
if(this.item&&this.item[_38]){
return this.item[_38];
}else{
return "";
}
},getTextBoxValue:function(){
return this.focusNode.value;
},_getMenuLabelFromItem:function(_39){
var _3a=this.formatItemHtml(_39);
var key="";
if(this.multipleValues){
key=dojo.string.trim(this.keyArr[this.keyIdx]);
}else{
key=dojo.string.trim(this.focusNode.value);
}
key=key.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");
var _3b=_3a.toLowerCase();
var _3c=key.toLowerCase();
var _3d=0;
var _3e=null;
var _3f=_3c.split(/\s/);
var sbf=[];
for(var i=0;i<_3f.length;i++){
var s=_3f[i];
var _3e=_3b.indexOf(s,_3d);
if(_3e!=-1){
sbf.push(_3a.substring(_3d,_3e));
sbf.push("<b>");
sbf.push(_3a.substring(_3e,_3e+s.length));
sbf.push("</b>");
_3d=_3e+s.length;
}
}
sbf.push(_3a.substring(_3d));
return {html:true,label:sbf.join("")};
}});
}

dojo.provide("lconn.core.nls.strings")._built=true;
dojo.provide("lconn.core.nls.strings.en_gb");
lconn.core.nls.strings.en_gb={"rs_tunedOutPri":"Tuned Out","rs_forumSettingCancel":"Cancel","rs_copyTemplateMembers":"Use members from template","rs_personColon":"Person: ","rs_actUpdatedByDate":"Updated by ${0} ${1}","rs_forumMessages":"${0} messages","rs_startActivity":"Start an Activity","rs_completedActivityLink":"Show completed Activities","rs_forumSortBy":"Sort by:","rs_noTemplate":"None","rs_jumpPage":"Jump to page ${0} of ${1}","rs_viewAsCloudDescription":"Viewing tags as a tag cloud","rs_group_browse_cancel_button":"Cancel","rs_tagDialogCloseTile":"Close","rs_shared":"Shared","rs_group_browse_paging":"Paging","rs_tagCloudRelatedTags":"Related Tags","rs_relatedTagTitle":"Add the tag ${0} with count ${1}","rs_member_members":"Members","rs_postedBy":"Latest post by","rs_tuneOut":"Mark as Tuned Out","rs_browser_setting":"Browser Setting","rs_normalTemplate":"Mark as normal template","rs_group_browse_group_typeahead_label":"Type a group name:","rs_viewAsListDescription":"Viewing tags as a sequential list of tags","rs_forumSettingSave":"Save","rs_PersonPicture":"${0}\'s Picture","rs_numResults":"Showing ${0} results of ${1}","rs_clearAll":"Clear all","rs_notificationConfirm":"The notification message was sent successfully. ","rs_removeFilter":"Remove","rs_defaultForumList":"Show forum list by default","rs_normalTags":"Active Tags","rs_group_browse_previous_page":"Previous Page","rs_startFirstTopic":"Start the First Topic","rs_markComplete":"Mark Complete","rs_activityFormGoal":"Activity Goal","rs_group_browse_next_page":"Next Page","rs_viewAsListTitle":"List tags as a sequential list of tags","rs_group_browse_page_info":"${0} - ${1} of ${2}","rs_typeToFilter":"Type to filter this list","rs_externalLabel":"External","rs_group_browse_groups":"Browse Groups","rs_favoriteTemplate":"Mark as Favorite Template","rs_noResults":"No Results found","rs_viewAsCloudTitle":"List tags as a tag cloud","rs_close":"Close","rs_prioritize":"Prioritize","rs_hide":"Hide","rs_noTopics":"There are no topics yet for this community.","rs_deleteEntry":"Delete","rs_searchCommunityDirectory":"Community not listed? Use full search...","rs_customLangaugeLinkLabel":"Custom Language","rs_feedError":"Failed to load feed.","rs_restore":"Restore","rs_shadowText_searchDirectory":"Type to find person","rs_more":"More","rs_tagCloudViewAllTitle":"Browse all tags","rs_notifyColon":"Notify: ","rs_ok":"OK","rs_actTagsDelim":", ","rs_activitiesUnavailable":"The Activities service is unavailable.","rs_peopleLabel":"People","rs_icfixlayout":{"dialog_title":"Reformat Contents","reformat_save":"Reformat and Save","warn_layout":"Your content exceeds the maximum display width.  Do you want to reformat automatically to fit the available space?","save_as_is":"Save as Is","button_label":"Reformat","cancel":"Cancel","warning":"Warning","remember_decision":"Remember my decision"},"rs_forumTopics":"${0} topics","rs_feedOpenQuestions":"Feed for these open questions","rs_startTopic":"Start a Topic","rs_tagCloudSeachDesc":"Find a Tag","rs_linkMore":"... [more]","rs_group_browse_enter_string":"Type to find groups","rs_manageForumSetting":"Manage Forum Settings","rs_shadowText_searchPersonAndGroupDirectory":"Type to find person or group","rs_replace":"Replace","rs_template":"Template","rs_viewAll":"View All","rs_forumSettingNote":"Note: Topics display by default if there is only one forum.","rs_templateOptions":"Template options","rs_locked":"[Locked]","rs_forumSettingSaveAndClose":"Save and Close","rs_tagCloudRelatedTagsDescription":"Add a related tag to further refine your search","rs_forumSettingConfirm":"Your changes for Forums have been saved.","rs_messageColon":"Message: ","rs_forumSettingError":"An error occurred. Contact your administrator.","rs_tagCloudNoTagsProfiles":"Search the directory. Tags associated with the profiles returned by the search will be displayed here.","rs_shadowText_searchCommunityDirectory":"Type to find community","rs_topics":"topics","rs_group_browse_find_groups":"Find Groups","rs_removeActFromComm":"Remove from community","rs_forumLastAddedPost":"Latest post by ${0}","rs_activityWidgetTitle":"Activities","rs_notificationFail":"The notification message was not sent. Try again later and contact your system administrator if the problem persists.","rs_aboutThisTemplate":"About This Template","rs_tagCloudSelectedTags":"Selected Tags","rs_linkLess":"... [less]","rs_group_role":"Group Role","rs_group_browse_results_label":"Select a matching group:","rs_medPri":"Medium Priority","rs_quote":"Quote","rs_tagDialogPageInfo":"${0} - ${1} of ${2} tags","rs_yesterday":"Yesterday","rs_forumSettingCommunityOverviewPage":"Community overview page:","rs_tagCloudNavigationLabel":"Tags","rs_group_name":"Group Name","rs_shadowText_searchGroupDirectory":"Type to find group","rs_replies":"replies","rs_member_add_to_community":"Click to add member","rs_listItem":"List item","rs_navNextLabel":"Next","rs_typeName":"Type in a Name","rs_activityFeedLink":"Feed for these activities","rs_pageLabel":"Page:","rs_group_remove_name":"Click to remove group","rs_forumSettingApplicationView":"Forum application default view:","rs_activityWidgetBriefDescription":"Track community goals.  Create to-dos and share resources.","rs_sortByReplies":"Sort by Replies","rs_group_browse_parent_group_label":"You are in:","rs_tagLoadingTags":"Loading Content","rs_actUpdatedBy":"Updated by ${0}","rs_loading":"Loading...","rs_forumOpenQuestions":"Open Questions","rs_removeTagTitle":"Remove the tag ${0} from the selected filter tags","rs_tomorrow":"Tomorrow","rs_edit":"Edit","rs_startFromTemplate":"Start Activity from this Template","rs_createPersonLink":"Create Person Link","rs_group_browse_next":"Next","rs_searchPersonAndGroupDirectory":"Person or group not listed? Use full search...","rs_notifyOthers":"Notify other people","rs_pickCommunity":"Pick from Community List","rs_activityWidgetDescription":"Community activities can be used to collaborate and track progress on community projects or initiatives.","rs_activity":"Activity","rs_tagCloudNoRecentTags":"No recent tags","rs_startFirstActivity":"Create Your First Activity","rs_inactivePerson":"${0} (inactive)","rs_group_browse_group_name":"Group name:","rs_pagepos":"${0} - ${1} of ${2}","rs_group_browse_remove_selection":"Remove nested group selection: ${0}","rs_defaultTopicList":"Show topic list by default","rs_reply":"reply","rs_tagCloudHelpAlt":"Get help with tags","rs_feedAnsweredQuestions":"Feed for these answered questions","rs_filterListPrompt":"Type to filter this list","rs_tagCloudSeach":"Search","rs_group_add_to_community":"Click to add group","rs_tagCloudViewAll":"Browse","rs_noReplies":"No replies","rs_labelColon":"Label: ","rs_member_remove_group":"Remove ${0}","rs_filterGroupLabel":"Select Group","rs_formSettingHideMessage":"Hide this message","rs_jumpPageLabel":"Jump to page","rs_member_groups":"Groups","rs_group_browse_group_no_groups":"This group does not contain any groups","rs_searchInputDefault":"Type to find a tag","rs_warning":"Warning","rs_forumUnAnsweredQuestion":"Unanswered question","rs_addTagTitle":"Filter by the tag ${0} with count ${1}","rs_forumSettingSubmit":"Submit","rs_forumAnsweredQuestion":"Answered question","rs_group_browse_add_button":"Add","rs_highPri":"High Priority","rs_searchDirectory":"Person not listed? Use full search...","rs_personLink":"Person Link","rs_forumSortByTopicsAndReplies":"Topics and Replies","rs_searchInputTagSelected":"Type another tag","rs_topic":"topic","rs_viewAsList":"List","rs_tagDialogTitle":"All Tags","rs_searchGroupDirectory":"Group not listed? Use full search...","rs_noTopicsShort":"No topics","rs_member_no_results":"No results found","rs_viewAsCloud":"Cloud","rs_actDue":"Due ${0}","rs_normalPri":"Normal Priority (Default)","rs_today":"Today","rs_sortbyTopicsAndReplies":"Sort by Topics and Replies","rs_markIncomplete":"Restore","rs_errorPersists":"If the problem persists, contact your system administrator.","rs_noActivities":"There are no activities started for this community.","rs_actTags":"Tags: ","rs_group_browse_previous":"Previous","rs_forumSortByReplies":"Replies","rs_group_browse_page_info_alt":"Matching groups ${0} through ${1} of ${2}","rs_tagCloudNoTags":"No tags yet","rs_tagCloudToggleHint":"Click to hide or show","rs_copyActivityMembers":"Use members from activity","rs_navPrevLabel":"Previous","rs_tagsLabel":"Tags","rs_forumSortByDate":"Date","rs_copyOf":"Copy of ${0}","rs_noTopicsLoggedIn":"Ask a question, brainstorm, or simply share your ideas.","rs_group_browse_group_selected":"Selected Group:","rs_a11y_warning":"Warning:","rs_group_browse_groups_dialog_title":"Browse Groups","rs_forumSortByTopic":"Topics","rs_removeTag":"Remove the tag from the selected filter tags","rs_pageNumLabel":"Page Number","rs_member_remove_name":"Click to remove member"};

;dojo.cache("lconn.core", "CommonTags/templates/typeAhead.html", "<input type=\"text\" id=\"widget_${id}\" class=\"lotusText\" autocomplete=\"off\" ${nameAttrSetting}dojoAttachEvent=\"onkeypress:_onKeyPress, compositionend\"dojoAttachPoint=\"comboNode,textbox,focusNode\" waiState=\"haspopup-true,autocomplete-list,expanded-false\" waiRole=\"combobox\" />");

;if(!dojo._hasResource["lconn.core.CommonTags.CommonTagsTypeAhead"]){
dojo._hasResource["lconn.core.CommonTags.CommonTagsTypeAhead"]=true;
dojo.provide("lconn.core.CommonTags.CommonTagsTypeAhead");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.require("lconn.core.TypeAhead");
dojo.requireLocalization("lconn.core","strings");
dojo.declare("lconn.core.CommonTags.CommonTagsTypeAhead",[lconn.core.TypeAhead],{hideEmptyResults:true,templateString:null,templatePath:dojo.moduleUrl("lconn.core","CommonTags/templates/typeAhead.html"),submitFormOnNonSelectingEnter:true,postMixInProperties:function(){
this.inherited(arguments);
var b=dojo.i18n.getLocalization("lconn.core","strings");
this.hintText=this.hintText||b.rs_searchInputDefault;
}});
}


;if(!dojo._hasResource["lconn.core.MenuUtility"]){
dojo._hasResource["lconn.core.MenuUtility"]=true;
dojo.provide("lconn.core.MenuUtility");
dojo.require("dijit._base.popup");
dojo.require("com.ibm.oneui.util.openAround");
dojo.declare("lconn.core.MenuUtility",null,{openMenu:function(_1,_2,_3,_4){
dojo.deprecated("lconn.core.MenuUtility","Use com.ibm.oneui.util.openAround","3.5");
if(_1){
_1=dojo.fixEvent(_1);
}
com.ibm.oneui.util.openAround(_2,_3,_4,_1);
},openMenuA11y:function(_5,_6){
dojo.deprecated("lconn.core.MenuUtility","Use com.ibm.oneui.util.openAround, this is handled by standard onclick events","3.5");
if(_5.keyCode==dojo.keys.ENTER){
this.openMenu(_5,_6);
}
}});
menuUtility=new lconn.core.MenuUtility();
lconn.core.MenuUtility.open=function(_7,e){
dojo.deprecated("lconn.core.MenuUtility","Use com.ibm.oneui.util.openAround","3.5");
menuUtility.openMenu(e,_7);
};
lconn.core.MenuUtility.openAround=function(_8,_9,_a){
dojo.deprecated("lconn.core.MenuUtility","Use com.ibm.oneui.util.openAround","3.5");
menuUtility.openMenu(null,_8,_9,_a);
};
lconn.core.MenuUtility.attachListeners=function(_b,_c,_d){
var _d=_d||dojo.partial(lconn.core.MenuUtility.openAround,_b,_c);
dojo.connect(_c,"onclick",_d);
dojo.connect(_c,"onmousedown",function(){
_b.preventReopen=_b.isShowingNow||_b.wasShowing;
_b.wasShowing=false;
});
dojo.connect(_c,"onkeypress",function(e){
_b.wasShowing=_b.preventReopen=false;
if(e.charOrCode==dojo.keys.DOWN_ARROW){
dojo.stopEvent(e);
_d();
}
});
_c=null;
};
}


;if(!dojo._hasResource["lconn.core.Res"]){
dojo._hasResource["lconn.core.Res"]=true;
dojo.provide("lconn.core.Res");
dojo.require("dojo.i18n");
dojo.require("dojo.string");
dojo.requireLocalization("lconn.core","strings");
dojo.declare("lconn.core.Res",[],{bundleFor:"lconn.core",resBundle:null,loadDefaultBundle:function(){
this.resBundle=dojo.i18n.getLocalization(this.bundleFor,"strings");
},loadBundle:function(_1){
this.resBundle=dojo.i18n.getLocalization(_1,"strings");
},getDefaultBundle:function(){
return dojo.i18n.getLocalization(this.bundleFor,"strings");
},getBundle:function(_2){
return dojo.i18n.getLocalization(_2,"strings");
},getStringFrom:function(_3,_4,_5){
var _6=dojo.i18n.getLocalization(_3,"strings")[_4];
if(_5==undefined){
return _6;
}else{
return dojo.string.substitute(_6,_5);
}
},getString:function(_7,_8){
var _9=dojo.i18n.getLocalization(this.bundleFor,"strings")[_7];
if(_8==undefined){
return _9;
}else{
return dojo.string.substitute(_9,_8);
}
}});
}


;if(!dojo._hasResource["com.ibm.oneui.util.Url"]){
dojo._hasResource["com.ibm.oneui.util.Url"]=true;
(function(){
dojo.provide("com.ibm.oneui.util.Url");
dojo.declare("com.ibm.oneui.util.Url",dojo._Url,{getQuery:function(){
if(!this.queryParameters){
this.queryParameters=_1(this.query);
}
return this.queryParameters;
},getQueryString:function(){
var _2=this.queryParameters;
if(_2){
this.query=_3(_2);
this.queryParameters=null;
}
return this.query;
},toString:function(){
var _4=[];
if(this.scheme){
_4.push(this.scheme);
_4.push(":");
}
if(this.authority){
_4.push("//");
_4.push(this.authority);
}
_4.push(this.path);
var _5=this.getQueryString();
if(_5){
if(_5.charAt(0)!="?"){
_4.push("?");
}
_4.push(_5);
}
if(this.fragment){
_4.push("#");
_4.push(this.fragment);
}
return _4.join("");
}});
function _1(_6){
var _7={};
if(!_6){
return _7;
}
if(_6.charAt(0)=="?"){
_6=_6.substring(1);
}
var _8=_6.split("&");
for(var i=0;i<_8.length;i++){
if(_8[i].length>0){
var _9=_8[i].indexOf("=");
if(_9==-1){
var _a=decodeURIComponent(_8[i]);
var _b=_7[_a];
if(dojo.isArray(_b)){
_b.push("");
}else{
if(_b){
_7[_a]=[_b,""];
}else{
_7[_a]="";
}
}
}else{
if(_9>0){
var _a=decodeURIComponent(_8[i].substring(0,_9));
var _c=decodeURIComponent(_8[i].substring(_9+1));
var _b=_7[_a];
if(dojo.isArray(_b)){
_b.push(_c);
}else{
if(_b){
_7[_a]=[_b,_c];
}else{
_7[_a]=_c;
}
}
}
}
}
}
return _7;
};
function _3(_d){
var _e=[];
for(var _f in _d){
var _10=_d[_f];
if(_10!==undefined&&_10!=null){
_f=encodeURIComponent(_f);
if(dojo.isArray(_10)){
for(var i=0;i<_10.length;i++){
if(_10[i]){
_e.push(_e.length==0?"?":"&");
_e.push(_f);
_e.push("=");
_e.push(encodeURIComponent(_10[i]));
}
}
}else{
_e.push(_e.length==0?"?":"&");
_e.push(_f);
_e.push("=");
_e.push(encodeURIComponent(_10));
}
}
}
return _e.join("");
};
com.ibm.oneui.util.Url.secure=((window.location.protocol||"http").replace(":","")=="https");
})();
}


;if(!dojo._hasResource["lconn.core.url"]){
dojo._hasResource["lconn.core.url"]=true;
dojo.provide("lconn.core.url");
dojo.provide("lconn.core.url.ProxyUrlHelper");
dojo.require("com.ibm.oneui.util.proxy");
dojo.require("com.ibm.oneui.util.Url");
lconn.core.url._const={regex:/(^[a-zA-Z]+)\:\/\/([a-zA-Z\d][\a-z\A-Z\d\-\.]*)(:\d{1,5})?([\/\?\#].*)?/,protocolPorts:{"http":80,"https":443}};
lconn.core.url.parse=function(_1,_2){
var l=arguments.length,u=null;
if(!_1){
return null;
}else{
if((typeof _1!="string"&&console.trace)||(_2&&typeof _2!="string"&&console.trace)){
throw "Arguments for URI must be a string";
}
}
_1=new dojo._Url(_1,_2);
_1.queryParameters=lconn.core.url.getRequestParameters(_1);
return _1;
};
lconn.core.url.write=function(_3){
if(!_3){
return null;
}
var _4="";
if(_3.scheme){
_4+=_3.scheme+":";
}
if(_3.authority){
_4+="//"+_3.authority;
}
_4+=_3.path;
if(_3.queryParameters){
_4+=lconn.core.url.writeParameters(_3.queryParameters);
}else{
if(_3.query){
_4+=((_3.query.charAt(0)!="?")?"?":"")+_3.query;
}
}
if(_3.fragment){
_4+="#"+_3.fragment;
}
return _4;
};
dojo._Url.prototype.toCanonicalString=function(){
return lconn.core.url.write(this);
};
lconn.core.url.rewrite=function(_5,p){
if(_5&&p){
_5=lconn.core.url.parse(_5);
dojo.mixin(_5.queryParameters,p);
_5=lconn.core.url.write(_5);
}
return _5;
};
lconn.core.url.splitQuery=function(_6){
var _7={};
if(!_6){
return _7;
}
if(_6.charAt(0)=="?"){
_6=_6.substring(1);
}
var _8=_6.split("&");
for(var i=0;i<_8.length;i++){
if(_8[i].length>0){
var _9=_8[i].indexOf("=");
if(_9==-1){
var _a=decodeURIComponent(_8[i]);
var _b=_7[_a];
if(dojo.isArray(_b)){
_b.push("");
}else{
if(_b){
_7[_a]=[_b,""];
}else{
_7[_a]="";
}
}
}else{
if(_9>0){
var _a=decodeURIComponent(_8[i].substring(0,_9));
var _c=decodeURIComponent(_8[i].substring(_9+1));
var _b=_7[_a];
if(dojo.isArray(_b)){
_b.push(_c);
}else{
if(_b){
_7[_a]=[_b,_c];
}else{
_7[_a]=_c;
}
}
}
}
}
}
return _7;
};
lconn.core.url.getRequestParameters=function(_d){
if(!_d){
return {};
}
if(typeof _d=="string"){
_d=new dojo._Url(_d);
}
return lconn.core.url.splitQuery(_d.query);
};
lconn.core.url.writeParameters=function(_e){
var _f=[];
for(var key in _e){
var _10=_e[key];
if(typeof _10!="undefined"&&_10!=null){
key=encodeURIComponent(key);
if(dojo.isArray(_10)){
for(var i=0;i<_10.length;i++){
if(_10[i]){
_f.push(_f.length==0?"?":"&");
_f.push(key);
_f.push("=");
_f.push(encodeURIComponent(_10[i]));
}
}
}else{
_f.push(_f.length==0?"?":"&");
_f.push(key);
_f.push("=");
_f.push(encodeURIComponent(_10));
}
}
}
return _f.join("");
};
lconn.core.url.getServiceUrl=function(_11,_12){
var _13=com.ibm.oneui.util.Url,_14=null;
if(!_11){
return null;
}else{
if(_13.secure||_12){
if(_11.secureEnabled){
_14=_11.secureUrl;
}else{
if(_11.url){
_14=_11.url;
}else{
return null;
}
}
}else{
if(_11.url){
_14=_11.url;
}else{
if(_11.secureEnabled){
_14=_11.secureUrl;
}else{
return null;
}
}
}
}
return new _13(_14);
};
lconn.core.url.ensureQualified=function(_15){
if(!_15){
throw "Null URL is not permitted";
}
return new dojo._Url(dojo.global.location.toString(),_15).toString();
};
lconn.core.url.ProxyUrlHelper=function(){
};
lconn.core.url.ProxyUrlHelper.prototype={getProxifiedURL:function(url){
return com.ibm.oneui.util.proxy(url);
}};
}


;if(!dojo._hasResource["lconn.core.LanguageSelector"]){
dojo._hasResource["lconn.core.LanguageSelector"]=true;
dojo.provide("lconn.core.LanguageSelector");
dojo.require("dojo.cookie");
dojo.require("lconn.core.MenuUtility");
dojo.require("lconn.core.Res");
dojo.require("lconn.core.url");
dojo.declare("lconn.core.LanguageSelector",null,{_jsonString:null,_selectorNode:null,_menu:null,_cookieProperties:null,COOKIE_NAME:null,constructor:function(_1,_2,_3,_4){
this._selectorNode=_1;
this._jsonString=_2;
this._cookieProperties=_4;
this.id=this._selectorNode.id;
this.COOKIE_NAME=lconn.core.LanguageSelector.COOKIE_NAME=_3;
this._setSelectorLabel();
dojo.connect(this._selectorNode,"onclick",dojo.hitch(this,"_openMenu"));
},_openMenu:function(_5){
try{
this._buildLanguageMenu();
this._attachLanguageMenu(this.id);
var dd=dojo.query(".dijitPopup");
for(var i=0;i<dd.length;i++){
if(dd[i].id.indexOf("_dropdown")!=-1){
dojo.removeAttr(dd[i],"style");
}
}
menuUtility.openMenu(null,this._menu.id,this._selectorNode);
dojo.stopEvent(_5);
}
catch(e){
console.log(e);
}
},_setSelectorLabel:function(){
var _6=dojo.cookie(this.COOKIE_NAME);
var _7=new lconn.core.Res();
_7.loadDefaultBundle();
this.strBundle=_7.resBundle;
var _8=" <img alt=\"\" role=\"presentation\" src=\""+dijit._Widget.prototype._blankGif+"\"  class=\"lotusArrow lotusDropDownSprite\"><span class=\"lotusAltText\">&#9660;</span>";
var _9="<span class=\"lotusAccess\">Language Selector</span>";
if(_6){
var _a=0;
var _b=this.strBundle.rs_customLangaugeLinkLabel+_9+_8;
for(var _c in this._jsonString){
if(this._isCodeEqual(_c,_6)){
_b=this._jsonString[_c]+_9+_8;
break;
}else{
if(this._isCodeEqualOrMoreSpecific(_c,_6)&&_c.length>_a){
_b=this._jsonString[_c]+_9+_8;
_a=_c.length;
}
}
}
this._selectorNode.innerHTML=_b;
}else{
this._selectorNode.innerHTML=this.strBundle.rs_customLangaugeLinkLabel+_9+_8;
}
},_attachLanguageMenu:function(id){
var _d=dojo.byId(id);
dijit.setWaiState(_d,"owns",id+"_popup");
},_buildLanguageMenu:function(){
if(this._menu==null){
var _e=true;
this._menu=new dijit.Menu({"class":"lotusNavMenu",id:this.id+"_popup"});
for(var _f in this._jsonString){
if(_f!="BD"){
this._menu.addChild(this._buildMenuItem(this._jsonString[_f],_f));
}else{
_e=false;
}
}
var res=new lconn.core.Res();
res.loadDefaultBundle();
this.strBundle=res.resBundle;
if(_e){
this._menu.addChild(this._buildMenuItem(this.strBundle.rs_browser_setting,"BD"));
}
this._menu.domNode.style.display="none";
dojo.body().appendChild(this._menu.domNode);
var _10=this;
dojo.connect(this._menu,"onItemClick",function(_11){
if((_11!=null)&&(typeof _11.language!="undefined")){
dojo.cookie(_10.COOKIE_NAME,_11.language,_10._cookieProperties);
var _12=null;
var _13=document.getElementById("REFRESH_URL");
if(_13){
_12=_13.getAttribute("href");
}
if(!_12){
_12=window.location.href;
}
var _14=_11.language;
if(_14=="BD"||!_14){
_14=null;
}
var url=lconn.core.url.parse(_12);
if(_14==null&&url.queryParameters.lang==null){
window.location.reload(true);
}else{
window.location=lconn.core.url.rewrite(_12,{lang:_14});
}
}
});
}
},_buildMenuItem:function(_15,_16){
var _17=new dijit.MenuItem({label:_15,iconClass:"lotusHidden"});
_17.language=_16;
return _17;
},_isCodeEqualOrMoreSpecific:function(_18,_19){
var _1a=_18.toLowerCase().replace(/-/,"_");
var _1b=_19.toLowerCase().replace(/-/,"_");
if(_1a==_1b){
return true;
}
var _1c=_1a.length>0&&_1b.indexOf(_1a+"_")==0;
if(_1c){
var _1d={zh:"zh_tw",pt:"pt_br"};
if(_1d[_1a]==_1b){
return false;
}else{
return true;
}
}
return false;
},_isCodeEqual:function(_1e,_1f){
var _20=_1e.toLowerCase().replace(/-/,"_");
var _21=_1f.toLowerCase().replace(/-/,"_");
return _20===_21;
}});
}


;if(!dojo._hasResource["lconn.core.TypeAheadDataStore"]){
dojo._hasResource["lconn.core.TypeAheadDataStore"]=true;
dojo.provide("lconn.core.TypeAheadDataStore");
dojo.declare("lconn.core.TypeAheadDataStore",null,{constructor:function(_1,_2){
this.queryParam=(_1.queryParam?_1.queryParam:_2.getAttribute("queryParam"));
this.url=(_1.url?_1.url:_2.getAttribute("url"));
},queryParam:"",maxQueryLength:255,cache:[],timeout:5000,clear:function(){
this.cache=[];
},fetch:function(_3){
var _4={};
this.searchDirectory=(_3.queryOptions.searchDirectory?true:false);
if(typeof this.cache[_3.query.toLowerCase()]=="object"){
_3.onComplete(this.cache[_3.query.toLowerCase()],_3);
return _3;
}
if(this.queryParam){
if(this.getUTF8Length(_3.query)>this.maxQueryLength){
var _5=this.getUTF8Substring(_3.query);
_4[this.queryParam]=_5;
}else{
_4[this.queryParam]=_3.query;
}
}
dojo.xhrGet({url:this.url,content:_4,handleAs:"json",timeout:this.timeout,load:dojo.hitch(this,function(_6){
this.cache[_3.query.toLowerCase()]=_6;
if(_3.onComplete){
_3.onComplete(_6,_3);
}
}),error:function(){
console.log("There was an error");
}});
return _3;
},getUTF8Length:function(_7){
var _8=0;
if(_7!=null){
for(var i=0;i<_7.length;i++){
var c=_7.charCodeAt(i);
if(c<127){
_8+=1;
}else{
if((128<=c)&&(c<=2047)){
_8+=2;
}else{
if((2048<=c)&&(c<=65535)){
_8+=3;
}
}
}
}
}
return _8;
},getUTF8Substring:function(_9){
var _a=_9;
var i=0;
while(this.getUTF8Length(_a)>this.maxQueryLength){
_a=_9.substring(0,_9.length-i);
i++;
}
return _a;
},getValue:function(_b,_c,_d){
return _b;
}});
}


;if(!dojo._hasResource["lconn.core.theme"]){
dojo._hasResource["lconn.core.theme"]=true;
(function(){
dojo.provide("lconn.core.theme");
dojo.require("lconn.core.url");
dojo.require("com.ibm.oneui.util.Url");
lconn.core.theme={getUrl:function(_1){
_2();
return _3+_1+_4;
},switchTheme:function(_5){
var _6=_2();
if(_5=="default"||!_5){
_5=_7;
}
if(_5==_8||!_6){
return;
}
_8=_5;
var _9=_a(dojo.byId("lotusThemeStylesheet"));
var _b=_a(dojo.byId("lotusAppStylesheet"));
var _c=encodeURIComponent(_5);
if(_5){
_9=_6.cloneNode(true);
_9.id="lotusThemeStylesheet";
_d.path=_e+"_lconntheme/"+_c+".css";
_9.href=_d.toString();
dojo.place(_9,_6,"after");
if(_f){
_b=_6.cloneNode(true);
_b.id="lotusAppStylesheet";
_d.path=_e+"_lconnappstyles/"+_c+"/"+encodeURIComponent(_f)+".css";
_b.href=_d.toString();
dojo.place(_b,_9,"after");
}
}
}};
var _7,_10,_f,_e,_d,_8,_3,_4;
function _2(){
var _11=dojo.byId("lotusBaseStylesheet");
if(!_d&&_11){
_3=dojo.attr(_11,"base");
_d=new com.ibm.oneui.util.Url(_3);
_d.query=dojo.attr(_11,"query");
_e=_d.path;
_8=_7=dojo.attr(_11,"theme")||"default";
_10=dojo.attr(_11,"defaultTheme")||_7;
_f=dojo.attr(_11,"appName");
_3+="com.ibm.lconn.core.styles.oneui"+(dojo.attr(_11,"oneui")||2)+"/";
_4="?etag="+encodeURIComponent(_d.getQuery().etag);
}
return _11;
};
function _a(_12){
if(_12){
_12.id="";
setTimeout(function(){
var _13=_12.parentNode;
if(_13){
_13.removeChild(_12);
}
},1);
}
return _12;
};
})();
}


;if(!dojo._hasResource["lconn.core.widget.MenuLauncher"]){
dojo._hasResource["lconn.core.widget.MenuLauncher"]=true;
dojo.provide("lconn.core.widget.MenuLauncher");
dojo.require("dijit._Widget");
dojo.declare("lconn.core.widget.MenuLauncher",dijit._Widget,{hideDelay:1000,openDelay:0,preloadDelay:0,classActive:"lotusHover",activeParent:0,activateOnFocus:false,widthAdjust:0,orient:{"BL":"TL","BR":"TR","TL":"BL","TR":"BR"},orientRTL:{"BR":"TR","BL":"TL","TR":"BR","TL":"BL"},buildRendering:function(){
this.domNode=this.popupStateNode=this.srcNodeRef;
this.connect(this,"onMouseEnter","_delayOpen");
this.connect(this,"onMouseLeave","_delayClose");
if(this.activateOnFocus){
this.connect(this,"onFocus","_delayOpen");
this.connect(this,"onBlur","_closeMenu");
}else{
this.connect(this,"onClick","_onClick");
}
this.menuId=this.menuId||dojo.attr(this.domNode,"aria-owns")||dojo.attr(this.domNode,"aria-describedby")||(this.id?(this.id+"_popup"):dijit.getUniqueId("ml"));
this.externalContent=dojo.attr(this.domNode,"external-content");
delete this.srcNodeRef;
},decorateAria:function(){
dojo.attr(this.domNode,"aria-owns",this.menuId);
},whenInit:function(){
this.decorateAria();
var _1=this._initDfd;
if(!_1){
var _2=this._initMenu();
if(!(_2 instanceof dojo.Deferred)){
if(!this.menu){
throw "_initMenu must initialize this.menu or return a deferred";
}
_2=new dojo.Deferred();
_2.callback(this.menu);
}
_1=this._initDfd=_2;
_1.addCallback(this,"initFinal").addErrback(this,function(){
this._initDfd=null;
});
}
return _1;
},initFinal:function(){
var _3=this.menu;
_3._launcher=this;
dijit.popup.moveOffScreen(_3.domNode);
var _4=document.createElement("span");
_4.style.display="none";
dojo.attr(_4,"widgetId",_3.id);
dojo.body().appendChild(_4);
var _5=this.domNode;
for(var i=0;i<this.activeParent;i++){
_5=_5.parentNode;
}
this.activeNode=_5;
if(this.externalContent){
var _6=dijit.byId(this.externalContent);
this.connect(_6,"onMouseEnter","_openMenu");
this.connect(_6,"onMouseLeave","_delayClose");
this.connect(_6,"onClose","_closeMenu");
dojo.connect(this,"onOpen",dojo.hitch(this,function(){
dojo.style(this.menu.domNode,{padding:0});
var _7=dojo.position(dojo.byId(_6.bindto),true);
dojo.style(_6.domNode,{top:_7.y+"px",left:_7.x+"px",height:_7.h+"px",width:_7.w+"px",zIndex:2000});
_6.show(arguments);
}));
dojo.connect(this,"onClose",function(){
_6.hide();
});
}
this.connect(_3,"onMouseEnter","_openMenu");
this.connect(_3,"onMouseLeave","_delayClose");
},_initMenu:function(){
throw "Must override initMenu() to do dynamic loading";
},_onClick:function(e){
if(e){
dojo.stopEvent(e);
}
this._openMenu("click");
},_preloadMenu:function(){
this.whenInit().addCallback(this,function(){
var _8=this.menu;
var _9=dojo.getObject("dijit.layout.ContentPane");
if(_8._preload){
_8._preload();
}else{
if(_9&&_8 instanceof _9){
if(_8.isLoaded||_8.isFailed||_8._xhrDfd){
return;
}
_8._load();
}
}
});
},_openMenu:function(_a){
this._shouldBeOpen=true;
this.whenInit().addCallback(this,function(){
if((!this._opened&&this._closing)||!this._shouldBeOpen){
return;
}
if(typeof _a!="string"){
_a=null;
}
this._delayEnd();
var _b=this.menu;
if(!_b){
return;
}
if(!this._opened){
if(_b.href&&!(_b.isLoaded||_b.isFailed)){
var _c=this;
var _d=dojo.connect(_b,"onLoad",function(){
dojo.disconnect(_d);
_c._openFinal(_a);
});
this._preloadMenu();
return;
}else{
this._openFinal(_a);
}
}else{
this.onOpen(_a);
}
});
},_openFinal:function(_e){
if(!this._shouldBeOpen){
return;
}
if(typeof _e!="string"){
_e=null;
}
var _f=this.menu;
var _10=_f.domNode.style.width;
var _11=this;
if(lconn.core.widget.MenuLauncher._menu){
dijit.popup.close(lconn.core.widget.MenuLauncher._menu);
}
if(this.onBeforeOpen(_e)===true){
return;
}
dojo.addClass(this.activeNode,this.classActive);
dijit.popup.open({parent:this,popup:_f,around:this.domNode,orient:this.getOrient(),onExecute:function(){
_11._closeMenu(true);
},onCancel:function(){
_11._closeMenu(true);
},onClose:function(){
_11._delayEnd();
lconn.core.widget.MenuLauncher._menu=null;
_f.domNode.style.width=_10;
dijit.setWaiState(_f.domNode,"hidden","true");
if(_11.domNode){
dojo.removeClass(_11.activeNode,_11.classActive);
}
_11._opened=false;
_11.onClose();
}});
lconn.core.widget.MenuLauncher._menu=_f;
this._opened=true;
this.onOpen(_e);
},_closeMenu:function(_12){
this._delayEnd();
this._shouldBeOpen=false;
if(this._opened){
if(dojo.isIE){
setTimeout(dojo.hitch(this,"_closeMenuFinal",_12),0);
}else{
this._closeMenuFinal(_12);
}
}
},_closeMenuFinal:function(_13){
this._shouldBeOpen=false;
dijit.popup.close(this.menu);
if(_13){
dijit.focus(this.focusNode||this.domNode);
}
},getOrient:function(){
return this.isLeftToRight()?this.orient:this.orientRTL;
},_delayOpen:function(){
if(!this._opening){
this._delayEnd();
this._opening=setTimeout(dojo.hitch(this,"_openMenu","mouseover"),this.openDelay);
if(this.preloadDelay>0&&(!this.menu||!this.menu.isLoaded)){
this._preload=setTimeout(dojo.hitch(this,"_preloadMenu"),this.preloadDelay);
}
}
},_delayClose:function(){
if(!this._closing){
this._delayEnd();
this._closing=setTimeout(dojo.hitch(this,"_closeMenu",false),this.hideDelay);
}
},_delayEnd:function(){
try{
clearTimeout(this._opening);
}
catch(e){
}
try{
clearTimeout(this._closing);
}
catch(e){
}
try{
clearTimeout(this._preload);
}
catch(e){
}
this._closing=this._opening=this._preload=null;
},onBeforeOpen:function(_14){
return false;
},onOpen:function(_15){
if(_15=="click"&&!this.activateOnFocus){
this.focusMenu();
}
dijit.setWaiState(this.menu.domNode,"hidden","false");
},onClose:function(){
},focusMenu:function(){
var _16=this.menu;
if(_16.focus){
_16.focus();
}else{
_16._getFocusItems(_16.containerNode);
dijit.focus(_16._firstFocusItem);
}
}});
}

dojo.registerModulePath("com.ibm.lconn.gadget", "../com.ibm.lconn.gadget");

;if(!dojo._hasResource["com.ibm.lconn.gadget.container.Handle"]){
dojo._hasResource["com.ibm.lconn.gadget.container.Handle"]=true;
dojo.provide("com.ibm.lconn.gadget.container.Handle");
dojo.declare("com.ibm.lconn.gadget.container.Handle",null,{load:function(){
},unload:function(){
},refresh:function(){
if(this.getState()===com.ibm.lconn.gadget.container.Handle.LOADED){
this.unload();
this.load();
}
},getWidgetInfo:function(){
},getState:function(){
}});
dojo.mixin(com.ibm.lconn.gadget.container.Handle,{LOADING:"LOADING",LOADED:"LOADED",UNLOADED:"UNLOADED",ERROR:"ERROR",__factory__:function(_1,_2,_3){
}});
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.container.Accessor"]){
dojo._hasResource["com.ibm.lconn.gadget.container.Accessor"]=true;
dojo.provide("com.ibm.lconn.gadget.container.Accessor");
dojo.require("com.ibm.lconn.gadget.container.Handle");
dojo.declare("com.ibm.lconn.gadget.container.Accessor",null,{getCommonContainer:function(){
},getIRuntime:function(){
}});
com.ibm.lconn.gadget.container.Accessor.__instance__=com.ibm.lconn.gadget.container.Accessor.__instance__||function(_1){
};
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.container.Topics"]){
dojo._hasResource["com.ibm.lconn.gadget.container.Topics"]=true;
dojo.provide("com.ibm.lconn.gadget.container.Topics");
com.ibm.lconn.gadget.container.Topics=(function(){
var _1={};
var _2="com/ibm/lconn/gadget/";
_1.GadgetWindow={};
_1.GadgetWindow.SITE_TOPIC_SET_TITLE="setTitle";
_1.GadgetWindow.AFTER_ADJUST_WIDTH="afterAdjustWidth";
_1.GadgetWindow.AFTER_ADJUST_HEIGHT="afterAdjustHeight";
_1.GadgetWindow.SET_PREFS="setPrefs";
_1.getSiteTopic=function(_3,_4){
return _2+"site/"+_3+"/"+_4;
};
_1.getLifecycleEventTopic=function(_5){
return _2+_5;
};
_1.getMasterLifecycleTopic=function(){
return _2+"lifecycle";
};
return _1;
})();
}


;if(!dojo._hasResource["lconn.core.util.jsonCompat"]){
dojo._hasResource["lconn.core.util.jsonCompat"]=true;
dojo.provide("lconn.core.util.jsonCompat");
var JSON;
if(!JSON){
JSON={};
}
(function(){
"use strict";
function f(n){
return n<10?"0"+n:n;
};
if(typeof Date.prototype.toJSON!=="function"){
Date.prototype.toJSON=function(_1){
return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null;
};
String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(_2){
return this.valueOf();
};
}
var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,_3=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,_4,_5,_6={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","\"":"\\\"","\\":"\\\\"},_7;
function _8(_9){
_3.lastIndex=0;
return _3.test(_9)?"\""+_9.replace(_3,function(a){
var c=_6[a];
return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4);
})+"\"":"\""+_9+"\"";
};
function _a(_b,_c){
var i,k,v,_d,_e=_4,_f,_10=_c[_b];
if(_10&&typeof _10==="object"&&typeof _10.toJSON==="function"){
_10=_10.toJSON(_b);
}
if(typeof _7==="function"){
_10=_7.call(_c,_b,_10);
}
switch(typeof _10){
case "string":
return _8(_10);
case "number":
return isFinite(_10)?String(_10):"null";
case "boolean":
case "null":
return String(_10);
case "object":
if(!_10){
return "null";
}
_4+=_5;
_f=[];
if(Object.prototype.toString.apply(_10)==="[object Array]"){
_d=_10.length;
for(i=0;i<_d;i+=1){
_f[i]=_a(i,_10)||"null";
}
v=_f.length===0?"[]":_4?"[\n"+_4+_f.join(",\n"+_4)+"\n"+_e+"]":"["+_f.join(",")+"]";
_4=_e;
return v;
}
if(_7&&typeof _7==="object"){
_d=_7.length;
for(i=0;i<_d;i+=1){
if(typeof _7[i]==="string"){
k=_7[i];
v=_a(k,_10);
if(v){
_f.push(_8(k)+(_4?": ":":")+v);
}
}
}
}else{
for(k in _10){
if(Object.prototype.hasOwnProperty.call(_10,k)){
v=_a(k,_10);
if(v){
_f.push(_8(k)+(_4?": ":":")+v);
}
}
}
}
v=_f.length===0?"{}":_4?"{\n"+_4+_f.join(",\n"+_4)+"\n"+_e+"}":"{"+_f.join(",")+"}";
_4=_e;
return v;
}
};
if(typeof JSON.stringify!=="function"){
JSON.stringify=function(_11,_12,_13){
var i;
_4="";
_5="";
if(typeof _13==="number"){
for(i=0;i<_13;i+=1){
_5+=" ";
}
}else{
if(typeof _13==="string"){
_5=_13;
}
}
_7=_12;
if(_12&&typeof _12!=="function"&&(typeof _12!=="object"||typeof _12.length!=="number")){
throw new Error("JSON.stringify");
}
return _a("",{"":_11});
};
}
if(typeof JSON.parse!=="function"){
JSON.parse=function(_14,_15){
var j;
function _16(_17,key){
var k,v,_18=_17[key];
if(_18&&typeof _18==="object"){
for(k in _18){
if(Object.prototype.hasOwnProperty.call(_18,k)){
v=_16(_18,k);
if(v!==undefined){
_18[k]=v;
}else{
delete _18[k];
}
}
}
}
return _15.call(_17,key,_18);
};
_14=String(_14);
cx.lastIndex=0;
if(cx.test(_14)){
_14=_14.replace(cx,function(a){
return "\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4);
});
}
if(/^[\],:{}\s]*$/.test(_14.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){
j=eval("("+_14+")");
return typeof _15==="function"?_16({"":j},""):j;
}
throw new SyntaxError("JSON.parse");
};
}
}());
}

dojo.provide("com.ibm.social.gadget.nls.i18n")._built=true;
dojo.provide("com.ibm.social.gadget.nls.i18n.en_gb");
com.ibm.social.gadget.nls.i18n.en_gb={"This is a link to the profile of ${0}":"This is a link to the profile of ${0}","Photo of ${0}":"Photo of ${0}"};
dojo.registerModulePath("com.ibm.social.gadget", "../com.ibm.social.gadget");

;if(!dojo._hasResource["com.ibm.social.gadget.people.util.localizer"]){
dojo._hasResource["com.ibm.social.gadget.people.util.localizer"]=true;
dojo.provide("com.ibm.social.gadget.people.util.localizer");
dojo.require("dojo.i18n");
dojo.require("dojo.string");
dojo.requireLocalization("com.ibm.social.gadget","i18n");
(function(){
var _1=function(_2,_3){
var _4=dojo.i18n.getLocalization("com.ibm.social.gadget","i18n");
_1=function(_5,_6){
var _7=_4[_5];
return (_6)?dojo.string.substitute(_7,_6):_7;
};
return _1(_2,_3);
};
dojo.declare("",null,{constructor:function(){
dojo.i18n.getLocalization("com.ibm.social.gadget","i18n");
}});
dojo.declare("com.ibm.social.gadget.people.util.localizer",null,{getLocalizedString:function(_8,_9){
return _1(_8,_9);
}});
})();
}


;dojo.mixin(dojo.provide("lconn.core.config.services"),{"activities":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/activities","url":"http://www-304.ibm.com/connections/activities"},"blogs":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/blogs","url":"http://www-304.ibm.com/connections/blogs"},"bookmarklet":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/bookmarklet","url":"http://www-304.ibm.com/connections/bookmarklet"},"cognos":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/cognos","url":"http://www-304.ibm.com/connections/cognos"},"communities":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/communities","url":"http://www-304.ibm.com/connections/communities"},"deploymentConfig":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections","url":"http://www-304.ibm.com/connections"},"dogear":{"secureUrl":"https://www-304.ibm.com/connections/dogear","url":"http://www-304.ibm.com/connections/dogear"},"files":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/files","url":"http://www-304.ibm.com/connections/files"},"forums":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/forums","url":"http://www-304.ibm.com/connections/forums"},"help":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/help","url":"http://www-304.ibm.com/connections/help"},"homepage":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/homepage","url":"http://www-304.ibm.com/connections/homepage"},"mediaGallery":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/news/widgets/lw","url":"http://www-304.ibm.com/connections/news/widgets/lw"},"metrics":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/metrics","url":"http://www-304.ibm.com/connections/metrics"},"microblogging":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/opensocial","url":"http://www-304.ibm.com/connections/opensocial"},"mobile":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/mobile","url":"http://www-304.ibm.com/connections/mobile"},"moderation":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/moderation","url":"http://www-304.ibm.com/connections/moderation"},"news":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/news","url":"http://www-304.ibm.com/connections/news"},"oauth":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/oauth","url":"http://www-304.ibm.com/connections/oauth"},"oauthprovider":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/oauth2","url":"http://www-304.ibm.com/connections/oauth2"},"opensocial":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/opensocial","url":"http://www-304.ibm.com/connections/opensocial"},"personTag":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/profiles/ibm_semanticTagServlet","url":"http://www-304.ibm.com/connections/profiles/ibm_semanticTagServlet"},"profiles":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/profiles","url":"http://www-304.ibm.com/connections/profiles"},"sand":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com","url":"http://www-304.ibm.com"},"search":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/search","url":"http://www-304.ibm.com/connections/search"},"webresources":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/resources","url":"http://www-304.ibm.com/connections/resources"},"wikis":{"secureEnabled":true,"secureUrl":"https://www-304.ibm.com/connections/wikis","url":"http://www-304.ibm.com/connections/wikis"}});


;if(!dojo._hasResource["com.ibm.social.gadget.people._vcard_utils"]){
dojo._hasResource["com.ibm.social.gadget.people._vcard_utils"]=true;
dojo.provide("com.ibm.social.gadget.people._vcard_utils");
dojo.require("com.ibm.social.gadget.people.util.localizer");
dojo.require("lconn.core.url");
dojo.require("lconn.core.config.services");
com.ibm.social.gadget.people._vcard_utils=(function(){
var _1=dojo.declare("",[com.ibm.social.gadget.people.util.localizer],{finalize_plain_vcards:function(_2){
if(typeof lconn.core.config.services.profiles==="undefined"){
this.killLinks_(_2);
}else{
}
return _2;
},finalize_biz_vcards:function(_3){
if(typeof lconn.core.config.services.profiles==="undefined"){
this.killLinks_(_3);
}else{
dojo.query("a.fn",_3).forEach(function(_4){
_4.removeAttribute("title");
});
SemTagSvc.parseDom(null,_3);
}
return _3;
},killLinks_:function(_5){
dojo.query("a.fn",_5).forEach(function(_6){
_6.removeAttribute("href");
_6.removeAttribute("target");
_6.removeAttribute("title");
dojo.style(_6,{"textDecoration":"none","cursor":"default"});
});
},generateVcard:function(_7,_8,_9,_a){
_a=_a||{"inline":false};
var _b=lconn.core.url.getServiceUrl(lconn.core.config.services.profiles);
var _c=this.getLocalizedString("Photo of ${0}",[_8]);
var _d=this.getLocalizedString("This is a link to the profile of ${0}",[_8]);
var _e=_b+"/html/profileView.do?userid="+_7;
var _f=dojo.create("span",{className:"vcard"});
_f=dojo.place(_f,_9.refNode,_9.relPos);
var _10=dojo.create("a",{href:_e,title:_d,className:"fn url",target:this.linkTarget,innerHTML:_8},_f);
dojo.create("span",{className:"photo",src:_b+"/photo.do?userid="+_7,alt:_c,style:{display:"none"}},_10);
dojo.create("span",{className:"x-lconn-userid",style:{display:"none"},innerHTML:_7},_f);
if(_a.inline&&typeof window.SemTagSvc!=="undefined"){
return this.finalize_biz_vcards(_f);
}else{
return this.finalize_plain_vcards(_f);
}
}});
return new _1();
})();
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.services.people_container"]){
dojo._hasResource["com.ibm.lconn.gadget.services.people_container"]=true;
dojo.provide("com.ibm.lconn.gadget.services.people_container");
dojo.require("com.ibm.social.gadget.people._vcard_utils");
dojo.require("com.ibm.social.gadget.people.util.localizer");
dojo.require("lconn.core.url");
dojo.require("lconn.core.config.services");
com.ibm.lconn.gadget.services.people_container=(function(){
var _1=dojo.declare("",[com.ibm.social.gadget.people.util.localizer],{generateVcard:function(_2,_3,_4){
var _5=lconn.core.url.getServiceUrl(lconn.core.config.services.profiles);
var _6=this.getLocalizedString("Photo of ${0}",[_3]);
var _7=this.getLocalizedString("This is a link to the profile of ${0}",[_3]);
var _8=_5+"/html/profileView.do?userid="+_2;
var _9=dojo.create("span",{className:"vcard"});
_9=dojo.place(_9,_4.refNode,_4.relPos);
var _a=dojo.create("a",{href:_8,title:_7,className:"fn url",target:this.linkTarget,innerHTML:_3},_9);
dojo.create("span",{className:"photo",src:_5+"/photo.do?userid="+_2,alt:_6,style:{display:"none"}},_a);
dojo.create("span",{className:"x-lconn-userid",style:{display:"none"},innerHTML:_2},_9);
return _9;
}});
return new _1();
})();
}

dojo.registerModulePath("com.ibm.social.sharebox", "../com.ibm.social.sharebox");

;if(!dojo._hasResource["com.ibm.social.sharebox._dialog_utils"]){
dojo._hasResource["com.ibm.social.sharebox._dialog_utils"]=true;
dojo.provide("com.ibm.social.sharebox._dialog_utils");
if(!com.ibm.social.sharebox._dialog_utils.getInstance){
dojo.mixin(com.ibm.social.sharebox._dialog_utils,(function(){
var _1;
function _2(){
return {close:function(){
},displayMessage:function(_3,_4){
},displayMessageHtml:function(_5,_6){
},shareAddActivityEntry:function(_7){
},setDirty:function(_8,_9){
},setSubmitState:function(_a){
},onClose:function(){
}};
};
return {getInstance:function(){
if(!_1){
_1=_2();
}
return _1;
}};
})());
}
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.resources.iRuntimeModule"]){
dojo._hasResource["com.ibm.lconn.gadget.resources.iRuntimeModule"]=true;
dojo.provide("com.ibm.lconn.gadget.resources.iRuntimeModule");
dojo.require("lconn.core.util.jsonCompat");
dojo.require("com.ibm.lconn.gadget.services.people_container");
dojo.require("com.ibm.social.sharebox._dialog_utils");
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.container.Views"]){
dojo._hasResource["com.ibm.lconn.gadget.container.Views"]=true;
dojo.provide("com.ibm.lconn.gadget.container.Views");
dojo.declare("com.ibm.lconn.gadget.container.Views",null,{registerCreateElementGadgetHandler:function(_1,_2,_3){
},registerCreateElementForEEHandler:function(_4,_5,_6){
},registerCreateElementForUrlHandler:function(_7,_8,_9){
}});
dojo.mixin(com.ibm.lconn.gadget.container.Views,{__instance__:function(){
}});
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.util.domStore"]){
dojo._hasResource["com.ibm.lconn.gadget.util.domStore"]=true;
dojo.provide("com.ibm.lconn.gadget.util.domStore");
com.ibm.lconn.gadget.util.domStore=(function(){
var _1=[0],_2="data-iContainer-data-"+ +new Date();
return function(_3){
var _4=dojo.attr(_3,_2),_5=_1.length;
if(!_4){
_4=_5;
dojo.attr(_3,_2,_5);
_1[_4]={};
}
return {get:function(_6){
return _1[_4][_6];
},set:function(_7,_8){
_1[_4][_7]=_8;
return _8;
}};
};
})();
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.services.ViewHandler"]){
dojo._hasResource["com.ibm.lconn.gadget.services.ViewHandler"]=true;
dojo.provide("com.ibm.lconn.gadget.services.ViewHandler");
dojo.require("com.ibm.lconn.gadget.util.domStore");
(function(_1,_2){
var _3="_____NULL_____";
var _4="data-iContainer-destroy-handler";
function _5(_6){
if(!_6||_6===""){
return _3;
}else{
return _6;
}
};
function _7(_8){
return _8.el_;
};
_1.declare("com.ibm.lconn.gadget.services.ViewHandler",null,{_registry:null,_handledMethod:null,constructor:function(_9){
this._registry={};
this._handledMethod=_9;
},registerHandler:function(_a,_b,_c){
_a=_5(_a);
var _d={"createHandler":_b,"destroyHandler":_c};
this._registry[_a]=_d;
},invokeCreate:function(_e,_f,_10){
_f=_5(_f);
var _11=this._registry,_12=_11[_f]||_11[_3];
_13=null;
if(_12){
var _13=_12.createHandler.apply(_e,_10);
_2(_13).set(_4,_12.destroyHandler);
return _13;
}else{
throw "Unknown view target for "+this._handledMethod+": "+_f;
}
}});
_1.mixin(com.ibm.lconn.gadget.services.ViewHandler,{invokeDestroy:function(_14,_15,_16){
var _17=_7(_15),_18=_2(_17).get(_4);
if(_18){
_18.apply(_14,_16);
}else{
throw "Could not find handler method";
}
}});
})(dojo,com.ibm.lconn.gadget.util.domStore);
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.services.ViewContainer"]){
dojo._hasResource["com.ibm.lconn.gadget.services.ViewContainer"]=true;
dojo.provide("com.ibm.lconn.gadget.services.ViewContainer");
dojo.require("com.ibm.lconn.gadget.container.Views");
dojo.require("com.ibm.lconn.gadget.services.ViewHandler");
(function(_1,_2,_3){
var _4=_1.declare("com.ibm.lconn.gadget.services.ViewContainer",[_2],{_createForGadgetRegistry:null,_createForEERegistry:null,_createForUrlRegistry:null,_container:null,constructor:function(){
this._createForGadgetRegistry=new _3("createElementForGadget");
this._createForEERegistry=new _3("createElementForEmbeddedExperience");
this._createForUrlRegistry=new _3("createElementForUrl");
},registerCreateElementGadgetHandler:function(_5,_6,_7){
return this._createForGadgetRegistry.registerHandler(_5,_6,_7);
},registerCreateElementForEEHandler:function(_8,_9,_a){
return this._createForEERegistry.registerHandler(_8,_9,_a);
},registerCreateElementForUrlHandler:function(_b,_c,_d){
return this._createForUrlRegistry.registerHandler(_b,_c,_d);
},bindContainer:function(_e){
this._container=_e;
},createElementForGadget:function(_f,rel,_10,_11,_12,_13){
return this._createForGadgetRegistry.invokeCreate(this._container,_11,arguments);
},createElementForEmbeddedExperience:function(rel,_14,_15,_16,_17){
return this._createForEERegistry.invokeCreate(this._container,_15,arguments);
},createElementForUrl:function(rel,_18,_19,_1a){
return this._createForUrlRegistry.invokeCreate(this._container,_18,arguments);
},destroyElement:function(_1b){
return _3.invokeDestroy(this._container,_1b,arguments);
}});
var _1c=new _4();
_2.__instance__=function(){
return _1c;
};
})(dojo,com.ibm.lconn.gadget.container.Views,com.ibm.lconn.gadget.services.ViewHandler);
}

dojo.provide("com.ibm.lconn.gadget.nls.gadgetDialogStrings")._built=true;
dojo.provide("com.ibm.lconn.gadget.nls.gadgetDialogStrings.en_gb");
com.ibm.lconn.gadget.nls.gadgetDialogStrings.en_gb={"cancel":{"label":"Cancel","a11y":"Cancel","tooltip":"Cancel"}};

;dojo.cache("com.ibm.lconn.gadget", "services/dialog/templates/GadgetDialog.html", "<div id=\"${id}_dialog\" role=\"dialog\" aria-labelledby=\"${gadgetNodeId}_title\"> <div class=\"lotusDialogBorder\"> <div class=\"lotusDialog\"> <div class=\"lotusDialogHeader\"> <h1 dojoAttachPoint=\"titleNode\" id=\"${gadgetNodeId}_title\" class=\"lotusHeading\">${gadgettitle}</h1> <a class=\"lotusDialogClose\" href=\"javascript:;\" dojoAttachEvent=\"onclick:closeDialog\" title=\"${nlsCommon.rs_close}\"> <img alt=\"${nlsCommon.rs_close}\" src=\"${blankGif}\" /> <span class=\"lotusAltText\">${nlsCommon.rs_close}</span> </a> </div> <div class=\"lotusDialogContent\" id=\"${gadgetNodeId}\" dojoAttachPoint=\"gadgetNode\" style=\"padding-right:0px;padding-bottom:0px;overflow:auto;width:${gadgetwidth};height:${gadgetheight};\">gadget goes here</div> </div> </div></div>");

;if(!dojo._hasResource["com.ibm.lconn.gadget.services.dialog.GadgetDialog"]){
dojo._hasResource["com.ibm.lconn.gadget.services.dialog.GadgetDialog"]=true;
dojo.provide("com.ibm.lconn.gadget.services.dialog.GadgetDialog");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.require("dijit.Dialog");
dojo.require("dojo.i18n");
dojo.require("com.ibm.lconn.gadget.container.Topics");
dojo.requireLocalization("com.ibm.lconn.gadget","gadgetDialogStrings");
dojo.requireLocalization("lconn.core","strings");
dojo.declare("com.ibm.lconn.gadget.services.dialog.GadgetDialog",[dijit._Widget,dijit._Templated],{blankGif:"",_extents:{"height":300,"width":700},nlsCommon:dojo.i18n.getLocalization("lconn.core","strings"),templatePath:dojo.moduleUrl("com.ibm.lconn.gadget","services/dialog/templates/GadgetDialog.html"),popup:null,_setExtentStyle:function(_1,_2){
var _3="gadget"+_1;
if((typeof (_2)!="undefined")&&(_2!=null)){
var _4=_2["modulePrefs"][_1];
if(_4!=0){
this._extents[_1]=_4;
}
}
this[_3]=this._extents[_1]+"px";
},constructor:function(_5){
var _6=function(_7,_8){
var _9="gadgettitle";
if(typeof _8!="undefined"){
var _a=_8["modulePrefs"]["title"];
this[_9]=_a!==""?_a:_7;
}else{
this[_9]=_7;
}
};
_6.apply(this,["Gadget Dialog",_5.gadget_metadata]);
this._setExtentStyle("width",_5.gadget_metadata);
this._setExtentStyle("height",_5.gadget_metadata);
this.inherited(arguments);
},postMixInProperties:function(){
this.blankGif=dojo.config.blankGif;
this.inherited(arguments);
this.nls=dojo.i18n.getLocalization("com.ibm.lconn.gadget","gadgetDialogStrings");
},postCreate:function(){
this._subscribeAll();
},_subscribeAll:function(){
var _b=com.ibm.lconn.gadget.container.Topics.getSiteTopic(this.gadgetNodeId,com.ibm.lconn.gadget.container.Topics.GadgetWindow.SITE_TOPIC_SET_TITLE);
this.subscribe(_b,"onGadgetTitleUpdated");
_b=com.ibm.lconn.gadget.container.Topics.getSiteTopic(this.gadgetNodeId,com.ibm.lconn.gadget.container.Topics.GadgetWindow.AFTER_ADJUST_WIDTH);
this.subscribe(_b,"onWidthUpdated");
_b=com.ibm.lconn.gadget.container.Topics.getSiteTopic(this.gadgetNodeId,com.ibm.lconn.gadget.container.Topics.GadgetWindow.AFTER_ADJUST_HEIGHT);
this.subscribe(_b,"onHeightUpdated");
_b=com.ibm.lconn.gadget.container.Topics.getLifecycleEventTopic(osapi.container.CallbackType.ON_RENDER);
this.subscribe(_b,"onGadgetLoaded");
},show:function(){
if(this.popup==null){
this.popup=new dijit.Dialog();
}
this.popup.attr({content:this.domNode,title:""});
this.popup.show();
},_updateStyles:function(){
this.popup.layout();
dojo.style(this.gadgetNode,"overflow",null);
var _c=dojo.style(this.popup.containerNode,"height");
var _d=dojo.style(this.popup.containerNode,"width");
if(_c<this._extents["height"]){
dojo.style(this.gadgetNode,"height","auto");
dojo.style(this.popup.containerNode,"height","auto");
if(!dojo.isIE){
if(dojo.isSafari){
dojo.style(this.gadgetNode,"height",this._extents.height+"px");
}else{
dojo.style(this.gadgetNode,"height","auto");
}
dojo.style(this.popup.containerNode,"overflow","visible");
}else{
dojo.style(this.popup.containerNode,"height",(this._extents.height+67)+"px");
dojo.style(this.popup.containerNode,"overflow","visible");
}
}
if(_d<this._extents["width"]){
dojo.style(this.popup.containerNode,"width","auto");
if(!dojo.isIE){
dojo.style(this.gadgetNode,"width","auto");
dojo.style(this.popup.containerNode,"overflow","visible");
}else{
dojo.style(this.popup.containerNode,"width",(this._extents.width+25)+"px");
dojo.style(this.popup.containerNode,"overflow","visible");
}
}
},hide:function(){
this.popup.hide();
},destroy:function(){
this.inherited(arguments);
},onGadgetTitleUpdated:function(_e){
this.titleNode.innerHTML=_e;
},onWidthUpdated:function(_f){
this._extents.width=dojo.style(dojo.query("iframe",this.gadgetNode)[0],"width");
this._updateStyles();
},onHeightUpdated:function(_10){
this._extents.height=dojo.style(dojo.query("iframe",this.gadgetNode)[0],"height");
this._updateStyles();
},onGadgetLoaded:function(_11,_12){
if(dojo.isIE&&_12==this.gadgetNodeId){
if(_12===this.gadgetNodeId){
var _13=dojo.query("iframe",dojo.byId(_12))[0];
if(dojo.attr(_13,"scrolling")=="no"){
dojo.attr(_13,"scrolling","auto");
var _14=_13.parentNode;
var _15=_14.innerHTML;
_14.removeChild(_13);
dojo.place(_15,_14);
}
}
}
dojo.style(dojo.query("iframe",this.gadgetNode)[0],"maxHeight","300px");
dojo.style(this.gadgetNode,{"height":"auto","width":"auto"});
this._updateStyles();
},closeDialog:function(){
this.hide();
}});
}

dojo.registerModulePath("dojox", "../dojox");

;if(!dojo._hasResource["dojox.uuid.generateRandomUuid"]){
dojo._hasResource["dojox.uuid.generateRandomUuid"]=true;
dojo.provide("dojox.uuid.generateRandomUuid");
dojox.uuid.generateRandomUuid=function(){
var _1=16;
function _2(){
var _3=Math.floor((Math.random()%1)*Math.pow(2,32));
var _4=_3.toString(_1);
while(_4.length<8){
_4="0"+_4;
}
return _4;
};
var _5="-";
var _6="4";
var _7="8";
var a=_2();
var b=_2();
b=b.substring(0,4)+_5+_6+b.substring(5,8);
var c=_2();
c=_7+c.substring(1,4)+_5+c.substring(4,8);
var d=_2();
var _8=a+_5+b+_5+c+d;
_8=_8.toLowerCase();
return _8;
};
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.util.specHelper"]){
dojo._hasResource["com.ibm.lconn.gadget.util.specHelper"]=true;
dojo.provide("com.ibm.lconn.gadget.util.specHelper");
dojo.require("lconn.core.url");
dojo.require("dojox.uuid.generateRandomUuid");
com.ibm.lconn.gadget.util.specHelper=(function(_1,_2){
var _3={},_4=dojo.global.location.toString(),_5=function(){
},_6=dojo.global;
var _7=function(_8){
if(_8){
if(dojo.isString(_8)){
return function(){
(_6[_8]||_5).apply(null,arguments);
};
}else{
return _8;
}
}else{
return _5;
}
};
var _9=_3.nextDomId=function(){
return "gadget_"+_2();
};
var _a=function(_b){
var _c=_b.placement;
if(_c&&!dojo.isString(_c)){
if(!_c.id){
_c.id=_9();
}
}
};
var _d=function(_e){
return (_e&&_e.instanceData&&_e.instanceData.renderType&&_e.instanceData.renderType==="inline");
};
var _f=_3.isGadget=function(_10){
return (_10&&_10.componentType&&_10.componentType==="gadget");
};
var _11=_3.isEEGadget=function(_12){
return (_f(_12)&&_12.instanceData&&_12.instanceData.eeDataModel);
};
var _13=_3.isInlineEE=function(_14){
return (_11(_14)&&_d(_14));
};
var _15=_3.isInlineGadget=function(_16){
return (_f(_16)&&_d(_16));
};
var _17=_3.normalizeWidgetSpec=function(_18){
var _19=null,_1a=null,_1b=null,_1c=null;
_18.definitionUrl=_1.parse(_4,_18.definitionUrl).toString();
_19=_18.instanceData||(_18.instanceData={});
if(_13(_18)){
throw "Inline EE gadgets are not permitted. Attempted to load: "+_18.definitionUrl;
}
if(_f(_18)){
_19=_18.instanceData||(_18.instanceData={});
if(dojo.config.isDebug){
_1a=_19.renderParams||(_19.renderParams={});
_1a[com.ibm.lconn.gadget.container.Container.RenderParam.TEST_MODE]=true;
}
}
_a(_18);
_19.errback=_7(_18.errback);
return _18;
};
var _1d=_3.cloneSpec=function(_1e){
if(!_1e){
return _1e;
}
var _1f={};
for(var key in _1e){
if(key==="placement"){
var val=_1e[key];
if(!dojo.isString(val)){
val=dojo.byId(val).id;
}
_1f[key]=val;
}else{
_1f[key]=_1e[key];
}
}
return _1f;
};
return _3;
})(lconn.core.url,dojox.uuid.generateRandomUuid);
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.util.trace"]){
dojo._hasResource["com.ibm.lconn.gadget.util.trace"]=true;
dojo.provide("com.ibm.lconn.gadget.util.trace");
com.ibm.lconn.gadget.util.trace=(function(){
var _1={},_2=dojo.global,_3=null,_4=null;
if(!_2.console){
_4={log:function(){
}};
}else{
_4=console;
}
if(dojo.isFunction(_4.log)&&_4.log.apply){
_3=function(_5){
return dojo.hitch(_4,_4[_5]);
};
}else{
_3=function(_6){
return function(){
_4[_6](Array.prototype.slice.call(arguments));
};
};
}
dojo.forEach(["log","debug","warn","error"],function(_7){
if(_2.console&&(_7!=="debug"||dojo.config.isDebug===true)){
_1[_7]=(_4[_7])?_3(_7):_3("log");
}else{
_1[_7]=function(){
};
}
});
_1.entering=function(_8,_9,_a){
if(!_a){
_1.debug("ENTER: "+_8+"."+_9);
}else{
_1.debug("ENTER: "+_8+"."+_9);
}
};
_1.exiting=function(_b,_c,_d){
if(!_d){
_1.debug("EXITING: "+_b+"."+_c);
}else{
_1.debug("EXITING: "+_b+"."+_c);
}
};
_1.throwing=function(_e,_f,_10){
if(!_10){
_1.debug("THOWING: "+_e+"."+_f);
}else{
_1.debug("THOWING: "+_e+"."+_f+" -- ERROR: "+dojo.toJson(_10));
}
};
return _1;
})();
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.services.viewModifications"]){
dojo._hasResource["com.ibm.lconn.gadget.services.viewModifications"]=true;
dojo.provide("com.ibm.lconn.gadget.services.viewModifications");
dojo.require("com.ibm.lconn.gadget.container.Views");
dojo.require("com.ibm.lconn.gadget.services.ViewContainer");
dojo.require("com.ibm.lconn.gadget.services.dialog.GadgetDialog");
dojo.require("com.ibm.lconn.gadget.container.Topics");
dojo.require("com.ibm.lconn.gadget.util.specHelper");
dojo.require("com.ibm.lconn.gadget.util.trace");
dojo.require("lconn.core.url");
com.ibm.lconn.gadget.services.viewModifications=(function(_1,_2){
var _3={};
var _4=com.ibm.lconn.gadget.container.Views.__instance__();
var _5=com.ibm.lconn.gadget.util.specHelper.nextDomId;
var _6=function(_7,_8){
var _9=osapi.container.GadgetSite.prototype[_7];
osapi.container.GadgetSite.prototype[_7]=function(){
_9.apply(this,arguments);
var _a=com.ibm.lconn.gadget.container.Topics.getSiteTopic(this.getId(),com.ibm.lconn.gadget.container.Topics.GadgetWindow[_8]);
dojo.publish(_a,arguments);
};
};
_3.registerService=function(_b){
var _c=_b.views;
_4.bindContainer(_b);
_c.createElementForGadget=dojo.hitch(_4,"createElementForGadget");
_c.createElementForEmbeddedExperience=dojo.hitch(_4,"createElementForEmbeddedExperience");
_c.createElementForUrl=dojo.hitch(_4,"createElementForUrl");
_c.destroyElement=dojo.hitch(_4,"destroyElement");
_b.rpcRegister("requestNavigateTo",function(_d,_e,_f,_10){
var _11=_d.gs;
var _12=_11.currentGadgetHolder_.gadgetInfo_.url;
var _13=_11.currentGadgetHolder_.renderParams_||{};
_13.view=_e;
var _14={};
if(_f){
if(dojo.isObject(_f)){
dojo.mixin(_14,_f);
}else{
if(dojo.isString(_f)){
dojo.mixin(_14,_1.splitQuery(_f));
}else{
_2.log("opt_params passed to gadgets.views.requestNavigateTo could not be processed.",_f);
}
}
}
_b.navigateGadget(_11,_12,_14,_13,null);
});
_6("setHeight","AFTER_ADJUST_HEIGHT");
_6("setWidth","AFTER_ADJUST_WIDTH");
};
_4.registerCreateElementGadgetHandler(null,_15,_16);
_4.registerCreateElementForEEHandler(null,_17,_16);
_4.registerCreateElementForUrlHandler(null,_18,_16);
function _15(_19,rel,_1a,_1b,_1c,_1d){
var _1e=_1a||"default";
var _1f=_1b||"default";
switch(_1f.toLowerCase()){
case "modaldialog":
return _20(this,true,_1e,true,_19);
break;
default:
return _20(this,true,_1e,true,_19);
}
};
function _17(rel,_21,_22,_23,_24){
return _20(this,true,"embedded",true);
};
function _18(rel,_25,_26,_27){
return _17.apply(this,arguments);
};
function _16(_28){
_29(this,_28);
};
function _20(_2a,_2b,_2c,_2d,_2e,_2f){
var _30=_5();
var _31={"id":"gadget_dialog_"+_30,"gadgetNodeId":_30,"gadget_metadata":_2e};
var _32=new com.ibm.lconn.gadget.services.dialog.GadgetDialog(_31);
_32.closeDialog=function(){
var _33=dojo.attr(dojo.query("#"+_30+">iframe")[0],"id");
_16.call(_2a,_2a.getGadgetSiteByIframeId_(_33));
};
_32.show();
return _32.gadgetNode;
};
function _29(_34,_35){
var _36=_35.el_.id;
var _37="gadget_dialog_"+_36;
_34.closeGadget(_35);
var _38=dijit.byId(_37);
if(_38){
_38.hide();
_38.destroyRecursive();
}
};
return _3;
})(lconn.core.url,com.ibm.lconn.gadget.util.trace);
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.services.lifecycleModifications"]){
dojo._hasResource["com.ibm.lconn.gadget.services.lifecycleModifications"]=true;
dojo.provide("com.ibm.lconn.gadget.services.lifecycleModifications");
com.ibm.lconn.gadget.services.lifecycleModifications=(function(){
var _1={};
_1.registerService=function(_2){
var _3,_4,_5;
_3=com.ibm.lconn.gadget.container.Topics.getMasterLifecycleTopic();
_4={};
_5=function(_6,_7){
var _8=com.ibm.lconn.gadget.container.Topics.getLifecycleEventTopic(_6);
return function(){
dojo.publish(_8,arguments);
dojo.publish(_7,arguments);
};
};
for(var _9 in osapi.container.CallbackType){
_4[osapi.container.CallbackType[_9]]=_5(osapi.container.CallbackType[_9],_3);
}
_2.addGadgetLifecycleCallback("lconn_gadget_lifecycle_publisher",_4);
};
return _1;
})();
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.services.set_title"]){
dojo._hasResource["com.ibm.lconn.gadget.services.set_title"]=true;
dojo.provide("com.ibm.lconn.gadget.services.set_title");
dojo.require("com.ibm.lconn.gadget.container.Topics");
dojo.require("com.ibm.lconn.gadget.util.trace");
com.ibm.lconn.gadget.services.set_title=(function(_1){
var _2={};
var _3=function(_4,_5){
var _6,_7;
if(_4.gs&&_4.gs.id_){
var _8=com.ibm.lconn.gadget.container.Topics.getSiteTopic(_4.gs.id_,com.ibm.lconn.gadget.container.Topics.GadgetWindow.SITE_TOPIC_SET_TITLE);
dojo.publish(_8,[_5]);
_7=document.getElementById(_4.gs.id_);
if(_7.title){
_7.title=_5;
}
}else{
_1.log("looks like you're trying to set the title on an inline gadget, you need to use a better rpc call");
_1.log("try gadgets.rpc.call('', 'set_title', null, {'mid':__MODULE_ID__})");
}
};
_2.registerService=function(_9){
_9.rpcRegister("set_title",_3);
};
return _2;
})(com.ibm.lconn.gadget.util.trace);
}

dojo.provide("com.ibm.lconn.gadget.nls.iframeDialogStrings")._built=true;
dojo.provide("com.ibm.lconn.gadget.nls.iframeDialogStrings.en_gb");
com.ibm.lconn.gadget.nls.iframeDialogStrings.en_gb={"dialogTitle":"OAuth Authorization"};

;if(!dojo._hasResource["com.ibm.lconn.gadget.services.dialog.IframeDialog"]){
dojo._hasResource["com.ibm.lconn.gadget.services.dialog.IframeDialog"]=true;
dojo.provide("com.ibm.lconn.gadget.services.dialog.IframeDialog");
dojo.require("dijit.Dialog");
dojo.requireLocalization("com.ibm.lconn.gadget","iframeDialogStrings");
dojo.declare("com.ibm.lconn.gadget.services.dialog.IframeDialog",null,{nls:dojo.i18n.getLocalization("com.ibm.lconn.gadget","iframeDialogStrings"),_w:500,_h:500,_url:"",_ifElement:null,_dialog:null,_wRegex:/width=(\d+)/,_hRegex:/height=(\d+)/,isAuto:null,constructor:function(_1,_2,_3){
this._url=_1;
this.isAuto=_3;
if(_2){
var _4,_5;
if(_4=_2.match(this._wRegex)){
this._w=_4[1];
}
if(_5=_2.match(this._hRegex)){
this._h=_5[1];
}
}
},init:function(_6,_7){
if(!this._dialog){
var _8=this._dialog=new dijit.Dialog({title:this.nls.dialogTitle,"class":"lcSharebox"});
var _9=document.createElement("div");
var _a="<iframe";
if(_6){
_a+=" id='"+_6+"'";
_a+=" name='"+_6+"'";
}
_a+="></iframe>";
_9.innerHTML=_a;
var _b=this._ifElement=_9.firstChild;
if(_7){
dojo.attr(_8.containerNode,"id",_7);
}
dojo.attr(_b,"src",this._url);
if(this._w){
_b.style.width=this._w+"px";
}
if(this._h){
_b.style.height=this._h+"px";
}
_8.attr("content",_b);
dojo.connect(_8,"onHide",this,"onClose");
}
},show:function(){
this._dialog.show();
},getWindow:function(){
return this._ifElement.contentWindow;
},hide:function(){
this._dialog.hide();
},destroy:function(){
this._dialog.destroyRecursive(false);
},onClose:function(){
}});
}

dojo.provide("com.ibm.social.ee.nls.socialEEStrings")._built=true;
dojo.provide("com.ibm.social.ee.nls.socialEEStrings.en_gb");
com.ibm.social.ee.nls.socialEEStrings.en_gb={"size":{"B":"${0} B","GB":"${0} GB","MB":"${0} MB","KB":"${0} KB"},"REPLIES_SUBMITTED":{"CONFIRM":"Your reply has been submitted for review and will be available when approved."},"DOWNLOAD_INFO":{"COUNT_SHORT":"${0}-${1}","PAGE":"Page","COUNT":"${0}-${1} of ${2}","ITEMS_PER_PAGE":" items per page.","ELLIPSIS":"...","SHOW_PEOPLE":"See who has downloaded...","NEXT":"Next","NEXT_TOOLTIP":"Next page","PREVIOUS":"Previous","VERSION":{"MONTH":"Version ${version} on ${date}","TODAY":"Version ${version} at ${time}","YESTERDAY":"Version ${version} yesterday","DAY":"Version ${version} on ${date}","YEAR":"Version ${version} on ${date}"},"PREVIOUS_TOOLTIP":"Previous page","FILE":{"ERROR":"Unable to load download information","V_LATEST":"You have downloaded the latest version of this file","V_OLDER":"You last downloaded version ${0} of this file","LOADING":"Loading...","EMPTY":"Anonymous users only"},"SHOW":"Show"},"EE_DIALOG":{"CONFIRM_CLOSE_MESSAGE":"Are you sure you want to abandon your changes? Press OK to continue or Cancel to return","TITLE_NI":"${author} invited you to join their network.","ERROR_MSG_GENERIC":"Something went wrong.  Please try again.","ERROR_MSG_CONTENT_NOT_AVAILABLE":"The content for this item is not available.","AUTHOR_TITLE":"View profile for ${author}","ERROR":"Error","ERROR_MSG_NOT_AVAILABLE":"This item has been deleted or is no longer available.","TITLE_SU":"${author} posted a message.","ERROR_MSG_NO_ACCESS":"You no longer have access to this item.","OPEN_LINK":"Open ${title}","CONFIRM_CLOSE_TITLE":"Confirm","ERROR_ALT_TEXT":"Error:","CANCEL":"Cancel","OK":"Ok","LOADING":"Loading..."},"COMMENTS_SUBMITTED":{"OK":"OK","CONFIRM":"Your comment has been submitted for review and will be available when approved.","DIALOG_TITLE":"Submission Confirmation"},"FILE_SHARE_INFO":{"ADD":"Add","READERS_LABEL":"Readers:\xa0","SHARE_WITH":"Share with:","COMMUNITY":"a Community","A11Y_READER_REMOVED":"Removed ${0} as a reader","READER_IF_PUBLIC":"Everyone (public)","INFO_SUCCESS":"The file was shared successfully.","ADD_TXT":"Add people or communities as readers","PLACEHOLDER":"Person name or email...","PERSON":"a Person","SHOW_MORE":"Show more...","SELECT_USER_ERROR":"You must select at least one person or community to share with","EDITORS_LABEL":"Editors:\xa0","EMPTY_READERS":"None","NOT_LOGGED_IN_ERROR":"The file was not shared because you were not logged in.  Click \'Share\' to share the file.","TRIM_LONG_MESSAGE":"Shorten message?","SELF_REFERENCE_ERROR":"You cannot share with yourself.","TOOLTIP":"Give others access to this file","CANCEL_ERROR":"The file was not shared because the request was cancelled.  Click \'Share\' to try again.","ERROR_SHARING":"The file could not be shared.  Please try again later.","MESSAGE":"Message:","OWNER_REFERENCE_ERROR":"You cannot share with the owner of the file.","VISIBILITY_RESTRICTION_ERROR_SHARE":"A file that is restricted may not be made public.","OWNER_LABEL":"Owner:\xa0","ERROR":"Unable to load share information","TIMEOUT_ERROR":"The file was not shared because the server could not be contacted.  Click \'Share\' to try again.","A11Y_READER_ADDED":"Selected ${0} as a reader","READER_IF_PUBLIC_TOOLTIP":"This file is public and visible to everyone","MESSAGE_TXT":"Add an optional message","MAX_SHARES_ERROR":"The maximum number of shares has been exceeded.","REMOVE_ITEM_ALT":"Remove ${0}","CANCEL":"Cancel","NO_MEMBERS":"None","SHARE_COMMUNITY_WARN":"Sharing with the public community \'${0}\' will make this file public.","WARN_LONG_MESSAGE":"The message is too long.","ACCESS_DENIED_ERROR":"You no longer have permission to share this file.","ERROR_NOT_FOUND":"The file you have requested has been deleted or moved. If someone sent you this link, check that it is correct.","NOT_FOUND_ERROR":"The file has been deleted or is no longer visible to you and cannot be shared.","ERROR_ACCESS_DENIED":"You do not have permission to view this file.  The file is not public and is not shared with you.","SHARE":"Share"},"repost":{"title":"Repost this update to my followers or communities","msg_generic":"Something went wrong.  Please try again.","name":"Repost","msg_success":"The update was successfully reposted to your followers."},"authUser":{"error_403":"You do not have permission to retrieve user information.","error":"An error occurred retrieving the current user.  ${again}.","error_404":"Unable to find authenticated user.","error_again":"Please try again"},"COMMENTS_DELETE":{"DIALOG_TITLE":"Delete Comment","CANCEL":"Cancel","TOOLTIP":"Delete Comment","NAME":"Delete Comment","OK":"OK"},"generic":{"visibility":{"pub":"Public","priv":"Private"},"comments":"Comments","untitled":"(Untitled)","action":{"created":"Created","updated":"Updated"},"timestamp":{"created":{"MONTH":"Created ${MMM} ${d}","TODAY":"Created today at ${time}","YESTERDAY":"Created yesterday at ${time}","DAY":"Created ${EEEE} at ${time}","TOMORROW":"Created ${MMM} ${d}, ${YYYY}","YEAR":"Created ${MMM} ${d}, ${YYYY}"},"updated":{"MONTH":"Updated ${MMM} ${d}","TODAY":"Updated today at ${time}","YESTERDAY":"Updated yesterday at ${time}","DAY":"Updated ${EEEE} at ${time}","TOMORROW":"Updated ${MMM} ${d}, ${YYYY}","YEAR":"Updated ${MMM} ${d}, ${YYYY}"}},"error":"Unable to retrieve data.","tags":"Tags:","tags_more":"and ${0} more","titleTooltip":"Navigate to ${app}","likes":"Likes"},"statusUpdate":{"notifications":{"POST_COMMENT":"${user} wrote:","USER_BOARD_POST":"${user} wrote on your board","STATUS_UPDATE":"${user} posted a message"},"error":"An error occurred.  ${again}.","error_again":"Please try again","error_404":"The status update no longer exists.","createdCompact":{"MONTH":"Created: ${MMM} ${d}","TODAY":"Created: Today at ${time}","YESTERDAY":"Created: Yesterday at ${time}","DAY":"Created: ${EEEE} at ${time}","TOMORROW":"Created: ${MMM} ${d}, ${YYYY}","YEAR":"Created: ${MMM} ${d}, ${YYYY}"}},"VERSIONS":{"REVERT_DESCRIPTION":"Restored from version ${0}","ERROR_REQUEST_UNKNOWN":"An unknown error has occurred.","DELETE_VERSION_SINGLE":"Delete version ${0}","ERROR_REQUEST_CANCELLED":"The request was canceled.","COUNT_SHORT":"${0}-${1}","PAGE":"Page","ITEMS_PER_PAGE":" items per page.","ELLIPSIS":"...","NEXT_TOOLTIP":"Next page","CREATE_VERSION_TOOLTIP":"Create a version of this file","CONTENT":{"DOWNLOAD":"Download","VIEW_TOOLTIP":"View version ${0}","REVERT":{"WIDGET":"Restore this version","A11Y":"This button opens a dialog that allows the user to confirm restoring a file from a previous version. Confirming this action will result in a refresh of the contents on the page.","FULL":"Restore"},"DOWNLOAD_TOOLTIP":"Download this version (${0})","VIEW":"View","DELETE_TOOLTIP":"Delete version ${0}"},"NO_VERSIONS":"There are no versions","ERROR_REQUEST_TIMEOUT":"The server could not be contacted.","PREVIOUS_TOOLTIP":"Previous page","LOADING":"Loading ..","DELETEERROR":"The version was not deleted due to an error.","REVERT_VERSION":"Restore version ${0}","REVERT":{"GENERIC_ERROR":"The version could not be restored because of an unknown error.  Click \'Restore\' again to try your request again.","ERROR_CANCEL":"The version was not restored because the request was canceled.  Click \'Restore\' again to try your request again.","ERROR_QUOTA_VIOLATION":"The version could not be restored because of space restrictions.","ERROR_MAX_CONTENT_SIZE":"The version could not be restored because it is larger than the maximum allowed file size of ${0}","ERROR_NAME_EXISTS":"The version could not be restored because another file has the same name.","ERROR_TIMEOUT":"The version was not restored because the server could not be contacted.  Click \'Restore\' again to try your request again.","ERROR_NOT_FOUND":"The version could not be restored because it has been deleted or is no longer visible to you.","ERROR_ACCESS_DENIED":"The version could not be restored because you are not an editor."},"ERROR":"Unable to load version information.","DELETE":{"GENERIC_ERROR":"The version could not be deleted because of an unknown error.  Click \'Delete\' again to try your request again.","ERROR_CANCEL":"The version was not deleted because the request was canceled.  Click \'Delete\' again to try your request again.","A11Y":"This button opens a dialog that allows the user to confirm the deletion of this version. Confirming this action will result in a refresh of the contents on the page.","ERROR_TIMEOUT":"The version was not deleted because the server could not be contacted.  Click \'Delete\' again to try your request again.","FULL":"Delete","ERROR_NOT_LOGGED_IN":"You must be logged in to delete this version.  Click \'Delete\' to be prompted to log in.","ERROR_NOT_FOUND":"The version could not be deleted because it has been already deleted or is no longer visible to you.","ERROR_ACCESS_DENIED":"The version could not be deleted because you are not an editor."},"DELETE_ALL":"Delete all versions prior to version","INFO":"Version ${0} created ${1} by ","DATE":{"RELATIVE_TIME":{"MONTH":"${date}","TODAY":"Today at ${time}","YESTERDAY":"Yesterday at ${time}","DAY":"${date}","YEAR":"${date_long}","FULL":"${date_long} ${time_long}"},"UPDATED":{"MONTH":"Updated ${date_short}","TODAY":"Updated today at ${time}","YESTERDAY":"Updated yesterday at ${time}","DAY":"Updated ${EEee} at ${time}","YEAR":"Updated ${date_short}","FULL":"${EEEE}, ${date_long} ${time_long}"},"AM":"AM","RELATIVE_TIME_L":{"MONTH":"${date_short} at ${time}","TODAY":"today at ${time}","YESTERDAY":"yesterday at ${time}","DAY":"${EEee} at ${time}","YEAR":"${date_short} at ${time}","FULL":"${EEEE}, ${date_long} ${time_long}"}},"COUNT":"${0}-${1} of ${2}","VERSION_NUMBER":"Version ${0}","NEXT":"Next","CREATE_VERSION":"Create a new version","PREVIOUS":"Previous","DELETED":"Deleted","SHOW":"Show"},"forum":{"attachments":"${count} Attachments","error_403":"You do not have permission to view this forum. The forum is not public and is not shared with you.","error_404":"The forum no longer exists or you do not have sufficient permissions to access it.","QUESTION_NOT_ANSWERED":"This question has not been answered yet.","QUESTION_ANSWERED":"This question has been answered.","attachments_one":"${count} Attachment","error":"An error occurred.  ${again}.","error_again":"Please try again","readMore":"View full topic...","readMore_a11y":"Activating this link will open the ${name} forum topic in a new window.","readMore_tooltip":"Open the ${name} forum topic."},"blog":{"error_403":"You do not have permission to view this blog. The blog is not public and is not shared with you.","error_404":"The blog no longer exists or you do not have sufficient permissions to access it.","error":"An error occurred.  ${again}.","error_again":"Please try again","graduated":"Graduated","vote":{"LOADING":"Loading...","INLINE":{"UNRECOMMENDED":{"TEXT":"\x3ca class=\'lotusLikeAction\' role=\'button\' href=\'javascript:;\' id=\'TOGGLE_${id}\'\x3eVote\x3c/a\x3e","READONLYTEXT":"","TOOLTIP":"Vote for this"},"RECOMMENDED_BYMANY":{"TEXT":"${recommendCount}","READONLYTEXT":"${recommendCount}","TOOLTIP":"${recommendCount} voted for this"},"RECOMMENDED_BYONE":{"TEXT":"${recommendCount}","READONLYTEXT":"${recommendCount}","TOOLTIP":"1 person voted for this"},"RECOMMENDED":{"TEXT":"\x3cspan class=\'lotusLikeDescription\'\x3eVoted\x3c/span\x3e \x3cspan class=\'lotusDivider\' role=\'presentation\'\x3e-\x3c/span\x3e \x3ca class=\'lotusLikeActions\' role=\'button\' aria-label=\'Voted - Undo\' href=\'javascript:;\' id=\'TOGGLE_${id}\'\x3eUndo\x3c/a\x3e","READONLYTEXT":"\x3cspan class=\'lotusLikeDescription\'\x3eVoted\x3c/span\x3e","TOOLTIP":"Remove your vote from this"},"RECOMMENDED_BYNONE":{"TEXT":"${recommendCount}","READONLYTEXT":"${recommendCount}","TOOLTIP":"0 people voted for this"}},"TEMPLATE_STRINGS":{"LIKES":"Voted"}},"readMore":" Read more ...","readMore_a11y":"Activating this link will open the ${name} blog entry in a new window.","readMore_tooltip":"Open the ${name} blog entry."},"MESSAGE":{"SUCCESS":"Confirmation","HIDE_DETAILS":"Hide details","MORE_DETAILS":"More details","ERROR":"Error","ERROR_ALT_TEXT":"Error:","DISMISS":"Hide this message","WARNING":"Warning","INFO":"Information"},"REPLIES":{"SHOW_FULL_REPLY_TOOLTIP":"Navigate to the original reply in the forum topic","PREV_COMMENTS":"Show more replies","ADD_COMMENT":"Reply to this topic","REPLY_TITLE":"Re: ${0}","ERROR_CREATE_CANCEL":"Your reply could not be saved because the request was canceled.  Click \'Save\' to try again.","ERROR_CREATE_NOT_FOUND":"Your reply could not be saved because the topic has been deleted or is no longer visible to you.","ERROR_CREATE_ACCESS_DENIED":"Your reply could not be saved because the topic has been deleted or is no longer visible to you.","REPLY_ACTION":"Reply","THIS_TAB_TITLE":"This Reply","ERROR_NO_CONTENT":"Enter your reply and click \'Save.\'  If you no longer want to leave a reply click \'Cancel.\'","NAVIGATE_TO_REPLY":"Navigate to the parent reply","WARN_LONG_COMMENT":"The reply is too long.  ${shorten}","NAVIGATE_TO_TOPIC":"Navigate to the parent topic","REPLY_TO_REPLY":"In reponse to ${thisReply}","SHOW_FULL_REPLY":"View full reply","SHOWING_RECENT_REPLIES":"Showing ${0} most recent replies","MODERATION_PENDING":"This reply is pending review.","REPLY_TO_TOPIC":"In response to ${thisTopic}","PLACEHOLDER_TXT":"Reply to this topic","ADD_COMMENT_TOOLTIP":"Reply to this forum topic","MODERATION_REMOVED":{"MONTH":"This reply was removed by ${user} on ${MMM} ${d}.","TODAY":"This reply was removed by ${user} today at ${time}.","YESTERDAY":"This reply was removed by ${user} yesterday at ${time}.","DAY":"This reply was removed by ${user} on ${EEEE} at ${time}.","TOMORROW":"This reply was removed by ${user} on ${MMM} ${d}, ${YYYY}.","YEAR":"This reply was removed by ${user} on ${MMM} ${d}, ${YYYY}."},"ERROR":"An error has occurred while retrieving the replies. ${again}","THIS_REPLY":"this reply","ERROR_CREATE_NOT_LOGGED_IN":"You must be logged in to create this reply.  Click \'Save\' to be prompted to log in.","ERROR_UNAUTHORIZED":"Your reply could not be saved because you are not authorized to leave a reply.","EMPTY":"There are no replies.","THIS_TOPIC":"this topic","TAB_TITLE":"Replies (${0})","REPLY_ACTION_TOOLTIP":"Reply to this post","ERROR_CREATE":"Your reply could not be saved.  Try again later.","ERROR_CREATE_TIMEOUT":"Your reply could not be saved because the server could not be contacted.  Click \'Save\' to try again.","MODERATION_REJECTED":{"MONTH":"This reply was rejected by ${user} on ${MMM} ${d}.","TODAY":"This reply was rejected by ${user} today at ${time}.","YESTERDAY":"This reply was rejected by ${user} yesterday at ${time}.","DAY":"This reply was rejected by ${user} on ${EEEE} at ${time}.","TOMORROW":"This reply was rejected by ${user} on ${MMM} ${d}, ${YYYY}.","YEAR":"This reply was rejected by ${user} on ${MMM} ${d}, ${YYYY}."},"TRIM_LONG_COMMENT":"Shorten reply?","COMMENT_DELETED":{"MONTH":"Reply deleted by ${user} on ${MMM} ${d}","TODAY":"Reply deleted by ${user} today at ${time}","YESTERDAY":"Reply deleted by ${user} yesterday at ${time}","DAY":"Reply deleted by ${user} on ${EEEE} at ${time}","TOMORROW":"Reply deleted by ${user} on ${MMM} ${d}, ${YYYY}","YEAR":"Reply deleted by ${user} on ${MMM} ${d}, ${YYYY}"},"MODERATION_QUARANTINED":"The post has been quarantined by the moderator.","REASON_FOR_DELETION":"Reason for deletion: ${reason}"},"login":{"error":"Your user name and/or password does not match any existing accounts. Please try again.","logIn":"Log In","welcome":"Login to IBM Connections","user":"User name:","password":"Password:"},"common":{"ERROR_ALT":"Error","tags_more":"and ${0} more","inactiveIndicator":"(inactive)","more":{"label":"More","tooltip":"More Actions"},"inactiveUser":"${user} (inactive)","PERSON_TITLE":"Open the profile of ${user}."},"DATE":{"RELATIVE_TIME":{"MONTH":"${date_short}","TODAY":"Today at ${time}","YESTERDAY":"Yesterday at ${time}","TOMORROW":"${date_short}","DAY":"${EEee} at ${time}","YEAR":"${date_short}","FULL":"${EEEE}, ${date_long} ${time_long}"},"ADDED":{"MONTH":"Added ${date_long}","TODAY":"Added today at ${time}","YESTERDAY":"Added yesterday at ${time}","DAY":"Added ${EEee} at ${time}","YEAR":"Added ${date_long}","FULL":"${EEEE}, ${date_long} ${time_long}"},"TODAY":"today","YESTERDAY":"yesterday","COMPACT":{"MONTH":"${date_short}","TODAY":"Today","YESTERDAY":"Yesterday","TOMORROW":"Tomorrow","DAY":"${EEee}","YEAR":"${date_short}","FULL":"${EEEE}, ${date_long} ${time_long}"},"AM":"AM","FULL":"${EEEE}, ${date_long} ${time_long}","LAST_UPDATED":{"MONTH":"Last updated ${date_long}","TODAY":"Last updated today at ${time}","YESTERDAY":"Last updated yesterday at ${time}","DAY":"Last updated ${EEee} at ${time}","YEAR":"Last updated ${date_long}","FULL":"${EEEE}, ${date_long} ${time_long}"},"TODAY_U":"Today","YESTERDAY_U":"Yesterday","UPDATED":{"MONTH":"Updated ${date_long}","TODAY":"Updated today at ${time}","YESTERDAY":"Updated yesterday at ${time}","DAY":"Updated ${EEee} at ${time}","YEAR":"Updated ${date_long}","FULL":"${EEEE}, ${date_long} ${time_long}"},"RELATIVE_TIME_LONG":{"MONTH":"${date_long}","TODAY":"Today at ${time}","YESTERDAY":"Yesterday at ${time}","TOMORROW":"${date_long}","DAY":"${EEee} at ${time}","YEAR":"${date_long}","FULL":"${EEEE}, ${date_long} ${time_long}"},"DATE_ONLY":{"MONTH":"${date_short}","TODAY":"${date_short}","YESTERDAY":"${date_short}","TOMORROW":"${date_short}","DAY":"${date_short}","YEAR":"${date_short}","FULL":"${EEEE}, ${date_long}"},"PM":"PM","MONTHS_ABBR":{"11":"DEC","0":"JAN","1":"FEB","2":"MAR","3":"APR","4":"MAY","5":"JUN","6":"JUL","7":"AUG","8":"SEP","9":"OCT","10":"NOV"},"DATE_TIME":{"MONTH":"${date_short} at ${time}","TODAY":"${date_short} at ${time}","YESTERDAY":"${date_short} at ${time}","TOMORROW":"${date_short} at ${time}","DAY":"${date_short} at ${time}","YEAR":"${date_short} at ${time}","FULL":"${EEEE}, ${date_long} ${time_long}"},"TIME_ONLY":{"MONTH":"${time}","TODAY":"${time}","YESTERDAY":"${time}","TOMORROW":"${time}","DAY":"${time}","YEAR":"${time}","FULL":"${time_long}"}},"network":{"friendsInviteUpdatesDescription":"Receive updates about people you are following on the Home page and in an email summary.","error_404":"The network request no longer exists.","profile_title":"Open the profile of ${user}.","timestamp":{"created":{"MONTH":"${MMM} ${d}","TODAY":"Today at ${time}","YESTERDAY":"Yesterday at ${time}","DAY":"${EEEE} at ${time}","TOMORROW":"${MMM} ${d}, ${YYYY}","YEAR":"${MMM} ${d}, ${YYYY}"}},"error":"An error occurred.  ${again}.","error_again":"Please try again","messages":{"error":{"accept":"There was an error accepting the request.","ignore":"There was an error ignoring the request."},"success":{"accept":{"follow":"You are now network contacts and following ${user}.","nofollow":"You are now network contacts."},"ignore":{"follow":"You have ignored the invitation but are now following ${user}.","nofollow":"You have ignored the invitation."}}},"warning":"Warning","profile_a11y":"Activating this link will open the profile of ${user} in a new window."},"HISTORY":{"PROFILE_TITLE":"Open the profile of ${user}.","ERROR_ADDTL":"An error occurred while retrieving additional updates. ${again}","ERROR_AGAIN_TITLE":"Try the request again for more updates.","ERROR_ALT":"Error","SORTS":{"DATE_TOOLTIP_REVERSE":"Sort from least recent history to most recent updates","DATE_TOOLTIP":"Sort from most recent history to least recent updates","DATE":"Date"},"MORE":"Show Previous Updates","TIMESTAMP":{"CREATED":{"MONTH":"${MMM} ${d}","TODAY":"Today at ${time}","YESTERDAY":"Yesterday at ${time}","DAY":"${EEEE} at ${time}","TOMORROW":"${MMM} ${d}, ${YYYY}","YEAR":"${MMM} ${d}, ${YYYY}"}},"SORT_BY":"Sort by:","ERROR":"An error has occurred while retrieving the updates. ${again}","ERROR_AGAIN":"Try again.","EMPTY":"Could not retrieve recent updates for this item. It has been deleted or you no longer have access to it.","TAB_TITLE":"Recent Updates"},"COMMENTS":{"PREV_COMMENTS":"Show previous comments","ADD_COMMENT":"Add a Comment","DIALOG_TITLE":"Shorten Comment","ERROR_EDIT":"Your comment could not be updated.  Try again later.","PROFILE_TITLE":"Open the profile of ${user}.","ERROR_EDIT_TIMEOUT":"Your comment could not be updated because the server could not be contacted.  Click \'Post\' to try again.","FLAG_ITEM":{"ERROR_SAVING":"There was an error with processing the request. Try again later.","DESCRIPTION_LABEL":"Provide a reason for flagging this item (optional)","ACTION":"Flag as Inappropriate","SUCCESS_SAVING":"Your flag has been submitted. A moderator will investigate shortly.","TITLE":"Flag this item as inappropriate","BUSY":"Saving...","CANCEL":"Cancel","OK":"Save","EDITERROR":"The file\'s metadata was not edited due to an error","COMMENT":{"TITLE":"Flag this comment as inappropriate","A11Y":"This button opens a dialog that allows the user to flag this comment as inappropriate."}},"ERROR_CREATE_CANCEL":"Your comment could not be saved because the request was canceled.  Click \'Post\' to try again.","EDIT":"Edit","NAME":"Shorten Comment","DELETE_CONFIRM":"Are you sure you want to delete this comment?","ERROR_NO_CONTENT":"Enter your comment and click \'Post.\'  If you no longer want to leave a comment click \'Cancel.\'","WARN_LONG_COMMENT":"The comment is too long.  ${shorten}","ERROR_NO_CONTENT_EDIT":"Enter your comment and click \'Post.\'  If you no longer want to edit your comment click \'Cancel.\'","ERROR_EDIT_ACCESS_DENIED":"Your comment could not be updated because the item has been deleted or is no longer visible to you.","ERROR_EDIT_NOT_FOUND":"Your comment could not be updated because the item has been deleted or is no longer visible to you.","ARIA_LABEL":"Comments","COMMENT_CREATED_NOVERSION":{"MONTH":"${user} ${MMM} ${d}","TODAY":"${user} today at ${time}","YESTERDAY":"${user} yesterday at ${time}","DAY":"${user} ${EEEE} at ${time}","TOMORROW":"${user} ${MMM} ${d}, ${YYYY}","YEAR":"${user} ${MMM} ${d}, ${YYYY}"},"POST":"Post","ERROR_AGAIN_TITLE":"Try the request again for more comments.","ERROR_ADDTL":"An error occurred while retrieving additional comments. ${again}","SUBSCRIBE_TO_COMMENTS":"Subscribe to these comments","ADD_COMMENT_TOOLTIP":"Add a comment to this item","MODERATION_REMOVED":{"MONTH":"This comment was removed by ${user} on ${MMM} ${d}.","TODAY":"This comment was removed by ${user} today at ${time}.","YESTERDAY":"This comment was removed by ${user} yesterday at ${time}.","DAY":"This comment was removed by ${user} on ${EEEE} at ${time}.","TOMORROW":"This comment was removed by ${user} on ${MMM} ${d}, ${YYYY}.","YEAR":"This comment was removed by ${user} on ${MMM} ${d}, ${YYYY}."},"ERROR_AGAIN":"Try again.","COMMENT_EDITED":{"MONTH":"${user} edited ${MMM} ${d} (version ${version})","TODAY":"${user} edited today at ${time} (version ${version})","YESTERDAY":"${user} edited yesterday at ${time} (version ${version})","DAY":"${user} edited ${EEEE} at ${time} (version ${version})","TOMORROW":"${user} edited ${MMM} ${d}, ${YYYY} (version ${version})","YEAR":"${user} edited ${MMM} ${d}, ${YYYY} (version ${version})"},"DELETE":"Delete","EMPTY":"There are no comments.","EDIT_TOOLTIP":"Edit comment","DELETEREASON":"Reason for deleting this comment:","COMMENT_COUNT_MANY":"${0} comments","ERROR_ALT":"Error","ERROR_CREATE":"Your comment could not be saved.  Try again later.","ERROR_CREATE_TIMEOUT":"Your comment could not be saved because the server could not be contacted.  Click \'Post\' to try again.","ERROR_EDIT_NOT_LOGGED_IN":"You must be logged in to edit this comment.  Click \'Post\' to be prompted to log in.","ERROR_DELETE_NOT_FOUND":"Your comment could not be deleted because the comment or item has been deleted or is no longer visible to you.","ERROR_DELETE_ACCESS_DENIED":"Your comment could not be deleted because the item has been deleted or is no longer visible to you.","ACTION_NOT_SUPPORTED":"Unsupported Action","COMMENT_EDITED_NOVERSION":{"MONTH":"${user} edited ${MMM} ${d}","TODAY":"${user} edited today at ${time}","YESTERDAY":"${user} edited yesterday at ${time}","DAY":"${user} edited ${EEEE} at ${time}","TOMORROW":"${user} edited ${MMM} ${d}, ${YYYY}","YEAR":"${user} edited ${MMM} ${d}, ${YYYY}"},"YES":"Yes","SUBSCRIBE_TO_COMMENTS_TOOLTIP":"Follow changes to these comments through your feed reader","COMMENT_CREATED":{"MONTH":"${user} ${MMM} ${d} (version ${version})","TODAY":"${user} today at ${time} (version ${version})","YESTERDAY":"${user} yesterday at ${time} (version ${version})","DAY":"${user} ${EEEE} at ${time} (version ${version})","TOMORROW":"${user} ${MMM} ${d}, ${YYYY} (version ${version})","YEAR":"${user} ${MMM} ${d}, ${YYYY} (version ${version})"},"ERROR_CREATE_NOT_FOUND":"Your comment could not be saved because the item has been deleted or is no longer visible to you.","ERROR_CREATE_ACCESS_DENIED":"Your comment could not be saved because the item has been deleted or is no longer visible to you.","VIEW_COMMENTS_FILE":"View comments on this file","PROFILE_A11Y":"Activating this link will open the profile of ${user} in a new window.","DELETE_TOOLTIP":"Delete comment","SHOWMORE":"Read more...","COMMENT_LABEL":"Comment:","ERROR_DELETE_NOT_LOGGED_IN":"You must be logged in to delete this comment.  Click \'Delete\' to be prompted to log in.","OK":"OK","MODERATION_PENDING":"This comment is pending review.","ERROR_DELETE":"Your comment could not be deleted.  Try again later.","TOOLTIP":"Shorten Comment","COMMENT_CREATED_TIME":{"MONTH":"${MMM} ${d}","TODAY":"Today at ${time}","YESTERDAY":"Yesterday at ${time}","DAY":"${EEEE} at ${time}","TOMORROW":"${MMM} ${d}, ${YYYY}","YEAR":"${MMM} ${d}, ${YYYY}"},"ERROR_DELETE_TIMEOUT":"Your comment could not be deleted because the server could not be contacted.  Click \'Delete\' to try again.","PLACEHOLDER_TXT":"Add a comment","ERROR":"An error has occurred while retrieving the comments. ${again}","ERROR_CREATE_NOT_LOGGED_IN":"You must be logged in to create this comment.  Click \'Post\' to be prompted to log in.","ERROR_UNAUTHORIZED":"Your comment could not be saved because you are not authorized to leave a comment.","TAB_TITLE":"Comments (${0})","ERROR_GENERAL":"An error has occurred.","COMMENT_COUNT_ONE":"${0} comment","ERROR_DELETE_CANCEL":"Your comment could not be deleted because the request was canceled.  Click \'Delete\' to try again.","MODERATION_REJECTED":{"MONTH":"This comment was rejected by ${user} on ${MMM} ${d}.","TODAY":"This comment was rejected by ${user} today at ${time}.","YESTERDAY":"This comment was rejected by ${user} yesterday at ${time}.","DAY":"This comment was rejected by ${user} on ${EEEE} at ${time}.","TOMORROW":"This comment was rejected by ${user} on ${MMM} ${d}, ${YYYY}.","YEAR":"This comment was rejected by ${user} on ${MMM} ${d}, ${YYYY}."},"ERROR_EDIT_CANCEL":"Your comment could not be updated because the request was canceled.  Click \'Post\' to try again.","TRIM_LONG_COMMENT":"Shorten comment?","COMMENT_DELETED":{"MONTH":"Comment deleted by ${user} on ${MMM} ${d}","TODAY":"Comment deleted by ${user} today at ${time}","YESTERDAY":"Comment deleted by ${user} yesterday at ${time}","DAY":"Comment deleted by ${user} on ${EEEE} at ${time}","TOMORROW":"Comment deleted by ${user} on ${MMM} ${d}, ${YYYY}","YEAR":"Comment deleted by ${user} on ${MMM} ${d}, ${YYYY}"},"LINK":"Link","CANCEL":"Cancel","SAVE":"Save"},"UNSAVEDCHANGES":{"CONFIRM":"Are you sure you want to abandon your changes?  Press OK to continue or Cancel to return.","DIALOG_TITLE":"Confirm","CANCEL":"Cancel","TOOLTIP":"Confirm","NAME":"Confirm","OK":"OK"},"idea":{"readMore_a11y":"Activating this link will open the ${name} idea in a new window.","error_404":"We could not save your vote because you have either reached your voting limit or the idea is no longer available to you.","readMore_tooltip":"Open the ${name} idea."},"OAUTH":{"infoMsg":"IBM Connections needs your authorization to access your data.","authorizeGadget":"${clickHere} to authorize this application to access your Connections information.","clickHere":"Click here","confirmAuthorization":"${clickHere} to confirm that you have authorized this application to access your Connections information.","continueBtnA11y":"Activating this link will open a new window that will allow you to authorize access to Connections.","welcomeHeader":"Welcome to IBM Connections","continueBtnLabel":"Continue"},"COMMENTS_SHORTEN":{"CONFIRM":"Shortening will remove the text beyond the comment limit.  Click \'OK\' to shorten or \'Cancel\' to edit the comment yourself.","DIALOG_TITLE":"Shorten Comment","CANCEL":"Cancel","TOOLTIP":"Shorten Comment","NAME":"Shorten Comment","OK":"OK"},"file":{"error_403":"You do not have permission to view this file. The file is not public and is not shared with you.","error_404":"The file no longer exists or you do not have sufficient permissions to access it.","profile_title":"Open the profile of ${user}.","tooltip":"Open ${name} in the Files application","download":{"DOWNLOAD_ALT":"Download","TOOLTIP":"Download this file (${size})"},"a11y_help":"Activating this link will open ${name} in a new window.","PREVIEW":{"TITLE":"Preview this file in a new window.","LINK":"Preview"},"error":"An error occurred.  ${again}.","notifications":{"USER_SHARED":"${user} wrote:","NO_CHANGE_SUMMARY":"${user} did not provide a change summary","COMMENTED":"${user} commented","CHANGE_SUMMARY":"${user} provided change summary"},"error_again":"Please try again","download_tooltip":"Download this file (${0})","about":{"ANYUPDATE_TIMESTAMP":"${date_long} ${time_long}","UPDATE_TIMESTAMP":"${date_long} ${time_long} by ${user}","CREATE_TIMESTAMP":"${date_long} ${time_long} by ${user}"},"profile_a11y":"Activating this link will open the profile of ${user} in a new window.","following":{"title":"Toggle whether you will receive updates about this file","remove":"Stop Following","add":"Follow File"},"timestamp":{"updatedCompact":{"MONTH":"Updated: ${MMM} ${d}","TODAY":"Updated: Today at ${time}","YESTERDAY":"Updated: Yesterday at ${time}","DAY":"Updated: ${EEEE} at ${time}","TOMORROW":"Updated: ${MMM} ${d}, ${YYYY}","YEAR":"Updated: ${MMM} ${d}, ${YYYY}"},"createdOther":{"MONTH":"${user} created on ${MMM} ${d}","TODAY":"${user} created today at ${time}","YESTERDAY":"${user} created yesterday at ${time}","DAY":"${user} created on ${EEEE} at ${time}","TOMORROW":"${user} created on ${MMM} ${d}, ${YYYY}","YEAR":"${user} created on ${MMM} ${d}, ${YYYY}"},"created":{"MONTH":"Created ${MMM} ${d}","TODAY":"Created today at ${time}","YESTERDAY":"Created yesterday at ${time}","DAY":"Created ${EEEE} at ${time}","TOMORROW":"Created ${MMM} ${d}, ${YYYY}","YEAR":"Created ${MMM} ${d}, ${YYYY}"},"updated":{"MONTH":"Updated ${MMM} ${d}","TODAY":"Updated today at ${time}","YESTERDAY":"Updated yesterday at ${time}","DAY":"Updated ${EEEE} at ${time}","TOMORROW":"Updated ${MMM} ${d}, ${YYYY}","YEAR":"Updated ${MMM} ${d}, ${YYYY}"},"createdCompact":{"MONTH":"Created: ${MMM} ${d}","TODAY":"Created: Today at ${time}","YESTERDAY":"Created: Yesterday at ${time}","DAY":"Created: ${EEEE} at ${time}","TOMORROW":"Created: ${MMM} ${d}, ${YYYY}","YEAR":"Created: ${MMM} ${d}, ${YYYY}"},"updatedOther":{"MONTH":"${user} updated on ${MMM} ${d}","TODAY":"${user} updated today at ${time}","YESTERDAY":"${user} updated yesterday at ${time}","DAY":"${user} updated on ${EEEE} at ${time}","TOMORROW":"${user} updated on ${MMM} ${d}, ${YYYY}","YEAR":"${user} updated on ${MMM} ${d}, ${YYYY}"}},"TAGS":"Tags:","share":{"title":"Give others access to this file","label":"Share"}}};

;dojo.cache("com.ibm.lconn.gadget", "services/dialog/templates/OAuthErrorDialog.html", "<div id=\"${id}_dialog\" role=\"dialog\" aria-labelledby=\"${id}_title\" class=\"lotusDialog\"> <div class=\"lotusDialogBorder\"> <div class=\"lotusDialog\"> <div class=\"lotusDialogHeader\"> <a class=\"lotusDialogClose\" href=\"javascript:;\" dojoAttachEvent=\"onclick:closeDialog\" title=\"${nls.MESSAGE.DISMISS}\"> <img alt=\"${nls.MESSAGE.DISMISS}\" src=\"${blankGif}\" /> <span class=\"lotusAltText\">${nls.MESSAGE.DISMISS}</span> </a> </div> <div class=\"lotusDialogContent\" id=\"${id}_dialog_content\"> <div class=\"lotusMessage2\" role=\"alert\"> <img class=\"lotusIcon lotusIconMsgError\" src=\"${blankGif}\" alt=\"${nls.MESSAGE.ERROR_ALT_TEXT}\" /> <span class=\"lotusAltText\">${nls.MESSAGE.ERROR_ALT_TEXT}</span> <div class=\"lotusMessageBody\">${errorMessage}</div> </div> </div> </div> </div></div>");

;if(!dojo._hasResource["com.ibm.lconn.gadget.services.dialog.OAuthErrorDialog"]){
dojo._hasResource["com.ibm.lconn.gadget.services.dialog.OAuthErrorDialog"]=true;
dojo.provide("com.ibm.lconn.gadget.services.dialog.OAuthErrorDialog");
dojo.require("dijit.Dialog");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.requireLocalization("com.ibm.social.ee","socialEEStrings");
dojo.declare("com.ibm.lconn.gadget.services.dialog.OAuthErrorDialog",[dijit._Widget,dijit._Templated],{widgetsInTemplate:true,nls:dojo.i18n.getLocalization("com.ibm.social.ee","socialEEStrings"),templatePath:dojo.moduleUrl("com.ibm.lconn.gadget","services/dialog/templates/OAuthErrorDialog.html"),blankGif:null,errorMessage:null,dialog:null,constructor:function(){
var _1=this.nls.network;
this.blankGif=dojo.config.blankGif;
this.errorMessage=dojo.replace(_1.error,{again:_1.error_again},/\$\{([^\}]+)\}/g);
this.dialog=new dijit.Dialog();
},show:function(){
this.dialog.show();
this.dialog.attr({content:this.domNode});
},closeDialog:function(){
this.dialog.destroy();
this.dialog=null;
this.destroy();
}});
}


;dojo.mixin(dojo.provide("com.ibm.lconn.gadget.config.settings"),{"developer":{"allowIntranetProxyAccess":false,"allowSSOFeature":false,"enabled":false},"security":{"allowUrlCheckPattern":"","authErrorRetryIntervalSec":300,"containerTokenCheckSec":5,"containerTokenTTLSec":43200,"featureAdminEnabled":true,"gadgetTokenTTLSec":64800,"preloadJS":false,"preloadJSSafari":true,"ssoDomain":".con.can.ibm.com","transientErrorRetryIntervalSec":60,"urlWhitelistEnabled":true,"whiteListEnabled":true}});


;if(!dojo._hasResource["dojo.DeferredList"]){
dojo._hasResource["dojo.DeferredList"]=true;
dojo.provide("dojo.DeferredList");
dojo.declare("dojo.DeferredList",dojo.Deferred,{constructor:function(_1,_2,_3,_4,_5){
this.list=_1;
this.resultList=new Array(this.list.length);
this.chain=[];
this.id=this._nextId();
this.fired=-1;
this.paused=0;
this.results=[null,null];
this.canceller=_5;
this.silentlyCancelled=false;
if(this.list.length===0&&!_2){
this.callback(this.resultList);
}
this.finishedCount=0;
this.fireOnOneCallback=_2;
this.fireOnOneErrback=_3;
this.consumeErrors=_4;
dojo.forEach(this.list,function(d,_6){
d.addCallback(this,function(r){
this._cbDeferred(_6,true,r);
return r;
});
d.addErrback(this,function(r){
this._cbDeferred(_6,false,r);
return r;
});
},this);
},_cbDeferred:function(_7,_8,_9){
this.resultList[_7]=[_8,_9];
this.finishedCount+=1;
if(this.fired!==0){
if(_8&&this.fireOnOneCallback){
this.callback([_7,_9]);
}else{
if(!_8&&this.fireOnOneErrback){
this.errback(_9);
}else{
if(this.finishedCount==this.list.length){
this.callback(this.resultList);
}
}
}
}
if(!_8&&this.consumeErrors){
_9=null;
}
return _9;
},gatherResults:function(_a){
var d=new dojo.DeferredList(_a,false,true,false);
d.addCallback(function(_b){
var _c=[];
dojo.forEach(_b,function(_d){
_c.push(_d[1]);
});
return _c;
});
return d;
}});
}

dojo.registerModulePath("lconn.metrics", "../lconn.metrics");

;if(!dojo._hasResource["lconn.metrics.util.iframe"]){
dojo._hasResource["lconn.metrics.util.iframe"]=true;
dojo.provide("lconn.metrics.util.iframe");
dojo.require("dojo.io.iframe");
lconn.metrics.util.iframe={send:function(_1){
if((dojo.isWebKit||dojo.isIE<9)&&dojo.io.iframe["_frame"]){
dojo.destroy(dojo.io.iframe["_frame"]);
var _2=dojo.io.iframe._iframeName;
dojo.io.iframe._frame=null;
window[_2]=null;
if(window.frames){
window.frames[_2]=null;
}
}
return dojo.io.iframe.send(_1);
}};
}

dojo.registerModulePath("lconn.metrics.plugins", "../lconn.metrics.plugins");

;if(!dojo._hasResource["lconn.core.auth"]){
dojo._hasResource["lconn.core.auth"]=true;
dojo.provide("lconn.core.auth");
dojo.require("dojo.string");
dojo.require("dojo.DeferredList");
dojo.require("lconn.core.url");
dojo.require("lconn.core.config.services");
dojo.require("com.ibm.oneui.util.Url");
(function(_1,_2){
var _3=5000,_4=[],_5=[],_6={defaultApp:"${appSvcUrl}/core/login_redirect?redirect=${redirectUrl}",activities:"${appSvcUrl}/service/authredirect.jsp",blogs:"${appSvcUrl}/roller-ui/login-redirect.jsp?redirect=${redirectUrl}",communities:"${appSvcUrl}/service/html/login",dogear:"${appSvcUrl}/loginredirect?redirect=${redirectUrl}",files:"${appSvcUrl}/form/login_redirect?redirect=${redirectUrl}",forums:"${appSvcUrl}/auth/redirect",homepage:"${appSvcUrl}/web/login_redirect?redirectUrl=${redirectUrl}",metrics:"${appSvcUrl}/login_redirect?redirect=${redirectUrl}",moderation:"${appSvcUrl}/login_redirect?redirect=${redirectUrl}",news:"${appSvcUrl}/login_redirect?redirect=${redirectUrl}",oauth:"${appSvcUrl}/login_redirect?redirect=${redirectUrl}",profiles:"${appSvcUrl}/auth/loginRedirect.do",search:"${appSvcUrl}/login_redirect?redirect=${redirectUrl}",wikis:"${appSvcUrl}/form/login_redirect?redirect=${redirectUrl}"};
function _7(_8,_9){
switch(_8){
case "activities":
_a("ActivitiesRedirect",_9.redirectUrl);
break;
case "communities":
_a("CommunitiesReqURL",_9.redirectUrl);
break;
case "forums":
_a("ForumReqURL",_9.redirectUrl);
break;
case "homepage":
_a("ConnectionsHomepageActivityStreamState",_9.redirectUrl);
break;
case "profiles":
_a("ProfilesReqURL",_9.redirectUrl);
break;
}
};
function _b(){
var _c=[];
if(!lconn.core.auth.isAuthenticated()){
dojo.forEach(_4,function(_d,i){
var _e=_d();
if(_e&&_e instanceof dojo.Deferred){
_c.push(_e);
}
});
}
return _c;
};
function _f(_10){
var _11=[];
if(_10||lconn.core.auth.isAuthenticated()){
dojo.forEach(_5,function(_12,i){
var dfd=_12();
if(dfd&&dfd instanceof dojo.Deferred){
_11.push(dfd);
}
});
}
return _11;
};
function _a(key,_13){
_2.cookie=key+"="+_13+"; path=/";
};
function _14(){
if(dojo.global.ibmConfig&&typeof ibmConfig.serviceName!=="undefined"){
return ibmConfig.serviceName;
}
var _15=dojo.byId("lotusBaseStylesheet");
if(_15){
var _16=dojo.attr(_15,"appName");
if(_16){
return _16;
}
}
return "news";
};
function _17(_18){
var _19=_1.location.href;
var _1a=_14();
var _1b=lconn.core.config.services[_1a];
if(_1b){
_19=(_1b.secureEnabled&&_18!==false)?_1b.secureUrl:_1b.url;
}
var _1c=lconn.core.url.parse(_19);
return _1c.toString();
};
lconn.core.auth={addLoginHandler:function(_1d){
_4.push(_1d);
},addLogoutHandler:function(_1e){
_5.push(_1e);
},login:function(url){
var _1f=new dojo.DeferredList(_b(),false);
var _20=url||lconn.core.auth.getLoginUrl();
_1f.addBoth(function(_21){
_1.location.href=_20;
});
},logoutAndLogin:function(url){
_f(true);
var _22=lconn.core.auth.getLogoutUrl();
dojo.xhrPost({url:_22,handleAs:"text",handle:function(){
lconn.core.auth.login(url);
},secure:false,timeout:_3});
},logout:function(url){
var _23=new dojo.DeferredList(_f(),false);
var _24=url||lconn.core.auth.getLogoutUrl("/");
_23.addBoth(function(_25){
_1.location.href=_24;
});
},isAuthenticated:function(){
var _26=false;
var _27=dojo.byId("usernameText");
var _28=_27?_27.innerHTML:null;
_26=_28?true:false;
return _26;
},getLogoutUrl:function(_29){
var _2a=_17(com.ibm.oneui.util.Url.secure);
var _2b=_29||"/";
_2a=_2a+"/ibm_security_logout?logoutExitPage="+encodeURIComponent(_2b);
return _2a;
},getLoginUrl:function(url){
url=url||_1.location.href;
var _2c=_14("default");
var u=lconn.core.url.parse(url);
if(u.fragment){
switch(_2c){
case "activities":
u.fragment=u.fragment.replace(/,/g,"%2C");
break;
case "files":
case "metrics":
case "moderation":
case "wikis":
u.path+=u.fragment.indexOf("!")===0?u.fragment.substring(1):u.fragment;
delete u.fragment;
}
}
var _2d=lconn.core.config.services[_2c].secureUrl;
if(_2d.charAt(_2d.length-1)=="/"){
_2d=_2d.substring(0,_2d.length-1);
}
var opt={appSvcUrl:_2d,redirectUrl:u.toCanonicalString(),hashSegment:u.fragment||""};
_7(_2c,opt);
return dojo.string.substitute(_6[_2c],opt);
}};
lconn.core.auth.logoutAndlogin=lconn.core.auth.logoutAndLogin;
})(window,document);
}


;if(!dojo._hasResource["lconn.core.util.LCDeferred"]){
dojo._hasResource["lconn.core.util.LCDeferred"]=true;
dojo.provide("lconn.core.util.LCDeferred");
(function(){
var _1=function(){
};
var _2=Object.freeze||function(){
};
lconn.core.util.LCDeferred=function(_3){
var _4,_5,_6,_7,_8;
var _9=(this.promise={});
function _a(_b){
if(_5){
throw new Error("This deferred has already been resolved");
}
_4=_b;
_5=true;
_c();
};
function _c(){
var _d;
while(!_d&&_8){
var _e=_8;
_8=_8.next;
if((_d=(_e.progress==_1))){
_5=false;
}
var _f=(_6?_e.error:_e.resolved);
if(_f){
try{
var _10=_f(_4);
if(_10&&typeof _10.then==="function"){
_10.then(dojo.hitch(_e.deferred,"resolve"),dojo.hitch(_e.deferred,"reject"));
continue;
}
var _11=_d&&_10===undefined;
if(_d&&!_11){
_6=_10 instanceof Error;
}
_e.deferred[_11&&_6?"reject":"resolve"](_11?_4:_10);
}
catch(e){
_e.deferred.reject(e);
}
}else{
if(_6){
_e.deferred.reject(_4);
}else{
_e.deferred.resolve(_4);
}
}
}
};
this.resolve=this.callback=function(_12){
this.fired=0;
this.results=[_12,null];
_a(_12);
};
this.reject=this.errback=function(_13){
_6=true;
this.fired=1;
_a(_13);
this.results=[null,_13];
if(!_13||_13.log!==false){
(dojo.config.deferredOnError||function(x){
console.error(x);
})(_13);
}
};
this.progress=function(_14){
var _15=_8;
while(_15){
var _16=_15.progress;
_16&&_16(_14);
_15=_15.next;
}
};
this.addCallbacks=function(_17,_18){
this.then(_17,_18,_1);
return this;
};
this.then=_9.then=function(_19,_1a,_1b){
var _1c=_1b==_1?this:new lconn.core.util.LCDeferred(_9.cancel);
var _1d={resolved:_19,error:_1a,progress:_1b,deferred:_1c};
if(_8){
_7=_7.next=_1d;
}else{
_8=_7=_1d;
}
if(_5){
_c();
}
return _1c.promise;
};
var _1e=this;
this.cancel=_9.cancel=function(){
if(!_5){
var _1f=_3&&_3(_1e);
if(!_5){
if(!(_1f instanceof Error)){
_1f=new Error(_1f);
}
_1f.log=false;
_1e.reject(_1f);
}
}
};
_2(_9);
};
dojo.extend(lconn.core.util.LCDeferred,{addCallback:function(_20){
return this.addCallbacks(dojo.hitch.apply(dojo,arguments));
},addErrback:function(_21){
return this.addCallbacks(null,dojo.hitch.apply(dojo,arguments));
},addBoth:function(_22){
var _23=dojo.hitch.apply(dojo,arguments);
return this.addCallbacks(_23,_23);
},fired:-1});
})();
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.services.TokenRefreshHandler"]){
dojo._hasResource["com.ibm.lconn.gadget.services.TokenRefreshHandler"]=true;
dojo.provide("com.ibm.lconn.gadget.services.TokenRefreshHandler");
dojo.require("com.ibm.lconn.gadget.config.settings");
dojo.require("com.ibm.lconn.gadget.util.trace");
dojo.require("lconn.core.auth");
dojo.require("lconn.core.url");
dojo.require("lconn.core.config.services");
dojo.require("lconn.core.util.LCDeferred");
dojo.require("com.ibm.oneui.util.proxy");
dojo.require("dojo.cookie");
com.ibm.lconn.gadget.services.TokenRefreshHandler=(function(_1,_2,_3,_4,_5,_6,_7,_8,_9){
var _a={};
var _b=_8.security;
var _c="X-LConn-Auth",_d="X-IC-CRE-User",_e="X-IC-CRE-Request-Origin",_f="X-Update-Nonce",_10="X-IC-Container-Token";
var _11=_4.opensocial,_12=_3.parse(_1.global.location.toString(),_11?_6(_3.getServiceUrl(_11).toString()):"");
var _13=_1.global.location;
_7.debug("Container token refresh TTL is: "+_b.containerTokenTTLSec);
_7.debug("Container token check: "+_b.containerTokenCheckSec);
function _14(_15,_16){
return _15&&_15.userId===_16.userId;
};
function _17(_18){
_7.debug("Invalidating current token data");
var _19=_18.sites_;
for(var _1a in _19){
var _1b=_19[_1a];
if(_1b instanceof osapi.container.GadgetSite){
var _1c=_1b.getActiveSiteHolder();
var _1d=_18.service_.getCachedGadgetMetadata(_1c.getUrl());
_1d[osapi.container.MetadataResponse.NEEDS_TOKEN_REFRESH]=true;
}
}
};
function _1e(_1f){
var c=document.cookie,_20="(?:^|; )"+_1.regexp.escapeString(_1f)+"=([^;]*)",_21,_22=new RegExp(_20),res,_23=[],i;
_21=c.match(new RegExp(_20,"g"));
if(_21&&_21.length>0){
i=_21.length;
while(i--){
res=_21[i];
_23.push(decodeURIComponent(res.match(_22)[1]));
}
}
return _23;
};
function _24(_25,_26){
var _27,_28,_29;
var _2a=false,_2b=null,_2c;
var _2d=_13.hostname;
var i,c;
if(_26){
i=_26.length;
while(i--){
_27=_26[i];
if((c=_27.indexOf("$"))>0&&c<_27.length-1){
_29=_27.substring(0,c);
_28=_27.substring(c+1);
_2c=_14(_25,{userId:_28,isAuth:(_28.indexOf("anonymous")!==0)});
if((_2d.indexOf(_29)+_29.length)===_2d.length){
if(_2b===null||_29===_2d){
if(_2b===_29){
_2a=_2a||_2c;
}else{
_2b=_29;
_2a=_2c;
}
}
}
}
}
}
return _2a;
};
function _2e(_2f){
var _30=_1e(_10);
if(!_24(_2f,_30)){
_7.debug("Must be in proxy situation, not getting container token cookie back from server.");
var _31=_13.hostname+"$"+_2f.userId;
_1.cookie(_10,_31,{path:"/"});
}
};
var _a=_1.declare("",[],{_userData:null,_lastUpdate:null,_containerToken:null,_commonContainer:null,getContainerToken:function(){
var _32=[_12.toString(),"/common/tokenRefresh?type=container&token="].join(""),_33=new _5();
var _34={};
_34[_f]="check";
_34[_e]=_13.href;
_1.xhrGet({url:_32,handleAs:"json",headers:_34,sync:false,load:_1.hitch(this,"_creTokenDataHandlerLoad",_33),error:_1.hitch(this,"_creTokenDataHandlerError",_33)});
return _33;
},_getCachedToken:function(){
var now=new Date().getTime();
var _35=_1e(_10);
var _36=this._containerToken;
var _37=this._lastUpdate;
if(_37){
_37+=(_b.containerTokenTTLSec*1000);
}
if(!_24(this._userData,_35)){
return false;
}else{
if((_36&&_36.token)&&(_37&&now<_37)){
return _36.token;
}else{
return false;
}
}
},_creTokenDataHandlerLoad:function(_38,_39,_3a){
_7.debug("SUCCESS: Load token: %o",_39);
var _3b=this._parseUserData(_3a);
_2e(_3b);
_38.callback({creToken:_39.containerToken,userData:_3b});
if(!this._userData){
this._lastUpdate=new Date().getTime();
this._containerToken=_39.containerToken;
this._userData=_3b;
}
},_parseUserData:function(_3c){
var _3d=("true"===_3c.xhr.getResponseHeader(_c));
var _3e=_3c.xhr.getResponseHeader(_d);
if(!_3e){
_3d=false;
_3e="anonymous_54d8eff5b051e9c3fc7f19b4c5a12cf8d40498d7";
_7.warn("No X-IC-CRE-User header, switching to anon user");
}
return {isAuth:_3d,userId:_3e};
},_creTokenDataHandlerError:function(_3f,_40,_41){
_7.error("ERROR: "+_40);
_3f.errback(_40);
},_clearTokenData:function(_42){
this._invalidateGadgetTokens();
},tokenRefresh:function(_43){
var _44=this,_45=this._getCachedToken();
if(!_45){
this.getContainerToken().then(function(_46){
if((!_46)||(!_46.creToken)||(!_46.userData)||(!_46.userData.userId)){
var _47,_48=_b.transientErrorRetryIntervalSec;
_7.debug("data: "+_46);
_7.debug("data.creToken: "+_46.creToken);
_7.debug("data.userData: "+_46.userData);
_7.debug("data.userData.userId: "+_46.userData.userId);
_7.warn("Error while refreshing container token - bad data.  Will retry in: "+_48+" seconds");
_43(_47,_48);
return;
}
_44._containerToken=_46.creToken;
_44._lastUpdate=new Date().getTime();
if(!_14(_44._userData,_46.userData)){
_17(_44._commonContainer);
_44._userData=_46.userData;
_43(_46.creToken.token,_b.containerTokenCheckSec);
_44._commonContainer.refreshTokens_();
cre$.internalutil.setCREContainerToken(_46.creToken);
}else{
_7.debug("Token refresh success %o",_46);
_43(_46.creToken.token,_b.containerTokenCheckSec);
cre$.internalutil.setCREContainerToken(_46.creToken);
}
},function(_49){
var _4a,_4b=_b.transientErrorRetryIntervalSec;
_7.warn("Error while refreshing container token.  Will retry in: "+_4b+" seconds");
_43(_4a,_4b);
});
}else{
_43(_45,_b.containerTokenCheckSec);
}
},setCommonContainer:function(_4c){
this._commonContainer=_4c;
},logoutHandler:function(){
_1.cookie(_10,_9,{expires:-1,domain:_b.ssoDomain,path:"/"});
_1.cookie(_10,_9,{expires:-1,path:"/"});
}});
return _a;
})(dojo,lconn.core.auth,lconn.core.url,lconn.core.config.services,lconn.core.util.LCDeferred,com.ibm.oneui.util.proxy,com.ibm.lconn.gadget.util.trace,com.ibm.lconn.gadget.config.settings);
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.services.tokenRefreshService"]){
dojo._hasResource["com.ibm.lconn.gadget.services.tokenRefreshService"]=true;
dojo.provide("com.ibm.lconn.gadget.services.tokenRefreshService");
dojo.require("com.ibm.lconn.gadget.services.TokenRefreshHandler");
dojo.require("lconn.core.auth");
dojo.require("dojo.cookie");
com.ibm.lconn.gadget.services.tokenRefreshService=(function(_1,_2,_3){
var _4={};
var _5=new _2();
_4.getContainerToken=function(){
return _5.getContainerToken();
};
_4.getTokenRefresher=function(){
return _1.hitch(_5,"tokenRefresh");
};
_4.registerService=function(_6){
_5.setCommonContainer(_6);
};
_3.addLogoutHandler(function(){
_5.logoutHandler();
});
return _4;
})(dojo,com.ibm.lconn.gadget.services.TokenRefreshHandler,lconn.core.auth);
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.services.oauthPopupDialog"]){
dojo._hasResource["com.ibm.lconn.gadget.services.oauthPopupDialog"]=true;
dojo.provide("com.ibm.lconn.gadget.services.oauthPopupDialog");
dojo.require("com.ibm.lconn.gadget.services.dialog.IframeDialog");
dojo.require("com.ibm.lconn.gadget.services.dialog.OAuthErrorDialog");
dojo.require("com.ibm.lconn.gadget.services.tokenRefreshService");
dojo.require("com.ibm.lconn.gadget.util.trace");
dojo.require("lconn.core.auth");
com.ibm.lconn.gadget.services.oauthPopupDialog.registerService=function(_1){
var _2={};
var _3=com.ibm.lconn.gadget.services.tokenRefreshService,_4=lconn.core.auth;
var _5=com.ibm.lconn.gadget.util.trace;
var _6={AUTHORIZE_SUCCESS:"authorize_success",AUTHORIZE_REJECTED:"authorize_rejected",AUTHORIZE_SERVER_ERROR:"authorize_server_error",AUTO_AUTHORIZE_REJECTED:"auto_authorize_rejected"};
_1.rpcRegister("_ic_oauth_dialog_status",function(_7,_8){
if(!_8.status){
return;
}
var _9=_8.status,_a=_8.message,_b=_2[_7.f].handler,_c=_2[_7.f].dialog;
if(_b===undefined){
return;
}
switch(_9){
case _6.AUTHORIZE_SUCCESS:
_b();
break;
case _6.AUTHORIZE_REJECTED:
_b();
break;
case _6.AUTHORIZE_SERVER_ERROR:
_c.show();
break;
case _6.AUTO_AUTHORIZE_REJECTED:
if(_c.isAuto){
_b(true);
}else{
_c.show();
}
break;
}
if(_a){
console.log(_a);
}
});
var _d={};
_1.setupNonGadgetRpcEndpoint();
_1.rpcRegister("_ic_oauth_dialog_open",function(_e,_f,_10,pid,_11){
var _12=_e[osapi.container.GadgetSite.RPC_ARG_KEY];
var _13=_12.getId();
var _14=null;
function _15(_16){
_12.rpcCall("_ic_oauth_dialog_closed",function(){
},{isAutoFail:_16,pids:_d[_13]});
delete (_d[_13]);
if(_14){
delete _2[_14];
}
};
function _17(){
var _18=["_ic_oauth_dialog_status","__ack","__cb","gadgets.rpc.config","gadgets.rpc.register","gadgets.rpc.unregister","gadgets.rpc.registerDefault","gadgets.rpc.unregisterDefault","gadgets.rpc.forceParentVerifiable","gadgets.rpc.call","gadgets.rpc.getRelayUrl","gadgets.rpc.setRelayUrl","gadgets.rpc.setAuthToken","gadgets.rpc.setupReceiver","gadgets.rpc.getAuthToken","gadgets.rpc.removeReceiver","gadgets.rpc.getRelayChannel","gadgets.rpc.receive","gadgets.rpc.receiveSameDomain","gadgets.rpc.getOrigin","gadgets.rpc.getTargetOrigin"],ifd=new com.ibm.lconn.gadget.services.dialog.IframeDialog(_f,_10,_11),_19=com.ibm.lconn.gadget.util.specHelper.nextDomId(),_1a=com.ibm.lconn.gadget.util.specHelper.nextDomId();
gadgets.rpc.setUpRpcIdsForNonGadgetIframe(_19,_1a,_f,_18);
ifd.init(_19,_1a);
if(!_11){
ifd.show();
}
_14=_19;
var _1b=function(_1c){
ifd.destroy();
_15(_1c);
};
dojo.connect(ifd,"onClose",_1b);
_2[_19]={window:ifd.getWindow(),handler:_1b,dialog:ifd};
};
if(!_d[_13]){
_d[_13]=[pid];
_3.getContainerToken().then(function(_1d){
var _1e=_1d.userData;
if(!_1e.isAuth){
_4.login();
}else{
_17();
}
},function(_1f){
_5.error("Error checking user authentication: "+_1f);
var _20=new com.ibm.lconn.gadget.services.dialog.OAuthErrorDialog();
_20.startup();
_20.show();
_15(_11);
});
}else{
_d[_13].push(pid);
}
});
};
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.services.sso_reauth_callback"]){
dojo._hasResource["com.ibm.lconn.gadget.services.sso_reauth_callback"]=true;
dojo.provide("com.ibm.lconn.gadget.services.sso_reauth_callback");
dojo.require("lconn.core.auth");
dojo.require("com.ibm.lconn.gadget.util.trace");
com.ibm.lconn.gadget.services.sso_reauth_callback.registerService=function(_1){
_1.rpcRegister("_cre_sso_reauth_cb",function(_2){
com.ibm.lconn.gadget.util.trace.log("_cre_sso_reauth_cb rpc service fired with arguments",arguments);
com.ibm.lconn.gadget.util.trace.log("redirecting to login...");
lconn.core.auth.logoutAndlogin();
});
};
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.services.fake_handleRpcMethod"]){
dojo._hasResource["com.ibm.lconn.gadget.services.fake_handleRpcMethod"]=true;
dojo.provide("com.ibm.lconn.gadget.services.fake_handleRpcMethod");
dojo.require("com.ibm.lconn.gadget.util.trace");
com.ibm.lconn.gadget.services.fake_handleRpcMethod=(function(_1){
var _2={},_3="osapi._handleRpcMethod called - method not implemented in this container. arguments : ";
_2.registerService=function(_4){
_4.rpcRegister("osapi._handleGadgetRpcMethod",function(){
_1.debug(_3,arguments);
});
};
return _2;
})(com.ibm.lconn.gadget.util.trace);
}


;dojo.mixin(dojo.provide("lconn.core.config"),{"deploymentId":"com.ibm.lc.97c2a565-19e1-49a1-9a26-c14d32274627","enableEmail":true,"exposeEmail":true,"forceConfidentialCommunications":true,"versionStamp":"20150110.113307"});


;if(!dojo._hasResource["com.ibm.lconn.gadget.services.urlSecurityService"]){
dojo._hasResource["com.ibm.lconn.gadget.services.urlSecurityService"]=true;
dojo.provide("com.ibm.lconn.gadget.services.urlSecurityService");
dojo.require("com.ibm.lconn.gadget.config.settings");
dojo.require("com.ibm.lconn.gadget.util.trace");
dojo.require("lconn.core.config");
dojo.require("lconn.core.config.services");
dojo.require("lconn.core.url");
com.ibm.lconn.gadget.services.urlSecurityService=(function(_1,_2,_3,_4,_5,_6){
var _7={},_8=_3.security.urlWhitelistEnabled,_9=_3.security.allowUrlCheckPattern;
opensocialUrl_=_2.getServiceUrl(_6.opensocial),errorPage_=opensocialUrl_+"/ic/errors/errorMini.jsp";
if(_9){
_9=new RegExp(_3.security.allowUrlCheckPattern,"i");
}else{
_9={"test":function(){
return false;
}};
}
function _a(_b,_c,_d){
if(_e(_c)){
return this.navigateUrlNoSecurity.apply(this,arguments);
}else{
_4.warn("Blocking access to url: "+_c+".  URL does not match whitelist.");
var _f=Array.prototype.slice.call(arguments);
_f[1]=errorPage_;
return this.navigateUrlNoSecurity.apply(this,_f);
}
};
function _e(url){
if(!_8){
return true;
}
return url&&url.indexOf("..")===-1&&_9.test(url);
};
_7.registerService=function(_10){
_10.navigateUrlNoSecurity=_10.navigateUrl;
_10.navigateUrl=_a;
};
return _7;
})(dojo,lconn.core.url,com.ibm.lconn.gadget.config.settings,com.ibm.lconn.gadget.util.trace,com.ibm.lconn.gadget.services.dialog.UrlAccessDeniedDialog,lconn.core.config.services);
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.container.ICActions"]){
dojo._hasResource["com.ibm.lconn.gadget.container.ICActions"]=true;
dojo.provide("com.ibm.lconn.gadget.container.ICActions");
dojo.declare("com.ibm.lconn.gadget.container.ICActions",null,{registerNavigateGadgetHandler:function(_1){
},registerService:function(_2){
}});
dojo.mixin(com.ibm.lconn.gadget.container.ICActions,{__instance__:function(){
}});
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.services.ICActionsContainer"]){
dojo._hasResource["com.ibm.lconn.gadget.services.ICActionsContainer"]=true;
dojo.provide("com.ibm.lconn.gadget.services.ICActionsContainer");
dojo.require("com.ibm.lconn.gadget.container.ICActions");
(function(_1,_2){
var _3=_1.declare("com.ibm.lconn.gadget.services.ICActionsContainer",[_2],{_renderGadgetInContainer:null,constructor:function(){
this._renderGadgetInContainer=[];
},registerService:function(_4){
_4.actions.registerNavigateGadgetHandler(_1.hitch(this,this.handleGadgetSelection));
},registerNavigateGadgetHandler:function(_5){
if(typeof _5==="function"){
this._renderGadgetInContainer.push(_5);
}
},handleGadgetSelection:function(_6,_7){
_1.forEach(this._renderGadgetInContainer,function(_8){
_8(_6,_7);
});
}});
var _9=new _3();
_2.__instance__=function(){
return _9;
};
})(dojo,com.ibm.lconn.gadget.container.ICActions);
}


;if(!dojo._hasResource["lconn.core.util.LCDeferredList"]){
dojo._hasResource["lconn.core.util.LCDeferredList"]=true;
dojo.provide("lconn.core.util.LCDeferredList");
dojo.require("lconn.core.util.LCDeferred");
(function(_1,_2){
lconn.core.util.LCDeferredList=function(_3,_4,_5,_6,_7){
var _8=[];
_2.call(this);
var _9=this;
if(_3.length===0&&!_4){
this.resolve([0,[]]);
}
var _a=0;
_1.forEach(_3,function(_b,i){
_b.then(function(_c){
if(_4){
_9.resolve([i,_c]);
}else{
_d(true,_c);
}
},function(_e){
if(_5){
_9.reject(_e);
}else{
_d(false,_e);
}
if(_6){
return null;
}
throw _e;
});
function _d(_f,_10){
_8[i]=[_f,_10];
_a++;
if(_a===_3.length){
_9.resolve(_8);
}
};
});
};
lconn.core.util.LCDeferredList.prototype=new _1.Deferred();
lconn.core.util.LCDeferredList.prototype.gatherResults=function(_11){
var d=new lconn.core.util.LCDeferredList(_11,false,true,false);
d.addCallback(function(_12){
var ret=[];
_1.forEach(_12,function(_13){
ret.push(_13[1]);
});
return ret;
});
return d;
};
return lconn.core.util.LCDeferredList;
})(dojo,lconn.core.util.LCDeferred);
}


;if(!dojo._hasResource["lconn.core.util.amdLoader"]){
dojo._hasResource["lconn.core.util.amdLoader"]=true;
dojo.provide("lconn.core.util.amdLoader");
lconn.core.util.amdLoader=(function(_1){
var _2,_3,_4;
var _5="2.0.2",_6=/(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,_7=/require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,_8=/\.js$/,_9=/^\.\//,_a=Object.prototype.toString,ap=Array.prototype,_b=ap.slice,_c=ap.splice,_d=!!(typeof window!=="undefined"&&navigator&&document),_e=!_d&&typeof importScripts!=="undefined",_f=_d&&navigator.platform==="PLAYSTATION 3"?/^complete$/:/^(complete|loaded)$/,_10="_",_11=typeof opera!=="undefined"&&opera.toString()==="[object Opera]",_12={},cfg={},_13=[],_14=false,req,s,_15,_16,_17,src,_18,_19,_1a,_1b;
function _1c(it){
return _a.call(it)==="[object Function]";
};
function _1d(it){
return _a.call(it)==="[object Array]";
};
function _1e(ary,_1f){
if(ary){
var i;
for(i=0;i<ary.length;i+=1){
if(ary[i]&&_1f(ary[i],i,ary)){
break;
}
}
}
};
function _20(ary,_21){
if(ary){
var i;
for(i=ary.length-1;i>-1;i-=1){
if(ary[i]&&_21(ary[i],i,ary)){
break;
}
}
}
};
function _22(obj,_23){
return obj.hasOwnProperty(_23);
};
function _24(obj,_25){
var _26;
for(_26 in obj){
if(obj.hasOwnProperty(_26)){
if(_25(obj[_26],_26)){
break;
}
}
}
};
function _27(_28,_29,_2a,_2b){
if(_29){
_24(_29,function(_2c,_2d){
if(_2a||!_22(_28,_2d)){
if(_2b&&typeof _2c!=="string"){
if(!_28[_2d]){
_28[_2d]={};
}
_27(_28[_2d],_2c,_2a,_2b);
}else{
_28[_2d]=_2c;
}
}
});
}
return _28;
};
function _2e(obj,fn){
return function(){
return fn.apply(obj,arguments);
};
};
function _2f(){
return document.getElementsByTagName("script");
};
function _30(_31){
if(!_31){
return _31;
}
var g=_1;
_1e(_31.split("."),function(_32){
g=g[_32];
});
return g;
};
function _33(_34,_35,_36){
return function(){
var _37=_b.call(arguments,0),_38;
if(_36&&_1c((_38=_37[_37.length-1]))){
_38.__requireJsBuild=true;
}
_37.push(_35);
return _34.apply(null,_37);
};
};
function _39(req,_3a,_3b){
_1e([["toUrl"],["undef"],["defined","requireDefined"],["specified","requireSpecified"]],function(_3c){
var _3d=_3c[1]||_3c[0];
req[_3c[0]]=_3a?_33(_3a[_3d],_3b):function(){
var ctx=_12[_10];
return ctx[_3d].apply(ctx,arguments);
};
});
};
function _3e(id,msg,err,_3f){
var e=new Error(msg+"\nhttp://requirejs.org/docs/errors.html#"+id);
e.requireType=id;
e.requireModules=_3f;
if(err){
e.originalError=err;
}
return e;
};
if(typeof _3!=="undefined"){
return;
}
if(typeof _4!=="undefined"){
if(_1c(_4)){
return;
}
cfg=_4;
_4=undefined;
}
if(typeof _2!=="undefined"&&!_1c(_2)){
cfg=_2;
_2=undefined;
}
function _40(_41){
var _42={waitSeconds:60,baseUrl:"./",paths:{},pkgs:{},shim:{}},_43={},_44={},_45=[],_46={},_47={},_48=1,_49=1,_4a=[],_4b,_4c,_4d,_4e,_4f;
function _50(ary){
var i,_51;
for(i=0;ary[i];i+=1){
_51=ary[i];
if(_51==="."){
ary.splice(i,1);
i-=1;
}else{
if(_51===".."){
if(i===1&&(ary[2]===".."||ary[0]==="..")){
break;
}else{
if(i>0){
ary.splice(i-1,2);
i-=2;
}
}
}
}
}
};
function _52(_53,_54,_55){
var _56=_54&&_54.split("/"),map=_42.map,_57=map&&map["*"],_58,_59,_5a,_5b,i,j,_5c,_5d;
if(_53&&_53.charAt(0)==="."){
if(_54){
if(_42.pkgs[_54]){
_56=[_54];
}else{
_56=_56.slice(0,_56.length-1);
}
_53=_56.concat(_53.split("/"));
_50(_53);
_59=_42.pkgs[(_58=_53[0])];
_53=_53.join("/");
if(_59&&_53===_58+"/"+_59.main){
_53=_58;
}
}else{
if(_53.indexOf("./")===0){
_53=_53.substring(2);
}
}
}
if(_55&&(_56||_57)&&map){
_5b=_53.split("/");
for(i=_5b.length;i>0;i-=1){
_5c=_5b.slice(0,i).join("/");
if(_56){
for(j=_56.length;j>0;j-=1){
_5a=map[_56.slice(0,j).join("/")];
if(_5a){
_5a=_5a[_5c];
if(_5a){
_5d=_5a;
break;
}
}
}
}
if(!_5d&&_57&&_57[_5c]){
_5d=_57[_5c];
}
if(_5d){
_5b.splice(0,i,_5d);
_53=_5b.join("/");
break;
}
}
}
return _53;
};
function _5e(_5f){
if(_d){
_1e(_2f(),function(_60){
if(_60.getAttribute("data-requiremodule")===_5f&&_60.getAttribute("data-requirecontext")===_4d.contextName){
_60.parentNode.removeChild(_60);
return true;
}
});
}
};
function _61(id){
var _62=_42.paths[id];
if(_62&&_1d(_62)&&_62.length>1){
_5e(id);
_62.shift();
_4d.undef(id);
_4d.require([id]);
return true;
}
};
function _63(_64,_65,_66,_67){
var _68=_64?_64.indexOf("!"):-1,_69=null,_6a=_65?_65.name:null,_6b=_64,_6c=true,_6d="",url,_6e,_6f;
if(!_64){
_6c=false;
_64="_@r"+(_48+=1);
}
if(_68!==-1){
_69=_64.substring(0,_68);
_64=_64.substring(_68+1,_64.length);
}
if(_69){
_69=_52(_69,_6a,_67);
_6e=_46[_69];
}
if(_64){
if(_69){
if(_6e&&_6e.normalize){
_6d=_6e.normalize(_64,function(_70){
return _52(_70,_6a,_67);
});
}else{
_6d=_52(_64,_6a,_67);
}
}else{
_6d=_52(_64,_6a,_67);
url=_4d.nameToUrl(_64,null,_65);
}
}
_6f=_69&&!_6e&&!_66?"_unnormalized"+(_49+=1):"";
return {prefix:_69,name:_6d,parentMap:_65,unnormalized:!!_6f,url:url,originalName:_6b,isDefine:_6c,id:(_69?_69+"!"+_6d:_6d)+_6f};
};
function _71(_72){
var id=_72.id,mod=_43[id];
if(!mod){
mod=_43[id]=new _4d.Module(_72);
}
return mod;
};
function on(_73,_74,fn){
var id=_73.id,mod=_43[id];
if(_22(_46,id)&&(!mod||mod.defineEmitComplete)){
if(_74==="defined"){
fn(_46[id]);
}
}else{
_71(_73).on(_74,fn);
}
};
function _75(err,_76){
var ids=err.requireModules,_77=false;
if(_76){
_76(err);
}else{
_1e(ids,function(id){
var mod=_43[id];
if(mod){
mod.error=err;
if(mod.events.error){
_77=true;
mod.emit("error",err);
}
}
});
if(!_77){
req.onError(err);
}
}
};
function _78(){
if(_13.length){
_c.apply(_45,[_45.length-1,0].concat(_13));
_13=[];
}
};
function _79(mod,_7a,_7b){
var _7c=mod&&mod.map,_7d=_33(_7b||_4d.require,_7c,_7a);
_39(_7d,_4d,_7c);
_7d.isBrowser=_d;
return _7d;
};
_4e={"require":function(mod){
return _79(mod);
},"exports":function(mod){
mod.usingExports=true;
if(mod.map.isDefine){
return (mod.exports=_46[mod.map.id]={});
}
},"module":function(mod){
return (mod.module={id:mod.map.id,uri:mod.map.url,config:function(){
return (_42.config&&_42.config[mod.map.id])||{};
},exports:_46[mod.map.id]});
}};
function _7e(id){
delete _43[id];
_1e(_4a,function(mod,i){
if(mod.map.id===id){
_4a.splice(i,1);
if(!mod.defined){
_4d.waitCount-=1;
}
return true;
}
});
};
function _7f(mod,_80){
var id=mod.map.id,_81=mod.depMaps,_82;
if(!mod.inited){
return;
}
if(_80[id]){
return mod;
}
_80[id]=true;
_1e(_81,function(_83){
var _84=_83.id,_85=_43[_84];
if(!_85){
return;
}
if(!_85.inited||!_85.enabled){
_82=null;
delete _80[id];
return true;
}
return (_82=_7f(_85,_27({},_80)));
});
return _82;
};
function _86(mod,_87,_88){
var id=mod.map.id,_89=mod.depMaps;
if(!mod.inited||!mod.map.isDefine){
return;
}
if(_87[id]){
return _46[id];
}
_87[id]=mod;
_1e(_89,function(_8a){
var _8b=_8a.id,_8c=_43[_8b],_8d;
if(_4e[_8b]){
return;
}
if(_8c){
if(!_8c.inited||!_8c.enabled){
_88[id]=true;
return;
}
_8d=_86(_8c,_87,_88);
if(!_88[_8b]){
mod.defineDepById(_8b,_8d);
}
}
});
mod.check(true);
return _46[id];
};
function _8e(mod){
mod.check();
};
function _8f(){
var _90=_42.waitSeconds*1000,_91=_90&&(_4d.startTime+_90)<new Date().getTime(),_92=[],_93=false,_94=true,map,_95,err,_96;
if(_4b){
return;
}
_4b=true;
_24(_43,function(mod){
map=mod.map;
_95=map.id;
if(!mod.enabled){
return;
}
if(!mod.error){
if(!mod.inited&&_91){
if(_61(_95)){
_96=true;
_93=true;
}else{
_92.push(_95);
_5e(_95);
}
}else{
if(!mod.inited&&mod.fetched&&map.isDefine){
_93=true;
if(!map.prefix){
return (_94=false);
}
}
}
}
});
if(_91&&_92.length){
err=_3e("timeout","Load timeout for modules: "+_92,null,_92);
err.contextName=_4d.contextName;
return _75(err);
}
if(_94){
_1e(_4a,function(mod){
if(mod.defined){
return;
}
var _97=_7f(mod,{}),_98={};
if(_97){
_86(_97,_98,{});
_24(_98,_8e);
}
});
_24(_43,_8e);
}
if((!_91||_96)&&_93){
if((_d||_e)&&!_4f){
_4f=setTimeout(function(){
_4f=0;
_8f();
},50);
}
}
_4b=false;
};
_4c=function(map){
this.events=_44[map.id]||{};
this.map=map;
this.shim=_42.shim[map.id];
this.depExports=[];
this.depMaps=[];
this.depMatched=[];
this.pluginMaps={};
this.depCount=0;
};
_4c.prototype={init:function(_99,_9a,_9b,_9c){
_9c=_9c||{};
if(this.inited){
return;
}
this.factory=_9a;
if(_9b){
this.on("error",_9b);
}else{
if(this.events.error){
_9b=_2e(this,function(err){
this.emit("error",err);
});
}
}
this.depMaps=_99&&_99.slice(0);
this.depMaps.rjsSkipMap=_99.rjsSkipMap;
this.errback=_9b;
this.inited=true;
this.ignore=_9c.ignore;
if(_9c.enabled||this.enabled){
this.enable();
}else{
this.check();
}
},defineDepById:function(id,_9d){
var i;
_1e(this.depMaps,function(map,_9e){
if(map.id===id){
i=_9e;
return true;
}
});
return this.defineDep(i,_9d);
},defineDep:function(i,_9f){
if(!this.depMatched[i]){
this.depMatched[i]=true;
this.depCount-=1;
this.depExports[i]=_9f;
}
},fetch:function(){
if(this.fetched){
return;
}
this.fetched=true;
_4d.startTime=(new Date()).getTime();
var map=this.map;
if(this.shim){
_79(this,true)(this.shim.deps||[],_2e(this,function(){
return map.prefix?this.callPlugin():this.load();
}));
}else{
return map.prefix?this.callPlugin():this.load();
}
},load:function(){
var url=this.map.url;
if(!_47[url]){
_47[url]=true;
_4d.load(this.map.id,url);
}
},check:function(_a0){
if(!this.enabled||this.enabling){
return;
}
var id=this.map.id,_a1=this.depExports,_a2=this.exports,_a3=this.factory,err,_a4;
if(!this.inited){
this.fetch();
}else{
if(this.error){
this.emit("error",this.error);
}else{
if(!this.defining){
this.defining=true;
if(this.depCount<1&&!this.defined){
if(_1c(_a3)){
if(this.events.error){
try{
_a2=_4d.execCb(id,_a3,_a1,_a2);
}
catch(e){
err=e;
}
}else{
_a2=_4d.execCb(id,_a3,_a1,_a2);
}
if(this.map.isDefine){
_a4=this.module;
if(_a4&&_a4.exports!==undefined&&_a4.exports!==this.exports){
_a2=_a4.exports;
}else{
if(_a2===undefined&&this.usingExports){
_a2=this.exports;
}
}
}
if(err){
err.requireMap=this.map;
err.requireModules=[this.map.id];
err.requireType="define";
return _75((this.error=err));
}
}else{
_a2=_a3;
}
this.exports=_a2;
if(this.map.isDefine&&!this.ignore){
_46[id]=_a2;
if(req.onResourceLoad){
req.onResourceLoad(_4d,this.map,this.depMaps);
}
}
delete _43[id];
this.defined=true;
_4d.waitCount-=1;
if(_4d.waitCount===0){
_4a=[];
}
}
this.defining=false;
if(!_a0){
if(this.defined&&!this.defineEmitted){
this.defineEmitted=true;
this.emit("defined",this.exports);
this.defineEmitComplete=true;
}
}
}
}
}
},callPlugin:function(){
var map=this.map,id=map.id,_a5=_63(map.prefix,null,false,true);
on(_a5,"defined",_2e(this,function(_a6){
var _a7=this.map.name,_a8=this.map.parentMap?this.map.parentMap.name:null,_a9,_aa,_ab;
if(this.map.unnormalized){
if(_a6.normalize){
_a7=_a6.normalize(_a7,function(_ac){
return _52(_ac,_a8,true);
})||"";
}
_aa=_63(map.prefix+"!"+_a7,this.map.parentMap,false,true);
on(_aa,"defined",_2e(this,function(_ad){
this.init([],function(){
return _ad;
},null,{enabled:true,ignore:true});
}));
_ab=_43[_aa.id];
if(_ab){
if(this.events.error){
_ab.on("error",_2e(this,function(err){
this.emit("error",err);
}));
}
_ab.enable();
}
return;
}
_a9=_2e(this,function(_ae){
this.init([],function(){
return _ae;
},null,{enabled:true});
});
_a9.error=_2e(this,function(err){
this.inited=true;
this.error=err;
err.requireModules=[id];
_24(_43,function(mod){
if(mod.map.id.indexOf(id+"_unnormalized")===0){
_7e(mod.map.id);
}
});
_75(err);
});
_a9.fromText=function(_af,_b0){
var _b1=_14;
if(_b1){
_14=false;
}
_71(_63(_af));
req.exec(_b0);
if(_b1){
_14=true;
}
_4d.completeLoad(_af);
};
_a6.load(map.name,_79(map.parentMap,true,function(_b2,cb){
_b2.rjsSkipMap=true;
return _4d.require(_b2,cb);
}),_a9,_42);
}));
_4d.enable(_a5,this);
this.pluginMaps[_a5.id]=_a5;
},enable:function(){
this.enabled=true;
if(!this.waitPushed){
_4a.push(this);
_4d.waitCount+=1;
this.waitPushed=true;
}
this.enabling=true;
_1e(this.depMaps,_2e(this,function(_b3,i){
var id,mod,_b4;
if(typeof _b3==="string"){
_b3=_63(_b3,(this.map.isDefine?this.map:this.map.parentMap),false,!this.depMaps.rjsSkipMap);
this.depMaps[i]=_b3;
_b4=_4e[_b3.id];
if(_b4){
this.depExports[i]=_b4(this);
return;
}
this.depCount+=1;
on(_b3,"defined",_2e(this,function(_b5){
this.defineDep(i,_b5);
this.check();
}));
if(this.errback){
on(_b3,"error",this.errback);
}
}
id=_b3.id;
mod=_43[id];
if(!_4e[id]&&mod&&!mod.enabled){
_4d.enable(_b3,this);
}
}));
_24(this.pluginMaps,_2e(this,function(_b6){
var mod=_43[_b6.id];
if(mod&&!mod.enabled){
_4d.enable(_b6,this);
}
}));
this.enabling=false;
this.check();
},on:function(_b7,cb){
var cbs=this.events[_b7];
if(!cbs){
cbs=this.events[_b7]=[];
}
cbs.push(cb);
},emit:function(_b8,evt){
_1e(this.events[_b8],function(cb){
cb(evt);
});
if(_b8==="error"){
delete this.events[_b8];
}
}};
function _b9(_ba){
_71(_63(_ba[0],null,true)).init(_ba[1],_ba[2]);
};
function _bb(_bc,_bd,_be,_bf){
if(_bc.detachEvent&&!_11){
if(_bf){
_bc.detachEvent(_bf,_bd);
}
}else{
_bc.removeEventListener(_be,_bd,false);
}
};
function _c0(evt){
var _c1=evt.currentTarget||evt.srcElement;
_bb(_c1,_4d.onScriptLoad,"load","onreadystatechange");
_bb(_c1,_4d.onScriptError,"error");
return {node:_c1,id:_c1&&_c1.getAttribute("data-requiremodule")};
};
return (_4d={config:_42,contextName:_41,registry:_43,defined:_46,urlFetched:_47,waitCount:0,defQueue:_45,Module:_4c,makeModuleMap:_63,configure:function(cfg){
if(cfg.baseUrl){
if(cfg.baseUrl.charAt(cfg.baseUrl.length-1)!=="/"){
cfg.baseUrl+="/";
}
}
var _c2=_42.pkgs,_c3=_42.shim,_c4=_42.paths,map=_42.map;
_27(_42,cfg,true);
_42.paths=_27(_c4,cfg.paths,true);
if(cfg.map){
_42.map=_27(map||{},cfg.map,true,true);
}
if(cfg.shim){
_24(cfg.shim,function(_c5,id){
if(_1d(_c5)){
_c5={deps:_c5};
}
if(_c5.exports&&!_c5.exports.__buildReady){
_c5.exports=_4d.makeShimExports(_c5.exports);
}
_c3[id]=_c5;
});
_42.shim=_c3;
}
if(cfg.packages){
_1e(cfg.packages,function(_c6){
var _c7;
_c6=typeof _c6==="string"?{name:_c6}:_c6;
_c7=_c6.location;
_c2[_c6.name]={name:_c6.name,location:_c7||_c6.name,main:(_c6.main||"main").replace(_9,"").replace(_8,"")};
});
_42.pkgs=_c2;
}
_24(_43,function(mod,id){
mod.map=_63(id);
});
if(cfg.deps||cfg.callback){
_4d.require(cfg.deps||[],cfg.callback);
}
},makeShimExports:function(_c8){
var _c9;
if(typeof _c8==="string"){
_c9=function(){
return _30(_c8);
};
_c9.exports=_c8;
return _c9;
}else{
return function(){
return _c8.apply(_1,arguments);
};
}
},requireDefined:function(id,_ca){
return _22(_46,_63(id,_ca,false,true).id);
},requireSpecified:function(id,_cb){
id=_63(id,_cb,false,true).id;
return _22(_46,id)||_22(_43,id);
},require:function(_cc,_cd,_ce,_cf){
var _d0,id,map,_d1,_d2;
if(typeof _cc==="string"){
if(_1c(_cd)){
return _75(_3e("requireargs","Invalid require call"),_ce);
}
if(req.get){
return req.get(_4d,_cc,_cd);
}
_d0=_cc;
_cf=_cd;
map=_63(_d0,_cf,false,true);
id=map.id;
if(!_22(_46,id)){
return _75(_3e("notloaded","Module name \""+id+"\" has not been loaded yet for context: "+_41));
}
return _46[id];
}
if(_ce&&!_1c(_ce)){
_cf=_ce;
_ce=undefined;
}
if(_cd&&!_1c(_cd)){
_cf=_cd;
_cd=undefined;
}
_78();
while(_45.length){
_d2=_45.shift();
if(_d2[0]===null){
return _75(_3e("mismatch","Mismatched anonymous define() module: "+_d2[_d2.length-1]));
}else{
_b9(_d2);
}
}
_d1=_71(_63(null,_cf));
_d1.init(_cc,_cd,_ce,{enabled:true});
_8f();
return _4d.require;
},undef:function(id){
var map=_63(id,null,true),mod=_43[id];
delete _46[id];
delete _47[map.url];
delete _44[id];
if(mod){
if(mod.events.defined){
_44[id]=mod.events;
}
_7e(id);
}
},enable:function(_d3,_d4){
var mod=_43[_d3.id];
if(mod){
_71(_d3).enable();
}
},completeLoad:function(_d5){
var _d6=_42.shim[_d5]||{},_d7=_d6.exports&&_d6.exports.exports,_d8,_d9,mod;
_78();
while(_45.length){
_d9=_45.shift();
if(_d9[0]===null){
_d9[0]=_d5;
if(_d8){
break;
}
_d8=true;
}else{
if(_d9[0]===_d5){
_d8=true;
}
}
_b9(_d9);
}
mod=_43[_d5];
if(!_d8&&!_46[_d5]&&mod&&!mod.inited){
if(_42.enforceDefine&&(!_d7||!_30(_d7))){
if(_61(_d5)){
return;
}else{
return _75(_3e("nodefine","No define call for "+_d5,null,[_d5]));
}
}else{
_b9([_d5,(_d6.deps||[]),_d6.exports]);
}
}
_8f();
},toUrl:function(_da,_db){
var _dc=_da.lastIndexOf("."),ext=null;
if(_dc!==-1){
ext=_da.substring(_dc,_da.length);
_da=_da.substring(0,_dc);
}
return _4d.nameToUrl(_da,ext,_db);
},nameToUrl:function(_dd,ext,_de){
var _df,_e0,pkg,_e1,_e2,i,_e3,url,_e4;
_dd=_52(_dd,_de&&_de.id,true);
if(req.jsExtRegExp.test(_dd)){
url=_dd+(ext||"");
}else{
_df=_42.paths;
_e0=_42.pkgs;
_e2=_dd.split("/");
for(i=_e2.length;i>0;i-=1){
_e3=_e2.slice(0,i).join("/");
pkg=_e0[_e3];
_e4=_df[_e3];
if(_e4){
if(_1d(_e4)){
_e4=_e4[0];
}
_e2.splice(0,i,_e4);
break;
}else{
if(pkg){
if(_dd===pkg.name){
_e1=pkg.location+"/"+pkg.main;
}else{
_e1=pkg.location;
}
_e2.splice(0,i,_e1);
break;
}
}
}
url=_e2.join("/")+(ext||".js");
url=(url.charAt(0)==="/"||url.match(/^[\w\+\.\-]+:/)?"":_42.baseUrl)+url;
}
return _42.urlArgs?url+((url.indexOf("?")===-1?"?":"&")+_42.urlArgs):url;
},load:function(id,url){
req.load(_4d,id,url);
},execCb:function(_e5,_e6,_e7,_e8){
return _e6.apply(_e8,_e7);
},onScriptLoad:function(evt){
if(evt.type==="load"||(_f.test((evt.currentTarget||evt.srcElement).readyState))){
_18=null;
var _e9=_c0(evt);
_4d.completeLoad(_e9.id);
}
},onScriptError:function(evt){
var _ea=_c0(evt);
if(!_61(_ea.id)){
return _75(_3e("scripterror","Script error",evt,[_ea.id]));
}
}});
};
req=_4=function(_eb,_ec,_ed,_ee){
var _ef=_10,_f0,_f1;
if(!_1d(_eb)&&typeof _eb!=="string"){
_f1=_eb;
if(_1d(_ec)){
_eb=_ec;
_ec=_ed;
_ed=_ee;
}else{
_eb=[];
}
}
if(_f1&&_f1.context){
_ef=_f1.context;
}
_f0=_12[_ef];
if(!_f0){
_f0=_12[_ef]=req.s.newContext(_ef);
}
if(_f1){
_f0.configure(_f1);
}
return _f0.require(_eb,_ec,_ed);
};
req.config=function(_f2){
return req(_f2);
};
if(!_2){
_2=req;
}
req.version=_5;
req.jsExtRegExp=/^\/|:|\?|\.js$/;
req.isBrowser=_d;
s=req.s={contexts:_12,newContext:_40};
req({});
_39(req);
if(_d){
_15=s.head=document.getElementsByTagName("head")[0];
_16=document.getElementsByTagName("base")[0];
if(_16){
_15=s.head=_16.parentNode;
}
}
req.onError=function(err){
throw err;
};
req.load=function(_f3,_f4,url){
var _f5=(_f3&&_f3.config)||{},_f6;
if(_d){
_f6=_f5.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");
_f6.type=_f5.scriptType||"text/javascript";
_f6.charset="utf-8";
_f6.setAttribute("data-requirecontext",_f3.contextName);
_f6.setAttribute("data-requiremodule",_f4);
if(_f6.attachEvent&&!(_f6.attachEvent.toString&&_f6.attachEvent.toString().indexOf("[native code")<0)&&!_11){
_14=true;
_f6.attachEvent("onreadystatechange",_f3.onScriptLoad);
}else{
_f6.addEventListener("load",_f3.onScriptLoad,false);
_f6.addEventListener("error",_f3.onScriptError,false);
}
_f6.src=url;
_19=_f6;
if(_16){
_15.insertBefore(_f6,_16);
}else{
_15.appendChild(_f6);
}
_19=null;
return _f6;
}else{
if(_e){
importScripts(url);
_f3.completeLoad(_f4);
}
}
};
function _f7(){
if(_18&&_18.readyState==="interactive"){
return _18;
}
_20(_2f(),function(_f8){
if(_f8.readyState==="interactive"){
return (_18=_f8);
}
});
return _18;
};
if(_d){
_20(_2f(),function(_f9){
if(!_15){
_15=_f9.parentNode;
}
_17=_f9.getAttribute("data-main");
if(_17){
src=_17.split("/");
_1a=src.pop();
_1b=src.length?src.join("/")+"/":"./";
if(!cfg.baseUrl){
cfg.baseUrl=_1b;
}
_17=_1a.replace(_8,"");
cfg.deps=cfg.deps?cfg.deps.concat(_17):[_17];
return true;
}
});
}
_3=function(_fa,_fb,_fc){
var _fd,_fe;
if(typeof _fa!=="string"){
_fc=_fb;
_fb=_fa;
_fa=null;
}
if(!_1d(_fb)){
_fc=_fb;
_fb=[];
}
if(!_fb.length&&_1c(_fc)){
if(_fc.length){
_fc.toString().replace(_6,"").replace(_7,function(_ff,dep){
_fb.push(dep);
});
_fb=(_fc.length===1?["require"]:["require","exports","module"]).concat(_fb);
}
}
if(_14){
_fd=_19||_f7();
if(_fd){
if(!_fa){
_fa=_fd.getAttribute("data-requiremodule");
}
_fe=_12[_fd.getAttribute("data-requirecontext")];
}
}
(_fe?_fe.defQueue:_13).push([_fa,_fb,_fc]);
};
_3.amd={jQuery:true};
req.exec=function(text){
return eval(text);
};
req(cfg);
return {require:_2,requirejs:_4,define:_3};
})(dojo.global);
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.container._Accessor"]){
dojo._hasResource["com.ibm.lconn.gadget.container._Accessor"]=true;
dojo.provide("com.ibm.lconn.gadget.container._Accessor");
dojo.require("com.ibm.lconn.gadget.container.Accessor");
dojo.require("com.ibm.lconn.gadget.container.Topics");
dojo.require("com.ibm.lconn.gadget.resources.iRuntimeModule");
dojo.require("com.ibm.lconn.gadget.services.viewModifications");
dojo.require("com.ibm.lconn.gadget.services.lifecycleModifications");
dojo.require("com.ibm.lconn.gadget.services.set_title");
dojo.require("com.ibm.lconn.gadget.services.oauthPopupDialog");
dojo.require("com.ibm.lconn.gadget.services.sso_reauth_callback");
dojo.require("com.ibm.lconn.gadget.services.fake_handleRpcMethod");
dojo.require("com.ibm.lconn.gadget.services.tokenRefreshService");
dojo.require("com.ibm.lconn.gadget.services.urlSecurityService");
dojo.require("com.ibm.lconn.gadget.container.ICActions");
dojo.require("com.ibm.lconn.gadget.services.ICActionsContainer");
dojo.require("com.ibm.lconn.gadget.config.settings");
dojo.require("com.ibm.lconn.gadget.util.trace");
dojo.require("lconn.core.config");
dojo.require("lconn.core.config.services");
dojo.require("lconn.core.util.LCDeferred");
dojo.require("lconn.core.util.LCDeferredList");
dojo.require("lconn.core.util.amdLoader");
dojo.require("lconn.core.url");
dojo.require("com.ibm.oneui.util.proxy");
dojo.require("dojo.cookie");
(function init_com_ibm_lconn_gadget_container__Accessor(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b){
var _c=null;
var _d=lconn.core.util.amdLoader.require;
var _e=_7.security;
var _f="X-IC-Preload";
var _10=(function(){
var _11=navigator.appName;
var _12=navigator.userAgent.indexOf("Safari");
return (_12!==-1||_11==="Safari");
})();
var _13=_1.global.location;
var _14=(_1.config.locale||""),_15=_14.substr(0,Math.min(_14.length,2)),_16=_14.substr(Math.min(_14.length,3),Math.min(_14.length,5));
var _17=(function(){
var _18={"pt":"br","zh":"tw"};
var _19={"zh":"zh-cn","he":"iw","nb":"no"};
var _1a=_15;
if(_18[_15]&&_18[_15]==_16){
_1a=_1a+"-"+_16;
}
_1a=_19[_1a]||_1a;
if(!_1a){
_1a="en";
}
return _1a;
})();
var _1b=_4.opensocial,_1c=_2.parse(_13.toString(),_1b?_9(_2.getServiceUrl(_1b).toString()):"");
if(!_1.config.blankGif){
(function configBlankGif_(){
var _1d=_4.webresources,_1e=_2.parse(_13.toString(),_9(_2.getServiceUrl(_1d).toString()));
_1.config.blankGif=_1e.toString()+"/web/com.ibm.lconn.core.styles.oneui3/images/blank.gif";
})();
}
function _1f(){
var _20=new _5();
var _21=_3.versionStamp||"";
var _22=(_17&&_17!=="")?"cre.messages."+_17+":":"",_23="&_ic_versionStamp="+_21,_24=(_1.config.isDebug?"&debug=1&noCache=1":_23),_25=_1c.toString()+"/gadgets/js/cre.iruntime:cre.iwidget.event:cre.wire:cre.iwidget:cre.iwidget.itemset:"+"cre.util.stringify:cre.service.event:cre.osgadget:"+_22+"core:container:rpc:pubsub-2:views:embedded-experiences:open-views:selection:inline:actions:viewenhancements:shared-script-frame:"+"cre.service.people:ibm.connections.sharedialog:com.ibm.connections.sharedialog:"+"com.ibm.connections.ee:ibm.connections.ee:container.nongadget:"+"open-views.js?c=1"+_24;
if(!_1.global.cre$){
_8.debug("_Accessor.loadCreJs_ loading CRE JS from: "+_25);
_d([_25],function(){
_8.debug("_Accessor.loadCreJs_ SUCCESS: Load CRE JS");
_20.resolve();
_8.debug("_Accessor.__instance__ Exit load");
},function(_26){
_8.error("_Accessor.loadCreJs_ ERROR: "+_26);
_20.errback(_26);
});
}else{
_8.debug("_Accessor.loadCreJs_ SUCCESS: Load CRE JS via JS Bridge");
_20.resolve();
}
return _20;
};
function _27(_28){
var loc=_13;
cre$.config.SCHEME=loc.protocol.substring(0,loc.protocol.length-1);
cre$.config.HOST=loc.hostname;
cre$.config.PORT=(loc.port&&loc.port!=="")?loc.port:"";
cre$.config.CONTEXT_ROOT=_1c.path;
cre$.config.locales=[_17];
cre$.config.MAX_TOKEN_TTL=_e.gadgetTokenTTLSec;
};
function _29(_2a){
var cc={},CC=osapi.container.ContainerConfig;
cc[osapi.container.ServiceConfig.API_HOST]=[_1c.scheme,"://",_1c.authority].join("");
cc[osapi.container.ServiceConfig.API_PATH]=_1c.path+"/rpc";
cc[CC.TOKEN_REFRESH_INTERVAL]=_e.gadgetTokenTTLSec*1000;
cc[CC.GET_CONTAINER_TOKEN]=_b.getTokenRefresher();
cc[CC.GET_LANGUAGE]=function(){
return _15;
};
cc[CC.GET_COUNTRY]=function(){
return _16;
};
cc[CC.SET_PREFERENCES]=function(_2b,_2c,_2d){
var _2e=_a.getSiteTopic(_2c,_a.GadgetWindow.SET_PREFS);
_1.publish(_2e,[{"siteId":_2b,"gadgetUrl":_2c,"preferences":_2d}]);
};
if(_1.config.isDebug){
cc[CC.RENDER_DEBUG]=true;
cc[CC.RENDER_TEST]=true;
}
return cc;
};
function _2f(_30){
com.ibm.lconn.gadget.services.viewModifications.registerService(_30);
com.ibm.lconn.gadget.services.set_title.registerService(_30);
com.ibm.lconn.gadget.services.lifecycleModifications.registerService(_30);
com.ibm.lconn.gadget.services.oauthPopupDialog.registerService(_30);
com.ibm.lconn.gadget.services.sso_reauth_callback.registerService(_30);
com.ibm.lconn.gadget.services.fake_handleRpcMethod.registerService(_30);
_b.registerService(_30);
com.ibm.lconn.gadget.container.ICActions.__instance__().registerService(_30);
com.ibm.lconn.gadget.services.urlSecurityService.registerService(_30);
};
var _31=_1.declare("",[com.ibm.lconn.gadget.container.Accessor],{_commonContainerPromise:null,_iRuntimePromise:null,constructor:function(_32,_33){
_8.entering("com.ibm.lconn.gadget.container._Accessor.prototype","constructor",arguments);
this._commonContainerPromise=new _5();
this._iRuntimePromise=new _5();
_32.then(_1.hitch(this,"_loadComplete",_33),_1.hitch(this,"_loadError"));
_8.exiting("com.ibm.lconn.gadget.container._Accessor.prototype","constructor",arguments);
},getCommonContainer:function(){
return this._commonContainerPromise;
},getIRuntime:function(){
return this._iRuntimePromise;
},fakeOpen:function(){
var _34={"id":"0",eventType:"PRELOAD"};
var _35=_4.webresources,_36=_2.parse(_13.toString(),_9(_2.getServiceUrl(_35).toString()));
var _37=_36.toString();
var _38=_37+"/web/com.ibm.social.ee/ConnectionsEE.xml";
var c=document.getElementsByTagName("body")[0];
var div=_1.create("div",{id:dijit.getUniqueId("fake")},c);
div.display="none";
var def=[{definitionUrl:_38,placement:_1.attr(div,"id"),componentType:"gadget",instanceData:{renderParams:{},eeDataModel:{context:_34}}}];
if(cre$&&cre$.iRuntime){
cre$.iRuntime.loadWidgets(def).then(function(){
_1.cookie(_f,"true",{path:"/"});
},function(_39){
_8.error("_Accessor.fakeOpen ERROR: "+_39);
});
}
},_loadComplete:function(_3a,_3b){
_8.entering("com.ibm.lconn.gadget.container._Accessor.prototype","_loadComplete");
var _3c=_3b[0][1];
_27(_3a);
var _3d=_29(_3a),_3e=new osapi.container.Container(_3d);
_1.global.__CONTAINER="default";
_2f(_3e);
cre$.internalutil.setCREContainerToken(_3c.creToken);
_3e.updateContainerSecurityToken(null,cre$.internalutil.getCREContainerToken().token,_e.containerTokenCheckSec);
cre$.iRuntime.setCommonContainer(_3e,{configSecurityToken:false,configInlineOAH:true});
this._commonContainerPromise.resolve(_3e);
this._iRuntimePromise.resolve(cre$.iRuntime);
if((_e.preloadJS)||(_10&&(_e.preloadJSSafari))){
var _3f=this.getCookieVals_(_f);
if(!_3f||(!_3f.length>0)){
this.fakeOpen();
}
}
_8.exiting("com.ibm.lconn.gadget.container._Accessor.prototype","_loadComplete");
},getCookieVals_:function(_40){
var c=document.cookie,_41="(?:^|; )"+_1.regexp.escapeString(_40)+"=([^;]*)",_42,_43=new RegExp(_41),res,_44=[],i;
_42=c.match(new RegExp(_41,"g"));
if(_42&&_42.length>0){
i=_42.length;
while(i--){
res=_42[i];
_44.push(decodeURIComponent(res.match(_43)[1]));
}
}
return _44;
},_loadError:function(_45){
_8.error("_Accessor.prototype._loadError called.",_45);
this._commonContainerPromise.errback(_45);
this._iRuntimePromise.errback(_45);
}});
_1.mixin(com.ibm.lconn.gadget.container.Accessor,{__instance__:function(_46){
_8.entering("com.ibm.lconn.gadget.container._Accessor","__instance__");
if(_c===null){
var _47=_1f(),_48=_b.getContainerToken();
_c=new _31(new _6([_48,_47]),_46);
}else{
_8.debug("_Accessor.__instance__ Already called, skipping re-init");
}
_8.exiting("com.ibm.lconn.gadget.container._Accessor","__instance__");
return _c;
}});
})(dojo,lconn.core.url,lconn.core.config,lconn.core.config.services,lconn.core.util.LCDeferred,lconn.core.util.LCDeferredList,com.ibm.lconn.gadget.config.settings,com.ibm.lconn.gadget.util.trace,com.ibm.oneui.util.proxy,com.ibm.lconn.gadget.container.Topics,com.ibm.lconn.gadget.services.tokenRefreshService);
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.container.Container"]){
dojo._hasResource["com.ibm.lconn.gadget.container.Container"]=true;
dojo.provide("com.ibm.lconn.gadget.container.Container");
dojo.require("com.ibm.lconn.gadget.container.Accessor");
dojo.require("com.ibm.lconn.gadget.container.Handle");
dojo.declare("com.ibm.lconn.gadget.container.Container",null,{loadWidget:function(_1){
},preloadWidgets:function(_2){
},loadWidgets:function(_3){
},getGadgetInfo:function(_4){
}});
com.ibm.lconn.gadget.container.Container.__instance__=com.ibm.lconn.gadget.container.Container.__instance__||function(_5){
};
com.ibm.lconn.gadget.container.Container.RenderParam={TEST_MODE:"testmode"};
}


;if(!dojo._hasResource["lconn.core.util.promises"]){
dojo._hasResource["lconn.core.util.promises"]=true;
dojo.provide("lconn.core.util.promises");
dojo.require("lconn.core.util.LCDeferred");
dojo.require("lconn.core.util.LCDeferredList");
(function(_1,d,_2,_3){
_1.iFaceClass=d.declare("",null,{then:function(){
},cancel:function(){
}});
_1.isPromiseLike=function(_4){
if(_4&&(_4.then&&d.isFunction(_4.then))){
return true;
}else{
return false;
}
};
_1.deferredToPromise=function(_5){
if(_1.isPromiseLike(_5)){
return _5;
}else{
var p=new _2();
_5.addCallback(p,"callback");
_5.addErrback(p,"errback");
return p;
}
};
})(lconn.core.util.promises,dojo,lconn.core.util.LCDeferred,lconn.core.util.LCDeferredList);
}


;if(!dojo._hasResource["lconn.core.util.LCChainedDeferred"]){
dojo._hasResource["lconn.core.util.LCChainedDeferred"]=true;
dojo.provide("lconn.core.util.LCChainedDeferred");
dojo.require("lconn.core.util.LCDeferred");
dojo.require("lconn.core.util.promises");
(function(d,_1,_2){
d.declare("lconn.core.util.LCChainedDeferred",_1.iFaceClass,{_promiseChain:null,_deferred:null,_errored:false,constructor:function(_3){
this._deferred=new _2();
this._promiseChain=_3;
this._hitch();
},then:function(cb,_4){
return this._deferred.then(cb,_4);
},cancel:function(){
if(this._promiseChain.cancel){
return this._promiseChain.cancel.apply(this._promiseChain,arguments);
}else{
this._errback.apply(this,arguments);
}
},_errback:function(){
this._errored=true;
var _5=this._deferred;
_5.errback.apply(_5.errback,arguments);
},_callback:function(_6){
if(!this._errored){
if(_1.isPromiseLike(_6)){
this._promiseChain=_6;
this._hitch();
}else{
this._deferred.callback(_6);
}
}
},_hitch:function(){
this._promiseChain.then(dojo.hitch(this,"_callback"),dojo.hitch(this,"_errback"));
}});
})(dojo,lconn.core.util.promises,lconn.core.util.LCDeferred);
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.container._Handle"]){
dojo._hasResource["com.ibm.lconn.gadget.container._Handle"]=true;
dojo.provide("com.ibm.lconn.gadget.container._Handle");
dojo.require("com.ibm.lconn.gadget.container.Accessor");
dojo.require("com.ibm.lconn.gadget.container.Handle");
dojo.require("com.ibm.lconn.gadget.util.trace");
dojo.require("com.ibm.lconn.gadget.util.specHelper");
dojo.require("lconn.core.util.LCChainedDeferred");
dojo.require("lconn.core.util.LCDeferred");
(function(_1,_2,_3,_4,_5,_6){
function _7(_8){
if(_8){
if(_1.isString(_8)){
return _8;
}else{
return _1.attr(_8,"id");
}
}
return null;
};
var _9=_1.declare("",_2,{_accessor:null,_widgetSpec:null,_promise:null,_state:_2.UNLOADED,_originalPlacement:null,constructor:function(_a,_b,_c){
this._accessor=_a;
this._widgetSpec=_b;
this._originalPlacement=this._widgetSpec.placement;
if(_c){
this._state=_2.LOADING;
this._promise=_c;
_c.then(_1.hitch(this,"_loaded"),_1.hitch(this,this._failLoad));
}
},load:function(){
if(this._state===_2.UNLOADED){
this._state=_2.LOADING;
this._widgetSpec.placement=this._originalPlacement;
this._promise=this._withRuntime(_1.hitch(this,"_loading"),_1.hitch(this,"_failLoad"));
}
},_loading:function(_d){
alert("UNIMPLEMENTED: _loading()");
},_loaded:function(_e){
alert("UNIMPLEMENTED: _loaded()");
},_failLoad:function(){
this._state=_2.ERROR;
_3.error("_WidgetHandleBase - "+this._widgetSpec.componentType+" failed to load (%o): ",this._widgetSpec.definitionUrl);
this._widgetSpec.instanceData.errback.apply(null,arguments);
},unload:function(){
var _f=this._state;
if(_f===_2.LOADING||_f===_2.LOADED){
this._promise.then(_1.hitch(this,"_unload"),_1.hitch(this,"_failUnload"));
}
},_unload:function(_10){
alert("UNIMPLEMENTED: _unload()");
},_failUnload:function(){
this._state=_2.ERROR;
_3.error("_WidgetHandleBase - "+this._widgetSpec.componentType+" failed to load (%o): ",this._widgetSpec.definitionUrl);
},getState:function(){
return this._state;
},open:function(){
_3.log("open() is deprecated, use load() method instead.");
this.load();
},close:function(){
_3.log("close() is deprecated, use unload() method instead.");
this.unload();
}});
var _11=_1.declare("",[_9],{_widgetId:null,_loading:function(_12){
return _12.loadWidgets([_4.cloneSpec(this._widgetSpec)]).then(_1.hitch(this,"_loaded",_12),_1.hitch(this,"_failLoad"));
},_loaded:function(_13){
_3.debug("_WidgetHandleImpl - %s loaded successfully: %o",this._widgetSpec.componentType,this._widgetSpec.definitionUrl);
var _14=_7(this._widgetSpec.placement);
this._widgetId=_13.getWidgetIdByDomId(_14);
if(this._widgetId==null){
this._widgetId=this._originalPlacement;
}
this._state=_2.LOADED;
return _13;
},_unload:function(_15){
var wid=this._widgetId;
if(this._widgetId){
if(this._widgetSpec.componentType=="gadget"){
wid=_15.getWidgetIdByDomId(wid);
}
_15.unLoadWidgets([wid]);
this._widgetId=null;
this._promise=null;
this._state=_2.UNLOADED;
}
},getWidgetInfo:function(){
var _16=this._state,_17=this;
if(_16===_2.LOADING||_16===_2.LOADED){
return this._promise.then(function(_18){
return _18.getWidgetById(_17._widgetId);
});
}else{
var _19="Unable to call getWidgetInfo() when widget handle is not in loaded state.  State of handle is:  "+this._state;
_3.debug(_19);
var _1a=new _6();
_1a.reject(_19);
return (_1a);
}
},_withRuntime:function(_1b,_1c){
return new _5(this._accessor.getIRuntime().then(_1b,_1c));
}});
var _1d=_1.declare("",[_9],{_gadgetSite:null,_withRuntime:function(_1e,_1f){
return new _5(this._accessor.getCommonContainer().then(_1e,_1f));
},_execCallback:function(){
try{
var _20=this._widgetSpec.instanceData||{},_21=_20.callback;
if(_21){
if(_1.isString(_21)){
_21=_1.global[_21];
if(_21){
_21();
}
}else{
_21();
}
}
}
catch(e){
}
}});
var _22=_1.declare("",[_1d],{_placement:null,_loading:function(cc){
var _23=this._widgetSpec,_24=_23.instanceData||{},_25=_24.renderParams||{},_26=_24.viewParams||{},_27=new _6();
this._placement=_23.placement;
var _28=this._gadgetSite||(this._gadgetSite=cc.newGadgetSite(_1.byId(_23.placement)));
var _29=_4.isInlineGadget(_23),_2a=(_29?cc.inline:cc);
if(!_25[osapi.container.RenderParam.VIEW]){
_25[osapi.container.RenderParam.VIEW]="home";
}
_2a.navigateGadget(_28,_23.definitionUrl,_26,_25,_1.hitch(this,"_loaded",cc,_27));
return _27;
},_loaded:function(cc,_2b,_2c){
if(_2c.error){
_2b.errback(_2c.error);
this._failLoad(_2c.error);
}else{
this._state=_2.LOADED;
_2b.callback(cc);
this._execCallback(_2c);
}
},_unload:function(cc){
cc.closeGadget(this._gadgetSite);
if(this._placement!=null){
this._widgetSpec.placement=this._placement;
}
this._gadgetSite=null;
this._state=_2.UNLOADED;
return null;
}});
var _2d=_1.declare("",[_1d],{_loading:function(cc){
var _2e=this._widgetSpec,_2f=_2e.instanceData||{},_30={},_31=_2f.eeDataModel||{},_32=new _6();
var _33=osapi.container.ee.RenderParam;
if(_2e.definitionUrl){
_30[_33.GADGET_RENDER_PARAMS]=_2f.renderParams||{};
_30[_33.GADGET_VIEW_PARAMS]=_2f.viewParams||{};
_31.gadget=_2e.definitionUrl;
}else{
_30[_33.URL_RENDER_PARAMS]=_2f.renderParams||{};
}
cc.ee.navigate(_1.byId(_2e.placement),_31,_30,_1.hitch(this,"_loaded",cc,_32));
return _32;
},_loaded:function(cc,_34,_35,_36){
if(_36&&_36.error){
_34.errback(_36.error);
this._failLoad(_36.error);
}else{
this._state=_2.LOADED;
this._gadgetSite=_35;
_34.callback(cc);
this._execCallback(_36);
}
},_unload:function(cc){
cc.ee.close(this._gadgetSite);
this._gadgetSite=null;
this._state=_2.UNLOADED;
return null;
}});
_2.__factory__=function(_37,_38,_39){
if(_4.isInlineEE(_38)){
throw "Inline EE gadgets are not permitted. Attempted to load: ";
}
if(!_39&&_4.isGadget(_38)){
if(_4.isEEGadget(_38)){
return new _2d(_37,_38);
}else{
return new _22(_37,_38);
}
}else{
return new _11(_37,_38,_39);
}
};
})(dojo,com.ibm.lconn.gadget.container.Handle,com.ibm.lconn.gadget.util.trace,com.ibm.lconn.gadget.util.specHelper,lconn.core.util.LCChainedDeferred,lconn.core.util.LCDeferred);
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.container._Container"]){
dojo._hasResource["com.ibm.lconn.gadget.container._Container"]=true;
dojo.provide("com.ibm.lconn.gadget.container._Container");
dojo.require("com.ibm.lconn.gadget.container.Container");
dojo.require("com.ibm.lconn.gadget.container.Accessor");
dojo.require("com.ibm.lconn.gadget.container.Handle");
dojo.require("com.ibm.lconn.gadget.container._Handle");
dojo.require("com.ibm.lconn.gadget.services.people_container");
dojo.require("com.ibm.lconn.gadget.util.trace");
dojo.require("com.ibm.lconn.gadget.util.specHelper");
dojo.require("lconn.core.util.LCChainedDeferred");
dojo.require("lconn.core.util.LCDeferred");
dojo.require("lconn.core.util.promises");
(function init_com_ibm_lconn_gadget_container_Container(_1,_2,_3){
var _4=null,_5=_2.normalizeWidgetSpec,_6=_2.cloneSpec;
var _7=dojo.declare("",com.ibm.lconn.gadget.container.Container,{_accessor:null,constructor:function(_8){
this._accessor=_8;
},loadWidgets:function(_9){
_1.debug("Container's loadWidgets called");
var _a=this._accessor;
if(_9&&dojo.isArray(_9)){
var _b=_9.length,_c=null;
var _d=[];
var _e=[];
var _f=[];
while(_b--){
_d[_b]=_6(_5(_9[_b]));
_1.debug("_CONTAINER 1 widgetSpecs[idx].placement:  ",_9[_b].placement);
}
function _10(_11,_12){
dojo.forEach(_12,function(_13,i){
var _14=_f[_13.widgetObject.domId];
if(_13.isError()){
var err=_13.getError();
_1.error("Error (",_13.getError().message,") while loading widget: ",_13);
_14.errback(_13.getError());
}else{
_14.callback(_11);
}
});
};
function _15(_16){
_1.error("Error while loading widgets: ",_9);
dojo.forEach(_16,function(_17,i){
var _18=_f[i];
_18.errback(_16);
});
};
function _19(_1a){
if(dojo.isString(_1a)){
return _1a;
}
return _1a.id;
};
dojo.forEach(_9,function(_1b){
var _1c=new lconn.core.util.LCDeferred();
_f[_19(_1b.placement)]=_1c;
_e.push(_3.__factory__(_a,_1b,_1c));
});
_a.getIRuntime().then(function(_1d){
var _1e=dojo.hitch(null,_10,_1d);
_1d.loadWidgets(_d).then(_1e,_1e);
},_15);
return _e;
}else{
throw ("parameter must be an array: "+_9);
}
},loadWidget:function(_1f){
var _20=null;
_5(_1f);
_20=_3.__factory__(this._accessor,_1f);
_20.open();
return _20;
},preloadWidgets:function(_21){
if(_21&&dojo.isArray(_21)){
var idx=_21.length,_22=null;
while(idx--){
_5(_21[idx]);
}
return new lconn.core.util.LCChainedDeferred(this._accessor.getIRuntime().then(function(_23){
return _23.preloadWidgets(_21);
},function(_24){
_1.error("Error (",_24,") while preloading widgets: ",_21);
}));
}else{
var _22=new lconn.core.util.LCDeferred();
_22.errback("WidgetSpecs is undefined or a non-array type.");
return _22;
}
},getGadgetInfo:function(url){
var _25=new lconn.core.util.LCDeferred();
return new lconn.core.util.LCChainedDeferred(this._accessor.getCommonContainer().then(dojo.hitch(this,function(cc){
cc.preloadGadget(url,dojo.hitch(this,this._cb,_25,url));
return (_25);
}),dojo.hitch(this,function(_26){
_1.error("Error (",_26,") while getting gadget metadata:  ",url);
_25.resolve(null);
})));
},_cb:function(_27,url,_28){
if(_27!=null){
_27.resolve(_28[url]);
}else{
_1.error("Error while getting gadget metadata");
_27.resolve(null);
}
}});
dojo.mixin(com.ibm.lconn.gadget.container.Container,{__instance__:function(_29){
if(!_4){
_4=new _7(_29);
}
return _4;
}});
})(com.ibm.lconn.gadget.util.trace,com.ibm.lconn.gadget.util.specHelper,com.ibm.lconn.gadget.container.Handle);
}


;if(!dojo._hasResource["com.ibm.lconn.gadget.container.iContainer2"]){
dojo._hasResource["com.ibm.lconn.gadget.container.iContainer2"]=true;
dojo.provide("com.ibm.lconn.gadget.container.iContainer2");
dojo.require("com.ibm.lconn.gadget.container.Accessor");
dojo.require("com.ibm.lconn.gadget.container._Accessor");
dojo.require("com.ibm.lconn.gadget.container.Container");
dojo.require("com.ibm.lconn.gadget.container._Container");
dojo.require("com.ibm.lconn.gadget.container.Views");
dojo.require("com.ibm.lconn.gadget.container.ICActions");
dojo.require("com.ibm.lconn.gadget.services.ICActionsContainer");
dojo.require("com.ibm.lconn.gadget.services.ViewContainer");
dojo.require("com.ibm.lconn.gadget.util.trace");
(function init_com_ibm_lconn_gadget_container_iContainer2(){
var _1=com.ibm.lconn.gadget.container.iContainer2,_2=com.ibm.lconn.gadget.container.Container,_3=com.ibm.lconn.gadget.container.Accessor,_4=null,_5=null,_6=com.ibm.lconn.gadget.util.trace,_7=null,_8=new (dojo.declare("",null,{constructor:function(){
}}))();
_7=function(_9,_a){
var _b,_c,_d=_1;
for(_c in _9){
_c=_9[_c];
for(_b in _c){
if(!_8[_b]&&dojo.isFunction(_c[_b])){
_d[_b]=_a(_b);
}
}
}
};
_7([_3.prototype,_2.prototype],function(_e){
return function(){
var _f=arguments,_10=_1.init();
return _10[_e].apply(null,_f);
};
});
dojo.mixin(_1,{init:function(_11){
_6.entering("com.ibm.lconn.gadget.container.iContainer","init",_11);
_4=_3.__instance__(_11);
_5=_2.__instance__(_4);
_6.debug("Accessor: "+_4);
_6.debug("Container: "+_5);
_1.init=function(){
return _1;
};
_7([_3.prototype],function(_12){
return dojo.hitch(_4,_12);
});
_7([_2.prototype],function(_13){
return dojo.hitch(_5,_13);
});
_6.exiting("com.ibm.lconn.gadget.container.iContainer","init",_11);
return _1;
},views:com.ibm.lconn.gadget.container.Views.__instance__(),ICactions:com.ibm.lconn.gadget.container.ICActions.__instance__()});
if(dojo.global.__iContainer_skip_init__){
_6.debug("Defering iContainer init.");
}else{
dojo.ready(function(){
_1.init();
});
}
})();
}


;if(!dojo._hasResource["dojox.uuid._base"]){
dojo._hasResource["dojox.uuid._base"]=true;
dojo.provide("dojox.uuid._base");
dojox.uuid.NIL_UUID="00000000-0000-0000-0000-000000000000";
dojox.uuid.version={UNKNOWN:0,TIME_BASED:1,DCE_SECURITY:2,NAME_BASED_MD5:3,RANDOM:4,NAME_BASED_SHA1:5};
dojox.uuid.variant={NCS:"0",DCE:"10",MICROSOFT:"110",UNKNOWN:"111"};
dojox.uuid.assert=function(_1,_2){
if(!_1){
if(!_2){
_2="An assert statement failed.\n"+"The method dojox.uuid.assert() was called with a 'false' value.\n";
}
throw new Error(_2);
}
};
dojox.uuid.generateNilUuid=function(){
return dojox.uuid.NIL_UUID;
};
dojox.uuid.isValid=function(_3){
_3=_3.toString();
var _4=(dojo.isString(_3)&&(_3.length==36)&&(_3==_3.toLowerCase()));
if(_4){
var _5=_3.split("-");
_4=((_5.length==5)&&(_5[0].length==8)&&(_5[1].length==4)&&(_5[2].length==4)&&(_5[3].length==4)&&(_5[4].length==12));
var _6=16;
for(var i in _5){
var _7=_5[i];
var _8=parseInt(_7,_6);
_4=_4&&isFinite(_8);
}
}
return _4;
};
dojox.uuid.getVariant=function(_9){
if(!dojox.uuid._ourVariantLookupTable){
var _a=dojox.uuid.variant;
var _b=[];
_b[0]=_a.NCS;
_b[1]=_a.NCS;
_b[2]=_a.NCS;
_b[3]=_a.NCS;
_b[4]=_a.NCS;
_b[5]=_a.NCS;
_b[6]=_a.NCS;
_b[7]=_a.NCS;
_b[8]=_a.DCE;
_b[9]=_a.DCE;
_b[10]=_a.DCE;
_b[11]=_a.DCE;
_b[12]=_a.MICROSOFT;
_b[13]=_a.MICROSOFT;
_b[14]=_a.UNKNOWN;
_b[15]=_a.UNKNOWN;
dojox.uuid._ourVariantLookupTable=_b;
}
_9=_9.toString();
var _c=_9.charAt(19);
var _d=16;
var _e=parseInt(_c,_d);
dojox.uuid.assert((_e>=0)&&(_e<=16));
return dojox.uuid._ourVariantLookupTable[_e];
};
dojox.uuid.getVersion=function(_f){
var _10="dojox.uuid.getVersion() was not passed a DCE Variant UUID.";
dojox.uuid.assert(dojox.uuid.getVariant(_f)==dojox.uuid.variant.DCE,_10);
_f=_f.toString();
var _11=_f.charAt(14);
var _12=16;
var _13=parseInt(_11,_12);
return _13;
};
dojox.uuid.getNode=function(_14){
var _15="dojox.uuid.getNode() was not passed a TIME_BASED UUID.";
dojox.uuid.assert(dojox.uuid.getVersion(_14)==dojox.uuid.version.TIME_BASED,_15);
_14=_14.toString();
var _16=_14.split("-");
var _17=_16[4];
return _17;
};
dojox.uuid.getTimestamp=function(_18,_19){
var _1a="dojox.uuid.getTimestamp() was not passed a TIME_BASED UUID.";
dojox.uuid.assert(dojox.uuid.getVersion(_18)==dojox.uuid.version.TIME_BASED,_1a);
_18=_18.toString();
if(!_19){
_19=null;
}
switch(_19){
case "string":
case String:
return dojox.uuid.getTimestamp(_18,Date).toUTCString();
break;
case "hex":
var _1b=_18.split("-");
var _1c=_1b[0];
var _1d=_1b[1];
var _1e=_1b[2];
_1e=_1e.slice(1);
var _1f=_1e+_1d+_1c;
dojox.uuid.assert(_1f.length==15);
return _1f;
break;
case null:
case "date":
case Date:
var _20=3394248;
var _21=16;
var _22=_18.split("-");
var _23=parseInt(_22[0],_21);
var _24=parseInt(_22[1],_21);
var _25=parseInt(_22[2],_21);
var _26=_25&4095;
_26<<=16;
_26+=_24;
_26*=4294967296;
_26+=_23;
var _27=_26/10000;
var _28=60*60;
var _29=_20;
var _2a=_29*_28;
var _2b=_2a*1000;
var _2c=_27-_2b;
var _2d=new Date(_2c);
return _2d;
break;
default:
dojox.uuid.assert(false,"dojox.uuid.getTimestamp was not passed a valid returnType: "+_19);
break;
}
};
}


;if(!dojo._hasResource["dojox.uuid"]){
dojo._hasResource["dojox.uuid"]=true;
dojo.provide("dojox.uuid");
dojo.require("dojox.uuid._base");
}


;if(!dojo._hasResource["dijit.dijit"]){
dojo._hasResource["dijit.dijit"]=true;
dojo.provide("dijit.dijit");
dojo.require("dijit._base");
dojo.require("dojo.parser");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.require("dijit._Container");
dojo.require("dijit.layout._LayoutWidget");
dojo.require("dijit.form._FormWidget");
}

dojo.registerModulePath("com.ibm.lconn.socialmail", "../com.ibm.lconn.socialmail");

;if(!dojo._hasResource["lconn.core.header"]){
dojo._hasResource["lconn.core.header"]=true;
(function(){
dojo.provide("lconn.core.header");
dojo.require("lconn.core.theme");
dojo.require("lconn.core.widget.MenuLauncher");
lconn.core.header={initMenu:function(a,_1){
a._init=true;
var id=dojo.attr(a,"_lconn_menuid");
a.removeAttribute("_lconn_menuid");
var _2=new lconn.core.header.MenuLauncher({menuHref:dojo.attr(a,"src"),menuId:id,dialogTitle:dojo.attr(a,"aria-label"),focusNode:a,errorMessageText:dojo.attr(a,"errormessage")},a.parentNode);
_2[_1]();
},menuFocus:function(a){
if(!a._init){
this.initMenu(a,"onFocus");
}
},menuClick:function(a){
if(!a._init){
this.initMenu(a,"onClick");
}
},menuMouseover:function(a){
if(!a._init){
this.initMenu(a,"onMouseEnter");
}
},enableLanguageSelector:function(_3,_4,_5,_6,_7){
var dj=dojo;
var _8={path:"/"};
var _9=_7==-1?0:(_7/86400);
if(_9>0){
_8.expires=_9;
}
var _a=_6;
if(_a&&_a!="."){
dj.require("lconn.core.url");
var _b=lconn.core.url.parse(window.location.href);
var _c=_b.host;
_8.domain=_a+_c.substring(_c.indexOf("."),_c.length);
}
_3=dojo.byId(_3);
if(!_3){
console.log("language selector node not present in header or footer");
return;
}
try{
dj.require("lconn.core.LanguageSelector");
var _d=_3.nextSibling;
while(_d){
if(_d.nodeType==1){
dojo.removeClass(_d,"lotusFirst");
}
_d=_d.nextSibling;
}
_3.innerHTML="<a id='headerLanguageSelectorMenu' href='javascript:;' role='button' aria-haspopup='true'></a>";
_3.style.display="";
new lconn.core.LanguageSelector(_3.firstChild,_4,_5,_8);
}
catch(e){
console.error("lconn/core/LanguageSelector.js unavailable ");
console.error(e);
}
},switchTheme:lconn.core.theme.switchTheme};
dojo.declare("lconn.core.header.MenuLauncher",lconn.core.widget.MenuLauncher,{activeParent:0,_initMenuFinal:function(){
if(!dojo.getObject("lconn.core.header.Menu")){
var d=dojo;
d.provide("lconn.core.header.Menu");
dojo.declare("lconn.core.header.Menu",dijit.TooltipDialog,{autofocus:false,"class":"lotusNavMenu",isFailed:false,_errorMessageTemplate:["<div class=\"lotusMessage2 lotusWarning\" role=\"alert\">","<img class=\"lotusIcon lotusIconMsgWarning\" src=\""+dojo.config.blankGif+"\" alt=\"${rs_warning}\" />","<span class=\"lotusAltText\">${rs_a11y_warning}</span>","<div class=\"lotusMessageBody\">${message}</div>","</div>"].join(""),postCreate:function(){
this.inherited(arguments);
dijit.setWaiState(this.containerNode,"label",this.dialogTitle);
if(!this.errorMessageText){
var _e=dojo.i18n.getLocalization("dijit","loading");
if(_e){
this.errorMessageText=_e["errorState"];
}
}
if(this.errorMessageText){
this.errorMessage=dojo.string.substitute(this._errorMessageTemplate,dojo.mixin({message:this.errorMessageText},dojo.i18n.getLocalization("lconn.core","strings")));
}
},_attachTemplateNodes:function(){
this.inherited(arguments);
this.connect(this.domNode,"onmouseover","onMouseOver");
this.connect(this.domNode,"onmouseout","onMouseOut");
this.connect(this.domNode,"onclick","onMenuClick");
this.connect(this.domNode,"onclose","onClose");
},onClose:function(){
this.inherited(arguments);
if(this.domNode){
dojo.removeAttr(this.domNode.parentNode,"style");
}
},orient:function(_f,_10,_11){
this.domNode.className=this["class"]+" dijitTooltipAB"+(_11.charAt(1)=="L"?"Left":"Right");
var mb=dojo.marginBox(this.domNode);
var _12=false;
if(!this.isFailed){
var _13=dojo.attr(this.domNode.parentNode,"dijitpopupparent");
if(_13){
var _14=dojo.byId(_13);
if(_14){
var _15=dojo.attr(_14,"external-content-style");
if(_15){
var _16="";
var _17="";
var _18=_15.split(";");
for(var i=0;i<_18.length;i++){
var _19=_18[i].split(":");
if(_19[0]&&_19[1]){
if(_19[0]=="height"){
_16=_19[1];
}
if(_19[0]=="width"){
_17=_19[1];
}
}
}
if(_16=="auto"&&_17=="auto"){
_12=true;
}else{
if(_16=="auto"){
dojo.marginBox(_f,{w:mb.w});
_12=true;
}else{
if(_17=="auto"){
dojo.marginBox(_f,{h:mb.h});
_12=true;
}
}
}
}
}
}
}
if(!_12){
dojo.style(this.domNode,"height","");
dojo.style(this.domNode,"width","");
dojo.style(this.domNode.parentNode,"height","");
dojo.style(this.domNode.parentNode,"width","");
}
},onMenuClick:function(e){
var el=e.target;
for(var i=0;el&&i<5;i++){
if(el.nodeName.toLowerCase()=="a"){
if(dojo.isIE<9){
var _1a=el.style;
_1a.visibility="hidden";
setTimeout(function(){
_1a.visibility="";
},1);
}
this.onCancel();
return;
}else{
el=el.parentNode;
}
}
},_onError:function(_1b,err,_1c){
this.inherited(arguments);
this.isFailed=true;
},onDownloadError:function(_1d){
dojo.addClass(this.domNode,"lotusNavMenuError");
return this.inherited(arguments);
}});
}
this.menu=new lconn.core.header.Menu({widthAdjust:8,href:this.menuHref,dialogTitle:this.dialogTitle,id:this.menuId||undefined,errorMessageText:this.errorMessageText});
var _1e=dojo.attr(this.focusNode,"onmenuloaded");
if(_1e){
this.connect(this.menu,"onLoad",dojo.getObject(_1e));
}
},_initMenu:function(){
return this._whenDialog().addCallback(this,"_initMenuFinal");
},_whenDialog:function(){
var dfd=this._dlgDfd;
if(!dfd){
var d=dojo;
d.require("dijit.Dialog");
dfd=this._dlgDfd=new dojo.Deferred();
dfd.callback();
}
return dfd;
}});
})();
}


;if(!dojo._hasResource["lconn.core.i18nOverrider"]){
dojo._hasResource["lconn.core.i18nOverrider"]=true;
dojo.provide("lconn.core.i18nOverrider");
dojo.deprecated("lconn.core.i18nOverrider","Use standard resource bundle operations, stop requiring lconn.core.i18nOverrider.","3.5");
dojo.require("dojo.i18n");
if(lconn.core.i18nOverrider.originalFunction==null){
lconn.core.i18nOverrider.originalFunction=dojo.i18n.getLocalization;
}
dojo.i18n.getLocalization=function(_1,_2,_3){
try{
if(!_2&&_1){
dojo.deprecated("lconn.core.i18nOverrider","Accessing dojo.i18n.getLocalization with an empty bundle name for '"+_1+"' is deprecated and should be replaced with proper calls to dojo.i18n.getLocalization.","3.5");
return window[_1];
}
return lconn.core.i18nOverrider.originalFunction(_1,_2,_3);
}
catch(e){
console.error("Unable to access bundle",e);
throw e;
}
};
lconn.core.i18nOverrider.getResourceString=function(_4){
throw "Use dojo.i18n.getLocalization(...) instead";
};
lconn.core.i18nOverrider.loadResourceStringsInParams=function(_5,_6){
throw "Use dojo.i18n.getLocalization(...) instead";
};
lconn.core.i18nOverrider.replaceParams=function(_7,_8){
dojo.deprecated("lconn.core.i18nOverrider.replaceParams","Use dojo.string.substitute with ${} strings instead","3.5");
var _9=_7.indexOf("{");
if(_9!=-1){
var _a=_7.indexOf("}");
if(_a==-1){
return _7;
}
var _b=_7.substring(_9+1,_a);
var _c=_8[_b];
if(typeof _c=="undefined"){
_c="{"+_b+"}";
}
return _7.substring(0,_9)+_c+lconn.core.i18nOverrider.replaceParams(_7.substring(_a+1),_8);
}else{
return _7;
}
};
}


;if(!dojo._hasResource["lconn.core.utilities"]){
dojo._hasResource["lconn.core.utilities"]=true;
dojo.provide("lconn.core.utilities");
dojo.require("dojo.fx");
dojo.require("lconn.core.i18nOverrider");
dojo.require("lconn.core.url");
lconn.core.utilities.getHash=function(){
var _1=document.location.href;
var i=_1.indexOf("#");
if(i==-1){
return "";
}
return _1.substring(i+1);
};
lconn.core.utilities.getURLParam=function(_2,_3){
var _4=lconn.core.url.parse(window.location.href);
var _5=_4.queryParameters[_2];
if(_3&&_5===undefined&&_4.fragment){
_5=lconn.core.url.splitQuery(_4.fragment)[_2];
if(_5===undefined){
try{
var _6=decodeURIComponent(_4.fragment);
if(_6!=_4.fragment){
_5=lconn.core.url.splitQuery(_6)[_2];
}
}
catch(e){
}
}
}
if(dojo.isArray(_5)){
return _5[0];
}
return _5;
};
lconn.core.utilities.isCSSSpriteOn=function(){
var _7=document.createElement("img");
_7.className="lotusSprite lotusSprite-iconPublic16";
_7.style.display="none";
document.body.appendChild(_7);
var _8=dojo.style(_7).backgroundPosition;
var _9=_8&&_8!="0px 0px";
return _9;
};
lconn.core.utilities.replacePlaceHolders=function(_a,_b){
var _c=new Object();
for(var i=0;_b!=null&&i<_b.length;i++){
_c[""+i+""]=_b[i];
}
return lconn.core.i18nOverrider.replaceParams(_a,_c);
};
lconn.core.utilities.processUntilElementIsFound=function(_d,_e,_f,_10,_11,_12,_13){
if(typeof (_e)!="function"){
return;
}
var _14=500;
var _15=20;
var _16=true;
if(typeof (_12)=="number"){
_14=_12;
}
if(typeof (_13)=="number"){
_15=_13;
}
if(typeof (_11)=="boolean"){
_16=_11;
}
var _17="";
var _18=0;
var _19=null;
if(_f!=null){
_19=_f.getElementById(_d);
}else{
_19=dojo.byId(_d);
}
if(_19!=null){
_e(_19,_10);
return;
}
_17=window.setInterval(function(){
var _1a=null;
if(_f!=null){
_1a=_f.getElementById(_d);
}else{
_1a=dojo.byId(_d);
}
_18++;
if(_1a!=null){
window.clearInterval(_17);
_e(_1a,_10);
}else{
if(_18==_15){
window.clearInterval(_17);
if(_16){
throw new Error("lconn.core.utilities.processUntilElementIsFound: elementId was never found: "+_d);
}
}
}
},_14);
};
lconn.core.utilities.processUntilAvailable=function(_1b,_1c,_1d,_1e,_1f,_20){
if(typeof (_1b)!="function"){
return;
}
var _21=500;
var _22=20;
var _23=true;
if(typeof (_1f)=="number"){
_21=_1f;
}
if(typeof (_20)=="number"){
_22=_20;
}
if(typeof (_1e)=="boolean"){
_23=_1e;
}
var _24="";
var _25=0;
if(eval(_1c)){
if(_1d!=null){
_1b(_1d);
}else{
_1b();
}
return;
}
_24=window.setInterval(function(){
_25++;
if(eval(_1c)){
window.clearInterval(_24);
if(_1d!=null){
_1b(_1d);
}else{
_1b();
}
}else{
if(_25==_22){
window.clearInterval(_24);
if(_23){
throw new Error("lconn.core.utilities.processUntilAvailable: test was never met: "+_1c);
}
}
}
},_21);
};
lconn.core.utilities.gotoURL=function(url,_26){
if(_26==null){
if(url.indexOf("?")!=-1){
url+="&ver="+profilesData.config.buildNumber+"&lastMod="+profilesData.config.profileLastMod;
}else{
url+="?ver="+profilesData.config.buildNumber+"&lastMod="+profilesData.config.profileLastMod;
}
}
if(dojo.isIE){
var _27=url;
setTimeout("window.location.href = SideBar_RedirectUrl",0);
}else{
window.location.assign(url);
}
};
lconn.core.utilities.toggleVisibility=function(_28,_29){
var _2a=null;
if((typeof _28)=="string"){
_2a=dojo.byId(_28);
}else{
_2a=_28;
}
if(_2a){
if(_2a.style.visibility=="hidden"){
lconn.core.utilities.show(_2a,_29);
}else{
lconn.core.utilities.hide(_2a,_29);
}
}
return false;
};
lconn.core.utilities.hide=function(_2b,_2c,_2d,_2e){
var _2f=null;
if((typeof _2b)=="string"){
_2f=dojo.byId(_2b);
}else{
_2f=_2b;
}
if(_2f!=null){
var _30=function(){
_2f.style.visibility="hidden";
if(!_2c){
_2f.style.display="none";
}
if(_2e!=null){
_2e();
}
};
if(_2d==null||_2d==false){
var _31=dojo.fx.wipeOut({node:_2f,duration:300,onEnd:_30});
_31.play();
}else{
_30();
}
}
return false;
};
lconn.core.utilities.show=function(_32,_33,_34,_35,_36){
var _37=0;
var _38=null;
if((typeof _32)=="string"){
_38=dojo.byId(_32);
}else{
_38=_32;
}
if(_34&&_38==null){
var _39="";
_39=window.setInterval(function(){
_37++;
if((typeof _32)=="string"){
_38=dojo.byId(_32);
}else{
_38=_32;
}
if(_38!=null){
window.clearInterval(_39);
lconn.core.utilities.show(_38,_33,false,_35,_36);
}else{
if(_37==20){
window.clearInterval(_39);
}
}
},300);
}else{
if(_38!=null){
var _3a=function(){
_38.style.visibility="visible";
if(!_33){
_38.style.display="block";
}
if(_36!=null){
_36();
}
};
if(_35==null||_35==false){
var _3b=dojo.fx.wipeIn({node:_38,duration:300});
_3b.play();
}else{
_3a();
}
}
}
return false;
};
lconn.core.utilities.loadScript=function(_3c){
if(this.scripts==null){
this.scripts={};
}
if(!this.scripts[_3c]){
this.scripts[_3c]=true;
var _3d=document.createElement("script");
_3d.src=_3c;
document.body.insertBefore(_3d,document.body.firstChild);
}
};
lconn.core.utilities.getExtension=function(s){
if(!s){
return "";
}
var i=s.lastIndexOf(".");
if(i!=-1){
return dojo.trim(s.substring(i+1).toLowerCase());
}
return "";
};
lconn.core.utilities.getFileIconClassName=function(_3e,_3f){
var _3f=_3f||16;
var _40=lconn.core.utilities.getExtension(_3e);
_40=_40.replace(/[^a-z0-9]/g,"-");
var _41="lconn-ftype{size} lconn-ftype{size}-{ext}";
var _42=_41.replace(/\{size\}/g,_3f).replace(/\{ext\}/g,_40);
return _42;
};
lconn.core.utilities.isDefined=function(_43){
var _44=_43.indexOf(".");
var _45=true;
if(_44!=-1){
_45=lconn.core.utilities.isDefined(_43.substring(0,_44));
if(_45){
var _46=eval("typeof( "+_43+") != 'undefined'");
return _46;
}else{
return false;
}
}else{
return (window[_43]!=null);
}
};
}


;if(!dojo._hasResource["lconn.core.xpath"]){
dojo._hasResource["lconn.core.xpath"]=true;
dojo.provide("lconn.core.xpath");
lconn.core.xpath.debug=false;
lconn.core.xpath.selectNodes=function(_1,_2,_3,_4){
var _5=function(_6,_7){
for(var x=0;x<_6.length;x++){
if(_7==_6[x].prefix){
return _6[x].nameSpaceURI;
}
}
return null;
};
var _8=function(_9,_a){
var _b="";
for(var x=0;_a!=null&&x<_a.length;x++){
_b+="xmlns:"+_a[x].prefix+"='"+_a[x].nameSpaceURI+"' ";
}
if(_b!=""&&dojo.isIE){
_9.setProperty("SelectionNamespaces",_b);
}
};
var _c=function(_d){
if(_d!=null){
return function(_e){
var _f=_5(_d,_e);
if(lconn.core.xpath.debug){
alert("getNameSpaceResolver: prefix: "+_e+" URI: "+_f);
}
if(lconn.core.xpath.debug&&(_f==null||_f=="")){
alert("getNameSpaceResolver: no namespace was found for prefix: "+_e);
}
return _f;
};
}else{
return null;
}
};
var _10=function(_11){
var _12=new Array;
_12=_13(_12,_11);
return _12;
};
var _13=function(_14,_15){
if(_15.documentElement){
for(var x=0;x<_15.documentElement.attributes.length;x++){
var att=_15.documentElement.attributes[x];
var _16=att.nodeName.indexOf(":");
if(_16!=-1){
if(att.nodeName.substring(0,_16).toLowerCase()=="xmlns"){
var _17=att.nodeName.substring(_16+1);
var _18=_5(_14,_17);
if(lconn.core.xpath.debug){
alert("addNamesSpaceFromRootElement: current prefix: "+_17+" nameSpaceURI: "+_18);
}
if(_18==null){
_18=att.nodeValue;
if(lconn.core.xpath.debug){
alert("addNamesSpaceFromRootElement: adding prefix: "+_17+" nameSpaceURI: "+_18+" to the list");
}
_14.push({prefix:_17,nameSpaceURI:_18});
}
}
}
}
}
return _14;
};
if(_2==null){
throw Error("lconn.core.xpath.selectNodes : XMLDocument can not be null\n"+common_getStacktrace());
}
if(_3==null){
_3=_10(_2);
}else{
_3=_13(_3,_2);
}
for(var x=0;lconn.core.xpath.debug&&x<_3.length;x++){
alert(_3[x].prefix+":"+_3[x].nameSpaceURI);
}
if(_4==null&&(_2.documentElement!=null)){
_4=_2.documentElement;
}
if(dojo.isIE){
try{
_8(_2,_3);
return _4.selectNodes(_1);
}
catch(exception){
console.log(exception);
}
}else{
try{
var _19=_c(_3);
var _1a=0;
var _1b=null;
_1b=_2.evaluate(_1,_4,_19,_1a,_1b);
if(_1b!=null){
var _1c=new Array();
var $A=null;
while($A=_1b.iterateNext()){
_1c.push($A);
}
return _1c;
}
}
catch(exception){
console.log(exception);
}
}
};
lconn.core.xpath.selectSingleNode=function(_1d,_1e,_1f,_20){
var _21=lconn.core.xpath.selectNodes(_1d,_1e,_1f,_20);
if(_21==null){
return null;
}
return _21[0];
};
lconn.core.xpath.selectText=function(_22,_23,_24,_25){
var _26=lconn.core.xpath.selectSingleNode(_22,_23,_24,_25);
if(_26==null){
return null;
}
return _26.nodeValue;
};
lconn.core.xpath.setNodeValue=function(_27,_28,_29,_2a,_2b){
var _2c=lconn.core.xpath.selectSingleNode(_27,_28,_2a,_2b);
if(_2c!=null){
if(_2c.nodeType==1){
if(_2c.hasChildNodes()){
var _2d=_2c.firstChild;
_2c.replaceChild(_28.createTextNode(_29),_2d);
}else{
_2c.appendChild(_28.createTextNode(_29));
}
}else{
if(_2c.nodeType==2){
_2c.nodeValue=_29;
}else{
if(_2c.nodeType==3){
_2c.nodeValue=_29;
}else{
alert("lconn.core.xpath.setNodeValue: nodeType: "+_2c.nodeType);
}
}
}
}else{
var _2e=_27.lastIndexOf("/");
if(_2e!=-1){
var _2f=_27.substring(_2e+2);
var tmp=_27.substring(_2e+1);
if(tmp.indexOf("@")==0){
var _30=_27.substring(0,_2e);
var _31=lconn.core.xpath.selectSingleNode(_28,_2b,_30,_2a);
if(_31==null){
alert("lconn.core.xpath.setNodeValue: couldn't find parent node for: "+_30+" orig "+_27);
return;
}
_31.setAttribute(_2f,_29);
return;
}
}
alert("lconn.core.xpath.setNodeValue: couldn't find node for: "+_27);
}
};
}

dojo.provide("dojo.cldr.nls.number")._built=true;
dojo.provide("dojo.cldr.nls.number.en_gb");
dojo.cldr.nls.number.en_gb={"scientificFormat":"#E0","exponential":"E","minusSign":"-","nativeZeroDigit":"0","decimal":".","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","nan":"NaN","percentFormat":"#,##0%","list":";","percentSign":"%","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","infinity":"\u221e","currencyFormat":"\xa4#,##0.00","decimalFormat":"#,##0.###","perMille":"\u2030","currencySpacing-beforeCurrency-insertBetween":"\xa0","currencySpacing-afterCurrency-insertBetween":"\xa0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","patternDigit":"#","group":","};

;if(!dojo._hasResource["dojo.number"]){
dojo._hasResource["dojo.number"]=true;
dojo.provide("dojo.number");
dojo.require("dojo.i18n");
dojo.requireLocalization("dojo.cldr","number",null,"ROOT,af,af-na,ar,ar-dz,ar-ma,ar-qa,ar-sa,ar-sy,ar-tn,ar-ye,as,az,be,bg,bn,bo,ca,cs,da,de,de-at,de-ch,de-de,de-li,el,el-cy,en,en-au,en-be,en-bw,en-bz,en-gb,en-ie,en-in,en-jm,en-mt,en-na,en-nz,en-tt,en-us,en-us-posix,en-za,en-zw,eo,es,es-cl,es-do,es-ec,es-es,es-gt,es-hn,es-mx,es-ni,es-pa,es-pe,es-pr,es-py,es-sv,es-us,es-uy,es-ve,et,eu,fa,fa-af,fi,fil,fo,fr,fr-be,fr-ca,fr-ch,fr-lu,ga,gl,gsw,gu,gv,ha,haw,he,hi,hr,hu,hy,id,ii,in,is,it,it-ch,iw,ja,ja-jp,ka,kk,kl,km,kn,ko,ko-kr,kok,kw,lt,lv,mk,ml,mo,mr,ms,ms-bn,mt,nb,ne,nl,nl-be,nn,no,nr,nso,om,or,pa,pa-arab,pa-pk,pl,ps,pt,pt-pt,ro,ru,sa,sh,si,sk,sl,so,sq,sr,sr-latn-me,sr-me,ss,st,sv,sw,sw-ke,ta,te,th,ti,tl,tn,tr,ts,uk,ur,ur-in,uz-af,uz-arab,ve,vi,xh,zh,zh-cn,zh-hant-hk,zh-hk,zh-tw,zu");
dojo.require("dojo.string");
dojo.require("dojo.regexp");
dojo.number.format=function(_1,_2){
_2=dojo.mixin({},_2||{});
var _3=dojo.i18n.normalizeLocale(_2.locale);
var _4=dojo.i18n.getLocalization("dojo.cldr","number",_3);
_2.customs=_4;
var _5=_2.pattern||_4[(_2.type||"decimal")+"Format"];
if(isNaN(_1)||Math.abs(_1)==Infinity){
return null;
}
return dojo.number._applyPattern(_1,_5,_2);
};
dojo.number._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;
dojo.number._applyPattern=function(_6,_7,_8){
_8=_8||{};
var _9=_8.customs.group;
var _a=_8.customs.decimal;
var _b=_7.split(";");
var _c=_b[0];
_7=_b[(_6<0)?1:0]||("-"+_c);
if(_7.indexOf("%")!=-1){
_6*=100;
}else{
if(_7.indexOf("\u2030")!=-1){
_6*=1000;
}else{
if(_7.indexOf("\xa4")!=-1){
_9=_8.customs.currencyGroup||_9;
_a=_8.customs.currencyDecimal||_a;
_7=_7.replace(/\u00a4{1,3}/,function(_d){
var _e=["symbol","currency","displayName"][_d.length-1];
return _8[_e]||_8.currency||"";
});
}else{
if(_7.indexOf("E")!=-1){
throw new Error("exponential notation not supported");
}
}
}
}
var _f=dojo.number._numberPatternRE;
var _10=_c.match(_f);
if(!_10){
throw new Error("unable to find a number expression in pattern: "+_7);
}
if(_8.fractional===false){
_8.places=0;
}
return _7.replace(_f,dojo.number._formatAbsolute(_6,_10[0],{decimal:_a,group:_9,places:_8.places,round:_8.round}));
};
dojo.number.round=function(_11,_12,_13){
var _14=10/(_13||10);
return (_14*+_11).toFixed(_12)/_14;
};
if((0.9).toFixed()==0){
(function(){
var _15=dojo.number.round;
dojo.number.round=function(v,p,m){
var d=Math.pow(10,-p||0),a=Math.abs(v);
if(!v||a>=d||a*Math.pow(10,p+1)<5){
d=0;
}
return _15(v,p,m)+(v>0?d:-d);
};
})();
}
dojo.number._formatAbsolute=function(_16,_17,_18){
_18=_18||{};
if(_18.places===true){
_18.places=0;
}
if(_18.places===Infinity){
_18.places=6;
}
var _19=_17.split(".");
var _1a=(_18.places>=0)?_18.places:(_19[1]&&_19[1].length)||0;
if(!(_18.round<0)){
_16=dojo.number.round(_16,_1a,_18.round);
}
var _1b=String(Math.abs(_16)).split(".");
var _1c=_1b[1]||"";
if(_18.places){
var _1d=dojo.isString(_18.places)&&_18.places.indexOf(",");
if(_1d){
_18.places=_18.places.substring(_1d+1);
}
_1b[1]=dojo.string.pad(_1c.substr(0,_18.places),_18.places,"0",true);
}else{
if(_19[1]&&_18.places!==0){
var pad=_19[1].lastIndexOf("0")+1;
if(pad>_1c.length){
_1b[1]=dojo.string.pad(_1c,pad,"0",true);
}
var _1e=_19[1].length;
if(_1e<_1c.length){
_1b[1]=_1c.substr(0,_1e);
}
}else{
if(_1b[1]){
_1b.pop();
}
}
}
var _1f=_19[0].replace(",","");
pad=_1f.indexOf("0");
if(pad!=-1){
pad=_1f.length-pad;
if(pad>_1b[0].length){
_1b[0]=dojo.string.pad(_1b[0],pad);
}
if(_1f.indexOf("#")==-1){
_1b[0]=_1b[0].substr(_1b[0].length-pad);
}
}
var _20=_19[0].lastIndexOf(",");
var _21,_22;
if(_20!=-1){
_21=_19[0].length-_20-1;
var _23=_19[0].substr(0,_20);
_20=_23.lastIndexOf(",");
if(_20!=-1){
_22=_23.length-_20-1;
}
}
var _24=[];
for(var _25=_1b[0];_25;){
var off=_25.length-_21;
_24.push((off>0)?_25.substr(off):_25);
_25=(off>0)?_25.slice(0,off):"";
if(_22){
_21=_22;
delete _22;
}
}
_1b[0]=_24.reverse().join(_18.group||",");
return _1b.join(_18.decimal||".");
};
dojo.number.regexp=function(_26){
return dojo.number._parseInfo(_26).regexp;
};
dojo.number._parseInfo=function(_27){
_27=_27||{};
var _28=dojo.i18n.normalizeLocale(_27.locale);
var _29=dojo.i18n.getLocalization("dojo.cldr","number",_28);
var _2a=_27.pattern||_29[(_27.type||"decimal")+"Format"];
var _2b=_29.group;
var _2c=_29.decimal;
var _2d=1;
if(_2a.indexOf("%")!=-1){
_2d/=100;
}else{
if(_2a.indexOf("\u2030")!=-1){
_2d/=1000;
}else{
var _2e=_2a.indexOf("\xa4")!=-1;
if(_2e){
_2b=_29.currencyGroup||_2b;
_2c=_29.currencyDecimal||_2c;
}
}
}
var _2f=_2a.split(";");
if(_2f.length==1){
_2f.push("-"+_2f[0]);
}
var re=dojo.regexp.buildGroupRE(_2f,function(_30){
_30="(?:"+dojo.regexp.escapeString(_30,".")+")";
return _30.replace(dojo.number._numberPatternRE,function(_31){
var _32={signed:false,separator:_27.strict?_2b:[_2b,""],fractional:_27.fractional,decimal:_2c,exponent:false};
var _33=_31.split(".");
var _34=_27.places;
if(_33.length==1||_34===0){
_32.fractional=false;
}else{
if(_34===undefined){
_34=_27.pattern?_33[1].lastIndexOf("0")+1:Infinity;
}
if(_34&&_27.fractional==undefined){
_32.fractional=true;
}
if(!_27.places&&(_34<_33[1].length)){
_34+=","+_33[1].length;
}
_32.places=_34;
}
var _35=_33[0].split(",");
if(_35.length>1){
_32.groupSize=_35.pop().length;
if(_35.length>1){
_32.groupSize2=_35.pop().length;
}
}
return "("+dojo.number._realNumberRegexp(_32)+")";
});
},true);
if(_2e){
re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_36,_37,_38,_39){
var _3a=["symbol","currency","displayName"][_38.length-1];
var _3b=dojo.regexp.escapeString(_27[_3a]||_27.currency||"");
_37=_37?"[\\s\\xa0]":"";
_39=_39?"[\\s\\xa0]":"";
if(!_27.strict){
if(_37){
_37+="*";
}
if(_39){
_39+="*";
}
return "(?:"+_37+_3b+_39+")?";
}
return _37+_3b+_39;
});
}
return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_2b,decimal:_2c,factor:_2d};
};
dojo.number.parse=function(_3c,_3d){
var _3e=dojo.number._parseInfo(_3d);
var _3f=(new RegExp("^"+_3e.regexp+"$")).exec(_3c);
if(!_3f){
return NaN;
}
var _40=_3f[1];
if(!_3f[1]){
if(!_3f[2]){
return NaN;
}
_40=_3f[2];
_3e.factor*=-1;
}
_40=_40.replace(new RegExp("["+_3e.group+"\\s\\xa0"+"]","g"),"").replace(_3e.decimal,".");
return _40*_3e.factor;
};
dojo.number._realNumberRegexp=function(_41){
_41=_41||{};
if(!("places" in _41)){
_41.places=Infinity;
}
if(typeof _41.decimal!="string"){
_41.decimal=".";
}
if(!("fractional" in _41)||/^0/.test(_41.places)){
_41.fractional=[true,false];
}
if(!("exponent" in _41)){
_41.exponent=[true,false];
}
if(!("eSigned" in _41)){
_41.eSigned=[true,false];
}
var _42=dojo.number._integerRegexp(_41);
var _43=dojo.regexp.buildGroupRE(_41.fractional,function(q){
var re="";
if(q&&(_41.places!==0)){
re="\\"+_41.decimal;
if(_41.places==Infinity){
re="(?:"+re+"\\d+)?";
}else{
re+="\\d{"+_41.places+"}";
}
}
return re;
},true);
var _44=dojo.regexp.buildGroupRE(_41.exponent,function(q){
if(q){
return "([eE]"+dojo.number._integerRegexp({signed:_41.eSigned})+")";
}
return "";
});
var _45=_42+_43;
if(_43){
_45="(?:(?:"+_45+")|(?:"+_43+"))";
}
return _45+_44;
};
dojo.number._integerRegexp=function(_46){
_46=_46||{};
if(!("signed" in _46)){
_46.signed=[true,false];
}
if(!("separator" in _46)){
_46.separator="";
}else{
if(!("groupSize" in _46)){
_46.groupSize=3;
}
}
var _47=dojo.regexp.buildGroupRE(_46.signed,function(q){
return q?"[-+]":"";
},true);
var _48=dojo.regexp.buildGroupRE(_46.separator,function(sep){
if(!sep){
return "(?:\\d+)";
}
sep=dojo.regexp.escapeString(sep);
if(sep==" "){
sep="\\s";
}else{
if(sep=="\xa0"){
sep="\\s\\xa0";
}
}
var grp=_46.groupSize,_49=_46.groupSize2;
if(_49){
var _4a="(?:0|[1-9]\\d{0,"+(_49-1)+"}(?:["+sep+"]\\d{"+_49+"})*["+sep+"]\\d{"+grp+"})";
return ((grp-_49)>0)?"(?:"+_4a+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_4a;
}
return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";
},true);
return _47+_48;
};
}

dojo.provide("net.jazz.ajax._xdbootstrap");dojo.mixin(dojo.getObject("net.jazz.ajax.config",true),{loaded:[],base:"/connections/resources",params:"lang=en&country=gb"},dojo.getObject("netJazzAjaxConfig",true));dojo.registerModulePath("net.jazz.ajax", "../net.jazz.ajax");

;if(!dojo._hasResource["net.jazz.ajax.xdloader"]){
dojo._hasResource["net.jazz.ajax.xdloader"]=true;
(function(){
var _1=dojo.provide("net.jazz.ajax.xdloader");
dojo.require("net.jazz.ajax._xdbootstrap");
if(window.djConfig){
djConfig.skipIeDomLoaded=true;
}
var _2=net.jazz.ajax;
var _3=_2.config;
var _4="_js_modules";
window[_4]=window[_4]||_3.loaded||[];
var _5="_js_url_rewriter";
window[_5]=typeof window[_5]==="function"?window[_5]:function(_6){
return _6;
};
var _7=new dojo._Url(_3.base);
var _8=(_7.scheme&&_7.authority)?(_7.scheme+"://"+_7.authority):"";
var _9=window[_5](_3.base);
var _a=_9+"/web/_xdloader";
var _b=_9+"/web/_js";
var _c=_3.params;
var _d=_3.etag;
var _e;
var _f=[];
var _10;
var _11=document.getElementsByTagName("head")[0];
if(!_11){
_11=document.getElementsByTagName("html")[0];
}
function _12(_13){
var _14=[],_15;
var _16;
var i=0;
var _17=[];
var _18=this;
var _19;
this.add=function(_1a,_1b){
_14=_14.concat(_1a);
_17.push(_1b);
};
this.addLayer=function(_1c,_1d,_1e){
_14=[].concat(_1c);
_15=_1d||[];
for(var i=0,l=_15.length;i<l;i++){
_15[i]+=".js";
}
_17.push(_1e);
};
function _1f(_20){
var _21=_15||window[_4];
var _22=_b+"?include="+_20.sort().join("~")+(_21.length>0?("&exclude="+_21.sort().join("~")+"~"):"")+(_d?("&etag="+encodeURIComponent(_d)):"")+(_c?("&"+_c):"");
return _22;
};
this.start=function(){
if(_e==_18){
_e=null;
}
_10=_18;
var _23,_24=[],_25={};
while(_23=_14.shift()){
if(!dojo.exists(_23)){
if(_25[_23]){
continue;
}
_25[_23]=1;
_24.push(_23+".js");
}
}
if(_24.length==0){
_26();
return;
}
var _27=_1f(_24);
var _28=document.createElement("script");
_28.type="text/javascript";
_28.src=_27;
_28.onload=function _onload(){
if(_28){
_28.onload=_28.onreadystatechange=null;
_28=null;
_26();
}
};
_28.onreadystatechange=function(){
if("loaded"===_28.readyState||"complete"===_28.readyState){
_onload();
}
};
_11.appendChild(_28);
};
this.loaded=function(_29,_2a){
_16=_2a;
_2b();
};
function _2b(){
if(i<_16.length){
var _2c=document.createElement("script");
_2c.type="text/javascript";
var src=_16[i++];
if(src.charAt(0)=="/"){
src=_8+src;
}
_2c.src=src;
_2c.onload=function _onload(){
if(_2c){
_2c.onload=_2c.onreadystatechange=null;
_2c=null;
_2b();
}
};
_2c.onreadystatechange=function(){
if("loaded"===_2c.readyState||"complete"===_2c.readyState){
_onload();
}
};
_11.appendChild(_2c);
}else{
_26();
}
};
function _26(){
if(_10==_18){
_10=null;
}
for(var k=0;k<_17.length;k++){
_17[k]();
}
if(_18.next){
_18.next.start();
}
};
function _2d(_2e){
console.error(_2e);
};
if(_13){
return;
}
if(_10){
var _2f=_10;
while(_2f.next){
_2f=_2f.next;
}
_2f.next=this;
}else{
setTimeout(this.start);
}
};
_1.loaded=function(_30,_31,_32){
window[_4]=window[_4].concat(_30);
if(!_10){
_10=new _12(true);
_10.add(_30,function(){
});
}
var _33=_31[0];
if(_33&&!_3.skipStyles){
if(_33.charAt(0)=="/"){
_33=_8+_33;
}
if(document.all&&document.styleSheets.length>31){
var _34;
for(var i=0;i<document.styleSheets.length;i++){
if(document.styleSheets[i].imports.length<32){
_34=document.styleSheets[i];
break;
}
}
if(_34!==null){
_34.addImport(_33);
}else{
throw new Error("No stylesheet is available to add an import to");
}
}else{
var _35=document.createElement("link");
_35.rel="stylesheet";
_35.type="text/css";
_35.href=_33;
_11.appendChild(_35);
}
}
_10.loaded(_30,_32);
};
_1.load_async=function(_36,_37,_38){
_1.batch_load_async([_36],_37,_38);
};
_1.batch_load_async=function(_39,_3a,_3b){
var _3c,_3d=[];
while(_3c=_39.shift()){
if(!dojo.exists(_3c)){
_3d.push(_3c);
}
}
if(_3d.length==0){
_3a();
}else{
if(_3b){
new _12().add(_3d,_3a);
}else{
if(!_e){
_e=new _12();
}
_e.add(_3d,_3a);
}
}
};
_1.load_layer_async=function(_3e,_3f,_40){
if(!dojo.isArray(_3e)){
_3e=[_3e];
}
if(!dojo.isArray(_3f)){
_3f=[_3f];
}
var _41=new _12();
_41.addLayer(_3e,_3f,_40);
};
})();
}


;if(!dojo._hasResource["lconn.core.CommonTags.AjaxCall"]){
dojo._hasResource["lconn.core.CommonTags.AjaxCall"]=true;
dojo.provide("lconn.core.CommonTags.AjaxCall");
dojo.declare("lconn.core.CommonTags.AjaxCall",null,{TAG_URL:"",REDIRECT_URL:"",TAG_TEMPLATE:"",URL_PARAMETERS:null,HANDLE_AS:null,getTags:function(_1,_2,_3){
var _4=this.generateTagParameters(_3);
var _5={url:this.TAG_URL,content:_4,handleAs:this.HANDLE_AS,timeout:30000,load:_1,error:dojo.hitch(this,this.handleError)};
dojo.xhrGet(_5);
},redirect:function(_6){
if(_6!="undefined"&&_6!=null){
if(this.REDIRECT_URL.indexOf("?")>0){
this.REDIRECT_URL=this.REDIRECT_URL.substring(0,this.REDIRECT_URL.indexOf("?"));
this.REDIRECT_URL+="?";
this.REDIRECT_URL=this.generateTagUrl(this.REDIRECT_URL,_6);
location.href=this.REDIRECT_URL;
}else{
this.REDIRECT_URL+="?";
this.REDIRECT_URL=this.generateTagUrl(this.REDIRECT_URL,_6);
location.href=this.REDIRECT_URL;
}
}else{
location.href=this.REDIRECT_URL;
}
},encodeTagParameter:function(_7){
var _8=_7.split(" ");
var _9=null;
for(var i=0;i<_8.length;i++){
var _a=_8[i];
if(i>0){
_9+=" "+encodeURIComponent(_a);
}else{
_9=encodeURIComponent(_a);
}
}
return _9;
},generateTagUrl:function(_b,_c){
for(var i in this.URL_PARAMETERS){
if(i!=this.TAG_TEMPLATE){
var _d=encodeURIComponent(this.URL_PARAMETERS[i]);
_b+=i+"="+_d+"&";
}
}
if(_c!="undefined"&&_c!=null&&_c!=""){
var _e=this.encodeTagParameter(_c);
_b+=this.TAG_TEMPLATE+"="+_e;
}
return _b;
},generateTagParameters:function(_f){
var _10={};
if(this.URL_PARAMETERS!=null){
_10=this.URL_PARAMETERS;
}
if(_f!="undefined"&&_f!=null){
_10[this.TAG_TEMPLATE]=_f;
}
return _10;
},getTotalTagNumber:function(_11,_12){
var _13={url:this.TAG_URL,content:{type:"count",search:_12},handleAs:"json",timeout:30000,load:function(_14){
_11(_14.total);
},error:dojo.hitch(this,this.handleError)};
dojo.xhrGet(_13);
},getPageTags:function(_15,_16,_17,_18){
var _19={url:this.TAG_URL,content:{type:"all",page:_16,ps:_17,search:_18},handleAs:this.HANDLE_AS,timeout:30000,load:_15,error:dojo.hitch(this,this.handleError)};
dojo.xhrGet(_19);
},handleError:function(){
},clearParamsFromUrl:function(url){
if(url.indexOf("?")>0){
url=url.substring(0,url.indexOf("?"));
}
return url;
}});
}


;if(!dojo._hasResource["lconn.core.CommonTags.FeedConverter"]){
dojo._hasResource["lconn.core.CommonTags.FeedConverter"]=true;
dojo.provide("lconn.core.CommonTags.FeedConverter");
dojo.declare("lconn.core.CommonTags.FeedConverter",null,{tagList:null,categoriesTagName:"app:categories",parseFeed:function(_1){
var _2=_1.documentElement.childNodes;
if(!_2){
return;
}
this.tagList=new Array();
for(var i=0;i<_2.length;i++){
if(_2[i].localName=="category"||_2[i].baseName=="category"){
var _3=this.generateTagObject(_2[i]);
this.tagList.push(_3);
}
}
return this.tagList;
},generateTagObject:function(_4){
var _5=new Object;
_5.name=_4.getAttribute("term");
var _6=_4.getAttribute("snx:frequency");
if(_6){
_5.frequency=parseInt(_6);
}
var _7=_4.getAttribute("snx:intensityBin");
if(_7){
_5.intensityBin=parseInt(_7);
}
return _5;
}});
}


;if(!dojo._hasResource["lconn.core.aria._Helper"]){
dojo._hasResource["lconn.core.aria._Helper"]=true;
dojo.provide("lconn.core.aria._Helper");
dojo.declare("lconn.core.aria._Helper",null,{allItems:null,selIdx:-1,_connects:null,detectInvert:false,invert:false,cycle:true,containerRole:"",itemRole:"",scrollVertical:true,scrollHorizontal:true,constructor:function(_1,_2){
dojo.safeMixin(this,_2||{});
this._connects=[];
var cn=this.containerNode=this._getNode(_1),ai=this.allItems=dojo.query(["[role='",this.itemRole,"']"].join(""),cn),_3=dojo.forEach;
if(this.detectInvert){
_3(ai,dojo.hitch(this,this._detectInvert));
}
for(var i=0,_4;_4=ai[i];i++){
if(this._isSelected(_4)){
this.selIdx=i;
break;
}
}
if(this.selIdx==-1){
this.selIdx=this._getSelIdx(!this.invert);
}
_3(ai,dojo.hitch(this,this._resetItem,ai[this.selIdx]));
this._connects.push(dojo.connect(cn,"onclick",this,"_onItemClick"));
this._connects.push(dojo.connect(cn,"onkeydown",this,"_onKeyDown"));
},destroy:function(){
dojo.forEach(this._connects,dojo.hitch(dojo,dojo.disconnect));
},focus:function(){
if(this.selIdx>=0){
dijit.focus(this.allItems[this.selIdx]);
}else{
this.focusNextItem();
}
},focusNextItem:function(){
this._focusItem(!this.invert);
},focusPrevItem:function(){
this._focusItem(this.invert);
},_focusItem:function(_5){
var ai=this.allItems,si=this._getSelIdx(_5);
if(si!=this.selIdx){
this._kickOut(ai[this.selIdx]);
this._kickIn(ai[si]);
dijit.focus(ai[si]);
this.selIdx=si;
}
},_getNode:function(_6){
var _7=dojo.byId(_6);
if(!_7){
throw [this.declaredClass,": "+_6," is not a valid node or id"].join("");
}
if(!dijit.hasWaiRole(_7,this.containerRole)){
throw [this.declaredClass," needs a source node with role='",this.containerRole,"'"].join("");
}
return _7;
},_kickOut:function(_8,i){
dojo.attr(_8,"tabindex",-1);
},_kickIn:function(_9,i){
dojo.removeAttr(_9,"tabindex");
},_onItemClick:function(e){
var _a=this._getIndexOfItemFromEvent(e);
if(_a!=-1){
this.selIdx=_a;
var _b=this.allItems[_a];
dojo.forEach(this.allItems,dojo.hitch(this,this._resetItem,_b));
}
},_getIndexOfItemFromEvent:function(e){
var _c=-1,_d;
do{
_d=_d?_d.parentNode:e.target;
_c=dojo.indexOf(this.allItems,_d);
}while(_c==-1&&_d&&_d!=this.containerNode);
return _c;
},_onKeyDown:function(e){
var dk=dojo.keys;
if(e.altKey||e.metaKey||e.ctrlKey||e.shiftKey){
return;
}
var _e=dojo._isBodyLtr()?dk.RIGHT_ARROW:dk.LEFT_ARROW;
var _f=dojo._isBodyLtr()?dk.LEFT_ARROW:dk.RIGHT_ARROW;
switch(e.keyCode){
case this.scrollHorizontal?_e:-1:
case this.scrollVertical?dk.DOWN_ARROW:-1:
dojo.stopEvent(e);
this.focusNextItem();
break;
case this.scrollHorizontal?_f:-1:
case this.scrollVertical?dk.UP_ARROW:-1:
dojo.stopEvent(e);
this.focusPrevItem();
break;
}
},_resetItem:function(sel,_10,i){
if(_10==sel){
this._kickIn(_10);
}else{
this._kickOut(_10);
}
},_detectInvert:function(_11,i){
var ps=[],pp=_11,n=0;
do{
ps.push(dojo.style(pp,"float"));
pp=pp.parentNode;
}while(pp!=this.containerNode&&n++<10);
var rh=(dojo._isBodyLtr()?"right":"left");
if(dojo.indexOf(ps,rh)!=-1){
this.invert=true;
}
},_isSelected:function(_12){
return false;
},_isHidden:function(_13){
var cn=this.containerNode;
var n=_13;
while(n&&n!=cn){
if(dojo.style(n,"display")=="none"||dijit.getWaiState(n,"hidden")=="true"){
return true;
}
n=n.parentNode;
}
return false;
},_getSelIdx:function(fwd){
var n=0,c=this.allItems.length,r=this.selIdx;
do{
r=fwd?this._nextSelIdx(r):this._prevSelIdx(r);
}while(this._isHidden(this.allItems[r])&&n++<c);
return r;
},_prevSelIdx:function(_14){
var ret=-1;
if(this.cycle){
ret=_14-1;
if(ret<0){
ret=this.allItems.length-1;
}
}else{
ret=Math.max(0,_14-1);
}
return ret;
},_nextSelIdx:function(_15){
var ret=-1;
if(this.cycle){
ret=_15+1;
if(ret>=this.allItems.length){
ret=0;
}
}else{
ret=Math.min(this.allItems.length-1,_15+1);
}
return ret;
}});
}


;if(!dojo._hasResource["lconn.core.aria.Toolbar"]){
dojo._hasResource["lconn.core.aria.Toolbar"]=true;
dojo.provide("lconn.core.aria.Toolbar");
dojo.require("lconn.core.aria._Helper");
dojo.declare("lconn.core.aria.Toolbar",lconn.core.aria._Helper,{containerRole:"toolbar",itemRole:"button"});
}


;dojo.cache("lconn.core", "CommonTags/templates/tagWidget.html", "<div> <div dojoAttachPoint=\"_tagMenu\"> <div dojoAttachPoint=\"_loadTags\"><img alt=\"${nls.rs_tagLoadingTags}\" src=\"${_blankGif}\" class=\"lotusLoading\" />${nls.rs_tagLoadingTags}</div> <div dojoAttachPoint=\"_noTags\" style=\"display:none;\">${nls.rs_tagCloudNoTags}</div> <div style=\"display:none\" dojoAttachPoint=\"_hasTags\"> <div dojoAttachPoint=\"_selectedTagsSection\" style=\"display:none;\"> <h3 style=\"border-bottom:0px;font-weight: bold;margin:0;padding:2px 0 0;\">${nls.rs_tagCloudSelectedTags}</h3> <ul class=\"lotusEditable lotusList lotusMeta\" dojoAttachPoint=\"_selectedTags\" role=\"listbox\"><li></li></ul> </div> </div> <div dojoAttachPoint=\"_tagSearchText\" style=\"display:none\"> <a href=\"javascript:void(0);\" class=\"lotusBold\" dojoAttachEvent=\"onclick: _showSearchForm\" role=\"button\" title=\"${nls.rs_tagCloudSeachDesc}\">${nls.rs_tagCloudSeachDesc}</a> </div> <div dojoAttachPoint=\"_tagSearchForm\" style=\"display:none\" class=\"lotusChunk lotusSearch\"> <form dojoAttachEvent=\"onsubmit: _searchTag\" style=\"margin:0;\"> <input class=\"lotusText\" dojoAttachPoint=\"_typeAheadDom\"/><span class=\"lotusBtnImg\" title=\"${nls.rs_tagCloudSeach}\"><input type=\"image\" class=\"lotusSearchButton\" src=\"${_blankGif}\" name=\"submit\" alt=\"${nls.rs_tagCloudSeach}\"/><a href=\"javascript:;\" dojoAttachEvent=\"onclick: _searchTag\" class=\"lotusAltText\" role=\"button\">${nls.rs_tagCloudSeach}</a></span> </form> </div> <div dojoAttachPoint=\"_relatedTagsSection\" style=\"display: none;\" class=\"lotusChunk10\"> <h3 style=\"border-bottom: 0px; font-weight: bold; margin:0; padding:2px 0 0;\">${nls.rs_tagCloudRelatedTags}</h3> <div>${nls.rs_tagCloudRelatedTagsDescription}</div> <ul class=\"lotusList lotusTags lotusRelatedTags\" dojoAttachPoint=\"_relatedTags\" role=\"listbox\"><li></li></ul> </div> <div dojoAttachPoint=\"_normalTagsSection\" style=\"display: none;\" class=\"lotusChunk10\" aria-label=\"${nls.rs_tagCloudNavigationLabel}\"> <div id=\"${id}_tagCloudView\" dojoAttachPoint=\"_tagCloudView\" style=\"display: none;\"> <div dojoAttachPoint=\"_tagCloudTable\" class=\"lotusTagCloud\"></div> </div> <div id=\"${id}_tagListView\" dojoAttachPoint=\"_tagListView\" style=\"display: none;\"> <ul id=\"${id}_tagList\" dojoAttachPoint=\"_tagList\" class=\"lotusList lotusEditable lotusMeta\" role=\"listbox\"><li></li></ul> </div> <div class=\"lotusChunk lotusSubsection\"> <div dojoAttachPoint=\"_tagCloudLink\" style=\"display: none;\"> <ul class=\"lotusInlinelist lotusActions\"> <li class=\"lotusFirst\"><span class=\"lotusBold\" dojoAttachPoint=\"_showCloudSpan\" role=\"button\" aria-controls=\"${id}_tagCloudView\" aria-disabled=\"true\" aria-pressed=\"true\" tabindex=\"0\">${nls.rs_viewAsCloud}</span></li> <li><a href=\"javascript:void(0);\" title=\"${nls.rs_viewAsListTitle}\" role=\"button\" aria-controls=\"${id}_tagListView\" dojoAttachPoint=\"_showListLink\" dojoAttachEvent=\"onclick: _showList\">${nls.rs_viewAsList}</a></li> <li dojoAttachPoint=\"_tagCloudAll\" style=\"display: none;\"><a href=\"javascript:void(0);\" title=\"${nls.rs_tagCloudViewAllTitle}\" role=\"button\" dojoAttachEvent=\"onclick:_showAllTags\">${nls.rs_tagCloudViewAll}</a></li> </ul> </div> <div dojoAttachPoint=\"_tagListLink\" style=\"display: none;\"> <ul class=\"lotusInlinelist lotusActions\"> <li class=\"lotusFirst\"><a href=\"javascript:void(0);\" title=\"${nls.rs_viewAsCloudTitle}\" role=\"button\" aria-controls=\"${id}_tagCloudView\" dojoAttachPoint=\"_showCloudLink\" dojoAttachEvent=\"onclick: _showCloud\">${nls.rs_viewAsCloud}</a></li> <li><span class=\"lotusBold\" dojoAttachPoint=\"_showListSpan\" role=\"button\" aria-controls=\"${id}_tagListView\" aria-disabled=\"true\" aria-pressed=\"true\" tabindex=\"0\">${nls.rs_viewAsList}</span></li> <li dojoAttachPoint=\"_tagListAll\" style=\"display: none;\"><a href=\"javascript:void(0);\" title=\"${nls.rs_tagCloudViewAllTitle}\" role=\"button\" dojoAttachEvent=\"onclick:_showAllTags\">${nls.rs_tagCloudViewAll}</a></li> </ul> </div> </div> </div> </div> </div>");

;if(!dojo._hasResource["lconn.core.CommonTags.TagWidget"]){
dojo._hasResource["lconn.core.CommonTags.TagWidget"]=true;
dojo.provide("lconn.core.CommonTags.TagWidget");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.require("lconn.core.aria.Toolbar");
dojo.require("lconn.core.TypeAheadDataStore");
dojo.require("lconn.core.CommonTags.CommonTagsTypeAhead");
dojo.require("lconn.core.CommonTags.AjaxCall");
dojo.require("lconn.core.CommonTags.FeedConverter");
dojo.declare("lconn.core.CommonTags.TagWidget",[dijit._Widget,dijit._Templated],{forRecentTags:false,loadOnStartup:true,tags:null,selectedTags:"",redirectUrl:"",urlParameters:null,tagTemplate:"",tagUrl:"",tagStore:null,ajaxCall:null,handleAs:"xml",feedConverter:null,_isRelated:false,disableRelated:false,multiSelected:true,typeAheadFeedUrl:"",typeAheadTemplate:"",tagDialogEnabled:false,redirectWhenClickTag:true,templatePath:dojo.moduleUrl("lconn.core","CommonTags/templates/tagWidget.html"),_selectedTagsArr:null,_viewType:"cloud",_showVis:null,_dialog:null,_showRelatedTags:false,postMixInProperties:function(){
this.inherited(arguments);
this.nls=dojo.i18n.getLocalization("lconn.core","strings");
if(!this.id){
this.id=dijit.getUniqueId("lconnTagWidget");
}
this._dirCode=dojo._isBodyLtr()?"":"\u200f";
},postCreate:function(){
this.inherited(arguments);
if(this.forRecentTags){
this._noTags.innerHTML=this.nls.rs_tagCloudNoRecentTags;
}
this.ajaxCall=this.createAjaxCall();
this.feedConverter=this.createFeedConverter();
this._createTypeAhead();
this.subscribe("com/ibm/lconn/tags/widget/reload",this.reload);
this.subscribe("lconn/core/CommonTags/AddTag",this._addSelectedTag);
this.subscribe("lconn/core/CommonTags/RemoveTag",this._removeSelectedTag);
if(this.loadOnStartup){
this.load();
}
},destroy:function(){
this.inherited(arguments);
this.destroyRelatedHelpers();
this.destroyNormalHelpers();
},destroyRelatedHelpers:function(){
if(this.relatedHelper){
this.relatedHelper.destroy();
}
this.relatedHelper=null;
},destroyNormalHelpers:function(){
if(this.listHelper){
this.listHelper.destroy();
}
this.listHelper=null;
if(this.cloudHelper){
this.cloudHelper.destroy();
}
this.cloudHelper=null;
},createAjaxCall:function(){
if(this.ajaxCall==null){
this.ajaxCall=new lconn.core.CommonTags.AjaxCall();
this.ajaxCall.TAG_URL=this.tagUrl;
this.ajaxCall.REDIRECT_URL=this.redirectUrl;
this.ajaxCall.TAG_TEMPLATE=this.tagTemplate;
this.ajaxCall.URL_PARAMETERS=this.urlParameters;
if(this.handleAs=="xml"||this.handleAs=="json"){
this.ajaxCall.HANDLE_AS=this.handleAs;
}else{
this.ajaxCall.HANDLE_AS="xml";
}
}
return this.ajaxCall;
},createFeedConverter:function(){
if(this.feedConverter==null){
this.feedConverter=new lconn.core.CommonTags.FeedConverter();
}
return this.feedConverter;
},load:function(){
this.reload(true);
},reload:function(_1,_2){
if(_2!=null){
this.ajaxCall.URL_PARAMETERS=_2;
}
_1=!!_1;
this.prepareData();
this.checkIfRelated();
if(this._isRelated==true){
this.ajaxCall.getTags(dojo.hitch(this,this.ajaxCallBack),_1,this.selectedTags);
}else{
this.ajaxCall.getTags(dojo.hitch(this,this.ajaxCallBack),_1);
}
},reloadTags:function(_3){
this.ajaxCall.URL_PARAMETERS=_3;
this.reload(false);
},ajaxCallBack:function(_4){
if(this.ajaxCall.HANDLE_AS=="json"){
this.tags=_4;
}else{
this.tags=this.feedConverter.parseFeed(_4);
}
this.updateView();
},checkIfRelated:function(){
if(this.selectedTags!=""&&this.selectedTags!="undefined"&&this.selectedTags!=null){
this._isRelated=true;
}else{
this._isRelated=false;
}
},updateView:function(){
this.prepareData();
this.checkIfRelated();
if(this._isRelated==true){
this._genSelectedTagsHtml();
if(!this.disableRelated){
this._genRelatedTagsHtml();
}
this._show();
}else{
this._genNormalTagsHtml();
this._show();
}
this._setFocus();
},prepareData:function(){
this._selectedTagsArr=new Array();
if(this.selectedTags!=null&&dojo.string.trim(this.selectedTags)!=""){
var _5=this.selectedTags.split(" ");
for(var i=0;i<_5.length;i++){
var _6=dojo.string.trim(_5[i]);
if(_6==""){
continue;
}
this._selectedTagsArr.push(_6);
}
}
this._selectedTagsArr=this._selectedTagsArr.sort();
this.selectedTags=this._selectedTagsArr.join(" ");
},_genRelatedTagsHtml:function(){
this.destroyRelatedHelpers();
this._relatedTags.innerHTML="";
this._showRelatedTags=false;
if(this.tags!=null){
var _7=this.tags.length;
for(var j=0;j<_7;j++){
var _8=this.tags[j];
if(lconn.core.CommonTags.TagTransform.existsInRelatedTags(_8.name,this._selectedTagsArr)){
continue;
}
var li=document.createElement("li");
dijit.setWaiRole(li,"presentation");
var a=document.createElement("a");
dijit.setWaiRole(a,"option");
a.href="javascript:;";
a.title=dojo.string.substitute(this.nls.rs_relatedTagTitle,[_8.name,_8.frequency]);
this.connect(a,"click",dojo.hitch(this,"_addSelectedTagFromEvent",_8.name));
var _9=document.createElement("span");
_9.className="lotusSymbol";
_9.innerHTML="+";
dojo.place(_9,a);
a=lconn.core.CommonTags.TagTransform.breakString(_8.name,document,a,10);
dojo.place(a,li);
dojo.place(document.createTextNode(this._dirCode+" "),li);
dojo.place(li,this._relatedTags);
this._showRelatedTags=true;
}
}
},_genNormalTagsHtml:function(){
this.destroyNormalHelpers();
this._tagCloudTable.innerHTML="";
this._tagList.innerHTML="";
if(this.tags!=null){
var _a=lconn.core.CommonTags.TagTransform.getPopularTags(this.tags,50);
lconn.core.CommonTags.TagTransform.addIntensityBin(_a);
var _b=document.createElement("ul");
dijit.setWaiRole(_b,"listbox");
_b.style.listStyleType="disc";
_b.tabIndex="-1";
for(var i=0;i<_a.length;i++){
var _c=_a[i];
var li=document.createElement("li");
dijit.setWaiRole(li,"presentation");
var a=document.createElement("a");
a.href="javascript:;";
a.className="lotusF"+(_c.intensityBin||3);
a.title=dojo.string.substitute(this.nls.rs_addTagTitle,[_c.name,_c.frequency]);
this.connect(a,"click",dojo.hitch(this,"_addSelectedTagFromEvent",_c.name));
dijit.setWaiRole(a,"option");
a=lconn.core.CommonTags.TagTransform.breakString(_c.name,document,a,10);
dojo.place(a,li);
dojo.place(document.createTextNode(this._dirCode+" "),li);
dojo.place(li,_b);
}
dojo.place(_b,this._tagCloudTable);
this.cloudHelper=new lconn.core.aria._Helper(_b,{containerRole:"listbox",itemRole:"option"});
var _d=lconn.core.CommonTags.TagTransform.getListTags(this.tags);
var _e=_d.length;
for(var j=0;j<_e;j++){
_c=_d[j];
var li=document.createElement("li");
dijit.setWaiRole(li,"presentation");
li.className="lotusAlignLeft";
var _f=document.createElement("span");
_f.className="lotusRight";
_f.innerHTML=_c.frequency;
li.appendChild(_f);
var a=document.createElement("a");
dijit.setWaiRole(a,"option");
dojo.addClass(a,"lotusLeft");
dojo.style(a,{"maxWidth":"130px","wordWrap":"break-word"});
a.href="javascript:;";
a.title=dojo.string.substitute(this.nls.rs_addTagTitle,[_c.name,_c.frequency]);
this.connect(a,"click",dojo.hitch(this,"_addSelectedTagFromEvent",_c.name));
lconn.core.CommonTags.TagTransform.breakString(_c.name,document,a,10);
li.appendChild(a);
li.appendChild(document.createTextNode(this._dirCode+" "));
dojo.place(li,this._tagList);
}
this.listHelper=new lconn.core.aria._Helper(this._tagList,{containerRole:"listbox",itemRole:"option"});
}
},_genSelectedTagsHtml:function(){
var el=this._selectedTags;
el.innerHTML="";
for(var i=0;i<this._selectedTagsArr.length;i++){
var _10=this._selectedTagsArr[i];
var li=document.createElement("li");
li.className="lotusAlignLeft";
var _11=document.createElement("span");
dojo.addClass(_11,"lotusLeft");
dojo.style(_11,{"maxWidth":"130px","wordWrap":"break-word"});
lconn.core.CommonTags.TagTransform.breakString(_10,document,_11,10);
li.appendChild(_11);
var a=document.createElement("a");
a.href="javascript:;";
a.className="lotusDelete lotusRight";
a.title=dojo.string.substitute(this.nls.rs_removeTagTitle,[_10]);
this.connect(a,"click",dojo.hitch(this,"_removeSelectedTagFromEvent",_10));
dojo.attr(a,"role","button");
a.appendChild(document.createTextNode("\xa0"));
var img=document.createElement("img");
img.alt="";
img.title=dojo.string.substitute(this.nls.rs_removeTagTitle,[_10]);
img.src=this._blankGif;
if(dojo.isIE<7){
img.style.verticalAlign="bottom";
}
dijit.setWaiRole(img,"presentation");
a.appendChild(img);
var _11=document.createElement("span");
_11.className="lotusAltText";
_11.appendChild(document.createTextNode("X"));
a.appendChild(_11);
li.appendChild(a);
el.appendChild(li);
}
},_addSelectedTagFromEvent:function(tag,_12){
try{
if(_12){
dojo.stopEvent(_12);
}
}
catch(e){
}
this._focusHint={related:true};
this._addSelectedTag(tag);
},_show:function(){
this._loadTags.style.display="none";
if((this.tags==null||this.tags.length==0)&&(this.selectedTags==null||dojo.string.trim(this.selectedTags)=="")){
if(this.forRecentTags){
this._tagSearchText.style.display="";
}else{
this._tagSearchText.style.display="none";
}
this._noTags.style.display="";
this._hasTags.style.display="none";
this._normalTagsSection.style.display="none";
}else{
this._noTags.style.display="none";
this._hasTags.style.display="";
if(!this._openedSearchForm){
this._tagSearchForm.style.display="none";
this._tagSearchText.style.display="";
}
if(this._isRelated==true){
this._normalTagsSection.style.display="none";
this._selectedTagsSection.style.display="";
this._showSearchForm(null,true);
if(this._showRelatedTags&&!this.disableRelated){
this._relatedTagsSection.style.display="";
}
}else{
this._selectedTagsSection.style.display="none";
this._relatedTagsSection.style.display="none";
this._normalTagsSection.style.display="";
if(this._viewType=="cloud"){
this._tagListLink.style.display="none";
this._tagListView.style.display="none";
this._tagListAll.style.display="none";
this._tagCloudLink.style.display="";
this._tagCloudView.style.display="";
if(this.tagDialogEnabled){
this._tagCloudAll.style.display="";
}
}else{
this._tagCloudLink.style.display="none";
this._tagCloudAll.style.display="none";
this._tagCloudView.style.display="none";
this._tagListLink.style.display="";
this._tagListView.style.display="";
if(this.tagDialogEnabled){
this._tagListAll.style.display="";
}
}
}
}
},_createTypeAhead:function(){
var _13=dijit.byId(this.id+"commonTagsTypeAhead");
if(_13!=null){
_13.destroy();
}
this.tagStore=this.tagStore||new lconn.core.TypeAheadDataStore({url:this.typeAheadFeedUrl,queryParam:this.typeAheadTemplate});
var _14={minChars:2,searchDelay:400,multipleValues:true,store:this.tagStore,token:" ","name":this.id+"commonTagsTypeAhead","id":this.id+"commonTagsTypeAhead"};
var _15=new lconn.core.CommonTags.CommonTagsTypeAhead(_14,this._typeAheadDom);
},_toggleSubs:function(){
if(this._tagMenu.style.display!="none"){
new dojo.fx.Toggler({node:this._tagMenu,showDuration:500,showFunc:dojo.fx.wipeOut}).show();
this._toggleBar.className="lotusSprite lotusArrow lotusTwistyClosed";
}else{
new dojo.fx.Toggler({node:this._tagMenu,showDuration:500,showFunc:dojo.fx.wipeIn}).show();
this._toggleBar.className="lotusSprite lotusArrow lotusTwistyOpen";
}
},_showSearchForm:function(e,_16){
var el=dijit.byId(this.id+"commonTagsTypeAhead");
this._tagSearchText.style.display="none";
this._tagSearchForm.style.display="";
if(el){
if(el.updateHintText){
el.updateHintText(_16?this.nls.rs_searchInputTagSelected:this.nls.rs_searchInputDefault);
}
if(e){
this._openedSearchForm=true;
dojo.stopEvent(e);
el.focus();
}
if(el.onSelect){
this.connect(el,"onSelect",dojo.hitch(this,"_searchTag",null));
}else{
if(el._doSelect){
this.connect(el,"_doSelect",dojo.hitch(this,"_searchTag",null));
}
}
}
},_popupHelp:function(_17){
dojo.stopEvent(_17);
var _18={tagWidget:this,event:_17};
dojo.publish("/tagWidget/help/show",[_18]);
},_showCloud:function(){
this._viewType="cloud";
this._show();
if(this.cloudHelper&&this.cloudHelper.focus){
this.cloudHelper.focus();
}else{
dijit.focus(this._showCloudSpan);
}
},_showList:function(){
this._viewType="list";
this._show();
if(this.listHelper&&this.listHelper.focus){
this.listHelper.focus();
}else{
dijit.focus(this._showListSpan);
}
},_loading:function(){
},_showAllTags:function(_19){
if(_19){
dojo.stopEvent(_19);
}
if(this._dialog==null){
var d=dojo;
d.require("lconn.core.CommonTags.TagDialog");
var _1a={ajaxCall:this.ajaxCall,feedConverter:this.feedConverter,tagWidget:this};
this._dialog=new lconn.core.CommonTags.TagDialog(_1a);
}
this._dialog.show();
},_searchTag:function(_1b,_1c){
try{
if(_1b){
dojo.stopEvent(_1b);
}
}
catch(e){
}
if(_1c){
if(typeof _1c=="string"){
var tag=_1c;
}else{
if(typeof _1c.name=="string"){
var tag=_1c.name;
}
}
}
var _1d=dijit.byId(this.id+"commonTagsTypeAhead");
if(!_1d){
return;
}
var _1e=_1d.domNode;
if(!_1e){
return;
}
if(!tag){
if(_1e.hasInput==false){
return;
}
var tag=_1e.value;
}
if(!tag){
return;
}
_1e.value="";
this._addSelectedTag(tag);
},_addSelectedTag:function(tag){
if(!tag){
return;
}
tag=tag.replace(new RegExp(" ","gm"),",");
var _1f=tag.split(",");
var _20=[];
if(this.multiSelected==true){
_20=this._selectedTagsArr||[];
for(var p=0;p<_1f.length;p++){
if(!_1f[p]||lconn.core.CommonTags.TagTransform.existsInRelatedTags(_1f[p],_20)){
continue;
}
_20.push(_1f[p]);
}
}else{
for(var p=0;p<_1f.length;p++){
if(!_1f[p]){
continue;
}
_20.push(_1f[p]);
}
}
if(_20.length>0){
if(this.multiSelected==true){
this._selectedTagsArr=_20;
}else{
this._selectedTagsArr.push(_20[0]);
}
this.selectedTags=this._selectedTagsArr.join(" ");
if(this.redirectWhenClickTag==false){
this.reload(false);
}else{
this.ajaxCall.redirect(this.selectedTags);
}
}else{
this.updateView();
}
},_removeSelectedTagFromEvent:function(tag,_21){
try{
if(_21){
dojo.stopEvent(_21);
}
}
catch(e){
}
var _22=this._selectedTagsArr||[];
this._focusHint={selected:dojo.indexOf(_22,tag)};
this._removeSelectedTag(tag);
},_removeSelectedTag:function(tag){
var _23=this._selectedTagsArr.length;
for(var i=0;i<_23;i++){
if(tag==this._selectedTagsArr[i]){
this._selectedTagsArr.splice(i,1);
break;
}
}
this.selectedTags=this._selectedTagsArr.join(" ");
if(this.redirectWhenClickTag==false){
this.reload(false);
}else{
this.ajaxCall.redirect(this.selectedTags);
}
},_setFocus:function(){
if(this.redirectWhenClickTag||!this._focusHint){
return;
}
var _24=this._focusHint;
this._focusHint=null;
var _25=null;
if(_24.related&&this._relatedTags){
_25=dojo.query("a",this._relatedTags)[0];
}else{
if(_24.selected>=0&&this._selectedTagsArr.length){
var _26=dojo.query("a",this._selectedTags);
_25=_26[_24.selected]||_26[_26.length-1];
}
}
if(!_25&&this._tagSearchForm.style.display!="none"){
_25=dojo.query("input",this._tagSearchForm)[0];
}
if(!_25&&this._tagSearchText.style.display!="none"){
_25=dojo.query("a",this._tagSearchText)[0];
}
if(_25){
dijit.focus(_25);
}
},setSelectedTags:function(_27){
if(_27!=null&&_27!="undefined"){
this._selectedTagsArr=_27;
this.selectedTags=this._selectedTagsArr.join(" ");
}
},setSingleTag:function(tag){
console.log("setting tag "+tag);
}});
dojo.declare("lconn.core.CommonTags._TagTransform",null,{getPopularTags:function(_28,_29){
if(_28==null||_28.length==0){
return [];
}
if(_28.length<=_29){
return _28.slice(0);
}
var _2a=[];
for(var i=0;i<_28.length;i++){
_2a.push(_28[i].frequency);
}
_2a=_2a.sort(function(a,b){
return a-b;
}).slice(_2a.length-_29);
var _2b=_2a[0];
var _2c=0;
while(_2a[_2c]==_2b){
_2c++;
}
var rtn=[];
var _2d=0;
for(var i=0;i<_28.length;i++){
if(_28[i].frequency>_2b){
rtn.push(_28[i]);
}else{
if(_28[i].frequency==_2b&&_2d<_2c){
rtn.push(_28[i]);
_2d++;
}
}
}
return rtn;
},getCloudTags:function(_2e){
if(_2e==null||_2e.length==0){
return [];
}
var _2f=this.sortByName(_2e);
this.addIntensityBin(_2f.tags);
return _2f.tags;
},addIntensityBin:function(_30){
if(_30==null||_30.length==0){
return [];
}
if(_30[0].intensityBin){
return _30;
}
var _31=_30.length;
var min=_30[0].frequency;
var max=_30[0].frequency;
for(var i=0;i<_31;i++){
var _32=_30[i].frequency;
if(_32<min){
min=_32;
}
if(_32>max){
max=_32;
}
}
var _33=0;
if(min!=max){
min=Math.log(1+min);
max=Math.log(1+max);
_33=max-min;
}
var _34=1;
var _35=5;
for(var i=0;i<_31;i++){
var tag=_30[i];
if(_33==0){
tag.intensityBin=Math.floor((_35+_34)/2);
}else{
tag.intensityBin=_34+Math.floor((_35-_34)*((Math.log(1+tag.frequency)-min)/_33));
}
}
return _30;
},getListTags:function(_36,_37){
if(_36==null||_36.length==0){
return [];
}
if(_37){
var _38=this.getTopCounts(_36,_37);
}else{
var _38=this.getTopCounts(_36);
}
var _36=this.sortByName(_36).tags;
var _39=new Array();
for(var i=0;i<_38.length;i++){
for(var j=0;j<_36.length;j++){
if(_36[j].frequency==_38[i]){
if(this.existsInArray(_36[j],_39)==false){
_39[i]=_36[j];
break;
}
}
}
}
return _39;
},existsInArray:function(tag,_3a){
for(var i=0;i<_3a.length;i++){
if(tag.name==_3a[i].name){
return true;
}
}
return false;
},existsInRelatedTags:function(tag,_3b){
for(var i=0;i<_3b.length;i++){
if(tag==_3b[i]){
return true;
}
}
return false;
},sortByName:function(_3c){
var _3d=new Array();
var map={};
for(var i=0;i<_3c.length;i++){
_3d.push(_3c[i].name);
map[_3c[i].name]=_3c[i].frequency;
}
_3d=_3d.sort();
var max=-1;
var min=-1;
var _3e=new Array();
for(var i=0;i<_3d.length;i++){
var _3f=_3d[i];
var _40=map[_3d[i]];
_3e[i]={name:_3f,frequency:_40};
if(max==-1){
max=_40;
}
if(min==-1){
min=_40;
}
max=Math.max(max,_40);
min=Math.min(min,_40);
}
return {tags:_3e,maxCount:max,minCount:min};
},getTopCounts:function(_41,_42){
var _43=new Array();
for(var i=0;i<_41.length;i++){
_43.push(_41[i].frequency);
}
_43=_43.sort(this.sortNumber).reverse();
if(_42!=null&&_42!="undefined"){
if(_42<=_43.length){
return _43.slice(0,_42);
}else{
return _43;
}
}else{
return _43.slice(0,10);
}
},sortNumber:function(a,b){
return a-b;
},breakString:function(s,d,el,_44){
if(!s){
return el;
}
_44=_44||10;
var b=new RegExp("[^\\s]{"+(_44+1)+"}","g");
var r;
var _45=0,end;
if(dojo.isIE||dojo.isSafari){
while(r=b.exec(s)){
end=--b.lastIndex;
el.appendChild(d.createTextNode(s.substring(_45,end)));
el.appendChild(d.createElement("wbr"));
_45=end;
}
}else{
while(r=b.exec(s)){
end=--b.lastIndex;
el.appendChild(d.createTextNode(s.substring(_45,end)+"\u200b"));
_45=end;
}
}
el.appendChild(d.createTextNode(s.substring(end)));
return el;
}});
lconn.core.CommonTags.TagTransform=new lconn.core.CommonTags._TagTransform();
}


;if(!dojo._hasResource["lconn.core.HTMLUtil"]){
dojo._hasResource["lconn.core.HTMLUtil"]=true;
dojo.provide("lconn.core.HTMLUtil");
lconn.core.HTMLUtil.setInnerTextNode=function(_1,_2){
_1.innerHTML="";
_1.appendChild(document.createTextNode(_2));
};
lconn.core.HTMLUtil.escapeInlineText=function(_3){
return lconn.core.HTMLUtil.escapeText(_3,true);
};
lconn.core.HTMLUtil.escapeText=function(_4,_5){
var _6=document.getElementById("escapeBufferDiv");
if(!_6){
var _7=document.createElement("div");
_7.id="escapeBufferDiv";
_7.style.display="none";
document.body.appendChild(_7);
_6=_7;
}
_6.appendChild(document.createTextNode(_4));
var _8=_6.innerHTML;
_6.innerHTML="";
if(_5){
_8=lconn.core.HTMLUtil.escape_q(_8);
}
return _8;
};
lconn.core.HTMLUtil.escape_q=function(s){
var t="";
for(var i=0;i<s.length;i++){
var c=s.charAt(i);
if(c=="\""){
t+="&#34;";
}else{
if(c=="'"){
t+="&#39;";
}else{
if(c=="\\"){
t+="&#92;&#92;";
}else{
t+=c;
}
}
}
}
return t;
};
}


;if(!dojo._hasResource["lconn.core.HelpLauncher"]){
dojo._hasResource["lconn.core.HelpLauncher"]=true;
dojo.provide("lconn.core.HelpLauncher");
dojo.require("dijit.TooltipDialog");
dojo.require("lconn.core.widget.MenuLauncher");
dojo.declare("lconn.core.HelpLauncher",lconn.core.widget.MenuLauncher,{openDelay:250,hideDelay:400,orient:{"TR":"TL","TL":"TR","BR":"BL","BL":"BR"},orientRTL:{"TL":"TR","TR":"TL","BL":"BR","BR":"BL"},_initMenu:function(){
this.menu=new lconn.core.HelpLauncher.ToolTip(dojo.mixin({id:this.menuId},this.optMenu));
},onOpen:function(){
this.inherited(arguments);
this.menu.containerNode.appendChild(document.createTextNode(""));
this.menu.domNode.parentNode.style.width=this.menu.width+22+"px";
}});
dojo.declare("lconn.core.HelpLauncher.ToolTip",dijit.TooltipDialog,{heading:"",message:"",help:"",close:"",autofocus:false,width:200,maxWidth:400,"class":"lotusTooltipDialog",parseOnLoad:false,postMixInProperties:function(){
this.isLoaded=true;
this.title=this.help;
},buildRendering:function(){
var _1=this.strings;
var d=document;
var m=this.message;
var _2=this.heading;
var _3=this.close;
var h3,p;
var el=d.createElement("div");
el.className="lotusHelp";
m=(m)?m:"";
var _4=(typeof (m)==="string")?m:(m.textContent||m.innerText);
var _5=_4.length;
var w=this.width+Math.min(Math.max(0,(_5-200)/125),1)*(this.maxWidth-this.width);
el.style.width=w+"px";
this.width=w;
dojo.style(el,"border","0px");
var _6=d.createElement("div");
_6.className="lotusInfoBox";
dijit.setWaiRole(_6,"document");
var _7=d.createElement("div");
_7.className="lotusRight";
var _8=this.closeLink=d.createElement("a");
_8.title=_3;
dijit.setWaiState(_8,"label",_3);
_8.className="lotusDelete";
_8.href="javascript:;";
this.connect(_8,"onclick","onCancel");
dijit.setWaiRole(_8,"button");
var _9=d.createElement("img");
_9.src=this._blankGif;
_9.setAttribute("alt",_3);
dijit.setWaiRole(_9,"presentation");
_8.appendChild(_9);
var _a=d.createElement("span");
_a.className="lotusAltText";
_a.appendChild(d.createTextNode("X"));
_8.appendChild(_a);
_7.appendChild(_8);
_6.appendChild(_7);
var _b=document.createElement("div");
_b.id=this.id+"_content";
_b.className="lotusHelpHeader";
dijit.setWaiState(_8,"describedBy",_b.id);
if(m){
if(_2){
h3=d.createElement("h3");
dijit.setWaiRole(h3,"heading");
dijit.setWaiState(h3,"level","1");
h3.appendChild(d.createTextNode(_2));
_6.appendChild(h3);
}
if(typeof (m)==="string"){
p=d.createElement("p");
p.appendChild(d.createTextNode(m));
_b.appendChild(p);
}else{
_b.appendChild(m);
}
}
_6.appendChild(_b);
el.appendChild(_6);
this.content=el;
this.inherited(arguments);
},destroy:function(){
dijit.popup.close(this);
this.inherited(arguments);
},closeOnLinkClick:true,_attachTemplateNodes:function(){
this.inherited(arguments);
this.connect(this.domNode,"onmouseover","onMouseOver");
this.connect(this.domNode,"onmouseout","onMouseOut");
if(this.closeOnLinkClick){
this.connect(this.domNode,"onclick","onTooltipClick");
}
},onTooltipClick:function(e){
var el=e.target;
for(var i=0;el&&i<5;i++){
if(el.nodeName.toLowerCase()=="a"&&el!=this.closeLink){
this.onCancel();
return;
}else{
if(el==this.containerNode){
return;
}else{
el=el.parentNode;
}
}
}
}});
lconn.core.HelpLauncher.createHelpLink=function(a,_c,_d,_e,_f){
var d=document;
this.strings=_e||lconn.core.HelpLauncher.strings;
a=a||document.createElement("a");
_f=_f||false;
if(!_f){
if(a.childNodes.length>0){
while(a.firstChild){
a.removeChild(a.firstChild);
}
}
a.href="javascript:;";
dijit.setWaiRole(a,"button");
var img=d.createElement("IMG");
img.className=(dojo.locale==="ar")?"lconnSprite lconnSprite-iconHelp16-ar":"lconnSprite lconnSprite-iconHelp16";
img.src=dijit._Widget.prototype._blankGif;
img.setAttribute("alt",this.strings.HELP);
a.appendChild(img);
var _10=d.createElement("span");
_10.className="lotusAltText";
_10.appendChild(d.createTextNode(dojo.locale==="ar"?"\u061f":"?"));
a.appendChild(_10);
}
new lconn.core.HelpLauncher({optMenu:{heading:_c,message:_d,help:this.strings.HELP,close:this.strings.CLOSE}},a);
return a;
};
lconn.core.HelpLauncher.strings={HELP:"Help",CLOSE:"Close"};
}

dojo.registerModulePath("com.ibm.oneui.ckeditor", "../com.ibm.oneui.ckeditor");

;if(!dojo._hasResource["com.ibm.oneui.ckeditor.editor.dojoconfig"]){
dojo._hasResource["com.ibm.oneui.ckeditor.editor.dojoconfig"]=true;
dojo.provide("com.ibm.oneui.ckeditor.editor.dojoconfig");
com.ibm.oneui.ckeditor.editor.dojoconfig.execCustomConfig=function(){
CKEDITOR.editorConfig=function(_1){
_1.dialog_backgroundCoverColor="black";
_1.dialog_backgroundCoverOpacity=0.3;
_1.skin="oneui3";
_1.dialog_startupFocusTab=true;
_1.colorButton_enableMore=false;
_1.resize_enabled=false;
_1.toolbarCanCollapse=false;
_1.toolbar="Large";
_1.disableNativeSpellChecker=false;
_1.forceEnterMode=true;
_1.useComputedState=true;
_1.ignoreEmptyParagraph=false;
_1.ibmFilterPastedDataUriImage=true;
_1.find_highlight={element:"span",styles:{"background-color":"#004","color":"#fff","border":"1px solid #004"}};
var _2="scayt|wsc|div|forms|about|resize";
var _3=new RegExp("(?:^|,)(?:"+_2+")(?=,|$)","g");
_1.plugins=_1.plugins.replace(_3,"");
_1.plugins+=",tableresize,sametimeemoticons,customdialogs,lotustoolbars,urllink,lotusstatusmessage,lotusbidi,lotuspastenotesdatalink,lotuspastevideo,lotuspasteiframe,lotustabletools,imagedatauri";
_1.pasteFromWordRemoveFontStyles=false;
_1.pasteFromWordRemoveStyles=false;
_1.menus={link:{buttonClass:"cke_button_link",commands:["link","bookmark"]},paste:{buttonClass:"cke_button_pastetext",groupName:"clipboard",commands:["paste","pastetext"]}};
};
};
}


;if(!dojo._hasResource["lconn.core.DateUtil"]){
dojo._hasResource["lconn.core.DateUtil"]=true;
dojo.provide("lconn.core.DateUtil");
dojo.require("dojo.i18n");
dojo.require("dojo.string");
dojo.require("dojo.date.locale");
dojo.requireLocalization("lconn.core","strings");
dojo.requireLocalization("dojo.cldr","gregorian");
dojo.require("lconn.core.Res");
var w={};
w.MILLS_IN_DAY=86400000;
w.inited=null;
w.Today="Error: not inited";
w.Yesterday="Error: not inited";
w.Tomorrow="Error: not inited";
w.initResStrings=function(){
var _1=new lconn.core.Res();
_1.loadDefaultBundle();
var b=_1.resBundle;
this.Today=b.rs_today;
this.Yesterday=b.rs_yesterday;
this.Tomorrow=b.rs_tomorrow;
this.inited=true;
};
w.delta=function(_2,_3){
var _4=_2.getTime()-_3;
var _5=Math.ceil(_4/(this.MILLS_IN_DAY));
return _5;
};
w.toString=function(_6,_7){
var _8;
if(!_6||!(_8=Date.parse(_6))){
console.log("Invalid date passed to DateUtil.toString(): "+_6);
return;
}
var _9="";
_9=this.toStringForTimeinMs(_8,_7);
return _9;
};
w.toStringForTimeinMs=function(_a,_b){
if(this.Days==null){
this.Days=dojo.i18n.getLocalization("dojo.cldr","gregorian")["days-format-wide"];
}
if(this.Month==null){
this.Month=dojo.i18n.getLocalization("dojo.cldr","gregorian")["months-format-abbr"];
}
if(this.inited==null){
this.initResStrings();
}
var _c=new Date();
_c.setHours(0,0,0,0);
var _d=new Date();
_d.setTime(_a);
var _e=this.delta(_c,_a);
var _f="";
if(_e<=2&&_e>=-2){
if(_e==2){
if(_b===undefined){
_f=this.Days[_d.getDay()]+" "+this.getLocalizedTime(_d);
}else{
_f=this.Days[_d.getDay()];
}
}else{
if(_e==1){
if(_b===undefined){
_f=this.Yesterday+" "+this.getLocalizedTime(_d);
}else{
_f=this.Yesterday;
}
}else{
if(_e==0){
if(_b===undefined){
_f=this.Today+" "+this.getLocalizedTime(_d);
}else{
_f=this.Today;
}
}else{
if(_e==-1){
_f=this.Tomorrow;
}else{
if(_e==-2){
_f=this.Days[_d.getDay()];
}
}
}
}
}
}else{
if(_c.getFullYear()==_d.getFullYear()){
var _10=djConfig.locale.substring(0,2).toLowerCase();
var _11="";
if(djConfig.locale.length>2){
_11=djConfig.locale.substring(3,5).toLowerCase();
}
if(_10=="en"&&(_11==""||_11=="us")){
_f=this.Month[_d.getMonth()]+" "+_d.getDate();
}else{
_f=this.getLocalizedDate(_d);
}
}else{
var _10=djConfig.locale.substring(0,2).toLowerCase();
var _11="";
if(djConfig.locale.length>2){
_11=djConfig.locale.substring(3,5).toLowerCase();
}
if(_10=="en"&&(_11==""||_11=="us")){
_f=this.Month[_d.getMonth()]+" "+_d.getDate()+", "+_d.getFullYear();
}else{
_f=this.getLocalizedDate(_d);
}
}
}
if(djConfig.locale=="ar"){
return "\u200f"+_f;
}
return _f;
};
w.getLocalizedTime=function(_12){
return dojo.date.locale.format(_12,{selector:"time",formatLength:"short",locale:djConfig.locale});
};
w.getLocalizedDate=function(_13){
return dojo.date.locale.format(_13,{selector:"date",formatLength:"medium",locale:djConfig.locale});
};
w.getLocaleString=function(_14){
var _15=new Date();
_15.setTime(_14);
return _15.toLocaleString();
};
lconn.core.DateUtil=w;
lconn.core.DateUtil.atomDateToJsDate=function atomDateToJsDate(_16){
var _17=null;
var s=_16;
var _18=(s.charAt(s.length-1)=="Z");
var _19=s.indexOf("-");
if(s.length>="yyyy-mm-ddThh:mm".length){
s=s.substring(_19-4);
var y=parseInt(s.substr(0,4));
var m=parseInt(s.substr(5,2),10)-1;
var d=parseInt(s.substr(8,2),10);
var h=parseInt(s.substr(11,2),10);
var mi=parseInt(s.substr(14,2),10);
var utc=0;
if(_18){
var _1a=s.substring(17,s.length-1);
var _1b=parseFloat(_1a);
utc=Date.UTC(y,m,d,h,mi)+_1b*1000;
}else{
var zh=0;
var zm=0;
var _1c=s.length-6;
var _1d=s.charAt(_1c);
if((_1d=="+"||_1d=="-")&&s.indexOf("T")<s.length-5){
var se=parseInt(s.substr(17,2),10);
var zh=parseInt(s.substr(_1c,3),10);
var zm=parseInt(s.substr(_1c+4,2),10);
}
utc=Date.UTC(y,m,d,h,mi,se)-(zh*60*60*1000+zm*60*1000);
}
_17=new Date(utc);
}
return _17;
};
lconn.core.DateUtil.AtomDateToString=function AtomDateToString(_1e,_1f){
var _20=lconn.core.DateUtil.atomDateToJsDate(_1e);
return _20?lconn.core.DateUtil.toString(_20,_1f):_1e;
};
}


;if(!dojo._hasResource["lconn.core.NameUtil"]){
dojo._hasResource["lconn.core.NameUtil"]=true;
dojo.provide("lconn.core.NameUtil");
dojo.require("lconn.core.HTMLUtil");
lconn.core.NameUtil={getHTML:function(_1,_2,_3,id,_4){
var _5;
var _6=lconn.core.HTMLUtil.escapeText(_3);
if(_2){
var _7=lconn.core.HTMLUtil.escapeText(_2);
if(_1){
_5=(_4?_1:lconn.core.HTMLUtil.escapeText(_1));
}else{
_5=_7;
}
return "<span"+(id?" id=\""+id+"\"":"")+"><span class=\"vcard\"><span class=\"fn person lotusPerson\">"+_5+"</span><span class=\"email\" style=\"display: none;\">"+_7+"</span><span class=\"x-lconn-userid\" style=\"display: none;\">"+_6+"</span></span></span>";
}else{
var _5;
var _8=lconn.core.HTMLUtil.escapeInlineText(_3);
if(_1){
_5=(_4?_1:lconn.core.HTMLUtil.escapeText(_1));
}else{
_5=_6;
}
return "<span"+(id?" id=\""+id+"\"":"")+"><span class=\"vcard\"><span class=\"fn person lotusPerson\">"+_5+"</span><span class=\"x-lconn-userid\" style=\"display: none;\">"+_6+"</span></span></span>";
}
}};
}


;if(!dojo._hasResource["lconn.core.PeopleDataStore"]){
dojo._hasResource["lconn.core.PeopleDataStore"]=true;
dojo.provide("lconn.core.PeopleDataStore");
dojo.declare("lconn.core.PeopleDataStore",null,{constructor:function(_1,_2){
this.queryParam=(_1.queryParam?_1.queryParam:_2.getAttribute("queryParam"));
this.url=(_1.url?_1.url:_2.getAttribute("url"));
this.cache=[];
this.dirCache=[];
this.network=_1.network;
},queryParam:"",searchDirectory:false,cache:null,dirCache:null,network:null,fetch:function(_3){
var _4={};
var _5;
this.searchDirectory=(_3.queryOptions.searchDirectory?true:false);
if(this.searchDirectory){
_5=this.dirCache;
}else{
_5=this.cache;
}
if(typeof _5[_3.query.toLowerCase()]=="object"){
_3.count=_5.length;
_3.onComplete(_5[_3.query.toLowerCase()],_3);
return _3;
}
if(this.queryParam){
_4[this.queryParam]=_3.query;
}
if(this.searchDirectory){
_4.usedirectory="yes";
}
this.networkGet({url:this.url,content:_4,handleAs:"json-comment-optional",timeout:5000,load:dojo.hitch(this,function(_6){
var _7;
if(this.searchDirectory){
_7=this.dirCache;
}else{
_7=this.cache;
}
_3.count=_6.items.length;
_7[_3.query.toLowerCase()]=_6.items;
if(_3.onComplete){
_3.onComplete(_6.items,_3);
}
}),error:function(){
console.log("There was an error");
}});
return _3;
},networkGet:function(_8){
if(this.network&&this.network.get){
return this.network.get(_8);
}
return (this.network||dojo).xhrGet(_8);
},getValue:function(_9,_a,_b){
if(_9[_a]){
return _9[_a];
}else{
return _b;
}
}});
}


;if(!dojo._hasResource["lconn.core.PeopleTypeAhead"]){
dojo._hasResource["lconn.core.PeopleTypeAhead"]=true;
dojo.provide("lconn.core.PeopleTypeAhead");
dojo.require("lconn.core.TypeAhead");
dojo.require("lconn.core.Res");
dojo.require("dijit.form.ComboBox");
dojo.require("dijit.Tooltip");
dojo.declare("lconn.core.PeopleTypeAhead",[lconn.core.TypeAhead,lconn.core.Res],{isGroup:false,isPersonAndGroup:false,isCommunity:false,size:"",pageSize:15,multipleValues:false,NoResultsMessage:"",HeaderMessage:"",showHintText:true,disableSearchDirectory:false,autoSelectChars:[","],focused:false,templateString:null,templatePath:dojo.moduleUrl("lconn.core","templates/ComboBox.html"),disableBizCard:false,postMixInProperties:function(){
this.loadDefaultBundle();
this.searchDirectory=this.resBundle.rs_searchDirectory;
if(this.isGroup){
this.searchDirectory=this.resBundle.rs_searchGroupDirectory;
}else{
if(this.isCommunity){
this.searchDirectory=this.resBundle.rs_searchCommunityDirectory;
}else{
if(this.isPersonAndGroup){
this.searchDirectory=this.resBundle.rs_searchPersonAndGroupDirectory;
}
}
}
if(this.showHintText){
this.hintText=this.resBundle.rs_shadowText_searchDirectory;
if(this.isGroup){
this.hintText=this.resBundle.rs_shadowText_searchGroupDirectory;
}else{
if(this.isCommunity){
this.hintText=this.resBundle.rs_shadowText_searchCommunityDirectory;
}else{
if(this.isPersonAndGroup){
this.hintText=this.resBundle.rs_shadowText_searchPersonAndGroupDirectory;
}
}
}
}else{
this.hintText=null;
}
this.inherited(arguments);
this.baseClass="lotusText";
},postCreate:function(){
this.inherited(arguments);
var _1=this.resBundle.rs_shadowText_searchDirectory;
if(this.isGroup){
_1=this.resBundle.rs_shadowText_searchGroupDirectory;
}else{
if(this.isCommunity){
_1=this.resBundle.rs_shadowText_searchCommunityDirectory;
}else{
if(this.isPersonAndGroup){
_1=this.resBundle.rs_shadowText_searchPersonAndGroupDirectory;
}
}
}
var _2=dojo.place("<div id=\""+this.id+"_ariaDescribedBy"+"\" style=\"display:none;\">"+_1+"</div>",this.domNode,"after");
dojo.attr(this.domNode,"aria-describedby",this.id+"_ariaDescribedBy");
},getItem:function(){
return (this.item?this.item:null);
},formatItem:function(_3,_4){
var _5="";
if(typeof _3=="string"){
return _4?this._htmlify(_3):_3;
}
if(!_3||!_3.name){
return _5;
}
if(_3.name.indexOf(",")!=-1&&_3.name.length>1&&_3.name[0]!="\""&&_3.name[_3.name.length-1]!="\""){
if(_4){
if(_3.businessOwner){
_5+="&quot;"+this._htmlify(_3.name)+"&quot;"+": "+this._htmlify(_3.businessOwner);
}else{
_5+="&quot;"+this._htmlify(_3.name)+"&quot;";
}
}else{
_5+="\""+_3.name+"\"";
}
}else{
if(_4){
if(_3.businessOwner){
_5+=this._htmlify(_3.name+": "+_3.businessOwner);
}else{
_5+=this._htmlify(_3.name);
}
}else{
_5+=_3.name;
}
}
if(_3.member){
if(_4){
_5+=" &lt;"+this._htmlify(_3.member)+"&gt;&lrm;";
}else{
_5+=" <"+_3.member+">\u200e";
}
}
return _5;
},_htmlify:function(_6){
return _6.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");
},_onKeyPress:function(_7){
var _8=_7.charOrCode;
if(_7.altKey||((_7.ctrlKey||_7.metaKey)&&(_8!="x"&&_8!="v"))||_8==dojo.keys.SHIFT){
return;
}
var _9=false;
var _a="_startSearchFromInput";
var pw=this._popupWidget;
var dk=dojo.keys;
var _b=null;
this._prev_key_backspace=false;
this._abortQuery();
if(this._isShowingNow){
pw.handleKey(_8);
_b=pw.getHighlightedOption();
}
switch(_8){
case dk.PAGE_DOWN:
case dk.DOWN_ARROW:
case dk.PAGE_UP:
case dk.UP_ARROW:
if(!this._isShowingNow){
this._arrowPressed();
_9=true;
_a="_startSearchAll";
}else{
}
dojo.stopEvent(_7);
break;
case dk.ENTER:
if(_b){
if(_b==pw.nextButton){
this._nextSearch(1);
dojo.stopEvent(_7);
break;
}else{
if(_b==pw.previousButton){
this._nextSearch(-1);
dojo.stopEvent(_7);
break;
}else{
if(_b==pw.searchButton){
pw.searchDirectory();
dojo.stopEvent(_7);
return;
}else{
if(_b.item&&parseInt(_b.item.type)<0){
dojo.stopEvent(_7);
break;
}
}
}
}
pw.attr("value",{target:_b});
}else{
this._setBlurValue();
this._setCaretPos(this.focusNode,this.focusNode.value.length);
if(this.submitFormOnNonSelectingEnter){
if(this.searchTimer){
clearTimeout(this.searchTimer);
this.searchTimer=null;
}
this._lastQuery=null;
break;
}
}
if(this._isShowingNow){
this._lastQuery=null;
this._hideResultList();
}
if(!this.submitFormOnKey){
_7.preventDefault();
}
break;
case dk.TAB:
var _c=this.attr("displayedValue");
if(pw&&(_c==pw._messages["previousMessage"]||_c==pw._messages["nextMessage"])){
break;
}
if(_b){
pw.attr("value",{target:_b});
}
if(this._isShowingNow){
this._lastQuery=null;
this._hideResultList();
}
break;
case " ":
if(_b){
dojo.stopEvent(_7);
this._selectOption();
this._hideResultList();
}else{
_9=true;
}
break;
case dk.ESCAPE:
if(this._isShowingNow){
dojo.stopEvent(_7);
this._hideResultList();
if(this._currentInput){
this.focusNode.value=this._currentInput;
delete this._currentInput;
}
}
break;
case dk.DELETE:
case dk.BACKSPACE:
this._prev_key_backspace=true;
_9=true;
break;
default:
dijit.setWaiState(this.focusNode,"activedescendant",this.focusNode.id);
this.focusNode.focus();
_9=typeof _8=="string"||_8==229;
}
if(_9){
this.item=undefined;
this.searchTimer=setTimeout(dojo.hitch(this,_a),1);
}
},_onFocus:function(_d){
this.inherited(arguments);
this.focused=true;
},_onBlur:function(_e){
this.focused=false;
var pw=this._popupWidget;
if(!(pw&&pw.tooltipFocused)){
this.inherited(arguments);
}
if(dojo.isIE&&this.dropdownNode){
dojo.removeClass(this.dropdownNode,"lconnTypeAhead");
}
this.updateHintText();
},_startSearch:function(_f,opt){
opt=opt||{};
if(opt.searchImmediately){
opt.searchBoth=true;
}
var _10=this.id+"_popup";
if(!this._popupWidget){
this._popupWidget=new lconn.core.PeopleTypeAheadMenu({_strings:this._strings,rs_searchDirectory:this.searchDirectory,NoResultsMessage:this.NoResultsMessage,HeaderMessage:this.HeaderMessage,disableSearchDirectory:this.disableSearchDirectory,onChange:dojo.hitch(this,this._selectOption),id:_10,inputWidget:this,disableBizCard:this.disableBizCard});
var _11=this.textbox.getAttribute("wairole");
if(_11){
dijit.setWaiRole(this.textbox,_11);
}
dijit.setWaiState(this._popupWidget.domNode,"live","polite");
dijit.removeWaiState(this.focusNode,"activedescendant");
dijit.setWaiState(this.textbox,"owns",_10);
}else{
dijit.setWaiState(this.focusNode,"activedescendant",_10);
}
this.item=null;
var _12=dojo.clone(this.query);
this._lastQuery=_12=_f;
this.searchTimer=setTimeout(dojo.hitch(this,function(_13,_14){
var _15=this.store.fetch({queryOptions:dojo.mixin({ignoreCase:this.ignoreCase,deep:true},opt),query:_13,onComplete:dojo.hitch(this,"_openResultList"),onError:function(_16){
console.error("dijit.form.ComboBox: "+_16);
dojo.hitch(_14,"_hideResultList")();
},start:0,count:this.pageSize});
var _17=function(_18,_19){
_18.start+=_18.count*_19;
_18.direction=_19;
this.store.fetch(_18);
};
this._nextSearch=this._popupWidget.onPage=dojo.hitch(this,_17,_15);
this._popupWidget.searchDirectory=dojo.hitch(this,dojo.hitch(this,function(){
_15.queryOptions.searchDirectory=true;
this.store.fetch(_15);
}));
},_12,this),opt.searchImmediately?1:this.searchDelay);
},_openResultList:function(_1a,_1b){
if(this.disabled||this.readOnly||(_1b.query!=this._lastQuery)){
return;
}
this._popupWidget.clearResultList();
if(_1a.length){
var _1c=new String(this.formatItem(_1a[0]));
if(_1c&&this.autoComplete&&!this._prev_key_backspace&&(_1b.query!="")){
this._autoCompleteText(_1c);
}
}
_1b._maxOptions=this._maxOptions;
this._popupWidget.createOptions(_1a,_1b,dojo.hitch(this,"_getMenuLabelFromItem"));
this.results=_1a;
this._showResultList();
if(dojo.isIE&&(this.focusNode!=document.activeElement)&&!this.focusNode.preventFocus){
this.focusNode.focus();
}
if(_1b.direction){
if(1==_1b.direction){
this._popupWidget.highlightFirstOption();
}else{
if(-1==_1b.direction){
this._popupWidget.highlightLastOption();
}
}
this._announceOption(this._popupWidget.getHighlightedOption());
}
}});
dojo.declare("lconn.core.PeopleTypeAheadMenu",[dijit.form._ComboBoxMenu,lconn.core.Res],{rs_searchDirectory:" ",NoResultsMessage:"",HeaderMessage:"",templateString:"<ul waiRole='listbox' class='dijitReset dijitMenu' dojoAttachEvent='onmousedown:_onMouseDown,onmouseup:_onMouseUp,onmouseover:_onMouseOver,onmouseout:_onMouseOut' tabIndex='-1' style='overflow:\"auto\";'>"+"<li class='dijitMenuItem dijitMenuPreviousButton' dojoAttachPoint='previousButton' role='option'></li>"+"<li class='dijitMenuItem headerNode' dojoAttachPoint='headerNode' role='option'></li>"+"<li class='dijitMenuItem resultsNode'  style='overflow: hidden;' dojoAttachPoint='resultsNode' role='option'></li>"+"<li class='dijitMenuItem searchDirectory ${searchDirectoryClass}' style='overflow: hidden;' dojoAttachPoint='searchButton' role='option'>${rs_searchDirectory}</li>"+"<li class='dijitMenuItem dijitMenuNextButton' dojoAttachPoint='nextButton' role='option'></li>"+"</ul>",_messages:null,searchDirectoryClass:"",disableSearchDirectory:false,disableBizCard:false,inputWidget:null,tooltipFocused:false,tooltipAroundNode:null,tooltipTimeout:null,tooltipDelay:600,tooltipId:0,popupClosed:true,postMixInProperties:function(){
this.loadDefaultBundle();
this.inherited("postMixInProperties",arguments);
if(this.disableSearchDirectory){
this.searchDirectoryClass="lotusHidden";
}
if(!this.NoResultsMessage){
this.NoResultsMessage=this.resBundle.rs_noResults||"";
}
},postCreate:function(){
dojo.attr(this.previousButton,"aria-label",this.resBundle.rs_listItem);
dojo.attr(this.searchButton,"aria-label",this.rs_searchDirectory);
dojo.attr(this.nextButton,"aria-label",this.resBundle.rs_listItem);
this.searchButton.selectHandler=dojo.hitch(this,function(evt){
dojo.stopEvent(evt);
this.searchDirectory();
return true;
});
this.resultsNode.selectHandler=dojo.hitch(this,function(evt){
dojo.stopEvent(evt);
return true;
});
this.inherited("postCreate",arguments);
},searchDirectory:function(){
},setValue:function(_1d){
if(_1d.target.item){
this.value=_1d;
this.onChange(_1d);
}
},_onMouseUp:function(evt){
if(evt.target==this.searchButton){
this.searchDirectory();
}else{
if(evt.target!=this.resultsNode){
this.inherited("_onMouseUp",arguments);
}
}
},_onMouseOver:function(evt){
if(evt.target===this.domNode){
return;
}
var tgt=evt.target;
if(!(tgt==this.previousButton||tgt==this.nextButton||tgt==this.searchButton||tgt==this.resultsNode)){
while(!tgt.item){
tgt=tgt.parentNode;
}
}
this._focusOptionNode(tgt);
},_focusOptionNode:function(_1e){
if(this._highlighted_option!=_1e){
this._blurOptionNode();
this._highlighted_option=_1e;
dojo.addClass(this._highlighted_option,"dijitMenuItemHover");
var _1f=dojo.attr(_1e,"exid");
var _20=dojo.attr(_1e,"persontype");
this.closeTooltip();
this.tooltipId++;
this.popupClosed=false;
if(_1f&&(_20==0)&&!this.disableBizCard){
this.renderBizCard(_1f,_1e);
}else{
this.inputWidget._announceOption(_1e);
}
}
},renderBizCard:function(_21,_22){
if(dojo.exists("lconn.profiles.bizCard.bizCard.renderMiniBizCard")){
this.tooltipTimeout=setTimeout(dojo.hitch(lconn.profiles.bizCard.bizCard,"renderMiniBizCard",_21,dojo.hitch(this,"showTooltip",this.tooltipId,_22)),this.tooltipDelay);
}
},_blurOptionNode:function(){
if(this._highlighted_option){
dojo.removeClass(this._highlighted_option,"dijitMenuItemHover");
this._highlighted_option=null;
}
},_createOption:function(_23,_24){
var _25=this.inherited("_createOption",arguments);
if(_23.userid){
dojo.attr(_25,"exid",_23.userid);
}
if(_23.type){
dojo.attr(_25,"persontype",_23.type);
}
dojo.attr(_25,"aria-describedby","bc_document_node");
return _25;
},createOptions:function(_26,_27,_28){
this.clearResultList();
this.previousButton.style.display=(!_27.start||_27.start==0)?"none":"";
dojo.attr(this.previousButton,"id",this.id+"_prev");
if(this.HeaderMessage){
var el=this.headerNode;
while(el.firstChild){
el.removeChild(el.firstChild);
}
el.appendChild(document.createTextNode(this.HeaderMessage));
el.item=this.HeaderMessage;
this.domNode.insertBefore(el,this.nextButton);
}
dojo.forEach(_26,function(_29,i){
if(_27.count&&i>=_27.count){
return;
}
var _2a=this._createOption(_29,_28);
_2a.className="dijitMenuItem";
dojo.attr(_2a,"id",this.id+i);
dojo.style(_2a,"overflow","hidden");
this.domNode.insertBefore(_2a,this.nextButton);
},this);
this.nextButton.style.display=(_27.count&&_27.count<_26.length)?"":"none";
dojo.attr(this.nextButton,"id",this.id+"_next");
var el=this.resultsNode;
if(_26.length==0&&this.NoResultsMessage){
var _2b=dojo.string.substitute(this.NoResultsMessage,[_27.query]);
while(el.firstChild){
el.removeChild(el.firstChild);
}
el.appendChild(document.createTextNode(_2b));
el.item=_2b;
this.domNode.insertBefore(el,this.nextButton);
}
dojo.attr(this.resultsNode,"id",this.id+"_resultsNode");
if(!_27.queryOptions.searchDirectory&&_27.searchType!="directory"){
this.domNode.insertBefore(this.searchButton,this.nextButton);
}
dojo.attr(this.searchButton,"id",this.id+"_searchDir");
},clearResultList:function(){
var _2c=this.previousButton;
var _2d=this.nextButton;
while(_2c.nextSibling&&_2c.nextSibling!=_2d){
this.domNode.removeChild(_2c.nextSibling);
}
},getListLength:function(){
return this.domNode.childNodes.length-2-(this.searchButton.parentNode?1:0)-(this.resultsNode.parentNode?1:0)-(this.headerNode.parentNode?1:0);
},showTooltip:function(id,_2e,_2f){
if(id==this.tooltipId&&!this.popupClosed){
this.tooltipAroundNode=_2e;
dijit.showTooltip(_2f,_2e,["after","before"]);
dijit._masterTT.containerNode.removeAttribute("wairole");
dijit._masterTT.containerNode.removeAttribute("role");
this.inputWidget._announceOption(_2e);
dojo.publish("com/ibm/social/incontext/typeahead/onMiniBizCardDisplay",[_2f]);
var a=dojo.query("a","cardBody")[0];
if(a){
this.connect(a,"onblur",dojo.hitch(this,function(){
this.tooltipFocused=false;
var iw=this.inputWidget;
setTimeout(function(){
if(!(iw&&iw.focused)){
iw._hideResultList();
}
},100);
}));
dojo.connect(a,"onkeypress",dojo.hitch(this,function(evt){
var key=evt.charOrCode;
var dk=dojo.keys;
var iw=this.inputWidget;
switch(key){
case dk.ESCAPE:
this.closeTooltip();
if(iw&&iw.domNode){
iw.domNode.focus();
}
break;
case dk.TAB:
if(iw&&iw.domNode){
iw.domNode.focus();
}
dojo.stopEvent(evt);
break;
}
}));
}
}
},closeTooltip:function(){
if(this.tooltipAroundNode){
dijit.hideTooltip(this.tooltipAroundNode);
this.tooltipAroundNode=null;
}
if(this.tooltipTimeout){
clearTimeout(this.tooltipTimeout);
this.tooltipTimeout=null;
}
},onClose:function(){
this.popupClosed=true;
this.closeTooltip();
this._blurOptionNode();
}});
}


;if(!dojo._hasResource["lconn.core.TextBox"]){
dojo._hasResource["lconn.core.TextBox"]=true;
dojo.provide("lconn.core.TextBox");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.declare("lconn.core.TextBox",[dijit._Widget,dijit._Templated],{shadowText:"",shadowTextOn:true,name:"",textBoxClass:"",templateString:"<span><input type=\"text\" class=\"${textBoxClass}\" dojoAttachPoint=\"textbox\" /><input type=\"hidden\" value=\"\" dojoAttachPoint=\"hiddenbox\" /></span>",postCreate:function(){
this.connect(this.textbox,"onfocus","textBoxFocus");
this.connect(this.textbox,"onblur","textBoxBlur");
this.textbox.name=this.id+"_textbox";
if(this.value){
this.textbox.value=this.value;
this.hiddenbox.value=this.value;
this.shadowTextOn=false;
}else{
dojo.addClass(this.textbox,"lotusInactive");
this.textbox.value=this.shadowText;
}
if(this.name){
this.hiddenbox.name=this.name;
}
if(this.title){
this.textbox.title=this.title;
}
},textBoxBlur:function(){
if(this.textbox.value.length==0){
dojo.addClass(this.textbox,"lotusInactive");
this.shadowTextOn=true;
this.textbox.value=this.shadowText;
this.hiddenbox.value="";
}else{
this.hiddenbox.value=this.textbox.value;
this.shadowTextOn=false;
}
},textBoxFocus:function(){
if(this.shadowTextOn){
this.shadowTextOn=false;
this.textbox.value="";
this.hiddenbox.value="";
dojo.removeClass(this.textbox,"lotusInactive");
this.textbox.focus();
}
},setHiddenValue:function(){
if(this.shadowTextOn){
this.hiddenbox.value="";
}else{
this.hiddenbox.value=this.textbox.value;
}
},focus:function(){
this.textbox.focus();
},getValue:function(){
return this.hiddenbox.value;
},clearValue:function(){
this.textbox.value="";
this.textBoxBlur();
}});
dojo.declare("lconn.core.DefaultValueTextbox",[dijit._Widget,dijit._Templated],{templateString:"<input class=\"lotusInactive\" type=\"text\" name=\"${name}\" value=\"${defaultValue}\" dojoAttachEvent=\"onfocus:_onFocus, onkeypress:_onChange, onchange:_onChange\"></input></div>",name:"",defaultValue:"",setFocus:function setFocus(){
window.setTimeout("dijit.focus('"+this.id+"')",0);
},isDirty:function isDirty(){
return this.dirty;
},_onFocus:function _onFocus(_1){
if(dojo.hasClass(this.domNode,"lotusInactive")){
window.setTimeout("dojo.byId('"+this.id+"').select()",0);
}
},_onChange:function _onChange(_2){
dojo.removeClass(this.domNode,"lotusInactive");
this.dirty=true;
}});
}


;if(!dojo._hasResource["lconn.core.SearchBar"]){
dojo._hasResource["lconn.core.SearchBar"]=true;
dojo.provide("lconn.core.SearchBar");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.require("dijit.Menu");
dojo.require("lconn.core.TextBox");
dojo.declare("lconn.core.SearchBar",[dijit._Widget,dijit._Templated],{templateString:["<div class=\"lotusSearch\" role=\"search\"><form dojoAttachPoint=\"formNode\" method=\"POST\" dojoAttachEvent=\"onsubmit:formSubmitted\">","<input name=\"scope\" value=\"\" dojoAttachPoint=\"scopeInputNode\" type=\"hidden\" />","<input name=\"component\" value=\"\" dojoAttachPoint=\"featureInputNode\" type=\"hidden\" />","<table class=\"lotusLayout\" cellspacing=\"0\" role=\"presentation\" summary=\"\"><tbody><tr>","<td><div class=\"lotusHidden\" id=\"${id}-searchOptionLabel\">${lblSelectScope}</div><div>","<a href=\"javascript:;\" title=\"${lblSelectScope}\" class=\"lotusScope\" dojoAttachPoint=\"scopeNode\" dojoAttachEvent=\"onclick:openMenu,onkeypress:openMenuA11y\" aria-haspopup=\"true\" role=\"button\" aria-labelledby=\"${id}-searchOptionLabel ${id}searchOpt\">","<img class=\"lotusIcon\" alt=\"\" src=\"${_blankGif}\" dojoAttachPoint=\"currScopeIconNode\" role=\"presentation\"/>","<span id=\"${id}searchOpt\" dojoAttachPoint=\"currScopeLabelNode\"> </span>","<span class=\"lotusAltText\" role=\"presentation\">&#9660;</span>","</a></div></td>","<td>","<input id=\"${id}searchInput\" dojoAttachPoint=\"textNode\" class=\"lotusText lotusInactive\" type=\"text\" name=\"query\" title=\"${lblSearch}\"/>","</td>","<td>","<span class=\"lotusBtnImg\">","<input dojoAttachPoint=\"onclick:submitForm\" class=\"lotusSearchButton\" type=\"image\" src=\"${_blankGif}\" alt=\"${lblSearch}\" title=\"${lblSearch}\" aria-label=\"${lblSearch}\"/>","<a href=\"javascript:;\" alt=\"${lblSearch}\" dojoAttachEvent=\"onclick:submitForm\" class=\"lotusAltText\">${lblSearch}</a>","</span>","</td>","</tr></tbody></table>","</form></div>"].join(""),localOptions:[],thirdPartySearchEngines:[],globalOptions:[],localAction:"",searchContextPath:"",lblSearch:"",lblSelectScope:"",lblAllConnections:"",lblAdvanced:"",menuItems:[],featureIcons:{allareas:"lconnSprite lconnSprite-iconConnections16",activities:"lconnSprite lconnSprite-iconActivities16",blogs:"lconnSprite lconnSprite-iconBlogs16",communities:"lconnSprite lconnSprite-iconCommunities16",dogear:"lconnSprite lconnSprite-iconBookmarks16",files:"lconnSprite lconnSprite-iconFiles16",forums:"lconnSprite lconnSprite-iconForums16",profiles:"lconnSprite lconnSprite-iconProfiles16",wikis:"lconnSprite lconnSprite-iconWikis16",status_updates:"lconnSprite lconnSprite-iconStatusUpdate16"},selectedOption:null,textBox:null,globalAction:"",advancedSearchUrl:"",SEARCH_ADVANCED:"searchAdvancedIdentifier",SEARCH_POST_PATH:"/web/search",SEARCH_ADVANCED_PATH:"/web/jsp/advancedSearch.jsp",focusScopeMenuOnSelect:false,postCreate:function(){
if(this.searchContextPath){
this.globalAction=this.searchContextPath+this.SEARCH_POST_PATH;
this.advancedSearchUrl=this.searchContextPath+this.SEARCH_ADVANCED_PATH;
}
this.textBox=new lconn.core.TextBox({shadowText:this.lblSearch,textBoxClass:"lotusText",name:"query",title:this.lblSearch,value:this.searchFor},this.textNode);
if(this.globalOptions){
this.globalOptions.splice(0,0,{label:this.lblAllConnections,feature:"allareas",iconClass:"lconnSprite lconnSprite-iconConnections16","class":"lotusAlignLeft"});
}
this.showDefaultOption();
},changeLocalOptions:function(_1){
this.localOptions=_1;
if(this.scopeMenu){
this.scopeMenu.destroyRecursive();
this.scopeMenu=null;
this.menuItems=[];
}
this.showDefaultOption();
},showDefaultOption:function(){
for(var i in this.localOptions){
if(this.localOptions[i].defaultOption){
this.selectOption(this.localOptions[i],false);
return;
}
}
if(this.globalOptions&&this.globalOptions.length>0){
this.selectOption(this.globalOptions[0],false);
}
},getScopeMenu:function(){
if(!this.scopeMenu){
this.scopeMenu=new dijit.Menu({"class":"lotusNavMenu lconnSearchScope",onItemClick:dojo.hitch(this,"selectOption")});
this.connect(this.scopeMenu,"_onBlur","closeMenu");
this.menuItems=[];
var _2=this.localOptions;
for(var i in _2){
_2[i].parentMenu=this.scopeMenu;
this.menuItems.push(new dijit.MenuItem(_2[i]));
}
if(_2&&_2.length&&this.globalOptions.length>0){
this.menuItems.push(new dijit.MenuSeparator({parentMenu:this.scopeMenu}));
}
_2=this.globalOptions;
if(_2.length>0){
for(var i in _2){
if(_2[i].feature&&this.featureIcons[_2[i].feature]){
_2[i].parentMenu=this.scopeMenu;
_2[i].iconClass=this.featureIcons[_2[i].feature];
this.menuItems.push(new dijit.MenuItem(_2[i]));
}
}
}
var _3=this.thirdPartySearchEngines;
if((_3!=null)&&(_3.length>0)){
this.menuItems.push(new dijit.MenuSeparator({parentMenu:this.scopeMenu}));
for(var i=0;i<_3.length;i++){
_3[i].parentMenu=this.scopeMenu;
this.menuItems.push(new dijit.MenuItem(_3[i]));
}
}
if(this.globalOptions.length>0){
this.menuItems.push(new dijit.MenuSeparator({parentMenu:this.scopeMenu}));
this.menuItems.push(new dijit.MenuItem({label:this.lblAdvanced,feature:this.SEARCH_ADVANCED,"class":"lotusAlignLeft"}));
}
for(var i=0;i<this.menuItems.length;i++){
if(this.menuItems[i].iconNode){
this.menuItems[i].iconNode.setAttribute("role","presentation");
}
this.scopeMenu.addChild(this.menuItems[i]);
}
}
return this.scopeMenu;
},openMenu:function(_4){
var _5=this.getScopeMenu();
dijit.popup.open({popup:_5,around:this.scopeNode,orient:(dojo._isBodyLtr()?{"BL":"TL","BR":"TR","TL":"BL","TR":"BR"}:{"BR":"TR","BL":"TL","TR":"BR","TL":"BL"}),onCancel:dojo.hitch(this,"_cancelMenu")});
_5.focus();
if(this.selectedOption._created){
_5.focusChild(this.selectedOption);
}
dojo.stopEvent(_4);
},openMenuA11y:function(_6){
if(_6.keyCode==dojo.keys.ENTER||_6.charCode==dojo.keys.SPACE||_6.keyCode==dojo.keys.DOWN_ARROW||_6.keyCode==dojo.keys.UP_ARROW){
this.openMenu(_6);
}
},_cancelMenu:function _cancelMenu(){
dijit.popup.close(this.getScopeMenu());
dijit.focus(this.scopeNode);
},closeMenu:function(){
if(this.scopeMenu){
dijit.popup.close(this.scopeMenu);
}
},onSelectOption:function(_7,_8){
this.selectOption(_7,true);
},selectOption:function(_9,_a){
this.closeMenu();
this.selectedOption=_9;
if(_9.feature&&_9.feature==this.SEARCH_ADVANCED){
location.href=this.advancedSearchUrl;
return;
}
this.currScopeLabelNode.innerHTML=_9.label;
this.currScopeIconNode.className="lotusIcon";
if(_9.iconClass){
dojo.addClass(this.currScopeIconNode,_9.iconClass);
}
if(_9.scope){
this.scopeInputNode.value=_9.scope;
this.featureInputNode.value="";
}else{
if(_9.feature){
if(_9.feature=="allareas"){
this.featureInputNode.value="";
}else{
this.featureInputNode.value=_9.feature;
}
this.scopeInputNode.value="";
}
}
if(_9.action){
if(_9.scope=="extkeyword"){
this.formNode.method="GET";
this.formNode.action=_9.action;
}else{
this.formNode.method="POST";
this.formNode.action=_9.action;
}
}else{
if(_9.feature){
this.formNode.method="GET";
this.formNode.action=this.globalAction;
}else{
this.formNode.method="POST";
this.formNode.action=this.localAction;
}
}
if(_9.method&&_9.method=="GET"||_9.method=="POST"){
this.formNode.method=_9.method;
}
if(_a){
if(this.focusScopeMenuOnSelect){
try{
this.scopeNode.focus();
}
catch(e){
this.textBox.focus();
}
}else{
this.textBox.focus();
}
}
},isThirdPartySearchEngineSelected:function(){
var _b=false;
var _c=this.selectedOption.label;
for(var i=0;i<this.thirdPartySearchEngines.length&&!_b;i++){
_b=(this.thirdPartySearchEngines[i].label==_c);
}
return _b;
},submitForm:function(_d){
this.textBox.setHiddenValue();
var _e=this.textBox.getValue();
_e=dojo.string.trim(_e);
if(_e){
if(this.onSubmit()){
if(this.isThirdPartySearchEngineSelected()){
location.href=this.selectedOption.action+encodeURIComponent(this.textBox.hiddenbox.value);
}else{
this.formNode.submit();
}
}
}
if(_d){
dojo.stopEvent(_d);
}
return false;
},getValue:function(){
return this.textBox.getValue();
},clearValue:function(){
return this.textBox.clearValue();
},formSubmitted:function(_f){
this.submitForm();
dojo.stopEvent(_f);
},onSubmit:function(){
}});
}


;if(!dojo._hasResource["lconn.core.aria.TabPanel"]){
dojo._hasResource["lconn.core.aria.TabPanel"]=true;
dojo.provide("lconn.core.aria.TabPanel");
dojo.require("lconn.core.aria._Helper");
dojo.declare("lconn.core.aria.TabPanel",lconn.core.aria._Helper,{containerRole:"tablist",itemRole:"tab",focusNextItem:function(){
var si=this.selIdx;
this.inherited(arguments);
this._selectItem(si);
},focusPrevItem:function(){
var si=this.selIdx;
this.inherited(arguments);
this._selectItem(si);
},_selectItem:function(si){
var ai=this.allItems;
if(si!=this.selIdx){
dijit.setWaiState(ai[si],"selected","false");
dijit.setWaiState(ai[this.selIdx],"selected","true");
this._activate(ai[this.selIdx]);
}
},_isSelected:function(_1){
return dijit.getWaiState(_1,"selected")=="true";
},_activate:function(_2){
try{
if(document.createEvent){
var _3=document.createEvent("HTMLEvents");
_3.initEvent("click",false,true);
_2.dispatchEvent(_3);
}else{
_2.fireEvent("onclick");
}
}
catch(e){
console.error([this.declaredClass,": ",e].join(""));
}
}});
}


;if(!dojo._hasResource["lconn.core.ckeditor"]){
dojo._hasResource["lconn.core.ckeditor"]=true;
(function(){
dojo.provide("lconn.core.ckeditor");
dojo.require("com.ibm.oneui.ckeditor.editor.dojoconfig");
dojo.require("lconn.core.url");
dojo.require("lconn.core.config.services");
dojo.require("net.jazz.ajax.xdloader");
var _1=false;
var _2=[];
window.CKEDITOR_GETURL=function(_3){
if(!CKEDITOR||!CKEDITOR.basePath||!CKEDITOR.timestamp){
return null;
}
if(_3.indexOf(":/")==-1&&_3.indexOf("/")!==0){
_3=CKEDITOR.basePath+_3;
}
if(CKEDITOR.timestamp&&_3.charAt(_3.length-1)!="/"&&!(/[&?]t=/).test(_3)&&!(/[&?]etag=/).test(_3)){
_3+=(_3.indexOf("?")>=0?"&":"?")+"t="+CKEDITOR.timestamp+"&etag="+ibmConfig.versionStamp;
}
return _3;
};
lconn.core.ckeditor={applyCustomConfig:function(){
if(_1){
return;
}
_1=true;
com.ibm.oneui.ckeditor.editor.dojoconfig.execCustomConfig();
CKEDITOR.editorConfig(CKEDITOR.config);
CKEDITOR.config.customConfig="";
CKEDITOR.config.language=dojo.config.locale;
CKEDITOR.config.ibmHelpDocumentationUrl=lconn.core.ckeditor.getHelpUrl;
CKEDITOR.config.contentsCss=CKEDITOR.basePath+"contents.css"+"?etag="+ibmConfig.versionStamp;
for(var i=0,l=_2.length;i<l;i++){
_2[i]();
}
_2=[];
},addCustomConfig:function(f){
_2.push(f);
},replace:function(){
lconn.core.ckeditor.async("replace",dojo._toArray(arguments));
},appendTo:function(){
lconn.core.ckeditor.async("appendTo",dojo._toArray(arguments));
},async:function(_4,_5){
net.jazz.ajax.xdloader.load_layer_async("lconn.core.ckeditorstatic",["dojo.i18n","lconn.core.ckeditor"],function(){
if(typeof _4=="function"){
_4(CKEDITOR);
}else{
CKEDITOR[_4].apply(CKEDITOR,_5);
}
});
},getHelpUrl:function(_6){
var _7=null,_8=lconn.core.url.getServiceUrl(lconn.core.config.services.help);
if(_8){
_7=_8.toString()+"/topic/"+(_6||"com.ibm.lotus.connections.common.help/eucommon_ckeditor.html");
}
return _7;
}};
})();
}


;if(!dojo._hasResource["lconn.core.bizCard.bizCardUtils"]){
dojo._hasResource["lconn.core.bizCard.bizCardUtils"]=true;
(function(){
dojo.provide("lconn.core.bizCard.bizCardUtils");
dojo.require("lconn.core.url");
dojo.require("lconn.core.config");
dojo.require("com.ibm.mm.livetext.serviceImpl");
dojo.require("dojo.cookie");
var _1=dojo;
lconn.core.bizCard.bizCardUtils={isDebug:false,scriptResourceName:"semanticTagService.js",version:"4.0",scripts:new Array(),css:new Array(),initiated:false,_haveProxy:false,_proxyHelper:null,baseUrl:null,resourcesUrl:null,appChksum:null,liveElemPrefix:"semtag_live_",hoverIdx:0,hoverIdAttr:"icBizCard_idx",refcntAttr:"icBizCard_ref",setDojoObject:function(d){
if(typeof d=="object"){
_1=d;
}
},getDojoObject:function(){
return _1||dojo;
},init:function(_2){
if(this.initiated){
return;
}
_1.requireLocalization("lconn.profiles.bizCard","ui");
var _3=window.SemTagSvcConfig||{};
this.baseUrl=lconn.core.bizCard.bizCardUtils.initBaseUrl();
this.resourcesUrl=_3.resourcesSvc||null;
this._initProxyHelper();
this._initAppCksum();
if(_3.loadCssFiles&&!window.SemTagPersonConfig_noCss){
var _4=(window.SemTagSvcConfig&&SemTagSvcConfig.isBidiRTL);
if(!SemTagSvcConfig.isPortal){
this.loadCss(this.resourcesUrl+"/web/_style?include=com.ibm.lconn.core.styles.oneui3/base/standaloneVcard"+(_4?"RTL":"")+".css",{id:"lotusStandaloneVcardCSS"});
this.standaloneCSSloaded=true;
}
}
this.isDebug=(window.location.search.indexOf("debug=true")!=-1);
this.initiated=true;
},printDebug:function(_5){
if(lconn.core.bizCard.bizCardUtils.isDebug){
var d=new Date();
console.debug("["+d.toLocaleTimeString()+"."+d.getMilliseconds()+"] lconn.core.bizCard.bizCardUtils: "+_5);
}
},initBaseUrl:function(){
var _6="";
if(window.SemTagSvc_baseUrl!=null){
_6=SemTagSvc_baseUrl;
}else{
if(window.SemTagSvcConfig!=null&&SemTagSvcConfig.baseUrl!=null){
_6=SemTagSvcConfig.baseUrl;
}else{
_6=this.getURL(this.scriptResourceName,"script",SemTagSvc.baseUrl,"src").baseUrl;
}
}
return _6;
},_initProxyHelper:function(){
if(window.SemTagSvcConfig!=null&&typeof (window.SemTagSvcConfig.proxyURL)!="undefined"&&window.SemTagSvcConfig.proxyURL.length>0){
this._haveProxy=true;
this._proxyHelper=new lconn.core.url.ProxyUrlHelper(window.SemTagSvcConfig.proxyURL);
}
},_initAppCksum:function(){
this.appChksum=this._getConfigValue("appChksum","UNDEFINED");
},_getConfigValue:function(_7,_8){
if(window.SemTagSvcConfig!=null&&typeof (window.SemTagSvcConfig[_7])!="undefined"){
return window.SemTagSvcConfig[_7];
}
return _8;
},appendAppChkSum:function(_9){
if(_9==null||_9.indexOf("acs=")>=0){
return _9;
}
var c=null;
if(_9.indexOf("?")<0){
c="?";
}else{
c="&";
}
return _9+c+"acs="+this.appChksum;
},getService:function(_a){
for(i=0;window.livetextCfg!=null&&i<window.livetextCfg.length;i++){
var _b=window.livetextCfg[i];
if(_b.id==_a){
return _b;
}
}
return null;
},processUntilAvailable:function(_c,_d,_e){
var _f="";
_f=window.setInterval(function(){
if(eval(_d)){
if(_e!=null){
_c(_e);
}else{
_c();
}
window.clearInterval(_f);
}
},300);
},getBaseURL:function(_10){
var _11=lconn.core.bizCard.bizCardUtils.getService(_10);
if(_11!=null&&_11.baseURL!=null){
return _11.baseURL;
}else{
if(this.initiated){
return this.baseUrl;
}else{
return lconn.core.bizCard.bizCardUtils.initBaseUrl();
}
}
},buildBaseURL:function(_12){
var _13=_12.indexOf("//")+2;
var _14=_12.substring(0,_13);
var _15=_12.substring(_13,_12.length);
_13=_15.indexOf("/")+1;
var _16=_15.substring(0,_13);
_15=_15.substring(_13,_15.length);
_13=_15.indexOf("/");
var _17=_15.substring(0,_13);
_15=_15.substring(_13,_15.length);
var _18=_14+_16+_17;
return _18;
},getURL:function(_19,_1a,_1b,_1c){
var _1d={};
var _1e=location.protocol+"//"+location.host;
var s=document.getElementsByTagName(_1a);
var _1f="";
var _20=null;
for(var i=0;i<s.length;i++){
var src=s[i].getAttribute(_1c);
if(src&&src.indexOf(_19)!=-1){
_20=src;
_1f=src.substring(0,src.indexOf(_1b));
if(_1b==null){
_1f=this.buildBaseURL(src);
_1d.baseUrl=_1f;
}
_1d.resourceFound=true;
break;
}
}
if(_1d.baseUrl=="undefined"){
_1d.baseUrl=(_1f==_1e)?_1b:_1f+_1b;
}
return _1d;
},getUrlParam:function(_21){
var uri=lconn.core.url.parse(window.location.href);
var _22=uri.queryParameters[_21];
if(dojo.isArray(_22)&&_22!=null&&_22.length>0){
return _22[0];
}
return null;
},getProxifiedURL:function(url,_23,_24){
for(var key in _23){
if(key=="LANG"&&_23[key]==""){
var _25=new RegExp("&lang=@@@"+key+"@@@");
}else{
var _25=new RegExp("@@@"+key+"@@@");
}
var val=_23[key];
url=url.replace(_25,val);
}
url=this.appendAppChkSum(url);
url+="&suppress401=true";
if(this._haveProxy){
return this._proxyHelper.getProxifiedURL(url);
}
return url+"&callback="+_24;
},_timeout:10000,getBizCardData:function(url,_26,_27,_28,_29,_2a,_2b){
var url=this.getProxifiedURL(url,_26,_27);
if(this._haveProxy){
var _2c=function(_2d){
var _2e=dojo.fromJson(_2d.replace(/^\s*while\(1\);/,""));
_29(true,_2e,_2a);
};
var _2f=function(_30){
_29(false,_30,_2a);
};
dojo.xhrGet({url:url,timeout:this._timeout,load:_2c,error:_2f,contentType:"application/json",headers:{"X-Requested-With":""}});
}else{
_28.request(url,this._timeout,_29,_2a,_2b);
}
},out:function(){
this.buffer="";
this.write=function(str){
this.buffer+=str;
};
},getSinglePropertyValue:function(_31){
if(!_31){
return false;
}
var _32=_31.innerHTML.replace(/<[a-zA-Z\/][^>]*>/gi,"");
return _32;
},sortByOrder:function(a,b){
if(a.order>b.order){
return 1;
}else{
if(a.order<b.order){
return -1;
}else{
return 0;
}
}
},getElementsByClassName:function(_33,_34,_35,_36){
if(!_34){
_34=document.body;
}
if(!_35){
limit=0;
}
if(!_36){
_36=["*"];
}
var _37=new RegExp("(^|\\s)"+_33+"(\\s|$)");
if(_34&&_34.className&&_34.className.match(_37)){
return new Array(_34);
}
var _38=new Array();
for(var t=0;t<_36.length;t++){
var _39=_34.getElementsByTagName(_36[t]);
for(var i=0;i<_39.length;i++){
var _3a=_39[i];
if(_3a.className&&_3a.className.match&&_3a.className.match(_37)){
_38.push(_3a);
}
if(0<_35&&_35==_38.length){
break;
}
}
}
return _38;
},getParentByClassName:function(_3b,_3c){
if(!_3c){
return null;
}
var _3d=new RegExp("(^|\\s)"+_3b+"(\\s|$)");
if(_3c.className&&_3c.className.match(_3d)){
return _3c;
}
while(_3c.parentNode){
_3c=_3c.parentNode;
if(_3c.className&&_3c.className.match(_3d)){
return _3c;
}
}
},addHover:function(_3e,_3f,_40,_41){
while(typeof LCSemTagMenu==undefined){
alert("waiting...");
}
var _42=_3e.getAttribute(this.refcntAttr);
if(_42){
_3e.setAttribute(this.refcntAttr,parseInt(Number(_42)+1));
if(LCSemTagMenu.staticHover){
var img=LCSemTagMenu.findHoverFromLiveElement(_3e);
if(img){
dojo.connect(img,"onclick",_40);
img.setAttribute("href","javascript:a11y()");
}else{
this.printDebug("couldn't find the hover for this element!");
}
}else{
var _43=dojo.isFF?_3e.getAttribute("class"):_3e.className;
if(_43.indexOf("hasHover")==-1){
dojo.connect(_3e,"onmouseover",_3f);
dojo.connect(_3e,"onfocus",_3f);
dojo.connect(_3e,"onmouseout",function(evt){
LCSemTagMenu.unfocus(evt);
});
dojo.connect(_3e,"onblur",function(evt){
LCSemTagMenu.unfocus(evt);
});
}else{
this.printDebug("attempting to connect repeated events to element: "+_3e);
}
}
}else{
_3e.setAttribute(this.refcntAttr,"1");
this.hoverIdx++;
_3e.setAttribute(this.hoverIdAttr,parseInt(this.hoverIdx));
if(LCSemTagMenu.staticHover){
var img=this.createHoverImage();
dojo.connect(img,"onclick",_40);
img.setAttribute("href","javascript:a11y()");
var _44=_3e.nextSibling;
if(_44){
_44.parentNode.insertBefore(img,_44);
}else{
_3e.parentNode.appendChild(img);
}
_3e.setAttribute(this.hoverIdAttr,parseInt(this.hoverIdx));
_3e.id=this.liveElemPrefix+this.hoverIdx;
}else{
var _43=dojo.isFF?_3e.getAttribute("class"):_3e.className;
if(_43&&0<_43.length){
_43+=" hasHover";
}else{
_43="hasHover";
}
if(dojo.isFF){
_3e.setAttribute("class",_43);
}else{
_3e.className=_43;
}
dojo.connect(_3e,"onmouseover",_3f);
dojo.connect(_3e,"onfocus",_3f);
dojo.connect(_3e,"onmouseout",function(evt){
LCSemTagMenu.unfocus(evt);
});
dojo.connect(_3e,"onblur",function(evt){
LCSemTagMenu.unfocus(evt);
});
}
if(_41!=null){
dojo.connect(_3e,"onkeydown",_41);
}
}
},createHoverImage:function(){
var img=document.createElement("img");
this.hoverIdx++;
img.id=this.hoverIdAttr+this.hoverIdx;
img.className=LCSemTagMenu.iconName;
img.setAttribute("src",this.baseUrl+"/images/menu_selected_hover.gif");
img.setAttribute("border","0");
var _45=document.createElement("a");
dojo.connect(_45,"onfocus",LCSemTagMenu.activateHover);
dojo.connect(_45,"onmouseover",LCSemTagMenu.activateHover);
dojo.connect(_45,"onmouseout",LCSemTagMenu.deactivateHover);
_45.appendChild(img);
return _45;
},showHover:function(_46,_47){
this.printDebug("in showHover");
try{
if(LCSemTagMenu.showing){
LCSemTagMenu.clearTimeouts();
LCSemTagMenu.showHover(_46,_47);
}else{
LCSemTagMenu.startShowTimer(_46,_47);
}
}
catch(e){
console.error("Error in lconn.core.bizCard.bizCardUtils.showHover");
console.error(e);
}
},setMenuData:function(_48,_49,_4a,_4b,_4c){
LCSemTagMenu.setMenuData(_48,_49,_4a,_4b,_4c);
},getMenuItemJson:function(_4d,_4e,_4f,_50){
var o=_4f?_4f:0;
var i=_50?_50:"";
return {"label":_4d,"href":_4e,"order":o,"icon":i};
},getMenuHeaderJson:function(_51,_52){
return {"markup":_51,"order":_52};
},getMenuFooterJson:function(_53,_54){
return {"markup":_53,"order":_54};
},getElementFromEvent:function(_55){
return _55.target?_55.target:_55.srcElement;
},getLiveElementFromEvent:function(_56){
return LCSemTagMenu.findLiveElementFromEventSource(this.getElementFromEvent(_56));
},getEventAbsoluteX:function(e){
var x=0;
if(e.pageX){
x=e.pageX;
}else{
if(e.clientX){
x=e.clientX+document.body.scrollLeft;
}
}
return x;
},getEventAbsoluteY:function(e){
var y=0;
if(e.pageY){
y=e.pageY;
}else{
if(e.clientY){
y=e.clientY+document.body.scrollTop;
}
}
return y;
},getStyle:function(_57,_58){
var _59;
if(window.getComputedStyle){
_59=document.defaultView.getComputedStyle(_57,null).getPropertyValue(_58);
}else{
if(_57.currentStyle){
_59=_57.currentStyle[_58];
}
}
return _59;
},createGroupJson:function(ctx,_5a){
return {"context":ctx,"extenders":_5a};
},createActionJson:function(id,ctx,_5b,_5c,url,_5d){
var o=parseInt(_5d);
return {"id":id,"context":ctx,"label":_5b,"description":_5c,"url":url,"order":o};
},parseOrder:function(_5e){
if(_5e==null||_5e.length==0){
return 0;
}
if(_5e.charAt(0)=="-"){
return parseInt(_5e.substr(1))*-1;
}else{
return parseInt(_5e);
}
},_langParamValue:"",getLangParam:function(){
var _5f=null;
var _60=dojo.getObject("lconn.core.LanguageSelector.COOKIE_NAME");
if((_60!="undefined")&&(_60!=null)){
_5f=dojo.cookie(_60);
}
if(_5f==null||_5f==""){
_5f=this.getUrlParam("lang");
}
if(_5f==null||_5f==""){
if(window.djConfig!=null&&djConfig.locale!=null){
_5f=djConfig.locale;
if(_5f=="pt-pt"){
_5f="pt";
}
}
}
if(_5f==null||_5f==""){
_5f="en";
}
_5f=_5f.replace(/\-/g,"_");
_5f=_5f.toLowerCase();
this._langParamValue=_5f;
return this._langParamValue;
},getTextValue:function(_61){
if(!_61){
return "";
}
return _61.innerHTML.replace(/<[a-zA-Z\/][^>]*>/gi,"");
},getTypedValue:function(_62,_63){
if(!_63){
_63="def";
}
var _64=new Array();
var _65=this.getElementsByClassName("type",_62);
var _66=this.getElementsByClassName("value",_62);
var _67="";
if(_66.length<1){
_67=this.getTextValue(_62);
}
for(i=0;i<_66.length;i++){
_67+=this.getTextValue(_66[i]);
}
if(_65.length<1){
_64[_63]=_67;
}else{
for(j=0;j<_65.length;j++){
var _68=_65[j];
var _69=_68.tagName.match(/^abbr$/i)?_68.getAttribute("title"):this.getTextValue(_68);
_64[_69.toLowerCase()]=_67;
}
}
return _64;
},findNameElementInHcard:function(_6a){
if(_6a.className!="vcard"){
_6a=this.getParentByClassName("vcard",_6a);
}
var _6b=this.getElementsByClassName("fn",_6a)[0];
if(!_6b){
_6b=this.getElementsByClassName("n",_6a)[0];
}
return _6b;
},findElementByNameInHcard:function(_6c,_6d){
if(_6c.className!="vcard"){
_6c=this.getParentByClassName("vcard",_6c);
}
return this.getElementsByClassName(_6d,_6c)[0];
},loadScript:function(_6e){
var _6f=this.getLangParam();
if(_6e.indexOf("lang=")!=-1&&_6f!=null){
_6e=_6e.substring(0,_6e.indexOf("lang"))+"lang="+_6f;
}else{
if(_6e.indexOf("resourcebundle")!=-1&&_6f!=null){
_6e=_6e+"&lang="+_6f;
}
if(_6e.indexOf("resourceStrings")!=-1&&_6f!=null){
_6e=_6e+"&lang="+_6f;
}
if(_6e.indexOf("js-resources.js")!=-1&&_6f!=null){
_6e=_6e+((_6e.indexOf("?")!=-1)?"&":"?")+"lang="+_6f;
}
}
_6e=this.appendAppChkSum(_6e);
if(!this.scripts[_6e]){
this.scripts[_6e]=true;
var _70=document.createElement("script");
_70.src=_6e;
document.body.insertBefore(_70,document.body.firstChild);
}
},loadCss:function(css,_71){
_71=_71||{};
css=this.appendAppChkSum(css);
if(!this.css[css]){
var _72=document.getElementsByTagName("head");
if(_72[0]){
this.css[css]=true;
var el=dojo.doc.createElement("link");
if(el){
el.rel="stylesheet";
el.href=css;
el.type="text/css";
el.media="screen";
dojo.mixin(el,_71);
return _72[0].appendChild(el);
}
}
}
return false;
},toggleInlineCard:function(_73){
var _74=dojo.doc.getElementById(_73+"_Pivot");
var _75=dojo.doc.getElementById(_73+"_Details");
if(_74!=null&&_75!=null){
if(_74.className.indexOf("lotusPivotNavOpen")!=-1){
_74.className="lotusPivotNav";
_75.style.display="none";
}else{
_74.className="lotusPivotNav lotusPivotNavOpen";
_75.style.display="block";
}
}
}};
window.LCSemTagMenu={isDebug:false,staticHover:false,focusRestored:false,id:"semtagmenu",hideDelay:500,showDelay:300,timeouts:new Array(),iconName:"menu_drop_icon",showing:false,currentElem:null,refCount:-1,tabOrderByDomNodeOrder:0,tabOrderByTabIndex:0,elemOrigTabIdx:null,elemTempTabIdx:1000,elemNext:null,originalActiveEl:null,svcHandlers:new Array(),items:new Array(),headers:new Array(),footers:new Array(),hoverIdRE:null,iconNameRE:new RegExp("(^|\\s)menu_drop_icon(\\s|$)"),hoverOffset:{x:15,y:15,w:315},menuOffset:{x:10,y:0,w:425},initited:false,init:function(){
if(this.initited==false){
LCSemTagMenu.hoverIdRE=new RegExp(lconn.core.bizCard.bizCardUtils.hoverIdPrefix);
dojo.connect(document,"onclick",LCSemTagMenu.click);
dojo.connect(document,"onkeydown",LCSemTagMenu.keydown);
this.isDebug=(window.location.search.indexOf("debug=true")!=-1);
this.initited=true;
}
},printDebug:function(msg){
if(LCSemTagMenu.isDebug){
var d=new Date();
console.debug("["+d.toLocaleTimeString()+"."+d.getMilliseconds()+"] LCSemTagMenu: "+msg);
}
},activateFocus:function(_76){
lconn.core.bizCard.bizCardUtils.activateHover(_76);
},activateHover:function(_77){
var _78=lconn.core.bizCard.bizCardUtils.getElementFromEvent(_77);
if(_78){
_78.src=lconn.core.bizCard.bizCardUtils.baseUrl+"/images/menu_selected_hover.gif";
}
LCSemTagMenu.currentEvent=_77;
LCSemTagMenu.setCurrentElement(LCSemTagMenu.findLiveElementFromEventSource(_78));
},deactivateHover:function(_79){
var _7a=lconn.core.bizCard.bizCardUtils.getElementFromEvent(_79);
if(_7a){
_7a.src=lconn.core.bizCard.bizCardUtils.baseUrl+"/images/menu_selected_hover.gif";
}
LCSemTagMenu.setCurrentElement(null);
},showHover:function(_7b,_7c){
this.printDebug("in showHover");
try{
if(LCSemTagMenu.staticHover){
return;
}
try{
if(LCSemTagMenu.focusRestored&&_7b.type=="focus"){
LCSemTagMenu.printDebug("skipping showHover because focus was restored from hide timer...  event ["+_7b.type+"]. ");
LCSemTagMenu.focusRestored=false;
return;
}
}
catch(e){
console.log("showHover: eat exception, IE has issues with certain events not having an event.type, so reset flag regardless");
LCSemTagMenu.focusRestored=false;
return;
}
LCSemTagMenu.originalActiveEl=document.activeElement;
var _7d=lconn.core.bizCard.bizCardUtils.getElementFromEvent(_7b);
if(_7d&&_7d.tagName.toLowerCase()=="img"&&_7d.parentNode.tagName.toLowerCase()=="a"){
_7d=_7d.parentNode;
}
LCSemTagMenu.elemOrigTabIdx=_7d.getAttribute("tabIndex");
if(LCSemTagMenu.tabOrderByTabIndex&&!LCSemTagMenu.elemOrigTabIdx){
LCSemTagMenu.elemNext=_7d.nextSibling;
_7d.setAttribute("tabIndex",parseInt(Number(LCSemTagMenu.elemTempTabIdx)));
}
var tag=LCSemTagMenu.getMenuTag(_7d);
var _7e=0;
if(_7d&&_7d!=LCSemTagMenu.currentElem){
LCSemTagMenu.clearAllSvcHandlers(tag);
_7e=_7d.getAttribute(lconn.core.bizCard.bizCardUtils.refcntAttr);
if(_7e){
LCSemTagMenu.currentEvent=_7b;
LCSemTagMenu.setCurrentElement(_7d);
}else{
LCSemTagMenu.printDebug("showHover called for a DOM element with no refcnt attribute!");
LCSemTagMenu.setCurrentElement(null);
return;
}
}
LCSemTagMenu.addSvcHandler(tag,_7c);
LCSemTagMenu.setRefCount(_7e);
var _7f=dojo.byId("bc_document_node");
if(_7f){
var _80=true;
var _81=_7f.parentNode;
while(_81){
if(_81.className&&_81.className.indexOf("popupPersonCard")>-1||_81.className.indexOf("vcomm")>-1){
_80=false;
break;
}
_81=_81.parentNode;
}
if(_80){
_7f.parentNode.removeChild(_7f);
}
}
var out=new lconn.core.bizCard.bizCardUtils.out();
LCSemTagMenu.writeHover(out,"ltr");
tag.innerHTML=out.buffer;
LCSemTagMenu.showing=true;
var pos=LCSemTagMenu.currentElemPosition;
LCSemTagMenu.show(LCSemTagMenu.id,_7b,Math.round(pos.x),LCSemTagMenu.hoverOffset.x,Math.round(pos.y),LCSemTagMenu.hoverOffset.y,Math.round(pos.w),Math.round(pos.h),LCSemTagMenu.hoverOffset.w);
}
catch(e){
console.error("Error in LCSemTagMenu.showHover");
console.error(e);
}
},addSvcHandler:function(tag,_82){
LCSemTagMenu.svcHandlers.push(dojo.connect(tag,"onclick",_82));
},clearAllSvcHandlers:function(tag){
while(0<LCSemTagMenu.svcHandlers.length){
var _83=LCSemTagMenu.svcHandlers.pop();
if(_83){
dojo.disconnect(_83);
}
}
},getPosition:function(_84,_85){
if(_1&&typeof dojo.position=="function"){
return dojo.position(_84,_85);
}else{
if(_84["getBoundingClientRect"]){
var ret;
var db=_1.body();
ret=_84.getBoundingClientRect();
ret={x:ret.left,y:ret.top,w:ret.right-ret.left,h:ret.bottom-ret.top};
if(_1.isIE){
var _86=_1._getIeDocumentElementOffset();
ret.x-=_86.x+(_1.isQuirks?db.clientLeft+db.offsetLeft:0);
ret.y-=_86.y+(_1.isQuirks?db.clientTop+db.offsetTop:0);
}
if(_85){
var _87=_1._docScroll();
ret.x+=_87.x;
ret.y+=_87.y;
}
return ret;
}else{
return {x:0,y:0,w:0,h:0};
}
}
},setCurrentElement:function(_88){
LCSemTagMenu.currentElem=_88;
if(_88!=null){
LCSemTagMenu.currentElemPosition=this.getPosition(_88,true);
LCSemTagMenu.setRefCount(_88?Number(_88.getAttribute(lconn.core.bizCard.bizCardUtils.refcntAttr)):0);
while(0<LCSemTagMenu.headers.length){
LCSemTagMenu.headers.pop();
}
while(0<LCSemTagMenu.items.length){
LCSemTagMenu.items.pop();
}
while(0<LCSemTagMenu.footers.length){
LCSemTagMenu.footers.pop();
}
}
},setRefCount:function(cnt){
LCSemTagMenu.refCount=cnt;
},setMenuData:function(_89,_8a,_8b,_8c,_8d){
LCSemTagMenu.printDebug("Menu.setMenuData: items.length="+_8a.length);
if(!LCSemTagMenu.staticHover&&LCSemTagMenu.refCount<0){
LCSemTagMenu.printDebug("setMenuData called when refCount="+LCSemTagMenu.refCount);
return;
}
var _8e=LCSemTagMenu.findLiveElementFromEventSource(lconn.core.bizCard.bizCardUtils.getElementFromEvent(_89));
if(!_8e){
LCSemTagMenu.printDebug("setMenuData called on a null live element");
return;
}
if(LCSemTagMenu.staticHover&&(_8e!=LCSemTagMenu.currentElem||LCSemTagMenu.showing)){
LCSemTagMenu.currentEvent=_89;
LCSemTagMenu.setCurrentElement(_8e);
}
for(var i=0;i<_8a.length;i++){
LCSemTagMenu.items.push(_8a[i]);
}
if(_8b){
LCSemTagMenu.currentMenuCss=_8b;
}
if(_8c){
LCSemTagMenu.headers.push(_8c);
}
if(_8d){
LCSemTagMenu.footers.push(_8d);
}
LCSemTagMenu.stopEvent(_89);
LCSemTagMenu.showMenu();
try{
if(_89&&_89.isAccessibleOpen){
LCSemTagMenu.clearTimeouts();
}
}
catch(e){
LCSemTagMenu.printDebug("ERROR checking isAccessibleOpen event flag: "+e);
}
},getCurrentElement:function(){
return LCSemTagMenu.currentElem;
},showMenu:function(){
if(LCSemTagMenu.showing){
LCSemTagMenu.hide();
}
LCSemTagMenu.items.sort(lconn.core.bizCard.bizCardUtils.sortByOrder);
if(1<LCSemTagMenu.headers.length){
LCSemTagMenu.headers.sort(lconn.core.bizCard.bizCardUtils.sortByOrder);
}
if(1<LCSemTagMenu.footers.length){
LCSemTagMenu.footers.sort(lconn.core.bizCard.bizCardUtils.sortByOrder);
}
var out=new lconn.core.bizCard.bizCardUtils.out();
var _8f=(SemTagSvcConfig.isBidiRTL?"direction:rtl;":"");
var _90="";
_90+="<div role='dialog' class='popupPersonCard' style='z-index:"+(LCSemTagMenu.getTopZIndex()+1)+"; position:absolute;"+_8f+"'>";
if(0<LCSemTagMenu.headers.length){
_90+=LCSemTagMenu.headers[0].markup;
}
_90+="<a href='javascript:a11y()'><a>";
if(0<LCSemTagMenu.footers.length){
_90+=LCSemTagMenu.footers[0].markup;
}
_90+="</div>";
out.write(_90);
var tag=LCSemTagMenu.getMenuTag();
LCSemTagMenu.clearAllSvcHandlers(tag);
LCSemTagMenu.offScreen(tag);
tag.innerHTML=out.buffer;
LCSemTagMenu.defaultCursor();
if(LCSemTagMenu.staticHover&&dojo.isFF){
var _91=tag.getElementsByTagName("a");
if(0<_91.length){
_91[0].focus();
}
}
var _92={"target":LCSemTagMenu.currentElem};
var pos=LCSemTagMenu.currentElemPosition;
LCSemTagMenu.show(LCSemTagMenu.id,_92,Math.round(pos.x),LCSemTagMenu.menuOffset.x,Math.round(pos.y),LCSemTagMenu.menuOffset.y,Math.round(pos.w),Math.round(pos.h),LCSemTagMenu.menuOffset.w);
},createMenuTag:function(_93){
LCSemTagMenu.printDebug("in createMenuTag");
var tag=document.createElement((LCSemTagMenu.tabOrderByDomNodeOrder?"div":"span"));
tag.setAttribute("id",LCSemTagMenu.id);
tag.setAttribute("role","tooltip");
tag.style.position=(LCSemTagMenu.tabOrderByDomNodeOrder?"fixed":"absolute");
tag.style.display="none";
dojo.connect(tag,"onmouseout",LCSemTagMenu.mouseout);
dojo.connect(tag,"onmouseover",LCSemTagMenu.mouseover);
dojo.connect(tag,"onfocus",LCSemTagMenu.focus);
if(LCSemTagMenu.tabOrderByTabIndex){
dojo.connect(tag,"onkeydown",LCSemTagMenu.keydown);
}
if(LCSemTagMenu.tabOrderByDomNodeOrder){
if(_93){
_93.parentNode.appendChild(tag);
}else{
document.body.insertBefore(tag,document.body.firstChild);
}
}else{
document.body.insertBefore(tag,document.body.firstChild);
}
if(!dojo.hasClass(dojo.body(),"lotusui30_fonts")){
dojo.addClass(LCSemTagMenu.id,"lotusui lotusui30 lotusui30dojo lotusui30_fonts lotusSpritesOn");
}
return tag;
},getMenuTag:function(_94){
var tag=dojo.byId(LCSemTagMenu.id);
if(!tag){
tag=this.createMenuTag(_94);
}
if(LCSemTagMenu.tabOrderByTabIndex&&typeof (_94)!="undefined"&&_94!=null){
var _95=_94.getAttribute("tabIndex");
if(_95){
tag.setAttribute("tabIndex",parseInt(Number(_95)+1));
}
}else{
if(LCSemTagMenu.tabOrderByDomNodeOrder){
if(_94){
_94.parentNode.appendChild(tag);
}
}
}
return tag;
},windowWidth:function(){
var _96=-1;
var d=document;
if(typeof window.innerWidth!="undefined"){
_96=window.innerWidth;
}else{
if(d.documentElement&&typeof d.documentElement.clientWidth!="undefined"&&d.documentElement.clientWidth!=0){
_96=d.documentElement.clientWidth;
}else{
if(d.body&&typeof d.body.clientWidth!="undefined"){
_96=d.body.clientWidth;
}
}
}
return _96;
},windowHeight:function(){
var _97=-1;
var d=document;
if(typeof window.innerHeight!="undefined"){
_97=window.innerHeight;
}else{
if(d.documentElement&&typeof d.documentElement.clientHeight!="undefined"&&d.documentElement.clientHeight!=0){
_97=d.documentElement.clientHeight;
}else{
if(d.body&&typeof d.body.clientHeight!="undefined"){
_97=d.body.clientHeight;
}
}
}
return _97;
},show:function(_98,e,_99,_9a,_9b,_9c,_9d,_9e,_9f){
try{
var _a0=dojo.byId(_98);
if(_9d==null){
_9d=0;
}
if(_9e==null){
_9e=0;
}
if(_9f==null){
_9f=0;
}
var _a1=SemTagSvcConfig.isBidiRTL;
LCSemTagMenu.printDebug("in show..."+" Y,X:["+_9b+","+_99+"]"+" offsets:["+_9a+","+_9c+"] "+"parent W,H:["+_9d+","+_9e+"] "+"popup width: "+_9f);
_99=_99+_9a;
_9b=_9b+_9c;
var _a2=(e.target)?e.target:e.srcElement;
var top=(_9b!=null?_9b:lconn.core.bizCard.bizCardUtils.getEventAbsoluteY(e));
var _a3=(_99!=null?_99:lconn.core.bizCard.bizCardUtils.getEventAbsoluteX(e));
var _a4=this.windowWidth();
var _a5=this.windowHeight();
var _a6=document.body.scrollLeft;
var _a7=document.body.scrollTop;
LCSemTagMenu.printDebug("in show...(init values)"+" top,left:["+top+","+_a3+"] "+"win height,width:["+_a5+","+_a4+"] "+"scroll Y,X:["+_a7+","+_a6+"]");
if(_a1){
right=_a3-_9a+_9d;
_a3=right-_9a;
LCSemTagMenu.printDebug("in show...(bidi shift)"+" top,left:["+top+","+_a3+"]");
}
if(_a1){
if(_a3-_9f<0){
_a3=_9f-_9a+_a6;
LCSemTagMenu.printDebug("in show...(nudge right)"+" top,left:["+top+","+_a3+"]");
}
}else{
if(_a3+_9f>_a4){
_a3=_a4-_9f-_9a+_a6;
LCSemTagMenu.printDebug("in show...(nudge left)"+" top,left:["+top+","+_a3+"]");
}
}
if(SemTagSvcConfig.isPortal){
LCSemTagMenu.printDebug("in show...(in PORTAL start)"+" top,left:["+top+","+_a3+"]");
var od=SemTagUtil.getOwnerDocument(_a2);
if(od&&od.location!=document.location){
var f=SemTagUtil.getFrameElement(_a2);
if(f){
var el=f.offsetParent;
var x=0,y=0;
while(el){
x+=el.offsetLeft;
y+=el.offsetTop;
el=el.offsetParent;
}
var lof=_a2.offsetParent;
var xx=0,yy=0;
while(lof){
xx+=lof.offsetLeft;
yy+=lof.offsetTop;
lof=lof.offsetParent;
}
if(f.id=="wpsFLY_flyoutIFrame"){
top=y+yy+_a2.offsetHeight;
_a3=x+xx+_a2.offsetWidth;
}else{
top+=f.offsetTop;
_a3+=f.offsetLeft;
}
if(SemTagUtil.isGecko&&f.id=="wpsFLY_flyoutIFrame"){
iframeScrollLeft=f.contentWindow.pageXOffset;
iframeScrollTop=f.contentWindow.pageYOffset;
}
if(!SemTagUtil.isGecko&&f.id=="wpsFLY_flyoutIFrame"){
iframeScrollLeft=f.contentWindow.document.body.parentNode.scrollLeft;
iframeScrollTop=f.contentWindow.document.body.parentNode.scrollTop;
}
top-=iframeScrollTop;
_a3-=iframeScrollLeft;
}
}
LCSemTagMenu.printDebug("in show...(in PORTAL end)"+" top,left:["+top+","+_a3+"]");
}
LCSemTagMenu.printDebug("in show...(final)"+" top,left:["+top+","+_a3+"]");
_a0.style.top=top+"px";
_a0.style.left=_a3+"px";
_a0.style.display="block";
LCSemTagMenu.showing=true;
if(SemTagSvcConfig.isPortal){
_a0.style.zIndex="900";
}
if(dojo.isIE){
var _a8=dojo.byId("tempIframe");
if(_a8==null){
_a8=document.createElement("iframe");
_a8.setAttribute("id","tempIframe");
_a8.setAttribute("frameBorder","no");
_a8.setAttribute("scrolling","no");
_a8.setAttribute("src",lconn.core.bizCard.bizCardUtils.baseUrl+"/nav/blankIE.html");
_a8.style.position="absolute";
_a8.style.left=_a3+"px";
_a8.style.top=top+"px";
_a8.width=(_a0.offsetWidth).toString()+"px";
_a8.height=(_a0.offsetHeight).toString()+"px";
_a8.style.display="block";
_a8.style.zIndex="899";
document.body.appendChild(_a8);
}else{
_a8.style.left=_a3+"px";
_a8.style.top=top+"px";
_a8.width=(_a0.offsetWidth).toString()+"px";
_a8.height=(_a0.offsetHeight).toString()+"px";
_a8.style.display="block";
}
}
LCSemTagMenu.showing=true;
LCSemTagMenu.focusA11Y();
}
catch(e){
console.error("LCSemTagMenu.show: Exception Caught: ");
console.log(e);
}
},focusA11Y:function(){
try{
if(LCSemTagMenu.showing&&dojo.byId("bc_document_node")){
dojo.query("#A11Yblank",dojo.byId("bc_document_node"))[0].focus();
}
}
catch(e){
LCSemTagMenu.printDebug("focusA11Y:  could not focus element with A11Yblank id. Exception: "+e);
}
},hide:function(_a9,e){
LCSemTagMenu.printDebug("in hide");
LCSemTagMenu.clearTimeouts();
var tag=LCSemTagMenu.getMenuTag();
if(!tag){
return false;
}
tag.style.display="none";
LCSemTagMenu.clearAllSvcHandlers(tag);
LCSemTagMenu.defaultCursor();
LCSemTagMenu.setCurrentElement(null);
var _aa=dojo.byId("tempIframe");
if(_aa){
_aa.style.display="none";
}
LCSemTagMenu.showing=false;
return true;
},restoreFocus:function(){
LCSemTagMenu.printDebug("in restoreFocus");
try{
var _ab=LCSemTagMenu.originalActiveEl;
if(_ab){
if(LCSemTagMenu.tabOrderByTabIndex&&_ab&&_ab.getAttribute("tabIndex")){
tag.setAttribute("tabIndex",null);
_ab.setAttribute("tabIndex",LCSemTagMenu.elemOrigTabIdx);
}
if(!lconn.profiles.bizCard.bizCardUI.wndh_vCard||(lconn.profiles.bizCard.bizCardUI.wndh_vCard&&lconn.profiles.bizCard.bizCardUI.wndh_vCard.closed)){
LCSemTagMenu.focusRestored=true;
LCSemTagMenu.originalActiveEl.focus();
window.setTimeout("LCSemTagMenu.focusRestored = false;",500);
}
}
}
catch(e){
console.error("LCSemTagMenu.restoreFocus: could not restore focus.  Exception: "+e);
}
},offScreen:function(_ac){
_ac.style.top="-1000px";
_ac.style.left="-1000px";
_ac.style.display="block";
},findLiveElementFromEventSource:function(_ad){
if(LCSemTagMenu.staticHover){
var id=_ad.id;
if(!id.match(LCSemTagMenu.hoverIdRE)){
var _ae=_ad.getElementsByTagName("img");
for(var i=0;i<_ae.length;i++){
if(_ae[i].id&&_ae[i].id.match(LCSemTagMenu.hoverIdRE)){
id=_ae[i].id;
break;
}
}
}
var idx=id.substr(lconn.core.bizCard.bizCardUtils.hoverIdPrefix.length);
return document.getElementById(lconn.core.bizCard.bizCardUtils.liveElemPrefix+idx);
}else{
var _af=LCSemTagMenu.getCurrentElement();
return _af?_af:_ad;
}
},findHoverFromLiveElement:function(_b0){
var idx=_b0.getAttribute(lconn.core.bizCard.bizCardUtils.hoverIdPrefix+"idx");
return document.getElementById(lconn.core.bizCard.bizCardUtils.hoverIdPrefix+idx);
},inMenu:function(_b1,_b2){
if(!_b1||!_b2){
return false;
}
if(!LCSemTagMenu.showing){
return false;
}
try{
var el=lconn.core.bizCard.bizCardUtils.getElementFromEvent(_b2);
if((_b2.type=="mouseout"||_b2.type=="mouseover")){
el=(_b2.toElement?_b2.toElement:dojo.body());
LCSemTagMenu.printDebug("moused to: id:["+el.id+"] tag:["+el.tagName+"]");
}
while(el&&el.parentNode&&(el=el.parentNode)){
if(el===_b1){
return true;
}
}
return false;
}
catch(e){
console.log("inMenu: eat exception, IE has issues with certain events not having an event.type");
return false;
}
},mouseout:function(_b3){
LCSemTagMenu.printDebug("in mouseout..."+_b3);
var _b4=LCSemTagMenu.id;
menuElem=dojo.byId(_b4);
if(LCSemTagMenu.inMenu(menuElem,_b3)){
LCSemTagMenu.printDebug("mouseout: moused-out off element but we are on menu");
}else{
if(LCSemTagMenu.showing){
LCSemTagMenu.startHideTimer(_b4);
}else{
LCSemTagMenu.clearTimeouts();
}
}
},mouseover:function(_b5){
LCSemTagMenu.printDebug("in mouseover..."+_b5);
LCSemTagMenu.clearTimeouts();
},focus:function(_b6){
LCSemTagMenu.printDebug("in focus..."+_b6);
LCSemTagMenu.mouseover(_b6);
},unfocus:function(_b7){
LCSemTagMenu.printDebug("in unfocus..."+_b7);
LCSemTagMenu.mouseout(_b7);
},click:function(_b8){
LCSemTagMenu.printDebug("in click..."+_b8);
if(!_b8){
return;
}
if(LCSemTagMenu.showing){
var el=lconn.core.bizCard.bizCardUtils.getElementFromEvent(_b8);
if(el&&el.className!="lotusVCardHover"){
menuElem=dojo.byId(LCSemTagMenu.id);
if(!LCSemTagMenu.inMenu(menuElem,_b8)){
LCSemTagMenu.hide(LCSemTagMenu.id);
}
}
}
},keydown:function(_b9){
LCSemTagMenu.printDebug("in keydown..."+_b9);
LCSemTagMenu.catchEscape(_b9);
LCSemTagMenu.catchTab(_b9);
},catchEscape:function(_ba){
if(_ba.keyCode==27){
if(LCSemTagMenu.showing){
LCSemTagMenu.hide(LCSemTagMenu.id);
LCSemTagMenu.restoreFocus();
}
}
},catchTab:function(_bb){
if(_bb.keyCode==9){
try{
if(LCSemTagMenu.showing&&document.activeElement.id=="A11YLast"){
LCSemTagMenu.focusA11Y();
}
if(LCSemTagMenu.showing&&dojo.query(".lotusVCardHover",dojo.byId(LCSemTagMenu.id)).length){
LCSemTagMenu.hide();
}
}
catch(e){
LCSemTagMenu.printDebug("catchTab:  could not check if current element is A11YLast id. Exception: "+e);
}
}
},stopEvent:function(_bc){
if(!_bc){
return;
}
if(dojo.isFF){
if(_bc.preventDefault==null){
_bc=_bc.original;
}
_bc.preventDefault();
_bc.stopPropagation();
}else{
try{
if(_bc.returnValue==null){
_bc=_bc.original;
}
_bc.returnValue=false;
_bc.cancelBubble=true;
}
catch(e){
}
}
},startShowTimer:function(_bd,_be,_bf){
LCSemTagMenu.printDebug("in startShowTimer");
var _c0=(typeof (_bf)=="number"?_bf:LCSemTagMenu.showDelay);
if(0<_c0){
var t=window.setTimeout(function(){
LCSemTagMenu.showHover(_bd,_be);
},_c0);
LCSemTagMenu.timeouts.push(t);
LCSemTagMenu.printDebug("...timer to show ("+t+") started, "+_c0+"ms");
}
},startHideTimer:function(_c1,_c2){
LCSemTagMenu.printDebug("in startHideTimer");
var _c3=(typeof (_c2)=="number"?_c2:LCSemTagMenu.hideDelay);
if(0<_c3){
var t=window.setTimeout(function(){
LCSemTagMenu.endHideTimer(_c1);
},_c3);
LCSemTagMenu.printDebug("...timer to hide ("+t+") started, "+_c3+"ms for "+_c1);
LCSemTagMenu.timeouts.push(t);
}
},endHideTimer:function(_c4){
LCSemTagMenu.printDebug("HIDE TIMER expired for "+_c4+".  Firing hide method.");
menuElem=dojo.byId(_c4);
LCSemTagMenu.hide(_c4);
LCSemTagMenu.restoreFocus();
},clearTimeouts:function(){
LCSemTagMenu.printDebug("in clearTimeouts:  ("+LCSemTagMenu.timeouts+")");
while((t=LCSemTagMenu.timeouts.pop())){
window.clearTimeout(t);
}
},defaultCursor:function(){
document.body.style.cursor="default";
},waitCursor:function(){
document.body.style.cursor="wait";
},clickCursor:function(){
document.body.style.cursor="pointer";
}};
LCSemTagMenu.defaultLoaded=true;
LCSemTagMenu.getTopZIndex=function(){
var _c5=0;
dojo.query("[style*='z-index']").forEach(function(_c6,_c7,arr){
_c5=((zIdx=parseInt(dojo.style(_c6,"z-index")))>_c5?zIdx:_c5);
});
return _c5;
};
LCSemTagMenu.writeHover=function(out,_c8){
var _c9=_1.i18n.getLocalization("lconn.profiles.bizCard","ui");
var _ca="z-index:"+(LCSemTagMenu.getTopZIndex()+1)+"; opacity: 1; top: 0;";
out.write("<a class='lotusVCardHover' "+" onmouseover='javascript:LCSemTagMenu.clickCursor();'"+" onmouseout='javascript:LCSemTagMenu.defaultCursor();'"+" style='"+_ca+"' "+" aria-label='"+_c9["label.semtag.hover.altA11Y"]+"' "+">"+_c9["label.semtag.hover.altA11Y"]+"</a>");
};
window.LCSemTagUtil={crossDomainRequest:function(){
var _cb=new Array();
var _cc=new Array();
var _cd=new Array();
var _ce=this;
createTimeoutFunction=function(_cf){
return function(){
_ce.cancelRequest(_cf);
};
};
this.getScriptId=function(id){
return "_JVLN_"+id;
};
this.getScriptObject=function(id){
return document.getElementById(this.getScriptId(id));
};
this.cloneObject=function(obj){
var _d0=new Object();
for(i in obj){
_d0[i]=obj[i];
}
return _d0;
};
this.request=function(url,_d1,_d2,_d3,_d4){
LCSemTagMenu.printDebug("LCSemTagUtil.request: started");
LCSemTagMenu.printDebug("LCSemTagUtil.request: connectionId "+_d4);
_d4=_d4.toLowerCase();
var _d5=this.getScriptId(_d4);
LCSemTagMenu.printDebug("LCSemTagUtil.request: objId "+_d5);
if(_d2!=null){
_cb[_d4]=_d2;
}
if(_d3!=null){
if(!dojo.isFF){
_cc[_d4]=this.cloneObject(_d3);
}else{
_cc[_d4]=_d3;
}
}
var _d6=document.createElement("script");
_d6.id=_d5;
_d6.type="text/javascript";
_d6.defer=true;
try{
_d6.src=url;
LCSemTagMenu.printDebug("LCSemTagUtil.request: url: "+url);
}
catch(e){
LCSemTagMenu.printDebug("LCSemTagUtil.request: error:",e);
return false;
}
try{
var _d7=document.getElementsByTagName("body");
if(_d7[0]){
_d7[0].appendChild(_d6);
}else{
LCSemTagMenu.printDebug("LCSemTagUtil.request: error getting body element to insert script:"+_d6.id);
return false;
}
}
catch(e){
LCSemTagMenu.printDebug("LCSemTagUtil.request: error:",e);
return false;
}
LCSemTagMenu.printDebug("LCSemTagUtil.request: added script: "+_d6.id);
if(_d1){
var _d8=this;
_cd[_d4]=window.setTimeout(createTimeoutFunction(_d4),_d1);
}
};
this.cancelRequest=function(id){
LCSemTagMenu.printDebug("LCSemTagUtil.cancelRequest:  Request ["+id+"] took too long.  Cancelling request for id: "+_cd[id]);
var _d9=_cb[id];
_cb[id]=null;
var _da=_cc[id];
_cc[id]=null;
if(_d9!=null){
try{
if(_d9){
_d9(false,null,_da);
}
this.removeScript(id);
}
catch(e){
LCSemTagMenu.printDebug("LCSemTagUtil.cancelRequest: Exception Caught: "+e);
}
}else{
LCSemTagMenu.printDebug("LCSemTagUtil.cancelRequest: no callback for : "+id);
}
};
this.removeScript=function(id){
LCSemTagMenu.printDebug("LCSemTagUtil.removeScript: removing script element for: "+id);
if(id){
var _db=this.getScriptObject(id);
if(_db!=null){
var _dc=document.getElementsByTagName("body");
_dc[0].removeChild(_db);
LCSemTagMenu.printDebug("LCSemTagUtil.removeScript: removed script for id: "+id);
}else{
LCSemTagMenu.printDebug("LCSemTagUtil.removeScript: script is null for id: "+id);
}
}else{
LCSemTagMenu.printDebug("LCSemTagUtil.removeScript: id is null");
}
};
this.dispatch=function(id,_dd){
LCSemTagMenu.printDebug("LCSemTagUtil.dispatch: id: "+id);
if(id!=null){
id=id.toLowerCase();
}
try{
if(id!=null&&typeof (_cd[id])!="undefined"&&_cd[id]!=null){
LCSemTagMenu.printDebug("request dispatched. removing timeout for id ["+id+"]  timeout id: "+_cd[id]);
window.clearTimeout(_cd[id]);
}
var _de=_cb[id];
var _df=_cc[id];
_cc[id]=null;
if(_de!=null){
_cb[id]=null;
_de(true,_dd,_df);
window.setTimeout(function(){
_ce.removeScript(id);
},1000);
}else{
LCSemTagMenu.printDebug("LCSemTagUtil.dispatch: callback is null for id: "+id);
}
}
catch(e){
console.error("LCSemTagUtil.dispatch: Exception Caught: ");
console.log(e);
}
};
}};
var _e0=window.SemTagSvc;
var _e1=window.SemTagSvc=(_e0||new com.ibm.mm.livetext.serviceImpl());
var _e2=window.livetextCfg=(window.livetextCfg||[]);
var _e3=window.SemTagSvcConfig=(window.SemTagSvcConfig||{});
if(!_e3.proxyURL&&dojo.config.proxy){
_e3.proxyURL=dojo.config.proxy;
}else{
if(_e3.proxyURL&&!dojo.config.proxy){
dojo.config.proxy=_e3.proxyURL;
}
}
_e3.appChksum=lconn.core.config.versionStamp;
window.doUIExtensionConfigOnload=function(){
};
dojo.addOnLoad(function(){
setTimeout(function(){
if(dojo.config.isDebug){
console.debug("Initialize semantic tag service");
}
_e3.isBidiRTL=!dojo._isBodyLtr();
if(!_e0){
_e1.init();
}
lconn.core.bizCard.bizCardUtils.init();
},1);
});
})();
}

dojo.provide("lconn.communities.bizCard.nls.ui")._built=true;
dojo.provide("lconn.communities.bizCard.nls.ui.en");
lconn.communities.bizCard.nls.ui.en={"label.top.buttons.join":"Join this Community","label.members":"Members ","label.deleteConfirm.communityNameConfirm":"Confirm community name:","label.action.confirm.community.after.follow.member":"You are following this community and will receive updates about community content.","label.top.buttons.actions":"More Actions","label.deleteConfirm.understandTitle":"I understand that the community and all associated data with it will be permanently deleted.","label.moderation.link":"Moderation","label.deleteConfirm.capitalizationWarning":"These values are case sensitive so be sure to use the correct capitalization.","label.top.buttons.metrics":"View Metrics","label.top.buttons.unfollow.title":"Stop following the community to stop receiving updates\xa0about community content.","label.members.lowercase":"members","label.collapse":"Click to collapse section","label.top.buttons.requestToJoin.title":"Request to join the community in order to post community content.","label.top.buttons.edit":"Edit Community","label.msg.confirmation":"Confirmation","tooltip.overview":"Click here to see the community&#146;s overview page","label.top.buttons.create":"Create Subcommunity","label.deleteConfirm.error":"The user name or community name does not match the required name.  Please check the names.","label.tags.tags":"Tags","label.deleteConfirm.signatureTitle":"Sign with your name:","label.action.confirm.community.before.leave.groupEnabled":"Leaving this community will remove you from the membership, however, if you are a member of one or more groups that are members of this community, your membership in the community via that group will remain.","label.top.buttons.gotoComm":"Go to Community","label.top.buttons.email":"Mail Community","label.action.confirm.community.after.unfollow":"You have stopped following this community.","label.action.confirm.community.after.follow.nonmember":"You are following this community and will receive updates about community content. Join this community to post content.","label.moderated.community.alt.text":"This is a moderated community","label.top.buttons.join.title":"Join the community to post community content.","label.deleteConfirm.oneSubCommunity":"This community has 1 subcommunity that will also be deleted.","label.top.buttons.com.actions":"Community Actions","label.top.buttons.editsub":"Edit Subcommunity","label.top.buttons.follow.title":"Follow the community to get updates\xa0about community content.","label.expand":"Click to expand section","label.msg.error":"Error","label.leaveConfirm.okButtonValue":"OK","label.theme.customize":"Customize","label.metrics.link":"Metrics","label.top.buttons.follow":"Follow this Community","label.top.buttons.unfollow":"Stop Following this Community","label.deleteConfirm.multipleSubCommunities":"This community has ${0} subcommunities that will also be deleted.","label.top.buttons.com.action.menu":"Press the space bar or enter key to activate the menu","label.public.community.alt.text":"This is a public community","label.top.buttons.requestToJoin":"Request to Join this Community","label.overview":"Overview","label.top.buttons.delete":"Delete Community","label.msg.action.failed.need.login":"The action failed because you are no longer logged in.","label.nav.landmark.comm":"Community","label.deleteConfirm.communityNameTitle":"Community name:","label.deleteConfirm.warning":"Warning: The following Community and all data associated with it will be permanently deleted!","label.deleteConfirm.closeButtonValue":"Cancel","label.msg.action.failed":"The action failed: ${0}","label.deleteConfirm.signDirection":"Enter the name of the community and sign in with your name to confirm that you are authorized to delete and that you want to permanently delete this entire community.","label.leaveConfirm.dlgTitle":"Leave this Community","label.deleteConfirm.okButtonValue":"Delete","label.deleteConfirm.nameTitle":"Your name:","label.leaveConfirm.closeButtonValue":"Cancel","confirm.delete.community":"Are you sure you want to delete this community? Deleting this community will remove all data including any content that has been added to the community. Click OK to delete this community or Cancel to return to the community.","label.top.buttons.leave":"Leave Community","label.private.community.alt.text":"This is a restricted community","label.deleteConfirm.dlgTitle":"Delete ${0}","label.action.confirm.community.before.leave":"Leaving this community will remove you from the membership.","label.subcommunities":"Subcommunities","label.top.buttons.moderate":"Moderate Community"};
dojo.registerModulePath("lconn.communities.bizCard", "../lconn.communities.bizCard");

;if(!dojo._hasResource["lconn.communities.bizCard.dialogs.leaveConfirm"]){
dojo._hasResource["lconn.communities.bizCard.dialogs.leaveConfirm"]=true;
dojo.provide("lconn.communities.bizCard.dialogs.leaveConfirm");
dojo.require("dijit.Dialog");
dojo.requireLocalization("lconn.communities.bizCard","ui");
dojo.declare("lconn.communities.bizCard.dialogs.leaveConfirm",[dijit.Dialog],{stringResources:dojo.i18n.getLocalization("lconn.communities.bizCard","ui"),templateString:"<div dojoAttachPoint=\"containerNode\" id=\"dialog_communities\" class=\"lotusui30dojo lotusDialogWrapper\" tabindex=\"-1\" waiRole=\"dialog\" waiState=\"labelledby-${id}_title\">\t\t\t<div style=\"width:600px\" aria-labelledby=\"${id}_title\" role=\"region\">\t\t\t\t<div dojoAttachPoint=\"dialogBorder\" class=\"lotusDialogBorder\">\t\t\t\t\t<div class=\"lotusDialog lotusForm2 lotusLeftLabels _lotusDelete\"> \t\t\t\t\t\t<div dojoAttachPoint=\"titleBar\" class=\"lotusDialogHeader\"> \t\t\t\t\t\t\t<div dojoAttachPoint=\"titleNode\" id=\"${id}_title\" class=\"lotusHeading\">${dlgTitle}</div> \t\t\t\t\t\t\t<a class=\"lotusDialogClose\" href=\"javascript:;\" title=\"Close\" dojoAttachEvent=\"onkeypress:onEnterCancelClicked,onclick:onCancelClicked\">\t\t\t\t\t\t\t\t<img dojoAttachEvent=\"onclick:onCancelClicked\" alt=\"Close\" src=\""+dojo.config.blankGif+"\"/>\t\t\t\t\t\t\t\t<span class=\"lotusAltText\">X</span>\t\t\t\t\t\t\t</a> \t\t\t\t\t\t</div>\t\t\t\t\t\t<div>\t\t\t\t\t\t\t<div class=\"lotusDialogContent\">\t\t\t\t\t\t\t\t${dlgContent}\t\t\t\t\t\t\t</div><!--end lotusDialogContent-->\t\t\t\t\t\t</div>\t\t\t\t\t\t<div class=\"lotusDialogFooter\">\t\t\t\t\t\t\t<button dojoAttachPoint=\"okButtonNode\" class=\"lotusBtn\" dojoAttachEvent=\"onclick:onOkClicked\">${okButtonValue}</button>\t\t\t\t\t\t\t<button dojoAttachPoint=\"closeButtonNode\" dojoAttachPoint=\"closeText\" class=\"lotusBtn\" dojoAttachEvent=\"onclick:onCancelClicked\">${closeButtonValue}</button>\t\t\t\t\t\t</div>\t\t\t\t\t</div>\t\t\t\t</div><!--end lotusDialogBorder-->\t\t\t</div>\t\t</div>",callback:null,dlgContent:null,postMixInProperties:function(){
this.dlgTitle=this.stringResources["label.leaveConfirm.dlgTitle"];
this.okButtonValue=this.stringResources["label.leaveConfirm.okButtonValue"];
this.closeButtonValue=this.stringResources["label.leaveConfirm.closeButtonValue"];
this.inherited(arguments);
},postCreate:function(){
dojo.attr(this.dialogBorder,"style",{width:"auto"});
this.inherited(arguments);
dojo.removeClass(this.containerNode,"dijitContentPane");
},onOkClicked:function(){
this.hide();
if(this.callback!=null){
this.callback();
}
},onCancelClicked:function(){
this.hide();
},onEnterCancelClicked:function(_1){
if(_1.keyCode==13){
this.onCancelClicked();
}
}});
}


;if(!dojo._hasResource["dojox.html.entities"]){
dojo._hasResource["dojox.html.entities"]=true;
dojo.provide("dojox.html.entities");
(function(){
var _1=function(_2,_3){
var _4,_5;
if(_3._encCache&&_3._encCache.regexp&&_3._encCache.mapper&&_3.length==_3._encCache.length){
_4=_3._encCache.mapper;
_5=_3._encCache.regexp;
}else{
_4={};
_5=["["];
var i;
for(i=0;i<_3.length;i++){
_4[_3[i][0]]="&"+_3[i][1]+";";
_5.push(_3[i][0]);
}
_5.push("]");
_5=new RegExp(_5.join(""),"g");
_3._encCache={mapper:_4,regexp:_5,length:_3.length};
}
_2=_2.replace(_5,function(c){
return _4[c];
});
return _2;
};
var _6=function(_7,_8){
var _9,_a;
if(_8._decCache&&_8._decCache.regexp&&_8._decCache.mapper&&_8.length==_8._decCache.length){
_9=_8._decCache.mapper;
_a=_8._decCache.regexp;
}else{
_9={};
_a=["("];
var i;
for(i=0;i<_8.length;i++){
var e="&"+_8[i][1]+";";
if(i){
_a.push("|");
}
_9[e]=_8[i][0];
_a.push(e);
}
_a.push(")");
_a=new RegExp(_a.join(""),"g");
_8._decCache={mapper:_9,regexp:_a,length:_8.length};
}
_7=_7.replace(_a,function(c){
return _9[c];
});
return _7;
};
dojox.html.entities.html=[["&","amp"],["\"","quot"],["<","lt"],[">","gt"],["\xa0","nbsp"]];
dojox.html.entities.latin=[["\xa1","iexcl"],["\xa2","cent"],["\xa3","pound"],["\u20ac","euro"],["\xa4","curren"],["\xa5","yen"],["\xa6","brvbar"],["\xa7","sect"],["\xa8","uml"],["\xa9","copy"],["\xaa","ordf"],["\xab","laquo"],["\xac","not"],["\xad","shy"],["\xae","reg"],["\xaf","macr"],["\xb0","deg"],["\xb1","plusmn"],["\xb2","sup2"],["\xb3","sup3"],["\xb4","acute"],["\xb5","micro"],["\xb6","para"],["\xb7","middot"],["\xb8","cedil"],["\xb9","sup1"],["\xba","ordm"],["\xbb","raquo"],["\xbc","frac14"],["\xbd","frac12"],["\xbe","frac34"],["\xbf","iquest"],["\xc0","Agrave"],["\xc1","Aacute"],["\xc2","Acirc"],["\xc3","Atilde"],["\xc4","Auml"],["\xc5","Aring"],["\xc6","AElig"],["\xc7","Ccedil"],["\xc8","Egrave"],["\xc9","Eacute"],["\xca","Ecirc"],["\xcb","Euml"],["\xcc","Igrave"],["\xcd","Iacute"],["\xce","Icirc"],["\xcf","Iuml"],["\xd0","ETH"],["\xd1","Ntilde"],["\xd2","Ograve"],["\xd3","Oacute"],["\xd4","Ocirc"],["\xd5","Otilde"],["\xd6","Ouml"],["\xd7","times"],["\xd8","Oslash"],["\xd9","Ugrave"],["\xda","Uacute"],["\xdb","Ucirc"],["\xdc","Uuml"],["\xdd","Yacute"],["\xde","THORN"],["\xdf","szlig"],["\xe0","agrave"],["\xe1","aacute"],["\xe2","acirc"],["\xe3","atilde"],["\xe4","auml"],["\xe5","aring"],["\xe6","aelig"],["\xe7","ccedil"],["\xe8","egrave"],["\xe9","eacute"],["\xea","ecirc"],["\xeb","euml"],["\xec","igrave"],["\xed","iacute"],["\xee","icirc"],["\xef","iuml"],["\xf0","eth"],["\xf1","ntilde"],["\xf2","ograve"],["\xf3","oacute"],["\xf4","ocirc"],["\xf5","otilde"],["\xf6","ouml"],["\xf7","divide"],["\xf8","oslash"],["\xf9","ugrave"],["\xfa","uacute"],["\xfb","ucirc"],["\xfc","uuml"],["\xfd","yacute"],["\xfe","thorn"],["\xff","yuml"],["\u0192","fnof"],["\u0391","Alpha"],["\u0392","Beta"],["\u0393","Gamma"],["\u0394","Delta"],["\u0395","Epsilon"],["\u0396","Zeta"],["\u0397","Eta"],["\u0398","Theta"],["\u0399","Iota"],["\u039a","Kappa"],["\u039b","Lambda"],["\u039c","Mu"],["\u039d","Nu"],["\u039e","Xi"],["\u039f","Omicron"],["\u03a0","Pi"],["\u03a1","Rho"],["\u03a3","Sigma"],["\u03a4","Tau"],["\u03a5","Upsilon"],["\u03a6","Phi"],["\u03a7","Chi"],["\u03a8","Psi"],["\u03a9","Omega"],["\u03b1","alpha"],["\u03b2","beta"],["\u03b3","gamma"],["\u03b4","delta"],["\u03b5","epsilon"],["\u03b6","zeta"],["\u03b7","eta"],["\u03b8","theta"],["\u03b9","iota"],["\u03ba","kappa"],["\u03bb","lambda"],["\u03bc","mu"],["\u03bd","nu"],["\u03be","xi"],["\u03bf","omicron"],["\u03c0","pi"],["\u03c1","rho"],["\u03c2","sigmaf"],["\u03c3","sigma"],["\u03c4","tau"],["\u03c5","upsilon"],["\u03c6","phi"],["\u03c7","chi"],["\u03c8","psi"],["\u03c9","omega"],["\u03d1","thetasym"],["\u03d2","upsih"],["\u03d6","piv"],["\u2022","bull"],["\u2026","hellip"],["\u2032","prime"],["\u2033","Prime"],["\u203e","oline"],["\u2044","frasl"],["\u2118","weierp"],["\u2111","image"],["\u211c","real"],["\u2122","trade"],["\u2135","alefsym"],["\u2190","larr"],["\u2191","uarr"],["\u2192","rarr"],["\u2193","darr"],["\u2194","harr"],["\u21b5","crarr"],["\u21d0","lArr"],["\u21d1","uArr"],["\u21d2","rArr"],["\u21d3","dArr"],["\u21d4","hArr"],["\u2200","forall"],["\u2202","part"],["\u2203","exist"],["\u2205","empty"],["\u2207","nabla"],["\u2208","isin"],["\u2209","notin"],["\u220b","ni"],["\u220f","prod"],["\u2211","sum"],["\u2212","minus"],["\u2217","lowast"],["\u221a","radic"],["\u221d","prop"],["\u221e","infin"],["\u2220","ang"],["\u2227","and"],["\u2228","or"],["\u2229","cap"],["\u222a","cup"],["\u222b","int"],["\u2234","there4"],["\u223c","sim"],["\u2245","cong"],["\u2248","asymp"],["\u2260","ne"],["\u2261","equiv"],["\u2264","le"],["\u2265","ge"],["\u2282","sub"],["\u2283","sup"],["\u2284","nsub"],["\u2286","sube"],["\u2287","supe"],["\u2295","oplus"],["\u2297","otimes"],["\u22a5","perp"],["\u22c5","sdot"],["\u2308","lceil"],["\u2309","rceil"],["\u230a","lfloor"],["\u230b","rfloor"],["\u2329","lang"],["\u232a","rang"],["\u25ca","loz"],["\u2660","spades"],["\u2663","clubs"],["\u2665","hearts"],["\u2666","diams"],["\u0152","Elig"],["\u0153","oelig"],["\u0160","Scaron"],["\u0161","scaron"],["\u0178","Yuml"],["\u02c6","circ"],["\u02dc","tilde"],["\u2002","ensp"],["\u2003","emsp"],["\u2009","thinsp"],["\u200c","zwnj"],["\u200d","zwj"],["\u200e","lrm"],["\u200f","rlm"],["\u2013","ndash"],["\u2014","mdash"],["\u2018","lsquo"],["\u2019","rsquo"],["\u201a","sbquo"],["\u201c","ldquo"],["\u201d","rdquo"],["\u201e","bdquo"],["\u2020","dagger"],["\u2021","Dagger"],["\u2030","permil"],["\u2039","lsaquo"],["\u203a","rsaquo"]];
dojox.html.entities.encode=function(_b,m){
if(_b){
if(!m){
_b=_1(_b,dojox.html.entities.html);
_b=_1(_b,dojox.html.entities.latin);
}else{
_b=_1(_b,m);
}
}
return _b;
};
dojox.html.entities.decode=function(_c,m){
if(_c){
if(!m){
_c=_6(_c,dojox.html.entities.html);
_c=_6(_c,dojox.html.entities.latin);
}else{
_c=_6(_c,m);
}
}
return _c;
};
})();
}


;if(!dojo._hasResource["lconn.communities.bizCard.dialogs.deleteConfirm"]){
dojo._hasResource["lconn.communities.bizCard.dialogs.deleteConfirm"]=true;
dojo.provide("lconn.communities.bizCard.dialogs.deleteConfirm");
dojo.require("dijit.Dialog");
dojo.require("dojox.html.entities");
dojo.requireLocalization("lconn.communities.bizCard","ui");
dojo.declare("lconn.communities.bizCard.dialogs.deleteConfirm",[dijit.Dialog],{stringResources:dojo.i18n.getLocalization("lconn.communities.bizCard","ui"),templateString:"<div dojoAttachPoint=\"containerNode\" id=\"dialog_communities\" class=\"lotusui30dojo lotusDialogWrapper\" tabindex=\"-1\" role=\"dialog\" waiState=\"labelledby-${id}_title\" aria-describedby=\"warning\">\t\t\t<div dojoAttachPoint=\"dialogBorder\" class=\"lotusDialogBorder\" style=\"width:inherit; height:inherit\">\t\t\t\t<div class=\"lotusDialog lotusForm2 _lotusDelete\"> \t\t\t\t\t<div dojoAttachPoint=\"titleBar\" class=\"lotusDialogHeader\"> \t\t\t\t\t\t<div dojoAttachPoint=\"titleNode\" id=\"${id}_title\" class=\"lotusHeading\">${dlgTitle}</div> \t\t\t\t\t\t<a class=\"lotusDialogClose\" href=\"javascript:;\" title=\"Close\" dojoAttachEvent=\"onkeypress:onEnterCancelClicked,onclick:onCancelClicked\" >\t\t\t\t\t\t\t<img alt=\"Close\" src=\""+dojo.config.blankGif+"\"/>\t\t\t\t\t\t\t<span class=\"lotusAltText\" >X</span>\t\t\t\t\t\t</a> \t\t\t\t\t</div>\t\t\t\t\t<div style=\"overflow:hidden\"> \t\t\t\t\t\t<div class=\"lotusErrorBox lotusui30_layout\">\t\t\t\t\t\t\t<div class=\"lotusErrorContent\">\t\t\t\t\t\t\t\t<img alt=\"\" class=\"iconsMessages48 iconsMessages48-msgError48\" src=\""+dojo.config.blankGif+"\">\t\t\t\t\t\t\t\t<div class=\"lotusErrorForm\">\t\t\t\t\t\t\t\t\t<div class=\"lotusMessage2\" style=\"margin:0px; top:0px; padding:10px\">\t\t\t\t\t\t\t\t\t\t<span id=\"warning\" style=\"font-size:150%\">${warning}</span>\t\t\t\t\t\t\t\t\t\t<br>\t\t\t\t\t\t\t\t\t\t<span style=\"font-size:200%\">${communityTitle}</span>\t\t\t\t\t\t\t\t\t\t<div>\t\t\t\t\t\t\t\t\t\t<p><b dojoAttachPoint=\"subcommunities\"></b></p>\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t<div style=\"clear:both\"></div>\t\t\t\t\t\t\t\t\t<br>\t\t\t\t\t\t\t\t\t<span>\t\t\t\t\t\t\t\t\t\t${signDirection}\t\t\t\t\t\t\t\t\t</span>\t\t\t\t\t\t\t\t\t<br><br>\t\t\t\t\t\t\t\t\t<span class=\"lotusMeta\" style=\"color:#666666\">\t\t\t\t\t\t\t\t\t\t${capitalizationWarning}\t\t\t\t\t\t\t\t\t</span>\t\t\t\t\t\t\t\t\t<br><br>\t\t\t\t\t\t\t\t\t<div class=\"lotusFormField\">\t\t\t\t\t\t\t\t\t\t<label role=\"presentation\" class=\"lotusFloat\" style=\"margin-left: 0px; width:200px\">${communityName}</label>\t\t\t\t\t\t\t\t\t\t<div class=\"lotusFieldWrapper\">${communityTitleDisplay}</div>\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t<div class=\"lotusFormField\">\t\t\t\t\t\t\t\t\t\t<label for=\"communityName\" class=\"lotusFloat\" style=\"margin-left: 0px; width:200px\">${confirmCommunityName}</label>\t\t\t\t\t\t\t\t\t\t<div class=\"lotusFieldWrapper\">\t\t\t\t\t\t\t\t\t\t\t<input type=\"text\" dojoAttachPoint=\"communityInputField\" aria-required=\"true\" value=\"\" name=\"communityName\" id=\"communityName\" class=\"lotusText\" dojoAttachEvent=\"oninput:onCommunityChange\"><br><br><br>\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t<div class=\"lotusFormField\">\t\t\t\t\t\t\t\t\t\t<label role=\"presentation\" class=\"lotusFloat\" style=\"margin-left: 0px; width:200px\">${nameTitle}</label>\t\t\t\t\t\t\t\t\t\t<div class=\"lotusFieldWrapper\">${userNameDisplay}</div>\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t<div class=\"lotusFormField\">\t\t\t\t\t\t\t\t\t\t<label for=\"signature\" class=\"lotusFloat\" style=\"margin-left: 0px; width:200px\">${signatureTitle}</label>\t\t\t\t\t\t\t\t\t\t<div class=\"lotusFieldWrapper\">\t\t\t\t\t\t\t\t\t\t\t<input type=\"text\" dojoAttachPoint=\"nameInputField\" aria-required=\"true\" value=\"\" name=\"signature\" id=\"signature\" class=\"lotusText\" dojoAttachEvent=\"oninput:onNameChange\"><br><br><br>\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t<div class=\"lotusFormField\"><div class=\"lotusFieldWrapper\">\t\t\t\t\t\t\t\t\t\t<input id=\"checkbox\" class=\"lotusCheckbox\" type=\"checkbox\" value=\"\" name=\"checkbox\" dojoAttachEvent=\"onclick:onCheckboxChecked\">\t\t\t\t\t\t\t\t\t\t<label class=\"lotusCheckbox\" for=\"checkbox\" style=\"margin-left: 0px\">${understandTitle}</label>\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t</div>\t\t\t\t\t\t</div>\t\t\t\t\t</div><!--end lotusDialogContent-->\t\t\t\t\t<div class=\"lotusDialogFooter\">\t\t\t\t\t\t<button dojoAttachPoint=\"okButtonNode\" class=\"lotusBtn lotusBtnDisabled\" aria-disabled=\"true\" dojoAttachEvent=\"onclick:onOkClicked\">${okButtonValue}</button>\t\t\t\t\t\t<button dojoAttachPoint=\"closeButtonNode\" dojoAttachPoint=\"closeText\" name=\"yourButtonName\"class=\"lotusBtn\" dojoAttachEvent=\"onclick:onCancelClicked\">${closeButtonValue}</button>\t\t\t\t\t</div>\t\t\t\t</div>\t\t\t</div><!--end lotusDialogBorder-->\t\t</div>",userName:"TBD",communityTitle:"COMMUNITY TITLE",nameCorrect:false,communityNameCorrect:false,numSubs:0,_checkboxChecked:false,callback:null,communityName:"",confirmCommunityName:"",postMixInProperties:function(){
this.communityTitleDisplay=this.communityTitle.replace(/\u0020/g,"&nbsp;");
this.userNameDisplay=this.userName.replace(/\u0020/g,"&nbsp;");
this.dlgTitle=dojo.string.substitute(this.stringResources["label.deleteConfirm.dlgTitle"],[this.communityTitle]);
this.warning=this.stringResources["label.deleteConfirm.warning"];
this.signDirection=this.stringResources["label.deleteConfirm.signDirection"];
this.nameTitle=this.stringResources["label.deleteConfirm.nameTitle"];
this.signatureTitle=this.stringResources["label.deleteConfirm.signatureTitle"];
this.understandTitle=this.stringResources["label.deleteConfirm.understandTitle"];
this.okButtonValue=this.stringResources["label.deleteConfirm.okButtonValue"];
this.closeButtonValue=this.stringResources["label.deleteConfirm.closeButtonValue"];
this.communityName=this.stringResources["label.deleteConfirm.communityNameTitle"];
this.confirmCommunityName=this.stringResources["label.deleteConfirm.communityNameConfirm"];
this.capitalizationWarning=this.stringResources["label.deleteConfirm.capitalizationWarning"];
this.inherited(arguments);
},postCreate:function(){
if(dojo.isIE){
dojo.connect(this.nameInputField,"onpropertychange",this,"onNameChange");
dojo.connect(this.communityInputField,"onpropertychange",this,"onCommunityChange");
dojo.style(this.dialogBorder,"width","auto");
dojo.style(this.dialogBorder,"height","auto");
if(!dojo._isBodyLtr()){
var _1=Math.max(dojo.coords(this.titleNode).w,600);
dojo.query(".lotusFormField",this.domNode).forEach(function(_2){
dojo.style(_2,"width",_1+"px");
});
}
}
if(this.numSubs==1){
dojo.html.set(this.subcommunities,this.stringResources["label.deleteConfirm.oneSubCommunity"]);
}else{
if(this.numSubs>1){
dojo.html.set(this.subcommunities,dojo.string.substitute(this.stringResources["label.deleteConfirm.multipleSubCommunities"],[this.numSubs]));
}
}
this.inherited(arguments);
dojo.removeClass(this.containerNode,"dijitContentPane");
this._enableDeleteButton();
},onOkClicked:function(){
this.hide();
if(this.callback!=null){
this.callback();
}
},onEnterCancelClicked:function(_3){
if(_3.keyCode==13){
this.onCancelClicked();
}
},onCancelClicked:function(){
this.hide();
},onCheckboxChecked:function(_4){
this._checkboxChecked=_4.target.checked;
this._enableDeleteButton();
return (true);
},onNameChange:function(_5){
if(dojox.html.entities.decode(this.userName)==_5.target.value){
this.nameCorrect=true;
}else{
this.nameCorrect=false;
}
this._enableDeleteButton();
},onCommunityChange:function(_6){
if(dojox.html.entities.decode(this.communityTitle)==_6.target.value){
this.communityNameCorrect=true;
}else{
this.communityNameCorrect=false;
}
this._enableDeleteButton();
},_enableDeleteButton:function(){
okButton=this.okButtonNode;
bntDisabledClass="lotusBtnDisabled";
if(this._checkboxChecked==true&&this.nameCorrect==true&&this.communityNameCorrect==true){
dojo.attr(okButton,{"class":"lotusBtn","aria-disabled":"false"});
okButton.disabled=false;
}else{
dojo.attr(okButton,{"class":"lotusBtn lotusBtnDisabled","aria-disabled":"true"});
okButton.disabled=true;
}
},_size:function(){
var _7=this.inherited(arguments);
this.domNode.style.position="absolute";
return (_7);
}});
}


;if(!dojo._hasResource["lconn.communities.bizCard.core"]){
dojo._hasResource["lconn.communities.bizCard.core"]=true;
dojo.provide("lconn.communities.bizCard.core");
dojo.require("lconn.core.url");
dojo.require("dijit.Menu");
dojo.require("lconn.communities.bizCard.dialogs.leaveConfirm");
dojo.require("lconn.communities.bizCard.dialogs.deleteConfirm");
dojo.requireLocalization("lconn.communities.bizCard","ui");
lconn.communities.bizCard.core={messages:dojo.i18n.getLocalization("lconn.communities.bizCard","ui"),_firstActionShown:false,_communityActionsNode:null,_nonCommunityActionBar:false,openComposeEmail:function(_1){
var _2=false;
var _3=document.getElementsByTagName("body")[0];
if(dojo.hasClass(_3,"dijit_a11y")){
_2=true;
}
var _4=630;
if(dojo.isIE){
_4+=30;
}
if(_2){
_4+=50;
}
var _5="width=1000,height="+_4+",scrollbars=yes,resizable=yes,location=no,status=no,toolbar=no,menubar=no";
window.open(_1,"",_5);
return false;
},enableTopButton:function(_6,_7){
var _8=dojo.byId(_6);
if(_8){
dojo.connect(_8,"onclick",null,function(_9){
_7(_9);
if(_9!=null){
dojo.stopEvent(_9);
}
return false;
});
}
},confirmCommunityDeletion:function(_a){
numSubs=_a.subcommunities.length;
var _b=new lconn.communities.bizCard.dialogs.deleteConfirm({"communityTitle":ic_comm_communityName,"callback":this.CommunityDelete,"numSubs":numSubs,"userName":_a.userName});
_b.show();
},CommunityDelete:function(){
location.href=lconn.communities.bizCard.core.community.deleteUrl;
},confirmCommunityLeave:function(){
var _c="label.action.confirm.community.before.leave";
if(this.community.groupSupportEnabled){
_c="label.action.confirm.community.before.leave.groupEnabled";
}
var _d=new lconn.communities.bizCard.dialogs.leaveConfirm({"dlgContent":this.messages[_c],"callback":this.CommunityLeave});
_d.show();
},CommunityLeave:function(){
location.href=lconn.communities.bizCard.core.community.leaveUrl;
},setJoinCommunityReqCookie:function(){
document.cookie="JoinCommunityReqURL="+location.href+"; expires="+new Date(new Date().getTime()+365*24*60*60*1000).toGMTString()+"; path="+location.href;
},deleteCommunity:function(_e){
this.confirmCommunityDeletion(_e);
location.href=_e.deleteUrl;
},isNotEmpty:function(_f){
return _f!=null&&_f!="";
},buildActionsMenu:function(_10){
var _11=this.messages;
try{
var _12=dijit.byId("CommunitiesActionsMenuMain");
if(_12!=null){
_12.destroyRecursive();
}
}
catch(exception1){
console.log(exception1);
}
var _13=new dijit.Menu({"class":"lotusPlain",id:"CommunitiesActionsMenuMain"});
console.log("mahendra nag mahendra nag mahendra nag::::::::::::::"+_10.userName+":::::::::::::::::"+_10.subcommunities.length+"::::::"+_10.parentCommunity);
var _14=false;
if(lconn.core.WidgetPlacement!=null&&lconn.core.WidgetPlacement.isInWidgetFullpageMode){
_14=true;
}
if(_10.showGoToComm==true){
_13.addChild(lconn.communities.bizCard.core.buildActionsMenuItem(_11["label.top.buttons.gotoComm"],"GOTOCOMM"));
}
if(_10.isCommunityOverview==true&&_10.editSubEnabled==true&&_14==false){
_13.addChild(lconn.communities.bizCard.core.buildActionsMenuItem(_11["label.top.buttons.edit"],"EDITSUB"));
if(_10.customizeEnabled){
_13.addChild(lconn.communities.bizCard.core.buildActionsMenuItem(_11["label.theme.customize"],"customize"));
}
}
if(_10.editEnabled==true&&_14==false){
if(_10.createSubEnabled==true){
_13.addChild(lconn.communities.bizCard.core.buildActionsMenuItem(_11["label.top.buttons.create"],"CREATESUB"));
}
_13.addChild(lconn.communities.bizCard.core.buildActionsMenuItem(_11["label.top.buttons.edit"],"EDIT"));
if(myVar=="true"){
_13.addChild(lconn.communities.bizCard.core.buildActionsMenuItem("Request for a Sub-Community","RequestSubCommunity"));
}
if(_10.customizeEnabled){
_13.addChild(lconn.communities.bizCard.core.buildActionsMenuItem(_11["label.theme.customize"],"customize"));
}
}
if(_10.moderateEnabled==true){
_13.addChild(lconn.communities.bizCard.core.buildActionsMenuItem(_11["label.top.buttons.moderate"],"MODERATE"));
}
if(this.isNotEmpty(_10.memberJoinURL)){
if(_10.canJoinCommunity==true){
_13.addChild(lconn.communities.bizCard.core.buildActionsMenuItem(_11["label.top.buttons.join"],"JOIN"));
}else{
_13.addChild(lconn.communities.bizCard.core.buildActionsMenuItem(_11["label.top.buttons.requestToJoin"],"REQUESTJOIN"));
}
}
if(_10.mailEnabled==true){
_13.addChild(lconn.communities.bizCard.core.buildActionsMenuItem(_11["label.top.buttons.email"],"EMAIL"));
}
if(this.isNotEmpty(_10.leaveUrl)){
_13.addChild(lconn.communities.bizCard.core.buildActionsMenuItem(_11["label.top.buttons.leave"],"LEAVE"));
}
if(this.isNotEmpty(_10.deleteUrl)){
_13.addChild(lconn.communities.bizCard.core.buildActionsMenuItem(_11["label.top.buttons.delete"],"DELETE"));
}
var _15=function(_16){
if(_16!=null){
if(_16.action=="GOTOCOMM"){
location.href=lconn.communities.bizCard.core.community.homeUrl;
}else{
if(_16.action=="EMAIL"){
lconn.communities.bizCard.core.openComposeEmail(lconn.communities.bizCard.core.getComposeURL(lconn.communities.bizCard.core.community));
}else{
if(_16.action=="customize"){
lconn.core.applicationPalette.showPalette();
}else{
if(_16.action=="EDIT"){
displayCommunityEdit();
}else{
if(_16.action=="MODERATE"){
location.href=_10.moderationServiceUrl+_10.uuid;
}else{
if(_16.action=="METRICS"){
location.href=_10.metricsServiceUrl.replace("${0}",_10.uuid);
}else{
if(_16.action=="EDITSUB"){
displaySubcommunityEdit();
}else{
if(_16.action=="RequestSubCommunity"){
open_win();
}else{
if(_16.action=="DELETE"){
if(lconn.communities.bizCard.core.confirmCommunityDeletion(_10)){
location.href=lconn.communities.bizCard.core.community.deleteUrl;
}
}else{
if(_16.action=="CREATESUB"){
displaySubcommunityCreate();
}else{
if(_16.action=="LEAVE"){
lconn.communities.bizCard.core.confirmCommunityLeave();
}else{
if(_16.action=="JOIN"){
lconn.communities.bizCard.core.setJoinCommunityReqCookie();
location.href=lconn.communities.bizCard.core.community.memberJoinURL;
}else{
if(_16.action=="REQUESTJOIN"){
location.href=lconn.communities.bizCard.core.community.memberJoinURL;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
};
dojo.connect(_13,"onItemClick",_15);
return _13;
},buildActionsMenuItem:function(_17,_18){
var _19="communityMenu_"+_18;
var _1a=new dijit.MenuItem({label:_17,id:_19});
_1a.action=_18;
return _1a;
},openActionsMenu:function(evt){
try{
var _1b=lconn.communities.bizCard.core.buildActionsMenu(lconn.communities.bizCard.core.community);
if(evt.target.id!=null){
dojo.attr(evt.target,"aria-owns",evt.target.id+"_dropdown");
}
menuUtility.openMenu(evt,_1b.id);
dojo.stopEvent(evt);
}
catch(e){
console.log(e);
}
},getComposeURL:function(_1c){
var _1d=lconn.core.bizCard.bizCardUtils.getBaseURL("hgroup");
return _1d+"/service/html/composeemail?communityUuid="+_1c.uuid;
},joinComm:function(){
lconn.communities.bizCard.core.setJoinCommunityReqCookie();
location.href=lconn.communities.bizCard.core.community.memberJoinURL;
},setCommunitiesReqCookie:function(){
var _1e=location.href.substr(0,location.href.indexOf("/service"));
_1e=_1e.substr(_1e.indexOf("/",_1e.indexOf("://")+3));
document.cookie="CommunitiesReqURL="+location.href+"; expires="+new Date(new Date().getTime()+365*24*60*60*1000).toGMTString()+"; path="+_1e;
},addCommunityActionsMenuUI:function(_1f){
var _20=this.messages;
var _21=this._getCommunityActionsNode();
if(_21!=null){
if(!_1f.authContextAuthenticated){
if(this._nonCommunityActionBar==false){
var li=this.createActionListItem();
li.innerHTML=_1f.translatedLoginLinkToParticipate;
dojo.place(li,_21);
dojo.connect(li,"onclick",function(){
lconn.core.auth.login();
});
dojo.publish("CommunityActionBar",[{type:"CreatedLogin",community:_1f,node:li}]);
}
return;
}
if(!_1f.showMemberActions&&this.isNotEmpty(_1f.memberJoinURL)&&!_1f.isSuperAdmin){
var li=this.createActionListItem();
if(_1f.canJoinCommunity==true){
li.innerHTML="<a id=\"joinDisplayActionsBtn\" href=\"javascript:lconn.communities.bizCard.core.joinComm();\" role=\"button\" aria-owns=\"joinDisplayActionsBtn\" title=\""+_20["label.top.buttons.join.title"]+"\" alt=\""+_20["label.top.buttons.join"]+"\">"+_20["label.top.buttons.join"]+"</a>";
}else{
li.innerHTML="<a id=\"joinDisplayActionsBtn\" href=\""+_1f.memberJoinURL+"\" role=\"button\" aria-owns=\"joinDisplayActionsBtn\" title=\""+_20["label.top.buttons.requestToJoin.title"]+"\" alt=\""+_20["label.top.buttons.requestToJoin"]+"\">"+_20["label.top.buttons.requestToJoin"]+"</a>";
}
dojo.place(li,_21);
dojo.publish("CommunityActionBar",[{type:"CreatedJoin",community:_1f,node:li}]);
}
if(_1f.showMemberActions||_1f.isSuperAdmin){
var _22=dojo.byId("displayActionsBtn");
if(_22){
var _23=_22.parentNode;
dojo.destroy(_23);
this._firstActionShown=false;
}
var li=this.createActionListItem();
li.innerHTML="<a id=\"displayActionsBtn\" href=\"javascript:;\" role=\"button\" aria-haspopup=\"true\">"+_20["label.top.buttons.com.actions"]+"<img class=\"lotusArrow lotusDropDownSprite\" src=\""+dijit._Widget.prototype._blankGif+"\" role=\"presentation\" alt=\"\"/>"+"<span role=\"presentation\" class=\"lotusAltText\">&#x25bc;</span>"+"</a>";
dojo.place(li,_21);
this.community=_1f;
this.enableTopButton("displayActionsBtn",lconn.communities.bizCard.core.openActionsMenu);
dojo.publish("CommunityActionBar",[{type:"CreatedAction",community:_1f,node:li}]);
}
dojo.publish("CommunityActionBar",[{type:"Created",community:_1f}]);
}
},addParentCommunity:function(_24){
var _25=this.messages;
var _26="";
if(_24.parentName!=null&&_24.parentName.length>0){
_26+="<div class=\"lotusMenuSection lotusIndent10\">";
_26+="<h3>";
_26+="<div class=\"lotusIndent15 communityLink\">";
_26+="<a class=\"lotusBold\" style=\"display:inline\" role=\"button\" href=\""+_24.parentUrl+"\" title=\""+_25["tooltip.overview"]+"\">";
if(_24.parentType!="public"){
if(_24.parentType=="private"){
_26+="<img class=\"iconsStates16 iconsStates16-CheckedOut\" src=\""+dojo.config.blankGif+"\" alt=\""+_25["label.private.community.alt.text"]+"\" title=\""+_25["label.private.community.alt.text"]+"\" />";
_26+="<span class=\"lotusAltText\">"+_25["label.private.community.alt.text"]+" </span>";
}else{
_26+="<img class=\"iconsOther16 iconsOther16-ModeratedCommunity16\" src=\""+dojo.config.blankGif+"\" alt=\""+_25["label.moderated.community.alt.text"]+"\" title=\""+_25["label.moderated.community.alt.text"]+"\"/>";
_26+="<span class=\"lotusAltText\">"+_25["label.moderated.community.alt.text"]+" </span>";
}
}
_26+=" "+_24.parentName+"</a>";
_26+="</div> </h3>";
_26+="</div><!--end section-->";
}
return _26;
},addSubCommunities:function(_27){
var _28=this.messages;
var _29="";
if(_27.subcommunities!=null&&_27.subcommunities.length>0){
_29="<div class=\"lotusMenuSection\" aria-labelledby=\"subCommNm\" role=\"navigation\"><h3><a role=\"button\" id=\""+_27.uuid+"_subtwisty\" class=\"lotusSprite lotusArrow lotusTwistyOpen\" title=\""+_28["label.collapse"]+"\" href=\"javascript:;\" onclick=\"lconn.communities.bizCard.core.toggleSection('"+_27.uuid+"_subtwisty"+"','"+_27.uuid+"_comm_subLinks"+"','"+_27.uuid+"_subAltOpen"+"');\">"+"<span id=\""+_27.uuid+"_subAltOpen\" class=\"lotusAltText\">&#x25bc;</span><span id=\""+_27.uuid+"_subAltClosed\" class=\"lotusHidden\">&#x25BA;</span></a><div id=\"subCommNm\"> "+_28["label.subcommunities"]+"</div></h3>"+"<div id=\""+_27.uuid+"_comm_subLinks\" class=\"lotusMenuSubsection\">"+"<ul role=\"toolbar\">";
for(var i=0;i<_27.subcommunities.length;i++){
var _2a=_27.subcommunities[i];
_29+="<li><a role=\"button\" href=\""+_2a.url+"\" title=\""+_2a.name+"\">"+_2a.name+"</a></li>";
}
_29+="</ul>"+"</div></div>";
}
return _29;
},toggleSection:function(_2b,_2c,_2d,_2e){
var _2f=this.messages;
var _30=dojo.byId(_2b);
var _31=dojo.byId(_2c);
var _32=dojo.byId(_2d);
if(_31.style.display=="none"){
_31.style.display="block";
dojo.removeClass(_30,"lotusTwistyClosed");
dojo.addClass(_30,"lotusTwistyOpen");
dojo.attr(_30,"title",_2f["label.collapse"]);
if(typeof _2e=="string"){
dojo.cookie(_2e,1);
}
_32.innerHTML="&#x25bc;";
}else{
_31.style.display="none";
dojo.removeClass(_30,"lotusTwistyOpen");
dojo.addClass(_30,"lotusTwistyClosed");
dojo.attr(_30,"title",_2f["label.expand"]);
if(typeof _2e=="string"){
dojo.cookie(_2e,0);
}
_32.innerHTML="&#x25ba;";
}
},showFollowConfirmation:function(_33){
var _34=dojo.byId("lotusContent");
if(_34!=null){
var _35="followCommunityConfirmId";
var _36=dojo.byId(_35);
if(_36!=null){
_36.innerHTML="";
_36.parentNode.removeChild(_36);
}
var _37=document.createElement("div");
dojo.addClass(_37,"lotusMessage lotusConfirm");
dojo.attr(_37,"role","alert");
dojo.attr(_37,"id",_35);
dojo.attr(_37,"aria-live","assertive");
_37.innerHTML="<img class=\"lconnSprite lconnSprite-iconConfirmation16\" title=\""+this.messages["label.msg.confirmation"]+"\" alt=\""+this.messages["label.msg.confirmation"]+"\" src=\""+dijit._Widget.prototype._blankGif+"\">";
var _38=document.createElement("span");
_38.innerHTML=_33;
_37.appendChild(_38);
_34.insertBefore(_37,_34.firstChild);
}
},follow:function(){
var _39=this.messages;
var _3a=function(_3b,_3c){
var _3d;
if((lconn.communities.bizCard.bizCard.currentCommunity&&lconn.communities.bizCard.bizCard.currentCommunity.memberJoinURL)||(lconn.communities.bizCard.core.community&&lconn.communities.bizCard.core.community.memberJoinURL)){
_3d="label.action.confirm.community.after.follow.nonmember";
}else{
_3d="label.action.confirm.community.after.follow.member";
}
lconn.communities.bizCard.core.showFollowConfirmation(_39[_3d]);
var _3e=dijit.byId("communityMenu_FOLLOW");
if(_3e==null){
_3e=dijit.byId("communityMenu_UNFOLLOW");
}
if(_3e!=null){
dojo.attr(_3e,"label",_39["label.top.buttons.unfollow"]);
dojo.attr(_3e,"title",_39["label.top.buttons.unfollow.title"]);
_3e.onClick=function(){
lconn.communities.bizCard.core.unFollow();
};
}
var _3f=dojo.byId("followDisplayActionsBtn");
if(_3f!=null){
_3f.innerHTML=_39["label.top.buttons.unfollow"];
if(dojo.isIE){
_3f.onclick=function(){
lconn.communities.bizCard.core.unFollow();
};
}else{
_3f.setAttribute("onclick","lconn.communities.bizCard.core.unFollow()");
}
dojo.attr(_3f,"title",_39["label.top.buttons.unfollow.title"]);
_3f.setAttribute("aria-label",_39["label.top.buttons.unfollow"]);
}
dojo.publish("lconn.comm.commFollowed",[lconn.communities.bizCard.core.community.uuid]);
};
var url=lconn.communities.bizCard.core.community.followUrl;
if(url==null){
url=lconn.communities.bizCard.core.community.unfollowUrl;
url=url.replace("memberunfollowsubmit","memberfollowsubmit");
}
if(window.SemTagSvcConfig!=null&&SemTagSvcConfig.proxyURL!=null){
var ph=new lconn.core.url.ProxyUrlHelper(SemTagSvcConfig.proxyURL);
url=ph.getProxifiedURL(url);
}
dojo.xhrGet({url:url,headers:{"X-Update-Nonce":"true"},load:_3a,error:this.getFollowErrorCallback()});
return false;
},getFollowErrorCallback:function(){
return function(_40,_41){
console.log("follow errorCallBack callback: "+_40);
var _42=lconn.communities.bizCard.core.messages;
var _43;
if(_41.xhr.status==401){
_43=_42["label.msg.action.failed.need.login"];
}else{
_43=_42["label.msg.action.failed"].replace("${0}",_40);
}
var _44=dojo.byId("lotusContent");
if(_44!=null){
var _45="followCommunityConfirmId";
var _46=dojo.byId(_45);
if(_46!=null){
_46.innerHTML="";
_46.parentNode.removeChild(_46);
}
var _47=document.createElement("div");
dojo.addClass(_47,"lotusMessage2");
dojo.attr(_47,"role","alert");
dojo.attr(_47,"id",_45);
dojo.attr(_47,"aria-live","assertive");
_47.innerHTML="<img class=\"lconnSprite lconnSprite-iconError16\" title=\""+_42["label.msg.error"]+"\" alt=\""+_42["label.msg.error"]+"\" src=\""+dijit._Widget.prototype._blankGif+"\">";
var _48=document.createElement("span");
_48.innerHTML=_43;
_47.appendChild(_48);
_44.insertBefore(_47,_44.firstChild);
}
};
},unFollow:function(){
var _49=this.messages;
var _4a=function(_4b,_4c){
lconn.communities.bizCard.core.showFollowConfirmation(_49["label.action.confirm.community.after.unfollow"]);
var _4d=dijit.byId("communityMenu_UNFOLLOW");
if(_4d==null){
_4d=dijit.byId("communityMenu_FOLLOW");
}
if(_4d!=null){
dojo.attr(_4d,"label",_49["label.top.buttons.follow"]);
dojo.attr(_4d,"title",_49["label.top.buttons.follow.title"]);
_4d.onClick=function(){
lconn.communities.bizCard.core.follow();
};
}
var _4e=dojo.byId("followDisplayActionsBtn");
if(_4e!=null){
_4e.innerHTML=_49["label.top.buttons.follow"];
if(dojo.isIE){
_4e.onclick=function(){
lconn.communities.bizCard.core.follow();
};
}else{
_4e.setAttribute("onclick","lconn.communities.bizCard.core.follow()");
}
_4e.setAttribute("aria-label",_49["label.top.buttons.follow"]);
dojo.attr(_4e,"title",_49["label.top.buttons.follow.title"]);
}
dojo.publish("lconn.comm.commUnFollowed",[lconn.communities.bizCard.core.community.uuid]);
};
var url=lconn.communities.bizCard.core.community.unfollowUrl;
if(url==null){
url=lconn.communities.bizCard.core.community.followUrl;
url=url.replace("memberfollowsubmit","memberunfollowsubmit");
}
if(window.SemTagSvcConfig!=null&&SemTagSvcConfig.proxyURL!=null){
var ph=new lconn.core.url.ProxyUrlHelper(SemTagSvcConfig.proxyURL);
url=ph.getProxifiedURL(url);
}
dojo.xhrGet({url:url,headers:{"X-Update-Nonce":"true"},load:_4a,error:this.getFollowErrorCallback()});
return false;
},addFollowActionsMenuUI:function(_4f){
var _50=this.messages;
var _51=dojo.byId("followActionBar");
var _52=dijit.byId("followDropDownMenu");
var _53=this._getCommunityActionsNode();
if(_4f.isCommunityOverview&&this.isNotEmpty(_4f.followUrl)){
var li=this.createActionListItem();
li.innerHTML="<a id=\"followDisplayActionsBtn\" href=\"javascript:void(0);\" role=\"button\" onclick=\"lconn.communities.bizCard.core.follow()\" title=\""+_50["label.top.buttons.follow.title"]+"\">"+_50["label.top.buttons.follow"]+"</a>";
dojo.place(li,_53);
dojo.publish("FollowActionBar",[{type:"CreatedFollow",community:_4f,node:li}]);
}else{
if(_4f.isCommunityOverview&&this.isNotEmpty(_4f.unfollowUrl)){
var li=this.createActionListItem();
li.innerHTML="<a id=\"followDisplayActionsBtn\" href=\"javascript:void(0);\" role=\"button\" onclick=\"lconn.communities.bizCard.core.unFollow()\" title=\""+_50["label.top.buttons.unfollow.title"]+"\">"+_50["label.top.buttons.unfollow"]+"</a>";
dojo.place(li,_53);
dojo.publish("FollowActionBar",[{type:"CreatedunFollow",community:_4f,node:li}]);
}else{
if(_52!=null){
if(this.isNotEmpty(_4f.followUrl)){
var _54=lconn.communities.bizCard.core.buildActionsMenuItem(_50["label.top.buttons.follow"],"FOLLOW");
_54.onClick=function(){
lconn.communities.bizCard.core.follow();
};
dojo.attr(_54,"title",_50["label.top.buttons.follow.title"]);
_52.addChild(_54);
}else{
if(this.isNotEmpty(_4f.unfollowUrl)){
var _54=lconn.communities.bizCard.core.buildActionsMenuItem(_50["label.top.buttons.unfollow"],"UNFOLLOW");
_54.onClick=function(){
lconn.communities.bizCard.core.unFollow();
};
dojo.attr(_54,"title",_50["label.top.buttons.unfollow.title"]);
_52.addChild(_54);
}
}
}
}
}
},startUp:function(_55,_56){
_55.isCommunityOverview=true;
this.addFollowActionsMenuUI(_55);
this.addCommunityActionsMenuUI(_55);
_55.subcommunities=_56.subcommunities;
dojo.byId("subcommArea").innerHTML=this.addSubCommunities(_55);
lconn.communities.bizCard.core.community=_55;
var _57=dojo.byId("lotusTitleBar");
var _58=dojo.byId("tabNavigation");
if(_57!=undefined&&_57!=null){
if(_58==undefined||_58!=null){
_58=document.createElement("a");
_58.setAttribute("id","tabNavigation");
_58.setAttribute("name","tabNavigation");
if(_57.firstChild){
_57.insertBefore(_58,_57.firstChild);
}else{
_57.appendChild(_58);
}
}
}
var _59;
if(dojo.byId("lotusNavBar")){
try{
_59=new lconn.core.WidgetPlacement.aria.Toolbar("lotusNavBar");
}
catch(ee){
_59=new lconn.core.aria.Toolbar("lotusNavBar");
}
}
},createActionListItem:function(){
var _5a=dojo.create("li");
dojo.addClass(_5a,"lotusNowrap");
if(this._firstActionShown==false){
dojo.addClass(_5a,"lotusFirst");
this._firstActionShown=true;
}
return (_5a);
},_getCommunityActionsNode:function(){
var _5b=null;
if(this._communityActionsNode==null){
var _5c=dojo.byId("communityActionBar");
if(_5c!=null){
var _5b=this._getParentNode(_5c);
if(_5b!=null){
this._firstActionShown=true;
this._nonCommunityActionBar=true;
if(_5c.tagName.toLowerCase()=="span"){
var _5d=dojo.create("li",{id:"communityActionBar",style:{display:"none"}});
dojo.place(_5d,_5c,"replace");
}
}
if(_5b==null){
_5b=dojo.create("ul",{"id":"communityActions","class":"lotusInlinelist lotusActions lotusRight"});
dojo.place(_5b,_5c,"first");
}
this._communityActionsNode=_5b;
}
}
return (this._communityActionsNode);
},_getParentNode:function(_5e){
var _5f=null;
var _60=_5e.parentNode;
if(_60!=null){
if(_60.nodeName.toLowerCase()=="li"){
_60=_60.parentNode;
}
if(_60.nodeName.toLowerCase()=="ul"){
_5f=_60;
}
}
return (_5f);
}};
function open_win(){
window.open("https://w3-connections.ibm.com/wikis/home?lang=en#/wiki/Wbd603470463f_4125_aa14_e73e3bed7653/page/Request%20a%20community%20space");
};
}


;if(!dojo._hasResource["lconn.communities.bizCard.bizCardUI"]){
dojo._hasResource["lconn.communities.bizCard.bizCardUI"]=true;
dojo.provide("lconn.communities.bizCard.bizCardUI");
dojo.require("lconn.core.bizCard.bizCardUtils");
dojo.require("lconn.core.utilities");
dojo.require("lconn.core.HTMLUtil");
dojo.require("dojo.cookie");
dojo.require("lconn.communities.bizCard.core");
dojo.requireLocalization("lconn.communities.bizCard","ui");
lconn.communities.bizCard.bizCardUI={messages:dojo.i18n.getLocalization("lconn.communities.bizCard","ui"),getMenuData:function(_1,_2,_3,_4,_5,_6){
var _7=this.messages;
var _8=_7["label.overview"];
var _9="";
if(lconn.core.bizCard.bizCardUtils.standaloneCSSloaded){
_9=" lotusui";
}
var _a=lconn.core.HTMLUtil.escapeInlineText(_1.name);
_5.write("<div id='container "+_9+"' style='width: 32em; border: 1px solid #e0e0e0; -moz-border-radius:7px;background-color:#F5F8FF;padding:10px 0px 8px 10px;'>");
_5.write("  <div id='navigationLinks' style='clear:left; border-bottom:1px solid #e0e0e0;padding: 0px 0pt 5px 0px;margin:0;'>");
_5.write("      <a href='"+_1.homeUrl+"' title=\""+_8+"\" class='action'>"+_8+"</a>");
this.writeLinksforPopupCard(_5,_1);
_5.write("  </div><br/>");
if(_1.imageUrl!=null&&_1.imageUrl!=""){
_5.write("  <img src='"+_1.imageUrl+"' alt=\""+_a+"\" title=\""+_a+"\" height='95' width='95' style='float:left;margin: 0px 10px 10px 10px; padding:2px !important; border:1px solid #c2c2c2;background-color:#fff;'/>");
}
_5.write("  <div  style='height:9em;overflow:hidden;'>");
_5.write("  <h2 style='font-size:1.1em;margin:0;margin-right:20px;padding:0;'>"+_1.name+"<span id='membersCount' style='font-size:.9em;color:#999;font-weight:normal;'> ("+_1.membercount+" "+_7["label.members"]+")</span></h2>");
if(_1.tags!=null&&_1.tags!=""){
_5.write("  <div style='font-size:.9em;color:#999;padding:0;margin:0;'>"+_7["label.tags"]+" "+_1.tags+"</div>");
}
if(_1.description!=null&&_1.description!=""){
_5.write("  <p id='communityDescription' style='font-size:.9em;padding:3px 5px 0 0;margin:0;'>");
_5.write("      "+_1.description);
_5.write("  </p>                        ");
}
_5.write("  </div>                      ");
_5.write("</div><!-- end container -->");
},getInlineMarkup:function(_b,_c,_d,_e){
var _f=this.messages;
var _10=_d;
var _11=(dojo.cookie("community.inline.card.links")!=0);
var _12="";
var _13=_f["label.collapse"];
var _14="lotusTwistyOpen";
if(_11){
_14="lotusTwistyOpen";
}else{
_14="lotusTwistyClosed";
_12="style=\"display: none\"";
_13=_f["label.expand"];
}
if(lconn.core.bizCard.bizCardUtils.standaloneCSSloaded){
_10.write("<div id=\"bc_document_node\" role=\"document\" style=\"width:220px\">");
}
_10.write("<div class=\"lotusMenu\" role=\"navigation\" aria-label=\""+_f["label.nav.landmark.comm"]+"\"><div class=\"lotusBottomCorner\"><div class=\"lotusInner\" style=\"width:200px;\" >");
_10.write(lconn.communities.bizCard.core.addParentCommunity(_b));
_10.write("<div class=\"lotusMenuSection\">");
_10.write("<h3 class=\"\"><div class=\"lotusIndent10\"><a style=\"background-color:white !important;\" id=\""+_b.uuid+"_twisty\" class=\"lotusSprite lotusArrow "+_14+"\" href=\"javascript:lconn.communities.bizCard.core.toggleSection('"+_b.uuid+"_twisty"+"','"+_b.uuid+"_comm_appLinks"+"','"+_b.uuid+"_commAltText"+"','"+"community.inline.card.links"+"');\" title=\""+_13+"\"><span id=\""+_b.uuid+"_commAltText\" class=\"lotusAltText\">&#x25bc;</span></a>");
_10.write("<table cellpadding=\"0\" cellspacing=\"0\" class=\"lotusLayout\" role=\"presentation\" width=\"155px\"><tr><td>");
_10.write("<a href=\""+_b.homeUrl+"\" class=\"discussCommunityLink lotusBold\" style=\"display:inline; background-color:white !important;\">");
if(_b.communityType!="public"){
var _15=lconn.core.bizCard.bizCardUtils.getBaseURL("hgroup");
if(_b.communityType=="private"){
_10.write("<img class='iconsStates16 iconsStates16-CheckedOut' src='"+dojo.config.blankGif+"' alt='"+_f["label.private.community.alt.text"]+"' title='"+_f["label.private.community.alt.text"]+"' /> ");
}else{
_10.write("<img class='lconnSprite lconnSprite-iconModeratedCommunity16' src='"+dojo.config.blankGif+"' alt='"+_f["label.moderated.community.alt.text"]+"' title='"+_f["label.moderated.community.alt.text"]+"' /> ");
}
var _16=document.getElementsByTagName("body")[0];
if(dojo.hasClass(_16,"lotusImagesOff")){
_10.write("<br>");
}
}
_10.write(_b.name+"</a>");
_10.write("</td></tr></table>");
_10.write("</div>");
_10.write("</h3>");
_10.write("<div id=\""+_b.uuid+"_comm_appLinks\" class=\"lotusMenuSubsection\" "+_12+">");
_10.write("<ul id=\"bizCardNav\" role=\"toolbar\">");
var _17=lconn.core.HTMLUtil.escapeInlineText(_b.name);
_10.write("<li role=\"presentation\" tabindex=\"-1\"><a title=\""+_f["tooltip.overview"]+"\" href=\""+_b.homeUrl+"\" style=\"background-color:white !important;\" tabindex=\"-1\"><img src=\""+_b.imageUrl+"\" width=\"155\" height=\"155\" alt=\""+_f["tooltip.overview"]+"\" class=\"discussCommunityLogo\" /></a></li>");
this.writeLinks(_10,_b,_e,_11);
if(_b.metricsEnabled){
_10.write("<li role=\"button\"");
if(_e=="metrics"){
_10.write(" class=\"lotusSelected\" ");
}
_10.write("><a href='"+_b.metricsServiceUrl.replace("${0}",_b.uuid)+"' title='"+_f["label.metrics.link"]+"'>"+_f["label.metrics.link"]+"</a></li>");
}
if(_b.moderateEnabled){
_10.write("<li role=\"button\"");
if(_e=="moderation"){
_10.write(" class=\"lotusSelected\" ");
}
_10.write("><a href='"+_b.moderationServiceUrl+_b.uuid+"' title='"+_f["label.moderation.link"]+"'>"+_f["label.moderation.link"]+"</a></li>");
}
_10.write("</ul>");
_10.write("</div><!--end subsection-->");
_10.write("</div><!--end section-->");
_10.write(lconn.communities.bizCard.core.addSubCommunities(_b));
_10.write("</div></div></div><!--end menu-->");
if(lconn.core.bizCard.bizCardUtils.standaloneCSSloaded){
_10.write("</div>");
var _18=function(){
var el=dojo.byId("bc_document_node");
if(!el){
setTimeout(_18,250);
return;
}
var _19=" lotusui lotusui30dojo lotusui30_body lotusui30_fonts lotusui30 lotusSpritesOn";
if(dojo.isIE==6){
_19+=" lotusui_ie lotusui_ie6";
}else{
if(dojo.isIE==7){
_19+=" lotusui_ie lotusui_ie7";
}else{
if(dojo.isIE){
_19+=" lotusui_ie";
}
}
}
el.className+=_19;
};
_18();
}
},writeLinksforPopupCard:function(_1a,_1b){
for(var i=0;_1b.links!=null&&i<_1b.links.length;i++){
_1a.write("&nbsp;&nbsp;|&nbsp;<a href='"+_1b.links[i].url+"' title='"+_1b.links[i].label+"' class='action'>"+_1b.links[i].label+"</a>");
}
},writeLinks:function(_1c,_1d,_1e,_1f){
var _20=this.messages;
var _21=_20["label.overview"];
_1c.write("<li role=\"button\"><a href=\""+_1d.homeUrl+"\" title=\""+_21+"\">"+_21+"</a></li>");
for(var i=0;_1d.links!=null&&i<_1d.links.length;i++){
if(_1d.links[i].id=="RecentUpdates"||_1d.links[i].id=="StatusUpdates"){
_1c.write("<li role=\"button\"");
if(_1e==_1d.links[i].id){
_1c.write(" class=\"lotusSelected\" ");
}
_1c.write("><a href=\""+_1d.links[i].url+"\" title=\""+_1d.links[i].label+"\">"+_1d.links[i].label+"</a></li>");
}
}
for(var i=0;_1d.links!=null&&i<_1d.links.length;i++){
if(_1d.links[i].id!="RecentUpdates"&&_1d.links[i].id!="StatusUpdates"){
_1c.write("<li role=\"button\"");
if(_1e==_1d.links[i].id){
_1c.write(" class=\"lotusSelected\" ");
}
_1c.write("><a href=\""+_1d.links[i].url+"\" title=\""+_1d.links[i].label+"\">"+_1d.links[i].label+"</a></li>");
}
}
return;
},addCommunityActionsMenu:function(_22){
_22.editEnabled=false;
_22.editSubEnabled=false;
_22.showGoToComm=true;
lconn.communities.bizCard.core.community=_22;
if(lconn.communities.bizCard.core.isNotEmpty(_22.unfollowUrl)){
dojo.publish("lconn.comm.commFollowed",[_22.uuid]);
}
lconn.communities.bizCard.core.addFollowActionsMenuUI(_22);
lconn.communities.bizCard.core.addCommunityActionsMenuUI(_22);
}};
}


;if(!dojo._hasResource["dojo.dnd.Avatar"]){
dojo._hasResource["dojo.dnd.Avatar"]=true;
dojo.provide("dojo.dnd.Avatar");
dojo.require("dojo.dnd.common");
dojo.declare("dojo.dnd.Avatar",null,{constructor:function(_1){
this.manager=_1;
this.construct();
},construct:function(){
this.isA11y=dojo.hasClass(dojo.body(),"dijit_a11y");
var a=dojo.create("table",{"class":"dojoDndAvatar",style:{position:"absolute",zIndex:"1999",margin:"0px"}}),_2=this.manager.source,_3,b=dojo.create("tbody",null,a),tr=dojo.create("tr",null,b),td=dojo.create("td",null,tr),_4=this.isA11y?dojo.create("span",{id:"a11yIcon",innerHTML:this.manager.copy?"+":"<"},td):null,_5=dojo.create("span",{innerHTML:_2.generateText?this._generateText():""},td),k=Math.min(5,this.manager.nodes.length),i=0;
dojo.attr(tr,{"class":"dojoDndAvatarHeader",style:{opacity:0.9}});
for(;i<k;++i){
if(_2.creator){
_3=_2._normalizedCreator(_2.getItem(this.manager.nodes[i].id).data,"avatar").node;
}else{
_3=this.manager.nodes[i].cloneNode(true);
if(_3.tagName.toLowerCase()=="tr"){
var _6=dojo.create("table"),_7=dojo.create("tbody",null,_6);
_7.appendChild(_3);
_3=_6;
}
}
_3.id="";
tr=dojo.create("tr",null,b);
td=dojo.create("td",null,tr);
td.appendChild(_3);
dojo.attr(tr,{"class":"dojoDndAvatarItem",style:{opacity:(9-i)/10}});
}
this.node=a;
},destroy:function(){
dojo.destroy(this.node);
this.node=false;
},update:function(){
dojo[(this.manager.canDropFlag?"add":"remove")+"Class"](this.node,"dojoDndAvatarCanDrop");
if(this.isA11y){
var _8=dojo.byId("a11yIcon");
var _9="+";
if(this.manager.canDropFlag&&!this.manager.copy){
_9="< ";
}else{
if(!this.manager.canDropFlag&&!this.manager.copy){
_9="o";
}else{
if(!this.manager.canDropFlag){
_9="x";
}
}
}
_8.innerHTML=_9;
}
dojo.query(("tr.dojoDndAvatarHeader td span"+(this.isA11y?" span":"")),this.node).forEach(function(_a){
_a.innerHTML=this._generateText();
},this);
},_generateText:function(){
return this.manager.nodes.length.toString();
}});
}


;if(!dojo._hasResource["dojo.dnd.Manager"]){
dojo._hasResource["dojo.dnd.Manager"]=true;
dojo.provide("dojo.dnd.Manager");
dojo.require("dojo.dnd.common");
dojo.require("dojo.dnd.autoscroll");
dojo.require("dojo.dnd.Avatar");
dojo.declare("dojo.dnd.Manager",null,{constructor:function(){
this.avatar=null;
this.source=null;
this.nodes=[];
this.copy=true;
this.target=null;
this.canDropFlag=false;
this.events=[];
},OFFSET_X:16,OFFSET_Y:16,overSource:function(_1){
if(this.avatar){
this.target=(_1&&_1.targetState!="Disabled")?_1:null;
this.canDropFlag=Boolean(this.target);
this.avatar.update();
}
dojo.publish("/dnd/source/over",[_1]);
},outSource:function(_2){
if(this.avatar){
if(this.target==_2){
this.target=null;
this.canDropFlag=false;
this.avatar.update();
dojo.publish("/dnd/source/over",[null]);
}
}else{
dojo.publish("/dnd/source/over",[null]);
}
},startDrag:function(_3,_4,_5){
this.source=_3;
this.nodes=_4;
this.copy=Boolean(_5);
this.avatar=this.makeAvatar();
dojo.body().appendChild(this.avatar.node);
dojo.publish("/dnd/start",[_3,_4,this.copy]);
this.events=[dojo.connect(dojo.doc,"onmousemove",this,"onMouseMove"),dojo.connect(dojo.doc,"onmouseup",this,"onMouseUp"),dojo.connect(dojo.doc,"onkeydown",this,"onKeyDown"),dojo.connect(dojo.doc,"onkeyup",this,"onKeyUp"),dojo.connect(dojo.doc,"ondragstart",dojo.stopEvent),dojo.connect(dojo.body(),"onselectstart",dojo.stopEvent)];
var c="dojoDnd"+(_5?"Copy":"Move");
dojo.addClass(dojo.body(),c);
},canDrop:function(_6){
var _7=Boolean(this.target&&_6);
if(this.canDropFlag!=_7){
this.canDropFlag=_7;
this.avatar.update();
}
},stopDrag:function(){
dojo.removeClass(dojo.body(),"dojoDndCopy");
dojo.removeClass(dojo.body(),"dojoDndMove");
dojo.forEach(this.events,dojo.disconnect);
this.events=[];
this.avatar.destroy();
this.avatar=null;
this.source=this.target=null;
this.nodes=[];
},makeAvatar:function(){
return new dojo.dnd.Avatar(this);
},updateAvatar:function(){
this.avatar.update();
},onMouseMove:function(e){
var a=this.avatar;
if(a){
dojo.dnd.autoScrollNodes(e);
var s=a.node.style;
s.left=(e.pageX+this.OFFSET_X)+"px";
s.top=(e.pageY+this.OFFSET_Y)+"px";
var _8=Boolean(this.source.copyState(dojo.isCopyKey(e)));
if(this.copy!=_8){
this._setCopyStatus(_8);
}
}
},onMouseUp:function(e){
if(this.avatar){
if(this.target&&this.canDropFlag){
var _9=Boolean(this.source.copyState(dojo.isCopyKey(e))),_a=[this.source,this.nodes,_9,this.target];
dojo.publish("/dnd/drop/before",_a);
dojo.publish("/dnd/drop",_a);
}else{
dojo.publish("/dnd/cancel");
}
this.stopDrag();
}
},onKeyDown:function(e){
if(this.avatar){
switch(e.keyCode){
case dojo.keys.CTRL:
var _b=Boolean(this.source.copyState(true));
if(this.copy!=_b){
this._setCopyStatus(_b);
}
break;
case dojo.keys.ESCAPE:
dojo.publish("/dnd/cancel");
this.stopDrag();
break;
}
}
},onKeyUp:function(e){
if(this.avatar&&e.keyCode==dojo.keys.CTRL){
var _c=Boolean(this.source.copyState(false));
if(this.copy!=_c){
this._setCopyStatus(_c);
}
}
},_setCopyStatus:function(_d){
this.copy=_d;
this.source._markDndStatus(this.copy);
this.updateAvatar();
dojo.removeClass(dojo.body(),"dojoDnd"+(this.copy?"Move":"Copy"));
dojo.addClass(dojo.body(),"dojoDnd"+(this.copy?"Copy":"Move"));
}});
dojo.dnd._manager=null;
dojo.dnd.manager=function(){
if(!dojo.dnd._manager){
dojo.dnd._manager=new dojo.dnd.Manager();
}
return dojo.dnd._manager;
};
}

dojo.provide("lconn.core.nls.widgets")._built=true;
dojo.provide("lconn.core.nls.widgets.en");
lconn.core.nls.widgets.en={"ErrorGeneric":"An error occurred while displaying content. Contact your system administrator.","msg.loginRequired":"Log in to view your content.","actionsmenu":"Actions Menu","wcuLoadInfo":"Find out how you are related to this profile based on your network and actions.","widgets_MoveUp":"Move Up","dykLoadInfo":"View recommended people to add to your network.","showErrorDetails":"Show Error Details","cancel":"Cancel","loadInfo":"Load Information ...","errorType":"Type: ","deleteWidgetConfirm":"I understand that the widget and its associated data will be deleted and cannot be recovered.","hideWidgetMsg":"You are about to hide your widget.\x3cbr/\x3e\x3cbr/\x3eYou can re-activate it at a later point simply by re-adding the widget to your Community. All of the Widget content will be kept intact.","widget_BackToOverview":"Back to Overview Page","widgets_Max":"Maximize","errorDefaultMsg3":"Click here to show more details","widget_AllTab":"All","deleteWithSharedContentWidgetConfirm":"I understand that the widget and its associated data will be deleted and cannot be recovered.  Content that members share with the community is still shared. If the widget is added again, this shared content reappears in the widget.","errorDefaultMsg2":"An error has occurred, contact your system Administrator","ticLoadInfo":"Find out what you have in common with this profile based on your network and activity.","widgets_Move":"Move","errorStackTrace":"Trace: ","edit":"Edit","errorLine":"Line:","actions_alt":"Actions for: ${0}","errorUnableToConnect":"Connection failed for {0}","deleteWidgetWarn":"Warning: Data for the widget {0} will be permanently deleted.","dykLoadInfo2":"View recommended people to add to your network based on your existing network contacts.","open":"Open","errorName":"Name: ","widgetCat_thrdParty":"Other","link.window.close":"Close window","hideWidget":"Hide Widget","toggle":"Toggle","multiFeedReaderNoFeeds":"No feeds available","help":"Help","label.theme.customize":"Customize","info.feed.general.moreinfo":"Click here to show more details","widget_AddingWidget":"Adding Widget","widgetCat_hidden":"Hidden","str_component_id":"CLFWZ","delete":"Delete","widgetCat_AllWidgets":"All Widgets","errorDefaultMsg":"Unable to display widget data","actions":"Actions","deleteWidgetMsg":"You are about to remove your widget. This will remove all widget content from the application. This action cannot be undone. Content that members share with the community is still shared. If the widget is added again, this shared content reappears in the widget.\x3cbr/\x3e\x3cbr/\x3eIf you are sure you want to remove the widget, click the Remove button below. \x3cbr/\x3eOtherwise, click Cancel.","widgets_Min":"Minimize","HideErrorDetails":"Hide Error Details","widgets_MoveDown":"Move Down","close":"Close","link.remove":"Remove","error.title.generic":"We\'ve encountered a problem.","widget_RemovingWidget":"Removing Widget","hide":"Hide","link.window.openNewWindow":"Clicking this will open a new window","deleteWidget":"Remove Widget","error.message.generic":"Something went wrong - click the Back button and try again. If this does not work, report the problem in the support forum.","errorMsg":"Message: ","refresh":"Refresh"};

;if(!dojo._hasResource["lconn.core.errorhandling"]){
dojo._hasResource["lconn.core.errorhandling"]=true;
dojo.provide("lconn.core.errorhandling");
dojo.require("lconn.core.utilities");
dojo.requireLocalization("lconn.core","widgets");
lconn.core.errorhandling.DefaultXHRErrorHandler=function(_1,_2){
var _3=dojo.i18n.getLocalization("lconn.core","widgets");
var _4=null;
var _5=null;
if(_1.status==404){
if(_2.args!=null&&_2.args.url!=null){
if(_2.args.url.indexOf("roller-ui/feed")!=-1||_2.args.url.indexOf("files/basic/anonymous/api/userlibrary")!=-1||_2.args.url.indexOf("wikis/basic/anonymous/api/userlibrary")!=-1){
_5=_3["multiFeedReaderNoFeeds"];
lconn.core.errorhandling.displayError(_2,_5,_1);
return;
}
}
}
if(_1.status==400){
if(_2.args!=null&&_2.args.url!=null){
if(_2.args.url.indexOf("service/atom/communities")!=-1){
_5=_3["multiFeedReaderNoFeeds"];
lconn.core.errorhandling.displayError(_2,_5,_1);
return;
}
}
}
if(_1.documentElement!=null){
if(_1.documentElement.nodeName=="error"||_1.documentElement.nodeName=="parsererror"){
var _6=(dojox.data.dom.innerXML(_1.documentElement));
_5=lconn.core.errorhandling.getErrorHTML(null,null,null,null,_6);
}
}else{
var _7=_3["errorUnableToConnect"];
_7=lconn.core.utilities.replacePlaceHolders(_7,[_2.args.url]);
if(_1.message!=null&&_1.name!=null){
if(_2.args.xsltArgs!=null){
return lconn.core.errorhandling.DefaultErrorHandler(_7,_1,_2.args.xsltArgs);
}else{
return lconn.core.errorhandling.DefaultErrorHandler(_7,_1,_2.args.htmlContainerElemId);
}
}else{
_5=lconn.core.errorhandling.getErrorHTML(_7,null,null,null,_1);
}
}
if(_5==null){
_5=lconn.core.errorhandling.getErrorHTML(null,null,null,null,_1);
}
lconn.core.errorhandling.displayError(_2,_5,_1);
};
lconn.core.errorhandling.displayError=function(_8,_9,_a){
var _b=null;
if(_8.args.xsltArgs!=null&&_8.args.xsltArgs.htmlContainerElemId!=null){
_b=_8.args.xsltArgs.htmlContainerElemId;
}else{
if(_8.args.htmlContainerElemId!=null){
_b=_8.args.htmlContainerElemId;
}
}
if(_b!=null){
if(typeof (_b)=="string"){
dojo.byId(_b).innerHTML=_9;
}else{
_b.innerHTML=_9;
}
}else{
alert("htmlContainerElemId was not defined.\n"+_9+"\nArguments: "+_8+"\nresponse: "+_a);
}
};
lconn.core.errorhandling.DefaultErrorHandler=function(_c,_d,_e){
var _f=function(_10,_11,_12){
var msg="";
if(_11 instanceof (Error)){
var _13=null;
if(_11.lineNumber!=null){
_13=_11.lineNumber;
}
if(_13!=null){
msg+=dojo.i18n.getLocalization("lconn.core","widgets")["errorLine"]+" "+_13+"<br/>";
}
var _14=null;
msg=lconn.core.errorhandling.getErrorHTML(_10,_11.message,_11.name,_13,_14);
}else{
var _14=null;
msg=lconn.core.errorhandling.getErrorHTML(_10,_11,null,null,_14);
}
var _15={args:{xsltArgs:{htmlContainerElemId:_12}}};
lconn.core.errorhandling.displayError(_15,msg);
};
if(typeof (_e)=="string"){
_f(_c,_d,_e);
}else{
if(typeof (_e)=="undefined"){
var _16=document.createElement("span");
_16.id="errorContainer";
document.body.appendChild(_16);
_f(_c,_d,"errorContainer");
}else{
if(_e.htmlContainerElemId!=null){
_f(_c,_d,_e.htmlContainerElemId);
}else{
_f(_c,_d,_e);
}
}
}
};
lconn.core.errorhandling.getErrorHTML=function(_17,_18,_19,_1a,_1b){
var _1c=dojo.i18n.getLocalization("lconn.core","widgets");
var _1d=new Date().getTime();
var msg="";
if(_18!=null&&_18.indexOf("BMWIW0001E")!=-1){
msg+="<div class='lconnWidgetMsgError lconnWidgetMsgCompact'>";
}else{
msg+="<div class='lconnWidgetMsgError'>";
}
var id=dijit.getUniqueId("error");
msg+="<img class='lconnSprite lconnSprite-iconError16' src='"+dijit._Widget.prototype._blankGif+"'/><b>"+_1c["errorDefaultMsg"]+"</b><br/>";
msg+=_1c["errorDefaultMsg2"]+"<br/><br/>";
msg+="<a href='javascript:void(0);' onclick=\"lconn.core.utilities.toggleVisibility('"+id+"');\">"+_1c["errorDefaultMsg3"]+"</a>";
msg+="<div id='"+id+"' style='visibility: hidden; display: none;'>";
msg+="<br/>";
if(_17!=null){
msg+=_1c["errorName"]+" "+_17+"<br/>";
}
if(_18!=null){
msg+=_1c["errorMsg"]+" "+_18+"<br/>";
}
if(_19!=null){
msg+=_1c["errorType"]+""+_19+"<br/>";
}
if(_1a!=null){
msg+=_1c["errorLine"]+" "+_1a+"<br/>";
}
if(_1b!=null){
msg+=_1c["errorStackTrace"]+"<br/><pre>"+_1b+"</pre><br/>";
}
msg+="</div>";
msg+="</div>";
return msg;
};
var common_getStacktrace=function(){
var _1e=common_getStacktrace.caller;
var _1f=new Error();
if(_1f.stack!=null){
return _1f.stack;
}else{
var _20="";
while(_1e!=null){
_20+="\n"+common_getFunctionName(_1e);
var _21=_1e.caller;
if(_21==null&&_1e.arguments!=null&&_1e.arguments.caller!=null){
_21=_1e.arguments.caller;
}
_1e=_21;
}
return _20;
}
};
var common_getFunctionName=function(_22){
var _23=_22.name;
if(_22.tempName!=null&&_22.tempName!=""){
_23=_22.tempName;
}
if(_23==null||_23==""){
var _24=_22.toString();
var _25=_24.match(/function (\w*)/);
if(_25!=null){
_23=_25[1];
}
if(_23==null||_23==""){
_23="anonymous-function";
}
}
return _23;
};
}


;if(!dojo._hasResource["lconn.core.back"]){
dojo._hasResource["lconn.core.back"]=true;
dojo.provide("lconn.core.back");
function registerBackButtonSupport(){
var _1=window.location.hash;
var _2=true;
var _3=true;
var _4=true;
var _5="lc.iframeElement";
var _6=null;
var _7=null;
var _8=null;
var _9=function(){
_1=window.location.hash;
_2=_8.search;
_3=false;
_4=null;
};
var _a=function(){
for(var i=0;lconn.core.WidgetPlacement.URLChangeCallBack!=null&&i<lconn.core.WidgetPlacement.URLChangeCallBack.length;i++){
lconn.core.WidgetPlacement.URLChangeCallBack[i](window.location.href);
}
return;
};
var _b=function(){
var _c=document.createElement("iframe");
var _d=new dojo._Url(location.href);
_c.id=_5;
var _e=WidgetPlacementConfig.params.contextRoot+"/static/"+WidgetPlacementConfig.params.version;
if(dojo.isIE){
_c.src=(_e+"/nav/blankIE.html"+(_d.fragment?"?"+_d.fragment:""));
}else{
_c.src=(_e+"/nav/Blank.html"+(_d.fragment?"?"+_d.fragment:""));
}
_c.style.display="none";
document.body.appendChild(_c);
return _c;
};
var _f=function(uri,_10){
_11(uri,"uri");
_11(_10,"queryString");
return _12(uri,"?",_10);
};
var _13=function(uri,_14){
_11(uri,"uri");
_11(_14,"fragmentString");
return _12(uri,"#",_14);
};
var _11=function(_15,_16){
if(_15!=null){
return;
}
if(_16){
throw new Error(_16+" cannot be null");
}
throw new Error("value cannot be null");
};
var _17=function(_18,_19){
if(!(dojo.trim(_18).length==0)){
return;
}
if(_19){
throw new Error(_19+" must be a non-empty string.  Saw: "+_18);
}
throw new Error("value must be a non-empty string.  Saw: "+_18);
};
var _12=function(_1a,_1b,_1c){
_11(_1b,"token");
_11(_1a,"string");
_11(_1c,"replacement");
if(_1a.indexOf(_1b)==-1){
return _1a+_1b+_1c;
}
return _1a.slice(0,_1a.indexOf(_1b)+1)+_1c;
};
if(dojo.isIE){
_b();
_6=window[_5];
_7=dojo.byId(_5);
_8=_6.location;
_9();
var _1d=function(){
if(_3&&_1==window.location.hash){
if(_8.search==_4){
_9();
}
return;
}
if(_1==window.location.hash&&_2==_8.search){
return;
}
if(_1!=window.location.hash){
_1=window.location.hash;
var _1e=new dojo._Url(window.location.href);
_3=true;
_4=_f(_8.search,_1e.fragment||"");
_7.src=_f(_7.src,_1e.fragment||"");
return _a();
}else{
var _1f=new dojo._Url(_8.href);
window.location.href=_13(window.location.href,_1f.query||"");
_9();
return _a();
}
};
setInterval(_1d,500);
}else{
var _1d=function(){
if(window.location.hash==_1){
return;
}
_1=window.location.hash;
return _a();
};
setInterval(_1d,500);
}
};
}

dojo.provide("lconn.core.config.nls.widgetbundles")._built=true;
dojo.provide("lconn.core.config.nls.widgetbundles.en");
lconn.core.config.nls.widgetbundles.en={"profileCustomGen":{"Asia/Jerusalem":"(GMT+02:00) Jerusalem","commonTagsActiveTags":"Active Tags","news_subtitle":"What\'s happening in your network right now?","profiles.metric.authenticated.today":"Number of employees logged in today","error.enforce.role.undefined":"CLFRN1173E: The init parameter \'enforce.role\' must be defined for this servlet filter.","error.atomUnauthorized":"CLFRN1174E: You are not authorized to perform that action.","label.banner.logoutlink":"Logout","wall_privacyOptionsTitle":"Board Privacy Options","preference.board.disable":"Disable the board","profile.edit.error.twitter":"Invalid Twitter Url","label.about.profiles.demo.transcriptlink":"Click here to read a text transcript of this tutorial","wall_addComment":"Add comment","label.editprofile.photo.info":"Upload a business-appropriate photo to enhance your profile. The photo must be in JPEG, GIF, or PNG format.  Larger images may take several minutes to upload.","friendsInCommonMulti":"You have {0} network contacts in common","America/Mexico_City":"(GMT-06:00) Guadalajara, Mexico City, Monterrey","label.personcard.activitieslink":"Activities","label.header.myprofile":"My Profile","label.socialPages.comboBox.link.facebook":"Facebook","America/Buenos_Aires":"(GMT-03:00) Buenos Aires, Georgetown","label.socialPages.comboBox.link.flickr":"Flickr","label.page.advancedsearch.description":"To find a profile, enter the information below for the person you would like to find and click the search button. ","label.about.profiles.javacompatible":"Java compatible","label.search.profiles.search":"Search","label.about.profiles.tips":"Tips","submitfeedback.button.cancel":"Cancel ","submitfeedback.thanku.title":"Thank you","Asia/Yekaterinburg":"(GMT+05:00) Ekaterinburg","America/Sao_Paulo":"(GMT-03:00) Brasilia","Asia/Amman":"(GMT+02:00) Amman","Europe/Amsterdam":"(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna","structTagsSelect":"Select a tag","label.searchresults.pagelabel":"Page","label.profile.blogUrl":"User\'s Blog","linkRollLink":"Link:","label.profile.description.inlineedit.link":"Edit","label.profile.description.inlineedit.cancel":"Cancel","friendsRemoveSelected":"Remove Selected","label.login.profiles.ibmlogo":"IBM logo","news_noMoreToLoad":"You have reached the end.  There are no additional entries to load.","wall_next":"Next","label.instantregistration.pwd.text":"Password","label.personcard.fileslink.title":"Click here to see this person&#146;s shared files","label.searchresults.searchby.isManager":"Is Manager:","label.stats.title":"Server Statistics (since last server restart)","news_statusMine":"My Status Updates","preference.email.comment.any.message":"Send me e-mail when someone comments on any board message I post","error.atomConnectionAlreadExists":"CLFRN1168E: A connection to this user already exists or is pending.","socialTagsAddTags":"Add","label.instantregistration.pwd.confirmation":"Re-enter password","Europe/Helsinki":"(GMT+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius","Pacific/Pago_Pago":"(GMT-11:00) Midway Island, Samoa","errorMsg":"Message: ","multiFeedReaderCreatedBy":"created by:","wall_showComments":"Show {0} more comments...","label.profile.heading.otherviews":"Other views","multiFeedReaderSeeAllFeeds":"See all the entries","profile.edit.error.pblog":"Invalid PrimaryBlog Url","label.signin.community.mgs1":"Are you new to ibm.com Community?","label.signin.community.mgs2":"When you log in for the first time, a public Community profile will be automatically created for you. It shows the first name and last name you provided in your \x3ca href=\"http://www.ibm.com/account/myibm/profile.do?cc=us&lc=en&page=reg\"\x3eIBM registration\x3c/a\x3e, and it gives you the option to share additional information.","tablePagingOf":"Of","label.login.profiles.button.login":"Submit","label.search.profiles.profilesearch.adv.heading":"Advanced Profiles Search","label.search.profiles.profilesearch.bykeyword.button.hint":"Search using keyword ","socialTagsRemoveTagsAltText":"Remove tag from this profile","label.personcard.blogslink":"Blogs","label.about.profiles.copyright":"Licensed Materials - Property of IBM, 5724-S68 &#169; Copyright IBM Corporation 2007, 2009. All Rights Reserved. IBM, the IBM logo, ibm.com and Lotus are trademarks of IBM Corporation in the United States, other countries, or both. Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. Other company, product, or service names may be trademarks or service marks of others.  A current list of IBM trademarks is available on the Web at www.ibm.com/legal/copytrade.shtml.  U.S. Government Users Restricted Rights:  Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.  This Program is licensed under the terms of the license agreement accompanying the Program.  This license agreement may be either located in a Program directory folder or library identified as \"License\" or \"Non IBM License\", if applicable, or provided as a printed license agreement. Please read this agreement carefully before using the Program. By using the Program, you agree to these terms.","label.page.profiles.home":"Profiles Home","error.atomNoDoc":"CLFRN1121E: The requested Atom feed could not be built.","mypagesLoading":"Loading...","preference.board.write.network":"Allow only users in my network to write on my board","label.editprofile.background.tab.label":"Background","label.editprofile.photo.previewBox":"Image preview:","label.search.profiles.profilesearch.bycustomfields.button.hint":"Search using custom field","profile.edit.error.facebook":"Invalid Facebook Url","label.metrics.asof":"As of: ","label.editprofile.privacysettings.tab.label":"Privacy Settings","errorUnableToConnect":"Connection failed for {0}","label.about.profiles.ibmlogo":"IBM logo","label.searchresults.pageinfo":"{0}-{1} of {2}","label.socialPages.blogTitle.primary":"Primary blog title:","commonTagFindByTag":"Find tags","label.search.profiles.profilesearch.bycontactinfo.button":"Contact Info Search","label.socialPages.comboBox.link.moveUp":"Move up","structTagsNoTags":"No Tags","socialTagsHelpSubheading":"The tags below indicate this person\'s interests","errors.update":"\x3cb\x3e A system error occurred while updating a profile. \x3c/b\x3e \x3cbr /\x3e {0} \x3cdiv class=\"indent20\"\x3e {1} \x3c/div\x3e {2} \x3cdiv class=\"indent20\"\x3e {3} \x3c/div\x3e","attachment.resume.upload.failed":"Unable to upload resume. Please try again, or contact your system administrator if problem persists.","label.login.rightcolcontent3browsername":"Mozilla Firefox 3.5+:","label.editmyprofile.socialpages.name":"Name","multiFeedReaderExpandWidget":"Click to expand the recent posts section","label.personcard.profilelink.title":"Click here to see this person&#146;s profile","profile.edit.error.youtube":"Invalid YouTube Url","profiles.metric.pronunciation.count.desc":"Number of employees in the profiles database who have supplied a pronunciation guide","label.searchresults.searchby.surname":"Surname:","label.header.searchby.phone":"Phone Number","friendsRemovedSelected":"Remove from My Network","submitfeedback.title":"Send feedback","wall_comments":"{0} comments","wall_privacyOption1":"Public Access","label.search.profiles.profilesearch.adv.findbycustomfields":"Custom Fields:","wall_privacyOption2":"Anyone may see and post messages on my board","wall_privacyOption3":"Network Access Only","label.signin.cancel":"Cancel","label.header.editmyprofile":"Edit My Profile","profile.edit.error.flickr":"Invalid Flickr Url","wall_privacyOption4":"Only people who are part of my Network will be able to see and post messages on my board","friendsMyNetwork":"Network","warning.draft":"CLFRN1166W: Warning: Some updates may not be immediately available.","label.header.searchby.community.description":"Search by communities","reportStructureCollapseWidget":"Click to collapse the reporting structure section","wall_loadAllMessages":"Load all messages","label.searchresults.searchby.givenName":"Given Name:","label.personcard.profilelink":"Profile","label.search.profiles.demolink":"Watch demo","label.searchresults.searchby.displayName":"Display Name:","friendsIgnoreAction":"Ignore","label.editprofile.pronunciation.helplink":"How to create a name audio file","errors.create":"\x3cb\x3e A system error occurred while creating a profile. \x3c/b\x3e \x3cbr /\x3e {0} \x3cdiv class=\"indent20\"\x3e {1} \x3c/div\x3e {2} \x3cdiv class=\"indent20\"\x3e {3} \x3c/div\x3e","label.editprofile.privacysettings.deleteprofile.heading":"Removing your ibm.com Community profile","label.header.searchby.jobtitle.description":"Search by job title","label.vcard.encoding.cp943c":"Japanese (Cp943c)","personCardDownloadVCard":"Download vCard","errors.range":"{0} is not in the range {1} through {2}.","Pacific/Noumea":"(GMT+11:00) Magadan, Solomon Is., New Caledonia","label.profile.vcard.export":"vCard","actions":"Actions","label.socialPages.mypages.myblogs":"Read my blog","friendsInvite":"Invite to My Network","attachment.resume.delete":"Delete resume","feed_forUpdates":"Feed for these updates","label.search.profiles.company":"Organization or company","wall_noItems":"There are no items yet on this board.","label.login.rightcolcontent3operationsytem":"Windows, SLED(minus FF3),and Mac OS X ","friendsNewInvs":"{0} new invitations","label.searchresults.searchby.countryCode":"Country Code:","Asia/Muscat":"(GMT+04:00) Abu Dhabi, Muscat","news_noItems":"There are no items yet on this board.","label.searchresults.searchby.community":"Community:","label.login.pageheading":"Log In","label.footer.build":"Release {0} {1}","label.about.editprofile.heading":"Get the word out about what you can do","preference.board.show.public":"Allow all users to see content on my board","label.instantregistration.generaltext.line2.chbox1":"E-mail: Stay informed about IBM products, services, and other offerings!  If you want to stay informed by e-mail, please let us know by ticking the box below.","friendsRecentlyAdded":"People you have recently added to your network.","label.searchresults.searchby.preferredLanguage":"Preferred Language:","socialTags":"Tags","label_profile_otherviews_samemanager":"Same manager","label.searchresults.people.phone":"Phone:","label.profile.im.signin":"Sign in to Profiles to view Sametime status","label.personcard.wikislink":"Wikis","submitfeedback.summary.error":"Please include a summary.","Asia/Beirut":"(GMT+02:00) Beirut","linkRollAddLinkAltText":"Add a link to your links section. ","deleteWidgetMsg":"You are about to delete your widget. This will Delete all the widget content from the application. This action cannot be undone.\x3cbr/\x3e\x3cbr/\x3eIf you are sure you want to delete the widget, click the Delete button below. \x3cbr/\x3eIf Not, click cancel.","friendsSelectFriendForRemoval":"Select the contacts you want to remove first.","label.search.profiles.jobtitle":"Job title","label.searchresults.searchby.groupwareEmail":"Alternate E-mail:","news_showComment":"Show {0} more comment...","socialTagsLoading":"Loading profile tags...","label.instantregistration.securityques.text":"Security question","friendsCollapseWidget":"Click to collapse the network section","commonTagsHelpBody":"You can search profiles using tags. You can further filter the results view by entering another tag name or clicking another tag in the tag cloud.","submitfeedback.description.maxcharacters":"Maximum 1000 characters","widgetHelpClose":"Close","preference.board.write.public":"Allow all users to comment or write on my board","attachment.resume.upload":"Upload a resume","label.searchresults.searchby.city":"City:","errorType":"Type: ","profile_preferences":"Profile Preferences","label.searchresults.community.heading":"Community search results for {0}","label.searchresults.searchby.background":"Background:","label.signin.close":"Close","label.socialPages.comboBox.link.moveDown":"Move down","label.search.profiles.profilesearch.bycustomfields.button":"Custom Search","label.tooltip.state":"State/province cannot be left blank","label.searchresults.searchby.kanjiName":"Name:","socialTagsAddedBy":"Tag added by","wall_disable":"Disable my Board","label.profile.description.inlineedit":"Is this description up to date? You can change this as frequently as you want!","multiFeedReaderUpdatedBy":"updated by:","label.search.profiles.selectSearchScope":"Select search scope","label.editprofile.pronunciation.tab.label":"Pronunciation","profile.edit.error.sblogname":"Name is required for SecondaryBlog URL","submitfeedback.feedbackType.option1":"Report a technical problem","submitfeedback.feedbackType.option2":"Suggest an improvement","structTagsCollapseWidget":"Click to collapse the structured tags section","submitfeedback.feedbackType.option3":"Report inappropriate content","label.searchresults.searchby.mobileNumber":"Mobile Number:","submitfeedback.feedbackType.option4":"Other","profiles.metric.authenticated.last.7.days":"Number of employees logged in the last week","structTags":"Structured Tags","friends":"Network","Etc/GMT+12":"(GMT-12:00) International Date Line West","wikiResourceId":"Wiki","label.vcard.cancel":"Cancel","wall_emailNotifyBody1":"{0} wrote on your profile board: {1}","wall_emailNotifyBody2":"{0} commented on a message where have you contributed: {1}","wall_emailNotifyBody3":"{0} commented on an item on your profile board: {1}","label.profile.bizcard.a11y":"Press control-enter to view the business card for {0}","wall_emailNotifyBody4":"{0} commented on an item you wrote on the profile board for {1}","wall_emailNotifyBody5":"{0} also commented on an item on the profile board for {1}: {2}","linkRollLoading":"Loading links...","wall_emailNotifyBody9":"To see the message follow the link below","errorDefaultMsg":"Unable to display widget data","label.instantregistration.close":"Close","status_save":"Save","label.editprofile.rte.charsRemaining":"{0} characters remaining","wall_wroteOn":"wrote","label.tooltip.country":"Country and State must be provided.","label.stats.name":"Name","linkRollSave":"Save","label.profile.description.inlineedit.save":"Save","news_wroteOn":"wrote","socialTagsAdvisorytitle":"Find other people with the tag &#34;{0}&#34;","blogsResourceId":"Blogs","label.editprofile.profiletags.help.body":"Tags are keywords that you assign to indicate your interest in a particular topic. Each tag should be a single word but can have dashes or underscore characters. When you enter multiple tags, separate them with spaces or commas. Example tags: human_resources, financial_controls, emerging_technology","label.editprofile.socialPages.tab.label":"Social Pages","reportStructureExpandWidget":"Click to expand the reporting structure section","label.editprofile.contactInformation.tab.label":"Contact Information","submitfeedback.button.submit":"Submit","label.searchresults.searchby.courtesyTitle":"Courtesy Title:","label.editmyprofile.socialpages.url":"URL","news_deleteComment":"Delete this comment","label.instantregistration.continue.msg":"Continue to the next page to complete your registration.","label.vcard.encoding.utf8":"Internationalized (UTF-8)","label.personcard.mobilelink":"Mobile","Australia/Sydney":"(GMT+10:00) Canberra, Melbourne, Sydney","label.header.searchby.company":"Organization","label.search.profiles.profilesearch.bycontactinfo.button.hint":"Search using contact info","errors.filetype":"{0} is a file type that is not supported.","label.profile.link":"link","friendsNoInv":"No invitations","news_comments":"{0} comments","label.about.searchprofiles.heading":"Find the expertise you need","news_clear":"clear","label.socialPages.Information.msg1":"Other social profiles, video channels, or photo albums to share","label.search.profiles.city":"City","Europe/Moscow":"(GMT+03:00) Moscow, St. Petersburg, Volgograd","news_save2":"Post Status","label.search.profiles.profilesearch.adv.findbyname":"Name:","error.atomInvalidRequest":"CLFRN1172E: The request is invalid.","friendsTelephone":"Telephone:","submitfeedback.section.help.footer.blogowner":"blog owners","label.searchresults.searchby.faxNumber":"Fax Number:","label.personcard.communitieslink":"Communities","friendsInvitePerson":"Invite {0} to your network","label.instantregistration.pwd.mincharacters":"8 characters minimum","widgetExpand":"Click to expand the section {0}","Asia/Bangkok":"(GMT+07:00) Bangkok, Hanoi, Jakarta","label.searchresults.searchby.jobTitle":"Job Title:","tablePagingPrevious":"Previous","profiles.metric.authenticated.last.30.days.desc":"Number of employees logged into the Profiles service in the last month","errors.float":"{0} must be a float.","friendsInitialMsgForInv":"I\'d like to add you to my Connections network contacts list.","multiFeedReader":"Recent Posts","label.search.profiles.body":"Search for contact information and organizational information about your network contacts. Locate expertise and build your own social network. Get access to the information your network contacts are collecting and publishing. Share status updates with your organization.","submitfeedback.label.summary":"Summary","news_deleteEntry":"Delete this entry","search.dropdown.bykeyword":"Profiles by Keyword","errorLine":"Line:","label.page.profiles.tools":"Profiles-Tools","attachment.resume.replace":"To replace your resume, first delete the existing one, then upload a new one.","America/La_Paz":"(GMT-04:00) Caracas, La Paz","America/Chihuahua":"(GMT-07:00) Chihuahua, La Paz, Mazatlan","label.about.searchprofiles.body":"Looking for an expert in a specific area? Search profiles to find people with the skills you need. Profiles can help you reach out to people and build up a collaborative network of connected people. You can search by different criteria, including location, experience, and interest.","label.searchresults.searchby.deptNumber":"Department Number:","hideWidget":"Hide Widget","structTagsExpandWidget":"Click to expand the structured tags section","label.notice.msg1":"Receiving communications about IBM-related products, services, and other offerings from IBM, our affiliates, and","label.notice.msg2":"selected organizations","label.notice.msg3":"When you registered with IBM, you indicated preferences for receiving communications about IBM products, services, and","friendsViewAllFriends":"Show all ({0})","label.notice.msg4":"other offerings through e-mail,phone,or postal mail as described in \x3ca href=\"http://www.ibm.com/privacy/us/en/\" target=\"_blank\"\x3eIBM\'s Privacy Statement.\x3c/a\x3e","label.notice.msg5":"To view or modify these preferences,visit \x3ca href=\"https://www.ibm.com/account/myibm/profile.do?cc=us&lc=en&page=reg\" target=\"_blank\"\x3eIBM registration.\x3c/a\x3e","preference.board.show.network":"Allow only users in my network to see my board","label.socialPages.comboBox.link.other":"Other","label.socialPages.mypages.visitme":"Visit me","label.page.profiles.myprofile":"Profiles-My Profile","wall_loadingMessage":"Loading message...","label.navigation.colleagues.heading.title":"Display the network contacts page","label.searchresults.searchby.email":"E-mail:","label.searchresults.nextlink":"Next","label.page.profiles.error":"Profiles-Error","label.socialPages.blogTitle.secondary":"Second blog title:","label.instantregistration.submitmsg.disclaimer":"By clicking \'submit\', you agree that IBM may process your data in the manner indicated above and as described in our Privacy policy. ","America/New_York":"(GMT-05:00) Eastern Time (US & Canada)","Africa/Harare":"(GMT+02:00) Harare, Pretoria","personCardMoreActionsAltText":"Click for action menu","friendsSendFriendRequest":"Send request","submitfeedback.thanku.message":"Thank you for sending your feedback.  It will be reviewed by the IBM social computing team and action will be taken as necessary.","label.instantregistration.generaltext.line1":"This data, at any time revocable by you, may be stored by IBM or an affiliate on an international server and used by IBM or an affiliate. ","widgetLoading":"Loading...","label.searchresults.searchby.blogUrl":"Blog URL:","label.banner.loginlink":"Log In","label.login.profiles.forgot.username":"Forgot your IBM ID?","label.header.searchby.jobtitle":"Job Title","label.personcard.blogslink.title":"Click here to see this person&#146;s blog","label.tooltip.pst":"Postal code can be left blank. However if provided, it should meet the following requirements:\x3cbr/\x3e\x3cul\x3e\x3cli\x3eIt must be only single-byte characters.\x3c/li\x3e\x3cli\x3eIt can include letters, numbers and basic punctuation.\x3c/li\x3e\x3c/ul\x3e","errors.header":"\x3cdiv class=\"errorMessages\"\x3e","wall_writeSomething":"Write a message on this profile board.","wall_emailNotifyBody10":"Open this thread","wall_emailNotifyBody11":"Open this message","wall_emailNotifyBody12":"Open your profile","wall_emailNotifyBody13":"Open profile for {0} ","errors.prefix":"","label.signin.continue":"Continue","label.searchresults.searchby.secretaryEmail":"Secretary E-mail:","label.searchresults.searchby.name":"Name:","label.navigation.reporting_structure.heading.title":"Display the reporting structure page","label.socialPages.Information.msgUrl":"Enter your public URLs","errors.aboutMe":"Your description in the About Me section is too long. It can be a maximum of {1} characters.","label.search.profiles.profilesearch.adv.findbykeyword":"Keyword:","label.search.profiles.heading":"Welcome to Profiles","label.instantregistration.lastname.text":"Last name","label.instantregistration.firstname.text":"First name","personCardSendEMail":"Send e-mail","wall_cancel":"Cancel","news_commentAnother":"Write another comment...","error.sessionTimeout":"CLFRN1198E: Your session timed out or a server error occurred.  Please resubmit your changes.","label.about.profiles.logo":"Profiles logo","label.header.searchby.profiletags":"Profile Tags","reportStructure":"Report to chain","label.socialPages.comboBox.link.twitter":"Twitter","Asia/Vladivostok":"(GMT+10:00) Vladivostok","submitfeedback.thanku.overlay.close":"Close","label.search.profiles.profilesearch.simple.help":"To find a profile, enter the name or keyword of the person you would like to find and click the search button.","label.error.session.timeout":"Your session has timed out.  For security reseasons you must click the \'update\' button again in order for profile changes to be accepted.","submitfeedback.label.summary.maxcharacterserror":"Please include summary not more than 175 characters.","wall_wroteOnBoardOf":"{0} wrote on the board of {1}","wall_commentSomething":"Write something...","linkRollExpandWidget":"Click to expand the links section","label.searchresults.searchby.floor":"Floor:","label.header.searchby.name.description":"Search by name","linkRollName":"Name:","Australia/Perth":"(GMT+08:00) Perth","label.profile.im":"IM:","Asia/Kuwait":"(GMT+03:00) Kuwait, Riyadh","label.editprofile.privacysettings.deleteprofile.overlaycontent":"Are you sure you want to delete your ibm.com Community profile?","label.searchresults.searchby.pagerType":"Pager Type:","wall_commentedOn":"commented on {0}","label.search.profiles.profilesearch.adv.help":"To find a profile, enter the information below for the person you would like to find and click the search button.","label.header.searchby.phone.description":"Search by phone","label.about.profiles.heading1":"Profiles","label.instantregistration.cancel.button":"Cancel","label.about.profiles.heading2":"Who is in your organization?","refresh":"Refresh","friendsInviteFailed":"Due to a server error, an e-mail notification was not sent to the invitee. However the invitee will still be able to accept your invitation through the Profiles web application.","Pacific/Honolulu":"(GMT-10:00) Hawaii","linkRollNoLinks":"There are no links yet for this profile.","Asia/Tokyo":"(GMT+09:00) Osaka, Sapporo, Tokyo","label.personcard.fileslink":"Files","friendsDate":"Date","label.vcard.help":"The character encoding option is available so that users can select an export option that is most appropriate for there address book reader.  For most users, including users of Lotus Notes and Microsoft Outlook (but not Outlook Express) should always use the default \'International\' option.  Users of Windows Address Book, Microsoft Outlook Express and may need to select another encoding in order to correctly inport the vcard into their address book.","label.searchresults.people.tablabel":"People","socialTagsList":"list","label.searchresults.searchby.alternateLastname":"Alternate Last Name:","str_component_id":"CLFRN","label.search.profiles.help.close.alttext":"Close the new to profiles section.","label.page.profiles":"Profiles","news_loadingAllStatuses":"Loading all statuses...","socialTagsListAltText":"List tags as a sequential list of tags","submitfeedback.summary.maxcharacters":"Maximum 175 characters","label.about.profiletags.heading":"Search with tags","label.search.profiles.name":"Name","errors.pronunciation.maxfilesize":"The pronunciation file you provided is too large.","error.atomNotFound":"CLFRN1170E: Resource not found.","submitfeedback.label.feedbackType":"Type of feedback","label.searchresults.searchby.organizationTitle":"Organization or Company:","label.login.profiles.intro.header":"By clicking Submit, you agree to accept these \x3ca href=\"/communities/service/html/termsofuse\"\x3eibm.com Community Terms of Use\x3c/a\x3e.","label.editprofile.photo.tab.label":"Photo","Asia/Hong_Kong":"(GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi","label.search.profiles.state":"State","label.tools.stplugin.cardimg.expanded.caption":"profiles business card expanded","label.instantregistration.submitmsg":"All information submitted is secure.","errors.long":"{0} must be a long.","friendsNewInvitationsCount":"You have {0} new invitation(s)","Africa/Lagos":"(GMT+01:00) West Central Africa","label.editprofile.privacysettings.content1":"Your profile is searchable within ibm.com Community and may appear in ibm.com Community profile search results.","friendsInvitations":"Invitations","label.editprofile.privacysettings.content2":"Allow my profile to be indexed by \x3cb\x3epublic search engines\x3c/b\x3e, which means that a link to my profile may be included in public search results.","label.editprofile.privacysettings.content3":"IBM registration privacy settings","label.editprofile.privacysettings.content4":"This data, at any time revocable by you, may be stored by IBM or an affiliate on an international server and used by IBM or an affiliate.","label.editprofile.privacysettings.content5":"If you wish to change your selection(s), visit \x3ca href=\"/profiles/html/editMyProfileView.do?tab=contactInfo&lang=en\"\x3eIBM registration\x3c/a\x3e.  ","label.editprofile.privacysettings.content6":"E-mail: Stay informed about IBM products, services, and other offerings! If you want to stay informed by e-mail, please let us know by modifying this preference.","label.vcard.download":"Download","label.editprofile.privacysettings.content7":"E-mail: Yes, please have IBM or an affiliate send me e-mail.","label.editprofile.privacysettings.content8":"Other communications: IBM or an affiliate or selected organizations may keep you informed about IBM related products, services and other offerings through ways other than e-mail, for example, by telephone or postal mail. If you do not want us to use the information you provided here to keep you informed through other ways, please modify this preference.","label.editprofile.privacysettings.content9":"Other communications: Please do not use the information I have provided here.","label.navigation.overview.heading":"Overview","label.searchresults.searchby.shift":"Shift:","friendsNetworkFor":"Network for {0}","Atlantic/Azores":"(GMT-01:00) Azores","label.search.profiles.helplink":"Learn about how to use profiles.","label.tools.stplugin.about.heading":"What does the plug-in do?","news_emailNotifyBody10":"Open this thread","news_emailNotifyBody11":"Open this message","label.instantregistration.previous.button":"Previous","news_emailNotifyBody12":"Open your profile","label.searchresults.searchby.state":"State:","label.personcard.newslink":"News","news_emailNotifyBody13":"Open profile for {0} ","commonTagsNoTags":"No Tags","label.socialPages.link.youTube":"YouTube:","label.about.relatedcontent.body":"In addition to viewing a person\'s contact information, you can access links to related content that they make available from their profile. For example, you might find a link to a blog that the user has posted, or to an article bookmarked on a Web site.","submitfeedback.subtitle":"Thank you for taking the time to send your feedback.","profiles.metric.authenticated.last.30.days":"Number of employees logged in the last month","friendsSendInvAction":"Send invitation","label.searchresults.previouslink":"Previous","label.tools.stplugin.install.body1":"For Sametime 7.5.1 users, click the button below to install this plug-in:","label.tools.stplugin.install.body2":"Or follow these steps: \x3cbr /\x3e Locate this option in the Sametime Connect Menu bar: Tools \x3e Install Plug-ins. \x3cbr /\x3e Then choose: \"Search for new features to install\". \x3cbr /\x3e Add a new remote site using this URL \x3e {0}. \x3cbr /\x3e Follow the instructions in the wizard. \x3cbr /\x3e","label.signin.welcome":"Welcome to ibm.com Community","label.tools.stplugin.install.body3":"For Sametime 7.5 users, follow these steps to install this plug-in: \x3cbr /\x3e Locate this option in the Sametime system tray icon: Manage Updates -\x3e Download Plug-ins. \x3cbr /\x3e Then choose: Search for new features to install. \x3cbr /\x3e Add a new remote site named \"Profiles Plug-ins\" using this URL: {0}. \x3cbr /\x3e Select the new site and click \"Finish\". \x3cbr /\x3e Select \"Profiles Plug-ins\" and click \"Next\". \x3cbr /\x3e Follow the instructions until completed.","toggle":"Toggle","socialTagsPeople":"people","label.personcard.homepagelink":"Home","label.searchresults.searchby.pagerNumber":"Pager Number:","label.login.rightcolcontent2browsername":"Internet Explorer 7.0+: ","errors.email":"{0} is not a valid e-mail address.","wall_noEntries":"There are no entries to display on this board","label.personcard.communitieslink.title":"Click here to see this person&#146;s communities","label.editprofile.photo.newupload":"Upload a new image","errors.retrieve":"\x3cb\x3e A system error occurred while retrieving a profile. \x3c/b\x3e \x3cbr /\x3e {0} \x3cdiv class=\"indent20\"\x3e {1} \x3c/div\x3e {2} \x3cdiv class=\"indent20\"\x3e {3} \x3c/div\x3e","label.instantregistration.helpidspwds":"Help with IDs and passwords","label.instantregistration.reqdfields.msg":"Required fields are indicated with an asterisk (*)","label.search.profiles.profilesearch.simple.link":"Simple search options","news_save":"Save","label.search.profiles.tip1":"You can use the search field at the top of the page for quick searches. Use the form at the bottom of the page for more advanced searches.","label.search.profiles.tip2":"","America/Lima":"(GMT-05:00) Bogota, Lima, Quito","label.vcard.header.exportVcard":"Export vCard","submitfeedback.section.help.footer.and":"and","label.searchresults.searchby.pagerServiceProvider":"Pager Service Provider:","label.header.searchby.kanjiname":"Name (Last First)","hideWidgetMsg":"You are about to hide your widget.\x3cbr/\x3e\x3cbr/\x3eYou can re-activate it at a later point simply by re-adding the widget to your Community. All of the Widget content will be kept intact.","label.login.profiles.invalidparameters":"Your user name and/or password does not match any existing accounts. Please check your typing and try again.","friendsSortByDisplayName":"Display Name","label.search.profiles.internetemail":"E-mail address","friendsSortByRecent":"Recent","submitfeedback.subtitle.subheading":"The fields with an asterisk(\x3cspan class=\"lotusFormRequired\"\x3e*\x3c/span\x3e) are required. Your e-mail address will not be used outside the scope of communication regarding your feedback.\t\t\t\t","errorDefaultMsg2":"An error has occurred, contact your system Administrator","label.search.profiles.profilesearch.adv.link":"Advanced search options","errorDefaultMsg3":"Click here to show more details","label.instantregistration.continue.button":"Continue","label.vcard.help.title":"Character Encoding:","errors.background":"Your description in the Background section is too long. It can be a maximum of {1} characters.","label.vcard.selectEncoding":"Select download character encoding","label.searchresults.searchby.workLocation$city":"City:","search.dropdown.byname":"Profiles by Name","label.header.searchprofiles":"Profiles Home","label.login.profiles.forgot.passwordlink":"https://www.ibm.com/account/profile/us?page=forgot","label.searchresults.searchby.officeName":"Office Name:","commonTagsRelatedTags":"Related Tags","friendsCannotAddYourself":"You cannot add yourself as a network contact.","label.search.profiles.profilesearch.bycontactinfo.help":"Use some or all of the fields in this section, then click the search button.","label.search.profiles.tips":"Tips","wall_feedForBoard":"Feed for this profile board","linkRollInfoText":"Extend your profile by adding your favorite social networking links.","errors.double":"{0} must be a double.","widgets_Max":"Maximize","label.search.profiles.stdname":"Name (First Last)","news_emailNotifyBody1":"{0} commented on your status: {1}","news_emailNotifyBody2":"{0} commented on a message where have you contributed: {1}","wall_updateExceedsLimit":"Your update exceeds the size limit of {0} characters and was truncated.","label.searchresults.searchby.calendarUrl":"Calendar URL:","wall_loadingMore":"Loading additional entries...","news_emailNotifyBody9":"To see the message follow the link below","status_clear":"clear","label.profile.heading":"Profile for {0}","socialTagsSave":"Save","socialTagsTablabel":"Tags","submitfeedback.thanku.close":"Close","friendsRemoveSelectedTip":"Click to remove the selected people from your network.","status_save2":"Post Status","linkRollCollapseWidget":"Click to collapse the links section","socialTagsHelpBody":"Discover a person\'s interests and expertise by viewing their tags. Tags are keywords that you can type into your profile to indicate your interest in a particular topic. Click a tag to see other people with the same tag.","label.tooltip.pstca":"A Canadian postal code must meet the following requirements:\x3col\x3e\x3cli\x3eIt must be exactly 7 characters long, alternating letters and numbers.\x3c/li\x3e\x3cli\x3eThe first character must NOT be a \'W\' or \'Z\'\x3c/li\x3e\x3cli\x3eThe letters may not include \'D\', \'F\', \'I\', \'O\', \'Q\' or \'U\' \x3c/li\x3e\x3c/ol\x3e","structTagsLoading":"Loading structure tags...","label.page.profiles.about":"Profiles-About Profiles","quickrResourceId":"Quickr","label.login.profiles.ssocontent.msg1":"The ibm.com Community Sign In page no longer exists. You are seeing this message because you accessed this URL via a bookmark or an old navigation link.","label.login.profiles.ssocontent.msg2":"ibm.com Community is now leveraging Single Sign On. This means that signing in to this application enables you to be recognized by other IBM applications that are aslo leveraging","label.login.profiles.ssocontent.msg3":"Single Sign On, and vice versa - and you enter your ID and password only once. As part of this new experience, the sign in user interface has changed.","label.login.profiles.ssocontent.msg4":"To sign in, follow the link below to the Profiles page, On the Profiles page, click the Log in link, which is located in the upper right part of the page.","news_emailSubject1":"[Profiles] {0} commented on your status","Australia/Darwin":"(GMT+09:30) Darwin","America/Denver":"(GMT-07:00) Mountain Time (US & Canada)","label.searchresults.searchby.managerUserid":"Manager User ID:","label.socialPages.blogUrl.secondary":"Second blog URL:","America/Halifax":"(GMT-04:00) Atlantic Time (Canada)","Africa/Windhoek":"(GMT+02:00) Windhoek","America/Guatemala":"(GMT-06:00) Central America","submitfeedback.application.option1":"Activities","submitfeedback.application.option2":"Blogs","submitfeedback.application.option3":"Bookmarks","submitfeedback.application.option4":"Communities","label.searchresults.searchby.countryDisplayValue":"Country:","label.socialPages.blogUrl.primary":"Primary blog URL:","submitfeedback.application.option5":"Files","submitfeedback.label.description":"Description","submitfeedback.application.option6":"Wikis","Asia/Katmandu":"(GMT+05:45) Kathmandu","submitfeedback.application.option7":"Home","submitfeedback.application.option8":"Profiles","label.editprofile.photo.current":"Current image:","label.search.profiles.phone":"Telephone number","commonTagsLoading":"Loading Organization\'s tags...","label.search.refine":"Refine this search","label.search.profiles.heading.close.alttext":"Close the welcome to profiles section.","label.header.searchby.email.description":"Search by e-mail","personCardCall":"Call","mobileResourceId":"Mobile","label.searchresults.searchby.preferredLastName":"Last Name:","label.searchresults.searchby.secretaryName":"Secretary Name:","Asia/Baku":"(GMT+04:00) Baku","label.searchresults.searchby.tags":"Profile Tags:","news_updateExceedsLimit":"Your update exceeds the size limit of {0} characters and was truncated.","error.atomDatabase":"CLFRN1119E: An error occurred while retrieving profile data.","America/Tijuana":"(GMT-08:00) Tijuana, Baja California","label.navigation.reporting_structure.heading":"Reporting Structure","wall_loginReason":"Log in to write a message on this board","profiles.metric.colleage.count.user":"Number of users with at least one colleague","socialTagsPerson":"person","label.editprofile.photoandpronunciatio.heading":"Photo and Pronunciation","label.login.profiles.heading":"Sign In","label.search.profiles.country":"Country","label.vcard.help.alt":"Character encoding help.","Asia/Singapore":"(GMT+08:00) Kuala Lumpur, Singapore","label.editprofile.update.warning":"To save updates to the information in this tab, click the Update button below. You will be taken to the My profile page.","label.login.profiles.forgot.password":"Forgot your password?","label.editprofile.cancel":"Cancel","friendsNewInv":"{0} new invitation","label.personcard.noprofilemsg":"A profile does not exist for this person","friendsAltEmail":"Alternate Email:","label.searchresults.searchby.pagerId":"Pager ID:","socialTagsHelpMoreinfo":"Find out more about tags.","label.search.profiles.profilesearch.byname.button.hint":"Search using name","label.search.profiles.location":"Location","tablePagingSortBy":"Sort by:","wall_loadMore":"Load more entries...","multiFeedReaderActivitiesNeedToLogIn":"You need to log in to see the activities you share with this person","label.header.searchby.name":"Name","label.editprofile.privacysettings.heading":"Search","friendsInvitedEmailSubject":"[Profiles] You are invited to join my network","label.personcard.quickrlink.title":"Click here to see this person&#146;s quickr shares","errors.short":"{0} must be a short.","Asia/Karachi":"(GMT+05:00) Islamabad, Karachi, Tashkent","friendsAddToMyNetwork":"I\'d like to add you to my Connections network.","personCardAddAsMyColleagues":"Invite to My Network","Asia/Yerevan":"(GMT+04:00) Yerevan","attachment.resume.title":"Resume","label.header.searchby.phone.example":"(example: 1-222-333-4444)","label.header.dropdown.title":"Refine search options","socialTagsWhoTagged":"See who added this tag","label.search.profiles.help.line1":"Choose one or more of the options and then click \"Search\".","label.search.profiles.help.line2":"Choosing multiple options limits search results to profiles that match all criteria.","errors.date":"{0} is not a date.","submitfeedback.feedbackContent.option1":"Content that is off topic","label.editprofile.photo.removeimage":"Remove image","submitfeedback.feedbackContent.option2":"Violation of individual\'s privacy","submitfeedback.feedbackContent.option3":"Violation of copyright, financial, or disclosure laws","submitfeedback.feedbackContent.option4":"Offensive or obscene language","Asia/Irkutsk":"(GMT+08:00) Irkutsk, Ulaan Bataar","submitfeedback.feedbackContent.option5":"Other","label.profile.pronunciation":"Play an audio file with the pronunciation of the person\'s name","label.login.profiles.forgot.usernamelink":"https://www.ibm.com/account/profile/us?page=reghelpdesk","homepageResourceId":"Home","label.navigation.overview.heading.title":"Display the profile page","label.instantregistration.rescountry.selectbox":"Country of residence","label.tooltip.cntrusca":"\x3cul\x3e\x3cli\x3eStreet, city, state, zip code.\x3c/li\x3e\x3cbr/\x3e\x3cli\x3eMust be only single-byte characters.\x3c/li\x3e\x3cli\x3eIf a state is not empty/blank, a country must be selected.\x3c/li\x3e\x3c/ul\x3e","America/St_Johns":"(GMT-03:30) Newfoundland","label.search.profiles.profilesearch.simple.findbyname.hint":"Click here to enter name","label.editprofile.privacysettings.deleteprofile.content1":"When you delete your profile, the content you have posted (such as bookmarks, discussion topics, blog comments) will remain ","label.editprofile.privacysettings.deleteprofile.content2":"available and it will display your name as the author. However, no profile information will be displayed. Also, any community ","label.personcard.mobilelink.title":"Click here to see this person&#146;s mobile page","label.editprofile.privacysettings.deleteprofile.content3":"memberships will be removed. You will still be registered with IBM.","profile.edit.error.othername":"Name is required for Other URL","profile.edit.error.pblogname":"Name is required for PrimaryBlog URL","profiles.metric.pronunciation.count":"Number of employees with pronunciation supplied","label.editprofile.photo.heading":"Photo","wall_deleteComment":"Delete this comment","submitfeedback.section.help.header":"Help documentation","label.search.profiles.close":"Close","label.tools.stplugin.about.body1":"The Profiles Sametime plug-in allows your Sametime client to make use of the Profiles business card. The Profiles business card will be available in an instant message chat window.","label.search.profiles.profilesearch.simple.findbyname":"Find by Name","label.tools.stplugin.about.body2":"The profiles business card also shows up when you hover a person\'s name in your buddy list. This allows you to quickly find relevant Lotus Connections information for that person.","personCardSendMail":"Send e-mail","label.header.searchby.stdname":"Name (First Last)","friendsLoadingInv":"Loading Invitations...","label.login.rightcolcontent1operationsytem":"Windows XP","Pacific/Auckland":"(GMT+12:00) Auckland, Wellington","label.editprofile.associatedInformation.heading":"Associated Information","label.search.profiles.profilesearch.simple.findbykeyword":"Find by Keyword","status_updateExceedsLimit":"Your update exceeds the size limit of {0} characters and was truncated.","wall_feedForView":"Feed for this view","label.socialPages.link.linkedin":"LinkedIn:","widgets_Min":"Minimize","commonTags":"Organization Tags","linkRollAddLink":"[Add link]","label.login.profiles.gotoprofiles.msg":"\x3ca class=\"ibm-forward-link\" href=\"/profiles/home.do\"\x3eGo to Profiles\x3c/a\x3e","linkRollNameOrLinkCannotBeEmpty":"Name or Link can not be empty.","label.home.status.update":"{0} to see status updates for your network","label.tooltip.pstjp":"A Japanese postal code must meet the following requirement:\x3cbr/\x3eIt must be exactly  8 characters long, in the format nnn-nnnn (3 numbers &#45; 4 numbers)\x3c/li\x3e\x3c/ol\x3e","errorName":"Name: ","wall_login":"Log In","friendsIsInYourNetwork":"{0} is in your network.","profiles.metric.authenticated.today.desc":"Number of employees logged into the Profiles service in the last day","label.searchresults.people.notesId":"Notes ID:","label.searchresults.people.tableheading.contactinfo":"Contact information","label.instantregistration.ibmid.text":"Will be your IBM ID","label.searchresults.searchby.phoneNumber":"Phone Number:","Atlantic/South_Georgia":"(GMT-02:00) Mid-Atlantic","label.about.profiles.demolink":"Watch a demo","Asia/Calcutta":"(GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi","news_commentSomething":"Write something...","submitfeedback.section.help.footer.commowner":"community owners","label.banner.help":"Help","noinformation":"No information provided","label.search.profiles.help.heading":"New to Profiles?","friendsInCommonSingle":"You have {0} network contact in common","America/Godthab":"(GMT-03:00) Greenland","label.login.profiles.heading.logo":"Profiles logo","Asia/Taipei":"(GMT+08:00) Taipei","news_next":"Next","label.error.backtoprofileslink":"Go Back to Profiles","label.tools.stplugin.cardimg.collapsed.caption":"profiles business card","wall_comment":"{0} comment","Asia/Dhaka":"(GMT+06:00) Astana, Dhaka","linkRollCancel":"Cancel","personCardAddAsColleagues":"Invite to My Network","news_comment":"{0} comment","errors.minlength":"{0} cannot be less than {1} characters.","newsResourceId":"News","personCardChat":"Chat","Atlantic/Cape_Verde":"(GMT-01:00) Cape Verde Is.","label.personcard.homepagelink.title":"Click here to see this person&#146;s home page","label.error.body":"Something went wrong - click the back button and try again. If this doesn\'t work report the problem to the support forum. If someone sent you this link, check to see if you\'ve been granted permission.","error.atomInvalidXMLContent":"CLFRN1171E: The content submitted is either invalid XML content or non-validating.","friendsRemoved":"Network contact(s) removed.","multiFeedReaderCollapseWidget":"Click to collapse the recent posts section","label.page.profiles.about.demomovie":"Getting Started: Profiles","Europe/Warsaw":"(GMT+01:00) Sarajevo, Skopje, Warsaw, Zagreb","label.searchresults.searchby.preferredFirstName":"First Name:","Europe/Brussels":"(GMT+01:00) Brussels, Copenhagen, Madrid, Paris","submitfeedback.label.description.maxcharacterserror":"Please include description not more than 1000 characters.","label.searchresults.searchby.jobResp":"Job Title:","profiles.metric.tag.count.user":"Number of users with at least one tag","preference.email.write.my.board":"Send me e-mail when someone writes on my board","feed_forBoard":"Feed for this profile board","Asia/Rangoon":"(GMT+06:30) Yangon (Rangoon)","news_noEntries":"There are no statuses available","label.search.profiles.profilesearch.bykeyword.button":"Keyword Search ","label.personcard.newslink.title":"Click here to see this person&#146;s news","friendsInviteMessage":"I\'d like to add you to my Connections network.","label.search.profiles.profilesearch.byname.button":"Name Search","America/Chicago":"(GMT-06:00) Central Time (US & Canada)","label.asterisk":"*","label.searchresults.searchby.nativeLastName":"Native Last Name:","label.tooltip.city":"City must be provided.","label.instantregistration.generaltext.chbox2":"Other communications: IBM or an affiliate or selected organisations may keep you informed about IBM related products, services and other offerings through ways other than e-mail, for example, by telephone or postal mail.  If you do not want us to use the information you provided here to keep you informed through other ways, please indicate in the box below.","label.instantregistration.generaltext.chbox3":"Other communications: Please do not use the information I have provided here.","socialTagsTagCloudAltText":"List tags as a tag cloud","friendsIncludeMsgForInv":"Include a message with your invitation:","label.search.profiles.profilesearch.simple.heading":"Search Profiles","radio.associatedInformation.extattr.businessPartner.value1":"Yes","radio.associatedInformation.extattr.businessPartner.value2":"No","label.searchresults.community.tablabel":"Communities","hide":"Hide","submitfeedback.label.application":"Application","news_loadMore":"Load more entries...","Pacific/Fiji":"(GMT+12:00) Fiji, Kamchatka, Marshall Is.","label.searchresults.searchby.employeeNumber":"Employee Number:","label.banner.tools":"Tools","label.header.searchby.description":"Search by","feed_forPage":"Feed for this page","attachment.resume.not.available":"There is no resume available for this profile","label.navigation.colleagues.heading":"My Network","label.searchresults.searchby.telephoneNumber":"Phone Number:","friendsIsYourColleague":"{0} is your network contact","submitfeedback.description.text.line1":"For reports of technical problems, please include enough detail for us to replicate the problem, including the text of any error messages, what you were trying to do, and steps you took prior to observing the problem. ","Asia/Krasnoyarsk":"(GMT+07:00) Krasnoyars","label.header.searchby.company.description":"Search by organization","errors.general":"\x3cb\x3e A system error has occurred. \x3c/b\x3e \x3cbr /\x3e {0} \x3cdiv class=\"indent20\"\x3e {1} \x3c/div\x3e {2} \x3cdiv class=\"indent20\"\x3e {3} \x3c/div\x3e","news_cancel":"Cancel","label.error.fullerrormessagelink":"Show full error message","label.editprofile.aboutMe.tab.label":"About Me","friendsNetworkInCommon":"You have {0} network connections in common.","label.search.profiles.profilesearch.adv.findbycontactinfo":"Contact Info:","label.search.profiles.profilesearch.bykeyword.help":"Enter the keyword for the person you would like to find.","Africa/Casablanca":"(GMT) Casablanca, Monrovia","label.editprofile.heading":"Update information that you wish to change in your profile.","label.searchresults.noresults":"No results found.","Europe/Minsk":"(GMT+02:00) Minsk","errors.footer":"\x3c/div\x3e","search.dropdown.advancedsearch":"Profiles Advanced Search","submitfeedback.description.error":"Please include a description","label_profile_reportingstructure":"Reporting Structure","label.page.profiles.search":"Profiles-Search","Asia/Tehran":"(GMT+03:30) Tehran","errors.delete":"\x3cb\x3e A system error occurred while deleting part of a profile. \x3c/b\x3e \x3cbr /\x3e {0} \x3cdiv class=\"indent20\"\x3e {1} \x3c/div\x3e {2} \x3cdiv class=\"indent20\"\x3e {3} \x3c/div\x3e","label.metrics.name":"Name","friendsYouExceedTextLimit":"Your invite message is too long. It can be a maximum of {1} characters. There are {0} characters in this field.","activitiesResourceId":"Activities","label.personcard.wikislink.title":"Click here to see this person&#146;s wikis","mypages":"My social pages","label.searchresults.searchby.managerUid":"Manager UID:","label.socialPages.links.orderMsg":"Display pages in this order","error.fileContainsVirus":"CLFRN1167E: The file you uploaded contains a virus.","reportStructureLoading":"Loading reporting structure...","label.searchresults.searchby.experience":"About Me:","Pacific/Guam":"(GMT+10:00) Guam, Port Moresby","label.login.profiles.disclaimer":"The following Web browsers are supported:\x3cbr /\x3eMicrosoft Internet Explorer 6.0 and above on Windows XP (if you are using Internet Explorer 6 on Windows Server 2003 or Windows XP, \x3ca href=\"http://support.microsoft.com/kb/942840\"\x3edownload the Jscript.dll file\x3c/a\x3e, version 5.6.0.8834 from Microsoft), Microsoft Internet Explorer 7.0 and above on Windows Vista, Mozilla Firefox 2.0 on Windows, SLED, and Mac OS X.","error.atomNoParameters":"CLFRN1122E: No parameters were specified.","Australia/Adelaide":"(GMT+09:30) Adelaide","news_statusMyNetwork":"Status Updates in My Network","commonTagsSearchTags":"Search for profiles containing this tag","label.socialPages.blog.msg":"My blog(s)","delete":"Delete","errors.byte":"{0} must be a byte.","wall_showComment":"Show {0} more comment...","America/Santiago":"(GMT-04:00) Santiago","errors.integer":"{0} must be an integer.","email_fromLotusConnectionsProfiles":"This is a notification sent from Lotus Connections Profiles.","multiFeedReaderLoading":"Loading feed...","label.personcard.dogearlink":"Bookmarks","socialTagsExpandWidget":"Click to expand the tags section","label.instantregistration.language.selectbox":"Language","wall_previous":"Previous","label.searchresults.people.tableheading.employeeinfo":"Name &amp; employee information","tablePagingItermsPerPage":"items per page","label.searchresults.searchby.keyword":"Keyword:","Asia/Yakutsk":"(GMT+09:00) Yakutsk","friendsCancelInvAction":"Cancel","multiFeedReaderNoFeeds":"There are no items to display","news_loadingMyStatuses":"Loading my statuses...","label.searchresults.searchby.extattr.myCompanyNm":"Company Name:","Asia/Baghdad":"(GMT+03:00) Baghdad","news_statusAll":"All Status Updates","label.signin.footer1":"After continuing, click Profiles at the top of the page, then My Profile, to view your profile.","label.signin.footer2":"The following Web browsers are supported: Apple Safari 5.0, Apple Safari 6, Microsoft Internet Explorer 8.0, Microsoft Internet Explorer 9.0, Mozila Firefox 10, Mozila Firefox 12.0, Mozila Firefox 13, Mozila Firefox 14, Google Chrome 19.","label.signin.footer3":"More details about supported browsers.","label.signin.footer4":"The following Web browsers are supported: Apple Safari 3.1, Microsoft Internet Explorer 7.0, Microsoft Internet Explorer 6.0, Mozila Firefox 3.0, Mozila Firefox 2.0.","friendsLoading":"Loading Network...","label.about.profiles.moreinfo":"Find out more...","label.editprofile.pronunciation.removeaudiofile":"Remove audio file","news_title":"Status Updates","status_loading":"Loading Status...","label.search.results.more.available":"More than {0} results available. Displaying the first {0} only.","attachment.resume.type.not.supported":"Unable to upload resume. This file type is not supported.","close":"Close","label.login.rightcolcontent1browsername":"Internet Explorer 6.0+:","socialTagsHeading":"Profile Tags","news_showComments":"Show {0} more comments...","socialTagsTagCloud":"cloud","label.instantregistration.generaltext.line3.chbox1":"E-mail:  Yes, please have IBM or an affiliate send me e-mail.","dogearResourceId":"Bookmarks","attachment.resume.search.label":"Resume contains these keywords","friendsInvitedEmailMsg1":"has invited you to become a network contact with the following message included in the invitation:","friendsInvitedEmailMsg2":"Open your Network Invitation page","friendsInvitedEmailMsg3":"I\'d like to add you to my network.","friendsInvitedEmailMsg4":"{0} has invited you to become a network contact:","friendsInvitedEmailMsg5":"{0} has invited you to become a network contact with the following message included in the invitation:","edit":"Edit","label.instantregistration.title":"IBM Registration","label.tooltip.pstus":"A US zip code must be have one of the following formats:\x3col\x3e\x3cli\x3ennnnn (5 numbers)\x3c/li\x3e\x3cli\x3ennnnnnnnn (9 numbers)\x3c/li\x3e\x3cli\x3ennnnn-nnnn (5 numbers &#45; 4 numbers)\x3c/li\x3e\x3c/ol\x3e","label.instantregistration.register.button":"Register","widgetCollapse":"Click to collapse section {0}","tablePagingJumpToPage":"Jump to page","label.login.profiles.username":"User name:","label.search.profiles.logo":"Profiles logo","wall_disableTip":"This will hide the board from my profile. No one will be able to write messages on this board, and you will no longer be able to use the status update feature.","socialTagsTaggedBy":"Tagged by","label.editprofile.contactInformation.heading":"Contact Information","label.socialPages.link.flickr":"Flickr:","Asia/Seoul":"(GMT+09:00) Seoul","multiFeedReaderPostedBy":"posted by:","label.profile.localtime":"Local Time:","America/Winnipeg":"(GMT-06:00) Saskatchewan","label.about.relatedcontent.heading":"Follow the links","label.login.profiles.loginlink":"\x3ca href=\"javascript:void(0);\" class=\"ibm-forward-link\" onclick=\"return invokeInstantRegister(this);\"\x3e\x3cstrong\x3eRegister for an IBM ID now\x3c/strong\x3e\x3c/a\x3e","socialTagsNoTags":"There are no tags yet for this profile.","news_writeSomething":"What are you working on right now?","delete_confirmation":"Are you sure you want to delete this?","submitfeedback.applications.option9":"All","open":"Open","search.dropdown.allconnections":"All Connections","preference.email.comment.after.my.message":"Send me e-mail when someone comments after me on a board posting","label.about.editprofile.body":"Fill out your own profile with contact information. Let your community, company, or organization know what you can do, what your interests are, and how to get in touch with you. Apply some tags to your profiles to give others another way to find you.","label.socialPages.link.other":"Other:","America/Phoenix":"(GMT-07:00) Arizona","label.profile.otherviews.show":"Show:","news_commentedOn":"commented on {0}","label.header.advancedsearch":"Advanced Search","profiles.metric.authenticated.last.7.days.desc":"Number of employees logged into the Profiles service in the last week","label.socialPages.comboBox.link.linkedin":"LinkedIn","label.searchresults.people.tableheading.photo":"Photo","attachment.resume.download":"Download resume for {0}","label.search.profiles.profilesearch.simple.findbykeyword.hint":"Click here to enter keyword","label_profile_otherviews_reportingstructure":"Full report-to chain","label.page.profiles.submitfeedback.title":"Feedback","label.searchresults.searchby.description":"Description:","label.socialPages.link.facebook":"Facebook:","label.personcard.dogearlink.title":"Click here to see this person&#146;s bookmarks","label.searchresults.searchby.secretaryUid":"Secretary UID:","label.socialPages.link.twitter":"Twitter:","label.searchresults.searchby.ipTelephoneNumber":"IP Telephone Number:","label.editprofile.update":"Update","errors.invalid":"{0} is not valid.","cancel":"Cancel","socialTagsHelpHeading":"Tags","socialTagsViewAs":"View as ","news_loadingNetworkStatuses":"Loading network statuses...","friendsNoFriends":"No network contacts are associated with this profile","label.personcard.activitieslink.title":"Click here to see shared activities","friendsColleaguesInvite":"Invite {0} to be your network contact","label.tools.stplugin.install.heading":"Installing the plug-in","America/Manaus":"(GMT-04:00) Manaus","errors.maxlength":"{0} cannot be greater than {1} characters.","Asia/Tbilisi":"(GMT+03:00) Tbilisi","error.atomInvalidParameters":"CLFRN1123E: No valid parameters were specified.","label.about.profiles.body":"Profiles are a directory of the people in your organization as well as information you need to form and encourage effective networks. In addition to basic information captured in a business card format, profiles catalog skills such as technical expertise, familiarity with foreign languages, and areas of interest.","wall_emailSubject1":"[Profiles] {0} wrote on your profile board","wall_emailSubject2":"[Profiles] {0} commented on an item on your profile board","wall_emailSubject3":"[Profiles] {0} commented on the profile board for {1}","wall_emailSubject4":"[Profiles] {0} also commented on the profile board for {1}","label.login.profiles.button.cancel":"Cancel","wall_deleteEntry":"Delete this entry","communityResourceId":"Communities","label.header.searchby.stdname.description":"Search by first last name or just last name","profiles.metric.employee.count.desc":"Number of employees in the profiles database","profiles.metric.background.count.desc":"Number of employees in the profiles database who have updated their background","search.dropdown.advanced":"Advanced","Australia/Brisbane":"(GMT+10:00) Brisbane","label.error.heading":"Oops, that didn\'t work","label.login.profiles.ssocontent.heading":"ibm.com Community sign in has changed","personCardMoreActions":"More Actions","label.header.searchby.profiletags.description":"Search by profile tags","Asia/Almaty":"(GMT+06:00) Almaty, Novosibirsk","submitfeedback.label.feedbackContent":"Type of inappropriate content","tablePagingPage":"Page","label.search.profiles.kanjiname":"Name (Last First)","commonTagRelatedString":"Click a related tag to further refine this search","label.header.search":"Search","commonTagDiscover":"Discover experts in your organization by browsing the tags in your enterprise","wall_commentAnother":"Write another comment...","Europe/Belgrade":"(GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague","status_noStatus":"(no status set)","label.about.profiles.findoutmore":"Find out more","errors.required":"{0} is required.","profile.edit.error.linkedin":"Invalid LinkedIn Url","Africa/Nairobi":"(GMT+03:00) Nairobi","error.atomUnsupportedOperation":"CLFRN1175E: This operation is not supported.","profiles.metric.employee.count":"Total number of employees","profiles.metric.background.count":"Number of employees who have updated their background","label.login.rightcolcontent2operationsytem":"Windows Vista","label.editprofile.privacysettings.deleteprofilebtn.value":"Delete my profile","status_tip":"Update your status message frequently to let your network know what you are working on.","label_profile_otherviews_peoplemanaged":"People managed","wall_save":"Post Message","label.tools.stplugin.heading":"Profiles Sametime Plug-in","friendsNetwork":"Network","label.instantregistration.steps":"Step 1 of 2","errors.maxfilesize":"{0} includes a file that is too large.","news_previous":"Previous","news_noStatusSet":"(no status message set)","label.searchresults.searchby.secretaryUserid":"Secretary User ID:","friendsInviteLegalNote":"By sending this invitation, you agree to allow {0} to comment on your profile board.","loadingSTStatus":"Loading Sametime status...","linkRollLinkRemoved":"The link has been removed.","profile.edit.error.sblog":"Invalid SecondaryBlog Url","label.header.searchby.email":"E-mail","label.page.profiles.editmyprofile":"Profiles-Edit My Profile","label.tools.stplugin.install.altText":"Install profiles plug-in","label.search.profiles.profilesearch.byname.help":"Enter the name of the person you would like to find.","profiles.metric.picture.count.desc":"Number of employees in the profiles database who have supplied a picture","label.searchresults.people.heading":"Profile search results for {0}","label.searchresults.searchby.bldgId":"Building ID:","label.editprofile.rte.charsOverLimit":"{0} characters over the limit of {0}","label.search.profiles.tagsUnavailable":"The tag clound is temporarily unavailable.","America/Montevideo":"(GMT-03:00) Montevideo","label.profile.vcardlink":"Download vcard information for this person","label.banner.about":"About","friendsEmail":"Email:","label.metrics.value":"Value","tablePagingNext":"Next","label.searchresults.searchby.departmentTitle":"Department:","errors.pronunciation.filetype":"The type of the pronunciation file you provided is not supported.","label.instantregistration.emailid.text":"E-mail address","label.searchresults.searchby.freeBusyUrl":"Free Busy URL:","label.editprofile.pronunciation.close":"Close","tablePagingShow":"Show:","socialTagsCollapseWidget":"Click to collapse the tags section","linkRollRemoveLinkAltText":"Remove the link from your links section.","label.login.profiles.copyright":"Licensed Materials - Property of IBM Corp. &#169; IBM Corporation 2007, 2008. IBM, the IBM logo, Lotus are trademarks of IBM Corporation in the United States, other countries, or both.","label.about.profiles.helplink":"Help","Europe/London":"(GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London","America/Anchorage":"(GMT-09:00) Alaska","wall_saveComment":"Post Comment","errors.suffix":"\x3cbr /\x3e","personCardRemoveFromColleagues":"Remove from My Network","label.about.pageheading":"About Profiles","label.instantregistration.registcomplete":"Registration complete","label.header.searchby.community":"Community","help":"Help","Europe/Athens":"(GMT+02:00) Athens, Bucharest, Istanbul","news_loadingMore":"Loading additional entries...","noStatuAvailable":"No Sametime status available","label.editprofile.photo.no_init":"Photo cropper not initialized!","label.about.profiletags.body":"Tags are descriptive keywords you create and assign to identify particular roles or activities in your organization. For example, you might search on a tag called accessibility to find all of the users who have used that tag to indicate that they have accessibility expertise.","linkRollLinkAdded":"The link has been added.","label.reportingstructure.heading":"Reporting Structure for {0}","label.editprofile.photo.previewButton":"Preview Image","label.searchresults.people.email":"E-mail:","errors.photo.maxfilesize":"The photo file you provided is too large.","status_cancel":"Cancel","label.stats.value":"Value","news_addComment":"Add comment","profile.edit.error.other":"Invalid Url In Other Fields","label.metrics.dataErrMsg":"Data Error ","label.socialPages.comboBox.link.youTube":"YouTube","error.atomGeneral":"CLFRN1120E: An error occurred.","Africa/Cairo":"(GMT+02:00) Cairo","label.socialPages.editlink":"Edit my social links","label.search.profiles.profilesearch.bycustomfields.help":"Use some or all of the fields in this section, then click the search button.","wall_trackingSend1":"Send me e-mail when someone writes on my board","wall_trackingSend2":"Send me e-mail when someone comments on any board message I post","wall_trackingSend3":"Send me e-mail when someone comments after me on a board posting","news_filterShow":"Show:","label.vcard.encoding.iso88591":"Western European (ISO-8859-1)","label.searchresults.searchby.country":"Country:","socialTagsAddTagsAltText":"Add tag(s) to this profile","error.queryCommunities":"CLFRN1169E: There was an error querying the Communities server.  If the problem persists please contact your system administrator.","label.searchresults.searchby.department":"Organization:","label.header.searchby.kanjiname.description":"Search by last first name","label.searchresults.searchby.workLocation$state":"State:","submitfeedback.section.help.footer":"IBM employees: Help for","label.search.profiles.aboutlink":"Learn more","friendsAcceptAction":"Accept","linkRoll":"Recommended links","label.login.rightcolheading":"The following Web browsers are supported:","America/Los_Angeles":"(GMT-08:00) Pacific Time (US & Canada)","label.editprofile.pronunciation.heading":"Pronunciation","filesResourceId":"Files","label.signin.msg1":"How to participate","wall_title":"The Board","label.signin.msg2":"Creating a profile enables you to participate in ibm.com Community. \x3cb\x3eWhen you click Continue below, a public community profile will automatically be created,\x3c/b\x3e including information you provided when you registered with IBM. You have the option to display this information or keep it hidden. You also have the option to share additional information.","label.signin.msg3":"( IBM employees: You are required to review this","label.signin.msg4":"Social computing education module","label.editprofile.pronunciation.moreinfo":"More about pronunciation files.","friendsFullPageTitle":"Network","label.signin.msg5":"before proceeding. )","label.signin.msg6":"Terms of Use","label.signin.msg7":"When contributing content (including, but not limited to text, images, links, video), you must comply with the ibm.com Community Terms of Use.","label.signin.msg8":"By clicking Continue, you agree to these","label.page.profiles.login":"Profiles-Log In","label.signin.msg9":"ibm.com Community Terms of Use.","friendsExpandWidget":"Click to expand the network section","label.searchresults.community.tableheading":"Community","label.instantregistration.msg":"Step 2 of 2","label.tooltip.addr":"Address may be left entirely blank. However, if any address information is specified, it must meet the following requirements:\x3cbr/\x3e\x3col\x3e\x3cli\x3eAt least one address line must contain data.\x3c/li\x3e\x3cli\x3eCity must be provided.\x3c/li\x3e\x3cli\x3eState/ Province must be provided.\x3c/li\x3e\x3c/ol\x3e","label.editprofile.photo.loading":"Loading preview, please wait...","label.instantregistration.answersecurityques.text":"Answer to security question","preference.board.enable":"Enable the board","errorStackTrace":"Trace: ","wall_loading":"Loading the board...","label.login.profiles.subheading":"Welcome to this online community, where you can connect with business and IT leaders and innovators including IBM clients, Business Partners, and employees. ","status_title":"Status","label.searchresults.searchby.profileTags":"Profile Tags:","label.personcard.quickrlink":"Quickr","label.tooltip.stprov":"\x3cul\x3e\x3cli\x3emust be only single-byte characters\x3c/li\x3e\x3cli\x3ecan include letters and numbers \x3c/li\x3e\x3cli\x3eIf a state/ province is specified in the address, the country must be included. \x3c/li\x3e\x3c/ul\x3e","deleteWidget":"Delete Widget","label.editprofile.pronunciation.info":"Upload an audio file of your name. The file should be less than 100 KB in size.","news_loading":"Loading profile status area...","profiles.metric.tagged.count.user":"Number of users who have been tagged at least once","friendsInvSent":"No invitation sent because an invitation is already pending.","errors.photo.filetype":"The type of the photo file you provided is not supported.","attachment.resume.exceed.limit":"Unable to upload resume. The file exceeds the size limit of {0}","Pacific/Tongatapu":"(GMT+13:00) Nuku\'alofa","Asia/Kabul":"(GMT+04:30) Kabul","label.about.profiles.tip1":"Add a personal touch by including a picture with your profile.","label.about.profiles.tip2":"The Reporting Structure view for a profile lists either a person\'s full reporting hierarchy or lists peers reporting to the same manager.","label.login.profiles.password":"Password:","label.about.profiles.tip3":"Fill in the About Me section of your profile to let your network know more about you.","label.editprofile.privacysettings.deleteprofile.confirmation.msg":"Your ibm.com Community profile has been deleted.","profiles.metric.picture.count":"Number of employees with a picture supplied","socialTagsYouTagged":"My tags for this profile:","Asia/Colombo":"(GMT+05:30) Sri Jayawardenepura","label.header.pageheading":"Profiles","errors.creditcard":"{0} is not a valid credit card number.","America/Indianapolis":"(GMT-05:00) Indiana (East)","label.searchresults.searchby.nativeFirstName":"Native First Name:","friendsColleaguesFor":"Network Contacts for {0}","label.search.profiles.tagsandrelatedinfo":"Tags and related information:","label.metrics.title":"Profiles Metrics","Australia/Hobart":"(GMT+10:00) Hobart","errors.personalEmail":"The alternate e-mail address you entered is not valid.","label.instantregistration.registeredmesg":"You have successfully created an IBM user account and will be automatically logged in within 10 seconds."},"profileCustomAtt":{"TDBET":"Borkou-Ennedi-Tibesti","CVBR":"Brava","CVBV":"Boa Vista","CN31":"Shanghai","CN32":"Jiangsu","CN33":"Zhejiang","CN34":"Anhui","CN35":"Fujian","CN36":"Jiangxi","CN37":"Shandong","CVCA":"Santa Catarina","MK01":"Aerodrom","MAKEN":"K\xe9nitra","MK02":"Ara\u010dinovo","MK03":"Berovo","CVCR":"Santa Cruz","MK04":"Bitola","CVCS":"Calheta de S\xe3o Miguel","MK05":"Bogdanci","MK06":"Bogovinje","MAKES":"Kelaat Sraghna","MK07":"Bosilovo","MK08":"Brvenica","MK09":"Butel","CN41":"Henan","CN42":"Hubei","CN43":"Hunan","CN44":"Guangdong","CN45":"Guangxi","GR01":"Aitolia-Akarnania","YEAB":"Abyan","CN46":"Hainan","BJOU":"Ou\xe9m\xe9","GR03":"Voiotia","YEAD":"\'Adan","GR04":"Evvoia","GR05":"Evrytania","GR06":"Fthiotis","SEC":"Uppsala l\xe4n","GR07":"Fokis","SED":"S\xf6dermanlands l\xe4n","BSAC":"Acklins and Crooked Islands","SEE":"\xd6sterg\xf6tlands l\xe4n","SEF":"J\xf6nk\xf6pings l\xe4n","SEG":"Kronobergs l\xe4n","SEH":"Kalmar l\xe4n","SEI":"Gotlands l\xe4n","YEAM":"\'Amran","SEK":"Blekinge l\xe4n","SEM":"Sk\xe5ne l\xe4n","SEN":"Hallands l\xe4n","MK10":"Valandovo","SEO":"V\xe4stra G\xf6talands l\xe4n","MK11":"Vasilevo","MK12":"Vev\u010dani","MK13":"Veles","MK14":"Vinica","SES":"V\xe4rmlands l\xe4n","MK15":"Vrane\u0161tica","PHNCO":"North Cotabato","SET":"\xd6rebro l\xe4n","MK16":"Vrap\u010di\u0161te","SEU":"V\xe4stmanlands l\xe4n","BJPL":"Plateau","MK17":"Gazi Baba","MK18":"Gevgelija","SEW":"Dalarnas l\xe4n","CN50":"Chongqing","MK19":"Gostivar","SEX":"G\xe4vleborgs l\xe4n","CN51":"Sichuan","SEY":"V\xe4sternorrlands l\xe4n","CN52":"Guizhou","SEZ":"J\xe4mtlands l\xe4n","CN53":"Yunnan","CN54":"Xizang","YEBA":"Al Bayda\'","GR11":"Argolis","CMSU":"South","GR12":"Arkadia","GR13":"Acha\xefa","CMSW":"South-West","GR14":"Ileia","GR15":"Korinthia","GR16":"Lakonia","GR17":"Messinia","ESZA":"Zamora","BSBI":"Bimini","UZXO":"Xorazm","MK20":"Gradsko","HTSD":"Sud","MK21":"Debar","HTSE":"Sud-Est","MK22":"Debarca","MK23":"Del\u010devo","MK24":"Demir Kapija","MK25":"Demir Hisar","MK26":"Dojran","MK27":"Dolneni","MK28":"Drugovo","PKIS":"Islamabad","MK29":"Gjor\u010de Petrov","label.advanced.searchForm.attribute.extattr$spokenLanguages":"Spoken Languages:","CN61":"Shaanxi","label.contactInformation.extattr.workaddrtwo":"Address2:","label.advanced.searchForm.attribute.extattr.homeaddrlabel":"Home: ","CN62":"Gansu","CN63":"Qinghai","CN64":"Ningxia","CN65":"Xinjiang","GR21":"Zakynthos","GR22":"Kerkyra","GR23":"Kefallinia","GR24":"Lefkas","MAKHE":"Khemisset","PHNEC":"Negros Occidental","BSCI":"Cat Island","MK30":"\u017delino","PKJK":"Azad Kashmir","MK31":"Zajas","MAKHN":"Khenifra","MK32":"Zelenikovo","MAKHO":"Khouribga","MK33":"Zrnovci","MK34":"Ilinden","MK35":"Jegunovce","MK36":"Kavadarci","MK37":"Karbinci","MK38":"Karpo\u0161","PHNER":"Negros Oriental","MK39":"Kisela Voda","YEDA":"Ad Dali\'","GR31":"Arta","label.advanced.searchForm.attribute.pagerNumber":"Pager Number:","GR32":"Thesprotia","GR33":"Ioannina","GR34":"Preveza","YEDH":"Dhamar","MK40":"Ki\u010devo","MK41":"Kon\u010de","MK42":"Ko\u010dani","MK43":"Kratovo","MK44":"Kriva Palanka","MK45":"Krivoga\u0161tani","MK46":"Kru\u0161evo","label.contactInformation.extattr.wrkpagerNumber":"Pager:","MK47":"Kumanovo","MK48":"Lipkovo","MK49":"Lozovo","GR41":"Karditsa","GR42":"Larisa","AFHEL":"Helmand","GR43":"Magnisia","GR44":"Trikala","AFHER":"Herat","KZPAV":"Pavlodar oblysy","MK50":"Mavrovo i Rostu\u0161a","MK51":"Makedonska Kamenica","MK52":"Makedonski Brod","MXNLE":"Nuevo Le\xf3n","MK53":"Mogila","label.jobInformation.employeeNumber":"Employee number:","MK54":"Negotino","MK55":"Novaci","MK56":"Novo Selo","MK57":"Oslomej","MK58":"Ohrid","MK59":"Petrovec","BSEX":"Exuma","GR51":"Grevena","GR52":"Drama","GR53":"Imathia","GR54":"Thessaloniki","GR55":"Kavalla","GR56":"Kastoria","GR57":"Kilkis","BSFC":"Fresh Creek","GR58":"Kozani","GR59":"Pella","MK60":"Peh\u010devo","MK61":"Plasnica","MK62":"Prilep","PEMOQ":"Moquegua","BSFP":"Freeport","MK63":"Probi\u0161tip","AZSAB":"Sabirabad","MK64":"Radovi\u0161","label.myProfile.businessPartner":"IBM Business Partner","MK65":"Rankovce","AZSAD":"S\xe4d\xe4r\xe4k","MK66":"Resen","MK67":"Rosoman","MK68":"Saraj","MK69":"Sveti Nikole","AZSAH":"Sahbuz","AZSAK":"S\xe4ki","AZSAL":"Salyan","GR61":"Pieria","GR62":"Serrai","GR63":"Florina","GR64":"Chalkidiki","AZSAR":"S\xe4rur","AZSAT":"Saatli","PKNA":"Northern Areas","GR69":"Agio Oros","BSGH":"Governor\'s Harbour","MK70":"Sopi\u0161te","MK71":"Staro Nagori\u010dane","MK72":"Struga","RUPNZ":"Penzenskaya oblast\'","MK73":"Strumica","MK74":"Studeni\u010dani","MK75":"Tearce","MK76":"Tetovo","BSGT":"Green Turtle Cay","MK77":"Centar","MK78":"Centar \u017dupa","fr-CA":"Canadian French","CZ611":"Havl\xed\u010dk\u016fv Brod","MK79":"\u010cair","CZ612":"Jihlava","CZ613":"Pelh\u0159imov","CZ614":"T\u0159eb\xed\u010d","CZ615":"\u017dd\u2019\xe1r nad S\xe1zavou","PKNW":"North-West Frontier","GR71":"Evros","GR72":"Xanthi","GR73":"Rodopi","YEHD":"Hadramawt","AZBAB":"Bab\xe4k","SLE":"Eastern","YEHJ":"Hajjah","ETAA":"Addis Ababa","BSHI":"Harbour Island","ETAF":"Afar","AZBAL":"Balak\xe4n","SLN":"Northern","MK80":"\u010ca\u0161ka","DZ01":"Adrar","MK81":"\u010ce\u0161inovo-Oble\u0161evo","DZ02":"Chlef","MK82":"\u010cu\u010der Sandevo","DZ03":"Laghouat","MK83":"\u0160tip","YEHU":"Al Hudaydah","DZ04":"Oum el Bouaghi","AZBAR":"B\xe4rd\xe4","SLS":"Southern","MK84":"\u0160uto Orizari","DZ05":"Batna","ETAM":"Amara","BSHR":"High Rock","DZ06":"B\xe9ja\xefa","DZ07":"Biskra","DZ08":"B\xe9char","SLW":"Western Area","CZ621":"Blansko","DZ09":"Blida","CZ622":"Brno-m\u011bsto","CZ623":"Brno-venkov","CZ624":"B\u0159eclav","CZ625":"Hodon\xedn","RUYAN":"Yamalo-Nenetskiy avtonomnyy okrug","CZ626":"Vy\u0161kov","label.searchResult.attribute.countryDisplayValue":"Country:","GR81":"Dodekanisos","CZ627":"Znojmo","GR82":"Kyklades","YEIB":"Ibb","GR83":"Lesvos","GR84":"Samos","RUYAR":"Yaroslavskaya oblast\'","GR85":"Chios","BFBAL":"Bal\xe9","BFBAM":"Bam","BFBAN":"Banwa","PKPB":"Punjab","label.contactInformation.preferredLanguage":"Preferred language:","ETBE":"Benshangul-Gumaz","GBIOS":"Isles of Scilly","DZ10":"Bouira","DZ11":"Tamanghasset","BSIN":"Inagua","GBIOW":"Isle of Wight","DZ12":"T\xe9bessa","BFBAZ":"Baz\xe8ga","DZ13":"Tlemcen","DZ14":"Tiaret","DZ15":"Tizi Ouzou","DZ16":"Alger","DZ17":"Djelfa","label.contactInformation.contactme.linkedin":"LinkedIn","DZ18":"Jijel","DZ19":"S\xe9tif","GQWN":"Wele-Nz\xe1s","GR91":"Irakleion","YEJA":"Al Jawf","GR92":"Lasithion","GR93":"Rethymnon","GR94":"Chania","CVMA":"Maio","MN035":"Orhon","MN037":"Darhan uul","DZ20":"Sa\xefda","DZ21":"Skikda","MN039":"Hentiy","CVMO":"Mosteiros","DZ22":"Sidi Bel Abb\xe8s","DZ23":"Annaba","label.advanced.searchForm.attribute.extattr.hmstateprov":"State:","DZ24":"Guelma","DZ25":"Constantine","DZ26":"M\xe9d\xe9a","DZ27":"Mostaganem","DZ28":"Msila","DZ29":"Mascara","RUPRI":"Primorskiy kray","BSKB":"Kemps Bay","MN041":"H\xf6vsg\xf6l","fr-FR":"French ","label.advanced.searchForm.attribute.extattr.wrkoffice":"Phone:","MATAO":"Taounate","MN043":"Hovd","ETDD":"Dire Dawa","MATAR":"Taroudannt","MN046":"Uvs","MN047":"T\xf6v","DZ30":"Ouargla","label.contactInformation.contactme.ibmprofile":"IBM profile","MATAT":"Tata","DZ31":"Oran","label.contactInformation.extattr.Personal_System_Code_(PSC)":"PSC:","MN049":"Selenge","DZ32":"El Bayadh","DZ33":"Illizi","DZ34":"Bordj Bou Arr\xe9ridj","GBRCC":"Redcar and Cleveland","DZ35":"Boumerd\xe8s","BFSEN":"S\xe9no","DZ36":"El Tarf","MATAZ":"Taza","DZ37":"Tindouf","DZ38":"Tissemsilt","DZ39":"El Oued","GBRCH":"Rochdale","BJZO":"Zou","profile.edit.error.wstate":"Invalid Work State. Please make sure it doesn\'t contain following characters \x3c,\x3e,$.","YELA":"Lahij","RUPSK":"Pskovskaya oblast\'","GBRCT":"Rhondda, Cynon, Taff","GBABD":"Aberdeenshire","GBABE":"Aberdeen City","MN051":"S\xfchbaatar","PKSD":"Sind","MN053":"\xd6mn\xf6govi","BSLI":"Long Island","MN055":"\xd6v\xf6rhangay","MN057":"Dzavhan","DZ40":"Khenchela","DZ41":"Souk Ahras","MN059":"Dundgovi","DZ42":"Tipaza","DZ43":"Mila","GBRDB":"Redbridge","BOB":"El Beni","DZ44":"A\xefn Defla","BOC":"Cochabamba","DZ45":"Naama","DZ46":"A\xefn T\xe9mouchent","DZ47":"Gharda\xefa","DZ48":"Relizane","GBRDG":"Reading","BOH":"Chuquisaca","AZBEY":"Beyl\xe4qan","BOL":"La Paz","YEMA":"Ma\'rib","BON":"Pando","MACAS":"Casablanca","BOO":"Oruro","BOP":"Potos\xed","CVPA":"Paul","BOS":"Santa Cruz","BOT":"Tarija","RUYEV":"Yevreyskaya avtonomnaya oblast\'","GBISL":"Islington","PKTA":"Federally Administered Tribal Areas","MN061":"Dornod","BSMG":"Mayaguana","BSMH":"Marsh Harbour","MN063":"Dornogovi","MN064":"Govi-S\xfcmber","MN065":"Govi-Altay","MN067":"Bulgan","YEMR":"Al Mahrah","CVPN":"Porto Novo","MN069":"Bayanhongor","label.associatedInformation.pronunciation":"Pronunciation","CVPR":"Praia","YEMW":"Al Mahwit","label.advanced.searchForm.attribute.email":"Email:","TTRCM":"Rio Claro-Mayaro","AOBGO":"Bengo","label.contactInformation.extattr.wrkextnnumber":"Extension:","AOBGU":"Benguela","BSNB":"Nicholls Town and Berry Islands","ETGA":"Gambela Peoples","MN071":"Bayan-\xd6lgiy","MN073":"Arhangay","label.advanced.searchForm.attribute.background":"Background:","BSNP":"New Providence","SM01":"Acquaviva","SM02":"Chiesanuova","NZNSN":"Nelson","SM03":"Domagnano","SM04":"Faetano","SM05":"Fiorentino","SM06":"Borgo Maggiore","SM07":"San Marino","SM08":"Montegiardino","SM09":"Serravalle","ETHA":"Harari People","GBRFW":"Renfrewshire","MT01":"Attard","CVRG":"Ribeira Grande","BFBGR":"Bougouriba","MT02":"Balzan","AZSIY":"Siy\xe4z\xe4n","MT03":"Birgu","MT04":"Birkirkara","MT05":"Bir\u017cebbu\u0121a","MT06":"Bormla","MT07":"Dingli","MATET":"T\xe9touan","MT08":"Fgura","AOBIE":"Bi\xe9","MT09":"Floriana","BT11":"Paro","BT12":"Chhukha","BT13":"Ha","BT14":"Samtse","BT15":"Thimphu","BFSIS":"Sissili","NZNTL":"Northland","GBIVC":"Inverclyde","CVSD":"S\xe3o Domingos","label.associatedInformation.contactinfo.title.collapse":"Click to collapse the contact information section","MT10":"Fontana","CVSF":"S\xe3o Filipe","MT11":"Gudja","MT12":"G\u017cira","MT13":"G\u0127ajnsielem","MT14":"G\u0127arb","MT15":"G\u0127arg\u0127ur","AZBIL":"Bil\xe4suvar","MT16":"G\u0127asri","HUBA":"Baranya","CVSL":"Sal","MT17":"G\u0127axaq","MT18":"\u0126amrun","HUBC":"B\xe9k\xe9scsaba","CVSN":"S\xe3o Nicolau","STP":"Pr\xedncipe","MT19":"Iklin","HUBE":"B\xe9k\xe9s","BT21":"Tsirang","STS":"Sao Tom\xe9","BT22":"Dagana","BT23":"Punakha","BT24":"Wangdue Phodrang","HUBK":"B\xe1cs-Kiskun","CVSV":"S\xe3o Vicente","KE200":"Central","HUBU":"Budapest","CVTA":"Tarrafal","GBAGB":"Argyll and Bute","AZSKR":"S\xe4mkir","PHNSA":"Northern Samar","MT20":"Isla","HUBZ":"Borsod-Aba\xfaj-Zempl\xe9n","MT21":"Kalkara","MT22":"Ker\u010bem","MT23":"Kirkop","MT24":"Lija","MT25":"Luqa","MT26":"Marsa","MT27":"Marsaskala","MT28":"Marsaxlokk","MT29":"Mdina","BT31":"Sarpang","GBRIC":"Richmond upon Thames","BT32":"Trongsa","BT33":"Bumthang","NZWGN":"Wellington","BT34":"Zhemgang","GBAGY":"Isle of Anglesey","GRA1":"Attiki","HUCS":"Csongr\xe1d","MT30":"Mellie\u0127a","MT31":"M\u0121arr","MT32":"Mosta","MT33":"Mqabba","BSRI":"Ragged Island","MT34":"Msida","MT35":"Mtarfa","MT36":"Munxar","MT37":"Nadur","MT38":"Naxxar","MT39":"Paola","HUDE":"Debrecen","BT41":"Trashigang","BT42":"Monggar","BT43":"Pemagatshel","BSRS":"Rock Sound","BT44":"Lhuentse","BT45":"Samdrup Jongkha","profile.edit.error.suffix":"Invalid Suffix. Please make sure it doesn\'t contain following characters \x3c,\x3e,$","AZSMI":"Samaxi","YESD":"Sa\'dah","HUDU":"Duna\xfajv\xe1ros","YESH":"Shabwah","label.associatedInformation.extattr.businessPartner.yes":"Yes","MT40":"Pembroke","MT41":"Piet\xe0","AZSMX":"Samux","MT42":"Qala","KGB":"Batken","PHNUE":"Nueva Ecija","MT43":"Qormi","KGC":"Chu","YESN":"San\'a\'","MT44":"Qrendi","MT45":"Rabat Gozo","MT46":"Rabat Malta","MT47":"Safi","MT48":"Saint Julian\u2019s","MACHE":"Chefchaouene","MT49":"Saint John","KGJ":"Jalal-Abad","BSSP":"Sandy Point","HUEG":"Eger","BSSR":"San Salvador and Rum Cay","MACHI":"Chichaoua","MATIZ":"Tiznit","KGN":"Naryn","KGO":"Osh","KH1":"Banteay Mean Chey","KH2":"Baat Dambang","KH3":"Kampong Chaam","BFSMT":"Sanmatenga","LYAJ":"Ajdabiya","KH4":"Kampong Chhnang","PHNUV":"Nueva Vizcaya","KGT":"Talas","KH5":"Kampong Spueu","KH6":"Kampong Thum","BFBLG":"Boulgou","YETA":"Ta\'izz","KH7":"Kampot","KH8":"Kandaal","KH9":"Kaoh Kong","KGY":"Ysyk-K\xf6l","BFBLK":"Boulkiemd\xe9","MT50":"Saint Lawrence","MT51":"Saint Paul\u2019s Bay","MT52":"Sannat","label.associatedInformation.description.title.expand":"Click to expand the About Me section","MT53":"Saint Lucia\u2019s","MT54":"Santa Venera","MT55":"Si\u0121\u0121iewi","BFSNG":"Sangui\xe9","MT56":"Sliema","MT57":"Swieqi","PW100":"Kayangel","MT58":"Ta\u2019 Xbiex","MT59":"Tarxien","LYBA":"Banghazi","HUFE":"Fej\xe9r","LYBU":"Al Butnan","label.advanced.searchForm.attribute.shift":"Shift:","MT60":"Valletta","MT61":"Xag\u0127ra","LYBW":"Bani Walid","MT62":"Xewkija","KN01":"Christ Church Nichola Town","MT63":"Xg\u0127ajra","KN02":"Saint Anne Sandy Point","MT64":"\u017babbar","KN03":"Saint George Basseterre","MT65":"\u017bebbu\u0121 Gozo","KN04":"Saint George Gingerland","MT66":"\u017bebbu\u0121 Malta","KN05":"Saint James Windward","MT67":"\u017bejtun","KIG":"Gilbert Islands","KN06":"Saint James Capistere","MT68":"\u017burrieq","KN07":"Saint John Figtree","KN08":"Saint Mary Cayon","KN09":"Saint Paul Capisterre","BFSOM":"Soum","label.advanced.searchForm.attribute.mobileNumber":"Mobile Number:","KIL":"Line Islands","NZWKO":"Waikato","KIP":"Phoenix Islands","BFSOR":"Sourou","label.contactInformation.extattr.workaddresslabel":"Work","HUGS":"Gy\xf3r-Moson-Sopron","HUGY":"Gy\xf3r","KN10":"Saint Paul Charlestown","KN11":"Saint Peter Basseterre","KN12":"Saint Thomas Lowland","KN13":"Saint Thomas Middle Island","KN15":"Trinity Palmetto Point","HUHB":"Hajd\xfa-Bihar","HUHE":"Heves","ETOR":"Oromia","VN13":"Quang Ninh","VN14":"Hoa Binh","LYDR":"Damah","HUHV":"H\xf3dmez\xf3v\xe1s\xe1rhely","VN15":"Ha Tay","AZKAL":"K\xe4lb\xe4c\xe4r","VN18":"Ninh Binh","BFKAD":"Kadiogo","VN20":"Thai Binh","VN21":"Thanh Hoa","VN22":"Nghe An","VN23":"Ha Tinh","MATNG":"Tanger","VN24":"Quang Binh","VN25":"Quang Tri","GBROT":"Rotherham","VN26":"Thua Thien-Hue","VN27":"Quang Nam","VN28":"Kon Tum","VN29":"Quang Ngai","MATNT":"Tan-Tan","GBANS":"Angus","GBANT":"Antrim","HUJN":"J\xe1sz-Nagykun-Szolnok","VN30":"Gia Lai","VN31":"Binh Dinh","VN32":"Phu Yen","VN33":"Dac Lac","VN34":"Khanh Hoa","VN35":"lam Dong","VN36":"Ninh Thuan","VN37":"Tay Ninh","VN39":"Dong Nai","KMA":"Anjouan","label.advanced.searchForm.attribute.groupwareEmail":"Alternate E-mail:","KMG":"Grande Comore","PW150":"Koror","HUKE":"Kom\xe1rom-Esztergom","LYGD":"Ghadamis","KMM":"Moh\xe9li","HUKM":"Kecskem\xe9t","VN40":"Binh Thuan","VN41":"Long An","VN43":"Ba Ria - Vung Tau","VN44":"An Giang","LYGR":"Gharyan","HUKV":"Kaposv\xe1r","VN45":"Dong Thap","VN46":"Tien Giang","LYGT":"Ghat","MXOAX":"Oaxaca","VN47":"Kien Giang","VN48":"Can Tho","VN49":"Vinh Long","label.socialPages.link.youTube":"YouTube:","USAK":"Alaska","USAL":"Alabama","ETSN":"Southern Nations, Nationalities and Peoples","ETSO":"Somali","USAR":"Arkansas","VN50":"Ben Tre","VN51":"Tra Vinh","VN52":"Soc Trang","VN53":"Bac Can","USAZ":"Arizona","VN54":"Bac Giang","MALAA":"Laayoune","VN55":"Bac Lieu","AZSUS":"Susa","VN56":"Bac Ninh","VN57":"Binh Duong","VN58":"Binh Phuoc","VN59":"Ca Mau","LYHZ":"Al Hizam al Akhdar","ETTI":"Tigrai","MALAR":"Larache","HUMI":"Miskolc","BFKEN":"K\xe9n\xe9dougou","VN60":"Da Nang, thanh pho","VN61":"Hai Duong","VN62":"Hai Phong, thanh pho","VN63":"Ha Nam","VN64":"Ha Noi, thu do","VN65":"Ho Chi Minh, thanh pho","VN66":"Hung Yen","GBARD":"Ards","VN67":"Nam Dinh","VN68":"Phu Tho","VN69":"Thai Nguyen","USCA":"California","GBARM":"Armagh","NO01":"\xd8stfold","NO02":"Akershus","NO03":"Oslo","LYJA":"Al Jabal al Akhdar","NO04":"Hedmark","LYJB":"Jaghbub","NO05":"Oppland","NO06":"Buskerud","NO07":"Vestfold","NO08":"Telemark","USCO":"Colorado","NO09":"Aust-Agder","HUNK":"Nagykanizsa","PLDS":"Dolnoslaskie","LYJI":"Al Jifarah","HUNO":"N\xf3gr\xe1d","USCT":"Connecticut","VN70":"Vinh Phuc","VN71":"Dien Bien","VN72":"Dak Nong","TH10":"Krung Thep Maha Nakhon","VN73":"Hau Giang","TH11":"Samut Prakan","TH12":"Nonthaburi","TH13":"Pathum Thani","TH14":"Phra Nakhon Si Ayutthaya","TH15":"Ang Thong","LYJU":"Al Jufrah","HUNY":"Ny\xedregyh\xe1za","TH16":"Lop Buri","TH17":"Sing Buri","TH18":"Chai Nat","TH19":"Saraburi","USDC":"District of Columbia","USDE":"Delaware","NO10":"Vest-Agder","NO11":"Rogaland","NO12":"Hordaland","NO14":"Sogn og Fjordane","NO15":"M\xf8re og Romsdal","NO16":"S\xf8r-Tr\xf8ndelag","NO17":"Nord-Tr\xf8ndelag","NO18":"Nordland","LYKF":"Al Kufrah","NO19":"Troms","TH20":"Chon Buri","TH21":"Rayong","TH22":"Chanthaburi","TH23":"Trat","GBRUT":"Rutland","AFZAB":"Zabol","TH24":"Chachoengsao","TH25":"Prachin Buri","TTARI":"Arima","TH26":"Nakhon Nayok","TH27":"Sa Kaeo","NZWTC":"West Coast","NO20":"Finnmark","HUPE":"Pest","CFAC":"Ouham","HUPS":"P\xe9cs","TH30":"Nakhon Ratchasima","TH31":"Buri Ram","TH32":"Surin","profile.edit.error.email.duplicate":"Email-Id is already exists.","TH33":"Si Sa Ket","TH34":"Ubon Ratchathani","TH35":"Yasothon","TH36":"Chaiyaphum","TH37":"Amnat Charoen","TH39":"Nong Bua Lam Phu","LYMB":"Al Marqab","CFBB":"Bamingui-Bangoran","USFL":"Florida","FMPNI":"Pohnpei","LYMI":"Misratah","label.myprofile.home":"Home:","LYMJ":"Al Marj","CFBK":"Basse-Kotto","PHWSA":"Western Samar","TH40":"Khon Kaen","TH41":"Udon Thani","LYMQ":"Murzuq","TH42":"Loei","TH43":"Nong Khai","TH44":"Maha Sarakham","TH45":"Roi Et","TH46":"Kalasin","TH47":"Sakon Nakhon","USGA":"Georgia","TH48":"Nakhon Phanom","TH49":"Mukdahan","LYMZ":"Mizdah","RS00":"Beograd","RS01":"Severna Ba\u010dka","RS02":"Srednji Banat","RS03":"Severni Banat","RS04":"Ju\u017eni Banat","RS05":"Zapadna Ba\u010dka","RS06":"Ju\u017ena Ba\u010dka","RS07":"Srem","RS08":"Ma\u010dva","RS09":"Kolubara","LYNL":"Nalut","TH50":"Chiang Mai","TH51":"Lamphun","LYNQ":"An Nuqat al Kahms","TH52":"Lampang","TH53":"Uttaradit","TH54":"Phrae","TH55":"Nan","TH56":"Phayao","TH57":"Chiang Rai","TH58":"Mae Hong Son","HUSD":"Szeged","USHI":"Hawaii","RS10":"Podunavlje","HUSF":"Sz\xe9kesfeh\xe9rv\xe1r","FMYAP":"Yap","RS11":"Brani\u010devo","RS12":"\u0160umadija","HUSH":"Szombathely","RS13":"Pomoravlje","RS14":"Bor","RS15":"Zaje\u010dar","HUSK":"Szolnok","RS16":"Zlatibor","PGCPK":"Chimbu","RS17":"Moravica","RS18":"Ra\u0161ka","HUSN":"Sopron","PGCPM":"Central","RS19":"Rasina","HUSO":"Somogy","nl-NL":"Dutch","HUSS":"Szeksz\xe1rd","TH60":"Nakhon Sawan","HUST":"Salg\xf3tarj\xe1n","TH61":"Uthai Thani","TGC":"Centre","TH62":"Kamphaeng Phet","TH63":"Tak","TH64":"Sukhothai","TH65":"Phitsanulok","TH66":"Phichit","HUSZ":"Szabolcs-Szatm\xe1r-Bereg","TH67":"Phetchabun","USIA":"Iowa","TGK":"Kara","USID":"Idaho","TGM":"Maritime","HUTB":"Tatab\xe1nya","TGP":"Plateaux","LI01":"Balzers","LI02":"Eschen","RS20":"Ni\u0161ava","LI03":"Gamprin","TGS":"Savannes","RS21":"Toplica","LI04":"Mauren","USIL":"Illinois","RS22":"Pirot","LI05":"Planken","RS23":"Jablanica","LI06":"Ruggell","USIN":"Indiana","RS24":"P\u010dinja","LI07":"Schaan","RS25":"Kosovo","LI08":"Schellenberg","RS26":"Pe\u0107","LI09":"Triesen","RS27":"Prizren","RS28":"Kosovska Mitrovica","label.advanced.searchForm.attribute.freeBusyUrl":"Free Busy URL:","RS29":"Kosovo-Pomoravlje","HUTO":"Tolna","TH70":"Ratchaburi","TH71":"Kanchanaburi","CG2":"L\xe9koumou","TH72":"Suphan Buri","TH73":"Nakhon Pathom","TH74":"Samut Sakhon","CG5":"Kouilou","TH75":"Samut Songkhram","TH76":"Phetchaburi","CG7":"Likouala","TH77":"Prachuap Khiri Khan","CG8":"Cuvette","CG9":"Niari","LI10":"Triesenberg","LI11":"Vaduz","BFKMD":"Komondjari","LYQB":"Al Qubbah","THS":"Phatthaya","PLKP":"Kujawsko-pomorskie","BFKMP":"Kompienga","TH80":"Nakhon Si Thammarat","TH81":"Krabi","TH82":"Phangnga","TH83":"Phuket","TH84":"Surat Thani","LYQT":"Al Qatrun","TH85":"Ranong","PLLB":"Lubuskie","TH86":"Chumphon","PLLD":"L\xf3dzkie","HUVA":"Vas","HUVE":"Veszpr\xe9m","HUVM":"Veszpr\xe9m","PLLU":"Lubelskie","USKS":"Kansas","TH90":"Songkhla","USKY":"Kentucky","label.searchResult.attribute.telephoneNumber":"Phone:","TH91":"Satun","TH92":"Trang","TH93":"Phatthalung","TH94":"Pattani","PLMA":"Malopolskie","TH95":"Yala","TH96":"Narathiwat","USLA":"Louisiana","LYSB":"Sabha","LYSH":"Ash Shati","label.contactInformation.telephoneNumber":"Phone:","CFHK":"Haute-Kotto","CFHM":"Haut-Mbomou","BFKOP":"Koulp\xe9logo","PLMZ":"Mazowieckie","BFKOS":"Kossi","BTGA":"Gasa","BFKOT":"Kouritenga","AZTAR":"T\xe4rt\xe4r","LYSR":"Surt","LYSS":"Sabratah Surman","CFHS":"Mamb\xe9r\xe9-Kad\xe9\xef","BFKOW":"Kourw\xe9ogo","USMA":"Massachusetts","USMD":"Maryland","label.contactInformation.extattr.spokenLanguages":"Spoken languages:","USME":"Maine","AOCAB":"Cabinda","USMI":"Michigan","LYTB":"Tarabulus","BFTAP":"Tapoa","USMN":"Minnesota","USMO":"Missouri","CZ711":"Jesen\xedk","CZ712":"Olomouc","CZ713":"Prost\u0115jov","CZ714":"P\u0159erov","USMS":"Mississippi","CZ715":"\u0160umperk","USMT":"Montana","LYTM":"Tarhunah-Masallatah","LYTN":"Tajura wa an Nawahi al Arba","TWKEE":"Keelung","AZCAB":"C\xe4brayil","USNC":"North Carolina","USND":"North Dakota","AZCAL":"C\xe4lilabad","USNE":"Nebraska","USNH":"New Hampshire","USNJ":"New Jersey","PLOP":"Opolskie","USNM":"New Mexico","CZ721":"Krom\u0115\u0159\xed\u017e","CZ722":"Uhersk\xe9 Hradi\u0161t\u0115","CZ723":"Vset\xedn","CZ724":"Zl\xedn","USNV":"Nevada","TMA":"Ahal","TMB":"Balkan","USNY":"New York","TMD":"Dasoguz","KZYUZ":"Ongt\xfcstik Qazaqstan oblysy","PLPD":"Podlaskie","TML":"Lebap","TMM":"Mary","HUZA":"Zala","PLPK":"Podkarpackie","USOH":"Ohio","HUZE":"Zalaegerszeg","PLPM":"Pomorskie","CFKB":"Nana-Gr\xe9bizi","USOK":"Oklahoma","CFKG":"K\xe9mo","USOR":"Oregon","label.associatedInformation.givenName":"First name:","AOCCU":"Cuando-Cubango","GBSAW":"Sandwell","USPA":"Pennsylvania","GBSAY":"South Ayrshire","label.contactInformation.surname":"Surname:","LYWA":"Al Wahah","CFLB":"Lobaye","LYWD":"Wadi al Hayat","profile.edit.error.lname2":"Invalid Last Name. Please make sure it doesn\'t contain following characters \x3c,\x3e,$","label.advanced.searchForm.attribute.extattr.wrkpagerpin":"Pager pin:","COGUA":"Guain\xeda","TWKHH":"Kaohsiung","TWKHQ":"Kaohsiung","GBSCB":"Scottish Borders, The","CFMB":"Mbomou","GBBAS":"Bath and North East Somerset","COGUV":"Guaviare","profile.edit.error.ext":"Invalid Extension. Please make sure it doesn\'t contain following characters \x3c,\x3e,$.","CFMP":"Ombella-Mpoko","GBBBD":"Blackburn with Darwen","AZKUR":"K\xfcrd\xe4mir","label.associatedInformation.biography":"Biography","profile.edit.error.lname":"Please enter last name.","label.contactInformation.mobileNumber":"Mobile number:","PLSK":"Swietokrzyskie","PLSL":"Slaskie","USRI":"Rhode Island","LYYJ":"Yafran-Jadu","CFNM":"Nana-Mamb\xe9r\xe9","USSC":"South Carolina","USSD":"South Dakota","TR1":"Adana","TR2":"Adiyaman","LYZA":"Az Zawiyah","TR3":"Afyon","TR4":"Agri","TR5":"Amasya","TR6":"Ankara","TR7":"Antalya","TR8":"Artvin","TR9":"Aydin","CG11":"Bouenza","CFOP":"Ouham-Pend\xe9","CG12":"Pool","CG13":"Sangha","CG14":"Plateaux","CG15":"Cuvette-Ouest","GBBDF":"Bedfordshire","GBBDG":"Barking and Dagenham","ja-JA":"Japanese","label.jobInformation.deptNumber":"Department number:","USTN":"Tennessee","label.socialPages.links.orderMsg":"Display pages in this order","GBSFK":"Suffolk","label.contactInformation.extattr.workcity":"City:","USTX":"Texas","GBSFT":"Sefton","NZOTA":"Otago","GBBEN":"Brent","CRA":"Alajuela","GBSGC":"South Gloucestershire","CRC":"Cartago","label.associatedInformation.experience.title":"Click to expand or collapse the Background section","CRG":"Guanacaste","CRH":"Heredia","GBBEX":"Bexley","USUT":"Utah","CRL":"Lim\xf3n","CRP":"Puntarenas","BD01":"Bandarban zila","BD02":"Barguna zila","BD03":"Bogra zila","BD04":"Brahmanbaria zila","BD05":"Bagerhat zila","BD06":"Barisal zila","USVA":"Virginia","BD07":"Bhola zila","SVAH":"Ahuachap\xe1n","BD08":"Comilla zila","BD09":"Chandpur zila","label.associatedInformation.experience.title.expand":"Click to expand the Background section","PLWN":"Warminsko-mazurskie","GBBFS":"Belfast","PLWP":"Wielkopolskie","GBSHF":"Sheffield","KE300":"Coast","TTSFO":"San Fernando","USVT":"Vermont","GBSHN":"St. Helens","label.contactInformation.givenName":"Given name:","BD10":"Chittagong zila","GBSHR":"Shropshire","BD11":"Cox\'s Bazar zila","BD12":"Chuadanga zila","BD13":"Dhaka zila","GBBGE":"Bridgend","BD14":"Dinajpur zila","BD15":"Faridpur zila","BD16":"Feni zila","USWA":"Washington","BD17":"Gopalganj zila","BD18":"Gazipur zila","label.advanced.searchForm.attribute.bldgId":"Building ID:","BD19":"Gaibandha zila","CODC":"Distrito Capital de Bogot\xe1","sk-SK":"Slovak","USWI":"Wisconsin","TTSGE":"Sangre Grande","SEAB":"Stockholms l\xe4n","SEAC":"V\xe4sterbottens l\xe4n","CFSE":"Sangha-Mba\xe9r\xe9","label.contactInformation.extattr.suffix":"Suffix:","GBBGW":"Blaenau Gwent","label.advanced.searchForm.attribute.extattr.workcity":"City:","sv-SE":"Swedish","USWV":"West Virginia","USWY":"Wyoming","BD20":"Habiganj zila","SVCA":"Caba\xf1as","BD21":"Jamalpur zila","BD22":"Jessore zila","label.advanced.searchForm.attribute.organizationTitle":"Organization or Company:","BD23":"Jhenaidah zila","BD24":"Jaipurhat zila","ZAEC":"Eastern Cape","BD25":"Jhalakati zila","BD26":"Kishoreganj zila","BD27":"Khulna zila","SVCH":"Chalatenango","BD28":"Kurigram zila","BD29":"Khagrachari zila","label.advanced.searchForm.attribute.experience":"Current work and interests:","SEBD":"Norrbottens l\xe4n","SVCU":"Cuscatl\xe1n","AZAB":"\xc4li Bayramli","TWTAO":"Taoyuan","BD30":"Kushtia zila","BD31":"Lakshmipur zila","BD32":"Lalmonirhat zila","BD33":"Manikganj zila","BD34":"Mymensingh zila","BD35":"Munshiganj zila","BD36":"Madaripur zila","BD37":"Magura zila","BD38":"Moulvibazar zila","BD39":"Meherpur zila","profile.edit.error.hcity":"Invalid Home City. Please make sure it is not blank and doesn\'t contain following characters \x3c,\x3e,$.","GBBIR":"Birmingham","PLZP":"Zachodniopomorskie","ZAFS":"Free State","AZBA":"Baki","profile.edit.error.fax":"Invalid Fax No. Please make sure it doesn\'t contain following characters \x3c,\x3e,$.","CFUK":"Ouaka","TTSIP":"Siparia","KZZAP":"Batys Qazaqstan oblysy","GBSKP":"Stockport","MZMPM":"Maputo","BD40":"Narayanganj zila","BD41":"Netrakona zila","BD42":"Narsingdi zila","label.advanced.searchForm.attribute.countryCode":"Country Code:","BD43":"Narail zila","BD44":"Natore zila","BD45":"Nawabganj zila","label.contactInformation.floor":"Address 2:","BD46":"Nilphamari zila","BD47":"Noakhali zila","BD48":"Naogaon zila","BD49":"Pabna zila","label.contactInformation.contactme.work":"Work phone","ZAGP":"Gauteng","GBSLF":"Salford","GBSLG":"Slough","TTSJL":"San Juan-Laventille","AOCNN":"Cunene","AOCNO":"Cuanza Norte","label.contactInformation.blogUrl.info":"","GBSLK":"South Lanarkshire","BTTY":"Trashi Yangtse","CFVK":"Vakaga","BD50":"Pirojpur zila","BD51":"Patuakhali zila","BD52":"Panchagarh zila","BD53":"Rajbari zila","MRNKC":"Nouakchott","BD54":"Rajshahi zila","AZTOV":"Tovuz","BD55":"Rangpur zila","BD56":"Rangamati zila","BD57":"Sherpur zila","NZGIS":"Gisborne","BD58":"Satkhira zila","label.page.profiles.submitfeedback.title":"Feedback","BD59":"Sirajganj zila","GBBKM":"Buckinghamshire","PW212":"Melekeok","PW214":"Ngaraard","PW218":"Ngarchelong","label.advanced.searchForm.attribute.extattr.workaddrlabel":"Work:","GBBLA":"Ballymena","BD60":"Sylhet zila","BD61":"Sunamganj zila","BD62":"Shariatpur zila","BD63":"Tangail zila","BD64":"Thakurgaon zila","PW222":"Ngardmau","PW224":"Ngatpang","GBSND":"Sunderland","PW226":"Ngchesar","PW227":"Ngeremlengui","PW228":"Ngiwal","KWAH":"Al Ahmadi","GBBLY":"Ballymoney","AZLAC":"La\xe7in","BFCOM":"Como\xe9","AZLAN":"L\xe4nk\xe4ran","GBBMH":"Bournemouth","label.contactInformation.extattr.myCompanyNm":"Company or university:","label.socialPages.comboBox.link.linkedln":"Linkedln","GBSOL":"Solihull","GBSOM":"Somerset","GBBNB":"Banbridge","GBSOS":"Southend-on-Sea","profile.edit.error.wcity":"Invalid Work City. Please make sure it is not blank and doesn\'t contain following characters \x3c,\x3e,$.\t","label.associatedInformation.extattr.ibmEmployee.yes":"Yes","GBBNE":"Barnet","GBBNH":"Brighton and Hove","GBBNS":"Barnsley","AZGA":"G\xe4nc\xe4","label.jobInformation.isManager":"Is manager:","EGMNF":"Al Minufiyah","GBBOL":"Bolton","ZALP":"Limpopo","label.myprofile.spokenLanguages":"Languages i speak:","label.contactInformation.extattr.hmaddrtwo":"Address2:","COPUT":"Putumayo","GBBPL":"Blackpool","EE37":"Harjumaa","KZZHA":"Zhambyl oblysy","label.contactInformation.contactme.other.specify":"if other, please specify:","EE39":"Hiiumaa","TZ01":"Arusha","TZ02":"Dar es Salaam","TZ03":"Dodoma","TZ04":"Iringa","ZAMP":"Mpumalanga","TZ05":"Kagera","TZ06":"Kaskazini Pemba","TZ07":"Kaskazini Unguja","TZ08":"Kigoma","TZ09":"Kilimanjaro","TWCHA":"Changhua","ZANC":"Northern Cape","GBSRY":"Surrey","RUIRK":"Irkutskaya oblast\'","SVLI":"La Libertad","AZLER":"Lerik","EE44":"Ida-Virumaa","BFTUI":"Tui","TZ10":"Kusini Pemba","EE49":"Jogevamaa","TZ11":"Kusini Unguja","TZ12":"Lindi","KWFA":"Al Farwaniyah","TZ13":"Mara","TZ14":"Mbeya","MAMAR":"Marrakech","TZ15":"Mjini Magharibi","label.associatedInformation.extattr.ibmEmployee.no":"No","TZ16":"Morogoro","TZ17":"Mtwara","TZ18":"Mwanza","TZ19":"Pwani","ZANW":"North-West","AOCUS":"Cuanza Sul","BFLER":"L\xe9raba","DJAR":"Arta","GBBRC":"Bracknell Forest","DJAS":"Ali Sabieh","GBBRD":"Bradford","MXGRO":"Guerrero","EE51":"J\xe4rvamaa","AUVIC":"Victoria","AZCUL":"Culfa","EE57":"L\xe4\xe4nemaa","TZ20":"Rukwa","EE59":"L\xe4\xe4ne-Virumaa","SVMO":"Moraz\xe1n","TZ21":"Ruvuma","GBSTB":"Strabane","TZ22":"Shinyanga","TZ23":"Singida","TZ24":"Tabora","GBSTE":"Stoke-on-Trent","TZ25":"Tanga","TZ26":"Manyara","GBSTG":"Stirling","label.associatedInformation.blogUrl":"Blog link:","GBSTH":"Southampton","GBBRY":"Bromley","GBSTN":"Sutton","IQAN":"Al Anbar","GBSTS":"Staffordshire","GBSTT":"Stockton-on-Tees","IQAR":"Arbil","GBSTY":"South Tyneside","EE65":"Polvamaa","EE67":"P\xe4rnumaa","KWHA":"Hawalli","IQBA":"Al Basrah","GBBST":"Bristol, City of","IQBB":"Babil","IQBG":"Baghdad","AZLA":"L\xe4nk\xe4ran","GBKEC":"Kensington and Chelsea","label.contactInformation.contactme.label":"Best way to contact me","EE70":"Raplamaa","GBKEN":"Kent","EE74":"Saaremaa","EE78":"Tartumaa","PHPAM":"Pampanga","PHPAN":"Pangasinan","MXGUA":"Guanajuato","DJDI":"Dikhil","DJDJ":"Djibouti","RUIVA":"Ivanovskaya oblast\'","label.contactInformation.contactme.other":"Other","SVPA":"La Paz","AZMI":"Ming\xe4\xe7evir","LSA":"Maseru","NGAB":"Abia","EE82":"Valgamaa","LSB":"Butha-Buthe","label.associatedInformation.extattr.businessPartner.withoutcolon":"IBM Business Partner","LSC":"Leribe","NGAD":"Adamawa","EE84":"Viljandimaa","LSD":"Berea","LSE":"Mafeteng","EE86":"Vorumaa","LSF":"Mohale\'s Hoek","MAMEK":"Mekn\xe8s","LSG":"Quthing","MAMEL":"A\xeft Melloul","LSH":"Qacha\'s Nek","MM01":"Sagaing","GBSWA":"Swansea","MM02":"Bago","LSJ":"Mokhotlong","NGAK":"Akwa Ibom","MM03":"Magway","KWJA":"Al Jahrah","LSK":"Thaba-Tseka","GBBUR":"Bury","MM04":"Mandalay","GBSWD":"Swindon","MM05":"Tanintharyi","IQDA":"Dahuk","NGAN":"Anambra","MM06":"Yangon","MM07":"Ayeyarwady","label.jobInformation.jobResp":"Job title:","GBSWK":"Southwark","AZNA":"Naftalan","IQDI":"Diyal\xe1","TWTNN":"Tainan","TWTNQ":"Tainan","label.contactInformation.extattr.hmpostal":"Postal code:","IQDQ":"Dhi Qar","label.tooltip.addr":"An address may be left blank. However, if any address information is specified, the address must meet the following requirements:\x3cbr/\x3e\x3col\x3e\x3cli\x3eAt least one address line must contain a value.\x3c/li\x3e\x3cbr/\x3e\x3cli\x3eCity must have a value.\x3c/li\x3e\x3cbr/\x3e\x3cli\x3eState/ Province must have a value.\x3c/li\x3e\x3c/ol\x3e","label.contactInformation.extattr.jobCategory":"Job category:","NGBA":"Bauchi","HNAT":"Atl\xe1ntida","RUAGB":"Aginskiy Buryatskiy avtonomnyy okrug","NGBE":"Benue","MM11":"Kachin","MM12":"Kayah","MM13":"Kayin","MM14":"Chin","AZNX":"Nax\xe7ivan","MM15":"Mon","MM16":"Rakhine","NGBO":"Borno","MM17":"Shan","MUAG":"Agalega Islands","label.tooltip.stprov":"\x3cul\x3e\x3cli\x3eMust be only single-byte characters.\x3c/li\x3e\x3cli\x3eCan include letters and numbers.\x3c/li\x3e\x3cli\x3eIf a state/ province is specified in the address, the country must be included.\x3c/li\x3e\x3c/ul\x3e","NGBY":"Bayelsa","GBKHL":"Kingston upon Hull, City of","KWKU":"Al Kuwayt","profile.edit.job.maxlength":"Maximum of 75 characters","LUD":"Diekirch","LUG":"Grevenmacher","profile.edit.error.displaynamemaxlength":"Display name is not exceed more than 71 characters.","LUL":"Luxembourg","TWTPE":"Taipei","NGCR":"Cross River","HNCH":"Choluteca","HNCL":"Col\xf3n","HNCM":"Comayagua","SVSA":"Santa Ana","TWTPQ":"Taipei","MUBL":"Black River","HNCP":"Cop\xe1n","PGMBA":"Milne Bay","HNCR":"Cort\xe9s","MUBR":"Beau Bassin-Rose Hill","GBKIR":"Kirklees","NGDE":"Delta","SVSM":"San Miguel","SVSO":"Sonsonate","SVSS":"San Salvador","SVSV":"San Vincente","MUCC":"Cargados Carajos Shoals","label.advanced.searchForm.attribute.extattr.hmpostal":"Postal code:","MDBA":"Balti","NGEB":"Ebonyi","NGED":"Edo","SNDB":"Diourbel","MUCU":"Curepipe","SI001":"Ajdovscina","SI002":"Beltinci","SI003":"Bled","SI004":"Bohinj","AOLNO":"Lunda Norte","SI005":"Borovnica","NGEK":"Ekiti","SI006":"Bovec","SI007":"Brda","SI008":"Brezovica","NGEN":"Enugu","SNDK":"Dakar","AD":"Andorra","PHGUI":"Guimaras","SI009":"Brezice","AE":"United Arab Emirates","AF":"Afghanistan","AG":"Antigua and Barbuda","label.contactInformation.extattr.workaddr":"Address1:","AI":"Anguilla","AL":"Albania","AM":"Armenia","AN":"Netherlands Antilles","AO":"Angola","AQ":"Antarctica","AR":"Argentina","HNEP":"El Para\xedso","AS":"American Samoa","AT":"Austria","ZAWC":"Western Cape","AU":"Australia","MDCA":"Cahul","AW":"Aruba","NGFC":"Abuja Capital Territory","AX":"\xc5land Islands","AZ":"Azerbaijan","SI010":"Tisina","SI011":"Celje","SI012":"Cerklje na Gorenjskem","MDCH":"Chisinau","SVUN":"La Uni\xf3n","SI013":"Cerknica","SI014":"Cerkno","SI015":"Crensovci","BA":"Bosnia and Herzegovina","SI016":"Crna na Koroskem","BB":"Barbados","SI017":"Crnomelj","SVUS":"Usulut\xe1n","SI018":"Destrnik","BD":"Bangladesh","SI019":"Divaca","BE":"Belgium","BF":"Burkina Faso","BG":"Bulgaria","BH":"Bahrain","BI":"Burundi","AZSA":"S\xe4ki","BJ":"Benin","MDCU":"Chisinau","BL":"Saint Barth\xe9lemy","BM":"Bermuda","LRBG":"Bong","BN":"Brunei Darussalam","BO":"Bolivia","HNFM":"Francisco Moraz\xe1n","BR":"Brazil","label.contactInformation.courtesyTitle":"Courtesy title:","BS":"Bahamas","LRBM":"Bomi","BT":"Bhutan","AZSM":"Sumqayit","BV":"Bouvet Island","BW":"Botswana","BY":"Belarus","BZ":"Belize","SI020":"Dobrepolje","SI021":"Dobrova-Polhov Gradec","AZSS":"Susa","SI022":"Dol pri Ljubljani","SI023":"Domzale","SI024":"Dornava","SI025":"Dravograd","CA":"Canada","SI026":"Duplek","SI027":"Gorenja vas-Poljane","CC":"Cocos (Keeling) Islands","SI028":"Gorisnica","SNFK":"Fatick","CD":"Congo, The Democratic Republic of the","SI029":"Gornja Radgona","NGGO":"Gombe","CZ801":"Brunt\xe1l","CF":"Central African Republic","HNGD":"Gracias a Dios","CZ802":"Fr\xfddek - M\xedstek","CG":"Congo","CZ803":"Karvin\xe1","CH":"Switzerland","CZ804":"Nov\xfd Ji\u010d\xedn","CI":"C\xf4te d\'Ivoire","RUALT":"Altayskiy kray","CZ805":"Opava","CZ806":"Ostrava - m\u011bsto","CK":"Cook Islands","LAAT":"Attapu","CL":"Chile","CM":"Cameroon","CN":"China","BFLOR":"Loroum","CO":"Colombia","MUFL":"Flacq","CR":"Costa Rica","LRCM":"Grand Cape Mount","TWTTT":"Taitung","CV":"Cape Verde","profile.edit.error.hadd1":"Invalid Home Address1. Please make sure it is not blank and doesn\'t contain following characters \x3c,\x3e,$.","profile.edit.error.hadd2":"Invalid Home Address Two. Please make sure it doesn\'t contain following characters \x3c,\x3e,$","CX":"Christmas Island","CY":"Cyprus","MDED":"Edinet","label.contactInformation.pagerId":"Pager ID:","CZ":"Czech Republic","SI030":"Gornji Grad","SI031":"Gornji Petrovci","SI032":"Grosuplje","SI033":"Salovci","SI034":"Hrastnik","SI035":"Hrpelje-Kozina","label.advanced.searchForm.attribute.preferredFirstName":"First Name:","SI036":"Idrija","SI037":"Ig","LABK":"Bok\xe8o","IQKA":"Karbala\'","SI038":"Ilirska Bistrica","LABL":"Bolikhamxai","label.advanced.searchForm.attribute.extattr.workaddr":"Address1:","SI039":"Ivancna Gorica","DE":"Germany","DJ":"Djibouti","RUAMU":"Amurskaya oblast\'","DK":"Denmark","DM":"Dominica","DO":"Dominican Republic","label.contactInformation.visibility.show":"Show","MUGP":"Grand Port","RUROS":"Rostovskaya oblast\'","DZ":"Algeria","SI040":"Izola/Isola","SI041":"Jesenice","SI042":"Jursinci","SI043":"Kamnik","SI044":"Kanal","AZUCA":"Ucar","LACH":"Champasak","SI045":"Kidricevo","ZAZN":"KwaZulu-Natal","SI046":"Kobarid","AZDAS":"Dask\xe4s\xe4n","SI047":"Kobilje","NGIM":"Imo","EC":"Ecuador","SI048":"Kocevje","SI049":"Komen","HNIB":"Islas de la Bah\xeda","EE":"Estonia","label.contactInformation.contactme.cell":"Cell phone","AZDAV":"D\xe4v\xe4\xe7i","VUSAM":"Sanma","EG":"Egypt","EH":"Western Sahara","label.associatedInformation.extattr.ibmemployee":"IBM Employee:","HNIN":"Intibuc\xe1","ER":"Eritrea","ES":"Spain","ET":"Ethiopia","MDGA":"Gagauzia, Unitate Teritoriala Autonoma (UTAG)","SI050":"Koper/Capodistria","SI051":"Kozje","SI052":"Kranj","SI053":"Kranjska Gora","NGJI":"Jigawa","SI054":"Krsko","SI055":"Kungota","SI056":"Kuzma","SI057":"Lasko","IQMA":"Maysan","SI058":"Lenart","SI059":"Lendava/Lendva","AOLSU":"Lunda Sul","FI":"Finland","FJ":"Fiji","FK":"Falkland Islands (Malvinas)","GBTAM":"Tameside","FM":"Micronesia, Federated States of","FO":"Faroe Islands","FR":"France","IQMU":"Al Muthann\xe1","NGKD":"Kaduna","NGKE":"Kebbi","SI060":"Litija","SI061":"Ljubljana","SI062":"Ljubno","SI063":"Ljutomer","SI064":"Logatec","SI065":"Loska dolina","DJOB":"Obock","GA":"Gabon","SI066":"Loski Potok","GB":"United Kingdom","IQNA":"An Najaf","SI067":"Luce","NGKN":"Kano","SI068":"Lukovica","GD":"Grenada","NGKO":"Kogi","SI069":"Majsperk","GE":"Georgia","GF":"French Guiana","GG":"Guernsey","label.contactInformation.extattr.Customers_Supported":"Customers:","TWTXG":"Taichung","GH":"Ghana","LRGB":"Grand Bassa","GI":"Gibraltar","NGKT":"Katsina","AZXA":"Xank\xe4ndi","PHPLW":"Palawan","IQNI":"Ninawa","GL":"Greenland","NGKW":"Kwara","GM":"Gambia","LRGG":"Grand Gedeh","GN":"Guinea","GP":"Guadeloupe","GQ":"Equatorial Guinea","AOLUA":"Luanda","LRGK":"Grand Kru","TWTXQ":"Taichung","GR":"Greece","GS":"South Georgia and the South Sandwich Islands","GT":"Guatemala","GU":"Guam","NGLA":"Lagos","label.advanced.searchForm.attribute.calendarUrl":"Calendar URL:","GW":"Guinea-Bissau","COHUI":"Huila","GY":"Guyana","SI070":"Maribor","GBCAM":"Cambridgeshire","SNKD":"Kolda","SI071":"Medvode","SI072":"Menges","SI073":"Metlika","CY01":"Lefkosia","SI074":"Mezica","CY02":"Lemesos","SI075":"Miren-Kostanjevica","CY03":"Larnaka","SI076":"Mislinja","CY04":"Ammochostos","SI077":"Moravce","CY05":"Pafos","SI078":"Moravske Toplice","SNKL":"Kaolack","CY06":"Keryneia","label.contactInformation.extattr.language":"Language:","SI079":"Mozirje","HNLE":"Lempira","GBCAY":"Caerphilly","profile.edit.error.wadd1":"Invalid Work Address1. Please make sure it is not blank and doesn\'t contain following characters \x3c,\x3e,$.","HK":"Hong Kong","profile.edit.error.wadd2":"Invalid Work Address Two. Please make sure it doesn\'t contain following characters \x3c,\x3e,$","HM":"Heard Island and McDonald Islands","AZYE":"Yevlax","HN":"Honduras","label.jobInformation.managerUid":"Manager number:","HR":"Croatia","HNLP":"La Paz","label.advanced.searchForm.attribute.blogUrl":"Blog URL:","HT":"Haiti","HU":"Hungary","SI080":"Murska Sobota","SI081":"Muta","VUSEE":"Sh\xe9fa","SI082":"Naklo","SI083":"Nazarje","SNLG":"Louga","SI084":"Nova Gorica","RUARK":"Arkhangel\'skaya oblast\'","SI085":"Novo mesto","SI086":"Odranci","SI087":"Ormoz","SI088":"Osilnica","ID":"Indonesia","SI089":"Pesnica","IE":"Ireland","TR10":"Balikesir","TR11":"Bilecik","TR12":"Bing\xf6l","TR13":"Bitlis","TR14":"Bolu","TR15":"Burdur","IL":"Israel","TR16":"Bursa","IM":"Isle of Man","TR17":"\xc7anakkale","IN":"India","TR18":"\xc7ankiri","IO":"British Indian Ocean Territory","TR19":"\xc7orum","IQ":"Iraq","IS":"Iceland","label.associatedInformation.extattr.profileShowHide":"","IT":"Italy","label.advanced.searchForm.description.jobResp":"E.G. \"Marketing Manager\"","NGNA":"Nassarawa","label.jobInformation.workLocation.state":"State:","TWCYI":"Chiayi","SI090":"Piran/Pirano","SI091":"Pivka","SI092":"Podcetrtek","label.contactInformation.extattr.Department_Name":"Dept name:","NGNI":"Niger","SI093":"Podvelka","SI094":"Postojna","SI095":"Preddvor","SI096":"Ptuj","TWCYQ":"Chiayi","IQQA":"Al Qadisiyah","SI097":"Puconci","SI098":"Race-Fram","SI099":"Radece","JE":"Jersey","TR20":"Denizli","LAHO":"Houaphan","TR21":"Diyarbakir","TR22":"Edirne","TR23":"Elazig","RUAST":"Astrakhanskaya oblast\'","TR24":"Erzincan","TR25":"Erzurum","TR26":"Eskisehir","SNMT":"Matam","JM":"Jamaica","TR27":"Gaziantep","TR28":"Giresun","JO":"Jordan","TR29":"G\xfcm\xfcshane","AOUIG":"U\xedge","JP":"Japan","label.jobInformation.floor":"Floor:","MUMO":"Moka","MDLA":"Lapusna","de-DE":"German             ","GBKTT":"Kingston upon Thames","NGOG":"Ogun","MXPUE":"Puebla","label.advanced.searchForm.attribute.extattr.language":"Language:","NGON":"Ondo","KE":"Kenya","HNOC":"Ocotepeque","TR30":"Hakk\xe2ri","KG":"Kyrgyzstan","TR31":"Hatay","KH":"Cambodia","TR32":"Isparta","NGOS":"Osun","KI":"Kiribati","TR33":"I\xe7el","TR34":"Istanbul","TR35":"Izmir","TR36":"Kars","KM":"Comoros","TR37":"Kastamonu","KN":"Saint Kitts and Nevis","TR38":"Kayseri","NGOY":"Oyo","HNOL":"Olancho","TR39":"Kirklareli","KR":"Korea, Republic of","GBTFW":"Telford and Wrekin","MV01":"Seenu","MV02":"Alif","KW":"Kuwait","MV03":"Lhaviyani","AFJOW":"Jowzjan","MV04":"Vaavu","KY":"Cayman Islands","MV05":"Laamu","KZ":"Kazakhstan","MV07":"Haa Alif","MV08":"Thaa","DJTA":"Tadjoura","LA":"Lao People\'s Democratic Republic","NGPL":"Plateau","LB":"Lebanon","LC":"Saint Lucia","IQSD":"Salah ad Din","TR40":"Kirsehir","AFSAM":"Samangan","TR41":"Kocaeli","TR42":"Konya","LI":"Liechtenstein","TR43":"K\xfctahya","TR44":"Malatya","LK":"Sri Lanka","TR45":"Manisa","AFSAR":"Sar-e Pol","TR46":"Kahramanmaras","TR47":"Mardin","NPBA":"Bagmati","TR48":"Mugla","TR49":"Mus","LR":"Liberia","LS":"Lesotho","LT":"Lithuania","NPBH":"Bheri","LU":"Luxembourg","LRLO":"Lofa","LV":"Latvia","MV12":"Meemu","IQSU":"As Sulaymaniyah","MV13":"Raa","MV14":"Faafu","label.myprofile.contactme":"The best way to contact me is:","LY":"Libyan Arab Jamahiriya","MV17":"Dhaalu","LAKH":"Khammouan","MA":"Morocco","KZAKM":"Aqmola oblysy","MC":"Monaco","MD":"Moldova, Republic of","ME":"Montenegro","MF":"Saint Martin","ME01":"Andrijevica","TR50":"Nevsehir","MUPA":"Pamplemousses","MG":"Madagascar","ME02":"Bar","TR51":"Nigde","KE400":"Eastern","MH":"Marshall Islands","ME03":"Barane","TR52":"Ordu","KZAKT":"Aqt\xf6be oblysy","ME04":"Bijelo Polje","TR53":"Rize","ME05":"Budva","TR54":"Sakarya","MK":"Macedonia, The former Yugoslav Republic of","ME06":"Cetinje","TR55":"Samsun","label.jobInformation.employeeTypeDesc":"Employee type:","ML":"Mali","ME07":"Danilovgrad","TR56":"Siirt","MM":"Myanmar","ME08":"Herceg-Novi","TR57":"Sinop","LRMG":"Margibi","label.jobInformation.departmentTitle":"Department title:","MN":"Mongolia","ME09":"Kola\u0161in","TR58":"Sivas","MO":"Macao","TR59":"Tekirdag","MP":"Northern Mariana Islands","GBTHR":"Thurrock","MQ":"Martinique","MUPL":"Port Louis","MR":"Mauritania","GBKWL":"Knowsley","MS":"Montserrat","MT":"Malta","KZALA":"Almaty","MV20":"Baa","IQTS":"At Ta\'mim","MU":"Mauritius","label.advanced.searchForm.attribute.extattr.wrkextnnumber":"Extension:","LRMO":"Montserrado","AFBAL":"Balkh","MV":"Maldives","AFBAM":"Bamian","MW":"Malawi","MV23":"Haa Dhaalu","MX":"Mexico","MV24":"Shaviyani","MY":"Malaysia","MV25":"Noonu","MZ":"Mozambique","MUPU":"Port Louis","MV26":"Kaafu","MV27":"Gaaf Alif","GBCGN":"Ceredigion","MUPW":"Plaines Wilhems","MV28":"Gaafu Dhaalu","NGRI":"Rivers","MV29":"Gnaviyani","PGMPL":"Morobe","LRMY":"Maryland","NA":"Namibia","PGMPM":"Madang","KZALM":"Almaty oblysy","NC":"New Caledonia","LALM":"Louang Namtha","RURYA":"Ryazanskaya oblast\'","NE":"Niger","ME10":"Kotor","GBCGV":"Craigavon","NF":"Norfolk Island","ME11":"Mojkovac","TR60":"Tokat","NG":"Nigeria","ME12":"Nik\u0161i\u0107","TR61":"Trabzon","MUQB":"Quatre Bornes","LALP":"Louangphabang","MDOR":"Orhei","ME13":"Plav","TR62":"Tunceli","NI":"Nicaragua","ME14":"Pljevlja","TR63":"Sanliurfa","ME15":"Plu\u017eine","TR64":"Usak","ME16":"Podgorica","TR65":"Van","NL":"Netherlands","ME17":"Ro\u017eaje","TR66":"Yozgat","ME18":"\u0160avnik","TR67":"Zonguldak","ME19":"Tivat","TR68":"Aksaray","NO":"Norway","TR69":"Bayburt","LRNI":"Nimba","NP":"Nepal","NR":"Nauru","NPDH":"Dhawalagiri","NU":"Niue","NZ":"New Zealand","label.advanced.searchForm.attribute.extattr.workaddrtwo":"Address2:","label.contactInformation.extattr.hmcountry":"Country:","label.associatedInformation.extattr.prefix":"Prefix:","profile.edit.error.hpostcode":"Invalid Home Postal Code. Please make sure it doesn\'t contain following characters \x3c,\x3e,$.","GBCHS":"Cheshire","NGSO":"Sokoto","HNSB":"Santa B\xe1rbara","ME20":"Ulcinj","ME21":"\u017dabljak","TR70":"Karaman","TR71":"Kirikkale","MXHID":"Hidalgo","TR72":"Batman","TR73":"Sirnak","label.associatedInformation.description":"Current work and interests:","TR74":"Bartin","TR75":"Ardahan","TR76":"Igdir","OM":"Oman","TR77":"Yalova","TR78":"Karab\xfck","TR79":"Kilis","GTAV":"Alta Verapaz","label.socialPages.Information.msg1":"Other social profiles, video channels, or photo albums to share","MURO":"Rodrigues Island","NGTA":"Taraba","MGA":"Toamasina","MURR":"Rivi\xe8re du Rempart","MGD":"Antsiranana","MGF":"Fianarantsoa","PGMRL":"Manus","PA":"Panama","IQWA":"Wasit","MGM":"Mahajanga","SNSL":"Saint-Louis","PE":"Peru","PF":"French Polynesia","TR80":"Osmaniye","MUSA":"Savanne","PG":"Papua New Guinea","TR81":"D\xfczce","PH":"Philippines","MGT":"Antananarivo","PK":"Pakistan","MGU":"Toliara","PL":"Poland","TTCHA":"Chaguanas","PM":"Saint Pierre and Miquelon","PN":"Pitcairn","PGEBR":"East New Britain","AFBDG":"Badghis","GTBV":"Baja Verapaz","PR":"Puerto Rico","PS":"Palestinian Territory","PT":"Portugal","MHALK":"Ailuk","MHALL":"Ailinglapalap","PW":"Palau","PY":"Paraguay","SNTC":"Tambacounda","label.associatedInformation.jobResp":"Job title:","AFBDS":"Badakhshan","SNTH":"Thi\xe8s","QA":"Qatar","fi-FL":"Finnish             ","GTCM":"Chimaltenango","GTCQ":"Chiquimula","LAOU":"Oud\xf4mxai","NPGA":"Gandaki","GBCKF":"Carrickfergus","LAPH":"Ph\xf4ngsali","HNVA":"Valle","GBCKT":"Cookstown","MDSN":"Stinga Nistrului, unitatea teritoriala din","RE":"R\xe9union","MDSO":"Soroca","MHRON":"Rongelap","label.socialPages.comboBox.link.other":"Other","RO":"Romania","LRRI":"Rivercess","label.contactInformation.extattr.Education_(List)":"Education (List):","GBCLD":"Calderdale","RS":"Serbia","RU":"Russian Federation","MDTA":"Taraclia","RW":"Rwanda","GBCLK":"Clackmannanshire","AOMAL":"Malange","label.socialPages.blogTitle.secondary":"Second blog title:","MDTI":"Tighina","SA":"Saudi Arabia","GBCLR":"Coleraine","SB":"Solomon Islands","SC":"Seychelles","SE":"Sweden","NZHKB":"Hawkes\'s Bay","SG":"Singapore","SH":"Saint Helena","SI":"Slovenia","SJ":"Svalbard and Jan Mayen","SK":"Slovakia","SL":"Sierra Leone","SM":"San Marino","SN":"Senegal","GTES":"Escuintla","SO":"Somalia","LRSI":"Sinoe","GBCMA":"Cumbria","SR":"Suriname","GBCMD":"Camden","label.advanced.searchForm.description.profileTags":"Can be used for expertise / skillset search. E.G. \"developer\" or \"javascript\"","ST":"Sao Tome and Principe","AFBGL":"Baghlan","MUVP":"Vacoas-Phoenix","SV":"El Salvador","AZMAS":"Masalli","SZ":"Swaziland","GBCMN":"Carmarthenshire","GBTOB":"Torbay","PEPAS":"Pasco","TC":"Turks and Caicos Islands","TD":"Chad","MDUN":"Ungheni","GBTOF":"Torfaen","TF":"French Southern Territories","ML1":"Kayes","TG":"Togo","ML2":"Koulikoro","TH":"Thailand","ML3":"Sikasso","ML4":"S\xe9gou","TJ":"Tajikistan","ML5":"Mopti","TK":"Tokelau","ML6":"Tombouctou","TL":"Timor-Leste ","ML7":"Gao","TM":"Turkmenistan","ML8":"Kidal","NPJA":"Janakpur","MHJAL":"Jaluit","TN":"Tunisia","TO":"Tonga","TR":"Turkey","AUNSW":"New South Wales","TT":"Trinidad and Tobago","TV":"Tuvalu","TW":"Taiwan","JM01":"Kingston","JM02":"Saint Andrew","TZ":"Tanzania, United Republic of","JM03":"Saint Thomas","JM04":"Portland","JM05":"Saint Mary","JM06":"Saint Ann","JM07":"Trelawny","JM08":"Saint James","UA":"Ukraine","JM09":"Hanover","LASL":"Salavan","NGYO":"Yobe","label.advanced.searchForm.attribute.deptNumber":"Department Number:","UG":"Uganda","KZAST":"Astana","label.contactInformation.extattr.hmcity":"City:","UM":"United States Minor Outlying Islands","NPKA":"Karnali","LASV":"Savannakh\xe9t","RUSAK":"Sakhalinskaya oblast\'","GTGU":"Guatemala","label.advanced.searchForm.attribute.secretaryUserid":"Secretary User ID:","RUSAM":"Samarskaya oblast\'","HNYO":"Yoro","US":"United States","NGZA":"Zamfara","RUSAR":"Saratovskaya oblast\'","JM10":"Westmoreland","JM11":"Saint Elizabeth","UY":"Uruguay","JM12":"Manchester","UZ":"Uzbekistan","JM13":"Clarendon","NPKO":"Kosi","JM14":"Saint Catherine","GBCON":"Cornwall","PW350":"Peleliu","VA":"Holy See (Vatican City State)","VC":"Saint Vincent and the Grenadines","PGEHG":"Eastern Highlands","GBCOV":"Coventry","VE":"Venezuela","MN1":"Ulaanbaatar","VG":"Virgin Islands, British","VI":"Virgin Islands, U.S.","KZATY":"Atyrau oblysy","VN":"Viet Nam","COQUI":"Quind\xedo","GTHU":"Huehuetenango","GBLAN":"Lancashire","VU":"Vanuatu","MHARN":"Arno","SNZG":"Ziguinchor","NPLU":"Lumbini","GBTRF":"Trafford","WF":"Wallis and Futuna","label.contactInformation.visibility.hide":"Hide","NPMA":"Mahakali","GBLBH":"Lambeth","EGWAD":"Al Wadi al Jadid","NPME":"Mechi","WS":"Samoa","MANAD":"Nador","GTIZ":"Izabal","profile.edit.error.wpostcode":"Invalid Work Postal Code. Please make sure it doesn\'t contain following characters \x3c,\x3e,$.","GTJA":"Jalapa","PW370":"Sonsorol","LAVI":"Vientiane","label.contactInformation.alternateLastname":"Alternate last name:","GBLCE":"Leicester","LAVT":"Vientiane","label.advanced.searchForm.attribute.workLocation$state":"State:","NPNA":"Narayani","GTJU":"Jutiapa","GBCRF":"Cardiff","label.contactInformation.contactme.facebook":"Facebook","YE":"Yemen","GBCRY":"Croydon","YT":"Mayotte","MXYUC":"Yucat\xe1n","LAXA":"Xaignabouli","GBLDS":"Leeds","LAXE":"X\xe9kong","MHAUR":"Aur","label.myprofile.ibmemployee.moniker":"Employee","label.advanced.searchForm.attribute.extattr.wrkcountry":"Country:","LAXI":"Xiangkhoang","GBCSR":"Castlereagh","ZA":"South Africa","LAXN":"Xais\xf4mboun","GBLEC":"Leicestershire","MAERR":"Errachidia","ZM":"Zambia","KGGB":"Bishkek","ZW":"Zimbabwe","GBLEW":"Lewisham","RUBEL":"Belgorodskaya oblast\'","MAESI":"Essaouira","CHAG":"Aargau","MAESM":"Es Smara","CHAI":"Appenzell Innerrhoden","radio.advanced.searchForm.businessPartner.value2":"Search IBM Business Partner profiles only","SG01":"Central Singapore","CHAR":"Appenzell Ausserrhoden","SG02":"North East","SG03":"North West","SG04":"South East","UM67":"Johnston Atoll","SG05":"South West","label.advanced.searchForm.description.organizationTitle":"E.G \"IBM\" or \"Sales\"","ECA":"Azuay","ECB":"Bol\xedvar","ECC":"Carchi","ECD":"Orellana","AFKAB":"Kabul","PEPIU":"Piura","ECE":"Esmeraldas","CHBE":"Bern","ECF":"Ca\xf1ar","ECG":"Guayas","GBTWH":"Tower Hamlets","label.associatedInformation.extattr.businessPartner":"IBM Business Partner:","zh-CN":"Simplified Chinese","ECH":"Chimborazo","label.advanced.searchForm.description.displayName":"First or Last Name E.G. \"Jane\" or \"Doe\"","ECI":"Imbabura","ECL":"Loja","TTTUP":"Tunapuna-Piarco","CHBL":"Basel-Landschaft","ECM":"Manab\xed","ECN":"Napo","NPRA":"Rapti","ECO":"El Oro","UM71":"Midway Islands","VEA":"Distrito Capital","ECP":"Pichincha","AFKAN":"Kandahar","VEB":"Anzo\xe1tegui","VEC":"Apure","ECR":"Los R\xedos","AFKAP":"Kapisa","VED":"Aragua","ECS":"Morona-Santiago","CHBS":"Basel-Stadt","VEE":"Barinas","ECT":"Tungurahua","UM76":"Navassa Island","VEF":"Bol\xedvar","ECU":"Sucumb\xedos","VEG":"Carabobo","VEH":"Cojedes","ECW":"Gal\xe1pagos","UM79":"Wake Island","VEI":"Falc\xf3n","ECX":"Cotopaxi","VEJ":"Gu\xe1rico","ECY":"Pastaza","VEK":"Lara","ECZ":"Zamora-Chinchipe","VEL":"M\xe9rida","VEM":"Miranda","VEN":"Monagas","VEO":"Nueva Esparta","VEP":"Portuguesa","label.contactInformation.extattr.homeaddresslabel":"Home ","TTCTT":"Couva-Tabaquite-Talparo","VER":"Sucre","VES":"T\xe1chira","VET":"Trujillo","VEU":"Yaracuy","VEV":"Zulia","VEW":"Dependencias Federales","VEX":"Vargas","VEY":"Delta Amacuro","VEZ":"Amazonas","NPSA":"Sagarmatha","UM81":"Baker Island","SOAW":"Awdal","UM84":"Howland Island","NPSE":"Seti","UM86":"Jarvis Island","UM89":"Kingman Reef","label.advanced.searchForm.attribute.description":"Description:","label.jobInformation.countryCode":"Country code:","GD01":"Saint Andrew","GD02":"Saint David","GD03":"Saint George","GD04":"Saint John","label.advanced.searchForm.attribute.nativeFirstName":"Native First Name:","GTPE":"Pet\xe9n","GD05":"Saint Mark","GD06":"Saint Patrick","SOBK":"Bakool","SOBN":"Banaadir","GBCWY":"Conwy","SOBR":"Bari","GTPR":"El Progreso","profile.edit.error.pag":"Invalid Pager No. Please make sure it doesn\'t contain following characters \x3c,\x3e,$.","SOBY":"Bay","UM95":"Palmyra Atoll","PGEPW":"Enga","GBLIN":"Lincolnshire","PYASU":"Asunci\xf3n","GD10":"Southern Grenadine Islands","GBLIV":"Liverpool","GTQC":"Quich\xe9","label.advanced.searchForm.attribute.jobResp":"Job Title:","FR01":"Ain","FR02":"Aisne","FR03":"Allier","FR04":"Alpes-de-Haute-Provence","FR05":"Hautes-Alpes","FR06":"Alpes-Maritimes","FR07":"Ard\xe8che","FR08":"Ardennes","FR09":"Ari\xe8ge","GTQZ":"Quetzaltenango","PGNCD":"National Capital District","SI100":"Radenci","AFKDZ":"Kondoz","SI101":"Radlje ob Dravi","SI102":"Radovljica","SI103":"Ravne na Koroskem","LK11":"Colombo","SI104":"Ribnica","LK12":"Gampaha","GTRE":"Retalhuleu","SI105":"Rogasovci","LK13":"Kalutara","EGC":"Al Qahirah","SI106":"Rogaska Slatina","SI107":"Rogatec","SI108":"Ruse","SI109":"Semic","FR10":"Aube","FR11":"Aude","FR12":"Aveyron","FR13":"Bouches-du-Rh\xf4ne","FR14":"Calvados","FR15":"Cantal","CHFR":"Fribourg","FR16":"Charente","FR17":"Charente-Maritime","FR18":"Cher","FR19":"Corr\xe8ze","profile.edit.error.email":"Invalid E-mail. Please make sure it is not blank and doesn\'t contain following characters \x3c,\x3e,$.","SI110":"Sevnica","GTSA":"Sacatep\xe9quez","SI111":"Sezana","WSAA":"A\'ana","SI112":"Slovenj Gradec","SI113":"Slovenska Bistrica","LK21":"Kandy","SI114":"Slovenske Konjice","LK22":"Matale","SI115":"Starse","LK23":"Nuwara Eliya","SI116":"Sveti Jurij","SI117":"Sencur","SI118":"Sentilj","CHGE":"Gen\xe8ve","SI119":"Sentjernej","GTSM":"San Marcos","WSAL":"Aiga-i-le-Tai","AOMOX":"Moxico","GTSO":"Solol\xe1","CHGL":"Glarus","FR21":"C\xf4te-d\'Or","FR22":"C\xf4tes-d\'Armor","GTSR":"Santa Rosa","FR23":"Creuse","FR24":"Dordogne","FR25":"Doubs","GTSU":"Suchitep\xe9quez","WSAT":"Atua","CHGR":"Graub\xfcnden","FR26":"Dr\xf4me","FR27":"Eure","RUSMO":"Smolenskaya oblast\'","FR28":"Eure-et-Loir","PGESW":"East Sepik","FR29":"Finist\xe8re","label.advanced.searchForm.attribute.preferredLanguage":"Preferred Language:","SI120":"Sentjur pri Celju","SI121":"Skocjan","FR2A":"Corse-du-Sud","SI122":"Skofja Loka","FR2B":"Haute-Corse","SI123":"Skofljica","LK31":"Galle","SI124":"Smarje pri Jelsah","LK32":"Matara","SI125":"Smartno ob Paki","LK33":"Hambantota","SI126":"Sostanj","LBAK":"Aakk\xe2r","SI127":"Store","jobFunc":"JobFunc","SI128":"Tolmin","SI129":"Trbovlje","GTTO":"Totonicap\xe1n","LBAS":"Liban-Nord","FR30":"Gard","FR31":"Haute-Garonne","FR32":"Gers","FR33":"Gironde","FR34":"H\xe9rault","FR35":"Ille-et-Vilaine","FIAL":"Ahvenanmaan l\xe4\xe4ni","FR36":"Indre","BFMOU":"Mouhoun","FR37":"Indre-et-Loire","json.error.email":"Invaild email parameter value.","FR38":"Is\xe8re","FR39":"Jura","MZA":"Niassa","MZB":"Manica","LBBA":"Beyrouth","SOGA":"Galguduud","SI130":"Trebnje","SI131":"Trzic","MZG":"Gaza","GBLMV":"Limavady","SOGE":"Gedo","SI132":"Turnisce","SI133":"Velenje","MZI":"Inhambane","LK41":"Jaffna","LBBH":"Baalbek-Hermel","KH10":"Kracheh","SI134":"Velike Lasce","LK42":"Kilinochchi","LBBI":"B\xe9qaa","KH11":"Mondol Kiri","SI135":"Videm","LK43":"Mannar","KH12":"Phnom Penh","SI136":"Vipava","MZL":"Maputo","LK44":"Vavuniya","KH13":"Preah Vihear","SI137":"Vitanje","LK45":"Mullaittivu","KH14":"Prey Veaeng","SI138":"Vodice","MZN":"Nampula","KH15":"Pousaat","SI139":"Vojnik","label.associatedInformation.description.info":"(The content of this field cannot exceed 1,500 characters)","KH16":"Rotanak Kiri","MZP":"Cabo Delgado","KH17":"Siem Reab","MZQ":"Zamb\xe9zia","KH18":"Krong Preah Sihanouk","KH19":"Stueng Traeng","MZS":"Sofala","MZT":"Tete","GBLND":"London, City of","FR40":"Landes","FR41":"Loir-et-Cher","FR42":"Loire","FR43":"Haute-Loire","FR44":"Loire-Atlantique","FR45":"Loiret","AFKHO":"Khowst","FR46":"Lot","FR47":"Lot-et-Garonne","FR48":"Loz\xe8re","FR49":"Maine-et-Loire","SI140":"Vrhnika","SI141":"Vuzenica","VUTAE":"Taf\xe9a","SI142":"Zagorje ob Savi","SI143":"Zavrc","LK51":"Batticaloa","KH20":"Svaay Rieng","SI144":"Zrece","LK52":"Ampara","KH21":"Taakaev","LK53":"Trincomalee","SOHI":"Hiiraan","KH22":"Otdar Mean Chey","SI146":"Zelezniki","KH23":"Krong Kaeb","SI147":"Ziri","KH24":"Krong Pailin","SI148":"Benedikt","SI149":"Bistrica ob Sotli","RUSPE":"Sankt-Peterburg","label.advanced.searchForm.attribute.secretaryEmail":"Secretary E-mail:","FR50":"Manche","FR51":"Marne","FR52":"Haute-Marne","FR53":"Mayenne","FR54":"Meurthe-et-Moselle","FR55":"Meuse","FR56":"Morbihan","FR57":"Moselle","FR58":"Ni\xe8vre","CHJU":"Jura","FR59":"Nord","MXZAC":"Zacatecas","KZSEV":"Solt\xfcstik Qazaqstan oblysy","SI150":"Bloke","SI151":"Braslovce","SI152":"Cankova","VN1":"Lai Chau","SI153":"Cerkvenjak","LK61":"Kurunegala","VN2":"Lao Cai","SI154":"Dobje","LK62":"Puttalam","VN3":"Ha Giang","SI155":"Dobrna","VN4":"Cao Bang","SI156":"Dobrovnik/Dobronak","VN5":"Son La","SI157":"Dolenjske Toplice","VN6":"Yen Bai","SI158":"Grad","VN7":"Tuyen Quang","SI159":"Hajdina","VN9":"Lang Son","FR60":"Oise","FR61":"Orne","FR62":"Pas-de-Calais","FR63":"Puy-de-D\xf4me","FR64":"Pyr\xe9n\xe9es-Atlantiques","FR65":"Hautes-Pyr\xe9n\xe9es","FR66":"Pyr\xe9n\xe9es-Orientales","FR67":"Bas-Rhin","FR68":"Haut-Rhin","FR69":"Rh\xf4ne","RUKAM":"Kamchatskiy kray","SI160":"Ho\u010de-Slivnica","SOJD":"Jubbada Dhexe","SI161":"Hodo\u0161/Hodos","WSFA":"Fa\'asaleleaga","SI162":"Horjul","SI163":"Jezersko","LK71":"Anuradhapura","SI164":"Komenda","PGNIK":"New Ireland","LK72":"Polonnaruwa","SOJH":"Jubbada Hoose","SI165":"Kostel","SI166":"Krizevci","SI167":"Lovrenc na Pohorju","SI168":"Markovci","SI169":"Miklavz na Dravskem polju","FR70":"Haute-Sa\xf4ne","FR71":"Sa\xf4ne-et-Loire","FR72":"Sarthe","FR73":"Savoie","FR74":"Haute-Savoie","FR75":"Paris","FR76":"Seine-Maritime","FR77":"Seine-et-Marne","FR78":"Yvelines","CHLU":"Luzern","FR79":"Deux-S\xe8vres","profile.edit.error.pin":"Invalid Pin No. Please make sure it doesn\'t contain following characters \x3c,\x3e,$.","FIES":"Etel\xe4-Suomen l\xe4\xe4ni","GBDAL":"Darlington","SI170":"Mirna Pec","SI171":"Oplotnica","SI172":"Podlehnik","SI173":"Polzela","LK81":"Badulla","SI174":"Prebold","LK82":"Monaragala","SI175":"Prevalje","WSGE":"Gaga\'emauga","SI176":"Razkrizje","SI177":"Ribnica na Pohorju","SI178":"Selnica ob Dravi","SI179":"Sodrazica","WSGI":"Gagaifomauga","TWMIA":"Miaoli","FR80":"Somme","FR81":"Tarn","FR82":"Tarn-et-Garonne","FR83":"Var","FR84":"Vaucluse","FR85":"Vend\xe9e","FR86":"Vienne","FR87":"Haute-Vienne","FR88":"Vosges","FR89":"Yonne","GBLRN":"Larne","SI180":"Solcava","PEPUN":"Puno","GTZA":"Zacapa","SI181":"Sveta Ana","SI182":"Sveti Andraz v Slovenskih goricah","SI183":"Sempeter-Vrtojba","LK91":"Ratnapura","SI184":"Tabor","LK92":"Kegalla","SI185":"Trnovska vas","SI186":"Trzin","SI187":"Velika Polana","SI188":"Verzej","CHNE":"Neuch\xe2tel","SI189":"Vransko","RUSTA":"Stavropol\'skiy kray","GBDBY":"Derbyshire","GBLSB":"Lisburn","FR90":"Territoire de Belfort","FR91":"Essonne","FR92":"Hauts-de-Seine","RUKDA":"Krasnodarskiy kray","FR93":"Seine-Saint-Denis","RUBRY":"Bryanskaya oblast\'","CI01":"Lagunes","FR94":"Val-de-Marne","CI02":"Haut-Sassandra","FR95":"Val-d\'Oise","CI03":"Savanes","CI04":"Vall\xe9e du Bandama","CI05":"Moyen-Como\xe9","CI06":"18 Montagnes","CI07":"Lacs","CHNW":"Nidwalden","CI08":"Zanzan","CI09":"Bas-Sassandra","SI190":"Zalec","SI191":"Zetale","SI192":"Zirovnica","SI193":"Zuzemberk","SI194":"Smartno pri Litiji","label.socialPages.link.linkedln":"Linkedln:","SOMU":"Mudug","CI10":"Dengu\xe9l\xe9","CI11":"Nzi-Como\xe9","CI12":"Marahou\xe9","CI13":"Sud-Como\xe9","CI14":"Worodougou","CI15":"Sud-Bandama","AFKNR":"Konar","CI16":"Agn\xe9bi","CI17":"Bafing","CHOW":"Obwalden","CI18":"Fromager","CI19":"Moyen-Cavally","PHZAN":"Zamboanga del Norte","CORIS":"Risaralda","RUKEM":"Kemerovskaya oblast\'","PHZAS":"Zamboanga del Sur","MXQUE":"Quer\xe9taro","label.contactInformation.extattr.hmaddr":"Address1:","RUSVE":"Sverdlovskaya oblast\'","SONU":"Nugaal","label.advanced.searchForm.attribute.extattr.businessPartner":"IBM Business Partner:","LBJA":"Liban-Sud","FIIS":"It\xe4-Suomen l\xe4\xe4ni","label.jobInformation.workLocation.city":"City:","GBLUT":"Luton","GBDEN":"Denbighshire","GBDER":"Derby","LBJL":"Mont-Liban","AFTAK":"Takhar","GBDEV":"Devon","radio.associatedInformation.extattr.businessPartner.value1":"Yes","radio.associatedInformation.extattr.businessPartner.value2":"No","label.associatedInformation.description.title":"About Me","RUKGD":"Kaliningradskaya oblast\'","RUKGN":"Kurganskaya oblast\'","ESA":"Alicante","ESB":"Barcelona","ESC":"A Coru\xf1a","NE1":"Agadez","ESH":"Huelva","NE2":"Diffa","KE500":"North-Eastern","NE3":"Dosso","ESJ":"Ja\xe9n","NE4":"Maradi","NE5":"Tahoua","ESL":"Lleida","NE6":"Tillab\xe9ri","ESM":"Madrid","NE7":"Zinder","MAFES":"F\xe8s","NE8":"Niamey","ESO":"Asturias","RUKHA":"Khabarovskiy kray","ESP":"Palencia","ESS":"Cantabria","EST":"Tarragona","ESV":"Valencia","ESZ":"Zaragoza","RUKHM":"Khanty-Mansiyskiy avtonomnyy okrug-Yugra","GBDGN":"Dungannon","label.associatedInformation.blogUrl.info":"","PGNPP":"Northern","CHSG":"Sankt Gallen","CHSH":"Schaffhausen","label.contactInformation.extattr.wrkfaxNumber":"Fax:","GBDGY":"Dumfries and Galloway","CHSO":"Solothurn","zh-TW":"Traditional Chinese","FILL":"Lapin l\xe4\xe4ni","PGWBK":"West New Britain","FILS":"L\xe4nsi-Suomen l\xe4\xe4ni","CHSZ":"Schwyz","BNBE":"Belait","RUKIR":"Kirovskaya oblast\'","BNBM":"Brunei-Muara","CHTG":"Thurgau","CHTI":"Ticino","label.searchResult.attribute.extattr.spokenLanguages":"Languages:","RUAD":"Adygeya, Respublika","PHQUE":"Quezon","COAMA":"Amazonas","LBNA":"Nabat\xeey\xe9","SOSA":"Sanaag","PHQUI":"Quirino","SOSD":"Shabeellaha Dhexe","RUAL":"Altay, Respublika","SOSH":"Shabeellaha Hoose","SOSO":"Sool","CHUR":"Uri","RUBA":"Bashkortostan, Respublika","PGNSA":"North Solomons","hu-HU":"Hungarian","WSPA":"Palauli","MAFIG":"Figuig","TJGB":"Gorno-Badakhshan","CHVD":"Vaud","label.contactInformation.email":"E-mail:","RUBU":"Buryatiya, Respublika","SOTO":"Togdheer","COANT":"Antioquia","FIOL":"Oulun l\xe4\xe4ni","PHIFU":"Ifugao","CHVS":"Valais","RUCE":"Chechenskaya Respublika","label.jobInformation.secretaryEmail":"Assistant e-mail:","KZKAR":"Qaraghandy oblysy","RUKLU":"Kaluzhskaya oblast\'","RUCU":"Chuvashskaya Respublika","EGFYM":"Al Fayyum","label.myprofile.address/location":"Address/location","RUDA":"Dagestan, Respublika","label.advanced.searchForm.attribute.managerUid":"Manager UID:","VUTOB":"Torba","AONAM":"Namibe","CZ101":"Praha 1","CZ102":"Praha 2","CZ103":"Praha 3","CZ104":"Praha 4","CZ105":"Praha 5","CZ106":"Praha 6","CZ107":"Praha 7","CZ108":"Praha 8","CZ109":"Praha 9","WSSA":"Satupa\' itea","CZ10A":"Praha 10","CZ10B":"Praha 11","CZ10C":"Praha 12","CZ10D":"Praha 13","CZ10E":"Praha 14","CZ10F":"Praha 15","SOWO":"Woqooyi Galbeed","BFNAM":"Namentenga","BFNAO":"Nahouri","FRCP":"Clipperton","GBDNC":"Doncaster","GBDND":"Dundee City","label.advanced.searchForm.attribute.isManager":"Is Manager:","BFNAY":"Nayala","COARA":"Arauca","PGWHM":"Western Highlands","RUKOS":"Kostromskaya oblast\'","CHZG":"Zug","label.associatedInformation.extattr.myCompanyNm":"Company or university:","CHZH":"Z\xfcrich","RUTAM":"Tambovskaya oblast\'","WSTU":"Tuamasaga","label.contactInformation.departmentTitle":"Department title:","TJKT":"Khatlon","TTDMN":"Diego Martin","GBDOR":"Dorset","label.socialPages.link.twitter":"Twitter:","GBDOW":"Down","PHZMB":"Zambales","label.contactInformation.ipTelephoneNumber":"IP telephony number:","GBMAN":"Manchester","label.jobInformation.countryDisplayValue":"Country:","WSVF":"Va\' a-o-Fonoti","COATL":"Atl\xe1ntico","QADA":"Ad Dawhah","PHILI":"Iloilo","label.associatedInformation.extattr.suffix":"Suffix:","PHILN":"Ilocos Norte","AZNEF":"Neft\xe7ala","PHILS":"Ilocos Sur","WSVS":"Vaisigano","label.contactInformation.displayName":"Name:","RUIN":"Ingushetiya, Respublika","RUKRS":"Kurskaya oblast\'","label.contactInformation.extattr.hmmobileNumber":"Cell:","LVREZ":"Rezekne","PEHUC":"Hu\xe1nuco","NR01":"Aiwo","NR02":"Anabar","NR03":"Anetan","NR04":"Anibare","NR05":"Baiti","NR06":"Boe","NR07":"Buada","NR08":"Denigomodu","NR09":"Ewa","GBDRY":"Derry","GBMDB":"Middlesbrough","PEHUV":"Huancavelica","RUKB":"Kabardino-Balkarskaya Respublika","RUKC":"Karachayevo-Cherkesskaya Respublika","BEBRU":"Bruxelles-Capitale, Region de","RUKK":"Khakasiya, Respublika","NR10":"Ijuw","RUKL":"Kalmykiya, Respublika","NR11":"Meneng","GBMDW":"Medway","NR12":"Nibok","NR13":"Uaboe","RUKO":"Komi, Respublika","NR14":"Yaren","RUKR":"Kareliya, Respublika","cs-CS":"Czech               ","QAGH":"Al Ghuwayriyah","label.contactInformation.faxNumber":"Fax number:","GBDUD":"Dudley","RUME":"Mariy El, Respublika","GBMFT":"Magherafelt","RUMO":"Mordoviya, Respublika","GBDUR":"Durham","profileurl":"Profile URL","NIAN":"Atlantico Norte","NIAS":"Atlantico Sur","AFLAG":"Laghman","MHKIL":"Kili","PGWPD":"Western","LVRIX":"Riga","PHZSI":"Zamboanga Sibuguey","NIBO":"Boaco","QAJB":"Jariyan al Batnah","TJSU":"Sughd","NICA":"Carazo","PHABR":"Abra","QAJU":"Al Jumayliyah","RUCHE":"Chelyabinskaya oblast\'","PHISA":"Isabela","NICI":"Chinandega","RUCHI":"Chitinskaya oblast\'","MXAGU":"Aguascalientes","NICO":"Chontales","MWBA":"Balaka","RUCHU":"Chukotskiy avtonomnyy okrug","QAKH":"Al Khawr","label.socialPages.comboBox.link.youTube":"YouTube","RUKYA":"Krasnoyarskiy kray","GBMIK":"Milton Keynes","MWBL":"Blantyre","BWCE":"Central","MWCK":"Chikwawa","TWNAN":"Nantou","MWCR":"Chiradzulu","label.advanced.searchForm.attribute.secretaryUid":"Secretary UID:","MWCT":"Chitipa","NIES":"Estel\xed","MWDE":"Dedza","LTAL":"Alytaus Apskritis","MWDO":"Dowa","QAMS":"Madinat ash Shamal","label.duplicate.emailid.page.heading":"ibm.com Community","BNTE":"Temburong","BNTU":"Tutong","RUSA":"Sakha, Respublika (Yakutiya)","COSAN":"Santander","GBMLN":"Midlothian","RUSE":"Severnaya Osetiya- Alaniya, Respublika","COSAP":"San Andr\xe9s, Providencia y Santa Catalina","NIGR":"Granada","BFNOU":"Noumbiel","PHAGN":"Agusan del Norte","RUTA":"Tatarstan, Respublika","PHAGS":"Agusan del Sur","BWGH":"Ghanzi","json.error.login":"No profile associated with this login id.","FJC":"Central","FJE":"Eastern","RUTY":"Tyva, Respublika (Tuva)","FJN":"Northern","PHRIZ":"Rizal","FJR":"Rotuma","RUTOM":"Tomskaya oblast\'","label.advanced.searchForm.attribute.extattr.prefix":"Prefix :","label.advanced.searchForm.attribute.extattr.myCompanyNm":"Company name","RUUD":"Udmurtskaya Respublika","FJW":"Western","label.socialPages.comboBox.link.facebook":"Facebook","CGBZV":"Brazzaville","label.socialPages.comboBox.link.flickr":"Flickr","profile.edit.error.bestway":"Invalid Best way to contact. Please make sure it doesn\'t contain following characters \x3c,\x3e,$","MXROO":"Quintana Roo","profile.edit.error.hstate":"Invalid Home State. Please make sure it doesn\'t contain following characters \x3c,\x3e,$.","label.contactInformation.officeName":"Office:","GBMON":"Monmouthshire","NIJI":"Jinotega","QARA":"Ar Rayyan","label.contactInformation.nativeLastName":"Native last name:","DM02":"Saint Andrew","DM03":"Saint David","label.searchResult.attribute.jobResp":"Title:","DM04":"Saint George","DM05":"Saint John","DM06":"Saint Joseph","DM07":"Saint Luke","DM08":"Saint Mark","label.advanced.searchForm.attribute.managerUserid":"Manager User ID:","DM09":"Saint Patrick","PEICA":"Ica","KZKUS":"Qostanay oblysy","label.contactInformation.extattr.ITN":"ITN:","EGBA":"Al Bahr al Ahmar","DM10":"Saint Paul","EGBH":"Al Buhayrah","DM11":"Saint Peter","PHAKL":"Aklan","MXJAL":"Jalisco","DK015":"K\xf8benhavn","BWKG":"Kgalagadi","NILE":"Le\xf3n","GBEAL":"Ealing","BWKL":"Kgatleng","PHALB":"Albay","BWKW":"Kweneng","GBEAY":"East Ayrshire","DK020":"Frederiksborg","DK025":"Roskilde","MWKR":"Karonga","NIMD":"Madriz","MWKS":"Kasungu","GBMRT":"Merton","GBMRY":"Moray","label.socialPages.blogTitle.primary":"Primary blog title:","NIMN":"Managua","label.socialPages.comboBox.link.moveUp":"Move up","NIMS":"Masaya","NIMT":"Matagalpa","DK030":"Vestsj\xe6lland","MWLI":"Lilongwe","LVJEL":"Jelgava","EGDK":"Ad Daqahliyah","MWLK":"Likoma Island","DK035":"Storstrom","QAUS":"Umm Salal","EGDT":"Dumyat","PHROM":"Romblon","label.advanced.searchForm.attribute.pagerType":"Pager Type:","NINS":"Nueva Segovia","MWMC":"Mchinji","MWMG":"Mangochi","MWMH":"Machinga","DK040":"Bornholm","DK042":"Fyn","RUTUL":"Tul\'skaya oblast\'","BWNE":"North-East","GBEDH":"Edinburgh, City of","PHANT":"Antique","MWMU":"Mulanje","RULEN":"Leningradskaya oblast\'","MWMW":"Mwanza","MWMZ":"Mzimba","label.jobInformation.email":"Office e-mail:","GBMTY":"Merthyr Tydfil","MHKWA":"Kwajalein","QAWA":"Al Wakrah","GBEDU":"East Dunbartonshire","BWNW":"North-West","MWNB":"Nkhata Bay","RUTVE":"Tverskaya oblast\'","DK050":"S\xf8nderjylland","MWNI":"Ntchisi","MWNK":"Nkhotakota","LTKL":"Klaipedos Apskritis","DK055":"Ribe","MWNS":"Nsanje","AFLOW":"Lowgar","MWNU":"Ntcheu","LTKU":"Kauno Apskritis","PHAPA":"Apayao","KZKZY":"Qyzylorda oblysy","CAAB":"Alberta","GBVGL":"Vale of Glamorgan, The","EGGH":"Al Gharbiyah","DK060":"Vejle","BG01":"Blagoevgrad","BG02":"Burgas","MAOUA":"Ouarzazate","BG03":"Varna","DK065":"Ringk\xf8bing","BG04":"Veliko Tarnovo","BG05":"Vidin","MAOUD":"Oued ed Dahab","BG06":"Vratsa","label.advanced.searchForm.attribute.telephoneNumber":"Phone Number:","BG07":"Gabrovo","it-IT":"Italian             ","BG08":"Dobrich","BG09":"Kardzhali","MAOUJ":"Oujda","label.advanced.searchForm.attribute.extattr.alias":"Alias:","EGGZ":"Al Jizah","KE600":"Nyanza","CABC":"British Columbia","MWPH":"Phalombe","DK070":"\xc5rhus","label.contactInformation.pagerNumber":"Pager:","BG10":"Kyustendil","BG11":"Lovech","BG12":"Montana","BG13":"Pazardzhik","BG14":"Pernik","DK076":"Viborg","BG15":"Pleven","BG16":"Plovdiv","BG17":"Razgrad","BG18":"Ruse","LTMR":"Marijampoles Apskritis","BG19":"Silistra","NIRI":"Rivas","SHAC":"Ascension","AFDAY":"Daykondi","DK080":"Nordjylland","BG20":"Sliven","BG21":"Smolyan","BG22":"Sofia-Grad","BG23":"Sofia","BG24":"Stara Zagora","BG25":"Targovishte","label.msg.relievedemployee.heading":"ibm.com Community","BG26":"Haskovo","BG27":"Shumen","NZAUK":"Auckland","BG28":"Yambol","EGIS":"Al Isma`iliyah","RUTYU":"Tyumenskaya oblast\'","RULIP":"Lipetskaya oblast\'","NACA":"Caprivi","NISJ":"R\xedo San Juan","AD02":"Canillo","label.contactInformation.extattr.hmphone":"Phone:","label.associatedInformation.affiliations":"Affiliations","GBMYL":"Moyle","AD03":"Encamp","profile.edit.error.fname2":"Invalid First Name. Please make sure it doesn\'t contain following characters \x3c,\x3e,$","AD04":"La Massana","BWSE":"South-East","AD05":"Ordino","AD06":"Sant Juli\xe0 de L\xf2ria","AD07":"Andorra la Vella","AD08":"Escaldes-Engordany","EGJS":"Janub Sina\xb4","MWRU":"Rumphi","BWSO":"Southern","json.error.emailhide":"Email is hidden in the profile.","MWSA":"Salima","EGKB":"Al Qalyubiyah","GEAB":"Abkhazia","EGKN":"Qina","LTPN":"Panevezio Apskritis","GEAJ":"Ajaria","MWTH":"Thyolo","label.jobInformation.organizationTitle":"Organization:","NAER":"Erongo","PHAUR":"Aurora","label.myprofile.ibmcontractor.moniker":"Contractor","FMKSA":"Kosrae","COBOL":"Bol\xedvar","ALBR":"Berat","label.jobInformation.shift":"Shift:","ALBU":"Bulqiz\xeb","COBOY":"Boyac\xe1","EGMN":"Al Minya","KR11":"Seoul Teugbyeolsi","EGMT":"Matruh","GBELN":"East Lothian","GBELS":"Eilean Siar","LTSA":"Siauliu Apskritis","label.advanced.searchForm.attribute.extattr.hmaddrtwo":"Address2:","CZ201":"Bene\u0161ov","CZ202":"Beroun","CZ203":"Kladno","CZ204":"Kol\xedn","CZ205":"Kutn\xe1 Hora","CZ206":"M\u011bln\xedk","CZ207":"Mlad\xe1 Boleslav","CZ208":"Nymburk","CZ209":"Praha-v\xfdchod","PY10":"Alto Paran\xe1","PY11":"Central","PY12":"Neembuc\xfa","PY13":"Amambay","KR26":"Busan Gwang\'yeogsi","PY14":"Canindey\xfa","CZ20A":"Praha-z\xe1pad","NAHA":"Hardap","KR27":"Daegu Gwang\'yeogsi","PY15":"Presidente Hayes","CZ20B":"P\u0159\xedbram","KR28":"Incheon Gwang\'yeogsi","PY16":"Alto Paraguay","CZ20C":"Rakovn\xedk","KR29":"Gwangju Gwang\'yeogsi","ALDI":"Dib\xebr","PY19":"Boquer\xf3n","ALDL":"Delvin\xeb","LTTA":"Taurages Apskritis","MHLAE":"Lae","PH00":"National Capital Region (Manila)","LTTE":"Telsiu Apskritis","ALDR":"Durr\xebs","ALDV":"Devoll","GBENF":"Enfield","KR30":"Daejeon Gwang\'yeogsi","KR31":"Ulsan Gwang\'yeogsi","label.searchResult.attribute.workLocation.state":"State:","ALEL":"Elbasan","profile.edit.error.company":"Invalid Company Name. Please make sure it doesn\'t contain following characters \x3c,\x3e,$","ALER":"Kolonj\xeb","label.msg.specialcharacter.page.heading":"ibm.com Community","VUMAP":"Malampa","UG101":"Kalangala","UG102":"Kampala","UG103":"Kiboga","UG104":"Luwero","UG105":"Masaka","KR41":"Gyeonggido","UG106":"Mpigi","KR42":"Gang\'weondo","UG107":"Mubende","KR43":"Chungcheongbugdo","LTUT":"Utenos Apskritis","UG108":"Mukono","KR44":"Chungcheongnamdo","UG109":"Nakasongola","KR45":"Jeonrabugdo","KR46":"Jeonranamdo","KR47":"Gyeongsangbugdo","KR48":"Gyeongsangnamdo","KR49":"Jejudo","COSUC":"Sucre","ALFR":"Fier","LTVL":"Vilniaus Apskritis","UG110":"Rakai","UG111":"Sembabule","UG112":"Kayunga","UG113":"Wakiso","UG114":"Mityana","UG115":"Nakaseke","NAKA":"Karas","GBNAY":"North Ayrshire","GEGU":"Guria","ALGJ":"Gjirokast\xebr","NAKH":"Khomas","ALGR":"Gramsh","GBNBL":"Northumberland","NAKU":"Kunene","MWZO":"Zomba","ALHA":"Has","profile.edit.error.displayname":"Please enter display name.","label.associatedInformation.name":"Name","CAMB":"Manitoba","label.searchResult.attribute.email":"Email:","label.socialPages.Information.msgUrl":"Enter your public URLs","GEIM":"Imeret\u2019i","label.advanced.searchForm.attribute.extattr.faxNumber":"Fax:","GBERW":"East Renfrewshire","GBERY":"East Riding of Yorkshire","ITAG":"Agrigento","CANB":"New Brunswick","AZFUZ":"F\xfczuli","ITAL":"Alessandria","GA1":"Estuaire","GA2":"Haut-Ogoou\xe9","ITAN":"Ancona","GA3":"Moyen-Ogoou\xe9","ITAO":"Aosta","GA4":"Ngouni\xe9","ITAP":"Ascoli Piceno","GA5":"Nyanga","ITAQ":"L\'Aquila","GA6":"Ogoou\xe9-Ivindo","CANL":"Newfoundland and Labrador","ITAR":"Arezzo","GA7":"Ogoou\xe9-Lolo","OMBA":"Al Batinah","LVJUR":"Jurmala","GBNDN":"North Down","GA8":"Ogoou\xe9-Maritime","ITAT":"Asti","GA9":"Woleu-Ntem","ITAV":"Avellino","MXBCN":"Baja California","CANS":"Nova Scotia","AZOGU":"Oguz","CANT":"Northwest Territories","CANU":"Nunavut","MXBCS":"Baja California Sur","GBESS":"Essex","ITBA":"Bari","GBESX":"East Sussex","ITBG":"Bergamo","label.contactInformation.spokenLanguagesMsg":"Select up to 5 languages","ITBI":"Biella","GEKA":"Kakhet\u2019i","ITBL":"Belluno","ITBN":"Benevento","ITBO":"Bologna","GBNEL":"North East Lincolnshire","ITBR":"Brindisi","ITBS":"Brescia","CAON":"Ontario","GEKK":"K\u2019vemo K\u2019art\u2019li","ALKA":"Kavaj\xeb","ALKB":"Kurbin","GBNET":"Newcastle upon Tyne","ALKC":"Ku\xe7ov\xeb","ITBZ":"Bolzano","NAOD":"Otjozondjupa","ITCA":"Cagliari","ITCB":"Campobasso","PHSAR":"Sarangani","NAOH":"Omaheke","ITCE":"Caserta","ALKO":"Korc\xeb","NAOK":"Okavango","ITCH":"Chieti","ITCI":"Carbonia-Iglesias","ALKR":"Kruj\xeb","NAON":"Oshana","CAPE":"Prince Edward Island","ITCL":"Caltanissetta","ALKU":"Kuk\xebs","ITCN":"Cuneo","ITCO":"Como","NAOS":"Omusati","GBNFK":"Norfolk","NAOT":"Oshikoto","ITCR":"Cremona","ITCS":"Cosenza","OMDA":"Ad Dakhlilyah","NAOW":"Ohangwena","ITCT":"Catania","ALLB":"Librazhd","ITCZ":"Catanzaro","ALLE":"Lezh\xeb","MHLIB":"Lib","EGPTS":"Bur Sa`id","CAQC":"Quebec","label.associatedInformation.contactinfo.title.expand":"Click to expand the contact information section","MHLIK":"Likiep","ALLU":"Lushnj\xeb","PHBAN":"Bataan","GBNGM":"Nottingham","PHBAS":"Basilan","GEMM":"Mts\u2019khet\u2019a-Mt\u2019ianet\u2019i","TTETO":"Eastern Tobago","MAGUE":"Guelmim","label.myprofile.phone/fax/pager":"Phone/Fax/Pager","CRSJ":"San Jos\xe9","RW01":"Ville de Kigali","PHSCO":"South Cotabato","RW02":"Est","RW03":"Nord","ALMK":"Mallakast\xebr","RW04":"Ouest","RW05":"Sud","ALMM":"Mal\xebsi e Madhe","ALMR":"Mirdit\xeb","ALMT":"Mat","ITEN":"Enna","label.associatedInformation.extattr.language":"Language:","ITFE":"Ferrara","PGGPK":"Gulf","ITFG":"Foggia","MXSIN":"Sinaloa","ITFI":"Firenze","ITFO":"Forl\xec","CASK":"Saskatchewan","ITFR":"Frosinone","ITGE":"Genova","label.msg.relievedemployee.message":"The IBM ID you are using to sign in is no longer valid, as it is associated with an IBM e-mail address that is no longer active.  Please \x3ca href=\'https://www.ibm.com/account/myibm/profile.do?cc=us&lc=en&lc=en&page=reg\' target=\'_blank\'\x3eregister\x3c/a\x3e for a new IBM ID and try again.","ITGO":"Gorizia","ITGR":"Grosseto","ALPG":"Pogradec","FMTRK":"Chuuk","label.contactInformation.extattr.Team_Summary":"Team summary:","SHSH":"Saint Helena","GNBE":"Beyla","GNBF":"Boffa","ALPQ":"Peqin","ALPR":"P\xebrmet","pl-PL":"Polish","ALPU":"Puk\xeb","GNBK":"Bok\xe9","PHBEN":"Benguet","RUULY":"Ul\'yanovskaya oblast\'","PEAMA":"Amazonas","SHTA":"Tristan da Cunha","label.msg.newuserduplicateemail.heading":"ibm.com Community","MXSLP":"San Luis Potos\xed","ITIM":"Imperia","GBNLK":"North Lanarkshire","GNCO":"Coyah","ITIS":"Isernia","OMJA":"Al Janubiyah","GBNLN":"North Lincolnshire","GERL":"Racha-Lech\u2019khumi-K\u2019vemo Svanet\u2019i","AZXAC":"Xacmaz","PEANC":"Ancash","GNDB":"Dabola","AZXAN":"Xanlar","GNDI":"Dinguiraye","GNDL":"Dalaba","GESJ":"Samts\u2019khe-Javakhet\u2019i","GESK":"Shida K\u2019art\u2019li","GNDU":"Dubr\xe9ka","PHSIG":"Siquijor","ALSH":"Shkod\xebr","COCAL":"Caldas","ALSK":"Skrapar","RUUOB":"Ust\'-Ordynskiy Buryatskiy avtonomnyy okrug","GESZ":"Samegrelo-Zemo Svanet\u2019i","COCAQ":"Caquet\xe1","COCAS":"Casanare","ALSR":"Sarand\xeb","COCAU":"Cauca","GETB":"T\u2019bilisi","AZGAD":"G\xe4d\xe4b\xe4y","ITKR":"Crotone","profile.edit.error.workphone":"Invalid Work phone. Please make sure it doesn\'t contain following characters \x3c,\x3e,$.","ALTE":"Tepelen\xeb","ITLC":"Lecco","GNFA":"Faranah","label.socialPages.blogUrl.secondary":"Second blog URL:","ITLE":"Lecce","AZXCI":"Xocali","ALTP":"Tropoj\xeb","MXSON":"Sonora","AZORD":"Ordubad","ITLI":"Livorno","ALTR":"Tiran\xeb","PHBIL":"Biliran","ITLO":"Lodi","BFGAN":"Ganzourgou","label.socialPages.blogUrl.primary":"Primary blog URL:","GNFO":"For\xe9cariah","PEAPU":"Apur\xedmac","OMMA":"Masqat","ITLT":"Latina","json.error.key":"Invaild key parameter value.","GNFR":"Fria","ITLU":"Lucca","CAYT":"Yukon Territory","ITMC":"Macerata","GNGA":"Gaoual","ITME":"Messina","OMMU":"Musandam","ITMI":"Milano","DK101":"K\xf8benhavn","ITMN":"Mantova","ITMO":"Modena","GBWAR":"Warwickshire","RUMAG":"Magadanskaya oblast\' Magadan","ITMS":"Massa-Carrara","ITMT":"Matera","PHSLE":"Southern Leyte","GNGU":"Gu\xe9k\xe9dou","label.contactInformation.preferredLastName":"Preferred last name:","GMB":"Banjul","label.contactInformation.contactme.home":"Home phone","label.contactInformation.contactme.email":"Email","ITNA":"Napoli","PEARE":"Arequipa","ALVL":"Vlor\xeb","PHSLU":"Sulu","GBWBK":"West Berkshire","GML":"Lower River","GMM":"MacCarthy Island","GMN":"North Bank","ITNO":"Novara","JOAJ":"`Ajlun","GMU":"Upper River","GMW":"Western","JOAM":"`Amman","ITNU":"Nuoro","JOAQ":"Al\'Aqaba","GBFAL":"Falkirk","JOAT":"At Tafilah","GNC":"Conakry","MVMLE":"Male","JOAZ":"Az Zarqa\'","ITOG":"Ogliastra","JOBA":"Al Balqa\'","COCES":"Cesar","label.contactInformation.groupwareEmail":"Alternate e-mail:","ITOR":"Oristano","ITOT":"Olbia-Tempio","NZBOP":"Bay of Plenty","BFOUB":"Oubritenga","BFOUD":"Oudalan","ITPA":"Palermo","MAHAJ":"El Hajeb","ITPC":"Piacenza","ITPD":"Padova","PA0":"Comarca de San Blas","ITPE":"Pescara","PA1":"Bocas del Toro","PA2":"Cocl\xe9","ITPG":"Perugia","MAHAO":"Al Haouz","PA3":"Col\xf3n","PA4":"Chiriqu\xed","ITPI":"Pisa","PA5":"Dari\xe9n","PA6":"Herrera","PA7":"Los Santos","label.contactInformation.email.msg":"(You can change your e-mail address in your \x3ca href=\"https://www.ibm.com/account/myibm/profile.do?cc=us&lc=en&page=reg\"\x3eIBM Registration\x3c/a\x3e)","PA8":"Panam\xe1","PA9":"Veraguas","ITPN":"Pordenone","ITPO":"Prato","ITPR":"Parma","GBNSM":"North Somerset","GBWDU":"West Dunbartonshire","ITPS":"Pesaro e Urbino","ITPT":"Pistoia","ITPV":"Pavia","ITPZ":"Potenza","GNKA":"Kankan","PHSOR":"Sorsogon","GNKB":"Koubia","GBNTA":"Newtownabbey","GNKD":"Kindia","GNKE":"K\xe9rouan\xe9","DEBB":"Brandenburg","DEBE":"Berlin","GBNTH":"Northamptonshire","GNKN":"Koundara","HR01":"Zagrebacka zupanija","GBNTL":"Neath Port Talbot","GNKO":"Kouroussa","HR02":"Krapinsko-zagorska zupanija","HR03":"Sisacko-moslavacka zupanija","DK147":"Frederiksberg","HR04":"Karlovacka zupanija","HR05":"Varazdinska zupanija","GNKS":"Kissidougou","HR06":"Koprivnicko-krizevacka zupanija","HR07":"Bjelovarsko-bilogorska zupanija","HR08":"Primorsko-goranska zupanija","HR09":"Licko-senjska zupanija","GBNTT":"Nottinghamshire","DEBW":"Baden-W\xfcrttemberg","label.contactInformation.extattr.wrkpostal":"Postal code:","GBNTY":"North Tyneside","DEBY":"Bayern","GQC":"Regi\xf3n Continental","ITRA":"Ravenna","ITRC":"Reggio Calabria","GNLA":"Lab\xe9","ITRE":"Reggio Emilia","COCHO":"Choc\xf3","GQI":"Regi\xf3n Insular","ITRG":"Ragusa","GNLE":"L\xe9louma","ITRI":"Rieti","TLAL":"Aileu","PHBOH":"Bohol","TLAN":"Ainaro","ITRM":"Roma","ITRN":"Rimini","ITRO":"Rovigo","HR10":"Viroviticko-podravska zupanija","HR11":"Pozesko-slavonska zupanija","GBWFT":"Waltham Forest","GNLO":"Lola","HR12":"Brodsko-posavska zupanija","HR13":"Zadarska zupanija","HR14":"Osjecko-baranjska zupanija","MY01":"Johor","HR15":"Sibensko-kninska zupanija","MY02":"Kedah","HR16":"Vukovarsko-srijemska zupanija","label.advanced.searchForm.attribute.extattr.blogUrl":"Blog link:","MY03":"Kelantan","HR17":"Splitsko-dalmatinska zupanija","MY04":"Melaka","AZXIZ":"Xizi","HR18":"Istarska zupanija","MY05":"Negeri Sembilan","HR19":"Dubrovacko-neretvanska zupanija","MY06":"Pahang","label.advanced.searchForm.attribute.extattr.hmcountry":"Country:","MY07":"Pulau Pinang","OMSH":"Ash Sharqiyah","MY08":"Perak","MY09":"Perlis","TLBA":"Baucau","GBFER":"Fermanagh","pt-BR":"Brazilian Portuguese","ITSA":"Salerno","GNMC":"Macenta","PHKAL":"Kalinga","GNMD":"Mandiana","NZSTL":"Southland","ITSI":"Siena","GBWGN":"Wigan","TLBO":"Bobonaro","GNML":"Mali","ITSO":"Sondrio","GNMM":"Mamou","HR20":"Medimurska zupanija","ITSP":"La Spezia","HR21":"Grad Zagreb","ITSR":"Siracusa","ITSS":"Sassari","MY10":"Selangor","MY11":"Terengganu","MY12":"Sabah","ITSV":"Savona","MY13":"Sarawak","MY14":"Wilayah Persekutuan Kuala Lumpur","label.advanced.searchForm.attribute.extattr.suffix":"Suffix:","SA01":"Ar Riyad","MY15":"Wilayah Persekutuan Labuan","SA02":"Makkah","MY16":"Wilayah Persekutuan Putrajaya","MHUJA":"Ujae","SA03":"Al Madinah","SA04":"Ash Sharqiyah","SA05":"Al Qasim","SA06":"Ha\'il","AUQLD":"Queensland","SA07":"Tabuk","SA08":"Al Hudud ash Shamaliyah","SA09":"Jizan","ITTA":"Taranto","ITTE":"Teramo","MHUJL":"Ujelang","KE700":"Rift Valley","label.contactInformation.freeBusyUrl":"Free/Busy time link:","TLCO":"Cova Lima","ITTN":"Trento","ITTO":"Torino","ITTP":"Trapani","BH13":"Al Man\u0101mah (Al \u2018\u0100\u015fimah)","BH14":"Al Jan\u016bb\u012byah","ITTR":"Terni","GBNWM":"Newham","BH15":"Al Muharraq","ITTS":"Trieste","BH16":"Al Wus\u0163\xe1","BH17":"Ash Sham\u0101l\u012byah","GBNWP":"Newport","ITTV":"Treviso","SA10":"Najran","SA11":"Al Bahah","SA12":"Al Jawf","SA14":"\'Asir","GNNZ":"Nz\xe9r\xe9kor\xe9","PEAYA":"Ayacucho","ITUD":"Udine","AUNT":"Northern Territory","TLDI":"Dili","GBWIL":"Wiltshire","ITVA":"Varese","label.associatedInformation.description.title.collapse":"Click to collapse the About Me section","ITVB":"Verbano-Cusio-Ossola","ITVC":"Vercelli","ITVE":"Venezia","ITVI":"Vicenza","GNPI":"Pita","TLER":"Ermera","GBNYK":"North Yorkshire","ITVR":"Verona","GBNYM":"Newry and Mourne","GBFIF":"Fife","ITVS":"Medio Campidano","ITVT":"Viterbo","ITVV":"Vibo Valentia","JOIR":"Irbid","GWBA":"Bafat\xe1","PHSUK":"Sultan Kudarat","label.contactInformation.cn":"Common name:","PHSUN":"Surigao del Norte","GBWKF":"Wakefield","PHSUR":"Surigao del Sur","GWBL":"Bolama","GWBM":"Biombo","DEHB":"Bremen","JOJA":"Jarash","OMWU":"Al Wust\xe1","PHBTG":"Batangas","DEHE":"Hessen","GWBS":"Bissau","DEHH":"Hamburg","PHBTN":"Batanes","COTOL":"Tolima","GWCA":"Cacheu","AMAG":"Aragacotn","label.searchResult.attribute.tags":"Tags:","JOKA":"Al Karak","ILHA":"Hefa","GBWLL":"Walsall","AMAR":"Ararat","GBWLN":"West Lothian","PHBUK":"Bukidnon","label.associatedInformation.lastUpdate":"Last update:","AMAV":"Armavir","PHBUL":"Bulacan","GBWLV":"Wolverhampton","KZMAN":"Mangghystau oblysy","BFGNA":"Gnagna","COCOR":"C\xf3rdoba","GNSI":"Siguiri","AUSA":"South Australia","OMZA":"Az Zahirah","COLAG":"La Guajira","GBFLN":"Flintshire","label.msg.newuserduplicateemail.message":"The e-mail address associated with the IBM ID you are using is also associated with another IBM ID.  To continue, your IBM ID must be associated with a unique e-mail address.  Please \x3ca href=\'https://www.ibm.com/account/myibm/profile.do?cc=us&lc=en\' target=\'_blank\'\x3echange the e-mail address associated with this ID.\x3c/a\x3e","AZGOR":"Goranboy","GBWND":"Wandsworth","AZGOY":"G\xf6y\xe7ay","GNTE":"T\xe9lim\xe9l\xe9","JOMA":"Al Mafraq","label.associatedInformation.extattr.googleIndex":"","GBWNM":"Windsor and Maidenhead","JOMD":"Madaba","label.profiles.myprofile.displaycompanyname":"Display company name in my profile","GNTO":"Tougu\xe9","ILJM":"Yerushalayim","JOMN":"Ma\'an","SZHH":"Hhohho","BFGOU":"Gourma","PESAM":"San Mart\xedn","GBWOK":"Wokingham","label.associatedInformation.surname":"Last name:","MHMAJ":"Majuro","CZ311":"\u010cesk\xe9 Bud\u011bjovice","CZ312":"\u010cesk\xfd Krumlov","MHMAL":"Maloelap","CZ313":"Jind\u0159ich\u016fv Hradec","BFPAS":"Passor\xe9","CZ314":"P\xedsek","GBWOR":"Worcestershire","CZ315":"Prachatice","CZ316":"Strakonice","CZ317":"T\xe1bor","label.advanced.searchForm.attribute.extattr.bldgId":"Address1:","JP01":"Hokkaido","JP02":"Aomori","label.associatedInformation.officeName":"Office:","JP03":"Iwate","GWGA":"Gab\xfa","JP04":"Miyagi","JP05":"Akita","JP06":"Yamagata","JP07":"Fukushima","JP08":"Ibaraki","RUMOS":"Moskovskaya oblast\'","JP09":"Tochigi","RUMOW":"Moskva","label.advanced.searchForm.attribute.alternateLastname":"Alternate Last Name:","CZ321":"Doma\u017elice","CZ322":"Klatovy","CZ323":"Plze\u0148-m\u011bsto","label.jobInformation.secretaryUid":"Assistant number:","CZ324":"Plze\u0148-jih","CZ325":"Plze\u0148-sever","CZ326":"Rokycany","CZ327":"Tachov","UG201":"Bugiri","UG202":"Busia","UG203":"Iganga","UG204":"Jinja","UG205":"Kamuli","JP10":"Gunma","UG206":"Kapchorwa","JP11":"Saitama","UG207":"Katakwi","JP12":"Chiba","UG208":"Kumi","JP13":"Tokyo","UG209":"Mbale","JP14":"Kanagawa","JP15":"Niigata","MXTAB":"Tabasco","DEMV":"Mecklenburg-Vorpommern","JP16":"Toyama","JP17":"Ishikawa","TLLA":"Lautem","JP18":"Fukui","JP19":"Yamanashi","TLLI":"Liquica","MXTAM":"Tamaulipas","DENI":"Niedersachsen","AUWA":"Western Australia","UG210":"Pallisa","UG211":"Soroti","UG212":"Tororo","UG213":"Kaberamaido","UG214":"Mayuge","UG215":"Sironko","JP20":"Nagano","UG216":"Amuria","JP21":"Gifu","UG217":"Budaka","JP22":"Shizuoka","UG218":"Bukwa","JP23":"Aichi","UG219":"Butaleja","MAHOC":"Al Hoce\xefma","JP24":"Mie","JP25":"Shiga","JP26":"Kyoto","DENW":"Nordrhein-Westfalen","JP27":"Osaka","JP28":"Hyogo","JP29":"Nara","MHUTI":"Utirik","TLMF":"Manufahi","GBWRL":"Wirral","AMGR":"Gegark\xb4unik\xb4","label.myprofile.work":"Work:","UG220":"Kaliro","GBWRT":"Warrington","UG221":"Manafwa","TLMT":"Manatuto","UG222":"Namutumba","GBWRX":"Wrexham","label.advanced.searchForm.attribute.countryDisplayValue":"Country:","JP30":"Wakayama","MXCAM":"Campeche","JP31":"Tottori","JP32":"Shimane","JP33":"Okayama","JP34":"Hiroshima","JP35":"Yamaguchi","JP36":"Tokushima","JP37":"Kagawa","JP38":"Ehime","JP39":"Kochi","AZXVD":"Xocav\xe4nd","COCUN":"Cundinamarca","SZLU":"Lubombo","label.advanced.searchForm.attribute.courtesyTitle":"Courtesy Title:","GBWSM":"Westminster","MHMEJ":"Mejit","NZTAS":"Tasman","SZMA":"Manzini","GNYO":"Yomou","GBWSX":"West Sussex","JP40":"Fukuoka","JP41":"Saga","JP42":"Nagasaki","JP43":"Kumamoto","JP44":"Oita","JP45":"Miyazaki","JP46":"Kagoshima","JP47":"Okinawa","PEJUN":"Jun\xedn","TLOE":"Oecussi","NZCAN":"Canterbury","label.socialPages.link.facebook":"Facebook:","pt-PT":"Portuguese","IDAC":"Aceh","DERP":"Rheinland-Pfalz","label.advanced.searchForm.attribute.workLocation$city":"City:","RUMUR":"Murmanskaya oblast\'","label.contactInformation.extattr.wrkoffice":"Phone:","PHTAR":"Tarlac","PHTAW":"Tawi-Tawi","TTWTO":"Western Tobago","RUVGG":"Volgogradskaya oblast\'","AMKT":"Kotayk\xb4","DESH":"Schleswig-Holstein","IDBA":"Bali","DESL":"Saarland","IDBB":"Bangka Belitung","DESN":"Sachsen","IDBE":"Bengkulu","label.contactInformation.preferredFirstName":"Preferred first name:","DEST":"Sachsen-Anhalt","label.contactInformation.blogUrl":"Blog link:","IDBT":"Banten","TDBA":"Batha","AMLO":"Lory","PHCAG":"Cagayan","MHMIL":"Mili","DETH":"Th\xfcringen","AFNAN":"Nangrahar","TDBI":"Biltine","PHCAM":"Camiguin","PHCAN":"Camarines Norte","PHCAP":"Capiz","PHCAS":"Camarines Sur","PHCAT":"Catanduanes","PHCAV":"Cavite","label.advanced.searchForm.attribute.givenName":"Given Name:","GWOI":"Oio","profile.edit.error.homephone":"Invalid Home phone. Please make sure it doesn\'t contain following characters \x3c,\x3e,$.","TDCB":"Chari-Baguirmi","ILTA":"Tel-Aviv","profile.edit.error.job":"Invalid Job Title. Please make sure it doesn\'t contain following characters \x3c,\x3e,$","label.jobInformation.workLocation.postalCode":"Postal code:","BYBR":"Brestskaya voblasts\xb4","label.msg.specialcharacter.page1":"Information you provided when you registered with IBM, or updated your My IBM profile, contains special characters (such as $, \x3c or \x3e). These special characters result in missing data when your profile information is leveraged by ","label.msg.specialcharacter.page2":"the ibm.com Community application. This means that some functions will not work properly. ","label.msg.specialcharacter.page3":"Please visit your \x3ca href=\"https://www.ibm.com/account/profile/us?page=signinview\" target=\"_blank\"\x3eMy IBM profile\x3c/a\x3e and remove the special characters in your profile before attempting to sign in to ibm.com Community.","SRBR":"Brokopondo","MXCHH":"Chihuahua","SZSH":"Shiselweni","MXCHP":"Chiapas","SRCM":"Commewijne","label.jobInformation.officeName":"Office:","SRCR":"Coronie","label.contactInformation.spokenLanguages":"Spoken languages:","GWQU":"Quinara","ROAB":"Alba","ROAG":"Arges","RUVLA":"Vladimirskaya oblast\'","PHCEB":"Cebu","TLVI":"Viqueque","ROAR":"Arad","RUVLG":"Vologodskaya oblast\'","LVAI":"Aizkraukles Aprinkis","LVAL":"Aluksnes Aprinkis","ROBC":"Bacau","MXTLA":"Tlaxcala","ROBH":"Bihor","IDGO":"Gorontalo","PY1":"Concepci\xf3n","ROBN":"Bistrita-Nasaud","PY2":"San Pedro","PY3":"Cordillera","PY4":"Guair\xe1","GBOLD":"Oldham","PY5":"Caaguaz\xfa","AEAJ":"`Ajman","ROBR":"Braila","PY6":"Caazap\xe1","PY7":"Itap\xfaa","ROBT":"Botosani","PY8":"Misiones","PY9":"Paraguar\xed","ROBV":"Brasov","LVBL":"Balvu Aprinkis","ROBZ":"Buzau","TDGR":"Gu\xe9ra","label.advanced.searchForm.attribute.extattr.googleIndex":"Show my profile in external search results :","AEAZ":"Abu Zaby","LVBU":"Bauskas Aprinkis","ROCJ":"Cluj","ROCL":"Calarasi","NZTKI":"Taranaki","GWTO":"Tombali","BFPON":"Poni","LVCE":"Cesu Aprinkis","ROCS":"Caras-Severin","ROCT":"Constanta","GBOMH":"Omagh","ROCV":"Covasna","AZYAR":"Yardimli","TDHL":"Hadjer Lamis","label.advanced.searchForm.attribute.surname":"Surname:","RODB":"D\xe2mbovita","BFYAG":"Yagha","AMSH":"Sirak","RODJ":"Dolj","LVDA":"Daugavpils Aprinkis","BFYAT":"Yatenga","AMSU":"Syunik\xb4","AZHAC":"Haciqabul","IDJA":"Jambi","IDJB":"Jawa Barat","label.associatedInformation.character.limit":"Maximum of 1500 characters.","LVDO":"Dobeles Aprinkis","TWPEN":"Penghu","RUVOR":"Voronezhskaya oblast\'","IDJI":"Jawa Timur","IDJK":"Jakarta Raya","BYHO":"Homyel\xb4skaya voblasts\xb4","BYHR":"Hrodzenskaya voblasts\xb4","IDJT":"Jawa Tengah","AFNIM":"Nimruz","AMTV":"Tavus","IDKB":"Kalimantan Barat","AEDU":"Dubayy","IDKI":"Kalimantan Timur","AUACT":"Australian Capital Territory","IDKR":"Kepulauan Riau","IDKS":"Kalimantan Selatan","IDKT":"Kalimantan Tengah","TDKA":"Kanem","MXCOA":"Coahuila","DO01":"Distrito Nacional","da-DA":"Danish              ","DO02":"Azua","DO03":"Bahoruco","DO04":"Barahona","DO05":"Dajab\xf3n","IDLA":"Lampung","DO06":"Duarte","DO07":"La Estrelleta","DO08":"El Seybo","DO09":"Espaillat","MXCOL":"Colima","MHEBO":"Ebon","AMVD":"Vayoc Jor","ROGJ":"Gorj","BEVAN":"Antwerpen","ROGL":"Galati","TDLC":"Lac","ROGR":"Giurgiu","DO10":"Independencia","DO11":"La Altagracia","DO12":"La Romana","DO13":"La Vega","DO14":"Mar\xeda Trinidad S\xe1nchez","DO15":"Monte Cristi","IDMA":"Maluku","DO16":"Pedernales","DO17":"Peravia","AZYEV":"Yevlax","label.contactInformation.extattr.hmstateprov":"State:","DO18":"Puerto Plata","AEFU":"Al Fujayrah","DO19":"Salcedo","TDLO":"Logone-Occidental","TDLR":"Logone-Oriental","LVGU":"Gulbenes Aprinkis","ROHD":"Hunedoara","GBGAT":"Gateshead","BEVBR":"Vlaams Brabant","IDMU":"Maluku Utara","TDMA":"Mandoul","TDMC":"Moyen-Chari","ROHR":"Harghita","TDME":"Mayo-K\xe9bbi-Est","DO20":"Saman\xe1","TWPIF":"Pingtung","DO21":"San Crist\xf3bal","DO22":"San Juan","DO23":"San Pedro de Macor\xeds","DO24":"S\xe1nchez Ram\xedrez","GBORK":"Orkney Islands","DO25":"Santiago","DO26":"Santiago Rodr\xedguez","IDNB":"Nusa Tenggara Barat","DO27":"Valverde","DO28":"Monse\xf1or Nouel","DO29":"Monte Plata","TDMO":"Mayo-K\xe9bbi-Ouest","ROIF":"Ilfov","ROIL":"Ialomita","IDNT":"Nusa Tenggara Timur","TDND":"Ndjamena","ROIS":"Iasi","DO30":"Hato Mayor","*****************************************************************":"","BYMA":"Mahilyowskaya voblasts\xb4","BYMI":"Minskaya voblasts\xb4","SRMA":"Marowijne","TDOD":"Ouadda\xef","LVJK":"Jekabpils Aprinkis","LVJL":"Jelgavas Aprinkis","profile.edit.error.fname":"Please enter first name.","IDPA":"Papua","ZWBU":"Bulawayo","RUNEN":"Nenetskiy avtonomnyy okrug","SRNI":"Nickerie","PHCOM":"Compostela Valley","nb-NB":"Norwegian","LVKR":"Kraslavas Aprinkis","LVKU":"Kuldigas Aprinkis","label.contactInformation.extattr.email":"Email:","PHLAG":"Laguna","label.advanced.searchForm.attribute.secretaryName":"Secretary Name:","PHLAN":"Lanao del Norte","LVLE":"Liepajas Aprinkis","AFWAR":"Wardak","PHLAS":"Lanao del Sur","LVLM":"Limbazu Aprinkis","IDRI":"Riau","LVLU":"Ludzas Aprinkis","RUNGR":"Novgorodskaya oblast\'","ROMH":"Mehedinti","SRPM":"Paramaribo","ROMM":"Maramures","LVMA":"Madonas Aprinkis","SRPR":"Para","label.associatedInformation.extattr.ibmemployee.withoutcolon":"Employee","ROMS":"Mures","IDSA":"Sulawesi Utara","IDSB":"Sumatera Barat","IDSG":"Sulawesi Tenggara","IDSN":"Sulawesi Selatan","IDSR":"Sulawesi Barat","IDSS":"Sumatera Selatan","IDST":"Sulawesi Tengah","IDSU":"Sumatera Utara","TDSA":"Salamat","MAIFR":"Ifrane","GBOXF":"Oxfordshire","RONT":"Neamt","label.searchResult.attribute.workLocation.city":"City:","RUNIZ":"Nizhegorodskaya oblast\'","TDTA":"Tandjil\xe9","LVOG":"Ogres Aprinkis","ROOT":"Olt","KZVOS":"Shyghys Qazaqstan oblysy","SRSA":"Saramacca","ROPH":"Prahova","SRSI":"Sipaliwini","ZWHA":"Harare","PHLEY":"Leyte","LVPR":"Preilu Aprinkis","AFNUR":"Nurestan","BEVLI":"Limburg","TVVAI":"Vaitupu","label.msg.newuserduplicateemail.idndpwd.help":"\x3ca href=\'https://www-950.ibm.com/wikis/home?lang=en_US#/wiki/Using%20ibm.com%20Community/page/Signing%20in\' target=\'_blank\'\x3e--\x3e Help with ID and password issues\x3c/a\x3e","LVRE":"Rezeknes Aprinkis","TDWF":"Wadi Fira","LVRI":"Rigas Aprinkis","MHENI":"Eniwetok","GBGLG":"Glasgow City","COMAG":"Magdalena","label.contactInformation.extattr.wrkcountry":"Country:","BYVI":"Vitsyebskaya voblasts\xb4","ROSB":"Sibiu","GBGLS":"Gloucestershire","ROSJ":"Salaj","ROSM":"Satu Mare","LVSA":"Saldus Aprinkis","AZQAB":"Q\xe4b\xe4l\xe4","AERK":"Ra\xb4s al Khaymah","CFBGF":"Bangui","ROSV":"Suceava","PETAC":"Tacna","label.advanced.searchForm.attribute.ipTelephoneNumber":"IP Telephone Number:","label.socialPages.comboBox.link.moveDown":"Move down","SRWA":"Wanica","BFHOU":"Houet","label.advanced.searchForm.attribute.extattr.hmcity":"City:","VC01":"Charlotte","AZQAX":"Qax","VC02":"Saint Andrew","VC03":"Saint David","AZQAZ":"Qazax","VC04":"Saint George","IDYO":"Yogyakarta","VC05":"Saint Patrick","VC06":"Grenadines","ROTL":"Tulcea","ROTM":"Timis","LVTA":"Talsu Aprinkis","AZQBA":"Quba","AESH":"Ash Shariqah","ROTR":"Teleorman","CZ411":"Cheb","CZ412":"Karlovy Vary","AZQBI":"Qubadli","CZ413":"Sokolov","label.contactInformation.calendarUrl":"Calendar link:","LVLPX":"Liepaja","LVTU":"Tukuma Aprinkis","ZWMA":"Manicaland","ZWMC":"Mashonaland Central","ZWME":"Mashonaland East","PECAJ":"Cajamarca","ZWMI":"Midlands","PECAL":"El Callao","BEVOV":"Oost-Vlaanderen","ERAN":"Anseba","CZ421":"D\u011b\u010d\xedn","CZ422":"Chomutov","ZWMN":"Matabeleland North","CZ423":"Litom\u011b\u0159ice","CZ424":"Louny","CZ425":"Most","CZ426":"Teplice","UG301":"Adjumani","CZ427":"\xdast\xed nad Labem","UG302":"Apac","ZWMS":"Matabeleland South","UG303":"Arua","UG304":"Gulu","UG305":"Kitgum","ZWMV":"Masvingo","UG306":"Kotido","ZWMW":"Mashonaland West","UG307":"Lira","UG308":"Moroto","UG309":"Moyo","EGALX":"Al Iskandariyah","ROVL":"Valcea","ROVN":"Vrancea","LVVE":"Ventspils Aprinkis","ROVS":"Vaslui","LVVK":"Valkas Aprinkis","UG310":"Nebbi","AEUQ":"Umm al Qaywayn","UG311":"Nakapiripirit","LVVM":"Valmieras Aprinkis","UG312":"Pader","UG313":"Yumbe","UG314":"Amolatar","label.contactInformation.select":"Select one","UG315":"Kaabong","UG316":"Koboko","UG317":"Abim","UG318":"Dokolo","UG319":"Amuru","COMET":"Meta","UYAR":"Artigas","UG320":"Maracha","UG321":"Oyam","json.error.uid":"Invaild uid parameter value.","AOHUA":"Huambo","AOHUI":"Hu\xedla","ERDK":"Debubawi Keyih Bahri","MARBA":"Rabat-Sal\xe9","ERDU":"Debub","GBGRE":"Greenwich","UYCA":"Canelones","label.searchResult.attribute.displayName":"Name:","UYCL":"Cerro Largo","ru-RU":"Russian","UYCO":"Colonia","TN11":"Tunis","TN12":"L\'Ariana","TN13":"Ben Arous","TN14":"La Manouba","label.advanced.searchForm.attribute.floor":"Floor:","label.advanced.searchForm.attribute.extattr.pagerNumber":"Pager:","UYDU":"Durazno","TN21":"Nabeul","TN22":"Zaghouan","TN23":"Bizerte","GBPEM":"Pembrokeshire","en-US":"English","ERGB":"Gash Barka","CLAI":"Ais\xe9n del General Carlos Ib\xe1\xf1ez del Campo","CLAN":"Antofagasta","TN31":"B\xe9ja","TN32":"Jendouba","TN33":"Le Kef","CLAR":"Araucan\xeda","TN34":"Siliana","CLAT":"Atacama","label.contactInformation.extattr.AddtionalSpokenLanguages":"Additional spoken languages:","UYFD":"Florida","label.jobInformation.workLocation.countryDisplayValue":"Country:","MR01":"Hodh ech Chargui","MR02":"Hodh el Gharbi","MR03":"Assaba","RUNVS":"Novosibirskaya oblast\'","MR04":"Gorgol","LVDGV":"Daugavpils","MR05":"Brakna","MR06":"Trarza","MR07":"Adrar","label.tooltip.pst":"\x3cul\x3e\x3cli\x3eMust be only single-byte characters.\x3c/li\x3e\x3cli\x3eCan include letters, numbers and Basic punctuation.\x3c/li\x3e\x3c/ul\x3e","ko-KO":"Korean","MR08":"Dakhlet Nouadhibou","label.jobInformation.bldgId":"Building:","MR09":"Tagant","TTPED":"Penal-Debe","CLBI":"B\xedo-B\xedo","UYFS":"Flores","label.contactInformation.contactme.twitter":"Twitter","TN41":"Kairouan","TN42":"Kasserine","TN43":"Sidi Bouzid","PHDAO":"Davao Oriental","EGASN":"Aswan","PHDAS":"Davao del Sur","IECE":"Clare","EGAST":"Asyut","PHDAV":"Davao","MR10":"Guidimaka","MR11":"Tiris Zemmour","MR12":"Inchiri","IECN":"Cavan","IECW":"Carlow","BEVWV":"West-Vlaanderen","CLCO":"Coquimbo","TN51":"Sousse","TN52":"Monastir","TN53":"Mahdia","label.jobInformation.secretaryName":"Assistant:","label.socialPages.comboBox.link.twitter":"Twitter","GBGWN":"Gwynedd","IEDL":"Donegal","IEC":"Cork","IED":"Dublin","IEG":"Galway","BZBZ":"Belize","AFFRA":"Farah","TN61":"Sfax","label.contactInformation.timezone":"Time zone:","label.advanced.searchForm.attribute.departmentTitle":"Department:","BIBB":"Bubanza","profile.edit.error.displayname2":"Invalid Display Name. Please make sure it doesn\'t contain following characters \x3c,\x3e,$","MAAGD":"Agadir","NLDR":"Drenthe","BZCY":"Cayo","BIBJ":"Bujumbura","TN71":"Gafsa","TN72":"Tozeur","TN73":"Kebili","MXDIF":"Distrito Federal","BIBR":"Bururi","label.advanced.searchForm.attribute.pagerId":"Pager ID:","label.duplicate.emailid.msg1":"The e-mail address associated with the IBM ID you are using is also associated with one or more other IBM IDs that have been used to log in to ibm.com Community.\x3cbr/\x3e  To continue, you must identify which of these IDs should be associated with your ibm.com Community profile.  \x3ca href=\'https://www-950.ibm.com/wikis/home?lang=en_US#/wiki/Using%20ibm.com%20Community/page/Signing%20in\' target=\'_blank\'\x3eClick here for instructions.\x3c/a\x3e","BICA":"Cankuzo","str_component_id":"CLFRN","PHLUN":"La Union","BICI":"Cibitoke","SBCE":"Central","MHNMK":"Namorik","TN81":"Gab\xe8s","TN82":"Medenine","SBCH":"Choiseul","TN83":"Tataouine","GBPKN":"Perth and Kinross","MHNMU":"Namu","SBCT":"Capital Territory","ERMA":"Maakel","NLFL":"Flevoland","NLFR":"Friesland","AZQOB":"Qobustan","COVAC":"Valle del Cauca","label.searchResult.attribute.extattr.myCompanyNm":"Company name:","AOZAI":"Zaire","UYLA":"Lavalleja","NLGE":"Gelderland","label.advanced.searchForm.attribute.extattr.altrmail":"Alternate email:","COVAU":"Vaup\xe9s","GBPLY":"Plymouth","label.contactInformation.contactme.youtube":"You Tube","NLGR":"Groningen","AZZAN":"Z\xe4ngilan","AZZAQ":"Zaqatala","AZZAR":"Z\xe4rdab","UYMA":"Maldonado","TWHSQ":"Hsinchu","UYMO":"Montevideo","TWHSZ":"Hsinchu","TWYUN":"Yunlin","ZM1":"Western","ZM2":"Central","label.msg.relievedemployee.title":"Relieved Employee","ZM3":"Eastern","ZM4":"Luapula","ZM5":"Northern","PELAL":"La Libertad","ZM6":"North-Western","PELAM":"Lambayeque","ZM7":"Southern","ZM8":"Copperbelt","ZM9":"Lusaka","BIGI":"Gitega","TWHUA":"Hualien","GBPOL":"Poole","IEKE":"Kildare","GBPOR":"Portsmouth","IEKK":"Kilkenny","GBPOW":"Powys","SBGU":"Guadalcanal","label.advanced.searchForm.attribute.extattr.hmaddrlabel":"Home:","ILD":"HaDarom","label.searchResult.attribute.groupwareEmail":"Alternate Email:","ILM":"HaMerkaz","AFFYB":"Faryab","IEKY":"Kerry","IELD":"Longford","UYPA":"Paysandu","ILZ":"HaZafon","IELH":"Louth","IELK":"Limerick","IELM":"Leitrim","IELS":"Laois","CLLI":"Libertador General Bernardo O\'Higgins","profile.edit.error.mobile":"Invalid Cell No. Please make sure it doesn\'t contain following characters \x3c,\x3e,$.","CLLL":"Los Lagos","TTPOS":"Port of Spain","IEMH":"Meath","GBHAL":"Halton","GBHAM":"Hampshire","SBIS":"Isabel","NLLI":"Limburg","IEMN":"Monaghan","CLMA":"Magallanes","label.contactInformation.extattr.wrkpagerpin":"Pager pin:","IEMO":"Mayo","GBHAV":"Havering","BEWBR":"Brabant Wallon","ERSK":"Semenawi Keyih Bahri","CLML":"Maule","label.tooltip.pstca":"A Canadian postal code must meet the following requirements \x3col\x3e\x3cli\x3eExactly 7 characters long \x3c/li\x3e\x3cli\x3eFormat of &#34;ananana&#34; (7 characters, alternating letter and number) \x3c/li\x3e\x3cli\x3eThe first character must be a &#39;W&#39; or &#39;Z&#39; \x3c/li\x3e\x3cli\x3eThe letters may not include &#39;D&#39;, &#39;F&#39;, &#39;T&#39;, &#39;O&#39;, &#39;Q&#39; or &#39;U&#39; \x3c/li\x3e\x3c/ol\x3e","AZQUS":"Qusar","PETUM":"Tumbes","label.contactInformation.extattr.property1":"Extension 1:","label.contactInformation.extattr.property2":"Extension 2:","label.contactInformation.extattr.property3":"Extension 3:","UYRN":"Rio Negro","UYRO":"Rocha","BIKI":"Kirundo","UYRV":"Rivera","BIKR":"Karuzi","NLNB":"Noord-Brabant","UYSA":"Salto","label.advanced.searchForm.attribute.extattr.hmaddr":"Address1:","GBHCK":"Hackney","BIKY":"Kayanza","NLNH":"Noord-Holland","UYSJ":"San Jos\xe9","UYSO":"Soriano","COVID":"Vichada","GBPTE":"Peterborough","IEOY":"Offaly","NZMBH":"Marlborough","label.advanced.searchForm.attribute.officeName":"Office Name:","PECUS":"Cuzco","UYTA":"Tacuaremb\xf3","INAN":"Andaman and Nicobar Islands","TTPRT":"Princes Town","INAP":"Andhra Pradesh","INAR":"Arunachal Pradesh","INAS":"Assam","BIMA":"Makamba","UYTT":"Treinta y Tres","NLOV":"Overijssel","SBMK":"Makira","GBHEF":"Herefordshire, County of","SBML":"Malaita","label.contactInformation.extattr.wrkstateprov":"State:","BIMU":"Muramvya","BIMW":"Mwaro","BIMY":"Muyinga","MXMEX":"M\xe9xico","INBR":"Bihar","TVNIT":"Niutao","PHMAD":"Marinduque","TVNIU":"Nui","MAJDI":"El Jadida","PHMAG":"Maguindanao","BFZIR":"Ziro","BZOW":"Orange Walk","BING":"Ngozi","TTPTF":"Point Fortin","BABIH":"Federacija Bosna i Hercegovina","IS0":"Reykjav\xedk","PHMAS":"Masbate","IS1":"H\xf6fuoborgarsv\xe6oi utan Reykjav\xedkur","IS2":"Suournes","IS3":"Vesturland","INCH":"Chandigarh","IS4":"Vestfiroir","label.associatedInformation.displayName":"Display Name:","IS5":"Norourland vestra","label.contactInformation.pagerServiceProvider":"Pager service provider:","IS6":"Norourland eystra","IS7":"Austurland","IS8":"Suourland","SC01":"Anse aux Pins","SC02":"Anse Boileau","SC03":"Anse \xc9toile","SC04":"Anse Louis","MAASZ":"Assa-Zag","SC05":"Anse Royale","INCT":"Chhattisgarh","SC06":"Baie Lazare","MXDUR":"Durango","SC07":"Baie Sainte Anne","SC08":"Beau Vallon","IERN":"Roscommon","SC09":"Bel Air","PELIM":"Lima","KE900":"Western","CDBC":"Bas-Congo","CLRM":"Regi\xf3n Metropolitana de Santiago","INDD":"Daman and Diu","TVNKF":"Nukufetau","label.tooltip.cntrusca":"\x3cul\x3e\x3cli\x3eStreet, city, state, zip code.\x3c/li\x3e\x3cbr/\x3e\x3cli\x3eMust be only single-byte characters.\x3c/li\x3e\x3cbr/\x3e\x3cli\x3eIf a state is not empty/blank, a country must be selected.\x3c/li\x3e\x3c/ul\x3e","INDL":"Delhi","CDBN":"Bandundu","TVNKL":"Nukulaelae","INDN":"Dadra and Nagar Haveli","SC10":"Bel Ombre","SC11":"Cascade","SC12":"Glacis","SC13":"Grand\' Anse (Mah\xe9)","BRAC":"Acre","SC14":"Grand\' Anse (Praslin)","SC15":"La Digue","SC16":"La Rivi\xe8re Anglaise","SC17":"Mont Buxton","SC18":"Mont Fleuri","SC19":"Plaisance","IESO":"Sligo","BRAL":"Alagoas","BRAM":"Amazonas","BRAP":"Amap\xe1","BEWHT":"Hainaut","IETA":"Tipperary","AFORU":"Oruzgan","SC20":"Pointe La Rue","SC21":"Port Glaud","BRBA":"Bahia","SC22":"Saint Louis","SC23":"Takamaka","PHMDC":"Mindoro Occidental","label.associatedInformation.contactinfo.title":"Click to expand or collapse the contact information section","CLTA":"Tarapac\xe1","SKBC":"Banskobystrick\xfd kraj","MXMIC":"Michoac\xe1n","TVNMA":"Nanumea","SKBL":"Bratislavsk\xfd kraj","PHMDR":"Mindoro Oriental","TVNMG":"Nanumanga","BZSC":"Stann Creek","AG03":"Saint George","AG04":"Saint John","AG05":"Saint Mary","AG06":"Saint Paul","AG07":"Saint Peter","AG08":"Saint Philip","EGSHG":"Suhaj","GBHIL":"Hillingdon","GYBA":"Barima-Waini","BRCE":"Cear\xe1","label.tooltip.pstjp":"A Japanese postal code must meet the following requirements\x3cbr/\x3e\x3col\x3e\x3cli\x3eExactly 8 characters long.\x3c/li\x3e\x3cbr/\x3e\x3cli\x3eFormat of nnn&#45;nnnn (3 numbers &#45; 4 numbers).\x3c/li\x3e\x3c/ol\x3e","label.contactInformation.contactme.select":"Select","EGSHR":"Ash Sharqiyah","INGA":"Goa","SBRB":"Rennell and Bellona","GHAA":"Greater Accra","AG10":"Barbuda","INGJ":"Gujarat","GHAH":"Ashanti","BIRT":"Rutana","AZIMI":"Imisli","CDEQ":"\xc9quateur","BIRY":"Ruyigi","BRDF":"Distrito Federal","EGSIN":"Shamal Sina\xb4","NLUT":"Utrecht","GHBA":"Brong-Ahafo","GYCU":"Cuyuni-Mazaruni","label.associatedInformation.experience.title.collapse":"Click to collapse the Background section","CLVS":"Valpara\xedso","IEWD":"Waterford","INHP":"Himachal Pradesh","IEWH":"Westmeath","BEWLG":"Li\xe8ge","INHR":"Haryana","GYDE":"Demerara-Mahaica","BFZON":"Zondoma","label.profiles.myprofile.publicview.msg1":"This is your public profile. It includes some information you provided during the IBM registration process. You can change your public profile and add more details. \x3cbr /\x3eTo protect your privacy, you have the option of hiding or showing specific fields, or simply leaving them empty. ","label.profiles.myprofile.publicview.msg2":"This profile is public and visible to all ibm.com visitors, including visitors who may not share membership in your communities. Do not post private or confidential information here.","label.profiles.myprofile.publicview.msg3":"Some of this information may also displayed within other IBM social applications and Web pages, based on your privacy settings.","BFZOU":"Zoundw\xe9ogo","IEWW":"Wicklow","IEWX":"Wexford","BRES":"Esp\xedrito Santo","BEWLX":"Luxembourg","label.advanced.searchForm.attribute.profileTags":"Tags:","label.jobInformation.workLocation.address1":"Address:","SBTE":"Temotu","label.jobInformation.workLocation.address2":"","GBHLD":"Highland","GHCP":"Central","GYEB":"East Berbice-Corentyne","label.contactInformation.bldgId":"Address 1:","RUOMS":"Omskaya oblast\'","CONAR":"Nari\xf1o","BFIOB":"Ioba","PELOR":"Loreto","MAAZI":"Azilal","GYES":"Essequibo Islands-West Demerara","INJH":"Jharkhand","INJK":"Jammu and Kashmir","GBHMF":"Hammersmith and Fulham","BEWNA":"Namur","BASRP":"Republika Srpska","BRGO":"Goi\xe1s","AFGHA":"Ghazni","INKA":"Karnataka","CZ511":"\u010cesk\xe1 L\xedpa","CZ512":"Jablonec nad Nisou","CZ513":"Liberec","CZ514":"Semily","GBYOR":"York","label.searchResult.attribute.organizationTitle":"Organization:","INKL":"Kerala","AFGHO":"Ghowr","GHEP":"Eastern","ESAB":"Albacete","GBHNS":"Hounslow","ESAL":"Almer\xeda","ESAN":"Andaluc\xeda","label.associatedInformation.extattr.mainjobrole":"Primary Job Function:","INLD":"Lakshadweep","CZ521":"Hradec Kr\xe1lov\xe9","SBWE":"Western","VUPAM":"P\xe9nama","PEUCA":"Ucayali","CZ522":"Ji\u010d\xedn","CZ523":"N\xe1chod","ESAR":"Arag\xf3n","CZ524":"Rychnov nad Kn\u011b\u017enou","CZ525":"Trutnov","UG401":"Bundibugyo","ESAV":"\xc1vila","UG402":"Bushenyi","MXMOR":"Morelos","UG403":"Hoima","UG404":"Kabale","UG405":"Kabarole","UG406":"Kasese","UG407":"Kibaale","NLZE":"Zeeland","UG408":"Kisoro","UG409":"Masindi","NLZH":"Zuid-Holland","ESBA":"Badajoz","ESBI":"Vizcaya","CDKA":"Katanga","AZABS":"Abseron","CDKE":"Kasai-Oriental","CZ531":"Chrudim","CZ532":"Pardubice","CZ533":"Svitavy","CZ534":"\xdast\xed nad Orlic\xed","INMH":"Maharashtra","UG410":"Mbarara","ESBU":"Burgos","UG411":"Ntungamo","UG412":"Rukungiri","UG413":"Kamwenge","INML":"Meghalaya","CDKN":"Kinshasa","UG414":"Kanungu","label.contactInformation.contactme.flickr":"Flickr","UG415":"Kyenjojo","INMN":"Manipur","UG416":"Ibanda","UG417":"Isingiro","INMP":"Madhya Pradesh","UG418":"Kiruhura","label.advanced.searchForm.attribute.extattr.mobileNumber":"Cell:","GBHPL":"Hartlepool","UG419":"Bulisa","AZISM":"Ismayilli","ESCA":"C\xe1diz","CDKW":"Kasai-Occidental","ESCC":"C\xe1ceres","MHWTH":"Wotho","ESCE":"Ceuta","label.associatedInformation.experience.info":"(The content of this field cannot exceed 1,500 characters)","UA05":"Vinnyts\'ka Oblast\'","MHWTJ":"Wotje","INMZ":"Mizoram","UZAN":"Andijon","UA07":"Volyns\'ka Oblast\'","UA09":"Luhans\'ka Oblast\'","ESCL":"Castilla y Le\xf3n","ESCM":"Castilla-La Mancha","ESCN":"Canarias","ESCO":"C\xf3rdoba","ESCR":"Ciudad Real","ESCS":"Castell\xf3n","ESCT":"Catalu\xf1a","RUORE":"Orenburgskaya oblast\'","ESCU":"Cuenca","INNL":"Nagaland","MASAF":"Safi","EGBNS":"Bani Suwayf","ROB":"Bucuresti","label.socialPages.blog.msg":"My blog(s)","RUORL":"Orlovskaya oblast\'","UA12":"Dnipropetrovs\'ka Oblast\'","UA14":"Donets\'ka Oblast\'","UA18":"Zhytomyrs\'ka Oblast\'","LVVEN":"Ventspils","CDMA":"Maniema","SKKI":"Kosick\xfd kraj","UZBU":"Buxoro","TO01":"\'Eua","TO02":"Ha\'apai","TO03":"Niuas","TO04":"Tongatapu","TO05":"Vava\'u","label.associatedInformation.tagMyProfile":"Tag my profile","INOR":"Orissa","UA21":"Zakarpats\'ka Oblast\'","label.advanced.searchForm.attribute.extattr.hmphone":"Phone:","UA23":"Zaporiz\'ka Oblast\'","label.profiles.myprofile.companyname":"Company name:","GBHRT":"Hertfordshire","UA26":"Ivano-Frankivs\'ka Oblast\'","GBHRW":"Harrow","GBHRY":"Haringey","MABAH":"A\xeft Baha","INPB":"Punjab","BZTOL":"Toledo","CDNK":"Nord-Kivu","ESEX":"Extremadura","BRMA":"Maranhao","MAJRA":"Jerada","UA30":"Kyiv","BRMG":"Minas Gerais","UA32":"Kyivs\'ka Oblast\'","INPY":"Pondicherry","UA35":"Kirovohrads\'ka Oblast\'","BRMS":"Mato Grosso do Sul","BRMT":"Mato Grosso","MXVER":"Veracruz","PHMOU":"Mountain Province","AZAGA":"Agstafa","AZAGC":"Agcab\xe4di","CDOR":"Orientale","GYMA":"Mahaica-Berbice","UA40":"Sevastopol\'","ESGA":"Galicia","ESGC":"Las Palmas","label.tooltip.pstus":"A US zip code must be have one of the following formats:\x3col\x3e\x3cli\x3ennnnn (5 numbers) \x3c/li\x3e\x3cli\x3ennnnnnnnn (9 numbers) \x3c/li\x3e\x3cli\x3ennnnn&#45;nnnn (5 numbers &#45; 4 numbers) \x3c/li\x3e\x3c/ol\x3e","UA43":"Respublika Krym","label.advanced.searchForm.attribute.displayName":"Display Name:","CMAD":"Adamaoua","AZAGM":"Agdam","UA46":"L\'vivs\'ka Oblast\'","UA48":"Mykolaivs\'ka Oblast\'","ESGI":"Girona","SKNI":"Nitriansky kraj","AZAGS":"Agdas","AZAGU":"Agsu","ESGR":"Granada","TWILA":"Ilan","ESGU":"Guadalajara","INRJ":"Rajasthan","UZFA":"Farg\'ona","MASEF":"Sefrou","UA51":"Odes\'ka Oblast\'","UA53":"Poltavs\'ka Oblast\'","label.socialPages.link.flickr":"Flickr:","UA56":"Rivnens\'ka Oblast\'","es-ES":"Spanish","MASET":"Settat","ARA":"Salta","UA59":"Sums\'ka Oblast\'","ARB":"Buenos Aires","ARC":"Capital federal","ARD":"San Luis","ARE":"Entre R\xedos","ARF":"La Rioja","ARG":"Santiago del Estero","ARH":"Chaco","AFPAN":"Panjshir","ARJ":"San Juan","ARK":"Catamarca","ARL":"La Pampa","ESHU":"Huesca","ARM":"Mendoza","AFPAR":"Parwan","ARN":"Misiones","HTAR":"Artibonite","INSK":"Sikkim","PHEAS":"Eastern Samar","ARP":"Formosa","ARQ":"Neuqu\xe9n","ARR":"R\xedo Negro","BB01":"Christ Church","BRPA":"Par\xe1","ARS":"Santa Fe","BB02":"Saint Andrew","BRPB":"Para\xedba","ART":"Tucum\xe1n","BB03":"Saint George","ARU":"Chubut","BB04":"Saint James","ARV":"Tierra del Fuego","BB05":"Saint John","BRPE":"Pernambuco","ARW":"Corrientes","BB06":"Saint Joseph","ARX":"C\xf3rdoba","BB07":"Saint Lucy","UA61":"Ternopil\'s\'ka Oblast\'","ESIB":"Illes Balears","ARY":"Jujuy","BB08":"Saint Michael","ARZ":"Santa Cruz","BB09":"Saint Peter","UA63":"Kharkivs\'ka Oblast\'","BRPI":"Piau\xed","UA65":"Khersons\'ka Oblast\'","CMCE":"Centre","label.socialPages.link.other":"Other:","UA68":"Khmel\'nyts\'ka Oblast\'","BRPR":"Paran\xe1","EGSUZ":"As Suways","MABEM":"Beni Mellal","MABER":"Berkane","MABES":"Ben Slimane","AT1":"Burgenland","SKPV":"Presovsk\xfd kraj","AT2":"K\xe4rnten","BB10":"Saint Philip","INTN":"Tamil Nadu","AT3":"Nieder\xf6sterreich","BB11":"Saint Thomas","AT4":"Ober\xf6sterreich","AT5":"Salzburg","AT6":"Steiermark","INTR":"Tripura","GHNP":"Northern","AT7":"Tirol","AT8":"Vorarlberg","PHMSC":"Misamis Occidental","AT9":"Wien","UA71":"Cherkas\'ka Oblast\'","UA74":"Chernihivs\'ka Oblast\'","PGSAN":"Sandaun","UA77":"Chernivets\'ka Oblast\'","HTCE":"Centre","GYPM":"Pomeroon-Supenaam","INUA":"Uttaranchal","BJAK":"Atakora","BJAL":"Alibori","PHMSR":"Misamis Oriental","GYPT":"Potaro-Siparuni","KE110":"Nairobi Municipality","EGKFS":"Kafr ash Shaykh","BJAQ":"Atlantique","CDSK":"Sud-Kivu","INUP":"Uttar Pradesh","BRRJ":"Rio de Janeiro","label.profiles.aboutme.showhide.msg1":"Items indicated with this icon","BRRN":"Rio Grande do Norte","label.profiles.aboutme.showhide.msg2":"or marked \'Show\' will be displayed in your public profile and other IBM social applications and Web pages using profile information.","BRRO":"Rond\xf4nia","BRRR":"Roraima","BRRS":"Rio Grande do Sul","CMEN":"Far North","BJBO":"Borgou","GQAN":"Annob\xf3n","CMES":"East","NZMWT":"Manawatu-Wanganui","BRSC":"Santa Catarina","MASIK":"Sidi Kacem","BRSE":"Sergipe","UZJI":"Jizzax","ESLE":"Le\xf3n","label.associatedInformation.contactinfo":"Contact Information","BRSP":"Sao Paulo","INWB":"West Bengal","ESLO":"La Rioja","BJCO":"Collines","GQBN":"Bioko Norte","ESLU":"Lugo","GQBS":"Bioko Sur","ESMA":"M\xe1laga","SKTA":"Trnavsk\xfd kraj","label.associatedInformation.extattr.businessPartner.no":"No","SKTC":"Trenciansky kraj","PW002":"Aimeliik","BRTO":"Tocantins","ESML":"Melilla","PW004":"Airai","label.advanced.searchForm.attribute.extattr.floor":"Address2:","AUTAS":"Tasmania","BJDO":"Donga","ESMU":"Murcia","GQCS":"Centro Sur","ESNA":"Navarra","HTGA":"Grande-Anse","PW010":"Angaur","label.associatedInformation.extattr.ibmcontractor":"Contractor","label.associatedInformation.work":"Work","label.advanced.searchForm.attribute.preferredLastName":"Last Name:","GYUD":"Upper Demerara-Berbice","PT01":"Aveiro","PT02":"Beja","PT03":"Braga","PT04":"Bragan\xe7a","PT05":"Castelo Branco","PT06":"Coimbra","PT07":"\xc9vora","PT08":"Faro","PT09":"Guarda","GYUT":"Upper Takutu-Upper Essequibo","ESOR":"Ourense","label.advanced.searchForm.attribute.nativeLastName":"Native Last Name:","UZNG":"Namangan","AFPIA":"Paktia","GHTV":"Volta","PT10":"Leiria","PT11":"Lisboa","PT12":"Portalegre","PT13":"Porto","MLBKO":"Bamako","PT14":"Santar\xe9m","PT15":"Set\xfabal","PT16":"Viana do Castelo","PT17":"Vila Real","ESPM":"Baleares","PT18":"Viseu","ESPO":"Pontevedra","UZNW":"Navoiy","CONSA":"Norte de Santander","GHUE":"Upper East","ESPV":"Pa\xeds Vasco","label.advanced.searchForm.attribute.employeeNumber":"Employee Number:","label.contactInformation.nativeFirstName":"Native first name:","PGSHM":"Southern Highlands","PT20":"Regiao Aut\xf3noma dos A\xe7ores","GHUW":"Upper West","BZCZL":"Corozal","AFPKA":"Paktika","PT30":"Regiao Aut\xf3noma da Madeira","PW050":"Hatobohei","CMLT":"Littoral","UZQA":"Qashqadaryo","PEMDD":"Madre de Dios","GHWP":"Western","PKBA":"Baluchistan","MXNAY":"Nayarit","ESSA":"Salamanca","label.advanced.searchForm.attribute.extattr.wrkpostal":"Postal code:","ESSE":"Sevilla","ESSG":"Segovia","MABOD":"Boujdour","UZQR":"Qoraqalpog\'iston Respublikasi","SKZI":"Zilinsk\xfd kraj","label.advanced.searchForm.attribute.extattr.wrkstateprov":"State:","AZAST":"Astara","ESSO":"Soria","MABOM":"Boulemane","ESSS":"Guip\xfazcoa","TVFUN":"Funafuti","ESTE":"Teruel","ESTF":"Santa Cruz de Tenerife","label.advanced.searchForm.attribute.pagerServiceProvider":"Pager Service Provider:","ESTO":"Toledo","CMNO":"North","BJKO":"Kouffo","UZSA":"Samarqand","CMNW":"North-West","UZSI":"Sirdaryo","HTND":"Nord","HTNE":"Nord-Est","BJLI":"Littoral","UZSU":"Surxondaryo","CN11":"Beijing","label.associatedInformation.experience":"Background:","CN12":"Tianjin","HTNO":"Nord-Ouest","GQKN":"Kie-Ntem","CN13":"Hebei","GBZET":"Shetland Islands","CN14":"Shanxi","CN15":"Nei Mongol","CMOU":"West","label.contactInformation.pagerType":"Pager type:","ESVA":"Valladolid","RUPER":"Permskiy kray","ESVC":"Valenciana, Comunidad","UZTK":"Toshkent","UZTO":"Toshkent","ESVI":"\xc1lava","label.advanced.searchForm.attribute.faxNumber":"Fax Number:","GQLI":"Litoral","label.jobInformation.telephoneNumber":"Phone:","BJMO":"Mono","CN21":"Liaoning","CN22":"Jilin","CN23":"Heilongjiang","HTOU":"Ouest"},"lc_default":{"relatedCommunitiesDescription":"Use this widget to link to other communities that might interest your community.","feedReader":"Feed Reader","CommunityUpdates":"Community Updates","Forum":"Forums","Blog":"Blog","filesDescription":"Use this widget to upload and share files with the community.","galleryDescription":"Use this widget to share photos and videos with the community.","Activities":"Activities","structTags":"Structured Tags","RecentUpdates":"Recent Updates","Wiki":"Wiki","commBookmarks":"Use this widget to link to key Web resources from your community.","updatesDescription":"Use this widget to follow activity within your community.","subcommunityDescription":"Use this widget to display and navigate to your subcommunities.","friends":"Network","ideationBlogsDescription":"Use this widget to enable community members to contribute and vote on ideas.","widgetPalette":"Widget Palette","linkRoll":"My Links","Files":"Files","StatusUpdates":"Status Updates","multiFeedReader":"Recent Posts","SubcommunityNav":"Subcommunities","forumDescription":"Use this widget to discuss topics and share ideas.","multiWidget":"Profile Information","Bookmarks":"Bookmarks","Calendar":"Events","calendarDescription":"Use this widget to post information about important events and dates to the community.","reportStructure":"Report-to Chain","eventsDescription":"Use this widget to post information about important events and dates to the community.","commonTags":"Organization Tags","socialTags":"Tags","board":"The Board","commFeeds":"Use this widget to add feeds to relevant websites to your community.","Updates":"Recent Updates","blogsDescription":"Use this widget to share your news and views using a community blog.","wikiDescription":"Use this widget to share resources and collaborate with community members.","IdeationBlog":"Ideation Blog","contactInfo":"Contact Information","commActivitesDescription":"Use this widget to create activities to track community goals and assign to-do items.","Feeds":"Feeds","Members":"Members","backgroundInfo":"Background","RelatedCommunities":"Related Communities"},"lc_clib":{"CustomLibrary.description":"Use this widget to manage documents from a document repository.","CustomLibrary":"Linked Library","MediaGallery.description":"Use this widget to share photos and videos with the community.","MediaGallery":"Media Gallery"},"lc_sand":{"sand_thingsInCommon":"Things in Common","sand_simComm":"Similar Communities","sand_DYK":"Do You Know","sand_socialPath":"Who Connects Us?","sand_recomItems":"Recommendations","sand_recomComm":"Recommendations"},"customResource":{"Promotions":"Featured Offers & Resources","label.leader.title":"Community Leader"}};

;if(!dojo._hasResource["lconn.core.WidgetPlacement"]){
dojo._hasResource["lconn.core.WidgetPlacement"]=true;
dojo.provide("lconn.core.WidgetPlacement");
dojo.require("dojo.dnd.Manager");
dojo.require("lconn.core.utilities");
dojo.require("lconn.core.xpath");
dojo.require("lconn.core.errorhandling");
dojo.require("lconn.core.back");
dojo.require("lconn.core.aria.TabPanel");
dojo.requireLocalization("lconn.core","widgets");
dojo.requireLocalization("lconn.core.config","widgetbundles");
dojo.deprecated("lconn.core.WidgetPlacement","Will be replaced with OpenSocial container logic","3.5");
dojo.provide("lconn.core.WidgetPlacement.aria.TabPanel");
dojo.require("lconn.core.aria.TabPanel");
dojo.declare("lconn.core.WidgetPlacement.aria.TabPanel",lconn.core.aria.TabPanel,{selectedClassname:"lotusSelected",connectToFirstLink:false,selIdx:0,_prevIdx:0,constructor:function(){
this.inherited(arguments);
var ai=this.allItems;
si=this.selIdx;
dojo.forEach(ai,dojo.hitch(this,function(_1,_2){
dojo.style(_1,{cursor:"pointer"});
this._connects.push(dojo.connect(_1,"onclick",dojo.hitch(this,function(_3){
this.selIdx=_2;
this._setItemVisuals();
})));
if(this.connectToFirstLink){
try{
dojo.attr(dojo.query("a",_1)[0],"tabindex","-1");
}
catch(ee){
}
this._connects.push(dojo.connect(_1,"onclick",dojo.hitch(this,function(_4){
try{
var _5=dojo.query("a",_1)[0];
if(document.createEvent){
var _6=document.createEvent("HTMLEvents");
_6.initEvent("click",false,true);
_5.dispatchEvent(_6);
}else{
_5.fireEvent("onclick");
}
}
catch(e){
}
})));
}
}));
this._selectItem(this.selIdx,true);
this._activate(ai[this.selIdx]);
if(ai.length>0&&dojo.isIE&&!dojo._isBodyLtr()){
dojo.addOnLoad(dojo.hitch(this,function(){
var _7=0;
dojo.query("a[class*='_iconHolder']",ai[0].parentNode).forEach(function(_8){
_7=Math.max(_7,dojo.coords(_8).w);
});
dojo.forEach(ai,dojo.hitch(this,function(_9){
var _a=0;
if(_7>0){
dojo.query("a[class*='_iconHolder']",_9).forEach(function(_b){
dojo.style(_b,"width",_7+"px");
});
dojo.query("a[class*='_linkHolder']",_9).forEach(function(_c){
dojo.style(_c,"width",(dojo.coords(_c).w)+"px");
});
_a=20;
}
dojo.style(_9,"width",(dojo.coords(_9).w+_a)+"px");
}));
}));
}
},_activate:function(_d,_e){
if(_e||!this.connectToFirstLink){
return this.inherited(arguments);
}else{
return this._activate((dojo.query("a",_d)[0]),true);
}
},_setItemVisuals:function(){
var ai=this.allItems;
var si=this._prevIdx;
if(this.selIdx!=this._prevIdx){
dijit.setWaiState(ai[this._prevIdx],"selected","false");
dojo.removeClass(ai[this._prevIdx],this.selectedClassname);
dojo.attr(ai[this._prevIdx],"tabindex","-1");
}
dijit.setWaiState(ai[this.selIdx],"selected","true");
dojo.addClass(ai[this.selIdx],this.selectedClassname);
dojo.attr(ai[this.selIdx],"tabindex","0");
this._prevIdx=this.selIdx;
},_selectItem:function(si,_f){
if(typeof _f=="undefined"){
_f=false;
}
this._prevIdx=si;
this._setItemVisuals();
this.inherited(arguments);
if(!_f){
this.allItems[this.selIdx].focus();
}
}});
dojo.provide("lconn.core.WidgetPlacement.aria.Toolbar");
dojo.require("lconn.core.aria.Toolbar");
dojo.declare("lconn.core.WidgetPlacement.aria.Toolbar",lconn.core.aria.Toolbar,{selectedClassname:"lotusSelected",connectToFirstLink:true,selIdx:0,_oldIdx:0,changeSelectOnClick:true,setItemIdx:function(_10,idx){
if(dojo.attr(_10,"role")=="button"){
dojo.attr(_10,"itemidx_",idx);
}else{
if(_10.parentNode){
return this.setItemIdx(_10.parentNode,idx);
}
}
},getItemIdx:function(_11){
ret=this.selIdx;
if(dojo.attr(_11,"itemidx_")!=null){
ret=dojo.attr(_11,"itemidx_");
}else{
if(_11.parentNode){
return this.getItemIdx(_11.parentNode);
}
}
return ret;
},constructor:function(){
this.inherited(arguments);
if(this.connectToFirstLink){
var ai=this.allItems;
si=this.selIdx;
dojo.forEach(ai,dojo.hitch(this,function(_12,idx){
this.setItemIdx(_12,idx);
if(dojo.hasClass(_12,this.selectedClassname)){
this.selIdx=idx;
}
this._pressItem(idx,false);
var _13=dojo.query("a",_12)[0];
dojo.attr(_13,"tabindex","-1");
dojo.removeAttr(_13,"aria-pressed");
dojo.removeClass(_13,this.selectedClassname);
if(this.changeSelectOnClick){
this._connects.push(dojo.connect(_13,"onclick",dojo.hitch(this,function(_14){
var _15=this.getItemIdx(_13);
this._pressItem(this._oldIdx,false);
this._pressItem(_15,true);
this._oldIdx=_15;
})));
}
this._connects.push(dojo.connect(_12,"onkeypress",function(_16){
var _17=null;
if(!_16){
_16=window.event;
}
if(_16){
_17=_16.keyCode||_16.charCode;
}
if(_17===dojo.keys.SPACE||_17===dojo.keys.ENTER){
try{
var _18=dojo.query("a",_12)[0];
dojo.query("a",_12)[0].click();
dojo.stopEvent(_16);
}
catch(ee){
}
}
}));
}));
this._pressItem(this.selIdx,true);
this._oldIdx=this.selIdx;
}
},_kickIn:function(_19,i){
this.inherited(arguments);
if(this.connectToFirstLink){
dojo.attr(_19,"tabindex","0");
}
},_pressItem:function(idx,yn){
if(idx>=0){
var el=this.allItems[idx];
if(el){
if(yn){
dojo.addClass(el,this.selectedClassname);
dojo.attr(el,{"aria-pressed":"true","tabindex":"0"});
el.focus();
}else{
dojo.removeClass(el,this.selectedClassname);
dojo.attr(el,{"aria-pressed":"false","tabindex":"-1"});
}
}
}
}});
(function(){
if(typeof (dojo.global.WidgetPlacementConfig)=="undefined"){
dojo.global.WidgetPlacementConfig={debug:false,appStartupDate:""};
}
var _1a=dojo.i18n.getLocalization("lconn.core","widgets");
var _1b=dojo.i18n.getLocalization("lconn.core.config","widgetbundles");
lconn.core.WidgetPlacement.debug=WidgetPlacementConfig.debug;
lconn.core.WidgetPlacement.uiLocations=new Object();
lconn.core.WidgetPlacement.dropZoneObjects=new Object();
var _1c=function(){
var _1d=null;
if(WidgetPlacementConfig.isProfilesEnv){
if(profilesData.displayedUser!=null){
if(profilesData.displayedUser.profileType==null||profilesData.displayedUser.profileType==""){
profilesData.displayedUser.profileType="default";
}
}
_1d=profilesData.displayedUser;
}
return _1d;
};
var _1e=function(_1f,_20,_21,_22){
if(_1f==null){
_1f=[];
}
var _23=_20.getAttribute("defId");
var _24="/tns:widgets/tns:definitions/tns:widgetDef[@defId = '"+_23+"']/tns:configData/tns:attr";
var _25=lconn.core.xpath.selectNodes(_24,_22);
for(var i=0;_25.length!=null&&i<_25.length;i++){
var _26=_25[i].getAttribute("value");
_26=lconn.core.i18nOverrider.replaceParams(_26,WidgetPlacementConfig.params);
_1f.push({entryName:_25[i].getAttribute("key"),entryValue:_26});
}
_24="/tns:widgets/tns:definitions/tns:widgetDef[@defId = '"+_23+"']/tns:itemSet/tns:item";
_25=lconn.core.xpath.selectNodes(_24,_22);
for(var i=0;_25.length!=null&&i<_25.length;i++){
var _26=_25[i].getAttribute("value");
_26=lconn.core.i18nOverrider.replaceParams(_26,WidgetPlacementConfig.params);
_1f.push({entryName:_25[i].getAttribute("name"),entryValue:_26});
}
if(_21!=null){
var _27=_21.getAttribute("instanceId");
WidgetPlacementConfig.params["widgetInstanceId"]=_27;
var _28="/tns:widgets/tns:layout/tns:page/tns:widgetInstance[@instanceId = '"+_27+"']/tns:itemSet/tns:item";
_25=lconn.core.xpath.selectNodes(_28,_22);
for(var i=0;_25.length!=null&&i<_25.length;i++){
var _26=_25[i].getAttribute("value");
_26=lconn.core.i18nOverrider.replaceParams(_26,WidgetPlacementConfig.params);
_1f.push({entryName:_25[i].getAttribute("name"),entryValue:_26});
}
}
return _1f;
};
lconn.core.WidgetPlacement.getWidgetDocAndRenderWidget=function(_29,_2a,_2b,_2c,_2d,_2e,_2f,_30,_31){
var _32=function(_33,_34){
var _35=_33;
WidgetPlacementConfig.widgetConfigXMLDocument=_35;
var _36=null;
if(_29==null&&_2a!=null){
_29=_2a.getAttribute("defId");
}
if(_2a==null){
var _37="/tns:widgets/tns:definitions/tns:widgetDef[@defId = '"+_29+"']";
_2a=lconn.core.xpath.selectSingleNode(_37,_35);
if(_2a==null){
console.log("Unable to find widget definition for: "+_29);
return;
}
_29=_2a.getAttribute("defId");
}
if(_2b==null){
_2b=_29;
}
if(_36==null){
_36=_35.createElement("widgetInstance");
_36.setAttribute("uiLocation",_2c);
_36.setAttribute("defIdRef",_29);
_36.setAttribute("instanceId",_2b);
}
if(_2e==null){
_2e=_2a.getAttribute("skinType");
}
var _38=null;
var _39=null;
var _3a="widget-container-"+_2c;
var _3b=dojo.byId(_2c+"DropZone");
if(_3b==null){
if(lconn.dboard&&lconn.dboard.dnd){
var _3c=_2c+"DropZone";
var _3b=document.createElement("div");
_3b.setAttribute("id",_3c);
var _3d=dojo.byId(_3a);
if(_3d){
_3d.appendChild(_3b);
}else{
_3b=null;
}
}else{
_3b=dojo.byId(_3a);
}
}
_39=_3b;
if(_2d=="fullpage"){
var _3e=null;
var url=_2a.getAttribute("url");
_31=_1e(_31,_2a,_36,_35);
_39.innerHTML+=_4e(_2b,url,_1c(),_31,_2d);
lconn.core.mumOverride.renderSingleWidget(_2b);
}else{
var _3f=document.createElement("div");
var _40=_85(_2a,_36,_1c(),_35,true,_2e,_2d,_2f,_31);
_3f.innerHTML=_40;
if(_39){
_39.appendChild(_3f.firstChild);
}
var _3c=_2c+"DropZone";
if(_30==null){
if(lconn.core.WidgetPlacement.dropZoneObjects[_3c]==null){
lconn.core.utilities.processUntilElementIsFound(_3c,_41,null,{uiLocation:_2c,dropZoneDOMId:_3c});
}else{
lconn.core.utilities.processUntilElementIsFound(_2b+"Section",_46,null,{dropZoneDOMId:_3c,widgetInstanceId:_2b});
}
}
lconn.core.mumOverride.renderSingleWidget(_2b);
lconn.core.utilities.processUntilElementIsFound(_2b+"Section",function(){
dojo.parser.parse(dojo.byId(_2b+"Section"));
});
}
};
if(WidgetPlacementConfig.widgetConfigXMLDocument!=null&&!dojo.global.staleXMLConfig){
_32(WidgetPlacementConfig.widgetConfigXMLDocument);
}else{
var url=WidgetPlacementConfig.layoutInfoUrl;
if(!dojo.global.staleXMLConfig){
url+="&lastMod="+WidgetPlacementConfig.lastMod;
}
dojo.xhrGet({url:url,error:lconn.core.errorhandling.DefaultXHRErrorHandler,handleAs:"xml",sync:true,load:_32});
dojo.global.staleXMLConfig=false;
}
};
var _41=function(_42,_43){
dojo.parser.parse(_42);
var _44=_45(_43.uiLocation,_42);
lconn.core.WidgetPlacement.dropZoneObjects[_43.dropZoneDOMId]=_44;
};
var _46=function(_47,_48){
dojo.parser.parse(_47);
var _49=lconn.core.WidgetPlacement.dropZoneObjects[_48.dropZoneDOMId];
_49.setItem(_47.id,{node:_47,id:_47.id,data:_48.widgetInstanceId,type:"widget"});
};
var _45=function(_4a,_4b){
var _4c={jsId:_4a,accept:"widget",withhandles:true,skipForm:true};
var _4d=new lconn.dboard.dnd.Source(_4b,_4c);
return _4d;
};
var _4e=function(_4f,url,_50,_51,_52){
WidgetPlacementConfig.params["widgetInstanceId"]=_4f;
url=lconn.core.i18nOverrider.replaceParams(url,WidgetPlacementConfig.params);
var _53="<div id='"+_4f+"' class='mm_iWidget'><a class='mm_Definition' style='display: none;visibility:hidden;' href='"+url+"' ></a>";
if(_52!=null){
_53+="<div class=\"mm_ItemSet\" title=\"idescriptor\" style=\"display: none;\">"+"<a class=\"mm_Item\" href=\"#mode\" style=\"visibility:hidden\">"+_52+"</a>"+"</div>";
}
_53+="<div class='mm_ItemSet' title='attributes' style='display: none;'>";
if(WidgetPlacementConfig.isProfilesEnv){
if(_50.uid!=null){
_53+="<a class='mm_Item' type='string' style='display: none;' href='#profileDisplayedUserUID'>"+_50.uid+"</a>";
}
if(_50.key!=null){
_53+="<a class='mm_Item' type='string' style='display: none;' href='#profileDisplayedUserKey'>"+_50.key+"</a>";
}
}
if(WidgetPlacementConfig.resourceId!=null){
_53+="<a class='mm_Item' type='string' style='display: none;' href='#resourceId'>"+WidgetPlacementConfig.resourceId+"</a>";
}
if(WidgetPlacementConfig.parentResourceId!=null){
_53+="<a class='mm_Item' type='string' style='display: none;' href='#parentResourceId'>"+WidgetPlacementConfig.parentResourceId+"</a>";
}
if(WidgetPlacementConfig.resourceType!=null){
_53+="<a class='mm_Item' type='string' style='display: none;' href='#resourceType'>"+WidgetPlacementConfig.resourceType+"</a>";
}
if(WidgetPlacementConfig.resourceName){
_53+="<a class='mm_Item' type='string' style='display: none;' href='#resourceName'>"+WidgetPlacementConfig.resourceName+"</a>";
}
for(var i=0;_51!=null&&i<_51.length;i++){
_53+="<a class='mm_Item' type='string' style='display: none;' href='#"+_51[i].entryName+"'>"+_51[i].entryValue+"</a>";
}
_53+="</div>"+"</div>";
WidgetPlacementConfig.widgetInstanceId=_4f;
return _53;
};
var _54=function(){
var _55=dojo.byId("lotusProfileNavBar");
if(_55==null){
_55=dojo.byId("lotusNavBar");
}
return _55;
};
window.registerCloseViewFunction=function(_56){
lconn.core.WidgetPlacement.registerCloseViewFunction=_56;
};
window.closeOtherViews=function(){
if(lconn.core.WidgetPlacement.registerCloseViewFunction!=null){
lconn.core.WidgetPlacement.registerCloseViewFunction();
lconn.core.WidgetPlacement.registerCloseViewFunction=null;
}
};
lconn.core.WidgetPlacement.closeSwitchView=function(){
if(lconn.core.WidgetPlacement.currentFullpageWidgetInstanceId!=null){
destroyWidget(lconn.core.WidgetPlacement.currentFullpageWidgetInstanceId,null,false);
}
lconn.core.utilities.hide("widget-container-fullpage",false,true);
destroyWidgetContainer("fullpage");
lconn.core.WidgetPlacement.isInWidgetFullpageMode=true;
};
window.switchView=function(_57,_58,_59,_5a,_5b){
closeOtherViews();
registerCloseViewFunction(lconn.core.WidgetPlacement.closeSwitchView);
destroyWidget(_58,null,false,true);
if(lconn.core.WidgetPlacement.currentFullpageWidgetInstanceId!=null){
destroyWidget(lconn.core.WidgetPlacement.currentFullpageWidgetInstanceId,null,false,true);
}
destroyWidgetContainer("fullpage");
for(uiLocation in lconn.core.WidgetPlacement.uiLocations){
lconn.core.utilities.hide("widget-container-"+uiLocation,false,true);
}
if(WidgetPlacementConfig.hideElements!=null){
for(var i=0;WidgetPlacementConfig.hideElements!=null&&i<WidgetPlacementConfig.hideElements.length;i++){
var _5c=WidgetPlacementConfig.hideElements[i];
lconn.core.utilities.hide(_5c,false,true);
}
}
var _5d=_54();
if(_5d!=null){
var _5e=_5d.getElementsByTagName("li");
for(var i=0;_5e!=null&&i<_5e.length;i++){
if(_5e[i].className!=""){
dojo.removeClass(_5e[i],"lotusSelected");
var _5f=_5e[i].childNodes[0];
}
}
var _60=dojo.byId(_58+"_navItem");
if(_60!=null){
dojo.addClass(_60,"lotusSelected");
var _61=_60.childNodes[0];
}
}
lconn.core.utilities.show("widget-container-fullpage",false,false,true);
lconn.core.WidgetPlacement.getWidgetDocAndRenderWidget(null,_57,_58,"fullpage","fullpage","skinless",false);
lconn.core.WidgetPlacement.currentFullpageWidgetInstanceId=_58;
lconn.core.WidgetPlacement.isInWidgetFullpageMode=true;
};
window.getResourcedStringForItem=function(_62,_63){
var _64=_62.getAttribute("bundleRefId")||"lc_default";
var _65=_1b[_64];
if(!_65){
console.log("unable to find resource bundle for '"+_64+"'");
_65={};
}
var _66=_62.getAttribute(_63);
var _67=_65[_66];
return (_67===undefined)?_66:_67;
};
window.getResourcedStringById=function(_68,_69){
var _6a=_68.getAttribute("bundleRefId")||"lc_default";
var _6b=_1b[_6a];
if(!_6b){
console.log("unable to find resource bundle for '"+_6a+"'");
_6b={};
}
var _6c=_6b[_69];
return (_6c===undefined)?_69:_6c;
};
function _6d(_6e){
return window.getResourcedStringForItem(_6e,"defId");
};
window.addToNavBar=function(_6f,_70,_71,_72,_73,_74,_75){
var _76=new Array();
var _77=new Array();
var _78=new Array();
var ii;
var _79=_54();
if(_79==null){
return;
}
var _7a=_6f.getAttribute("showFullPageViewLinkInNavBar");
var _7b=_6f.getAttribute("modes");
if((_7a!=null&&_7a=="true")||(_7b!=null&&_7b.indexOf("fullpage")!=-1)||(_73!=null&&_73!="")){
if(_75!=null&&_75!=""){
_77=_75.split(",");
for(ii=0;ii<_77.length;ii++){
_76[ii]=window.getResourcedStringById(_6f,_77[ii]);
}
}else{
_76[0]=_6d(_6f);
}
if(_73!=null&&_73!=""){
_78=_73.split(",");
}
var _7c=_6f.getAttribute("defId");
var _7d=_70.getAttribute("instanceId");
if(!_7d){
_7d=_7c;
}
for(ii=0;ii<_76.length;ii++){
var li=document.createElement("li");
li.setAttribute("role","button");
li.setAttribute("aria-pressed","false");
if(ii==0){
li.id=_7d+"_navItem";
}else{
li.id=_7d+"_navItem_"+ii;
}
var _7e=document.createElement("a");
if(_73!=null&&_73!=""){
if(_78[ii]==null){
_78[ii]=_78[0];
}
WidgetPlacementConfig.params["widgetInstanceId"]=_7d;
var _7f=lconn.core.i18nOverrider.replaceParams(_78[ii],WidgetPlacementConfig.params);
_7e.href=_7f;
}else{
_7e.href="javascript:void(0);";
var _80=function(){
changeHash("fullpageWidgetId="+_7d);
return false;
};
dojo.connect(_7e,"onclick",_80);
}
var _81=document.createTextNode(_76[ii]);
_7e.appendChild(_81);
li.appendChild(_7e);
if(_7c=="StatusUpdates"){
var _82=dojo.byId("RecentUpdates_navItem");
_79.insertBefore(li,_82.nextSibling);
}else{
if(WidgetPlacementConfig.insertBeforeNavBarId){
_79.insertBefore(li,dojo.byId(WidgetPlacementConfig.insertBeforeNavBarId));
}else{
_79.appendChild(li);
}
}
if(_72==true){
var _83=WidgetPlacementConfig.NavBarSelectedMenuItem;
var _84=0;
var idx=_83.indexOf("_");
if(idx>0){
_84=_83.substring(idx+1);
}
if(ii==_84){
dojo.addClass(li,"lotusSelected");
}
}
}
}
};
var _85=function(_86,_87,_88,_89,_8a,_8b,_8c,_8d,_8e){
if(typeof (_86)=="undefined"){
return "";
}
var url=_86.getAttribute("url");
var _8f=_86.getAttribute("modes");
var _90=_87.getAttribute("instanceId");
var _91=_86.getAttribute("defId");
var _92=_86.getAttribute("navBarLinkText");
var _93=_86.getAttribute("navBarLink");
var _94=_86.getAttribute("helpLink");
var _95=_86.getAttribute("fixedPosition");
var _96=_86.getAttribute("displayLoginRequired");
var _97=null;
if(_94!=null&&_94!=""){
_97=lconn.core.i18nOverrider.replaceParams(_94,WidgetPlacementConfig.params);
}
var _98=false;
var _99="";
var _9a=dojo.i18n.getLocalization("lconn.core","widgets");
if(_90!=null){
_98=true;
}
if(_90==null){
_90=_91;
}
var _9b=_90;
if(_8c=="edit"){
_9b+="edit";
}
if(_8d==null||_8d==true){
var _9c=false;
if(WidgetPlacementConfig.NavBarSelectedMenuItem!=null){
var _9d=WidgetPlacementConfig.NavBarSelectedMenuItem;
var idx=_9d.indexOf("_");
if(idx>0){
_9d=_9d.substring(0,idx);
}
if(_9d==_91){
_9c=true;
if(WidgetPlacementConfig.navBarOverViewElementId!=null){
var _9e=dojo.byId(WidgetPlacementConfig.navBarOverViewElementId);
if(_9e!=null){
dojo.removeClass(_9e,"lotusSelected");
}
}
}
}
addToNavBar(_86,_87,_88,_9c,_93,true,_92);
}
var _9f=true;
if(!WidgetPlacementConfig.userLoggedIn&&_96=="true"){
_9f=false;
}
var _a0;
if(_98){
var _a1="/tns:widgets/tns:layout/tns:page/tns:widgetInstance[@instanceId = '"+_90+"']/tns:itemSet/tns:item[@name = 'widgetTitle']/@value";
_a0=lconn.core.xpath.selectText(_a1,_89);
}
_a0=_a0||_6d(_86);
var _a2=null;
var _a3=_91+"-isMinimized";
var _a4=dojo.cookie(_a3);
if(_8b==null||_8b==""){
_8b="use25OneUISkin";
}
if(_8b=="use25OneUISkin"){
var _a5="Open";
if(_a4!="true"){
_a5="Close";
}
var _a6="";
var _a7="";
if(_8a&&_98){
_a6=" dojoDndItem\" dndType=\"widget\" skipForm=\"true\" dndData=\""+_90;
}else{
_a7="style=\"cursor: default\"";
}
_a2="<div id=\""+_9b+"Section\" class=\"lotusWidget2"+_a6+"\" widgetId=\""+_90+"\" role=\"region\" aria-labelledby=\""+_90+"Id\" >";
var _a8=_1a["actions_alt"]||"Actions for: ${0}";
_a8=dojo.string.substitute(_a8,[_a0]);
_a2+="<h2 class=\"ibmDndDragHandle\" "+_a7+">"+"<span class=\"lotusLeft\" style=\"cursor: default\" id=\""+_90+"Id\">"+_a0+"</span>"+"<a id=\"widgetActionsMenu"+_90+"\" class=\"lotusIcon lotusActionMenu\" href=\"javascript:void(0);\" onclick=\"lconn.core.WidgetPlacement.openMenu(event, '"+_90+"','widgetActionsMenu"+_90+"');\" title=\""+_a8+"\" role=\"button\" aria-haspopup=\"true\" aria-label=\""+_a8+"\">"+"<img src=\""+dijit._Widget.prototype._blankGif+"\" alt=\"\"/>"+"<span class=\"lotusAltText\">"+_a8+"</span>"+"</a>"+"</h2>";
_a2+="<div dojoType=\"dijit.Menu\" id=\""+_9b+"moreActions\" style=\"display: none;\">";
if(_a4!="true"){
_a2+="<div id=\""+_9b+"_toggleAction\" dojoType=\"dijit.MenuItem\" label=\""+_1a["widgets_Min"]+"\" onclick=\"lconn.core.WidgetPlacement.minimizeWidget(this,'"+_90+"', '"+_91+"');\"></div>";
}else{
_a2+="<div id=\""+_9b+"_toggleAction\" dojoType=\"dijit.MenuItem\" label=\""+_1a["widgets_Max"]+"\" onclick=\"lconn.core.WidgetPlacement.minimizeWidget(this,'"+_90+"', '"+_91+"');\"></div>";
}
if(_9f){
_a2+="<div dojoType=\"dijit.MenuItem\" label=\""+_1a["refresh"]+"\" onclick=\"lconn.core.WidgetPlacement.refresh('"+_90+"');\"></div>";
}else{
}
if(_8f!=null&&_8f.indexOf("edit")!=-1&&_8a){
console.log("this is for to remove edit option for Community Leader Widget");
if(_a0=="Community Leader"){
}else{
_a2+="<div dojoType=\"dijit.MenuItem\" label=\""+_1a["edit"]+"\" onclick=\"lconn.core.utilities.hide('"+_90+"moreActions"+"', false, true);_"+_90+"_iContext.iEvents.fireEvent('onModeChanged','','{\\'newMode\\':\\'edit\\'}');\"></div>";
}
}
if(_97!=null){
_a2+="<div dojoType=\"dijit.MenuItem\" label=\""+_1a["help"]+"\" onclick=\"lconn.core.utilities.hide('"+_90+"moreActions"+"', false, true);lconn.core.WidgetPlacement.openHelpWindow('"+_97+"');\"></div>";
}
if(_98&&_8a){
var _a9=_87.getAttribute("uiLocation");
if(!_95){
_a2+="<div dojoType=\"dijit.MenuItem\" label=\""+_1a["widgets_MoveUp"]+"\" onclick=\"lconn.core.WidgetPlacement.moveUp('"+_90+"','"+_a9+"');\"></div>";
_a2+="<div dojoType=\"dijit.MenuItem\" label=\""+_1a["widgets_MoveDown"]+"\" onclick=\"lconn.core.WidgetPlacement.moveDown('"+_90+"','"+_a9+"');\"></div>";
}
_a2+="<div dojoType=\"dijit.MenuItem\" label=\""+_1a["hide"]+"\" onclick=\"lconn.core.WidgetPlacement.removeWidget('"+_90+"', false);\"></div>";
_a2+="<div dojoType=\"dijit.MenuItem\" label=\""+_1a["link.remove"]+"\" onclick=\"lconn.core.WidgetPlacement.removeWidget('"+_90+"', true);\"></div>";
}
_a2+="</div>";
if(_a4!="true"){
if(!WidgetPlacementConfig.userLoggedIn&&_96=="true"){
_a2+="<div id='"+_9b+"SubArea' widgetloaded='false' widgetneedrefresh='false'>"+_9a["msg.loginRequired"];
}else{
_a2+="<div id='"+_9b+"SubArea' widgetloaded='true' widgetneedrefresh='false'>";
_8e=_1e(_8e,_86,_87,_89);
_a2+=_4e(_90,url,_88,_8e,_8c);
}
}else{
_a2+="<div id='"+_9b+"SubArea' style='display: none;' widgetloaded='false'";
if(!WidgetPlacementConfig.userLoggedIn&&_96=="true"){
_a2+=" widgetneedrefresh='false' >"+_9a["msg.loginRequired"];
}else{
_a2+=" widgetneedrefresh='true' >";
}
}
_a2+="</div>";
_a2+="</div>";
}else{
if(_8b=="skinless"){
_a2="<div id='"+_9b+"Section'>";
if(!WidgetPlacementConfig.userLoggedIn&&_96=="true"){
_a2+="<div id='"+_9b+"SubArea' widgetloaded='false' >";
_a2+=_9a["msg.loginRequired"];
}else{
_a2+="<div id='"+_9b+"SubArea' widgetloaded='true' >";
_8e=_1e(_8e,_86,_87,_89);
_a2+=_4e(_90,url,_88,_8e,_8c);
}
_a2+="</div>";
_a2+="</div>";
}
}
return _a2;
};
lconn.core.WidgetPlacement.openHelpWindow=function(url){
var h=window.screen.height/4;
if(h<800){
h=800;
}
var w=window.screen.width/4;
if(w<800){
w=800;
}
var _aa="height="+h+",width="+w+",status=yes,toolbar=yes,menubar=no,location=yes,scrollbars=yes,resizable=yes";
var _ab=window.open(url,"helpWindow",_aa);
_ab.focus();
};
lconn.core.WidgetPlacement.openMenu=function(_ac,_ad,id){
var _ae=_ad+"moreActions";
var _af=dijit.byId(_ae);
if(_af==null){
if(WidgetPlacementConfig.debug){
console.log("lconn.core.WidgetPlacement.openMenu: dojoWidgetId '"+_ae+"' don't have a dojoWidget instance, creating one");
}
dojo.parser.parse(dojo.byId(_ae));
_af=dijit.byId(_ae);
}
if(_af!=null){
if(id!=null){
var _b0=document.getElementById(id);
if(_b0!=null){
dojo.attr(_b0,"aria-owns",id+"_dropdown");
var _b1=dojo.connect(_af,"onClose",function(){
dojo.removeAttr(_b0,"aria-owns");
dojo.disconnect(_b1);
});
}
}
menuUtility.openMenu(_ac,_ae);
}else{
if(WidgetPlacementConfig.debug){
console.log("lconn.core.WidgetPlacement.openMenu: skipping open menu, can not find widget with id "+_ae);
}
}
};
var _b2=function(_b3,_b4,_b5){
var _b6=function(_b7,_b8){
var _b9=_b7;
WidgetPlacementConfig.widgetConfigXMLDocument=_b9;
var _ba=null;
_ba="/tns:widgets/tns:layout/tns:page[@pageId='"+WidgetPlacementConfig.defaultPageId+"']/tns:widgetInstance";
var _bb=lconn.core.xpath.selectNodes(_ba,_b9);
if(typeof (_bb)!="undefined"&&typeof (_bb.length)!="undefined"){
for(var i=0;_bb.length!=null&&i<_bb.length;i++){
var _bc=_bb[i];
var _bd=_bc.getAttribute("enabled");
if(_bd==null||_bd!="false"){
var _be=_bc.getAttribute("defIdRef");
var _bf="/tns:widgets/tns:definitions/tns:widgetDef[@defId = '"+_be+"']";
var _c0=lconn.core.xpath.selectSingleNode(_bf,_b9);
if(canAddWidget(_c0,WidgetPlacementConfig,_b4,_bc)){
var _c1=_c0.getAttribute("navBarLinkText");
var _c2=_c0.getAttribute("navBarLink");
var _c3=false;
if(WidgetPlacementConfig.NavBarSelectedMenuItem!=null&&WidgetPlacementConfig.NavBarSelectedMenuItem==_be){
_c3=true;
}
addToNavBar(_c0,_bc,_b5,_c3,_c2,false,_c1);
}
}
}
}
};
var _c4=_54();
if(_c4!=null){
try{
new lconn.core.WidgetPlacement.aria.Toolbar(_c4.id);
}
catch(ee){
new lconn.core.aria.Toolbar(_c4.id);
}
}
if(WidgetPlacementConfig.widgetConfigXMLDocument==null){
dojo.xhrGet({url:WidgetPlacementConfig.layoutInfoUrl+"&lastMod="+WidgetPlacementConfig.lastMod,error:lconn.core.errorhandling.DefaultXHRErrorHandler,handleAs:"xml",sync:true,load:_b6});
}else{
_b6(WidgetPlacementConfig.widgetConfigXMLDocument);
}
};
window.canAddWidget=function(_c5,_c6,_c7,_c8,_c9){
if(_c5==null){
return false;
}
var _ca=_c5.getAttribute("loginRequired");
if(_ca=="true"&&!_c6.userLoggedIn){
return false;
}
var _cb=_c5.getAttribute("resourceOwnerWidget");
if(_cb=="true"&&!_c7){
return false;
}
var _cc=_c5.getAttribute("hideWidgetForMyProfile");
var _cd=getUserProfileOverrideProperty("key");
if(_cc=="true"&&_c6.userLoggedIn&&_c6.params.resourceId==_cd){
return false;
}
if(_c8!=null&&lconn.core.WidgetPlacement.onlyFullPageWidgetLoaded!=true&&!_c9){
var _ce=_c8.getAttribute("enabled");
if(_ce=="false"){
return false;
}
}
var _cf=_c5.getAttribute("prerequisite");
if(_cf!=null&&_cf!=""&&_c6.availableServices!=null){
var _d0=_cf.split(" ");
for(var x=0;_d0.length!=null&&x<_d0.length;x++){
if(_c6.availableServices[_d0[x]]==null||_c6.availableServices[_d0[x]]==false){
return false;
}
}
}
var _d1=_c5.getAttribute("requiredFeatures");
if(_d1!=null&&_d1!=""&&typeof (_c6.enabledFeatures)!="undefined"&&_c6.enabledFeatures!=null&&_c6.enabledFeatures!=""){
if(_c6.debug){
console.info(" enabledFeatures = "+_c6.enabledFeatures);
}
var _d2=_c6.enabledFeatures.split(new RegExp("[, \u3000]{1}","g"));
var i=0,len=_d2.length;
var _d3=false;
for(i=0;i<len;i++){
if(_d2[i]==_d1){
_d3=true;
break;
}
}
if(!_d3){
if(_c6.debug){
console.info("The user doesn't have the required feature, returning false");
}
return false;
}
}
var _d4=_c5.getAttribute("defId");
if(_c6.disabledWidgets&&_c6.disabledWidgets[_d4]){
if(_c6.debug){
console.info("Widget "+_d4+" is disabled in this context.");
}
return false;
}
return true;
};
lconn.core.WidgetPlacement.placeWidgetMetadata=function(_d5){
lconn.core.WidgetPlacement.initialLoad=true;
if(dojo.dnd!=null&&lconn.dboard&&lconn.dboard.dnd){
lconn.dboard.dnd.Source.prototype.onSelectStart=function(){
};
}
var _d6=function(_d7,_d8,_d9,_da,_db){
var _dc=null;
var _dd=new Object();
try{
var exp=null;
var _de=null;
var _df=null;
var _e0=null;
if(WidgetPlacementConfig.isProfilesEnv){
var _e1=(_d8&&typeof (_d8.profileType)=="string"&&dojo.trim(_d8.profileType).length>0?_d8.profileType:"default");
_de="/tns:widgets/tns:layout[@resourceSubType='"+_e1+"']/tns:page[@pageId='"+_d7+"']/tns:widgetInstance";
_df="/tns:widgets/tns:layout[@resourceSubType='default']/tns:page[@pageId='"+_d7+"']/tns:widgetInstance";
_e0=lconn.core.xpath.selectNodes(_de,_d9);
if(_e0==null||!_e0.length){
_e0=lconn.core.xpath.selectNodes(_df,_d9);
if(WidgetPlacementConfig.debug){
console.log("\nNo widget layout for profile type ["+_e1+"] defined.  Falling back to default layout.");
}
}
}else{
_de="/tns:widgets/tns:layout/tns:page[@pageId='"+_d7+"']/tns:widgetInstance";
_e0=lconn.core.xpath.selectNodes(_de,_d9);
}
var _e2="";
if(typeof (_e0)!="undefined"&&typeof (_e0.length)!="undefined"){
for(var i=0;_e0.length!=null&&i<_e0.length;i++){
var _e3=_e0[i];
var _e4=_e3.getAttribute("defIdRef");
var _e5="/tns:widgets/tns:definitions/tns:widgetDef[@defId = '"+_e4+"']";
var _e6=lconn.core.xpath.selectSingleNode(_e5,_d9);
if(canAddWidget(_e6,WidgetPlacementConfig,_da,_e3)){
var _e7=_e6.getAttribute("skinType");
var _e8=_e3.getAttribute("uiLocation");
if(_dd[_e8]==null){
_dd[_e8]="";
}
var _e9=_e3.getAttribute("instanceId");
if(_e9!=null&&_dd[_e8+"dnd"]==null&&_da){
_dd[_e8]+="<div style=\"display: inline\" id=\""+_e8+"DropZone\" class=\"target\">";
_dd[_e8+"dnd"]=true;
}
if(_e9==null){
_e9=_e4;
}
if(lconn.core.WidgetPlacement.loadOrder==null){
lconn.core.WidgetPlacement.loadOrder=new Array();
}
lconn.core.WidgetPlacement.loadOrder[lconn.core.WidgetPlacement.loadOrder.length]={instanceId:_e9,uiLocation:_e8};
_dd[_e8]+=_85(_e6,_e3,_d8,_d9,_da,_e7,null,_db);
lconn.core.WidgetPlacement.uiLocations[_e8]=true;
}
}
}
for(_e8 in _dd){
var _ea=dojo.byId("widget-container-"+_e8);
if(_ea!=null){
var _eb=(_dd[_e8+"dnd"]==true?"</div>":"");
_ea.innerHTML=_dd[_e8]+_eb;
}
}
if(typeof (_e0)!="undefined"&&typeof (_e0.length)!="undefined"){
for(var i=0;_e0.length!=null&&i<_e0.length;i++){
var _ec="widgetActionsMenu"+_e0[i].getAttribute("instanceId");
var _ed=dojo.byId(_ec);
if(_ed!=null){
var _ee=_e0[i].getAttribute("defIdRef")+"-isMinimized";
var _ef=dojo.cookie(_ee);
if(_ef=="true"){
dojo.attr(_ed,"aria-expanded","false");
}else{
dojo.attr(_ed,"aria-expanded","true");
}
}
}
}
}
catch(exception){
lconn.core.errorhandling.DefaultErrorHandler("lconn.core.WidgetPlacement.addAllWidgets",exception);
}
};
var _f0=function(_f1,_f2){
var _f3=_f1;
WidgetPlacementConfig.widgetConfigXMLDocument=_f3;
if(WidgetPlacementConfig.pageId=="fullPageWidgetView"){
try{
var _f4=_f2.args.displayedUserInfo;
var _f5=dojo.byId("widgetContainer");
if(_f5==null){
_f5=dojo.byId("widget-container-fullpage");
}
var _f6=common_getParam("widgetId");
var _f7=lconn.core.xpath.selectSingleNode("/tns:widgets/tns:definitions/tns:widgetDef[@defId = '"+_f6+"']",_f3);
var url=_f7.getAttribute("url");
addToNavBar(_f7,null,_f4,null,null,true,null);
var _f8=[{entryName:"state",entryValue:"maximize"}];
_f8=_1e(_f8,_f7,null,_f3);
_f5.innerHTML=_4e(_f6,url,_f4,_f8,"fullpage");
if(lconn.core.WidgetPlacement.loadOrder==null){
lconn.core.WidgetPlacement.loadOrder=new Array();
}
lconn.core.WidgetPlacement.loadOrder[lconn.core.WidgetPlacement.loadOrder.length]={instanceId:_f6,uiLocation:"fullpage"};
}
catch(exception){
lconn.core.errorhandling.DefaultErrorHandler("WidgetMgmt.loadWidgets",exception,"widgetContainer");
}
}else{
var _f4=_f2.args.displayedUserInfo;
_d6(WidgetPlacementConfig.pageId,_f4,_f3,_f9,_f2.args.addToNavBarBoolean);
}
};
var _fa=null;
var _f9=null;
if(WidgetPlacementConfig.pageId==null){
if(_d5!=false){
if(_f9==null){
_f9=getUserProfileOverrideProperty("canPersonalize")=="true";
}
if(_fa==null){
_fa=_1c();
}
_b2(_d5,_f9,_fa);
}
return;
}
if(_f9==null){
_f9=getUserProfileOverrideProperty("canPersonalize")=="true";
}
if(_fa==null){
_fa=_1c();
}
if(WidgetPlacementConfig.debug){
console.info("Using URL:"+WidgetPlacementConfig.layoutInfoUrl+"&lastMod="+WidgetPlacementConfig.lastMod);
}
if(WidgetPlacementConfig.widgetConfigXMLDocument==null){
dojo.xhrGet({addToNavBarBoolean:_d5,displayedUserInfo:_fa,url:WidgetPlacementConfig.layoutInfoUrl+"&lastMod="+WidgetPlacementConfig.lastMod,error:lconn.core.errorhandling.DefaultXHRErrorHandler,handleAs:"xml",sync:true,load:_f0});
}else{
_f0(WidgetPlacementConfig.widgetConfigXMLDocument,{args:{addToNavBarBoolean:_d5,displayedUserInfo:_fa}});
}
if(dojo.dnd!=null){
var _fb=dojo.dnd.manager();
_fb.makeAvatar=function(){
return new lconn.dboard.dnd.avatar(this);
};
dojo.subscribe("/dnd/drop",lconn.core.WidgetPlacement.onDropHandler);
dojo.subscribe("/dnd/start",function(_fc,_fd,_fe){
for(var i=0;i<_fd.length;i++){
lconn.core.utilities.hide(_fd[i],false,true);
lconn.core.WidgetPlacement.currentNode=_fd[i];
}
});
dojo.subscribe("/dnd/cancel",function(){
if(lconn.core.WidgetPlacement.currentNode!=null){
lconn.core.utilities.show(lconn.core.WidgetPlacement.currentNode,false,false,true);
lconn.core.WidgetPlacement.currentNode=null;
}
});
}
var _ff=function(){
var _100=dojo.byId("lotusFrame");
if(_100==null){
var _101=dojo.query(".lotusFrame");
if(_101!=null&&_101.length>0){
_100=_101[0];
}else{
_100=document.body;
}
}
dojo.parser.parse(_100);
};
setTimeout(_ff,2000);
if(dojo.dnd!=null){
var _102=function(){
for(uiLocation in lconn.core.WidgetPlacement.uiLocations){
var _103=uiLocation+"DropZone";
var _104=dojo.byId(_103);
if(_104!=null){
var _105=_45(uiLocation,_104);
lconn.core.WidgetPlacement.dropZoneObjects[_103]=_105;
}
}
};
setTimeout(_102,2000);
}
lconn.core.WidgetPlacement.initialLoad=false;
};
lconn.core.WidgetPlacement.onDropHandler=function(_106,_107,_108){
var _109=dojo.dnd.manager().target;
var _10a=null;
for(var i=0;i<_107.length;i++){
_10a=_107[i];
lconn.core.utilities.show(_10a,false,false,true);
break;
}
if(lconn.core.WidgetPlacement.currentNode!=null){
lconn.core.utilities.show(lconn.core.WidgetPlacement.currentNode,false,false,true);
lconn.core.WidgetPlacement.currentNode=null;
}
var _10b=function(){
var _10c=_109.getAllNodes();
for(var i=0;i<_10c.length;i++){
var _10d=_10a.getAttribute("widgetId");
if(_10c[i].getAttribute("widgetId")==_10d){
var _10e=null;
if(i==0){
_10e=null;
}else{
_10e=_10c[i-1].getAttribute("widgetId");
}
_10f(_10d,_109.jsId,_10e,_109,_106);
break;
}
}
};
setTimeout(_10b,300);
};
var _10f=function(_110,_111,_112,_113,_114){
var _115=WidgetPlacementConfig.applicationContext+"/moveWidget.do?resourceId="+WidgetPlacementConfig.resourceId+"&widgetInstanceId="+_110+"&newUiLocation="+_111;
if(_112!=null){
_115+="&afterWidgetInstanceId="+_112;
}
dojo.xhrPost({url:_115,handleAs:"xml",load:function(resp,_116){
var _117=new Date().getTime();
WidgetPlacementConfig.lastMod=_117;
if(_113!=null&&_114!=null&&_113!=_114){
lconn.core.WidgetPlacement.refresh(_110);
}
},error:lconn.core.errorhandling.DefaultXHRErrorHandler});
};
lconn.core.WidgetPlacement.renderWidgets=function(){
if(lconn.core.WidgetPlacement.loadOrder!=null){
for(var i=0;i<lconn.core.WidgetPlacement.loadOrder.length;i++){
var _118=lconn.core.WidgetPlacement.loadOrder[i];
if(_118!=null){
lconn.core.mumOverride.renderSingleWidget(_118.instanceId);
if(_118.uiLocation=="col3"&&dojo.byId("profilePaneRight")!=null&&dojo.hasClass("profilePaneRight","lotusHidden")){
dojo.removeClass("profilePaneRight","lotusHidden");
}else{
if(_118.uiLocation=="col1"&&dojo.byId("profilePaneLeft")!=null&&dojo.hasClass("profilePaneLeft","lotusHidden")){
dojo.removeClass("profilePaneLeft","lotusHidden");
}
}
}
}
}
};
window.destroyWidgetContainer=function(_119){
for(var i=0;lconn.core.WidgetPlacement.loadOrder!=null&&i<lconn.core.WidgetPlacement.loadOrder.length;i++){
var _11a=lconn.core.WidgetPlacement.loadOrder[i];
if(_11a!=null&&_11a.uiLocation==_119){
destroyWidget(_11a.instanceId,_11a.uiLocation,false);
}
}
var _11b=dojo.byId("widget-container-"+_119);
if(_11b&&_11b.innerHTML){
_11b.innerHTML="";
}
};
window.destroyWidget=function(_11c,_11d,_11e,_11f){
var _120=dijit.byId(_11c+"moreActions");
if(_120!=null&&(_11e==true)){
_120.destroy();
}
var _121=dijit.byId(_11c+"_toggleAction");
if(_121!=null&&(_11e==true)){
_121.destroy();
}
lconn.core.mumOverride.destroyWidget(_11c);
var _122=null;
if(_11f!=null||_11f==true){
_122=document.getElementById(_11c+"SubArea");
}
if(_122!=null){
_122.innerHTML="";
}
};
lconn.core.WidgetPlacement.loadWidgetFullPage=function(_123,_124){
lconn.core.WidgetPlacement.loadFullpageView(_123,_124,true,true);
};
lconn.core.WidgetPlacement.loadFullpageView=function(_125,_126,_127,_128,_129){
var exp4="/tns:widgets/tns:layout/tns:page/tns:widgetInstance[@instanceId = '"+_125+"']";
var _12a=lconn.core.xpath.selectSingleNode(exp4,WidgetPlacementConfig.widgetConfigXMLDocument);
var _12b=null;
if(_12a!=null){
_12b=_12a.getAttribute("defIdRef");
}else{
_12b=_125;
}
var exp3="/tns:widgets/tns:definitions/tns:widgetDef[@defId = '"+_12b+"']";
var _12c=lconn.core.xpath.selectSingleNode(exp3,WidgetPlacementConfig.widgetConfigXMLDocument);
if(_126==null){
_126=[{name:"resourceId",value:WidgetPlacementConfig.resourceId}];
}else{
_126[_126.length]={name:"resourceId",value:WidgetPlacementConfig.resourceId};
}
switchView(_12c,_125,_126,_128,_127);
};
lconn.core.WidgetPlacement.reloadOverviewPage=function(){
closeOtherViews();
if(WidgetPlacementConfig.debug){
console.log("lconn.core.WidgetPlacement.reloadOverviewPage called");
}
if(lconn.core.WidgetPlacement.currentFullpageWidgetInstanceId!=null){
destroyWidget(lconn.core.WidgetPlacement.currentFullpageWidgetInstanceId,null,false,true);
lconn.core.WidgetPlacement.currentFullpageWidgetInstanceId=null;
}
if(lconn.core.WidgetPlacement.onlyFullPageWidgetLoaded){
lconn.core.WidgetPlacement.placeWidgetMetadata(false);
lconn.core.WidgetPlacement.renderWidgets();
lconn.core.WidgetPlacement.onlyFullPageWidgetLoaded=false;
}
if(WidgetPlacementConfig.hideElements!=null){
for(var i=0;WidgetPlacementConfig.hideElements!=null&&i<WidgetPlacementConfig.hideElements.length;i++){
lconn.core.utilities.show(WidgetPlacementConfig.hideElements[i],false,false,true);
try{
dijit.byId(WidgetPlacementConfig.hideElements[i]).show();
}
catch(exception1){
}
}
}
destroyWidgetContainer("fullpage");
for(uiLocation in lconn.core.WidgetPlacement.uiLocations){
lconn.core.utilities.show("widget-container-"+uiLocation,false,false,true);
}
highlightOverviewLink();
for(var i=0;lconn.core.WidgetPlacement.loadOrder!=null&&i<lconn.core.WidgetPlacement.loadOrder.length;i++){
var _12d=lconn.core.WidgetPlacement.loadOrder[i];
if(_12d!=null){
lconn.core.WidgetPlacement.refresh(_12d.instanceId);
}
}
return false;
};
window.highlightOverviewLink=function(){
var _12e=_54();
if(_12e!=null){
var _12f=_12e.getElementsByTagName("li");
for(var i=0;_12f!=null&&i<_12f.length;i++){
dojo.removeClass(_12f[i],"lotusSelected");
}
}
if(WidgetPlacementConfig.navBarOverViewElementId!=null){
var _130=dojo.byId(WidgetPlacementConfig.navBarOverViewElementId);
if(_130!=null){
dojo.addClass(_130,"lotusSelected");
}
}
};
lconn.core.WidgetPlacement.refresh=function(_131,_132){
lconn.core.utilities.hide(_131+"moreActions",false,true);
destroyWidget(_131,null,false);
var _133=null;
if(_132==null){
_133=WidgetPlacementConfig.widgetConfigXMLDocument;
}else{
_133=_132;
}
var exp4="/tns:widgets/tns:layout/tns:page/tns:widgetInstance[@instanceId = '"+_131+"']";
var _134=lconn.core.xpath.selectSingleNode(exp4,_133);
var _135=null;
if(_134!=null){
_135=_134.getAttribute("defIdRef");
}else{
_135=_131;
}
var exp3="/tns:widgets/tns:definitions/tns:widgetDef[@defId = '"+_135+"']";
var _136=lconn.core.xpath.selectSingleNode(exp3,WidgetPlacementConfig.widgetConfigXMLDocument);
var _137=_1e(null,_136,_134,_133);
var _138=dojo.byId(_131+"SubArea");
if(_138!=null){
_138.innerHTML=_4e(_131,_136.getAttribute("url"),_1c(),_137,"view");
_138.setAttribute("widgetloaded","true");
}
if(window.refreshInfoHolder==null){
window.refreshInfoHolder={};
}
window.refreshInfoHolder[_131]=true;
lconn.core.mumOverride.renderSingleWidget(_131);
setTimeout(function(){
window.refreshInfoHolder[_131]=null;
},2000);
window.setTimeout("lconn.core.WidgetPlacement.setFocus('"+_131+"', 'widgetActionsMenu"+_131+"');",1000);
};
lconn.core.WidgetPlacement.moveDown=function(_139,_13a){
var _13b=dojo.byId(_13a+"DropZone");
var _13c=_13b.childNodes;
for(var _13d=0;_13d<_13c.length;_13d++){
var _13e=_13c[_13d].getAttribute("widgetid");
if(_13e==_139){
var _13f=_13d+1;
if(_13f>_13c.length){
_13f=_13c.length-1;
}
if(_13f==_13c.length){
break;
}
var _140=_13c[_13f].getAttribute("widgetid");
_10f(_139,_13a,_140);
try{
_13b.insertBefore(_13c[_13d],_13c[_13f+1]);
}
catch(exception){
_13b.appendChild(_13c[_13d]);
}
break;
}
}
lconn.core.utilities.hide(_139+"moreActions",false,true);
var _141=dojo.byId("widgetActionsMenu"+_139);
if(_141!=null){
_141.focus();
}
};
lconn.core.WidgetPlacement.moveUp=function(_142,_143){
var _144=dojo.byId(_143+"DropZone");
var _145=_144.childNodes;
for(var _146=0;_146<_145.length;_146++){
var _147=_145[_146].getAttribute("widgetid");
if(_147==_142){
if(_146==0){
break;
}
var _148=_146-1;
var _149=null;
if(_148!=0&&_148!=1){
_149=_145[_148-1].getAttribute("widgetid");
}
_10f(_142,_143,_149);
_144.insertBefore(_145[_146],_145[_148]);
break;
}
}
lconn.core.utilities.hide(_142+"moreActions",false,true);
var _14a=dojo.byId("widgetActionsMenu"+_142);
if(_14a!=null){
_14a.focus();
}
};
var _14b=function(){
if(window.dialog1==null){
var _14c=document.getElementById("dialog1Container");
if(_14c==null){
_14c=document.createElement("div");
_14c.id="dialog1Container";
dojo.byId("lotusContent").appendChild(_14c);
}
window.dialog1=new dijit.Dialog({id:"dialog1",style:"width: 500px"},_14c);
}
return window.dialog1;
};
lconn.core.WidgetPlacement.displayDialog=function(_14d){
var _14e=_14b();
_14e.setContent(_14d);
try{
_14e.titleBar.style.display="none";
}
catch(error1){
console.log(error1);
}
_14e.show();
var _14f=dojo.byId("dialog1.button");
if(_14f!=null){
_14f.focus();
}
};
lconn.core.WidgetPlacement.removeWidget=function(_150,_151,_152){
if(WidgetPlacementConfig.debug){
console.log("lconn.core.WidgetPlacement.removeWidget: widgetInstanceId="+_150+", removeWidgetData="+_151+", prompt="+_152);
}
var exp1="/tns:widgets/tns:layout/tns:page/tns:widgetInstance[@instanceId = '"+_150+"']";
var _153=lconn.core.xpath.selectSingleNode(exp1,WidgetPlacementConfig.widgetConfigXMLDocument);
if(_153!=null){
if(_151==true){
var _154=_153.getAttribute("defIdRef");
if(_154=="Files"){
var exp2="/tns:widgets/tns:layout/tns:page/tns:widgetInstance[@defIdRef = 'MediaGallery']";
var _155=lconn.core.xpath.selectSingleNode(exp2,WidgetPlacementConfig.widgetConfigXMLDocument);
if(_155!=null){
console.log("lconn.core.WidgetPlacement.removeWidget: Skipping removal of Files widget since MediaGallery widget is present.");
return;
}
}
}
}else{
console.log("lconn.core.WidgetPlacement.removeWidget: Unable to find widget instance for instanceId = "+_150);
}
if(_152==null){
var _156=null;
if(_151==true){
_156="<div class=\"lotusDialogBorder\"><form class=\"lotusDialog lotusForm\" onSubmit=\"return false;\" role=\"dialog\" aria-labelledby=\"removeTitle\">"+"<div class=\"lotusDialogHeader\">"+"  <h1 id=\"removeTitle\" class=\"lotusHeading\">"+_1a["deleteWidget"]+"</h1>"+"  <a title=\""+_1a["cancel"]+"\" role=\"button\" class=\"lotusRight lotusDialogClose\" href=\"javascript:;\" onclick=\"dijit.byId('dialog1').hide();\">"+"    <img src=\""+dijit._Widget.prototype._blankGif+"\" role=\"presentation\" alt=\""+_1a["cancel"]+"\" />"+"    <span class=\"lotusAltText\">X</span>"+"  </a>"+"</div>"+"<div class=\"lotusDialogContent\">"+_1a["deleteWidgetMsg"]+"</div><!--end lotusDialogContent-->"+"<div class=\"lotusDialogFooter\">"+"  <input id=\"dialog1.button\" value=\""+_1a["link.remove"]+"\" class=\"lotusFormButton\" type=\"button\" onclick=\"dijit.byId('dialog1').hide();lconn.core.WidgetPlacement.removeWidget('"+_150+"', "+_151+", false)\" />"+"  <input value=\""+_1a["cancel"]+"\" class=\"lotusFormButton\" type=\"button\" onclick=\"dijit.byId('dialog1').hide();\" />"+"</div>"+"</form></div>";
}else{
_156="<div class=\"lotusDialogBorder\"><form class=\"lotusDialog lotusForm\" onSubmit=\"return false;\" role=\"dialog\" aria-labelledby=\"hideTitle\">"+"<div class=\"lotusDialogHeader\">"+"  <h1 id=\"hideTitle\" class=\"lotusHeading\">"+_1a["hideWidget"]+"</h1>"+"  <a title=\""+_1a["cancel"]+"\" role=\"button\" class=\"lotusRight lotusDialogClose\" href=\"javascript:;\" onclick=\"dijit.byId('dialog1').hide();\">"+"    <img src=\""+dijit._Widget.prototype._blankGif+"\" role=\"presentation\" alt=\""+_1a["cancel"]+"\" />"+"    <span class=\"lotusAltText\">X</span>"+"  </a>"+"</div>"+"<div class=\"lotusDialogContent\">"+_1a["hideWidgetMsg"]+"</div><!--end lotusDialogContent-->"+"<div class=\"lotusDialogFooter\">"+"  <input id=\"dialog1.button\" value=\""+_1a["hide"]+"\" class=\"lotusFormButton\" type=\"button\" onclick=\"dijit.byId('dialog1').hide();lconn.core.WidgetPlacement.removeWidget('"+_150+"', "+_151+", false)\" />"+"  <input value=\""+_1a["cancel"]+"\" class=\"lotusFormButton\" type=\"button\" onclick=\"dijit.byId('dialog1').hide();\" />"+"</div>"+"</form></div>";
}
lconn.core.WidgetPlacement.displayDialog(_156);
lconn.core.WidgetPlacement.removeWidgetInProgress=false;
}else{
if(lconn.core.WidgetPlacement.removeWidgetInProgress==false){
if(_151==true){
_157();
}
lconn.core.WidgetPlacement.removeWidgetInProgress=true;
var _158=WidgetPlacementConfig.applicationContext+"/removeWidget.do?resourceId="+WidgetPlacementConfig.resourceId+"&widgetInstanceId="+_150+"&removeWidgetData="+_151;
dojo.xhrPost({url:_158,handleAs:"xml",load:function(resp,_159){
lconn.core.WidgetPlacement.removeWidgetInProgress=false;
for(var i=0;lconn.core.WidgetPlacement.loadOrder!=null&&i<lconn.core.WidgetPlacement.loadOrder.length;i++){
var _15a=lconn.core.WidgetPlacement.loadOrder[i];
if(_15a!=null&&_15a.instanceId==_150){
delete lconn.core.WidgetPlacement.loadOrder[i];
}
}
var _15b=_150+"Section";
var _15c=function(){
var _15d=dojo.byId(_15b);
_15d.parentNode.removeChild(_15d);
var _15e=new Date().getTime();
WidgetPlacementConfig.lastMod=_15e;
var _15f=function(resp,_160){
WidgetPlacementConfig.widgetConfigXMLDocument=resp;
if(lconn.core.applicationPalette.palette!=null){
lconn.core.applicationPalette.palette.setJsonData(lconn.core.applicationPalette.getjsonData());
lconn.core.applicationPalette.palette.populatePalette(false);
}
_161();
};
dojo.xhrGet({url:WidgetPlacementConfig.layoutInfoUrl+"&lastMod="+_15e,handleAs:"xml",error:lconn.core.errorhandling.DefaultXHRErrorHandler,load:_15f});
};
var _162=dojo.fx.wipeOut({node:_15b,duration:300,onEnd:_15c});
_162.play();
try{
eval("if(_"+_150+"_iContext.iScope().onRemoveWidgetUIContent != null) _"+_150+"_iContext.iScope().onRemoveWidgetUIContent();");
_163(_150);
destroyWidget(_150,null,true);
var _164=_153.getAttribute("defIdRef");
if(_164=="StatusUpdates"){
window.location.href=WidgetPlacementConfig.applicationContext+"/service/html/communityview?communityUuid="+WidgetPlacementConfig.resourceId;
}
}
catch(e){
console.log(e);
}
},error:lconn.core.WidgetPlacement.customAddWidgetErrorHandler});
}
}
};
var _163=function(_165){
var _166=dojo.byId(_165+"_navItem");
if(_166!=null){
_166.parentNode.removeChild(_166);
}
};
var _167=function(){
var _168="<div class=\"lotusDialogBorder\"><form class=\"lotusDialog lotusForm\">"+"<h1><img src=\""+WidgetPlacementConfig.applicationContext+"/nav/common/styles/images/loading.gif\" title=\""+_1a["widget_AddingWidget"]+"\"> "+_1a["widget_AddingWidget"]+"</h1>"+"</form></div>";
lconn.core.WidgetPlacement.displayDialog(_168);
};
var _157=function(){
var _169="<div class=\"lotusDialogBorder\"><form class=\"lotusDialog lotusForm\">"+"<h1><img src=\""+WidgetPlacementConfig.applicationContext+"/nav/common/styles/images/loading.gif\"> "+_1a["widget_RemovingWidget"]+"</h1>"+"</form></div>";
lconn.core.WidgetPlacement.displayDialog(_169);
};
var _161=function(){
var temp=dijit.byId("dialog1");
if(temp!=null){
temp.hide();
}
};
lconn.core.WidgetPlacement.addWidgetToServerAndRender=function(_16a,_16b,_16c,_16d){
if(_16a=="StatusUpdates"){
_16b="col2statusposts";
}
if(_16c==false||_16c=="false"){
_167();
}
var _16e=WidgetPlacementConfig.applicationContext+"/addWidget.do?resourceId="+WidgetPlacementConfig.resourceId+"&widgetDefId="+_16a+"&uiLocation="+_16b;
if(_16c!=null){
_16e+="&unhide="+_16c;
if(_16d){
_16e+="&instanceId="+_16d;
}
}
dojo.xhrPost({url:_16e,handleAs:"xml",load:function(resp,_16f){
lconn.core.WidgetPlacement.addWidgetInProgress=false;
var _170=resp.documentElement.getAttribute("widgetInstanceId");
lconn.core.WidgetPlacement.loadOrder[lconn.core.WidgetPlacement.loadOrder.length]={instanceId:_170,uiLocation:_16b};
dojo.global.staleXMLConfig=true;
lconn.core.WidgetPlacement.getWidgetDocAndRenderWidget(_16a,null,_170,_16b);
_161();
if(lconn.core.applicationPalette.palette!=null){
dojo.publish(lconn.core.paletteOneUI.Palette.prototype.RECHECK_CAN_ADD_WIDGET_HANDLER_EVENT);
lconn.core.applicationPalette.palette.incCounter();
}
dojo.byId("closePalette").focus();
},error:lconn.core.WidgetPlacement.customAddWidgetErrorHandler});
};
lconn.core.WidgetPlacement.customAddWidgetErrorHandler=function(_171){
_161();
lconn.core.WidgetPlacement.removeWidgetInProgress=false;
lconn.core.WidgetPlacement.addWidgetInProgress=false;
var _172="";
if(_171!=null&&_171.responseText!=null){
_172=_171.responseText;
}else{
_172=_171;
}
_172=dojox.html.entities.encode(_172);
var _173=new Date().getTime();
var _174="<div class=\"lotusFormError lotusMessage\" >"+"<img class=\"lotusIcon iconsMessages16 iconsMessages16-msgError16\" src=\""+dojo.config.blankGif+"\" alt=\""+_1a["error.title.generic"]+"\" title=\""+_1a["error.title.generic"]+"\"/>"+"<span>"+_1a["error.title.generic"]+"  <a id=\"error_"+_173+"\" href=\"javascript:void(0);\" onclick=\"lconn.core.utilities.show('errorTextContainer');lconn.core.utilities.hide('error_"+_173+"');\" title=\""+_1a["info.feed.general.moreinfo"]+"\">"+_1a["info.feed.general.moreinfo"]+"</a><div id=\"errorTextContainer\" style=\"display:none\">"+_172+"</div></span>"+"</div>";
var temp=dojo.byId("headline");
temp.innerHTML=_174+temp.innerHTML;
};
lconn.core.WidgetPlacement.minimizeWidget=function(_175,_176,_177){
lconn.core.utilities.hide(_176+"moreActions",false,true);
var _178=dojo.byId(_176+"SubArea");
var _179=dijit.byId(_176+"_toggleAction");
if(dojo.style(_178,"display")=="none"){
dojo.cookie(_177+"-isMinimized","false");
var _17a=dojo.byId("widgetActionsMenu"+_176);
dojo.attr(_17a,"aria-expanded","true");
var _17b=_178.getAttribute("widgetloaded");
var _17c=_178.getAttribute("widgetneedrefresh");
if(_17c==null){
_17c="true";
}
if(_17b=="false"&&_17c=="true"){
var temp=function(_17d,_17e){
var _17f=_17d;
lconn.core.WidgetPlacement.refresh(_176,_17f);
dojo.style(_178,"display","");
_179.setLabel(_1a["widgets_Min"]);
};
if(WidgetPlacementConfig.widgetConfigXMLDocument!=null){
temp(WidgetPlacementConfig.widgetConfigXMLDocument);
}else{
dojo.xhrGet({url:WidgetPlacementConfig.layoutInfoUrl+"&lastMod="+WidgetPlacementConfig.lastMod,error:lconn.core.errorhandling.DefaultXHRErrorHandler,handleAs:"xml",sync:true,load:temp,error:lconn.core.errorhandling.DefaultXHRErrorHandler});
}
}else{
dojo.style(_178,"display","");
_179.setLabel(_1a["widgets_Min"]);
}
}else{
dojo.cookie(_177+"-isMinimized","true");
var _17a=dojo.byId("widgetActionsMenu"+_176);
dojo.attr(_17a,"aria-expanded","false");
dojo.style(_178,"display","none");
_179.setLabel(_1a["widgets_Max"]);
}
window.setTimeout("lconn.core.WidgetPlacement.setFocus('"+_176+"', 'widgetActionsMenu"+_176+"');",1000);
};
lconn.core.WidgetPlacement.addEditTabsWithOnclickCalls=function(_180,_181,_182,_183,_184){
return lconn.core.WidgetPlacement.addTabsWithOnclickCalls(_180,_181,_182,_183,_184,"edit");
};
lconn.core.WidgetPlacement.showFirstTab=function(_185,_186,_187){
if(WidgetPlacementConfig.TabContainerDomId!=null){
var _188=document.getElementById(WidgetPlacementConfig.TabContainerDomId);
if(_188!=null){
dojo.query("li[id$='_TabItem']",_188).forEach(function(node){
dojo.removeClass(node,"lotusSelected");
dojo.attr(node,{"tabindex":"-1","aria-selected":"false","role":"tab"});
});
}
}
if(WidgetPlacementConfig.TempWidgetContainerDomId!=null){
destroyWidgetContainer(WidgetPlacementConfig.TempWidgetContainerDomId);
}
if(_185!=null){
lconn.core.utilities.show(_185);
}
if(_186!=null){
dojo.query("#"+_186).forEach(function(_189){
dojo.attr(_189,{"tabindex":"0","aria-selected":"true"});
dojo.addClass(_189,"lotusSelected");
});
}
var hash=window.location.hash;
if(hash!=null){
var _18a=hash.indexOf("&tab=");
if(_18a>0){
changeHash(hash.substr(0,_18a));
}
}
if(_187!=null){
_187();
}
return false;
};
window.activateTabbedWidget=function(_18b,_18c,_18d,_18e,_18f,_190,_191){
var _192=_18b.getAttribute("defId");
var _193=_18c.getAttribute("instanceId");
_193=(_193==null?_192:_193);
if(_190){
destroyWidgetContainer(WidgetPlacementConfig.TempWidgetContainerDomId,false);
}
destroyWidget(_193,null,false,true);
lconn.core.WidgetPlacement.getWidgetDocAndRenderWidget(_192,_18b,_193,WidgetPlacementConfig.TempWidgetContainerDomId,_18d,"skinless",false,false,_191);
if(_18e!=null){
lconn.core.utilities.hide(_18e,false,true);
}
if(typeof _191=="undefined"||_191==null){
_191=[];
}
if(dojo.isObject(_191)&&!dojo.isArray(_191)){
_191=[_191];
}
var _194="tab";
dojo.forEach(_191,function(attr){
try{
if(attr&&attr["role"]){
_194=attr["role"];
}
}
catch(ee){
}
});
var _195=document.getElementById(_18f).getElementsByTagName("li");
for(var i=0;_195!=null&&i<_195.length;i++){
if(_195[i].className!=""){
dojo.removeClass(_195[i],"lotusSelected");
}
dijit.setWaiState(_195[i],"selected","false");
dojo.removeClass(_195[i],"dijitTabContainerBottom-container");
dojo.attr(_195[i],{tabindex:"-1","role":_194});
var _196=_195[i].id.substring(0,_195[i].id.indexOf("_TabItem"));
var _197=dojo.byId(_196+"_menuiconHolder");
var _198=dojo.byId(_196+"_selectedLinkHolder");
var _199=dojo.byId(_196+"_menuicon");
if(_197!=null){
dojo.style(_197,"width","7000px");
dojo.style(_197,"display","block");
}
if(_198!=null){
dojo.style(_198,"width","1px");
dojo.style(_198,"visibility","hidden");
dojo.style(_198,"overflow","hidden");
}
if(_199!=null){
dojo.attr(_199,"tabIndex","-1");
}
dojo.query("a",_195[i]).forEach(function(node){
dojo.attr(node,"tabIndex","-1");
});
var _19a=dojo.byId(_196+"_multiWidget");
var _19b=dojo.byId(_196+"_linkHolder");
if(_19b!=null){
_19b.insertBefore(_19a,_19b.firstChild);
}
}
var _19c=dojo.byId(_193+"_TabItem");
if(_19c!=null){
dojo.addClass(_19c,"lotusSelected");
dijit.setWaiState(_19c,"selected","true");
dojo.attr(_19c,{tabindex:"0"});
dojo.addClass(_19c,"dijitTabContainerBottom-container");
}
var _197=dojo.byId(_193+"_menuiconHolder");
var _198=dojo.byId(_193+"_selectedLinkHolder");
var _199=dojo.byId(_193+"_menuicon");
if(_197!=null){
dojo.style(_197,"width","");
dojo.style(_197,"display","");
}
if(_198!=null){
dojo.style(_198,"width","");
dojo.style(_198,"visibility","");
dojo.style(_198,"overflow","");
}
if(_199!=null){
dojo.removeAttr(_199,"tabIndex");
}
var _19a=dojo.byId(_193+"_multiWidget");
var _19b=dojo.byId(_193+"_selectedLinkHolder");
if(_19b!=null){
_19b.insertBefore(_19a,_19b.firstChild);
}
};
lconn.core.WidgetPlacement.addTabsWithOnclickCalls=function(_19d,_19e,_19f,_1a0,_1a1,_1a2,_1a3){
var _1a4=null;
dojo.forEach(lconn.core.WidgetPlacement.uiLocations,function(loc){
lconn.core.utilities.show("widget-container-"+loc,false,true);
});
dojo.forEach((WidgetPlacementConfig.hideElements||[]),function(elem){
lconn.core.utilities.hide(elem,false,true);
});
if(_1a0!=null){
WidgetPlacementConfig.cancelCallBack=_1a0;
}
var _1a5=null;
var _1a6=false;
if(_1a3&&_1a3.length>0){
var _1a7=_1a3[0].component;
if(_1a7&&_1a7=="communities:content"){
_1a6=true;
}
_1a5=_1a3[0].selectTab;
var key=_1a3[0].entryValue;
if(key){
if(_1a3[0].entryName=="searchKeywords"){
var hash="query="+key;
}else{
if(_1a3[0].entryName=="tagCloudItemValue"){
var hash="tag="+key;
}
}
if(hash){
if(_1a5){
hash+="&tab="+_1a5;
}
changeHash(hash);
}
}
}
var _1a8=_1c();
var _1a9=(_1a8&&typeof (_1a8.profileType)=="string"&&dojo.trim(_1a8.profileType).length>0?_1a8.profileType:"default");
var exp1="/tns:widgets/tns:layout[@resourceSubType='"+_1a9+"']/tns:page[@pageId='"+WidgetPlacementConfig.defaultPageId+"']/tns:widgetInstance";
var exp2="/tns:widgets/tns:layout[@resourceSubType='default']/tns:page[@pageId='"+WidgetPlacementConfig.defaultPageId+"']/tns:widgetInstance";
var data=WidgetPlacementConfig.widgetConfigXMLDocument;
var _1aa=lconn.core.xpath.selectNodes(exp1,data);
if(_1aa==null||!_1aa.length){
_1aa=lconn.core.xpath.selectNodes(exp2,data);
}
var _1ab=getUserProfileOverrideProperty("canPersonalize")=="true";
var _1ac=function(node,opts){
dojo.query("._iconHolder",node.parentNode).forEach(function(_1ad){
dojo.style(_1ad,"display","none");
});
dojo.query("._iconHolder",node).forEach(function(_1ae){
dojo.style(_1ae,"display","inline");
});
var _1af=opts.defNode.getAttribute("defId");
var _1b0=opts.instNode.getAttribute("instanceId");
_1b0=(_1b0==null?_1af:_1b0);
if(opts.destroyContainer){
destroyWidgetContainer(WidgetPlacementConfig.TempWidgetContainerDomId,false);
}
destroyWidget(_1b0,null,false,true);
lconn.core.WidgetPlacement.getWidgetDocAndRenderWidget(_1af,opts.defNode,_1b0,WidgetPlacementConfig.TempWidgetContainerDomId,opts.widgetMode,"skinless",false,false,opts.attributesMap);
if(opts.initDispId!=null){
lconn.core.utilities.hide(opts.initDispId,false,true);
}
if(opts.attributesMap&&opts.attributesMap.length>0){
var key=opts.attributesMap[0].entryValue;
if(key){
if(_1a3[0].entryName=="searchKeywords"){
var hash="query=";
}else{
if(_1a3[0].entryName=="tagCloudItemValue"){
var hash="tag=";
}
}
if(hash){
hash+=key;
if(_1af){
hash+="&tab="+_1af;
}
changeHash(hash);
}
}
}
};
var _1b1=function(opts){
var _1b2=opts.defNode.getAttribute("defId");
var _1b3=getResourcedStringForItem(opts.defNode,"defId");
var li=dojo.byId(opts.instId+"_TabItem");
if(li==null){
li=dojo.create("li",{id:opts.instId+"_TabItem",role:"tab"});
dojo.place(li,_19d,"last");
}
dojo.attr(li,{itemidx:opts.itemIdx,innerHTML:"<a class=\"_linkHolder lotusLeft\">"+_1b3+"</a>"+"<a class=\"_iconHolder lotusIcon lotusLeft\" style=\"padding: 0; display: none;\"></a>"+"<div class=\"_menuHolder\" style=\"display: none;\"><div>"});
dojo.connect(li,"onclick",function(evt){
_1ac(li,opts);
dojo.stopEvent(evt);
return false;
});
if(!opts.showMenu){
dojo.query("._iconHolder",li).forEach(dojo.destroy);
dojo.query("div._menuHolder",li).forEach(dojo.destroy);
}else{
var _1b4=dojo.i18n.getLocalization("lconn.core","widgets");
var _1b5=dojo.query("div._menuHolder",li)[0];
dojo.attr(_1b5,{id:opts.instId+"moreActions",dojoType:"dijit.Menu"});
var _1b6=dojo.create("div",{dojoType:"dijit.MenuItem",label:_1b4["refresh"],"onclick":"lconn.core.WidgetPlacement.refresh('"+opts.instId+"');"});
dojo.place(_1b6,_1b5,"last");
var _1b7=opts.defNode.getAttribute("helpLink");
if(_1b7&&_1b7.length!=0){
_1b7=lconn.core.i18nOverrider.replaceParams(_1b7,WidgetPlacementConfig.params);
var _1b8=dojo.create("div",{dojoType:"dijit.MenuItem",label:_1b4["help"],title:_1b4["link.window.openNewWindow"],"onclick":"lconn.core.utilities.hide('"+_1b5.id+"', false, true);"+"lconn.core.WidgetPlacement.openHelpWindow('"+_1b7+"');"});
dojo.place(_1b8,_1b5,"last");
}
var _1b9=_1b4["actions_alt"]||"Actions for: ${0}";
_1b9=dojo.string.substitute(_1b9,[_1b3]);
var _1ba=dojo.query("._iconHolder",li)[0];
dojo.attr(_1ba,{id:opts.instId+"_MenuIcon",role:"button","aria-haspopup":"true",href:"javascript:void(0);",innerHTML:"<img class=\"lotusArrow\" alt=\""+_1b9+"\" title=\""+_1b9+"\" src=\""+dijit._Widget.prototype._blankGif+"\"/>"});
dojo.addClass(_1ba,"lotusIcon");
dojo.connect(_1ba,"onclick",function(evt){
lconn.core.WidgetPlacement.openMenu(evt,opts.instId);
dojo.stopEvent(evt);
});
}
dojo.place(li,_19d);
dojo.parser.parse(li);
return (li);
};
_1aa=_1aa||[];
dojo.forEach(_1aa,dojo.hitch(this,function(_1bb,idx){
var _1bc=_1bb.getAttribute("defIdRef");
if(_1a5==null){
_1a5=_1bc;
}
var exp3="/tns:widgets/tns:definitions/tns:widgetDef[@defId = '"+_1bc+"']";
var _1bd=lconn.core.xpath.selectSingleNode(exp3,data);
if(_1bd==null){
return;
}
var _1be=_1bb.getAttribute("uiLocation");
var _1bf=_1bd.getAttribute("modes");
var _1c0=_1bb.getAttribute("instanceId");
if(_1c0==null){
_1c0=_1bc;
}
if(_1c0==_19e){
return;
}
if(!canAddWidget(_1bd,WidgetPlacementConfig,_1ab,_1bb,_1a6)){
return;
}
var _1c1={containerId:_19d,defNode:_1bd,instNode:_1bb,instId:_1c0,initDispId:_19f,cancelCallBack:_1a0,widgetMode:_1a2,attributesMap:_1a3,itemIdx:idx,showMenu:false,destroyContainer:true};
var _1c2=null;
if(_1bf!=null&&_1bf.indexOf(_1a2)!=-1){
_1c2=_1b1(_1c1);
}else{
if(_1be==_19e){
_1c1.showMenu=true;
_1c2=_1b1(_1c1);
}
}
if(_1bc==_1a5){
_1a4=_1c2;
}
}));
WidgetPlacementConfig.isTabbedFullPageWidgetRendering=true;
WidgetPlacementConfig.TempWidgetContainerDomId=_19e;
WidgetPlacementConfig.TabContainerDomId=_19d;
if(lconn.core.WidgetPlacement.aria&&typeof (lconn.core.WidgetPlacement.aria.TabPanel)=="function"){
new lconn.core.WidgetPlacement.aria.TabPanel(_19d);
if(_1a4!=null){
_1a4.click();
}
}
dojo.query("a._iconHolder",dojo.byId(_19d)).forEach(function(_1c3){
var _1c4=dojo.query("img.lotusArrow",_1c3);
if(_1c4.length>0){
var _1c5=dojo.query("._linkHolder",_1c3.parentNode);
if(_1c5.length>0){
var h=dojo.coords(_1c5[0]).h-dojo.style(_1c5[0],"borderTopWidth")-dojo.style(_1c5[0],"borderBottomWidth");
dojo.style(_1c4[0],"height",h+"px");
}
}
});
};
window.changeHash=function(_1c6){
window.location.hash=_1c6;
};
lconn.core.WidgetPlacement.URLChange=function(URL){
if(WidgetPlacementConfig.debug){
console.log("lconn.core.WidgetPlacement.URLChange: value: "+URL);
}
var _1c7=URL.indexOf("#");
if(_1c7==-1||URL.substring(_1c7).length==1){
lconn.core.WidgetPlacement.reloadOverviewPage();
return;
}
var _1c8=lconn.core.utilities.getURLParam("fullpageWidgetId",true);
if(_1c8&&_1c8!=lconn.core.WidgetPlacement.currentFullpageWidgetInstanceId){
lconn.core.WidgetPlacement.loadFullpageView(_1c8,null,false,true,true);
return;
}
};
lconn.core.WidgetPlacement.init=function(){
if(lconn.core.WidgetPlacement.URLChangeCallBack==null){
lconn.core.WidgetPlacement.URLChangeCallBack=[lconn.core.WidgetPlacement.URLChange];
registerBackButtonSupport();
}
var _1c9=lconn.core.utilities.getURLParam("fullpageWidgetId",true);
if(_1c9==null||_1c9==""){
lconn.core.WidgetPlacement.placeWidgetMetadata();
lconn.core.WidgetPlacement.renderWidgets();
if(WidgetPlacementConfig.hideElements!=null){
for(var i=0;WidgetPlacementConfig.hideElements!=null&&i<WidgetPlacementConfig.hideElements.length;i++){
lconn.core.utilities.show(WidgetPlacementConfig.hideElements[i],false,false,true);
}
}
}else{
lconn.core.WidgetPlacement.onlyFullPageWidgetLoaded=true;
var temp=function(_1ca,_1cb){
var _1cc=_1ca;
WidgetPlacementConfig.widgetConfigXMLDocument=_1cc;
_b2(true,(getUserProfileOverrideProperty("canPersonalize")=="true"),_1c());
var _1cd=false;
var _1ce="initial";
lconn.core.WidgetPlacement.loadFullpageView(_1c9,null,_1ce,_1cd);
};
dojo.xhrGet({url:WidgetPlacementConfig.layoutInfoUrl+"&lastMod="+WidgetPlacementConfig.lastMod,error:lconn.core.errorhandling.DefaultXHRErrorHandler,handleAs:"xml",sync:true,load:temp});
}
};
lconn.core.WidgetPlacement.setFocus=function(_1cf,_1d0){
var _1d1=document.getElementById(_1cf+"Section");
if(_1d1){
var _1d2=dojo.query("#"+_1d0,_1d1);
if(_1d2&&_1d2.length>0){
try{
if(_1d2[0].focus){
_1d2[0].focus();
}
}
catch(e){
console.log(e.message);
}
}
}
};
})();
}


;if(!dojo._hasResource["lconn.communities.bizCard.bizCard"]){
dojo._hasResource["lconn.communities.bizCard.bizCard"]=true;
dojo.provide("lconn.communities.bizCard.bizCard");
dojo.require("lconn.core.bizCard.bizCardUtils");
dojo.require("lconn.communities.bizCard.bizCardUI");
dojo.require("lconn.core.config.services");
dojo.require("com.ibm.oneui.util.Url");
dojo.require("lconn.core.config");
dojo.require("lconn.core.WidgetPlacement");
ic_comm_communityUuid="";
ic_comm_communityName="";
ic_comm_communityType="";
ic_comm_communitiesSvcRef="";
lconn.communities.bizCard.bizCard={servletUrl:null,requestor:null,initited:false,init:function(){
this.servletUrl=lconn.core.bizCard.bizCardUtils.getBaseURL("hgroup")+"/service/json/communityview?communityUuid=@@@UUID@@@";
if(this.initited==false){
this.requestor=new LCSemTagUtil.crossDomainRequest();
this.initited=true;
}
},updateGlobalVars:function(_1){
ic_comm_communityUuid=_1.uuid;
ic_comm_communityName=_1.name;
ic_comm_communityType=_1.communityType;
ic_comm_communitiesSvcRef=lconn.core.bizCard.bizCardUtils.getBaseURL("hgroup");
},getIdMethod:function(_2){
return _2.uuid?_2.uuid:null;
},convMethod:function(_3){
return _3;
},customTrim:function(_4){
return _4.replace(/^\s+/,"").replace(/\s+$/,"");
},processTag:function(_5){
try{
if(!this.initited){
lconn.core.bizCard.bizCardUtils.init();
LCSemTagMenu.init();
this.init();
}
this.processHcard(_5);
}
catch(e){
console.log(e);
}
},processHcard:function(_6){
var _7=this.getNameElement(_6);
if(!_7){
return;
}
if(this.isInline(_6)){
var _8={"target":_7};
this.getTagFromServer(_8);
}else{
lconn.core.bizCard.bizCardUtils.addHover(_7,lconn.communities.bizCard.bizCard.showHover,lconn.communities.bizCard.bizCard.showMenu);
}
},isInline:function(_9){
return this.getHcardAttributeValue("X-community-display-inline",_9);
},loadHcardCommunity:function(_a){
var _b=new Object();
var _c=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcomm",_a);
var _d=_c.getElementsByTagName("*");
for(i=0;i<_d.length;i++){
var _e=_d[i];
if(_e.className){
var _f=_e.className.split(" ");
for(j=0;j<_f.length;j++){
var c=_f[j];
var _10=this.getHcardAttributeValue(c,_c);
if(_10){
_b[c]=_10;
}
}
}
}
return _b;
},getHcardAttributeValue:function(_11,_12){
switch(_11){
case ("name"):
return this.getHcardTypedAttribute(_12,_11,"name");
case ("uuid"):
return this.getHcardTypedAttribute(_12,_11,"uuid");
case ("selectedWidgetId"):
return this.getHcardTypedAttribute(_12,_11,"selectedWidgetId");
}
var _13=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcomm",_12);
var _14=lconn.core.bizCard.bizCardUtils.getElementsByClassName(_11,_13,1);
if(_14.length>0&&_14[0].tagName.match(/^abbr$/i)){
return _14[0].getAttribute("title");
}
switch(_11){
case ("uuid"):
var _15=lconn.core.bizCard.bizCardUtils.getSinglePropertyValue(_14[0]);
if(_15){
return _15;
}else{
return this.getHcardAttributeValue("name",_12);
}
break;
case ("name"):
var _16=lconn.core.bizCard.bizCardUtils.getSinglePropertyValue(_14[0]);
if(_16){
return _16;
}
break;
case ("selectedWidgetId"):
var _17=lconn.core.bizCard.bizCardUtils.getSinglePropertyValue(_14[0]);
if(_17){
return _17;
}
break;
case ("X-community-display-inline"):
if(_14.length>0){
return true;
}else{
return false;
}
default:
return lconn.core.bizCard.bizCardUtils.getSinglePropertyValue(_14[0]);
break;
}
},getHcardTypedAttribute:function(_18,_19,_1a){
var _1b=new Object();
var _1c=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcomm",_18);
var _1d=lconn.core.bizCard.bizCardUtils.getElementsByClassName(_19,_1c);
for(i=0;i<_1d.length;i++){
var _1e=_1d[i];
_1b=lconn.core.bizCard.bizCardUtils.getTypedValue(_1e,_1a);
}
return _1b;
},showHover:function(_1f){
try{
lconn.core.bizCard.bizCardUtils.showHover(_1f,lconn.communities.bizCard.bizCard.showMenu);
this.focus();
}
catch(e){
console.log("Error in lconn.communities.bizCard.bizCard.showHover");
console.log(e);
}
},showMenu:function(_20){
LCSemTagMenu.waitCursor();
lconn.communities.bizCard.bizCard.getTagFromServer(_20);
},getTagFromServer:function(_21){
var _22=null;
var _23=null;
if(_21!=null&&_21.target!=null&&_21.target.className=="name"){
_22=_21.target;
_23=_21;
LCSemTagMenu.currentElem=_22;
}else{
_22=LCSemTagMenu.currentElem;
_23={target:_22,original:_21};
if(_22==null&&_21!=null){
_23=_21;
_22=_21.target;
}
}
var _24=this.customTrim(this.getElementUuid(_22));
var _25={"UUID":_24};
var _26="lconn.communities.bizCard.bizCard.dispatch";
var _27=_24;
if(lconn.core.bizCard.bizCardUtils.isDebug){
window.status="Community.getTagFromServer sending request for: "+_24+")";
}
lconn.core.bizCard.bizCardUtils.getBizCardData(this.servletUrl+"&preventCache="+new Date().getTime(),_25,_26,this.requestor,this.requestReturn,_23,_27);
},requestReturn:function(_28,_29,_2a){
if(_28==false){
console.log("lconn.communities.bizCard.bizCard.requestReturn: Error occurring while rendering the community bizcard");
console.log("lconn.communities.bizCard.bizCard.requestReturn: Error Details: "+_29);
}else{
if(lconn.core.bizCard.bizCardUtils.isDebug){
window.status="Community.requestReturn: success="+_28;
}
var _2b=_28?lconn.communities.bizCard.bizCard.convMethod(_29):{};
var _2c=lconn.core.bizCard.bizCardUtils.getLiveElementFromEvent(_2a);
lconn.communities.bizCard.bizCard.fillCommunityJsonMoreFromDom(_2b,_2c);
lconn.communities.bizCard.bizCard.update(_2b,_2c,_2a);
}
},fillCommunityJsonMoreFromDom:function(_2d,_2e){
if(lconn.core.bizCard.bizCardUtils.isDebug){
window.status="Community.fillCommunityJsonMoreFromDom";
}
if(!_2d.name){
var _2f=lconn.core.bizCard.bizCardUtils.findNameElementInHcard(_2e);
if(_2f){
_2d.name=lconn.core.bizCard.bizCardUtils.getTextValue(_2f);
}
}
if(!_2d.uuid){
var _30=this.getElementUuid(_2e);
_2d.uuid=_30;
}
},update:function(_31,_32,_33){
if(lconn.core.bizCard.bizCardUtils.isDebug){
window.status="Community.update";
}
this.currentCommunity=_31;
var _34=null;
dojo.query(".vcomm").forEach(function(_35){
_34=_35;
});
if(_34&&this.isInline(_34)){
var out=new lconn.core.bizCard.bizCardUtils.out();
var _36=this.getHcardAttributeValue("selectedWidgetId",_34).selectedWidgetId;
lconn.communities.bizCard.bizCardUI.getInlineMarkup(_31,"ltr",out,_36);
var _37=lconn.core.bizCard.bizCardUtils.getElementsByClassName("personinlinemenu",_34,1);
if(_37.length>0){
_37[0].innerHTML=out.buffer;
}else{
var _38=document.createElement("span");
_38.className="personinlinemenu";
_38.innerHTML=out.buffer;
try{
_34.appendChild(_38);
}
catch(e){
console.log("Error: attempt place inline bizcard menu under vcomm classed element failed.  parentVcomm=["+_34+"]");
console.log(e);
}
}
new lconn.core.WidgetPlacement.aria.Toolbar("bizCardNav");
lconn.communities.bizCard.bizCardUI.addCommunityActionsMenu(_31);
}else{
var _39=new Array();
var _3a="personMenuActions";
var _3b=new lconn.core.bizCard.bizCardUtils.out();
var _3c=new lconn.core.bizCard.bizCardUtils.out();
lconn.communities.bizCard.bizCardUI.getMenuData(_31,"ltr",_39,_3a,_3b,_3c);
lconn.core.bizCard.bizCardUtils.setMenuData(_33,_39,_3a,lconn.core.bizCard.bizCardUtils.getMenuHeaderJson(_3b.buffer,-100));
}
this.updateGlobalVars(_31);
},dispatch:function(_3d){
var _3e=this.getIdMethod(_3d);
this.requestor.dispatch(_3e,_3d);
},getElementUuid:function(_3f){
var _40;
var _41=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcomm",_3f);
if(_41!=null){
_40=this.getHcardAttributeValue("uuid",_41);
_40=_40.uuid;
}
return _40;
},getNameElement:function(_42){
if(_42.className!="vcomm"){
_42=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcomm",_42);
}
var _43=lconn.core.bizCard.bizCardUtils.getElementsByClassName("name",_42,1)[0];
return _43;
}};
(function(){
var _44=lconn.core.config.services;
var _45=_44.communities;
if(!_45){
return;
}
var _46=com.ibm.oneui.util.Url.secure;
var _47=_46?_45.secureUrl:_45.url;
window.SemTagSvcConfig.baseUrl=_47;
window.livetextCfg.push({"id":"hgroup","match":".vcomm","tagHandler":lconn.communities.bizCard.bizCard,"loaded":true,"baseURL":_47});
})();
}

dojo.provide("lconn.profiles.bizCard.nls.ui")._built=true;
dojo.provide("lconn.profiles.bizCard.nls.ui.en_gb");
lconn.profiles.bizCard.nls.ui.en_gb={"friendsActionsFor":"Actions for Network","label.personcard.homepagelink.title":"Click here to see this person\'s home page","personCardCall":"Call","friendsInviteReceiveUpdates":"(receive updates)","friendsInvitedEmailMsg1":"has invited you to become a network contact with the following message included in the invitation:","friendsEmail":"E-mail:","friendsInvitedEmailMsg2":"Open your Network Invitation page","friendsPersonAlreadyInYourNetwork":"Invitation to your network is not possible because the {0} is already in your network.","friendsInvitedEmailMsg3":"I\'d like to add you to my network.","friendsInvitedEmailMsg4":"{0} has invited you to become a network contact:","label.bizcard.applinks.less":"Show less","friendsInvitedEmailMsg5":"{0} has invited you to become a network contact with the following message included in the invitation:","friendsRemoved":"Network contact(s) removed.","friendsNewInvs":"{0} new invitations","friendsInCommonMulti":"You have {0} network contacts in common","personCardFollow":"Follow","label.personcard.activitieslink":"Activities","friendsInitialMsgForInv":"I\'d like to add you to my Connections network contacts list.","friendsNewInvitationsCount":"You have {0} new invitation(s)","friendsRecentlyAdded":"People you have recently added to your network.","friendsInvitations":"Invitations","friendsNewInv":"{0} new invitation","label.personcard.newslink.title":"Click here to see this person\'s news","label.personcard.noprofilemsg":"A profile does not exist for this person","friendsAltEmail":"Alternate E-mail:","friendsInviteMessage":"I\'d like to add you to my Connections network.","friendsViewAllFriends":"View All ({0})","label.personcard.wikislink":"Wikis","friendsInviteFollowHelp":"For more information, see {0}Following people{1}.","friendsNetworkFor":"Network for {0}","friendsSelectFriendForRemoval":"Select the contacts you want to remove first.","friendsRemoveSelected":"Remove Selected","friendsIncludeMsgForInv":"Include a message with your invitation:","friendsInvitedEmailSubject":"[Profiles] You are invited to join my network","label.personcard.quickrlink.title":"Click here to see this person\'s quickr shares","label.semtag.hover.altA11Y":"Click here or press control-enter to view the business card","friendsAddToMyNetwork":"I\'d like to add you to my Connections network.","label.personcard.newslink":"News","personCardAddAsMyColleagues":"Invite to My Network","friendsCollapseWidget":"Click to collapse the network section","noStatuAvailable":"No Sametime status available","friendsSendInvAction":"Send invitation","label.personcard.fileslink.title":"Click here to see this person\'s shared files","personCardProxyStatusAvailable":"I am available","friendsMenuTitleAllContacts":"All Network Contacts","personCardMoreActionsAltText":"Click for action menu","friendsSendFriendRequest":"Send request","label.personcard.homepagelink":"Home","friendsShowAllCommonFriends":"Show all...","label.personcard.communitieslink.title":"Click here to see this person\'s communities","friendsIsYourColleague":"{0} is your network contact","friendsMenuTitleMyContacts":"My Network Contacts","label.personcard.blogslink.title":"Click here to see this person\'s blog","friendsNetworkInCommon":"You have {0} network connections in common.","label.personcard.dogearlink.title":"Click here to see this person\'s bookmarks","friendsInviteUpdatesDescription":"Receive updates about people you are following on the Home page and in an email summary.","label.personcard.mobilelink.title":"Click here to see this person\'s mobile page","label.personcard.forumlink.title":"Click here to see this person\'s forum posts","label.personcard.blogslink":"Blogs","friendsNoFriends":"No network contacts are associated with this profile","label.personcard.activitieslink.title":"Click here to see shared activities","friendsColleaguesInvite":"Invite {0} to be your network contact","friendsSortByDisplayName":"Display Name","personCardSendMail":"Send E-mail","friendsSortByRecent":"Recent","label.personcard.cardreqexpired":"The request to get the business card expired","label.inactive.user.msg":"This person is no longer an active user","errorDefaultMsg2":"An error has occurred, contact your system administrator","friendsLoadingInv":"Loading Invitations...","label.personcard.forumlink":"Forums","personCardSendEMail":"Send E-mail","friendsYouExceedTextLimit":"Your invite message is too long. It can be a maximum of {1} characters. There are {0} characters in this field.","friendsAcceptAction":"Accept","friends":"Network","label.personcard.wikislink.title":"Click here to see this person\'s wikis","personCardMoreActions":"More Actions","friendsFullPageTitle":"Network","label.semtag.hover":"Click here to view business card","friendsCannotAddYourself":"You cannot add yourself as a network contact.","label.personcard.cardnomarkup":"The business card could not be retrieved","friendsInviteTagError":"An error occurred while attempting to tag {0}","friendsInviteAddTagsFor":"Add tags for {0}:","personCardUnfollow":"Stop Following","friendsExpandWidget":"Click to expand the network section","friendsMenuTitleInCommon":"People in Common","friendsIsInYourNetwork":"{0} is in your network.","label.personcard.profilelink.title":"Click here to see this person\'s profile","label.personcard.dogearlink":"Bookmarks","label.bizcard.applinks.more":"Show more","friendsRemovedSelected":"Remove from My Network","friendsRemoveSelectedTip":"Click to remove the selected people from your network.","label.message.information":"Information:","label.personcard.mobilelink":"Mobile","friendsInCommonSingle":"You have {0} network contact in common","friendsMyNetwork":"Network","label.personcard.quickrlink":"Quickr","friendsInvSent":"No invitation sent because an invitation is already pending.","label.personcard.profilelink":"Profile","friendsCancelInvAction":"Cancel","friendsNetwork":"Network","friendsInviteFailed":"Due to a server error, an e-mail notification was not sent to the invitee. However the invitee will still be able to accept your invitation through the Profiles web application.","friendsNoInv":"No invitations","friendsIgnoreAction":"Ignore","label.personcard.fileslink":"Files","label.semtag.hover.alt":"Click to view business card for {0}","friendsDate":"Date","friendsLoading":"Loading Network...","friendsPleaseLogIn":"Please log in to invite people to your network","friendsInviteLegalNote":"By sending this invitation, you agree to allow {0} to comment on your profile board.","loadingSTStatus":"Loading Sametime status...","friendsTelephone":"Telephone:","friendsColleaguesFor":"Network Contacts for {0}","personCardAddAsColleagues":"Invite to My Network","label.personcard.communitieslink":"Communities","friendsInvitePerson":"Invite {0} to your network","friendsInviteAlsoFollow":"Also Follow","personCardDownloadVCard":"Download vCard","friendsInviteFollowError":"An error occurred while attempting to follow {0}","personCardChat":"Chat","friendsInvite":"Invite to My Network"};
dojo.registerModulePath("lconn.profiles.invite", "../lconn.profiles.invite");

;dojo.cache("lconn.profiles.invite", "templates/Invite.html", "<div class=\"lotusDialogBorder\" style=\"width:450px;\"> <form id=\"${id}_networkInviteForm\" class=\"lotusDialog lotusForm\" dojoAttachEvent=\"onsubmit:formSubmitted\"> <div class=\"lotusDialogHeader\"> <h1 class=\"lotusHeading\">${friendsInviteTitle}</h1> <a title=\"${friendsCancelInvActionMessage}\" role=\"button\" class=\"lotusRight lotusDialogClose\" href=\"javascript:;\" dojoAttachEvent=\"onclick:friendsCancelInvAction\"> <img role=\"presentation\" src=\"${blankGif}\" alt=\"${friendsCancelInvActionMessage}\" /> <span class=\"lotusAltText\">X</span> </a> </div> <div class=\"lotusDialogContent\" style=\"max-height:400px;\"> <fieldset> <legend class=\"lotusHidden\">${friendsInviteTitle}</legend> <table class=\"lotusFormTable\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" role=\"presentation\"> <tbody> <tr class=\"lotusFormFieldRow\"> <td> <div class=\"profilePhoto\"> <img src=\"${profilePhotoSrc}\" alt=\"${displayName}\" height=\"96\" width=\"96\" style=\"top:5px; position: relative;\" />&nbsp; </div> </td> <td style=\"width:3px;\"> </td> <td> <div> <big dojoAttachPoint=\"friendsColleaguesInviteMessageControl\">${friendsColleaguesInviteMessage}</big> </div> <div style=\"margin-top:5px;\"> <label for=\"${id}_invitation_text\">${invitationMessageLabel}</label> <br /> <textarea id=\"${id}_invitation_text\" dojoAttachPoint=\"invitationMessageControl\" dojoAttachEvent=\"focus:_invitationMessageControlFocus, blur:_invitationMessageControlBlur\" style=\"width:275px;\" cols=\"40\" rows=\"4\" name=\"invitation_text\">${invitationMessage}</textarea> </div> <div style=\"margin-top:5px;\" dojoAttachPoint=\"invitationTagsControlDiv\"> <label for=\"${id}_invitation_tags\" dojoAttachPoint=\"invitationTagsLabelControl\">${invitationTagsLabel}</label> <br /> <input id=\"${id}_invitation_tags\" dojoType=\"lconn.core.CommonTags.CommonTagsTypeAhead\" dojoAttachPoint=\"invitationTagsControl\" multipleValues=\"true\" token=\" \" minChars=\"2\" style=\"width:275px;\" /> </div> <div dojoAttachPoint=\"invitationFollowControlDiv\"> <table class=\"lotusTable\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" role=\"presentation\" style=\"margin-top:15px;\"> <tr> <td> <input type=\"checkbox\" id=\"${id}_invitation_follow\" name=\"invitation_follow\" value=\"true\" checked=\"checked\" dojoAttachPoint=\"invitationFollowControl\"> </td> <td> <label for=\"${id}_invitation_follow\">${invitationFollowLabel}</label> <br /> <div style=\"margin-top:3px;\">${invitationFollowDescription}</div> <div style=\"margin-top:3px;\">${invitationFollowHelp}</div> </td> </tr> </table> </div> </td> </tr> </tbody> </table> </fieldset> </div> <div class=\"lotusDialogFooter\"> <div class=\"lotusBtnContainer\"> <input type=\"button\" role=\"button\" value=\"${friendsSendInvActionMessage}\" class=\"lotusBtn lotusBtnSpecial\" dojoAttachEvent=\"onclick:friendsSendInvAction\" /> <span style=\"padding-left: 5px;\"> <input type=\"button\" role=\"button\" value=\"${friendsCancelInvActionMessage}\" class=\"lotusBtn\" dojoAttachEvent=\"onclick:friendsCancelInvAction\" /> </span> </div> </div> </form></div>");

;if(!dojo._hasResource["lconn.profiles.invite.Invite"]){
dojo._hasResource["lconn.profiles.invite.Invite"]=true;
dojo.provide("lconn.profiles.invite.Invite");
dojo.require("dijit.dijit");
dojo.require("dijit.Dialog");
dojo.require("dijit.form.CheckBox");
dojo.require("dojo.parser");
dojo.require("lconn.core.xpath");
dojo.require("lconn.core.CommonTags.CommonTagsTypeAhead");
dojo.require("lconn.core.TypeAheadDataStore");
dojo.require("lconn.core.i18nOverrider");
dojo.require("lconn.core.url");
dojo.require("lconn.core.config.services");
dojo.requireLocalization("lconn.profiles.bizCard","ui");
lconn.profiles.invite.Invite={_isDebug:false,_status:{general:-1,invite:-1,follow:-1,tag:-1},messages:dojo.i18n.getLocalization("lconn.profiles.bizCard","ui"),LONG_PARAM_NAMES:{sourceKey:"sourceKey",targetKey:"targetKey",sourceUserid:"sourceUserid",targetUserid:"targetUserid"},SHORT_PARAM_NAMES:{sourceKey:"",targetKey:"key",sourceUserid:"",targetUserid:"userid"},_getUrlParamsProto:function(_1,_2){
var _3={};
if(_1.byKey){
_3.sourceParam=_2.sourceKey;
_3.sourceValue=_1.loggedInUserKey;
_3.targetParam=_2.targetKey;
_3.targetValue=_1.targetKey;
}else{
_3.sourceParam=_2.sourceUserid;
_3.sourceValue=_1.loggedInUserid;
_3.targetParam=_2.targetUserid;
_3.targetValue=_1.targetUserid;
}
return _3;
},_getHaveConnectionUrl:function(_4){
var _5="${applicationContext}/atom/connection.do?connectionType=colleague&${sourceParam}=${sourceValue}&${targetParam}=${targetValue}&returnNoContent=true";
return dojo.string.substitute(_5,dojo.mixin(this._getUrlParamsProto(_4,this.LONG_PARAM_NAMES),_4));
},_getAccessCheckUrl:function(_6){
var _7="${applicationContext}/ajax/invitationAccess.do?${targetParam}=${targetValue}";
return dojo.string.substitute(_7,dojo.mixin(this._getUrlParamsProto(_6,this.SHORT_PARAM_NAMES),_6));
},_getFriendRequestUrl:function(_8){
var _9="${applicationContext}/atom2/forms/friendrequest?${targetParam}=${targetValue}&lastMod=${lastMod}";
return dojo.string.substitute(_9,dojo.mixin(this._getUrlParamsProto(_8,this.LONG_PARAM_NAMES),_8));
},_getFollowRequestUrl:function(_a){
if(_a&&!_a.action){
_a.action="follow";
}
var _b="${applicationContext}/html/following.do?${targetParam}=${targetValue}&${sourceParam}=${sourceValue}&action=${action}&lastMod=${lastMod}";
return dojo.string.substitute(_b,dojo.mixin(this._getUrlParamsProto(_a,this.LONG_PARAM_NAMES),_a));
},_getProfileTagsGetterUrl:function(_c){
var _d="${applicationContext}/atom/forms/profileTags.do?${targetParam}=${targetValue}&${sourceParam}=${sourceValue}&format=full&lastMod=${lastMod}";
return dojo.string.substitute(_d,dojo.mixin(this._getUrlParamsProto(_c,this.LONG_PARAM_NAMES),_c));
},_getProfileTagsSetterUrl:function(_e){
var _f="${applicationContext}/atom/forms/profileTags.do?${targetParam}=${targetValue}&${sourceParam}=${sourceValue}&lastMod=${lastMod}";
return dojo.string.substitute(_f,dojo.mixin(this._getUrlParamsProto(_e,this.LONG_PARAM_NAMES),_e));
},_getPanelTypeaheadUrl:function(_10){
var url="${applicationContext}/html/tagTypeahead.do?useJson=true";
return dojo.string.substitute(url,dojo.mixin({},_10));
},_getPanelPhotoUrl:function(_11){
var url="${applicationContext}/photo.do?${targetParam}=${targetValue}";
return dojo.string.substitute(url,dojo.mixin(this._getUrlParamsProto(_11,this.SHORT_PARAM_NAMES),_11));
},inviteDialog:null,inviteDialogLinked:false,invitePanelIsReady:false,inviteDialogIsReady:false,_destroyOldPanel:function(){
if(this._isDebug){
console.debug("in Invite._destroyOldPanel");
}
if(this.inviteDialog&&this.inviteDialog.containerNode&&this.inviteDialog.containerNode.firstChild){
var _12=dijit.byNode(this.inviteDialog.containerNode.firstChild);
if(_12){
_12.destroyRecursive();
}
}
},_createPanel:function(_13){
if(this._isDebug){
console.debug("in Invite._createPanel");
}
if(this.inviteDialog&&!this.inviteDialogIsReady){
var _14=new lconn.profiles.invite.InvitePanel(this._prepareArgs(_13));
this.inviteDialog.titleNode.innerHTML=_14.friendsInviteTitle;
dojo.addClass(this.inviteDialog.titleNode,"lotusAltText");
if(!this.inviteDialogIsLinked){
dojo.body().appendChild(this.inviteDialog.domNode);
this.inviteDialogIsLinked=true;
}
if(this.inviteDialog.containerNode){
this.inviteDialog.containerNode.appendChild(_14.domNode);
}
this.inviteDialog.startup();
this.invitePanelIsReady=true;
this.inviteDialogIsReady=true;
}
},_getString:function(key){
var _15=null;
_15=this.messages[key];
return _15;
},_initializeData:function(_16){
if(this._isDebug){
console.debug("in Invite._initializeData");
}
this._status.general=this._status.invite=this._status.follow=this._status.tag=-1;
_16=_16||{};
_16.lastMod=_16.lastMod||((new Date().getTime())+"");
_16.xhrErrorHandlerCallback=_16.xhrErrorHandlerCallback||function(){
};
_16.errorHandlerCallback=_16.errorHandlerCallback||function(){
};
_16.xhrDoneCallback=_16.xhrDoneCallback||function(){
};
if(!_16.loggedInUserKey&&!_16.loggedInUserid){
alert(lconn.profiles.invite.Invite._getString("friendsPleaseLogIn"));
this._status.general=0;
}else{
if((_16.loggedInUserKey&&_16.loggedInUserKey==_16.targetKey)||(_16.loggedInUserUserid&&_16.loggedInUserUserid==_16.targetUserid)){
alert(lconn.profiles.invite.Invite._getString("friendsCannotAddYourself"));
this._status.invite=0;
}else{
this._sendCanFriendRequest(_16,dojo.hitch(this,function(){
if(_16.canTag===null||_16.canTag===undefined||_16.canFollow===null||_16.canFollow===undefined){
this._sendAccessCheckRequest(_16,dojo.hitch(this,function(_17){
_16.canTag=_17.canTag;
_16.canFollow=_17.canFollow;
_16.isFollowed=_17.isFollowed;
_16.canFriend=_17.canFriend;
this._createPanel(_16);
}));
}else{
this._createPanel(_16);
}
}));
}
}
},_initializePanel:function(_18){
if(this.inviteDialog&&this.inviteDialog.containerNode){
this._destroyOldPanel();
this._initializeData(_18);
}
},_initializeDialog:function(_19){
if(!this.inviteDialog){
this.inviteDialog=new dijit.Dialog({content:"",style:""});
this._initializePanel(_19);
}
},_prepareArgs:function(_1a){
_1a=_1a||{};
_1a.sendInviteCallback=_1a.sendInviteCallback||function(){
};
_1a._xhrDoneCallback=dojo.hitch(this,function(){
if(this._isDebug){
console.debug("in Invite._xhrDoneCallback");
}
this.hide();
_1a.xhrDoneCallback();
});
var _1b={onClose:dojo.hitch(this,function(){
this.hide();
})};
_1b.cancelInviteCallback=_1a.cancelInviteCallback||function(){
};
_1b.displayName=_1a.displayName||"";
_1b.canFriend=_1a.canFriend;
_1b.canTag=_1a.canTag;
_1b.canFollow=_1a.canFollow;
_1b.isFollowed=_1a.isFollowed;
_1b.tagTypeaheadUrl=this._getPanelTypeaheadUrl(_1a);
_1b.profilePhotoSrc=this._getPanelPhotoUrl(_1a);
_1b.sendInviteCallback=dojo.hitch(this,function(msg,_1c,_1d){
if(this._isDebug){
console.debug("in Invite.sendInviteCallback");
}
this._status.general=this._status.invite=this._status.follow=this._status.tag=-1;
if((_1a.loggedInUserKey&&_1a.loggedInUserKey==_1a.targetKey)||(_1a.loggedInUserUserid&&_1a.loggedInUserUserid==_1a.targetUserid)){
alert(lconn.profiles.invite.Invite._getString("friendsCannotAddYourself"));
this._status.invite=0;
}else{
var _1e=dojo.hitch(this,function(_1f,_20,_21){
if(this._isDebug){
console.debug("in Invite.getTagsDoneCallback");
}
var _22=false;
dojo.forEach(_1d,function(tag){
if(dojo.indexOf(_21,tag)<0){
_22=true;
_21.push(tag);
}
});
if(_22){
this._sendTagsReplaceRequest(_21,_1a,_1a._xhrDoneCallback);
}else{
_1a._xhrDoneCallback();
}
});
var _23=dojo.hitch(this,function(){
if(this._isDebug){
console.debug("in Invite.followDoneCallback");
}
if(_1d&&_1d.length>0){
this._sendGetTagsRequest(_1a,_1e);
}else{
_1a._xhrDoneCallback();
}
});
var _24=dojo.hitch(this,function(){
if(this._isDebug){
console.debug("in Invite.friendingDoneCallback");
}
if(_1c){
this._sendFollowRequest(_1a,_23);
}else{
_23();
}
});
this._sendFriendRequest(msg,_1a,_24);
}
_1a.sendInviteCallback();
});
return _1b;
},showDialog:function(_25,_26,_27,_28,_29,_2a,_2b,_2c,_2d,_2e,_2f,_30){
if(this._isDebug){
console.debug("in Invite.showDialog");
}
if(this.inviteDialogIsReady){
return;
}
var _31={byKey:_26,displayName:_27,canFriend:null,canTag:null,canFollow:_30,isFollowed:null,applicationContext:_25,errorNodeId:_2a,xhrErrorHandlerCallback:_2b,errorHandlerCallback:_2c,xhrDoneCallback:_2d,sendInviteCallback:_2e,cancelInviteCallback:_2f};
if(_26){
_31.targetKey=_28;
_31.loggedInUserKey=_29;
}else{
_31.targetUserid=_28;
_31.loggedInUserid=_29;
}
this.show(_31);
},_delayedDialog:function(){
if(this._isDebug){
console.debug("in Invite._delayedDialog");
}
if(this.inviteDialog){
if(this._delayedDialogTimeout){
clearTimeout(this._delayedDialogTimeout);
this._delayedDialogTimeout=null;
}
if(this.invitePanelIsReady){
this.inviteDialog.show();
}else{
this._delayedDialogTimeout=setTimeout(dojo.hitch(this,this._delayedDialog),1000);
}
}
},show:function(_32){
if(this._delayedDialogTimeout){
clearTimeout(this._delayedDialogTimeout);
this._delayedDialogTimeout=null;
}
if(!this.inviteDialog){
this._initializeDialog(_32);
}else{
if(_32!=null){
this._initializePanel(_32);
}
}
this._delayedDialog();
},hide:function(){
if(this._isDebug){
console.debug("in Invite.hide");
}
if(this._delayedDialogTimeout){
clearTimeout(this._delayedDialogTimeout);
this._delayedDialogTimeout=null;
}
this.invitePanelIsReady=false;
this.inviteDialogIsReady=false;
if(this.inviteDialog){
this.inviteDialog.hide();
}
},_sendAccessCheckRequest:function(_33,_34){
if(this._isDebug){
console.debug("in Invite.Invite._sendAccessCheckRequest");
}
_34=_34||function(_35){
};
var url=this._getAccessCheckUrl(_33);
this._sendRequestArgs("GET","json",url,_33,dojo.hitch(this,function(_36){
if(this._isDebug){
console.debug("in Invite.Invite._sendAccessCheckRequest's callback");
}
if(_36){
_34(_36);
}else{
alert(lconn.profiles.invite.Invite._getString("errorDefaultMsg2"));
this._status.invite=0;
_33.xhrErrorHandlerCallback(_36,ioArgs);
}
}));
},_sendCanFriendRequest:function(_37,_38){
if(this._isDebug){
console.debug("in Invite._sendCanFriendRequest");
}
_38=_38||function(_39){
};
var url=this._getHaveConnectionUrl(_37);
this._sendRequestArgs("GET","xml",url,_37,dojo.hitch(this,function(_3a,_3b){
if(this._isDebug){
console.debug("in Invite._sendCanFriendRequest's callback");
}
if(this._isDebug){
console.debug("_sendCanFriendRequest: xhr.status = "+_3b.xhr.status);
}
if(_3b&&_3b.xhr&&(_3b.xhr.status==204||(dojo.isIE&&_3b.xhr.status==1223))){
_38();
}else{
var str=lconn.profiles.invite.Invite._getString("friendsPersonAlreadyInYourNetwork");
if(_3b&&_3b.xhr&&_3b.xhr.getResponseHeader("X-Profiles-Connection-Status")!="accepted"){
str=lconn.profiles.invite.Invite._getString("friendsInvSent");
}
if(str){
str=lconn.core.i18nOverrider.replaceParams(str,[_37.displayName]);
}
alert(str);
this._status.invite=0;
}
}),{error:dojo.hitch(this,function(_3c,_3d,ex){
if(this._isDebug){
console.debug("in Invite._sendCanFriendRequest's error handler");
}
if(_3c.status+""=="404"){
_38();
}else{
this._status.invite=0;
_37.xhrErrorHandlerCallback.apply(null,arguments);
}
})});
},_sendGetTagsRequest:function(_3e,_3f){
if(this._isDebug){
console.debug("in Invite._sendGetTagsRequest");
}
var url=this._getProfileTagsGetterUrl(_3e);
this._sendRequestArgs("GET","xml",url,_3e,function(_40,_41){
if(this._isDebug){
console.debug("in Invite._sendGetTagsRequest callback");
}
var _42=[];
dojo.forEach(lconn.core.xpath.selectNodes("//atom:category",_40),function(_43){
var tag=_43.getAttribute("term");
if(tag){
_42.push(tag);
}
});
_3f(_40,_41,_42);
},{error:dojo.hitch(this,function(_44,_45){
if(this._isDebug){
console.debug("in Invite._sendGetTagsRequest's error handler");
}
this._status.tag=0;
var str=lconn.profiles.invite.Invite._getString("friendsInviteTagError");
if(str){
str=lconn.core.i18nOverrider.replaceParams(str,[_3e.displayName]);
}
alert(str);
this._status.tag=0;
_3e.xhrErrorHandlerCallback(_44,_45);
})});
},_sendTagsReplaceRequest:function(_46,_47,_48){
if(this._isDebug){
console.debug("in Invite._sendTagsReplaceRequest");
}
this._status.tag=1;
var _49="<app:categories xmlns:atom='http://www.w3.org/2005/Atom'";
_49+=" xmlns:app='http://www.w3.org/2007/app'";
_49+=" xmlns:snx='http://www.ibm.com/xmlns/prod/sn'>";
for(var i=0;i<_46.length;++i){
if(_46[i]!=null&&_46[i]!=""){
_49+="<atom:category term=\""+_46[i]+"\"/>";
}
}
_49+="</app:categories>";
var url=this._getProfileTagsSetterUrl(_47);
this._sendRequestArgs("PUT","text",url,_47,_48,{putData:_49,checkAuthHeader:true,error:dojo.hitch(this,function(_4a,_4b){
if(this._isDebug){
console.debug("in Invite._sendTagsReplaceRequest's error handler");
}
this._status.tag=0;
var str=lconn.profiles.invite.Invite._getString("friendsInviteTagError");
if(str){
str=lconn.core.i18nOverrider.replaceParams(str,[_47.displayName]);
}
alert(str);
this._status.tag=0;
_47.xhrErrorHandlerCallback(_4a,_4b);
})});
},followUser:function(_4c,_4d,_4e,ele){
if(this._isDebug){
console.debug("in Invite.followUser");
}
var _4f=lconn.profiles.bizCard.bizCard.currentPerson;
_4d=_4d||_4f.key;
_4e=_4e||_4f.X_loggedInUserKey;
if(_4f.X_loggedInUserKey&&_4e==_4f.X_loggedInUserKey){
var _50={byKey:true,targetValue:_4d,sourceValue:_4e,applicationContext:_4c,lastMod:((new Date().getTime())+""),action:_4f.X_isFollowed!="false"?"unfollow":"follow"};
var _51=this.messages;
var _52=dojo.hitch(this,function(){
var nls=_51;
var _53=lconn.profiles.bizCard.bizCard.currentPerson;
_53.X_isFollowed=_53.X_isFollowed!="false"?"false":"true";
var _54=_53.X_isFollowed!="false"?nls.personCardUnfollow:nls.personCardFollow;
ele.innerHTML=_54;
});
this._sendFollowRequest(_50,_52);
}else{
}
},_sendFollowRequest:function(_55,_56){
if(this._isDebug){
console.debug("in Invite._sendFollowRequest");
}
this._status.follow=1;
var _57=this._getFollowRequestUrl(_55);
this._sendRequestArgs("POST","text",_57,_55,_56,{error:dojo.hitch(this,function(_58,_59){
if(this._isDebug){
console.debug("in Invite._sendFollowRequest's error handler");
}
var str=lconn.profiles.invite.Invite._getString("friendsInviteFollowError");
if(str){
str=lconn.core.i18nOverrider.replaceParams(str,[_55.displayName]);
}
alert(str);
this._status.follow=0;
_55.xhrErrorHandlerCallback(_58,_59);
})});
},_sendFriendRequest:function(msg,_5a,_5b){
if(this._isDebug){
console.debug("in Invite._sendFriendRequest");
}
this._status.invite=1;
var url=this._getFriendRequestUrl(_5a);
if(msg!=null&&msg!=""){
if(msg.length>500){
var _5c=lconn.profiles.invite.Invite._getString("friendsYouExceedTextLimit");
if(_5c){
_5c=_5c.replace(/\'\'/g,"'");
_5c=lconn.core.i18nOverrider.replaceParams(_5c,[msg.length,"500"]);
}
alert(_5c);
this._status.invite=0;
return false;
}
msg=msg.replace(new RegExp("\\n","g"),"<br/>");
}
this._sendRequestArgs("PUT","xml",url,_5a,dojo.hitch(this,function(_5d,_5e){
if(this._isDebug){
console.debug("in Invite._sendFriendRequest's callback");
}
if(_5d.documentElement.nodeName=="error"&&_5d.documentElement.getAttribute("code")=="connection-exist"){
this._status.invite=0;
alert(lconn.profiles.invite.Invite._getString("friendsInvSent"));
}else{
if(_5d.documentElement.nodeName=="error"&&_5d.documentElement.getAttribute("code")=="notification-error"){
this._status.invite=0;
alert(lconn.profiles.invite.Invite._getString("errorDefaultMsg2"));
}else{
if(_5d.documentElement.nodeName=="error"||_5d.documentElement.nodeName=="parsererror"){
this._status.invite=0;
_5a.xhrErrorHandlerCallback(_5d,_5e);
}else{
this._status.invite=1;
_5b(_5d,_5e);
}
}
}
}),{putData:msg});
},_sendRequestArgs:function(_5f,_60,url,_61,_62,_63){
this._sendRequest(_5f,_60,url,_61.errorNodeId,_62,_61.xhrErrorHandlerCallback,_61.errorHandlerCallback,_63);
},_sendRequest:function(_64,_65,url,_66,_67,_68,_69,_6a){
_6a=_6a||{};
if((url.indexOf("http:")==0||url.indexOf("https:")==0)&&window.SemTagSvcConfig!=null&&SemTagSvcConfig.proxyURL!=null){
var ph=new lconn.core.url.ProxyUrlHelper(SemTagSvcConfig.proxyURL);
url=ph.getProxifiedURL(url);
}
var _6b={url:url,handleAs:_65,htmlContainerElemId:_66,error:_68,load:dojo.hitch(this,function(_6c,_6d){
try{
_67(_6c,_6d);
}
catch(exception){
this._status.general=0;
console.warn("Invite->_sendRequest",exception);
_69("lconn.profiles.invite.Invite._sendRequest",exception,{htmlContainerElemId:_66});
}
})};
dojo.mixin(_6b,_6a);
var _6e=true;
if(_64=="GET"||_64=="DELETE"){
_6e=false;
}
dojo.xhr(_64,_6b,_6e);
},openHelpWindow:function(url,_6f,_70,_71,_72){
if(typeof (url)=="undefined"){
return;
}
svcHrefHelp=lconn.core.url.getServiceUrl(lconn.core.config.services.help).toString();
_6f=(_6f?_6f:Math.max(window.screen.width/2,950));
_70=(_70?_70:Math.max(window.screen.height/2,650));
var _73=(window.screen.width-_6f)/2;
var top=(window.screen.height-_70)/2;
var _74="height="+_70+",width="+_6f+",left="+_73+",top="+top+",status=yes,toolbar=yes,menubar=no,location=yes,scrollbars=yes,resizable=yes";
if(typeof (_71)!="undefined"&&_71!=true&&typeof (_75)!="undefined"){
_75.close();
}
var _75=window.open(svcHrefHelp+url,(typeof (_72)!="undefined")?_72:"help",_74);
if(_75&&window.focus){
_75.focus();
}
}};
dojo.declare("lconn.profiles.invite.InvitePanel",[dijit._Widget,dijit._Templated,dijit._Container],{widgetsInTemplate:true,templatePath:dojo.moduleUrl("lconn.profiles.invite","templates/Invite.html"),blankGif:djConfig.blankGif,defaultInvitationMessageColor:"#AAAAAA",appLang:null,profilePhotoSrc:"/PROFILE_PHOTO_URL",tagTypeaheadUrl:"/TAG_TYPEAHEAD_URL",displayName:null,canFollow:true,closeOnXhrDone:true,friendsInviteTitle:"friendsInvite",friendsColleaguesInviteMessage:"friendsColleaguesInvite",invitationMessageLabel:"friendsIncludeMsgForInv",invitationMessage:"friendsInitialMsgForInv",friendsSendInvActionMessage:"friendsSendInvAction",friendsCancelInvActionMessage:"friendsCancelInvAction",invitationTagsLabel:"invitationTagsLabel",invitationFollowLabel:"invitationFollowLabel",invitationFollowExtLabel:"invitationFollowExtLabel",invitationFollowDescription:"invitationFollowDescription",invitationFollowHelp:"invitationFollowHelp",_langPatch:function(_76){
var _77="&rlm;";
var _78="&lrm;";
var _79=_76&&_76.substr(0,2).toUpperCase();
var _7a=(_79&&(_79=="AR"||_79=="HE"||_79=="IW"));
var _7b=(_7a?_77:_78);
return _7b;
},postMixInProperties:function(){
this.appLang=this.appLang||dojo.getObject("appLang");
this.friendsInviteTitle=lconn.profiles.invite.Invite._getString("friendsInvite");
this.friendsColleaguesInviteMessage=lconn.profiles.invite.Invite._getString("friendsColleaguesInvite");
if(this.friendsColleaguesInviteMessage){
this.friendsColleaguesInviteMessage=lconn.core.i18nOverrider.replaceParams(this.friendsColleaguesInviteMessage,[this.displayName]);
}
this.invitationMessageLabel=lconn.profiles.invite.Invite._getString("friendsIncludeMsgForInv");
this.invitationMessage=lconn.profiles.invite.Invite._getString("friendsInitialMsgForInv");
this.friendsSendInvActionMessage=lconn.profiles.invite.Invite._getString("friendsSendInvAction");
this.friendsCancelInvActionMessage=lconn.profiles.invite.Invite._getString("friendsCancelInvAction");
this.invitationTagsLabel=lconn.profiles.invite.Invite._getString("friendsInviteAddTagsFor");
if(this.invitationTagsLabel){
this.invitationTagsLabel=lconn.core.i18nOverrider.replaceParams(this.invitationTagsLabel,[this.displayName]);
}
this.invitationFollowLabel=lconn.profiles.invite.Invite._getString("friendsInviteAlsoFollow");
var _7c=this._langPatch(this.appLang);
this.invitationFollowExtLabel=_7c+lconn.profiles.invite.Invite._getString("friendsInviteReceiveUpdates");
this.invitationFollowDescription=lconn.profiles.invite.Invite._getString("friendsInviteUpdatesDescription");
this.invitationFollowHelp=lconn.profiles.invite.Invite._getString("friendsInviteFollowHelp");
if(this.invitationFollowHelp){
this.invitationFollowHelp=lconn.core.i18nOverrider.replaceParams(this.invitationFollowHelp,["<a href=javascript:lconn.profiles.invite.Invite.openHelpWindow('/topic/com.ibm.lotus.connections.profiles.help/t_pers_follow.html');>","</a>"]);
}
},postCreate:function(){
if(this.displayName==null||this.displayName==""){
dojo.style(this.friendsColleaguesInviteMessageControl,"display","none");
dojo.style(this.invitationTagsLabelControl,"display","none");
}
if(this.invitationFollowControl){
this.invitationFollowControl.disabled=(!this.canFollow||this.isFollowed);
this.invitationFollowControl.checked=(this.isFollowed||this.canFollow);
}
this._invitationTagsDataStore=new lconn.core.TypeAheadDataStore({queryParam:"tag",url:this.tagTypeaheadUrl});
if(this.invitationTagsControl){
this.invitationTagsControl.store=this._invitationTagsDataStore;
if(!this.canTag&&this.invitationTagsControlDiv){
dojo.style(this.invitationTagsControlDiv,"display","none");
}
}
if(this.invitationMessageControl){
dojo.style(this.invitationMessageControl,"color",this.defaultInvitationMessageColor);
}
},_invitationMessageControlFocus:function(){
dojo.style(this.invitationMessageControl,"color","");
},_invitationMessageControlBlur:function(){
if(this.invitationMessageControl.value==this.invitationMessage||this.invitationMessageControl.value==""){
dojo.style(this.invitationMessageControl,"color",this.defaultInvitationMessageColor);
this.invitationMessageControl.value=this.invitationMessage;
}
},onClose:function(){
},sendInviteCallback:function(){
},cancelInviteCallback:function(){
},_getTagsArray:function(str){
var arr=[];
if(str){
arr=str.match(/[^\s,]+/g);
arr=arr||[];
}
for(var i=0;i<arr.length;++i){
var _7d=arr[i];
_7d=_7d.replace(/&/g,"&amp;");
_7d=_7d.replace(/"/g,"&quot;");
_7d=_7d.replace(/'/g,"&apos;");
_7d=_7d.replace(/</g,"&lt;");
_7d=_7d.replace(/>/g,"&gt;");
arr[i]=_7d;
}
return arr;
},_getTagsString:function(){
if(this.invitationTagsControl&&this.invitationTagsControl.focusNode&&this.invitationTagsControl.focusNode.hasInput){
return this.invitationTagsControl.getValue();
}
return "";
},friendsSendInvAction:function(){
var _7e=this._getTagsArray(this._getTagsString());
if(this.invitationMessageControl&&this.invitationFollowControl){
this.sendInviteCallback(this.invitationMessageControl.value,(this.invitationFollowControl.checked&&!this.invitationFollowControl.disabled),_7e);
}
if(!this.closeOnXhrDone){
this.onClose();
}
return false;
},friendsCancelInvAction:function(){
this.cancelInviteCallback();
this.onClose();
return false;
},formSubmitted:function(evt){
this.friendsSendInvAction();
dojo.stopEvent(evt);
return false;
}});
}

dojo.registerModulePath("lconn.profiles.bizCard", "../lconn.profiles.bizCard");

;if(!dojo._hasResource["lconn.profiles.bizCard.bizCardUI"]){
dojo._hasResource["lconn.profiles.bizCard.bizCardUI"]=true;
(function(){
dojo.provide("lconn.profiles.bizCard.bizCardUI");
dojo.require("lconn.core.i18nOverrider");
dojo.require("lconn.core.bizCard.bizCardUtils");
dojo.require("dojo.cookie");
dojo.require("lconn.profiles.invite.Invite");
var _1=dojo;
lconn.profiles.bizCard.bizCardUI={messages:{},isDebug:false,isSlim:false,isExpandable:true,isEmailEnabled:true,wndh_vCard:null,initited:false,init:function(){
if(this.initited==false){
_1=lconn.core.bizCard.bizCardUtils.getDojoObject();
_1.requireLocalization("lconn.profiles.bizCard","ui");
this.messages=_1.i18n.getLocalization("lconn.profiles.bizCard","ui");
window.SemTagPerson=window.SemTagPerson||{};
SemTagPerson.services=SemTagPerson.services||[];
}
},followUser:function(_2,_3,_4){
lconn.profiles.invite.Invite.followUser(lconn.core.bizCard.bizCardUtils.getBaseURL("hcard"),_2,_3,dojo.byId("bizFollowBtn"));
},getMenuData:function(_5,_6,_7,_8,_9,_a,_b,_c){
try{
var _d=dojo.cookie("card.popup.slim");
if(typeof (_b)!="undefined"&&_b!=null){
this.isSlim=_b;
}else{
if(_d!=null){
this.isSlim=(_d==1);
}
}
if(typeof (_c)!="undefined"){
this.isExpandable=_c;
}
if(_5!=null){
this.isEmailEnabled=(_5.email!=null&&_5.email.internet!=null);
}else{
this.isEmailEnabled=false;
}
if(this.isDebug){
console.log("slim? "+this.isSlim);
console.log("expandable? "+this.isExpandable);
console.log("email? "+this.isEmailEnabled);
}
var _e=lconn.core.bizCard.bizCardUtils.getBaseURL("hcard");
if(lconn.core.header==null){
if(dojo.isIE==6){
_9.write("<div id=\"bc_document_node\" role=\"document\" class=\"lotusui30 lotusui30_ie lotusui30_ie6\">");
}else{
if(dojo.isIE==7){
_9.write("<div id=\"bc_document_node\" role=\"document\" class=\"lotusui30 lotusui30_ie lotusui30_ie7\">");
}else{
if(dojo.isIE){
_9.write("<div id=\"bc_document_node\" role=\"document\" class=\"lotusui30 lotusui30_ie\">");
}else{
_9.write("<div id=\"bc_document_node\" role=\"document\" class=\"lotusui30\">");
}
}
}
}else{
_9.write("<div id=\"bc_document_node\" role=\"document\" class=\"lotusui30\">");
}
_9.write("<div id=\"cardDiv\" class=\"lotusVCard\" style=\"margin: 10px; position: static; opacity: 1;\">");
_9.write("<div id=\"A11Yblank\" style=\"line-height:0px; max-height: 0px; font-size:0px; outline:0;\" tabindex=\"0\" aria-label=\"Business card dialog. Press escape key to dismiss.\">&nbsp;</div>");
_9.write("<table id=\"cardTable\" class=\"lotusContainer\" cellspacing=\"0\">");
_9.write("<tbody>");
if(_5!=null&&_5.X_inDirectory!=null&&_5.X_inDirectory=="true"){
_9.write("<tr id=\"cardHeader\" "+((this.isSlim)?"style=\"display:none\"":"")+">"+"<td>"+"<table role=\"list\" aria-label=\"application links\" cellspacing=\"0\" width=\"100%\">");
this.writeHeaderUIContent(_9,_5,false);
_9.write("</table>"+"</td></tr>");
}
_9.write("<tr id=\"cardBody\"><td class=\"lotusDetails\" "+((_5!=null&&_5.X_inDirectory!=null&&_5.X_inDirectory=="true")?"":" style=\"padding-bottom: 0px;\"")+"colSpan=\"6\">");
this.writeBodyUIContent(_5,_6,_7,_8,_9,_a,_e);
_9.write("</td></tr>");
if(_5!=null&&_5.X_inDirectory!=null&&_5.X_inDirectory=="true"&&_5.X_isActiveUser&&_5.X_isActiveUser=="true"){
this.writeFooterUIContent(_5,_6,_7,_8,_9,_a,_e);
}
_9.write("</tbody></table>");
_9.write("<div id=\"A11YLast\" style=\"line-height:0px; max-height: 0px; font-size:0px; outline:0;\" tabindex=\"0\" aria-label=\"press escape key to dismiss this business card\">&nbsp;</div>");
_9.write("</div></div>");
this.isSlim=false;
}
catch(ex){
alert(ex.message);
}
},writeHeaderUIContent:function(_f,_10,_11){
this.writeLinks(_f,_10,_11);
},writeBodyUIContent:function(_12,_13,_14,_15,_16,_17,_18){
this.getSubUIContent(_12,_13,_14,_15,_16,_17,_18);
},writeFooterUIContent:function(_19,_1a,_1b,_1c,_1d,_1e,_1f){
var _20=this.messages;
_1d.write("<tr id=\"cardFooter\""+((this.isSlim)?"style=\"display:none\"":"")+">");
_1d.write("<td colSpan=\"6\">");
if(_19.X_inDirectory){
_1d.write("<div class=\"lotusPersonActions\">");
_1d.write("<ul class=\"lotusInlinelist\">");
var _21=(typeof (SemTagSvcConfig)!="undefined"&&SemTagSvcConfig.isBidiRTL);
if(_19.X_bizCardActions.length>0){
_1d.write("<li class=\"lotusFirst\">"+this.getActionLink(_19,0,true)+"</li>");
if(_21){
_1d.write("<li class=\"lotusFirst\"></li>");
}
}
var _22=(_19.X_bizCardSTInputType=="uid"?_19.uid:_19.email.internet);
var _23=(_19.X_loggedInUserKey!=null&&_19.X_loggedInUserKey!="");
if(_19.X_bizCardSTAwareness||_19.X_bizCardSecureSTAwareness||(window.sametimeAwarenessEnabled&&_23)){
if(_19.X_STChatAction){
_1d.write("<li id=\""+_22+"ChatAction\" "+(_21?"class=\"lotusFirst\"":"")+" style=\"display:none;\">"+"<a href=\"javascript:void(0);\" onclick=\"lconn.profiles.bizCard.bizCard.sametimeStart('chat', '"+_22+"');return false;\">"+_20.personCardChat+"</a>"+"</li>");
}
if(typeof (SemTagSvcConfig)!="undefined"&&SemTagSvcConfig.isBidiRTL){
_1d.write("<li class=\"lotusFirst\"></li>");
}
}
if(_19.X_bizCardActions.length>1){
_1d.write("<li "+(_22==""||_21?"class=\"lotusFirst\"":"")+">"+"<a role=\"button\" href=\"javascript:void(0);\" onclick=\"lconn.profiles.bizCard.bizCardUI.displayMore('"+_19.key+"MoreActionMenu',this.parentNode.parentNode);event.cancelBubble=true;return false;\">"+_20.personCardMoreActions+"<img class=\"otherFramework16 otherFramework16-TriangleMediumGrayDown12\" src=\""+dojo.config.blankGif+"\" title=\""+_20.personCardMoreActionsAltText+"\">"+"</a>"+"</li>");
}
_1d.write("</ul>"+"</div>");
if(_19.X_bizCardActions.length>1||(_22!=""&&(_19.X_bizCardSTAwareness||_19.X_bizCardSecureSTAwareness))){
this.writeMoreActionsMenu(_1d,_19,_1f,false);
}
}
_1d.write("</td></tr>");
},getActionLink:function(_24,_25,_26){
var _27=_24.X_bizCardActions[_25];
var _28="";
if(_26&&typeof (_27.icon)!="undefined"){
_28="<img src=\""+_27.icon.href+"\"/> ";
}
var id="";
if(_27.urlPattern.indexOf("followUser")!=-1){
_27.label=this.getFollowActionLabel(_24,_27);
id=" id=\"bizFollowBtn\"";
}
if(_27.label){
return "<a class=\"email\" "+id+" href=\""+_27.urlPattern+"\">"+_28+_27.label+"</a>";
}else{
return "";
}
},getFollowActionLabel:function(_29,_2a){
var _2b=window.X_loggedInUserKey;
if(_2b&&_2b!=_29.key&&_29.X_isFollowedEnabled){
var nls=this.messages;
return _29.X_isFollowed!="false"?nls.personCardUnfollow:nls.personCardFollow;
}
return null;
},getSubUIContent:function(_2c,_2d,_2e,_2f,_30,_31,_32){
var _33=this.messages;
if(_2c!=null&&_2c.X_lconn_userid){
if(_2c.X_isActiveUser!="false"){
if(this.isExpandable&&_2c.X_inDirectory=="true"){
this.writeExpandoUIContent(_30,_32);
}
if(_2c.X_bizCardShowPhoto){
if(_2c.X_inDirectory=="true"){
_30.write("<div class=\"lotusPhoto photo\"><img src=\""+_2c.photo+"\" title=\""+_2c.fn+"\" height=\"59\" width=\"59\"></div>");
}else{
_30.write("<div class=\"lotusPhoto photo\"><img class=\"otherPeople64 otherPeople64-NoPhotoPerson64\" src=\""+dojo.config.blankGif+"\" title=\""+_2c.fn+"\" height=\"59\" width=\"59\"></div>");
}
}
_30.write("<div class=\"lotusPersonInfo\">");
if(_2c.X_inDirectory!=null&&_2c.X_inDirectory=="true"){
_30.write(_2c.X_bizCardMainHtml);
}else{
if(_2c.X_bizCardMainHtml!=""){
_30.write(_2c.X_bizCardMainHtml);
}else{
_30.write("<h3 id='noProfileMsg'>"+_33["label.personcard.cardnomarkup"]+"</h3>");
}
}
_30.write("</div>");
var _34=(_2c.X_bizCardSTInputType=="uid"?_2c.uid:_2c.email.internet);
var out="<div id=\""+_34+"vcardCommentElem\" class=\"lotusComment\" style=\"display: none;\">"+"<div class=\"lotusCommentHeader\">&nbsp;</div>"+"<div class=\"lotusCommentBody\">"+(_34!=""&&_2c.X_bizCardSTStatusMsg?"<span id=\""+_34+"vcardStStatusElem\"></span>":"")+"</div>"+"</div>";
_30.write(out);
}else{
if(_2c.X_isActiveUser=="false"){
var _35=_33["label.inactive.user.msg"];
var _36=_33["label.message.information"];
if(_2c.X_inDirectory=="true"){
_30.write("<div class=\"lotusPhoto photo\"><img src=\""+_2c.photo+"\" title=\""+_2c.fn+"\" height=\"59\" width=\"59\" style=\"opacity: 0.5\"></div>");
}else{
_30.write("<div class=\"lotusPhoto photo\"><img \"otherPeople64 otherPeople64-NoPhotoPerson64\" src=\""+dojo.config.blankGif+"\" title=\""+_2c.fn+"\" height=\"59\" width=\"59\" style=\"opacity: 0.5></div>");
}
_30.write("<div class=\"lotusPersonInfo\">"+"<h2>"+"<span class=\"fn\">"+_2c.fn+"</span></h2>"+"<p class=\"title\">"+_2c.title+"</p>"+"<div class=\"lotusMessage lotusInfo\" role=\"status\"><img alt=\""+_36+"\" src=\""+dojo.config.blankGif+"\" class=\"lconnSprite lconnSprite-iconAttention16\">"+"<span class=\"lotusAltText\">"+_36+"</span>"+"<span>"+_35+"</span>"+"</div><!--end lotusMessage-->"+"</div><!--end lotusInfo-->");
}else{
_30.write("<h3 id='noProfileMsg'>"+_33["label.personcard.cardnomarkup"]+"</h3>");
}
}
}else{
var _37=_33["label.personcard.noprofilemsg"];
_30.write("<h3 id='noProfileMsg'>"+_37+"</h3>");
}
},writeExpandoUIContent:function(_38,_39){
var lbl=this.messages["label.bizcard.applinks."+((this.isSlim)?"more":"less")];
_38.write("<div id=\"slimTwistyDiv\" class=\"lotusRight\">");
_38.write("<a role=\"button\" onclick=\"lconn.profiles.bizCard.bizCardUI.toggleSlimCard(this,'"+_39+"');"+"event.cancelBubble=true;return false;\""+"href=\"javascript:void(0);\">");
if(this.isSlim){
_38.write(" <img id=\"slimTwisty\" class=\"otherFramework16 otherFramework16-ShowMore12\" src=\""+dojo.config.blankGif+"\" alt=\""+lbl+"\" title=\""+lbl+"\"/>");
}else{
_38.write(" <img id=\"slimTwisty\" class=\"otherFramework16 otherFramework16-HideMore12\" src=\""+dojo.config.blankGif+"\" alt=\""+lbl+"\" title=\""+lbl+"\"/>");
}
_38.write("<span class=\"lotusAltText\">"+lbl+"</span>");
_38.write("</a>");
_38.write("</div>");
},getInlineMarkup:function(_3a,_3b,_3c){
var _3d=this.messages;
var _3e=lconn.core.bizCard.bizCardUtils.getBaseURL("hcard");
var _3f=_3c;
if(_3a!=null){
var _40=(_3a.X_bizCardSTInputType=="uid"?_3a.uid:_3a.email.internet);
_3f.write("<div class=\"lotusui lotusui30dojo lotusui30_body lotusui30_fonts lotusui30 lotusSpritesOn\">");
_3f.write("<div id=\""+_3a.key+"\" class=\"vcard lotusVCard lotusInlineVCard\" style=\"position:static;margin:10px\">");
_3f.write("  <div class=\"lotusContainer\">");
_3f.write("    <div id=\""+_3a.key+"_Pivot\" class=\"lotusPivotNav\">");
_3f.write("      <div class=\"lotusPivotNavToggle\">");
_3f.write("        <a role=\"button\" title=\"\" href=\"javascript:void lconn.core.bizCard.bizCardUtils.toggleInlineCard('"+_3a.key+"');\">"+"&nbsp;"+"</a>");
_3f.write("      </div>");
if(_3a.X_bizCardShowPhoto){
_3f.write("      <div class=\"lotusPhoto photo\">");
if(_3a.X_isActiveUser&&_3a.X_isActiveUser!="true"){
_3f.write("        <img id=\"photo\" class=\"otherPeople32 otherPeople32-NoPhotoPerson32\" src=\""+dojo.config.blankGif+"\" alt=\""+_3a.fn+"\" title=\""+_3a.fn+"\" height=\"35\" width=\"35\" />");
}else{
_3f.write("        <img id=\"photo\" src=\""+_3a.photo+"\" alt=\""+_3a.fn+"\" title=\""+_3a.fn+"\" height=\"35\" width=\"35\" />");
}
_3f.write("      </div>");
}
_3f.write("      <div class=\"lotusPersonInfo\">");
_3f.write("      <h2>");
var _41=(_3a.X_loggedInUserKey!=null&&_3a.X_loggedInUserKey!="");
if(window.sametimeAwarenessEnabled&&_41){
_3f.write("<span class=\"IMAwarenessDisplayedUser\">");
_3f.write("<span style=\"display: none;\" class=\"renderType\">Icon</span>");
_3f.write("<span style=\"display: none;\" class=\"dn\">"+_3a.dn+"</span>");
_3f.write("<span style=\"display: none;\" class=\"uid\">"+_3a.uid+"</span>");
_3f.write("<span id=\"IMcontent\" class=\"IMContent\"><img alt=\""+_3d["loadingSTStatus"]+"\" src=\""+_3e+"/nav/common/styles/images/loading.gif\">&nbsp;</span>");
_3f.write("</span>");
}
_3f.write("<span class=\"fn\" id=\""+_40+"vcardNameElem\" class=\"fn\"  userid=\""+_40+"\">"+_3a.fn+"</span>");
_3f.write("       </h2>");
if(_3a.X_isActiveUser&&_3a.X_isActiveUser!="true"){
var _42=_3d["label.inactive.user.msg"];
var _43=_3d["label.message.information"];
_3f.write("<div class=\"lotusMessage lotusInfo\" role=\"status\"><img alt=\""+_43+"\" src=\""+dojo.config.blankGif+"\" class=\"lconnSprite lconnSprite-iconAttention16\">");
_3f.write("<span class=\"lotusAltText\">"+_43+"</span>");
_3f.write("<span>"+_42+"</span>");
_3f.write("</div><!--end lotusMessage-->");
}
_3f.write("      </div>");
_3f.write("    </div>");
_3f.write("    <div id=\""+_3a.key+"_Details\" class=\"lotusInlineVCardDetails\">");
if(_3a.X_bizCardActions.length>0){
_3f.write("<div class=\"lotusEmail\">");
_3f.write(this.getActionLink(_3a,0,true));
_3f.write("</div>");
}
this.writeLinks(_3f,_3a,true);
if(_3a.X_bizCardActions.length>1){
_3f.write("<div class=\"lotusPersonActions\">");
_3f.write("  <ul class=\"lotusInlinelist\">");
_3f.write("    <li class=\"lotusFirst\">");
_3f.write("      <a role=\"button\" id=\""+_3a.key+"_MoreActions\"");
_3f.write("        href=\"javascript: void lconn.profiles.bizCard.bizCardUI.displayMore('"+_3a.key+"InlineMoreActionMenu',dojo.byId('"+_3a.key+"_MoreActions').parentNode.parentNode);\">");
_3f.write(_3d.personCardMoreActions);
_3f.write("        <img class=\"otherFramework16 otherFramework16-TriangleMediumGrayDown12\" src=\""+dojo.config.blankGif+"\" alt=\""+_3d.personCardMoreActionsAltText+"\"");
_3f.write("          title=\""+_3d.personCardMoreActionsAltText+"\" />");
_3f.write("      </a>");
_3f.write("    </li>");
_3f.write("  </ul>");
_3f.write("</div>");
this.writeMoreActionsMenu(_3f,_3a,_3e,true);
}
_3f.write("    </div>");
_3f.write("  </div>");
_3f.write("</div>");
_3f.write("</div>");
}else{
_3f.write("<div class=\"lotusui30\">");
_3f.write("<div class=\"vcard lotusVCard lotusInlineVCard\" style=\"position:static;margin:10px\">");
_3f.write("  <div class=\"lotusContainer\">");
_3f.write("    </div>");
_3f.write("    </div>");
_3f.write("    </div>");
}
},writeLinks:function(_44,_45,_46){
if(_45.X_loggedInUserKey!=null){
window.X_loggedInUserKey=_45.X_loggedInUserKey;
}
try{
var _47=lconn.core.bizCard.bizCardUtils.getBaseURL("hcard");
if(!_45.X_bizCardServiceLinks){
_45.X_bizCardServiceLinks=[];
}
if(!_45.X_concatSemPersonSvc&&dojo.exists("SemTagPerson.services")&&SemTagPerson.services.length>0){
_45.X_bizCardServiceLinks=_45.X_bizCardServiceLinks.concat(SemTagPerson.services);
_45.X_concatSemPersonSvc=true;
}
if(_45.X_bizCardServiceLinks&&_45.X_bizCardServiceLinks.length>0){
var _48=4;
if(_46){
_44.write("<ul id=\"appLinks1\" class=\"lotusAppLinks\" role=\"list\" aria-label=\"application links\">");
}
var _49=new Array();
for(var i=0;i<_48;i++){
_49[i]=_45.X_bizCardServiceLinks[i];
}
var _4a=new Array();
for(var i=_48;i<_45.X_bizCardServiceLinks.length;i++){
var j=i-_48;
_4a[j]=_45.X_bizCardServiceLinks[i];
}
this.writeSubLinksMenu(_44,_49,_46,true,_48,_45);
this.writeSubLinksMenu(_44,_4a,_46,false,_48,_45);
if(_46){
_44.write("</ul>");
}
}
}
catch(exception2){
alert(exception2.message);
}
},writeSubLinksMenu:function(_4b,_4c,_4d,_4e,_4f,_50){
var _51=this.messages;
var _52=true;
var _53=0;
var _54=100/_4f-1;
for(var k=0;k<_4c.length;k++){
var _55=_4c[k];
if(_55==null||_55.name==null||_55.name==""){
continue;
}
var _56="";
var _57=false;
if(typeof (_55.href)!="undefined"&&_55.href!=null){
_56=_55.href;
}else{
if(typeof (_55.url_pattern)!="undefined"&&_55.url_pattern!=null&&_55.url_pattern!=""){
_56=_55.url_pattern;
if(_56.indexOf("{email}")!=-1&&(_50.email!=null&&_50.email.internet!=null)){
_56=_56.replace(/{email}/g,_50.email.internet);
}
if(_56.indexOf("{uid}")!=-1&&(_50.uid!=null)){
_56=_56.replace(/{uid}/g,_50.uid);
}
if(_56.indexOf("{key}")!=-1&&(_50.key!=null)){
_56=_56.replace(/{key}/g,_50.key);
}
if(_56.indexOf("{fn}")!=-1&&(_50.fn!=null)){
_56=_56.replace(/{fn}/g,_50.fn);
}
if(_56.indexOf("{displayName}")!=-1&&(_50.fn!=null)){
_56=_56.replace(/{displayName}/g,_50.fn);
}
if(_56.indexOf("{workPhoneNumber}")!=-1&&(_50.adr!=null&&_50.adr.work!=null)){
_56=_56.replace(/{workPhoneNumber}/g,_50.adr.work);
}
if(_56.indexOf("{userid}")!=-1&&(_50.X_lconn_userid!=null)){
_56=_56.replace(/{userid}/g,_50.X_lconn_userid);
}
if(typeof (_55.location)!="undefined"&&_55.location!=null){
_56=_55.location+_56;
}
}else{
continue;
}
}
if(!_4d&&_52==true){
_4b.write("<tr class=\"lotusAppLinks"+(!_4e?" appLinksNext":"")+"\">");
}
_4b.write((_4d)?"<li ":"<td "+(_4e?"style=\"width: "+_54+"%;\" ":""));
_4b.write(" role=\"listitem\" ");
_53++;
if(!_4d&&_52==true){
_4b.write("class=\"lotusFirst\"");
}
_52=false;
var _58="";
if(typeof (_55.js_eval)!="undefined"&&_55.js_eval!=null&&_55.js_eval.indexOf("generalrs.")==0){
var key=_55.js_eval.substr("generalrs.".length);
if(typeof (_51[key])=="undefined"){
key=key.replace(/\_/g,".");
}
_58=_51[key];
}else{
if(_55.js_eval){
try{
if(_50.X_allowEvalLabel){
_58=dojo.eval(_55.js_eval);
}else{
_58=new String(_55.js_eval);
}
}
catch(exception2){
_58="!error.eval!";
}
}else{
if(_55.label){
_58=new String(_55.label);
}else{
_58="???";
}
}
}
if(_55.name=="blogs"&&_50.X_blogUrl!=null&&_50.X_blogUrl!=""){
_4b.write("><a class=\"url\" href=\""+_50.X_blogUrl+"\">"+_58+"</a>");
}else{
_4b.write("><a class=\"url\" href=\""+_56+"\">"+_58+"</a>");
}
_4b.write((_4d)?"</li>":"</td>");
if(!_4d&&_4e&&(k==(_4c.length-1))){
_4b.write("<style>"+".lotusui30 .lotusVCard .lotusMore{background-position: 10px -2420px; width: 10px;}"+".lotusui30 .lotusVCard .lotusMoreExpanded{background-position: 10px -2471px;}"+"</style>"+"<td class=\"lotusFirst\">"+"<a role=\"button\" onclick=\"lconn.profiles.bizCard.bizCardUI.toggleMoreApps('appLinksNext',this); event.cancelBubble=true;return false;\""+" role=\"button\" aria-label=\""+_51["label.bizcard.applinks.less"]+"\" "+" href=\"javascript:void(0);\" "+" class=\"lotusMore lotusMoreExpanded\" title=\""+_51["label.bizcard.applinks.less"]+"\">&nbsp;"+" <span class=\"lotusAltText\">"+_51["label.bizcard.applinks.less"]+"</span>"+"</a>"+"</td>");
_4b.write("</tr>");
_52=true;
_53=0;
}else{
if(!_4d&&(((k+1)%_4f)==0)){
_4b.write("<td>&nbsp;</td></tr>");
_52=true;
_53=0;
}else{
if(!_4d&&((k+1)==_4c.length)){
_4b.write("<td colSpan=\""+(_4f-_53)+"\">&nbsp;</td>");
_4b.write("<td>&nbsp;</td></tr>");
_52=true;
_53=0;
}
}
}
}
},writeMoreActionsMenu:function(_59,_5a,_5b,_5c){
var _5d=this.messages;
try{
_59.write("<ul class=\"lotusActionMenu lotusPlain\" id=\""+_5a.key);
if(_5c){
_59.write("Inline");
}
_59.write("MoreActionMenu\">");
if(_5a.X_bizCardActions.length>0&&!_5c){
_59.write("<li class=\""+_5a.X_bizCardActions[0].liClass+"\">"+this.getActionLink(_5a,0,false)+"</li>");
}
var _5e=(_5a.X_bizCardSTInputType=="uid"?_5a.uid:_5a.email.internet);
var _5f=(_5a.X_loggedInUserKey!=null&&_5a.X_loggedInUserKey!="");
if(_5a.X_bizCardSTAwareness||_5a.X_bizCardSecureSTAwareness||(window.sametimeAwarenessEnabled&&_5f)){
if(_5a.X_STChatAction){
_59.write("<li id=\""+_5e+"ChatActionMore\" class=\"lotusMenuSeparator\" style=\"display:none;\">"+"<a href=\"javascript:void(0);\" onclick=\"lconn.profiles.bizCard.bizCard.sametimeStart('chat', '"+_5e+"');return false;\"> "+_5d.personCardChat+" </a>"+"</li>");
}
if(_5a.X_STCallAction){
_59.write("<li id=\""+_5e+"CallActionMore\" class=\"lotusMenuSeparator\" style=\"display:none;\">"+"<a href=\"javascript:void(0);\" onclick=\"lconn.profiles.bizCard.bizCard.sametimeStart('call', '"+_5e+"');return false;\"> "+_5d.personCardCall+" </a>"+"</li>");
}
}
if(_5a.X_bizCardActions.length>1){
for(var i=1;i<_5a.X_bizCardActions.length;i++){
_59.write("<li class=\""+_5a.X_bizCardActions[i].liClass+"\">"+this.getActionLink(_5a,i,false)+"</li>");
}
}
_59.write("</ul>");
}
catch(exception2){
alert(exception2.message);
}
},displayMore:function(_60,_61){
_61.style.display="none";
dojo.doc.getElementById(_60).style.display="block";
},convertQuickrEmail:function(_62){
_62=_62.replace(/@/g,"_at_");
_62=_62.replace(/\./g,"_");
return _62;
},toggleMoreApps:function(_63,_64){
var _65=this.messages;
var _66="lotusMoreExpanded";
var _67=dojo.hasClass(_64,_66);
var msg;
var _68;
if(_67){
dojo.removeClass(_64,_66);
msg=_65["label.bizcard.applinks.more"];
_68="none";
}else{
dojo.addClass(_64,_66);
msg=_65["label.bizcard.applinks.less"];
_68="";
}
dijit.setWaiState(_64,"label",msg);
_64.title=msg;
dojo.query("."+_63).forEach(function(_69){
dojo.style(_69,"display",_68);
});
try{
dojo.query(".lotusAltText",_64).forEach(function(_6a){
_6a.innerHTML=_64.title;
});
}
catch(AltSetExc){
}
},toggleSlimCard:function(_6b,_6c){
var _6d=document.getElementById("slimTwisty");
if(_6d.className.indexOf("HideMore")!=-1){
if(this.slimCard(_6c)){
dojo.cookie("card.popup.slim",1);
}
}else{
if(this.expandCard(_6c)){
dojo.cookie("card.popup.slim",0);
}
}
},slimCard:function(_6e){
var _6f=dojo.byId("slimTwisty");
if(_6f){
var lbl=this.messages["label.bizcard.applinks.more"];
_6f.className="otherFramework16 otherFramework16-ShowMore12";
_6f.src=dojo.config.blankGif;
_6f.alt=_6f.title=lbl;
try{
dojo.query(".lotusAltText",dojo.byId("slimTwistyDiv")).forEach(function(_70){
_70.innerHTML=lbl;
});
}
catch(AltSetExc){
}
var _71=dojo.byId("cardHeader");
if(_71){
_71.style.display="none";
}
var _72=dojo.byId("cardFooter");
if(_72){
_72.style.display="none";
}
return true;
}
return false;
},expandCard:function(_73){
var _74=dojo.byId("slimTwisty");
if(_74){
var lbl=this.messages["label.bizcard.applinks.less"];
_74.className="otherFramework16 otherFramework16-HideMore12";
_74.src=dojo.config.blankGif;
_74.alt=_74.title=lbl;
try{
dojo.query(".lotusAltText",dojo.byId("slimTwistyDiv")).forEach(function(_75){
_75.innerHTML=lbl;
});
}
catch(AltSetExc){
}
var _76=dojo.byId("cardHeader");
if(_76){
_76.style.display="";
}
var _77=dojo.byId("cardFooter");
if(_77){
_77.style.display="";
}
return true;
}
return false;
},resizeObj:function(obj,_78,_79){
if(typeof (obj.style.height)=="undefined"||obj.style.height<=0){
obj.style.height=obj.height;
}
if(typeof (obj.style.width)=="undefined"||obj.style.width<=0){
obj.style.width=obj.width;
}
obj.style.height=(_78)?obj.style.height=_79+"%":obj.style.height;
obj.style.width=(_78)?obj.style.width=_79+"%":obj.style.width;
},openVCardDialog:function(key,_7a){
this._createVCardDialog(key,_7a);
},_createVCardDialog:function(key,_7b){
this.wndh_vCard=window.open(this._getVCardDownloadUrl(key,_7b),"vcarddl","status=0,toolbar=0,scrollbars=0,resizable=0,height=350,width=550");
},_getVCardDownloadUrl:function(key,_7c){
var _7d=lconn.core.bizCard.bizCardUtils.getBaseURL("hcard");
var _7e=lconn.core.bizCard.bizCardUtils.getLangParam();
return _7d+"/html/exportVCardDialog.do?key="+key+"&lastMod="+_7c+"&lang="+_7e;
},networkInviteDefaultErrorHandler:function(){
dojo["require"]("dijit.Dialog");
var msg=this.messages;
function _7f(key){
return msg[key];
};
var i=lconn.profiles.invite.Invite;
var _80=i.inviteDialog;
if(_80){
_80.hide();
}
if(i.errorDialog){
i.errorDialog.hide();
}
i.errorDialog=new dijit.Dialog({content:"",style:""});
dojo.addClass(i.errorDialog.domNode,"lotusDialogBorder lotusDialog");
i.errorDialog.titleBar.innerHTML="<h1>{title}</h1>".replace("{title}",_7f("friendsInvite"));
var _81=dijit._Widget.prototype._blankGif;
i.errorDialog.containerNode.innerHTML="<div class=\"lotusMessage lotusError\" role=\"alert\"><img title=\"\" alt=\"\" class=\"lconnSprite lconnSprite-iconError16\" src=\"{blankGif}\">{errorMsg}</div><div class=\"lotusDialogFooter\"><input type=\"submit\" onclick=\"lconn.profiles.invite.Invite.errorDialog.hide(); return true;\" class=\"lotusFormButton\" value=\"Close\"></div>".replace("{blankGif}",_81).replace("{errorMsg}",_7f("errorDefaultMsg2"));
i.errorDialog.show();
},openNetworkInviteDialog:function(key,_82,_83){
var _84=errorHandler=lconn.profiles.bizCard.bizCardUI.networkInviteDefaultErrorHandler;
if(lconn.core.header==null){
var _85=lconn.core.bizCard.bizCardUtils.getBaseURL("hcard");
var _86=lconn.core.bizCard.bizCardUtils.getLangParam();
var url=_85+"/html/profileView.do?key="+key+"&lang="+_86+"&invite=true";
window.open(url);
return;
}
var _87=null;
var _88=null;
if(lconn.profiles.bizCard.bizCard.currentPerson){
if(lconn.profiles.bizCard.bizCard.currentPerson.fn){
_87=lconn.profiles.bizCard.bizCard.currentPerson.fn;
}
if(lconn.profiles.bizCard.bizCard.currentPerson.X_isFollowed&&lconn.profiles.bizCard.bizCard.currentPerson.X_isFollowedEnabled){
_88=dojo.fromJson(lconn.profiles.bizCard.bizCard.currentPerson.X_isFollowedEnabled);
if(_88){
_88=!dojo.fromJson(lconn.profiles.bizCard.bizCard.currentPerson.X_isFollowed);
}
}
}
LCSemTagMenu.hide(LCSemTagMenu.id);
lconn.profiles.invite.Invite.showDialog(lconn.core.bizCard.bizCardUtils.getBaseURL("hcard"),true,_87,key,_82,_83,_84,errorHandler,null,null,null,_88);
}};
setTimeout(function(){
lconn.profiles.bizCard.bizCardUI.init();
},1);
})();
}

dojo.provide("lconn.profiles.sametime.nls.awareness")._built=true;
dojo.provide("lconn.profiles.sametime.nls.awareness.en");
lconn.profiles.sametime.nls.awareness.en={"stViewClient":"Show Sametime Client","stWebClient":"Lotus Sametime ","stStatusMeeting":"In a Meeting","stStatusAvailable":"I am Available","stViewBd":"Show Sametime Buddy List","stStatusAway":"I am Away","stLConnLogIn":"Sign in to IBM Connections to view Sametime status","stActionBar":"Sametime Action Bar","stStatusBusy":"I am Busy","stLogin":"Log in to Sametime","stUserOffline":"I am offline","stLogout":"Log out from Sametime","stDisconnect":"Disconnect from Sametime","stViewSTActions":"Click to view Sametime actions","stError":"An error has occurred. Sametime service is not available.","stUnableToConnect":"Connection to Sametime is not available. ","stConnect":"Connect to Sametime","stNoStatuAvailable":"No Sametime status available","stStatusdnt":"Do Not Disturb","stLoadingSTStatus":"Loading Sametime status..."};
dojo.registerModulePath("lconn.profiles.sametime", "../lconn.profiles.sametime");

;if(!dojo._hasResource["lconn.profiles.sametime.sametimeProxyAwareness"]){
dojo._hasResource["lconn.profiles.sametime.sametimeProxyAwareness"]=true;
dojo.provide("lconn.profiles.sametime.sametimeProxyAwareness");
dojo.require("lconn.core.utilities");
dojo.require("lconn.core.bizCard.bizCardUtils");
dojo.require("lconn.core.config.services");
dojo.require("com.ibm.oneui.util.Url");
dojo.require("dijit._Widget");
dojo.require("com.ibm.lconn.gadget.container.iContainer2");
dojo.requireLocalization("lconn.profiles.sametime","awareness");
(function(){
var _1;
var _2=lconn.core.config.services.sametimeProxy;
var _3=lconn.core.config.services.webresources;
if(!_2){
return;
}
var _4=_2.isConnectClient;
if(dojo.config.isDebug){
console.debug("Initialize sametime proxy");
}
var _5="lconn.profiles.sametime.currentStatus";
var _6="lconn.profiles.sametime.userloggedOut";
var _7=dijit._Widget.prototype._blankGif;
var _8="";
var _9="2000";
var _a,_b,_c;
var _d=dojo.i18n.getLocalization("lconn.profiles.sametime","awareness");
var _e=(typeof window.stproxy==="object");
var _f,_10;
stproxyConfig=window.stproxyConfig||{};
stproxyConfig.tokenLogin=true;
stproxyConfig.isConnectClient=_4;
function _11(){
if(_e){
return;
}
_e=true;
var _12=lconn.core.auth.isAuthenticated();
if(_12){
lconn.core.auth.addLogoutHandler(lconn.profiles.sametime.onLogout);
var _13=window.location.hostname;
var _14=_13.indexOf(".");
stproxyConfig.domain=_14!=-1?(_13.substring(_14+1)):"";
_8=stproxyConfig.server=com.ibm.oneui.util.Url.secure?_2.secureUrl:_2.url;
var _15=stproxyConfig.tunnelURI=com.ibm.oneui.util.Url.secure?_3.secureUrl+"/web/lconn/core/sametime/tunnel.html":_3.url+"/web/lconn/core/sametime/tunnel.html";
if(_8){
_8=_16(_8);
}
if(dojo.config.isDebug){
console.debug("Connecting to Sametime proxy server: "+_8);
}
lconn.core.bizCard.bizCardUtils.loadCss(_8+"stwebclient/dojo.blue/sametime/themes/WebClientAll.css");
if(dojo.config.proxy){
com.ibm.lconn.gadget.container.iContainer2.getCommonContainer().then(function(_17){
_17.setupNonGadgetRpcEndpoint();
var _18=OpenAjax.hub.IframeContainer;
var _19={};
for(var _1a in OpenAjax.hub.IframeContainer){
if(OpenAjax.hub.IframeContainer.hasOwnProperty(_1a)){
_19[_1a]=OpenAjax.hub.IframeContainer[_1a];
}
}
OpenAjax.hub.IframeContainer=function(hub,_1b,_1c){
if(_1b=="stiframeproxy"){
_1c.nonGadget="true";
}
_18.apply(this,[hub,_1b,_1c]);
};
for(var _1a in _19){
if(_19.hasOwnProperty(_1a)){
OpenAjax.hub.IframeContainer[_1a]=_19[_1a];
}
}
if(dojo.config.isDebug){
console.log("Initialize ST proxy loading");
}
lconn.core.utilities.loadScript(_8+"stbaseapi/baseComps.js?noHub=true");
});
}else{
lconn.core.utilities.loadScript(_8+"stbaseapi/baseComps.js");
}
lconn.core.utilities.processUntilAvailable(_1d,"window.stproxy != null && stproxy.awareness != null",null,false);
}else{
lconn.core.auth.addLoginHandler(lconn.profiles.sametime.onLogin);
}
};
function _1d(){
if(_1){
return;
}
_1=true;
lconn.core.utilities.loadScript(_8+"stwebclient/livenameLight.js");
lconn.core.utilities.loadScript(_8+"stwebclient/apps/connections.js");
window.sametimeAwarenessEnabled=true;
if(dojo.config.isDebug){
console.debug("Sametime library available");
}
if(dojo.isIE){
stproxy.addUnloadHandler(function(){
});
dojo.addOnWindowUnload(stproxy.login.logout);
}
var _1e=stproxy.uiControl.iconPaths;
_c=_1e;
_a=stproxy.awareness;
_a.DISCONNECT="-1";
_b={};
_b[_a.AVAILABLE]=[_1e.iconAvailable,_d.stStatusAvailable];
_b[_a.AWAY]=[_1e.iconAway,_d.stStatusAway];
_b[_a.DND]=[_1e.iconDnd,_d.stStatusdnt];
_b[_a.IN_MEETING]=[_1e.iconInMeeting,_d.stStatusMeeting];
_b[_a.OFFLINE]=[_7,_d.stUserOffline];
_b[_a.DISCONNECT]=[_7,_d.stUserOffline];
var _1f=dojo.cookie(_5);
var _20=_21();
_22(_a.OFFLINE);
if(_20==_a.DISCONNECT){
if(dojo.config.isDebug){
console.log("lc.st.onScriptload Existing page refresh with disconnect");
}
return;
}else{
if(dojo.config.isDebug){
console.log("lc.st.onScriptload Full Login");
}
_23();
}
};
function _22(_24){
if(window.lconnAwaressHideActionBar){
return;
}
var _25=document.body;
var _26="";
var _27=document.createElement("span");
var _28=_b[_24][1];
var _29=_b[_24][0];
_26="<div id=\"lconnSTActionBarContainer\" class=\"lconnSTActionBarContainer\" style=\"z-index: 1\">"+"<div class=\"lconnSTActionBar\" role=\"region\" aria-label=\"Sametime Action Bar\">"+"<button id=\"stStatusArea\" class=\"lconnSTBtn\" onclick=\"lconn.profiles.sametime.sametimeProxyAwareness.openMenu(event);\" aria-label=\""+_28+"\" aria-describedby=\"STDescriptionID\">"+"<img alt=\"\" src=\""+_29+"\" class=\"lotusStatus\"/>&nbsp;"+_28+"&nbsp;<img alt=\"\" src=\""+_7+"\" class=\"lotusArrow lotusDropDownSprite\" />"+"<span class=\"lotusAltText\">&#9660;</span>"+"<span class=\"lotusAccess\" id=\"STDescriptionID\">"+_d.stViewSTActions+"</span>"+"</button>"+"<button class=\"lconnSTBtn\" onclick=\"lconn.profiles.sametime.sametimeProxyAwareness.viewbuddylist();\" aria-label=\""+_d.stViewClient+"\" aria-describedby=\"STchatDescriptionID\">"+"<img aria-label=\""+_d.stViewClient+"\" alt=\"\" src=\""+dojo.moduleUrl("com.ibm.lconn.core.styles","images/footerChat.gif")+"\" />"+"<span class=\"lotusAltText\">"+_d.stViewClient+"</span>"+"<span class=\"lotusAccess\" id=\"STchatDescriptionID\">Sametime Web client will be opened in a new window.</span>"+"</button>"+"</div>"+"</div>";
_27.innerHTML=_26;
_25.appendChild(_27.firstChild);
setTimeout(function(){
var _2a=dojo.byId("lotusFooter");
if(_2a!=null){
_2a.appendChild(document.createElement("br"));
_2a.appendChild(document.createElement("br"));
}
},dojo.byId("lotusFooter")?1000:1);
if(dojo.config.isDebug){
console.debug("lc.st.sametimeProxyInit logged in user menu link added");
}
};
function _2b(){
var _2c=dojo.cookie(_6)=="true";
if(dojo.config.isDebug){
console.log("lc.st.isLoggedOut set to "+_2c);
}
return _2c;
};
function _2d(){
dojo.cookie(_6,"true",{expires:2,domain:stproxyConfig.domain,path:"/"});
if(dojo.config.isDebug){
console.log("lc.st.saveLogoutCookie saved logout cookie");
}
};
function _2e(){
dojo.cookie(_6,null,{expires:-1,domain:stproxyConfig.domain,path:"/"});
if(dojo.config.isDebug){
console.log("lc.st.removeLogoutCookie removed user.logggedOut cookie");
}
};
function _2f(_30){
dojo.cookie(_5,_30,{expires:2,domain:stproxyConfig.domain,path:"/"});
if(dojo.config.isDebug){
console.log("lc.st.saveStatusCookie saved: "+_30+" in currentStatus cookie");
}
};
function _31(){
dojo.cookie(_5,null,{expires:-1,domain:stproxyConfig.domain,path:"/"});
if(dojo.config.isDebug){
console.log("lc.st.removeStatusCookie removed current status cookie");
}
};
function _21(){
var _32=parseInt(dojo.cookie(_5));
if(!(_32 in _b)){
_32=_a.AVAILABLE;
}
return _32;
};
function _23(){
if(dojo.config.isDebug){
console.log("lc.st.login called");
}
if(!stproxy.login){
console.error("login called before login method available");
setTimeout(_23,1000);
return;
}
_2e();
if(!stproxy.isLoggedIn){
var _33=_21();
if(dojo.config.isDebug){
console.log("lc.st.loginSametimeUser logging in lc user to st with st status: "+_33);
}
if(_33==_a.OFFLINE||_33==_a.DISCONNECT){
return;
}
stproxy.login.loginByToken(null,_33,_b[_33][1],_34,_35);
}
};
function _35(_36){
if(dojo.config.isDebug){
console.log("lc.st.loginUserError: An error has occured. Sametime error code: "+_36);
}
};
function _34(_37){
if(dojo.config.isDebug){
console.log("lc.st.loginUserSuccess lc user logged into st");
}
var _38=_37.id;
var _39=stproxy.getLiveNameModel(_38);
dojo.connect(_39,"onUpdate",_3a);
var _3b=dijit.byId("ST_LOGIN");
if(_3b==null){
_3b=dijit.byId("ST_LOGOUT");
}
if(_3b!=null){
dojo.attr(_3b,"label",_d.stDisconnect);
}
if(!_10){
lconn.profiles.sametime.sametimeProxyAwareness.scanPage();
}
};
function _3c(){
if(dojo.config.isDebug){
console.log("lc.st.buildActionsMenu called");
}
try{
var _3d=dijit.byId("STLoggedUserMenu");
if(_3d!=null){
_3d.destroyRecursive();
}
}
catch(exception1){
console.log(exception1);
}
var _3e=new dijit.Menu({id:"STLoggedUserMenu"});
if(stproxy.isLoggedIn){
_3e.addChild(_3f(_d.stDisconnect,"LOGOUT"));
}else{
_3e.addChild(_3f(_d.stConnect,"LOGIN"));
}
_3e.addChild(new dijit.MenuSeparator());
_3e.addChild(_3f(_d.stStatusAvailable,"stStatusAvailable","stproxy_statusIconAvailable"));
_3e.addChild(_3f(_d.stStatusAway,"stStatusAway","stproxy_statusIconAway"));
_3e.addChild(_3f(_d.stStatusMeeting,"stStatusMeeting","stproxy_statusIconMeeting"));
_3e.addChild(_3f(_d.stStatusdnt,"stStatusdnt","stproxy_statusIconDisturb"));
if(dojo.config.isDebug){
console.log("lc.st.buildActionsMenu menu options added");
}
var _40=function(_41){
if(_41!=null){
if(dojo.config.isDebug){
console.log("lc.st.buildActionsMenu menu action invoke: "+_41.action);
}
lconn.core.utilities.hide("STLoggedUserMenu",false,true);
if(_41.action=="LOGOUT"){
_2f(_a.DISCONNECT);
return _42();
}else{
if(_41.action=="LOGIN"){
_2f(_a.AVAILABLE);
return _23();
}else{
if(_41.action=="stStatusAvailable"){
_2f(_a.AVAILABLE);
if(stproxy.isLoggedIn){
stproxy.status.set(_a.AVAILABLE,_d.stStatusAvailable);
}else{
_23();
}
}else{
if(_41.action=="stStatusAway"){
_2f(_a.AWAY);
if(stproxy.isLoggedIn){
stproxy.status.set(_a.AWAY,_d.stStatusAway);
}else{
_23();
}
}else{
if(_41.action=="stStatusMeeting"){
_2f(_a.IN_MEETING);
if(stproxy.isLoggedIn){
stproxy.status.set(_a.IN_MEETING,_d.stStatusMeeting);
}else{
_23();
}
}else{
if(_41.action=="stStatusdnt"){
_2f(_a.DND);
if(stproxy.isLoggedIn){
stproxy.status.set(_a.DND,_d.stStatusdnt);
}else{
_23();
}
}
}
}
}
}
}
dojo.byId("stStatusArea").focus();
}
return;
};
dojo.connect(_3e,"onItemClick",_40);
dojo.attr(_3e,{href:"javascript:;"});
return _3e;
};
function _3f(_43,_44,_45){
var _46="ST_"+_44;
var _47={label:_43,id:_46};
if(_45!=null){
_47.iconClass=_45;
}
var _48=new dijit.MenuItem(_47);
_48.action=_44;
dojo.addClass(_48.domNode,"lconnStMenuItem");
return _48;
};
lconn.profiles.sametime.sametimeProxyAwareness.scanPage=function(){
if(window.stproxy==null){
console.error("lc.st.sametimeProxyAddLiveName called but st library not load. waiting 1 sec");
setTimeout(lconn.profiles.sametime.sametimeProxyAwareness.scanPage,1000);
return;
}
var _49=dojo.query(".IMAwarenessDisplayedUser");
for(var i=0;i<_49.length;i++){
if(dojo.config.isDebug){
console.log("lc.st.sametimeProxyAddLiveName looking for IMAwarenessDisplayedUser");
}
var _4a=_49[i];
if(!dojo.hasClass(_4a,"hasSTStatus")){
if(dojo.config.isDebug){
console.log("lc.st.sametimeProxyAddLiveName found an IMAwarenessDisplayedUser without st awareness set");
}
if(!stproxy.isLoggedIn){
if(dojo.config.isDebug){
console.log("lc.st.sametimeProxyAddLiveName lc/st user not logged in. removing any loading msg");
}
var _4b=dojo.query(".renderType",_4a)[0].innerHTML;
if(_4b=="Icon"){
var _4c=dojo.query(".IMContent",_4a)[0];
_4c.innerHTML="";
}
}else{
var _4d=dojo.query(".dn",_4a)[0].innerHTML;
var _4b=dojo.query(".renderType",_4a)[0].innerHTML;
var _4c=dojo.query(".IMContent",_4a)[0];
var _4e=null;
if(dojo.config.isDebug){
console.log("lc.st.sametimeProxyAddLiveName dn: "+_4d);
console.log("lc.st.sametimeProxyAddLiveName renderType: "+_4b);
}
if(_4b=="StatusMsg"){
_4e=new sametime.LiveName({"userId":_4d});
_4e.disableHoverBizCard=true;
}else{
if(_4b=="Icon"){
var _4f=dojo.query(".uid",_4a)[0].innerHTML;
_4e=new sametime.LiveName({"userId":_4d,"uid":_4f});
_4e.disableHoverBizCard=true;
}else{
if(_4b=="Name"){
var _50=dojo.query(".fn",_4a)[0].innerHTML;
var _4f=dojo.query(".uid",_4a)[0].innerHTML;
_4e=new sametime.LiveName({"userId":_4d,"displayName":_50,"uid":_4f});
_4e.disableClicks=true;
_4e.disableHoverBizCard=true;
}
}
}
dojo.connect(_4e.model,"onUpdate",_4e,function(){
if(dojo.config.isDebug){
console.log("lc.st.sametimeProxyAddLiveName st onUpdate called for: "+_4d);
}
if(_4b=="StatusMsg"){
_51(_4e,_4d,_4c);
}
if(_4b=="Icon"){
_52(_4e,_4d,_4c);
}else{
if(_4b=="Name"){
if(_4e.domNode||_4e.domNode!=""){
_4c.innerHTML="";
_4c.appendChild(_4e.domNode);
}
}
}
});
if(_4e.model!=null){
if(dojo.config.isDebug){
console.log("lc.st.sametimeProxyAddLiveName setting initial st awanareness for: "+_4d);
}
if(_4b=="StatusMsg"){
_51(_4e,_4d,_4c);
}else{
if(_4b=="Icon"){
_52(_4e,_4d,_4c);
}
}
_53(_4e,_4a,_4d);
}
dojo.addClass(_4a,"hasSTStatus");
_10=true;
}
}
}
if(dojo.config.isDebug){
console.log("lc.st.sametimeProxyAddLiveName ended");
}
};
function _53(_54,_55,_56){
if(dojo.config.isDebug){
console.log("lc.st.bizcardSpecial setting initial st awanareness for: "+_56);
}
var _57=dojo.query(".uid",_55)[0].innerHTML;
if(dojo.config.isDebug){
console.log("lc.st.bizcardSpecial uid: "+_57);
}
var _58=dojo.byId(_57+"vcardStStatusElem");
dojo.connect(_54.model,"onUpdate",_54,function(){
if(dojo.config.isDebug){
console.log("lc.st.bizcardSpecial st onUpdate called for: "+_59);
}
this.disableHoverBizCard=true;
this.disableClicks=true;
var _59=this.params.uid;
if(_58&&this.model.statusMessage!=null&&this.model.statusMessage!=""){
_58.innerHTML="&nbsp;"+this.model.statusMessage;
dojo.byId(_59+"vcardCommentElem").style.display="block";
}
if(_54.model.status!=0){
_5a(_54,_59,"ChatAction",_56);
_5a(_54,_59,"ChatActionMore",_56);
}
});
if(_58!=null&&_54.model!=null&&_54.model.statusMessage!=null&&_54.model.statusMessage!=""){
_58.innerHTML="&nbsp;"+_54.model.statusMessage;
dojo.byId(_57+"vcardCommentElem").style.display="block";
}
if(_54.model!=null&&_54.model.status!=0){
_5a(_54,_57,"ChatAction",_56);
_5a(_54,_57,"ChatActionMore",_56);
}
};
function _3a(_5b){
if(dojo.config.isDebug){
console.log("lc.st.updateLoggedUserArea called");
}
var _5c=lconn.core.auth.isAuthenticated();
if(_5c&&_5b!=null&&_5b.status!=null){
if(_5b.status!=_a.OFFLINE){
_2f(_5b.status);
}
if(dojo.config.isDebug){
console.log("lc.st.updateLoggedUserArea setting up the logged in user header");
}
try{
var _5d=dojo.byId("stStatusArea");
var _5e="";
var _5f="";
var _60=stproxyConfig.server;
var _61=_c.iconAvailable;
var _62=_5b.status;
if(dojo.config.isDebug){
console.log("lc.st.updateLoggedUserArea current status : "+_62);
}
if(_62==_a.AVAILABLE){
_5f=_d.stStatusAvailable;
}else{
if(_62==_a.AWAY){
_5f=_d.stStatusAway;
_61=_c.iconAway;
}else{
if(_62==_a.IN_MEETING){
_5f=_d.stStatusMeeting;
_61=_c.iconInMeeting;
}else{
if(_62==_a.DND){
_5f=_d.stStatusdnt;
_61=_c.iconDnd;
}else{
if(_62==_a.OFFLINE){
_61=_7;
_5f=_d.stUserOffline;
}
}
}
}
}
_5e="<img aria-label=\""+_5f+"\" alt=\"\" src=\""+_61+"\" "+(dojo.isChrome?"style=\"padding-bottom:3px\"":"")+"/> "+_5f+"<img aria-label=\""+_d.stViewSTActions+"\" alt=\"\" src=\""+_7+"\" class=\"lotusArrow lotusDropDownSprite\" /><span class=\"lotusAltText\">&#9660;</span>"+"<span class=\"lotusAccess\" id=\"STDescriptionID\">"+_d.stViewSTActions+"</span>";
_5d.innerHTML=_5e;
_5d.setAttribute("aria-label",_5f);
}
catch(exception1){
console.error("lc.st.updateLoggedUserArea error: "+exception1);
}
if(dojo.config.isDebug){
console.log("lc.st.updateLoggedUserArea setting up the logged in user header complete");
}
}
};
function _51(_63,_64,_65){
if(dojo.config.isDebug){
console.log("lc.st.createSTStatusMsgLinkAction called");
}
var _66=stproxy.uiControl.status[_63.model.status].iconClass;
if(_63.model.status==_a.OFFLINE){
if(dojo.config.isDebug){
console.log("lc.st.createSTStatusMsgLinkAction displayed user not logged in. removing the loading msg");
}
var _67=document.createElement("span");
_67.innerHTML="&nbsp;"+_d.stNoStatuAvailable;
dojo.addClass(_67,_66);
_65.innerHTML="";
_65.appendChild(_67);
}else{
if(dojo.config.isDebug){
console.log("lc.st.createSTStatusMsgLinkAction setting up the status link for"+_64);
}
var a=document.createElement("a");
dojo.attr(a,{href:"javascript:;",title:_63.model.statusMessage,"aria-label":_63.model.statusMessage,"aria-describedby":"STIConDescriptionID",innerHTML:_68(_63,true)});
var _69=function(evt){
if(dojo.config.isDebug){
console.log("lc.st.createSTStatusMsgLinkAction openChat called for"+_63.model.id);
}
stproxy.openChat(_63.model.id);
dojo.stopEvent(evt);
return false;
};
dojo.connect(a,"onclick",_69);
_65.innerHTML="";
_65.appendChild(a);
}
};
function _52(_6a,_6b,_6c){
if(_6a.model.status==_a.OFFLINE){
if(dojo.config.isDebug){
console.log("lc.st.createSTIconLinkAction displayed user not logged in. removing the loading msg");
}
_6c.innerHTML="";
}else{
if(dojo.config.isDebug){
console.log("lc.st.createSTIconLinkAction setting up the status link for"+_6b);
}
var a=document.createElement("a");
dojo.attr(a,{href:"javascript:;",title:_6a.model.statusMessage,"aria-label":_6a.model.statusMessage,style:"text-decoration: none !important; float: left","aria-describedby":"STIConDescriptionID",innerHTML:_68(_6a,false)});
var _6d=function(evt){
if(dojo.config.isDebug){
console.log("lc.st.createSTIconLinkAction openChat called for"+_6b);
}
stproxy.openChat(_6b);
dojo.stopEvent(evt);
return false;
};
dojo.connect(a,"onclick",_6d);
_6c.innerHTML="";
_6c.appendChild(a);
}
};
function _68(_6e,_6f){
var _70=_6e.model.status;
var _71="";
if(_70==_a.AVAILABLE){
_71=_c.iconAvailable;
}else{
if(_70==_a.AWAY||_70==_a.NOT_USING){
_71=_c.iconAway;
}else{
if(_70==_a.IN_MEETING){
_71=_c.iconInMeeting;
}else{
if(_70==_a.DND){
_71=_c.iconDnd;
}else{
if(_70==_a.AVAILABLE_MOBILE){
_71=_c.iconAvailableMobile;
}else{
if(_70==_a.AWAY_MOBILE){
_71=_c.iconAwayMobile;
}else{
if(_70==_a.IN_MEETING_MOBILE){
_71=_c.iconInMeetingMobile;
}
}
}
}
}
}
}
var _72="";
if(_71!=""){
_72="<img src=\""+_71+"\" alt=\"\"  aria-label=\""+_6e.model.statusMessage+"\">"+"<span class=\"lotusAltText\">"+_6e.model.statusMessage+"</span>"+"<span class=\"lotusAccess\" id=\"STIConDescriptionID\">Click here to start a chat</span>";
}
if(_6f){
if(!dojo.isIE){
_72="&nbsp;"+_72;
}
_72+="&nbsp;"+_6e.model.statusMessage;
}else{
_72+="&nbsp;";
}
return _72;
};
function _5a(_73,_74,_75,_76){
var _77=dojo.byId(_74+_75);
if(_77){
var _78=_77.childNodes[0];
_78.onclick=function(){
stproxy.openChat(_73.model.id);
};
_77.style.display="";
}
};
function _42(){
if(dojo.config.isDebug){
console.log("lc.st.disconnect called");
}
stproxy.login.logout(true,_79,_7a);
};
function _7a(){
console.log("lc.st.disconnectErrorHandler: An Error has occured. Sametime error code: "+errorMsg);
};
function _79(){
if(dojo.config.isDebug){
console.log("lc.st.disconnectCallBack called");
}
var _7b=dijit.byId("ST_LOGOUT");
if(_7b==null){
_7b=dijit.byId("ST_LOGIN");
}
if(_7b!=null){
dojo.attr(_7b,"label",_d.stConnect);
}
};
lconn.profiles.sametime.onLogout=function(){
var dfd=new dojo.Deferred();
if(window.stproxy&&window.stproxy.isLoggedIn){
lconn.profiles.sametime.logout(true);
}
setTimeout(function(){
dfd.callback();
},1000);
return dfd;
};
lconn.profiles.sametime.onLogin=function(){
_31();
_2d();
};
lconn.profiles.sametime.logout=function(_7c){
if(dojo.config.isDebug){
console.log("lc.st.logout called");
}
stproxy.login.logout(_7c,lconn.profiles.sametime.logoutCallBack,lconn.profiles.sametime.logoutErrorHandler);
};
lconn.profiles.sametime.logoutErrorHandler=function(_7d){
console.log("lc.st.logoutErrorHandler: An Error has occured. Sametime error code: "+_7d);
};
lconn.profiles.sametime.logoutCallBack=function(){
if(dojo.config.isDebug){
console.log("lc.st.logoutCallBack called");
}
_31();
_2d();
var _7e=dijit.byId("ST_LOGOUT");
if(_7e==null){
_7e=dijit.byId("ST_LOGIN");
}
if(_7e!=null){
dojo.attr(_7e,"label",_d.stConnect);
}
};
function _16(s){
var _7f=s.length-1;
if(s.charAt(_7f)=="/"){
return s;
}
return s+"/";
};
lconn.profiles.sametime.sametimeProxyAwareness.viewbuddylist=function(){
if(dojo.config.isDebug){
console.log("lc.st.viewbuddylist called");
}
var _80=window.open(_16(stproxyConfig.server)+"stwebclient/popup.jsp#{%27disableXDomain%27:true}","stChatWindow","status=0,toolbar=0,location=0, menubar=0,width=350,height=550");
_80.focus();
return false;
};
lconn.profiles.sametime.sametimeProxyAwareness.openMenu=function(evt){
if(dojo.config.isDebug){
console.log("lc.st.openMenu called");
}
try{
var _81=_3c();
menuUtility.openMenu(evt,_81.id);
dojo.stopEvent(evt);
}
catch(e){
console.log(e);
}
};
dojo.addOnLoad(_11);
})();
}


;if(!dojo._hasResource["lconn.profiles.sametime.sametimeAwareness"]){
dojo._hasResource["lconn.profiles.sametime.sametimeAwareness"]=true;
dojo.provide("lconn.profiles.sametime.sametimeAwareness");
dojo.require("lconn.core.bizCard.bizCardUtils");
dojo.requireLocalization("lconn.profiles.bizCard","ui");
lconn.profiles.sametime.sametimeAwareness={messages:dojo.i18n.getLocalization("lconn.profiles.bizCard","ui"),elementId:null,sametimeServiceRootURL:"http://localhost:59449/stwebapi/",hcardServiceRootURL:null,isInited:false,profileSametimeAwarenessSet:false,bizCardSametimeAwarenessSet:false,inputType:"email",debug:false,initIMService:function(_1){
if(_1.secureUse&&_1.secureURL&&_1.secureURL!=""){
this.sametimeServiceRootURL=_1.secureURL;
}else{
if(_1.unsecureUse&&_1.unsecureUrl&&_1.unsecureUrl!=""){
this.sametimeServiceRootURL=_1.unsecureUrl;
}
}
if(_1.inputType!=null){
this.inputType=_1.inputType;
}
this.isInited=true;
if(typeof (Status)=="undefined"){
lconn.core.bizCard.bizCardUtils.loadScript(this.sametimeServiceRootURL+"getStatusNonDojo.js");
lconn.core.bizCard.bizCardUtils.loadCss(this.sametimeServiceRootURL+"main.css");
if(typeof (profiles_isBidiRTL)!="undefined"&&profiles_isBidiRTL){
if(!this.hcardServiceRootURL){
this.hcardServiceRootURL=lconn.core.bizCard.bizCardUtils.getBaseURL("hcard");
}
if(this.hcardServiceRootURL&&this.hcardServiceRootURL!="undefined"){
lconn.core.bizCard.bizCardUtils.loadCss(this.hcardServiceRootURL+"/css/sametime/main_rtl.css");
}
}
}
},initBizCardIMService:function(_2){
if(_2.X_bizCardSecureSTAwareness&&_2.X_bizCardLocation&&_2.X_bizCardLocation.secure&&_2.X_bizCardLocation.secure!=""){
this.sametimeServiceRootURL=_2.X_bizCardLocation.secure;
}else{
if(_2.X_bizCardSTAwareness&&_2.X_bizCardLocation&&_2.X_bizCardLocation.unsecure&&_2.X_bizCardLocation.unsecure!=""){
this.sametimeServiceRootURL=_2.X_bizCardLocation.unsecure;
}
}
if(_2.X_bizCardSTInputType!=null){
this.inputType=_2.X_bizCardSTInputType;
}
this.isInited=true;
if(typeof (Status)=="undefined"){
lconn.core.bizCard.bizCardUtils.loadScript(this.sametimeServiceRootURL+"getStatusNonDojo.js");
lconn.core.bizCard.bizCardUtils.loadCss(this.sametimeServiceRootURL+"main.css");
if(typeof (profiles_isBidiRTL)!="undefined"&&profiles_isBidiRTL){
if(!this.hcardServiceRootURL){
this.hcardServiceRootURL=lconn.core.bizCard.bizCardUtils.getBaseURL("hcard");
}
if(this.hcardServiceRootURL&&this.hcardServiceRootURL!="undefined"){
lconn.core.bizCard.bizCardUtils.loadCss(this.hcardServiceRootURL+"/css/sametime/main_rtl.css");
}
}
}
},loadProfilesIMStatus:function(_3,_4){
var _5=this.messages;
this.elementId=_4.loadAwarenessInto;
var _6="";
if(lconn.profiles.sametime.sametimeAwareness.inputType=="uid"){
_6=_4.uid;
}else{
_6=_4.email;
}
if(this.debug){
console.log("loadProfilesIMStatus: starting using "+lconn.profiles.sametime.sametimeAwareness.inputType);
}
var _7=lconn.profiles.sametime.sametimeAwareness.sametimeServiceRootURL+"getstatus/";
_7+=_6+"?jsonp=lconn.profiles.sametime.sametimeAwareness.setSametimeStatus&time="+new Date().getTime();
var _8=function(){
lconn.core.bizCard.bizCardUtils.loadScript(_7);
lconn.profiles.sametime.sametimeAwareness.pollSametimeStatus(_7,"window.lconn.profiles.sametime.sametimeAwareness.profileSametimeAwarenessSet == true");
};
var _9=function(){
var _a=document.getElementById(lconn.profiles.sametime.sametimeAwareness.elementId);
if(typeof (Status)=="undefined"||_a.innerHTML.indexOf(_5.loadingSTStatus)!=-1){
if(this.debug){
console.log("checkIfStatusLoaded: asking st for status expired");
}
_a.innerHTML=_5.noStatuAvailable;
_a.className="awareness offline";
if(typeof (getStatusImgUrl)!="undefined"){
_a.style.backgroundImage="url("+getStatusImgUrl("offline")+")";
}
}
};
setTimeout(_9,10000);
setTimeout(_8,2000);
},pollSametimeStatus:function(_b,_c){
var _d="";
var _e=0;
_d=window.setInterval(function(){
_e++;
if(eval(_c)){
if(this.debug){
console.log("pollSametimeStatus: cleaning up the timer");
}
window.clearInterval(_d);
}else{
if(_e==6){
if(this.debug){
console.log("pollSametimeStatus: cleaning up the timer");
}
window.clearInterval(_d);
}else{
var _f=new Date().getTime();
if(window.Status==null||Status.getStyleForStatus==null){
lconn.core.bizCard.bizCardUtils.loadScript(this.sametimeServiceRootURL+"getStatusNonDojo.js?time="+_f);
}
if(_b){
if(this.debug){
console.log("pollSametimeStatus: new url: "+_b+"&tempDate="+_f);
}
lconn.core.bizCard.bizCardUtils.loadScript(_b+"&tempDate="+_f);
}
}
}
},1000);
},invokeSametimeAwareness:function(_10){
if(this.isInited!=true){
this.initBizCardIMService(_10);
}
lconn.core.utilities.processUntilAvailable(dojo.hitch(this,this.invokeSametimeAwarenessForPerson),"window.Status != null",_10,false);
},invokeSametimeAwarenessForPerson:function(_11){
var _12="";
if(this.inputType=="uid"){
_12=_11.uid;
}else{
_12=_11.email.internet;
}
var url=this.sametimeServiceRootURL+"getstatus/";
url+=_12+"?jsonp=lconn.profiles.sametime.sametimeAwareness.loadBizCardStatus&time="+new Date().getTime();
lconn.core.bizCard.bizCardUtils.loadScript(url);
this.pollSametimeStatus(url,"window.lconn.profiles.sametime.sametimeAwareness.bizCardSametimeAwarenessSet == true");
},setSametimeStatus:function(_13){
if(this.tried==null){
this.tried=0;
}
if(_13.status==0&&this.tried<5){
this.tried++;
return;
}
this.tried=0;
var _14=this.messages;
var _15=document.getElementById(this.elementId);
if(_13.error!=null||_13.statusMessage==null||_13.statusMessage==""){
if(this.debug){
console.log("setSametimeStatus: no status");
}
_15.innerHTML=_14.noStatuAvailable;
_15.className="awareness offline";
if(typeof (getStatusImgUrl)!="undefined"){
_15.style.backgroundImage="url("+getStatusImgUrl("offline")+")";
}
}else{
this.profileSametimeAwarenessSet=true;
if(this.debug){
console.log("setSametimeStatus: profileSametimeAwarenessSet set to true");
}
if(window.Status==null){
if(this.debug){
console.log("setSametimeStatus: st code has not been loaded");
}
}
if(_15.getAttribute("className")!=null){
try{
if(typeof (getStatusImgUrl)!="undefined"){
_15.style.backgroundImage="url("+getStatusImgUrl(_13.status)+")";
}
_15.className="awareness "+Status.getStyleForStatus(_13.status);
_15.onclick=function(){
sametime_invoke("chat",_13.username);
};
if(_13.statusMessage!=null&&_13.statusMessage!=""){
_15.title=_13.statusMessage;
_15.innerHTML="&nbsp;"+_13.statusMessage;
}else{
if(_13.status!=null&&_13.status>0){
_15.title="";
_15.innerHTML="&nbsp;";
}else{
_15.title=_14.noStatuAvailable;
_15.innerHTML=_14.noStatuAvailable;
}
}
}
catch(exception1){
if(this.debug){
console.log("setSametimeStatus: an error has occurred in st code loading.");
}
}
}else{
if(typeof (getStatusImgUrl)!="undefined"){
_15.style.backgroundImage="url("+getStatusImgUrl(_13.status)+")";
}
_15.setAttribute("class","awareness "+Status.getStyleForStatus(_13.status));
_15.setAttribute("onclick","sametime_invoke('chat', '"+_13.username+"');");
if(_13.statusMessage!=null&&_13.statusMessage!=""){
_15.innerHTML="&nbsp;"+_13.statusMessage;
_15.setAttribute("title",_13.statusMessage);
}else{
if(_13.status!=null&&_13.status>0){
_15.innerHTML="&nbsp;";
_15.setAttribute("title","");
}else{
_15.innerHTML=_14.noStatuAvailable;
_15.setAttribute("title",_14.noStatuAvailable);
}
}
}
}
},loadBizCardStatus:function(_16){
if(this.tried==null){
this.tried=0;
}
if(_16.status==0&&this.tried<5){
this.tried++;
return;
}
this.tried=0;
if(_16.error!=null||_16.statusMessage==null||_16.statusMessage==""){
}else{
var _17=document.getElementById(_16.username+"vcardNameElem");
this.bizCardSametimeAwarenessSet=true;
if(_17!=null){
_17.className=" awareness "+Status.getStyleForStatus(_16.status);
_17.setAttribute("userId",_16.username);
if(typeof (getStatusImgUrl)!="undefined"){
_17.style.backgroundImage="url("+getStatusImgUrl(_16.status)+")";
}
_17.onclick=function(){
var _18=this.getAttribute("userId");
sametime_invoke("chat",_18);
};
}
var _19=dojo.byId(_16.username+"vcardCommentElem");
var _1a=dojo.byId(_16.username+"ChatAction");
var _1b=dojo.byId(_16.username+"ChatActionMore");
if(_19!=null){
_19.style.display="block";
dojo.byId(_16.username+"vcardStStatusElem").innerHTML="&nbsp;"+_16.statusMessage;
}
if(_1a!=null){
_1a.style.display="";
}
if(_1b!=null){
_1b.style.display="";
}
}
}};
}


;if(!dojo._hasResource["lconn.core.uiextensions"]){
dojo._hasResource["lconn.core.uiextensions"]=true;
dojo.provide("lconn.core.uiextensions");
dojo.require("lconn.core.utilities");
if(!window.lc_ui_extensionsContainer){
window.lc_ui_extensionsContainer={};
}
lconn.core.uiextensions={invokeExtesions:function(_1){
return lconn.core.uiextensions.invokeExtensions(_1);
},get:function(_2){
if(window.lc_ui_extensionsContainer==null){
console.log("lconn.core.uiextensions.invokeExtensions: lc_ui_extensionsContainer is not defined. plugin taglib must be missing.");
return [];
}
return window.lc_ui_extensionsContainer[_2];
},when:function(_3,_4){
var c=window.lc_ui_extensionsWhen;
if(!c){
c=window.lc_ui_extensionsWhen={};
}
var _5=c[_3];
if(!_5){
_5=c[_3]=new dojo.Deferred();
}
if(_5.fired==-1&&typeof _4!="undefined"){
try{
_5.callback(_4);
}
catch(e){
console.error(e);
}
}
return _5;
},add:function(_6,_7){
var c=window.lc_ui_extensionsContainer;
if(!c){
c=window.lc_ui_extensionsContainer={};
}
var _8=c[_6];
if(!_8){
_8=c[_6]=[];
}
_8.push(_7);
},invokeExtensions:function(_9){
if(window.lc_ui_extensionsContainer==null){
console.log("lconn.core.uiextensions.invokeExtensions: lc_ui_extensionsContainer is not defined. plugin taglib must be missing.");
return;
}
var _a=window.lc_ui_extensionsContainer[_9];
for(var i=0;_a!=null&&i<_a.length;i++){
var _b=_a[i].script;
var _c=_a[i].callbackText;
if(_c==null||_c==""){
continue;
}
var _d=function(){
if(_b!=null){
lconn.core.utilities.loadScript(_b);
}
var _e=function(){
eval(_c+"();");
};
lconn.core.utilities.processUntilAvailable(_e,"lconn.core.utilities.isDefined('"+_c+"')");
};
var _f=_a[i].invokeDelay;
if(_f!=null&&_f!=""){
setTimeout(_d,_f);
}else{
_d();
}
}
},areExtensionsEnabled:function(_10){
if(window.lc_ui_extensionsContainer==null){
console.log("lconn.core.uiextensions.areExtensionsEnabled: lc_ui_extensionsContainer is not defined. plugin taglib must be missing.");
return;
}
var _11=false;
if(typeof (window.lc_ui_extensionsContainer)!="undefined"&&window.lc_ui_extensionsContainer!=null){
var _12=window.lc_ui_extensionsContainer[_10];
for(var i=0;_12!=null&&i<_12.length;i++){
var _13=_12[i].callbackText;
if(_13!=null&&_13!=""&&typeof (_13)!="undefined"){
_11=true;
}
}
}
return _11;
},getParameters:function(_14,_15){
if(window.lc_ui_extensionsContainer==null){
console.log("lconn.core.uiextensions.getParameters: lc_ui_extensionsContainer is not defined. plugin taglib must be missing.");
return;
}
var _16=window.lc_ui_extensionsContainer[_14];
for(var i=0;_16!=null&&i<_16.length;i++){
if(_16[i]!=null&&_16[i].id==_15){
return _16[i].params;
}
}
return null;
}};
}


;if(!dojo._hasResource["lconn.profiles.bizCard.bizCard"]){
dojo._hasResource["lconn.profiles.bizCard.bizCard"]=true;
(function(){
dojo.provide("lconn.profiles.bizCard.bizCard");
dojo.require("lconn.core.utilities");
dojo.require("lconn.core.bizCard.bizCardUtils");
dojo.require("lconn.profiles.bizCard.bizCardUI");
dojo.require("lconn.profiles.sametime.sametimeProxyAwareness");
dojo.require("lconn.profiles.sametime.sametimeAwareness");
dojo.require("lconn.core.uiextensions");
dojo.require("dojo.cookie");
var _1=dojo;
lconn.profiles.bizCard.bizCard={messages:{},applicationContext:null,servletUrlByUserId:null,servletUrlByEmail:null,servletUrlByDn:null,requestor:null,services:[],initited:false,init:function(){
if(this.initited==false){
_1=lconn.core.bizCard.bizCardUtils.getDojoObject();
_1.requireLocalization("lconn.profiles.bizCard","ui");
this.messages=_1.i18n.getLocalization("lconn.profiles.bizCard","ui");
this.applicationContext=lconn.core.bizCard.bizCardUtils.getBaseURL("hcard");
this.servletUrlByUserId2=this.applicationContext+"/json/profile.do?userid=@@@USERID@@@&lang=@@@LANG@@@&auth=@@@AUTH@@@";
this.servletUrlByEmail2=this.applicationContext+"/json/profile.do?email=@@@EMAIL@@@&lang=@@@LANG@@@&auth=@@@AUTH@@@";
this.servletUrlByDn2=this.applicationContext+"/json/profile.do?distinguishedName=@@@DN@@@&lang=@@@LANG@@@&auth=@@@AUTH@@@";
this.servletUrlByUserId=this.applicationContext+"/json/profile.do?userid=@@@USERID@@@&callback=lconn.profiles.bizCard.bizCard.dispatchByUserId&lang=@@@LANG@@@&auth=@@@AUTH@@@";
this.servletUrlByEmail=this.applicationContext+"/json/profile.do?email=@@@EMAIL@@@&callback=lconn.profiles.bizCard.bizCard.dispatchByEmail&lang=@@@LANG@@@&auth=@@@AUTH@@@";
this.servletUrlByDn=this.applicationContext+"/json/profile.do?distinguishedName=@@@DN@@@&callback=lconn.profiles.bizCard.bizCard.dispatchByEmail&lang=@@@LANG@@@&auth=@@@AUTH@@@";
this.requestor=new LCSemTagUtil.crossDomainRequest();
if(dojo.byId(LCSemTagMenu.id)==null){
LCSemTagMenu.createMenuTag(null);
}
this.initited=true;
}
},getIdMethod:function(_2){
return (_2.email&&_2.email.internet)?_2.email.internet:null;
},convMethod:function(_3){
return _3;
},dispatchByEmail:function(_4){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("lconn.profiles.bizCard.bizCard.dispatchByEmail: data: "+_4);
}
var _5=(_4.email&&_4.email.internet)?_4.email.internet:null;
this.dispatch(_5,_4);
},dispatchByUserId:function(_6){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("lconn.profiles.bizCard.bizCard.dispatchByUserId: data: "+_6);
}
var _7=_6.X_lconn_userid?_6.X_lconn_userid:null;
this.dispatch(_7,_6);
},dispatchByDn:function(_8){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("lconn.profiles.bizCard.bizCard.dispatchByDn: data: "+_8);
}
var _9=_8.dn?_8.dn:null;
this.dispatch(_9,_8);
},dispatchByConfig:function(_a){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("lconn.profiles.bizCard.bizCard.dispatchByConfig: data: "+_a);
}
this.dispatch("configDataId",_a);
},dispatch:function(id,_b){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("lconn.profiles.bizCard.bizCard.dispatch: id:"+id+"  data: "+_b);
}
this.requestor.dispatch(id,_b);
},processTag:function(_c){
try{
if(!this.initited){
lconn.core.bizCard.bizCardUtils.init();
LCSemTagMenu.init();
this.init();
}
if(typeof _c=="object"&&_c.length){
for(var ii=0;ii<_c.length;ii++){
this.processHcard(_c[ii]);
}
}else{
this.processHcard(_c);
}
}
catch(e){
console.log(e);
}
},processHcard:function(_d){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("Processing at lconn.profiles.bizCard.bizCard.processHcard for "+(dojo.isIE?_d.innerText:_d.textContent));
}
var _e=this.getNameElement(_d);
if(!_e){
return;
}
if(this.isInline(_d)){
var _f={"target":_e};
this.getTagFromServer(_f);
}else{
lconn.core.bizCard.bizCardUtils.addHover(_e,this.showHover,this.showMenu,this.keystrokeHandler);
}
_e.setAttribute("aria-describedby",LCSemTagMenu.id);
},isInline:function(_10){
return this.getHcardAttributeValue("X-person-display-inline",_10);
},loadHcardPerson:function(_11){
var _12=new Object();
var _13=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcard",_11);
var _14=_13.getElementsByTagName("*");
for(var i=0;i<_14.length;i++){
var _15=_14[i];
if(_15.className){
var _16=_15.className.split(" ");
for(var j=0;j<_16.length;j++){
var c=_16[j];
var _17=this.getHcardAttributeValue(c,_13);
if(_17){
_12[c]=_17;
}
}
}
}
return _12;
},getHcardAttributeValue:function(_18,_19){
switch(_18){
case ("email"):
return this.getHcardTypedAttribute(_19,_18,"internet");
case ("tel"):
return this.getHcardTypedAttribute(_19,_18,"voice");
case ("adr"):
return this.getHcardTypedAttribute(_19,_18,"intl");
}
var _1a=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcard",_19);
var _1b=lconn.core.bizCard.bizCardUtils.getElementsByClassName(_18,_1a,1);
if(_1b.length>0&&_1b[0].tagName.match(/^abbr$/i)){
return _1b[0].getAttribute("title");
}
switch(_18){
case ("fn"):
var fn=lconn.core.bizCard.bizCardUtils.getSinglePropertyValue(_1b[0]);
if(fn){
return fn;
}else{
return this.getHcardAttributeValue("n",_19);
}
break;
case ("n"):
if(_1b.length>0){
var _1c=_1b[0];
var _1d="";
var _1e=["honorific-prefix","given-name","additional-name","family-name","honorific-suffix"];
for(var i=0;i<5;i++){
var n=lconn.core.bizCard.bizCardUtils.getSinglePropertyValue(lconn.core.bizCard.bizCardUtils.getElementsByClassName(_1e[i],_1c,1)[0]);
if(n){
_1d+=n+" ";
}
}
return _1d;
}
return "";
break;
case ("photo"):
var _1f=_1b[0];
if(_1f){
return _1f.getAttribute("src");
}else{
return;
}
break;
case ("X-sametime-status"):
var _20=_1b[0];
if(!_20){
return "";
}
var _21=_20.getAttribute("value");
if(_21){
return _21;
}else{
return lconn.core.bizCard.bizCardUtils.getSinglePropertyValue(_20);
}
break;
case ("X-person-display-inline"):
if(_1b.length>0){
return true;
}else{
return false;
}
case ("street-address"):
case ("post-office-box"):
case ("extended-address"):
case ("locality"):
case ("region"):
case ("postal-code"):
case ("country-name"):
case ("title"):
case ("role"):
case ("org"):
default:
return lconn.core.bizCard.bizCardUtils.getSinglePropertyValue(_1b[0]);
break;
}
},getHcardTypedAttribute:function(_22,_23,_24){
var _25=new Object();
var _26=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcard",_22);
var _27=lconn.core.bizCard.bizCardUtils.getElementsByClassName(_23,_26);
for(var i=0;i<_27.length;i++){
var _28=_27[i];
if(_23=="email"&&_28.nodeName.toLowerCase()=="a"&&_28.href.match(/^mailto:/)){
var _29=_28.href.indexOf("?");
if(_29>-1){
_25[_24]=_28.href.slice(7,_29);
}else{
_25[_24]=_28.href.slice(7);
}
continue;
}
_25=lconn.core.bizCard.bizCardUtils.getTypedValue(_28,_24);
}
return _25;
},showHover:function(_2a){
try{
lconn.core.bizCard.bizCardUtils.showHover(_2a,lconn.profiles.bizCard.bizCard.showMenu);
this.focus();
}
catch(e){
console.log("Error in lconn.profiles.bizCard.bizCard.showHover");
console.log(e);
}
},showMenu:function(_2b){
LCSemTagMenu.waitCursor();
lconn.profiles.bizCard.bizCard.getTagFromServer(_2b);
},keystrokeHandler:function(_2c){
if(_2c.ctrlKey&&(_2c.keyCode==13)){
if(_2c.preventDefault){
_2c.preventDefault();
}
try{
_2c.isAccessibleOpen=true;
}
catch(e){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("ERROR setting isAccessibleOpen event flag: "+e);
}
}
lconn.profiles.bizCard.bizCard.showMenu(_2c);
if(!LCSemTagMenu.getCurrentElement()){
var _2d=lconn.core.bizCard.bizCardUtils.getLiveElementFromEvent(_2c);
LCSemTagMenu.setCurrentElement(_2d);
}
}
},getSearchType:function(_2e){
indexOf.lconn.core.bizCard.bizCardUtils.getBaseURL("hcard");
},getTagFromServer:function(_2f){
var _30=lconn.core.bizCard.bizCardUtils.getLiveElementFromEvent(_2f);
var _31=lconn.core.bizCard.bizCardUtils.getLangParam();
var _32={"LANG":_31};
var _33=false;
if(window.lconnAwarenessLoggedInUser){
_33=true;
}
_32["AUTH"]=true;
var url=null;
var _34=null;
var _35=null;
var _36=this.getElementUserId(_30);
var _37=this.getElementEmail(_30);
var dn=this.getElementDn(_30);
if(dn){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("Person.getTagFromServer sending request for dn: "+dn);
}
_32["DN"]=dn;
_34=dn;
url=this.servletUrlByDn2;
_35="lconn.profiles.bizCard.bizCard.dispatchByDn";
}else{
if(_37){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("Person.getTagFromServer sending request for email: "+_37);
}
_32["EMAIL"]=_37;
_34=_37;
url=this.servletUrlByEmail2;
_35="lconn.profiles.bizCard.bizCard.dispatchByEmail";
}else{
if(_36){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("Person.getTagFromServer sending request for user id: "+_36);
}
_32["USERID"]=_36;
_34=_36;
url=this.servletUrlByUserId2;
_35="lconn.profiles.bizCard.bizCard.dispatchByUserId";
}
}
}
if(_34!=null){
lconn.core.bizCard.bizCardUtils.getBizCardData(url,_32,_35,this.requestor,this.requestReturn,_2f,_34);
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("Person.getTagFromServer sent");
}
}else{
this.noInformationProvided(_30,_2f);
}
},noInformationProvided:function(_38,_39){
lconn.profiles.bizCard.bizCard.update(null,_38,_39);
},requestReturn:function(_3a,_3b,_3c){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("Person.requestReturn: success="+_3a);
}
var _3d=lconn.core.bizCard.bizCardUtils.getLiveElementFromEvent(_3c);
var _3b=_3a?lconn.profiles.bizCard.bizCard.convMethod.call(null,_3b):{};
lconn.profiles.bizCard.bizCard.fillPersonJsonMoreFromDom(_3b,_3d);
lconn.profiles.bizCard.bizCard.update(_3b,_3d,_3c);
},fillPersonJsonMoreFromDom:function(_3e,_3f){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("Person.fillPersonJsonMoreFromDom");
}
if(!_3e.photo){
_3e.photo=lconn.core.url.getServiceUrl(lconn.core.config.services.webresources)+"/web/com.ibm.oneui3.styles/imageLibrary/OtherImages/People/NoPhotoPerson128.png";
}
if(!_3e.fn){
var _40=lconn.core.bizCard.bizCardUtils.findNameElementInHcard(_3f);
if(_40){
_3e.fn=lconn.core.bizCard.bizCardUtils.getTextValue(_40);
}
}
if(!_3e.email||!_3e.email.internet){
var _41=this.getElementEmail(_3f);
_3e.email={"internet":_41};
}
if(!_3e.tel||!_3e.tel.voice){
var _42=lconn.core.bizCard.bizCardUtils.findElementByNameInHcard(_3f,"tel");
if(_42){
var _43=lconn.core.bizCard.bizCardUtils.getTypedValue(_42,"voice");
_3e.tel={"voice":_43["voice"]};
}
}
var _44=lconn.core.bizCard.bizCardUtils.findElementByNameInHcard(_3f,"adr");
var _45={};
if(_44){
_45=SemTagAddr.getAddressJson(_44);
_3e.adr=_45;
}
},update:function(_46,_47,_48){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("Person.update");
}
var _49=this.messages;
this.currentPerson=_46;
var _4a=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcard",_47);
if(_4a&&this.isInline(_4a)){
var out=new lconn.core.bizCard.bizCardUtils.out();
lconn.profiles.bizCard.bizCardUI.getInlineMarkup(_46,"ltr",out);
var _4b=document.createElement("span");
_4b.innerHTML=out.buffer;
_4a.appendChild(_4b);
var _4c=(dojo.cookie("card.inline.expanded")?false:true);
}else{
var _4d=new Array();
var _4e="personMenuActions";
var _4f=new lconn.core.bizCard.bizCardUtils.out();
var _50=new lconn.core.bizCard.bizCardUtils.out();
lconn.profiles.bizCard.bizCardUI.getMenuData(_46,"ltr",_4d,_4e,_4f,_50);
lconn.core.bizCard.bizCardUtils.setMenuData(_48,_4d,_4e,lconn.core.bizCard.bizCardUtils.getMenuHeaderJson(_4f.buffer,-100));
}
if(_46!=null&&_46.X_isActiveUser&&_46.X_isActiveUser=="true"){
if(_46.X_stLinks!=null&&_46.X_stLinks!=""){
this.invokeSTLinks(_46);
}else{
if(typeof lconn.core.config.services.sametimeProxy!="undefined"){
var _51=(_46.X_loggedInUserKey!=null&&_46.X_loggedInUserKey!="");
if(_51){
if(_4a&&this.isInline(_4a)){
lconn.profiles.sametime.sametimeProxyAwareness.scanPage();
}else{
var _52=dojo.byId(_46.fn+"vcardNameElem");
if(_52==null){
_52=dojo.byId(_46.uid+"vcardNameElem");
}
if(_52==null){
_52=dojo.byId(_46.email.internet+"vcardNameElem");
}
if(_52==null){
_52=dojo.byId(_46.X_lconn_userid+"vcardNameElem");
}
if(_52!=null){
var _53="";
_53+="<span class=\"IMAwarenessDisplayedUser\">";
_53+="<span style=\"display: none;\" class=\"renderType\">Icon</span>";
_53+="<span style=\"display: none;\" class=\"dn\">"+_46.dn+"</span>";
_53+="<span style=\"display: none;\" class=\"uid\">"+_46.uid+"</span>";
_53+="<span id=\"IMcontent\" class=\"IMContent\"><img alt=\""+_49["loadingSTStatus"]+"\" src=\""+this.applicationContext+"/nav/common/styles/images/loading.gif\">&nbsp;</span>";
_53+="</span> ";
var _54=document.createElement("span");
_54.innerHTML=_53;
var _55=_52.parentNode;
_55.insertBefore(_54.firstChild,_52);
lconn.profiles.sametime.sametimeProxyAwareness.scanPage();
}
}
}
}else{
if(_46.X_bizCardSTAwareness||_46.X_bizCardSecureSTAwareness){
this.invokeSametimeAwareness(_46);
}
}
}
}
},invokeSTLinks:function(_56){
if(document.cookie.match(/LtpaToken=\w*/g)!=null&&window.writeSTLinksApplet!=null){
var _57=document.getElementById(_56.email.internet+"vcardNameElem");
if(_57==null){
_57=document.getElementById(_56.X_lconn_userid+"vcardNameElem");
}
_57.innerHTML=prepareSametimeLink(_56.dn,_56.fn,true,"icon:yes");
}
},invokeSametimeAwareness:function(_58){
var _59=dojo.getObject("lconn.profiles.sametime.sametimeAwareness");
if(_59){
_59.invokeSametimeAwareness(_58);
}
},sametimeStart:function(_5a,_5b){
sametime_invoke(_5a,_5b);
},getElementEmail:function(_5c){
var _5d;
var _5e=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcard",_5c);
if(_5e){
_5d=this.getHcardAttributeValue("email",_5e);
_5d=_5d.internet;
}else{
if(_5c.nodeName.toLowerCase()=="a"&&_5c.href.match(/^mailto:/)){
_5d=_5c.href.replace(/^mailto:/,"");
}
}
return _5d;
},getElementUserId:function(_5f){
var _60="";
var _61=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcard",_5f);
if(_61){
_60=this.getHcardAttributeValue("x-lconn-userid",_61);
}
return _60;
},getElementDn:function(_62){
var dn="";
var _63=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcard",_62);
if(_63){
dn=this.getHcardAttributeValue("dn",_63);
if(!dn){
dn=this.getHcardAttributeValue("uid",_63);
}
}
return dn;
},getNameElement:function(_64){
if(_64.className!="vcard"){
_64=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcard",_64);
}
var _65=lconn.core.bizCard.bizCardUtils.getElementsByClassName("fn",_64,1)[0];
if(!_65){
_65=lconn.core.bizCard.bizCardUtils.getElementsByClassName("n",_64,1)[0];
}
return _65;
},requestReturnMiniBizCard:function(_66,_67,_68,_69){
var _67=_66?lconn.profiles.bizCard.bizCard.convMethod.call(null,_67):{};
var _6a=new lconn.core.bizCard.bizCardUtils.out();
lconn.profiles.bizCard.bizCardUI.getMenuData(_67,null,null,null,_6a,null,true,(_69?true:false));
if(_68.target!=null&&typeof (_68.target)=="object"){
_68.target.innerHTML=_6a.buffer;
}else{
if(_68.callbackfn!=null){
_68.callbackfn(_6a.buffer);
}
}
},renderMiniBizCard:function(_6b,_6c,_6d){
this.init();
var _6e={"target":_6d,"callbackfn":_6c};
var src=this.servletUrlByUserId.replace(/@@@USERID@@@/,_6b);
this.requestor.request(src,10000,this.requestReturnMiniBizCard,_6e,_6b);
}};
})();
}

dojo.registerModulePath("com.ibm.lconn.personcard", "../com.ibm.lconn.personcard");

;if(!dojo._hasResource["lconn.core.people"]){
dojo._hasResource["lconn.core.people"]=true;
dojo.provide("lconn.core.people");
}

dojo.registerModulePath("com.ibm.lconn.layout", "../com.ibm.lconn.layout");

;if(!dojo._hasResource["com.ibm.lconn.layout.track"]){
dojo._hasResource["com.ibm.lconn.layout.track"]=true;
(function com_ibm_lconn_layout_track(){
var _1=dojo.provide("com.ibm.lconn.layout.track");
dojo.require("dijit._base.wai");
dojo.require("lconn.core.config.services");
dojo.require("com.ibm.oneui.util.Url");
dojo.require("lconn.core.url");
var _2={className:"lconnTrackingBeacon",style:{cssText:"height: 1px; width: 1px; position: absolute; left: -9999px; top: 0px;"},alt:""};
var _3=0;
function _4(){
var _5=this.parentNode;
if(_5){
_5.removeChild(this);
}
};
var _6=lconn.core.config.services.metrics;
if(_6){
_1._addTracker=function(_7,_8,_9){
if(!_7){
return;
}
var _a;
var _b=lconn.core.url.getServiceUrl(_6);
var _c=dojo.mixin(_b.getQuery(),_7);
if(typeof _8=="object"){
dojo.mixin(_c,_8);
}else{
if(typeof _8=="string"){
_c.data=_8;
}
}
var _d=dojo.config.proxy;
_b.path+="/service/eventTracker";
var _e=_b.toString();
if(_d){
var _f=new lconn.core.url.ProxyUrlHelper(_d);
_e=_f.getProxifiedURL(_e);
}
var _10=function(_11){
};
var _12=function(_13){
};
_a=dojo.xhrPost({url:_e,sync:_9||false,timeout:10000,load:_10,error:_12,headers:{"X-Update-Nonce":"true"}});
return _a;
};
}else{
_1._addTracker=function(){
};
}
_1.read=function(id,_14,opt){
opt=opt||{};
if(dojo.config.isDebug){
console.log("Send read event with itemType = "+_14+", contentId = "+id);
console.log("Options="+dojo.toJson(opt,true));
}
return _1._addTracker({context:opt.context,contentId:id,itemType:_14,source:opt.source||null,community:opt.communityId||opt.community||null,i:_3++||null},opt.extra,opt.sync);
};
})();
}


;if(!dojo._hasResource["com.ibm.lconn.personcard.legacy"]){
dojo._hasResource["com.ibm.lconn.personcard.legacy"]=true;
dojo.provide("com.ibm.lconn.personcard.legacy");
dojo.require("lconn.core.bizCard.bizCardUtils");
dojo.require("lconn.profiles.bizCard.bizCard");
dojo.require("lconn.communities.bizCard.bizCard");
dojo.require("lconn.profiles.sametime.sametimeProxyAwareness");
dojo.require("lconn.profiles.sametime.sametimeAwareness");
dojo.require("lconn.core.config.services");
dojo.require("com.ibm.oneui.util.Url");
(function(){
var _1=lconn.core.config.services;
var _2=_1.profiles;
if(!_2){
return;
}
var _3=com.ibm.oneui.util.Url.secure;
var _4=_3?_2.secureUrl:_2.url;
window.SemTagSvcConfig.baseUrl=_4;
window.livetextCfg.push({id:"hcard",match:".vcard",processEnclosedTags:false,tagHandler:lconn.profiles.bizCard.bizCard,loaded:true,baseURL:_4});
})();
}


;if(!dojo._hasResource["lconn.metrics.plugins.logoutCognos"]){
dojo._hasResource["lconn.metrics.plugins.logoutCognos"]=true;
dojo.provide("lconn.metrics.plugins.logoutCognos");
dojo.require("dojo.cookie");
dojo.require("lconn.core.auth");
dojo.require("lconn.core.url");
dojo.require("lconn.core.config.services");
dojo.require("lconn.metrics.util.iframe");
(function(){
var _1=dojo.getObject("lconn.core.config.services.cognos");
function _2(){
if(dojo.cookie("accessCognos")=="true"){
var _3=lconn.core.url.getServiceUrl(_1);
var _4=lconn.metrics.util.iframe.send({url:_3+"/servlet/dispatch/ext?b_action=xts.run&m=portal/logoff.xts&h_CAM_action=logoff",timeout:3000});
dojo.cookie("accessCognos","false",{path:"/"});
return _4;
}
};
if(_1){
lconn.core.auth.addLogoutHandler(_2);
lconn.core.auth.addLoginHandler(_2);
}
})();
}


;if(!dojo._hasResource["com.ibm.lconn.socialmail.gadget.NavigationHandler"]){
dojo._hasResource["com.ibm.lconn.socialmail.gadget.NavigationHandler"]=true;
(function(){
dojo.provide("com.ibm.lconn.socialmail.gadget.NavigationHandler");
dojo.require("com.ibm.lconn.gadget.container.iContainer2");
dojo.require("lconn.core.config.services");
dojo.require("lconn.core.url");
dojo.require("lconn.core.header");
dojo.require("dojox.uuid");
dojo.require("dojox.uuid.generateRandomUuid");
var _1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,_c,_d,_e,_f={badge:false,inbox:false,calendar:false,document:false},_10={badge:[],inbox:[],calendar:[],document:[]},_11=1344334280125;
window.navHandlerVer=_11;
var _12=400;
var _13=dojox.uuid.generateRandomUuid();
var _14={badge:"os-site-mail-notify"+_13,inbox:"os-site-mail-hover"+_13,calendar:"os-site-calendar-hover"+_13,message:"os-site-mail-hover-preview-messages"+_13,messageEE:"os-site-mail-hover-preview-messages-ee"+_13};
function _15(cc,_16){
return cc.getSiteById(_14[_16]);
};
function _17(_18,_19){
_10[_18].push(_19);
_1a(_18);
};
function _1a(_1b){
if(!_f[_1b]){
return;
}
for(var _1c=null;_1c=_10[_1b].shift();){
_1c();
}
};
function _1d(cc,_1e){
if(_1e.dataObject=="inbox"||_1e.dataObject=="calendar"){
var _1f=_15(cc,_1e.dataObject);
_17("badge",function(){
_1f.rpcCall("com.ibm.socpim.rpc.bootstrap","","badge");
});
}
};
function _20(cc,_21){
_f[_21.dataObject]=true;
_1a(_21.dataObject);
};
function _22(_23,_24,_25,_26){
if(!_23||!_d||!_d[_25]){
return;
}
_23._currentHeight=_24;
var _27=dojo.byId(_d[_25]),_28=dojo.byId(_23.bindto);
if(!_27||!_28){
return;
}
_27.style.height=_28.style.height=_24+"px";
_23.domNode.style.height=(typeof _26!="undefined"?Math.max(_24,_26):_24)+"px";
};
function _29(cc,_2a,_2b,_2c,_2d){
if(!_2a||!_b||!_b[_2b]||typeof _2a._offsetTop=="undefined"){
return;
}
cc.getSiteById(_2c).rpcCall("com.ibm.socpim.rpc","",{type:_2d,dataObject:{top:_2a._offsetTop}});
};
function _2e(cc,_2f,_30,_31,_32){
if(!_2f||!_b||!_b[_30]||typeof _2f._borderWidth=="undefined"){
return;
}
cc.getSiteById(_31).rpcCall("com.ibm.socpim.rpc","",{type:_32,dataObject:{b:_2f._borderWidth}});
};
var _33=function(rel,_34,_35,_36,_37){
var _38=this;
if(_35=="container/mail/preview/ee"&&_37.getId()==_14.message){
var _39=dojo.byId(_37.getId()),_3a=_39.parentElement,_3b=dojo.byId(_14.messageEE);
var _3c=_38.getSiteById(_14.messageEE);
if(_3c){
_38.closeGadget(_3c);
}
dojo.query(".cm-preview-site-container").addClass("ee-showing");
var _3d=dojo.coords(_39)["h"];
_3b.style.paddingTop=_3d+"px";
if(dojo.hasClass(dojo.body().parentNode,"dj_ie7")){
var h=Math.abs(dojo.style(_3a,"height")-_3d)+"px";
dojo.style(_3b,"height",h);
}
return _3b;
}
};
var _3e=function(_3f){
var _40=this,id=_3f.getId(),_41=dojo.byId(_14.messageEE);
if(id==_14.message){
var _42=_40.getSiteById(_14.messageEE);
if(_42){
_40.closeGadget(_42);
}
}else{
if(id==_14.messageEE){
dojo.query(".cm-preview-site-container").removeClass("ee-showing");
}
}
_40.closeGadget(_3f);
};
var _43=function(_44){
var _45=_44.domNode.getElementsByTagName("iframe")[0];
var _46=_45.contentWindow.document.getElementById("warningMsgDropdown");
if(_46){
dojo.removeAttr(_46,"role");
var _47=_46.innerHTML;
dojo.empty(_46);
dojo.html.set(_46,_47);
dojo.attr(_46,"role","alert");
}
};
var _48=function(_49){
if(_49&&_49[0]==="mouseover"){
_e=dijit.getFocus().node;
}
};
var _4a=function(){
if(_e){
dijit.focus(_e);
}
_e=undefined;
};
var _4b=function(){
dojo.attr(dojo.byId("lotusBannerMail"),"external-content",_14.inbox);
dojo.attr(dojo.byId("lotusBannerCalendar"),"external-content",_14.calendar);
dojo.attr(dojo.query(".os-site-mail-notify")[0],"id",_14.badge);
};
dojo.declare("com.ibm.lconn.socialmail.gadget.NavigationHandler",null,{constructor:function(){
if(!_2){
if(dojo.config.isDebug){
console.log("Initializing container");
}
_4b();
_8=com.ibm.lconn.gadget.container.iContainer2;
_8.init();
_2=_8.getCommonContainer();
lconn.core.auth.addLoginHandler(this.clearCache);
lconn.core.auth.addLogoutHandler(this.clearCache);
_8.views.registerCreateElementForEEHandler("container/mail/preview/ee",_33,_3e);
var _4c=null,_4d=null,_4e=this;
_b={inbox:false,calendar:false,badgeNotified:false};
_c=(location.search.match(/[&\?]debugRpc=([^&]*)/i)||[])[1] in {"true":1,1:1};
_d={inbox:null,calendar:null};
if(lconn.core.config.services.connectionsmail){
_4c=lconn.core.config.services.connectionsmail;
_4d=lconn.core.url.getServiceUrl(_4c);
if(_4d){
_4d=_4d.toString();
}
if(_4d.search(/inbox\.xml/)==-1){
_4d=_4d+"/gadgets/inbox.xml";
}
_1=_4d;
}
_2.then(function(cc){
osapi.container.GadgetHolder.prototype.createIframeAttributeMap=function(url,_4f){
if(this.el_.id==_14.messageEE){
_4f=_4f||{};
_4f["scrolling"]="auto";
}
return osapi.container.SiteHolder.prototype.createIframeAttributeMap.call(this,url,_4f);
};
cc.preloadGadget(_1,function(){
if(_8&&_8.ICactions){
_8.ICactions.registerNavigateGadgetHandler(dojo.hitch(_4e,_4e.navigateGadgetHandler,_1));
}else{
cc.actions.registerNavigateGadgetHandler(dojo.hitch(_4e,_4e.navigateGadgetHandler,_1));
}
var _50={};
var _51=osapi.container.RenderParam;
_50[_51.WIDTH]="15px";
_50[_51.HEIGHT]=dojo.hasClass(dojo.body().parentNode,"dj_ie")?"0px":"15px";
var _52={gadgetId:_14.badge,dynamicSiteIdSuffix:_13};
if(!_9){
_9=cc.newGadgetSite(dojo.byId(_14.badge));
}
cc.navigateGadget(_9,_1,_52,_50);
var _53=dojo.doc.createElement("div");
dojo.attr(_53,"id","os-site-mail-preload");
dojo.place(_53,dojo.body());
_4=_8.loadWidget({definitionUrl:_1,placement:_53,componentType:"gadget"});
dojo.destroy(_53);
var _54=_9&&_9.el_.firstChild;
if(_54){
_54.setAttribute("title","Unread messages");
_54.setAttribute("tabindex","-1");
_54.setAttribute("role","presentation");
}
});
cc.actions.addListener(dojo.hitch(_4e,_4e.onMessageOpen),"com.ibm.socpim.openDocument");
cc.actions.addListener(dojo.hitch(_4e,_4e.onMessageCompose),"com.ibm.socpim.mail.messageCompose");
cc.actions.addListener(dojo.hitch(_4e,_4e.onMessageClose),"com.ibm.socpim.closeDocument.sm");
cc.rpcRegister("com.ibm.socpim.rpc",function(_55,_56){
_c&&window.console&&console.log("com.ibm.socpim.rpc received: "+_56.type+": "+(typeof _56.dataObject=="object"&&(window.JSON||{}).stringify?JSON.stringify(_56.dataObject):_56.dataObject));
var _57={"com.ibm.socpim.bootstrap.beingloaded":_1d,"com.ibm.socpim.bootstrap.loaded":_20}[_56.type];
if(_57){
_57(cc,_56);
}
if(_56.type=="com.ibm.socpim.bootstrap.loaded"){
var _58={inbox:_3,calendar:_5,document:_6,badge:_9}[_56.dataObject];
var _59=dojo.byId(_58.progressId);
if(_59){
dojo.addClass(_59,"dijitDisplayNone");
}
var _5a=_58&&_58.containerNode&&_58.containerNode.getElementsByTagName("iframe")[0];
if(_5a){
_5a.style.visibility="";
}
if(_56.dataObject=="inbox"){
_b.inbox=true;
}else{
if(_56.dataObject=="calendar"){
_b.calendar=true;
}
}
var win=dojo.doc.parentWindow||dojo.doc.defaultView;
_2.then(function(cc){
if(_56.dataObject=="inbox"||_56.dataObject=="calendar"){
var _5b=(_56.dataObject=="inbox")?_14.inbox:_14.calendar;
cc.getSiteById(_5b).rpcCall("com.ibm.socpim.rpc","",{type:"com.ibm.socpim.windowgeom",dataObject:{w:dojo.doc.documentElement.clientWidth||dojo.body().clientWidth||win.innerWidth,h:dojo.doc.documentElement.clientHeight||dojo.body().clientHeight||win.innerHeight}});
dojo.connect(win,"onresize",dojo.hitch(this,function(){
cc.getSiteById(_5b).rpcCall("com.ibm.socpim.rpc","",{type:"com.ibm.socpim.windowgeom",dataObject:{w:dojo.doc.documentElement.clientWidth||dojo.body().clientWidth||win.innerWidth,h:dojo.doc.documentElement.clientHeight||dojo.body().clientHeight||win.innerHeight}});
}));
}
});
if(_3){
_29(cc,_3,"inbox",_14.inbox,"com.ibm.socpim.mailoffsetpos");
_2e(cc,_3,"inbox",_14.inbox,"com.ibm.socpim.mailborderextents");
}
if(_5){
_29(cc,_5,"calendar",_14.calendar,"com.ibm.socpim.calendaroffsetpos");
_2e(cc,_5,"calendar",_14.calendar,"com.ibm.socpim.calendarborderextents");
}
}else{
if(_56.type=="com.ibm.socpim.calendar.datepicker.visibility"){
_5._datepick=_56.dataObject=="visible";
if(_5._currentHeight){
_5.domNode.style.height=Math.max(_56.dataObject=="visible"?_12:0,_5._currentHeight)+"px";
}
}else{
if(_56.type=="com.ibm.socpim.calendarview.height"){
_22(_5,_56.dataObject,"calendar",_5._datepick?_12:0);
}else{
if(_56.type=="com.ibm.socpim.messagelist.height"){
if(_c){
console.log("_lconn_menuid: "+_d.inbox);
}
_22(_3,_56.dataObject,"inbox");
}else{
if(_56.type=="com.ibm.socpim.MailDropDown"){
if(_56.dataObject=="hidden"&&_b.inbox){
_3.onClose(true);
}
}else{
if(_56.type=="com.ibm.socpim.CalendarDropDown"){
if(_56.dataObject=="hidden"&&_b.calendar){
_5.onClose(true);
}
}else{
if(_56.type=="com.ibm.socpim.a11y.dialog"){
if(!!_56.dataObject){
if(_56.dataObject["name"]=="pageTitle"){
var _5c=_56.dataObject["value"];
dojo.attr(_a.domNode,"title",_5c);
dojo.attr(_a.domNode,"aria-label",_5c);
dojo.attr(_6.domNode,"title",_5c);
dojo.attr(_6.domNode,"aria-label",_5c);
var _5a=_a.containerNode.getElementsByTagName("iframe")[0];
dojo.attr(_5a,"title",_5c);
}
}
}
}
}
}
}
}
}
});
});
if(!!dijit._frames&&!!dijit._frames.pop){
var _5d=dijit._frames.pop;
var _5e=function(){
var _5f=_5d();
if(!dojo.hasAttr(_5f,"role")){
dojo.attr(_5f,"role","presentation");
}
return _5f;
};
dijit._frames.pop=_5e;
}
}
},clearCache:function(){
var _60=new dojo.Deferred();
var _61=dojo.hitch(_60,"callback");
var _62=5000;
_2.then(dojo.hitch(this,function(cc){
var _63=[];
var _64="com.ibm.socpim.rpc.cleanup";
var _65=["badge","inbox","calendar","message"];
dojo.forEach(_65,function(_66,_67){
if(_67==0&&_9||_67==1&&_3||_67==2&&_5||_67==3&&_6){
var _68=new lconn.core.util.LCDeferred();
_63.push(_68);
var _69=_15(cc,_66);
_c&&console.log("calling "+_64+": "+_66);
_69.rpcCall(_64,dojo.hitch(_68,"resolve"),_69);
}
});
new lconn.core.util.LCDeferredList(_63).then(_61,_61);
}),_61);
setTimeout(_61,_62);
return _60;
},onMessageOpen:function(id,_6a){
if(_7=="mail"){
_3.onClose();
}else{
_5.onClose();
}
_a.closeConfirmed=false;
_a.show();
},onMessageClose:function(id,_6b){
_a.closeConfirmed=true;
_a.hide();
},onMessageCompose:function(id,_6c){
_3.onClose();
_a.closeConfirmed=false;
_a.show();
},navigateGadgetHandler:function(_6d,_6e,_6f){
if(_6d===_6e){
if(!dojo.hasClass(dojo.body(),"lotusui30dojo")){
dojo.addClass(dojo.body(),"lotusui30dojo");
}
var _70=osapi.container.actions.OptParam;
var _71=_6f[_70.VIEW];
var _72=_6f[_70.VIEW_TARGET];
if(_72=="container/mail/preview"){
if(_7=="mail"){
_3.onClose();
}else{
_5.onClose();
}
this.navigateOpenMessage(_6e,_71);
}
}
},navigateInbox:function(_73,eve){
if(!_9){
return;
}
if(!_3){
_d.inbox=dojo.attr(_73,"_lconn_menuid");
_2.then(dojo.hitch(this,function(cc){
_3=new dijit.layout.ContentPane({id:_14.inbox,bindto:"os-site-mail-hover-loading","class":"os-site-mail-hover",hide:function(){
dojo.style(this.domNode,{visibility:"hidden",zIndex:-1});
var _74={type:"com.ibm.socpim.MailDropDown",dataObject:"hidden"};
if(_c){
console.log("com.ibm.socpim.rpc sending "+_74.type+":"+_74.dataObject+" to os-site-mail-notify");
}
cc.getSiteById(_14.badge).rpcCall("com.ibm.socpim.rpc","",_74);
var _75=function(){
if(!_b.inbox){
setTimeout(_75,10);
}else{
if(_c){
console.log("com.ibm.socpim.rpc sending "+_74.type+":"+_74.dataObject+" to os-site-mail-hover");
}
cc.getSiteById(_14.inbox).rpcCall("com.ibm.socpim.rpc","",_74);
}
};
_75();
_4a();
},show:function(){
_48(arguments[0]);
dojo.style(this.domNode,{visibility:"visible",zIndex:2000});
if(typeof _3._currentHeight!="undefined"){
_22(_3,_3._currentHeight,"inbox");
}
if(typeof _3._offsetTop=="undefined"){
_3._offsetTop=_3.domNode.offsetTop;
_29(cc,_3,"inbox",_14.inbox,"com.ibm.socpim.mailoffsetpos");
}
if(typeof _3._borderWidth=="undefined"){
var _76=dojo.byId(_d.inbox);
if(_76){
_3._borderWidth=(dojo.marginBox(_76).h-dojo.contentBox(_76).h)/2;
_2e(cc,_3,"inbox",_14.inbox,"com.ibm.socpim.mailborderextents");
}
}
var _77={type:"com.ibm.socpim.MailDropDown",dataObject:"visible"};
if(_c){
console.log("com.ibm.socpim.rpc sending "+_77.type+":"+_77.dataObject+" to os-site-mail-notify");
}
cc.getSiteById(_14.badge).rpcCall("com.ibm.socpim.rpc","",_77);
var _78=function(){
if(!_b.inbox){
setTimeout(_78,10);
}else{
if(_c){
console.log("com.ibm.socpim.rpc sending "+_77.type+":"+_77.dataObject+" to os-site-mail-hover");
}
cc.getSiteById(_14.inbox).rpcCall("com.ibm.socpim.rpc","",_77);
if(!_b.badgeNotified){
if(_c){
console.log("com.ibm.socpim.rpc.bootstrap sending to os-site-mail-notify");
}
cc.getSiteById(_14.badge).rpcCall("com.ibm.socpim.rpc.bootstrap","",null);
_b.badgeNotified=true;
}
if(!_b.messagesNotified&&!!cc.getSiteById(_14.message)){
if(_c){
console.log("com.ibm.socpim.rpc.bootstrap sending to os-site-mail-hover-preview-messages");
}
cc.getSiteById(_14.message).rpcCall("com.ibm.socpim.rpc.bootstrap","",null);
_b.messagesNotified=true;
}
_43(_3);
}
};
_78();
}}).placeAt(dojo.body());
var _79={};
var _7a=osapi.container.RenderParam;
_79[_7a.WIDTH]="100%";
_79[_7a.HEIGHT]="100%";
_79[_7a.VIEW]="HoverView";
var _7b={gadgetId:_14.inbox,dynamicSiteIdSuffix:_13};
_3.site=cc.newGadgetSite(_3.domNode);
cc.navigateGadget(_3.site,_1,_7b,_79,function(){
});
var _7c=_3&&_3.containerNode.getElementsByTagName("iframe")[0];
if(_7c){
_7c.style.visibility="hidden";
}
})).then(dojo.hitch(this,function(){
if(eve=="onmouseover"){
lconn.core.header.menuMouseover(_73);
}else{
if(eve=="onclick"){
lconn.core.header.menuClick(_73);
}else{
if(eve=="onfocus"){
lconn.core.header.menuFocus(_73);
}
}
}
}));
}
_7="mail";
},navigateCalendar:function(_7d,eve){
if(!_9){
return;
}
if(!_5){
_d.calendar=dojo.attr(_7d,"_lconn_menuid");
_2.then(dojo.hitch(this,function(cc){
_5=new dijit.layout.ContentPane({id:_14.calendar,bindto:"os-site-calendar-hover-loading","class":"os-site-calendar-hover",hide:function(){
dojo.style(this.domNode,{visibility:"hidden",zIndex:-1});
var _7e={type:"com.ibm.socpim.CalendarDropDown",dataObject:"hidden"};
var _7f=function(){
if(!_b.calendar){
setTimeout(_7f,10);
}else{
if(_c){
console.log("com.ibm.socpim.rpc sending "+_7e.type+":"+_7e.dataObject+" to os-site-calendar-hover");
}
cc.getSiteById(_14.calendar).rpcCall("com.ibm.socpim.rpc","",_7e);
}
};
_7f();
var _80=window.frames[this.domNode.firstChild.id];
if(_80&&_80.document.getElementsByTagName("table")[0]){
_80.document.getElementsByTagName("table")[0].style.display="none";
}
_4a();
},show:function(){
_48(arguments[0]);
dojo.style(this.domNode,{visibility:"visible",zIndex:2000});
if(typeof _5._currentHeight!="undefined"){
_22(_5,_5._currentHeight,"calendar",_5._datepick?_12:0);
}
if(typeof _5._offsetTop=="undefined"){
_5._offsetTop=_5.domNode.offsetTop;
_29(cc,_5,"calendar",_14.calendar,"com.ibm.socpim.calendaroffsetpos");
}
if(typeof _5._borderWidth=="undefined"){
var _81=dojo.byId(_d.calendar);
if(_81){
_5._borderWidth=(dojo.marginBox(_81).h-dojo.contentBox(_81).h)/2;
_2e(cc,_5,"calendar",_14.calendar,"com.ibm.socpim.calendarborderextents");
}
}
var _82={type:"com.ibm.socpim.CalendarDropDown",dataObject:"visible"};
var _83=function(){
if(!_b.calendar){
setTimeout(_83,10);
}else{
if(_c){
console.log("com.ibm.socpim.rpc sending "+_82.type+":"+_82.dataObject+" to os-site-calendar-hover");
}
cc.getSiteById(_14.calendar).rpcCall("com.ibm.socpim.rpc","",_82);
_43(_5);
}
};
_83();
var _84=window.frames[this.domNode.firstChild.id];
if(_84&&_84.document.getElementsByTagName("table")[0]){
_84.document.getElementsByTagName("table")[0].style.display="table";
}
}}).placeAt(dojo.body());
var _85={};
var _86=osapi.container.RenderParam;
_85[_86.WIDTH]="100%";
_85[_86.HEIGHT]="100%";
_85[_86.VIEW]="CalendarHoverView";
var _87={gadgetId:_14.calendar,dynamicSiteIdSuffix:_13};
_5.site=cc.newGadgetSite(_5.domNode);
cc.navigateGadget(_5.site,_1,_87,_85,function(){
});
var _88=_5&&_5.containerNode.getElementsByTagName("iframe")[0];
if(_88){
_88.style.visibility="hidden";
_88.allowTransparency="true";
}
})).then(dojo.hitch(this,function(){
if(eve=="onmouseover"){
lconn.core.header.menuMouseover(_7d);
}else{
if(eve=="onclick"){
lconn.core.header.menuClick(_7d);
}else{
if(eve=="onfocus"){
lconn.core.header.menuFocus(_7d);
}
}
}
}));
}
_7="calendar";
},navigateOpenMessage:function(_89,_8a){
if(!_a){
dojo.require("dijit.Dialog");
if(!_6){
_6=new dijit.layout.ContentPane({content:"<div class=\"cm-preview-site-container\">"+"<div id=\""+_14.messageEE+"\" class=\"os-site os-site-mail-hover-preview-messages-ee\"></div>"+"<div id=\""+_14.message+"\" class=\"os-site os-site-mail-hover-preview-messages\"></div>"+"</div>"});
}
_a=new dijit.Dialog({content:_6,draggable:false});
dojo.addClass(_a.domNode,"mailMessageDialog");
_a.closeButtonNode&&_a.closeButtonNode.setAttribute("role","button");
var _8b=_a.hide;
_a.hide=function(){
if(!this.closeConfirmed){
_2.then(dojo.hitch(this,function(cc){
cc.actions.runAction("com.ibm.socpim.closeDocument");
}));
return;
}
_8b.apply(this,arguments);
};
var _8c=520,_8d=740;
_a._singleChild=true;
_a._size=function(){
if(this._singleChild){
if(this._singleChildOriginalStyle){
this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle;
}
delete this._singleChildOriginalStyle;
}else{
dojo.style(this.containerNode,{width:"auto",height:"auto"});
}
var bb=dojo.position(this.containerNode);
dojo.require("dijit.dijit");
var _8e=dijit.getViewport();
if(bb.w>=_8e.w||bb.h>=_8e.h){
var w=Math.min(bb.w,Math.floor(_8e.w*0.75)),h=Math.min(bb.h,Math.floor(_8e.h*0.75));
w=w<_8d?_8d:w;
h=h<_8c?_8c:h;
if(this._singleChild&&this._singleChild.resize){
this._singleChildOriginalStyle=this._singleChild.domNode.style.cssText;
this._singleChild.resize({w:w,h:h});
}else{
dojo.style(this.containerNode,{width:w+"px",height:h+"px",overflow:"auto",position:"relative"});
}
}else{
if(this._singleChild&&this._singleChild.resize){
this._singleChild.resize();
}
}
};
_a._position=function(){
if(!dojo.hasClass(dojo.body(),"dojoMove")){
var _8f=this.domNode;
dojo.require("dijit.dijit");
var _90=dijit.getViewport();
p=this._relativePosition,bb=p?null:dojo.position(_8f),l=Math.floor(_90.l+(p?p.x:(_90.w-bb.w)/2)),t=Math.floor(_90.t+(p?p.y:(_90.h-bb.h)/2));
l=l>0?l:5;
t=t>0?t:5;
if(t>_90.t){
dojo.style(_8f,{top:t+"px"});
}
if(l>_90.l){
dojo.style(_8f,{left:l+"px"});
}
}
};
_2.then(dojo.hitch(this,function(cc){
var _91={};
var _92=osapi.container.RenderParam;
_91[_92.WIDTH]="100%";
_91[_92.HEIGHT]="100%";
_91[_92.VIEW]=_8a;
var _93={gadgetId:_14.message,dynamicSiteIdSuffix:_13};
var _94=dojo.byId(_14.message);
_6.site=cc.newGadgetSite(_94);
cc.navigateGadget(_6.site,_89,_93,_91,function(){
});
var _95=_6&&_94&&_94.getElementsByTagName("iframe")[0];
if(_95){
_95.style.visibility="hidden";
if(!com.ibm.lconn.socialmail.gadget.NavigationHandler.loadingMessage||com.ibm.lconn.socialmail.gadget.NavigationHandler.loadingMessage==="undefined"){
com.ibm.lconn.socialmail.gadget.NavigationHandler.loadingMessage="";
}
dojo.place("<table id=\""+(_6.progressId="messageSiteProgress")+"\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td>&nbsp;</td><td>"+com.ibm.lconn.socialmail.gadget.NavigationHandler.loadingMessage+"</td><td>&nbsp;</td></tr></tbody></table>",_95,"before");
}
}));
dojo.removeAttr(_a.domNode,"aria-labelledby");
dojo.attr(_6.domNode,"role","dialog");
if(dojo.hasClass(dojo.body().parentNode,"dj_ie")){
dojo.style(_a.containerNode,{overflowY:"auto"});
}
_a.show();
if(dijit._underlay&&dijit._underlay.bgIframe&&dijit._underlay.bgIframe.iframe){
var _96=dijit._underlay.bgIframe.iframe;
_96.setAttribute("role","presentation");
_96.setAttribute("title","Background");
_96.contentWindow.document.write("<html><head><title>Background</title></head><body></body></html>");
}
if(_a.titleNode){
dojo.addClass(_a.titleNode,"dijitHidden");
}
}
}});
})();
}


;if(!dojo._hasResource["lconn.core.header.apps"]){
dojo._hasResource["lconn.core.header.apps"]=true;
dojo.provide("lconn.core.header.apps");
dojo.require("lconn.core.config.services");
dojo.require("lconn.core.url");
dojo.require("com.ibm.oneui.util.proxy");
lconn.core.header.apps={userRoleSvcUrl:com.ibm.oneui.util.proxy(lconn.core.url.getServiceUrl(lconn.core.config.services.webresources).toString())+"/web/user/roles?",appBanners:{"global-moderator":["lotusBannerModeration"],"metrics-report-run":["lotusBannerHeaderMetrics","lotusBannerFooterMetrics"],"admin":["lotusBannerHeaderMetrics","lotusBannerFooterMetrics"],"mail-user":["lotusBannerMail","lotusBannerCalendar"]},updateBannerByRoles:function(){
var _1=lconn.core.header.apps;
var _2=_1.appBanners;
var _3=[];
for(var _4 in _2){
if(!_1.updateBanner(_2[_4],dojo.cookie("ROLE_"+_4),_4)){
_3.push(_4);
}
}
if(_3.length>0){
dojo.xhrGet({url:_1.userRoleSvcUrl+dojo.objectToQuery({role:_3}),handleAs:"json",load:function(_5){
for(var _6 in _5){
_1.updateBanner(_2[_6],_5[_6],_6);
}
},timeout:10000});
}
},updateBanner:function(_7,_8,_9){
if((_8==false)||(_8=="false")){
return true;
}
if(!dojo.isArray(_7)){
_7=[_7];
}
var _a=dojo.map(_7,function(id){
return dojo.byId(id);
});
_a=dojo.filter(_a,function(_b){
return _b!=undefined;
});
if(_a.length>0&&_8==undefined){
return false;
}
if((_8==true)||(_8=="true")){
if(_9=="mail-user"&&lconn.core.config.services.connectionsmail){
dojo.require("com.ibm.lconn.socialmail.gadget.NavigationHandler");
new com.ibm.lconn.socialmail.gadget.NavigationHandler();
}
dojo.forEach(_a,function(_c){
_c.style.display="";
});
}
return true;
},updateUserNameMenu:function(){
var _d=dojo.byId("logoutLink");
var _e=dojo.byId("logoutContainer");
if(_d&&_e){
_e.appendChild(_d);
_d.style.display="block";
}
},onLogin:function(){
for(var _f in lconn.core.header.apps.appBanners){
dojo.cookie("ROLE_"+_f,null,{expires:-1,path:"/"});
}
},updateLoginRegion:function(){
dijit.setWaiRole(dojo.byId("logoutLabel"),"region");
dijit.removeWaiRole(dojo.byId("loginLabel"));
}};
dojo.addOnLoad(function(){
var _10=dojo.byId("headerUserName");
var _11=lconn.core.auth.isAuthenticated();
if(_10){
dojo.attr(_10,"onmenuloaded","lconn.core.header.apps.updateUserNameMenu");
}
if(!_11){
lconn.core.auth.addLoginHandler(lconn.core.header.apps.onLogin);
}
});
}


;if(!dojo._hasResource["lconn.core.bundle_common"]){
dojo._hasResource["lconn.core.bundle_common"]=true;
dojo.provide("lconn.core.bundle_common");
dojo.require("com.ibm.ajax.auth");
dojo.require("com.ibm.mm.livetext.serviceImpl");
dojo.require("com.ibm.oneui.util.openAround");
dojo.require("com.ibm.oneui.util.proxy");
dojo.require("dijit.CheckedMenuItem");
dojo.require("dijit.Dialog");
dojo.require("dijit.DialogUnderlay");
dojo.require("dijit.Menu");
dojo.require("dijit.MenuItem");
dojo.require("dijit.MenuSeparator");
dojo.require("dijit.PopupMenuItem");
dojo.require("dijit.Tooltip");
dojo.require("dijit.TooltipDialog");
dojo.require("dijit.form.Button");
dojo.require("dijit.form.CheckBox");
dojo.require("dijit.form.ComboBox");
dojo.require("dijit.form.TextBox");
dojo.require("dijit.form.ValidationTextBox");
dojo.require("dijit.layout.ContentPane");
dojo.require("dojo.AdapterRegistry");
dojo.require("dojo.cache");
dojo.require("dojo.cldr.supplemental");
dojo.require("dojo.cookie");
dojo.require("dojo.data.util.filter");
dojo.require("dojo.data.util.simpleFetch");
dojo.require("dojo.data.util.sorter");
dojo.require("dojo.date");
dojo.require("dojo.date.locale");
dojo.require("dojo.date.stamp");
dojo.require("dojo.dnd.Moveable");
dojo.require("dojo.dnd.Mover");
dojo.require("dojo.dnd.TimedMoveable");
dojo.require("dojo.dnd.autoscroll");
dojo.require("dojo.dnd.common");
dojo.require("dojo.dnd.move");
dojo.require("dojo.fx");
dojo.require("dojo.fx.Toggler");
dojo.require("dojo.html");
dojo.require("dojo.i18n");
dojo.require("dojo.io.iframe");
dojo.require("dojo.parser");
dojo.require("dojo.regexp");
dojo.require("dojo.string");
dojo.require("lconn.core.util.dojoPatches");
dojo.require("lconn.core.a11y");
dojo.require("lconn.core.CommonTags.CommonTagsTypeAhead");
dojo.require("lconn.core.LanguageSelector");
dojo.require("lconn.core.MenuUtility");
dojo.require("lconn.core.Res");
dojo.require("lconn.core.TypeAhead");
dojo.require("lconn.core.TypeAheadDataStore");
dojo.require("lconn.core.header");
dojo.require("lconn.core.header.apps");
dojo.require("lconn.core.i18nOverrider");
dojo.require("lconn.core.url");
dojo.require("lconn.core.utilities");
dojo.require("lconn.core.widget.MenuLauncher");
dojo.require("lconn.core.xpath");
dojo.require("lconn.core.auth");
dojo.require("dojo.number");
dojo.require("net.jazz.ajax.xdloader");
dojo.require("lconn.core.CommonTags.AjaxCall");
dojo.require("lconn.core.CommonTags.FeedConverter");
dojo.require("lconn.core.CommonTags.TagWidget");
dojo.require("lconn.core.HTMLUtil");
dojo.require("lconn.core.HelpLauncher");
dojo.require("lconn.core.aria.Toolbar");
dojo.require("com.ibm.oneui.ckeditor.editor.dojoconfig");
dojo.require("lconn.core.DateUtil");
dojo.require("lconn.core.NameUtil");
dojo.require("lconn.core.PeopleDataStore");
dojo.require("lconn.core.PeopleTypeAhead");
dojo.require("lconn.core.SearchBar");
dojo.require("lconn.core.TextBox");
dojo.require("lconn.core.aria.TabPanel");
dojo.require("lconn.core.ckeditor");
dojo.require("lconn.communities.bizCard.bizCard");
dojo.require("lconn.core.people");
dojo.require("lconn.profiles.sametime.sametimeAwareness");
dojo.require("lconn.profiles.sametime.sametimeProxyAwareness");
dojo.require("com.ibm.lconn.layout.track");
}



window['_js_modules']=(window['_js_modules']||[]).concat(['lconn.core.bundle_common.js']);
