
try{(function(_1){
var _1=_1,_2=_1.document,_3=i$.hasClass,_4=i$.toQuery,_5=i$.fromPath,_6=i$.forEach,_7="edit",_8="info",_9="toolbar:open",_a="toolbar:close",_b="ibm.portal.toolbar.",_c=function(_d){
var _d=_e(_d),_f=_10(_d),uri=_f.uri,_11=_f.params||{},_12=_13(_d);
if(uri){
if(_14()&&!_15(_12)){
if(_d.editMode===true){
_16(uri,_11);
}else{
_17(uri,_11);
}
}else{
_18(uri,_11,_12);
}
}else{
if(_14()){
if(_15(_12)){
_19(_12);
}
}else{
_18(uri,_11,_12);
}
}
},_1a=function(_1b){
_1b.primaryTab=_1b.tab;
_1b.tab=null;
return _c(_1b);
},_1c=function(_1d){
_1d.secondaryTab=_1d.tab;
_1d.tab=null;
return _c(_1d);
},_1e=function(_1f){
var _20=_21();
if(_20){
_20.close(_1f);
}else{
_1f();
}
},_22=function(_23){
_1e(function(){
_24(_23);
});
},_24=function(_25){
var _26=_10(_25),uri=_26.uri,_27=_26.params||{};
if(_14()){
if(uri){
if(!_27.uri){
_27.uri=[];
}
_27.uri.push(_a);
}else{
uri=_a;
}
}
if(uri){
_28(_29(),uri,_27,function(url){
_2a().location.href=url;
});
}
},_14=function(){
var r=_21();
return r;
},_2b=function(_2c,_2d){
var uri=_2e(_2c,_2d);
if(_2c==_7&&_2d&&_14()){
_16(uri);
}else{
_17(uri);
}
},_2e=function(_2f,_30){
var uri=["pagemode:"];
uri.push(_2f);
uri.push(":");
_30?uri.push("on"):uri.push("off");
var r=uri.join("");
return r;
},_31=function(_32){
_2b(_7,_32);
},_33=function(){
var r=_34(_7);
return r;
},_35=function(_36){
_2b(_8,_36);
},_37=function(){
var r=_34(_8);
return r;
},_34=function(_38){
var win=_29(),_39=win.document.body,r=_3(_39,_38+"-mode");
return r;
},_3a=function(_3b,_3c){
var r=false;
if(_3c!==undefined){
r=_3c!==_34(_3b);
}
return r;
},_17=function(uri,_3d){
var win=_29();
_28(win,uri,_3d,function(url){
win.location.href=url;
});
},_16=function(uri,_3e){
if(_14()){
var _3f=_21();
_3f.load(_40(uri,_3e),"view",{"onload":function(){
_3f.restore();
}});
}else{
var win=_29();
_28(win,uri,_3e,function(url){
win.location.href=url;
});
}
},_41=function(_42){
_29().location.reload(_42);
},_10=function(_43){
var r={};
if(_43){
var uri=null,_44={},_45=_43.editMode,_46=_43.infoMode;
if(_3a(_7,_45)){
uri=_2e(_7,_45);
}
if(_3a(_8,_46)){
var _47=_2e(_8,_46);
if(uri){
_44.uri=[_47];
}else{
uri=_47;
}
}
if(uri){
r.uri=uri;
r.params=_44;
}
}
return r;
},_40=function(uri,_48){
var _49={"uri":uri};
if(_48){
_49.params=_48;
}
return _49;
},_e=function(_4a){
if(_14()){
_4a.autoOpenDefaultTabs=false;
}
return _4a;
},_19=function(_4b){
if(_4b&&_15(_4b)){
var _4c=_21();
if(_4c){
var p=_4b.primaryURI,_4d={},_4e=_4b.onCloseDialog;
if(_4e&&_4e.id){
_4d.onCloseDialog=function(_4f){
_50(_4f,_4e.id,_4e.key);
};
}
if(p){
_4c.load(_40(p),"primary",_4d);
}
var s=_4b.secondaryURI;
if(s){
_4c.load(_40(s),"secondary",_4d);
}
}
}
},_50=function(_51,id,key){
var _52=_51,id=id,key=key||"onCloseDialog";
_53(function(w){
try{
var d=w.document;
if(d){
var n=d.getElementById(id);
if(n){
var f=n[key];
if(f){
f.call(n,_51);
}
}
}
}
catch(e){
}
});
},_18=function(uri,_54,_55){
if(uri){
if(!_54){
_54={};
}
if(!_54.uri){
_54.uri=[];
}
_54.uri.push(_9);
}else{
uri=_9;
}
if(_55&&_15(_55)){
if(!_54){
_54={};
}
var p=_55.primaryURI;
if(p){
_54.primaryTabURI=[p];
}
var s=_55.secondaryURI;
if(s){
_54.secondaryTabURI=[s];
}
}
_28(_29(),uri,_54,function(url){
_2a().location.href=url;
});
},_13=function(_56){
var r={};
if(_56){
if(_56.tab||_56.primaryTab||_56.secondaryTab){
var _57=_56.secondaryTab||_56.tab;
if(_57){
r.secondaryURI=_58(_57);
}
var _59=_56.primaryTab;
if(_59){
r.primaryURI=_58(_59);
}
}
r.onCloseDialog=_56.onCloseDialog;
var _5a=_56.autoOpenDefaultTabs;
if(_5a){
if(!r.primaryURI){
r.primaryURI="default";
}
if(!r.secondaryURI){
r.secondaryURI="default";
}
}
}
return r;
},_58=function(t){
if(t.indexOf(_b)==0||t.indexOf("Z6_")==0){
return "nm:oid:"+t;
}else{
return t;
}
},_15=function(_5b){
var r=_5b&&(_5b.primaryURI||_5b.secondaryURI);
return r;
},_28=function(win,uri,_5c,cb){
_5d(win).then(function(url){
var _5e=url,buf=[];
buf.push(_5e);
if(_5e.indexOf("?")<0){
buf.push("?");
}else{
buf.push("&");
}
buf.push("uri=");
buf.push(uri);
if(_5c){
buf.push("&");
buf.push(_4(_5c));
}
var r=buf.join("");
cb(r);
});
},_5d=function(win){
var r=wpModules.theme.WindowUtils.findBaseURL(win);
return r;
},_5f=function(win){
var r=wpModules.theme.WindowUtils.getBaseURL(win);
return r;
},_29=function(){
var wu=wpModules.theme.WindowUtils,r=(wu&&wu.getWindow(wu.VIEW_AREA))||_1;
return r;
},_53=function(cb){
var _60=_2a(),_61=_60.frames;
cb.call(this,_60);
if(_61&&_61.length>0){
_6(_61,function(f){
cb.call(this,f.window);
});
}
},_2a=function(){
var win=_29(),r=(win.parent||win);
return r;
},_21=function(){
var r=_5("wpModules.toolbar.NavigationController",false,_2a());
return r;
},_62=_5("wpModules.toolbar",true);
_62.openToolbar=_c;
_62.openPrimaryTab=_1a;
_62.openSecondaryTab=_1c;
_62.closeTab=_1e;
_62.closeToolbar=_22;
_62.isToolbarOpened=_14;
_62.setEditModeActive=_31;
_62.isEditModeActive=_33;
_62.setInfoModeActive=_35;
_62.isInfoModeActive=_37;
_62.loadViewArea=_17;
_62.reloadViewArea=_41;
_62.getViewAreaWindow=_29;
_62.getToolbarMasterWindow=_2a;
_62.getBaseURL=_5f;
})(window);


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


}catch(e){console.log("Module 'wp_toolbar_menuactions': ",e);}
try{(function(){
    i$.merge({
	"move_page_dialog_title":"نقل الصفحة '{0}' الى...",
	"edit_wiring_dialog_title":"ادارة نقاط نهاية الاتصالات الى '{0}'",
	"confirm_delete_page_anonymous":"هل أنت متأكد من أنك تريد حذف هذه الصفحة وكل الفروع الخاصة بها؟",
	"delete_control_dialog_title":"حذف مكون واجهة البوابة",
	"confirm_delete_page":"هل أنت متأكد من أنك تريد حذف الصفحة '{0}' وكل الصفحات الفرعية الخاصة بها؟",
	"confirm_delete_control_anonymous":"هل تريد ازالة مكون واجهة البوابة هذا من الصفحة؟",
	"page_properties_dialog_title":"ادارة خصائص الصفحة",
	"delete_page_dialog_title":"حذف صفحة",
	"edit_wiring_dialog_title_anonymous":"ادارة نقاط نهاية الاتصالات",
	"preview_as_user_dialog_title":"معاينة كمستخدم",
	"confirm_delete_control":"هل تريد ازالة مكون واجهة البوابة'{0}' من الصفحة؟"
},i$.fromPath("wpModules.toolbar.menuActions.nls",true));
})();
}catch(e){console.log("Module 'wp_toolbar_menuactions': ",e);}
try{setTimeout(function(){	
// create a test node off the browser screen to calculate high contrast mode
var testNode = document.createElement("div");
testNode.className = "highContrastTestNode";
document.body.appendChild(testNode);
// look at the computed style for the test node
var styles = null;
try {
	styles = document.defaultView.getComputedStyle(testNode, "");
} catch(e) {
	styles = testNode.currentStyle;
}
if(styles) {
	var testImg = styles.backgroundImage;
	if ((styles.borderTopColor == styles.borderRightColor) || (testImg != null && (testImg == "none" || testImg == "url(invalid-url:)" ))) {
		document.getElementsByTagName("body")[0].className+=" lotusImagesOff";
	}
	document.body.removeChild(testNode);
}
}, 500);

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


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


}catch(e){console.log("Module 'wp_simple_contextmenu_ext': ",e);}
try{(function(_1){
var _2="aria-labelledby",_3="aria-describedby",_4="aria-pressed",_5="title",_6="true",_7="false",_8="selected",_9="disabled",_a="show-text",_b="hide-text",_c="disableClick",_d="remove",_e="off-label",_f="on-label",_10="wpToolbarHighContrast",_11="http://www.ibm.com/xmlns/prod/websphere/portal/publicparams",_12="wpPageModeToggleIdContainer",_13="wpInfoModeToggle",_14="wpInfoModeToggleLink",_15="wpPageModeToggle",_16="wptoogleInput",_17="wpPageModeToggleLink",_18="wpPageIsPractitioner",_19="wpPageModeToggleIdContainer",_1a="wpToolbarToggle",_1b="ibm.portal.home.createpage",_1c="wpEditTooltip",_1d="ibm.portal.toolbar.NewPage",_1e="wps.content.root",_1f="wps.Administration",_20="ibm.portal.page.Applications",_21="hcl.portal.practitionerstudio",_22="hcl.portal.helplinks",_23="wpHelpContainerID",_24="wpHelpCenterDialogContent-root",_25="wpHelpCenterDialog",_26=[13,32,38,40],_27=[13,32],T=true,F=false,_28=i$.byId,_29=i$.hasClass,_2a=i$.addClass,_2b=i$.removeClass,_2c=i$.forEach,_2d=i$.toQuery,_2e=i$.fromPath,_2f=i$.bindDomEvt;
function _30(_31,_32){
var _33=_31||_28(_15),_34="valueoff",_35="valueon",_36=_28(_16),_37=_28(_e),_38=_28(_f),_39=document.getElementById("wpViewModeDesc").textContent,_3a=document.getElementById("wpEditModeDesc").textContent,_3b=document.getElementById(_1c);
if(_32){
if(!_29(_33,_35)){
_2b(_33,_34);
_2a(_33,_35);
_2b(_37,_a);
_2b(_38,_b);
_2a(_37,_b);
_2a(_38,_a);
_3b.innerHTML=_3a;
_3c(_33,_4,_6);
_36.setAttribute("checked",true);
}
}else{
if(_29(_33,_35)){
_2b(_33,_35);
_2a(_33,_34);
_2b(_37,_b);
_2b(_38,_a);
_2a(_37,_a);
_2a(_38,_b);
_3b.innerHTML=_39;
_3c(_33,_4,_7);
_36.removeAttribute("checked");
}
}
};
function _3d(_3e,_3f){
var _40=_3e||_28(_13),_41=_28(_14);
if(_3f){
if(!_29(_40,_8)){
_2a(_40,_8);
_3c(_41,_2,"wpInfoModeOnLabel");
_3c(_41,_3,"wpInfoModeOnDesc");
_3c(_41,_4,_6);
_3c(_40,_5,_42(_43(_28("wpInfoModeOnDesc"))));
}
}else{
if(_29(_40,_8)){
_2b(_40,_8);
_3c(_41,_2,"wpInfoModeOffLabel");
_3c(_41,_3,"wpInfoModeOffDesc");
_3c(_41,_4,_7);
_3c(_40,_5,_42(_43(_28("wpInfoModeOffDesc"))));
}
}
};
function _44(_45,e){
if(!_46(e,_27)){
return F;
}
_2a(_45,_8);
var _47=wpModules.toolbar;
if(_47.isToolbarOpened()){
_47.closeToolbar();
}else{
_47.openToolbar({"autoOpenDefaultTabs":true});
}
return T;
};
function _48(_49,_4a,e){
var _4b=_28(_16),_4c=_28(_e),_4d=_28(_f);
if(!_46(e,_27)){
return F;
}
if(!_29(_49,_9)){
var t=wpModules.toolbar,_4e=t.isEditModeActive();
if(_4e){
_2b(_4c,_a);
_2b(_4d,_b);
_2a(_4c,_b);
_2a(_4d,_a);
_4b.setAttribute("checked",true);
t.setEditModeActive(F);
}else{
_2b(_4c,_b);
_2b(_4d,_a);
_2a(_4c,_a);
_2a(_4d,_b);
_4b.removeAttribute("checked");
if(_4a&&_4f()){
var _50={"editMode":T};
if(!t.isToolbarOpened()){
_50.autoOpenDefaultTabs=true;
}
t.openToolbar(_50);
}else{
t.setEditModeActive(T);
}
}
_30(_49,!_4e);
}
return T;
};
function _51(_52,e){
if(!_46(e,_27)){
return F;
}
var t=wpModules.toolbar,_53=t.isInfoModeActive();
_3d(_52,!_53);
t.setInfoModeActive(!_53);
return T;
};
function _54(){
return _55().then(function(_56){
var _57=_56;
if(_57.length!=0&&wpModules.toolbar.isInfoModeActive()){
return T;
}else{
return F;
}
});
};
function _58(){
return _55().then(function(_59){
var _5a=_59;
if(_5a.length!=0&&!wpModules.toolbar.isInfoModeActive()){
return T;
}else{
return F;
}
});
};
function _55(){
return new Promise(function(_5b){
var _5c=ibmCfg.portalConfig.contentHandlerURI+((ibmCfg.portalConfig.contentHandlerURI.indexOf("?")<0)?"?":"&")+"uri=menu:navigationMenu";
var _5d={navID:_7f(),rootNode:_21};
if(_5d){
_5c+=(_5c.indexOf("?")==-1?"?":"&")+i$.toQuery(_5d);
}
i$.xhrGet({url:_5c,headers:{"X-IBM-XHR":"true"},responseType:"json"}).then(function(_5e){
_5b(_5e.data);
});
});
};
function _5f(){
var t=wpModules.toolbar;
t.setInfoModeActive(F);
};
function _60(){
var t=wpModules.toolbar;
t.setInfoModeActive(T);
};
function _61(_62,e){
var _63=_28(_23);
var _64=document.getElementById(_24);
var k=e.keyCode;
if(k&&k!==13&&k!==32&&k!==38&&k!==40&&k!==27){
return F;
}
_3c(_63,"style","display: none");
_64.innerHTML="";
};
function _65(_66,e,_67){
var _68=_28(_23);
var _69=document.getElementById(_24);
var _6a=document.getElementById(_25);
var k=e.keyCode;
if(k&&k!==13&&k!==32&&k!==38&&k!==40){
return F;
}
_3c(_68,"style","display: block");
_69.insertAdjacentHTML("beforeend","<iframe src=\""+_67+"\" class=\"wpHelpIFrame\" frameBorder=\"0\" tabindex=\"-1\"></iframe>");
_6a.onclick=function(e){
if(e.target==_6a){
_61(_66,e);
}
};
document.onkeyup=function(e){
if(e.keyCode===27){
_61(_66,e);
}
};
return T;
};
function _6b(_6c,e){
var _6d=F;
if(_6e()){
_6d=_6f(_6c,_1e,e);
}else{
_70(_1e);
_6d=T;
}
return _6d;
};
function _71(_72,e){
var _73=F;
if(_6e()){
_73=_6f(_72,_20,e);
}else{
_70(_20);
_73=T;
}
return _73;
};
function _74(_75,e){
var _76=F;
if(_6e()){
_76=_77(_75,_21,_22,e);
}else{
_70(_21);
_76=T;
}
return _76;
};
function _78(_79,e){
var _7a=T;
_70(_1f);
return _7a;
};
function _6e(){
var _7b=(typeof wptheme!="undefined"&&wptheme.contextMenu);
return _7b;
};
function _6f(_7c,_7d,e){
if(!_46(e,_26)){
return F;
}
var _7e={"navID":_7f(),"rootNode":_7d};
var _80=wpModules.toolbar;
if(_80&&_80.isToolbarOpened()){
_7e.contribURI="nm:oid:ibm.portal.Toolbar";
}
_81(_7c,"navigationMenu",_7e);
return T;
};
function _77(_82,_83,_84,e){
if(!_46(e,_26)){
return F;
}
var _85={"navID":_7f(),"rootNode":_83,"secondaryRootNode":_84};
var _86=wpModules.toolbar;
if(_86&&_86.isToolbarOpened()){
_85.contribURI="nm:oid:ibm.portal.Toolbar";
}
_81(_82,"navigationMenu",_85);
return T;
};
function _81(_87,_88,_89){
_2a(_87.parentNode,_8);
_3c(_87,_4,_6);
args={"node":_87.parentNode,"menuId":_88,"jsonQuery":_89,"params":{"templateId":"simpleMenuTemplate","alignment":"right","autoScroll":false},"onClose":function(){
_2b(_87.parentNode,_8);
_3c(_87,_4,_7);
}};
wptheme.contextMenu.init(args);
};
function _8a(){
return _28(_18).value;
};
function _3c(_8b,_8c,_8d){
_8b.setAttribute(_8c,_8d);
};
function _43(_8e){
return _8e.firstChild;
};
function _42(_8f){
return _8f.nodeValue;
};
function _90(_91){
var fc=_91.firstChild;
while(fc&&fc.nodeType!==1){
fc=fc.nextSibling;
}
return fc;
};
function _92(_93,_94,_95){
if(_95&&_93&&_94&&_94.length>0){
_2c(_94,function(p){
if(_93.name==p.name&&_93.nsuri==p.nsuri){
_95(p.value);
return F;
}
});
}
};
function _46(e,_96){
var k=e?e.keyCode:null;
if(k){
if(_96){
var r=_96.indexOf(k)>=0;
return r;
}else{
return F;
}
}
return T;
};
function _97(){
return wpModules.toolbar.getViewAreaWindow();
};
function _7f(){
var r=_97().ibmCfg.portalConfig.currentPageOID;
return r;
};
function _98(){
return _2e("ibmCfg.portalConfig.isCurrentPageEditable",false,_97());
};
function _4f(){
return _2e("wpModules.state.page.supportsToolbar",false,_97());
};
function _70(id){
wpModules.toolbar.loadViewArea("nm:oid:"+id);
};
function _99(_9a){
if(_9a&&_9a.pageId){
var id=_9a.pageId;
if(id&&id.value&&id.value.length>0){
_70(id.value[0]);
}
}
};
i$.addOnLoad(function(){
var _9b=i$.fromPath("wpModules.state.page",false);
if(_9b){
var _9c=_9b.getStateManager();
_9c.addListener(function(_9d){
var _9e=_9d.renderParams().getModified();
_92({"nsuri":_11,"name":"editMode"},_9e,function(_9f){
var res=(_9f&&_9f[0]=="true"),_a0=_28(_15);
if(_a0){
_30(_a0,res);
}
});
_92({"nsuri":_11,"name":"infoMode"},_9e,function(_a1){
var res=(_a1&&_a1[0]=="true"),_a2=_28(_13);
if(_a2){
_3d(_a2,res);
}
});
});
}
var _a3=wpModules.toolbar.getViewAreaWindow();
if(self===_a3){
var w=_a3.parent||_a3,_a4=w.document.getElementById(_15),_a5=_28(_19),_a6=w.document.getElementById(_1a),_a7=wpModules.toolbar.isEditModeActive(),_a8=w.document.getElementById(_1c),_a9=w.document.getElementById("wpEditModeDesc"),_aa=w.document.getElementById("wpViewModeDesc"),_ab=w.document.getElementById("wpEditModeDisable");
if(_a4){
if(_98()&&_ab){
_2b(_a4,_9);
_2b(_a4,_c);
_2b(_a5,_d);
if(_a7&&_a9){
_a8.innerHTML=_a9.textContent;
}else{
_a8.innerHTML=_aa.textContent;
}
}else{
_2a(_a4,_c);
_2a(_a4,_9);
_2a(_a5,_d);
_a8.innerHTML=_ab.innerText;
}
}
if(_a6){
if(_4f()){
_2b(_a6,_9);
}else{
_2a(_a6,_9);
}
}
}
var _ac=_28(_1b);
if(_ac){
var _ad=wpModules.toolbar;
_ac.onClose=_99;
if(_ad.isToolbarOpened()||_28(_15)){
var _ae={};
_ae.id=_1b;
_ae.key="onClose";
_2f(_ac,"click",function(e){
_ad.openToolbar({"primaryTab":"siteManagerTreeTab:context:oid:"+_7f()+":default:action:CREATE_CHILD_PAGE","onCloseDialog":_ae});
e.preventDefault?e.preventDefault():e.returnValue=F;
return F;
});
}
}
});
wpModules.a11y.highContrastMode.then(function(_af){
if(_af){
_2a(_28(_13),_10);
}
});
_1.toggleToolbar=_44;
_1.toggleEditMode=_48;
_1.toggleInfoMode=_51;
_1.openSitesMenu=_6b;
_1.openApplicationsMenu=_71;
_1.openAdministration=_78;
_1.openHelpArticle=_65;
_1.closeHelpArticle=_61;
_1.toggleInfoModeOff=_5f;
_1.toggleInfoModeOn=_60;
_1.isInfoModeActive=_54;
_1.isInfoModeInactive=_58;
_1.openPractitionersMenu=_74;
})(i$.fromPath("wpModules.theme.ActionBar",true));


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


}catch(e){console.log("Module 'wp_theme_high_contrast': ",e);}
try{/*! Copyright (c) 2011 Piotr Rochala (http://rocha.la)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 *
 * Version: 1.3.8
 *
 */
(function($) {

  $.fn.extend({
    slimScroll: function(options) {

      var defaults = {

        // width in pixels of the visible scroll area
        width : 'auto',

        // height in pixels of the visible scroll area
        height : '250px',

        // width in pixels of the scrollbar and rail
        size : '7px',

        // scrollbar color, accepts any hex/color value
        color: '#000',

        // scrollbar position - left/right
        position : 'right',

        // distance in pixels between the side edge and the scrollbar
        distance : '1px',

        // default scroll position on load - top / bottom / $('selector')
        start : 'top',

        // sets scrollbar opacity
        opacity : .4,

        // enables always-on mode for the scrollbar
        alwaysVisible : false,

        // check if we should hide the scrollbar when user is hovering over
        disableFadeOut : false,

        // sets visibility of the rail
        railVisible : false,

        // sets rail color
        railColor : '#333',

        // sets rail opacity
        railOpacity : .2,

        // whether  we should use jQuery UI Draggable to enable bar dragging
        railDraggable : true,

        // defautlt CSS class of the slimscroll rail
        railClass : 'slimScrollRail',

        // defautlt CSS class of the slimscroll bar
        barClass : 'slimScrollBar',

        // defautlt CSS class of the slimscroll wrapper
        wrapperClass : 'slimScrollDiv',

        // check if mousewheel should scroll the window if we reach top/bottom
        allowPageScroll : false,

        // scroll amount applied to each mouse wheel step
        wheelStep : 20,

        // scroll amount applied when user is using gestures
        touchScrollStep : 200,

        // sets border radius
        borderRadius: '7px',

        // sets border radius of the rail
        railBorderRadius : '7px'
      };

      var o = $.extend(defaults, options);

      // do it for every element that matches selector
      this.each(function(){

      var isOverPanel, isOverBar, isDragg, queueHide, touchDif,
        barHeight, percentScroll, lastScroll,
        divS = '<div></div>',
        minBarHeight = 30,
        releaseScroll = false;

        // used in event handlers and for better minification
        var me = $(this);

        // ensure we are not binding it again
        if (me.parent().hasClass(o.wrapperClass))
        {
            // start from last bar position
            var offset = me.scrollTop();

            // find bar and rail
            bar = me.siblings('.' + o.barClass);
            rail = me.siblings('.' + o.railClass);

            getBarHeight();

            // check if we should scroll existing instance
            if ($.isPlainObject(options))
            {
              // Pass height: auto to an existing slimscroll object to force a resize after contents have changed
              if ( 'height' in options && options.height == 'auto' ) {
                me.parent().css('height', 'auto');
                me.css('height', 'auto');
                var height = me.parent().parent().height();
                me.parent().css('height', height);
                me.css('height', height);
              } else if ('height' in options) {
                var h = options.height;
                me.parent().css('height', h);
                me.css('height', h);
              }

              if ('scrollTo' in options)
              {
                // jump to a static point
                offset = parseInt(o.scrollTo);
              }
              else if ('scrollBy' in options)
              {
                // jump by value pixels
                offset += parseInt(o.scrollBy);
              }
              else if ('destroy' in options)
              {
                // remove slimscroll elements
                bar.remove();
                rail.remove();
                me.unwrap();
                return;
              }

              // scroll content by the given offset
              scrollContent(offset, false, true);
            }

            return;
        }
        else if ($.isPlainObject(options))
        {
            if ('destroy' in options)
            {
            	return;
            }
        }

        // optionally set height to the parent's height
        o.height = (o.height == 'auto') ? me.parent().height() : o.height;

        // wrap content
        var wrapper = $(divS)
          .addClass(o.wrapperClass)
          .css({
            position: 'relative',
            overflow: 'hidden',
            width: o.width,
            height: o.height
          });

        // update style for the div
        me.css({
          overflow: 'hidden',
          width: o.width,
          height: o.height
        });

        // create scrollbar rail
        var rail = $(divS)
          .addClass(o.railClass)
          .css({
            width: o.size,
            height: '100%',
            position: 'absolute',
            top: 0,
            display: (o.alwaysVisible && o.railVisible) ? 'block' : 'none',
            'border-radius': o.railBorderRadius,
            background: o.railColor,
            opacity: o.railOpacity,
            zIndex: 90
          });

        // create scrollbar
        var bar = $(divS)
          .addClass(o.barClass)
          .css({
            background: o.color,
            width: o.size,
            position: 'absolute',
            top: 0,
            opacity: o.opacity,
            display: o.alwaysVisible ? 'block' : 'none',
            'border-radius' : o.borderRadius,
            BorderRadius: o.borderRadius,
            MozBorderRadius: o.borderRadius,
            WebkitBorderRadius: o.borderRadius,
            zIndex: 99
          });

        // set position
        var posCss = (o.position == 'right') ? { right: o.distance } : { left: o.distance };
        rail.css(posCss);
        bar.css(posCss);

        // wrap it
        me.wrap(wrapper);

        // append to parent div
        me.parent().append(bar);
        me.parent().append(rail);

        // make it draggable and no longer dependent on the jqueryUI
        if (o.railDraggable){
          bar.bind("mousedown", function(e) {
            var $doc = $(document);
            isDragg = true;
            t = parseFloat(bar.css('top'));
            pageY = e.pageY;

            $doc.bind("mousemove.slimscroll", function(e){
              currTop = t + e.pageY - pageY;
              bar.css('top', currTop);
              scrollContent(0, bar.position().top, false);// scroll content
            });

            $doc.bind("mouseup.slimscroll", function(e) {
              isDragg = false;hideBar();
              $doc.unbind('.slimscroll');
            });
            return false;
          }).bind("selectstart.slimscroll", function(e){
            e.stopPropagation();
            e.preventDefault();
            return false;
          });
        }

        // on rail over
        rail.hover(function(){
          showBar();
        }, function(){
          hideBar();
        });

        // on bar over
        bar.hover(function(){
          isOverBar = true;
        }, function(){
          isOverBar = false;
        });

        // show on parent mouseover
        me.hover(function(){
          isOverPanel = true;
          showBar();
          hideBar();
        }, function(){
          isOverPanel = false;
          hideBar();
        });

        // support for mobile
        me.bind('touchstart', function(e,b){
          if (e.originalEvent.touches.length)
          {
            // record where touch started
            touchDif = e.originalEvent.touches[0].pageY;
          }
        });

        me.bind('touchmove', function(e){
          // prevent scrolling the page if necessary
          if(!releaseScroll)
          {
  		      e.originalEvent.preventDefault();
		      }
          if (e.originalEvent.touches.length)
          {
            // see how far user swiped
            var diff = (touchDif - e.originalEvent.touches[0].pageY) / o.touchScrollStep;
            // scroll content
            scrollContent(diff, true);
            touchDif = e.originalEvent.touches[0].pageY;
          }
        });

        // set up initial height
        getBarHeight();

        // check start position
        if (o.start === 'bottom')
        {
          // scroll content to bottom
          bar.css({ top: me.outerHeight() - bar.outerHeight() });
          scrollContent(0, true);
        }
        else if (o.start !== 'top')
        {
          // assume jQuery selector
          scrollContent($(o.start).position().top, null, true);

          // make sure bar stays hidden
          if (!o.alwaysVisible) { bar.hide(); }
        }

        // attach scroll events
        attachWheel(this);

        function _onWheel(e)
        {
          // use mouse wheel only when mouse is over
          if (!isOverPanel) { return; }

          var e = e || window.event;

          var delta = 0;
          if (e.wheelDelta) { delta = -e.wheelDelta/120; }
          if (e.detail) { delta = e.detail / 3; }

          var target = e.target || e.srcTarget || e.srcElement;
          if ($(target).closest('.' + o.wrapperClass).is(me.parent())) {
            // scroll content
            scrollContent(delta, true);
          }

          // stop window scroll
          if (e.preventDefault && !releaseScroll) { e.preventDefault(); }
          if (!releaseScroll) { e.returnValue = false; }
        }

        function scrollContent(y, isWheel, isJump)
        {
          releaseScroll = false;
          var delta = y;
          var maxTop = me.outerHeight() - bar.outerHeight();

          if (isWheel)
          {
            // move bar with mouse wheel
            delta = parseInt(bar.css('top')) + y * parseInt(o.wheelStep) / 100 * bar.outerHeight();

            // move bar, make sure it doesn't go out
            delta = Math.min(Math.max(delta, 0), maxTop);

            // if scrolling down, make sure a fractional change to the
            // scroll position isn't rounded away when the scrollbar's CSS is set
            // this flooring of delta would happened automatically when
            // bar.css is set below, but we floor here for clarity
            delta = (y > 0) ? Math.ceil(delta) : Math.floor(delta);

            // scroll the scrollbar
            bar.css({ top: delta + 'px' });
          }

          // calculate actual scroll amount
          percentScroll = parseInt(bar.css('top')) / (me.outerHeight() - bar.outerHeight());
          delta = percentScroll * (me[0].scrollHeight - me.outerHeight());

          if (isJump)
          {
            delta = y;
            var offsetTop = delta / me[0].scrollHeight * me.outerHeight();
            offsetTop = Math.min(Math.max(offsetTop, 0), maxTop);
            bar.css({ top: offsetTop + 'px' });
          }

          // scroll content
          me.scrollTop(delta);

          // fire scrolling event
          me.trigger('slimscrolling', ~~delta);

          // ensure bar is visible
          showBar();

          // trigger hide when scroll is stopped
          hideBar();
        }

        function attachWheel(target)
        {
          if (window.addEventListener)
          {
            target.addEventListener('DOMMouseScroll', _onWheel, false );
            target.addEventListener('mousewheel', _onWheel, false );
          }
          else
          {
            document.attachEvent("onmousewheel", _onWheel)
          }
        }

        function getBarHeight()
        {
          // calculate scrollbar height and make sure it is not too small
          barHeight = Math.max((me.outerHeight() / me[0].scrollHeight) * me.outerHeight(), minBarHeight);
          bar.css({ height: barHeight + 'px' });

          // hide scrollbar if content is not long enough
          var display = barHeight == me.outerHeight() ? 'none' : 'block';
          bar.css({ display: display });
        }

        function showBar()
        {
          // recalculate bar height
          getBarHeight();
          clearTimeout(queueHide);

          // when bar reached top or bottom
          if (percentScroll == ~~percentScroll)
          {
            //release wheel
            releaseScroll = o.allowPageScroll;

            // publish approporiate event
            if (lastScroll != percentScroll)
            {
                var msg = (~~percentScroll == 0) ? 'top' : 'bottom';
                me.trigger('slimscroll', msg);
            }
          }
          else
          {
            releaseScroll = false;
          }
          lastScroll = percentScroll;

          // show only when required
          if(barHeight >= me.outerHeight()) {
            //allow window scroll
            releaseScroll = true;
            return;
          }
          bar.stop(true,true).fadeIn('fast');
          if (o.railVisible) { rail.stop(true,true).fadeIn('fast'); }
        }

        function hideBar()
        {
          // only hide when options allow it
          if (!o.alwaysVisible)
          {
            queueHide = setTimeout(function(){
              if (!(o.disableFadeOut && isOverPanel) && !isOverBar && !isDragg)
              {
                bar.fadeOut('slow');
                rail.fadeOut('slow');
              }
            }, 1000);
          }
        }

      });

      // maintain chainability
      return this;
    }
  });

  $.fn.extend({
    slimscroll: $.fn.slimScroll
  });

})(jQuery);

}catch(e){console.log("Module 'eGov_common_js': ",e);}
try{/*global $ */
$(document).ready(function () {
    "use strict";

    $('.menu > ul > li:has( > ul)').addClass('menu-dropdown-icon');
    //Checks if li has sub (ul) and adds class for toggle icon - just an UI


    $('.menu > ul > li > ul:not(:has(ul))').addClass('normal-sub');
    //Checks if drodown menu's li elements have anothere level (ul), if not the dropdown is shown as regular dropdown, not a mega menu (thanks Luka Kladaric)

    $(".menu > ul").before("<a href=\"#\" class=\"menu-mobile\"></a>");

    //Adds menu-mobile class (for mobile toggle menu) before the normal menu
    //Mobile menu is hidden if width is more then 959px, but normal menu is displayed
    //Normal menu is hidden if width is below 959px, and jquery adds mobile menu
    //Done this way so it can be used with wordpress without any trouble

    $(".menu > ul > li").hover(function (e) {
        if ($(window).width() > 943) {
            $(this).children("ul").stop(true, false).fadeIn(150);
            e.preventDefault();
        }
    },
        function (e) {
            if ($(window).width() > 943) {
                $(this).children("ul").stop(true, false).fadeOut(150);
                e.preventDefault();
            }
        });
    //If width is more than 943px dropdowns are displayed on hover

    $(".menu > ul > li").click(function () {
        $(this).toggleClass('opened');
        if ($(window).width() <= 943) {
            $(this).children("ul").fadeToggle(150);
        }
    });
    //If width is less or equal to 943px dropdowns are displayed on click (thanks Aman Jain from stackoverflow)

    $(".menu-mobile").click(function (e) {
        $(".menu > ul").toggleClass('show-on-mobile');
        e.preventDefault();
    });
    //when clicked on mobile-menu, normal menu is shown as a list, classic rwd menu story (thanks mwl from stackoverflow)

});
}catch(e){console.log("Module 'eGov_common_js': ",e);}
try{/* Modernizr 2.8.3 (Custom Build) | MIT & BSD
 * Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-shiv-mq-cssclasses-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load
 */
;window.Modernizr=function(a,b,c){function D(a){j.cssText=a}function E(a,b){return D(n.join(a+";")+(b||""))}function F(a,b){return typeof a===b}function G(a,b){return!!~(""+a).indexOf(b)}function H(a,b){for(var d in a){var e=a[d];if(!G(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function I(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:F(f,"function")?f.bind(d||b):f}return!1}function J(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+p.join(d+" ")+d).split(" ");return F(b,"string")||F(b,"undefined")?H(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),I(e,b,c))}function K(){e.input=function(c){for(var d=0,e=c.length;d<e;d++)u[c[d]]=c[d]in k;return u.list&&(u.list=!!b.createElement("datalist")&&!!a.HTMLDataListElement),u}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),e.inputtypes=function(a){for(var d=0,e,f,h,i=a.length;d<i;d++)k.setAttribute("type",f=a[d]),e=k.type!=="text",e&&(k.value=l,k.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&k.style.WebkitAppearance!==c?(g.appendChild(k),h=b.defaultView,e=h.getComputedStyle&&h.getComputedStyle(k,null).WebkitAppearance!=="textfield"&&k.offsetHeight!==0,g.removeChild(k)):/^(search|tel)$/.test(f)||(/^(url|email)$/.test(f)?e=k.checkValidity&&k.checkValidity()===!1:e=k.value!=l)),t[a[d]]=!!e;return t}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var d="2.8.3",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k=b.createElement("input"),l=":)",m={}.toString,n=" -webkit- -moz- -o- -ms- ".split(" "),o="Webkit Moz O ms",p=o.split(" "),q=o.toLowerCase().split(" "),r={svg:"http://www.w3.org/2000/svg"},s={},t={},u={},v=[],w=v.slice,x,y=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["&#173;",'<style id="s',h,'">',a,"</style>"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},z=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b)&&c(b).matches||!1;var d;return y("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},A=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=F(e[d],"function"),F(e[d],"undefined")||(e[d]=c),e.removeAttribute(d))),e=null,f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),B={}.hasOwnProperty,C;!F(B,"undefined")&&!F(B.call,"undefined")?C=function(a,b){return B.call(a,b)}:C=function(a,b){return b in a&&F(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=w.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(w.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(w.call(arguments)))};return e}),s.flexbox=function(){return J("flexWrap")},s.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},s.canvastext=function(){return!!e.canvas&&!!F(b.createElement("canvas").getContext("2d").fillText,"function")},s.webgl=function(){return!!a.WebGLRenderingContext},s.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:y(["@media (",n.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},s.geolocation=function(){return"geolocation"in navigator},s.postmessage=function(){return!!a.postMessage},s.websqldatabase=function(){return!!a.openDatabase},s.indexedDB=function(){return!!J("indexedDB",a)},s.hashchange=function(){return A("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},s.history=function(){return!!a.history&&!!history.pushState},s.draganddrop=function(){var a=b.createElement("div");return"draggable"in a||"ondragstart"in a&&"ondrop"in a},s.websockets=function(){return"WebSocket"in a||"MozWebSocket"in a},s.rgba=function(){return D("background-color:rgba(150,255,150,.5)"),G(j.backgroundColor,"rgba")},s.hsla=function(){return D("background-color:hsla(120,40%,100%,.5)"),G(j.backgroundColor,"rgba")||G(j.backgroundColor,"hsla")},s.multiplebgs=function(){return D("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},s.backgroundsize=function(){return J("backgroundSize")},s.borderimage=function(){return J("borderImage")},s.borderradius=function(){return J("borderRadius")},s.boxshadow=function(){return J("boxShadow")},s.textshadow=function(){return b.createElement("div").style.textShadow===""},s.opacity=function(){return E("opacity:.55"),/^0.55$/.test(j.opacity)},s.cssanimations=function(){return J("animationName")},s.csscolumns=function(){return J("columnCount")},s.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return D((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),G(j.backgroundImage,"gradient")},s.cssreflections=function(){return J("boxReflect")},s.csstransforms=function(){return!!J("transform")},s.csstransforms3d=function(){var a=!!J("perspective");return a&&"webkitPerspective"in g.style&&y("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},s.csstransitions=function(){return J("transition")},s.fontface=function(){var a;return y('@font-face {font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0}),a},s.generatedcontent=function(){var a;return y(["#",h,"{font:0/0 a}#",h,':after{content:"',l,'";visibility:hidden;font:3px/1 a}'].join(""),function(b){a=b.offsetHeight>=3}),a},s.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},s.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return c},s.localstorage=function(){try{return localStorage.setItem(h,h),localStorage.removeItem(h),!0}catch(a){return!1}},s.sessionstorage=function(){try{return sessionStorage.setItem(h,h),sessionStorage.removeItem(h),!0}catch(a){return!1}},s.webworkers=function(){return!!a.Worker},s.applicationcache=function(){return!!a.applicationCache},s.svg=function(){return!!b.createElementNS&&!!b.createElementNS(r.svg,"svg").createSVGRect},s.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="<svg/>",(a.firstChild&&a.firstChild.namespaceURI)==r.svg},s.smil=function(){return!!b.createElementNS&&/SVGAnimate/.test(m.call(b.createElementNS(r.svg,"animate")))},s.svgclippaths=function(){return!!b.createElementNS&&/SVGClipPath/.test(m.call(b.createElementNS(r.svg,"clipPath")))};for(var L in s)C(s,L)&&(x=L.toLowerCase(),e[x]=s[L](),v.push((e[x]?"":"no-")+x));return e.input||K(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)C(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},D(""),i=k=null,function(a,b){function l(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function m(){var a=s.elements;return typeof a=="string"?a.split(" "):a}function n(a){var b=j[a[h]];return b||(b={},i++,a[h]=i,j[i]=b),b}function o(a,c,d){c||(c=b);if(k)return c.createElement(a);d||(d=n(c));var g;return d.cache[a]?g=d.cache[a].cloneNode():f.test(a)?g=(d.cache[a]=d.createElem(a)).cloneNode():g=d.createElem(a),g.canHaveChildren&&!e.test(a)&&!g.tagUrn?d.frag.appendChild(g):g}function p(a,c){a||(a=b);if(k)return a.createDocumentFragment();c=c||n(a);var d=c.frag.cloneNode(),e=0,f=m(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function q(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return s.shivMethods?o(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(s,b.frag)}function r(a){a||(a=b);var c=n(a);return s.shivCSS&&!g&&!c.hasCSS&&(c.hasCSS=!!l(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),k||q(a,c),a}var c="3.7.0",d=a.html5||{},e=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,f=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,g,h="_html5shiv",i=0,j={},k;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",g="hidden"in a,k=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){g=!0,k=!0}})();var s={elements:d.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:c,shivCSS:d.shivCSS!==!1,supportsUnknownElements:k,shivMethods:d.shivMethods!==!1,type:"default",shivDocument:r,createElement:o,createDocumentFragment:p};a.html5=s,r(b)}(this,b),e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.mq=z,e.hasEvent=A,e.testProp=function(a){return H([a])},e.testAllProps=J,e.testStyles=y,e.prefixed=function(a,b,c){return b?J(a,b,c):J(a,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+v.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};

}catch(e){console.log("Module 'eGov_common_js': ",e);}
try{!function(a,b,c,d){"use strict";var e=c("html"),f=c(a),g=c(b),h=c.fancybox=function(){h.open.apply(this,arguments)},i=navigator.userAgent.match(/msie/i),j=null,k=b.createTouch!==d,l=function(a){return a&&a.hasOwnProperty&&a instanceof c},m=function(a){return a&&"string"===c.type(a)},n=function(a){return m(a)&&a.indexOf("%")>0},o=function(a){return a&&!(a.style.overflow&&"hidden"===a.style.overflow)&&(a.clientWidth&&a.scrollWidth>a.clientWidth||a.clientHeight&&a.scrollHeight>a.clientHeight)},p=function(a,b){var c=parseInt(a,10)||0;return b&&n(a)&&(c=h.getViewport()[b]/100*c),Math.ceil(c)},q=function(a,b){return p(a,b)+"px"};c.extend(h,{version:"2.1.5",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,pixelRatio:1,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!k,fitToView:!0,aspectRatio:!1,topRatio:.5,leftRatio:.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3e3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+(i?' allowtransparency="true"':"")+"></iframe>",error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:c.noop,beforeLoad:c.noop,afterLoad:c.noop,beforeShow:c.noop,afterShow:c.noop,beforeChange:c.noop,beforeClose:c.noop,afterClose:c.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(a,b){if(a&&(c.isPlainObject(b)||(b={}),!1!==h.close(!0)))return c.isArray(a)||(a=l(a)?c(a).get():[a]),c.each(a,function(e,f){var i,j,k,n,o,p,q,g={};"object"===c.type(f)&&(f.nodeType&&(f=c(f)),l(f)?(g={href:f.data("fancybox-href")||f.attr("href"),title:f.data("fancybox-title")||f.attr("title"),isDom:!0,element:f},c.metadata&&c.extend(!0,g,f.metadata())):g=f),i=b.href||g.href||(m(f)?f:null),j=b.title!==d?b.title:g.title||"",k=b.content||g.content,n=k?"html":b.type||g.type,!n&&g.isDom&&(n=f.data("fancybox-type"),n||(o=f.prop("class").match(/fancybox\.(\w+)/),n=o?o[1]:null)),m(i)&&(n||(h.isImage(i)?n="image":h.isSWF(i)?n="swf":"#"===i.charAt(0)?n="inline":m(f)&&(n="html",k=f)),"ajax"===n&&(p=i.split(/\s+/,2),i=p.shift(),q=p.shift())),k||("inline"===n?i?k=c(m(i)?i.replace(/.*(?=#[^\s]+$)/,""):i):g.isDom&&(k=f):"html"===n?k=i:n||i||!g.isDom||(n="inline",k=f)),c.extend(g,{href:i,type:n,content:k,title:j,selector:q}),a[e]=g}),h.opts=c.extend(!0,{},h.defaults,b),b.keys!==d&&(h.opts.keys=!!b.keys&&c.extend({},h.defaults.keys,b.keys)),h.group=a,h._start(h.opts.index)},cancel:function(){var a=h.coming;a&&!1!==h.trigger("onCancel")&&(h.hideLoading(),h.ajaxLoad&&h.ajaxLoad.abort(),h.ajaxLoad=null,h.imgPreload&&(h.imgPreload.onload=h.imgPreload.onerror=null),a.wrap&&a.wrap.stop(!0,!0).trigger("onReset").remove(),h.coming=null,h.current||h._afterZoomOut(a))},close:function(a){h.cancel(),!1!==h.trigger("beforeClose")&&(h.unbindEvents(),h.isActive&&(h.isOpen&&a!==!0?(h.isOpen=h.isOpened=!1,h.isClosing=!0,c(".fancybox-item, .fancybox-nav").remove(),h.wrap.stop(!0,!0).removeClass("fancybox-opened"),h.transitions[h.current.closeMethod]()):(c(".fancybox-wrap").stop(!0).trigger("onReset").remove(),h._afterZoomOut())))},play:function(a){var b=function(){clearTimeout(h.player.timer)},c=function(){b(),h.current&&h.player.isActive&&(h.player.timer=setTimeout(h.next,h.current.playSpeed))},d=function(){b(),g.unbind(".player"),h.player.isActive=!1,h.trigger("onPlayEnd")},e=function(){h.current&&(h.current.loop||h.current.index<h.group.length-1)&&(h.player.isActive=!0,g.bind({"onCancel.player beforeClose.player":d,"onUpdate.player":c,"beforeLoad.player":b}),c(),h.trigger("onPlayStart"))};a===!0||!h.player.isActive&&a!==!1?e():d()},next:function(a){var b=h.current;b&&(m(a)||(a=b.direction.next),h.jumpto(b.index+1,a,"next"))},prev:function(a){var b=h.current;b&&(m(a)||(a=b.direction.prev),h.jumpto(b.index-1,a,"prev"))},jumpto:function(a,b,c){var e=h.current;e&&(a=p(a),h.direction=b||e.direction[a>=e.index?"next":"prev"],h.router=c||"jumpto",e.loop&&(a<0&&(a=e.group.length+a%e.group.length),a%=e.group.length),e.group[a]!==d&&(h.cancel(),h._start(a)))},reposition:function(a,b){var f,d=h.current,e=d?d.wrap:null;e&&(f=h._getPosition(b),a&&"scroll"===a.type?(delete f.position,e.stop(!0,!0).animate(f,200)):(e.css(f),d.pos=c.extend({},d.dim,f)))},update:function(a){var b=a&&a.type,c=!b||"orientationchange"===b;c&&(clearTimeout(j),j=null),h.isOpen&&!j&&(j=setTimeout(function(){var d=h.current;d&&!h.isClosing&&(h.wrap.removeClass("fancybox-tmp"),(c||"load"===b||"resize"===b&&d.autoResize)&&h._setDimension(),"scroll"===b&&d.canShrink||h.reposition(a),h.trigger("onUpdate"),j=null)},c&&!k?0:300))},toggle:function(a){h.isOpen&&(h.current.fitToView="boolean"===c.type(a)?a:!h.current.fitToView,k&&(h.wrap.removeAttr("style").addClass("fancybox-tmp"),h.trigger("onUpdate")),h.update())},hideLoading:function(){g.unbind(".loading"),c("#fancybox-loading").remove()},showLoading:function(){var a,b;h.hideLoading(),a=c('<div id="fancybox-loading"><div></div></div>').click(h.cancel).appendTo("body"),g.bind("keydown.loading",function(a){27===(a.which||a.keyCode)&&(a.preventDefault(),h.cancel())}),h.defaults.fixed||(b=h.getViewport(),a.css({position:"absolute",top:.5*b.h+b.y,left:.5*b.w+b.x}))},getViewport:function(){var b=h.current&&h.current.locked||!1,c={x:f.scrollLeft(),y:f.scrollTop()};return b?(c.w=b[0].clientWidth,c.h=b[0].clientHeight):(c.w=k&&a.innerWidth?a.innerWidth:f.width(),c.h=k&&a.innerHeight?a.innerHeight:f.height()),c},unbindEvents:function(){h.wrap&&l(h.wrap)&&h.wrap.unbind(".fb"),g.unbind(".fb"),f.unbind(".fb")},bindEvents:function(){var b,a=h.current;a&&(f.bind("orientationchange.fb"+(k?"":" resize.fb")+(a.autoCenter&&!a.locked?" scroll.fb":""),h.update),b=a.keys,b&&g.bind("keydown.fb",function(e){var f=e.which||e.keyCode,g=e.target||e.srcElement;return(27!==f||!h.coming)&&void(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||g&&(g.type||c(g).is("[contenteditable]"))||c.each(b,function(b,g){return a.group.length>1&&g[f]!==d?(h[b](g[f]),e.preventDefault(),!1):c.inArray(f,g)>-1?(h[b](),e.preventDefault(),!1):void 0}))}),c.fn.mousewheel&&a.mouseWheel&&h.wrap.bind("mousewheel.fb",function(b,d,e,f){for(var g=b.target||null,i=c(g),j=!1;i.length&&!(j||i.is(".fancybox-skin")||i.is(".fancybox-wrap"));)j=o(i[0]),i=c(i).parent();0===d||j||h.group.length>1&&!a.canShrink&&(f>0||e>0?h.prev(f>0?"down":"left"):(f<0||e<0)&&h.next(f<0?"up":"right"),b.preventDefault())}))},trigger:function(a,b){var d,e=b||h.coming||h.current;if(e){if(c.isFunction(e[a])&&(d=e[a].apply(e,Array.prototype.slice.call(arguments,1))),d===!1)return!1;e.helpers&&c.each(e.helpers,function(b,d){d&&h.helpers[b]&&c.isFunction(h.helpers[b][a])&&h.helpers[b][a](c.extend(!0,{},h.helpers[b].defaults,d),e)}),g.trigger(a)}},isImage:function(a){return m(a)&&a.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(a){return m(a)&&a.match(/\.(swf)((\?|#).*)?$/i)},_start:function(a){var d,e,f,g,i,b={};if(a=p(a),d=h.group[a]||null,!d)return!1;if(b=c.extend(!0,{},h.opts,d),g=b.margin,i=b.padding,"number"===c.type(g)&&(b.margin=[g,g,g,g]),"number"===c.type(i)&&(b.padding=[i,i,i,i]),b.modal&&c.extend(!0,b,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}}),b.autoSize&&(b.autoWidth=b.autoHeight=!0),"auto"===b.width&&(b.autoWidth=!0),"auto"===b.height&&(b.autoHeight=!0),b.group=h.group,b.index=a,h.coming=b,!1===h.trigger("beforeLoad"))return void(h.coming=null);if(f=b.type,e=b.href,!f)return h.coming=null,!(!h.current||!h.router||"jumpto"===h.router)&&(h.current.index=a,h[h.router](h.direction));if(h.isActive=!0,"image"!==f&&"swf"!==f||(b.autoHeight=b.autoWidth=!1,b.scrolling="visible"),"image"===f&&(b.aspectRatio=!0),"iframe"===f&&k&&(b.scrolling="scroll"),b.wrap=c(b.tpl.wrap).addClass("fancybox-"+(k?"mobile":"desktop")+" fancybox-type-"+f+" fancybox-tmp "+b.wrapCSS).appendTo(b.parent||"body"),c.extend(b,{skin:c(".fancybox-skin",b.wrap),outer:c(".fancybox-outer",b.wrap),inner:c(".fancybox-inner",b.wrap)}),c.each(["Top","Right","Bottom","Left"],function(a,c){b.skin.css("padding"+c,q(b.padding[a]))}),h.trigger("onReady"),"inline"===f||"html"===f){if(!b.content||!b.content.length)return h._error("content")}else if(!e)return h._error("href");"image"===f?h._loadImage():"ajax"===f?h._loadAjax():"iframe"===f?h._loadIframe():h._afterLoad()},_error:function(a){c.extend(h.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:a,content:h.coming.tpl.error}),h._afterLoad()},_loadImage:function(){var a=h.imgPreload=new Image;a.onload=function(){this.onload=this.onerror=null,h.coming.width=this.width/h.opts.pixelRatio,h.coming.height=this.height/h.opts.pixelRatio,h._afterLoad()},a.onerror=function(){this.onload=this.onerror=null,h._error("image")},a.src=h.coming.href,a.complete!==!0&&h.showLoading()},_loadAjax:function(){var a=h.coming;h.showLoading(),h.ajaxLoad=c.ajax(c.extend({},a.ajax,{url:a.href,error:function(a,b){h.coming&&"abort"!==b?h._error("ajax",a):h.hideLoading()},success:function(b,c){"success"===c&&(a.content=b,h._afterLoad())}}))},_loadIframe:function(){var a=h.coming,b=c(a.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",k?"auto":a.iframe.scrolling).attr("src",a.href);c(a.wrap).bind("onReset",function(){try{c(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(a){}}),a.iframe.preload&&(h.showLoading(),b.one("load",function(){c(this).data("ready",1),k||c(this).bind("load.fb",h.update),c(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show(),h._afterLoad()})),a.content=b.appendTo(a.inner),a.iframe.preload||h._afterLoad()},_preloadImages:function(){var e,f,a=h.group,b=h.current,c=a.length,d=b.preload?Math.min(b.preload,c-1):0;for(f=1;f<=d;f+=1)e=a[(b.index+f)%c],"image"===e.type&&e.href&&((new Image).src=e.href)},_afterLoad:function(){var e,f,g,i,j,k,a=h.coming,b=h.current,d="fancybox-placeholder";if(h.hideLoading(),a&&h.isActive!==!1){if(!1===h.trigger("afterLoad",a,b))return a.wrap.stop(!0).trigger("onReset").remove(),void(h.coming=null);switch(b&&(h.trigger("beforeChange",b),b.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove()),h.unbindEvents(),e=a,f=a.content,g=a.type,i=a.scrolling,c.extend(h,{wrap:e.wrap,skin:e.skin,outer:e.outer,inner:e.inner,current:e,previous:b}),j=e.href,g){case"inline":case"ajax":case"html":e.selector?f=c("<div>").html(f).find(e.selector):l(f)&&(f.data(d)||f.data(d,c('<div class="'+d+'"></div>').insertAfter(f).hide()),f=f.show().detach(),e.wrap.bind("onReset",function(){c(this).find(f).length&&f.hide().replaceAll(f.data(d)).data(d,!1)}));break;case"image":f=e.tpl.image.replace("{href}",j);break;case"swf":f='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+j+'"></param>',k="",c.each(e.swf,function(a,b){f+='<param name="'+a+'" value="'+b+'"></param>',k+=" "+a+'="'+b+'"'}),f+='<embed src="'+j+'" type="application/x-shockwave-flash" width="100%" height="100%"'+k+"></embed></object>"}l(f)&&f.parent().is(e.inner)||e.inner.append(f),h.trigger("beforeShow"),e.inner.css("overflow","yes"===i?"scroll":"no"===i?"hidden":i),h._setDimension(),h.reposition(),h.isOpen=!1,h.coming=null,h.bindEvents(),h.isOpened?b.prevMethod&&h.transitions[b.prevMethod]():c(".fancybox-wrap").not(e.wrap).stop(!0).trigger("onReset").remove(),h.transitions[h.isOpened?e.nextMethod:e.openMethod](),h._preloadImages()}},_setDimension:function(){var y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,a=h.getViewport(),b=0,d=!1,e=!1,f=h.wrap,g=h.skin,i=h.inner,j=h.current,k=j.width,l=j.height,m=j.minWidth,o=j.minHeight,r=j.maxWidth,s=j.maxHeight,t=j.scrolling,u=j.scrollOutside?j.scrollbarWidth:0,v=j.margin,w=p(v[1]+v[3]),x=p(v[0]+v[2]);if(f.add(g).add(i).width("auto").height("auto").removeClass("fancybox-tmp"),y=p(g.outerWidth(!0)-g.width()),z=p(g.outerHeight(!0)-g.height()),A=w+y,B=x+z,C=n(k)?(a.w-A)*p(k)/100:k,D=n(l)?(a.h-B)*p(l)/100:l,"iframe"===j.type){if(L=j.content,j.autoHeight&&1===L.data("ready"))try{L[0].contentWindow.document.location&&(i.width(C).height(9999),M=L.contents().find("body"),u&&M.css("overflow-x","hidden"),D=M.outerHeight(!0))}catch(a){}}else(j.autoWidth||j.autoHeight)&&(i.addClass("fancybox-tmp"),j.autoWidth||i.width(C),j.autoHeight||i.height(D),j.autoWidth&&(C=i.width()),j.autoHeight&&(D=i.height()),i.removeClass("fancybox-tmp"));if(k=p(C),l=p(D),G=C/D,m=p(n(m)?p(m,"w")-A:m),r=p(n(r)?p(r,"w")-A:r),o=p(n(o)?p(o,"h")-B:o),s=p(n(s)?p(s,"h")-B:s),E=r,F=s,j.fitToView&&(r=Math.min(a.w-A,r),s=Math.min(a.h-B,s)),J=a.w-w,K=a.h-x,j.aspectRatio?(k>r&&(k=r,l=p(k/G)),l>s&&(l=s,k=p(l*G)),k<m&&(k=m,l=p(k/G)),l<o&&(l=o,k=p(l*G))):(k=Math.max(m,Math.min(k,r)),j.autoHeight&&"iframe"!==j.type&&(i.width(k),l=i.height()),l=Math.max(o,Math.min(l,s))),j.fitToView)if(i.width(k).height(l),f.width(k+y),H=f.width(),I=f.height(),j.aspectRatio)for(;(H>J||I>K)&&k>m&&l>o&&!(b++>19);)l=Math.max(o,Math.min(s,l-10)),k=p(l*G),k<m&&(k=m,l=p(k/G)),k>r&&(k=r,l=p(k/G)),i.width(k).height(l),f.width(k+y),H=f.width(),I=f.height();else k=Math.max(m,Math.min(k,k-(H-J))),l=Math.max(o,Math.min(l,l-(I-K)));u&&"auto"===t&&l<D&&k+y+u<J&&(k+=u),i.width(k).height(l),f.width(k+y),H=f.width(),I=f.height(),d=(H>J||I>K)&&k>m&&l>o,e=j.aspectRatio?k<E&&l<F&&k<C&&l<D:(k<E||l<F)&&(k<C||l<D),c.extend(j,{dim:{width:q(H),height:q(I)},origWidth:C,origHeight:D,canShrink:d,canExpand:e,wPadding:y,hPadding:z,wrapSpace:I-g.outerHeight(!0),skinSpace:g.height()-l}),!L&&j.autoHeight&&l>o&&l<s&&!e&&i.height("auto")},_getPosition:function(a){var b=h.current,c=h.getViewport(),d=b.margin,e=h.wrap.width()+d[1]+d[3],f=h.wrap.height()+d[0]+d[2],g={position:"absolute",top:d[0],left:d[3]};return b.autoCenter&&b.fixed&&!a&&f<=c.h&&e<=c.w?g.position="fixed":b.locked||(g.top+=c.y,g.left+=c.x),g.top=q(Math.max(g.top,g.top+(c.h-f)*b.topRatio)),g.left=q(Math.max(g.left,g.left+(c.w-e)*b.leftRatio)),g},_afterZoomIn:function(){var a=h.current;a&&(h.isOpen=h.isOpened=!0,h.wrap.css("overflow","visible").addClass("fancybox-opened"),h.update(),(a.closeClick||a.nextClick&&h.group.length>1)&&h.inner.css("cursor","pointer").bind("click.fb",function(b){c(b.target).is("a")||c(b.target).parent().is("a")||(b.preventDefault(),h[a.closeClick?"close":"next"]())}),a.closeBtn&&c(a.tpl.closeBtn).appendTo(h.skin).bind("click.fb",function(a){a.preventDefault(),h.close()}),a.arrows&&h.group.length>1&&((a.loop||a.index>0)&&c(a.tpl.prev).appendTo(h.outer).bind("click.fb",h.prev),(a.loop||a.index<h.group.length-1)&&c(a.tpl.next).appendTo(h.outer).bind("click.fb",h.next)),h.trigger("afterShow"),a.loop||a.index!==a.group.length-1?h.opts.autoPlay&&!h.player.isActive&&(h.opts.autoPlay=!1,h.play()):h.play(!1))},_afterZoomOut:function(a){a=a||h.current,c(".fancybox-wrap").trigger("onReset").remove(),c.extend(h,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,skin:null,outer:null,inner:null}),h.trigger("afterClose",a)}}),h.transitions={getOrigPosition:function(){var a=h.current,b=a.element,c=a.orig,d={},e=50,f=50,g=a.hPadding,i=a.wPadding,j=h.getViewport();return!c&&a.isDom&&b.is(":visible")&&(c=b.find("img:first"),c.length||(c=b)),l(c)?(d=c.offset(),c.is("img")&&(e=c.outerWidth(),f=c.outerHeight())):(d.top=j.y+(j.h-f)*a.topRatio,d.left=j.x+(j.w-e)*a.leftRatio),("fixed"===h.wrap.css("position")||a.locked)&&(d.top-=j.y,d.left-=j.x),d={top:q(d.top-g*a.topRatio),left:q(d.left-i*a.leftRatio),width:q(e+i),height:q(f+g)}},step:function(a,b){var c,d,e,f=b.prop,g=h.current,i=g.wrapSpace,j=g.skinSpace;"width"!==f&&"height"!==f||(c=b.end===b.start?1:(a-b.start)/(b.end-b.start),h.isClosing&&(c=1-c),d="width"===f?g.wPadding:g.hPadding,e=a-d,h.skin[f](p("width"===f?e:e-i*c)),h.inner[f](p("width"===f?e:e-i*c-j*c)))},zoomIn:function(){var a=h.current,b=a.pos,d=a.openEffect,e="elastic"===d,f=c.extend({opacity:1},b);delete f.position,e?(b=this.getOrigPosition(),a.openOpacity&&(b.opacity=.1)):"fade"===d&&(b.opacity=.1),h.wrap.css(b).animate(f,{duration:"none"===d?0:a.openSpeed,easing:a.openEasing,step:e?this.step:null,complete:h._afterZoomIn})},zoomOut:function(){var a=h.current,b=a.closeEffect,c="elastic"===b,d={opacity:.1};c&&(d=this.getOrigPosition(),a.closeOpacity&&(d.opacity=.1)),h.wrap.animate(d,{duration:"none"===b?0:a.closeSpeed,easing:a.closeEasing,step:c?this.step:null,complete:h._afterZoomOut})},changeIn:function(){var g,a=h.current,b=a.nextEffect,c=a.pos,d={opacity:1},e=h.direction,f=200;c.opacity=.1,"elastic"===b&&(g="down"===e||"up"===e?"top":"left","down"===e||"right"===e?(c[g]=q(p(c[g])-f),d[g]="+="+f+"px"):(c[g]=q(p(c[g])+f),d[g]="-="+f+"px")),"none"===b?h._afterZoomIn():h.wrap.css(c).animate(d,{duration:a.nextSpeed,easing:a.nextEasing,complete:h._afterZoomIn})},changeOut:function(){var a=h.previous,b=a.prevEffect,d={opacity:.1},e=h.direction,f=200;"elastic"===b&&(d["down"===e||"up"===e?"top":"left"]=("up"===e||"left"===e?"-":"+")+"="+f+"px"),a.wrap.animate(d,{duration:"none"===b?0:a.prevSpeed,easing:a.prevEasing,complete:function(){c(this).trigger("onReset").remove()}})}},h.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!k,fixed:!0},overlay:null,fixed:!1,el:c("html"),create:function(a){a=c.extend({},this.defaults,a),this.overlay&&this.close(),this.overlay=c('<div class="fancybox-overlay"></div>').appendTo(h.coming?h.coming.parent:a.parent),this.fixed=!1,a.fixed&&h.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(a){var b=this;a=c.extend({},this.defaults,a),this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(a),this.fixed||(f.bind("resize.overlay",c.proxy(this.update,this)),this.update()),a.closeClick&&this.overlay.bind("click.overlay",function(a){if(c(a.target).hasClass("fancybox-overlay"))return h.isActive?h.close():b.close(),!1}),this.overlay.css(a.css).show()},close:function(){var a,b;f.unbind("resize.overlay"),this.el.hasClass("fancybox-lock")&&(c(".fancybox-margin").removeClass("fancybox-margin"),a=f.scrollTop(),b=f.scrollLeft(),this.el.removeClass("fancybox-lock"),f.scrollTop(a).scrollLeft(b)),c(".fancybox-overlay").remove().hide(),c.extend(this,{overlay:null,fixed:!1})},update:function(){var c,a="100%";this.overlay.width(a).height("100%"),i?(c=Math.max(b.documentElement.offsetWidth,b.body.offsetWidth),g.width()>c&&(a=g.width())):g.width()>f.width()&&(a=g.width()),this.overlay.width(a).height(g.height())},onReady:function(a,b){var d=this.overlay;c(".fancybox-overlay").stop(!0,!0),d||this.create(a),a.locked&&this.fixed&&b.fixed&&(d||(this.margin=g.height()>f.height()&&c("html").css("margin-right").replace("px","")),b.locked=this.overlay.append(b.wrap),b.fixed=!1),a.showEarly===!0&&this.beforeShow.apply(this,arguments)},beforeShow:function(a,b){var d,e;b.locked&&(this.margin!==!1&&(c("*").filter(function(){return"fixed"===c(this).css("position")&&!c(this).hasClass("fancybox-overlay")&&!c(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin")),d=f.scrollTop(),e=f.scrollLeft(),this.el.addClass("fancybox-lock"),f.scrollTop(d).scrollLeft(e)),this.open(a)},onUpdate:function(){this.fixed||this.update()},afterClose:function(a){this.overlay&&!h.coming&&this.overlay.fadeOut(a.speedOut,c.proxy(this.close,this))}},h.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(a){var f,g,b=h.current,d=b.title,e=a.type;if(c.isFunction(d)&&(d=d.call(b.element,b)),m(d)&&""!==c.trim(d)){switch(f=c('<div class="fancybox-title fancybox-title-'+e+'-wrap">'+d+"</div>"),e){case"inside":g=h.skin;break;case"outside":g=h.wrap;break;case"over":g=h.inner;break;default:g=h.skin,f.appendTo("body"),i&&f.width(f.width()),f.wrapInner('<span class="child"></span>'),h.current.margin[2]+=Math.abs(p(f.css("margin-bottom")))}f["top"===a.position?"prependTo":"appendTo"](g)}}},c.fn.fancybox=function(a){var b,d=c(this),e=this.selector||"",f=function(f){var j,k,g=c(this).blur(),i=b;f.ctrlKey||f.altKey||f.shiftKey||f.metaKey||g.is(".fancybox-wrap")||(j=a.groupAttr||"data-fancybox-group",k=g.attr(j),k||(j="rel",k=g.get(0)[j]),k&&""!==k&&"nofollow"!==k&&(g=e.length?c(e):d,g=g.filter("["+j+'="'+k+'"]'),i=g.index(this)),a.index=i,h.open(g,a)!==!1&&f.preventDefault())};return a=a||{},b=a.index||0,e&&a.live!==!1?g.undelegate(e,"click.fb-start").delegate(e+":not('.fancybox-item, .fancybox-nav')","click.fb-start",f):d.unbind("click.fb-start").bind("click.fb-start",f),this.filter("[data-fancybox-start=1]").trigger("click"),this},g.ready(function(){var b,f;c.scrollbarWidth===d&&(c.scrollbarWidth=function(){var a=c('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),b=a.children(),d=b.innerWidth()-b.height(99).innerWidth();return a.remove(),d}),c.support.fixedPosition===d&&(c.support.fixedPosition=function(){var a=c('<div style="position:fixed;top:20px;"></div>').appendTo("body"),b=20===a[0].offsetTop||15===a[0].offsetTop;return a.remove(),b}()),c.extend(h.defaults,{scrollbarWidth:c.scrollbarWidth(),fixed:c.support.fixedPosition,parent:c("body")}),b=c(a).width(),e.addClass("fancybox-lock-test"),f=c(a).width(),e.removeClass("fancybox-lock-test"),c("<style type='text/css'>.fancybox-margin{margin-right:"+(f-b)+"px;}</style>").appendTo("head")})}(window,document,jQuery),$("#fancybox-manual-a").click(function(){$.fancybox.open({href:"Rate.html",type:"iframe",padding:5})});
}catch(e){console.log("Module 'eGov_common_js': ",e);}
try{function search(){var e=$(".srch-term").val(),t="/wps/portal/Home/search/#/searchResults?q="+e;return window.location=t,!1}function getChangLangURL(e){var t=updateQueryString("lang",e);return t=updateQueryString("siteId",null,t),t=updateQueryString("isFromLangChange","yes",t),"ar"==e?(t=t.replace("MinistryServiceDetails_en","MinistryServiceDetails_ar"),t=t.replace("NewsDetails_en","NewsDetails_ar")):(t=t.replace("MinistryServiceDetails_ar","MinistryServiceDetails_en"),t=t.replace("NewsDetails_ar","NewsDetails_en")),t}function replaceAt(e,t,n){return e.substr(0,t)+n+e.substr(t+n.length)}function updateQueryString(e,t,n){n||(n=window.location.href);var o,i=new RegExp("([?&])"+e+"=.*?(&|#|$)(.*)","gi");if(-1!=n.indexOf("&")&&n.indexOf("&")<n.indexOf("?")&&(n=replaceAt(n,n.indexOf("&"),"?")),i.test(n))return"undefined"!=typeof t&&null!==t?n.replace(i,"$1"+e+"="+t+"$2$3"):(o=n.split("#"),n=o[0].replace(i,"$1$3").replace(/(&|\?)$/,""),"undefined"!=typeof o[1]&&null!==o[1]&&(n+="#"+o[1]),n);if("undefined"!=typeof t&&null!==t){var r=-1!==n.indexOf("?")?"&":"?";return o=n.split("#"),n=o[0]+r+e+"="+t,"undefined"!=typeof o[1]&&null!==o[1]&&(n+="#"+o[1]),n}return n}console.log("test");var sizes=[-1,0,1],count=1,ignoreClasses=[""];$(document).ready(function(){$("*").each(function(){try{$(this).css("font-size",$(this).css("font-size")),$(this).data("orgsize",$(this).css("font-size"))}catch(e){}})}),$("a#jfontsize-p2").click(function(){2>count&&(count+=1,alterSizes())}),$("a#jfontsize-m2").click(function(){count>0&&(count-=1,alterSizes())});var alterSizes=function(){$("*").each(function(){if(-1==$.inArray($(this).attr("class"),ignoreClasses)){var e=this,t=$(e).data("orgsize");t&&(t=t.replace("px",""),t=parseInt(t)+sizes[count],$(e).css("font-size",t+"px"))}})};$(".icon").keypress(function(e){return 13==e.which?($("#search").submit(),!1):void 0}),$(document).ready(function(){$(".nav-tabs a").click(function(){$(this).tab("show")}),$(".huk").click(function(){return!1})}),$(function(){$(".scroll-view").slimScroll({alwaysVisible:!0})}),$(".trigger").click(function(){$(".tobottom").toggleClass("fa-angle-double-down"),$(".tobottom").toggleClass("fa-angle-double-up"),$("body").toggleClass("block-bg home-load-reset home-load-enter footer-open block-bg-active")}),$(".toggle").click(function(){$(".tobottom").toggleClass("fa-angle-double-down"),$(".tobottom").toggleClass("fa-angle-double-up"),$("body").toggleClass("home-load-reset home-load-enter slide-pagination-open slide-pagination-open-active")}),$("a#inline").fancybox({hideOnContentClick:!0}),$("a#inlineMob").fancybox({hideOnContentClick:!0}),$("a.rateAnswer").fancybox({hideOnContentClick:!0}),$("div.rateResult").fancybox({hideOnContentClick:!0}),$("a.rateAnswer").click(function(){vote=$(this).data("value"),console.log("---------------"+vote);var e="/Rating/ratings/"+vote;$.ajax({type:"PUT",url:e,success:function(){$("a.rateAnswer").fancybox({hideOnContentClick:!0}),$("div.rateResult").fancybox({hideOnContentClick:!0})},error:function(){$("div.rateResult").fancybox({hideOnContentClick:!0}),console.log("error rating service")}})}),$(document).ready(function(){return $(".login-popup").click(function(){$("div#login-box").toggle(200)}),$(window).mouseup(function(e){var t=$("div#login-box"),n=$(".login-popup");t.is(e.target)||0!==t.has(e.target).length||n.is(e.target)||t.hide()}),$(window).on("resize",function(){var e=$(this);return e.width()<768?$(".begin").text().replace("استبيانات",""):void 0}),$(window).width()<768?$(".begin").text().replace("استبيانات",""):($("form").attr("autocomplete","off"),$("input:not(.srch-term)").attr("autocomplete","off"),$(".srch-term").autocomplete({delay:500,minLength:3,source:function(e,t){var n=e.term,o={isCustomSearch:!0,query:null!=n&&""!=n?n:"",usePagingParm:!0,searchType:"suggest",rowsNumber:10,startRowNumber:0,findAllWordsQuery:null,exactMatchQuery:null,excludeWordsQuery:null,fromDateFilter:null,toDateFilter:null,contentFormatFilter:null,localefilter:null,relatedEntityFilter:null,sourcefilter:null,categoryfilter:null,isAllDatesFacetQuery:null,isPastMonthFacetQuery:null,isPastYearFacetQuery:null,fromDateFacetQuery:null,toDateFacetQuery:null};$.ajax({type:"POST",url:"/Search/portal/contents",data:JSON.stringify(o),contentType:"application/json;charset=UTF-8",success:function(e){var o=[];if(e&&e.suggest&&e.suggest.mySuggester&&e.suggest.mySuggester[n]&&e.suggest.mySuggester[n].numFound>0){var i={},r=[],a=e.suggest.mySuggester[n].suggestions;$.each(a,function(e,t){i[t.term]||(i[t.term]=!0,r.push(t))}),o=r,t(o)}},dataType:"json"})},create:function(){$(this).data("ui-autocomplete")._renderItem=function(e,t){var n="<span>"+t.term+"</span>";return $("<li>").append("<a>"+n+"</a>").appendTo(e)}},select:function(e,t){return $(".srch-term").val(t.item.term.replace(/<(.*?)>/g,"")),!1}}),$(".next").prev().css("display","none"),void $(".srch-term").keypress(function(e){13==e.which&&(e.preventDefault(),$("#search_form").submit())}))});var logoutUser=function(){$.ajax({type:"DELETE",url:"/MoICTLogin/tokens/",xhrFields:{withCredentials:!0},success:function(){window.location.replace("/wps/portal/Home")},error:function(){console.log("Failed")}})};
}catch(e){console.log("Module 'eGov_common_js': ",e);}
try{
$("#share-btn").click(function () {
    $("#overlay").toggle(1);
    $(".action-tooltip").toggle(500);
});
$("#share-btn-s").click(function () {
    $(".action-tooltip").toggle(500);
});
$(".close-btn").click(function () {
    $("#overlay").hide();
    $(".action-tooltip").toggle(500);
});
$("#overlay").click(function () {
    $(this).hide();
    $(".action-tooltip").toggle(500);
});
$("a.toggle.cursor").click(function () {
    $(".action-tooltip").hide();
});



}catch(e){console.log("Module 'eGov_common_js': ",e);}
try{// Sticky Plugin v1.0.0 for jQuery
// =============
// Author: Anthony Garand
// Improvements by German M. Bravo (Kronuz) and Ruud Kamphuis (ruudk)
// Improvements by Leonardo C. Daronco (daronco)
// Created: 2/14/2011
// Date: 2/12/2012
// Website: http://labs.anthonygarand.com/sticky
// Description: Makes an element on the page stick on the screen as you scroll
//       It will only set the 'top' and 'position' of your element, you
//       might need to adjust the width in some cases.


/* Commeted on 03/05/2017 to solved issue with Ipad when changing Ipad from horitzental to vertical, instead it
be handled from CSS 
(function($) {
  var defaults = {
      topSpacing: 0,
      bottomSpacing: 0,
      className: 'is-sticky',
      wrapperClassName: 'sticky-wrapper',
      center: false,
      getWidthFrom: ''
    },
    $window = $(window),
    $document = $(document),
    sticked = [],
    windowHeight = $window.height(),
    scroller = function() {
      var scrollTop = $window.scrollTop(),
        documentHeight = $document.height(),
        dwh = documentHeight - windowHeight,
        extra = (scrollTop > dwh) ? dwh - scrollTop : 0;

      for (var i = 0; i < sticked.length; i++) {
        var s = sticked[i],
          elementTop = s.stickyWrapper.offset().top,
          etse = elementTop - s.topSpacing - extra;

        if (scrollTop <= etse) {
          if (s.currentTop !== null) {
            s.stickyElement
              .css('position', '')
              .css('top', '');
            s.stickyElement.parent().removeClass(s.className);
            s.currentTop = null;
          }
        }
        else {
          var newTop = documentHeight - s.stickyElement.outerHeight()
            - s.topSpacing - s.bottomSpacing - scrollTop - extra;
          if (newTop < 0) {
            newTop = newTop + s.topSpacing;
          } else {
            newTop = s.topSpacing;
          }
          if (s.currentTop != newTop) {
            s.stickyElement
              .css('position', 'fixed')
              .css('top', newTop);

            if (typeof s.getWidthFrom !== 'undefined') {
              s.stickyElement.css('width', $(s.getWidthFrom).width());
            }

            s.stickyElement.parent().addClass(s.className);
            s.currentTop = newTop;
          }
        }
      }
    },
    resizer = function() {
      windowHeight = $window.height();
    },
    methods = {
      init: function(options) {
        var o = $.extend(defaults, options);
        return this.each(function() {
          var stickyElement = $(this);

          var stickyId = stickyElement.attr('id');
          var wrapper = $('<div></div>')
            .attr('id', stickyId + '-sticky-wrapper')
            .addClass(o.wrapperClassName);
          stickyElement.wrapAll(wrapper);

          if (o.center) {
            stickyElement.parent().css({width:stickyElement.outerWidth(),marginLeft:"auto",marginRight:"auto"});
          }

          if (stickyElement.css("float") == "right") {
            stickyElement.css({"float":"none"}).parent().css({"float":"right"});
          }

          var stickyWrapper = stickyElement.parent();
          stickyWrapper.css('height', stickyElement.outerHeight());
          sticked.push({
            topSpacing: o.topSpacing,
            bottomSpacing: o.bottomSpacing,
            stickyElement: stickyElement,
            currentTop: null,
            stickyWrapper: stickyWrapper,
            className: o.className,
            getWidthFrom: o.getWidthFrom
          });
        });
      },
      update: scroller
    };

  // should be more efficient than using $window.scroll(scroller) and $window.resize(resizer):
  if (window.addEventListener) {
    window.addEventListener('scroll', scroller, false);
    window.addEventListener('resize', resizer, false);
  } else if (window.attachEvent) {
    window.attachEvent('onscroll', scroller);
    window.attachEvent('onresize', resizer);
  }

  $.fn.sticky = function(method) {
    if (methods[method]) {
      return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
    } else if (typeof method === 'object' || !method ) {
      return methods.init.apply( this, arguments );
    } else {
      $.error('Method ' + method + ' does not exist on jQuery.sticky');
    }
  };
  $(function() {
    setTimeout(scroller, 0);
  });
})(jQuery);
*/
/*Added on 03/05/2017 to solved issue with Ipad when changing Ipad from horitzental to vertical, instead it
be handled from CSS */
var $document = $(document);
$document.scroll(function() {
 
   if ($(window).width() > 991) {
	    if ($document.scrollTop() > 0) {
    $("#header").css("position","fixed");
  } else {
     $("#header").css("position","relative");
  }
  }
});


$(window).resize(function(){
   $document.scroll(function() {
	      if ($(window).width() > 991) {
  if ($document.scrollTop() > 0) {

    $("#header").css("position","fixed");
  } else {
     $("#header").css("position","relative");
  }
  }
});
});
}catch(e){console.log("Module 'eGov_common_js': ",e);}
try{/*! jQuery UI - v1.10.3 - 2013-07-01
* http://jqueryui.com
* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.position.js, jquery.ui.autocomplete.js, jquery.ui.menu.js
* Copyright 2013 jQuery Foundation and other contributors Licensed MIT */

(function(e,t){function i(t,i){var a,n,r,o=t.nodeName.toLowerCase();return"area"===o?(a=t.parentNode,n=a.name,t.href&&n&&"map"===a.nodeName.toLowerCase()?(r=e("img[usemap=#"+n+"]")[0],!!r&&s(r)):!1):(/input|select|textarea|button|object/.test(o)?!t.disabled:"a"===o?t.href||i:i)&&s(t)}function s(t){return e.expr.filters.visible(t)&&!e(t).parents().addBack().filter(function(){return"hidden"===e.css(this,"visibility")}).length}var a=0,n=/^ui-id-\d+$/;e.ui=e.ui||{},e.extend(e.ui,{version:"1.10.3",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.fn.extend({focus:function(t){return function(i,s){return"number"==typeof i?this.each(function(){var t=this;setTimeout(function(){e(t).focus(),s&&s.call(t)},i)}):t.apply(this,arguments)}}(e.fn.focus),scrollParent:function(){var t;return t=e.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.css(this,"position"))&&/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?e(document):t},zIndex:function(i){if(i!==t)return this.css("zIndex",i);if(this.length)for(var s,a,n=e(this[0]);n.length&&n[0]!==document;){if(s=n.css("position"),("absolute"===s||"relative"===s||"fixed"===s)&&(a=parseInt(n.css("zIndex"),10),!isNaN(a)&&0!==a))return a;n=n.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++a)})},removeUniqueId:function(){return this.each(function(){n.test(this.id)&&e(this).removeAttr("id")})}}),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(i){return!!e.data(i,t)}}):function(t,i,s){return!!e.data(t,s[3])},focusable:function(t){return i(t,!isNaN(e.attr(t,"tabindex")))},tabbable:function(t){var s=e.attr(t,"tabindex"),a=isNaN(s);return(a||s>=0)&&i(t,!a)}}),e("<a>").outerWidth(1).jquery||e.each(["Width","Height"],function(i,s){function a(t,i,s,a){return e.each(n,function(){i-=parseFloat(e.css(t,"padding"+this))||0,s&&(i-=parseFloat(e.css(t,"border"+this+"Width"))||0),a&&(i-=parseFloat(e.css(t,"margin"+this))||0)}),i}var n="Width"===s?["Left","Right"]:["Top","Bottom"],r=s.toLowerCase(),o={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+s]=function(i){return i===t?o["inner"+s].call(this):this.each(function(){e(this).css(r,a(this,i)+"px")})},e.fn["outer"+s]=function(t,i){return"number"!=typeof t?o["outer"+s].call(this,t):this.each(function(){e(this).css(r,a(this,t,!0,i)+"px")})}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(i){return arguments.length?t.call(this,e.camelCase(i)):t.call(this)}}(e.fn.removeData)),e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),e.support.selectstart="onselectstart"in document.createElement("div"),e.fn.extend({disableSelection:function(){return this.bind((e.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),e.extend(e.ui,{plugin:{add:function(t,i,s){var a,n=e.ui[t].prototype;for(a in s)n.plugins[a]=n.plugins[a]||[],n.plugins[a].push([i,s[a]])},call:function(e,t,i){var s,a=e.plugins[t];if(a&&e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType)for(s=0;a.length>s;s++)e.options[a[s][0]]&&a[s][1].apply(e.element,i)}},hasScroll:function(t,i){if("hidden"===e(t).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",a=!1;return t[s]>0?!0:(t[s]=1,a=t[s]>0,t[s]=0,a)}})})(jQuery);(function(e,t){var i=0,s=Array.prototype.slice,n=e.cleanData;e.cleanData=function(t){for(var i,s=0;null!=(i=t[s]);s++)try{e(i).triggerHandler("remove")}catch(a){}n(t)},e.widget=function(i,s,n){var a,r,o,h,l={},u=i.split(".")[0];i=i.split(".")[1],a=u+"-"+i,n||(n=s,s=e.Widget),e.expr[":"][a.toLowerCase()]=function(t){return!!e.data(t,a)},e[u]=e[u]||{},r=e[u][i],o=e[u][i]=function(e,i){return this._createWidget?(arguments.length&&this._createWidget(e,i),t):new o(e,i)},e.extend(o,r,{version:n.version,_proto:e.extend({},n),_childConstructors:[]}),h=new s,h.options=e.widget.extend({},h.options),e.each(n,function(i,n){return e.isFunction(n)?(l[i]=function(){var e=function(){return s.prototype[i].apply(this,arguments)},t=function(e){return s.prototype[i].apply(this,e)};return function(){var i,s=this._super,a=this._superApply;return this._super=e,this._superApply=t,i=n.apply(this,arguments),this._super=s,this._superApply=a,i}}(),t):(l[i]=n,t)}),o.prototype=e.widget.extend(h,{widgetEventPrefix:r?h.widgetEventPrefix:i},l,{constructor:o,namespace:u,widgetName:i,widgetFullName:a}),r?(e.each(r._childConstructors,function(t,i){var s=i.prototype;e.widget(s.namespace+"."+s.widgetName,o,i._proto)}),delete r._childConstructors):s._childConstructors.push(o),e.widget.bridge(i,o)},e.widget.extend=function(i){for(var n,a,r=s.call(arguments,1),o=0,h=r.length;h>o;o++)for(n in r[o])a=r[o][n],r[o].hasOwnProperty(n)&&a!==t&&(i[n]=e.isPlainObject(a)?e.isPlainObject(i[n])?e.widget.extend({},i[n],a):e.widget.extend({},a):a);return i},e.widget.bridge=function(i,n){var a=n.prototype.widgetFullName||i;e.fn[i]=function(r){var o="string"==typeof r,h=s.call(arguments,1),l=this;return r=!o&&h.length?e.widget.extend.apply(null,[r].concat(h)):r,o?this.each(function(){var s,n=e.data(this,a);return n?e.isFunction(n[r])&&"_"!==r.charAt(0)?(s=n[r].apply(n,h),s!==n&&s!==t?(l=s&&s.jquery?l.pushStack(s.get()):s,!1):t):e.error("no such method '"+r+"' for "+i+" widget instance"):e.error("cannot call methods on "+i+" prior to initialization; "+"attempted to call method '"+r+"'")}):this.each(function(){var t=e.data(this,a);t?t.option(r||{})._init():e.data(this,a,new n(r,this))}),l}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,s){s=e(s||this.defaultElement||this)[0],this.element=e(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=e(),this.hoverable=e(),this.focusable=e(),s!==this&&(e.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===s&&this.destroy()}}),this.document=e(s.style?s.ownerDocument:s.document||s),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(i,s){var n,a,r,o=i;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof i)if(o={},n=i.split("."),i=n.shift(),n.length){for(a=o[i]=e.widget.extend({},this.options[i]),r=0;n.length-1>r;r++)a[n[r]]=a[n[r]]||{},a=a[n[r]];if(i=n.pop(),s===t)return a[i]===t?null:a[i];a[i]=s}else{if(s===t)return this.options[i]===t?null:this.options[i];o[i]=s}return this._setOptions(o),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return this.options[e]=t,"disabled"===e&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!t).attr("aria-disabled",t),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(i,s,n){var a,r=this;"boolean"!=typeof i&&(n=s,s=i,i=!1),n?(s=a=e(s),this.bindings=this.bindings.add(s)):(n=s,s=this.element,a=this.widget()),e.each(n,function(n,o){function h(){return i||r.options.disabled!==!0&&!e(this).hasClass("ui-state-disabled")?("string"==typeof o?r[o]:o).apply(r,arguments):t}"string"!=typeof o&&(h.guid=o.guid=o.guid||h.guid||e.guid++);var l=n.match(/^(\w+)\s*(.*)$/),u=l[1]+r.eventNamespace,c=l[2];c?a.delegate(c,u,h):s.bind(u,h)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.unbind(t).undelegate(t)},_delay:function(e,t){function i(){return("string"==typeof e?s[e]:e).apply(s,arguments)}var s=this;return setTimeout(i,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){e(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){e(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){e(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){e(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,i,s){var n,a,r=this.options[t];if(s=s||{},i=e.Event(i),i.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],a=i.originalEvent)for(n in a)n in i||(i[n]=a[n]);return this.element.trigger(i,s),!(e.isFunction(r)&&r.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},function(t,i){e.Widget.prototype["_"+t]=function(s,n,a){"string"==typeof n&&(n={effect:n});var r,o=n?n===!0||"number"==typeof n?i:n.effect||i:t;n=n||{},"number"==typeof n&&(n={duration:n}),r=!e.isEmptyObject(n),n.complete=a,n.delay&&s.delay(n.delay),r&&e.effects&&e.effects.effect[o]?s[t](n):o!==t&&s[o]?s[o](n.duration,n.easing,a):s.queue(function(i){e(this)[t](),a&&a.call(s[0]),i()})}})})(jQuery);(function(t,e){function i(t,e,i){return[parseFloat(t[0])*(p.test(t[0])?e/100:1),parseFloat(t[1])*(p.test(t[1])?i/100:1)]}function s(e,i){return parseInt(t.css(e,i),10)||0}function n(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}t.ui=t.ui||{};var a,o=Math.max,r=Math.abs,h=Math.round,l=/left|center|right/,c=/top|center|bottom/,u=/[\+\-]\d+(\.[\d]+)?%?/,d=/^\w+/,p=/%$/,f=t.fn.position;t.position={scrollbarWidth:function(){if(a!==e)return a;var i,s,n=t("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),o=n.children()[0];return t("body").append(n),i=o.offsetWidth,n.css("overflow","scroll"),s=o.offsetWidth,i===s&&(s=n[0].clientWidth),n.remove(),a=i-s},getScrollInfo:function(e){var i=e.isWindow?"":e.element.css("overflow-x"),s=e.isWindow?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.width<e.element[0].scrollWidth,a="scroll"===s||"auto"===s&&e.height<e.element[0].scrollHeight;return{width:a?t.position.scrollbarWidth():0,height:n?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var i=t(e||window),s=t.isWindow(i[0]);return{element:i,isWindow:s,offset:i.offset()||{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:s?i.width():i.outerWidth(),height:s?i.height():i.outerHeight()}}},t.fn.position=function(e){if(!e||!e.of)return f.apply(this,arguments);e=t.extend({},e);var a,p,m,g,v,b,_=t(e.of),y=t.position.getWithinInfo(e.within),w=t.position.getScrollInfo(y),x=(e.collision||"flip").split(" "),k={};return b=n(_),_[0].preventDefault&&(e.at="left top"),p=b.width,m=b.height,g=b.offset,v=t.extend({},g),t.each(["my","at"],function(){var t,i,s=(e[this]||"").split(" ");1===s.length&&(s=l.test(s[0])?s.concat(["center"]):c.test(s[0])?["center"].concat(s):["center","center"]),s[0]=l.test(s[0])?s[0]:"center",s[1]=c.test(s[1])?s[1]:"center",t=u.exec(s[0]),i=u.exec(s[1]),k[this]=[t?t[0]:0,i?i[0]:0],e[this]=[d.exec(s[0])[0],d.exec(s[1])[0]]}),1===x.length&&(x[1]=x[0]),"right"===e.at[0]?v.left+=p:"center"===e.at[0]&&(v.left+=p/2),"bottom"===e.at[1]?v.top+=m:"center"===e.at[1]&&(v.top+=m/2),a=i(k.at,p,m),v.left+=a[0],v.top+=a[1],this.each(function(){var n,l,c=t(this),u=c.outerWidth(),d=c.outerHeight(),f=s(this,"marginLeft"),b=s(this,"marginTop"),D=u+f+s(this,"marginRight")+w.width,T=d+b+s(this,"marginBottom")+w.height,C=t.extend({},v),M=i(k.my,c.outerWidth(),c.outerHeight());"right"===e.my[0]?C.left-=u:"center"===e.my[0]&&(C.left-=u/2),"bottom"===e.my[1]?C.top-=d:"center"===e.my[1]&&(C.top-=d/2),C.left+=M[0],C.top+=M[1],t.support.offsetFractions||(C.left=h(C.left),C.top=h(C.top)),n={marginLeft:f,marginTop:b},t.each(["left","top"],function(i,s){t.ui.position[x[i]]&&t.ui.position[x[i]][s](C,{targetWidth:p,targetHeight:m,elemWidth:u,elemHeight:d,collisionPosition:n,collisionWidth:D,collisionHeight:T,offset:[a[0]+M[0],a[1]+M[1]],my:e.my,at:e.at,within:y,elem:c})}),e.using&&(l=function(t){var i=g.left-C.left,s=i+p-u,n=g.top-C.top,a=n+m-d,h={target:{element:_,left:g.left,top:g.top,width:p,height:m},element:{element:c,left:C.left,top:C.top,width:u,height:d},horizontal:0>s?"left":i>0?"right":"center",vertical:0>a?"top":n>0?"bottom":"middle"};u>p&&p>r(i+s)&&(h.horizontal="center"),d>m&&m>r(n+a)&&(h.vertical="middle"),h.important=o(r(i),r(s))>o(r(n),r(a))?"horizontal":"vertical",e.using.call(this,t,h)}),c.offset(t.extend(C,{using:l}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,h=n-r,l=r+e.collisionWidth-a-n;e.collisionWidth>a?h>0&&0>=l?(i=t.left+h+e.collisionWidth-a-n,t.left+=h-i):t.left=l>0&&0>=h?n:h>l?n+a-e.collisionWidth:n:h>0?t.left+=h:l>0?t.left-=l:t.left=o(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,h=n-r,l=r+e.collisionHeight-a-n;e.collisionHeight>a?h>0&&0>=l?(i=t.top+h+e.collisionHeight-a-n,t.top+=h-i):t.top=l>0&&0>=h?n:h>l?n+a-e.collisionHeight:n:h>0?t.top+=h:l>0?t.top-=l:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,a=n.offset.left+n.scrollLeft,o=n.width,h=n.isWindow?n.scrollLeft:n.offset.left,l=t.left-e.collisionPosition.marginLeft,c=l-h,u=l+e.collisionWidth-o-h,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-o-a,(0>i||r(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-h,(s>0||u>r(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,a=n.offset.top+n.scrollTop,o=n.height,h=n.isWindow?n.scrollTop:n.offset.top,l=t.top-e.collisionPosition.marginTop,c=l-h,u=l+e.collisionHeight-o-h,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,m=-2*e.offset[1];0>c?(s=t.top+p+f+m+e.collisionHeight-o-a,t.top+p+f+m>c&&(0>s||r(c)>s)&&(t.top+=p+f+m)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+m-h,t.top+p+f+m>u&&(i>0||u>r(i))&&(t.top+=p+f+m))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}},function(){var e,i,s,n,a,o=document.getElementsByTagName("body")[0],r=document.createElement("div");e=document.createElement(o?"div":"body"),s={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},o&&t.extend(s,{position:"absolute",left:"-1000px",top:"-1000px"});for(a in s)e.style[a]=s[a];e.appendChild(r),i=o||document.documentElement,i.insertBefore(e,i.firstChild),r.style.cssText="position: absolute; left: 10.7432222px;",n=t(r).offset().left,t.support.offsetFractions=n>10&&11>n,e.innerHTML="",i.removeChild(e)}()})(jQuery);(function(t){var e=0;t.widget("ui.autocomplete",{version:"1.10.3",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var e,i,s,n=this.element[0].nodeName.toLowerCase(),a="textarea"===n,o="input"===n;this.isMultiLine=a?!0:o?!1:this.element.prop("isContentEditable"),this.valueMethod=this.element[a||o?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(n){if(this.element.prop("readOnly"))return e=!0,s=!0,i=!0,undefined;e=!1,s=!1,i=!1;var a=t.ui.keyCode;switch(n.keyCode){case a.PAGE_UP:e=!0,this._move("previousPage",n);break;case a.PAGE_DOWN:e=!0,this._move("nextPage",n);break;case a.UP:e=!0,this._keyEvent("previous",n);break;case a.DOWN:e=!0,this._keyEvent("next",n);break;case a.ENTER:case a.NUMPAD_ENTER:this.menu.active&&(e=!0,n.preventDefault(),this.menu.select(n));break;case a.TAB:this.menu.active&&this.menu.select(n);break;case a.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(n),n.preventDefault());break;default:i=!0,this._searchTimeout(n)}},keypress:function(s){if(e)return e=!1,(!this.isMultiLine||this.menu.element.is(":visible"))&&s.preventDefault(),undefined;if(!i){var n=t.ui.keyCode;switch(s.keyCode){case n.PAGE_UP:this._move("previousPage",s);break;case n.PAGE_DOWN:this._move("nextPage",s);break;case n.UP:this._keyEvent("previous",s);break;case n.DOWN:this._keyEvent("next",s)}}},input:function(t){return s?(s=!1,t.preventDefault(),undefined):(this._searchTimeout(t),undefined)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){return this.cancelBlur?(delete this.cancelBlur,undefined):(clearTimeout(this.searching),this.close(t),this._change(t),undefined)}}),this._initSource(),this.menu=t("<ul>").addClass("ui-autocomplete ui-front").appendTo(this._appendTo()).menu({role:null}).hide().data("ui-menu"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var i=this.menu.element[0];t(e.target).closest(".ui-menu-item").length||this._delay(function(){var e=this;this.document.one("mousedown",function(s){s.target===e.element[0]||s.target===i||t.contains(i,s.target)||e.close()})})},menufocus:function(e,i){if(this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type)))return this.menu.blur(),this.document.one("mousemove",function(){t(e.target).trigger(e.originalEvent)}),undefined;var s=i.item.data("ui-autocomplete-item");!1!==this._trigger("focus",e,{item:s})?e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(s.value):this.liveRegion.text(s.value)},menuselect:function(t,e){var i=e.item.data("ui-autocomplete-item"),s=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=s,this._delay(function(){this.previous=s,this.selectedItem=i})),!1!==this._trigger("select",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=t("<span>",{role:"status","aria-live":"polite"}).addClass("ui-helper-hidden-accessible").insertBefore(this.element),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e||(e=this.element.closest(".ui-front")),e.length||(e=this.document[0].body),e},_initSource:function(){var e,i,s=this;t.isArray(this.options.source)?(e=this.options.source,this.source=function(i,s){s(t.ui.autocomplete.filter(e,i.term))}):"string"==typeof this.options.source?(i=this.options.source,this.source=function(e,n){s.xhr&&s.xhr.abort(),s.xhr=t.ajax({url:i,data:e,dataType:"json",success:function(t){n(t)},error:function(){n([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){this.term!==this._value()&&(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length<this.options.minLength?this.close(e):this._trigger("search",e)!==!1?this._search(t):undefined},_search:function(t){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:t},this._response())},_response:function(){var t=this,i=++e;return function(s){i===e&&t.__response(s),t.pending--,t.pending||t.element.removeClass("ui-autocomplete-loading")}},__response:function(t){t&&(t=this._normalize(t)),this._trigger("response",null,{content:t}),!this.options.disabled&&t&&t.length&&!this.cancelSearch?(this._suggest(t),this._trigger("open")):this._close()},close:function(t){this.cancelSearch=!0,this._close(t)},_close:function(t){this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",t))},_change:function(t){this.previous!==this._value()&&this._trigger("change",t,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:t.map(e,function(e){return"string"==typeof e?{label:e,value:e}:t.extend({label:e.label||e.value,value:e.value||e.label},e)})},_suggest:function(e){var i=this.menu.element.empty();this._renderMenu(i,e),this.isNewMenu=!0,this.menu.refresh(),i.show(),this._resizeMenu(),i.position(t.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next()},_resizeMenu:function(){var t=this.menu.element;t.outerWidth(Math.max(t.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(e,i){var s=this;t.each(i,function(t,i){s._renderItemData(e,i)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-autocomplete-item",e)},_renderItem:function(e,i){return t("<li>").append(t("<a>").text(i.label)).appendTo(e)},_move:function(t,e){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this._value(this.term),this.menu.blur(),undefined):(this.menu[t](e),undefined):(this.search(null,e),undefined)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(t,e),e.preventDefault())}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,i){var s=RegExp(t.ui.autocomplete.escapeRegex(i),"i");return t.grep(e,function(t){return s.test(t.label||t.value||t)})}}),t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(t){var e;this._superApply(arguments),this.options.disabled||this.cancelSearch||(e=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,this.liveRegion.text(e))}})})(jQuery);(function(t){t.widget("ui.menu",{version:"1.10.3",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,t.proxy(function(t){this.options.disabled&&t.preventDefault()},this)),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item > a":function(t){t.preventDefault()},"click .ui-state-disabled > a":function(t){t.preventDefault()},"click .ui-menu-item:has(a)":function(e){var i=t(e.target).closest(".ui-menu-item");!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.mouseHandled=!0,this.select(e),i.has(".ui-menu").length?this.expand(e):this.element.is(":focus")||(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){var i=t(e.currentTarget);i.siblings().children(".ui-state-active").removeClass("ui-state-active"),this.focus(e,i)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.children(".ui-menu-item").eq(0);e||this.focus(t,i)},blur:function(e){this._delay(function(){t.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){t(e.target).closest(".ui-menu").length||this.collapseAll(e),this.mouseHandled=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var e=t(this);e.data("ui-menu-submenu-carat")&&e.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(e){function i(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}var s,n,a,o,r,h=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move("first","first",e);break;case t.ui.keyCode.END:this._move("last","last",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:h=!1,n=this.previousFilter||"",a=String.fromCharCode(e.keyCode),o=!1,clearTimeout(this.filterTimer),a===n?o=!0:a=n+a,r=RegExp("^"+i(a),"i"),s=this.activeMenu.children(".ui-menu-item").filter(function(){return r.test(t(this).children("a").text())}),s=o&&-1!==s.index(this.active.next())?this.active.nextAll(".ui-menu-item"):s,s.length||(a=String.fromCharCode(e.keyCode),r=RegExp("^"+i(a),"i"),s=this.activeMenu.children(".ui-menu-item").filter(function(){return r.test(t(this).children("a").text())})),s.length?(this.focus(e,s),s.length>1?(this.previousFilter=a,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}h&&e.preventDefault()},_activate:function(t){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var e,i=this.options.icons.submenu,s=this.element.find(this.options.menus);s.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),s=e.prev("a"),n=t("<span>").addClass("ui-menu-icon ui-icon "+i).data("ui-menu-submenu-carat",!0);s.attr("aria-haspopup","true").prepend(n),e.attr("aria-labelledby",s.attr("id"))}),e=s.add(this.element),e.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()}),e.children(":not(.ui-menu-item)").each(function(){var e=t(this);/[^\-\u2014\u2013\s]/.test(e.text())||e.addClass("ui-widget-content ui-menu-divider")}),e.children(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){"icons"===t&&this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(e.submenu),this._super(t,e)},focus:function(t,e){var i,s;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),s=this.active.children("a").addClass("ui-state-focus"),this.options.role&&this.element.attr("aria-activedescendant",s.attr("id")),this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),i=e.children(".ui-menu"),i.length&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(e){var i,s,n,a,o,r;this._hasScroll()&&(i=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,n=e.offset().top-this.activeMenu.offset().top-i-s,a=this.activeMenu.scrollTop(),o=this.activeMenu.height(),r=e.height(),0>n?this.activeMenu.scrollTop(a+n):n+r>o&&this.activeMenu.scrollTop(a+n-o+r))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",t,{item:this.active}))},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var i=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var s=i?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));s.length||(s=this.element),this._close(s),this.blur(e),this.activeMenu=s},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,i){var s;this.active&&(s="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),s&&s.length&&this.active||(s=this.activeMenu.children(".ui-menu-item")[e]()),this.focus(i,s)},nextPage:function(e){var i,s,n;return this.active?(this.isLastItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return i=t(this),0>i.offset().top-s-n}),this.focus(e,i)):this.focus(e,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]())),undefined):(this.next(e),undefined)},previousPage:function(e){var i,s,n;return this.active?(this.isFirstItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return i=t(this),i.offset().top-s+n>0}),this.focus(e,i)):this.focus(e,this.activeMenu.children(".ui-menu-item").first())),undefined):(this.next(e),undefined)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||t(e.target).closest(".ui-menu-item");var i={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,i)}})})(jQuery);
}catch(e){console.log("Module 'eGov_common_js': ",e);}
try{(function(){
var _1=i$.addClass,_2=i$.hasClass,_3=i$.removeClass,_4=i$.fromPath,ln=function(o){
return o.length;
},_5="edit-mode",_6="edit-mode-disabled",_7="help-mode",_8="info-mode",_9="toolbar-opened",_a="toolbar-closed",_b=_4("wpModules.state.page");
if(_b){
var _c=_b.getStateManager();
_c&&_c.getState().then(function(_d){
var _e=_d.renderParams().get({nsuri:"http://www.ibm.com/xmlns/prod/websphere/portal/publicparams",name:"pageMode"}),_f=_d.renderParams().get({nsuri:"http://www.ibm.com/xmlns/prod/websphere/portal/publicparams",name:"showTools"}),_10=document.body;
_3(_10,_5);
_3(_10,_6);
_3(_10,_8);
_3(_10,_7);
if(_e&&ln(_e)>0&&_e[0].value&&ln(_e[0].value)>0){
var _11=_e[0].value;
for(var i=0;i<ln(_11);++i){
var _12=_11[i];
if("EDIT"==_12){
if(wpModules.state.page.supportsEditMode){
_1(_10,_5);
}else{
_1(_10,_6);
}
}else{
if("INFO"==_12){
_1(_10,_8);
}else{
if("HELP"==_12){
_1(_10,_7);
}
}
}
}
}
if(_f&&ln(_f)>0&&_f[0].value&&ln(_f[0].value)>0){
var _13=_f[0].value[0];
if("true"==_13){
_1(_10,_9);
}else{
_1(_10,_a);
}
}else{
_1(_10,_a);
}
});
}
})();


}catch(e){console.log("Module 'wp_state_page_modes': ",e);}
try{function fullscreenFix(){var a=$("body").height();$(".content-b").each(function(){$(this).innerHeight()<=a&&$(this).closest(".fullscreen").addClass("not-overflow")})}function backgroundResize(){var a=$(window).height();$(".background").each(function(){var i=$(this),t=i.width(),e=i.height(),s=i.attr("data-img-width"),o=i.attr("data-img-height"),n=s/o,r=parseFloat(i.attr("data-diff"));r=r?r:0;var c=0;if(i.hasClass("parallax")&&!$("html").hasClass("touch")){c=a-e}o=e+c+r,s=o*n,t>s&&(s=t,o=s/n),i.data("resized-imgW",s),i.data("resized-imgH",o),i.css("background-size",s+"px "+o+"px")})}function parallaxPosition(){var a=$(window).height(),i=$(window).scrollTop(),t=i+a,e=(i+t)/2;$(".parallax").each(function(){var s=$(this),o=s.height(),n=s.offset().top,r=n+o;if(t>n&&r>i){var c=(s.data("resized-imgW"),s.data("resized-imgH")),l=0,d=-c+a,h=a>o?c-o:c-a;n-=h,r+=h;var u=l+(d-l)*(e-n)/(r-n),g=s.attr("data-oriz-pos");g=g?g:"50%",$(this).css("background-position",g+" "+u+"px")}})}"ontouchstart"in window&&(document.documentElement.className=document.documentElement.className+" touch"),$("html").hasClass("touch")||$(".parallax").css("background-attachment","fixed"),$(window).resize(fullscreenFix),fullscreenFix(),$(window).resize(backgroundResize),$(window).focus(backgroundResize),backgroundResize(),$("html").hasClass("touch")||($(window).resize(parallaxPosition),$(window).scroll(parallaxPosition),parallaxPosition());
}catch(e){console.log("Module 'parallex': ",e);}
try{(function(){
    i$.merge({
	"ICON_STOP":"msgError",
	"ICON_SUCCESS":"msgSuccess",
	"BUTTON_RETRY":"اعادة المحاولة",
	"BUTTON_YES":"نعم",
	"BUTTON_NO":"لا",
	"BUTTON_IGNORE":"‏تجاهل‏",
	"LINK_LEARN_MORE":"معرفة المزيد",
	"ICON_WARNING":"msgWarning",
	"ICON_INFORMATION":"msgInfo",
	"LOADING_IMAGE_0":"تحميل الصورة",
	"BUTTON_ABORT":"ايقاف",
	"ICON_EXCLAMATION":"msgWarning",
	"BUTTON_CANCEL":"‏الغاء‏",
	"BUTTON_CONTINUE":"‏استمرار‏",
	"BUTTON_OK":"‏حسنا‏",
	"BUTTON_TRY":"حاول مرة أخرى",
	"LOADING_0":"‏تحميل...‏",
	"ICON_ASTERISK":"msgInfo",
	"ICON_ERROR":"msgError",
	"CLOSE_IMAGE_0":"اغلاق الصورة",
	"CLOSE_0":"‏اغلاق"
},i$.fromPath("wpModules.dialog.nls",true));
})();
}catch(e){console.log("Module 'wp_dialog_main': ",e);}
try{/*
 *  Project: RV Font Size jQuery Plugin v0.2.4
 *  Description: An easy and flexible jquery plugin to give font size accessibility control.
 *  URL: https://github.com/ramonvictor/rv-jquery-fontsize/
 *  Author: Ramon Victor (https://github.com/ramonvictor/)
 *  License: Licensed under the MIT license:
 *  http://www.opensource.org/licenses/mit-license.php
 *  Any and all use of this script must be accompanied by this copyright/license notice in its present form.
 */
(function(e,d,a,g){var b="rvFontsize",f={targetSection:"body",store:false,storeIsDefined:!(typeof store==="undefined"),variations:5,controllers:{append:true,appendTo:"body",showResetButton:false,template:""}};function c(j,i){var h=this;h.element=j;h.options=e.extend({},f,i);h._defaults=f;h._name=b;h.init()}c.prototype={init:function(){var h=this,i=function(){h.defineElements();h.getDefaultFontSize()};i();if(h.options.store===true&&!(h.options.storeIsDefined)){h.dependencyWarning()}},dependencyWarning:function(){console.warn('When you difine "store: true", store script is required (https://github.com/ramonvictor/rv-jquery-fontsize/blob/master/js/store.min.js)')},bindControlerHandlers:function(){var h=this;h.$decreaseButton=e(".rvfs-decrease");if(h.$decreaseButton.length>0){h.$decreaseButton.on("click",function(j){j.preventDefault();var i=e(this);if(!i.hasClass("disabled")){var k=h.getCurrentVariation();if(k>1){h.$target.removeClass("rvfs-"+k);h.$target.attr("data-rvfs",k-1);if(h.options.store===true){h.storeCurrentSize()}h.fontsizeChanged()}}})}h.$increaseButton=e(".rvfs-increase");if(h.$increaseButton.length>0){h.$increaseButton.on("click",function(j){j.preventDefault();var i=e(this);if(!i.hasClass("disabled")){var k=h.getCurrentVariation();if(k<h.options.variations){h.$target.removeClass("rvfs-"+k);h.$target.attr("data-rvfs",k+1);if(h.options.store===true){h.storeCurrentSize()}h.fontsizeChanged()}}})}h.$resetButton=e(".rvfs-reset");if(h.$resetButton.length>0){h.$resetButton.on("click",function(j){j.preventDefault();var i=e(this);if(!i.hasClass("disabled")){var k=h.getCurrentVariation();h.$target.removeClass("rvfs-"+k);h.$target.attr("data-rvfs",h.defaultFontsize);if(h.options.store===true){h.storeCurrentSize()}h.fontsizeChanged()}})}},defineElements:function(){var h=this;h.$target=e(h.options.targetSection);if(h.options.controllers.append!==false){var i=h.options.controllers.showResetButton?'<a href="#" class="rvfs-reset btn" title="Default font size">A</a>':"";var k=h.options.controllers.template,j="";h.$appendTo=e(h.options.controllers.appendTo);if(e.trim(k).length>0){j=k}else{j='<div class="btn-group"><a href="#" class="rvfs-decrease btn" title="Decrease font size">A-</a></li>'+i+'<a href="#" class="rvfs-increase btn" title="Increase font size">A+</a></li></div>'}h.$appendTo.html(j);h.bindControlerHandlers()}},getDefaultFontSize:function(){var h=this,i=h.options.variations;h.defaultFontsize=0;if(i%2===0){h.defaultFontsize=(i/2)+1}else{h.defaultFontsize=parseInt((i/2)+1,10)}h.setDefaultFontSize()},setDefaultFontSize:function(){var h=this;if(h.options.store===true&&h.options.storeIsDefined){var i=store.get("rvfs")||h.defaultFontsize;h.$target.attr("data-rvfs",i)}else{h.$target.attr("data-rvfs",h.defaultFontsize)}h.fontsizeChanged()},storeCurrentSize:function(){var h=this;if(h.options.storeIsDefined){store.set("rvfs",h.$target.attr("data-rvfs"))}else{h.dependencyWarning()}},getCurrentVariation:function(){return parseInt(this.$target.attr("data-rvfs"),10)},fontsizeChanged:function(){var h=this,i=h.getCurrentVariation();h.$target.addClass("rvfs-"+i);if(i===h.defaultFontsize){h.$resetButton.addClass("disabled")}else{h.$resetButton.removeClass("disabled")}if(i===h.options.variations){h.$increaseButton.addClass("disabled")}else{h.$increaseButton.removeClass("disabled")}if(i===1){h.$decreaseButton.addClass("disabled")}else{h.$decreaseButton.removeClass("disabled")}}};e.fn[b]=function(i){var h=this;return h.each(function(){if(!e.data(h,"plugin_"+b)){e.data(h,"plugin_"+b,new c(h,i))}})};e[b]=function(){var h=e(d);return h.rvFontsize.apply(h,Array.prototype.slice.call(arguments,0))}})(jQuery,window,document);
}catch(e){console.log("Module 'font-size': ",e);}
try{/* Copyright (c) 2010-2012 Marcus Westin */
(function(){function o(){try{return r in t&&t[r]}catch(e){return!1}}var e={},t=window,n=t.document,r="localStorage",i="__storejs__",s;e.disabled=!1,e.set=function(e,t){},e.get=function(e){},e.remove=function(e){},e.clear=function(){},e.transact=function(t,n,r){var i=e.get(t);r==null&&(r=n,n=null),typeof i=="undefined"&&(i=n||{}),r(i),e.set(t,i)},e.getAll=function(){},e.serialize=function(e){return JSON.stringify(e)},e.deserialize=function(e){if(typeof e!="string")return undefined;try{return JSON.parse(e)}catch(t){return e||undefined}};if(o())s=t[r],e.set=function(t,n){return n===undefined?e.remove(t):(s.setItem(t,e.serialize(n)),n)},e.get=function(t){return e.deserialize(s.getItem(t))},e.remove=function(e){s.removeItem(e)},e.clear=function(){s.clear()},e.getAll=function(){var t={};for(var n=0;n<s.length;++n){var r=s.key(n);t[r]=e.get(r)}return t};else if(n.documentElement.addBehavior){var u,a;try{a=new ActiveXObject("htmlfile"),a.open(),a.write('<script>document.w=window</script><iframe src="/favicon.ico"></frame>'),a.close(),u=a.w.frames[0].document,s=u.createElement("div")}catch(f){s=n.createElement("div"),u=n.body}function l(t){return function(){var n=Array.prototype.slice.call(arguments,0);n.unshift(s),u.appendChild(s),s.addBehavior("#default#userData"),s.load(r);var i=t.apply(e,n);return u.removeChild(s),i}}var c=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function h(e){return e.replace(c,"___")}e.set=l(function(t,n,i){return n=h(n),i===undefined?e.remove(n):(t.setAttribute(n,e.serialize(i)),t.save(r),i)}),e.get=l(function(t,n){return n=h(n),e.deserialize(t.getAttribute(n))}),e.remove=l(function(e,t){t=h(t),e.removeAttribute(t),e.save(r)}),e.clear=l(function(e){var t=e.XMLDocument.documentElement.attributes;e.load(r);for(var n=0,i;i=t[n];n++)e.removeAttribute(i.name);e.save(r)}),e.getAll=l(function(t){var n=t.XMLDocument.documentElement.attributes,r={};for(var i=0,s;s=n[i];++i){var o=h(s.name);r[s.name]=e.deserialize(t.getAttribute(o))}return r})}try{e.set(i,i),e.get(i)!=i&&(e.disabled=!0),e.remove(i)}catch(f){e.disabled=!0}e.enabled=!e.disabled,typeof module!="undefined"&&typeof module!="function"?module.exports=e:typeof define=="function"&&define.amd?define(e):this.store=e})()
}catch(e){console.log("Module 'font-size': ",e);}
try{(function(){
    i$.merge({
	"WARNING_0":"‏تحذير‏",
	"DELETE_0":"حذف",
	"INFO_0":"‏معلومات‏",
	"MESSAGES_AVAILABLE_1":"توجد ${0} رسالة/رسائل متاحين للمراجعة",
	"SHOW_DETAILS_0":"عرض التفاصيل",
	"ERROR_0":"خطأ",
	"HIDE_DETAILS_0":"اخفاء التفاصيل"
},i$.fromPath("wptheme.statusBar.nls",true));
})();
}catch(e){console.log("Module 'wp_status_bar': ",e);}
try{(function(){
if(typeof com==="undefined"||!com){
com={};
}
if(typeof com.ibm==="undefined"||!com.ibm){
com.ibm={};
}
if(typeof com.ibm.widgets==="undefined"||!com.ibm.widgets){
com.ibm.widgets={};
}
if(typeof com.ibm.widgets.StatusType==="undefined"||!com.ibm.widgets.StatusType){
com.ibm.widgets.StatusType=function(id,_1,_2,_3){
this._id=id;
this._styleClass=_1;
this._iconPath=_2;
this._iconAlt=_3;
};
}
if(typeof com.ibm.widgets.StatusMessage==="undefined"||!com.ibm.widgets.StatusMessage){
com.ibm.widgets.StatusMessage=function(_4,_5,_6){
this._type=_4;
this._message=_5;
if(!i$.isString(_5)&&_5.message&&i$.isString(_5.message)){
this._message=_5.message;
}
this._details=_6;
};
}
if(typeof com.ibm.widgets.StatusBarV2==="undefined"||!com.ibm.widgets.StatusBarV2){
com.ibm.widgets.StatusBarV2=function(_7){
this.uid=_7;
this.showDetails=false;
this._messages=[];
this._connections=[];
this._numMessages=0;
this._baseURL=window.location.protocol+"//"+window.location.host;
this.blankGifIcon="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==";
this._statusTypesMap={"error":new com.ibm.widgets.StatusType(0,"wpthemeError",this.blankGifIcon,wptheme.statusBar.nls.ERROR_0),"warning":new com.ibm.widgets.StatusType(1,"wpthemeWarning",this.blankGifIcon,wptheme.statusBar.nls.WARNING_0),"info":new com.ibm.widgets.StatusType(2,"wpthemeInfo",this.blankGifIcon,wptheme.statusBar.nls.INFO_0)};
i$.addListener("/portal/status",i$.scope(this,this.addMessage));
i$.addListener("/message/status",i$.scope(this,this.addMessage));
i$.addListener("/portal/status/clear",i$.scope(this,this.clearMessage));
i$.addListener("/message/status/clear",i$.scope(this,this.clearMessage));
if(typeof (ibmCfg)!="undefined"&&ibmCfg.portalConfig){
this.isBidi=ibmCfg.portalConfig.isRTL;
}else{
if(typeof (ibmPortalConfig)!="undefined"){
this.isBidi=ibmPortalConfig.isRTL;
}else{
if(typeof (ibmConfig)!="undefined"){
this.isBidi=ibmConfig.isBidi;
}
}
}
i$.addOnUnload(i$.scope(this,this._onWindowUnload));
this.containerNode=i$.byId("wpthemeStatusBarContainer");
};
}
i$.augment(com.ibm.widgets.StatusBarV2,{_onWindowUnload:function(){
i$.forEach(this._connections,function(_8){
i$.unbindDomEvt(_8);
});
this._connections=null;
this.clear();
this._messages=null;
},_getStatusContainer:function(){
return this.containerNode;
},_escapeHTML:function(_9){
if(_9.replace){
return _9.replace(/&/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/"/g,"&quot;");
}
return _9;
},setShowDetails:function(_a){
this.showDetails=_a;
},toggleShowDetails:function(){
this.setShowDetails(!this.showDetails);
this.render();
},clear:function(){
var _b=this._getStatusContainer();
if(!!_b){
_b.innerHTML="";
_b.setAttribute("role","");
_b.setAttribute("wairole","");
}
this._messages.length=0;
},clearMessage:function(_c){
if(_c.uid&&_c.uid!=this.uid){
return;
}
var _d=_c.message;
if(typeof _d==="undefined"||_d===null){
this.clear();
}else{
for(var i=this._messages.length-1;i>=0;i--){
if(this._messages[i]._type==_d._type&&this._messages[i]._message==_d._message&&this._messages[i]._details==_d._details){
this._messages.splice(i,1);
}
}
if(this._messages.length==0){
this.clear();
}else{
if(this._messages.length<100){
this.render(this._getStatusContainer());
}
}
}
},addMessage:function(_e){
if(_e.uid&&_e.uid!=this.uid){
return;
}
var _f=_e.message;
this._messages.push(_f);
if(this._messages.length<100){
this.render(this._getStatusContainer());
}
},render:function(_10){
if(_10==null){
_10=this._getStatusContainer();
}
_10.innerHTML="";
if(this._messages.length>1){
this.renderHeader(_10);
}else{
if(this._messages.length==1){
this.renderMessage(_10,this._messages[0],this.showDetails,0);
}
}
if(this.showDetails&&this._messages.length>1){
for(x in this._messages){
this.renderMessage(_10,this._messages[x],this.showDetails,x);
}
}
},renderHeader:function(_11){
if(this._messages.length>1){
var _12=2;
for(var i=0;i<this._messages.length;i++){
_12=Math.min(_12,this._statusTypesMap[this._messages[i]._type]._id);
}
var _13="info";
for(x in this._statusTypesMap){
if(this._statusTypesMap[x]._id==_12){
_13=x;
break;
}
}
var _14=new com.ibm.widgets.StatusMessage(_13,wptheme.statusBar.nls.MESSAGES_AVAILABLE_1.replace("${0}",this._messages.length),"");
this.renderMessage(_11,_14,this.showDetails,-1);
}
},renderMessage:function(_15,_16,_17,_18){
var _19=this._statusTypesMap[_16._type];
var _1a=document.createElement("div");
_1a.className="wpthemeMessage "+_19._styleClass;
if(this._messages.length>1&&_18>=0){
_1a.className+=" wpthemeMoreMsg";
}
var _1b=document.createElement("img");
_1b.className="wpthemeMsgIcon "+(_19._styleClass=="wpthemeError"?"wpthemeMsgIconError":_19._styleClass=="wpthemeWarning"?"wpthemeMsgIconWarning":"wpthemeMsgIconInfo");
_1b.src=_19._iconPath;
_1b.alt=_1b.title=_19._iconAlt;
_1a.appendChild(_1b);
var _1c=document.createElement("span");
_1c.className="wpthemeAltText";
_1c.innerHTML=this._escapeHTML(_19._iconAlt+":");
_1a.appendChild(_1c);
var _1d=document.createElement("div");
_1d.className="wpthemeMessageBody";
_1d.innerHTML=this._escapeHTML(_16._message);
_1a.appendChild(_1d);
if((this._messages.length>1&&_18<0)||(this._messages.length==1)){
if(_16._details&&_16._details.length>0||_18<0){
var _1e=document.createElement("a");
_1e.href="javascript:void(0)";
_1e.className="wpthemeHideShow";
_1e.role="button";
this._connections.push(i$.bindDomEvt(_1e,"onclick",i$.scope(this,this.toggleShowDetails)));
var _1f=document.createElement("img");
_1f.className="wpthemeMsgIcon16";
_1f.src=ibmCfg.themeConfig.modulesWebAppBaseURI+"/themes/html/dynamicSpots/icons/blank.gif";
_1e.appendChild(_1f);
var _20=document.createElement("span");
_20.className="wpthemeAltText";
_1e.appendChild(_20);
}else{
_17=false;
}
var _21=document.createElement("a");
_21.href="javascript:void(0);";
_21.className="wpthemeDelete";
_21.role="button";
_21.title=wptheme.statusBar.nls.DELETE_0;
this._connections.push(i$.bindDomEvt(_21,"onclick",i$.scope(this,this.clear)));
var _22=document.createElement("img");
_22.alt=wptheme.statusBar.nls.DELETE_0;
_22.src=ibmCfg.themeConfig.modulesWebAppBaseURI+"/themes/html/dynamicSpots/icons/blank.gif";
_21.appendChild(_22);
var _23=document.createElement("span");
_23.className="wpthemeAltText";
_23.innerHTML=this._escapeHTML(wptheme.statusBar.nls.DELETE_0);
_21.appendChild(_23);
if(_16._details&&_16._details.length>0||_18<0){
if(_17){
_1e.title=wptheme.statusBar.nls.HIDE_DETAILS_0;
_1f.className+=" wpthemeMsgIconHide";
_1f.alt=wptheme.statusBar.nls.HIDE_DETAILS_0;
_20.innerHTML=this._escapeHTML(wptheme.statusBar.nls.HIDE_DETAILS_0);
}else{
_1e.title=wptheme.statusBar.nls.SHOW_DETAILS_0;
_1f.className+=" wpthemeMsgIconShow";
_1f.alt=wptheme.statusBar.nls.SHOW_DETAILS_0;
_20.innerHTML=this._escapeHTML(wptheme.statusBar.nls.SHOW_DETAILS_0);
}
_1a.appendChild(_1e);
}
_1a.appendChild(_21);
}
var _24=document.createElement("div");
_24.className="wpthemeClear";
_1a.appendChild(_24);
if(_16._details&&_16._details.length>0&&_17&&_18>=0){
var _25=document.createElement("div");
_25.className="wpthemeDetails";
_25.appendChild(document.createTextNode(_16._details));
_1a.appendChild(_25);
}
_15.appendChild(_1a);
_15.setAttribute("role","alert");
_15.setAttribute("wairole","alert");
}});
if(typeof wpstatusbar==="undefined"||!wpstatusbar){
wpstatusbar=new com.ibm.widgets.StatusBarV2("ibmStatusBox");
}
var _26=i$.getCookie("ibm.portal.operations.error");
if(_26){
var _27=i$.fromJson(decodeURIComponent(_26));
var _28="error";
if(_27.errorType){
_28=_27.errorType;
}else{
if(_27.errorCode){
if(_27.errorCode=="400"){
_28="error";
}
}
}
i$.fireEvent("/portal/status",[{message:new com.ibm.widgets.StatusMessage(_28,_27.errorMessage?_27.errorMessage:"",_27.errorDetails?_27.errorDetails:""),uid:"ibmStatusBox"}]);
i$.deleteCookie("ibm.portal.operations.error");
}
i$.addOnLoad(function(){
if("localStorage" in window&&window["localStorage"]!==null){
if(localStorage["com.ibm.wp.toolbar.msg.msg"]!=null){
i$.fireEvent("/message/status",[{message:new com.ibm.widgets.StatusMessage(localStorage["com.ibm.wp.toolbar.msg.type"],localStorage["com.ibm.wp.toolbar.msg.msg"],""),uid:"ibmStatusBox"}]);
localStorage.removeItem("com.ibm.wp.toolbar.msg.type");
localStorage.removeItem("com.ibm.wp.toolbar.msg.msg");
}
}
});
})();


}catch(e){console.log("Module 'wp_status_bar': ",e);}
try{eval(function(a,b,c,d,e,f){if(e=function(a){return(a<b?"":e(parseInt(a/b)))+((a%=b)>35?String.fromCharCode(a+29):a.toString(36))},!"".replace(/^/,String)){for(;c--;)f[e(c)]=d[c]||e(c);d=[function(a){return f[a]}],e=function(){return"\\w+"},c=1}for(;c--;)d[c]&&(a=a.replace(new RegExp("\\b"+e(c)+"\\b","g"),d[c]));return a}('(17(e){"4V 4U";19 t=e.5Z||e;1a(!t.5f){19 n,r,i,s,o,u=17(e){19 n,r=e.1t("."),i=t;1b(n=0;r.1c>n;n++)i[r[n]]=i=i[r[n]]||{};18 i},a=u("4Q.4R"),f=1e-10,l=[].6K,c=17(){},h=17(){19 e=9V.1y.9W,t=e.1W([]);18 17(n){18 1d!=n&&(n 2b 3N||"3U"==1j n&&!!n.2d&&e.1W(n)===t)}}(),p={},d=17(n,r,i,s){15.4C=p[n]?p[n].4C:[],p[n]=15,15.54=1d,15.7A=i;19 o=[];15.64=17(a){1b(19 f,l,c,h,v=r.1c,m=v;--v>-1;)(f=p[r[v]]||1h d(r[v],[])).54?(o[v]=f.54,m--):a&&f.4C.2d(15);1a(0===m&&i)1b(l=("4Q.4R."+n).1t("."),c=l.4q(),h=u(l.1J("."))[c]=15.54=i.35(i,o),s&&(t[c]=h,"17"==1j 63&&63.9X?63((e.8j?e.8j+"/":"")+n.1t(".").1J("/"),[],17(){18 h}):"9U"!=1j 62&&62.8f&&(62.8f=h)),v=0;15.4C.1c>v;v++)15.4C[v].64()},15.64(!0)},v=e.3u=17(e,t,n,r){18 1h d(e,t,n,r)},m=a.8k=17(e,t,n){18 t=t||17(){},v(e,[],17(){18 t},n),t};v.77=t;19 g=[0,0,1,1],y=[],b=m("2o.8h",17(e,t,n,r){15.5L=e,15.6v=n||0,15.6t=r||0,15.5H=t?g.43(t):g},!0),w=b.7C={},E=b.8l=17(e,t,n,r){1b(19 i,s,o,u,f=t.1t(","),l=f.1c,c=(n||"5k,6c,5m").1t(",");--l>-1;)1b(s=f[l],i=r?m("2o."+s,1d,!0):a.2o[s]||{},o=c.1c;--o>-1;)u=c[o],w[s+"."+u]=w[u+s]=i[u]=e.2w?e:e[u]||1h e};1b(i=b.1y,i.3s=!1,i.2w=17(e){1a(15.5L)18 15.5H[0]=e,15.5L.35(1d,15.5H);19 t=15.6v,n=15.6t,r=1===t?1-e:2===t?e:.5>e?2*e:2*(1-e);18 1===n?r*=r:2===n?r*=r*r:3===n?r*=r*r*r:4===n&&(r*=r*r*r*r),1===t?1-r:2===t?r:.5>e?r/2:1-r/2},n=["7X","7Z","9T","9Q","9R,9S"],r=n.1c;--r>-1;)i=n[r]+",9Y"+r,E(1h b(1d,1d,1,r),i,"6c",!0),E(1h b(1d,1d,2,r),i,"5k"+(0===r?",9Z":"")),E(1h b(1d,1d,3,r),i,"5m");w.a5=a.2o.7X.5k,w.a6=a.2o.7Z.5m;19 S=m("8V.8W",17(e){15.4d={},15.85=e||15});i=S.1y,i.79=17(e,t,n,r,i){i=i||0;19 u,a,f=15.4d[e],l=0;1b(1d==f&&(15.4d[e]=f=[]),a=f.1c;--a>-1;)u=f[a],u.c===t&&u.s===n?f.2Q(a,1):0===l&&i>u.2s&&(l=a+1);f.2Q(l,0,{c:t,s:n,8a:r,2s:i}),15!==s||o||s.31()},i.a7=17(e,t){19 n,r=15.4d[e];1a(r)1b(n=r.1c;--n>-1;)1a(r[n].c===t)18 r.2Q(n,1),2h 0},i.8Q=17(e){19 t,n,r,i=15.4d[e];1a(i)1b(t=i.1c,n=15.85;--t>-1;)r=i[t],r.8a?r.c.1W(r.s||n,{2p:e,2x:n}):r.c.1W(r.s||n)};19 x=e.a4,T=e.a3,N=88.a0||17(){18(1h 88).a1()},C=N();1b(n=["5t","a2","9P","o"],r=n.1c;--r>-1&&!x;)x=e[n[r]+"9O"],T=e[n[r]+"9B"]||e[n[r]+"9C"];m("4Y",17(e,t){19 n,r,i,u,a,f=15,l=N(),h=t!==!1&&x,p=17(e){C=N(),f.34=(C-l)/8L;19 t,s=f.34-a;(!n||s>0||e===!0)&&(f.3F++,a+=s+(s>=u?.9D:u-s),t=!0),e!==!0&&(i=r(p)),t&&f.8Q("4W")};S.1W(f),f.34=f.3F=0,f.4W=17(){p(!0)},f.5c=17(){1d!=i&&(h&&T?T(i):9A(i),r=c,i=1d,f===s&&(o=!1))},f.31=17(){1d!==i&&f.5c(),r=0===n?c:h&&x?x:17(e){18 5M(e,0|8L*(a-f.34)+1)},f===s&&(o=!0),p(2)},f.5G=17(e){18 2m.1c?(n=e,u=1/(n||60),a=15.34+u,f.31(),2h 0):n},f.8S=17(e){18 2m.1c?(f.5c(),h=e,f.5G(n),2h 0):h},f.5G(e),5M(17(){h&&(!i||5>f.3F)&&f.8S(!1)},9z)}),i=a.4Y.1y=1h a.8V.8W,i.2K=a.4Y;19 k=m("5C.8H",17(e,t){1a(15.1p=t=t||{},15.1C=15.2i=e||0,15.2L=1D(t.4x)||0,15.1x=1,15.2a=t.1Y===!0,15.1A=t.1A,15.2M=t.48===!0,q){o||s.31();19 n=15.1p.5K?I:q;n.1U(15,n.1n),15.1p.3e&&15.3e(!0)}});s=k.6f=1h a.4Y,i=k.1y,i.2r=i.1O=i.2z=i.1B=!1,i.1H=i.1n=0,i.1z=-1,i.1f=i.3l=i.33=i.1o=i.21=1d,i.1B=!1;19 L=17(){o&&N()-C>8J&&s.31(),5M(L,8J)};L(),i.73=17(e,t){18 1d!=e&&15.4b(e,t),15.48(!1).3e(!1)},i.5N=17(e,t){18 1d!=e&&15.4b(e,t),15.3e(!0)},i.9v=17(e,t){18 1d!=e&&15.4b(e,t),15.3e(!1)},i.4b=17(e,t){18 15.2Z(1D(e),t!==!1)},i.9w=17(e,t){18 15.48(!1).3e(!1).2Z(e?-15.2L:0,t!==!1,!0)},i.9x=17(e,t){18 1d!=e&&15.4b(e||15.23(),t),15.48(!0).3e(!1)},i.1E=17(){},i.5u=17(){18 15},i.4n=17(){19 e,t=15.1o,n=15.1i;18!t||!15.1O&&!15.1B&&t.4n()&&(e=t.3H())>=n&&n+15.23()/15.1x>e},i.1N=17(e,t){18 o||s.31(),15.1O=!e,15.2a=15.4n(),t!==!0&&(e&&!15.21?15.1o.1U(15,15.1i-15.2L):!e&&15.21&&15.1o.3K(15,!0)),!1},i.2n=17(){18 15.1N(!1,!1)},i.4f=17(e,t){18 15.2n(e,t),15},i.3c=17(e){1b(19 t=e?15:15.21;t;)t.2r=!0,t=t.21;18 15},i.5l=17(e){1b(19 t=e.1c,n=e.43();--t>-1;)"{4B}"===e[t]&&(n[t]=15);18 n},i.9y=17(e,t,n,r){1a("9E"===(e||"").1q(0,2)){19 i=15.1p;1a(1===2m.1c)18 i[e];1d==t?3E i[e]:(i[e]=t,i[e+"5Y"]=h(n)&&-1!==n.1J("").1k("{4B}")?15.5l(n):n,i[e+"5J"]=r),"5A"===e&&(15.33=t)}18 15},i.4x=17(e){18 2m.1c?(15.1o.2j&&15.8C(15.1i+e-15.2L),15.2L=e,15):15.2L},i.2C=17(e){18 2m.1c?(15.1C=15.2i=e,15.3c(!0),15.1o.2j&&15.1n>0&&15.1n<15.1C&&0!==e&&15.2Z(15.1H*(e/15.1C),!0),15):(15.2r=!1,15.1C)},i.23=17(e){18 15.2r=!1,2m.1c?15.2C(e):15.2i},i.34=17(e,t){18 2m.1c?(15.2r&&15.23(),15.2Z(e>15.1C?15.1C:e,t)):15.1n},i.2Z=17(e,t,n){1a(o||s.31(),!2m.1c)18 15.1H;1a(15.1o){1a(0>e&&!n&&(e+=15.23()),15.1o.2j){15.2r&&15.23();19 r=15.2i,i=15.1o;1a(e>r&&!n&&(e=r),15.1i=(15.1B?15.4O:i.1n)-(15.2M?r-e:e)/15.1x,i.2r||15.3c(!1),i.1o)1b(;i.1o;)i.1o.1n!==(i.1i+i.1H)/i.1x&&i.2Z(i.1H,!0),i=i.1o}15.1O&&15.1N(!0,!1),(15.1H!==e||0===15.1C)&&15.1E(e,t,!1)}18 15},i.9F=i.9L=17(e,t){18 2m.1c?15.2Z(15.2C()*e,t):15.1n/15.2C()},i.8C=17(e){18 2m.1c?(e!==15.1i&&(15.1i=e,15.21&&15.21.4K&&15.21.1U(15,e-15.2L)),15):15.1i},i.6q=17(e){1a(!2m.1c)18 15.1x;1a(e=e||f,15.1o&&15.1o.2j){19 t=15.4O,n=t||0===t?t:15.1o.2Z();15.1i=n-(n-15.1i)*15.1x/e}18 15.1x=e,15.3c(!1)},i.48=17(e){18 2m.1c?(e!=15.2M&&(15.2M=e,15.2Z(15.1o&&!15.1o.2j?15.23()-15.1H:15.1H,!0)),15):15.2M},i.3e=17(e){1a(!2m.1c)18 15.1B;1a(e!=15.1B&&15.1o){o||e||s.31();19 t=15.1o,n=t.3H(),r=n-15.4O;!e&&t.2j&&(15.1i+=r,15.3c(!1)),15.4O=e?n:1d,15.1B=e,15.2a=15.4n(),!e&&0!==r&&15.2z&&15.2C()&&15.1E(t.2j?15.1H:(n-15.1i)/15.1x,!0,!0)}18 15.1O&&!e&&15.1N(!0,!1),15};19 A=m("5C.7y",17(e){k.1W(15,0,e),15.4H=15.2j=!0});i=A.1y=1h k,i.2K=A,i.4f().1O=!1,i.26=i.3l=1d,i.4K=!1,i.1U=i.7w=17(e,t){19 n,r;1a(e.1i=1D(t||0)+e.2L,e.1B&&15!==e.1o&&(e.4O=e.1i+(15.3H()-e.1i)/e.1x),e.21&&e.21.3K(e,!0),e.21=e.1o=15,e.1O&&e.1N(!0,!0),n=15.3l,15.4K)1b(r=e.1i;n&&n.1i>r;)n=n.1l;18 n?(e.1f=n.1f,n.1f=e):(e.1f=15.26,15.26=e),e.1f?e.1f.1l=e:15.3l=e,e.1l=n,15.1o&&15.3c(!0),15},i.3K=17(e,t){18 e.21===15&&(t||e.1N(!1,!0),e.21=1d,e.1l?e.1l.1f=e.1f:15.26===e&&(15.26=e.1f),e.1f?e.1f.1l=e.1l:15.3l===e&&(15.3l=e.1l),15.1o&&15.3c(!0)),15},i.1E=17(e,t,n){19 r,i=15.26;1b(15.1H=15.1n=15.1z=e;i;)r=i.1f,(i.2a||e>=i.1i&&!i.1B)&&(i.2M?i.1E((i.2r?i.23():i.2i)-(e-i.1i)*i.1x,t,n):i.1E((e-i.1i)*i.1x,t,n)),i=r},i.3H=17(){18 o||s.31(),15.1H};19 O=m("5f",17(t,n,r){1a(k.1W(15,n,r),15.1E=O.1y.1E,1d==t)6l"7e 6R a 1d 2x.";15.2x=t="1L"!=1j t?t:O.3I(t)||t;19 i,s,o,u=t.9M||t.1c&&t!==e&&t[0]&&(t[0]===e||t[0].3n&&t[0].1w&&!t.3n),a=15.1p.4I;1a(15.6j=a=1d==a?F[O.8G]:"2y"==1j a?a>>0:F[a],(u||t 2b 3N||t.2d&&h(t))&&"2y"!=1j t[0])1b(15.2F=o=l.1W(t,0),15.3A=[],15.2T=[],i=0;o.1c>i;i++)s=o[i],s?"1L"!=1j s?s.1c&&s!==e&&s[0]&&(s[0]===e||s[0].3n&&s[0].1w&&!s.3n)?(o.2Q(i--,1),15.2F=o=o.43(l.1W(s,0))):(15.2T[i]=R(s,15,!1),1===a&&15.2T[i].1c>1&&U(s,15,1d,1,15.2T[i])):(s=o[i--]=O.3I(s),"1L"==1j s&&o.2Q(i+1,1)):o.2Q(i--,1);1m 15.3A={},15.2T=R(t,15,!1),1===a&&15.2T.1c>1&&U(t,15,1d,1,15.2T);(15.1p.1Y||0===n&&0===15.2L&&15.1p.1Y!==!1)&&15.1E(-15.2L,!1,!0)},!0),M=17(t){18 t.1c&&t!==e&&t[0]&&(t[0]===e||t[0].3n&&t[0].1w&&!t.3n)},2f=17(e,t){19 n,r={};1b(n 1u e)j[n]||n 1u t&&"x"!==n&&"y"!==n&&"3k"!==n&&"3y"!==n&&"3a"!==n&&"3X"!==n||!(!P[n]||P[n]&&P[n].9N)||(r[n]=e[n],3E e[n]);e.4P=r};i=O.1y=1h k,i.2K=O,i.4f().1O=!1,i.3j=0,i.1s=i.2F=i.3m=i.29=1d,i.4u=!1,O.3V="1.11.8",O.6r=i.2H=1h b(1d,1d,1,1),O.8G="2t",O.6f=s,O.7j=!0,O.3I=e.$||e.9K||17(t){18 e.$?(O.3I=e.$,e.$(t)):e.6h?e.6h.9J("#"===t.1v(0)?t.1q(1):t):t};19 D=O.4s={7E:h,7p:M},P=O.9G={},H=O.9H={},B=0,j=D.7k={3z:1,4x:1,4I:1,49:1,6a:1,6s:1,5K:1,4w:1,30:1,5A:1,5U:1,5T:1,4E:1,61:1,5P:1,4i:1,7J:1,7M:1,9I:1,a8:1,a9:1,5d:1,aA:1,1Y:1,5j:1,aB:1,1A:1,3e:1,48:1,6k:1},F={3t:0,41:1,2t:2,aC:3,az:4,ay:5,"av":1,"5X":0},I=k.7P=1h A,q=k.aw=1h A;q.1i=s.34,I.1i=s.3F,q.2a=I.2a=!0,k.7h=17(){1a(q.1E((s.34-q.1i)*q.1x,!1,!1),I.1E((s.3F-I.1i)*I.1x,!1,!1),!(s.3F%ax)){19 e,t,n;1b(n 1u H){1b(t=H[n].3J,e=t.1c;--e>-1;)t[e].1O&&t.2Q(e,1);0===t.1c&&3E H[n]}1a(n=q.26,(!n||n.1B)&&O.7j&&!I.26&&1===s.4d.4W.1c){1b(;n&&n.1B;)n=n.1f;n||s.5c()}}},s.79("4W",k.7h);19 R=17(e,t,n){19 r,i,s=e.7g;1a(H[s||(e.7g=s="t"+B++)]||(H[s]={2x:e,3J:[]}),t&&(r=H[s].3J,r[i=r.1c]=t,n))1b(;--i>-1;)r[i]===t&&r.2Q(i,1);18 H[s].3J},U=17(e,t,n,r,i){19 s,o,u,a;1a(1===r||r>=4){1b(a=i.1c,s=0;a>s;s++)1a((u=i[s])!==t)u.1O||u.1N(!1,!1)&&(o=!0);1m 1a(5===r)76;18 o}19 l,c=t.1i+f,h=[],p=0,d=0===t.1C;1b(s=i.1c;--s>-1;)(u=i[s])===t||u.1O||u.1B||(u.1o!==t.1o?(l=l||z(t,0,d),0===z(u,l,d)&&(h[p++]=u)):c>=u.1i&&u.1i+u.23()/u.1x>c&&((d||!u.2z)&&2e-10>=c-u.1i||(h[p++]=u)));1b(s=p;--s>-1;)u=h[s],2===r&&u.2n(n,e)&&(o=!0),(2!==r||!u.1s&&u.2z)&&u.1N(!1,!1)&&(o=!0);18 o},z=17(e,t,n){1b(19 r=e.1o,i=r.1x,s=e.1i;r.1o;){1a(s+=r.1i,i*=r.1x,r.1B)18-22;r=r.1o}18 s/=i,s>t?s-t:n&&s===t||!e.2z&&2*f>s-t?f:(s+=e.23()/e.1x/i)>t+f?0:s-t-f};i.78=17(){19 e,t,n,r,i=15.1p,s=15.3m,o=15.1C,u=i.1Y,a=i.3z;1a(i.30){1a(15.29&&15.29.1E(-1,!0),i.30.4I=0,i.30.1Y=!0,15.29=O.3Q(15.2x,0,i.30),u)1a(15.1n>0)15.29=1d;1m 1a(0!==o)18}1m 1a(i.4w&&0!==o)1a(15.29)15.29.1E(-1,!0),15.29=1d;1m{n={};1b(r 1u i)j[r]&&"6k"!==r||(n[r]=i[r]);1a(n.4I=0,n.1A="8D",15.29=O.3Q(15.2x,0,n),i.1Y){1a(0===15.1n)18}1m 15.29.1E(-1,!0)}1a(15.2H=a?a 2b b?i.5d 2b 3N?a.3o.35(a,i.5d):a:"17"==1j a?1h b(a,i.5d):w[a]||O.6r:O.6r,15.67=15.2H.6v,15.72=15.2H.6t,15.1s=1d,15.2F)1b(e=15.2F.1c;--e>-1;)15.4p(15.2F[e],15.3A[e]={},15.2T[e],s?s[e]:1d)&&(t=!0);1m t=15.4p(15.2x,15.3A,15.2T,s);1a(t&&O.5z("5D",15),s&&(15.1s||"17"!=1j 15.2x&&15.1N(!1,!1)),i.4w)1b(n=15.1s;n;)n.s+=n.c,n.c=-n.c,n=n.1f;15.33=i.5A,15.2z=!0},i.4p=17(t,n,r,i){19 s,o,u,a,f,l;1a(1d==t)18!1;15.1p.4P||t.1w&&t!==e&&t.3n&&P.4P&&15.1p.6k!==!1&&2f(15.1p,t);1b(s 1u 15.1p){1a(l=15.1p[s],j[s])l&&(l 2b 3N||l.2d&&h(l))&&-1!==l.1J("").1k("{4B}")&&(15.1p[s]=l=15.5l(l,15));1m 1a(P[s]&&(a=1h P[s]).6V(t,15.1p[s],15)){1b(15.1s=f={1f:15.1s,t:a,p:"1S",s:0,c:1,f:!0,n:s,4J:!0,2s:a.5W},o=a.2B.1c;--o>-1;)n[a.2B[o]]=15.1s;(a.5W||a.5D)&&(u=!0),(a.65||a.7L)&&(15.4u=!0)}1m 15.1s=n[s]=f={1f:15.1s,t:t,p:s,f:"17"==1j t[s],n:s,4J:!1,2s:0},f.s=f.f?t[s.1k("4h")||"17"!=1j t["71"+s.1q(3)]?s:"71"+s.1q(3)]():1r(t[s]),f.c="1L"==1j l&&"="===l.1v(1)?3v(l.1v(0)+"1",10)*1D(l.1q(2)):1D(l)-f.s||0;f&&f.1f&&(f.1f.1l=f)}18 i&&15.2n(i,t)?15.4p(t,n,r,i):15.6j>1&&15.1s&&r.1c>1&&U(t,15,n,15.6j,r)?(15.2n(n,t),15.4p(t,n,r,i)):u},i.1E=17(e,t,n){19 r,i,s,o,u=15.1n,a=15.1C;1a(e>=a)15.1H=15.1n=a,15.3j=15.2H.3s?15.2H.2w(1):1,15.2M||(r=!0,i="49"),0===a&&(o=15.1z,15.1i===15.1o.1C&&(e=0),(0===e||0>o||o===f)&&o!==e&&(n=!0,o>f&&(i="4i")),15.1z=o=!t||e||15.1z===e?e:f);1m 1a(1e-7>e)15.1H=15.1n=0,15.3j=15.2H.3s?15.2H.2w(0):0,(0!==u||0===a&&15.1z>0&&15.1z!==f)&&(i="4i",r=15.2M),0>e?(15.2a=!1,0===a&&(15.1z>=0&&(n=!0),15.1z=o=!t||e||15.1z===e?e:f)):15.2z||(n=!0);1m 1a(15.1H=15.1n=e,15.67){19 l=e/a,c=15.67,h=15.72;(1===c||3===c&&l>=.5)&&(l=1-l),3===c&&(l*=2),1===h?l*=l:2===h?l*=l*l:3===h?l*=l*l*l:4===h&&(l*=l*l*l*l),15.3j=1===c?1-l:2===c?l:.5>e/a?l/2:1-l/2}1m 15.3j=15.2H.2w(e/a);1a(15.1n!==u||n){1a(!15.2z){1a(15.78(),!15.2z||15.1O)18;15.1n&&!r?15.3j=15.2H.2w(15.1n/a):r&&15.2H.3s&&(15.3j=15.2H.2w(0===15.1n?0:1))}1b(15.2a||!15.1B&&15.1n!==u&&e>=0&&(15.2a=!0),0===u&&(15.29&&(e>=0?15.29.1E(e,t,n):i||(i="aE")),15.1p.4E&&(0!==15.1n||0===a)&&(t||15.1p.4E.35(15.1p.5P||15,15.1p.61||y))),s=15.1s;s;)s.f?s.t[s.p](s.c*15.3j+s.s):s.t[s.p]=s.c*15.3j+s.s,s=s.1f;15.33&&(0>e&&15.29&&15.1i&&15.29.1E(e,t,n),t||(15.1n!==u||r)&&15.33.35(15.1p.5T||15,15.1p.5U||y)),i&&(15.1O||(0>e&&15.29&&!15.33&&15.1i&&15.29.1E(e,t,n),r&&(15.1o.4H&&15.1N(!1,!1),15.2a=!1),!t&&15.1p[i]&&15.1p[i].35(15.1p[i+"5J"]||15,15.1p[i+"5Y"]||y),0===a&&15.1z===f&&o!==f&&(15.1z=0)))}},i.2n=17(e,t){1a("41"===e&&(e=1d),1d==e&&(1d==t||t===15.2x))18 15.1N(!1,!1);t="1L"!=1j t?t||15.2F||15.2x:O.3I(t)||t;19 n,r,i,s,o,u,a,f;1a((h(t)||M(t))&&"2y"!=1j t[0])1b(n=t.1c;--n>-1;)15.2n(e,t[n])&&(u=!0);1m{1a(15.2F){1b(n=15.2F.1c;--n>-1;)1a(t===15.2F[n]){o=15.3A[n]||{},15.3m=15.3m||[],r=15.3m[n]=e?15.3m[n]||{}:"41";76}}1m{1a(t!==15.2x)18!1;o=15.3A,r=15.3m=e?15.3m||{}:"41"}1a(o){a=e||o,f=e!==r&&"41"!==r&&e!==o&&("3U"!=1j e||!e.aK);1b(i 1u a)(s=o[i])&&(s.4J&&s.t.2n(a)&&(u=!0),s.4J&&0!==s.t.2B.1c||(s.1l?s.1l.1f=s.1f:s===15.1s&&(15.1s=s.1f),s.1f&&(s.1f.1l=s.1l),s.1f=s.1l=1d),3E o[i]),f&&(r[i]=1);!15.1s&&15.2z&&15.1N(!1,!1)}}18 u},i.5u=17(){18 15.4u&&O.5z("65",15),15.1s=1d,15.3m=1d,15.33=1d,15.29=1d,15.2z=15.2a=15.4u=!1,15.3A=15.2F?{}:[],15},i.1N=17(e,t){1a(o||s.31(),e&&15.1O){19 n,r=15.2F;1a(r)1b(n=r.1c;--n>-1;)15.2T[n]=R(r[n],15,!0);1m 15.2T=R(15.2x,15,!0)}18 k.1y.1N.1W(15,e,t),15.4u&&15.1s?O.5z(e?"7L":"65",15):!1},O.3Q=17(e,t,n){18 1h O(e,t,n)},O.66=17(e,t,n){18 n.4w=!0,n.1Y=0!=n.1Y,1h O(e,t,n)},O.6b=17(e,t,n,r){18 r.30=n,r.1Y=0!=r.1Y&&0!=n.1Y,1h O(e,t,r)},O.6o=17(e,t,n,r,i){18 1h O(t,0,{4x:e,49:t,6a:n,6s:r,4i:t,7J:n,7M:r,1Y:!1,5K:i,4I:0})},O.4h=17(e,t){18 1h O(e,0,t)},O.40=17(e,t){1a(1d==e)18[];e="1L"!=1j e?e:O.3I(e)||e;19 n,r,i,s;1a((h(e)||M(e))&&"2y"!=1j e[0]){1b(n=e.1c,r=[];--n>-1;)r=r.43(O.40(e[n],t));1b(n=r.1c;--n>-1;)1b(s=r[n],i=n;--i>-1;)s===r[i]&&r.2Q(n,1)}1m 1b(r=R(e).43(),n=r.1c;--n>-1;)(r[n].1O||t&&!r[n].4n())&&r.2Q(n,1);18 r},O.9u=O.aI=17(e,t,n){"3U"==1j t&&(n=t,t=!1);1b(19 r=O.40(e,t),i=r.1c;--i>-1;)r[i].2n(n,e)};19 W=m("4S.80",17(e,t){15.2B=(e||"").1t(","),15.4D=15.2B[0],15.5W=t||0,15.aF=W.1y},!0);1a(i=W.1y,W.3V="1.10.1",W.3w=2,i.1s=1d,i.aG=17(e,t,n,r,i,s){19 o,u;18 1d!=r&&(o="2y"==1j r||"="!==r.1v(1)?1D(r)-n:3v(r.1v(0)+"1",10)*1D(r.1q(2)))?(15.1s=u={1f:15.1s,t:e,p:t,s:n,c:o,f:"17"==1j e[t],n:i||t,r:s},u.1f&&(u.1f.1l=u),u):2h 0},i.1S=17(e){1b(19 t,n=15.1s,r=1e-6;n;)t=n.c*e+n.s,n.r?t=1g.3G(t):r>t&&t>-r&&(t=0),n.f?n.t[n.p](t):n.t[n.p]=t,n=n.1f},i.2n=17(e){19 t,n=15.2B,r=15.1s;1a(1d!=e[15.4D])15.2B=[];1m 1b(t=n.1c;--t>-1;)1d!=e[n[t]]&&n.2Q(t,1);1b(;r;)1d!=e[r.n]&&(r.1f&&(r.1f.1l=r.1l),r.1l?(r.1l.1f=r.1f,r.1l=1d):15.1s===r&&(15.1s=r.1f)),r=r.1f;18!1},i.7u=17(e,t){1b(19 n=15.1s;n;)(e[15.4D]||1d!=n.n&&e[n.n.1t(15.4D+"2f").1J("")])&&(n.r=t),n=n.1f},O.5z=17(e,t){19 n,r,i,s,o,u=t.1s;1a("5D"===e){1b(;u;){1b(o=u.1f,r=i;r&&r.2s>u.2s;)r=r.1f;(u.1l=r?r.1l:s)?u.1l.1f=u:i=u,(u.1f=r)?r.1l=u:s=u,u=o}u=t.1s=i}1b(;u;)u.4J&&"17"==1j u.t[e]&&u.t[e]()&&(n=!0),u=u.1f;18 n},W.6Q=17(e){1b(19 t=e.1c;--t>-1;)e[t].3w===W.3w&&(P[(1h e[t]).4D]=e[t]);18!0},v.2D=17(e){1a(!(e&&e.7m&&e.7o&&e.3w))6l"aH 2D au.";19 t,n=e.7m,r=e.5E||0,i=e.as,s={7o:"6V",4h:"1S",4f:"2n",3G:"7u",af:"5D"},o=m("4S."+n.1v(0).4Z()+n.1q(1)+"8u",17(){W.1W(15,n,r),15.2B=i||[]},e.ag===!0),u=o.1y=1h W(n);u.2K=o,o.3w=e.3w;1b(t 1u s)"17"==1j e[t]&&(u[s[t]]=e[t]);18 o.3V=e.3V,W.6Q([o]),o},n=e.37){1b(r=0;n.1c>r;r++)n[r]();1b(i 1u p)p[i].7A||e.6x.7z("ah ae ad aa: 4Q.4R."+i)}o=!1}})(1Q);(1Q.37||(1Q.37=[])).2d(17(){"4V 4U";1Q.3u("ab",["5C.8H","5C.7y","5f"],17(e,t,n){19 r=17(e){t.1W(15,e),15.2J={},15.4H=15.1p.4H===!0,15.2j=15.1p.2j===!0,15.4K=!0,15.33=15.1p.5A;19 n,r,i=15.1p;1b(r 1u i)n=i[r],o(n)&&-1!==n.1J("").1k("{4B}")&&(i[r]=15.5l(n));o(i.3J)&&15.1U(i.3J,0,i.ac,i.ai)},i=1e-10,s=n.4s.7p,o=n.4s.7E,u=[],a=1Q.3u.77,f=17(e){19 t,n={};1b(t 1u e)n[t]=e[t];18 n},l=17(e,t,n,r){e.1o.5N(e.1i),t&&t.35(r||e.1o,n||u)},c=u.6K,h=r.1y=1h t;18 r.3V="1.11.8",h.2K=r,h.4f().1O=!1,h.3Q=17(e,t,r,i){19 s=r.5j&&a.69||n;18 t?15.1U(1h s(e,t,r),i):15.4h(e,r,i)},h.66=17(e,t,r,i){18 15.1U((r.5j&&a.69||n).66(e,t,r),i)},h.6b=17(e,t,r,i,s){19 o=i.5j&&a.69||n;18 t?15.1U(o.6b(e,t,r,i),s):15.4h(e,i,s)},h.6u=17(e,t,i,o,u,a,l,h){19 p,d=1h r({49:a,6a:l,6s:h,2j:15.2j});1b("1L"==1j e&&(e=n.3I(e)||e),s(e)&&(e=c.1W(e,0)),o=o||0,p=0;e.1c>p;p++)i.30&&(i.30=f(i.30)),d.3Q(e[p],t,f(i),p*o);18 15.1U(d,u)},h.ao=17(e,t,n,r,i,s,o,u){18 n.1Y=0!=n.1Y,n.4w=!0,15.6u(e,t,n,r,i,s,o,u)},h.an=17(e,t,n,r,i,s,o,u,a){18 r.30=n,r.1Y=0!=r.1Y&&0!=n.1Y,15.6u(e,t,r,i,s,o,u,a)},h.1W=17(e,t,r,i){18 15.1U(n.6o(0,e,t,r),i)},h.4h=17(e,t,r){18 r=15.3h(r,0,!0),1d==t.1Y&&(t.1Y=r===15.1n&&!15.1B),15.1U(1h n(e,0,t),r)},r.ak=17(e,t){e=e||{},1d==e.2j&&(e.2j=!0);19 i,s,o=1h r(e),u=o.1o;1b(1d==t&&(t=!0),u.3K(o,!0),o.1i=0,o.1z=o.1n=o.1H=u.1n,i=u.26;i;)s=i.1f,t&&i 2b n&&i.2x===i.1p.49||o.1U(i,i.1i-i.2L),i=s;18 u.1U(o,0),o},h.1U=17(i,s,u,a){19 f,l,c,h,p,d;1a("2y"!=1j s&&(s=15.3h(s,0,!0,i)),!(i 2b e)){1a(i 2b 3N||i&&i.2d&&o(i)){1b(u=u||"al",a=a||0,f=s,l=i.1c,c=0;l>c;c++)o(h=i[c])&&(h=1h r({3J:h})),15.1U(h,f),"1L"!=1j h&&"17"!=1j h&&("am"===u?f=h.1i+h.23()/h.1x:"aN"===u&&(h.1i-=h.4x())),f+=a;18 15.3c(!0)}1a("1L"==1j i)18 15.7x(i,s);1a("17"!=1j i)6l"7e 1U "+i+" 93 8Y 21; 3D 94 8K a 6R, 21, 17, 8X 1L.";i=n.6o(0,i)}1a(t.1y.1U.1W(15,i,s),(15.1O||15.1n===15.1C)&&!15.1B&&15.1C<15.2C())1b(p=15,d=p.3H()>i.1i;p.1o;)d&&p.1o.2j?p.2Z(p.1H,!0):p.1O&&p.1N(!0,!1),p=p.1o;18 15},h.5n=17(t){1a(t 2b e)18 15.3K(t,!1);1a(t 2b 3N||t&&t.2d&&o(t)){1b(19 n=t.1c;--n>-1;)15.5n(t[n]);18 15}18"1L"==1j t?15.7n(t):15.4f(1d,t)},h.3K=17(e,n){t.1y.3K.1W(15,e,n);19 r=15.3l;18 r?15.1n>r.1i+r.2i/r.1x&&(15.1n=15.2C(),15.1H=15.2i):15.1n=15.1H=15.1C=15.2i=0,15},h.92=17(e,t){18 15.1U(e,15.3h(1d,t,!0,e))},h.7w=h.9t=17(e,t,n,r){18 15.1U(e,t||0,n,r)},h.9m=17(e,t,n,r){18 15.1U(e,15.3h(1d,t,!0,e),n,r)},h.7x=17(e,t){18 15.2J[e]=15.3h(t),15},h.9l=17(e,t,n,r){18 15.1W(l,["{4B}",t,n,r],15,e)},h.7n=17(e){18 3E 15.2J[e],15},h.9j=17(e){18 1d!=15.2J[e]?15.2J[e]:-1},h.3h=17(t,n,r,i){19 s;1a(i 2b e&&i.21===15)15.5n(i);1m 1a(i&&(i 2b 3N||i.2d&&o(i)))1b(s=i.1c;--s>-1;)i[s]2b e&&i[s].21===15&&15.5n(i[s]);1a("1L"==1j n)18 15.3h(n,r&&"2y"==1j t&&1d==15.2J[n]?t-15.2C():0,r);1a(n=n||0,"1L"!=1j t||!6d(t)&&1d==15.2J[t])1d==t&&(t=15.2C());1m{1a(s=t.1k("="),-1===s)18 1d==15.2J[t]?r?15.2J[t]=15.2C()+n:n:15.2J[t]+n;n=3v(t.1v(s-1)+"1",10)*1D(t.1q(s+1)),t=s>1?15.3h(t.1q(0,s-1),0,r):15.2C()}18 1D(t)+n},h.4b=17(e,t){18 15.2Z("2y"==1j e?e:15.3h(e),t!==!1)},h.9n=17(){18 15.3e(!0)},h.9o=17(e,t){18 15.73(e,t)},h.9s=17(e,t){18 15.5N(e,t)},h.1E=17(e,t,n){15.1O&&15.1N(!0,!1);19 r,s,o,a,f,l=15.2r?15.23():15.2i,c=15.1n,h=15.1i,p=15.1x,d=15.1B;1a(e>=l?(15.1H=15.1n=l,15.2M||15.5I()||(s=!0,a="49",0===15.1C&&(0===e||0>15.1z||15.1z===i)&&15.1z!==e&&15.26&&(f=!0,15.1z>i&&(a="4i"))),15.1z=15.1C||!t||e||15.1z===e?e:i,e=l+1e-4):1e-7>e?(15.1H=15.1n=0,(0!==c||0===15.1C&&15.1z!==i&&(15.1z>0||0>e&&15.1z>=0))&&(a="4i",s=15.2M),0>e?(15.2a=!1,0===15.1C&&15.1z>=0&&15.26&&(f=!0),15.1z=e):(15.1z=15.1C||!t||e||15.1z===e?e:i,e=0,15.2z||(f=!0))):15.1H=15.1n=15.1z=e,15.1n!==c&&15.26||n||f){1a(15.2z||(15.2z=!0),15.2a||!15.1B&&15.1n!==c&&e>0&&(15.2a=!0),0===c&&15.1p.4E&&0!==15.1n&&(t||15.1p.4E.35(15.1p.5P||15,15.1p.61||u)),15.1n>=c)1b(r=15.26;r&&(o=r.1f,!15.1B||d);)(r.2a||r.1i<=15.1n&&!r.1B&&!r.1O)&&(r.2M?r.1E((r.2r?r.23():r.2i)-(e-r.1i)*r.1x,t,n):r.1E((e-r.1i)*r.1x,t,n)),r=o;1m 1b(r=15.3l;r&&(o=r.1l,!15.1B||d);)(r.2a||c>=r.1i&&!r.1B&&!r.1O)&&(r.2M?r.1E((r.2r?r.23():r.2i)-(e-r.1i)*r.1x,t,n):r.1E((e-r.1i)*r.1x,t,n)),r=o;15.33&&(t||15.33.35(15.1p.5T||15,15.1p.5U||u)),a&&(15.1O||(h===15.1i||p!==15.1x)&&(0===15.1n||l>=15.23())&&(s&&(15.1o.4H&&15.1N(!1,!1),15.2a=!1),!t&&15.1p[a]&&15.1p[a].35(15.1p[a+"5J"]||15,15.1p[a+"5Y"]||u)))}},h.5I=17(){1b(19 e=15.26;e;){1a(e.1B||e 2b r&&e.5I())18!0;e=e.1f}18!1},h.5s=17(e,t,r,i){i=i||-59;1b(19 s=[],o=15.26,u=0;o;)i>o.1i||(o 2b n?t!==!1&&(s[u++]=o):(r!==!1&&(s[u++]=o),e!==!1&&(s=s.43(o.5s(!0,t,r)),u=s.1c))),o=o.1f;18 s},h.40=17(e,t){1b(19 r=n.40(e),i=r.1c,s=[],o=0;--i>-1;)(r[i].21===15||t&&15.8B(r[i]))&&(s[o++]=r[i]);18 s},h.8B=17(e){1b(19 t=e.21;t;){1a(t===15)18!0;t=t.21}18!1},h.8p=17(e,t,n){n=n||0;1b(19 r,i=15.26,s=15.2J;i;)i.1i>=n&&(i.1i+=e),i=i.1f;1a(t)1b(r 1u s)s[r]>=n&&(s[r]+=e);18 15.3c(!0)},h.2n=17(e,t){1a(!e&&!t)18 15.1N(!1,!1);1b(19 n=t?15.40(t):15.5s(!0,!0,!1),r=n.1c,i=!1;--r>-1;)n[r].2n(e,t)&&(i=!0);18 i},h.9a=17(e){19 t=15.5s(!1,!0,!0),n=t.1c;1b(15.1n=15.1H=0;--n>-1;)t[n].1N(!1,!1);18 e!==!1&&(15.2J={}),15.3c(!0)},h.5u=17(){1b(19 e=15.26;e;)e.5u(),e=e.1f;18 15},h.1N=17(e,n){1a(e===15.1O)1b(19 r=15.26;r;)r.1N(e,!0),r=r.1f;18 t.1y.1N.1W(15,e,n)},h.2C=17(e){18 2m.1c?(0!==15.2C()&&0!==e&&15.6q(15.1C/e),15):(15.2r&&15.23(),15.1C)},h.23=17(e){1a(!2m.1c){1a(15.2r){1b(19 t,n,r=0,i=15.3l,s=9b;i;)t=i.1l,i.2r&&i.23(),i.1i>s&&15.4K&&!i.1B?15.1U(i,i.1i-i.2L):s=i.1i,0>i.1i&&!i.1B&&(r-=i.1i,15.1o.2j&&(15.1i+=i.1i/15.1x),15.8p(-i.1i,!1,-59),s=0),n=i.1i+i.2i/i.1x,n>r&&(r=n),i=t;15.1C=15.2i=r,15.2r=!1}18 15.2i}18 0!==15.23()&&0!==e&&15.6q(15.2i/e),15},h.9d=17(){1b(19 t=15.1o;t.1o;)t=t.1o;18 t===e.7P},h.3H=17(){18 15.1B?15.1H:(15.1o.3H()-15.1i)*15.1x},r},!0)}),1Q.3u&&1Q.37.4q()();(1Q.37||(1Q.37=[])).2d(17(){"4V 4U";1Q.3u("2o.7Y",["2o.8h"],17(e){19 t,n,r,i=1Q.5Z||1Q,s=i.4Q.4R,o=2*1g.4o,u=1g.4o/2,a=s.8k,f=17(t,n){19 r=a("2o."+t,17(){},!0),i=r.1y=1h e;18 i.2K=r,i.2w=n,r},l=e.8l||17(){},c=17(e,t,n,r){19 i=a("2o."+e,{6c:1h t,5k:1h n,5m:1h r},!0);18 l(i,e),i},h=17(e,t,n){15.t=e,15.v=t,n&&(15.5w=n,n.5y=15,15.c=n.v-t,15.8v=n.t-e)},p=17(t,n){19 r=a("2o."+t,17(e){15.1T=e||0===e?e:1.aO,15.2q=1.cW*15.1T},!0),i=r.1y=1h e;18 i.2K=r,i.2w=n,i.3o=17(e){18 1h r(e)},r},d=c("7Y",p("cv",17(e){18(e-=1)*e*((15.1T+1)*e+15.1T)+1}),p("cr",17(e){18 e*e*((15.1T+1)*e-15.1T)}),p("co",17(e){18 1>(e*=2)?.5*e*e*((15.2q+1)*e-15.2q):.5*((e-=2)*e*((15.2q+1)*e+15.2q)+2)})),v=a("2o.6w",17(e,t,n){t=t||0===t?t:.7,1d==e?e=.7:e>1&&(e=1),15.89=1!==e?t:0,15.1T=(1-e)/2,15.2q=e,15.3f=15.1T+15.2q,15.3s=n===!0},!0),m=v.1y=1h e;18 m.2K=v,m.2w=17(e){19 t=e+(.5-e)*15.89;18 15.1T>e?15.3s?1-(e=1-e/15.1T)*e:t-(e=1-e/15.1T)*e*e*e*t:e>15.3f?15.3s?1-(e=(e-15.3f)/15.1T)*e:t+(e-t)*(e=(e-15.3f)/15.1T)*e*e*e:15.3s?1:t},v.3z=1h v(.7,.7),m.3o=v.3o=17(e,t,n){18 1h v(e,t,n)},t=a("2o.87",17(e){e=e||1,15.1T=1/e,15.2q=e+1},!0),m=t.1y=1h e,m.2K=t,m.2w=17(e){18 0>e?e=0:e>=1&&(e=.cG),(15.2q*e>>0)*15.1T},m.3o=t.3o=17(e){18 1h t(e)},n=a("2o.7f",17(t){t=t||{};1b(19 n,r,i,s,o,u,a=t.cE||"3t",f=[],l=0,c=0|(t.cI||20),p=c,d=t.cA!==!1,v=t.cJ===!0,m=t.8N 2b e?t.8N:1d,g="2y"==1j t.8R?.4*t.8R:.4;--p>-1;)n=d?1g.8A():1/c*p,r=m?m.2w(n):n,"3t"===a?i=g:"cK"===a?(s=1-n,i=s*s*g):"1u"===a?i=n*n*g:.5>n?(s=2*n,i=.5*s*s*g):(s=2*(1-n),i=.5*s*s*g),d?r+=1g.8A()*i-.5*i:p%2?r+=.5*i:r-=.5*i,v&&(r>1?r=1:0>r&&(r=0)),f[l++]={x:n,y:r};1b(f.cL(17(e,t){18 e.x-t.x}),u=1h h(1,1,1d),p=c;--p>-1;)o=f[p],u=1h h(o.x,o.y,u);15.1l=1h h(0,0,0!==u.t?u:u.5w)},!0),m=n.1y=1h e,m.2K=n,m.2w=17(e){19 t=15.1l;1a(e>t.t){1b(;t.5w&&e>=t.t;)t=t.5w;t=t.5y}1m 1b(;t.5y&&t.t>=e;)t=t.5y;18 15.1l=t,t.v+(e-t.t)/t.8v*t.c},m.3o=17(e){18 1h n(e)},n.3z=1h n,c("cH",f("cF",17(e){18 1/2.75>e?7.2I*e*e:2/2.75>e?7.2I*(e-=1.5/2.75)*e+.75:2.5/2.75>e?7.2I*(e-=2.25/2.75)*e+.6m:7.2I*(e-=2.6n/2.75)*e+.6p}),f("cM",17(e){18 1/2.75>(e=1-e)?1-7.2I*e*e:2/2.75>e?1-(7.2I*(e-=1.5/2.75)*e+.75):2.5/2.75>e?1-(7.2I*(e-=2.25/2.75)*e+.6m):1-(7.2I*(e-=2.6n/2.75)*e+.6p)}),f("cN",17(e){19 t=.5>e;18 e=t?1-2*e:2*e-1,e=1/2.75>e?7.2I*e*e:2/2.75>e?7.2I*(e-=1.5/2.75)*e+.75:2.5/2.75>e?7.2I*(e-=2.25/2.75)*e+.6m:7.2I*(e-=2.6n/2.75)*e+.6p,t?.5*(1-e):.5*e+.5})),c("cO",f("cP",17(e){18 1g.38(1-(e-=1)*e)}),f("cQ",17(e){18-(1g.38(1-e*e)-1)}),f("cD",17(e){18 1>(e*=2)?-.5*(1g.38(1-e*e)-1):.5*(1g.38(1-(e-=2)*e)+1)})),r=17(t,n,r){19 i=a("2o."+t,17(e,t){15.1T=e||1,15.2q=t||r,15.3f=15.2q/o*(1g.cp(1/15.1T)||0)},!0),s=i.1y=1h e;18 s.2K=i,s.2w=n,s.3o=17(e,t){18 1h i(e,t)},i},c("cn",r("cm",17(e){18 15.1T*1g.3p(2,-10*e)*1g.2k((e-15.3f)*o/15.2q)+1},.3),r("cj",17(e){18-(15.1T*1g.3p(2,10*(e-=1))*1g.2k((e-15.3f)*o/15.2q))},.3),r("ck",17(e){18 1>(e*=2)?-.5*15.1T*1g.3p(2,10*(e-=1))*1g.2k((e-15.3f)*o/15.2q):.5*15.1T*1g.3p(2,-10*(e-=1))*1g.2k((e-15.3f)*o/15.2q)+1},.45)),c("cl",f("cs",17(e){18 1-1g.3p(2,-10*e)}),f("cz",17(e){18 1g.3p(2,10*(e-1))-.cX}),f("cB",17(e){18 1>(e*=2)?.5*1g.3p(2,10*(e-1)):.5*(2-1g.3p(2,-10*(e-1)))})),c("cy",f("cx",17(e){18 1g.2k(e*u)}),f("cu",17(e){18-1g.2E(e*u)+1}),f("cw",17(e){18-.5*(1g.2E(1g.4o*e)-1)})),a("2o.dg",{df:17(t){18 e.7C[t]}},!0),l(i.6w,"6w","3z,"),l(n,"7f","3z,"),l(t,"87","3z,"),d},!0)}),1Q.3u&&1Q.37.4q()();(1Q.37||(1Q.37=[])).2d(17(){"4V 4U";1Q.3u("4S.dl",["4S.80","5f"],17(e,t){19 n,r,i,s,o=17(){e.1W(15,"4P"),15.2B.1c=0,15.1S=o.1y.1S},u={},a=o.1y=1h e("4P");a.2K=o,o.3V="1.11.8",o.3w=2,o.81=0,o.8w="cY",a="2c",o.6E={4z:a,7G:a,7F:a,4A:a,3k:a,3y:a,dk:a,6B:a,6U:a,3b:a,dd:""};19 f,l,c,h,p,d,v=/(?:\\d|\\-\\d|\\.\\d|\\-\\.\\d)+/g,m=/(?:\\d|\\-\\d|\\.\\d|\\-\\.\\d|\\+=\\d|\\-=\\d|\\+=.\\d|\\-=\\.\\d)+/g,g=/(?:\\+=|\\-=|\\-|\\b)[\\d\\-\\.]+[a-d7-dn-9]*(?:%|\\b)/3M,y=/[^\\d\\-\\.]/g,b=/(?:\\d|\\-|\\+|=|#|\\.)*/g,w=/1Z *= *([^)]*)/,E=/1Z:([^;]*)/,S=/3B\\(1Z *=.+?\\)/i,x=/^(5h|6y)/,T=/([A-Z])/g,N=/-([a-z])/3M,C=/(^(?:8t\\(\\"|8t\\())|(?:(\\"\\))$|\\)$)/3M,k=17(e,t){18 t.4Z()},L=/(?:6i|7T|7H)/i,A=/(8c|8d|8n|8m)=[\\d\\-\\.e]+/3M,O=/82\\:5Q\\.5S\\.5V\\(.+?\\)/i,M=/,(?=[^\\)]*(?:\\(|$))/3M,2f=1g.4o/36,D=36/1g.4o,P={},H=6h,B=H.6e("74"),j=H.6e("d2"),F=o.4s={dm:u},I=dc.cC,q=17(){19 e,t=I.1k("ch"),n=H.6e("74");18 c=-1!==I.1k("bj")&&-1===I.1k("bk")&&(-1===t||1D(I.1q(t+8,1))>3),p=c&&6>1D(I.1q(I.1k("bl/")+8,1)),h=-1!==I.1k("bh"),/bg ([0-9]{1,}[\\.0-9]{0,})/.bc(I)&&(d=1r(46.$1)),n.bd="<a 1w=\'4z:be;1Z:.55;\'>a</a>",e=n.bf("a")[0],e?/^0.55/.2P(e.1w.1Z):!1}(),R=17(e){18 w.2P("1L"==1j e?e:(e.2X?e.2X.2l:e.1w.2l)||"")?1r(46.$1)/22:1},U=17(e){1Q.6x&&6x.7z(e)},z="",W="",X=17(e,t){t=t||B;19 n,r,i=t.1w;1a(2h 0!==i[e])18 e;1b(e=e.1v(0).4Z()+e.1q(1),n=["O","bn","5t","bv","bw"],r=5;--r>-1&&2h 0===i[n[r]+e];);18 r>=0?(W=3===r?"5t":n[r],z="-"+W.6P()+"-",W+e):1d},V=H.7v?H.7v.bx:17(){},$=o.bu=17(e,t,n,r,i){19 s;18 q||"1Z"!==t?(!r&&e.1w[t]?s=e.1w[t]:(n=n||V(e,1d))?s=n[t]||n.42(t)||n.42(t.1I(T,"-$1").6P()):e.2X&&(s=e.2X[t]),1d==i||s&&"3t"!==s&&"2t"!==s&&"2t 2t"!==s?s:i):R(e)},J=F.bs=17(e,n,r,i,s){1a("2c"===i||!i)18 r;1a("2t"===i||!r)18 0;19 u,a,f,l=L.2P(n),c=e,h=B.1w,p=0>r;1a(p&&(r=-r),"%"===i&&-1!==n.1k("3X"))u=r/22*(l?e.bo:e.bp);1m{1a(h.3d="3X:0 5x 7i;4m:"+$(e,"4m")+";bq-3y:0;","%"!==i&&c.7r)h[l?"84":"6X"]=r+i;1m{1a(c=e.ci||H.br,a=c.6g,f=t.6f.3F,a&&l&&a.34===f)18 a.3k*r/22;h[l?"3k":"3y"]=r+i}c.7r(B),u=1r(B[l?"4N":"4M"]),c.aV(B),l&&"%"===i&&o.aW!==!1&&(a=c.6g=c.6g||{},a.34=f,a.3k=22*(u/r)),0!==u||s||(u=J(e,n,r,i,!0))}18 p?-u:u},K=F.aX=17(e,t,n){1a("83"!==$(e,"4m",n))18 0;19 r="4A"===t?"6i":"7N",i=$(e,"6U"+r,n);18 e["aY"+r]-(J(e,t,1r(i),i.1I(b,""))||0)},Q=17(e,t){19 n,r,i={};1a(t=t||V(e,1d))1a(n=t.1c)1b(;--n>-1;)i[t[n].1I(N,k)]=t.42(t[n]);1m 1b(n 1u t)i[n]=t[n];1m 1a(t=e.2X||e.1w)1b(n 1u t)"1L"==1j n&&2h 0===i[n]&&(i[n.1I(N,k)]=t[n]);18 q||(i.1Z=R(e)),r=4l(e,t,!1),i.1K=r.1K,i.1R=r.1R,i.28=r.28,i.2g=r.2g,i.x=r.x,i.y=r.y,39&&(i.z=r.z,i.1P=r.1P,i.1V=r.1V,i.2W=r.2W),i.7R&&3E i.7R,i},G=17(e,t,n,r,i){19 s,o,u,a={},f=e.1w;1b(o 1u n)"3d"!==o&&"1c"!==o&&6d(o)&&(t[o]!==(s=n[o])||i&&i[o])&&-1===o.1k("aU")&&("2y"==1j s||"1L"==1j s)&&(a[o]="2t"!==s||"4A"!==o&&"4z"!==o?""!==s&&"2t"!==s&&"3t"!==s||"1L"!=1j t[o]||""===t[o].1I(y,"")?s:0:K(e,o),2h 0!==f[o]&&(u=1h ct(f,o,f[o],u)));1a(r)1b(o 1u r)"3a"!==o&&(a[o]=r[o]);18{57:a,4e:u}},Y={3k:["6i","7T"],3y:["7N","aP"]},Z=["7K","7S","7B","7U"],3L=17(e,t,n){19 r=1r("3k"===t?e.4N:e.4M),i=Y[t],s=i.1c;1b(n=n||V(e,1d);--s>-1;)r-=1r($(e,"6B"+i[s],n,!0))||0,r-=1r($(e,"3X"+i[s]+"7H",n,!0))||0;18 r},3g=17(e,t){(1d==e||""===e||"2t"===e||"2t 2t"===e)&&(e="0 0");19 n=e.1t(" "),r=-1!==e.1k("4A")?"0%":-1!==e.1k("7G")?"22%":n[0],i=-1!==e.1k("4z")?"0%":-1!==e.1k("7F")?"22%":n[1];18 1d==i?i="0":"7l"===i&&(i="50%"),("7l"===r||6d(1r(r))&&-1===(r+"").1k("="))&&(r="50%"),t&&(t.8o=-1!==r.1k("%"),t.8r=-1!==i.1k("%"),t.aQ="="===r.1v(1),t.aR="="===i.1v(1),t.52=1r(r.1I(y,"")),t.5R=1r(i.1I(y,""))),r+" "+i+(n.1c>2?" "+n[2]:"")},3q=17(e,t){18"1L"==1j e&&"="===e.1v(1)?3v(e.1v(0)+"1",10)*1r(e.1q(2)):1r(e)-1r(t)},2A=17(e,t){18 1d==e?t:"1L"==1j e&&"="===e.1v(1)?3v(e.1v(0)+"1",10)*1D(e.1q(2))+t:1r(e)},3D=17(e,t,n,r){19 i,s,o,u,a=1e-6;18 1d==e?u=t:"2y"==1j e?u=e:(i=68,s=e.1t("2f"),o=1D(s[0].1I(y,""))*(-1===e.1k("aS")?1:D)-("="===e.1v(1)?0:t),s.1c&&(r&&(r[n]=t+o),-1!==e.1k("aZ")&&(o%=i,o!==o%(i/2)&&(o=0>o?o+i:o-i)),-1!==e.1k("b0")&&0>o?o=(o+59*i)%i-(0|o/i)*i:-1!==e.1k("b7")&&o>0&&(o=(o-59*i)%i-(0|o/i)*i)),u=t+o),a>u&&u>-a&&(u=0),u},3x={b9:[0,1F,1F],b6:[0,1F,0],b5:[58,58,58],7I:[0,0,0],b1:[2N,0,0],b2:[0,2N,2N],b3:[0,0,1F],b4:[0,0,2N],by:[1F,1F,1F],bz:[1F,0,1F],c3:[2N,2N,0],c4:[1F,1F,0],c5:[1F,c2,0],c1:[2N,2N,2N],bX:[2N,0,2N],bY:[0,2N,0],7i:[1F,0,0],c0:[1F,58,c7],ce:[0,1F,1F],4g:[1F,1F,1F,0]},5a=17(e,t,n){18 e=0>e?e+1:e>1?e-1:e,0|1F*(1>6*e?t+6*(n-t)*e:.5>e?n:2>3*e?t+6*(n-t)*(2/3-e):t)+.5},5i=17(e){19 t,n,r,i,s,o;18 e&&""!==e?"2y"==1j e?[e>>16,1F&e>>8,1F&e]:(","===e.1v(e.1c-1)&&(e=e.1q(0,e.1c-1)),3x[e]?3x[e]:"#"===e.1v(0)?(4===e.1c&&(t=e.1v(1),n=e.1v(2),r=e.1v(3),e="#"+t+t+n+n+r+r),e=3v(e.1q(1),16),[e>>16,1F&e>>8,1F&e]):"6y"===e.1q(0,3)?(e=e.2G(v),i=1D(e[0])%68/68,s=1D(e[1])/22,o=1D(e[2])/22,n=.5>=o?o*(s+1):o+s-o*s,t=2*o-n,e.1c>3&&(e[3]=1D(e[3])),e[0]=5a(i+1/3,t,n),e[1]=5a(i,t,n),e[2]=5a(i-1/3,t,n),e):(e=e.2G(v)||3x.4g,e[0]=1D(e[0]),e[1]=1D(e[1]),e[2]=1D(e[2]),e.1c>3&&(e[3]=1D(e[3])),e)):3x.7I},at="(?:\\\\b(?:(?:5h|6Z|6y|cc)\\\\(.+?\\\\))|\\\\B#.+?\\\\b";1b(a 1u 3x)at+="|"+a+"\\\\b";at=46(at+")","3M");19 6H=17(e,t,n,r){1a(1d==e)18 17(e){18 e};19 i,s=t?(e.2G(at)||[""])[0]:"",o=e.1t(s).1J("").2G(g)||[],u=e.1q(0,e.1k(o[0])),a=")"===e.1v(e.1c-1)?")":"",f=-1!==e.1k(" ")?" ":",",l=o.1c,c=l>0?o[0].1I(v,""):"";18 l?i=t?17(e){19 t,h,p,d;1a("2y"==1j e)e+=c;1m 1a(r&&M.2P(e)){1b(d=e.1I(M,"|").1t("|"),p=0;d.1c>p;p++)d[p]=i(d[p]);18 d.1J(",")}1a(t=(e.2G(at)||[s])[0],h=e.1t(t).1J("").2G(g)||[],p=h.1c,l>p--)1b(;l>++p;)h[p]=n?h[0|(p-1)/2]:o[p];18 u+h.1J(f)+f+t+a+(-1!==e.1k("6Y")?" 6Y":"")}:17(e){19 t,s,h;1a("2y"==1j e)e+=c;1m 1a(r&&M.2P(e)){1b(s=e.1I(M,"|").1t("|"),h=0;s.1c>h;h++)s[h]=i(s[h]);18 s.1J(",")}1a(t=e.2G(g)||[],h=t.1c,l>h--)1b(;l>++h;)t[h]=n?t[0|(h-1)/2]:o[h];18 u+t.1J(f)+a}:17(e){18 e}},5g=17(e){18 e=e.1t(","),17(t,n,r,i,s,o,u){19 a,f=(n+"").1t(" ");1b(u={},a=0;4>a;a++)u[e[a]]=f[a]=f[a]||f[(a-1)/2>>0];18 i.2O(t,u,s,o)}},ct=(F.c8=17(e){15.2D.1S(e);1b(19 t,n,r,i,s=15.1A,o=s.7W,u=s.4e,a=1e-6;u;)t=o[u.v],u.r?t=1g.3G(t):a>t&&t>-a&&(t=0),u.t[u.p]=t,u=u.1f;1a(s.8F&&(s.8F.1K=o.1K),1===e)1b(u=s.4e;u;){1a(n=u.t,n.2p){1a(1===n.2p){1b(i=n.1X+n.s+n.4a,r=1;n.l>r;r++)i+=n["3i"+r]+n["2R"+(r+1)];n.e=i}}1m n.e=n.s+n.1X;u=u.1f}},17(e,t,n,r,i){15.t=e,15.p=t,15.v=n,15.r=i,r&&(r.1l=15,15.1f=r)}),27=(F.c9=17(e,t,n,r,i,s){19 o,u,a,f,l,c=r,h={},p={},d=n.3r,v=P;1b(n.3r=1d,P=t,r=l=n.2O(e,t,r,i),P=v,s&&(n.3r=d,c&&(c.1l=1d,c.1l&&(c.1l.1f=1d)));r&&r!==c;){1a(1>=r.2p&&(u=r.p,p[u]=r.s+r.c,h[u]=r.s,s||(f=1h ct(r,"s",u,f,r.r),r.c=0),1===r.2p))1b(o=r.l;--o>0;)a="3i"+o,u=r.p+"2f"+a,p[u]=r.1A[a],h[u]=r[a],s||(f=1h ct(r,a,u,f,r.56[a]));r=r.1f}18{7W:h,ca:p,4e:f,4j:l}},F.cb=17(e,t,r,i,o,u,a,f,l,c,h){15.t=e,15.p=t,15.s=r,15.c=i,15.n=a||t,e 2b 27||s.2d(15.n),15.r=f,15.2p=u||0,l&&(15.2s=l,n=!0),15.b=2h 0===c?r:c,15.e=2h 0===h?r+i:h,o&&(15.1f=o,o.1l=15)}),4j=o.3Y=17(e,t,n,r,i,s,o,u,a,l){n=n||s||"",o=1h 27(e,t,0,0,o,l?2:1,1d,!1,u,n,r),r+="";19 c,h,p,d,g,y,b,w,E,S,T,N,C=n.1t(", ").1J(",").1t(" "),k=r.1t(", ").1J(",").1t(" "),L=C.1c,A=f!==!1;1b((-1!==r.1k(",")||-1!==n.1k(","))&&(C=C.1J(" ").1I(M,", ").1t(" "),k=k.1J(" ").1I(M,", ").1t(" "),L=C.1c),L!==k.1c&&(C=(s||"").1t(" "),L=C.1c),o.2D=a,o.1S=l,c=0;L>c;c++)1a(d=C[c],g=k[c],w=1r(d),w||0===w)o.3S("",w,3q(g,w),g.1I(m,""),A&&-1!==g.1k("2c"),!0);1m 1a(i&&("#"===d.1v(0)||3x[d]||x.2P(d)))N=","===g.1v(g.1c-1)?"),":")",d=5i(d),g=5i(g),E=d.1c+g.1c>6,E&&!q&&0===g[3]?(o["2R"+o.l]+=o.l?" 4g":"4g",o.e=o.e.1t(k[c]).1J("4g")):(q||(E=!1),o.3S(E?"6Z(":"5h(",d[0],g[0]-d[0],",",!0,!0).3S("",d[1],g[1]-d[1],",",!0).3S("",d[2],g[2]-d[2],E?",":N,!0),E&&(d=4>d.1c?1:d[3],o.3S("",d,(4>g.1c?1:g[3])-d,N,!1)));1m 1a(y=d.2G(v)){1a(b=g.2G(m),!b||b.1c!==y.1c)18 o;1b(p=0,h=0;y.1c>h;h++)T=y[h],S=d.1k(T,p),o.3S(d.1q(p,S-p),1D(T),3q(b[h],T),"",A&&"2c"===d.1q(S+T.1c,2),0===h),p=S+T.1c;o["2R"+o.l]+=d.1q(p)}1m o["2R"+o.l]+=o.l?" "+d:d;1a(-1!==r.1k("=")&&o.1A){1b(N=o.1X+o.1A.s,c=1;o.l>c;c++)N+=o["2R"+c]+o.1A["3i"+c];o.e=N+o["2R"+c]}18 o.l||(o.2p=-1,o.1X=o.e),o.3C||o},2u=9;1b(a=27.1y,a.l=a.2s=0;--2u>0;)a["3i"+2u]=0,a["2R"+2u]="";a.1X="",a.1f=a.1l=a.3C=a.1A=a.2D=a.1S=a.56=1d,a.3S=17(e,t,n,r,i,s){19 o=15,u=o.l;18 o["2R"+u]+=s&&u?" "+e:e||"",n||0===u||o.2D?(o.l++,o.2p=o.1S?2:1,o["2R"+o.l]=r||"",u>0?(o.1A["3i"+u]=t+n,o.56["3i"+u]=i,o["3i"+u]=t,o.2D||(o.3C=1h 27(o,"3i"+u,t,n,o.3C||o,0,o.n,i,o.2s),o.3C.1X=0),o):(o.1A={s:t+n},o.56={},o.s=t,o.c=n,o.r=i,o)):(o["2R"+u]+=t+(r||""),o)};19 5O=17(e,t){t=t||{},15.p=t.2V?X(e)||e:e,u[e]=u[15.p]=15,15.2U=t.4v||6H(t.2v,t.4c,t.bW,t.3W),t.24&&(15.2O=t.24),15.8T=t.4c,15.3W=t.3W,15.5b=t.5b,15.3Z=t.2v,15.2s=t.5E||0},1G=F.bV=17(e,t,n){"3U"!=1j t&&(t={24:n});19 r,i,s=e.1t(","),o=t.2v;1b(n=n||[o],r=0;s.1c>r;r++)t.2V=0===r&&t.2V,t.2v=n[r]||o,i=1h 5O(s[r],t)},7a=17(e){1a(!u[e]){19 t=e.1v(0).4Z()+e.1q(1)+"8u";1G(e,{24:17(e,n,r,i,s,o,a){19 f=(1Q.5Z||1Q).4Q.4R.4S[t];18 f?(f.bG(),u[r].2O(e,n,r,i,s,o,a)):(U("bH: "+t+" bI bJ 8K bF."),s)}})}};a=5O.1y,a.3Y=17(e,t,n,r,i,s){19 o,u,a,f,l,c,h=15.5b;1a(15.3W&&(M.2P(n)||M.2P(t)?(u=t.1I(M,"|").1t("|"),a=n.1I(M,"|").1t("|")):h&&(u=[t],a=[n])),a){1b(f=a.1c>u.1c?a.1c:u.1c,o=0;f>o;o++)t=u[o]=u[o]||15.3Z,n=a[o]=a[o]||15.3Z,h&&(l=t.1k(h),c=n.1k(h),l!==c&&(n=-1===c?a:u,n[o]+=" "+h));t=u.1J(", "),n=a.1J(", ")}18 4j(e,15.p,t,n,15.8T,15.3Z,r,15.2s,i,s)},a.2O=17(e,t,n,r,s,o){18 15.3Y(e.1w,15.2U($(e,15.p,i,!1,15.3Z)),15.2U(t),s,o)},o.bE=17(e,t,n){1G(e,{24:17(e,r,i,s,o,u){19 a=1h 27(e,i,0,0,o,2,i,!1,n);18 a.2D=u,a.1S=t(e,r,s.2Y,i),a},5E:n})};19 6O="28,2g,2W,x,y,z,1R,32,1K,1P,1V,3b".1t(","),bt=X("3R"),8O=z+"3R",5q=X("4G"),39=1d!==X("3b"),5F=F.bB=17(){15.32=0},4l=F.bC=17(e,t,n,r){1a(e.3T&&n&&!r)18 e.3T;19 i,s,u,a,f,l,c,h,p,d,v,m,g,y=n?e.3T||1h 5F:1h 5F,b=0>y.28,w=2e-5,E=4X,S=bD.99,x=S*2f,T=39?1r($(e,5q,t,!1,"0 0 0").1t(" ")[2])||y.2S||0:0;1b(bt?i=$(e,8O,t,!0):e.2X&&(i=e.2X.2l.2G(A),i=i&&4===i.1c?[i[0].1q(4),1D(i[2].1q(4)),1D(i[1].1q(4)),i[3].1q(4),y.x||0,y.y||0].1J(","):""),s=(i||"").2G(/(?:\\-|\\b)[\\d\\-\\.e]+\\b/3M)||[],u=s.1c;--u>-1;)a=1D(s[u]),s[u]=(f=a-(a|=0))?(0|f*E+(0>f?-.5:.5))/E+a:a;1a(16===s.1c){19 N=s[8],C=s[9],k=s[10],L=s[12],O=s[13],M=s[14];1a(y.2S&&(M=-y.2S,L=N*M-s[12],O=C*M-s[13],M=k*M+y.2S-s[14]),!n||r||1d==y.1P){19 P,H,B,j,F,I,q,R=s[0],U=s[1],z=s[2],W=s[3],X=s[4],V=s[5],J=s[6],K=s[7],Q=s[11],G=1g.4F(J,k),Y=-x>G||G>x;y.1P=G*D,G&&(j=1g.2E(-G),F=1g.2k(-G),P=X*j+N*F,H=V*j+C*F,B=J*j+k*F,N=X*-F+N*j,C=V*-F+C*j,k=J*-F+k*j,Q=K*-F+Q*j,X=P,V=H,J=B),G=1g.4F(N,R),y.1V=G*D,G&&(I=-x>G||G>x,j=1g.2E(-G),F=1g.2k(-G),P=R*j-N*F,H=U*j-C*F,B=z*j-k*F,C=U*F+C*j,k=z*F+k*j,Q=W*F+Q*j,R=P,U=H,z=B),G=1g.4F(U,V),y.1K=G*D,G&&(q=-x>G||G>x,j=1g.2E(-G),F=1g.2k(-G),R=R*j+X*F,H=U*j+V*F,V=U*-F+V*j,J=z*-F+J*j,U=H),q&&Y?y.1K=y.1P=0:q&&I?y.1K=y.1V=0:I&&Y&&(y.1V=y.1P=0),y.28=(0|1g.38(R*R+U*U)*E+.5)/E,y.2g=(0|1g.38(V*V+C*C)*E+.5)/E,y.2W=(0|1g.38(J*J+k*k)*E+.5)/E,y.1R=0,y.3b=Q?1/(0>Q?-Q:Q):0,y.x=L,y.y=O,y.z=M}}1m 1a(!(39&&!r&&s.1c&&y.x===s[4]&&y.y===s[5]&&(y.1P||y.1V)||2h 0!==y.x&&"3t"===$(e,"6S",t))){19 Z=s.1c>=6,3L=Z?s[0]:1,3g=s[1]||0,3q=s[2]||0,2A=Z?s[3]:1;y.x=s[4]||0,y.y=s[5]||0,l=1g.38(3L*3L+3g*3g),c=1g.38(2A*2A+3q*3q),h=3L||3g?1g.4F(3g,3L)*D:y.1K||0,p=3q||2A?1g.4F(3q,2A)*D+h:y.1R||0,d=l-1g.51(y.28||0),v=c-1g.51(y.2g||0),1g.51(p)>90&&bS>1g.51(p)&&(b?(l*=-1,p+=0>=h?36:-36,h+=0>=h?36:-36):(c*=-1,p+=0>=p?36:-36)),m=(h-y.1K)%36,g=(p-y.1R)%36,(2h 0===y.1R||d>w||-w>d||v>w||-w>v||m>-S&&S>m&&5X|m*E||g>-S&&S>g&&5X|g*E)&&(y.28=l,y.2g=c,y.1K=h,y.1R=p),39&&(y.1P=y.1V=y.z=0,y.3b=1r(o.81)||0,y.2W=1)}y.2S=T;1b(u 1u y)w>y[u]&&y[u]>-w&&(y[u]=0);18 n&&(e.3T=y),y},7q=17(e){19 t,n,r=15.1A,i=-r.1K*2f,s=i+r.1R*2f,o=4X,u=(0|1g.2E(i)*r.28*o)/o,a=(0|1g.2k(i)*r.28*o)/o,f=(0|1g.2k(s)*-r.2g*o)/o,l=(0|1g.2E(s)*r.2g*o)/o,c=15.t.1w,h=15.t.2X;1a(h){n=a,a=-f,f=-n,t=h.2l,c.2l="";19 p,v,m=15.t.4N,g=15.t.4M,y="83"!==h.4m,E="82:5Q.5S.5V(8c="+u+", 8d="+a+", 8n="+f+", 8m="+l,S=r.x,x=r.y;1a(1d!=r.52&&(p=(r.8o?.8q*m*r.52:r.52)-m/2,v=(r.8r?.8q*g*r.5R:r.5R)-g/2,S+=p-(p*u+v*a),x+=v-(p*f+v*l)),y?(p=m/2,v=g/2,E+=", 8e="+(p-(p*u+v*a)+S)+", 8g="+(v-(p*f+v*l)+x)+")"):E+=", bU=\'2t bR\')",c.2l=-1!==t.1k("5Q.5S.5V(")?t.1I(O,E):E+" "+t,(0===e||1===e)&&1===u&&0===a&&0===f&&1===l&&(y&&-1===E.1k("8e=0, 8g=0")||w.2P(t)&&22!==1r(46.$1)||-1===t.1k("bN("&&t.1k("bO"))&&c.6W("2l")),!y){19 T,N,C,k=8>d?1:-1;1b(p=r.53||0,v=r.5p||0,r.53=1g.3G((m-((0>u?-u:u)*m+(0>a?-a:a)*g))/2+S),r.5p=1g.3G((g-((0>l?-l:l)*g+(0>f?-f:f)*m))/2+x),2u=0;4>2u;2u++)N=Z[2u],T=h[N],n=-1!==T.1k("2c")?1r(T):J(15.t,N,1r(T),T.1I(b,""))||0,C=n!==r[N]?2>2u?-r.53:-r.5p:2>2u?p-r.53:v-r.5p,c[N]=(r[N]=1g.3G(n-C*(0===2u||2===2u?1:k)))+"2c"}}},5o=F.d3=17(){19 e,t,n,r,i,s,o,u,a,f,l,c,p,d,v,m,g,y,b,w,E,S,x,T=15.1A,N=15.t.1w,C=T.1K*2f,k=T.28,L=T.2g,A=T.2W,O=T.3b;1a(h){19 M=1e-4;M>k&&k>-M&&(k=A=2e-5),M>L&&L>-M&&(L=A=2e-5),!O||T.z||T.1P||T.1V||(O=0)}1a(C||T.1R)y=1g.2E(C),b=1g.2k(C),e=y,i=b,T.1R&&(C-=T.1R*2f,y=1g.2E(C),b=1g.2k(C),"bP"===T.4r&&(w=1g.bM(T.1R*2f),w=1g.38(1+w*w),y*=w,b*=w)),t=-b,s=y;1m{1a(!(T.1V||T.1P||1!==A||O))18 N[bt]="bQ("+T.x+"2c,"+T.y+"2c,"+T.z+"2c)"+(1!==k||1!==L?" 4y("+k+","+L+")":""),2h 0;e=s=1,t=i=0}l=1,n=r=o=u=a=f=c=p=d=0,v=O?-1/O:0,m=T.2S,g=4X,C=T.1V*2f,C&&(y=1g.2E(C),b=1g.2k(C),a=l*-b,p=v*-b,n=e*b,o=i*b,l*=y,v*=y,e*=y,i*=y),C=T.1P*2f,C&&(y=1g.2E(C),b=1g.2k(C),w=t*y+n*b,E=s*y+o*b,S=f*y+l*b,x=d*y+v*b,n=t*-b+n*y,o=s*-b+o*y,l=f*-b+l*y,v=d*-b+v*y,t=w,s=E,f=S,d=x),1!==A&&(n*=A,o*=A,l*=A,v*=A),1!==L&&(t*=L,s*=L,f*=L,d*=L),1!==k&&(e*=k,i*=k,a*=k,p*=k),m&&(c-=m,r=n*c,u=o*c,c=l*c+m),r=(w=(r+=T.x)-(r|=0))?(0|w*g+(0>w?-.5:.5))/g+r:r,u=(w=(u+=T.y)-(u|=0))?(0|w*g+(0>w?-.5:.5))/g+u:u,c=(w=(c+=T.z)-(c|=0))?(0|w*g+(0>w?-.5:.5))/g+c:c,N[bt]="bT("+[(0|e*g)/g,(0|i*g)/g,(0|a*g)/g,(0|p*g)/g,(0|t*g)/g,(0|s*g)/g,(0|f*g)/g,(0|d*g)/g,(0|n*g)/g,(0|o*g)/g,(0|l*g)/g,(0|v*g)/g,r,u,c,O?1+ -c/O:1].1J(",")+")"},7t=F.bL=17(e){19 t,n,r,i,s,o=15.1A,u=15.t,a=u.1w;18 o.1P||o.1V||o.z||o.44?(15.1S=5o,5o.1W(15,e),2h 0):(o.1K||o.1R?(t=o.1K*2f,n=t-o.1R*2f,r=4X,i=o.28*r,s=o.2g*r,a[bt]="8P("+(0|1g.2E(t)*i)/r+","+(0|1g.2k(t)*i)/r+","+(0|1g.2k(n)*-s)/r+","+(0|1g.2E(n)*s)/r+","+o.x+","+o.y+")"):a[bt]="8P("+o.28+",0,0,"+o.2g+","+o.x+","+o.y+")",2h 0)};1G("3R,4y,28,2g,2W,x,y,z,1K,1P,1V,6M,1R,32,6N,6G,6A,bK,4G,8U,8x,8M,44,4r",{24:17(e,t,n,r,s,u,a){1a(r.3r)18 s;19 f,l,c,h,p,d,v,m=r.3r=4l(e,i,!0,a.8M),g=e.1w,y=1e-6,b=6O.1c,w=a,E={};1a("1L"==1j w.3R&&bt)c=g.3d,g[bt]=w.3R,g.6S="bA",f=4l(e,1d,!1),g.3d=c;1m 1a("3U"==1j w){1a(f={28:2A(1d!=w.28?w.28:w.4y,m.28),2g:2A(1d!=w.2g?w.2g:w.4y,m.2g),2W:2A(w.2W,m.2W),x:2A(w.x,m.x),y:2A(w.y,m.y),z:2A(w.z,m.z),3b:2A(w.8U,m.3b)},v=w.8x,1d!=v)1a("3U"==1j v)1b(c 1u v)w[c]=v[c];1m w.1K=v;f.1K=3D("1K"1u w?w.1K:"6N"1u w?w.6N+"6F":"6M"1u w?w.6M:m.1K,m.1K,"1K",E),39&&(f.1P=3D("1P"1u w?w.1P:"6G"1u w?w.6G+"6F":m.1P||0,m.1P,"1P",E),f.1V=3D("1V"1u w?w.1V:"6A"1u w?w.6A+"6F":m.1V||0,m.1V,"1V",E)),f.1R=1d==w.1R?m.1R:3D(w.1R,m.1R),f.32=1d==w.32?m.32:3D(w.32,m.32),(l=f.32-m.32)&&(f.1R+=l,f.1K+=l)}1b(39&&1d!=w.44&&(m.44=w.44,d=!0),m.4r=w.4r||m.4r||o.8w,p=m.44||m.z||m.1P||m.1V||f.z||f.1P||f.1V||f.3b,p||1d==w.4y||(f.2W=1);--b>-1;)n=6O[b],h=f[n]-m[n],(h>y||-y>h||1d!=P[n])&&(d=!0,s=1h 27(m,n,m[n],h,s),n 1u E&&(s.e=E[n]),s.1X=0,s.2D=u,r.2B.2d(s.n));18 h=w.4G,(h||39&&p&&m.2S)&&(bt?(d=!0,n=5q,h=(h||$(e,n,i,!1,"50% 50%"))+"",s=1h 27(g,n,0,0,s,-1,"4G"),s.b=g[n],s.2D=u,39?(c=m.2S,h=h.1t(" "),m.2S=(h.1c>2&&(0===c||"1M"!==h[2])?1r(h[2]):c)||0,s.1X=s.e=g[n]=h[0]+" "+(h[1]||"50%")+" 1M",s=1h 27(m,"2S",0,0,s,-1,s.n),s.b=c,s.1X=s.e=m.2S):s.1X=s.e=g[n]=h):3g(h+"",m)),d&&(r.47=p||3===15.47?3:2),s},2V:!0}),1G("cd",{2v:"1M 1M 1M 1M #8i",2V:!0,4c:!0,3W:!0,5b:"6Y"}),1G("cg",{2v:"1M",24:17(e,t,n,s,o){t=15.2U(t);19 u,a,f,l,c,h,p,d,v,m,g,y,b,w,E,S,x=["cf","c6","bZ","b8"],T=e.1w;1b(v=1r(e.4N),m=1r(e.4M),u=t.1t(" "),a=0;x.1c>a;a++)15.p.1k("3X")&&(x[a]=X(x[a])),c=l=$(e,x[a],i,!1,"1M"),-1!==c.1k(" ")&&(l=c.1t(" "),c=l[0],l=l[1]),h=f=u[a],p=1r(c),y=c.1q((p+"").1c),b="="===h.1v(1),b?(d=3v(h.1v(0)+"1",10),h=h.1q(2),d*=1r(h),g=h.1q((d+"").1c-(0>d?1:0))||""):(d=1r(h),g=h.1q((d+"").1c)),""===g&&(g=r[n]||y),g!==y&&(w=J(e,"7Q",p,y),E=J(e,"aT",p,y),"%"===g?(c=22*(w/v)+"%",l=22*(E/m)+"%"):"4k"===g?(S=J(e,"7Q",1,"4k"),c=w/S+"4k",l=E/S+"4k"):(c=w+"2c",l=E+"2c"),b&&(h=1r(c)+d+g,f=1r(l)+d+g)),o=4j(T,x[a],c+" "+l,h+" "+f,!1,"1M",o);18 o},2V:!0,4v:6H("1M 1M 1M 1M",!1,!0)}),1G("ba",{2v:"0 0",24:17(e,t,n,r,s,o){19 u,a,f,l,c,h,p="bb-4m",v=i||V(e,1d),m=15.2U((v?d?v.42(p+"-x")+" "+v.42(p+"-y"):v.42(p):e.2X.bm+" "+e.2X.bi)||"0 0"),g=15.2U(t);1a(-1!==m.1k("%")!=(-1!==g.1k("%"))&&(h=$(e,"d1").1I(C,""),h&&"3t"!==h)){1b(u=m.1t(" "),a=g.1t(" "),j.d9("d5",h),f=2;--f>-1;)m=u[f],l=-1!==m.1k("%"),l!==(-1!==a[f].1k("%"))&&(c=0===f?e.4N-j.3k:e.4M-j.3y,u[f]=l?1r(m)/22*c+"2c":22*(1r(m)/c)+"%");m=u.1J(" ")}18 15.3Y(e.1w,m,g,s,o)},4v:3g}),1G("db",{2v:"0 0",4v:3g}),1G("3b",{2v:"1M",2V:!0}),1G("dj",{2v:"50% 50%",2V:!0}),1G("di",{2V:!0}),1G("dh",{2V:!0}),1G("de",{2V:!0}),1G("6U",{24:5g("7B,7S,7U,7K")}),1G("6B",{24:5g("cq,cR,cV,cU")}),1G("cT",{2v:"8y(1M,1M,1M,1M)",24:17(e,t,n,r,s,o){19 u,a,f;18 9>d?(a=e.2X,f=8>d?" ":",",u="8y("+a.cS+f+a.d4+f+a.da+f+a.cZ+")",t=15.2U(t).1t(",").1J(f)):(u=15.2U($(e,15.p,i,!1,15.3Z)),t=15.2U(t)),15.3Y(e.1w,u,t,s,o)}}),1G("d6",{2v:"1M 1M 1M #8i",4c:!0,3W:!0}),1G("7c,8b",{24:17(e,t,n,r,i){18 i}}),1G("3X",{2v:"1M 5x #6T",24:17(e,t,n,r,s,o){18 15.3Y(e.1w,15.2U($(e,"6X",i,!1,"1M")+" "+$(e,"d8",i,!1,"5x")+" "+$(e,"d0",i,!1,"#6T")),15.2U(t),s,o)},4c:!0,4v:17(e){19 t=e.1t(" ");18 t[0]+" "+(t[1]||"5x")+" "+(e.2G(at)||["#6T"])[0]}}),1G("9e",{24:5g("6X,9f,9g,84")}),1G("9c,6L,86",{24:17(e,t,n,r,i){19 s=e.1w,o="6L"1u s?"6L":"86";18 1h 27(s,o,0,0,i,-1,n,!1,0,s[o],t)}});19 8s=17(e){19 t,n=15.t,r=n.2l||$(15.1A,"2l"),i=0|15.s+15.c*e;22===i&&(-1===r.1k("96(")&&-1===r.1k("97(")&&-1===r.1k("98(")?(n.6W("2l"),t=!$(15.1A,"2l")):(n.2l=r.1I(S,""),t=!0)),t||(15.3P&&(n.2l=r=r||"3B(1Z="+i+")"),-1===r.1k("1Z")?0===i&&15.3P||(n.2l=r+" 3B(1Z="+i+")"):n.2l=r.1I(w,"1Z="+i))};1G("1Z,3B,4T",{2v:"1",24:17(e,t,n,r,s,o){19 u=1r($(e,"1Z",i,!1,"1")),a=e.1w,f="4T"===n;18"1L"==1j t&&"="===t.1v(1)&&(t=("-"===t.1v(0)?-1:1)*1r(t.1q(2))+u),f&&1===u&&"5v"===$(e,"6z",i)&&0!==t&&(u=0),q?s=1h 27(a,"1Z",u,t-u,s):(s=1h 27(a,"1Z",22*u,22*(t-u),s),s.3P=f?1:0,a.7s=1,s.2p=2,s.b="3B(1Z="+s.s+")",s.e="3B(1Z="+(s.s+s.c)+")",s.1A=e,s.2D=o,s.1S=8s),f&&(s=1h 27(a,"6z",0,0,s,-1,1d,!1,0,0!==u?"6I":"5v",0===t?"5v":"6I"),s.1X="6I",r.2B.2d(s.n),r.2B.2d(n)),s}});19 5r=17(e,t){t&&(e.8z?("5t"===t.1q(0,2)&&(t="M"+t.1q(1)),e.8z(t.1I(T,"-$1").6P())):e.6W(t))},8I=17(e){1a(15.t.4L=15,1===e||0===e){15.t.3a=0===e?15.b:15.e;1b(19 t=15.1A,n=15.t.1w;t;)t.v?n[t.p]=t.v:5r(n,t.p),t=t.1f;1===e&&15.t.4L===15&&(15.t.4L=1d)}1m 15.t.3a!==15.e&&(15.t.3a=15.e)};1G("3a",{24:17(e,t,r,s,o,u,a){19 f,l,c,h,p,d=e.3a,v=e.1w.3d;1a(o=s.6J=1h 27(e,r,0,0,o,2),o.1S=8I,o.2s=-11,n=!0,o.b=d,l=Q(e,i),c=e.4L){1b(h={},p=c.1A;p;)h[p.p]=1,p=p.1f;c.1S(1)}18 e.4L=o,o.e="="!==t.1v(1)?t:d.1I(46("\\\\s*\\\\b"+t.1q(2)+"\\\\b"),"")+("+"===t.1v(0)?" "+t.1q(2):""),s.2Y.1C&&(e.3a=o.e,f=G(e,l,Q(e),a,h),e.3a=d,o.1A=f.4e,e.1w.3d=v,o=o.3C=s.2O(e,f.57,o,u)),o}});19 8E=17(e){1a((1===e||0===e)&&15.1A.1H===15.1A.2i&&"8D"!==15.1A.1A){19 t,n,r,i,s=15.t.1w,o=u.3R.2O;1a("41"===15.e)s.3d="",i=!0;1m 1b(t=15.e.1t(","),r=t.1c;--r>-1;)n=t[r],u[n]&&(u[n].2O===o?i=!0:n="4G"===n?5q:u[n].p),5r(s,n);i&&(5r(s,bt),15.t.3T&&3E 15.t.3T)}};1b(1G("9h",{24:17(e,t,r,i,s){18 s=1h 27(e,r,0,0,s,2),s.1S=8E,s.e=t,s.2s=-10,s.1A=i.2Y,n=!0,s}}),a="9i,9p,9q,95".1t(","),2u=a.1c;2u--;)7a(a[2u]);a=o.1y,a.1s=1d,a.6V=17(e,t,u){1a(!e.3n)18!1;15.7V=e,15.2Y=u,15.7d=t,f=t.7c,n=!1,r=t.6E||o.6E,i=V(e,""),s=15.2B;19 a,h,d,v,m,g,y,b,w,S=e.1w;1a(l&&""===S.3O&&(a=$(e,"3O",i),("2t"===a||""===a)&&(S.3O=0)),"1L"==1j t&&(v=S.3d,a=Q(e,i),S.3d=v+";"+t,a=G(e,a,Q(e)).57,!q&&E.2P(t)&&(a.1Z=1r(46.$1)),t=a,S.3d=v),15.1s=h=15.2O(e,t,1d),15.47){1b(w=3===15.47,bt?c&&(l=!0,""===S.3O&&(y=$(e,"3O",i),("2t"===y||""===y)&&(S.3O=0)),p&&(S.7b=15.7d.7b||(w?"9r":"5v"))):S.7s=1,d=h;d&&d.1f;)d=d.1f;b=1h 27(e,"3R",0,0,1d,2),15.5e(b,1d,d),b.1S=w&&39?5o:bt?7t:7q,b.1A=15.3r||4l(e,i,!0),s.4q()}1a(n){1b(;h;){1b(g=h.1f,d=v;d&&d.2s>h.2s;)d=d.1f;(h.1l=d?d.1l:m)?h.1l.1f=h:v=h,(h.1f=d)?d.1l=h:m=h,h=g}15.1s=v}18!0},a.2O=17(e,t,n,s){19 o,a,l,c,h,p,d,v,m,g,y=e.1w;1b(o 1u t)p=t[o],a=u[o],a?n=a.2O(e,p,o,15,n,s,t):(h=$(e,o,i)+"",m="1L"==1j p,"4c"===o||"9k"===o||"91"===o||-1!==o.1k("8Z")||m&&x.2P(p)?(m||(p=5i(p),p=(p.1c>3?"6Z(":"5h(")+p.1J(",")+")"),n=4j(y,o,h,p,!0,"4g",n,0,s)):!m||-1===p.1k(" ")&&-1===p.1k(",")?(l=1r(h),d=l||0===l?h.1q((l+"").1c):"",(""===h||"2t"===h)&&("3k"===o||"3y"===o?(l=3L(e,o,i),d="2c"):"4A"===o||"4z"===o?(l=K(e,o,i),d="2c"):(l="1Z"!==o?0:1,d="")),g=m&&"="===p.1v(1),g?(c=3v(p.1v(0)+"1",10),p=p.1q(2),c*=1r(p),v=p.1I(b,"")):(c=1r(p),v=m?p.1q((c+"").1c)||"":""),""===v&&(v=o 1u r?r[o]:d),p=c||0===c?(g?c+l:c)+v:t[o],d!==v&&""!==v&&(c||0===c)&&l&&(l=J(e,o,l,d),"%"===v?(l/=J(e,o,22,"%")/22,t.8b!==!0&&(h=l+"%")):"4k"===v?l/=J(e,o,1,"4k"):"2c"!==v&&(c=J(e,o,c,v),v="2c"),g&&(c||0===c)&&(p=c+l+v)),g&&(c+=l),!l&&0!==l||!c&&0!==c?2h 0!==y[o]&&(p||"ar"!=p+""&&1d!=p)?(n=1h 27(y,o,c||l||0,0,n,-1,o,!1,0,h,p),n.1X="3t"!==p||"6S"!==o&&-1===o.1k("aq")?p:h):U("ap "+o+" 6R aj: "+t[o]):(n=1h 27(y,o,l,c-l,n,0,o,f!==!1&&("2c"===v||"3O"===o),0,h,p),n.1X=v)):n=4j(y,o,h,p,!0,1d,n,0,s)),s&&n&&!n.2D&&(n.2D=s);18 n},a.1S=17(e){19 t,n,r,i=15.1s,s=1e-6;1a(1!==e||15.2Y.1n!==15.2Y.1C&&0!==15.2Y.1n)1a(e||15.2Y.1n!==15.2Y.1C&&0!==15.2Y.1n||15.2Y.1z===-1e-6)1b(;i;){1a(t=i.c*e+i.s,i.r?t=1g.3G(t):s>t&&t>-s&&(t=0),i.2p)1a(1===i.2p)1a(r=i.l,2===r)i.t[i.p]=i.1X+t+i.4a+i.3P+i.5B;1m 1a(3===r)i.t[i.p]=i.1X+t+i.4a+i.3P+i.5B+i.6D+i.6C;1m 1a(4===r)i.t[i.p]=i.1X+t+i.4a+i.3P+i.5B+i.6D+i.6C+i.7D+i.7O;1m 1a(5===r)i.t[i.p]=i.1X+t+i.4a+i.3P+i.5B+i.6D+i.6C+i.7D+i.7O+i.aJ+i.aM;1m{1b(n=i.1X+t+i.4a,r=1;i.l>r;r++)n+=i["3i"+r]+i["2R"+(r+1)];i.t[i.p]=n}1m-1===i.2p?i.t[i.p]=i.1X:i.1S&&i.1S(e);1m i.t[i.p]=t+i.1X;i=i.1f}1m 1b(;i;)2!==i.2p?i.t[i.p]=i.b:i.1S(e),i=i.1f;1m 1b(;i;)2!==i.2p?i.t[i.p]=i.e:i.1S(e),i=i.1f},a.aL=17(e){15.47=e||3===15.47?3:2,15.3r=15.3r||4l(15.7V,i,!0)},a.5e=17(e,t,n,r){18 e&&(t&&(t.1l=e),e.1f&&(e.1f.1l=e.1l),e.1l?e.1l.1f=e.1f:15.1s===e&&(15.1s=e.1f,r=!0),n?n.1f=e:r||1d!==15.1s||(15.1s=e),e.1f=t,e.1l=n),e},a.2n=17(t){19 n,r,i,s=t;1a(t.4T||t.3B){s={};1b(r 1u t)s[r]=t[r];s.1Z=1,s.4T&&(s.6z=1)}18 t.3a&&(n=15.6J)&&(i=n.3C,i&&i.1l?15.5e(i.1l,n.1f,i.1l.1l):i===15.1s&&(15.1s=n.1f),n.1f&&15.5e(n.1f,n.1f.1f,i.1l),15.6J=1d),e.1y.2n.1W(15,s)};19 4t=17(e,t,n){19 r,i,s,o;1a(e.6K)1b(i=e.1c;--i>-1;)4t(e[i],t,n);1m 1b(r=e.70,i=r.1c;--i>-1;)s=r[i],o=s.2p,s.1w&&(t.2d(Q(s)),n&&n.2d(s)),1!==o&&9!==o&&11!==o||!s.70.1c||4t(s,t,n)};18 o.aD=17(e,n,r){19 i,s,o,u=t.3Q(e,n,r),a=[u],f=[],l=[],c=[],h=t.4s.7k;1b(e=u.2F||u.2x,4t(e,f,c),u.1E(n,!0),4t(e,l),u.1E(0,!0),u.1N(!0),i=c.1c;--i>-1;)1a(s=G(c[i],f[i],l[i]),s.4e){s=s.57;1b(o 1u r)h[o]&&(s[o]=r[o]);a.2d(t.3Q(c[i],n,s))}18 a},e.6Q([o]),o},!0)}),1Q.3u&&1Q.37.4q()()',62,830,"|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||this||function|return|var|if|for|length|null||_next|Math|new|_startTime|typeof|indexOf|_prev|else|_time|_timeline|vars|substr|parseFloat|_firstPT|split|in|charAt|style|_timeScale|prototype|_rawPrevTime|data|_paused|_duration|Number|render|255|mt|_totalTime|replace|join|rotation|string|0px|_enabled|_gc|rotationX|window|skewX|setRatio|_p1|add|rotationY|call|xs0|immediateRender|opacity||timeline|100|totalDuration|parser||_first|ht|scaleX|_startAt|_active|instanceof|px|push||_|scaleY|void|_totalDuration|smoothChildTiming|sin|filter|arguments|_kill|easing|type|_p2|_dirty|pr|auto|dt|defaultValue|getRatio|target|number|_initted|rt|_overwriteProps|duration|plugin|cos|_targets|match|_ease|5625|_labels|constructor|_delay|_reversed|128|parse|test|splice|xs|zOrigin|_siblings|format|prefix|scaleZ|currentStyle|_tween|totalTime|startAt|wake|skewY|_onUpdate|time|apply|180|_gsQueue|sqrt|St|className|perspective|_uncache|cssText|paused|_p3|tt|_parseTimeOrLabel|xn|ratio|width|_last|_overwrittenProps|nodeType|config|pow|nt|_transform|_calcEnd|none|_gsDefine|parseInt|API|st|height|ease|_propLookup|alpha|xfirst|it|delete|frame|round|rawTime|selector|tweens|_remove|et|gi|Array|zIndex|xn1|to|transform|appendXtra|_gsTransform|object|version|multi|border|parseComplex|dflt|getTweensOf|all|getPropertyValue|concat|force3D||RegExp|_transformType|reversed|onComplete|xs1|seek|color|_listeners|firstMPT|kill|transparent|set|onReverseComplete|pt|em|Tt|position|isActive|PI|_initProps|pop|skewType|_internals|_t|_notifyPluginsOfEnabled|formatter|runBackwards|delay|scale|top|left|self|sc|_propName|onStart|atan2|transformOrigin|autoRemoveChildren|overwrite|pg|_sortChildren|_gsClassPT|offsetHeight|offsetWidth|_pauseTime|css|com|greensock|plugins|autoAlpha|strict|use|tick|1e5|Ticker|toUpperCase||abs|ox|ieOffsetX|gsClass||rxp|difs|192|9999999999|ot|keyword|sleep|easeParams|_linkCSSP|TweenLite|lt|rgb|ut|repeat|easeIn|_swapSelfInParams|easeInOut|remove|Ct|ieOffsetY|Et|At|getChildren|ms|invalidate|hidden|next|solid|prev|_onPluginEvent|onUpdate|xs2|core|_onInitAllProps|priority|xt|fps|_params|_hasPausedChild|Scope|useFrames|_func|setTimeout|pause|vt|onStartScope|DXImageTransform|oy|Microsoft|onUpdateScope|onUpdateParams|Matrix|_priority|false|Params|GreenSockGlobals||onStartParams|module|define|check|_onDisable|from|_easeType|360|TweenMax|onCompleteParams|fromTo|easeOut|isNaN|createElement|ticker|_gsCache|document|Left|_overwrite|autoCSS|throw|9375|625|delayedCall|984375|timeScale|defaultEase|onCompleteScope|_power|staggerTo|_type|SlowMo|console|hsl|visibility|shortRotationY|padding|xs3|xn2|suffixMap|_short|shortRotationX|ft|inherit|_classNamePT|slice|cssFloat|rotationZ|shortRotation|yt|toLowerCase|activate|tween|display|000|margin|_onInitTween|removeAttribute|borderTopWidth|inset|rgba|childNodes|get|_easePower|play|div||break|globals|_init|addEventListener|gt|WebkitBackfaceVisibility|autoRound|_vars|Cannot|RoughEase|_gsTweenID|_updateRoot|red|autoSleep|reservedProps|center|propName|removeLabel|init|isSelector|Nt|appendChild|zoom|kt|_roundProps|defaultView|insert|addLabel|SimpleTimeline|log|func|marginTop|map|xn3|isArray|bottom|right|Width|black|onReverseCompleteParams|marginLeft|_onEnable|onReverseCompleteScope|Top|xs4|_rootFramesTimeline|borderLeft|filters|marginRight|Right|marginBottom|_target|proxy|Linear|Back|Quad|TweenPlugin|defaultTransformPerspective|progid|absolute|borderLeftWidth|_eventTarget|styleFloat|SteppedEase|Date|_p|up|strictUnits|M11|M12|Dx|exports|Dy|Ease|999|GreenSockAMDPath|_class|register|M22|M21|oxp|shiftChildren|01|oyp|Lt|url|Plugin|gap|defaultSkewType|directionalRotation|rect|removeProperty|random|_contains|startTime|isFromStart|Mt|autoRotate|defaultOverwrite|Animation|Ot|2e3|not|1e3|parseTransform|template|wt|matrix|dispatchEvent|strength|useRAF|clrs|transformPerspective|events|EventDispatcher|or|the|Color||stroke|append|into|is|physics2D|atrix|radient|oader||clear|999999999999|float|usesFrames|borderWidth|borderRightWidth|borderBottomWidth|clearProps|bezier|getLabelTime|fill|addPause|appendMultiple|stop|gotoAndPlay|throwProps|physicsProps|visible|gotoAndStop|insertMultiple|killTweensOf|resume|restart|reverse|eventCallback|1500|clearTimeout|CancelAnimationFrame|CancelRequestAnimationFrame|004|on|progress|_plugins|_tweenLookup|onRepeat|getElementById|jQuery|totalProgress|jquery|_autoCSS|RequestAnimationFrame|webkit|Quart|Quint|Strong|Cubic|undefined|Object|toString|amd|Power|easeNone|now|getTime|moz|cancelAnimationFrame|requestAnimationFrame|linear|swing|removeEventListener|onRepeatParams|onRepeatScope|dependency|TimelineLite|align|missing|encountered|initAll|global|GSAP|stagger|value|exportRoot|normal|sequence|staggerFromTo|staggerFrom|invalid|Style|NaN|overwriteProps||definition|true|_rootTimeline|120|preexisting|allOnStart|yoyo|repeatDelay|concurrent|cascadeTo|_dummyGS|_super|_addTween|illegal|killDelayedCallsTo|xn4|_tempKill|_enableTransforms|xs5|start|70158|Bottom|oxr|oyr|rad|borderTop|Origin|removeChild|cacheWidths|calculateOffset|offset|short|_cw|maroon|teal|blue|navy|silver|lime|ccw|borderBottomLeftRadius|aqua|backgroundPosition|background|exec|innerHTML|1px|getElementsByTagName|MSIE|Firefox|backgroundPositionY|Safari|Chrome|Version|backgroundPositionX|Moz|clientWidth|clientHeight|line|body|convertToPixels||getStyle|Ms|Webkit|getComputedStyle|white|fuchsia|block|Transform|getTransform|179|registerSpecialProp|loaded|_cssRegister|Error|js|file|shortRotationZ|set2DTransformRatio|tan|gradient|Alpha|simple|translate3d|expand|270|matrix3d|sizingMethod|_registerComplexSpecialProp|collapsible|purple|green|borderBottomRightRadius|pink|gray|165|olive|yellow|orange|borderTopRightRadius|203|_setPluginRatio|_parseToProxy|end|CSSPropTween|hsla|boxShadow|cyan|borderTopLeftRadius|borderRadius|Android|parentNode|ElasticIn|ElasticInOut|Expo|ElasticOut|Elastic|BackInOut|asin|paddingTop|BackIn|ExpoOut||SineIn|BackOut|SineInOut|SineOut|Sine|ExpoIn|randomize|ExpoInOut|userAgent|CircInOut|taper|BounceOut|999999999|Bounce|points|clamp|out|sort|BounceIn|BounceInOut|Circ|CircOut|CircIn|paddingRight|clipTop|clip|paddingLeft|paddingBottom|525|001|compensated|clipLeft|borderTopColor|backgroundImage|img|set3DTransformRatio|clipRight|src|textShadow|zA|borderTopStyle|setAttribute|clipBottom|backgroundSize|navigator|lineHeight|userSelect|find|EaseLookup|backfaceVisibility|transformStyle|perspectiveOrigin|fontSize|CSSPlugin|_specialProps|Z0".split("|"),0,{}));
}catch(e){console.log("Module 'layerSlider': ",e);}
try{eval(function(a,b,c,d,e,f){if(e=function(a){return(a<b?"":e(parseInt(a/b)))+((a%=b)>35?String.fromCharCode(a+29):a.toString(36))},!"".replace(/^/,String)){for(;c--;)f[e(c)]=d[c]||e(c);d=[function(a){return f[a]}],e=function(){return"\\w+"},c=1}for(;c--;)d[c]&&(a=a.replace(new RegExp("\\b"+e(c)+"\\b","g"),d[c]));return a}('18 av(e,t,n){16 r;6(1Q e=="5J"){r=3I("#"+e)}19 6(1Q e=="ap"){r=e}16 i,s;2v(t){1l"ay":i="e6 3I bw";s=\'bi aa 4y dY e4 aB 4M 4J cZ cX an dL dm 3k 24 3I b0 ds dp 2a 2Q 2q aM 4J dn. <bA>4K dr 3Y 4J 63 du dt 2q 24 df dH 3k 2Q 5o dG 24 "dJ dK dM 2q 5m" dF dx 24 dA & cN cQ 3H.</bA>\';1j;1l"au":i="5H 3I bw";s="bi aa 4y cV d7 d6 an 5H 3X ("+n+\') 3k 24 3I b0. 2Q d5 at d8 3X 1.7.0 4M d9. 4K aK 3I 2q 1.10.x 4M db. da: 4K do 2F d4 24 3I d3 aB 3Y 63 5o do 2F aK 2q 2.x 3X 3k 3I cW 4o 3v 2F a6 d0 d2 d1 4y eC 7 & 8. <a 2R="7m://eF.eG.3U/eB/4/5P-2a-eA/#9R-13&9O-60">ev ew ex ey eT eS 3I by eR eQ.</a>\';1j}r.1o("12-43");r.4e(\'<p 1u="12-eL">!</p>\');r.4e(\'<p 1u="12-43-eM">2Q: \'+i+"</p>");r.4e(\'<p 1u="12-43-9K">\'+s+"</p>")}(18(e){e.ax.3h=18(n){16 r="1.7.0";16 i=e.ax.ay;16 s=e(14);16 o=18(e,t){16 n=e.1J(".");16 r=t.1J(".");2a(16 i=0;i<n.1k;++i){6(r.1k==i){1S 1f}6(1d(n[i])==1d(r[i])){eP}19 6(1d(n[i])>1d(r[i])){1S 1f}19{1S 1b}}6(n.1k!=r.1k){1S 1b}1S 1b};6(!o("1.8.0",i)){s.1o("12-9A")}6(!o(r,i)){av(s,"au",i)}19{6((1Q n).3F("ap|2L")){1S 14.1O(18(e){1H t(14,n)})}19{6(n==="11"){16 u=e(14).11("2Q").g;6(u){1S u}}19 6(n==="eO"){16 a=e(14).11("2Q").o;6(a){1S a}}19 6(n==="cD"){16 a=e(14).11("2Q").8l;6(a){1S a}}19{1S 14.1O(18(t){16 r=e(14).11("2Q");6(r){6(!r.g.2S&&!r.g.4f){6(1Q n=="3W"){6(n>0&&n<r.g.2E+1&&n!=r.g.22){r.4V(n)}}19{2v(n){1l"1U":r.o.6J(r.g);r.1U("6K");1j;1l"1X":r.o.6F(r.g);r.1X("6K");1j;1l"28":6(!r.g.2z){r.o.ab(r.g);r.g.2A=1b;r.28()}1j}}}6(n==="eN"){r.2g()}6((r.g.2z||!r.g.2z&&r.g.2A)&&n=="1x"){r.o.ae(r.g);r.g.2A=1f;r.g.1K.17(\'1Y[1h*="4U.3U"], 1Y[1h*="5x.be"], 1Y[1h*="5v.5j"]\').1O(18(){2o(e(14).11("6w"))});r.1x()}6(n=="e1"){r.9G()}}})}}}};16 t=18(u,a){16 f=14;f.$el=e(u).1o("12-2b");f.$el.11("2Q",f);f.3P=18(){f.8l=t.9c;f.o=e.4F({},f.8l,a);f.g=e.4F({},t.78);f.1w=e.4F({},t.ar);f.53=e.4F({},t.9b);f.g.dV=e(u).2n("12-9A")?1f:1b;f.g.cg=e(u).4n();6(f.g.2t){f.o.4C=1f}6(f.o.2C==="cd"){f.o.2C=1b}6(f.o.2C==="9z"){f.o.2C=1f}6(1Q aQ!=="2L"){f.t=e.4F({},aQ)}6(1Q 9o!=="2L"){f.ct=e.4F({},9o)}6(!f.g.9Y){f.g.9Y=1b;6(e("4n").17(\'aX[8N*="63"]\').1k){f.g.cu=e("4n").17(\'aX[8N*="63"]\').1g("8N").1J("63")[1]}6(e("4n").17(\'8J[1h*="5P"]\').1k){6(e("4n").17(\'8J[1h*="5P"]\').1g("1h").1i("?")!=-1){f.g.cC=e("4n").17(\'8J[1h*="5P"]\').1g("1h").1J("?")[1].1J("=")[1]}}6(!f.o.3p||f.o.3p==""||!f.o.3K||f.o.3K==""){f.5d()}19{e(u).1o("12-"+f.o.3p);16 n=f.o.3K+f.o.3p+"/3p.1a";8z=e("9a");6(!e("9a").1k){8z=e("5m")}6(e(\'7n[2R="\'+n+\'"]\').1k){r=e(\'7n[2R="\'+n+\'"]\');6(!f.g.3f){f.g.3f=1b;f.g.9F=2f(18(){f.5d()},8E)}}19{6(61.aj){61.aj(n);16 r=e(\'7n[2R="\'+n+\'"]\')}19{16 r=e(\'<7n 4Y="bJ" 2R="\'+n+\'" 4W="9K/1a" />\').1C(8z)}}r.3P(18(){6(!f.g.3f){f.g.3f=1b;f.g.9B=2f(18(){f.5d()},8E)}});e(1Z).3P(18(){6(!f.g.3f){f.g.3f=1b;f.g.9C=2f(18(){f.5d()},8E)}});f.g.9D=2f(18(){6(!f.g.3f){f.g.3f=1b;f.5d()}},1P)}}};f.5d=18(){e(u).5w(e(f.o.1C));6(!e("4n").1g("69")){e("4n").1g("69","12-78")}19 6(!e("5m").1g("69")){e("5m").1g("69","12-78")}6(f.g.73()===1b&&f.o.8W===1b){e(u).1o("12-4p");e(u).3t(".12-3g-3i-2b").1o("12-4p")}16 t=18(){6(f.o.8W===1b&&f.g.73()===1b){e(u).1o("12-4p");e(u).3t(".12-3g-3i-2b").1o("12-4p");f.o.4r=1f}19{6(e(1Z).1c()<f.o.aT||e(1Z).1c()>f.o.aP){e(u).1o("12-4p");e(u).3t(".12-3g-3i-2b").1o("12-4p")}19{e(u).2m("12-4p");e(u).3t(".12-3g-3i-2b").2m("12-4p")}}};e(1Z).2g(18(){t()});t();f.g.1y=18(){1S e(u).1c()};f.g.1F=18(){1S e(u).1e()};e(u).17(".12-3B").2m("12-3B").1o("12-1s");e(u).17(\'.12-1s > *[1u*="12-s"]\').1O(18(){16 t=e(14).1g("1u").1J("12-s")[1].1J(" ")[0];e(14).2m("12-s"+t).1o("12-l"+t)});6(f.o.9H){f.o.2U=f.o.9H}6(f.o.bU===1f){f.o.4X=1f}6(e(u).17(".12-1s").1k==1){f.o.4r=1f;f.o.8b=1f;f.o.72=1f;f.o.79=1f;f.o.4b=0;f.o.75=1f;f.o.2C=1b;f.o.2U=1;f.o.38="9z"}6(e(u).23().2n("12-3g-3i-6A")&&f.o.3N!==0){e(u)[0].1M.1c="1E%"}6(f.o.1c){f.g.7E=f.g.2j=""+f.o.1c}19{f.g.7E=f.g.2j=e(u)[0].1M.1c}6(f.o.1e){f.g.3o=""+f.o.1e}19{f.g.3o=e(u)[0].1M.1e}6(f.g.2j.1i("%")==-1&&f.g.2j.1i("1D")==-1){f.g.2j+="1D"}6(f.g.3o.1i("%")==-1&&f.g.3o.1i("1D")==-1){f.g.3o+="1D"}6(f.o.9n&&f.g.2j.1i("1D")!=-1&&f.g.3o.1i("1D")!=-1){f.g.3V=1b}19{f.g.3V=1f}6(f.o.8w===1b){f.o.3N=0;f.g.3V=1b;6(f.g.2j.1i("%")!=-1){f.g.2j=1d(f.g.2j)+"1D"}6(f.g.3o.1i("%")!=-1){f.g.3o=1d(f.g.3o)+"1D"}}e(u).17(\'*[1u*="12-l"], *[1u*="12-bg"]\').1O(18(){6(!e(14).23().2n("12-1s")){e(14).bH(e(14).23())}});e(u).17(".12-1s").1O(18(){e(14).2Z(\':2F([1u*="12-"])\').1O(18(){e(14).9Q()});16 t=e("<1n>").1o("12-bG");6(e(14).17(".12-bg").1k){t.bF(e(14).17(".12-bg").eq("0"))}19{t.5w(e(14))}});e(u).17(\'.12-1s, *[1u*="12-l"]\').1O(18(){6(e(14).11("12")||e(14).1g("4Y")||e(14).1g("1M")){6(e(14).11("12")){16 t=e(14).11("12").21().1J(";")}19 6(e(14).1g("4Y")&&e(14).1g("4Y").1i(":")!=-1&&e(14).1g("4Y").1i(";")!=-1){16 t=e(14).1g("4Y").21().1J(";")}19{16 t=e(14).1g("1M").21().1J(";")}2a(x=0;x<t.1k;x++){3C=t[x].1J(":");6(3C[0].1i("4I")!=-1){3C[1]=f.9E(3C[1])}16 n="";6(3C[2]){n=":"+e.5F(3C[2])}6(3C[0]!=" "&&3C[0]!=""){e(14).11(e.5F(3C[0]),e.5F(3C[1])+n)}}}6(f.o.8n===1b&&f.o.4r===1b){f.o.4r=1f;f.g.7P=1b}16 r=e(14);r.11("4g",r[0].1M.1m);r.11("4a",r[0].1M.1q);6(e(14).3v("a")&&e(14).2Z().1k>0){r=e(14).2Z()}16 i=r.1c();16 s=r.1e();6(r[0].1M.1c&&r[0].1M.1c.1i("%")!=-1){i=r[0].1M.1c}6(r[0].1M.1e&&r[0].1M.1e.1i("%")!=-1){s=r[0].1M.1e}r.11("2Y",i);r.11("2W",s);r.11("8X",r.1a("2e-1m"));r.11("8Y",r.1a("2e-1G"));r.11("93",r.1a("2e-1q"));r.11("92",r.1a("2e-1p"));16 o=1Q 3c(r.1a("3e"))=="3W"?1B.co(3c(r.1a("3e"))*1E)/1E:1;e(14).11("7o",o);6(r.1a("4i-1m-1c").1i("1D")==-1){r.11("6y",r[0].1M.9Z)}19{r.11("6y",r.1a("4i-1m-1c"))}6(r.1a("4i-1G-1c").1i("1D")==-1){r.11("6z",r[0].1M.a3)}19{r.11("6z",r.1a("4i-1G-1c"))}6(r.1a("4i-1q-1c").1i("1D")==-1){r.11("6C",r[0].1M.a4)}19{r.11("6C",r.1a("4i-1q-1c"))}6(r.1a("4i-1p-1c").1i("1D")==-1){r.11("6B",r[0].1M.a8)}19{r.11("6B",r.1a("4i-1p-1c"))}r.11("9v",r.1a("9M-a2"));r.11("9L",r.1a("a1-1e"))});6(61.4O.a0){2a(16 n=0;n<e(u).17(".12-1s").1k;n++){6(e(u).17(".12-1s").eq(n).11("c0")==61.4O.a0.1J("#")[1]){f.o.2U=n+1}}}e(u).17(\'*[1u*="12-8O-"]\').1O(18(){16 t=e(14).1g("1u").1J(" ");2a(16 n=0;n<t.1k;n++){6(t[n].1i("12-8O-")!=-1){16 r=1d(t[n].1J("12-8O-")[1]);e(14).1a({cw:"cx"}).2u(18(t){t.3w();e(u).3h(r)})}}});f.g.2E=e(u).17(".12-1s").1k;6(f.o.7p&&f.g.2E>2){f.o.2U=="2i";f.o.7W=1f}19{f.o.7p=1f}6(f.o.2U=="2i"){f.o.2U=1B.27(1B.2i()*f.g.2E+1)}f.o.5f=f.o.5f<f.g.2E+1?f.o.5f:1;f.o.5f=f.o.5f<1?1:f.o.5f;f.g.4q=1;6(f.o.4X){f.g.4q=0}16 r=61.4O.2R.1i("c2:")===-1?"":"7m:";e(u).17(\'1Y[1h*="4U.3U"], 1Y[1h*="5x.be"]\').1O(18(){e(14).23().1o("12-2s-3B");6(e(14).23(\'[1u*="12-l"]\')){16 t=e(14);16 n=r;e.9T(n+"//c3.4U.3U/c9/a9/ca/"+e(14).1g("1h").1J("9V/")[1].1J("?")[0]+"?v=2&7s=99&9k=?",18(e){t.11("7q",1d(e["9O"]["cb$9R"]["cl$2r"]["cc"])*1P)});16 i=e("<1n>").1o("12-5A").1C(e(14).23());e("<29>").1C(i).1o("12-3m").1g("7s","bf 2s").1g("1h",n+"//29.4U.3U/ch/"+e(14).1g("1h").1J("9V/")[1].1J("?")[0]+"/"+f.o.aH);e("<1n>").1C(i).1o("12-b1");e(14).23().1a({1c:e(14).1c(),1e:e(14).1e()}).2u(18(){6(e(14).11("4z")>0&&e(14).11("4s")){2o(e(14).11("4s"))}f.g.2S=1b;6(f.g.2T){6(f.o.2C!=1f){f.g.2T=1f}f.g.2A=1b}19{f.g.2A=f.g.2z}6(f.o.2C!=1f){f.1x()}f.g.4E=1b;n=e(14).17("1Y").11("3S").1i("7m")===-1?r:"";e(14).17("1Y").1g("1h",n+e(14).17("1Y").11("3S"));e(14).17(".12-5A").1N(f.g.v.d).3M(f.g.v.7u,18(){6(f.o.2C=="1W"&&f.g.2A==1b){16 e=2f(18(){f.28()},t.11("7q")-f.g.v.d);t.11("6w",e)}f.g.2S=1f;6(f.g.2g==1b){f.3z(f.g.1K,18(){f.g.2g=1f})}})});16 s="&";6(e(14).1g("1h").1i("?")==-1){s="?"}16 o="&bz=aq&c4=1";6(e(14).1g("1h").1i("4j")==-1){e(14).11("3S",e(14).1g("1h")+s+"4j=1"+o)}19{e(14).11("3S",e(14).1g("1h").2l("4j=0","4j=1")+o)}e(14).11("2Y",e(14).1g("1c"));e(14).11("2W",e(14).1g("1e"));e(14).1g("1h","")}});e(u).17(\'1Y[1h*="5v.5j"]\').1O(18(){e(14).23().1o("12-2s-3B");6(e(14).23(\'[1u*="12-l"]\')){16 t=e(14);16 n=r;16 i=e("<1n>").1o("12-5A").1C(e(14).23());e.9T(n+"//5j.3U/a9/ci/2s/"+e(14).1g("1h").1J("2s/")[1].1J("?")[0]+".99?9k=?",18(n){e("<29>").1C(i).1o("12-3m").1g("7s","bf 2s").1g("1h",n[0]["cv"]);t.11("7q",1d(n[0]["2r"])*1P);e("<1n>").1C(i).1o("12-b1")});e(14).23().1a({1c:e(14).1c(),1e:e(14).1e()}).2u(18(){6(e(14).11("4z")>0&&e(14).11("4s")){2o(e(14).11("4s"))}f.g.2S=1b;6(f.g.2T){6(f.o.2C!=1f){f.g.2T=1f}f.g.2A=1b}19{f.g.2A=f.g.2z}6(f.o.2C!=1f){f.1x()}f.g.4E=1b;n=e(14).17("1Y").11("3S").1i("7m")===-1?r:"";e(14).17("1Y").1g("1h",n+e(14).17("1Y").11("3S"));e(14).17(".12-5A").1N(f.g.v.d).3M(f.g.v.7u,18(){6(f.o.2C=="1W"&&f.g.2A==1b){16 e=2f(18(){f.28()},t.11("7q")-f.g.v.d);t.11("6w",e)}f.g.2S=1f;6(f.g.2g==1b){f.3z(f.g.1K,18(){f.g.2g=1f})}})});16 s="&";6(e(14).1g("1h").1i("?")==-1){s="?"}16 o="&bz=aq";6(e(14).1g("1h").1i("4j")==-1){e(14).11("3S",e(14).1g("1h")+s+"4j=1"+o)}19{e(14).11("3S",e(14).1g("1h").2l("4j=0","4j=1")+o)}e(14).11("2Y",e(14).1g("1c"));e(14).11("2W",e(14).1g("1e"));e(14).1g("1h","")}});e(u).17("2s, 6I").1O(18(){16 t=1Q e(14).1g("1c")!=="2L"?e(14).1g("1c"):"c7";16 n=1Q e(14).1g("1e")!=="2L"?e(14).1g("1e"):""+e(14).1e();6(t.1i("%")===-1){t=1d(t)}6(n.1i("%")===-1){n=1d(n)}6(t==="1E%"&&(n===0||n==="0"||n==="1E%")){e(14).1g("1e","1E%");n="1W"}e(14).23().1o("12-2s-3B").1a({1c:t,1e:n}).11({2Y:t,2W:n});16 r=e(14);e(14).3Y("cz",18(){6(f.o.2C==="1W"&&f.g.2A===1b){f.28()}});e(14).5X("1c").5X("1e").1a({1c:"1E%",1e:"1E%"}).2u(18(e){6(!f.g.4E){6(14.2T){e.3w()}14.cs();f.g.2S=1b;6(f.g.2T){6(f.o.2C!==1f){f.g.2T=1f}f.g.2A=1b}19{f.g.2A=f.g.2z}6(f.o.2C!==1f){f.1x()}f.g.4E=1b;f.g.2S=1f;6(f.g.2g===1b){f.3z(f.g.1K,18(){f.g.2g=1f})}}})});6(f.o.4X){f.o.2U=f.o.2U-1===0?f.g.2E:f.o.2U-1}f.g.22=f.o.2U;f.g.1K=e(u).17(".12-1s:eq("+(f.g.22-1)+")");e(u).17(".12-1s").ck(\'<1n 1u="12-2h"></1n>\');6(f.o.aV){f.g.3q=e("<1n>").1o("12-bL-5V").1C(e(u).17(".12-2h"))}6(f.o.aN&&!f.g.2t){f.g.30=e("<1n>").1o("12-cn-5V").1C(e(u).17(".12-2h"));f.g.30.4e(e(\'<1n 1u="12-ct-1m"><1n 1u="12-ct-3s"><1n 1u="12-ct-aI"><1n 1u="12-ct-aJ"></1n></1n></1n></1n><1n 1u="12-ct-1G"><1n 1u="12-ct-3s"><1n 1u="12-ct-aI"><1n 1u="12-ct-aJ"></1n></1n></1n></1n><1n 1u="12-ct-bN"></1n>\'))}f.g.6d=e("<1n>").1a({bM:-1,1L:"1R"}).1o("12-aC-2b").1C(e(u));e("<1n>").1o("12-aC-bX").1C(f.g.6d);6(e(u).1a("3L")=="bY"){e(u).1a("3L","ak")}6(f.o.7i){e(u).17(".12-2h").1a({bW:"67("+f.o.7i+")"})}19{e(u).17(".12-2h").1a({bV:f.o.7r})}6(f.o.7r=="87"&&f.o.7i==1f){e(u).17(".12-2h").1a({3u:"1R 87 !bI"})}e(u).17(".12-1s 29").1O(18(){e(14).5X("1c").5X("1e");6(f.o.3O===1b&&f.o.4C===1b){6(1Q e(14).11("1h")!=="5J"){e(14).11("1h",e(14).1g("1h"));16 t=f.o.3K+"../1a/bZ.bE";e(14).1g("1h",t)}}19{6(1Q e(14).11("1h")==="5J"){e(14).1g("1h",e(14).11("1h"));e(14).5X("11-1h")}}});e(u).17(".12-1s").3Y("bS",18(t){f.g.aS=t.7t-e(14).23().4d().1m;f.g.aO=t.aR-e(14).23().4d().1q});e(u).17(".12-1s").3Y("ag",18(t){16 n=e(14).23().4d().1m+f.g.aS;16 r=e(14).23().4d().1q+f.g.aO;16 i=t.7t-n;16 s=t.aR-r;e(14).17("> *:2F(.12-bg)").1O(18(){6(1Q e(14).11("5b")!=="2L"&&1d(e(14).11("5b"))!==0){e(14).1a({3G:-i/1E*1d(e(14).11("5b")),47:-s/1E*1d(e(14).11("5b"))})}})});e(u).17(".12-1s").3Y("cm",18(){e(14).17("> *:2F(.12-bg)").1O(18(){6(1Q e(14).11("5b")!=="2L"&&1d(e(14).11("5b"))!==0){3b.2q(14,.4,{1a:{3G:0,47:0}})}})});6(f.o.8b){e(\'<a 1u="12-1r-1U" 2R="#" />\').2u(18(t){t.3w();e(u).3h("1U")}).1C(e(u));e(\'<a 1u="12-1r-1X" 2R="#" />\').2u(18(t){t.3w();e(u).3h("1X")}).1C(e(u));6(f.o.ai){e(u).17(".12-1r-1U, .12-1r-1X").1a({1L:"1R"});e(u).1V(18(){6(!f.g.8a){6(f.g.2t){e(u).17(".12-1r-1U, .12-1r-1X").1a("1L","2p")}19{e(u).17(".12-1r-1U, .12-1r-1X").1x(1b,1b).2I(2D)}}},18(){6(f.g.2t){e(u).17(".12-1r-1U, .12-1r-1X").1a("1L","1R")}19{e(u).17(".12-1r-1U, .12-1r-1X").1x(1b,1b).3M(2D)}})}}6(f.o.72||f.o.79){16 i=e(\'<1n 1u="12-1p-1r-2J" />\').1C(e(u));f.g.32=i;6(f.o.38=="4N"){i.1o("12-az-5e")}6(f.o.79&&f.o.38!="4N"){e(\'<5C 1u="12-1p-4G" />\').1C(e(u).17(".12-1p-1r-2J"));6(f.o.38=="1V"){16 s=e(\'<1n 1u="12-1I-1V"><1n 1u="12-1I-1V-2h"><1n 1u="12-1I-1V-bg"></1n><1n 1u="12-1I-1V-29"><29></1n><5C></5C></1n></1n>\').1C(e(u).17(".12-1p-4G"))}2a(x=1;x<f.g.2E+1;x++){16 o=e(\'<a 2R="#" />\').1C(e(u).17(".12-1p-4G")).2u(18(t){t.3w();e(u).3h(e(14).7L()+1)});6(f.o.38=="1V"){e(u).17(".12-1I-1V, .12-1I-1V-29").1a({1c:f.o.8y,1e:f.o.6c});16 a=e(u).17(".12-1I-1V");16 l=a.17("29").1a({1e:f.o.6c});16 c=e(u).17(".12-1I-1V-2h").1a({26:"2x",1L:"2p"});o.1V(18(){16 t=e(u).17(".12-1s").eq(e(14).7L());16 n;6(f.o.3O===1b&&f.o.4C===1b){6(t.17(".12-4l").1k){n=t.17(".12-4l").11("1h")}19 6(t.17(".12-3m").1k){n=t.17(".12-3m").1g("1h")}19 6(t.17(".12-bg").1k){n=t.17(".12-bg").11("1h")}19{n=f.o.3K+f.o.3p+"/6M.4P"}}19{6(t.17(".12-4l").1k){n=t.17(".12-4l").1g("1h")}19 6(t.17(".12-3m").1k){n=t.17(".12-3m").1g("1h")}19 6(t.17(".12-bg").1k){n=t.17(".12-bg").1g("1h")}19{n=f.o.3K+f.o.3p+"/6M.4P"}}e(u).17(".12-1I-1V-29").1a({1m:1d(a.1a("2e-1m")),1q:1d(a.1a("2e-1q"))});l.3P(18(){6(e(14).1c()==0){l.1a({3L:"ak",4h:"0 1W",1m:"1W"})}19{l.1a({3L:"cA",3G:-e(14).1c()/2,1m:"50%"})}}).1g("1h",n);a.1a({1L:"2p"}).1x().49({1m:e(14).3L().1m+(e(14).1c()-a.3x())/2},83);c.1a({1L:"1R",26:"2P"}).1x().2I(83)},18(){c.1x().3M(83,18(){a.1a({26:"2x",1L:"2p"})})})}}6(f.o.38=="1V"){s.1C(e(u).17(".12-1p-4G"))}e(u).17(".12-1p-4G a:eq("+(f.o.2U-1)+")").1o("12-1r-1T")}6(f.o.72){16 h=e(\'<a 1u="12-1r-28" 2R="#" />\').2u(18(t){t.3w();e(u).3h("28")}).5w(e(u).17(".12-1p-1r-2J"));16 p=e(\'<a 1u="12-1r-1x" 2R="#" />\').2u(18(t){t.3w();e(u).3h("1x")}).1C(e(u).17(".12-1p-1r-2J"))}19 6(f.o.38!="4N"){e(\'<5C 1u="12-1r-al 12-1r-cB" />\').5w(e(u).17(".12-1p-1r-2J"));e(\'<5C 1u="12-1r-al 12-1r-cy" />\').1C(e(u).17(".12-1p-1r-2J"))}6(f.o.76&&f.o.38!="4N"){i.1a({1L:"1R"});e(u).1V(18(){6(!f.g.8a){6(f.g.2t){i.1a("1L","2p")}19{i.1x(1b,1b).2I(2D)}}},18(){6(f.g.2t){i.1a("1L","1R")}19{i.1x(1b,1b).3M(2D)}})}}6(f.o.38=="4N"){f.g.40=e(\'<1n 1u="12-1I-2J"></1n>\').1C(e(u));16 s=e(\'<1n 1u="12-1I"><1n 1u="12-1I-2h"><1n 1u="12-1I-1s-2b"><1n 1u="12-1I-1s"></1n></1n></1n></1n>\').1C(f.g.40);f.g.5e=e(u).17(".12-1I-1s-2b");6(!("6k"3R 1Z)){f.g.5e.1V(18(){e(14).1o("12-1I-1s-1V")},18(){e(14).2m("12-1I-1s-1V");f.7Q()}).ag(18(t){16 n=1d(t.7t-e(14).4d().1m)/e(14).1c()*(e(14).1c()-e(14).17(".12-1I-1s").1c());e(14).17(".12-1I-1s").1x().1a({3G:n})})}19{f.g.5e.1o("12-cj")}e(u).17(".12-1s").1O(18(){16 t=e(14).7L()+1;16 n;6(f.o.3O===1b&&f.o.4C===1b){6(e(14).17(".12-4l").1k){n=e(14).17(".12-4l").11("1h")}19 6(e(14).17(".12-3m").1k){n=e(14).17(".12-3m").1g("1h")}19 6(e(14).17(".12-bg").1k){n=e(14).17(".12-bg").11("1h")}19{n=f.o.3K+f.o.3p+"/6M.4P"}}19{6(e(14).17(".12-4l").1k){n=e(14).17(".12-4l").1g("1h")}19 6(e(14).17(".12-3m").1k){n=e(14).17(".12-3m").1g("1h")}19 6(e(14).17(".12-bg").1k){n=e(14).17(".12-bg").1g("1h")}19{n=f.o.3K+f.o.3p+"/6M.4P"}}16 r=e(\'<a 2R="#" 1u="12-4c-\'+t+\'"><29 1h="\'+n+\'"></a>\');r.1C(e(u).17(".12-1I-1s"));6(!("6k"3R 1Z)){r.1V(18(){e(14).2Z().1x().6l(2D,f.o.8P/1E)},18(){6(!e(14).2Z().2n("12-4c-1T")){e(14).2Z().1x().6l(2D,f.o.8I/1E)}})}r.2u(18(n){n.3w();e(u).3h(t)})});6(h&&p){16 d=f.g.32=e(\'<1n 1u="12-1p-1r-2J 12-c5-5e"></1n>\').1C(e(u));h.7v().2u(18(t){t.3w();e(u).3h("28")}).1C(d);p.7v().2u(18(t){t.3w();e(u).3h("1x")}).1C(d)}6(f.o.76){f.g.40.1a("1L","1R");6(d){f.g.32=d.1a("1L")=="2p"?d:e(u).17(".12-az-5e");f.g.32.1a("1L","1R")}e(u).1V(18(){e(u).1o("12-1V");6(!f.g.8a){6(f.g.2t){f.g.40.1a("1L","2p");6(f.g.32){f.g.32.1a("1L","2p")}}19{f.g.40.1x(1b,1b).2I(2D);6(f.g.32){f.g.32.1x(1b,1b).2I(2D)}}}},18(){e(u).2m("12-1V");6(f.g.2t){f.g.40.1a("1L","1R");6(f.g.32){f.g.32.1a("1L","1R")}}19{f.g.40.1x(1b,1b).3M(2D);6(f.g.32){f.g.32.1x(1b,1b).3M(2D)}}})}}f.g.3T=e(\'<1n 1u="12-3T"></1n>\').1C(e(u));6(f.g.3T.1a("1L")=="2p"&&!f.g.3T.17("29").1k){f.g.6u=18(){f.g.3T.1a({1L:"1R",26:"2P"}).2I(4w,18(){f.g.6u=1f})};f.g.56=e("<29>").1g("1h",f.o.3K+f.o.3p+"/3T.4P").1C(f.g.3T);f.g.a7=1Q 1d(e(u).1a("2e-1p"))=="3W"?1d(e(u).1a("2e-1p")):0}f.7w();6(f.o.ad&&e(u).17(".12-1s").1k>1){e("5m").6G("ce",18(e){6(!f.g.2S&&!f.g.4f){6(e.bq==37){f.o.6J(f.g);f.1U("6K")}19 6(e.bq==39){f.o.6F(f.g);f.1X("6K")}}})}6("6k"3R 1Z&&e(u).17(".12-1s").1k>1&&f.o.ah){e(u).17(".12-2h").6G("c8",18(e){16 t=e.54?e.54:e.bd.54;6(t.1k==1){f.g.6p=f.g.5K=t[0].bb}});e(u).17(".12-2h").6G("c6",18(e){16 t=e.54?e.54:e.bd.54;6(t.1k==1){f.g.5K=t[0].bb}6(1B.4m(f.g.6p-f.g.5K)>45){e.3w()}});e(u).17(".12-2h").6G("bC",18(t){6(1B.4m(f.g.6p-f.g.5K)>45){6(f.g.6p-f.g.5K>0){f.o.6F(f.g);e(u).3h("1X")}19{f.o.6J(f.g);e(u).3h("1U")}}})}6(f.o.9r==1b&&e(u).17(".12-1s").1k>1){e(u).17(".12-2h").1V(18(){f.o.am(f.g);6(f.g.2z){f.g.2T=1b;f.1x();6(f.g.3q){f.g.3q.1x()}6(f.g.30){6(f.g.2M){f.g.2M.5N()}}f.g.3Q=(1H 5a).5c()}},18(){6(f.g.2T==1b){f.28();f.g.2T=1f}})}f.7A();6(f.o.1v){f.g.1v=e("<29>").1o("12-c1").1C(e(u)).1g("1M",f.o.aD).1a({26:"2x",1L:"cf"}).3P(18(){16 t=0;6(!f.g.1v){t=1P}2f(18(){f.g.1v.11("2Y",f.g.1v.1c());f.g.1v.11("2W",f.g.1v.1e());6(f.g.1v.1a("1m")!="1W"){f.g.1v.11("4g",f.g.1v[0].1M.1m)}6(f.g.1v.1a("1G")!="1W"){f.g.1v.11("5S",f.g.1v[0].1M.1G)}6(f.g.1v.1a("1q")!="1W"){f.g.1v.11("4a",f.g.1v[0].1M.1q)}6(f.g.1v.1a("1p")!="1W"){f.g.1v.11("68",f.g.1v[0].1M.1p)}6(f.o.8k!=1f){e("<a>").1C(e(u)).1g("2R",f.o.8k).1g("cr",f.o.aF).1a({cq:"1R",cp:"1R"}).4e(f.g.1v)}f.g.1v.1a({1L:"1R",26:"2P"});f.86()},t)}).1g("1h",f.o.1v)}e(1Z).2g(18(){f.2g()});e(1Z).3Y("bT",18(){e(1Z).2g()});f.g.9q=1b;6(f.o.4X==1b){6(f.o.4r){f.g.2z=1b;e(u).17(".12-1r-28").1o("12-1r-28-1T")}19{e(u).17(".12-1r-1x").1o("12-1r-1x-1T")}f.1X()}19 6(1Q f.g.1K[0]!=="2L"){f.3O(f.g.1K,18(){f.g.1K.2I(f.o.7B,18(){f.g.4f=1f;e(14).1o("12-1T");6(f.o.5Q){e(14).1N(e(14).11("5l")+25).bR(18(){e(14).17(".12-3m").2u();e(14).17("2s, 6I").1O(18(){6(1Q e(14)[0].6H!==0){e(14)[0].6H=0}e(14).2u()});e(14).7x()})}f.g.1K.17(\' > *[1u*="12-l"]\').1O(18(){16 t=e(14);6((!t.2n("12-2s-3B")||t.2n("12-2s-3B")&&f.o.5Q===1f)&&t.11("4z")>0){t.11("4s",2f(18(){f.8F(t)},t.11("4z")))}})});f.7S(f.g.22);6(f.o.4r){f.g.4f=1f;f.28()}19{e(u).17(".12-1r-1x").1o("12-1r-1x-1T")}})}f.o.ac(e(u))};f.2g=18(){f.g.2g=1b;6(!f.g.2S){f.3z(f.g.1K,18(){6(f.g.2w){f.g.2w.6a()}f.g.2g=1f});6(f.g.1v){f.86()}}};f.28=18(){6(f.g.2z){6(f.g.2k=="1U"&&f.o.7W){f.1U()}19{f.1X()}}19{f.g.2z=1b;6(!f.g.2S&&!f.g.4f){f.5V()}}e(u).17(".12-1r-28").1o("12-1r-28-1T");e(u).17(".12-1r-1x").2m("12-1r-1x-1T")};f.5V=18(){6(e(u).17(".12-1T").11("12")){16 t=f.53.6P}19{16 t=f.o.6P}16 n=e(u).17(".12-1T").11("6b")?1d(e(u).17(".12-1T").11("6b")):t;6(!f.o.4X&&!e(u).17(".12-1T").11("6b")){16 r=e(u).17(".12-1s:eq("+(f.o.2U-1)+")").11("6b");n=r?r:t}2o(f.g.4u);6(f.g.3Q){6(!f.g.4k){f.g.4k=(1H 5a).5c()}6(f.g.4k>f.g.3Q){f.g.3Q=(1H 5a).5c()}6(!f.g.3D){f.g.3D=n}f.g.3D-=f.g.3Q-f.g.4k;f.g.3Q=1f;f.g.4k=(1H 5a).5c()}19{f.g.3D=n;f.g.4k=(1H 5a).5c()}f.g.3D=1d(f.g.3D);f.g.4u=2f(18(){f.g.4k=f.g.3Q=f.g.3D=1f;f.28()},f.g.3D);6(f.g.3q){f.g.3q.49({1c:f.g.1y()},f.g.3D,"8T",18(){e(14).1a({1c:0})})}6(f.g.30){16 i=f.g.30.17(".12-ct-1G .12-ct-3s");16 s=f.g.30.17(".12-ct-1m .12-ct-3s");6(f.g.30.1a("1L")=="1R"){i.1a({3s:0});s.1a({3s:0});f.g.30.2I(89)}6(!f.g.2M){f.g.2M=1H aZ;f.g.2M.9I(3b.6L(i[0],n/9J,{3l:0},{41:8K.8Q,3l:6N,bQ:18(){f.g.2M=1f}}));f.g.2M.9I(3b.6L(s[0],n/9J,{3l:0},{41:8K.8Q,3l:6N}))}19{f.g.2M.bK()}}};f.1x=18(){f.g.3Q=(1H 5a).5c();6(f.g.3q){f.g.3q.1x()}6(f.g.30){6(f.g.2M){f.g.2M.5N()}}6(!f.g.2T&&!f.g.2A){e(u).17(".12-1r-1x").1o("12-1r-1x-1T");e(u).17(".12-1r-28").2m("12-1r-28-1T")}2o(f.g.4u);f.g.2z=1f};f.9G=18(){2o(f.g.4u);f.g.2z=1f;2o(f.g.9F);2o(f.g.9B);2o(f.g.9C);2o(f.g.9D);2o(f.g.aG);6(f.g.3q){f.g.3q.1x()}6(f.g.30){6(f.g.2M){f.g.2M.5N()}}e(u).17("*").1x(1b,1f).7x();e(u).17(".12-1s >").1O(18(){6(e(14).11("3E")){e(14).11("3E").5N()}});6(!f.g.2T&&!f.g.2A){e(u).17(".12-1r-1x").1o("12-1r-1x-1T");e(u).17(".12-1r-28").2m("12-1r-28-1T")}};f.bP=18(){e(u).17("*").1x();2o(f.g.4u);f.4V(f.g.22,f.g.2k)};f.9E=18(t){6(e.5F(t.21())=="bl"||e.5F(t.21())=="8T"){1S t.21()}19{1S t.2l("7J","94").2l("8o","9f").2l("8s","97").2l("bO","bD").2l("dN","ed").2l("ee","ec").2l("eb","e8").2l("e9","ea").2l("ef","eg").2l("en","eo").2l("em","ek").2l("5L","eh").2l("ei","ej")}};f.1U=18(e){6(f.g.22<2){f.g.4q+=1}6(f.g.4q>f.o.4b&&f.o.4b>0&&!e){f.g.4q=0;f.1x();6(f.o.75==1f){f.o.4b=0}}19{16 t=f.g.22<2?f.g.2E:f.g.22-1;f.g.2k="1U";f.4V(t,f.g.2k)}};f.1X=18(e){6(!f.o.7p){6(!(f.g.22<f.g.2E)){f.g.4q+=1}6(f.g.4q>f.o.4b&&f.o.4b>0&&!e){f.g.4q=0;f.1x();6(f.o.75==1f){f.o.4b=0}}19{16 t=f.g.22<f.g.2E?f.g.22+1:1;f.g.2k="1X";f.4V(t,f.g.2k)}}19 6(!e){16 t=f.g.22;16 n=18(){t=1B.27(1B.2i()*f.g.2E)+1;6(t==f.g.22){n()}19{f.g.2k="1X";f.4V(t,f.g.2k)}};n()}19 6(e){16 t=f.g.22<f.g.2E?f.g.22+1:1;f.g.2k="1X";f.4V(t,f.g.2k)}};f.4V=18(t,n){f.g.4k=f.g.3Q=f.g.3D=1f;6(f.g.3q){f.g.3q.1x().1N(2D).49({1c:0},e7)}6(f.g.30){f.g.30.3M(4w);6(f.g.2M){f.g.2M.5z().2r(.35)}}6(f.g.4E==1b){f.g.4E=1f;f.g.2z=f.g.2A;f.g.1K.17(\'1Y[1h*="4U.3U"], 1Y[1h*="5x.be"], 1Y[1h*="5v.5j"]\').1O(18(){e(14).23().17(".12-5A").2I(f.g.v.8e,18(){e(14).23().17("1Y").1g("1h","")})});f.g.1K.17("2s, 6I").1O(18(){14.5N()})}e(u).17(\'1Y[1h*="4U.3U"], 1Y[1h*="5x.be"], 1Y[1h*="5v.5j"]\').1O(18(){2o(e(14).11("6w"))});2o(f.g.4u);f.g.5r=t;f.g.1t=e(u).17(".12-1s:eq("+(f.g.5r-1)+")");6(!n){6(f.g.22<f.g.5r){f.g.2k="1X"}19{f.g.2k="1U"}}16 r=0;6(e(u).17(\'1Y[1h*="4U.3U"], 1Y[1h*="5x.be"], 1Y[1h*="5v.5j"]\').1k>0){r=f.g.v.8e}6(1Q f.g.1t[0]!=="2L"){f.3O(f.g.1t,18(){f.49()})}};f.3O=18(t,n){f.g.4f=1b;6(f.g.9q){e(u).1a({26:"2P"})}6(f.o.3O){16 r=[];16 i=0;6(t.1a("3u-2G")!="1R"&&t.1a("3u-2G").1i("67")!=-1&&!t.2n("12-3A")&&!t.2n("12-2F-3A")){16 s=t.1a("3u-2G");s=s.3F(/67\\((.*)\\)/)[1].2l(/"/9t,"");r[r.1k]=[s,t]}t.17("29:2F(.12-3A, .12-2F-3A)").1O(18(){6(f.o.4C===1b){e(14).1g("1h",e(14).11("1h"))}r[r.1k]=[e(14).1g("1h"),e(14)]});t.17("*").1O(18(){6(e(14).1a("3u-2G")!="1R"&&e(14).1a("3u-2G").1i("67")!=-1&&!e(14).2n("12-3A")&&!e(14).2n("12-2F-3A")){16 t=e(14).1a("3u-2G");t=t.3F(/67\\((.*)\\)/)[1].2l(/"/9t,"");r[r.1k]=[t,e(14)]}});6(r.1k==0){e(".12-1I-2J, .12-1r-1X, .12-1r-1U, .12-1p-1r-2J").1a({26:"2P"});f.3z(t,n)}19{6(f.g.2t){f.g.6d.1a("1L","2p")}19{f.g.6d.1N(a5).2I(2D)}16 o=18(){f.g.6d.1x(1b,1b).1a({1L:"1R"});e(".12-1I-2J, .12-1r-1X, .12-1r-1U, .12-1p-1r-2J").1a({26:"2P"});6(46.42.1i("dU/7")!==-1||f.g.2t){2f(18(){f.3z(t,n)},50)}19{f.3z(t,n)}};2a(x=0;x<r.1k;x++){e("<29>").11("el",r[x]).3P(18(){e(14).11("el")[1].1o("12-3A");6(++i==r.1k){o()}}).43(18(){16 t=e(14).11("el")[0].9h(e(14).11("el")[0].9m("/")+1,e(14).11("el")[0].1k);6(1Z.6D){6D.dW(\'2Q 43:\\r\\n\\r\\6E 6T 4y 24 6S 3k 24 2G 4M 3u 2G "\'+t+\'" 3v 6R 2q a 6Q 4O 5o 4o 6U be 3f. 4K 6V 24 6Y 3k 4H 4J 6i 6X 3R 24 6W.\')}19{9d(\'2Q 43:\\r\\n\\r\\6E 6T 4y 24 6S 3k 24 2G 4M 3u 2G "\'+t+\'" 3v 6R 2q a 6Q 4O 5o 4o 6U be 3f. 4K 6V 24 6Y 3k 4H 4J 6i 6X 3R 24 6W.\')}e(14).1o("12-2F-3A");6(++i==r.1k){o()}}).1g("1h",r[x][0])}}}19{e(".12-1I-2J, .12-1r-1X, .12-1r-1U, .12-1p-1r-2J").1a({26:"2P"});f.3z(t,n)}};f.3z=18(t,n){t.1a({26:"2x",1L:"2p"});6(f.g.6u){f.g.6u()}f.7A();6(f.o.38=="4N"){f.9P()}t.2Z().1O(18(){16 t=e(14);16 n=t.11("4g")?t.11("4g"):"0";16 r=t.11("4a")?t.11("4a"):"0";6(t.3v("a")&&t.2Z().1k>0){t.1a({1L:"2p"});t=t.2Z()}16 i="1W";16 s="1W";6(t.11("2Y")){6(1Q t.11("2Y")=="3W"){i=1d(t.11("2Y"))*f.g.1z}19 6(t.11("2Y").1i("%")!=-1){i=t.11("2Y")}}6(t.11("2W")){6(1Q t.11("2W")=="3W"){s=1d(t.11("2W"))*f.g.1z}19 6(t.11("2W").1i("%")!=-1){s=t.11("2W")}}16 o=t.11("8X")?1d(t.11("8X"))*f.g.1z:0;16 a=t.11("8Y")?1d(t.11("8Y"))*f.g.1z:0;16 l=t.11("93")?1d(t.11("93"))*f.g.1z:0;16 c=t.11("92")?1d(t.11("92"))*f.g.1z:0;16 h=t.11("6y")?1d(t.11("6y"))*f.g.1z:0;16 p=t.11("6z")?1d(t.11("6z"))*f.g.1z:0;16 d=t.11("6C")?1d(t.11("6C"))*f.g.1z:0;16 v=t.11("6B")?1d(t.11("6B"))*f.g.1z:0;16 m=t.11("9v");16 g=t.11("9L");6(f.g.3V||f.o.3N>0){6(t.3v("29")&&!t.2n("12-bg")&&t.1g("1h")){t.1a({1c:"1W",1e:"1W"});6((i==0||i=="1W")&&1Q s=="3W"&&s!=0){i=s/t.1e()*t.1c()}6((s==0||s=="1W")&&1Q i=="3W"&&i!=0){s=i/t.1c()*t.1e()}6(i=="1W"){i=t.1c()*f.g.1z}6(s=="1W"){s=t.1e()*f.g.1z}t.1a({1c:i,1e:s})}6(!t.3v("29")){t.1a({1c:i,1e:s,"9M-a2":1d(m)*f.g.1z+"1D","a1-1e":1d(g)*f.g.1z+"1D"})}6(t.3v("1n")&&t.17("1Y").11("3S")){16 y=t.17("1Y");y.1g("1c",1d(y.11("2Y"))*f.g.1z).1g("1e",1d(y.11("2W"))*f.g.1z);t.1a({1c:1d(y.11("2Y"))*f.g.1z,1e:1d(y.11("2W"))*f.g.1z})}t.1a({2e:l+"1D "+a+"1D "+c+"1D "+o+"1D ",9Z:h+"1D",a3:p+"1D",a4:d+"1D",a8:v+"1D"})}6(!t.2n("12-bg")){16 b=t;6(t.23().3v("a")){t=t.23()}16 w=0;6(f.o.7d){w=f.o.7d>0?(f.g.1y()-f.o.7d)/2:0}19 6(f.o.7H){w=f.o.7H>0?(f.g.1y()-f.o.7H)/2:0}w=w<0?0:w;6(n.1i("%")!=-1){t.1a({1m:f.g.1y()/1E*1d(n)-b.1c()/2-o-h})}19 6(w>0||f.g.3V||f.o.3N>0){t.1a({1m:w+1d(n)*f.g.1z})}6(r.1i("%")!=-1){t.1a({1q:f.g.1F()/1E*1d(r)-b.1e()/2-l-d})}19 6(f.g.3V||f.o.3N>0){t.1a({1q:1d(r)*f.g.1z})}}19{16 E=e(u).17(".12-2h");t.1a({1c:"1W",1e:"1W"});i=t.1c();s=t.1e();16 S=f.g.1z;6(f.g.2j.1i("%")!=-1){6(f.g.1y()>i){S=f.g.1y()/i;6(f.g.1F()>s*S){S=f.g.1F()/s}}19 6(f.g.1F()>s){S=f.g.1F()/s;6(f.g.1y()>i*S){S=f.g.1y()/i}}}t.1a({1c:i*S,1e:s*S,3G:E.1c()/2-i*S/2,47:E.1e()/2-s*S/2})}});t.1a({1L:"1R",26:"2P"});f.7w();n();e(14).7x()};f.7w=18(){6(f.g.56){16 e=18(){6(f.g.56.1e()>0){6(f.g.a7>0){f.g.3T.1a({1e:f.g.56.1e()/2})}19{f.g.3T.1a({1e:f.g.56.1e(),47:-f.g.56.1e()/2})}}19{2f(18(){e()},50)}};e()}};f.7A=18(){6(f.o.3N>0){6(e(1Z).1c()<f.o.3N){f.g.3V=1b;f.g.2j=f.o.3N+"1D"}19{f.g.3V=1f;f.g.2j=f.g.7E;f.g.1z=1}}6(e(u).3t(".12-3g-3i-2b").1k){e(u).3t(".12-3g-3i-6A").1a({1c:e(1Z).1c()})}6(f.g.3V){16 t=e(u).23();6(f.o.8w===1b){e(u).1a({1c:"1E%",1e:e(1Z).1e()})}19{e(u).1a({1c:t.1c()-1d(e(u).1a("2e-1m"))-1d(e(u).1a("2e-1G"))});f.g.1z=e(u).1c()/1d(f.g.2j);e(u).1a({1e:f.g.1z*1d(f.g.3o)})}}19{f.g.1z=1;e(u).1a({1c:f.g.2j,1e:f.g.3o})}6(e(u).3t(".12-3g-3i-2b").1k){e(u).3t(".12-3g-3i-6A").1a({1e:e(u).3r(1b)});e(u).3t(".12-3g-3i-2b").1a({1e:e(u).3r(1b)});e(u).3t(".12-3g-3i-6A").1a({1c:e(1Z).1c(),1m:-e(u).3t(".12-3g-3i-2b").4d().1m});6(f.g.2j.1i("%")!=-1){16 n=1d(f.g.2j);16 r=e("5m").1c()/1E*n-(e(u).3x()-e(u).1c());e(u).1c(r)}}e(u).17(".12-2h, .12-1w-2b").1a({1c:f.g.1y(),1e:f.g.1F()});6(f.g.1K&&f.g.1t){f.g.1K.1a({1c:f.g.1y(),1e:f.g.1F()});f.g.1t.1a({1c:f.g.1y(),1e:f.g.1F()})}19{e(u).17(".12-1s").1a({1c:f.g.1y(),1e:f.g.1F()})}};f.86=18(){f.g.1v.1a({1c:f.g.1v.11("2Y")*f.g.1z,1e:f.g.1v.11("2W")*f.g.1z});6(f.g.2t){f.g.1v.1a("1L","2p")}19{f.g.1v.2I(2D)}16 t=6t=6s=6m="1W";6(f.g.1v.11("4g")&&f.g.1v.11("4g").1i("%")!=-1){t=f.g.1y()/1E*1d(f.g.1v.11("4g"))-f.g.1v.1c()/2+1d(e(u).1a("2e-1m"))}19{t=1d(f.g.1v.11("4g"))*f.g.1z}6(f.g.1v.11("5S")&&f.g.1v.11("5S").1i("%")!=-1){6t=f.g.1y()/1E*1d(f.g.1v.11("5S"))-f.g.1v.1c()/2+1d(e(u).1a("2e-1G"))}19{6t=1d(f.g.1v.11("5S"))*f.g.1z}6(f.g.1v.11("4a")&&f.g.1v.11("4a").1i("%")!=-1){6s=f.g.1F()/1E*1d(f.g.1v.11("4a"))-f.g.1v.1e()/2+1d(e(u).1a("2e-1q"))}19{6s=1d(f.g.1v.11("4a"))*f.g.1z}6(f.g.1v.11("68")&&f.g.1v.11("68").1i("%")!=-1){6m=f.g.1F()/1E*1d(f.g.1v.11("68"))-f.g.1v.1e()/2+1d(e(u).1a("2e-1p"))}19{6m=1d(f.g.1v.11("68"))*f.g.1z}f.g.1v.1a({1m:t,1G:6t,1q:6s,1p:6m})};f.9P=18(){f.7R("3Y");16 t=f.g.2j.1i("%")==-1?1d(f.g.2j):f.g.1y();e(u).17(".12-1I-1s a").1a({1c:1d(f.o.8y*f.g.1z),1e:1d(f.o.6c*f.g.1z)});e(u).17(".12-1I-1s a:7T").1a({4h:0});e(u).17(".12-1I-1s").1a({1e:1d(f.o.6c*f.g.1z)});16 n=e(u).17(".12-1I");16 r=f.o.77.1i("%")==-1?1d(f.o.77):1d(t/1E*1d(f.o.77));n.1a({1c:r*1B.27(f.g.1z*1E)/1E});6(n.1c()>e(u).17(".12-1I-1s").1c()){n.1a({1c:e(u).17(".12-1I-1s").1c()})}f.7R("9W")};f.7S=18(t){16 n=t?t:f.g.5r;e(u).17(".12-1I-1s a:2F(.12-4c-"+n+")").2Z().1O(18(){e(14).2m("12-4c-1T").1x().6l(8g,f.o.8I/1E)});e(u).17(".12-1I-1s a.12-4c-"+n).2Z().1o("12-4c-1T").1x().6l(8g,f.o.8P/1E)};f.7Q=18(){6(!e(u).17(".12-1I-1s-2b").2n("12-1I-1s-1V")){16 t=e(u).17(".12-4c-1T").1k?e(u).17(".12-4c-1T").23():1f;6(t){16 n=t.3L().1m+t.1c()/2;16 r=e(u).17(".12-1I-1s-2b").1c()/2-n;r=r<e(u).17(".12-1I-1s-2b").1c()-e(u).17(".12-1I-1s").1c()?e(u).17(".12-1I-1s-2b").1c()-e(u).17(".12-1I-1s").1c():r;r=r>0?0:r;e(u).17(".12-1I-1s").49({3G:r},dT)}}};f.7R=18(t){6(f.o.76&&!e(u).2n("12-1V")){2v(t){1l"3Y":f.g.40.1a({26:"2x",1L:"2p"});1j;1l"9W":f.g.40.1a({26:"2P",1L:"1R"});1j}}};f.49=18(){6(e(u).17(".12-1s").1k>1){f.g.2S=1b}f.g.4f=1f;2o(f.g.4u);2o(f.g.dS);f.g.95=f.g.1K;f.o.b5(f.g);6(f.o.38=="4N"){f.7S();6(!("6k"3R 1Z)){f.7Q()}}f.g.1t.1o("12-bn");16 t=7O=6o=7U=6r=7X=6q=8R=6j=dP=6n=dQ="1W";16 a=7Z=f.g.1y();16 l=7Y=f.g.1F();16 c=f.g.2k=="1U"?f.g.1K:f.g.1t;16 h=c.11("3y")?c.11("3y"):f.o.8D;16 p=f.g.8m[f.g.2k][h];6(p=="1m"||p=="1G"){a=6o=7Z=6q=0;6n=0}6(p=="1q"||p=="1p"){l=t=7Y=6r=0;6j=0}2v(p){1l"1m":7O=6r=0;6j=-f.g.1y();1j;1l"1G":t=7X=0;6j=f.g.1y();1j;1l"1q":7U=6q=0;6n=-f.g.1F();1j;1l"1p":6o=8R=0;6n=f.g.1F();1j}f.g.1K.1a({1m:t,1G:7O,1q:6o,1p:7U});f.g.1t.1a({1c:7Z,1e:7Y,1m:6r,1G:7X,1q:6q,1p:8R});16 d=f.g.1K.11("64")?1d(f.g.1K.11("64")):f.o.6x;16 v=f.g.1K.11("4Q")?1d(f.g.1K.11("4Q")):f.o.4T;16 m=f.g.1K.11("4L")?f.g.1K.11("4L"):f.o.4S;16 g=f.g.1t.11("5l")?1d(f.g.1t.11("5l")):f.o.65;16 y=f.g.1t.11("5O")?1d(f.g.1t.11("5O")):f.o.5T;6(y===0){y=1}16 b=f.g.1t.11("5E")?f.g.1t.11("5E"):f.o.66;16 w=18(){f.g.1K.1N(d+v/15).49({1c:a,1e:l},v,m,18(){E()})};16 E=18(){f.g.95.17(\' > *[1u*="12-l"]\').1O(18(){6(e(14).11("3E")){e(14).11("3E").81()}e(14).1a({dR:"1R"})});f.g.1K=f.g.1t;f.g.dX=f.g.22;f.g.22=f.g.5r;f.o.7N(f.g);6(f.o.3O&&f.o.4C){16 t=f.g.22==f.g.2E?1:f.g.22+1;e(u).17(".12-1s").eq(t-1).17("29:2F(.12-3A)").1O(18(){e(14).3P(18(){e(14).1o("12-3A")}).43(18(){16 t=e(14).11("1h").9h(e(14).11("1h").9m("/")+1,e(14).11("1h").1k);6(1Z.6D){6D(\'2Q 43:\\r\\n\\r\\6E 6T 4y 24 6S 3k 24 2G 4M 3u 2G "\'+t+\'" 3v 6R 2q a 6Q 4O 5o 4o 6U be 3f. 4K 6V 24 6Y 3k 4H 4J 6i 6X 3R 24 6W.\')}19{9d(\'2Q 43:\\r\\n\\r\\6E 6T 4y 24 6S 3k 24 2G 4M 3u 2G "\'+t+\'" 3v 6R 2q a 6Q 4O 5o 4o 6U be 3f. 4K 6V 24 6Y 3k 4H 4J 6i 6X 3R 24 6W.\')}e(14).1o("12-2F-3A")}).1g("1h",e(14).11("1h"))})}e(u).17(".12-1s").2m("12-1T");e(u).17(".12-1s:eq("+(f.g.22-1)+")").1o("12-1T").2m("12-bn");e(u).17(".12-1p-4G a").2m("12-1r-1T");e(u).17(".12-1p-4G a:eq("+(f.g.22-1)+")").1o("12-1r-1T");6(f.g.2z){f.5V()}f.g.2S=1f;6(f.g.2g==1b){f.3z(f.g.1K,18(){f.g.2g=1f})}};16 S=18(t){f.g.1K.17(\' > *[1u*="12-l"]\').1O(18(){6(!e(14).11("2y")){f.5I(e(14))}e(14).2m("12-8C");16 r=e(14).11("3y")?e(14).11("3y"):p;16 i,s;2v(r){1l"1m":i=-f.g.1y();s=0;1j;1l"1G":i=f.g.1y();s=0;1j;1l"1q":s=-f.g.1F();i=0;1j;1l"1p":s=f.g.1F();i=0;1j;1l"3n":s=0;i=0;1j}6(e(14).11("2y")==="1H"){16 o="1H"}19{16 o=e(14).11("5Z")?e(14).11("5Z"):1f}2v(o){1l"1m":i=f.g.1y();s=0;1j;1l"1G":i=-f.g.1y();s=0;1j;1l"1q":s=f.g.1F();i=0;1j;1l"1p":s=-f.g.1F();i=0;1j;1l"3n":s=0;i=0;1j;1l"1H":6(e(14).11("36")){6(e(14).11("36")==="1m"){i=f.g.1y()}19 6(e(14).11("36")==="1G"){i=-f.g.1y()}19{i=-1d(e(14).11("36"))}}19{i=-f.1w.85}6(e(14).11("34")){6(e(14).11("34")==="1q"){s=f.g.1F()}19 6(e(14).11("34")==="1p"){s=-f.g.1F()}19{s=-1d(e(14).11("34"))}}19{s=-f.1w.7D}1j}16 u=5i=5h=4t=5g=58=33=31="1R";u=e(14).11("5W")?e(14).11("5W"):f.1w.8t;5i=e(14).11("7e")?e(14).11("7e"):f.1w.8B;5h=e(14).11("7b")?e(14).11("7b"):f.1w.8d;4t=e(14).11("5U")?e(14).11("5U"):f.1w.7C;5g=e(14).11("7c")?e(14).11("7c"):f.1w.8r;58=e(14).11("7a")?e(14).11("7a"):f.1w.8u;6(4t===1){33=e(14).11("7g")?e(14).11("7g"):f.1w.8U;31=e(14).11("71")?e(14).11("71"):f.1w.8G}19{33=31=4t}16 a=e(14).11("74")?e(14).11("74").1J(" "):f.1w.8i;2a(16 l=0;l<a.1k;l++){6(a[l].1i("%")===-1&&a[l].1i("1m")!==-1&&a[l].1i("1G")!==-1&&a[l].1i("1q")!==-1&&a[l].1i("1p")!==-1){a[l]=""+1d(a[l])*f.g.1z+"1D"}}16 c=a.8H(" ");16 h=e(14).11("7j")?e(14).11("7j"):f.1w.8h;16 d=1d(e(14).1a("1m"));16 v=1d(e(14).1a("1q"));16 m=1d(e(14).1g("1u").1J("12-l")[1]);16 g=e(14).3x()>e(14).3r()?e(14).3x():e(14).3r();16 y=1d(u)===0?e(14).3x():g;16 b=1d(u)===0?e(14).3r():g;6(m===-1&&o!=="1H"||e(14).11("36")==="1m"||e(14).11("36")==="1G"){6(i<0){i=-(f.g.1y()-d+(33/2-.5)*y+1E)}19 6(i>0){i=d+(33/2+.5)*y+1E}}19{i=i*f.g.1z}6(m===-1&&o!=="1H"||e(14).11("34")==="1q"||e(14).11("34")==="1p"){6(s<0){s=-(f.g.1F()-v+(31/2-.5)*b+1E)}19 6(s>0){s=v+(31/2+.5)*b+1E}}19{s=s*f.g.1z}6(m===-1||o==="1H"){16 w=1}19{16 E=f.g.1K.11("7f")?1d(f.g.1K.11("7f")):f.o.8L;16 w=m*E}6(e(14).11("2y")==="1H"){16 S=f.1w.6x;16 x=f.1w.4T;16 T=f.1w.4S}19{16 S=f.o.6x;16 x=f.o.4T;16 T=f.o.4S}16 N=e(14).11("64")?1d(e(14).11("64")):S;16 C=e(14).11("4Q")?1d(e(14).11("4Q")):x;6(C===0){C=1}16 k=e(14).11("4L")?e(14).11("4L"):T;6(t){N=0;C=t}6(e(14).11("4s")){2o(e(14).11("4s"))}16 L={26:"2x"};16 A=e(14);16 O={3l:u,4A:5i,4B:5h,7h:5g,7k:58,5p:33,5n:31,x:-i*w,y:-s*w,1N:N/1P,41:n(k),7V:18(){A.1a(L)}};6(o=="3n"||!o&&r==="3n"||e(14).11("bh")!=="1f"&&e(14).11("2y")==="1H"){O["3e"]=0;L["3e"]=e(14).11("7o")}6(e(14).11("3E")){e(14).11("3E").81()}3b.7z(e(14)[0],{8M:c,8j:h});e(14).11("3E",3b.2q(e(14)[0],C/1P,O))})};16 x=18(){f.g.1t.1N(d+g).49({1c:f.g.1y(),1e:f.g.1F()},y,b)};16 T=18(){6(f.g.3a){d=0}6(1Q f.o.b9==="18"){f.o.b9(f.g,d+g)}f.g.1t.17(\' > *[1u*="12-l"]\').1O(18(){6(!e(14).11("2y")){f.5I(e(14))}6(e(14).11("2y")==="1H"){16 t="1H"}19{16 t=e(14).11("3y")?e(14).11("3y"):p}16 r,i;2v(t){1l"1m":r=-f.g.1y();i=0;1j;1l"1G":r=f.g.1y();i=0;1j;1l"1q":i=-f.g.1F();r=0;1j;1l"1p":i=f.g.1F();r=0;1j;1l"3n":i=0;r=0;1j;1l"1H":6(e(14).11("55")){6(e(14).11("55")==="1m"){r=-f.g.1y()}19 6(e(14).11("55")==="1G"){r=f.g.1y()}19{r=1d(e(14).11("55"))}}19{r=f.1w.bu}6(e(14).11("5k")){6(e(14).11("5k")==="1q"){i=-f.g.1F()}19 6(e(14).11("5k")==="1p"){i=f.g.1F()}19{i=1d(e(14).11("5k"))}}19{i=f.1w.b7}1j}16 s=8c=82=6O=84=8f=4Z=51="1R";s=e(14).11("8x")?e(14).11("8x"):f.1w.b8;8c=e(14).11("ba")?e(14).11("ba"):f.1w.bo;82=e(14).11("bB")?e(14).11("bB"):f.1w.96;6O=e(14).11("8v")?e(14).11("8v"):f.1w.9j;84=e(14).11("bk")?e(14).11("bk"):f.1w.9e;8f=e(14).11("br")?e(14).11("br"):f.1w.9U;6(6O===1){4Z=e(14).11("bm")?e(14).11("bm"):f.1w.9l;51=e(14).11("bp")?e(14).11("bp"):f.1w.9g}19{4Z=51=6O}16 o=e(14).11("bx")?e(14).11("bx").1J(" "):f.1w.9S;2a(16 u=0;u<o.1k;u++){6(o[u].1i("%")===-1&&o[u].1i("1m")!==-1&&o[u].1i("1G")!==-1&&o[u].1i("1q")!==-1&&o[u].1i("1p")!==-1){o[u]=""+1d(o[u])*f.g.1z+"1D"}}16 a=o.8H(" ");16 l=e(14).11("bj")?e(14).11("bj"):f.1w.9X;16 c=1d(e(14).1a("1m"));16 h=1d(e(14).1a("1q"));16 d=1d(e(14).1g("1u").1J("12-l")[1]);6(e(14)[0].1M.1c.1i("%")!==-1){e(14).1a({1c:f.g.1y()/1E*1d(e(14)[0].1M.1c)})}16 v=e(14).3x()>e(14).3r()?e(14).3x():e(14).3r();16 m=1d(s)===0?e(14).3x():v;16 g=1d(s)===0?e(14).3r():v;6(d===-1&&t!=="1H"||e(14).11("55")==="1m"||e(14).11("55")==="1G"){6(r<0){r=-(c+(4Z/2+.5)*m+1E)}19 6(r>0){r=f.g.1y()-c+(4Z/2-.5)*m+1E}}19{r=r*f.g.1z}6(d===-1&&t!=="1H"||e(14).11("5k")==="1q"||e(14).11("5k")==="1p"){6(i<0){i=-(h+(51/2+.5)*g+1E)}19 6(i>0){i=f.g.1F()-h+(51/2-.5)*g+1E}}19{i=i*f.g.1z}6(d===-1||t==="1H"){16 y=1}19{16 b=f.g.1t.11("b2")?1d(f.g.1t.11("b2")):f.o.af;16 y=d*b}6(e(14).11("2y")==="1H"){16 w=f.1w.65;16 E=f.1w.5T;16 S=f.1w.66}19{16 w=f.o.65;16 E=f.o.5T;16 S=f.o.66}16 x=e(14).11("5l")?1d(e(14).11("5l")):w;16 T=e(14).11("5O")?1d(e(14).11("5O")):E;16 N=e(14).11("5E")?e(14).11("5E"):S;16 C=e(14);16 k=18(){6(C.2n("12-2s-3B")){C.1o("12-8C")}6(f.o.5Q==1b){C.17(".12-3m").2u();C.17("2s, 6I").1O(18(){6(1Q e(14)[0].6H!==0){e(14)[0].6H=0}e(14).2u()})}6((!C.2n("12-2s-3B")||C.2n("12-2s-3B")&&f.o.5Q===1f)&&C.11("4z")>0){C.11("4s",2f(18(){f.8F(C)},C.11("4z")))}};e(14).1a({3G:0,47:0});16 L={5p:4Z,5n:51,7h:84,7k:8f,3l:s,4A:8c,4B:82,26:"2P",x:r*y,y:i*y};16 A={3l:0,4A:0,4B:0,7h:0,7k:0,5p:1,5n:1,41:n(N),1N:x/1P,x:0,y:0,7V:18(){k()}};6(t.1i("3n")!=-1||e(14).11("e5")!=="1f"&&e(14).11("2y")==="1H"){L["3e"]=0;A["3e"]=e(14).11("7o")}6(e(14).11("3E")){e(14).11("3E").81()}3b.7z(e(14)[0],{8j:l,8M:a});e(14).11("3E",3b.6L(e(14)[0],T/1P,L,A))})};16 N=18(){6(i(e(u))&&(f.g.1t.11("5q")||f.g.1t.11("5B"))){6(f.g.1t.11("5q")&&f.g.1t.11("5B")){16 t=1B.27(1B.2i()*2);16 n=[["3d",f.g.1t.11("5q")],["b6",f.g.1t.11("5B")]];k(n[t][0],n[t][1])}19 6(f.g.1t.11("5q")){k("3d",f.g.1t.11("5q"))}19{k("b6",f.g.1t.11("5B"))}}19{6(f.g.1t.11("5M")&&f.g.1t.11("5D")){16 t=1B.27(1B.2i()*2);16 n=[["2d",f.g.1t.11("5M")],["b4",f.g.1t.11("5D")]];k(n[t][0],n[t][1])}19 6(f.g.1t.11("5M")){k("2d",f.g.1t.11("5M"))}19 6(f.g.1t.11("5D")){k("b4",f.g.1t.11("5D"))}19{k("2d","1")}}};16 C=18(){6(i(e(u))&&5R.1i("3d")!=-1){k("3d",5R.1J(":")[1])}19{6(5R.1i("3d")!=-1){k("2d","4H")}19{k("2d",5R.1J(":")[1])}}};16 k=18(e,t){16 n=e.1i("e3")==-1?f.t:f.ct;16 r="3d",i,s;6(e.1i("2d")!=-1){r="2d"}6(t.1i("7T")!=-1){s=n["t"+r].1k-1;i="7T"}19 6(t.1i("4H")!=-1){s=1B.27(1B.2i()*o(n["t"+r]));i="2i bc 4H"}19{16 u=t.1J(",");16 a=u.1k;s=1d(u[1B.27(1B.2i()*a)])-1;i="2i bc e2"}L(r,n["t"+r][s])};16 L=18(t,i){16 o=e(u).17(".12-2h");16 a=f.g.1K.17(\'*[1u*="12-l"]\').1k>0?1P:0;16 l=i.6e.21().1i("dZ")==-1?1f:1b;16 c=i.6e.21().1i("e0")==-1?1f:1b;16 h=1Q i.4v;16 p=1Q i.4x;2v(h){1l"3W":h=i.4v;1j;1l"5J":h=1B.27(1B.2i()*(1d(i.4v.1J(",")[1])-1d(i.4v.1J(",")[0])+1))+1d(i.4v.1J(",")[0]);1j;b3:h=1B.27(1B.2i()*(i.4v[1]-i.4v[0]+1))+i.4v[0];1j}2v(p){1l"3W":p=i.4x;1j;1l"5J":p=1B.27(1B.2i()*(1d(i.4x.1J(",")[1])-1d(i.4x.1J(",")[0])+1))+1d(i.4x.1J(",")[0]);1j;b3:p=1B.27(1B.2i()*(i.4x[1]-i.4x[0]+1))+i.4x[0];1j}6(f.g.73()==1b&&f.o.aU==1b||f.g.2t&&f.o.aW==1b){6(h>=15){h=7}19 6(h>=5){h=4}19 6(h>=4){h=3}19 6(h>2){h=2}6(p>=15){p=7}19 6(p>=5){p=4}19 6(p>=4){p=3}19 6(p>2){p=2}6(p>2&&h>2){p=2;6(h>4){h=4}}}16 d=e(u).17(".12-2h").1c()/h;16 v=e(u).17(".12-2h").1e()/p;6(!f.g.2w){f.g.2w=e("<1n>").1o("12-1w-2b").1o("12-4D-2x").1a({1c:o.1c(),1e:o.1e()}).5w(o)}19{f.g.2w.1x(1b,1b).6a().1a({1L:"2p",1c:o.1c(),1e:o.1e()})}16 m=o.1c()-1B.27(d)*h;16 g=o.1e()-1B.27(v)*p;16 y=[];y.bt=18(){16 e=14.1k,t,n,r;6(e==0)1S 1f;9p(--e){t=1B.27(1B.2i()*(e+1));n=14[e];r=14[t];14[e]=r;14[t]=n}1S 14};2a(16 b=0;b<h*p;b++){y.88(b)}2v(i.3Z.ep){1l"5z":y.5z();1j;1l"bv-7M":y=s(p,h,"7M");1j;1l"bv-5z":y=s(p,h,"5z");1j;1l"2i":y.bt();1j}16 w=f.g.1K.17(".12-bg");16 x=f.g.1t.17(".12-bg");6(w.1k==0&&x.1k==0){t="2d";i=e.4F(1b,{},f.t["er"][0]);i.1A.2r=1;i.3Z.1N=0}6(t=="3d"){f.g.3a=(h*p-1)*i.3Z.1N;16 N=0;6(i.2N&&i.2N.2r){N+=i.2N.2r}6(i.2c&&i.2c.2r){N+=i.2c.2r}6(i.2B&&i.2B.2r){N+=i.2B.2r}f.g.3a+=N;16 C=0;6(i.2N&&i.2N.1N){C+=i.2N.1N}6(i.2c&&i.2c.1N){C+=i.2c.1N}6(i.2B&&i.2B.1N){C+=i.2B.1N}f.g.3a+=C}19{f.g.3a=(h*p-1)*i.3Z.1N+i.1A.2r;f.g.57=e("<1n>").1o("12-eU").1C(f.g.2w);f.g.7y=e("<1n>").1o("12-eW").1C(f.g.2w)}16 k=f.g.2k;2a(16 L=0;L<h*p;L++){16 A=L%h==0?m:0;16 O=L>(p-1)*h-1?g:0;16 M=e("<1n>").1o("12-1w-3Z").1a({1c:1B.27(d)+A,1e:1B.27(v)+O}).1C(f.g.2w);16 48,D;6(t=="3d"){M.1o("12-3d-2b");16 P=1B.27(d)+A;16 H=1B.27(v)+O;16 B;6(i.2c.5G=="ao"){6(1B.4m(i.2c.1A.3j)>90&&i.3Z.aY!="as"){B=1B.27(P/7)+A}19{B=P}}19{6(1B.4m(i.2c.1A.2V)>90&&i.3Z.aY!="as"){B=1B.27(H/7)+O}19{B=H}}16 j=P/2;16 F=H/2;16 I=B/2;16 q=18(t,n,r,i,s,o,u,a,f){e("<1n>").1o(t).1a({1c:r,1e:i,"-o-44":"5t("+s+"1D, "+o+"1D, "+u+"1D) 2V("+a+"3J) 3j("+f+"3J) 5s(5y) 4R(1, 1, 1)","-9u-44":"5t("+s+"1D, "+o+"1D, "+u+"1D) 2V("+a+"3J) 3j("+f+"3J) 5s(5y) 4R(1, 1, 1)","-9y-44":"5t("+s+"1D, "+o+"1D, "+u+"1D) 2V("+a+"3J) 3j("+f+"3J) 5s(5y) 4R(1, 1, 1)","-62-44":"5t("+s+"1D, "+o+"1D, "+u+"1D) 2V("+a+"3J) 3j("+f+"3J) 5s(5y) 4R(1, 1, 1)",44:"5t("+s+"1D, "+o+"1D, "+u+"1D) 2V("+a+"3J) 3j("+f+"3J) 5s(5y) 4R(1, 1, 1)"}).1C(n)};q("12-3d-3H",M,0,0,0,0,-I,0,0);16 R=0;16 U=0;16 z=0;6(i.2c.5G=="eX"&&1B.4m(i.2c.1A.2V)>90){q("12-3d-5L",M.17(".12-3d-3H"),P,H,-j,-F,-I,6N,0)}19{q("12-3d-5L",M.17(".12-3d-3H"),P,H,-j,-F,-I,0,6N)}q("12-3d-1p",M.17(".12-3d-3H"),P,B,-j,F-I,0,-90,0);q("12-3d-1q",M.17(".12-3d-3H"),P,B,-j,-F-I,0,90,0);q("12-3d-aw",M.17(".12-3d-3H"),P,H,-j,-F,I,0,0);q("12-3d-1m",M.17(".12-3d-3H"),B,H,-j-I,-F,0,0,-90);q("12-3d-1G",M.17(".12-3d-3H"),B,H,j-I,-F,0,0,90);48=M.17(".12-3d-aw");6(i.2c.5G=="ao"){6(1B.4m(i.2c.1A.3j)>90){D=M.17(".12-3d-5L")}19{D=M.17(".12-3d-1m, .12-3d-1G")}}19{6(1B.4m(i.2c.1A.2V)>90){D=M.17(".12-3d-5L")}19{D=M.17(".12-3d-1q, .12-3d-1p")}}16 W=y[L]*i.3Z.1N;16 X=f.g.2w.17(".12-3d-2b:eq("+L+") .12-3d-3H");16 V=1H aZ;6(i.2N&&i.2N.1A){i.2N.1A.1N=i.2N.1A.1N?(i.2N.1A.1N+W)/1P:W/1P;V.2q(X[0],i.2N.2r/1P,r(i.2N.1A,i.2N.4I))}19{i.2c.1A.1N=i.2c.1A.1N?(i.2c.1A.1N+W)/1P:W/1P}V.2q(X[0],i.2c.2r/1P,r(i.2c.1A,i.2c.4I));6(i.2B){6(!i.2B.1A){i.2B.1A={}}V.2q(X[0],i.2B.2r/1P,r(i.2B.1A,i.2B.4I,"2B"))}}19{16 J=2X=2O=2H="1W";16 K=6h=1;6(i.1A.5G=="2i"){16 Q=["1q","1p","1G","1m"];16 G=Q[1B.27(1B.2i()*Q.1k)]}19{16 G=i.1A.5G}6(i.6e.21().1i("aA")!=-1&&L%2==0){6(k=="1U"){k="1X"}19{k="1U"}}6(k=="1U"){2v(G){1l"1q":G="1p";1j;1l"1p":G="1q";1j;1l"1m":G="1G";1j;1l"1G":G="1m";1j;1l"7F":G="7I";1j;1l"7G":G="7K";1j;1l"7K":G="7G";1j;1l"7I":G="7F";1j}}2v(G){1l"1q":J=2O=-M.1e();2X=2H=0;1j;1l"1p":J=2O=M.1e();2X=2H=0;1j;1l"1m":J=2O=0;2X=2H=-M.1c();1j;1l"1G":J=2O=0;2X=2H=M.1c();1j;1l"7F":J=M.1e();2O=0;2X=M.1c();2H=0;1j;1l"7G":J=M.1e();2O=0;2X=-M.1c();2H=0;1j;1l"7K":J=-M.1e();2O=0;2X=M.1c();2H=0;1j;1l"7I":J=-M.1e();2O=0;2X=-M.1c();2H=0;1j}f.g.52=i.1A.5u?i.1A.5u:1;6(l==1b&&f.g.52!=1){J=J/2;2O=2O/2;2X=2X/2;2H=2H/2}2v(i.1A.4W){1l"3n":J=2O=2X=2H=0;K=0;6h=1;1j;1l"eK":K=0;6h=1;6(f.g.52==1){2O=2H=0}1j}6((i.1A.3s||i.1A.2V||i.1A.3j||f.g.52!=1)&&!f.g.2t&&i.1A.4W!="1s"){M.1a({4D:"2P"})}19{M.1a({4D:"2x"})}6(l==1b){f.g.57.1a({4D:"2P"})}19{f.g.57.1a({4D:"2x"})}6(c==1b||i.1A.4W=="1s"||l==1b){16 Y=M.1C(f.g.57);16 Z=M.7v().1C(f.g.7y);48=e("<1n>").1o("12-eJ").1C(Y)}19{16 Z=M.1C(f.g.7y)}D=e("<1n>").1o("12-ez").1C(Z).1a({1q:-J,1m:-2X,es:"2p",3e:K});16 et=y[L]*i.3Z.1N;16 59=i.1A.3s?i.1A.3s:0;16 70=i.1A.2V?i.1A.2V:0;16 6Z=i.1A.3j?i.1A.3j:0;6(k=="1U"){59=-59;70=-70;6Z=-6Z}3b.6L(D[0],i.1A.2r/1P,{3l:59,4A:70,4B:6Z,5u:f.g.52},{1N:et/1P,1q:0,1m:0,3e:6h,3l:0,4A:0,4B:0,5u:1,41:n(i.1A.4I)});6(c==1b&&(x.1k<1||x.1k>0&&(x.1g("1h").21().1i("4P")!=-1||x.1c()<f.g.1y()||x.1e()<f.g.1F()))){3b.2q(48[0],i.1A.2r/1P,{1N:et/1P,3e:0,41:n(i.1A.4I)})}6((i.1A.4W=="1s"||l==1b)&&i.6e.21().1i("aA")==-1){16 4o=0;6(59!=0){4o=-59}3b.2q(48[0],i.1A.2r/1P,{1N:et/1P,1q:2O,1m:2H,3l:4o,5u:f.g.52,3e:K,41:n(i.1A.4I)})}}6(w.1k){6(t=="3d"||t=="2d"&&(c==1b||i.1A.4W=="1s"||l==1b)){48.4e(e("<29>").1g("1h",w.1g("1h")).1a({1c:w[0].1M.1c,1e:w[0].1M.1e,3G:3c(w.1a("4h-1m"))-3c(M.3L().1m),47:3c(w.1a("4h-1q"))-3c(M.3L().1q)}))}19 6(f.g.57.2Z().1k==0){f.g.57.4e(e("<29>").1g("1h",w.1g("1h")).1a({1c:w[0].1M.1c,1e:w[0].1M.1e,3G:3c(w.1a("4h-1m")),47:3c(w.1a("4h-1q"))}))}}6(x.1k){D.4e(e("<29>").1g("1h",x.1g("1h")).1a({1c:x[0].1M.1c,1e:x[0].1M.1e,3G:3c(x.1a("4h-1m"))-3c(M.3L().1m),47:3c(x.1a("4h-1q"))-3c(M.3L().1q)}))}}16 53=f.g.1K;16 2K=f.g.1t;2f(18(){53.17(".12-bg").1a({26:"2x"})},50);2K.17(".12-bg").1a({26:"2x"});f.g.2w.2m("12-4D-2x");S(a);6(a===0){a=10}2f(18(){53.1a({1c:0})},a);16 8p=1d(2K.11("6f"))?1d(2K.11("6f")):0;16 at=f.g.3a+8p>0?f.g.3a+8p:0;2f(18(){6(f.g.2g==1b){f.g.2w.6a();53.2m("12-1T");f.3z(2K,18(){f.g.2g=1f})}T();6(2K.17(".12-bg").1k<1||2K.17(".12-bg").1k>0&&2K.17(".12-bg").1g("1h").21().1i("4P")!=-1){f.g.2w.1N(89).3M(2D,18(){e(14).6a().aM()})}2K.1a({1c:f.g.1y(),1e:f.g.1F()})},at);6(f.g.3a<2D){f.g.3a=1P}2f(18(){f.g.2w.1o("12-4D-2x");2K.1o("12-1T");6(2K.17(".12-bg").1k){2K.17(".12-bg").1a({1L:"1R",26:"2P"});6(f.g.2t){2K.17(".12-bg").1a("1L","2p");2f(18(){E()},4w)}19{2K.17(".12-bg").2I(4w,18(){E()})}}19{E()}},f.g.3a)};16 A=18(){f.g.1t.17(\' > *[1u*="12-l"]\').1O(18(){e(14).1a({26:"2x"})});f.g.8A=e(u).4d().1q;e(1Z).3P(18(){2f(18(){f.g.8A=e(u).4d().1q},20)});16 t=18(){6(e(1Z).eD()+e(1Z).1e()-f.g.1F()/2>f.g.8A){f.g.6g=1b;6(f.g.7P===1b){f.o.4r=1b;f.28()}T()}};e(1Z).dO(18(){6(!f.g.6g){t()}});t()};16 O=(f.g.1t.11("5q")||f.g.1t.11("5M"))&&f.t||(f.g.1t.11("5B")||f.g.1t.11("5D"))&&f.ct?"1H":"5H";6(!f.g.1t.11("2y")){f.5I(f.g.1t)}6(f.g.1t.11("2y")==="1H"){O="1H"}6(f.o.91){O="aL"}6(f.o.4X&&!f.g.6g){6(f.g.2E==1){16 d=0;f.o.7N(f.g)}19{16 M=1d(f.g.1t.11("6f"))?1d(f.g.1t.11("6f")):0;16 48=O=="1H"?0:v;f.g.aG=2f(18(){E()},48+1B.4m(M))}f.g.3a=1b;6(f.o.8n===1b){A()}19{f.g.6g=1b;T()}f.g.1t.1a({1c:f.g.1y(),1e:f.g.1F()});6(!f.g.2t){f.g.1t.17(".12-bg").1a({1L:"1R"}).2I(f.o.7B)}f.g.4f=1f}19{2v(O){1l"5H":f.g.3a=1f;6(f.g.2w){f.g.2w.6a()}w();S();x();T();1j;1l"1H":6(1Q 5R!="2L"){C()}19{N()}1j;1l"aL":L(f.o.91.4W,f.o.91.cY);1j}}};f.5I=18(e){16 t=e.11("12")||!e.11("12")&&!e.11("6b")&&!e.11("3y")&&!e.11("5Z")&&!e.11("5l")&&!e.11("64")&&!e.11("5O")&&!e.11("4Q")&&!e.11("4z")&&!e.11("5E")&&!e.11("4L")&&!e.11("8v")&&!e.11("5U")&&!e.11("8x")&&!e.11("5W")?"1H":"5H";e.11("2y",t)};f.8F=18(e){6(!e.11("2y")){f.5I(e)}e.2m("12-8C");16 t=f.g.1K;6(f.g.2k!="1U"&&f.g.1t){t=f.g.1t}16 r=t.11("3y")?t.11("3y"):f.o.8D;16 i=f.g.8m[f.g.2k][r];16 s=e.11("3y")?e.11("3y"):i;16 o,u;2v(s){1l"1m":o=-f.g.1y();u=0;1j;1l"1G":o=f.g.1y();u=0;1j;1l"1q":u=-f.g.1F();o=0;1j;1l"1p":u=f.g.1F();o=0;1j;1l"3n":u=0;o=0;1j}6(e.11("2y")==="1H"){16 a="1H"}19{16 a=e.11("5Z")?e.11("5Z"):1f}2v(a){1l"1m":o=f.g.1y();u=0;1j;1l"1G":o=-f.g.1y();u=0;1j;1l"1q":u=f.g.1F();o=0;1j;1l"1p":u=-f.g.1F();o=0;1j;1l"3n":u=0;o=0;1j;1l"1H":6(e.11("36")){6(e.11("36")==="1m"){o=f.g.1y()}19 6(e.11("36")==="1G"){o=-f.g.1y()}19{o=-1d(e.11("36"))}}19{o=-f.1w.85}6(e.11("34")){6(e.11("34")==="1q"){u=f.g.1F()}19 6(e.11("34")==="1p"){u=-f.g.1F()}19{u=-1d(e.11("34"))}}19{u=-f.1w.7D}1j}16 l=5i=5h=4t=5g=58=33=31="1R";l=e.11("5W")?e.11("5W"):f.1w.8t;5i=e.11("7e")?e.11("7e"):f.1w.8B;5h=e.11("7b")?e.11("7b"):f.1w.8d;4t=e.11("5U")?e.11("5U"):f.1w.7C;5g=e.11("7c")?e.11("7c"):f.1w.8r;58=e.11("7a")?e.11("7a"):f.1w.8u;6(4t===1){33=e.11("7g")?e.11("7g"):f.1w.8U;31=e.11("71")?e.11("71"):f.1w.8G}19{33=31=4t}16 c=e.11("74")?e.11("74").1J(" "):f.1w.8i;2a(16 h=0;h<c.1k;h++){6(c[h].1i("%")===-1&&c[h].1i("1m")!==-1&&c[h].1i("1G")!==-1&&c[h].1i("1q")!==-1&&c[h].1i("1p")!==-1){c[h]=""+1d(c[h])*f.g.1z+"1D"}}16 p=c.8H(" ");16 d=e.11("7j")?e.11("7j"):f.1w.8h;16 v=1d(e.1a("1m"));16 m=1d(e.1a("1q"));16 g=1d(e.1g("1u").1J("12-l")[1]);16 y=e.3x()>e.3r()?e.3x():e.3r();16 b=1d(l)===0?e.3x():y;16 w=1d(l)===0?e.3r():y;6(g===-1&&a!=="1H"||e.11("36")==="1m"||e.11("36")==="1G"){6(o<0){o=-(f.g.1y()-v+(33/2-.5)*b+1E)}19 6(o>0){o=v+(33/2+.5)*b+1E}}19{o=o*f.g.1z}6(g===-1&&a!=="1H"||e.11("34")==="1q"||e.11("34")==="1p"){6(u<0){u=-(f.g.1F()-m+(31/2-.5)*w+1E)}19 6(u>0){u=m+(31/2+.5)*w+1E}}19{u=u*f.g.1z}6(g===-1||a==="1H"){16 E=1}19{16 S=f.g.1K.11("7f")?1d(f.g.1K.11("7f")):f.o.8L;16 E=g*S}6(e.11("2y")==="1H"){16 x=f.1w.4T;16 T=f.1w.4S}19{16 x=f.o.4T;16 T=f.o.4S}16 N=e.11("4Q")?1d(e.11("4Q")):x;6(N===0){N=1}16 C=e.11("4L")?e.11("4L"):T;16 k={26:"2x"};16 L={3l:l,4A:5i,4B:5h,7h:5g,7k:58,5p:33,5n:31,x:-o*E,y:-u*E,41:n(C),7V:18(){e.1a(k)}};6(a=="3n"||!a&&s=="3n"||e.11("bh")!=="1f"&&e.11("2y")==="1H"){L["3e"]=0;k["3e"]=e.11("7o")}3b.7z(e[0],{8j:d,8M:p});3b.2q(e[0],N/1P,L)};f.3P()};16 n=18(e){16 t;6(e.21().1i("bl")!==-1||e.21().1i("8T")!==-1){t=8K.8Q}19 6(e.21().1i("7J")!==-1){16 n=e.21().1J("7J")[1];t=1Z[n.8q(0).8Z()+n.8V(1)].94}19 6(e.21().1i("8s")!==-1){16 n=e.21().1J("8s")[1];t=1Z[n.8q(0).8Z()+n.8V(1)].97}19 6(e.21().1i("8o")!==-1){16 n=e.21().1J("8o")[1];t=1Z[n.8q(0).8Z()+n.8V(1)].9f}1S t};16 r=18(e,t,r,i){6(1Q t==="2L"){16 t="cK"}16 s={};6(e.3s!==i){s.3l=e.3s}6(e.3j!==i){s.4B=e.3j}6(e.2V!==i){s.4A=e.2V}6(r==="2B"){s.5p=s.5n=s.9i=1}19 6(e.4R!==i){s.5p=s.5n=s.9i=e.4R}6(e.1N){s.1N=r==="2B"?e.1N/1P:e.1N}s.41=n(t);1S s};16 i=18(t){16 n=e("<1n>"),r=1f,i=1f,s=["cI","cH","cE","cF","cG"];44=["cL","cM","cS","cT","cR"];2a(16 o=s.1k-1;o>=0;o--){r=r?r:n[0].1M[s[o]]!=2L}2a(16 o=44.1k-1;o>=0;o--){n.1a("44-1M","9N-3d");i=i?i:n[0].1M[44[o]]=="9N-3d"}6(r&&n[0].1M[s[4]]!=2L){n.1g("69","12-cO").1C(t);r=n[0].cP===3&&n[0].dc===9;n.9Q()}1S r&&i};16 s=18(e,t,n){16 r=[];6(n=="7M"){2a(16 i=0;i<e;i++){2a(16 s=0;s<t;s++){r.88(i+s*e)}}}19{2a(16 i=e-1;i>-1;i--){2a(16 s=t-1;s>-1;s--){r.88(i+s*e)}}}1S r};16 o=18(e){16 t=0;2a(16 n 3R e){6(e.dd(n)){++t}}1S t};16 u=18(){9w=18(e){e=e.21();16 t=/(9x)[ \\/]([\\w.]+)/.5Y(e)||/(62)[ \\/]([\\w.]+)/.5Y(e)||/(dC)(?:.*3X|)[ \\/]([\\w.]+)/.5Y(e)||/(98) ([\\w.]+)/.5Y(e)||e.1i("a6")<0&&/(dD)(?:.*? dB:([\\w.]+)|)/.5Y(e)||[];1S{8S:t[1]||"",3X:t[2]||"0"}};16 e=9w(46.42),t={};6(e.8S){t[e.8S]=1b;t.3X=e.3X}6(t.9x){t.62=1b}19 6(t.62){t.dy=1b}1S t};dz=18(e,t){16 n=["62","dE","9y","9u","o",""];16 r=0,i,s;9p(r<n.1k&&!e[i]){i=t;6(n[r]==""){i=i.9s(0,1).21()+i.9s(1)}i=n[r]+i;s=1Q e[i];6(s!="2L"){n=[n[r]];1S s=="18"?e[i]():e[i]}r++}};t.78={3X:"5.3.0",73:18(){6(46.42.3F(/dI/i)||46.42.3F(/dw/i)||46.42.3F(/dv/i)||46.42.3F(/dj/i)||46.42.3F(/dk/i)||46.42.3F(/di/i)||46.42.3F(/dh de/i)){1S 1b}19{1S 1f}},dg:18(e){6(e.1a("2e-1p")=="1W"||e.1a("2e-1p")=="1R"||e.1a("2e-1p")==0||e.1a("2e-1p")=="dl"){1S 1b}19{1S 1f}},2t:u().98&&u().3X<9?1b:1f,7P:1f,2T:1f,4E:1f,2z:1f,2S:1f,2E:7l,2k:"1X",4u:7l,1y:7l,1F:7l,8m:{1U:{1m:"1G",1G:"1m",1q:"1p",1p:"1q"},1X:{1m:"1m",1G:"1G",1q:"1q",1p:"1p"}},v:{d:4w,7u:8g,8e:4w}};t.ar={bu:80,b7:0,5T:1P,65:0,66:"6v",2I:1b,b8:0,bo:0,96:0,9j:1,9l:1,9g:1,9e:0,9U:0,9S:["50%","50%","0"],9X:4w,85:-80,7D:0,4T:a5,dq:0,4S:"6v",3M:1b,8t:0,8B:0,8d:0,7C:1,8U:1,8G:1,8r:0,8u:0,8i:["50%","50%","0"],8h:4w};t.9b={6P:bs};t.9c={9n:1b,3N:0,7d:0,8w:1f,1C:"",4r:1b,8n:1b,9r:1b,2U:1,4X:1b,7B:89,4b:0,75:1b,7W:1f,7p:1f,3p:"cJ",3K:"/5P/cU/",7r:"87",7i:1f,8b:1b,72:1b,79:1b,ad:1b,ah:1b,ai:1b,76:1f,aV:1f,aN:1b,38:"1V",77:"60%",8y:1E,6c:60,8P:35,8I:1E,5Q:1b,2C:"1W",aH:"eI.eE",3O:1b,4C:1b,1v:1f,aD:"1m: -aE; 1q: -aE;",8k:1f,aF:"eH",aU:1b,aW:1b,8W:1f,aT:0,aP:eu,eV:"",ac:18(e){},ab:18(e){},ae:18(e){},am:18(e){},b5:18(e){},7N:18(e){},6J:18(e){},6F:18(e){},6P:bs,8D:"1G",af:.45,8L:.45,5T:1P,4T:1P,66:"6v",4S:"6v",65:0,6x:0}})(3I)',62,928,"||||||if|||||||||||||||||||||||||||||||||||||||||||||||||||||||||data|ls||this||var|find|function|else|css|true|width|parseInt|height|false|attr|src|indexOf|break|length|case|left|div|addClass|bottom|top|nav|slide|nextLayer|class|yourLogo|lt|stop|sliderWidth|ratio|transition|Math|appendTo|px|100|sliderHeight|right|new|thumbnail|split|curLayer|display|style|delay|each|1e3|typeof|none|return|active|prev|hover|auto|next|iframe|window||toLowerCase|curLayerIndex|parent|the||visibility|floor|start|img|for|container|animation||padding|setTimeout|resize|inner|random|sliderOriginalWidth|prevNext|replace|removeClass|hasClass|clearTimeout|block|to|duration|video|ie78|click|switch|ltContainer|hidden|transitiontype|autoSlideshow|originalAutoSlideshow|after|autoPauseSlideshow|300|layersNum|not|image|L2|fadeIn|wrapper|ot|undefined|cttl|before|T2|visible|LayerSlider|href|isAnimating|paused|firstSlide|rotateX|originalHeight|L1|originalWidth|children|circleTimer|curSubScaleY|bottomWrapper|curSubScaleX|offsetyout||offsetxout||thumbnailNavigation||totalDuration|TweenLite|parseFloat||opacity|loaded|wp|layerSlider|fullwidth|rotateY|of|rotation|videopreview|fade|sliderOriginalHeight|skin|barTimer|outerHeight|rotate|closest|background|is|preventDefault|outerWidth|slidedirection|makeResponsive|preloaded|layer|param|curSlideTime|tr|match|marginLeft|box|jQuery|deg|skinsPath|position|fadeOut|responsiveUnder|imgPreload|load|pausedSlideTime|in|videoSrc|shadow|com|responsiveMode|number|version|on|tile|thumbsWrapper|ease|userAgent|error|transform||navigator|marginTop|_|animate|originalTop|loops|thumb|offset|append|isLoading|originalLeft|margin|border|autoplay|startSlideTime|tn|abs|html|it|forcehide|nextLoop|autoStart|showUntilTimer|curSubScale|slideTimer|cols|500|rows|like|showuntil|rotationX|rotationY|lazyLoad|overflow|pausedByVideo|extend|slidebuttons|all|easing|your|Please|easingout|or|always|location|png|durationout|scale3d|easingOut|durationOut|youtube|change|type|animateFirstSlide|rel|nextSubScaleX||nextSubScaleY|scale2D|st|touches|offsetxin|shadowImg|curTiles|curSubSkewY|tt|Date|parallaxlevel|getTime|init|thumbnails|fisrtSlide|curSubSkewX|curSubRotateY|curSubRotateX|vimeo|offsetyin|delayin|body|scaleY|and|scaleX|transition3d|nextLayerIndex|rotateZ|translate3d|scale|player|prependTo|youtu|0deg|reverse|vpcontainer|customtransition3d|span|customtransition2d|easingin|trim|direction|old|transitionType|string|touchEndX|back|transition2d|pause|durationin|layerslider|autoPlayVideos|LSCustomTransition|originalRight|durationIn|scaleout|timer|rotateout|removeAttr|exec|slideoutdirection||document|webkit|WordPress|delayout|delayIn|easingIn|url|originalBottom|id|empty|slidedelay|tnHeight|li|name|timeshift|firstSlideAnimated|O2|images|layerMarginLeft|ontouchstart|fadeTo|oB|layerMarginTop|curLayerTop|touchStartX|nextLayerTop|nextLayerLeft|oT|oR|showShadow|easeInOutQuint|videoTimer|delayOut|originalBorderLeft|originalBorderRight|helper|originalBorderBottom|originalBorderTop|console|nIt|cbNext|bind|currentTime|audio|cbPrev|clicked|fromTo|nothumb|180|nextSubScale|slideDelay|wrong|pointing|URL|seems|cannot|check|slider|used|URLs|rt|nt|scaleyout|navStartStop|isMobile|transformoriginout|forceLoopNum|hoverBottomNav|tnContainerWidth|global|navButtons|skewyout|rotateyout|skewxout|layersContainer|rotatexout|parallaxout|scalexout|skewX|globalBGImage|perspectiveout|skewY|null|http|link|originalOpacity|randomSlideshow|videoDuration|globalBGColor|alt|pageX|fo|clone|resizeShadow|dequeue|nextTiles|set|resizeSlider|sliderFadeInDuration|scaleOut|offsetYOut|sliderOriginalWidthRU|topleft|topright|sublayerContainer|bottomright|easeinout|bottomleft|index|forward|cbAnimStop|curLayerRight|originalAutoStart|scrollThumb|bottomNavSizeHelper|changeThumb|last|curLayerBottom|onComplete|twoWaySlideshow|nextLayerRight|nextLayerHeight|nextLayerWidth||kill|nextSubRotateY|250|nextSubSkewX|offsetXOut|resizeYourLogo|transparent|push|350|forceHideControls|navPrevNext|nextSubRotateX|rotateYOut|fi|nextSubSkewY|750|perspectiveOut|transformOriginOut|transformPerspective|yourLogoLink|defaults|slideDirections|startInViewport|easein|ut|charAt|skewXOut|easeout|rotateOut|skewYOut|scalein|fullScreen|rotatein|tnWidth|cssContainer|sliderTop|rotateXOut|videohack|slideDirection|150|sublayerShowUntil|scaleYOut|join|tnInactiveOpacity|script|Linear|parallaxOut|transformOrigin|content|linkto|tnActiveOpacity|easeNone|nextLayerBottom|browser|linear|scaleXOut|slice|hideOnMobile|originalPaddingLeft|originalPaddingRight|toUpperCase||slideTransition|originalPaddingBottom|originalPaddingTop|easeInOut|stopLayer|rotateYIn|easeOut|msie|json|head|slideTransitions|options|alert|skewXIn|easeIn|scaleYIn|substring|scaleZ|scaleIn|callback|scaleXIn|lastIndexOf|responsive|layerSliderCustomTransitions|while|showSlider|pauseOnHover|substr|gi|ms|originalFontSize|uaMatch|chrome|moz|disabled|norotate|t2|t3|t4|ieEasing|t1|forcestop|firstLayer|add|2e3|text|originalLineHeight|font|preserve|entry|resizeThumb|remove|group|transformOriginIn|getJSON|skewYIn|embed|off|perspectiveIn|initialized|borderLeftWidth|hash|line|size|borderRightWidth|borderTopWidth|400|compatible|shadowBtmMod|borderBottomWidth|api|looks|cbStart|cbInit|keybNav|cbStop|parallaxIn|mousemove|touchNav|hoverPrevNext|createStyleSheet|relative|sides|cbPause||horizontal|object|opaque|layerTransitions|large||oldjquery|lsShowNotice|front|fn|jquery|above|mirror|plugin|loading|yourLogoStyle|10px|yourLogoTarget|t5|youtubePreview|hider|half|update|forced|show|showCircleTimer|parallaxStartY|hideOver|layerSliderTransitions|pageY|parallaxStartX|hideUnder|optimizeForMobile|showBarTimer|optimizeForIE78|meta|depth|TimelineLite|library|playvideo|parallaxin|default|custom2d|cbAnimStart|custom3d|offsetYIn|rotateIn|cbTimeLineStart|rotatexin|clientX|from|originalEvent||Play||fadeout|It|perspectivein|skewxin|swing|scalexin|animating|rotateXIn|scaleyin|which|skewyin|4e3|randomize|offsetXIn|col|issue|transformoriginin||wmode|strong|rotateyin|touchend|Quad|gif|insertAfter|gpuhack|insertBefore|important|stylesheet|resume|bar|zIndex|center|quad|restart|onReverseComplete|queue|mouseenter|orientationchange|animateFirstLayer|backgroundColor|backgroundImage|indicator|static|blank|deeplink|yourlogo|file|gdata|html5|below|touchmove|640|touchstart|feeds|videos|media|seconds|enabled|keydown|bock|originalMarkup|vi|v2|touchscroll|wrapAll|yt|mouseleave|circle|round|outline|textDecoration|target|play||wpVersion|thumbnail_large|cursor|pointer|sideright|ended|absolute|sideleft|lswpVersion|defaultInitData|msPerspective|MozPerspective|WebkitPerspective|OPerspective|perspective|v5|easeInOutQuart|transformStyle|OTransformStyle|Advanced|test3d|offsetHeight|Settings|WebkitTransformStyle|msTransformStyle|MozTransformStyle|skins|you|because|loads|obj|theme|with|browsers|older|Updater|use|requires|using|are|least|newer|Important|higher|offsetLeft|hasOwnProperty|Phone|main|isHideOn3D|Windows|BlackBerry|iPad|iPod|0px|copy|sliders||problems|showUntil|navigate|causing|area|admin|iPhone|webOS|within|safari|lsPrefixes|Troubleshooting|rv|opera|mozilla|khtml|option|enable|page|Android|Put|JS|extra|includes|quart|scroll|layerMarginRight|layerMarginBottom|filter|changeTimer|600|Trident|enableCSS3|log|prevLayerIndex|that|carousel|crossfad|forceStop|specified|custom|another|fadein|multiple|450|Quint|sine|Sine|quint|Cubic|Quart|cubic|expo|Expo|Back|bounce|Bounce|Elastic||elastic|circ|Circ|sequence||t2d|dispay||1e6|You|can|read|more|nexttile|wordpress|faq|IE|scrollTop|jpg|support|kreaturamedia|_self|maxresdefault|curtile|mixed|exclam|title|redraw|userInitData|continue|here|clicking|updating|about|curtiles|staticImage|nexttiles|vertical".split("|"),0,{}));
}catch(e){console.log("Module 'layerSlider': ",e);}
try{
/*
	* 2D & 3D Transitions for LayerSlider
	*
	* (c) 2011-2014 George Krupa, John Gera & Kreatura Media
	*
	* Plugin web:			http://kreaturamedia.com/
	* Licenses: 			http://codecanyon.net/licenses/
*/



;eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('20 1Z={27:[{j:"13 N E",d:1,g:1,f:{e:0,i:"o"},c:{n:"W",b:"1e",a:G,h:"r"}},{j:"13 N r",d:1,g:1,f:{e:0,i:"o"},c:{n:"W",b:"1e",a:G,h:"E"}},{j:"13 N L",d:1,g:1,f:{e:0,i:"o"},c:{n:"W",b:"1e",a:G,h:"J"}},{j:"13 N J",d:1,g:1,f:{e:0,i:"o"},c:{n:"W",b:"1e",a:G,h:"L"}},{j:"26",d:1,g:1,f:{e:0,i:"o"},c:{n:"14",b:"1e",a:G,h:"r"}},{j:"Z R o",d:[2,4],g:[4,7],f:{e:1k,i:"o"},c:{n:"14",b:"z",a:G,h:"r"}},{j:"Z R D",d:[2,4],g:[4,7],f:{e:1k,i:"D"},c:{n:"14",b:"z",a:G,h:"r"}},{j:"Z R 1j-o",d:[2,4],g:[4,7],f:{e:1k,i:"1j-o"},c:{n:"14",b:"z",a:G,h:"r"}},{j:"Z R 1j-D",d:[2,4],g:[4,7],f:{e:1k,i:"1j-D"},c:{n:"14",b:"z",a:G,h:"r"}},{j:"Z R (k)",d:[2,4],g:[4,7],f:{e:1k,i:"k"},c:{n:"14",b:"z",a:G,h:"r"}},{j:"1y 1H N E",d:1,g:1s,f:{e:25,i:"D"},c:{n:"14",b:"1X",a:V,h:"r"}},{j:"1y 1H N r",d:1,g:1s,f:{e:25,i:"o"},c:{n:"14",b:"w",a:V,h:"r"}},{j:"1y 1H N L",d:1s,g:1,f:{e:25,i:"1j-D"},c:{n:"14",b:"w",a:V,h:"r"}},{j:"1y 1H N J",d:1s,g:1,f:{e:25,i:"1j-o"},c:{n:"14",b:"w",a:V,h:"r"}},{j:"1y Y N E",d:1,g:25,f:{e:1k,i:"D"},c:{n:"W",b:"w",a:1g,h:"r"}},{j:"1y Y N r",d:1,g:25,f:{e:1k,i:"o"},c:{n:"W",b:"w",a:1g,h:"E"}},{j:"1y 1W N L",d:25,g:1,f:{e:1k,i:"1j-D"},c:{n:"W",b:"w",a:1g,h:"J"}},{j:"1y Y N J",d:25,g:1,f:{e:1k,i:"1j-o"},c:{n:"W",b:"w",a:1g,h:"L"}},{j:"13 R m E (k)",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"W",b:"z",a:1m,h:"E"}},{j:"13 R m r (k)",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"W",b:"z",a:1m,h:"r"}},{j:"13 R m L (k)",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"W",b:"z",a:1m,h:"L"}},{j:"13 R m J (k)",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"W",b:"z",a:1m,h:"J"}},{j:"13 k R m k 1S",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"W",b:"z",a:1m,h:"k"}},{j:"13 d m E (o)",d:[7,11],g:1,f:{e:1d,i:"o"},c:{n:"W",b:"w",a:p,h:"E"}},{j:"13 d m E (D)",d:[7,11],g:1,f:{e:1d,i:"D"},c:{n:"W",b:"w",a:p,h:"E"}},{j:"13 d m E (k)",d:[7,11],g:1,f:{e:1d,i:"k"},c:{n:"W",b:"w",a:p,h:"E"}},{j:"13 d m r (o)",d:[7,11],g:1,f:{e:1d,i:"o"},c:{n:"W",b:"w",a:p,h:"r"}},{j:"13 d m r (D)",d:[7,11],g:1,f:{e:1d,i:"D"},c:{n:"W",b:"w",a:p,h:"r"}},{j:"13 d m r (k)",d:[7,11],g:1,f:{e:1d,i:"k"},c:{n:"W",b:"w",a:p,h:"r"}},{j:"13 d N J m L (o)",d:[7,11],g:1,f:{e:1d,i:"o"},c:{n:"W",b:"w",a:p,h:"L"}},{j:"13 d N J m L (k)",d:[7,11],g:1,f:{e:1d,i:"k"},c:{n:"W",b:"w",a:p,h:"L"}},{j:"13 d N L m J (D)",d:[7,11],g:1,f:{e:1d,i:"D"},c:{n:"W",b:"w",a:p,h:"J"}},{j:"13 d N L m J (k)",d:[7,11],g:1,f:{e:1d,i:"k"},c:{n:"W",b:"w",a:p,h:"J"}},{j:"13 P m L (o)",d:1,g:[12,16],f:{e:q,i:"o"},c:{n:"W",b:"w",a:p,h:"L"}},{j:"13 P m L (D)",d:1,g:[12,16],f:{e:q,i:"D"},c:{n:"W",b:"w",a:p,h:"L"}},{j:"13 P m L (k)",d:1,g:[12,16],f:{e:q,i:"k"},c:{n:"W",b:"w",a:p,h:"L"}},{j:"13 P m J (o)",d:1,g:[12,16],f:{e:q,i:"o"},c:{n:"W",b:"w",a:p,h:"J"}},{j:"13 P m J (D)",d:1,g:[12,16],f:{e:q,i:"D"},c:{n:"W",b:"w",a:p,h:"J"}},{j:"13 P m J (k)",d:1,g:[12,16],f:{e:q,i:"k"},c:{n:"W",b:"w",a:p,h:"J"}},{j:"13 P N r m E (o)",d:1,g:[12,16],f:{e:q,i:"o"},c:{n:"W",b:"w",a:p,h:"E"}},{j:"13 P N r m E (k)",d:1,g:[12,16],f:{e:q,i:"k"},c:{n:"W",b:"w",a:p,h:"E"}},{j:"13 P N E m r (D)",d:1,g:[12,16],f:{e:q,i:"D"},c:{n:"W",b:"w",a:p,h:"r"}},{j:"13 P N E m r (k)",d:1,g:[12,16],f:{e:q,i:"k"},c:{n:"W",b:"w",a:p,h:"r"}},{j:"Z v Y R m E (k)",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"Q",b:"z",a:1m,h:"E"}},{j:"Z v Y R m r (k)",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"Q",b:"z",a:1m,h:"r"}},{j:"Z v Y R m L (k)",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"Q",b:"z",a:1m,h:"L"}},{j:"Z v Y R m J (k)",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"Q",b:"z",a:1m,h:"J"}},{j:"Z v Y k R m k 1S",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"Q",b:"z",a:1m,h:"k"}},{j:"Z v Y R N J-r (o)",d:[2,4],g:[4,7],f:{e:1f,i:"o"},c:{n:"Q",b:"z",a:1m,h:"1V"}},{j:"Z v Y R N L-E (D)",d:[2,4],g:[4,7],f:{e:1f,i:"D"},c:{n:"Q",b:"z",a:1m,h:"21"}},{j:"Z v Y R N J-E (k)",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"Q",b:"z",a:1m,h:"1T"}},{j:"Z v Y R N L-r (k)",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"Q",b:"z",a:1m,h:"1U"}},{j:"Z v Y d m E (o)",d:[7,11],g:1,f:{e:1d,i:"o"},c:{n:"Q",b:"w",a:p,h:"E"}},{j:"Z v Y d m E (D)",d:[7,11],g:1,f:{e:1d,i:"D"},c:{n:"Q",b:"w",a:p,h:"E"}},{j:"Z v Y d m E (k)",d:[7,11],g:1,f:{e:1d,i:"k"},c:{n:"Q",b:"w",a:p,h:"E"}},{j:"Z v Y d m r (o)",d:[7,11],g:1,f:{e:1d,i:"o"},c:{n:"Q",b:"w",a:p,h:"r"}},{j:"Z v Y d m r (D)",d:[7,11],g:1,f:{e:1d,i:"D"},c:{n:"Q",b:"w",a:p,h:"r"}},{j:"Z v Y d m r (k)",d:[7,11],g:1,f:{e:1d,i:"k"},c:{n:"Q",b:"w",a:p,h:"r"}},{j:"Z v Y d N J m L (o)",d:[7,11],g:1,f:{e:1d,i:"o"},c:{n:"Q",b:"w",a:p,h:"L"}},{j:"Z v Y d N J m L (k)",d:[7,11],g:1,f:{e:1d,i:"k"},c:{n:"Q",b:"w",a:p,h:"L"}},{j:"Z v Y d N L m J (D)",d:[7,11],g:1,f:{e:1d,i:"D"},c:{n:"Q",b:"w",a:p,h:"J"}},{j:"Z v Y d N L m J (k)",d:[7,11],g:1,f:{e:1d,i:"k"},c:{n:"Q",b:"w",a:p,h:"J"}},{j:"Z v Y P m L (o)",d:1,g:[12,16],f:{e:q,i:"o"},c:{n:"Q",b:"w",a:p,h:"L"}},{j:"Z v Y P m L (D)",d:1,g:[12,16],f:{e:q,i:"D"},c:{n:"Q",b:"w",a:p,h:"L"}},{j:"Z v Y P m L (k)",d:1,g:[12,16],f:{e:q,i:"k"},c:{n:"Q",b:"w",a:p,h:"L"}},{j:"Z v Y P m J (o)",d:1,g:[12,16],f:{e:q,i:"o"},c:{n:"Q",b:"w",a:p,h:"J"}},{j:"Z v Y P m J (D)",d:1,g:[12,16],f:{e:q,i:"D"},c:{n:"Q",b:"w",a:p,h:"J"}},{j:"Z v Y P m J (k)",d:1,g:[12,16],f:{e:q,i:"k"},c:{n:"Q",b:"w",a:p,h:"J"}},{j:"Z v Y P N r m E (o)",d:1,g:[12,16],f:{e:q,i:"o"},c:{n:"Q",b:"w",a:p,h:"E"}},{j:"Z v Y P N r m E (k)",d:1,g:[12,16],f:{e:q,i:"k"},c:{n:"Q",b:"w",a:p,h:"E"}},{j:"Z v Y P N E m r (D)",d:1,g:[12,16],f:{e:q,i:"D"},c:{n:"Q",b:"w",a:p,h:"r"}},{j:"Z v Y P N E m r (k)",d:1,g:[12,16],f:{e:q,i:"k"},c:{n:"Q",b:"w",a:p,h:"r"}},{j:"1u",d:1,g:1,f:{e:0,i:"o"},c:{n:"Q",b:"1e",a:V,h:"r",1h:.5}},{j:"1u d",d:4,g:1,f:{e:1f,i:"o"},c:{n:"Q",b:"1e",a:V,h:"r",1h:.5}},{j:"1u g",d:1,g:4,f:{e:1f,i:"o"},c:{n:"Q",b:"1e",a:V,h:"r",1h:.5}},{j:"1u R A",d:3,g:4,f:{e:1s,i:"o"},c:{n:"Q",b:"1e",a:V,h:"r",1h:.5,y:x}},{j:"1u R F",d:3,g:4,f:{e:1s,i:"o"},c:{n:"Q",b:"1e",a:V,h:"J",1h:.5,u:-x}},{j:"1u-1I R A",d:3,g:4,f:{e:15,i:"o"},c:{n:"Q",b:"1e",a:V,h:"r",1h:.5,y:x}},{j:"1u-1I R F",d:3,g:4,f:{e:15,i:"o"},c:{n:"Q",b:"1e",a:V,h:"J",1h:.5,u:-x}},{j:"1u 1I d",d:4,g:1,f:{e:1f,i:"o"},c:{n:"Q",b:"1e",a:V,h:"E",1h:.5}},{j:"1u 1I g",d:1,g:4,f:{e:1f,i:"o"},c:{n:"Q",b:"1e",a:V,h:"r",1h:.5}},{j:"1c f N r",d:1,g:1,f:{e:0,i:"o"},c:{n:"W",b:"z",a:V,h:"E",y:x}},{j:"1c f N E",d:1,g:1,f:{e:0,i:"o"},c:{n:"W",b:"z",a:V,h:"r",y:-x}},{j:"1c f N J",d:1,g:1,f:{e:0,i:"o"},c:{n:"W",b:"z",a:V,h:"L",u:-x}},{j:"1c f N L",d:1,g:1,f:{e:0,i:"o"},c:{n:"W",b:"z",a:V,h:"J",u:x}},{j:"1c R N r",d:[3,4],g:[3,4],f:{e:19,i:"o"},c:{n:"14",b:"z",a:V,h:"r",y:x}},{j:"1c R N E",d:[3,4],g:[3,4],f:{e:19,i:"D"},c:{n:"14",b:"z",a:V,h:"r",y:-x}},{j:"1c R N J",d:[3,4],g:[3,4],f:{e:19,i:"o"},c:{n:"14",b:"z",a:V,h:"r",u:-x}},{j:"1c R N L",d:[3,4],g:[3,4],f:{e:19,i:"D"},c:{n:"14",b:"z",a:V,h:"r",u:x}},{j:"1c d N J",d:[6,12],g:1,f:{e:19,i:"o"},c:{n:"14",b:"z",a:V,h:"r",u:x}},{j:"1c d N L",d:[6,12],g:1,f:{e:19,i:"D"},c:{n:"14",b:"z",a:V,h:"r",u:-x}},{j:"1c g N r",d:1,g:[6,12],f:{e:19,i:"o"},c:{n:"14",b:"z",a:V,h:"r",y:-x}},{j:"1c g N E",d:1,g:[6,12],f:{e:19,i:"D"},c:{n:"14",b:"z",a:V,h:"r",y:x}},{j:"1v d N r",d:[3,10],g:1,f:{e:19,i:"o"},c:{n:"14",b:"z",a:V,h:"r",y:x}},{j:"1v d N E",d:[3,10],g:1,f:{e:19,i:"D"},c:{n:"14",b:"z",a:V,h:"r",y:-x}},{j:"1v g N J",d:1,g:[3,10],f:{e:19,i:"o"},c:{n:"14",b:"z",a:V,h:"r",u:-x}},{j:"1v g N L",d:1,g:[3,10],f:{e:19,i:"D"},c:{n:"14",b:"z",a:V,h:"r",u:x}},{j:"1v v 1z f N r",d:1,g:1,f:{e:q,i:"o"},c:{n:"Q",b:"z",a:V,h:"E",1h:.1,1r:-x,y:x}},{j:"1v v 1z f N E",d:1,g:1,f:{e:q,i:"o"},c:{n:"Q",b:"z",a:V,h:"r",1h:.1,1r:x,y:-x}},{j:"1v v 1z R N r",d:[3,4],g:[3,4],f:{e:19,i:"o"},c:{n:"Q",b:"z",a:V,h:"E",1r:-1w}},{j:"1v v 1z R N E",d:[3,4],g:[3,4],f:{e:19,i:"o"},c:{n:"Q",b:"z",a:V,h:"r",1r:-1w}},{j:"1v v 1z R N k",d:[3,4],g:[3,4],f:{e:19,i:"k"},c:{n:"Q",b:"z",a:V,h:"k",1r:-1w}},{j:"B f 1O",d:1,g:1,f:{e:0,i:"o"},c:{n:"14",b:"z",a:1a,h:"r",1h:.8}},{j:"B f N 1L",d:1,g:1,f:{e:0,i:"o"},c:{n:"14",b:"w",a:1a,h:"r",1h:1.2}},{j:"B R k",d:[3,4],g:[3,4],f:{e:1s,i:"k"},c:{n:"14",b:"z",a:V,h:"r",1h:.1}},{j:"B R N 1L k",d:[3,4],g:[3,4],f:{e:1s,i:"k"},c:{n:"14",b:"z",a:V,h:"r",1h:2}},{j:"B 1O v 1z R k",d:[3,4],g:[3,4],f:{e:1s,i:"k"},c:{n:"14",b:"z",a:V,h:"r",1h:.1,1r:x}},{j:"B v 1z R N 1L k",d:[3,4],g:[3,4],f:{e:1s,i:"k"},c:{n:"14",b:"z",a:V,h:"r",1h:2,1r:-x}},{j:"1D-Y R 24",d:3,g:4,f:{e:15,i:"o"},c:{n:"W",b:"w",a:1Y,h:"1T"}},{j:"1D-Y d A",d:6,g:1,f:{e:0,i:"o"},c:{n:"Q",b:"z",a:V,h:"r"}},{j:"1D-Y d F",d:6,g:1,f:{e:0,i:"o"},c:{n:"Q",b:"z",a:V,h:"J"}},{j:"1D-Y g A",d:1,g:8,f:{e:0,i:"o"},c:{n:"Q",b:"z",a:V,h:"r"}},{j:"1D-Y g F",d:1,g:8,f:{e:0,i:"o"},c:{n:"Q",b:"z",a:V,h:"J"}}],23:[{j:"1b f m E (l&#t;)",d:1,g:1,f:{e:q,i:"o"},s:{c:{y:1E},b:"1F",a:G,h:"A"},C:{c:{y:l},b:"z",a:G,h:"A"}},{j:"1b f m r (l&#t;)",d:1,g:1,f:{e:q,i:"o"},s:{c:{y:-1E},b:"1F",a:G,h:"A"},C:{c:{y:-l},b:"z",a:G,h:"A"}},{j:"1b f m L (l&#t;)",d:1,g:1,f:{e:q,i:"o"},s:{c:{u:-1E},b:"1F",a:1x,h:"F"},C:{c:{u:-l},b:"z",a:1x,h:"F"}},{j:"1b f m J (l&#t;)",d:1,g:1,f:{e:q,i:"o"},s:{c:{u:1E},b:"1F",a:1x,h:"F"},C:{c:{u:l},b:"z",a:1x,h:"F"}},{j:"1b R m E (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"o"},s:{c:{y:l},b:"w",a:G,h:"A"}},{j:"1b R m r (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"D"},s:{c:{y:-l},b:"w",a:G,h:"A"}},{j:"1b R m L (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"1j-o"},s:{c:{u:-l},b:"w",a:G,h:"F"}},{j:"1b R m J (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"1j-D"},s:{c:{u:l},b:"w",a:G,h:"F"}},{j:"1B S R k (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"k"},s:{c:{y:l},b:"w",a:1G,h:"A"}},{j:"1C S R k (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"k"},s:{c:{u:l},b:"w",a:1G,h:"F"}},{j:"B v S R m E (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"o"},M:{c:{I:.1A},a:1l,b:"18"},s:{c:{y:l},b:"H",a:G,h:"A"},C:{a:1g,b:"H"}},{j:"B v S R m r (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"D"},M:{c:{I:.1A},a:1l,b:"18"},s:{c:{y:-l},b:"H",a:G,h:"A"},C:{a:1g,b:"H"}},{j:"B v S R m L (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"1j-o"},M:{c:{I:.1A},a:1l,b:"18"},s:{c:{u:-l},b:"H",a:G,h:"F"},C:{a:1g,b:"H"}},{j:"B v S R m J (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"1j-D"},M:{c:{I:.1A},a:1l,b:"18"},s:{c:{u:l},b:"H",a:G,h:"F"},C:{a:1g,b:"H"}},{j:"B v A S R k (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"k"},M:{c:{I:.1A,u:1k},a:1l,b:"18"},s:{c:{y:l,u:-1k},b:"H",a:1G,h:"A"},C:{c:{u:0},a:1g,b:"H"}},{j:"B v F S R k (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"k"},M:{c:{I:.1A,y:-15},a:1l,b:"18"},s:{c:{u:l,y:15},b:"H",a:1G,h:"F"},C:{c:{y:0},a:1g,b:"H"}},{j:"1b d m E (l&#t;)",d:[5,9],g:1,f:{e:q,i:"o"},s:{c:{y:l},b:"w",a:1a,h:"A"}},{j:"1b d m r (l&#t;)",d:[5,9],g:1,f:{e:q,i:"o"},s:{c:{y:-l},b:"w",a:1a,h:"A"}},{j:"1b d m L (l&#t;)",d:[5,9],g:1,f:{e:q,i:"o"},s:{c:{u:-l},b:"w",a:G,h:"F"}},{j:"1b d m J (l&#t;)",d:[5,9],g:1,f:{e:q,i:"D"},s:{c:{u:l},b:"w",a:G,h:"F"}},{j:"1B S d k (l&#t;)",d:[5,9],g:1,f:{e:q,i:"k"},s:{c:{y:l},b:"w",a:1a,h:"A"}},{j:"1C S d k (l&#t;)",d:[5,9],g:1,f:{e:q,i:"k"},s:{c:{u:-l},b:"w",a:1a,h:"F"}},{j:"1C S d k (1J&#t;)",d:[3,7],g:1,f:{e:1Q,i:"k"},s:{c:{u:-1J},b:"w",a:1R,h:"F"}},{j:"B v S d m E (l&#t;)",d:[5,9],g:1,f:{e:19,i:"o"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:l},b:"H",a:1p,h:"A"},C:{c:{e:X},b:"K",a:p}},{j:"B v S d m r (l&#t;)",d:[5,9],g:1,f:{e:19,i:"D"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:-l},b:"H",a:1p,h:"A"},C:{c:{e:X},b:"K",a:p}},{j:"B v S d m L (l&#t;)",d:[5,9],g:1,f:{e:19,i:"o"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-l},b:"w",a:p,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"B v S d m J (l&#t;)",d:[5,9],g:1,f:{e:19,i:"D"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:l},b:"w",a:p,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"B v A S d k (l&#t;)",d:[5,9],g:1,f:{e:19,i:"k"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:l},b:"H",a:1p,h:"A"},C:{c:{e:X},b:"K",a:p}},{j:"B v F S d k (l&#t;)",d:[5,9],g:1,f:{e:19,i:"k"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-l},b:"H",a:p,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"1b P m E (l&#t;)",d:1,g:[5,9],f:{e:q,i:"o"},s:{c:{y:l},b:"w",a:1a,h:"A"}},{j:"1b P m r (l&#t;)",d:1,g:[5,9],f:{e:q,i:"o"},s:{c:{y:-l},b:"w",a:1a,h:"A"}},{j:"1b P m L (l&#t;)",d:1,g:[5,9],f:{e:q,i:"o"},s:{c:{u:-l},b:"w",a:G,h:"F"}},{j:"1b P m J (l&#t;)",d:1,g:[5,9],f:{e:q,i:"D"},s:{c:{u:l},b:"w",a:G,h:"F"}},{j:"1B S P k (l&#t;)",d:1,g:[5,9],f:{e:q,i:"k"},s:{c:{y:l},b:"w",a:1a,h:"A"}},{j:"1C S P k (l&#t;)",d:1,g:[5,9],f:{e:q,i:"k"},s:{c:{u:-l},b:"w",a:1a,h:"F"}},{j:"1B S P k (1J&#t;)",d:1,g:[4,9],f:{e:1Q,i:"k"},s:{c:{y:1J},b:"w",a:1R,h:"A"}},{j:"B v S P m E (l&#t;)",d:1,g:[7,11],f:{e:19,i:"o"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:l},b:"w",a:p,h:"A"},C:{c:{e:X},b:"K",a:p}},{j:"B v S P m r (l&#t;)",d:1,g:[7,11],f:{e:19,i:"D"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:-l},b:"w",a:p,h:"A"},C:{c:{e:X},b:"K",a:p}},{j:"B v S P m L (l&#t;)",d:1,g:[7,11],f:{e:19,i:"o"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-l},b:"H",a:1p,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"B v S P m J (l&#t;)",d:1,g:[7,11],f:{e:q,i:"D"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:l},b:"H",a:1p,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"B v A S P k (l&#t;)",d:1,g:[7,11],f:{e:q,i:"k"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:l},b:"H",a:p,h:"A"},C:{c:{e:X},b:"K",a:p}},{j:"B v F S P k (l&#t;)",d:1,g:[7,11],f:{e:q,i:"k"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-l},b:"H",a:1p,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"1N 1P 1M v S m E (l&#t;)",d:1,g:[7,11],f:{e:q,i:"o"},M:{c:{I:.O,u:-1k},a:p,b:"z"},s:{c:{u:-1k,y:l},b:"w",a:G,h:"A"},C:{c:{u:0,e:X},b:"z",a:p}},{j:"1N 1P 1M v S m r (l&#t;)",d:1,g:[7,11],f:{e:q,i:"D"},M:{c:{I:.O,u:-1k},a:p,b:"z"},s:{c:{u:1k,y:-l},b:"w",a:G,h:"A"},C:{c:{u:0,e:X},b:"z",a:p}},{j:"1c 1t m E (x&#t;)",d:1,g:1,f:{e:q,i:"o"},s:{c:{y:x},b:"w",a:1a,h:"A"}},{j:"1c 1t m r (x&#t;)",d:1,g:1,f:{e:q,i:"o"},s:{c:{y:-x},b:"w",a:1a,h:"A"}},{j:"1c 1t m L (x&#t;)",d:1,g:1,f:{e:q,i:"o"},s:{c:{u:-x},b:"w",a:1a,h:"F"}},{j:"1c 1t m J (x&#t;)",d:1,g:1,f:{e:q,i:"o"},s:{c:{u:x},b:"w",a:1a,h:"F"}},{j:"B v 17 1t m E (x&#t;)",d:1,g:1,f:{e:q,i:"k"},s:{c:{I:.8,1r:7,u:10,y:1w},b:"1e",a:1x,h:"A"},C:{c:{1r:0,u:0,y:x},a:1x,b:"1e"}},{j:"B v 17 1t m r (x&#t;)",d:1,g:1,f:{e:q,i:"k"},s:{c:{I:.8,1r:-7,u:10,y:-1w},b:"1e",a:1x,h:"A"},C:{c:{1r:0,u:0,y:-x},a:1x,b:"1e"}},{j:"B v 17 1n m E (x&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"o"},M:{c:{I:.O},a:1l,b:"18"},s:{c:{y:x},b:"H",a:G,h:"A"},C:{a:1g,b:"H"}},{j:"B v 17 1n m r (x&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"D"},M:{c:{I:.O},a:1l,b:"18"},s:{c:{y:-x},b:"H",a:G,h:"A"},C:{a:1g,b:"H"}},{j:"B v 17 1n m L (x&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"1j-o"},M:{c:{I:.O},a:1l,b:"18"},s:{c:{u:-x},b:"H",a:G,h:"F"},C:{a:1g,b:"H"}},{j:"B v 17 1n m J (x&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"1j-D"},M:{c:{I:.O},a:1l,b:"18"},s:{c:{u:x},b:"H",a:G,h:"F"},C:{a:1g,b:"H"}},{j:"B v A 17 1n k (x&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"k"},M:{c:{I:.1i,u:-15},a:1o,b:"18"},s:{c:{y:q,u:15},b:"H",a:1o,h:"A"},C:{c:{y:x,u:0},a:1o,b:"H"}},{j:"B v F 17 1n k (x&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"k"},M:{c:{I:.1i,y:15},a:1o,b:"18"},s:{c:{u:q,y:-15},b:"H",a:1o,h:"F"},C:{c:{u:x,y:0},a:1o,b:"H"}},{j:"1c d m E (x&#t;)",d:[5,9],g:1,f:{e:q,i:"o"},s:{c:{y:x},b:"w",a:1a,h:"A"}},{j:"1c d m r (x&#t;)",d:[5,9],g:1,f:{e:q,i:"o"},s:{c:{y:-x},b:"w",a:1a,h:"A"}},{j:"1B 17 d k (x&#t;)",d:[5,9],g:1,f:{e:q,i:"k"},s:{c:{y:x},b:"w",a:1a,h:"A"}},{j:"B v 17 d m E (x&#t;)",d:[5,9],g:1,f:{e:q,i:"o"},M:{c:{I:.O,u:3},a:p,b:"K"},s:{c:{y:22,u:0},b:"H",a:G,h:"A"},C:{c:{e:X,y:x},b:"K",a:p}},{j:"B v 17 d m r (x&#t;)",d:[5,9],g:1,f:{e:q,i:"D"},M:{c:{I:.O,u:3},a:p,b:"K"},s:{c:{y:-x,u:0},b:"H",a:G,h:"A"},C:{c:{e:X},b:"K",a:p}},{j:"B v 17 d m L (x&#t;)",d:[5,9],g:1,f:{e:q,i:"o"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-x},b:"H",a:G,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"B v 17 d m J (x&#t;)",d:[5,9],g:1,f:{e:q,i:"D"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:x},b:"H",a:G,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"B v A 17 d k (x&#t;)",d:[5,9],g:1,f:{e:q,i:"k"},M:{c:{I:.O,u:3},a:p,b:"K"},s:{c:{y:x,u:0},b:"H",a:G,h:"A"},C:{c:{e:X},b:"K",a:p}},{j:"B v F 17 d k (x&#t;)",d:[5,9],g:1,f:{e:q,i:"k"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-x},b:"H",a:G,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"B v A 17 1K d m E (x&#t;)",d:[7,11],g:1,f:{e:q,i:"o"},s:{c:{I:.O,u:5,y:1w},b:"18",a:G,h:"A"},C:{c:{u:0,y:x},b:"18",a:G}},{j:"B v A 17 1K d m r (x&#t;)",d:[7,11],g:1,f:{e:q,i:"D"},s:{c:{I:.O,u:5,y:-1w},b:"18",a:G,h:"A"},C:{c:{u:0,y:-x},b:"18",a:G}},{j:"1c P m L (x&#t;)",d:1,g:[5,9],f:{e:q,i:"o"},s:{c:{u:-x},b:"w",a:G,h:"F"}},{j:"1c P m J (x&#t;)",d:1,g:[5,9],f:{e:q,i:"D"},s:{c:{u:x},b:"w",a:G,h:"F"}},{j:"1C 17 P k (x&#t;)",d:1,g:[5,9],f:{e:q,i:"k"},s:{c:{u:-x},b:"w",a:G,h:"F"}},{j:"B v 17 P m L (x&#t;)",d:1,g:[7,11],f:{e:q,i:"o"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-x},b:"H",a:G,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"B v 17 P m J (x&#t;)",d:1,g:[7,11],f:{e:q,i:"D"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:x},b:"H",a:G,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"B v 17 P m E (x&#t;)",d:1,g:[7,11],f:{e:q,i:"o"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:x},b:"H",a:G,h:"A"},C:{c:{e:X},b:"K",a:p}},{j:"B v 17 P m r (x&#t;)",d:1,g:[7,11],f:{e:q,i:"D"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:-x},b:"H",a:G,h:"A"},C:{c:{e:X},b:"K",a:p}},{j:"B v A 17 P k (x&#t;)",d:1,g:[7,11],f:{e:q,i:"k"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:x},b:"H",a:G,h:"A"},C:{c:{e:X},b:"K",a:p}},{j:"B v F 17 P k (x&#t;)",d:1,g:[7,11],f:{e:q,i:"k"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-x},b:"H",a:G,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"B v F 17 1K P m E (x&#t;)",d:1,g:[7,11],f:{e:q,i:"o"},s:{c:{I:.O,u:1w,y:-5},b:"18",a:G,h:"F"},C:{c:{u:x,y:0},b:"18",a:G}},{j:"B v F 17 1K P m r (x&#t;)",d:1,g:[7,11],f:{e:q,i:"D"},s:{c:{I:.O,u:-1w,y:-5},b:"18",a:G,h:"F"},C:{c:{u:-x,y:0},b:"18",a:G}},{j:"1b 1t m E (l&#t;, T U)",d:1,g:1,f:{e:q,i:"o",U:"T"},s:{c:{y:l},b:"w",a:1a,h:"A"}},{j:"1b 1t m r (l&#t;, T U)",d:1,g:1,f:{e:q,i:"o",U:"T"},s:{c:{y:-l},b:"w",a:1a,h:"A"}},{j:"1b 1t m L (l&#t;, T U)",d:1,g:1,f:{e:q,i:"o",U:"T"},s:{c:{u:-l},b:"w",a:1a,h:"F"}},{j:"1b 1t m J (l&#t;, T U)",d:1,g:1,f:{e:q,i:"o",U:"T"},s:{c:{u:l},b:"w",a:1a,h:"F"}},{j:"B v S 1n m E (l&#t;, T U)",d:[2,4],g:[4,7],f:{e:q,i:"o",U:"T"},M:{c:{I:.O},a:1l,b:"18"},s:{c:{y:l},b:"H",a:G,h:"A"},C:{a:1g,b:"H"}},{j:"B v S 1n m r (l&#t;, T U)",d:[2,4],g:[4,7],f:{e:q,i:"D",U:"T"},M:{c:{I:.O},a:1l,b:"18"},s:{c:{y:-l},b:"H",a:G,h:"A"},C:{a:1g,b:"H"}},{j:"B v S 1n m L (l&#t;, T U)",d:[2,4],g:[4,7],f:{e:q,i:"1j-o",U:"T"},M:{c:{I:.O},a:1l,b:"18"},s:{c:{u:-l},b:"H",a:G,h:"F"},C:{a:1g,b:"H"}},{j:"B v S 1n m J (l&#t;, T U)",d:[2,4],g:[4,7],f:{e:q,i:"1j-D",U:"T"},M:{c:{I:.O},a:1l,b:"18"},s:{c:{u:l},b:"H",a:G,h:"F"},C:{a:1g,b:"H"}},{j:"B v A S 1n k (l&#t;, T U)",d:[2,4],g:[4,7],f:{e:q,i:"k",U:"T"},M:{c:{I:.1i},a:1o,b:"18"},s:{c:{y:l},b:"H",a:1o,h:"A"},C:{a:1o,b:"H"}},{j:"B v F S 1n k (l&#t;, T U)",d:[2,4],g:[4,7],f:{e:q,i:"k",U:"T"},M:{c:{I:.1i},a:1o,b:"18"},s:{c:{u:l},b:"H",a:1o,h:"F"},C:{a:1o,b:"H"}},{j:"B v S d m E (l&#t;, T U)",d:[5,9],g:1,f:{e:1i,i:"o",U:"T"},M:{c:{I:.O,u:3},a:p,b:"K"},s:{c:{y:l,u:-3},b:"w",a:1p,h:"A"},C:{c:{e:X,u:0},b:"z",a:1q}},{j:"B v S d m r (l&#t;, T U)",d:[5,9],g:1,f:{e:1i,i:"D",U:"T"},M:{c:{I:.O,u:3},a:p,b:"K"},s:{c:{y:-l,u:-3},b:"w",a:1p,h:"A"},C:{c:{e:X,u:0},b:"z",a:1q}},{j:"B v S d m L (l&#t;, T U)",d:[5,9],g:1,f:{e:1i,i:"o",U:"T"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-l},b:"H",a:G,h:"F"},C:{c:{e:X},b:"z",a:1q}},{j:"B v S d m J (l&#t;, T U)",d:[5,9],g:1,f:{e:1i,i:"D",U:"T"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:l},b:"H",a:G,h:"F"},C:{c:{e:X},b:"z",a:1q}},{j:"B v A S d k (l&#t;, T U)",d:[5,9],g:1,f:{e:1i,i:"k",U:"T"},M:{c:{I:.O,u:3},a:p,b:"K"},s:{c:{y:l,u:-3},b:"w",a:1p,h:"A"},C:{c:{e:X,u:0},b:"z",a:1q}},{j:"B v F S d k (l&#t;, T U)",d:[5,9],g:1,f:{e:1i,i:"k",U:"T"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-l},b:"H",a:G,h:"F"},C:{c:{e:X},b:"z",a:1q}},{j:"B v S P m L (l&#t;, T U)",d:1,g:[7,11],f:{e:1i,i:"o",U:"T"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-l},b:"w",a:1p,h:"F"},C:{c:{e:X},b:"z",a:1q}},{j:"B v S P m J (l&#t;, T U)",d:1,g:[7,11],f:{e:1i,i:"D",U:"T"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:l},b:"w",a:1p,h:"F"},C:{c:{e:X},b:"z",a:1q}},{j:"B v S P m E (l&#t;, T U)",d:1,g:[7,11],f:{e:1i,i:"o",U:"T"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:l},b:"H",a:G,h:"A"},C:{c:{e:X},b:"z",a:1q}},{j:"B v S P m r (l&#t;, T U)",d:1,g:[7,11],f:{e:1i,i:"D",U:"T"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:-l},b:"H",a:G,h:"A"},C:{c:{e:X},b:"z",a:1q}},{j:"B v A S P k (l&#t;, T U)",d:1,g:[7,11],f:{e:1i,i:"k",U:"T"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:l},b:"H",a:G,h:"A"},C:{c:{e:X},b:"z",a:1q}},{j:"B v F S P k (l&#t;, T U)",d:1,g:[7,11],f:{e:1i,i:"k",U:"T"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-l},b:"w",a:1p,h:"F"},C:{c:{e:X},b:"z",a:1q}}]}',62,132,'||||||||||duration|easing|transition|rows|delay|tile|cols|direction|sequence|name|random|180|to|type|forward|600|75|left|animation|176|rotateX|and|easeInOutQuart|90|rotateY|easeOutQuart|horizontal|Scaling|after|reverse|right|vertical|1e3|easeInOutBack|scale3d|top|easeOutBack|bottom|before|from|85|columns|mixed|tiles|spinning|large|depth|750|slide|200|sliding|Fading||||Sliding|fade|||turning|easeInOutQuint|55|1500|Spinning|Turning|100|easeInOutQuad|50|350|scale|65|col|30|450|500|cuboids|700|1200|400|rotate|35|cuboid|Carousel|Flying|45|800|Smooth|rotating|95|Horizontal|Vertical|Mirror|91|easeInQuart|1300|fading|mirror|540|drunk|out|scaling|Drunk|in|colums|150|2e3|directions|topright|bottomleft|topleft|sliging|linear|850|layerSliderTransitions|var|bottomright|87|t3d|diagonal||Crossfading|t2d'.split('|')));

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


}catch(e){console.log("Module 'wp_ic4_wai_resources': ",e);}
try{/*!
* jquery.counterup.js 1.0
*
* Copyright 2013, Benjamin Intal http://gambit.ph @bfintal
* Released under the GPL v2 License
*
* Date: Nov 26, 2013
*/
!function(t){"use strict";t.fn.counterUp=function(e){var n=t.extend({time:400,delay:10},e);return this.each(function(){var e=t(this),u=n,a=function(){var t=u.time/u.delay,n=e.attr("data-value"),a=[n],r=/[0-9]+,[0-9]+/.test(n);n=n.replace(/,/g,"");for(var o=(/^[0-9]+$/.test(n),/^[0-9]+\.[0-9]+$/.test(n)),c=o?(n.split(".")[1]||[]).length:0,d=t;d>=1;d--){var i=parseInt(n/t*d);if(o&&(i=parseFloat(n/t*d).toFixed(c)),r)for(;/(\d+)(\d{3})/.test(i.toString());)i=i.toString().replace(/(\d+)(\d{3})/,"$1,$2");a.unshift(i)}e.data("counterup-nums",a),e.text("0");var s=function(){e.text(e.data("counterup-nums").shift()),e.data("counterup-nums").length?setTimeout(e.data("counterup-func"),u.delay):(delete e.data("counterup-nums"),e.data("counterup-nums",null),e.data("counterup-func",null))};e.data("counterup-func",s),setTimeout(e.data("counterup-func"),u.delay)};e.waypoint(a,{offset:"100%",triggerOnce:!0})})}}(jQuery);
}catch(e){console.log("Module 'counterup': ",e);}
try{!function(a,b,c,d){function e(b,c){this.settings=null,this.options=a.extend({},e.Defaults,c),this.$element=a(b),this.drag=a.extend({},m),this.state=a.extend({},n),this.e=a.extend({},o),this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._invalidated={},this._pipe=[],a.each(e.Plugins,a.proxy(function(a,b){this._plugins[a[0].toLowerCase()+a.slice(1)]=new b(this)},this)),a.each(e.Pipe,a.proxy(function(b,c){this._pipe.push({filter:c.filter,run:a.proxy(c.run,this)})},this)),this.setup(),this.initialize()}function f(a){if(a.touches!==d)return{x:a.touches[0].pageX,y:a.touches[0].pageY};if(a.touches===d){if(a.pageX!==d)return{x:a.pageX,y:a.pageY};if(a.pageX===d)return{x:a.clientX,y:a.clientY}}}function g(a){var b,d,e=c.createElement("div"),f=a;for(b in f)if(d=f[b],"undefined"!=typeof e.style[d])return e=null,[d,b];return[!1]}function h(){return g(["transition","WebkitTransition","MozTransition","OTransition"])[1]}function i(){return g(["transform","WebkitTransform","MozTransform","OTransform","msTransform"])[0]}function j(){return g(["perspective","webkitPerspective","MozPerspective","OPerspective","MsPerspective"])[0]}function k(){return"ontouchstart"in b||!!navigator.msMaxTouchPoints}function l(){return b.navigator.msPointerEnabled}var m,n,o;m={start:0,startX:0,startY:0,current:0,currentX:0,currentY:0,offsetX:0,offsetY:0,distance:null,startTime:0,endTime:0,updatedX:0,targetEl:null},n={isTouch:!1,isScrolling:!1,isSwiping:!1,direction:!1,inMotion:!1},o={_onDragStart:null,_onDragMove:null,_onDragEnd:null,_transitionEnd:null,_resizer:null,_responsiveCall:null,_goToLoop:null,_checkVisibile:null},e.Defaults={items:3,loop:!1,center:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:b,responsiveClass:!1,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",themeClass:"owl-theme",baseClass:"owl-carousel",itemClass:"owl-item",centerClass:"center",activeClass:"active"},e.Width={Default:"default",Inner:"inner",Outer:"outer"},e.Plugins={},e.Pipe=[{filter:["width","items","settings"],run:function(a){a.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){var a=this._clones,b=this.$stage.children(".cloned");(b.length!==a.length||!this.settings.loop&&a.length>0)&&(this.$stage.children(".cloned").remove(),this._clones=[])}},{filter:["items","settings"],run:function(){var a,b,c=this._clones,d=this._items,e=this.settings.loop?c.length-Math.max(2*this.settings.items,4):0;for(a=0,b=Math.abs(e/2);b>a;a++)e>0?(this.$stage.children().eq(d.length+c.length-1).remove(),c.pop(),this.$stage.children().eq(0).remove(),c.pop()):(c.push(c.length/2),this.$stage.append(d[c[c.length-1]].clone().addClass("cloned")),c.push(d.length-1-(c.length-1)/2),this.$stage.prepend(d[c[c.length-1]].clone().addClass("cloned")))}},{filter:["width","items","settings"],run:function(){var a,b,c,d=this.settings.rtl?1:-1,e=(this.width()/this.settings.items).toFixed(3),f=0;for(this._coordinates=[],b=0,c=this._clones.length+this._items.length;c>b;b++)a=this._mergers[this.relative(b)],a=this.settings.mergeFit&&Math.min(a,this.settings.items)||a,f+=(this.settings.autoWidth?this._items[this.relative(b)].width()+this.settings.margin:e*a)*d,this._coordinates.push(f)}},{filter:["width","items","settings"],run:function(){var b,c,d=(this.width()/this.settings.items).toFixed(3),e={width:Math.abs(this._coordinates[this._coordinates.length-1])+2*this.settings.stagePadding,"padding-left":this.settings.stagePadding||"","padding-right":this.settings.stagePadding||""};if(this.$stage.css(e),e={width:this.settings.autoWidth?"auto":d-this.settings.margin},e[this.settings.rtl?"margin-left":"margin-right"]=this.settings.margin,!this.settings.autoWidth&&a.grep(this._mergers,function(a){return a>1}).length>0)for(b=0,c=this._coordinates.length;c>b;b++)e.width=Math.abs(this._coordinates[b])-Math.abs(this._coordinates[b-1]||0)-this.settings.margin,this.$stage.children().eq(b).css(e);else this.$stage.children().css(e)}},{filter:["width","items","settings"],run:function(a){a.current&&this.reset(this.$stage.children().index(a.current))}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var a,b,c,d,e=this.settings.rtl?1:-1,f=2*this.settings.stagePadding,g=this.coordinates(this.current())+f,h=g+this.width()*e,i=[];for(c=0,d=this._coordinates.length;d>c;c++)a=this._coordinates[c-1]||0,b=Math.abs(this._coordinates[c])+f*e,(this.op(a,"<=",g)&&this.op(a,">",h)||this.op(b,"<",g)&&this.op(b,">",h))&&i.push(c);this.$stage.children("."+this.settings.activeClass).removeClass(this.settings.activeClass),this.$stage.children(":eq("+i.join("), :eq(")+")").addClass(this.settings.activeClass),this.settings.center&&(this.$stage.children("."+this.settings.centerClass).removeClass(this.settings.centerClass),this.$stage.children().eq(this.current()).addClass(this.settings.centerClass))}}],e.prototype.initialize=function(){if(this.trigger("initialize"),this.$element.addClass(this.settings.baseClass).addClass(this.settings.themeClass).toggleClass("owl-rtl",this.settings.rtl),this.browserSupport(),this.settings.autoWidth&&this.state.imagesLoaded!==!0){var b,c,e;if(b=this.$element.find("img"),c=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:d,e=this.$element.children(c).width(),b.length&&0>=e)return this.preloadAutoWidthImages(b),!1}this.$element.addClass("owl-loading"),this.$stage=a("<"+this.settings.stageElement+' class="owl-stage"/>').wrap('<div class="owl-stage-outer">'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this._width=this.$element.width(),this.refresh(),this.$element.removeClass("owl-loading").addClass("owl-loaded"),this.eventsCall(),this.internalEvents(),this.addTriggerableEvents(),this.trigger("initialized")},e.prototype.setup=function(){var b=this.viewport(),c=this.options.responsive,d=-1,e=null;c?(a.each(c,function(a){b>=a&&a>d&&(d=Number(a))}),e=a.extend({},this.options,c[d]),delete e.responsive,e.responsiveClass&&this.$element.attr("class",function(a,b){return b.replace(/\b owl-responsive-\S+/g,"")}).addClass("owl-responsive-"+d)):e=a.extend({},this.options),(null===this.settings||this._breakpoint!==d)&&(this.trigger("change",{property:{name:"settings",value:e}}),this._breakpoint=d,this.settings=e,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}}))},e.prototype.optionsLogic=function(){this.$element.toggleClass("owl-center",this.settings.center),this.settings.loop&&this._items.length<this.settings.items&&(this.settings.loop=!1),this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},e.prototype.prepare=function(b){var c=this.trigger("prepare",{content:b});return c.data||(c.data=a("<"+this.settings.itemElement+"/>").addClass(this.settings.itemClass).append(b)),this.trigger("prepared",{content:c.data}),c.data},e.prototype.update=function(){for(var b=0,c=this._pipe.length,d=a.proxy(function(a){return this[a]},this._invalidated),e={};c>b;)(this._invalidated.all||a.grep(this._pipe[b].filter,d).length>0)&&this._pipe[b].run(e),b++;this._invalidated={}},e.prototype.width=function(a){switch(a=a||e.Width.Default){case e.Width.Inner:case e.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},e.prototype.refresh=function(){if(0===this._items.length)return!1;(new Date).getTime();this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$stage.addClass("owl-refresh"),this.update(),this.$stage.removeClass("owl-refresh"),this.state.orientation=b.orientation,this.watchVisibility(),this.trigger("refreshed")},e.prototype.eventsCall=function(){this.e._onDragStart=a.proxy(function(a){this.onDragStart(a)},this),this.e._onDragMove=a.proxy(function(a){this.onDragMove(a)},this),this.e._onDragEnd=a.proxy(function(a){this.onDragEnd(a)},this),this.e._onResize=a.proxy(function(a){this.onResize(a)},this),this.e._transitionEnd=a.proxy(function(a){this.transitionEnd(a)},this),this.e._preventClick=a.proxy(function(a){this.preventClick(a)},this)},e.prototype.onThrottledResize=function(){b.clearTimeout(this.resizeTimer),this.resizeTimer=b.setTimeout(this.e._onResize,this.settings.responsiveRefreshRate)},e.prototype.onResize=function(){return this._items.length?this._width===this.$element.width()?!1:this.trigger("resize").isDefaultPrevented()?!1:(this._width=this.$element.width(),this.invalidate("width"),this.refresh(),void this.trigger("resized")):!1},e.prototype.eventsRouter=function(a){var b=a.type;"mousedown"===b||"touchstart"===b?this.onDragStart(a):"mousemove"===b||"touchmove"===b?this.onDragMove(a):"mouseup"===b||"touchend"===b?this.onDragEnd(a):"touchcancel"===b&&this.onDragEnd(a)},e.prototype.internalEvents=function(){var c=(k(),l());this.settings.mouseDrag?(this.$stage.on("mousedown",a.proxy(function(a){this.eventsRouter(a)},this)),this.$stage.on("dragstart",function(){return!1}),this.$stage.get(0).onselectstart=function(){return!1}):this.$element.addClass("owl-text-select-on"),this.settings.touchDrag&&!c&&this.$stage.on("touchstart touchcancel",a.proxy(function(a){this.eventsRouter(a)},this)),this.transitionEndVendor&&this.on(this.$stage.get(0),this.transitionEndVendor,this.e._transitionEnd,!1),this.settings.responsive!==!1&&this.on(b,"resize",a.proxy(this.onThrottledResize,this))},e.prototype.onDragStart=function(d){var e,g,h,i;if(e=d.originalEvent||d||b.event,3===e.which||this.state.isTouch)return!1;if("mousedown"===e.type&&this.$stage.addClass("owl-grab"),this.trigger("drag"),this.drag.startTime=(new Date).getTime(),this.speed(0),this.state.isTouch=!0,this.state.isScrolling=!1,this.state.isSwiping=!1,this.drag.distance=0,g=f(e).x,h=f(e).y,this.drag.offsetX=this.$stage.position().left,this.drag.offsetY=this.$stage.position().top,this.settings.rtl&&(this.drag.offsetX=this.$stage.position().left+this.$stage.width()-this.width()+this.settings.margin),this.state.inMotion&&this.support3d)i=this.getTransformProperty(),this.drag.offsetX=i,this.animate(i),this.state.inMotion=!0;else if(this.state.inMotion&&!this.support3d)return this.state.inMotion=!1,!1;this.drag.startX=g-this.drag.offsetX,this.drag.startY=h-this.drag.offsetY,this.drag.start=g-this.drag.startX,this.drag.targetEl=e.target||e.srcElement,this.drag.updatedX=this.drag.start,("IMG"===this.drag.targetEl.tagName||"A"===this.drag.targetEl.tagName)&&(this.drag.targetEl.draggable=!1),a(c).on("mousemove.owl.dragEvents mouseup.owl.dragEvents touchmove.owl.dragEvents touchend.owl.dragEvents",a.proxy(function(a){this.eventsRouter(a)},this))},e.prototype.onDragMove=function(a){var c,e,g,h,i,j;this.state.isTouch&&(this.state.isScrolling||(c=a.originalEvent||a||b.event,e=f(c).x,g=f(c).y,this.drag.currentX=e-this.drag.startX,this.drag.currentY=g-this.drag.startY,this.drag.distance=this.drag.currentX-this.drag.offsetX,this.drag.distance<0?this.state.direction=this.settings.rtl?"right":"left":this.drag.distance>0&&(this.state.direction=this.settings.rtl?"left":"right"),this.settings.loop?this.op(this.drag.currentX,">",this.coordinates(this.minimum()))&&"right"===this.state.direction?this.drag.currentX-=(this.settings.center&&this.coordinates(0))-this.coordinates(this._items.length):this.op(this.drag.currentX,"<",this.coordinates(this.maximum()))&&"left"===this.state.direction&&(this.drag.currentX+=(this.settings.center&&this.coordinates(0))-this.coordinates(this._items.length)):(h=this.coordinates(this.settings.rtl?this.maximum():this.minimum()),i=this.coordinates(this.settings.rtl?this.minimum():this.maximum()),j=this.settings.pullDrag?this.drag.distance/5:0,this.drag.currentX=Math.max(Math.min(this.drag.currentX,h+j),i+j)),(this.drag.distance>8||this.drag.distance<-8)&&(c.preventDefault!==d?c.preventDefault():c.returnValue=!1,this.state.isSwiping=!0),this.drag.updatedX=this.drag.currentX,(this.drag.currentY>16||this.drag.currentY<-16)&&this.state.isSwiping===!1&&(this.state.isScrolling=!0,this.drag.updatedX=this.drag.start),this.animate(this.drag.updatedX)))},e.prototype.onDragEnd=function(b){var d,e,f;if(this.state.isTouch){if("mouseup"===b.type&&this.$stage.removeClass("owl-grab"),this.trigger("dragged"),this.drag.targetEl.removeAttribute("draggable"),this.state.isTouch=!1,this.state.isScrolling=!1,this.state.isSwiping=!1,0===this.drag.distance&&this.state.inMotion!==!0)return this.state.inMotion=!1,!1;this.drag.endTime=(new Date).getTime(),d=this.drag.endTime-this.drag.startTime,e=Math.abs(this.drag.distance),(e>3||d>300)&&this.removeClick(this.drag.targetEl),f=this.closest(this.drag.updatedX),this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(f),this.invalidate("position"),this.update(),this.settings.pullDrag||this.drag.updatedX!==this.coordinates(f)||this.transitionEnd(),this.drag.distance=0,a(c).off(".owl.dragEvents")}},e.prototype.removeClick=function(c){this.drag.targetEl=c,a(c).on("click.preventClick",this.e._preventClick),b.setTimeout(function(){a(c).off("click.preventClick")},300)},e.prototype.preventClick=function(b){b.preventDefault?b.preventDefault():b.returnValue=!1,b.stopPropagation&&b.stopPropagation(),a(b.target).off("click.preventClick")},e.prototype.getTransformProperty=function(){var a,c;return a=b.getComputedStyle(this.$stage.get(0),null).getPropertyValue(this.vendorName+"transform"),a=a.replace(/matrix(3d)?\(|\)/g,"").split(","),c=16===a.length,c!==!0?a[4]:a[12]},e.prototype.closest=function(b){var c=-1,d=30,e=this.width(),f=this.coordinates();return this.settings.freeDrag||a.each(f,a.proxy(function(a,g){return b>g-d&&g+d>b?c=a:this.op(b,"<",g)&&this.op(b,">",f[a+1]||g-e)&&(c="left"===this.state.direction?a+1:a),-1===c},this)),this.settings.loop||(this.op(b,">",f[this.minimum()])?c=b=this.minimum():this.op(b,"<",f[this.maximum()])&&(c=b=this.maximum())),c},e.prototype.animate=function(b){this.trigger("translate"),this.state.inMotion=this.speed()>0,this.support3d?this.$stage.css({transform:"translate3d("+b+"px,0px, 0px)",transition:this.speed()/1e3+"s"}):this.state.isTouch?this.$stage.css({left:b+"px"}):this.$stage.animate({left:b},this.speed()/1e3,this.settings.fallbackEasing,a.proxy(function(){this.state.inMotion&&this.transitionEnd()},this))},e.prototype.current=function(a){if(a===d)return this._current;if(0===this._items.length)return d;if(a=this.normalize(a),this._current!==a){var b=this.trigger("change",{property:{name:"position",value:a}});b.data!==d&&(a=this.normalize(b.data)),this._current=a,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},e.prototype.invalidate=function(a){this._invalidated[a]=!0},e.prototype.reset=function(a){a=this.normalize(a),a!==d&&(this._speed=0,this._current=a,this.suppress(["translate","translated"]),this.animate(this.coordinates(a)),this.release(["translate","translated"]))},e.prototype.normalize=function(b,c){var e=c?this._items.length:this._items.length+this._clones.length;return!a.isNumeric(b)||1>e?d:b=this._clones.length?(b%e+e)%e:Math.max(this.minimum(c),Math.min(this.maximum(c),b))},e.prototype.relative=function(a){return a=this.normalize(a),a-=this._clones.length/2,this.normalize(a,!0)},e.prototype.maximum=function(a){var b,c,d,e=0,f=this.settings;if(a)return this._items.length-1;if(!f.loop&&f.center)b=this._items.length-1;else if(f.loop||f.center)if(f.loop||f.center)b=this._items.length+f.items;else{if(!f.autoWidth&&!f.merge)throw"Can not detect maximum absolute position.";for(revert=f.rtl?1:-1,c=this.$stage.width()-this.$element.width();(d=this.coordinates(e))&&!(d*revert>=c);)b=++e}else b=this._items.length-f.items;return b},e.prototype.minimum=function(a){return a?0:this._clones.length/2},e.prototype.items=function(a){return a===d?this._items.slice():(a=this.normalize(a,!0),this._items[a])},e.prototype.mergers=function(a){return a===d?this._mergers.slice():(a=this.normalize(a,!0),this._mergers[a])},e.prototype.clones=function(b){var c=this._clones.length/2,e=c+this._items.length,f=function(a){return a%2===0?e+a/2:c-(a+1)/2};return b===d?a.map(this._clones,function(a,b){return f(b)}):a.map(this._clones,function(a,c){return a===b?f(c):null})},e.prototype.speed=function(a){return a!==d&&(this._speed=a),this._speed},e.prototype.coordinates=function(b){var c=null;return b===d?a.map(this._coordinates,a.proxy(function(a,b){return this.coordinates(b)},this)):(this.settings.center?(c=this._coordinates[b],c+=(this.width()-c+(this._coordinates[b-1]||0))/2*(this.settings.rtl?-1:1)):c=this._coordinates[b-1]||0,c)},e.prototype.duration=function(a,b,c){return Math.min(Math.max(Math.abs(b-a),1),6)*Math.abs(c||this.settings.smartSpeed)},e.prototype.to=function(c,d){if(this.settings.loop){var e=c-this.relative(this.current()),f=this.current(),g=this.current(),h=this.current()+e,i=0>g-h?!0:!1,j=this._clones.length+this._items.length;h<this.settings.items&&i===!1?(f=g+this._items.length,this.reset(f)):h>=j-this.settings.items&&i===!0&&(f=g-this._items.length,this.reset(f)),b.clearTimeout(this.e._goToLoop),this.e._goToLoop=b.setTimeout(a.proxy(function(){this.speed(this.duration(this.current(),f+e,d)),this.current(f+e),this.update()},this),30)}else this.speed(this.duration(this.current(),c,d)),this.current(c),this.update()},e.prototype.next=function(a){a=a||!1,this.to(this.relative(this.current())+1,a)},e.prototype.prev=function(a){a=a||!1,this.to(this.relative(this.current())-1,a)},e.prototype.transitionEnd=function(a){return a!==d&&(a.stopPropagation(),(a.target||a.srcElement||a.originalTarget)!==this.$stage.get(0))?!1:(this.state.inMotion=!1,void this.trigger("translated"))},e.prototype.viewport=function(){var d;if(this.options.responsiveBaseElement!==b)d=a(this.options.responsiveBaseElement).width();else if(b.innerWidth)d=b.innerWidth;else{if(!c.documentElement||!c.documentElement.clientWidth)throw"Can not detect viewport width.";d=c.documentElement.clientWidth}return d},e.prototype.replace=function(b){this.$stage.empty(),this._items=[],b&&(b=b instanceof jQuery?b:a(b)),this.settings.nestedItemSelector&&(b=b.find("."+this.settings.nestedItemSelector)),b.filter(function(){return 1===this.nodeType}).each(a.proxy(function(a,b){b=this.prepare(b),this.$stage.append(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)},this)),this.reset(a.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},e.prototype.add=function(a,b){b=b===d?this._items.length:this.normalize(b,!0),this.trigger("add",{content:a,position:b}),0===this._items.length||b===this._items.length?(this.$stage.append(a),this._items.push(a),this._mergers.push(1*a.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)):(this._items[b].before(a),this._items.splice(b,0,a),this._mergers.splice(b,0,1*a.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)),this.invalidate("items"),this.trigger("added",{content:a,position:b})},e.prototype.remove=function(a){a=this.normalize(a,!0),a!==d&&(this.trigger("remove",{content:this._items[a],position:a}),this._items[a].remove(),this._items.splice(a,1),this._mergers.splice(a,1),this.invalidate("items"),this.trigger("removed",{content:null,position:a}))},e.prototype.addTriggerableEvents=function(){var b=a.proxy(function(b,c){return a.proxy(function(a){a.relatedTarget!==this&&(this.suppress([c]),b.apply(this,[].slice.call(arguments,1)),this.release([c]))},this)},this);a.each({next:this.next,prev:this.prev,to:this.to,destroy:this.destroy,refresh:this.refresh,replace:this.replace,add:this.add,remove:this.remove},a.proxy(function(a,c){this.$element.on(a+".owl.carousel",b(c,a+".owl.carousel"))},this))},e.prototype.watchVisibility=function(){function c(a){return a.offsetWidth>0&&a.offsetHeight>0}function d(){c(this.$element.get(0))&&(this.$element.removeClass("owl-hidden"),this.refresh(),b.clearInterval(this.e._checkVisibile))}c(this.$element.get(0))||(this.$element.addClass("owl-hidden"),b.clearInterval(this.e._checkVisibile),this.e._checkVisibile=b.setInterval(a.proxy(d,this),500))},e.prototype.preloadAutoWidthImages=function(b){var c,d,e,f;c=0,d=this,b.each(function(g,h){e=a(h),f=new Image,f.onload=function(){c++,e.attr("src",f.src),e.css("opacity",1),c>=b.length&&(d.state.imagesLoaded=!0,d.initialize())},f.src=e.attr("src")||e.attr("data-src")||e.attr("data-src-retina")})},e.prototype.destroy=function(){this.$element.hasClass(this.settings.themeClass)&&this.$element.removeClass(this.settings.themeClass),this.settings.responsive!==!1&&a(b).off("resize.owl.carousel"),this.transitionEndVendor&&this.off(this.$stage.get(0),this.transitionEndVendor,this.e._transitionEnd);for(var d in this._plugins)this._plugins[d].destroy();(this.settings.mouseDrag||this.settings.touchDrag)&&(this.$stage.off("mousedown touchstart touchcancel"),a(c).off(".owl.dragEvents"),this.$stage.get(0).onselectstart=function(){},this.$stage.off("dragstart",function(){return!1})),this.$element.off(".owl"),this.$stage.children(".cloned").remove(),this.e=null,this.$element.removeData("owlCarousel"),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.unwrap()},e.prototype.op=function(a,b,c){var d=this.settings.rtl;switch(b){case"<":return d?a>c:c>a;case">":return d?c>a:a>c;case">=":return d?c>=a:a>=c;case"<=":return d?a>=c:c>=a}},e.prototype.on=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent("on"+b,c)},e.prototype.off=function(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,d):a.detachEvent&&a.detachEvent("on"+b,c)},e.prototype.trigger=function(b,c,d){var e={item:{count:this._items.length,index:this.current()}},f=a.camelCase(a.grep(["on",b,d],function(a){return a}).join("-").toLowerCase()),g=a.Event([b,"owl",d||"carousel"].join(".").toLowerCase(),a.extend({relatedTarget:this},e,c));return this._supress[b]||(a.each(this._plugins,function(a,b){b.onTrigger&&b.onTrigger(g)}),this.$element.trigger(g),this.settings&&"function"==typeof this.settings[f]&&this.settings[f].apply(this,g)),g},e.prototype.suppress=function(b){a.each(b,a.proxy(function(a,b){this._supress[b]=!0},this))},e.prototype.release=function(b){a.each(b,a.proxy(function(a,b){delete this._supress[b]},this))},e.prototype.browserSupport=function(){if(this.support3d=j(),this.support3d){this.transformVendor=i();var a=["transitionend","webkitTransitionEnd","transitionend","oTransitionEnd"];this.transitionEndVendor=a[h()],this.vendorName=this.transformVendor.replace(/Transform/i,""),this.vendorName=""!==this.vendorName?"-"+this.vendorName.toLowerCase()+"-":""}this.state.orientation=b.orientation},a.fn.owlCarousel=function(b){return this.each(function(){a(this).data("owlCarousel")||a(this).data("owlCarousel",new e(this,b))})},a.fn.owlCarousel.Constructor=e}(window.Zepto||window.jQuery,window,document),function(a,b){var c=function(b){this._core=b,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel":a.proxy(function(b){if(b.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(b.property&&"position"==b.property.name||"initialized"==b.type))for(var c=this._core.settings,d=c.center&&Math.ceil(c.items/2)||c.items,e=c.center&&-1*d||0,f=(b.property&&b.property.value||this._core.current())+e,g=this._core.clones().length,h=a.proxy(function(a,b){this.load(b)},this);e++<d;)this.load(g/2+this._core.relative(f)),g&&a.each(this._core.clones(this._core.relative(f++)),h)},this)},this._core.options=a.extend({},c.Defaults,this._core.options),this._core.$element.on(this._handlers)};c.Defaults={lazyLoad:!1},c.prototype.load=function(c){var d=this._core.$stage.children().eq(c),e=d&&d.find(".owl-lazy");!e||a.inArray(d.get(0),this._loaded)>-1||(e.each(a.proxy(function(c,d){var e,f=a(d),g=b.devicePixelRatio>1&&f.attr("data-src-retina")||f.attr("data-src");this._core.trigger("load",{element:f,url:g},"lazy"),f.is("img")?f.one("load.owl.lazy",a.proxy(function(){f.css("opacity",1),this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("src",g):(e=new Image,e.onload=a.proxy(function(){f.css({"background-image":"url("+g+")",opacity:"1"}),this._core.trigger("loaded",{element:f,url:g},"lazy")},this),e.src=g)},this)),this._loaded.push(d.get(0)))},c.prototype.destroy=function(){var a,b;for(a in this.handlers)this._core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=c}(window.Zepto||window.jQuery,window,document),function(a){var b=function(c){this._core=c,this._handlers={"initialized.owl.carousel":a.proxy(function(){this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":a.proxy(function(a){this._core.settings.autoHeight&&"position"==a.property.name&&this.update()},this),"loaded.owl.lazy":a.proxy(function(a){this._core.settings.autoHeight&&a.element.closest("."+this._core.settings.itemClass)===this._core.$stage.children().eq(this._core.current())&&this.update()},this)},this._core.options=a.extend({},b.Defaults,this._core.options),this._core.$element.on(this._handlers)};b.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},b.prototype.update=function(){this._core.$stage.parent().height(this._core.$stage.children().eq(this._core.current()).height()).addClass(this._core.settings.autoHeightClass)},b.prototype.destroy=function(){var a,b;for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoHeight=b}(window.Zepto||window.jQuery,window,document),function(a,b,c){var d=function(b){this._core=b,this._videos={},this._playing=null,this._fullscreen=!1,this._handlers={"resize.owl.carousel":a.proxy(function(a){this._core.settings.video&&!this.isInFullScreen()&&a.preventDefault()},this),"refresh.owl.carousel changed.owl.carousel":a.proxy(function(){this._playing&&this.stop()},this),"prepared.owl.carousel":a.proxy(function(b){var c=a(b.content).find(".owl-video");c.length&&(c.css("display","none"),this.fetch(c,a(b.content)))},this)},this._core.options=a.extend({},d.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",a.proxy(function(a){this.play(a)},this))};d.Defaults={video:!1,videoHeight:!1,videoWidth:!1},d.prototype.fetch=function(a,b){var c=a.attr("data-vimeo-id")?"vimeo":"youtube",d=a.attr("data-vimeo-id")||a.attr("data-youtube-id"),e=a.attr("data-width")||this._core.settings.videoWidth,f=a.attr("data-height")||this._core.settings.videoHeight,g=a.attr("href");if(!g)throw new Error("Missing video URL.");if(d=g.match(/(http:|https:|)\/\/(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),d[3].indexOf("youtu")>-1)c="youtube";else{if(!(d[3].indexOf("vimeo")>-1))throw new Error("Video URL not supported.");c="vimeo"}d=d[6],this._videos[g]={type:c,id:d,width:e,height:f},b.attr("data-video",g),this.thumbnail(a,this._videos[g])},d.prototype.thumbnail=function(b,c){var d,e,f,g=c.width&&c.height?'style="width:'+c.width+"px;height:"+c.height+'px;"':"",h=b.find("img"),i="src",j="",k=this._core.settings,l=function(a){e='<div class="owl-video-play-icon"></div>',d=k.lazyLoad?'<div class="owl-video-tn '+j+'" '+i+'="'+a+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+a+')"></div>',b.after(d),b.after(e)};return b.wrap('<div class="owl-video-wrapper"'+g+"></div>"),this._core.settings.lazyLoad&&(i="data-src",j="owl-lazy"),h.length?(l(h.attr(i)),h.remove(),!1):void("youtube"===c.type?(f="http://img.youtube.com/vi/"+c.id+"/hqdefault.jpg",l(f)):"vimeo"===c.type&&a.ajax({type:"GET",url:"http://vimeo.com/api/v2/video/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a[0].thumbnail_large,l(f)}}))},d.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null},d.prototype.play=function(b){this._core.trigger("play",null,"video"),this._playing&&this.stop();var c,d,e=a(b.target||b.srcElement),f=e.closest("."+this._core.settings.itemClass),g=this._videos[f.attr("data-video")],h=g.width||"100%",i=g.height||this._core.$stage.height();"youtube"===g.type?c='<iframe width="'+h+'" height="'+i+'" src="http://www.youtube.com/embed/'+g.id+"?autoplay=1&v="+g.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===g.type&&(c='<iframe src="http://player.vimeo.com/video/'+g.id+'?autoplay=1" width="'+h+'" height="'+i+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>'),f.addClass("owl-video-playing"),this._playing=f,d=a('<div style="height:'+i+"px; width:"+h+'px" class="owl-video-frame">'+c+"</div>"),e.after(d)},d.prototype.isInFullScreen=function(){var d=c.fullscreenElement||c.mozFullScreenElement||c.webkitFullscreenElement;return d&&a(d).parent().hasClass("owl-video-frame")&&(this._core.speed(0),this._fullscreen=!0),d&&this._fullscreen&&this._playing?!1:this._fullscreen?(this._fullscreen=!1,!1):this._playing&&this._core.state.orientation!==b.orientation?(this._core.state.orientation=b.orientation,!1):!0},d.prototype.destroy=function(){var a,b;this._core.$element.off("click.owl.video");for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Video=d}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this.core=b,this.core.options=a.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=d,this.next=d,this.handlers={"change.owl.carousel":a.proxy(function(a){"position"==a.property.name&&(this.previous=this.core.current(),this.next=a.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":a.proxy(function(a){this.swapping="translated"==a.type},this),"translate.owl.carousel":a.proxy(function(){this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){if(1===this.core.settings.items&&this.core.support3d){this.core.speed(0);var b,c=a.proxy(this.clear,this),d=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),f=this.core.settings.animateIn,g=this.core.settings.animateOut;this.core.current()!==this.previous&&(g&&(b=this.core.coordinates(this.previous)-this.core.coordinates(this.next),d.css({left:b+"px"}).addClass("animated owl-animated-out").addClass(g).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",c)),f&&e.addClass("animated owl-animated-in").addClass(f).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",c))}},e.prototype.clear=function(b){a(b.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.transitionEnd()},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,window,document),function(a,b,c){var d=function(b){this.core=b,this.core.options=a.extend({},d.Defaults,this.core.options),this.handlers={"translated.owl.carousel refreshed.owl.carousel":a.proxy(function(){this.autoplay()
},this),"play.owl.autoplay":a.proxy(function(a,b,c){this.play(b,c)},this),"stop.owl.autoplay":a.proxy(function(){this.stop()},this),"mouseover.owl.autoplay":a.proxy(function(){this.core.settings.autoplayHoverPause&&this.pause()},this),"mouseleave.owl.autoplay":a.proxy(function(){this.core.settings.autoplayHoverPause&&this.autoplay()},this)},this.core.$element.on(this.handlers)};d.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},d.prototype.autoplay=function(){this.core.settings.autoplay&&!this.core.state.videoPlay?(b.clearInterval(this.interval),this.interval=b.setInterval(a.proxy(function(){this.play()},this),this.core.settings.autoplayTimeout)):b.clearInterval(this.interval)},d.prototype.play=function(){return c.hidden===!0||this.core.state.isTouch||this.core.state.isScrolling||this.core.state.isSwiping||this.core.state.inMotion?void 0:this.core.settings.autoplay===!1?void b.clearInterval(this.interval):void this.core.next(this.core.settings.autoplaySpeed)},d.prototype.stop=function(){b.clearInterval(this.interval)},d.prototype.pause=function(){b.clearInterval(this.interval)},d.prototype.destroy=function(){var a,c;b.clearInterval(this.interval);for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},a.fn.owlCarousel.Constructor.Plugins.autoplay=d}(window.Zepto||window.jQuery,window,document),function(a){"use strict";var b=function(c){this._core=c,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":a.proxy(function(b){this._core.settings.dotsData&&this._templates.push(a(b.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot"))},this),"add.owl.carousel":a.proxy(function(b){this._core.settings.dotsData&&this._templates.splice(b.position,0,a(b.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot"))},this),"remove.owl.carousel prepared.owl.carousel":a.proxy(function(a){this._core.settings.dotsData&&this._templates.splice(a.position,1)},this),"change.owl.carousel":a.proxy(function(a){if("position"==a.property.name&&!this._core.state.revert&&!this._core.settings.loop&&this._core.settings.navRewind){var b=this._core.current(),c=this._core.maximum(),d=this._core.minimum();a.data=a.property.value>c?b>=c?d:c:a.property.value<d?c:a.property.value}},this),"changed.owl.carousel":a.proxy(function(a){"position"==a.property.name&&this.draw()},this),"refreshed.owl.carousel":a.proxy(function(){this._initialized||(this.initialize(),this._initialized=!0),this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation")},this)},this._core.options=a.extend({},b.Defaults,this._core.options),this.$element.on(this._handlers)};b.Defaults={nav:!1,navRewind:!0,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotData:!1,dotsSpeed:!1,dotsContainer:!1,controlsClass:"owl-controls"},b.prototype.initialize=function(){var b,c,d=this._core.settings;d.dotsData||(this._templates=[a("<div>").addClass(d.dotClass).append(a("<span>")).prop("outerHTML")]),d.navContainer&&d.dotsContainer||(this._controls.$container=a("<div>").addClass(d.controlsClass).appendTo(this.$element)),this._controls.$indicators=d.dotsContainer?a(d.dotsContainer):a("<div>").hide().addClass(d.dotsClass).appendTo(this._controls.$container),this._controls.$indicators.on("click","div",a.proxy(function(b){var c=a(b.target).parent().is(this._controls.$indicators)?a(b.target).index():a(b.target).parent().index();b.preventDefault(),this.to(c,d.dotsSpeed)},this)),b=d.navContainer?a(d.navContainer):a("<div>").addClass(d.navContainerClass).prependTo(this._controls.$container),this._controls.$next=a("<"+d.navElement+">"),this._controls.$previous=this._controls.$next.clone(),this._controls.$previous.addClass(d.navClass[0]).html(d.navText[0]).hide().prependTo(b).on("click",a.proxy(function(){this.prev(d.navSpeed)},this)),this._controls.$next.addClass(d.navClass[1]).html(d.navText[1]).hide().appendTo(b).on("click",a.proxy(function(){this.next(d.navSpeed)},this));for(c in this._overrides)this._core[c]=a.proxy(this[c],this)},b.prototype.destroy=function(){var a,b,c,d;for(a in this._handlers)this.$element.off(a,this._handlers[a]);for(b in this._controls)this._controls[b].remove();for(d in this.overides)this._core[d]=this._overrides[d];for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},b.prototype.update=function(){var a,b,c,d=this._core.settings,e=this._core.clones().length/2,f=e+this._core.items().length,g=d.center||d.autoWidth||d.dotData?1:d.dotsEach||d.items;if("page"!==d.slideBy&&(d.slideBy=Math.min(d.slideBy,d.items)),d.dots||"page"==d.slideBy)for(this._pages=[],a=e,b=0,c=0;f>a;a++)(b>=g||0===b)&&(this._pages.push({start:a-e,end:a-e+g-1}),b=0,++c),b+=this._core.mergers(this._core.relative(a))},b.prototype.draw=function(){var b,c,d="",e=this._core.settings,f=(this._core.$stage.children(),this._core.relative(this._core.current()));if(!e.nav||e.loop||e.navRewind||(this._controls.$previous.toggleClass("disabled",0>=f),this._controls.$next.toggleClass("disabled",f>=this._core.maximum())),this._controls.$previous.toggle(e.nav),this._controls.$next.toggle(e.nav),e.dots){if(b=this._pages.length-this._controls.$indicators.children().length,e.dotData&&0!==b){for(c=0;c<this._controls.$indicators.children().length;c++)d+=this._templates[this._core.relative(c)];this._controls.$indicators.html(d)}else b>0?(d=new Array(b+1).join(this._templates[0]),this._controls.$indicators.append(d)):0>b&&this._controls.$indicators.children().slice(b).remove();this._controls.$indicators.find(".active").removeClass("active"),this._controls.$indicators.children().eq(a.inArray(this.current(),this._pages)).addClass("active")}this._controls.$indicators.toggle(e.dots)},b.prototype.onTrigger=function(b){var c=this._core.settings;b.page={index:a.inArray(this.current(),this._pages),count:this._pages.length,size:c&&(c.center||c.autoWidth||c.dotData?1:c.dotsEach||c.items)}},b.prototype.current=function(){var b=this._core.relative(this._core.current());return a.grep(this._pages,function(a){return a.start<=b&&a.end>=b}).pop()},b.prototype.getPosition=function(b){var c,d,e=this._core.settings;return"page"==e.slideBy?(c=a.inArray(this.current(),this._pages),d=this._pages.length,b?++c:--c,c=this._pages[(c%d+d)%d].start):(c=this._core.relative(this._core.current()),d=this._core.items().length,b?c+=e.slideBy:c-=e.slideBy),c},b.prototype.next=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!0),b)},b.prototype.prev=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!1),b)},b.prototype.to=function(b,c,d){var e;d?a.proxy(this._overrides.to,this._core)(b,c):(e=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(b%e+e)%e].start,c))},a.fn.owlCarousel.Constructor.Plugins.Navigation=b}(window.Zepto||window.jQuery,window,document),function(a,b){"use strict";var c=function(d){this._core=d,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":a.proxy(function(){"URLHash"==this._core.settings.startPosition&&a(b).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":a.proxy(function(b){var c=a(b.content).find("[data-hash]").andSelf("[data-hash]").attr("data-hash");this._hashes[c]=b.content},this)},this._core.options=a.extend({},c.Defaults,this._core.options),this.$element.on(this._handlers),a(b).on("hashchange.owl.navigation",a.proxy(function(){var a=b.location.hash.substring(1),c=this._core.$stage.children(),d=this._hashes[a]&&c.index(this._hashes[a])||0;return a?void this._core.to(d,!1,!0):!1},this))};c.Defaults={URLhashListener:!1},c.prototype.destroy=function(){var c,d;a(b).off("hashchange.owl.navigation");for(c in this._handlers)this._core.$element.off(c,this._handlers[c]);for(d in Object.getOwnPropertyNames(this))"function"!=typeof this[d]&&(this[d]=null)},a.fn.owlCarousel.Constructor.Plugins.Hash=c}(window.Zepto||window.jQuery,window,document);
}catch(e){console.log("Module 'owl_carousel': ",e);}
try{(function(){
    i$.merge({
	"Rating_Distribution":"توزيع التقييم",
	"text_info_changes_lost":"سيتم فقد كل التغييرات التي تمت بعلامات التبويب المختلفة.",
	"text_error_tags_too_long":"فشل في اضافة شارات التعليم بسبب عدم وجود تصاريح كافية أو شارات التعليم طويلة جدا.",
	"title_taggingError_message":"خطأ - تحقق من شاشة التحكم الرئيسية",
	"title_hide_tags":"اخفاء شارات التعليم",
	"star":"نجمة",
	"text_invalid_tag_name":"اسم شارة تعليم غير صحيح",
	"title_community_rating_distribution":"توزيع التقييم العام",
	"text_error_tags_rejected":"حدث فشل في التصرفات الخاصة بك: تم رفض ${0} شارة تعليم بواسطة وحدة الخدمة، وذلك بسبب قاعدة مرشح البيانات أو لعدم توافر التصاريح الكافية أو لوجود حروف غير صحيحة.",
	"title_locale_picker":"اللغة التي سيتم حفظ الادخالات الخاصة بك بها:",
	"title_switch_to_pub_view":"انتقل الى المشاهدة العامة",
	"text_success_changes_stored_successfully":"التصرفات التي قمت بها كانت صحيحة:",
	"button_public":"عام",
	"title_open_ratings_widget":"اضغط لاضافة تقييمات",
	"text_info_length_of_tag_invalid":"طول أحد شارات التعليم التي تم ادخالها اما كبير جدا أو قصير جدا.",
	"title_switch_to_priv_view":"انتقل الى المشاهدة الخاصة",
	"title_submit_tags":"احالة شارات التعليم",
	"title_delete":"حذف \"${0}\"",
	"title_view_tags":"مشاهدة شارات التعليم",
	"ratingDescription_rating":"التقييم",
	"text_add_tags":"اضافة شارة (شارات) التعليم التالية:",
	"title_click_to_add_ratings":"اضغط لاضافة تقييمات.",
	"text_error_ratings_renderMode_wsrp":"برجاء ملاحظة أن خاصية التقييم غير مدعمة بالكامل في سيناريوهات WSRP. برجاء الاتصال بمسؤول النظام للحصول على مساعدة.",
	"text_community_tags_for_this_resource":"شارات التعليم العامة لهذا المصدر:",
	"deleteRating":"حذف",
	"title_ratingError_message":"خطأ - تحقق من شاشة التحكم الرئيسية",
	"title_community_tags":"شارات التعليم: ",
	"text_error_tags_renderMode_wsrp":"برجاء ملاحظة أن خاصية التعليم بشارة غير مدعمة بالكامل في سيناريوهات WSRP. برجاء الاتصال بمسؤول النظام للحصول على مساعدة.",
	"text_no_tags":"بدون شارات تعليم",
	"title_rating_distribution":"تم التقييم ${0} مرة (مرات) بعدد ${1} نجمة (نجوم)",
	"text_rating_saved":"تم حفظ التقييم.",
	"title_all_rating":"كل التقييمات",
	"title_delete_all_tags_of_name":"حذف كل شارات التعليم المخصصة لهذا المصدر بالاسم \"${0}\"",
	"Menu_public_tagging":"شارات التعليم العامة الخاصة بي",
	"text_all_ratings_deleted":"تم حذف كل التقييمات بنجاح.",
	"title_not_set":"لم يتم تحديد أي تقييم على الاطلاق.",
	"rating_menu":"قائمة التقييم",
	"title_info":"معلومات",
	"title_hide_ratings":"اخفاء التقييم",
	"text_loading":"‏تحميل...‏",
	"title_your_rating":"التقييم العام الخاص بي:",
	"text_all_tags_deleted":"تم حذف شارات التعليم العامة المحددة بنجاح.",
	"add_tagging":"اضافة شارة تعليم",
	"text_rating_deleted":"تم حذف التقييم.",
	"text_tags_deleted":"قمت بحذف ${0} شارة/شارات تعليم ",
	"link_done":"‏اغلاق",
	"title_done_with_tagging":"اتمام وضع شارات التعليم (سيتم فقد التغييرات التي لم يتم حفظها)",
	"text_your_rating_for_this_resource":"تقييمك لهذا المصدر:",
	"text_no_tags_on_this_resource":"ليست هناك شارات تعليم مخصصة لهذا المصدر.",
	"text_tag":"شارة \"${0}\"",
	"Menu_privateRating":"التقييم الخاص بي",
	"tagging_menu":"تعليم القائمة بشارة",
	"title_delete_ratings_for_this_resource":"حذف كل التقييمات العامة المخصصة لهذا المصدر",
	"Ratings":"التقييمات",
	"title_open_tags_widget":"اضافة شارات التعليم",
	"ratingDescription_ratings":"التقييمات",
	"text_stars_count":"${0} نجمة (نجوم)",
	"link_delete":"حذف",
	"title_done_with_rating":"اتمام التقييم (سيتم فقد التغييرات التي لم يتم حفظها)",
	"title_confirmation":"‏تأكيد‏",
	"title_pub_tags":"شارات التعليم العامة الخاصة بي: ",
	"title_error_message":"‏رسالة خطأ‏",
	"title_priv_rating":"التقييم الخاص بي:",
	"text_community_rating_for_this_resource":"التقييم العام لهذا المصدر:",
	"title_view_ratings":"مشاهدة التقييم",
	"title_priv_tags":"شارات التعليم الخاصة الخاصة بي: ",
	"title_more_tags":"‏المزيد...‏",
	"Menu_tagging":"شارات التعليم",
	"text_tags_saved":"قمت بتكوين ${0} شارة/شارات تعليم ",
	"title_delete_rating":"حذف تقييم",
	"title_your_tags":"شارات التعليم الخاصة بك",
	"button_save":"حفظ",
	"title_pub_rating":"التقييم:",
	"title_input_tag_names":"مجال ادخال أسماء شارات التعليم",
	"button_private":"خاص",
	"Rating":"التقييم",
	"title_close_widget":"اغلاق عنصر واجهة التعامل",
	"title_all_tags":"كل شارات التعليم",
	"text_you_have_no_tags_on_this_resource":"ليست لديك شارات تعليم مخصصة لهذا المصدر.",
	"text_error_tags_invalid":"فشل في اضافة شارات التعليم بسبب وجود حروف غير صحيحة",
	"title_switch_to_community_view":"انتقل الى المشاهدة العامة",
	"title_rating_percentage":"التقييم: ${0} من ${1}.",
	"text_rate":"المعدل \"${0}\"",
	"Menu_rating":"‏التقييم",
	"text_info_max_number_of_private_tags_reached":"لقد تم الوصول الى الحد الأقصى لعدد شارات التعليم الخاصة المسموح بها للمستخدم الواحد (${0}  شارة تعليم).",
	"title_submit_rating":"احالة التقييم",
	"text_your_tags_for_this_resource":"شارات التعليم الخاصة بك لهذا المصدر:",
	"ratingDescription_from":"من",
	"title_community_rating":"التقييم العام",
	"text_info_max_number_of_community_tags_reached":"تم الوصول الى الحد الأقصى لعدد شارات التعليم المسموح به (يحدد بواسطة مسؤول النظام).",
	"Menu_private_tagging":"شارات التعليم الخاصة الخاصة بي",
	"Menu_myRating":"التقييم العام الخاص بي\t",
	"text_error_tag_already_assigned":"لقد قمت بتخصيص واحدة أو أكثر من شارات التعليم التي تم ادخالها لهذا المصدر.",
	"text_info_max_number_of_public_tags_reached":"لقد وصلت الى الحد الأقصى لعدد شارات التعليم العامة المسموح بها للمستخدم الواحد (${0}  شارة تعليم)."
},i$.fromPath("dojoless_resource_AddTag",true));
})();
}catch(e){console.log("Module 'wp_tagging_rating_light': ",e);}
try{/** Licensed Materials - Property of IBM, 5724-U69, (C) Copyright IBM Corp. 2009, 2010 - All Rights reserved.  **/
var com_ibm_widgets_resolver=(function(){var _1="tagginglighterrorDiv_";var _2="tagginglighterrordivider_";var _3="tagginglighterrorlabel_";var _4="ratinglighterrorDiv_";var _5="ratinglighterrordivider_";var _6="ratinglighterrorlabel_";var _7="ratinglightmenulink_";var _8="tagginglightmenulink_";var _9="tagginglightAddTaglink_";var _a="tagginglightinputField_";var _b="errorMessagedividerShow";var _c="errorMessageStyleShow";var _d="errorMessagedivider";var _e="errorMessageStyle";var _f=function(_10,_11){if(typeof ibmCfg!="undefined"&&typeof ibmCfg.enablerConfig!="undefined"&&typeof ibmCfg.enablerConfig.isDebug!="undefined"&&typeof ibmCfg.enablerConfig.traceConfig!="undefined"){var _12=ibmCfg.enablerConfig.traceConfig;var _13=new RegExp(i$.isArray(_12)?_12.join("|"):_12);if(_13&&_13.test("com.ibm.widgets.TaggingAndRatingLight")){var msg="";var _14="";if(_11||(_11===0)||(_11===null)||(_11==="")){if(!i$.isArray(_11)){_14=_11;}else{if(_11&&_11.length>0){for(var arg in _11){if(_14===""){_14=_14+_11[arg];}else{_14=_14+", "+_11[arg];}}}}msg=msg+"Params [ "+_14+" ]";}console.log("com.ibm.widgets.TaggingAndRatingLight"+" "+_10+" "+msg);}}};var _15=function(_16,_17){var _18=i$.byId(_4+_16);var _19=i$.byId(_5+_16);var _1a=i$.byId(_6+_16);if(_1a!=null){_1a.innerHTML=_17.data.message;}if(_18!=null){_18.setAttribute("class",_c);}if(_19!=null){_19.setAttribute("class",_b);}};var _1b=function(_1c){var _1d=i$.byId(_4+_1c);var _1e=i$.byId(_5+_1c);if(_1d!=null){_1d.setAttribute("class",_e);}if(_1e!=null){_1e.setAttribute("class",_d);}};var _1f=function(_20){var _21=i$.byId(_4+_20);if(_21!=null&&_21.getElementsByTagName("img")!=null){var _22=_21.getElementsByTagName("img")[0];if(_22!=null){_22.setAttribute("alt",dojoless_resource_AddTag.title_ratingError_message);_22.setAttribute("title",dojoless_resource_AddTag.title_ratingError_message);}}var _23=i$.byId(_7+_20);if(_23!=null&&_23.getElementsByTagName("img")!=null){var _24=_23.getElementsByTagName("img")[0];if(_24!=null){_24.setAttribute("alt",dojoless_resource_AddTag.rating_menu);_24.setAttribute("title",dojoless_resource_AddTag.rating_menu);}}};var _25=function(_26){var _27=i$.byId(_1+_26);if(_27!=null&&_27.getElementsByTagName("img")!=null){var _28=_27.getElementsByTagName("img")[0];if(_28!=null){_28.setAttribute("alt",dojoless_resource_AddTag.title_title_taggingError_message);_28.setAttribute("title",dojoless_resource_AddTag.title_title_taggingError_message);}}var _29=i$.byId(_8+_26);if(_29!=null&&_29.getElementsByTagName("img")!=null){var _2a=_29.getElementsByTagName("img")[0];if(_2a!=null){_2a.setAttribute("alt",dojoless_resource_AddTag.tagging_menu);_2a.setAttribute("title",dojoless_resource_AddTag.tagging_menu);}}var _2b=i$.byId(_9+_26);if(_2b!=null&&_2b.getElementsByTagName("img")!=null){var _2c=_2b.getElementsByTagName("img")[0];if(_2c!=null){_2c.setAttribute("alt",dojoless_resource_AddTag.add_tagging);_2c.setAttribute("title",dojoless_resource_AddTag.add_tagging);}}var _2d=i$.byId(_a+_26);if(_2d!=null){_2d.setAttribute("alt",dojoless_resource_AddTag.add_tagging);_2d.setAttribute("title",dojoless_resource_AddTag.add_tagging);}};var _2e=function(_2f,_30){var _31={uri:"tm:ts:empty",rmparam:"rm:"+_2f.oid,"mime-type":"application/json"};if(_2f.query==null){_2f.query={scope:"ALL","max-results":"5","start-index":"0",orderMetric:"TAG_SPACE_COUNT_REVERSE_NAME",order:"DESC"};}_32(_31,_2f,_30);};var _33=function(_34,_35){var _36={uri:"rtm:rs:empty",rmparam:"rm:"+_34.oid,"mime-type":"application/json"};if(_34.query==null){_34.query={scope:"ALL"};}_32(_36,_34,_35);};var _32=function(_37,_38,_39){var _3a=ibmPortalConfig.contentHandlerURI;if(_3a!=null){if(_3a.indexOf("?")>0){_3a+="&";}else{_3a+="?";}}_3a+=i$.toQuery(_37)+"&"+i$.toQuery(_38.query)+"&"+Math.random();i$.xhrGet({url:_3a,headers:{"X-IBM-XHR":"true"},responseType:"text"}).then(function(_3b){if(_3b.data===""){}else{var _3c=i$.fromJson(_3b.data);var _3d=_3c["entry"];}var _3e;if(_37.uri=="tm:ts:empty"){var _3f=0;if(_3d!==undefined){_3f=_3d.length;}var _3e=new Array(_3f);for(var i=0;i<_3f;i++){_3e[i]={name:_3d[i]["title"]["$t"],count:_3d[i]["link"][0]["count"],id:_3d[i]["id"]};}}else{if(_3d===undefined){_3e=null;}else{numberOfRatings=_3d.length;var _3e=new Array(numberOfRatings);for(var i=0;i<numberOfRatings;i++){_3e[i]={name:_3d[i]["title"]["$t"],count:_3d[i]["link"][0]["count"]};}}}_39(_3e,_38);},function(_40){console.error("Error case: ",_40);if(_40!=null&&_40.xhr!=null&&_40.xhr.status!=null&&_40.xhr.status==401){window.setTimeout(function(){document.location.reload();},0);}else{if(_37.uri=="tm:ts:empty"){_41(_38.oid,_40);}if(_37.uri=="rtm:rs:empty"){_15(_38.oid,_40);}}});};var _41=function(_42,_43){var _44=i$.byId(_1+_42);var _45=i$.byId(_2+_42);var _46=i$.byId(_3+_42);if(_46!=null){_46.innerHTML=_43.data.message;}if(_44!=null){_44.setAttribute("class",_c);}if(_45!=null){_45.style.display="inline-block";}};var _47=function(_48,_49){var _4a=i$.byId(_1+_48);var _4b=i$.byId(_2+_48);var _4c=i$.byId(_3+_48);if(_4c!=null){_4c.innerHTML=_49;}if(_4a!=null){_4a.setAttribute("class",_c);}if(_4b!=null){_4b.style.display="inline-block";}};var _4d=function(_4e){var _4f=i$.byId(_1+_4e);var _50=i$.byId(_2+_4e);if(_4f!=null){_4f.setAttribute("class",_e);}if(_50!=null){_50.style.display="none";}};var _51=function(){this.template="";this.template+="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";this.template+="<atom:feed xmlns:atom=\"http://www.w3.org/2005/Atom\" xmlns:xml=\"http://www.w3.org/XML/1998/namespace\" xmlns:ext=\"http://www.ibm.com/xmlns/prod/websphere/portal/v6.0.1/portal-model\" xmlns:creationcontext=\"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1.0/portal-creation-context\">\n";this.template+="<atom:author>\n";this.template+="<atom:name>IBM WebSphere Portal/8.0</atom:name>\n";this.template+="</atom:author>\n";this.template+="<atom:title>WebSphere Portal Server TagSpace Feed</atom:title>\n";this.template+="<atom:link href=\".\" rel=\"self\" type=\"application/atom+xml\"/>\n";this.template+="<atom:entry creationcontext:private=\"${isPrivate}\">\n";this.template+="<atom:title xml:lang=\"${locale}\">${tagname}</atom:title>\n";this.template+="<atom:id>tm:cid:${id}</atom:id>\n";this.template+="<atom:link ext:uri=\"rm:${resourceURI}\" rel=\"replies\" href=\"example.org\"/>\n";this.template+="${category}";this.template+="</atom:entry>\n";this.template+="</atom:feed>\n";this.getRequest=function(tag){if(tag.isPrivate==null){var _52=false;}else{var _52=tag.isPrivate;}if(tag.locale==null){var _53="en";}else{var _53=tag.locale;}if(tag.id==null){var id="0";}else{var id=tag.id;}if(tag.category==null){var _54="";}else{var _54="<atom:category term=\""+tag.category+"\"/>\n";}var _55=this.template;_55=_55.replace("${tagname}",tag.name);_55=_55.replace("${resourceURI}",tag.oid);_55=_55.replace("${isPrivate}",_52);_55=_55.replace("${locale}",_53);_55=_55.replace("${id}",id);_55=_55.replace("${category}",_54);return _55;};};var _56=new _51();var Tag=function(_57,oid){this.name=_57;this.oid=oid;this.isPrivate=false;this.locale="en";this.id=115;this.category="books";this.display=function(){return "URL: "+this.oid+", tag: "+this.name;};};var _58=function(tag){request=_56.getRequest(tag);var _59=tag.oid;_5a(request,_59,_5b);};var _5a=function(_5c,_5d,_5e){var _5f=ibmPortalConfig.contentHandlerURI;if(_5f!=null){if(_5f.indexOf("?")>0){_5f+="&";}else{_5f+="?";}}var _60="uri=";var _61="tm:ts:all";var _62="&mime-type=application/json";var _63=_5f+_60+_61;i$.xhrPost({url:_63,postData:_5c,headers:{"content-type":"application/xml"}}).then(function(_64){var _65=com_ibm_widgets_tagging.getCurrentDisplayedCount(_5d);var _66=com_ibm_widgets_tagging.getCurrentDisplayedTagScope(_5d);com_ibm_widgets_tagging.setPlusClicked(_5d,false);_5e(_5d,_66,_65,com_ibm_widgets_tagging.displayTagsLight);},function(_67){console.error("Error case: ",_67);if(_67!=null&&_67.xhr!=null&&_67.xhr.status!=null&&_67.xhr.status==400){_67.data.message=dojoless_resource_AddTag.text_error_tags_invalid;}else{if(_67!=null&&_67.xhr!=null&&_67.xhr.status!=null&&_67.xhr.status==403){_67.data.message=dojoless_resource_AddTag.text_error_tags_too_long;}else{if(_67!=null&&_67.xhr!=null&&_67.xhr.status!=null&&_67.xhr.status==401){window.setTimeout(function(){document.location.reload();},0);}}}_41(_5d,_67);});};var _5b=function(_68,_69,_6a,_6b){var _6c=i$.byId(com_ibm_widgets_tagging.TAGGING_WIDGET_TAGS_ID_PREFIX+_68);if(_6c.getAttribute("customLabel")==null||_6c.getAttribute("customLabel")=="undefined"){if(ibmPortalCPConfig.tagging.inline.customLabel!==null&&typeof ibmPortalCPConfig.tagging.inline.customLabel!=="undefined"){customLabel=ibmPortalCPConfig.tagging.inline.customLabel;}else{customLabel=null;}}else{customLabel=_6c.getAttribute("customLabel");}var _6d=com_ibm_widgets_tagging.TAGGING_WIDGET_ID_PREFIX+_6a;var _6e=null;switch(_69){case ("PERSONAL_PRIVATE"):_6e=["personal_private"];break;case ("PERSONAL_PUBLIC"):_6e=["personal_public"];break;case ("COMMUNITY_PERSONAL_PUBLIC"):_6e=["community","personal_public"];break;default:_6e=["community","personal_public"];break;}var _6f={"oid":_68,"tagListParentId":_6d,"tagsClickable":_6c.getAttribute("tagsClickable")||ibmPortalCPConfig.tagging.inline.tagsClickable,"tagClickActionMode":_6c.getAttribute("tagClickActionMode")||ibmPortalCPConfig.tagging.inline.tagClickActionMode,"showDialogLauncher":_6c.getAttribute("showDialogLauncher")||ibmPortalCPConfig.tagging.inline.showDialogLauncher,"maxResults":_6c.getAttribute("maxResults")||ibmPortalCPConfig.tagging.inline.maxResults,"customMessageNoTags":_6c.getAttribute("customMessageNoTags")||dojoless_resource_AddTag.text_no_tags,"countsEnabled":_6c.getAttribute("countsEnabled")||ibmPortalCPConfig.tagging.inline.countsEnabled,"customLabel":_6c.getAttribute("customLabel")||ibmPortalCPConfig.tagging.inline.customLabel,"tagClickTransmitScopes":_6c.getAttribute("tagClickTransmitScopes")||ibmPortalCPConfig.tagging.inline.tagClickTransmitScopes,"privateTaggingEnabled":_6c.getAttribute("privateTaggingEnabled")||ibmPortalCPConfig.tagging.inline.privateTaggingEnabled,"resourceType":_6c.getAttribute("resourceType")||ibmPortalCPConfig.tagging.inline.resourceType,"customLabelCommunityTags":_6c.getAttribute("customLabelCommunityTags")||ibmPortalCPConfig.tagging.inline.customLabelCommunityTags,"customLabelPersonalPublicTags":_6c.getAttribute("customLabelPersonalPublicTags")||ibmPortalCPConfig.tagging.inline.customLabelPersonalPublicTags,"customLabelPersonalPrivateTags":_6c.getAttribute("customLabelPersonalPrivateTags")||ibmPortalCPConfig.tagging.inline.customLabelPersonalPrivateTags,"showAllTags":false};_6f.query={"order":_6c.getAttribute("order")||ibmPortalCPConfig.tagging.inline.order,"orderMetric":_6c.getAttribute("orderMetric")||ibmPortalCPConfig.tagging.inline.orderMetric,"scope":_6e,"resourceCategories":_6c.getAttribute("resourceCategories")||ibmPortalCPConfig.tagging.inline.resourceCategories};_2e(_6f,_6b);};var _70=function(_71,_72,_73){var _74=null;switch(_72){case ("PERSONAL_PRIVATE"):_74=["personal_private"];break;case ("PERSONAL_PUBLIC"):_74=["personal_public"];break;case ("COMMUNITY_PERSONAL_PUBLIC"):_74=["community","personal_public"];break;default:_74=["community","personal_public"];break;}var _75=i$.byId(com_ibm_widgets_rating.RATINGWIDGET_STARS_DIV_PREFIX+_71);if(_75.getAttribute("ratingDescription")==null||_75.getAttribute("ratingDescription")=="undefined"){if(ibmPortalCPConfig.rating.inline.ratingDescription!==null&&typeof ibmPortalCPConfig.rating.inline.ratingDescription!=="undefined"){ratingDescription=ibmPortalCPConfig.rating.inline.ratingDescription.toUpperCase();}else{ratingDescription="ALL";}}else{ratingDescription=_75.getAttribute("ratingDescription");}if(_75.getAttribute("numStars")==null||_75.getAttribute("numStars")=="undefined"){if(ibmPortalCPConfig.rating.inline.numStars!==null&&typeof ibmPortalCPConfig.rating.inline.numStars!=="undefined"){numStars=ibmPortalCPConfig.rating.inline.numStars;}else{numStars=5;}}else{numStars=_75.getAttribute("numStars");}if(_75.getAttribute("customLabel")==null||_75.getAttribute("customLabel")=="undefined"){if(ibmPortalCPConfig.rating.inline.customLabel!==null&&typeof ibmPortalCPConfig.rating.inline.customLabel!=="undefined"){customLabel=ibmPortalCPConfig.rating.inline.customLabel;}else{customLabel=null;}}else{customLabel=_75.getAttribute("customLabel");}var _76;var _77;var _78;if(_75.getAttribute("customLabelCommunityRatings")==null||_75.getAttribute("customLabelCommunityRatings")=="undefined"){if(ibmPortalCPConfig.rating.inline.customLabelCommunityRatings!==null&&typeof ibmPortalCPConfig.rating.inline.customLabelCommunityRatings!=="undefined"){_76=ibmPortalCPConfig.rating.inline.customLabelCommunityRatings;}else{_76=null;}}else{_76=_75.getAttribute("customLabelCommunityRatings");}if(_75.getAttribute("customLabelPersonalPublicRatings")==null||_75.getAttribute("customLabelPersonalPublicRatings")=="undefined"){if(ibmPortalCPConfig.rating.inline.customLabelPersonalPublicRatings!==null&&typeof ibmPortalCPConfig.rating.inline.customLabelPersonalPublicRatings!=="undefined"){_77=ibmPortalCPConfig.rating.inline.customLabelPersonalPublicRatings.toUpperCase();}else{_77=null;}}else{_77=_75.getAttribute("customLabelPersonalPublicRatings");}if(_75.getAttribute("customLabelPersonalPrivateRatings")==null||_75.getAttribute("customLabelPersonalPrivateRatings")=="undefined"){if(ibmPortalCPConfig.rating.inline.customLabelPersonalPrivateRatings!==null&&typeof ibmPortalCPConfig.rating.inline.customLabelPersonalPrivateRatings!=="undefined"){_78=ibmPortalCPConfig.rating.inline.customLabelPersonalPrivateRatings.toUpperCase();}else{_78=null;}}else{_78=_75.getAttribute("customLabelPersonalPrivateRatings");}var _79={"oid":_71,"customLabel":customLabel,"customLabelCommunityRatings":_76,"customLabelPersonalPublicRatings":_77,"customLabelPersonalPrivateRatings":_78,"scope":_74,"ratingDescription":ratingDescription,"numStars":numStars};_79.query={"oid":_71,"customLabel":customLabel,"customLabelCommunityRatings":_76,"customLabelPersonalPublicRatings":_77,"customLabelPersonalPrivateRatings":_78,"scope":_74,"ratingDescription":ratingDescription,"numStars":numStars};_33(_79,_73);};var _7a=function(_7b,_7c,_7d,_7e){var _7f=null;_7f=["personal_public"];var _80=i$.byId(com_ibm_widgets_rating.RATINGWIDGET_STARS_DIV_PREFIX+_7b);if(_80.getAttribute("numStars")==null||_80.getAttribute("numStars")=="undefined"){if(ibmPortalCPConfig.rating.inline.numStars!==null&&typeof ibmPortalCPConfig.rating.inline.numStars!=="undefined"){numStars=ibmPortalCPConfig.rating.inline.numStars;}else{numStars=5;}}else{numStars=_80.getAttribute("numStars");}if(_80.getAttribute("customLabel")==null||_80.getAttribute("customLabel")=="undefined"){if(ibmPortalCPConfig.rating.inline.customLabel!==null&&typeof ibmPortalCPConfig.rating.inline.customLabel!=="undefined"){customLabel=ibmPortalCPConfig.rating.inline.customLabel;}else{customLabel=null;}}else{customLabel=_80.getAttribute("customLabel");}var _81;var _82;var _83;if(_80.getAttribute("customLabelCommunityRatings")==null||_80.getAttribute("customLabelCommunityRatings")=="undefined"){if(ibmPortalCPConfig.rating.inline.customLabelCommunityRatings!==null&&typeof ibmPortalCPConfig.rating.inline.customLabelCommunityRatings!=="undefined"){_81=ibmPortalCPConfig.rating.inline.customLabelCommunityRatings;}else{_81=null;}}else{_81=_80.getAttribute("customLabelCommunityRatings");}if(_80.getAttribute("customLabelPersonalPublicRatings")==null||_80.getAttribute("customLabelPersonalPublicRatings")=="undefined"){if(ibmPortalCPConfig.rating.inline.customLabelPersonalPublicRatings!==null&&typeof ibmPortalCPConfig.rating.inline.customLabelPersonalPublicRatings!=="undefined"){_82=ibmPortalCPConfig.rating.inline.customLabelPersonalPublicRatings.toUpperCase();}else{_82=null;}}else{_82=_80.getAttribute("customLabelPersonalPublicRatings");}if(_80.getAttribute("customLabelPersonalPrivateRatings")==null||_80.getAttribute("customLabelPersonalPrivateRatings")=="undefined"){if(ibmPortalCPConfig.rating.inline.customLabelPersonalPrivateRatings!==null&&typeof ibmPortalCPConfig.rating.inline.customLabelPersonalPrivateRatings!=="undefined"){_83=ibmPortalCPConfig.rating.inline.customLabelPersonalPrivateRatings.toUpperCase();}else{_83=null;}}else{_83=_80.getAttribute("customLabelPersonalPrivateRatings");}var _84={"oid":_7b,"customLabel":customLabel,"customLabelCommunityRatings":_81,"customLabelPersonalPublicRatings":_82,"customLabelPersonalPrivateRatings":_83,"scope":_7f,"numStars":numStars,"ratingValue":_7d};_84.query={"oid":_7b,"customLabel":customLabel,"customLabelCommunityRatings":_81,"customLabelPersonalPublicRatings":_82,"customLabelPersonalPrivateRatings":_83,"scope":_7f,"numStars":numStars,"ratingValue":_7d};_33(_84,_7e);};var _85=function(_86,_87,_88,_89){var _8a=null;switch(_87){case ("PERSONAL_PRIVATE"):_8a=["personal_private"];break;case ("PERSONAL_PUBLIC"):_8a=["personal_public"];break;case ("COMMUNITY_PERSONAL_PUBLIC"):_8a=["community","personal_public"];break;default:_8a=["community","personal_public"];break;}var _8b=i$.byId(com_ibm_widgets_rating.RATINGWIDGET_STARS_DIV_PREFIX+_86);if(_8b.getAttribute("ratingDescription")==null||_8b.getAttribute("ratingDescription")=="undefined"){if(ibmPortalCPConfig.rating.inline.ratingDescription!==null&&typeof ibmPortalCPConfig.rating.inline.ratingDescription!=="undefined"){ratingDescription=ibmPortalCPConfig.rating.inline.ratingDescription.toUpperCase();}else{ratingDescription="ALL";}}else{ratingDescription=_8b.getAttribute("ratingDescription");}if(_8b.getAttribute("numStars")==null||_8b.getAttribute("numStars")=="undefined"){if(ibmPortalCPConfig.rating.inline.numStars!==null&&typeof ibmPortalCPConfig.rating.inline.numStars!=="undefined"){numStars=ibmPortalCPConfig.rating.inline.numStars;}else{numStars=5;}}else{numStars=_8b.getAttribute("numStars");}if(_8b.getAttribute("customLabel")==null||_8b.getAttribute("customLabel")=="undefined"){if(ibmPortalCPConfig.rating.inline.customLabel!==null&&typeof ibmPortalCPConfig.rating.inline.customLabel!=="undefined"){customLabel=ibmPortalCPConfig.rating.inline.customLabel;}else{customLabel=null;}}else{customLabel=_8b.getAttribute("customLabel");}var _8c;var _8d;var _8e;if(_8b.getAttribute("customLabelCommunityRatings")==null||_8b.getAttribute("customLabelCommunityRatings")=="undefined"){if(ibmPortalCPConfig.rating.inline.customLabelCommunityRatings!==null&&typeof ibmPortalCPConfig.rating.inline.customLabelCommunityRatings!=="undefined"){_8c=ibmPortalCPConfig.rating.inline.customLabelCommunityRatings;}else{_8c=null;}}else{_8c=_8b.getAttribute("customLabelCommunityRatings");}if(_8b.getAttribute("customLabelPersonalPublicRatings")==null||_8b.getAttribute("customLabelPersonalPublicRatings")=="undefined"){if(ibmPortalCPConfig.rating.inline.customLabelPersonalPublicRatings!==null&&typeof ibmPortalCPConfig.rating.inline.customLabelPersonalPublicRatings!=="undefined"){_8d=ibmPortalCPConfig.rating.inline.customLabelPersonalPublicRatings.toUpperCase();}else{_8d=null;}}else{_8d=_8b.getAttribute("customLabelPersonalPublicRatings");}if(_8b.getAttribute("customLabelPersonalPrivateRatings")==null||_8b.getAttribute("customLabelPersonalPrivateRatings")=="undefined"){if(ibmPortalCPConfig.rating.inline.customLabelPersonalPrivateRatings!==null&&typeof ibmPortalCPConfig.rating.inline.customLabelPersonalPrivateRatings!=="undefined"){_8e=ibmPortalCPConfig.rating.inline.customLabelPersonalPrivateRatings.toUpperCase();}else{_8e=null;}}else{_8e=_8b.getAttribute("customLabelPersonalPrivateRatings");}var _8f={"oid":_86,"customLabel":customLabel,"customLabelCommunityRatings":_8c,"customLabelPersonalPublicRatings":_8d,"customLabelPersonalPrivateRatings":_8e,"scope":_8a,"ratingDescription":ratingDescription,"numStars":numStars};_8f.query={"oid":_86,"customLabel":customLabel,"customLabelCommunityRatings":_8c,"customLabelPersonalPublicRatings":_8d,"customLabelPersonalPrivateRatings":_8e,"scope":_8a,"ratingDescription":ratingDescription,"numStars":numStars};var _90=new Array(1);_90[0]={name:_88,count:"1"};var _91=!ibmPortalConfig.isUserLoggedIn;if(_91&&_87=="PERSONAL_PUBLIC"){_89(_90,_8f);}else{_33(_8f,_89);}};var _92=function(_93,_94){var _95=i$.byId(com_ibm_widgets_rating.RATINGWIDGET_PREFIX+_93);var _96=_94;if(_94=="COMMUNITY_PERSONAL_PUBLIC"){_96=["community","personal_public"];}var _97={"oid":_93,"scope":_96};_97.query={"oid":_93,"scope":_96};var _98={uri:"rtm:empty",rmparam:"rm:"+_97.oid,"mime-type":"application/json"};var _99={"scope":_96};_99.query={"scope":_96};var _9a=ibmPortalConfig.contentHandlerURI;if(_9a!=null){if(_9a.indexOf("?")>0){_9a+="&";}else{_9a+="?";}}_9a+=i$.toQuery(_98)+"&"+i$.toQuery(_99.query)+"&"+Math.random();i$.xhrGet({url:_9a,headers:{"X-IBM-XHR":"true"},responseType:"text"}).then(function(_9b){if(_9b.data===""){}else{var _9c=i$.fromJson(_9b.data);var _9d=_9c["entry"];}var _9e;if(_98.uri=="tm:ts:empty"){}else{if(_9d===undefined){_9e=null;}else{numberOfRatings=_9d.length;if(numberOfRatings==1){var _9e=null;_9e={id:_9d[0].id};_a0(_9e.id,_98,_97,com_ibm_widgets_resolver.fetchSpecificScopeRatings);}else{var i=0;for(i=0;i<numberOfRatings;i++){var _9e=null;_9e={id:_9d[i].id};_a0(_9e.id,_98,_97,com_ibm_widgets_resolver.fetchSpecificScopeRatings);}}}}},function(_9f){console.error("Error case: ",_9f);if(_9f!=null&&_9f.xhr!=null&&_9f.xhr.status!=null&&_9f.xhr.status==401){window.setTimeout(function(){document.location.reload();},0);}else{_15(_97.oid,_9f);}});};var _a0=function(_a1,_a2,_a3,_a4){var _a2={uri:_a1,"mime-type":"application/json"};var _a5={"scope":_a3.scope};_a5.query={"scope":_a3.scope};var _a6=ibmPortalConfig.contentHandlerURI;if(_a6!=null){if(_a6.indexOf("?")>0){_a6+="&";}else{_a6+="?";}}_a6+=i$.toQuery(_a2)+"&"+i$.toQuery(_a5.query)+"&"+Math.random();i$.xhrDelete({url:_a6,headers:{"X-IBM-XHR":"true"},responseType:"text"}).then(function(_a7){_a4(_a3.oid,_a3.scope,com_ibm_widgets_rating.displayDojolessRatings);},function(_a8){console.error("Error case: ",_a8);if(_a8!=null&&_a8.xhr!=null&&_a8.xhr.status!=null&&_a8.xhr.status==401){window.setTimeout(function(){document.location.reload();},0);}else{_15(_a3.oid,_a8);}});};var _a9=function(_aa,_ab){var _ac=i$.byId(com_ibm_widgets_rating.RATINGWIDGET_PREFIX+_aa);var _ad=_ab;if(_ab=="COMMUNITY_PERSONAL_PUBLIC"){_ad=["community","personal_public"];}var _ae={"oid":_aa,"scope":_ad};_ae.query={"oid":_aa,"scope":_ad};var _af={uri:"rtm:rs:empty",rmparam:"rm:"+_ae.oid,"mime-type":"application/json"};var _b0=ibmPortalConfig.contentHandlerURI;if(_b0!=null){if(_b0.indexOf("?")>0){_b0+="&";}else{_b0+="?";}}_b0+=i$.toQuery(_af)+"&"+Math.random();i$.xhrGet({url:_b0,headers:{"X-IBM-XHR":"true"},responseType:"text"}).then(function(_b1){if(_b1.data!=null&&_b1.data!=""){var _b2=i$.fromJson(_b1.data);var _b3=_b2["entry"];}var _b4;if(_af.uri=="rtm:rs:empty"){if(_b3===undefined){_b4=null;}else{numberOfRatings=_b3.length;var _b4=null;var _b5=_b3[0];if(_b5!=null){var _b6=_b5.link;}if(_b6!=null){var _b7=_b6[2].href;}if(_b7!=null){_b4={id:_b7};_b9(_b4.id,_af,_ae,com_ibm_widgets_resolver.fetchSpecificScopeRatings);}}}},function(_b8){console.error("Error case: ",_b8);if(_b8!=null&&_b8.xhr!=null&&_b8.xhr.status!=null&&_b8.xhr.status==401){window.setTimeout(function(){document.location.reload();},0);}else{_15(_ae.oid,_b8);}});};var _b9=function(_ba,_bb,_bc,_bd){var _bb={uri:_ba,"mime-type":"application/json"};var _be;if(_bc.scope=="COMMUNITY_PERSONAL_PUBLIC"){_be=["community","personal_public"];}var _bf={"scope":_be};_bf.query={"scope":_be};var _c0=ibmPortalConfig.contentHandlerURI;if(_c0!=null){if(_c0.indexOf("?")>0){_c0+="&";}else{_c0+="?";}}_c0+=i$.toQuery(_bb)+"&"+i$.toQuery(_bf.query)+"&"+Math.random();_c0=_ba;i$.xhrDelete({url:_c0,headers:{"X-IBM-XHR":"true"},responseType:"text"}).then(function(_c1){_bd(_bc.oid,_bc.scope,com_ibm_widgets_rating.displayDojolessRatings);},function(_c2){console.error("Error case: ",_c2);if(_c2!=null&&_c2.xhr!=null&&_c2.xhr.status!=null&&_c2.xhr.status==401){window.setTimeout(function(){document.location.reload();},0);}else{_15(_bc.oid,_c2);}});};var _c3=function(){this.template="";this.template+="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";this.template+="<atom:feed xmlns:atom=\"http://www.w3.org/2005/Atom\" xmlns:xml=\"http://www.w3.org/XML/1998/namespace\" xmlns:ext=\"http://www.ibm.com/xmlns/prod/websphere/portal/v6.0.1/portal-model\" xmlns:creationcontext=\"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1.0/portal-creation-context\">\n";this.template+="<atom:author>\n";this.template+="<atom:name>IBM WebSphere Portal/8.0</atom:name>\n";this.template+="</atom:author>\n";this.template+="<atom:title>WebSphere Portal Server RatingSpace Feed</atom:title>\n";this.template+="<atom:link href=\".\" rel=\"self\" type=\"application/atom+xml\"/>\n";this.template+="<atom:entry creationcontext:private=\"${isPrivate}\">\n";this.template+="<atom:title >${tagname}</atom:title>\n";this.template+="<atom:id>rm:cid:${id}</atom:id>\n";this.template+="<atom:link ext:uri=\"rm:${resourceURI}\" rel=\"replies\" href=\"example.org\"/>\n";this.template+="${category}";this.template+="</atom:entry>\n";this.template+="</atom:feed>\n";this.getRequest=function(_c4){var _c5=this.template;_c5=_c5.replace("${tagname}",_c4.name);_c5=_c5.replace("${resourceURI}",_c4.oid);_c5=_c5.replace("${isPrivate}",_c4.isPrivate);_c5=_c5.replace("${id}",_c4.id);return _c5;};};var _c6=new _c3();var _c7=function(_c8,_c9,_ca,_cb){var _cc;if(_c9=="PERSONAL_PUBLIC"){scopeIsPrivate="false";}else{scopeIsPrivate="true";}var _cd={name:_ca,oid:_c8,isPrivate:scopeIsPrivate};request=_c6.getRequest(_cd);var _ce=!ibmPortalConfig.isUserLoggedIn;if(!_ce){_cf(request,_c8,_cb);}else{_d0(request,_c8,_ca,_cb);}};var _cf=function(_d1,oid,_d2){var _d3=ibmPortalConfig.contentHandlerURI;if(_d3!=null){if(_d3.indexOf("?")>0){_d3+="&";}else{_d3+="?";}}var _d4="uri=";var _d5="rtm:rs:"+"all";var _d6="&mime-type=application/json";var _d7=_d3+_d4+_d5+"&"+Math.random();i$.xhrPost({url:_d7,postData:_d1,headers:{"content-type":"application/xml","X-IBM-XHR":"true"}}).then(function(_d8){_d2(oid,com_ibm_widgets_rating.getCurrentDisplayedScope(oid),com_ibm_widgets_rating.displayDojolessRatings);},function(_d9){console.error("Error case: ",_d9);if(_d9!=null&&_d9.xhr!=null&&_d9.xhr.status!=null&&_d9.xhr.status==401){window.setTimeout(function(){document.location.reload();},0);}else{_15(oid,_d9);}});};var _d0=function(_da,oid,_db,_dc){var _dd=ibmPortalConfig.contentHandlerURI;if(_dd!=null){if(_dd.indexOf("?")>0){_dd+="&";}else{_dd+="?";}}var _de="uri=";var _df="rtm:rs:"+"all";var _e0="&mime-type=application/json";var _e1=_dd+_de+_df+"&"+Math.random();i$.xhrPost({url:_e1,postData:_da,headers:{"content-type":"application/xml","X-IBM-XHR":"true"}}).then(function(_e2){var _e3=new Array(1);_e3[0]={name:"0",count:"0"};var _e4=!ibmPortalConfig.isUserLoggedIn;_dc(oid,com_ibm_widgets_rating.getCurrentDisplayedScope(oid),_db,com_ibm_widgets_rating.displayDojolessRatings);},function(_e5){console.error("Error case: ",_e5);if(_e5!=null&&_e5.xhr!=null&&_e5.xhr.status!=null&&_e5.xhr.status==401){window.setTimeout(function(){document.location.reload();},0);}else{_15(oid,_e5);}});};var _e6=function(){this.editRatingtemplate="";this.editRatingtemplate+="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";this.editRatingtemplate+="<atom:feed xmlns:atom=\"http://www.w3.org/2005/Atom\" xmlns:xml=\"http://www.w3.org/XML/1998/namespace\" xmlns:ext=\"http://www.ibm.com/xmlns/prod/websphere/portal/v6.0.1/portal-model\" xmlns:creationcontext=\"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1.0/portal-creation-context\">\n";this.editRatingtemplate+="<atom:author>\n";this.editRatingtemplate+="<atom:name>IBM WebSphere Portal/8.0</atom:name>\n";this.editRatingtemplate+="</atom:author>\n";this.editRatingtemplate+="<atom:title>WebSphere Portal Server RatingSpace Feed</atom:title>\n";this.editRatingtemplate+="<atom:id>rtm:rs:empty</atom:id>\n";this.editRatingtemplate+="<atom:link href=\".\" rel=\"self\" type=\"application/atom+xml\"/>\n";this.editRatingtemplate+="<atom:entry xmlns:atom=\"http://www.w3.org/2005/Atom\">\n";this.editRatingtemplate+="<atom:title >${tagname}</atom:title>\n";this.editRatingtemplate+="<atom:author>\n";this.editRatingtemplate+="<atom:name>wpsadmin</atom:name>\n";this.editRatingtemplate+="<atom:uri>um:oid:Z9eAeI9D8MQCCNHC8JM472JPCMMG613DEJM4CH9PGJM06O1D03Q47I1EA3H9CN1</atom:uri>\n";this.editRatingtemplate+="</atom:author>\n";this.editRatingtemplate+="<atom:id>rtm:oid:${id}</atom:id>\n";this.editRatingtemplate+="</atom:entry>\n";this.editRatingtemplate+="</atom:feed>\n";this.getEditRatingRequest=function(_e7){var _e8=this.editRatingtemplate;_e8=_e8.replace("${tagname}",_e7.name);_e8=_e8.replace("${resourceURI}",_e7.resourceID);_e8=_e8.replace("${isPrivate}",false);_e8=_e8.replace("${id}",_e7.id);return _e8;};};var _e9=new _e6();var _ea=function(_eb,_ec,_ed,_ee){var _ef={uri:"rtm:empty",rmparam:"rm:"+_eb,"mime-type":"application/json"};var _f0={"oid":_eb,"scope":_ec};_f0.query={"oid":_eb,"scope":_ec};var _f1=ibmPortalConfig.contentHandlerURI;if(_f1!=null){if(_f1.indexOf("?")>0){_f1+="&";}else{_f1+="?";}}_f1+=i$.toQuery(_ef)+"&"+i$.toQuery(_f0.query)+"&"+Math.random();i$.xhrGet({url:_f1,headers:{"X-IBM-XHR":"true"},responseType:"text"}).then(function(_f2){if(_f2.data===""){}else{var _f3=i$.fromJson(_f2.data);var _f4=_f3["entry"];}var _f5;if(_ef.uri=="tm:ts:empty"){}else{if(_f4===undefined){_f5=null;}else{numberOfRatings=_f4.length;var _f5=null;_f5={id:_f4[0]["id"],name:_f4[0]["title"]["$t"],count:_f4[0]["link"][0]["count"]};var _f6={name:_ed,oid:_f5.id,resourceID:_f0.oid};editRatingrequest=_e9.getEditRatingRequest(_f6);_f8(editRatingrequest,_eb,_f5.id,_ee);}}},function(_f7){console.error("Error case: ",_f7);if(_f7!=null&&_f7.xhr!=null&&_f7.xhr.status!=null&&_f7.xhr.status==401){window.setTimeout(function(){document.location.reload();},0);}else{_15(_f0.oid,_f7);}});};var _f8=function(_f9,oid,id,_fa){var _fb=ibmPortalConfig.contentHandlerURI;var _fc={uri:id,rep:"empty",mode:"merge",};if(_fb!=null){if(_fb.indexOf("?")>0){_fb+="&";}else{_fb+="?";}}var _fd=_fb+i$.toQuery(_fc);i$.xhrPut({url:_fd,postData:_f9,headers:{"content-type":"application/xml","X-IBM-XHR":"true"}}).then(function(_fe){_fa(oid,com_ibm_widgets_rating.getCurrentDisplayedScope(oid),com_ibm_widgets_rating.displayDojolessRatings);},function(_ff){console.error("Error case: ",_ff);if(_ff!=null&&_ff.xhr!=null&&_ff.xhr.status!=null&&_ff.xhr.status==401){window.setTimeout(function(){document.location.reload();},0);}else{_15(oid,_ff);}});};var _100=function(_101,_102,_103){var _104={uri:"tm:name:"+_103,rmparam:"rm:"+_101.oid,"mime-type":"application/json"};var _105=com_ibm_widgets_tagging.getCurrentDisplayedTagScope(_101.oid);var _106={"scope":_105};_106.query={"scope":_105};var _107=ibmPortalConfig.contentHandlerURI;if(_107!=null){if(_107.indexOf("?")>0){_107+="&";}else{_107+="?";}}_107+=i$.toQuery(_104)+"&"+i$.toQuery(_106.query)+"&"+Math.random();i$.xhrGet({url:_107,scope:_105,responseType:"text",}).then(function(_108){if(_108.data===""){}else{var _109=i$.fromJson(_108.data);var _10a=_109["entry"];}var torR;var _10b=0;if(_10a!==undefined){_10b=_10a.length;}var torR=new Array(_10b);for(var i=0;i<_10b;i++){torR[i]={name:_10a[i]["title"]["$t"],id:_10a[i].id};_10d(torR[i].id,_104,_101,_102);}},function(_10c){console.error("Error case: ",_10c);if(_10c!=null&&_10c.xhr!=null&&_10c.xhr.status!=null&&_10c.xhr.status==401){window.setTimeout(function(){document.location.reload();},0);}else{_41(_101.oid,_10c);}});};var _10d=function(_10e,_10f,_110,_111){var _10f={uri:_10e,"mime-type":"application/json"};var _112=ibmPortalConfig.contentHandlerURI;if(_112!=null){if(_112.indexOf("?")>0){_112+="&";}else{_112+="?";}}_112+=i$.toQuery(_10f)+"&"+i$.toQuery(_110.query)+"&"+Math.random();i$.xhrDelete({url:_112,responseType:"text"}).then(function(_113){var _114=com_ibm_widgets_tagging.getCurrentDisplayedCount(_110.oid);var _115=com_ibm_widgets_tagging.getCurrentDisplayedTagScope(_110.oid);_111(_110.oid,_115,_114,com_ibm_widgets_tagging.displayTagsLight);},function(_116){console.error("Error case: ",_116);if(_116!=null&&_116.xhr!=null&&_116.xhr.status!=null&&_116.xhr.status==401){window.setTimeout(function(){document.location.reload();},0);}else{_41(_110.oid,_116);}});};var _117=function(_118,_119,_11a){var _11b={uri:"tm:name:"+_11a,rmparam:"rm:"+_118,"mime-type":"application/json"};var _11c=com_ibm_widgets_tagging.getCurrentDisplayedTagScope(_118);var _11d={"scope":_11c};_11d.query={"scope":_11c};var _11e=ibmPortalConfig.contentHandlerURI;if(_11e.indexOf("?")>0){_11e+="&";}else{_11e+="?";}_11e+=i$.toQuery(_11b)+"&"+i$.toQuery(_11d.query)+"&"+Math.random();i$.xhrGet({url:_11e,scope:_11c,responseType:"text",}).then(function(_11f){if(_11f.data===""){console.log("Data is empty string.");}else{var _120=i$.fromJson(_11f.data);var _121=_120["entry"];}var torR;var _122=0;if(_121!==undefined){_122=_121.length;}var torR=new Array(_122);for(var i=0;i<_122;i++){torR[i]={name:_121[i]["title"]["$t"],id:_121[i].id};_124(torR[i].id,_11b,_118,_119);}},function(_123){console.error("Error case: ",_123);if(_123!=null&&_123.xhr!=null&&_123.xhr.status!=null&&_123.xhr.status==401){window.setTimeout(function(){document.location.reload();},0);}else{_41(_118,_123);}});};var _124=function(_125,_126,_127,_128){var _126={uri:_125,"mime-type":"application/json"};var _129=ibmPortalConfig.contentHandlerURI;if(_129!=null){if(_129.indexOf("?")>0){_129+="&";}else{_129+="?";}}_129+=i$.toQuery(_126)+"&"+i$.toQuery(_127)+"&"+Math.random();i$.xhrDelete({url:_129,responseType:"text"}).then(function(_12a){var _12b=com_ibm_widgets_tagging.getCurrentDisplayedCount(_127);var _12c=com_ibm_widgets_tagging.getCurrentDisplayedTagScope(_127);_5b(_127,_12c,_12b,com_ibm_widgets_tagging.displayMoreTags);},function(_12d){console.error("Error case: ",_12d);if(_12d!=null&&_12d.xhr!=null&&_12d.xhr.status!=null&&_12d.xhr.status==401){window.setTimeout(function(){document.location.reload();},0);}else{_41(_127,_12d);}});};return {fetchTagsLight:_2e,fetchSpecificScopeTags:_5b,showTaggingErrorMessage:_41,showTaggingValidationError:_47,deleteTag:_100,deleteMoreTag:_117,insertTag:_58,clearTaggingErrorMessage:_4d,setALTtextforAllElementsInTagging:_25,trace:_f,setALTtextforAllElementsInRating:_1f,deleteRating:_92,deleteAllRating:_a9,insertRating:_c7,editRating:_ea,clearRatingErrorMessage:_1b,fetchDojolessRatings:_33,fetchSpecificScopeRatings:_70,fetchSpecificScopeRatings_defaultView:_7a,fetchSpecificScopeRatings_anonymousUser:_85};})();var com_ibm_widgets_tagging=(function(){var _12e=".tags";var _12f="Twisty_";var _130="TagWidget_";var _131="tagginglighttagslist_";var _132="_Content";var _133="lotusHidden lotusTagCloud lotusui";var _134="lotusTagCloud lotusui";var _135="tagginglight_privateTaggingEnabled";var _136="tagginglight_deleteTaggingEnabled";var _137="tagginglight_plusClicked";var _138="_Image";var _139="_MoreTags";var _13a="TaggingMenu_";var _13b="tagginglight_";TAGGING_INLINE_EDITING_TYPEAHEAD_SUFFIX="_SuggestionList";var _13c="taggingMenuOptionDiv";var _13d="TaggingMenuDiv_";var _13e="tagginglight_CurrentScope";var _13f="tagginglight_CurrentCount";var _140="tagginglightmenulink_";var _141="tagginglightAddTaglink_";var _142="taggingDropDownMenuDialog_";var _143,_144,_145,_146;var _147="tagginglightinput_";var _148="tagginglightinputField_";var _149=new Array();var _14a="deleteIcon";var _14b="wpTaggingLight";var _14c="ltr";var _14d=i$.addOnLoad;if(typeof wp_wcm_async!="undefined"){_14d=i$.scope(wp_wcm_async,wp_wcm_async.addOnPageLoad);}_14d(function(){var _14e=ibmPortalConfig.projectUUID;if(_14e==null||_14e==""){i$.forEach(i$.query(_12e),function(_14f,_150,_151){var _152=_130+_150;var _153=ibmPortalCPConfig?ibmPortalCPConfig.operations.canViewTags&&ibmPortalCPConfig.isTaggingEnabled:null;if(_153==null||(!_153)){return;}var _154={"count":_150,"oid":_14f.getAttribute("resourceId"),"tagListParentId":_152,"tagsClickable":_14f.getAttribute("tagsClickable")||ibmPortalCPConfig.tagging.inline.tagsClickable,"tagClickActionMode":_14f.getAttribute("tagClickActionMode")||ibmPortalCPConfig.tagging.inline.tagClickActionMode,"showDialogLauncher":_14f.getAttribute("showDialogLauncher")||ibmPortalCPConfig.tagging.inline.showDialogLauncher,"maxResults":_14f.getAttribute("maxResults")||ibmPortalCPConfig.tagging.inline.maxResults,"customLabel":_14f.getAttribute("customLabel")||ibmPortalCPConfig.tagging.inline.customLabel,"customMessageNoTags":_14f.getAttribute("customMessageNoTags")||dojoless_resource_AddTag.text_no_tags,"countsEnabled":_14f.getAttribute("countsEnabled")||ibmPortalCPConfig.tagging.inline.countsEnabled,"deletingEnabled":_14f.getAttribute("deletingEnabled")||ibmPortalCPConfig.tagging.inline.deletingEnabled,"tagClickTransmitScopes":_14f.getAttribute("tagClickTransmitScopes")||ibmPortalCPConfig.tagging.inline.tagClickTransmitScopes,"resourceType":_14f.getAttribute("resourceType")||ibmPortalCPConfig.tagging.inline.resourceType,"privateTaggingEnabled":_14f.getAttribute("privateTaggingEnabled")||ibmPortalCPConfig.tagging.inline.privateTaggingEnabled,"customLabelCommunityTags":_14f.getAttribute("customLabelCommunityTags")||ibmPortalCPConfig.tagging.inline.customLabelCommunityTags,"customLabelPersonalPublicTags":_14f.getAttribute("customLabelPersonalPublicTags")||ibmPortalCPConfig.tagging.inline.customLabelPersonalPublicTags,"customLabelPersonalPrivateTags":_14f.getAttribute("customLabelPersonalPrivateTags")||ibmPortalCPConfig.tagging.inline.customLabelPersonalPrivateTags,"showAllTags":false};_154.query={"order":_14f.getAttribute("order")||ibmPortalCPConfig.tagging.inline.order,"orderMetric":_14f.getAttribute("orderMetric")||ibmPortalCPConfig.tagging.inline.orderMetric,"scope":_14f.getAttribute("tagScope")||ibmPortalCPConfig.tagging.inline.tagScope,"resourceCategories":_14f.getAttribute("resourceCategories")||ibmPortalCPConfig.tagging.inline.resourceCategories};var _155="true";if(_14f.getAttribute("deletingEnabled")==null||_14f.getAttribute("deletingEnabled")=="undefined"){if(ibmPortalCPConfig.tagging.inline.deletingEnabled!==null&&typeof ibmPortalCPConfig.tagging.inline.deletingEnabled!=="undefined"){_155=ibmPortalCPConfig.tagging.inline.deletingEnabled;}else{_155="true";}}else{_155=_14f.getAttribute("deletingEnabled");}_156(_14f.getAttribute("resourceId"),_155);_149[_150]=_14f.getAttribute("resourceId");var _157=_134;var _158=null;if(_14f.getAttribute("tagScope")!=null){_158=_14f.getAttribute("tagScope");}else{_158=ibmPortalCPConfig.tagging.inline.tagScope;}if(_158){_158=_158.toUpperCase();}var _159=_15a(_158);var _15b=null;if(_14f.getAttribute("customLabel")!=null){_15b=_14f.getAttribute("customLabel");}else{_15b=ibmPortalCPConfig.tagging.inline.customLabel;}if(!_15b){switch(_159[0]){case ("COMMUNITY"):if(_154.customLabelCommunityTags==null){_15b=dojoless_resource_AddTag.title_community_tags;}else{_15b=_154.customLabelCommunityTags;}break;case ("PERSONAL_PRIVATE"):if(_154.customLabelPersonalPrivateTags==null){_15b=dojoless_resource_AddTag.title_priv_tags;}else{_15b=_154.customLabelPersonalPrivateTags;}break;case ("PERSONAL_PUBLIC"):if(_154.customLabelPersonalPublicTags==null){_15b=dojoless_resource_AddTag.title_pub_tags;}else{_15b=_154.customLabelPersonalPublicTags;}break;default:_15b=dojoless_resource_AddTag.title_community_tags;break;}}else{_15b=dojoless_resource_AddTag.title_community_tags;}var loc=ibmCfg.portalConfig.locale;if(loc!=null){var _15c=i$.isRTL(loc);if(_15c!=null){if(_15c){_14c="rtl";}else{_14c="ltr";}}}var _15d=i$.byId("tagginglightlabeltext_"+_14f.getAttribute("resourceId"));if(_15d!=null){_15d.innerHTML=_15b;}_154.query.scope=_159;var _15e=i$.createDom("span",{"class":"trcText","title":_15b,"dir":_14c},_14f);var _15f=i$.createDom("span",{"id":_152,"class":_157,"dir":_14c},_14f);if(_14f.getAttribute("privateTaggingEnabled")==null||_14f.getAttribute("privateTaggingEnabled")=="undefined"){if(ibmPortalCPConfig.tagging.inline.privateTaggingEnabled!==null&&typeof ibmPortalCPConfig.tagging.inline.privateTaggingEnabled!=="undefined"){_145=ibmPortalCPConfig.tagging.inline.privateTaggingEnabled;}else{_145="false";}}else{_145=_14f.getAttribute("privateTaggingEnabled");}var _160=!ibmPortalConfig.isUserLoggedIn;if(_160){_159=["community","personal_public"];_145="false";}_161(_14f.getAttribute("resourceId"),_145);com_ibm_widgets_resolver.setALTtextforAllElementsInTagging(_14f.getAttribute("resourceId"));com_ibm_widgets_resolver.fetchTagsLight(_154,_162);});}},i$.global);var _163=",";var _164=", ";var _165=" , ";var _166=" ; ";var _167="...";var _168=" ";var _162=function(tags,_169){var _16a=tags.length;var _16b=(_169.maxResults<_16a&&_169.showAllTags==false)?_169.maxResults:_16a;var _16c=_169.tagListParentId;var _16d=_16c+_132;var _16e=i$.byId(_16c);_16e.innerHTML="";com_ibm_widgets_resolver.clearTaggingErrorMessage(_169.oid);var _16f=i$.byId("tagginglightmenuDIV_"+_169.oid);var _170=i$.byId("tagginglightAddTagDIV_"+_169.oid);if(ibmPortalCPConfig.operations.canCreatePublicTags||ibmPortalCPConfig.operations.canCreatePrivateTags){if(_16f!=null){_16f.setAttribute("class","menuShow");}if(_170!=null){_170.setAttribute("class","addtagShow");}}var _171=i$.byId("tagginglightinput_"+_169.oid);if(_171!=null){_171.setAttribute("class","addtagShow");}var _172=i$.byId("tagginglightdivider1_"+_169.oid);if(_172!=null){_172.setAttribute("class","divider1Show");}var _173=i$.createDom("span",{"id":_16d,"dir":_14c},_16e);var _174=i$.byId("tagginglightmoretagslink_"+_169.oid);if(_174!=null){_174.innerHTML=dojoless_resource_AddTag.title_more_tags;_174.setAttribute("onclick","com_ibm_widgets_tagging.getMoreTags('"+_169.oid+"')");i$.bindDomEvt(_174,"onkeypress",function(evt){var _175=evt.keyCode;if(_175==0&&evt.charCode==32){_175=32;}if(_175==13||_175==32){com_ibm_widgets_tagging.getMoreTags(_169.oid);}});_174.setAttribute("style","display:inline");}var _176=i$.byId(_142+_169.oid);var _177=null;var _178=_169.query.scope;var _179=_178[0];_179=_179.toUpperCase();switch(_179){case ("COMMUNITY"):if(_169.customLabelCommunityTags==null){_177=dojoless_resource_AddTag.title_community_tags;}else{_177=_169.customLabelCommunityTags;}break;case ("PERSONAL_PRIVATE"):if(_169.customLabelPersonalPrivateTags==null){_177=dojoless_resource_AddTag.title_priv_tags;}else{_177=_169.customLabelPersonalPrivateTags;}break;case ("PERSONAL_PUBLIC"):if(_169.customLabelPersonalPublicTags==null){_177=dojoless_resource_AddTag.title_pub_tags;}else{_177=_169.customLabelPersonalPublicTags;}break;default:_177=dojoless_resource_AddTag.title_community_tags;break;}if(_169.customLabel!=null){_177=_169.customLabel;}var _17a=i$.byId("tagginglightlabeltext_"+_169.oid);if(_17a!=null){_17a.innerHTML=_177;}_227(_169.oid,_178[0].toUpperCase());if(_169.count!=null){_22d(_169.oid,_169.count);}var _17b=i$.byId("tagginglightdivider3_"+_169.oid);var _17c=i$.byId("tagginglightdivider2_"+_169.oid);if(tags.length<1){var _17d=i$.createDom("span",{"title":_169.customMessageNoTags,"dir":_14c},_173);var _17e=document.createTextNode(_169.customMessageNoTags);_17d.appendChild(_17e);_174.setAttribute("style","display:none");if(_17b!=null){_17b.setAttribute("class","none");_17b.setAttribute("style","display:inline-block");}if(_17c!=null){_17c.setAttribute("class","divider1Show");}}else{if(_174!=null){_174.innerHTML=dojoless_resource_AddTag.title_more_tags;_174.setAttribute("style","display:inline");}if(_17b!=null){_17b.setAttribute("class","divider1Show");}if(_17c!=null){_17c.setAttribute("class","divider1Show");}}i$.forEach(tags,function(_17f,_180,_181){if(_180<_16b){var _182=_17f.name;var _183=_17f.id;_183=_183.substring(8);var _184;var _185=i$.createDom("a",{"lang":ibmPortalConfig.locale,"href":"javascript:;","alt":_182,"dir":_14c},_173);if(_169.tagsClickable==="false"){_184=i$.createDom("span",{"title":_182,"dir":_14c},_185);}else{_184=i$.createDom("span",{"title":_182,"href":"javascript:;","dir":_14c},_185);}var _186=_24e(_169.oid);_185.setAttribute("onclick","com_ibm_widgets_tagging.selectTagRedirectFunction('"+_182+"' , '"+_186+"','"+_169.tagClickActionMode+"')");var _187=i$.bindDomEvt(_185,"onkeypress",function(evt){var _188=evt.keyCode;if(_188==0&&evt.charCode==32){_188=32;}if(_188==13||_188==32){_1c9(_182,_186,_169.tagClickActionMode);}});var _189=document.createTextNode(_182);_184.appendChild(_189);if(_169.countsEnabled&&_17f.count){_189=document.createTextNode(" ("+_17f.count+") ");_184.appendChild(_189);}var _18a=_169.query.scope[0];_18a=_18a.toUpperCase();var _18b=!ibmPortalConfig.isUserLoggedIn;var _18c=_23b(_169.oid);if(_18a=="PERSONAL_PUBLIC"||_18a=="PERSONAL_PRIVATE"||ibmPortalCPConfig.operations.canDeleteOtherUsersTags){if(!_18b&&_18c=="true"){var _18d=i$.createDom("span",{"dir":_14c},_173);var _18e=i$.createDom("a",{"title":dojoless_resource_AddTag.link_delete,"role":"button","href":"javascript:;"},_18d);var _18f=i$.createDom("div",{"style":"width: 10px; height: 10px;"},_18e);_18f.setAttribute("class",_14a);_18f.setAttribute("alt",dojoless_resource_AddTag.link_delete);var _190;try{_190=document.defaultView.getComputedStyle(_18f);}catch(e){_190=_18f.currentStyle;}if(_190.backgroundImage=="none"){var _191=i$.createDom("div",{"style":"width: 10px; height: 10px;display:inline-block;"},_18e);var _192=document.createTextNode("x");_191.appendChild(_192);}i$.bindDomEvt(_18e,"onclick",function(evt){com_ibm_widgets_resolver.deleteTag(_169,com_ibm_widgets_resolver.fetchSpecificScopeTags,_183);});i$.bindDomEvt(_18e,"onkeypress",function(evt){var _193=evt.keyCode;if(_193==0&&evt.charCode==32){_193=32;}if(_193==13||_193==32){com_ibm_widgets_resolver.deleteTag(_169,com_ibm_widgets_resolver.fetchSpecificScopeTags,_183);}});}}if(_180<(_16b-1)){_189=document.createTextNode(_164);_173.appendChild(_189);}}});var _194=i$.byId(_140+_169.oid);if(_194!=null){_194.setAttribute("onclick","com_ibm_widgets_tagging.tagMenu('"+_169.oid+"')");var _195=i$.bindDomEvt(_194,"onkeypress",i$.scope(this,function(_196){var _197=_196.keyCode;if(_196.keyCode==0&&_196.charCode==32){_197=32;}switch(_197){case 40:case 32:case 38:case 13:var _198=i$.byId(_142+_169.oid);if(_198==null){com_ibm_widgets_tagging.tagMenu(_169.oid);var _199=_13d+_169.oid;var _19a=i$.byId(_199);var _19b=_19a.firstChild;window.setTimeout(function(){_19b.focus();},200);if(_196.preventDefault){_196.preventDefault();}if(_196.returnValue){_196.returnValue=false;}}return false;break;case 39:case 40:var _198=i$.byId(_142+_169.oid);if(_198!=null&&this.taggingDropDownMenu!=null){this.taggingDropDownMenu.close();}break;}}));}if(_16b==_16a){_174.setAttribute("style","display:none");var _17b=i$.byId("tagginglightdivider3_"+_169.oid);if(_17b!=null){_17b.setAttribute("class","none");_17b.setAttribute("style","display:inline-block");}if(_17c!=null){_17c.setAttribute("class","divider1Show");}}var _19c=i$.byId(_141+_169.oid);_19c.style.backgroundColor="white";var _19d;try{_19d=document.defaultView.getComputedStyle(_19c);}catch(e){_19d=_19c.currentStyle;}var _194=i$.byId(_140+_169.oid);var _17b=i$.byId("tagginglightdivider2_"+_169.oid);if(_19d.backgroundColor=="rgb(0, 0, 0)"){var _19e=i$.byId("InputImageDiv");if(_19e==null){var _19f=i$.createDom("div",{"id":"InputImageDiv","dir":_14c},_19c);var _1a0=document.createTextNode("+");_19f.appendChild(_1a0);}}_19c.style.visibility="visible";if(_169.showDialogLauncher!="false"){var _1a1=_17d||_16e;var _19c=i$.byId(_141+_169.oid);var item=i$.byId(_148+_169.oid);var _171=i$.byId("tagginglightinput_"+_169.oid);if(_171){var _1a2=_243(_169.oid);if(_1a2!=null&&_1a2=="true"){_171.setAttribute("class","addtagShow");}else{_171.setAttribute("class","addtag");}}var _1a3=i$.bindDomEvt(_19c,"onclick",function(evt){var item=i$.byId(_148+_169.oid);var _1a4=i$.byId("tagginglightinput_"+_169.oid);var _1a5=_1b2(_169.oid);_1a5=_15a(_1a5);var _1a6=_1a5[0].toUpperCase();if(_1a4){var _1a7=_243(_169.oid);if(_1a7=="true"||_1a6!=="COMMUNITY"){_1a4.setAttribute("class","addtagShow");item.value="";}if(_1a6=="COMMUNITY"){if(_169.count!=null){com_ibm_widgets_resolver.fetchSpecificScopeTags(_169.oid,"PERSONAL_PUBLIC",_169.count,com_ibm_widgets_tagging.displayTagsLight);}_246(_169.oid,true);}else{_246(_169.oid,false);}if(_1a4.getAttribute("class").indexOf("addtag"<0)){item=i$.byId(_148+_169.oid);item.focus();}}});var _1a3=i$.bindDomEvt(_19c,"onkeypress",function(evt){var _1a8=evt.keyCode;if(_1a8==0&&evt.charCode==32){_1a8=32;}if(_1a8!=9&&(_1a8==13||_1a8==32)){var item=i$.byId(_148+_169.oid);var _1a9=i$.byId("tagginglightinput_"+_169.oid);var _1aa=_1b2(_169.oid);_1aa=_15a(_1aa);var _1ab=_1aa[0].toUpperCase();if(_1a9){var _1ac=_243(_169.oid);if(_1ac=="true"||_1ab!=="COMMUNITY"){_1a9.setAttribute("class","addtagShow");item.value="";}if(_1ab=="COMMUNITY"){if(_169.count!=null){com_ibm_widgets_resolver.fetchSpecificScopeTags(_169.oid,"PERSONAL_PUBLIC",_169.count,com_ibm_widgets_tagging.displayTagsLight);}_246(_169.oid,true);}else{_246(_169.oid,false);}if(_1a9.getAttribute("class").indexOf("addtag"<0)){item=i$.byId(_148+_169.oid);item.focus();}}}});var _1ad=i$.byId(_148+_169.oid);var _1ae=i$.byId(_147+_169.oid);var _1af=i$.bindDomEvt(_1ad,"onkeydown",function(e){var _1b0=false;var _1b1=_1b2(_169.oid);var _1b3=_1b1.toUpperCase();if(_1b3=="PERSONAL_PRIVATE"){_1b0=true;}_169.query.scope=_1b1;keyDownHandler(e,_1ad,_169,_1b0);});}var _1b4=i$.createDom("form",{"method":"GET","action":".","name":"hiddenFormLight"},_1ae);var _1b5=i$.createDom("input",{"type":"hidden","name":"hiddenFormQNameSelectedTag"},_1b4);var _1b6=i$.createDom("input",{"type":"hidden","name":"hiddenFormQNameTagCloudRedirectView"},_1b4);var _1b7=i$.createDom("input",{"type":"hidden","name":"hiddenFormQNameSelectedTagMode"},_1b4);var _1b8=i$.createDom("input",{"type":"hidden","name":"hiddenFormUri"},_1b4);if(_169.tagClickTransmitScopes=="true"){var _1b9=_169.query.resourceCategories;if(_1b9&&_1b9!==""){var _1ba="{http://www.ibm.com/xmlns/prod/websphere/portal/v7.0/portal-contextual-portal}sc";var _1bb=_1b9.split(_163);for(var i=0;i<_1bb.length;i++){var _1bc=i$.createDom("input",{type:"hidden",name:_1ba,value:_1bb[i]},_1b4);}}}var _176=i$.byId(_142+_169.oid);if(_176!=null&&this.taggingDropDownMenu!=null){this.taggingDropDownMenu.close();}};var _1bd=function(item){var _1be=item.parentNode;var _1bf=_1be.childNodes;var _1c0=_1bf.length;var i=0;var _1c1=0;for(i=0;i<_1c0;i++){if(_1bf.item(i)==item){_1c1=i;break;}}if(_1c1==_1c0-1){_1c1=0;}else{_1c1=_1c1+1;var j=_1c1;for(j;j<_1c0;j++){if(!(_1bf.item(j).innerHTML==null||_1bf.item(j).innerHTML=="")){break;}}if(j==_1c0){_1c1=0;}else{_1c1=j;}}var _1c2=_1bf.item(_1c1).id;var temp=_1bf.item(_1c1);temp.focus();return i$.byId(_1bf.item(_1c1).id);};var _1c3=function(item){var _1c4=item.parentNode;var _1c5=_1c4.childNodes;var _1c6=_1c5.length;var i=0;var _1c7=0;for(i=0;i<_1c6;i++){if(_1c5.item(i)==item){_1c7=i;break;}}if(_1c7==0){_1c7=_1c6-1;if(_1c5.item(_1c7).innerHTML==""==null||_1c5.item(_1c7).innerHTML==""){_1c7=_1c7-1;}}else{_1c7=_1c7-1;var j=_1c7;for(j;j>0;j--){if(!(_1c5.item(j).innerHTML==""==null||_1c5.item(j).innerHTML=="")){break;}}_1c7=j;}var _1c8=_1c5.item(_1c7).id;var temp=_1c5.item(_1c7);temp.focus();return i$.byId(_1c5.item(_1c7).id);};var _1c9=function(_1ca,_1cb,_1cc){var _1cd="{http://www.ibm.com/xmlns/prod/websphere/portal/v7.0/portal-contextual-portal}stv_all";var _1ce="{http://www.ibm.com/xmlns/prod/websphere/portal/v7.0/portal-contextual-portal}stv_suggestedlinks";var _1cf="{http://www.ibm.com/xmlns/prod/websphere/portal/v7.0/portal-contextual-portal}stv_analytics";var _1d0="{http://www.ibm.com/xmlns/prod/websphere/portal/v7.0/portal-contextual-portal}tcrv";var _1d1="{http://www.ibm.com/xmlns/prod/websphere/portal/v7.0/portal-contextual-portal}stm";var _1d2="tm:tc";var _1d3="tm:prp";var _1d4="all";var _1d5="community";var _1d6=["personal_public","community"];var _1d7="COMMUNITY_PERSONAL_PUBLIC";var _1d8="personal";var _1d9="personal_public";var _1da="personal_private";var _1db=true;var _1dc="PRIVATE";var _1dd="PUBLIC";var _1de="all";var _1df="suggested_links";var _1e0="analytics";var _1e1="TAG_CENTER";var _1e2="PUBLIC_RENDER_PARAMETER";var _1e3=false;if(!this.prefix||this.prefix===""){if(document.hiddenFormLight[_1cb].hiddenFormQNameSelectedTag!=null){_1e3=true;document.hiddenFormLight[_1cb].hiddenFormQNameSelectedTag.value=_1ca;document.hiddenFormLight[_1cb].hiddenFormQNameSelectedTag.name=_1cd;}else{document.hiddenFormLight.hiddenFormQNameSelectedTag.value=_1ca;document.hiddenFormLight.hiddenFormQNameSelectedTag.name=_1cd;}if(document.hiddenFormLight[_1cb].hiddenFormQNameTagCloudRedirectView!=null){_1e3=true;document.hiddenFormLight[_1cb].hiddenFormQNameTagCloudRedirectView.value=_1de;document.hiddenFormLight[_1cb].hiddenFormQNameTagCloudRedirectView.name=_1d0;}if(document.hiddenFormLight[_1cb].hiddenFormQNameSelectedTagMode!=null){_1e3=true;document.hiddenFormLight[_1cb].hiddenFormQNameSelectedTagMode.value=_1de;document.hiddenFormLight[_1cb].hiddenFormQNameSelectedTagMode.name=_1d1;}else{document.hiddenFormLight.hiddenFormQNameTagCloudRedirectView.value=_1de;document.hiddenFormLight.hiddenFormQNameTagCloudRedirectView.name=_1d0;document.hiddenFormLight.hiddenFormQNameSelectedTagMode.value=_1de;document.hiddenFormLight.hiddenFormQNameSelectedTagMode.name=_1d1;}}else{if(this.prefix===_prefixSuggestedLinks){if(document.hiddenFormLight[_1cb].hiddenFormQNameSelectedTag!=null){_1e3=true;document.hiddenFormLight[_1cb].hiddenFormQNameSelectedTag.value=_1ca;document.hiddenFormLight[_1cb].hiddenFormQNameSelectedTag.name=_1ce;document.hiddenFormLight[_1cb].hiddenFormQNameTagCloudRedirectView.value=_1df;document.hiddenFormLight[_1cb].hiddenFormQNameTagCloudRedirectView.name=_1d0;document.hiddenFormLight[_1cb].hiddenFormQNameSelectedTagMode.value=_1df;document.hiddenFormLight[_1cb].hiddenFormQNameSelectedTagMode.name=_1d1;}else{document.hiddenFormLight.hiddenFormQNameSelectedTag.value=_1ca;document.hiddenFormLight.hiddenFormQNameSelectedTag.name=_1ce;document.hiddenFormLight.hiddenFormQNameTagCloudRedirectView.value=_1df;document.hiddenFormLight.hiddenFormQNameTagCloudRedirectView.name=_1d0;document.hiddenFormLight.hiddenFormQNameSelectedTagMode.value=_1df;document.hiddenFormLight.hiddenFormQNameSelectedTagMode.name=_1d1;}}else{if(this.prefix===_prefixAnalytics){if(document.hiddenFormLight[_1cb].hiddenFormQNameSelectedTag!=null){_1e3=true;document.hiddenFormLight[_1cb].hiddenFormQNameSelectedTag.value=_1ca;document.hiddenFormLight[_1cb].hiddenFormQNameSelectedTag.name=_1cf;document.hiddenFormLight[_1cb].hiddenFormQNameTagCloudRedirectView.value=_1e0;document.hiddenFormLight[_1cb].hiddenFormQNameTagCloudRedirectView.name=_1d0;document.hiddenFormLight[_1cb].hiddenFormQNameSelectedTagMode.value=_1e0;document.hiddenFormLight[_1cb].hiddenFormQNameSelectedTagMode.name=_1d1;}else{document.hiddenFormLight.hiddenFormQNameSelectedTag.value=_1ca;document.hiddenFormLight.hiddenFormQNameSelectedTag.name=_1cf;document.hiddenFormLight.hiddenFormQNameTagCloudRedirectView.value=_1e0;document.hiddenFormLight.hiddenFormQNameTagCloudRedirectView.name=_1d0;document.hiddenFormLight.hiddenFormQNameSelectedTagMode.value=_1e0;document.hiddenFormLight.hiddenFormQNameSelectedTagMode.name=_1d1;}}}}if(ibmPortalCPConfig.isTagCenterAvailable){var _1e4=ibmPortalCPConfig.tagging.inline.tagClickActionMode;if(_1e4==_1e1){if(document.hiddenFormLight[_1cb].hiddenFormUri!=null){_1e3=true;document.hiddenFormLight[_1cb].hiddenFormUri.value=_1d2;document.hiddenFormLight[_1cb].hiddenFormUri.name="uri";}else{document.hiddenFormLight.hiddenFormUri.value=_1d2;document.hiddenFormLight.hiddenFormUri.name="uri";}}else{if(document.hiddenFormLight[_1cb].hiddenFormUri!=null){_1e3=true;document.hiddenFormLight[_1cb].hiddenFormUri.value=_1d3;}else{document.hiddenFormLight.hiddenFormUri.value=_1d3;}}}if(_1e3){document.hiddenFormLight[_1cb].submit();}else{document.hiddenFormLight.submit();}};function _1e5(aID,rsID,max){var _1e6=i$.byId("handleMoreTagsDialog"+rsID);if(_1e6==null){if(i$.isIE<9){_146=new wpModules.dialog.Dialog({id:"handleMoreTagsDialog"+rsID,markup:aID,autoPosition:_1e7(rsID),posHandler:"horizontallyCenteredBelow",autoResize:true,metrics:{width:max},autoClose:true});}else{_146=new wpModules.dialog.Dialog({id:"handleMoreTagsDialog"+rsID,markup:aID,autoPosition:_1e7(rsID),posHandler:"horizontallyCenteredBelow",autoResize:true,autoClose:true});}_146.open();}};function _1e8(id,lang,dir,_1e9,_1ea,_1eb,_1ec){return i$.createDom("a",{"id":id,"lang":lang,"dir":dir,"tabIndex":"0","href":"javascript:;","role":"menuitem","class":_13c,"onclick":"com_ibm_widgets_resolver.fetchSpecificScopeTags('"+_1e9+"','"+_1ec+"','"+_1ea+"', com_ibm_widgets_tagging.displayTagsLight);",},_1eb);};function _1e7(rsID){return i$.byId("moretagslink_"+rsID);};function _15a(_1ed){_1ed=_1ed.toUpperCase();switch(_1ed){case ("PERSONAL_PRIVATE"):_1ed=["personal_private"];break;case ("PERSONAL_PUBLIC"):_1ed=["personal_public"];break;case ("COMMUNITY_PERSONAL_PUBLIC"):_1ed=["community","personal_public"];break;default:_1ed=["community","personal_public"];break;}return _1ed;};function _1ee(_1ef){i$.forEach(i$.query(_12e),function(_1f0,_1f1,_1f2){var _1f3="TaggingExtraWidget_"+_1f1;var _1f4=_1b2(_1ef);_1f4=_15a(_1f4);var _1f5={"count":_1f1,"oid":_1f0.getAttribute("resourceId"),"tagListParentId":_1f3,"tagsClickable":_1f0.getAttribute("tagsClickable")||ibmPortalCPConfig.tagging.inline.tagsClickable,"showDialogLauncher":_1f0.getAttribute("showDialogLauncher")||ibmPortalCPConfig.tagging.inline.showDialogLauncher,"maxResults":_1f0.getAttribute("maxResults")||ibmPortalCPConfig.tagging.inline.maxResults,"customMessageNoTags":_1f0.getAttribute("customMessageNoTags")||dojoless_resource_AddTag.text_no_tags,"countsEnabled":_1f0.getAttribute("countsEnabled")||ibmPortalCPConfig.tagging.inline.countsEnabled,"deletingEnabled":_1f0.getAttribute("deletingEnabled")||ibmPortalCPConfig.tagging.inline.deletingEnabled,"tagClickTransmitScopes":_1f0.getAttribute("tagClickTransmitScopes")||ibmPortalCPConfig.tagging.inline.tagClickTransmitScopes,"privateTaggingEnabled":_1f0.getAttribute("privateTaggingEnabled")||ibmPortalCPConfig.tagging.inline.privateTaggingEnabled,"showAllTags":false};_1f5.query={"order":_1f0.getAttribute("order")||ibmPortalCPConfig.tagging.inline.order,"orderMetric":_1f0.getAttribute("orderMetric")||ibmPortalCPConfig.tagging.inline.orderMetric,"resourceType":_1f0.getAttribute("resourceType")||ibmPortalCPConfig.tagging.inline.resourceType,"scope":_1f4,"resourceCategories":_1f0.getAttribute("resourceCategories")||ibmPortalCPConfig.tagging.inline.resourceCategories};if(_1f0.getAttribute("deletingEnabled")==null||_1f0.getAttribute("deletingEnabled")=="undefined"){if(ibmPortalCPConfig.tagging.inline.deletingEnabled!==null&&typeof ibmPortalCPConfig.tagging.inline.deletingEnabled!=="undefined"){_1f5.deletingEnabled=ibmPortalCPConfig.tagging.inline.deletingEnabled;}else{_1f5.deletingEnabled="true";}}else{_1f5.deletingEnabled=_1f0.getAttribute("deletingEnabled");}_149[_1f1]=_1f0.getAttribute("resourceId");if(_1ef==_149[_1f1]){var _1f6=_134;if(i$.byId(_1f3)!=null){var _1f7=i$.createDom("span",{"id":_1f3,"class":_1f6,"dir":_14c},_1f0);}com_ibm_widgets_resolver.fetchTagsLight(_1f5,_1f8);}});};var _1f8=function(tags,_1f9){var _1fa=tags.length;var _1fb=(_1f9.maxResults<_1fa&&_1f9.showAllTags==false)?_1f9.maxResults:_1fa;var _1fc="TagsExtra_"+_1f9.oid;var _1fd=_1fc+_132+_1f9.oid;var _1fe=i$.createDom("div",{"id":"TagsExtraDiv","dir":_14c});var _1ff=null;_1ff=i$.byId(_1fc);if(_1ff==null){_1ff=i$.createDom("span",{"id":_1fc,"class":_14b,"dir":_14c},_1fe);}var _200=null;_200=i$.byId(_1fd);if(_200==null){_200=i$.createDom("span",{"id":_1fd,"dir":_14c},_1ff);}else{while(_200.hasChildNodes()){_200.removeChild(_200.lastChild);}}if(tags.length<1){var _201=i$.createDom("div",{"title":_1f9.customMessageNoTags,"class":"lotusTagCloud lotusui","dir":_14c},_200);var _202=document.createTextNode(_1f9.customMessageNoTags);_201.appendChild(_202);}var max=0;i$.forEach(tags,function(_203,_204,_205){if(_204<_1fa&&_204>=_1fb){var _206=_203.name;var _207=_203.id;_207=_207.substring(8);var _208;var _209=i$.createDom("a",{"lang":ibmPortalConfig.locale,"href":"javascript:;","dir":_14c},_200);if(_1f9.tagsClickable==="false"){_208=i$.createDom("span",{"title":_206,"dir":_14c},_209);}else{_208=i$.createDom("span",{"title":_206,"href":"javascript:;","dir":_14c},_209);}var _20a=document.createTextNode(_206);_208.appendChild(_20a);var _20b=_1f9.count;var _20c=_1f9.tagClickActionMode;_209.setAttribute("onclick","com_ibm_widgets_tagging.selectTagRedirectFunction('"+_206+"' , '"+_20b+"','"+_20c+"')");var _20d=i$.bindDomEvt(_209,"onkeypress",function(evt){var _20e=evt.keyCode;if(_20e==0&&evt.charCode==32){_20e=32;}if(_20e==13||_20e==32){_1c9(_206,_20b,_20c);}});var _20f=_206;if(_1f9.countsEnabled&&_203.count){_20a=document.createTextNode(" ("+_203.count+") ");_208.appendChild(_20a);_20f=_20f+"("+_203.count+")";}var _210=_1f9.query.scope;_210=_210[0];_210=_210.toUpperCase();var _211=_23b(_1f9.oid);if(_210=="PERSONAL_PUBLIC"||_210=="PERSONAL_PRIVATE"||ibmPortalCPConfig.operations.canDeleteOtherUsersTags){if(_211=="true"){var _212=i$.createDom("span",{"id":"Delete_"+_1f9.oid+"_"+_206,"dir":_14c},_200);var _213=i$.createDom("a",{"title":dojoless_resource_AddTag.link_delete,"role":"button","href":"javascript:;","dir":_14c},_212);var _214=i$.createDom("img",{"style":"width: 10px; height: 10px;","dir":_14c,"src":"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="},_213);_214.setAttribute("class",_14a);_214.setAttribute("alt",dojoless_resource_AddTag.link_delete);_213.setAttribute("onclick","com_ibm_widgets_resolver.deleteMoreTag('"+_1f9.oid+"' , '"+"displayMoreTags"+"','"+_207+"')");i$.bindDomEvt(_213,"onkeypress",function(evt){var _215=evt.keyCode;if(_215==0&&evt.charCode==32){_215=32;}if(_215==13||_215==32){com_ibm_widgets_resolver.deleteMoreTag(_1f9.oid,_1f8,_207);}});}}if(_204<(_1fa-1)){_20a=document.createTextNode(", ");_200.appendChild(_20a);if(i$.isIE<9){var _216=i$.createDom("br",{});}else{var _217=i$.createDom("br",{});_200.appendChild(_217);}_20f=_20f+",";}var lDiv=document.createElement("lDiv");document.body.appendChild(lDiv);lDiv.style.position="absolute";lDiv.style.left=-1000;lDiv.style.top=-1000;lDiv.innerHTML=_20f;var _218={width:lDiv.clientWidth,height:lDiv.clientHeight};document.body.removeChild(lDiv);lDiv=null;var _219=_218.width+45;max=_219>max?_219:max;}});var _21a=i$.createDom("form",{"method":"GET","action":".","name":"hiddenFormLight"},_1ff);var _21b=i$.createDom("input",{"type":"hidden","name":"hiddenFormQNameSelectedTag"},_21a);var _21c=i$.createDom("input",{"type":"hidden","name":"hiddenFormQNameTagCloudRedirectView"},_21a);var _21d=i$.createDom("input",{"type":"hidden","name":"hiddenFormQNameSelectedTagMode"},_21a);var _21e=i$.createDom("input",{"type":"hidden","name":"hiddenFormUri"},_21a);if(_1f9.tagClickTransmitScopes=="true"){var _21f=_1f9.query.resourceCategories;if(_21f&&_21f!==""){var _220="{http://www.ibm.com/xmlns/prod/websphere/portal/v7.0/portal-contextual-portal}sc";var _221=_21f.split(_163);for(var i=0;i<_221.length;i++){var _222=i$.createDom("input",{type:"hidden",name:_220,value:_221[i]},_21a);}}}var _223=_1f9.query.scope;_223=_223[0];_223=_223.toUpperCase();if(_223=="PERSONAL_PUBLIC"||_223=="PERSONAL_PRIVATE"){max=max+10;}if(_1fa==_1fb){var _224=i$.byId("handleMoreTagsDialog"+_1f9.oid);if(_224!=null&&_146!=null){_146.close();}var _225=i$.byId("tagginglightmoretagslink_"+_1f9.oid);_225.setAttribute("style","display:none");var _226=i$.byId("tagginglightdivider3_"+_1f9.oid);if(_226!=null){_226.setAttribute("class","none");_226.setAttribute("style","display:inline-block");}if(divider2!=null){divider2.setAttribute("class","divider1Show");}}else{_1e5(_1fe.innerHTML,_1f9.oid,max);}};var _227=function(_228,_229){var _22a=i$.byId(_13e+_228);if(_229=="COMMUNITY"){_229="COMMUNITY_PERSONAL_PUBLIC";}if(_22a==null){var _22b=document.createElement("input");_22b.setAttribute("id",_13e+_228);_22b.setAttribute("type","hidden");_22b.setAttribute("name","currentScope");_22b.setAttribute("value",_229);var _22c=i$.byId(_13b+_228);_22c.appendChild(_22b);}else{_22a.setAttribute("value",_229);}};var _22d=function(_22e,_22f){var _230=i$.byId(_13f+_22e);if(_230==null){var _231=document.createElement("input");_231.setAttribute("id",_13f+_22e);_231.setAttribute("type","hidden");_231.setAttribute("name","currentCount");_231.setAttribute("value",_22f);var _232=i$.byId(_13b+_22e);_232.appendChild(_231);}else{_230.setAttribute("value",_22f);}};var _233=function(_234){var _235=i$.byId(_135+_234);if(_235!=null){return _235.value;}};var _161=function(_236,_237){var _238=i$.byId(_135+_236);if(_238==null){var _239=i$.createDom("input",{},_23a);_239.setAttribute("id",_135+_236);_239.setAttribute("type","hidden");_239.setAttribute("name","privateTaggingEnabled");_239.setAttribute("value",_237);var _23a=i$.byId(_13b+_236);_23a.appendChild(_239);}else{_238.setAttribute("value",_237);}};var _23b=function(_23c){var _23d=i$.byId(_136+_23c);if(_23d!=null){return _23d.value;}};var _156=function(_23e,_23f){var _240=i$.byId(_136+_23e);if(_240==null){var _241=i$.byId(_13b+_23e);var _242=document.createElement("input");_242.setAttribute("id",_136+_23e);_242.setAttribute("type","hidden");_242.setAttribute("name","deleteTaggingEnabled");_242.setAttribute("value",_23f);_241.appendChild(_242);}else{_240.setAttribute("value",_23f);}};var _243=function(_244){var _245=i$.byId(_137+_244);if(_245!=null){return _245.value;}};var _246=function(_247,_248){var _249=i$.byId(_137+_247);if(_249==null){var _24a=i$.createDom("input",{},_24b);_24a.setAttribute("id",_137+_247);_24a.setAttribute("type","hidden");_24a.setAttribute("name","plusClicked");_24a.setAttribute("value",_248);var _24b=i$.byId(_13b+_247);_24b.appendChild(_24a);}else{_249.setAttribute("value",_248);}};var _1b2=function(_24c){var _24d=i$.byId(_13e+_24c);if(_24d!=null){return _24d.value;}};var _24e=function(_24f){var _250=i$.byId(_13f+_24f);if(_250!=null){return _250.value;}};var _251=function(_252){var _253={"oid":_252};var _254=_13a+_252;var _255=i$.byId(_13b+_252);var item=i$.byId(_148+_253.oid);var _256=i$.byId("tagginglightinput_"+_253.oid);if(_256){_256.setAttribute("class","addtag");_246(_252,false);}var _257=i$.createDom("div",{"id":_254,"tabIndex":"0","class":_13c,"dir":_14c});var _258=_13d+_252;var _259=i$.createDom("div",{"id":_258,"aria-label":dojoless_resource_AddTag.tagging_menu,"role":"menu","dir":_14c},_257);var _258=_13d+_252;var _25a=null;var _25b=null;var _25c=null;var _25d=_1b2(_252);var _25e=_24e(_252);var _25f=_233(_252);com_ibm_widgets_resolver.clearTaggingErrorMessage(_252);switch(_25d){case ("PERSONAL_PRIVATE"):var _260=dojoless_resource_AddTag.Menu_tagging;var _25e=_24e(_252);var _261=_260+"_"+"Link"+"_"+_252;_25b=_1e8(_261,ibmPortalConfig.locale,_14c,_252,_25e,_259,"COMMUNITY_PERSONAL_PUBLIC");var _262=document.createTextNode(_260);_25b.appendChild(_262);var _263=dojoless_resource_AddTag.Menu_public_tagging;var _264=_263+"_"+"Link"+"_"+_252;_25a=_1e8(_264,ibmPortalConfig.locale,_14c,_252,_25e,_259,"PERSONAL_PUBLIC");var _265=document.createTextNode(_263);_25a.appendChild(_265);break;case ("PERSONAL_PUBLIC"):var _260=dojoless_resource_AddTag.Menu_tagging;var _261=_260+"_"+"Link"+"_"+_252;_25b=_1e8(_261,ibmPortalConfig.locale,_14c,_252,_25e,_259,"COMMUNITY_PERSONAL_PUBLIC");var _262=document.createTextNode(_260);_25b.appendChild(_262);if(_25f=="true"){var _266=dojoless_resource_AddTag.Menu_private_tagging;var _267=_266+"_"+"Link"+"_"+_252;_25c=_1e8(_267,ibmPortalConfig.locale,_14c,_252,_25e,_259,"PERSONAL_PRIVATE");var _265=document.createTextNode(_266);_25c.appendChild(_265);}break;case ("COMMUNITY_PERSONAL_PUBLIC"):var _263=dojoless_resource_AddTag.Menu_public_tagging;var _264=_263+"_"+"Link"+"_"+_252;_25a=_1e8(_264,ibmPortalConfig.locale,_14c,_252,_25e,_259,"PERSONAL_PUBLIC");var _265=document.createTextNode(_263);_25a.appendChild(_265);if(_25f=="true"){var _266=dojoless_resource_AddTag.Menu_private_tagging;var _267=_266+"_"+"Link"+"_"+_252;_25c=_1e8(_267,ibmPortalConfig.locale,_14c,_252,_25e,_259,"PERSONAL_PRIVATE");var _265=document.createTextNode(_266);_25c.appendChild(_265);}break;default:allTagsLabel=dojoless_resource_AddTag.title_community_tags;}if(_25d!="COMMUNITY_PERSONAL_PUBLIC"){_259.appendChild(_25b);_259.appendChild(i$.createDom("br",{},_25b));}if(_25d!="PERSONAL_PUBLIC"){_259.appendChild(_25a);_259.appendChild(i$.createDom("br",{},_25a));}if(_25d!="PERSONAL_PRIVATE"&&_25c!=null){_259.appendChild(_25c);_259.appendChild(i$.createDom("br",{},_25c));}_268(_257.innerHTML,_253.oid);};var _269=function(_26a,item,_26b){var _26c=item.parentNode;var _26d=_26c.childNodes;var _26e=item;var _26f=String.fromCharCode(_26a),_270=_26f.toLowerCase(),_271=_272(_26b),_273=_26b.innerHTML.charAt(_271),_274=_26d,_275;if(_270==_273.toLowerCase()){var _276=0;var i=0;_274=_26e.childNodes;var len=_274.length;for(i;i<len;i++){if(_274.item(i)==_26b){break;}}_276=i;var _277=_278(_274,_276,_273,_26f);if((_277!=item)){_279(_277);}}else{_274=_26e.childNodes;for(var k=0,nal=_274.length;k<nal;k++){_271=_272(_274[k]);_275=_274[k].innerHTML;if((_270==_275.charAt(_271).toLowerCase())){_279(_274[k]);break;}}}};function _279(item){item.focus();};function _278(_27a,_27b,_27c,_27d){var _27e,_27f=false,_280,_281=_27a.length,_282=(_27b==_281-1)?-1:_27b;for(var i=_282+1;i<_281;i++){_27e=_272(_27a[i]);_280=_27a[i].innerHTML.charAt(_27e).toLowerCase();if(_280==_27d.toLowerCase()){_27b=i;break;}if(i==_27a.length-1){if(_27f){break;}i=-1;_281=_27b;_27f=true;}}return _27a[_27b];};function _272(item){var ltr=null;var loc=ibmCfg.portalConfig.locale;if(loc!=null){var _283=i$.isRTL(loc);if(_283!=null){if(_283){ltr=false;}else{ltr=true;}}}if((item.text)&&(!ltr)){return item.text.length-1;}return 0;};function _284(rsID){return i$.byId(_140+rsID);};var _268=function(aID,rsID){this.taggingDropDownMenu=null;this.taggingDropDownMenu=new wpModules.dialog.Dialog({id:_142+rsID,markup:aID,posHandler:"horizontallyCenteredBelow",autoPosition:_284(rsID),autoResize:true,displayCloseOverlay:true,autoClose:true,callbackFn:function(arg){var _285=i$.byId(_140+rsID);if(_285!=null){window.setTimeout(function(){_285.focus();},200);}}});this.taggingDropDownMenu.open();var _286=dojoless_resource_AddTag.Menu_private_tagging;var _287=_286+"_"+"Link"+"_"+rsID;var _288=dojoless_resource_AddTag.Menu_public_tagging;var _289=_288+"_"+"Link"+"_"+rsID;var _28a=dojoless_resource_AddTag.Menu_tagging;var _28b=_28a+"_"+"Link"+"_"+rsID;var _28c=i$.byId(_13d+rsID);if(_28c!=null){var _28d=i$.bindDomEvt(_28c,"onkeydown",i$.scope(this,function(_28e){switch(_28e.keyCode){case 32:var _28f=document.activeElement;if(_28f.id==_289){com_ibm_widgets_resolver.fetchSpecificScopeTags(rsID,"PERSONAL_PUBLIC",0,com_ibm_widgets_tagging.displayTagsLight);}else{if(_28f.id==_28b){com_ibm_widgets_resolver.fetchSpecificScopeTags(rsID,"COMMUNITY_PERSONAL_PUBLIC",0,com_ibm_widgets_tagging.displayTagsLight);}else{com_ibm_widgets_resolver.fetchSpecificScopeTags(rsID,"PERSONAL_PRIVATE",0,com_ibm_widgets_tagging.displayTagsLight);}}break;case 9:if(this.taggingDropDownMenu!=null){this.taggingDropDownMenu.close();}break;case 27:if(this.taggingDropDownMenu!=null){this.taggingDropDownMenu.close();}break;case 38:var _28f=document.activeElement;var _290=_1c3(_28f);if(_290!=null){_290.focus();}if(_28e.preventDefault){_28e.preventDefault();}return false;break;case 39:break;case 40:var _28f=document.activeElement;var _290=_1bd(_28f);if(_290!=null){_290.focus();}if(_28e.preventDefault){_28e.preventDefault();}return false;break;default:var item=document.activeElement;_269(_28e.keyCode,_28c,item);break;}}));}};return {TAGGING_WIDGET_TAGS_ID_PREFIX:"tagginglighttagslist_",TAGGING_WIDGET_ID_PREFIX:"TagWidget_",tagMenu:_251,displayTagsLight:_162,displayMoreTags:_1f8,selectTagRedirectFunction:_1c9,getMoreTags:_1ee,tagIdsArray:_149,getCurrentDisplayedCount:_24e,getCurrentDisplayedTagScope:_1b2,setPlusClicked:_246,};})();"use strict";var com_ibm_widgets_rating=(function(){var _291=".stars";var _292="RatingWidget_";var _293;var _294;var _295;var _296;var _297;var _298=ibmPortalCPConfig.rating.dialog.numStars;var _299="ratinglight_";var _29a="ratinglightstars_";var _29b="ratinglight_CurrentScope";var _29c="ratinglight_privateRatingEnabled";var _29d="ratinglight_deleteRatingEnabled";var _29e="ratinglightlabeltext_";var _29f="ratinglightstarsfull_";var _2a0="ratinglightstarsempty_";var _2a1="ratinglightdescriptionlabel_";var _2a2="ratinglightmenulink_";var _2a3="ratinglightdivider1_";var _2a4="ratinglightdivider2_";var _2a5=14;var _2a6="px";var _2a7="(";var _2a8=")";var _2a9="/";var _2aa="RatingMenuDiv_";var _2ab="RatingMenu_";var _2ac="RatingDistribution_";var _2ad="RatingDistributionDiv_";var _2ae="ratingDistributionEmptyBar";var _2af="ratingDistributionFullBar";var _2b0="ratingDistributionEmptyBarIE8";var _2b1="ratingDistributionFullBarIE8";var _2b2="ratingDistributionText";var _2b3="totalRatingText";var _2b4="horizontalDivider";var _2b5="horizontalDivider2";var _2b6="horizontalDivider3";var _2b7=14;var _2b8="ratingDistributionDiv";var _2b9="ratingDistributionDiv";var _2ba="textDiv";var _2bb="textDivID";var _2bc;var _2bd="ratingsDropDownMenuDialog_";var _2be="wpRatingLightMenuDialogCSS ";var _2bf="ltr";var _2c0="ratingDistributionFullBar_RTL";var _2c1="ratingDistributionFullBarIE8_RTL";var _2c2="PERSONAL_PRIVATE";var _2c3="PERSONAL_PUBLIC";var _2c4="COMMUNITY_PERSONAL_PUBLIC";var _2c5="COMMUNITY";var _2c6="DojolessRating.addOnLoad";var _2c7=" DojolessRating.displayDojolessRatings ";var _2c8=" DojolessRating.getRatings";var _2c9="DojolessRating.getRatingMenu";var _2ca="ratinglightmenuDIV_";var _2cb="ratinglightdivider1_";var _2cc="menuShow";var _2cd="divider1Show";var _2ce="divider1";var _2cf="divider2Show";var _2d0="divider2";var _2d1="o";var _2d2="*";var _2d3="starElements";var _2d4="starElement";var _2d5="_span";var _2d6=i$.addOnLoad;if(typeof wp_wcm_async!="undefined"){_2d6=i$.scope(wp_wcm_async,wp_wcm_async.addOnPageLoad);}_2d6(function(){if(ibmPortalCPConfig!=null&&ibmPortalCPConfig.operations!=null&&ibmPortalCPConfig.operations.canViewRatings!=null&&ibmPortalCPConfig.isRatingEnabled!=null){var _2d7=ibmPortalCPConfig?ibmPortalCPConfig.operations.canViewRatings&&ibmPortalCPConfig.isRatingEnabled:null;var _2d8=i$.query(_291);var _2d9=ibmPortalConfig.projectUUID;if(_2d9==null||_2d9==""){i$.forEach(_2d8,function(_2da,_2db,_2dc){if(_2d7==null||(!_2d7)){return;}var _2dd=_292+_2db;var _2de;var _2df;var _2e0,_2e1;var _2e2="true";var _2e3;var _2e4;var _2e5;if(_2da.getAttribute("ratingDescription")==null||_2da.getAttribute("ratingDescription")=="undefined"){if(ibmPortalCPConfig.rating.inline.ratingDescription!==null&&typeof ibmPortalCPConfig.rating.inline.ratingDescription!=="undefined"){_2de=ibmPortalCPConfig.rating.inline.ratingDescription.toUpperCase();}else{_2de="ALL";}}else{_2de=_2da.getAttribute("ratingDescription");}if(_2da.getAttribute("ratingScope")==null||_2da.getAttribute("ratingScope")=="undefined"){if(ibmPortalCPConfig.rating.inline.ratingScope!==null&&typeof ibmPortalCPConfig.rating.inline.ratingScope!=="undefined"){_2df=ibmPortalCPConfig.rating.inline.ratingScope.toUpperCase();}else{_2df=_2c4;}}else{_2df=_2da.getAttribute("ratingScope");}switch(_2df){case (_2c2):_2df=["personal_private"];break;case (_2c3):_2df=["personal_public"];break;case (_2c4):_2df=["community","personal_public"];break;default:_2df=["community","personal_public"];break;}if(_2da.getAttribute("numStars")==null||_2da.getAttribute("numStars")=="undefined"){if(ibmPortalCPConfig.rating.inline.numStars!==null&&typeof ibmPortalCPConfig.rating.inline.numStars!=="undefined"){_2e0=ibmPortalCPConfig.rating.inline.numStars;}else{_2e0=5;}}else{_2e0=_2da.getAttribute("numStars");}if(_2da.getAttribute("customLabel")==null||_2da.getAttribute("customLabel")=="undefined"){if(ibmPortalCPConfig.rating.inline.customLabel!==null&&typeof ibmPortalCPConfig.rating.inline.customLabel!=="undefined"){customLabel=ibmPortalCPConfig.rating.inline.customLabel;}else{customLabel=null;}}else{customLabel=_2da.getAttribute("customLabel");}var _2e6="false";if(_2da.getAttribute("nonCSSuiEnabled")==null||_2da.getAttribute("nonCSSuiEnabled")=="undefined"){_2e6="false";}else{_2e6=_2da.getAttribute("nonCSSuiEnabled");}if(_2da.getAttribute("privateRatingEnabled")==null||_2da.getAttribute("privateRatingEnabled")=="undefined"){if(ibmPortalCPConfig.rating.inline.privateRatingEnabled!==null&&typeof ibmPortalCPConfig.rating.inline.privateRatingEnabled!=="undefined"){_2e1=ibmPortalCPConfig.rating.inline.privateRatingEnabled;}else{_2e1="false";}}else{_2e1=_2da.getAttribute("privateRatingEnabled");}var _2e7=_2da.getAttribute("resourceId");_39e(_2e7,_2e1);var _2e8=!ibmPortalConfig.isUserLoggedIn;if(_2e8){_2df=["community","personal_public"];_2e1="false";}if(_2da.getAttribute("deletingEnabled")==null||_2da.getAttribute("deletingEnabled")=="undefined"){if(ibmPortalCPConfig.rating.inline.deletingEnabled!==null&&typeof ibmPortalCPConfig.rating.inline.deletingEnabled!=="undefined"){_2e2=ibmPortalCPConfig.rating.inline.deletingEnabled;}else{_2e2="true";}}else{_2e2=_2da.getAttribute("deletingEnabled");}var _2e7=_2da.getAttribute("resourceId");_3a6(_2e7,_2e2);if(_2da.getAttribute("customLabelCommunityRatings")==null||_2da.getAttribute("customLabelCommunityRatings")=="undefined"){if(ibmPortalCPConfig.rating.inline.customLabelCommunityRatings!==null&&typeof ibmPortalCPConfig.rating.inline.customLabelCommunityRatings!=="undefined"){_2e3=ibmPortalCPConfig.rating.inline.customLabelCommunityRatings;}else{_2e3=null;}}else{_2e3=_2da.getAttribute("customLabelCommunityRatings");}if(_2da.getAttribute("customLabelPersonalPublicRatings")==null||_2da.getAttribute("customLabelPersonalPublicRatings")=="undefined"){if(ibmPortalCPConfig.rating.inline.customLabelPersonalPublicRatings!==null&&typeof ibmPortalCPConfig.rating.inline.customLabelPersonalPublicRatings!=="undefined"){_2e4=ibmPortalCPConfig.rating.inline.customLabelPersonalPublicRatings.toUpperCase();}else{_2e4=null;}}else{_2e4=_2da.getAttribute("customLabelPersonalPublicRatings");}if(_2da.getAttribute("customLabelPersonalPrivateRatings")==null||_2da.getAttribute("customLabelPersonalPrivateRatings")=="undefined"){if(ibmPortalCPConfig.rating.inline.customLabelPersonalPrivateRatings!==null&&typeof ibmPortalCPConfig.rating.inline.customLabelPersonalPrivateRatings!=="undefined"){_2e5=ibmPortalCPConfig.rating.inline.customLabelPersonalPrivateRatings.toUpperCase();}else{_2e5=null;}}else{_2e5=_2da.getAttribute("customLabelPersonalPrivateRatings");}var _2e9={"count":_2db,"oid":_2da.getAttribute("resourceId"),"ratingListParentId":_2dd,"customLabel":customLabel,"customLabelCommunityRatings":_2e3,"customLabelPersonalPublicRatings":_2e4,"customLabelPersonalPrivateRatings":_2e5,"scope":_2df,"ratingDescription":_2de,"numStars":_2e0};_2e9.query={"count":_2db,"oid":_2da.getAttribute("resourceId"),"ratingListParentId":_2dd,"customLabel":customLabel,"customLabelCommunityRatings":_2e3,"customLabelPersonalPublicRatings":_2e4,"customLabelPersonalPrivateRatings":_2e5,"scope":_2df,"ratingDescription":_2de,"numStars":_2e0};var _2ea=i$.byId(_2a0+_2e9.oid);var loc=ibmCfg.portalConfig.locale;if(loc!=null){var _2eb=i$.isRTL(loc);if(_2eb!=null){if(_2eb){_2bf="rtl";}else{_2bf="ltr";}}}var _2ec=i$.bindDomEvt(_2ea,"onclick",function(evt){var _2ed=_30d(_2e9.oid);var _2ee=evt.target||evt.srcElement;var _2ef=_2ea;var _2f0=_2ef.offsetLeft;var t=_2ef.offsetTop;while(_2ef=_2ef.offsetParent){_2f0+=_2ef.offsetLeft;}_2ef=i$.byId(_2ee.id);while(_2ef=_2ef.offsetParent){t+=_2ef.offsetTop;}var x;if(i$.isIE<9){x=evt.clientX-_2f0;}else{x=evt.pageX-_2f0;}var _2f1=Math.ceil(x/_2a5);if(_2bf!=null&&_2bf=="rtl"){_2f1=(_2e9.numStars+1)-_2f1;}var _2f2=i$.byId(_29f+_2e9.oid);var _2f3=!ibmPortalConfig.isUserLoggedIn;if(_2ed==_2c4){_314(_2e9.oid,_2c3);if(!_2f3){com_ibm_widgets_resolver.fetchSpecificScopeRatings_defaultView(_2e9.oid,_2c3,_2f1,com_ibm_widgets_rating.updateRatingInDefaultView);}else{com_ibm_widgets_resolver.insertRating(_2e9.oid,_30d(_2e9.oid),_2f1,com_ibm_widgets_resolver.fetchSpecificScopeRatings_anonymousUser);}}else{var _2f3=!ibmPortalConfig.isUserLoggedIn;if(!_2f3){if(_2f2.style.width=="0px"&&_2f1>0){com_ibm_widgets_resolver.insertRating(_2e9.oid,_30d(_2e9.oid),_2f1,com_ibm_widgets_resolver.fetchSpecificScopeRatings);}else{com_ibm_widgets_resolver.editRating(_2e9.oid,_30d(_2e9.oid),_2f1,com_ibm_widgets_resolver.fetchSpecificScopeRatings);}}else{com_ibm_widgets_resolver.insertRating(_2e9.oid,_30d(_2e9.oid),_2f1,com_ibm_widgets_resolver.fetchSpecificScopeRatings_anonymousUser);}}});var _2f4=i$.bindDomEvt(_2ea,"onkeypress",function(_2f5){var _2f6=_30d(_2e9.oid);var _2f7=i$.byId(_29f+_2e9.oid);var _2f8=0;if(_2f7!=null){var _2f9=_2f7.style.width;_2f9=_2f9.replace("px","");if(_2f7.style.width!=null&&_2f9!=null){_2f8=Math.ceil(_2f9/_2a5);}if(_2f5.keyCode!=9){switch(_2f5.keyCode){case 38:case 39:_2f8+=1;_2f8=Math.min(_2f8,_2e0);break;case 40:case 37:_2f8-=1;_2f8=Math.max(_2f8,1);break;case 36:_2f8=1;break;case 35:_2f8=_2e0;break;default:break;}var _2fa=_2f8;var _2fb=!ibmPortalConfig.isUserLoggedIn;if(_2f6==_2c4){_314(_2e9.oid,_2c3);if(!_2fb){com_ibm_widgets_resolver.fetchSpecificScopeRatings_defaultView(_2e9.oid,_2c3,_2fa,com_ibm_widgets_rating.updateRatingInDefaultView);}else{com_ibm_widgets_resolver.insertRating(_2e9.oid,_30d(_2e9.oid),_2fa,com_ibm_widgets_resolver.fetchSpecificScopeRatings_anonymousUser);}}else{if(!_2fb){if(_2f7.style.width=="0px"&&_2fa>0){com_ibm_widgets_resolver.insertRating(_2e9.oid,_30d(_2e9.oid),_2fa,com_ibm_widgets_resolver.fetchSpecificScopeRatings);}else{if(_2fa>0){com_ibm_widgets_resolver.editRating(_2e9.oid,_30d(_2e9.oid),_2fa,com_ibm_widgets_resolver.fetchSpecificScopeRatings);}}}else{if(_2fa>0){com_ibm_widgets_resolver.insertRating(_2e9.oid,_30d(_2e9.oid),_2fa,com_ibm_widgets_resolver.fetchSpecificScopeRatings_anonymousUser);}}}}}});var _2fc;try{_2fc=document.defaultView.getComputedStyle(_2ea,"");}catch(e){_2fc=_2ea.currentStyle;}if(_2fc!=null&&((_2fc.backgroundImage=="none")||(_2e6=="true"))){var _2fd=i$.byId(_29a+_2e9.oid);var _2fe=i$.byId(_2d3+_2e9.oid);if(_2fd!=null&&_2fe==null){var _2ff=i$.createDom("ul",{"id":_2d3+_2e9.oid,"style":"list-style: none;","tabindex":"0","role":"navigation"},_2fd);var k;for(k=1;k<=_2e9.numStars;k++){var _300=null;var _301=null;_300=i$.createDom("li",{"id":_2d4+k+_2e9.oid,"style":"list-style: none;display: inline-block;padding:5px; ","tabindex":"0","role":"link","aria-label":k+dojoless_resource_AddTag.title_pub_rating,"value":k},_2ff);_301=i$.createDom("span",{"id":_2d4+k+_2d5+_2e9.oid,"value":k,"tabindex":"0","aria-label":k+dojoless_resource_AddTag.title_pub_rating},_300);}var _302=i$.bindDomEvt(i$.byId(_2d3+_2e9.oid),"onclick",function(evt){var _303=_30d(_2e9.oid);var _304=evt.target;var _305=_304.getAttribute("value");var _306=_305;var _307=0;if(_2fd!=null){var i;for(i=1;i<=_2e9.numStars;i++){var _308=i$.byId(_2d4+i+_2d5+_2e9.oid).innerHTML;if(_308==_2d2){_307=_307+1;}}}if(_303==_2c4){_314(_2e9.oid,_2c3);var _309=!ibmPortalConfig.isUserLoggedIn;if(!_309){com_ibm_widgets_resolver.fetchSpecificScopeRatings_defaultView(_2e9.oid,_2c3,_306,com_ibm_widgets_rating.updateRatingInDefaultView);}else{com_ibm_widgets_resolver.insertRating(_2e9.oid,_30d(_2e9.oid),_306,com_ibm_widgets_resolver.fetchSpecificScopeRatings_anonymousUser);}}else{if(!_309){if(_307==0&&_306>0){com_ibm_widgets_resolver.insertRating(_2e9.oid,_30d(_2e9.oid),_306,com_ibm_widgets_resolver.fetchSpecificScopeRatings);}else{com_ibm_widgets_resolver.editRating(_2e9.oid,_30d(_2e9.oid),_306,com_ibm_widgets_resolver.fetchSpecificScopeRatings);}}else{com_ibm_widgets_resolver.insertRating(_2e9.oid,_30d(_2e9.oid),_306,com_ibm_widgets_resolver.fetchSpecificScopeRatings_anonymousUser);}}});var _30a=i$.bindDomEvt(i$.byId(_2d3+_2e9.oid),"onkeypress",function(_30b){if(_30b.keyCode==13){var _30c=_30d(_2e9.oid);var _30e=i$.byId(_2d3+_2e9.oid);var _30f=0;if(_30e!=null){var i;for(i=1;i<=_2e9.numStars;i++){var _310=i$.byId(_2d4+i+_2d5+_2e9.oid).innerHTML;if(_310==_2d2){_30f=_30f+1;}}var _311=_30b.target||_30b.srcElement;var _312=_311.getAttribute("value");var _313=_312;if(_30c==_2c4&&!_315&&(ibmPortalCPConfig!=null&&ibmPortalCPConfig.operations!=null&&ibmPortalCPConfig.operations.canCreatePublicRatings)){_314(_2e9.oid,_2c3);}var _315=!ibmPortalConfig.isUserLoggedIn;if(_313!=null){if(!_315){if(_30f==0&&_313>0){com_ibm_widgets_resolver.insertRating(_2e9.oid,_30d(_2e9.oid),_313,com_ibm_widgets_resolver.fetchSpecificScopeRatings);}else{com_ibm_widgets_resolver.editRating(_2e9.oid,_30d(_2e9.oid),_313,com_ibm_widgets_resolver.fetchSpecificScopeRatings);}}else{com_ibm_widgets_resolver.insertRating(_2e9.oid,_30d(_2e9.oid),_313,com_ibm_widgets_resolver.fetchSpecificScopeRatings_anonymousUser);}}}}});}}com_ibm_widgets_resolver.setALTtextforAllElementsInRating(_2e9.oid);com_ibm_widgets_resolver.fetchDojolessRatings(_2e9,com_ibm_widgets_rating.displayDojolessRatings);});}}},i$.global);var _316=function(_317,_318){var _319="true";if(_317!=null){_31a(_317);}else{_317=new Array();_31b();_319="false";}_314(_318.oid,_318.scope[0].toUpperCase());if(_318.customLabel==null&&_318.scope[0]!=null){switch(_318.scope[0].toUpperCase()){case (_2c2):if(_318.customLabelPersonalPrivateRatings==null){allRatingLabel=dojoless_resource_AddTag.title_priv_rating;}else{allRatingLabel=_318.customLabelPersonalPrivateRatings;}break;case (_2c3):if(_318.customLabelPersonalPublicRatings==null){allRatingLabel=dojoless_resource_AddTag.title_your_rating;}else{allRatingLabel=_318.customLabelPersonalPublicRatings;}break;case (_2c5):if(_318.customLabelCommunityRatings==null){allRatingLabel=dojoless_resource_AddTag.title_pub_rating;}else{allRatingLabel=_318.customLabelCommunityRatings;}break;default:allRatingLabel=dojoless_resource_AddTag.title_pub_rating;break;}}else{allRatingLabel=_318.customLabel;}var _31c=i$.byId(_29e+_318.oid);if(_31c!=null){_31c.innerHTML="";if(_318.scope[0].toUpperCase()!=_2c5){_31c.innerHTML=allRatingLabel;_31c.setAttribute("alt",allRatingLabel);_31c.setAttribute("title",allRatingLabel);}if(_318.scope[0].toUpperCase()==_2c5&&_318.customLabelCommunityRatings!=null){_31c.innerHTML=_318.customLabelCommunityRatings;_31c.setAttribute("alt",allRatingLabel);_31c.setAttribute("title",allRatingLabel);}}var _31d=i$.byId(_29f+_318.oid);var _31e=i$.byId(_2a0+_318.oid);var _31f=i$.byId(_2a1+_318.oid);var _320=0;if(_297){_320=_296+0.5;}else{_320=_296;}var _321=0;_321=(_318.numStars*_2a5)+_2a6;_31e.style.width=_321;if(_319=="true"){var _322=0;_322=(_320*_2a5)+_2a6;_31d.style.width=_322;_31e.setAttribute("alt",dojoless_resource_AddTag.title_pub_rating+_320);_31e.setAttribute("title",dojoless_resource_AddTag.title_pub_rating+_320);_31d.setAttribute("alt",dojoless_resource_AddTag.title_pub_rating+_320);_31d.setAttribute("title",dojoless_resource_AddTag.title_pub_rating+_320);}else{_31d.style.width=0+_2a6;_31d.setAttribute("alt",dojoless_resource_AddTag.title_pub_rating+"0");_31d.setAttribute("title",dojoless_resource_AddTag.title_pub_rating+"0");_31e.setAttribute("alt",dojoless_resource_AddTag.title_pub_rating+"0");_31e.setAttribute("title",dojoless_resource_AddTag.title_pub_rating+"0");}var _323=i$.byId(_2d3+_318.oid);if(_323!=null){_31e.setAttribute("style","display:none");_31d.setAttribute("style","display:none");var _324;if(_297){_324=_296+1;}else{_324=_296;}var i;var j;for(i=1;i<=_324;i++){i$.byId(_2d4+i+_2d5+_318.oid).innerHTML=_2d2;}for(j=_324+1;j<=_318.numStars;j++){i$.byId(_2d4+j+_2d5+_318.oid).innerHTML=_2d1;}_323.setAttribute("aria-label",_324+dojoless_resource_AddTag.title_pub_rating);}var _325;_325=i$.byId(_2a4+_318.oid);if(_325!=null){_325.setAttribute("class",_2cf);}if(_31f!=null){_31f.innerHTML=" ";_298=_318.numStars;if(_318.scope[0].toUpperCase()==_2c5){switch(_318.ratingDescription.toUpperCase()){case ("NONE"):_325=i$.byId(_2a4+_318.oid);if(_325!=null){_325.setAttribute("class",_2d0);}break;case ("RATING_VALUE"):if(_320>0){if(_294==1){_31f.innerHTML=_2a7+_320+_2a9+_298+_2a8;}else{_31f.innerHTML=_2a7+_320+_2a9+_298+_2a8;}}break;case ("TOTAL_NO_RATING"):if(_320>0){if(_294==1){_31f.innerHTML=_2a7+_294+" "+dojoless_resource_AddTag.ratingDescription_rating+_2a8;}else{_31f.innerHTML=_2a7+_294+" "+dojoless_resource_AddTag.ratingDescription_ratings+_2a8;}}break;default:if(_294>0&&_320>0){if(_294==1){_31f.innerHTML=_2a7+_320+_2a9+_298+" "+dojoless_resource_AddTag.ratingDescription_from+" "+_294+" "+dojoless_resource_AddTag.ratingDescription_rating+_2a8;}else{_31f.innerHTML=_2a7+_320+_2a9+_298+" "+dojoless_resource_AddTag.ratingDescription_from+" "+_294+" "+dojoless_resource_AddTag.ratingDescription_ratings+_2a8;}}}}if(_325!=null){_325.setAttribute("class",_2cf);}}else{if(_325!=null){_325.setAttribute("class",_2d0);}}var _326=i$.byId(_2a2+_318.oid);if(_326!=null){_326.setAttribute("onclick","com_ibm_widgets_rating.getRatingMenu('"+_318.oid+"')");var _327=i$.bindDomEvt(_326,"onkeypress",i$.scope(this,function(_328){var _329=_328.keyCode;if(_328.keyCode==0&&_328.charCode==32){_329=32;}switch(_329){case 38:case 32:case 40:case 13:var _32a=i$.byId(_2bd+_318.oid);if(_32a==null){com_ibm_widgets_rating.getRatingMenu(_318.oid);var _32b=_2aa+_318.oid;var _32c=i$.byId(_32b);if(_32c!=null){var _32d=_32c.firstChild;window.setTimeout(function(){_32d.focus();},200);}if(_328.preventDefault){_328.preventDefault();}if(_328.returnValue){_328.returnValue=false;}}break;case 39:case 40:if(this.ratingsDropDownMenu!=null){this.ratingsDropDownMenu.close();}break;}}));}var _32e=i$.byId(_2bd+_318.oid);if(_32e!=null&&this.ratingsDropDownMenu!=null){this.ratingsDropDownMenu.close();}com_ibm_widgets_resolver.clearRatingErrorMessage(_318.oid);var _32f=i$.byId(_2ca+_318.oid);if(_32f!=null){_32f.setAttribute("class",_2cc);}var _330=i$.byId(_2cb+_318.oid);if(_330!=null){_330.setAttribute("class",_2cd);}};var _331=function(avg){avg*=10;avg=Math.round(avg);return avg/10;};var _332=function(_333){var _334=0;var _335=0;var _336=[];i$.each(_333,function(obj,key){_335+=parseInt(obj.count);_336[parseInt(obj.name)-1]=parseInt(obj.count);_334+=parseInt(obj.name)*parseInt(obj.count);});_334/=_335;return [_334,_335,_336];};var _337=function(avg){var dec=avg-Math.floor(avg);return dec>=0.25&&dec<=0.75;};var _338=function(avg){var _339=Math.floor(avg);return (avg-_339)>0.75?_339+1:_339;};var _31a=function(_33a){var _33b=_332(_33a);_293=_33b[0];_294=_33b[1];_295=_33b[2];_296=_338(_293);_297=_337(_293);};var _31b=function(){_293=0;_294=0;_295=0;_296=0;_297=false;};var _314=function(_33c,_33d){var _33e=i$.byId(_29b+_33c);if(_33d==_2c5){_33d=_2c4;}if(_33e==null){var _33f=document.createElement("input");_33f.setAttribute("id",_29b+_33c);_33f.setAttribute("type","hidden");_33f.setAttribute("name","currentScope");_33f.setAttribute("value",_33d);var _340=i$.byId(_299+_33c);_340.appendChild(_33f);}else{_33e.setAttribute("value",_33d);}};var _30d=function(_341){var _342=i$.byId(_29b+_341);if(_342!=null){return _342.value;}};var _343=function(_344){var _345={"oid":_344};var _346=_2ab+_344;var _347=i$.byId(_299+_344);var _348=i$.createDom("div",{"id":_346,"tabindex":"0","class":_2be+_2b8,"dir":_2bf});var _349=_2aa+_344;var _34a=i$.createDom("div",{"id":_349,"tabindex":"0","role":"menu","class":_2be+_2b8,"aria-label":dojoless_resource_AddTag.rating_menu,"dir":_2bf},_348);var _34b=null;var _34c=null;var _34d=null;var _34e=null;var _34f=null;var _350=null;var _351=i$.byId(_29f+_344);if(_351.style.width=="0px"){deleteEnabled="false";}else{deleteEnabled="true";}var _352=_353(_344);var _354=_355(_344);var _356=_30d(_344);com_ibm_widgets_resolver.clearRatingErrorMessage(_344);var _357=!ibmPortalConfig.isUserLoggedIn;if(_357){_352="false";deleteEnabled="false";}if(_354=="false"){deleteEnabled="false";}switch(_356){case (_2c2):var _358=dojoless_resource_AddTag.Menu_rating;var _359=_358+"_"+"Link"+"_"+_344;_34c=_35a(_359,ibmPortalConfig.locale,_2bf,_344,_34a,_2c5);var _35b=document.createTextNode(_358);_34c.appendChild(_35b);var _35c=dojoless_resource_AddTag.Menu_myRating;var _35d=_35c+"_"+"Link"+"_"+_344;_34b=_35a(_35d,ibmPortalConfig.locale,_2bf,_344,_34a,_2c3);var _35e=document.createTextNode(_35c);_34b.appendChild(_35e);_34b.setAttribute("alt",_35c);_34b.setAttribute("title",_35c);if(deleteEnabled=="true"){var _35f=dojoless_resource_AddTag.deleteRating;var _360=_35f+"_"+"Link"+"_"+_344;_34e=_361(_360,ibmPortalConfig.locale,_2bf,_344,_34a,_2c2);var _362=document.createTextNode(_35f);_34e.appendChild(_362);_34e.setAttribute("alt",_35f);_34e.setAttribute("title",_35f);}break;case (_2c3):var _358=dojoless_resource_AddTag.Menu_rating;var _359=_358+"_"+"Link"+"_"+_344;_34c=_35a(_359,ibmPortalConfig.locale,_2bf,_344,_34a,"COMMUNITY_RATING");var _35b=document.createTextNode(_358);_34c.appendChild(_35b);if(_352=="true"){var _363=dojoless_resource_AddTag.Menu_privateRating;var _364=_363+"_"+"Link"+"_"+_344;_34d=_35a(_364,ibmPortalConfig.locale,_2bf,_344,_34a,_2c2);var _35e=document.createTextNode(_363);_34d.appendChild(_35e);_34d.setAttribute("alt",_363);_34d.setAttribute("title",_363);}if(deleteEnabled=="true"){var _35f=dojoless_resource_AddTag.deleteRating;var _360=_35f+"_"+"Link"+"_"+_344;_34f=_361(_360,ibmPortalConfig.locale,_2bf,_344,_34a,_2c3);var _362=document.createTextNode(_35f);_34f.appendChild(_362);_34f.setAttribute("alt",_35f);_34f.setAttribute("title",_35f);}break;case (_2c4):if(ibmPortalCPConfig!=null&&ibmPortalCPConfig.operations!=null&&ibmPortalCPConfig.operations.canCreatePublicRatings){var _35c=dojoless_resource_AddTag.Menu_myRating;var _35d=_35c+"_"+"Link"+"_"+_344;_34b=_35a(_35d,ibmPortalConfig.locale,_2bf,_344,_34a,_2c3);var _35e=document.createTextNode(_35c);_34b.appendChild(_35e);_34b.setAttribute("alt",_35c);_34b.setAttribute("title",_35c);}if(_352=="true"){var _363=dojoless_resource_AddTag.Menu_privateRating;var _364=_363+"_"+"Link"+"_"+_344;_34d=_35a(_364,ibmPortalConfig.locale,_2bf,_344,_34a,_2c2);var _35e=document.createTextNode(_363);_34d.appendChild(_35e);_34d.setAttribute("alt",_363);_34d.setAttribute("title",_363);}if(ibmPortalCPConfig.operations.canResetRatingPerResource&&deleteEnabled=="true"){var _35f=dojoless_resource_AddTag.deleteRating+" "+dojoless_resource_AddTag.ratingDescription_ratings;var _360=_35f+"_"+"Link"+"_"+_344;_350=_365(_360,ibmPortalConfig.locale,_2bf,_344,_34a,_2c4);var _362=document.createTextNode(_35f);_350.appendChild(_362);_350.setAttribute("alt",_35f);_350.setAttribute("title",_35f);}break;default:allRatingLabel=dojoless_resource_AddTag.title_pub_rating;}if(_356==_2c4){var _366=dojoless_resource_AddTag.Rating_Distribution;var _367=i$.createDom("div",{"id":_2b9+_344,"dir":_2bf},_34a);var _368=i$.createDom("a",{"id":_2ac+_344,"lang":ibmPortalConfig.locale,"dir":_2bf,"href":"javascript:;","tabindex":"0","onclick":"com_ibm_widgets_resolver.fetchSpecificScopeRatings('"+_344+"',\""+_2c4+"\",com_ibm_widgets_rating.displayRatingDistribution);","class":_2be+_2b8},_367);var _369=document.createTextNode(_366);if(_369!=null){_368.appendChild(_369);}}if(_356!=_2c4){_34a.appendChild(_34c);_34a.appendChild(i$.createDom("br",{},_34c));}if(_356!=_2c3){if(_34b!=null){_34a.appendChild(_34b);_34a.appendChild(i$.createDom("br",{},_34b));}}if(_356!=_2c2&&_34d!=null){if(_34d){_34a.appendChild(_34d);_34a.appendChild(i$.createDom("br",{},_34d));}}if(_356==_2c3&&deleteEnabled=="true"){if(_34d!=null){_34a.appendChild(i$.createDom("hr",{"class":_2be+_2b5,"dir":_2bf},_34d));}else{_34a.appendChild(i$.createDom("hr",{"class":_2be+_2b6,"dir":_2bf},_34c));}_34a.appendChild(_34f);}if(_356==_2c2&&deleteEnabled=="true"){_34a.appendChild(i$.createDom("hr",{"class":_2be+_2b5,"dir":_2bf},_34b));_34a.appendChild(_34e);}var _36a=null;if(_356==_2c4){if(_350!=null){if(_34d!=null){var _36b=i$.createDom("hr",{"class":_2be+_2b4,"dir":_2bf},_34d);}else{var _36b=i$.createDom("hr",{"class":_2be+_2b4,"dir":_2bf},_34b);}_34a.appendChild(_36b);_34a.appendChild(_350);}if(_34c!=null){_36a=i$.createDom("hr",{"class":_2be+_2b4,"dir":_2bf},_34c);}else{if(_34b!=null){_36a=i$.createDom("hr",{"class":_2be+_2b4,"dir":_2bf},_34b);}}if(_36a!=null){_34a.appendChild(_36a);}if(_356==_2c4){_34a.appendChild(_367);}}_36c(_348.innerHTML,_345.oid);};function _36d(rsID){return i$.byId(_2a2+rsID);};var _36c=function(aID,rsID){var _36e=dojoless_resource_AddTag.Menu_rating;var _36f=_36e+"_"+"Link"+"_"+rsID;var _370=dojoless_resource_AddTag.Menu_privateRating;var _371=_370+"_"+"Link"+"_"+rsID;var _372=dojoless_resource_AddTag.deleteRating;var _373=_372+"_"+"Link"+"_"+rsID;var _374=dojoless_resource_AddTag.Menu_myRating;var _375=_374+"_"+"Link"+"_"+rsID;var _376=dojoless_resource_AddTag.Rating_Distribution;this.ratingsDropDownMenu=null;this.ratingsDropDownMenu=new wpModules.dialog.Dialog({id:_2bd+rsID,markup:aID,autoPosition:_36d(rsID),autoResize:true,displayCloseOverlay:true,autoClose:true,posHandler:"horizontallyCenteredBelow",callbackFn:function(arg){var _377=i$.byId(_2a2+rsID);if(_377!=null){window.setTimeout(function(){_377.focus();},200);}}});this.ratingsDropDownMenu.open();var _378=i$.byId(_2aa+rsID);if(_378!=null){var _379=i$.bindDomEvt(_378,"onkeydown",i$.scope(this,function(_37a){var _37b=_37a.keyCode;if(_37a.keyCode==0&&_37a.charCode==32){_37b=32;}switch(_37b){case 9:if(this.ratingsDropDownMenu!=null){this.ratingsDropDownMenu.close();}break;case 27:if(this.ratingsDropDownMenu!=null){this.ratingsDropDownMenu.close();}break;case 82:if(i$.byId(_2ac+rsID)!=null){i$.byId(_2ac+rsID).focus();}if(i$.byId(_36f)!=null){i$.byId(_36f).focus();}if(i$.byId(_2ad+rsID)!=null){i$.byId(_2ad+rsID).focus();}break;case 32:var _37c=document.activeElement;var text=_37c.innerHTML;if(this.ratingsDropDownMenu!=null&&!(text.match(_376))){this.ratingsDropDownMenu.close();}if(text==_374){com_ibm_widgets_resolver.fetchSpecificScopeRatings(rsID,_2c3,com_ibm_widgets_rating.displayDojolessRatings);}else{if(text==_370){com_ibm_widgets_resolver.fetchSpecificScopeRatings(rsID,_2c2,com_ibm_widgets_rating.displayDojolessRatings);}else{if(text==_36e){com_ibm_widgets_resolver.fetchSpecificScopeRatings(rsID,_2c5,com_ibm_widgets_rating.displayDojolessRatings);}else{if(text==_372){com_ibm_widgets_resolver.deleteRating(rsID,_30d(rsID));}else{if(text==_376){com_ibm_widgets_resolver.fetchSpecificScopeRatings(rsID,_2c4,com_ibm_widgets_rating.displayRatingDistribution);if(i$.byId(_2ad+rsID)!=null){i$.byId(_2ad+rsID).focus();}}}}}}break;case 37:break;case 38:var _37c=document.activeElement;var _37d=_37e(_37c);if(_37d!=null){_37d.focus();}if(_37a.preventDefault){_37a.preventDefault();}return false;break;case 18:case 40:var _37c=document.activeElement;var _37d=_37f(_37c);if(_37d!=null){_37d.focus();}if(_37a.preventDefault){_37a.preventDefault();}return false;break;default:var _380=document.activeElement;_381(_37a.keyCode,_378,_380);break;}}));}};var _382=function(_383,_384){if(_383!=null){_294=_383.length;_31a(_383);}else{_31b();}var i=_384.numStars-1;var _385=_2aa+_384.oid;var _386=_2ab+_384.oid;var _387=i$.byId(_2b9+_384.oid);var _388=_2ac+_384.oid;var _389=i$.byId(_388);var _38a=_2ad+_384.oid;while(_387.hasChildNodes()){_387.removeChild(_387.lastChild);}var _38b=i$.createDom("div",{"id":"ratingDistributionText"+_384.oid,"tabindex":"0","class":_2be+_2b8,"dir":_2bf},_387);var _38c=document.createTextNode(dojoless_resource_AddTag.Rating_Distribution);if(_38b!=null){_38b.appendChild(_38c);}if(i$.byId(_38a)==null){var _38d=dojoless_resource_AddTag.Rating_Distribution;var _38e=i$.createDom("div",{"id":_38a,"tabindex":"0","class":_2be+_2b8,"dir":_2bf},_387);for(i;i>=0;i--){var _38f=_295[i]||0;var part=0;if(_38f>0){part=Math.round(_38f/_294*100);part=part/100*(_2b7*_384.numStars);}var _390=_384.numStars*_2b7;var _391=i$.createDom("div",{"id":"mainDiv_"+i+"_"+_384.oid,"tabindex":"0","padding":"10px","class":_2be+_2b2,"dir":_2bf},_38e);var _392=i$.createDom("span",{"id":_2bb+i+"_"+_384.oid,"padding":"10px","class":_2be+_2ba,"dir":_2bf},_391);var _393=document.createTextNode(i+1+"  "+dojoless_resource_AddTag.star);_392.appendChild(_393);var j=i+1;_392.setAttribute("alt",j+"  "+dojoless_resource_AddTag.star);_392.setAttribute("title",j+"  "+dojoless_resource_AddTag.star);_38d=_38d+j+"  "+dojoless_resource_AddTag.star;var _394=i$.createDom("div",{"id":"innerDiv_"+i+"_"+_384.oid,"class":"wpRatingLight menu","dir":_2bf},_391);var _395,_396;if(i$.isIE<9){if(_2bf=="ltr"){_395=i$.createDom("div",{"id":"distributionDiv"+i+"_"+_384.oid,"class":_2be+_2b0,"dir":_2bf},_394);_396=i$.createDom("div",{"id":"distributionStyleDiv"+i+"_"+_384.oid,"class":_2be+_2b1,"dir":_2bf,},_395);}else{_395=i$.createDom("div",{"id":"distributionDiv"+i+"_"+_384.oid,"class":_2be+_2b0,"dir":_2bf},_394);_396=i$.createDom("div",{"id":"distributionStyleDiv"+i+"_"+_384.oid,"class":_2be+_2c1,"dir":_2bf,},_395);}}else{if(_2bf=="ltr"){_395=i$.createDom("div",{"id":"distributionDiv"+i+"_"+_384.oid,"class":_2be+_2ae,"dir":_2bf},_394);_396=i$.createDom("div",{"id":"distributionStyleDiv"+i+"_"+_384.oid,"class":_2be+_2af,"dir":_2bf,},_395);}else{_395=i$.createDom("div",{"id":"distributionDiv"+i+"_"+_384.oid,"class":_2be+_2ae,"dir":_2bf},_394);_396=i$.createDom("div",{"id":"distributionStyleDiv"+i+"_"+_384.oid,"class":_2be+_2c0,"dir":_2bf},_395);}}_395.style.width=_390+_2a6;_396.style.width=part+_2a6;var _397=i$.createDom("span",{"id":"countDiv"+i+"_"+_384.oid,"class":_2be+_2ba,"dir":_2bf},_391);var _398=document.createTextNode(_38f);if(_398!=null){_397.appendChild(_398);_397.setAttribute("alt",_38f);_397.setAttribute("title",_38f);_38d=_38d+_38f;}var _399=i$.createDom("div",{"id":"countExtraDiv"+i+"_"+_384.oid,"class":_2be+_2ba,"dir":_2bf},_391);}var _39a=i$.createDom("div",{"id":"totalRatingDiv"+_384.oid,"class":_2be+_2b3,"dir":_2bf},_38e);var _39b;if(_294<=1){_39b=document.createTextNode(_294+" "+dojoless_resource_AddTag.Rating);_39a.setAttribute("alt",_294+" "+dojoless_resource_AddTag.Rating);_39a.setAttribute("title",_294+" "+dojoless_resource_AddTag.Rating);_38d=_38d+_294+" "+dojoless_resource_AddTag.Rating;}else{_39b=document.createTextNode(_294+" "+dojoless_resource_AddTag.Ratings);_39a.setAttribute("alt",_294+" "+dojoless_resource_AddTag.Ratings);_39a.setAttribute("title",_294+" "+dojoless_resource_AddTag.Ratings);_38d=_38d+_294+" "+dojoless_resource_AddTag.Ratings;}_39a.appendChild(_39b);var _387=i$.byId(_2ad+_384.oid);if(_387!=null){_387.setAttribute("alt",_38d);_387.setAttribute("title",_38d);}}};var _353=function(_39c){var _39d=i$.byId(_29c+_39c);if(_39d!=null){return _39d.value;}};var _39e=function(_39f,_3a0){var _3a1=i$.byId(_29c+_39f);if(_3a1==null){var _3a2=i$.byId(_299+_39f);var _3a3=document.createElement("input");_3a3.setAttribute("id",_29c+_39f);_3a3.setAttribute("type","hidden");_3a3.setAttribute("name","privateRatingEnabled");_3a3.setAttribute("value",_3a0);_3a2.appendChild(_3a3);}else{_3a1.setAttribute("value",_3a0);}};var _355=function(_3a4){var _3a5=i$.byId(_29d+_3a4);if(_3a5!=null){return _3a5.value;}};var _3a6=function(_3a7,_3a8){var _3a9=i$.byId(_29d+_3a7);if(_3a9==null){var _3aa=i$.byId(_299+_3a7);var _3ab=document.createElement("input");_3ab.setAttribute("id",_29d+_3a7);_3ab.setAttribute("type","hidden");_3ab.setAttribute("name","deleteRatingEnabled");_3ab.setAttribute("value",_3a8);_3aa.appendChild(_3ab);}else{_3a9.setAttribute("value",_3a8);}};var _35a=function(id,lang,dir,_3ac,_3ad,_3ae){var _3af=!ibmPortalConfig.isUserLoggedIn;if(!_3af){return i$.createDom("a",{"id":id,"lang":lang,"dir":dir,"href":"javascript:;","class":_2be+_2b8,"tabindex":"0","role":"menuitem","aria-label":_3ae,"onclick":"com_ibm_widgets_resolver.fetchSpecificScopeRatings('"+_3ac+"',\""+_3ae+"\",com_ibm_widgets_rating.displayDojolessRatings);"},_3ad);}else{return i$.createDom("a",{"id":id,"lang":lang,"dir":dir,"href":"javascript:;","class":_2be+_2b8,"tabindex":"0","role":"menuitem","aria-label":_3ae,"onclick":"com_ibm_widgets_resolver.fetchSpecificScopeRatings_anonymousUser('"+_3ac+"',\""+_3ae+"\",\"0\",com_ibm_widgets_rating.displayDojolessRatings);"},_3ad);}};var _361=function(id,lang,dir,_3b0,_3b1,_3b2){return i$.createDom("a",{"id":id,"lang":lang,"dir":dir,"href":"javascript:;","tabindex":"0","class":_2be+_2b8,"onclick":"com_ibm_widgets_resolver.deleteRating('"+_3b0+"',\""+_3b2+"\");"},_3b1);};var _365=function(id,lang,dir,_3b3,_3b4,_3b5){return i$.createDom("a",{"id":id,"lang":lang,"dir":dir,"href":"javascript:;","tabindex":"0","class":_2be+_2b8,"onclick":"com_ibm_widgets_resolver.deleteAllRating('"+_3b3+"',\""+_3b5+"\");"},_3b4);};var _3b6=function(_3b7,_3b8){if(_3b7!=null){_294=_3b7.length;_31a(_3b7);}else{_31b();}if(_297){numericalRatingValue=_296+0.5;}else{numericalRatingValue=_296;}var _3b9=!ibmPortalConfig.isUserLoggedIn;if(numericalRatingValue==0||(_3b9&&numericalRatingValue>0)){com_ibm_widgets_resolver.insertRating(_3b8.oid,_30d(_3b8.oid),_3b8.ratingValue,com_ibm_widgets_resolver.fetchSpecificScopeRatings);}else{com_ibm_widgets_resolver.editRating(_3b8.oid,_30d(_3b8.oid),_3b8.ratingValue,com_ibm_widgets_resolver.fetchSpecificScopeRatings);}};var _37f=function(item){if(item!=null&&item.id!=null&&(item.id.match("ratingDistr")||item.id.match("RatingDistr"))){item=item.parentNode;}var _3ba=item.parentNode;var _3bb=_3ba.childNodes;var _3bc=_3bb.length;var i=0;var _3bd=0;for(i=0;i<_3bc;i++){if(_3bb.item(i)==item){_3bd=i;break;}}if(_3bd==_3bc-1){_3bd=0;}else{_3bd=_3bd+1;var j=_3bd;for(j;j<_3bc;j++){if(!(_3bb.item(j).innerHTML==null||_3bb.item(j).innerHTML=="")){break;}}if(j==_3bc){_3bd=0;}else{_3bd=j;}}var _3be=_3bb.item(_3bd).id;var temp=_3bb.item(_3bd);if(_3be.match("ratingDistr")){temp=temp.firstChild;}temp.focus();return i$.byId(_3bb.item(_3bd).id);};var _37e=function(item){if(item!=null&&item.id!=null&&(item.id.match("ratingDistr")||item.id.match("RatingDistr"))){item=item.parentNode;}var _3bf=item.parentNode;var _3c0=_3bf.childNodes;var _3c1=_3c0.length;var i=0;var _3c2=0;for(i=0;i<_3c1;i++){if(_3c0.item(i)==item){_3c2=i;break;}}if(_3c2==0){_3c2=_3c1-1;if(_3c0.item(_3c2).innerHTML==""==null||_3c0.item(_3c2).innerHTML==""){_3c2=_3c2-1;}}else{_3c2=_3c2-1;var j=_3c2;for(j;j>0;j--){if(!(_3c0.item(j).innerHTML==""==null||_3c0.item(j).innerHTML=="")){break;}}_3c2=j;}var _3c3=_3c0.item(_3c2).id;var temp=_3c0.item(_3c2);if(_3c3.match("ratingDistr")){temp=temp.firstChild;}temp.focus();return i$.byId(_3c0.item(_3c2).id);};var _381=function(_3c4,item,_3c5){var _3c6=item.parentNode;var _3c7=_3c6.childNodes;var _3c8=item;var _3c9=String.fromCharCode(_3c4),_3ca=_3c9.toLowerCase(),_3cb=_3cc(_3c5),_3cd=_3c5.innerHTML.charAt(_3cb),_3ce=_3c7,_3cf;if(_3ca==_3cd.toLowerCase()){var _3d0=0;var i=0;_3ce=_3c8.childNodes;var len=_3ce.length;for(i;i<len;i++){if(_3ce.item(i)==_3c5){break;}}_3d0=i;var _3d1=_3d2(_3ce,_3d0,_3cd,_3c9);if((_3d1!=item)){_3d3(_3d1);}}else{_3ce=_3c8.childNodes;for(var k=0,nal=_3ce.length;k<nal;k++){_3cb=_3cc(_3ce[k]);_3cf=_3ce[k].innerHTML;if((_3ca==_3cf.charAt(_3cb).toLowerCase())){_3d3(_3ce[k]);break;}}}};function _3d3(item){item.focus();};function _3d2(_3d4,_3d5,_3d6,_3d7){var _3d8,_3d9=false,_3da,_3db=_3d4.length,_3dc=(_3d5==_3db-1)?-1:_3d5;for(var i=_3dc+1;i<_3db;i++){_3d8=_3cc(_3d4[i]);_3da=_3d4[i].innerHTML.charAt(_3d8).toLowerCase();if(_3da==_3d7.toLowerCase()){_3d5=i;break;}if(i==_3d4.length-1){if(_3d9){break;}i=-1;_3db=_3d5;_3d9=true;}}return _3d4[_3d5];};function _3cc(item){var ltr=null;var loc=ibmCfg.portalConfig.locale;if(loc!=null){var _3dd=i$.isRTL(loc);if(_3dd!=null){if(_3dd){ltr=false;}else{ltr=true;}}}if((item.text)&&(!ltr)){return item.text.length-1;}return 0;};return {getRatingMenu:_343,displayDojolessRatings:_316,displayRatingDistribution:_382,getCurrentDisplayedScope:_30d,openRatingsActionDropDownMenu:_36c,displayDojolessRatings:_316,updateRatingInDefaultView:_3b6,RATINGWIDGET_STARS_DIV_PREFIX:"ratinglightstars_",RATINGWIDGET_PREFIX:"ratinglight_"};})();if(typeof (UTILS)==="undefined"){var UTILS={};UTILS.trim=function(str){if(str.trim){return str.trim();}else{var _3de=/^\s+|\s+$/g;return str.replace(_3de,"");}};UTILS.getCaretPosition=function(el){if(typeof (el.selectionStart)!=="undefined"){return el.selectionStart;}else{if(document.selection){var _3df=document.selection.createRange();_3df.moveStart("character",-el.value.length);return _3df.text.length;}}};UTILS.setCaretPosition=function(el,pos){if(typeof (el.selectionStart)!=="undefined"){el.selectionStart=el.selectionEnd=pos;}else{if(document.selection){var _3e0=el.createTextRange();_3e0.moveStart("character",pos);_3e0.collapse(true);_3e0.select();}}};UTILS.filter=function(arr,func){if(arr.filter){return arr.filter(func);}else{var ret=[];for(var i=0;i<arr.length;i++){if(func(arr[i])){ret.push(arr[i]);}}return ret;}};UTILS.removeClass=function(el,cls){var s=el.className;var _3e1=new RegExp("(^|\\s+)"+cls+"(\\s+|$)","g");s=s.replace(_3e1," ").replace(/\s+/g," ").replace(/^\s|\s$/g,"");el.className=s;};}var suggestionTags=[];var suggestionItems=[];var currentSuggestion=-1;var oldSuggestText="";var DEMO_SUGGESTIONS=["Hans","Horst","Hubert","Hannelore","Herbert","Peter","Petra","Peer","Paula","Paul"];var checkInput=function(_3e2){var text=_3e2.value;var _3e3=UTILS.getCaretPosition(_3e2);var b=getSourroundingTextBoundaries(text,_3e3);var text=UTILS.trim(text.slice(b.from,b.to));if(text===oldSuggestText){return;}oldSuggestText=text;if(text.length===0){hideSuggestionList(_3e2);}else{updateSuggestions(_3e2,text);}};var keyDownHandler=function(e,_3e4,_3e5,_3e6){var _3e7=_3e5.count;var c=e.keyCode;var _3e8=true;if(c===27){if(currentSuggestion>-1){removeSuggestionSelection();}else{}}else{if(c===13){if(currentSuggestion>-1){updateInputWithSuggestion(_3e4,currentSuggestion);}else{addTags(_3e4.value,com_ibm_widgets_tagging.tagIdsArray[_3e7],_3e6);}}else{if(c===40){changeSuggestionSelection(currentSuggestion+1);}else{if(c===38){changeSuggestionSelection(currentSuggestion-1);}else{_3e8=false;}}}}if(_3e8){if(e.preventDefault){e.preventDefault();}if(e.returnValue){e.returnValue=false;}}};var blurTimerId;var updateTimerId;var blurHandler=function(){if(updateTimerId){window.clearInterval(updateTimerId);updateTimerId=null;}};var getSourroundingTextBoundaries=function(text,pos){var from=text.lastIndexOf(TAG_INPUT_SEPARATOR,pos);var to=text.indexOf(TAG_INPUT_SEPARATOR,pos);if(text[pos]===TAG_INPUT_SEPARATOR){from=text.lastIndexOf(TAG_INPUT_SEPARATOR,pos-1);}if(from<0){from=-1;}if(to<0){to=text.length;}return {from:from+1,to:to};};var addTags=function(_3e9,oid,_3ea,_3eb){var _3ec=_3e9;if(typeof (_3ec)!=="string"||_3ec.length===0){return;}if(_3ec.length>50){com_ibm_widgets_resolver.showTaggingValidationError(oid,dojoless_resource_AddTag.text_error_tags_too_long);return;}var str=_3ec.split(/[ ,]+/);var tags=[];for(var i=0;i<str.length;i++){if(tags.indexOf(str[i])==-1){tags.push(str[i]);}}for(var i=0;i<tags.length;i++){var _3ed=UTILS.trim(tags[i]);if(_3ed.length===0){continue;}var tag={name:_3ed,oid:oid,isPrivate:_3ea};if(oid!=null){com_ibm_widgets_resolver.insertTag(tag);}}};var hideSuggestionList=function(_3ee){_3ee.innerHTML="";suggestionTags=[];currentSuggestion=-1;};var updateSuggestions=function(_3ef,text){var _3f0=text.toLowerCase();var len=text.length;var _3f1=UTILS.filter(suggestionTags,function(tag){return (tag.slice(0,len).toLowerCase()===_3f0&&tag.length!==len);});_3f1=_3f1.slice(0,3);updateSuggestionList(_3ef,text,_3f1);window.setTimeout(function(){getSuggestionsFromServer(_3ef,text);},500);};var getSuggestionsFromServer=function(_3f2,text){if(text!==oldSuggestText){return;}var _3f3=text.toLowerCase();var len=text.length;var _3f4=UTILS.filter(DEMO_SUGGESTIONS,function(tag){return (tag.slice(0,len).toLowerCase()===_3f3&&tag.length!==len);});_3f4.sort();_3f4=_3f4.slice(0,3);updateSuggestionList(_3f2,text,_3f4);};var updateSuggestionList=function(_3f5,_3f6,_3f7){if(!_3f7||_3f7.length===0){hideSuggestionList(_3f5);return;}suggestionTags=_3f7;suggestionItems=[];currentSuggestion=-1;inputLen=_3f6.length;var _3f8=i$.byId("TagWidget_0_SuggestionList");_3f8.innerHTML="";for(var i=0;i<_3f7.length;i++){var tag=_3f7[i];var _3f9=tag.slice(0,inputLen);var _3fa=tag.slice(inputLen);var _3fb=i$.createDom("li",{},_3f8);var _3fc=document.createTextNode(_3f9+"<strong>"+_3fa+"</strong>");_3fb.appendChild(_3fc);suggestionItems.push(_3fb);}};var suggestionItemMouseOver=function(e){var _3fd=UTILS.getTarget(e);var i=UTILS.indexOf(suggestionItems,_3fd);if(i===-1){i=UTILS.indexOf(suggestionItems,_3fd.parentNode);}changeSuggestionSelection(i);};var suggestionItemMouseOut=function(e){removeSuggestionSelection();};var suggestionItemClick=function(_3fe,e){var _3ff=UTILS.getTarget(e);var i=UTILS.indexOf(suggestionItems,_3ff);if(i===-1){i=UTILS.indexOf(suggestionItems,_3ff.parentNode);}updateInputWithSuggestion(_3fe,i);};var changeSuggestionSelection=function(_400){if(currentSuggestion>-1){UTILS.removeClass(suggestionItems[currentSuggestion],"highlight");}if(_400>=suggestionItems.length){_400=-1;}if(_400<-1){_400=suggestionItems.length-1;}if(_400<0){currentSuggestion=-1;}else{suggestionItems[_400].className+=" highlight";currentSuggestion=_400;}};var removeSuggestionSelection=function(){changeSuggestionSelection(-1);};var updateInputWithSuggestion=function(_401,_402){var pos=UTILS.getCaretPosition(_401);var _403=_401.value;var b=getSourroundingTextBoundaries(_403,pos);var _404=suggestionTags[_402];if(b.from>0&&_403[b.from-1]===TAG_INPUT_SEPARATOR){_404=" "+_404;}var _405=_403.slice(0,b.from)+_404+_403.slice(b.to);if(b.to===_403.length){_405+=TAG_INPUT_SEPARATOR+" ";}_401.value=_405;_401.focus();if(b.to===_403.length){UTILS.setCaretPosition(_401,_405.length);}else{UTILS.setCaretPosition(_401,b.from+_404.length);}};

}catch(e){console.log("Module 'wp_tagging_rating_light': ",e);}
try{(function(_1){
var _2="wpToolbarProjectMenuLink",_3="wpToolbarProjectInfoBox",_4="<edit-mode>",_5="<page-id>",_6="?uri=toolbar:projectTab:projectMenu:returnURI:dialog:CloseModalDialog@oid:"+_5+"&uri=pagemode:edit:"+_4,_7="project:oid:",_8="project:null",_9="title",_a="titleLang",_b="titleDir",_c="editMode",_d="action",_e="resultURI",_f="selectProject",_10="openDialog",_11="openToolbar",_12="closeToolbar",_13={"uri":"pagemode:edit:on"},_14={"uri":"pagemode:edit:off"},_15={"uri":"toolbar:open","params":{"primaryTabURI":"default","secondaryTabURI":"default"}},_16={"uri":"toolbar:open"},_1=_1,_17=_1.document,_18=i$.byId,_19=i$.bindDomEvt,_1a=i$.fromPath,_1b=i$.forEach,_1c=i$.toQuery,_1d=wpModules.toolbar,_1e=function(_1f,e){
var k=e.keyCode;
if(k&&k!==13&&k!==32&&k!==38&&k!==40){
return false;
}
var url=_6.replace(_5,_20()).replace(_4,(_21()?"on":"off")),_22={"url":url,"autoResize":true,"posHandler":"horizontallyBelow","autoPosition":_1f.parentNode,"modal":false,"padding":0,"callbackFn":function(_23){
_1f.focus();
if(_23){
var _24=get(_23,_d);
if(_f==_24){
_25(_23);
}else{
if(_10==_24){
_26(_23);
}else{
if(_11==_24){
_27(_23);
}
}
}
}
}};
_28(_22);
return true;
},_25=function(_29){
var uri=get(_29,_e),_2a=get(_29,_c)=="true";
if(uri){
var _2b=[],_2c=_1d.isToolbarOpened(),_2d=_2e(uri),_2f=_30(_29),_31=_32();
if(_2c&&!_2d){
if(_2f){
_1d.closeToolbar({"editMode":_2a});
}else{
_1d.setEditModeActive(_2a);
}
}else{
if(_2a!=_21()){
if(_2a){
_2b.push(_13);
if(!_2c&&_31){
_2b.push(_15);
}
}else{
_2b.push(_14);
}
}
if(_2c){
if(_2f){
_1d.closeTab();
}else{
if(_31){
if(_2a){
_2b.push(_15);
}else{
_2b.push(_16);
}
}
}
}
_2b.push(_33(uri));
var win=_34(),url=_35(_2b,win),_36=win.parent||win;
_36.location.href=url;
}
}
},_26=function(_37){
var _38=_39(_3a(_37,_e));
if(_38){
var _3b=get(_37,_9)||"Dialog",url=_3c(_38),_3d={"url":url,"title":_3b,"modal":true,"autoResize":true,"metrics":{"width":900},"padding":0,"callbackFn":function(_3e){
if(_3e&&_3e.result=="project_published"){
_1d.closeToolbar({"editMode":false});
}else{
_1d.reloadViewArea(true);
}
}};
_28(_3d);
}
},_27=function(_3f){
var uri=get(_3f,_e);
_1d.openToolbar({tab:uri});
},_28=function(_40){
var _41=new wpModules.dialog.Dialog(_40);
_41.open();
},_35=function(_42,_43){
var _44=_43?_45(_43):"",url=[_44];
_44.indexOf("?")<0?url.push("?"):url.push("&");
_1b(_42,function(_46){
var uri=_46.uri,_47=_46.params;
url.push("uri=");
url.push(uri);
url.push("&");
if(_47){
url.push(_1c(_47));
url.push("&");
}
});
var r=url.join("");
return r;
},_3c=function(_48,_49){
var _4a=_49?_45(_49):"",url=[_4a],uri=_48.uri,_4b=_48.params;
_4a.indexOf("?")<0?url.push("?"):url.push("&");
url.push("uri=");
url.push(uri);
if(_4b){
url.push("&");
url.push(_1c(_4b));
}
var r=url.join("");
return r;
},_33=function(uri,_4c){
var a={};
a.uri=uri;
if(_4c){
a.params=_4c;
}
return a;
},_39=function(_4d){
if(_4d&&_4d.length>0){
var o={};
o.uri=_4d[0];
o.params={};
for(var i=1,l=_4d.length;i<l;i+=2){
var key=_4d[i],val=_4d[i+1];
if(val){
o.params[key]=[val];
}
}
return o;
}
return null;
},get=function(obj,key){
var o=obj[key];
if(o){
var v=o.value;
if(v&&v.length>0){
var r=v[0];
return r;
}
}
return null;
},_3a=function(obj,key){
var o=obj[key];
if(o){
var r=o.value;
return r;
}
return null;
},_20=function(){
var r=_34().ibmCfg.portalConfig.currentPageOID;
return r;
},_21=function(){
var r=_1d.isEditModeActive();
return r;
},_34=function(){
var r=_1d.getViewAreaWindow();
return r;
},_32=function(){
var r=_1a("wpModules.state.page.supportsToolbar",false,_34());
return r;
},_45=function(win){
var r=_1d.getBaseURL(win);
return r;
},_2e=function(uri){
var _4e=_4f(),r=true;
if(_4e){
r=uri.substring(_7.length)!=_4e;
}else{
r=uri!=_8;
}
return r;
},_30=function(_50){
var _51=_3a(_50,_d),r=(_51&&_51.length>1&&_51[1]==_12);
return r;
},_4f=function(){
return _34().ibmCfg.portalConfig.projectUUID;
};
i$.addOnLoad(function(){
var _52=_18(_2);
if(_52){
var _53=function(e){
if(_1e(_52,e)){
e.preventDefault?e.preventDefault():e.returnValue=false;
return false;
}
};
_19(_52,"click",_53);
_19(_52,"keydown",_53);
}
});
})(window);


}catch(e){console.log("Module 'wp_toolbar_projectmenu': ",e);}
try{/*!
 * Bootstrap v3.3.2 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */
if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.2",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.2",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?a=!1:b.find(".active").removeClass("active")),a&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));a&&this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.2",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&"show"==b&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a(this.options.trigger).filter('[href="#'+b.id+'"], [data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.2",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0,trigger:'[data-toggle="collapse"]'},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":a.extend({},e.data(),{trigger:this});c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){b&&3===b.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=c(d),f={relatedTarget:this};e.hasClass("open")&&(e.trigger(b=a.Event("hide.bs.dropdown",f)),b.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger("hidden.bs.dropdown",f)))}))}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.2",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('<div class="dropdown-backdrop"/>').insertAfter(a(this)).on("click",b);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger("shown.bs.dropdown",h)}return!1}},g.prototype.keydown=function(b){if(/(38|40|27|32)/.test(b.which)&&!/input|textarea/i.test(b.target.tagName)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var e=c(d),g=e.hasClass("open");if(!g&&27!=b.which||g&&27==b.which)return 27==b.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.divider):visible a",i=e.find('[role="menu"]'+h+', [role="listbox"]'+h);if(i.length){var j=i.index(b.target);38==b.which&&j>0&&j--,40==b.which&&j<i.length-1&&j++,~j||(j=0),i.eq(j).trigger("focus")}}}};var h=a.fn.dropdown;a.fn.dropdown=d,a.fn.dropdown.Constructor=g,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=h,this},a(document).on("click.bs.dropdown.data-api",b).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",f,g.prototype.toggle).on("keydown.bs.dropdown.data-api",f,g.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="menu"]',g.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="listbox"]',g.prototype.keydown)}(jQuery),+function(a){"use strict";function b(b,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},c.DEFAULTS,e.data(),"object"==typeof b&&b);f||e.data("bs.modal",f=new c(this,g)),"string"==typeof b?f[b](d):g.show&&f.show(d)})}var c=function(b,c){this.options=c,this.$body=a(document.body),this.$element=a(b),this.$backdrop=this.isShown=null,this.scrollbarWidth=0,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};c.VERSION="3.3.2",c.TRANSITION_DURATION=300,c.BACKDROP_TRANSITION_DURATION=150,c.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},c.prototype.toggle=function(a){return this.isShown?this.hide():this.show(a)},c.prototype.show=function(b){var d=this,e=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(e),this.isShown||e.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.backdrop(function(){var e=a.support.transition&&d.$element.hasClass("fade");d.$element.parent().length||d.$element.appendTo(d.$body),d.$element.show().scrollTop(0),d.options.backdrop&&d.adjustBackdrop(),d.adjustDialog(),e&&d.$element[0].offsetWidth,d.$element.addClass("in").attr("aria-hidden",!1),d.enforceFocus();var f=a.Event("shown.bs.modal",{relatedTarget:b});e?d.$element.find(".modal-dialog").one("bsTransitionEnd",function(){d.$element.trigger("focus").trigger(f)}).emulateTransitionEnd(c.TRANSITION_DURATION):d.$element.trigger("focus").trigger(f)}))},c.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(c.TRANSITION_DURATION):this.hideModal())},c.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.trigger("focus")},this))},c.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},c.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")},c.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.$body.removeClass("modal-open"),a.resetAdjustments(),a.resetScrollbar(),a.$element.trigger("hidden.bs.modal")})},c.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},c.prototype.backdrop=function(b){var d=this,e=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var f=a.support.transition&&e;if(this.$backdrop=a('<div class="modal-backdrop '+e+'" />').prependTo(this.$element).on("click.dismiss.bs.modal",a.proxy(function(a){a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),f&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;f?this.$backdrop.one("bsTransitionEnd",b).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):b()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var g=function(){d.removeBackdrop(),b&&b()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",g).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):g()}else b&&b()},c.prototype.handleUpdate=function(){this.options.backdrop&&this.adjustBackdrop(),this.adjustDialog()},c.prototype.adjustBackdrop=function(){this.$backdrop.css("height",0).css("height",this.$element[0].scrollHeight)},c.prototype.adjustDialog=function(){var a=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){this.bodyIsOverflowing=document.body.scrollHeight>document.documentElement.clientHeight,this.scrollbarWidth=this.measureScrollbar()},c.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.bodyIsOverflowing&&this.$body.css("padding-right",a+this.scrollbarWidth)},c.prototype.resetScrollbar=function(){this.$body.css("padding-right","")},c.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure",this.$body.append(a);var b=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),b};var d=a.fn.modal;a.fn.modal=b,a.fn.modal.Constructor=c,a.fn.modal.noConflict=function(){return a.fn.modal=d,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(c){var d=a(this),e=d.attr("href"),f=a(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),g=f.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(e)&&e},f.data(),d.data());d.is("a")&&c.preventDefault(),f.one("show.bs.modal",function(a){a.isDefaultPrevented()||f.one("hidden.bs.modal",function(){d.is(":visible")&&d.trigger("focus")})}),b.call(f,g,this)})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b;(e||"destroy"!=b)&&(e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",a,b)};c.VERSION="3.3.2",c.TRANSITION_DURATION=150,c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(this.options.viewport.selector||this.options.viewport);for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c&&c.$tip&&c.$tip.is(":visible")?void(c.hoverState="in"):(c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.options.container?a(this.options.container):this.$element.parent(),p=this.getPosition(o);h="bottom"==h&&k.bottom+m>p.bottom?"top":"top"==h&&k.top-m<p.top?"bottom":"right"==h&&k.right+l>p.width?"left":"left"==h&&k.left-l<p.left?"right":h,f.removeClass(n).addClass(h)}var q=this.getCalculatedOffset(h,k,l,m);this.applyPlacement(q,h);var r=function(){var a=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==a&&e.leave(e)};a.support.transition&&this.$tip.hasClass("fade")?f.one("bsTransitionEnd",r).emulateTransitionEnd(c.TRANSITION_DURATION):r()}},c.prototype.applyPlacement=function(b,c){var d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),b.top=b.top+g,b.left=b.left+h,a.offset.setOffset(d[0],a.extend({using:function(a){d.css({top:Math.round(a.top),left:Math.round(a.left)})}},b),0),d.addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;"top"==c&&j!=f&&(b.top=b.top+f-j);var k=this.getViewportAdjustedDelta(c,b,i,j);k.left?b.left+=k.left:b.top+=k.top;var l=/top|bottom/.test(c),m=l?2*k.left-e+i:2*k.top-f+j,n=l?"offsetWidth":"offsetHeight";d.offset(b),this.replaceArrow(m,d[0][n],l)},c.prototype.replaceArrow=function(a,b,c){this.arrow().css(c?"left":"top",50*(1-a/b)+"%").css(c?"top":"left","")},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},c.prototype.hide=function(b){function d(){"in"!=e.hoverState&&f.detach(),e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),b&&b()}var e=this,f=this.tip(),g=a.Event("hide.bs."+this.type);return this.$element.trigger(g),g.isDefaultPrevented()?void 0:(f.removeClass("in"),a.support.transition&&this.$tip.hasClass("fade")?f.one("bsTransitionEnd",d).emulateTransitionEnd(c.TRANSITION_DURATION):d(),this.hoverState=null,this)},c.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},c.prototype.hasContent=function(){return this.getTitle()},c.prototype.getPosition=function(b){b=b||this.$element;var c=b[0],d="BODY"==c.tagName,e=c.getBoundingClientRect();null==e.width&&(e=a.extend({},e,{width:e.right-e.left,height:e.bottom-e.top}));var f=d?{top:0,left:0}:b.offset(),g={scroll:d?document.documentElement.scrollTop||document.body.scrollTop:b.scrollTop()},h=d?{width:a(window).width(),height:a(window).height()}:null;return a.extend({},e,g,h,f)},c.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},c.prototype.getViewportAdjustedDelta=function(a,b,c,d){var e={top:0,left:0};if(!this.$viewport)return e;var f=this.options.viewport&&this.options.viewport.padding||0,g=this.getPosition(this.$viewport);if(/right|left/.test(a)){var h=b.top-f-g.scroll,i=b.top+f-g.scroll+d;h<g.top?e.top=g.top-h:i>g.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;j<g.left?e.left=g.left-j:k>g.width&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){return this.$tip=this.$tip||a(this.options.template)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type)})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||"destroy"!=b)&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.2",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},c.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){var e=a.proxy(this.process,this);this.$body=a("body"),this.$scrollElement=a(a(c).is("body")?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.2",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b="offset",c=0;a.isWindow(this.$scrollElement[0])||(b="position",c=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var d=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[b]().top+c,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){d.offsets.push(this[0]),d.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b<e[0])return this.activeTarget=null,this.clear();for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,this.clear();var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")},b.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.VERSION="3.3.2",c.TRANSITION_DURATION=150,c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a"),f=a.Event("hide.bs.tab",{relatedTarget:b[0]}),g=a.Event("show.bs.tab",{relatedTarget:e[0]});if(e.trigger(f),b.trigger(g),!g.isDefaultPrevented()&&!f.isDefaultPrevented()){var h=a(d);this.activate(b.closest("li"),c),this.activate(h,h.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedTarget:b[0]}),b.trigger({type:"shown.bs.tab",relatedTarget:e[0]})})}}},c.prototype.activate=function(b,d,e){function f(){g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()
}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.2",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=a("body").height();"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery);
}catch(e){console.log("Module 'bootstrap_js': ",e);}
try{(function(_1,_2){
var _3="?uri=pagemode:edit:off&uri=op:ibm.portal.operations.showPreviewScreen()&returnURI=dialog:CloseModalDialog",_4={"then":function(){
}},_5=i$.fromPath,_1=_1,_6=_1.document,_7=wpModules.toolbar,_8=_2,_9=function(_a){
var _b=_3,_c=_d("preview_as_user_dialog_title")||"Preview as User",_e={"url":_b,"title":_c,"modal":true,"autoResize":true,"window":_1.parent||_1,"callbackFn":function(_f){
if(_f){
var _10=get(_f,"action");
if(_10=="ok"){
var _11=get(_f,"userID"),_12=get(_f,"path");
_13(_11,_12);
}
}
}},_14=new wpModules.dialog.Dialog(_e);
_14.open();
var r=_4;
return r;
},_13=function(_15,_16){
var url=_7.getBaseURL(_17());
url=url.replace(_16,_16+_15);
url+=url.indexOf("?")<0?"?":"&";
url+="uri=toolbar:close&uri=pagemode:edit:off";
top.location.href=url;
},_18=function(_19){
var r=_19.visibility!==false;
return r;
},_1a=function(_1b){
var r=_1c();
return r;
},_1c=function(){
var r=_5("ibmCfg.portalConfig.canAnonymousUserViewCurrentPage",false,_17());
return r;
},_17=function(){
var r=_7.getViewAreaWindow();
return r;
},_1d=function(_1e){
return {"then":function(cb){
cb(_1e);
}};
},_d=function(key){
var r=_8.nls[key];
return r;
},get=function(obj,key){
var o=obj[key],r=null;
if(o){
var v=o.value;
if(v&&v.length>0){
r=v[0];
}
}
return r;
};
_8.openPreviewAsUserDialog=_9;
_8.isPreviewAsUnauthenticatedUserVisible=_18;
_8.isPreviewAsUnauthenticatedUserEnabled=_1a;
})(window,i$.fromPath("wpModules.toolbar.menuActions",true));


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


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


}catch(e){console.log("Module 'wp_toolbar_sitepreview': ",e);}
try{!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(t,e){function i(){return new Date(Date.UTC.apply(Date,arguments))}function a(){var t=new Date;return i(t.getFullYear(),t.getMonth(),t.getDate())}function s(t,e){return t.getUTCFullYear()===e.getUTCFullYear()&&t.getUTCMonth()===e.getUTCMonth()&&t.getUTCDate()===e.getUTCDate()}function n(t){return function(){return this[t].apply(this,arguments)}}function o(t){return t&&!isNaN(t.getTime())}function r(e,i){function a(t,e){return e.toLowerCase()}var s,n=t(e).data(),o={},r=new RegExp("^"+i.toLowerCase()+"([A-Z])");i=new RegExp("^"+i.toLowerCase());for(var h in n)i.test(h)&&(s=h.replace(r,a),o[s]=n[h]);return o}function h(e){var i={};if(D[e]||(e=e.split("-")[0],D[e])){var a=D[e];return t.each(g,function(t,e){e in a&&(i[e]=a[e])}),i}}var l=function(){var e={get:function(t){return this.slice(t)[0]},contains:function(t){for(var e=t&&t.valueOf(),i=0,a=this.length;a>i;i++)if(this[i].valueOf()===e)return i;return-1},remove:function(t){this.splice(t,1)},replace:function(e){e&&(t.isArray(e)||(e=[e]),this.clear(),this.push.apply(this,e))},clear:function(){this.length=0},copy:function(){var t=new l;return t.replace(this),t}};return function(){var i=[];return i.push.apply(i,arguments),t.extend(i,e),i}}(),d=function(e,i){t(e).data("datepicker",this),this._process_options(i),this.dates=new l,this.viewDate=this.o.defaultViewDate,this.focusDate=null,this.element=t(e),this.isInput=this.element.is("input"),this.inputField=this.isInput?this.element:this.element.find("input"),this.component=this.element.hasClass("date")?this.element.find(".add-on, .input-group-addon, .btn"):!1,this.hasInput=this.component&&this.inputField.length,this.component&&0===this.component.length&&(this.component=!1),this.isInline=!this.component&&this.element.is("div"),this.picker=t(v.template),this._check_template(this.o.templates.leftArrow)&&this.picker.find(".prev").html(this.o.templates.leftArrow),this._check_template(this.o.templates.rightArrow)&&this.picker.find(".next").html(this.o.templates.rightArrow),this._buildEvents(),this._attachEvents(),this.isInline?this.picker.addClass("datepicker-inline").appendTo(this.element):this.picker.addClass("datepicker-dropdown dropdown-menu"),this.o.rtl&&this.picker.addClass("datepicker-rtl"),this.viewMode=this.o.startView,this.o.calendarWeeks&&this.picker.find("thead .datepicker-title, tfoot .today, tfoot .clear").attr("colspan",function(t,e){return parseInt(e)+1}),this._allow_update=!1,this.setStartDate(this._o.startDate),this.setEndDate(this._o.endDate),this.setDaysOfWeekDisabled(this.o.daysOfWeekDisabled),this.setDaysOfWeekHighlighted(this.o.daysOfWeekHighlighted),this.setDatesDisabled(this.o.datesDisabled),this.fillDow(),this.fillMonths(),this._allow_update=!0,this.update(),this.showMode(),this.isInline&&this.show()};d.prototype={constructor:d,_resolveViewName:function(t,i){return 0===t||"days"===t||"month"===t?0:1===t||"months"===t||"year"===t?1:2===t||"years"===t||"decade"===t?2:3===t||"decades"===t||"century"===t?3:4===t||"centuries"===t||"millennium"===t?4:i===e?!1:i},_check_template:function(i){try{if(i===e||""===i)return!1;if((i.match(/[<>]/g)||[]).length<=0)return!0;var a=t(i);return a.length>0}catch(s){return!1}},_process_options:function(e){this._o=t.extend({},this._o,e);var s=this.o=t.extend({},this._o),n=s.language;D[n]||(n=n.split("-")[0],D[n]||(n=f.language)),s.language=n,s.startView=this._resolveViewName(s.startView,0),s.minViewMode=this._resolveViewName(s.minViewMode,0),s.maxViewMode=this._resolveViewName(s.maxViewMode,4),s.startView=Math.min(s.startView,s.maxViewMode),s.startView=Math.max(s.startView,s.minViewMode),s.multidate!==!0&&(s.multidate=Number(s.multidate)||!1,s.multidate!==!1&&(s.multidate=Math.max(0,s.multidate))),s.multidateSeparator=String(s.multidateSeparator),s.weekStart%=7,s.weekEnd=(s.weekStart+6)%7;var o=v.parseFormat(s.format);s.startDate!==-(1/0)&&(s.startDate?s.startDate instanceof Date?s.startDate=this._local_to_utc(this._zero_time(s.startDate)):s.startDate=v.parseDate(s.startDate,o,s.language,s.assumeNearbyYear):s.startDate=-(1/0)),s.endDate!==1/0&&(s.endDate?s.endDate instanceof Date?s.endDate=this._local_to_utc(this._zero_time(s.endDate)):s.endDate=v.parseDate(s.endDate,o,s.language,s.assumeNearbyYear):s.endDate=1/0),s.daysOfWeekDisabled=s.daysOfWeekDisabled||[],t.isArray(s.daysOfWeekDisabled)||(s.daysOfWeekDisabled=s.daysOfWeekDisabled.split(/[,\s]*/)),s.daysOfWeekDisabled=t.map(s.daysOfWeekDisabled,function(t){return parseInt(t,10)}),s.daysOfWeekHighlighted=s.daysOfWeekHighlighted||[],t.isArray(s.daysOfWeekHighlighted)||(s.daysOfWeekHighlighted=s.daysOfWeekHighlighted.split(/[,\s]*/)),s.daysOfWeekHighlighted=t.map(s.daysOfWeekHighlighted,function(t){return parseInt(t,10)}),s.datesDisabled=s.datesDisabled||[],t.isArray(s.datesDisabled)||(s.datesDisabled=[s.datesDisabled]),s.datesDisabled=t.map(s.datesDisabled,function(t){return v.parseDate(t,o,s.language,s.assumeNearbyYear)});var r=String(s.orientation).toLowerCase().split(/\s+/g),h=s.orientation.toLowerCase();if(r=t.grep(r,function(t){return/^auto|left|right|top|bottom$/.test(t)}),s.orientation={x:"auto",y:"auto"},h&&"auto"!==h)if(1===r.length)switch(r[0]){case"top":case"bottom":s.orientation.y=r[0];break;case"left":case"right":s.orientation.x=r[0]}else h=t.grep(r,function(t){return/^left|right$/.test(t)}),s.orientation.x=h[0]||"auto",h=t.grep(r,function(t){return/^top|bottom$/.test(t)}),s.orientation.y=h[0]||"auto";else;if(s.defaultViewDate){var l=s.defaultViewDate.year||(new Date).getFullYear(),d=s.defaultViewDate.month||0,c=s.defaultViewDate.day||1;s.defaultViewDate=i(l,d,c)}else s.defaultViewDate=a()},_events:[],_secondaryEvents:[],_applyEvents:function(t){for(var i,a,s,n=0;n<t.length;n++)i=t[n][0],2===t[n].length?(a=e,s=t[n][1]):3===t[n].length&&(a=t[n][1],s=t[n][2]),i.on(s,a)},_unapplyEvents:function(t){for(var i,a,s,n=0;n<t.length;n++)i=t[n][0],2===t[n].length?(s=e,a=t[n][1]):3===t[n].length&&(s=t[n][1],a=t[n][2]),i.off(a,s)},_buildEvents:function(){var e={keyup:t.proxy(function(e){-1===t.inArray(e.keyCode,[27,37,39,38,40,32,13,9])&&this.update()},this),keydown:t.proxy(this.keydown,this),paste:t.proxy(this.paste,this)};this.o.showOnFocus===!0&&(e.focus=t.proxy(this.show,this)),this.isInput?this._events=[[this.element,e]]:this.component&&this.hasInput?this._events=[[this.inputField,e],[this.component,{click:t.proxy(this.show,this)}]]:this._events=[[this.element,{click:t.proxy(this.show,this),keydown:t.proxy(this.keydown,this)}]],this._events.push([this.element,"*",{blur:t.proxy(function(t){this._focused_from=t.target},this)}],[this.element,{blur:t.proxy(function(t){this._focused_from=t.target},this)}]),this.o.immediateUpdates&&this._events.push([this.element,{"changeYear changeMonth":t.proxy(function(t){this.update(t.date)},this)}]),this._secondaryEvents=[[this.picker,{click:t.proxy(this.click,this)}],[t(window),{resize:t.proxy(this.place,this)}],[t(document),{mousedown:t.proxy(function(t){this.element.is(t.target)||this.element.find(t.target).length||this.picker.is(t.target)||this.picker.find(t.target).length||this.isInline||this.hide()},this)}]]},_attachEvents:function(){this._detachEvents(),this._applyEvents(this._events)},_detachEvents:function(){this._unapplyEvents(this._events)},_attachSecondaryEvents:function(){this._detachSecondaryEvents(),this._applyEvents(this._secondaryEvents)},_detachSecondaryEvents:function(){this._unapplyEvents(this._secondaryEvents)},_trigger:function(e,i){var a=i||this.dates.get(-1),s=this._utc_to_local(a);this.element.trigger({type:e,date:s,dates:t.map(this.dates,this._utc_to_local),format:t.proxy(function(t,e){0===arguments.length?(t=this.dates.length-1,e=this.o.format):"string"==typeof t&&(e=t,t=this.dates.length-1),e=e||this.o.format;var i=this.dates.get(t);return v.formatDate(i,e,this.o.language)},this)})},show:function(){return this.inputField.prop("disabled")||this.inputField.prop("readonly")&&this.o.enableOnReadonly===!1?void 0:(this.isInline||this.picker.appendTo(this.o.container),this.place(),this.picker.show(),this._attachSecondaryEvents(),this._trigger("show"),(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&this.o.disableTouchKeyboard&&t(this.element).blur(),this)},hide:function(){return this.isInline||!this.picker.is(":visible")?this:(this.focusDate=null,this.picker.hide().detach(),this._detachSecondaryEvents(),this.viewMode=this.o.startView,this.showMode(),this.o.forceParse&&this.inputField.val()&&this.setValue(),this._trigger("hide"),this)},destroy:function(){return this.hide(),this._detachEvents(),this._detachSecondaryEvents(),this.picker.remove(),delete this.element.data().datepicker,this.isInput||delete this.element.data().date,this},paste:function(e){var i;if(e.originalEvent.clipboardData&&e.originalEvent.clipboardData.types&&-1!==t.inArray("text/plain",e.originalEvent.clipboardData.types))i=e.originalEvent.clipboardData.getData("text/plain");else{if(!window.clipboardData)return;i=window.clipboardData.getData("Text")}this.setDate(i),this.update(),e.preventDefault()},_utc_to_local:function(t){return t&&new Date(t.getTime()+6e4*t.getTimezoneOffset())},_local_to_utc:function(t){return t&&new Date(t.getTime()-6e4*t.getTimezoneOffset())},_zero_time:function(t){return t&&new Date(t.getFullYear(),t.getMonth(),t.getDate())},_zero_utc_time:function(t){return t&&new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()))},getDates:function(){return t.map(this.dates,this._utc_to_local)},getUTCDates:function(){return t.map(this.dates,function(t){return new Date(t)})},getDate:function(){return this._utc_to_local(this.getUTCDate())},getUTCDate:function(){var t=this.dates.get(-1);return"undefined"!=typeof t?new Date(t):null},clearDates:function(){this.inputField&&this.inputField.val(""),this.update(),this._trigger("changeDate"),this.o.autoclose&&this.hide()},setDates:function(){var e=t.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,e),this._trigger("changeDate"),this.setValue(),this},setUTCDates:function(){var e=t.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,t.map(e,this._utc_to_local)),this._trigger("changeDate"),this.setValue(),this},setDate:n("setDates"),setUTCDate:n("setUTCDates"),remove:n("destroy"),setValue:function(){var t=this.getFormattedDate();return this.inputField.val(t),this},getFormattedDate:function(i){i===e&&(i=this.o.format);var a=this.o.language;return t.map(this.dates,function(t){return v.formatDate(t,i,a)}).join(this.o.multidateSeparator)},getStartDate:function(){return this.o.startDate},setStartDate:function(t){return this._process_options({startDate:t}),this.update(),this.updateNavArrows(),this},getEndDate:function(){return this.o.endDate},setEndDate:function(t){return this._process_options({endDate:t}),this.update(),this.updateNavArrows(),this},setDaysOfWeekDisabled:function(t){return this._process_options({daysOfWeekDisabled:t}),this.update(),this.updateNavArrows(),this},setDaysOfWeekHighlighted:function(t){return this._process_options({daysOfWeekHighlighted:t}),this.update(),this},setDatesDisabled:function(t){this._process_options({datesDisabled:t}),this.update(),this.updateNavArrows()},place:function(){if(this.isInline)return this;var e=this.picker.outerWidth(),i=this.picker.outerHeight(),a=10,s=t(this.o.container),n=s.width(),o="body"===this.o.container?t(document).scrollTop():s.scrollTop(),r=s.offset(),h=[];this.element.parents().each(function(){var e=t(this).css("z-index");"auto"!==e&&0!==e&&h.push(parseInt(e))});var l=Math.max.apply(Math,h)+this.o.zIndexOffset,d=this.component?this.component.parent().offset():this.element.offset(),c=this.component?this.component.outerHeight(!0):this.element.outerHeight(!1),u=this.component?this.component.outerWidth(!0):this.element.outerWidth(!1),p=d.left-r.left,f=d.top-r.top;"body"!==this.o.container&&(f+=o),this.picker.removeClass("datepicker-orient-top datepicker-orient-bottom datepicker-orient-right datepicker-orient-left"),"auto"!==this.o.orientation.x?(this.picker.addClass("datepicker-orient-"+this.o.orientation.x),"right"===this.o.orientation.x&&(p-=e-u)):d.left<0?(this.picker.addClass("datepicker-orient-left"),p-=d.left-a):p+e>n?(this.picker.addClass("datepicker-orient-right"),p+=u-e):this.picker.addClass("datepicker-orient-left");var g,D=this.o.orientation.y;if("auto"===D&&(g=-o+f-i,D=0>g?"bottom":"top"),this.picker.addClass("datepicker-orient-"+D),"top"===D?f-=i+parseInt(this.picker.css("padding-top")):f+=c,this.o.rtl){var v=n-(p+u);this.picker.css({top:f,right:v,zIndex:l})}else this.picker.css({top:f,left:p,zIndex:l});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var e=this.dates.copy(),i=[],a=!1;return arguments.length?(t.each(arguments,t.proxy(function(t,e){e instanceof Date&&(e=this._local_to_utc(e)),i.push(e)},this)),a=!0):(i=this.isInput?this.element.val():this.element.data("date")||this.inputField.val(),i=i&&this.o.multidate?i.split(this.o.multidateSeparator):[i],delete this.element.data().date),i=t.map(i,t.proxy(function(t){return v.parseDate(t,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),i=t.grep(i,t.proxy(function(t){return!this.dateWithinRange(t)||!t},this),!0),this.dates.replace(i),this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDate<this.o.startDate?this.viewDate=new Date(this.o.startDate):this.viewDate>this.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate,a?this.setValue():i.length&&String(e)!==String(this.dates)&&this._trigger("changeDate"),!this.dates.length&&e.length&&this._trigger("clearDate"),this.fill(),this.element.change(),this},fillDow:function(){var e=this.o.weekStart,i="<tr>";for(this.o.calendarWeeks&&(this.picker.find(".datepicker-days .datepicker-switch").attr("colspan",function(t,e){return parseInt(e)+1}),i+='<th class="cw">&#160;</th>');e<this.o.weekStart+7;)i+='<th class="dow',t.inArray(e,this.o.daysOfWeekDisabled)>-1&&(i+=" disabled"),i+='">'+D[this.o.language].daysMin[e++%7]+"</th>";i+="</tr>",this.picker.find(".datepicker-days thead").append(i)},fillMonths:function(){for(var t=this._utc_to_local(this.viewDate),e="",i=0;12>i;){var a=t&&t.getMonth()===i?" focused":"";e+='<span class="month'+a+'">'+D[this.o.language].monthsShort[i++]+"</span>"}this.picker.find(".datepicker-months td").html(e)},setRange:function(e){e&&e.length?this.range=t.map(e,function(t){return t.valueOf()}):delete this.range,this.fill()},getClassNames:function(e){var i=[],a=this.viewDate.getUTCFullYear(),s=this.viewDate.getUTCMonth(),n=new Date;return e.getUTCFullYear()<a||e.getUTCFullYear()===a&&e.getUTCMonth()<s?i.push("old"):(e.getUTCFullYear()>a||e.getUTCFullYear()===a&&e.getUTCMonth()>s)&&i.push("new"),this.focusDate&&e.valueOf()===this.focusDate.valueOf()&&i.push("focused"),this.o.todayHighlight&&e.getUTCFullYear()===n.getFullYear()&&e.getUTCMonth()===n.getMonth()&&e.getUTCDate()===n.getDate()&&i.push("today"),-1!==this.dates.contains(e)&&i.push("active"),this.dateWithinRange(e)||i.push("disabled"),this.dateIsDisabled(e)&&i.push("disabled","disabled-date"),-1!==t.inArray(e.getUTCDay(),this.o.daysOfWeekHighlighted)&&i.push("highlighted"),this.range&&(e>this.range[0]&&e<this.range[this.range.length-1]&&i.push("range"),-1!==t.inArray(e.valueOf(),this.range)&&i.push("selected"),e.valueOf()===this.range[0]&&i.push("range-start"),e.valueOf()===this.range[this.range.length-1]&&i.push("range-end")),i},_fill_yearsView:function(i,a,s,n,o,r,h,l){var d,c,u,p,f,g,D,v,y,m,w;for(d="",c=this.picker.find(i),u=parseInt(o/s,10)*s,f=parseInt(r/n,10)*n,g=parseInt(h/n,10)*n,p=t.map(this.dates,function(t){return parseInt(t.getUTCFullYear()/n,10)*n}),c.find(".datepicker-switch").text(u+"-"+(u+9*n)),D=u-n,v=-1;11>v;v+=1)y=[a],m=null,-1===v?y.push("old"):10===v&&y.push("new"),-1!==t.inArray(D,p)&&y.push("active"),(f>D||D>g)&&y.push("disabled"),D===this.viewDate.getFullYear()&&y.push("focused"),l!==t.noop&&(w=l(new Date(D,0,1)),w===e?w={}:"boolean"==typeof w?w={enabled:w}:"string"==typeof w&&(w={classes:w}),w.enabled===!1&&y.push("disabled"),w.classes&&(y=y.concat(w.classes.split(/\s+/))),w.tooltip&&(m=w.tooltip)),d+='<span class="'+y.join(" ")+'"'+(m?' title="'+m+'"':"")+">"+D+"</span>",D+=n;c.find("td").html(d)},fill:function(){var a,s,n=new Date(this.viewDate),o=n.getUTCFullYear(),r=n.getUTCMonth(),h=this.o.startDate!==-(1/0)?this.o.startDate.getUTCFullYear():-(1/0),l=this.o.startDate!==-(1/0)?this.o.startDate.getUTCMonth():-(1/0),d=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,c=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,u=D[this.o.language].today||D.en.today||"",p=D[this.o.language].clear||D.en.clear||"",f=D[this.o.language].titleFormat||D.en.titleFormat;if(!isNaN(o)&&!isNaN(r)){this.picker.find(".datepicker-days .datepicker-switch").text(v.formatDate(n,f,this.o.language)),this.picker.find("tfoot .today").text(u).toggle(this.o.todayBtn!==!1),this.picker.find("tfoot .clear").text(p).toggle(this.o.clearBtn!==!1),this.picker.find("thead .datepicker-title").text(this.o.title).toggle(""!==this.o.title),this.updateNavArrows(),this.fillMonths();var g=i(o,r-1,28),y=v.getDaysInMonth(g.getUTCFullYear(),g.getUTCMonth());g.setUTCDate(y),g.setUTCDate(y-(g.getUTCDay()-this.o.weekStart+7)%7);var m=new Date(g);g.getUTCFullYear()<100&&m.setUTCFullYear(g.getUTCFullYear()),m.setUTCDate(m.getUTCDate()+42),m=m.valueOf();for(var w,k=[];g.valueOf()<m;){if(g.getUTCDay()===this.o.weekStart&&(k.push("<tr>"),this.o.calendarWeeks)){var C=new Date(+g+(this.o.weekStart-g.getUTCDay()-7)%7*864e5),b=new Date(Number(C)+(11-C.getUTCDay())%7*864e5),_=new Date(Number(_=i(b.getUTCFullYear(),0,1))+(11-_.getUTCDay())%7*864e5),T=(b-_)/864e5/7+1;k.push('<td class="cw">'+T+"</td>")}w=this.getClassNames(g),w.push("day"),this.o.beforeShowDay!==t.noop&&(s=this.o.beforeShowDay(this._utc_to_local(g)),s===e?s={}:"boolean"==typeof s?s={enabled:s}:"string"==typeof s&&(s={classes:s}),s.enabled===!1&&w.push("disabled"),s.classes&&(w=w.concat(s.classes.split(/\s+/))),s.tooltip&&(a=s.tooltip)),w=t.unique(w),k.push('<td class="'+w.join(" ")+'"'+(a?' title="'+a+'"':"")+">"+g.getUTCDate()+"</td>"),a=null,g.getUTCDay()===this.o.weekEnd&&k.push("</tr>"),g.setUTCDate(g.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").empty().append(k.join(""));var M=D[this.o.language].monthsTitle||D.en.monthsTitle||"Months",U=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?M:o).end().find("span").removeClass("active");if(t.each(this.dates,function(t,e){e.getUTCFullYear()===o&&U.eq(e.getUTCMonth()).addClass("active")}),(h>o||o>d)&&U.addClass("disabled"),o===h&&U.slice(0,l).addClass("disabled"),o===d&&U.slice(c+1).addClass("disabled"),this.o.beforeShowMonth!==t.noop){var F=this;t.each(U,function(i,a){var s=new Date(o,i,1),n=F.o.beforeShowMonth(s);n===e?n={}:"boolean"==typeof n?n={enabled:n}:"string"==typeof n&&(n={classes:n}),n.enabled!==!1||t(a).hasClass("disabled")||t(a).addClass("disabled"),n.classes&&t(a).addClass(n.classes),n.tooltip&&t(a).prop("title",n.tooltip)})}this._fill_yearsView(".datepicker-years","year",10,1,o,h,d,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,10,o,h,d,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,100,o,h,d,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var t=new Date(this.viewDate),e=t.getUTCFullYear(),i=t.getUTCMonth();switch(this.viewMode){case 0:this.o.startDate!==-(1/0)&&e<=this.o.startDate.getUTCFullYear()&&i<=this.o.startDate.getUTCMonth()?this.picker.find(".prev").css({visibility:"hidden"}):this.picker.find(".prev").css({visibility:"visible"}),this.o.endDate!==1/0&&e>=this.o.endDate.getUTCFullYear()&&i>=this.o.endDate.getUTCMonth()?this.picker.find(".next").css({visibility:"hidden"}):this.picker.find(".next").css({visibility:"visible"});break;case 1:case 2:case 3:case 4:this.o.startDate!==-(1/0)&&e<=this.o.startDate.getUTCFullYear()||this.o.maxViewMode<2?this.picker.find(".prev").css({visibility:"hidden"}):this.picker.find(".prev").css({visibility:"visible"}),this.o.endDate!==1/0&&e>=this.o.endDate.getUTCFullYear()||this.o.maxViewMode<2?this.picker.find(".next").css({visibility:"hidden"}):this.picker.find(".next").css({visibility:"visible"})}}},click:function(e){e.preventDefault(),e.stopPropagation();var s,n,o,r,h,l,d;s=t(e.target),s.hasClass("datepicker-switch")&&this.showMode(1);var c=s.closest(".prev, .next");c.length>0&&(n=v.modes[this.viewMode].navStep*(c.hasClass("prev")?-1:1),0===this.viewMode?(this.viewDate=this.moveMonth(this.viewDate,n),this._trigger("changeMonth",this.viewDate)):(this.viewDate=this.moveYear(this.viewDate,n),1===this.viewMode&&this._trigger("changeYear",this.viewDate)),this.fill()),s.hasClass("today")&&!s.hasClass("day")&&(this.showMode(-2),this._setDate(a(),"linked"===this.o.todayBtn?null:"view")),s.hasClass("clear")&&this.clearDates(),s.hasClass("disabled")||(s.hasClass("day")&&(o=parseInt(s.text(),10)||1,r=this.viewDate.getUTCFullYear(),h=this.viewDate.getUTCMonth(),s.hasClass("old")&&(0===h?(h=11,r-=1,l=!0,d=!0):(h-=1,l=!0)),s.hasClass("new")&&(11===h?(h=0,r+=1,l=!0,d=!0):(h+=1,l=!0)),this._setDate(i(r,h,o)),d&&this._trigger("changeYear",this.viewDate),l&&this._trigger("changeMonth",this.viewDate)),s.hasClass("month")&&(this.viewDate.setUTCDate(1),o=1,h=s.parent().find("span").index(s),r=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(h),this._trigger("changeMonth",this.viewDate),1===this.o.minViewMode?(this._setDate(i(r,h,o)),this.showMode()):this.showMode(-1),this.fill()),(s.hasClass("year")||s.hasClass("decade")||s.hasClass("century"))&&(this.viewDate.setUTCDate(1),o=1,h=0,r=parseInt(s.text(),10)||0,this.viewDate.setUTCFullYear(r),s.hasClass("year")&&(this._trigger("changeYear",this.viewDate),2===this.o.minViewMode&&this._setDate(i(r,h,o))),s.hasClass("decade")&&(this._trigger("changeDecade",this.viewDate),3===this.o.minViewMode&&this._setDate(i(r,h,o))),s.hasClass("century")&&(this._trigger("changeCentury",this.viewDate),4===this.o.minViewMode&&this._setDate(i(r,h,o))),this.showMode(-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&t(this._focused_from).focus(),delete this._focused_from},_toggle_multidate:function(t){var e=this.dates.contains(t);if(t||this.dates.clear(),-1!==e?(this.o.multidate===!0||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(e):this.o.multidate===!1?(this.dates.clear(),this.dates.push(t)):this.dates.push(t),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(t,e){e&&"date"!==e||this._toggle_multidate(t&&new Date(t)),e&&"view"!==e||(this.viewDate=t&&new Date(t)),this.fill(),this.setValue(),e&&"view"===e||this._trigger("changeDate"),this.inputField&&this.inputField.change(),!this.o.autoclose||e&&"date"!==e||this.hide()},moveDay:function(t,e){var i=new Date(t);return i.setUTCDate(t.getUTCDate()+e),i},moveWeek:function(t,e){return this.moveDay(t,7*e)},moveMonth:function(t,e){if(!o(t))return this.o.defaultViewDate;if(!e)return t;var i,a,s=new Date(t.valueOf()),n=s.getUTCDate(),r=s.getUTCMonth(),h=Math.abs(e);if(e=e>0?1:-1,1===h)a=-1===e?function(){return s.getUTCMonth()===r}:function(){return s.getUTCMonth()!==i},i=r+e,s.setUTCMonth(i),(0>i||i>11)&&(i=(i+12)%12);else{for(var l=0;h>l;l++)s=this.moveMonth(s,e);i=s.getUTCMonth(),s.setUTCDate(n),a=function(){return i!==s.getUTCMonth()}}for(;a();)s.setUTCDate(--n),s.setUTCMonth(i);return s},moveYear:function(t,e){return this.moveMonth(t,12*e)},moveAvailableDate:function(t,e,i){do{if(t=this[i](t,e),!this.dateWithinRange(t))return!1;i="moveDay"}while(this.dateIsDisabled(t));return t},weekOfDateIsDisabled:function(e){return-1!==t.inArray(e.getUTCDay(),this.o.daysOfWeekDisabled)},dateIsDisabled:function(e){return this.weekOfDateIsDisabled(e)||t.grep(this.o.datesDisabled,function(t){return s(e,t)}).length>0},dateWithinRange:function(t){return t>=this.o.startDate&&t<=this.o.endDate},keydown:function(t){if(!this.picker.is(":visible"))return void(40!==t.keyCode&&27!==t.keyCode||(this.show(),t.stopPropagation()));var e,i,a=!1,s=this.focusDate||this.viewDate;switch(t.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),t.preventDefault(),t.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;e=37===t.keyCode||38===t.keyCode?-1:1,0===this.viewMode?t.ctrlKey?(i=this.moveAvailableDate(s,e,"moveYear"),i&&this._trigger("changeYear",this.viewDate)):t.shiftKey?(i=this.moveAvailableDate(s,e,"moveMonth"),i&&this._trigger("changeMonth",this.viewDate)):37===t.keyCode||39===t.keyCode?i=this.moveAvailableDate(s,e,"moveDay"):this.weekOfDateIsDisabled(s)||(i=this.moveAvailableDate(s,e,"moveWeek")):1===this.viewMode?(38!==t.keyCode&&40!==t.keyCode||(e=4*e),i=this.moveAvailableDate(s,e,"moveMonth")):2===this.viewMode&&(38!==t.keyCode&&40!==t.keyCode||(e=4*e),i=this.moveAvailableDate(s,e,"moveYear")),i&&(this.focusDate=this.viewDate=i,this.setValue(),this.fill(),t.preventDefault());break;case 13:if(!this.o.forceParse)break;s=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(s),a=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(t.preventDefault(),t.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}a&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField&&this.inputField.change())},showMode:function(t){t&&(this.viewMode=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,this.viewMode+t))),this.picker.children("div").hide().filter(".datepicker-"+v.modes[this.viewMode].clsName).show(),this.updateNavArrows()}};var c=function(e,i){t(e).data("datepicker",this),this.element=t(e),this.inputs=t.map(i.inputs,function(t){return t.jquery?t[0]:t}),delete i.inputs,p.call(t(this.inputs),i).on("changeDate",t.proxy(this.dateUpdated,this)),this.pickers=t.map(this.inputs,function(e){return t(e).data("datepicker")}),this.updateDates()};c.prototype={updateDates:function(){this.dates=t.map(this.pickers,function(t){return t.getUTCDate()}),this.updateRanges()},updateRanges:function(){var e=t.map(this.dates,function(t){return t.valueOf()});t.each(this.pickers,function(t,i){i.setRange(e)})},dateUpdated:function(e){if(!this.updating){this.updating=!0;var i=t(e.target).data("datepicker");if("undefined"!=typeof i){var a=i.getUTCDate(),s=t.inArray(e.target,this.inputs),n=s-1,o=s+1,r=this.inputs.length;if(-1!==s){if(t.each(this.pickers,function(t,e){e.getUTCDate()||e.setUTCDate(a)}),a<this.dates[n])for(;n>=0&&a<this.dates[n];)this.pickers[n--].setUTCDate(a);else if(a>this.dates[o])for(;r>o&&a>this.dates[o];)this.pickers[o++].setUTCDate(a);this.updateDates(),delete this.updating}}}},remove:function(){t.map(this.pickers,function(t){t.remove()}),delete this.element.data().datepicker}};var u=t.fn.datepicker,p=function(i){var a=Array.apply(null,arguments);a.shift();var s;if(this.each(function(){var e=t(this),n=e.data("datepicker"),o="object"==typeof i&&i;if(!n){var l=r(this,"date"),u=t.extend({},f,l,o),p=h(u.language),g=t.extend({},f,p,l,o);e.hasClass("input-daterange")||g.inputs?(t.extend(g,{inputs:g.inputs||e.find("input").toArray()}),n=new c(this,g)):n=new d(this,g),e.data("datepicker",n)}"string"==typeof i&&"function"==typeof n[i]&&(s=n[i].apply(n,a))}),s===e||s instanceof d||s instanceof c)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+i+" function)");return s};t.fn.datepicker=p;var f=t.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:t.noop,beforeShowMonth:t.noop,beforeShowYear:t.noop,beforeShowDecade:t.noop,beforeShowCentury:t.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-(1/0),startView:0,todayBtn:!1,todayHighlight:!1,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"&laquo;",rightArrow:"&raquo;"}},g=t.fn.datepicker.locale_opts=["format","rtl","weekStart"];t.fn.datepicker.Constructor=d;var D=t.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}},v={modes:[{clsName:"days",navFnc:"Month",navStep:1},{clsName:"months",navFnc:"FullYear",navStep:1},{clsName:"years",navFnc:"FullYear",navStep:10},{clsName:"decades",navFnc:"FullDecade",navStep:100},{clsName:"centuries",navFnc:"FullCentury",navStep:1e3}],isLeapYear:function(t){return t%4===0&&t%100!==0||t%400===0},getDaysInMonth:function(t,e){return[31,v.isLeapYear(t)?29:28,31,30,31,30,31,31,30,31,30,31][e]},validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(t){if("function"==typeof t.toValue&&"function"==typeof t.toDisplay)return t;var e=t.replace(this.validParts,"\x00").split("\x00"),i=t.match(this.validParts);if(!e||!e.length||!i||0===i.length)throw new Error("Invalid date format.");return{separators:e,parts:i}},parseDate:function(s,n,o,r){function h(t,e){return e===!0&&(e=10),100>t&&(t+=2e3,t>(new Date).getFullYear()+e&&(t-=100)),t}function l(){var t=this.slice(0,y[p].length),e=y[p].slice(0,t.length);return t.toLowerCase()===e.toLowerCase()}if(!s)return e;if(s instanceof Date)return s;if("string"==typeof n&&(n=v.parseFormat(n)),n.toValue)return n.toValue(s,n,o);var c,u,p,f,g=/([\-+]\d+)([dmwy])/,y=s.match(/([\-+]\d+)([dmwy])/g),m={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},w={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/.test(s)){for(s=new Date,p=0;p<y.length;p++)c=g.exec(y[p]),u=parseInt(c[1]),f=m[c[2]],s=d.prototype[f](s,u);return i(s.getUTCFullYear(),s.getUTCMonth(),s.getUTCDate())}if("undefined"!=typeof w[s]&&(s=w[s],y=s.match(/([\-+]\d+)([dmwy])/g),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/.test(s))){for(s=new Date,p=0;p<y.length;p++)c=g.exec(y[p]),u=parseInt(c[1]),f=m[c[2]],s=d.prototype[f](s,u);return i(s.getUTCFullYear(),s.getUTCMonth(),s.getUTCDate())}y=s&&s.match(this.nonpunctuation)||[],s=new Date;var k,C,b={},_=["yyyy","yy","M","MM","m","mm","d","dd"],T={yyyy:function(t,e){return t.setUTCFullYear(r?h(e,r):e)},yy:function(t,e){return t.setUTCFullYear(r?h(e,r):e)},m:function(t,e){if(isNaN(t))return t;for(e-=1;0>e;)e+=12;for(e%=12,t.setUTCMonth(e);t.getUTCMonth()!==e;)t.setUTCDate(t.getUTCDate()-1);return t},d:function(t,e){return t.setUTCDate(e)}};T.M=T.MM=T.mm=T.m,T.dd=T.d,s=a();var M=n.parts.slice();if(y.length!==M.length&&(M=t(M).filter(function(e,i){return-1!==t.inArray(i,_)}).toArray()),y.length===M.length){var U;for(p=0,U=M.length;U>p;p++){if(k=parseInt(y[p],10),c=M[p],isNaN(k))switch(c){case"MM":C=t(D[o].months).filter(l),k=t.inArray(C[0],D[o].months)+1;break;case"M":C=t(D[o].monthsShort).filter(l),k=t.inArray(C[0],D[o].monthsShort)+1}b[c]=k}var F,x;for(p=0;p<_.length;p++)x=_[p],x in b&&!isNaN(b[x])&&(F=new Date(s),T[x](F,b[x]),isNaN(F)||(s=F))}return s},formatDate:function(e,i,a){if(!e)return"";if("string"==typeof i&&(i=v.parseFormat(i)),i.toDisplay)return i.toDisplay(e,i,a);
var s={d:e.getUTCDate(),D:D[a].daysShort[e.getUTCDay()],DD:D[a].days[e.getUTCDay()],m:e.getUTCMonth()+1,M:D[a].monthsShort[e.getUTCMonth()],MM:D[a].months[e.getUTCMonth()],yy:e.getUTCFullYear().toString().substring(2),yyyy:e.getUTCFullYear()};s.dd=(s.d<10?"0":"")+s.d,s.mm=(s.m<10?"0":"")+s.m,e=[];for(var n=t.extend([],i.separators),o=0,r=i.parts.length;r>=o;o++)n.length&&e.push(n.shift()),e.push(s[i.parts[o]]);return e.join("")},headTemplate:'<thead><tr><th colspan="7" class="datepicker-title"></th></tr><tr><th class="prev">&laquo;</th><th colspan="5" class="datepicker-switch"></th><th class="next">&raquo;</th></tr></thead>',contTemplate:'<tbody><tr><td colspan="7"></td></tr></tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"></th></tr><tr><th colspan="7" class="clear"></th></tr></tfoot>'};v.template='<div class="datepicker"><div class="datepicker-days"><table class="table-condensed">'+v.headTemplate+"<tbody></tbody>"+v.footTemplate+'</table></div><div class="datepicker-months"><table class="table-condensed">'+v.headTemplate+v.contTemplate+v.footTemplate+'</table></div><div class="datepicker-years"><table class="table-condensed">'+v.headTemplate+v.contTemplate+v.footTemplate+'</table></div><div class="datepicker-decades"><table class="table-condensed">'+v.headTemplate+v.contTemplate+v.footTemplate+'</table></div><div class="datepicker-centuries"><table class="table-condensed">'+v.headTemplate+v.contTemplate+v.footTemplate+"</table></div></div>",t.fn.datepicker.DPGlobal=v,t.fn.datepicker.noConflict=function(){return t.fn.datepicker=u,this},t.fn.datepicker.version="1.6.1",t(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(e){var i=t(this);i.data("datepicker")||(e.preventDefault(),p.call(i,"show"))}),t(function(){p.call(t('[data-provide="datepicker-inline"]'))})});
}catch(e){console.log("Module 'datepicker': ",e);}
try{(function(){
if(!i$.isIE){
i$.addOnLoad(function(){
var _1=document.getElementsByTagName("SECTION");
for(var i=0;i<_1.length;i++){
if(i$.hasClass(_1[i],"a11yRegionTarget")){
var _2=_1[i];
var _3=null;
var _4=_2.getElementsByTagName("SPAN");
for(var j=0;j<_4.length;j++){
if(i$.hasClass(_4[j],"a11yRegionLabel")){
_3=_4[j];
}
}
if(_3){
var _5=_3;
var _6=_2;
var _7=null;
while((_6=_6.parentNode)!=null){
if(i$.hasClass(_6,"component-control")){
var m=_6&&(_6.className||"").match(/id-([\S]+)/);
_7=m&&m[1];
break;
}
}
if(_7){
var _8="wpRegionId"+_7;
_5.setAttribute("id",_8);
_2.setAttribute("aria-labelledby",_8);
}
}
}
}
});
}
})();


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